comand-component-library 3.3.78 → 3.3.80

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- (function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C["comand-component-library"]={},C.Vue))})(this,function(C,e){"use strict";const X=/^[a-z0-9]+(-[a-z0-9]+)*$/,le=(t,n,o,a="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;a=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const d=i.pop(),s=i.pop(),r={provider:i.length>0?i[0]:a,prefix:s,name:d};return n&&!ie(r)?null:r}const l=i[0],c=l.split("-");if(c.length>1){const d={provider:a,prefix:c.shift(),name:c.join("-")};return n&&!ie(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:l};return n&&!ie(d,o)?null:d}return null},ie=(t,n)=>t?!!((t.provider===""||t.provider.match(X))&&(n&&t.prefix===""||t.prefix.match(X))&&t.name.match(X)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),se=Object.freeze({...mt,...ae}),Be=Object.freeze({...se,body:"",hidden:!1});function Xo(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const a=((t.rotate||0)+(n.rotate||0))%4;return a&&(o.rotate=a),o}function ut(t,n){const o=Xo(t,n);for(const a in Be)a in ae?a in t&&!(a in o)&&(o[a]=ae[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function $o(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(c){if(o[c])return i[c]=[];if(!(c in i)){i[c]=null;const d=a[c]&&a[c].parent,s=d&&l(d);s&&(i[c]=[d].concat(s))}return i[c]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function vo(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function c(d){l=ut(a[d]||i[d],l)}return c(n),o.forEach(c),ut(t,l)}function ht(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{n(i,null),o.push(i)});const a=$o(t);for(const i in a){const l=a[i];l&&(n(i,vo(t,i,l)),o.push(i))}return o}const en={provider:"",aliases:{},not_found:{},...mt};function _e(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function ft(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!_e(t,en))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(X)||typeof l.body!="string"||!_e(l,Be))return null}const a=n.aliases||{};for(const i in a){const l=a[i],c=l.parent;if(!i.match(X)||typeof c!="string"||!o[c]&&!a[c]||!_e(l,Be))return null}return n}const pt=Object.create(null);function tn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function R(t,n){const o=pt[t]||(pt[t]=Object.create(null));return o[n]||(o[n]=tn(t,n))}function be(t,n){return ft(n)?ht(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function on(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let $=!1;function gt(t){return typeof t=="boolean"&&($=t),$}function nn(t){const n=typeof t=="string"?le(t,!0,$):t;if(n){const o=R(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function ln(t,n){const o=le(t,!0,$);if(!o)return!1;const a=R(o.provider,o.prefix);return on(a,o.name,n)}function yt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),$&&!n&&!t.prefix){let i=!1;return ft(t)&&(t.prefix="",ht(t,(l,c)=>{c&&ln(l,c)&&(i=!0)})),i}const o=t.prefix;if(!ie({provider:n,prefix:o,name:"a"}))return!1;const a=R(n,o);return!!be(a,t)}const kt=Object.freeze({width:null,height:null}),Ct=Object.freeze({...kt,...ae}),an=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Bt(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const a=t.split(an);if(a===null||!a.length)return t;const i=[];let l=a.shift(),c=sn.test(l);for(;;){if(c){const d=parseFloat(l);isNaN(d)?i.push(l):i.push(Math.ceil(d*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");c=!c}}function rn(t,n){const o={...se,...t},a={...Ct,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(h=>{const y=[],p=h.hFlip,k=h.vFlip;let B=h.rotate;p?k?B+=2:(y.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),y.push("scale(-1 1)"),i.top=i.left=0):k&&(y.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),y.push("scale(1 -1)"),i.top=i.left=0);let S;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:S=i.height/2+i.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}B%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),y.length&&(l='<g transform="'+y.join(" ")+'">'+l+"</g>")});const c=a.width,d=a.height,s=i.width,r=i.height;let m,u;return c===null?(u=d===null?"1em":d==="auto"?r:d,m=Bt(u,s/r)):(m=c==="auto"?s:c,u=d===null?Bt(m,r/s):d==="auto"?r:d),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+s.toString()+" "+r.toString()},body:l}}const cn=/\sid="(\S+)"/g,dn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mn=0;function un(t,n=dn){const o=[];let a;for(;a=cn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(mn++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const we=Object.create(null);function hn(t,n){we[t]=n}function Se(t){return we[t]||we[""]}function Ne(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Ie=Object.create(null),v=["https://api.simplesvg.com","https://api.unisvg.com"],re=[];for(;v.length>0;)v.length===1||Math.random()>.5?re.push(v.shift()):re.push(v.pop());Ie[""]=Ne({resources:["https://api.iconify.design"].concat(re)});function fn(t,n){const o=Ne(n);return o===null?!1:(Ie[t]=o,!0)}function xe(t){return Ie[t]}let _t=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function pn(t,n){const o=xe(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(c=>{i=Math.max(i,c.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function gn(t){return t===404}const yn=(t,n,o)=>{const a=[],i=pn(t,n),l="icons";let c={type:l,provider:t,prefix:n,icons:[]},d=0;return o.forEach((s,r)=>{d+=s.length+1,d>=i&&r>0&&(a.push(c),c={type:l,provider:t,prefix:n,icons:[]},d=s.length),c.icons.push(s)}),a.push(c),a};function kn(t){if(typeof t=="string"){const n=xe(t);if(n)return n.path}return"/"}const Cn={prepare:yn,send:(t,n,o)=>{if(!_t){o("abort",424);return}let a=kn(n.provider);switch(n.type){case"icons":{const l=n.prefix,d=n.icons.join(","),s=new URLSearchParams({icons:d});a+=l+".json?"+s.toString();break}case"custom":{const l=n.uri;a+=l.slice(0,1)==="/"?l.slice(1):l;break}default:o("abort",400);return}let i=503;_t(t+a).then(l=>{const c=l.status;if(c!==200){setTimeout(()=>{o(gn(c)?"abort":"next",c)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{o("next",i)});return}setTimeout(()=>{o("success",l)})}).catch(()=>{o("next",i)})}};function Bn(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let a={provider:"",prefix:"",name:""};return t.forEach(i=>{if(a.name===i.name&&a.prefix===i.prefix&&a.provider===i.provider)return;a=i;const l=i.provider,c=i.prefix,d=i.name,s=o[l]||(o[l]=Object.create(null)),r=s[c]||(s[c]=R(l,c));let m;d in r.icons?m=n.loaded:c===""||r.missing.has(d)?m=n.missing:m=n.pending;const u={provider:l,prefix:c,name:d};m.push(u)}),n}function bt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function _n(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const a=t.provider,i=t.prefix;n.forEach(l=>{const c=l.icons,d=c.pending.length;c.pending=c.pending.filter(s=>{if(s.prefix!==i)return!0;const r=s.name;if(t.icons[r])c.loaded.push({provider:a,prefix:i,name:r});else if(t.missing.has(r))c.missing.push({provider:a,prefix:i,name:r});else return o=!0,!0;return!1}),c.pending.length!==d&&(o||bt([t],l.id),l.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),l.abort))})}))}let bn=0;function wn(t,n,o){const a=bn++,i=bt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(l)}),i}function Sn(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?le(i,n,o):i;l&&a.push(l)}),a}var Nn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function In(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let c;if(t.random){let w=t.resources.slice(0);for(c=[];w.length>1;){const N=Math.floor(Math.random()*w.length);c.push(w[N]),w=w.slice(0,N).concat(w.slice(N+1))}c=c.concat(w)}else c=t.resources.slice(l).concat(t.resources.slice(0,l));const d=Date.now();let s="pending",r=0,m,u=null,f=[],h=[];typeof a=="function"&&h.push(a);function y(){u&&(clearTimeout(u),u=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function k(w,N){N&&(h=[]),typeof w=="function"&&h.push(w)}function B(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:k,abort:p}}function S(){s="failed",h.forEach(w=>{w(void 0,m)})}function V(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function g(w,N,E){const D=N!=="success";switch(f=f.filter(T=>T!==w),s){case"pending":break;case"failed":if(D||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){m=E,S();return}if(D){m=E,f.length||(c.length?x():S());return}if(y(),V(),!t.random){const T=t.resources.indexOf(w.resource);T!==-1&&T!==t.index&&(t.index=T)}s="completed",h.forEach(T=>{T(E)})}function x(){if(s!=="pending")return;y();const w=c.shift();if(w===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(V(),S())},t.timeout);return}S();return}const N={status:"pending",resource:w,callback:(E,D)=>{g(N,E,D)}};f.push(N),r++,u=setTimeout(x,t.rotate),o(w,n,N.callback)}return setTimeout(x),B}function wt(t){const n={...Nn,...t};let o=[];function a(){o=o.filter(d=>d().status==="pending")}function i(d,s,r){const m=In(n,d,s,(u,f)=>{a(),r&&r(u,f)});return o.push(m),m}function l(d){return o.find(s=>d(s))||null}return{query:i,find:l,setIndex:d=>{n.index=d},getIndex:()=>n.index,cleanup:a}}function St(){}const Te=Object.create(null);function xn(t){if(!Te[t]){const n=xe(t);if(!n)return;const o=wt(n),a={config:n,redundancy:o};Te[t]=a}return Te[t]}function Tn(t,n,o){let a,i;if(typeof t=="string"){const l=Se(t);if(!l)return o(void 0,424),St;i=l.send;const c=xn(t);c&&(a=c.redundancy)}else{const l=Ne(t);if(l){a=wt(l);const c=t.resources?t.resources[0]:"",d=Se(c);d&&(i=d.send)}}return!a||!i?(o(void 0,424),St):a.query(n,i,o)().abort}const Nt="iconify2",ee="iconify",It=ee+"-count",xt=ee+"-version",Tt=36e5,Mn=168;function Me(t,n){try{return t.getItem(n)}catch{}}function Ve(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Mt(t,n){try{t.removeItem(n)}catch{}}function Ee(t,n){return Ve(t,It,n.toString())}function De(t){return parseInt(Me(t,It))||0}const ce={local:!0,session:!0},Vt={local:new Set,session:new Set};let Oe=!1;function Vn(t){Oe=t}let de=typeof window>"u"?{}:window;function Et(t){const n=t+"Storage";try{if(de&&de[n]&&typeof de[n].length=="number")return de[n]}catch{}ce[t]=!1}function Dt(t,n){const o=Et(t);if(!o)return;const a=Me(o,xt);if(a!==Nt){if(a){const d=De(o);for(let s=0;s<d;s++)Mt(o,ee+s.toString())}Ve(o,xt,Nt),Ee(o,0);return}const i=Math.floor(Date.now()/Tt)-Mn,l=d=>{const s=ee+d.toString(),r=Me(o,s);if(typeof r=="string"){try{const m=JSON.parse(r);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,d))return!0}catch{}Mt(o,s)}};let c=De(o);for(let d=c-1;d>=0;d--)l(d)||(d===c-1?(c--,Ee(o,c)):Vt[t].add(d))}function Ot(){if(!Oe){Vn(!0);for(const t in ce)Dt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=R(a,i);if(!be(l,o).length)return!1;const c=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,c):c,!0})}}function En(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ce)Dt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Dn(t,n){Oe||Ot();function o(a){let i;if(!ce[a]||!(i=Et(a)))return;const l=Vt[a];let c;if(l.size)l.delete(c=Array.from(l).shift());else if(c=De(i),!Ee(i,c+1))return;const d={cached:Math.floor(Date.now()/Tt),provider:t.provider,data:n};return Ve(i,ee+c.toString(),JSON.stringify(d))}n.lastModified&&!En(t,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Lt(){}function On(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,_n(t)}))}function Ln(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:a}=t,i=t.iconsToLoad;delete t.iconsToLoad;let l;if(!i||!(l=Se(o)))return;l.prepare(o,a,i).forEach(d=>{Tn(o,d,(s,r)=>{if(typeof s!="object"){if(r!==404)return;d.icons.forEach(m=>{t.missing.add(m)})}else try{const m=be(t,s);if(!m.length)return;const u=t.pendingIcons;u&&m.forEach(f=>{u.delete(f)}),Dn(t,s)}catch(m){console.error(m)}On(t)})})}))}const jn=(t,n)=>{const o=Sn(t,!0,gt()),a=Bn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Lt)}),()=>{s=!1}}const i=Object.create(null),l=[];let c,d;return a.pending.forEach(s=>{const{provider:r,prefix:m}=s;if(m===d&&r===c)return;c=r,d=m,l.push(R(r,m));const u=i[r]||(i[r]=Object.create(null));u[m]||(u[m]=[])}),a.pending.forEach(s=>{const{provider:r,prefix:m,name:u}=s,f=R(r,m),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(u)||(h.add(u),i[r][m].push(u))}),l.forEach(s=>{const{provider:r,prefix:m}=s;i[r][m].length&&Ln(s,i[r][m])}),n?wn(n,a,l):Lt};function Fn(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in kt?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const Pn=/[\s,]+/;function zn(t,n){n.split(Pn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function An(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function a(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:a(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let l=parseFloat(t.slice(0,t.length-o.length));return isNaN(l)?0:(l=l/i,l%1===0?a(l):0)}}return n}function Hn(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 qn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rn(t){return'url("data:image/svg+xml,'+qn(t)+'")'}const jt={...Ct,inline:!1},Un={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Gn={display:"inline-block"},Le={backgroundColor:"currentColor"},Ft={backgroundColor:"transparent"},Pt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zt={webkitMask:Le,mask:Le,background:Ft};for(const t in zt){const n=zt[t];for(const o in Pt)n[t+o]=Pt[o]}const me={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";me[t+"-flip"]=n,me[t.slice(0,1)+"-flip"]=n,me[t+"Flip"]=n});function At(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Ht=(t,n)=>{const o=Fn(jt,n),a={...Un},i=n.mode||"svg",l={},c=n.style,d=typeof c=="object"&&!(c instanceof Array)?c:{};for(let p in n){const k=n[p];if(k!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&zn(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[p]=An(k):typeof k=="number"&&(o[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const B=me[p];B?(k===!0||k==="true"||k===1)&&(o[B]=!0):jt[p]===void 0&&(a[p]=k)}}}const s=rn(t,o),r=s.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...d},Object.assign(a,r);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=un(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",a)}const{body:m,width:u,height:f}=t,h=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),y=Hn(m,{...r,width:u+"",height:f+""});return a.style={...l,"--svg":Rn(y),width:At(r.width),height:At(r.height),...Gn,...h?Le:Ft,...d},e.h("span",a)};if(gt(!0),hn("",Cn),typeof document<"u"&&typeof window<"u"){Ot();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!yt(a))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const a="IconifyProviders["+o+"] is invalid.";try{const i=n[o];if(typeof i!="object"||!i||i.resources===void 0)continue;fn(o,i)||console.error(a)}catch{console.error(a)}}}}const Qn={...se,body:""},Wn=e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=le(t,!1,!0))===null)return this.abortLoading(),null;const a=nn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:jn([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:a,classes:i}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return Ht(Qn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Ht({...se,...n.data},o)}}),Th="",b=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},Zn={name:"CmdIcon",components:{Icon:Wn},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}}},Jn=["title"];function Yn(t,n,o,a,i,l){const c=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(c,{key:0,icon:o.iconClass,title:o.tooltip,class:e.normalizeClass(t.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([o.iconClass,t.$attrs.class]),title:o.tooltip},null,10,Jn))}const I=b(Zn,[["render",Yn]]),Mh="",Kn={name:"CmdHeadline",inject:{editModeContext:{default:null}},data(){return{editableHeadlineText:this.headlineText}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],required:!0},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:null},editModeContextData:{type:Object}},mounted(){var t;(t=this.editModeContext)==null||t.addSaveHandler(this.onSave)},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{onSave(){const t=this.editableHeadlineText;return{editModeContextData:{...this.editModeContextData||{}},headlineText:t,update(n){n.headlineText=t}}}}},Xn={key:1},$n={class:"pre-headline-text"};function vn(t,n,o,a,i,l){var d,s,r,m;const c=I;return(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:1,type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel]),"onUpdate:modelValue":n[0]||(n[0]=u=>i.editableHeadlineText=u)},null,2)),[[e.vModelText,i.editableHeadlineText]]):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(s=o.headlineIcon)==null?void 0:s.iconClass},l.getTextAlign])},[o.headlineIcon?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(r=o.headlineIcon)==null?void 0:r.iconClass,type:(m=o.headlineIcon)==null?void 0:m.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Xn,[e.createElementVNode("span",$n,e.toDisplayString(o.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))],2))}const M=b(Kn,[["render",vn]]),P={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(t,...n){if(!t)return"";let o=this.i18n;if(typeof this.i18n=="function"&&(o=this.i18n.call(this,t,n),typeof o!="object"))return o;let a=o[t]||this.getDefaultMessageProperty(t)||t;return typeof a=="function"?a.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((i,l)=>a=a.replace("{"+l+"}",i)),a)},getDefaultMessageProperty(t){var o;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[t])return this.defaultMessageProperties[t];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((o=this[n])==null?void 0:o[t])?this[n][t]:null}}},el={data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}},Vh="",tl={name:"CmdAddressData",mixins:[P,el],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}}},ol={class:"cmd-address-data vcard"},nl={class:"adr"},ll={key:0},il={key:1},al=["href","target","title"],sl=["innerHTML"],rl={key:1},cl=["href","title"],dl={class:"street-address"},ml=e.createElementVNode("br",null,null,-1),ul={key:1,class:"postal-code"},hl={class:"locality"},fl=e.createElementVNode("br",null,null,-1),pl=e.createElementVNode("br",null,null,-1),gl={key:4,class:"country-name"},yl={class:"street-address"},kl=e.createElementVNode("br",null,null,-1),Cl={key:1,class:"postal-code"},Bl={class:"locality"},_l=e.createElementVNode("br",null,null,-1),bl=e.createElementVNode("br",null,null,-1),wl={key:4,class:"country-name"},Sl=["href","target","title"],Nl=["innerHTML"],Il=["href","title"],xl={class:"street-address"},Tl=e.createElementVNode("br",null,null,-1),Ml={class:"postal-code"},Vl={class:"locality"},El=e.createElementVNode("br",null,null,-1),Dl=e.createElementVNode("br",null,null,-1),Ol={key:3,class:"country-name"},Ll={class:"street-address"},jl=e.createElementVNode("br",null,null,-1),Fl={class:"postal-code"},Pl={class:"locality"},zl=e.createElementVNode("br",null,null,-1),Al=e.createElementVNode("br",null,null,-1),Hl={key:3,class:"country-name"};function ql(t,n,o,a,i,l){const c=M,d=I,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",ol,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",nl,[o.showLabels&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock("dl",ll,[(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",il,e.toDisplayString(r.labelText),1)):e.createCommentVNode("",!0)],2),r.name!=="address"&&r.data?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(r))},[r.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:r.name==="website"?"_blank":null,title:r.tooltip},[e.createTextVNode(e.toDisplayString(r.href),1)],8,al)),[[s,r.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,sl))],2)):(e.openBlock(),e.createElementBlock("dd",rl,[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:t.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",dl,e.toDisplayString(r.streetNo),1),ml],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",ul,e.toDisplayString(r.zip),1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",hl,e.toDisplayString(r.city),1),fl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),pl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",gl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],8,cl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",yl,e.toDisplayString(r.streetNo),1),kl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",Cl,e.toDisplayString(r.zip)+"\xA0",1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Bl,e.toDisplayString(r.city),1),_l],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),bl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",wl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))]))],64))),128))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["flex-container",{vertical:!o.showIconsOnly}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[r.href||r.name==="address"||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[r.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:{_blank:r.name==="website"},title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.href),1)],64))],8,Sl)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,Nl)),r.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xl,e.toDisplayString(r.streetNo),1),Tl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ml,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Vl,e.toDisplayString(r.city),1),El],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Dl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Ol,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))],8,Il)):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",Ll,e.toDisplayString(r.streetNo),1),jl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Fl,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Pl,e.toDisplayString(r.city),1),zl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Al],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Hl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])])}const Rl=b(tl,[["render",ql]]),Ul={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"})}}},Gl=["title"];function Ql(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:o.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.onBackToTop&&l.onBackToTop(...d),["prevent"]))},[e.createVNode(c,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,Gl)):e.createCommentVNode("",!0)]),_:1})}const Wl=b(Ul,[["render",Ql]]),Eh="",Zl={name:"CmdBankAccountData",props:{accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},iconCopy:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(t){const n=t.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Jl={class:"cmd-bank-account-data"},Yl={key:0},Kl=["onClick","title"],Xl={key:1};function $l(t,n,o,a,i,l){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",Jl,[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",Yl,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.copyToClipboard(s.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(d,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Kl)])):(e.openBlock(),e.createElementBlock("dd",{key:r},e.toDisplayString(s.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Xl,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const vl=b(Zl,[["render",$l]]);function U(t){return t.path?t.path:((t.route==null||typeof t.route!="object"||!t.route.path&&!t.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",t.route),t.route)}const Dh="",ei={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"})}}},ti={key:0,class:"headline-wrapper"},oi=["title"];function ni(t,n,o,a,i,l){const c=M,d=I;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.status]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",ti,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.cmdHeadline.iconClass,preHeadline:o.cmdHeadline.preHeadline,headlineLevel:o.cmdHeadline.headlineLevel,headlineText:o.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),o.iconClose.show&&o.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.hideTooltip&&l.hideTooltip(...s),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(d,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,oi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const qt=b(ei,[["render",ni]]),li={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Oh="",ii={name:"CmdListOfRequirements",mixins:[P,li],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")}}},ai={class:"cmd-list-of-requirements"},si=e.createElementVNode("br",null,null,-1),ri=e.createElementVNode("hr",null,null,-1),ci=["href","target"],di={key:1};function mi(t,n,o,a,i,l){var s,r,m;const c=M,d=I;return e.openBlock(),e.createElementBlock("div",ai,[o.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-level":o.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineRequirements),1),o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[si,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},[ri,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",di,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,ci)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const ui=b(ii,[["render",mi]]),hi={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 fi(t,n,o,a,i,l){const c=ui,d=qt;return e.openBlock(),e.createBlock(d,{ref:"tooltip",class:e.normalizeClass(["box",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(c,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,validationTooltip:o.cmdListOfRequirements.validationTooltip,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const je=b(hi,[["render",fi]]),pi={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"}}}},Fe={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[P,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},getStatusIconType(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconType:this.validationStatus==="error"?this.iconHasStateError.iconType:this.validationStatus==="warning"?this.iconHasStateWarning.iconType:this.validationStatus==="success"?this.iconHasStateSuccess.iconType:this.iconHasStateInfo.iconType:this.helplink.icon.iconType},inputRequirements(){const t=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;t.push({message:this.getRequirementMessage(),valid(o,a){return!a.required&&!n||o!=null&&String(o).length>0}})}return this.$attrs.minlength&&t.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,o){return n.length>=o.minlength}}),[...t,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(t){["password","number","url","email"].includes(this.$attrs.type)&&t.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Rt(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function Ut(){return"cmd-"+Rt()}const te={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Ut()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Pe={};function gi(t="defaultSequence"){const n=Pe[t]||0;return Pe[t]=n+1,Pe[t]}const ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+gi()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},jh="",yi=["color","date","datetime-local","file","number","range"],ki={inheritAttrs:!1,name:"CmdFormElement",mixins:[P,pi,Fe,te,ze],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(t){return t==="input"||t==="select"||t==="textarea"||t==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},tooltipText:{type:String,required:!1},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},status:{type:String,required:!1},showCharactersTextarea:{type:Boolean,default:!0},textCharacters:{type:String,default:"Characters"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const t=["name","required","readonly","disabled","autofocus"],n={input:[...t,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...t,"multiple"],textarea:[...t,"placeholder"]},o={};return n[this.element]&&Object.entries(this.$attrs).filter(([a])=>n[this.element].includes(a)).forEach(([a,i])=>o[a]=i),o},buttonAttrs(){var n,o;const t={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(t.title=(o=this.nativeButton.icon)==null?void 0:o.tooltip),t},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersTextarea(){return this.textCharacters+" "+this.modelValue.length+"/"+this.getMaxLength()},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{additionalStandardRequirements(){const t=[];return this.$attrs.type==="email"&&t.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),t},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:yi.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(t){var o;((o=t.target.closest("form"))==null?void 0:o.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof t.target.checkValidity=="function"&&!t.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(t){this.validateInput(t),this.closeTooltipOnBlur()},onInput(t){this.validateInput(t),this.$emit("update:modelValue",t.target.value)},onChange(t){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",t.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",t.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const t=this.$refs.input,n=t.value;t.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),t.setAttribute("type","text"),t.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Ci=["for","title"],Bi={key:2,"aria-hidden":"true"},_i=["title","aria-errormessage","id"],bi={key:1,class:"flex-container"},wi=["id","autocomplete","list","value","maxlength"],Si=["title"],Ni=["id"],Ii=["value"],xi=["checked","value","id","disabled","aria-invalid"],Ti={key:2},Mi={class:"switch-label-wrapper"},Vi=["checked","value","id","disabled","aria-invalid"],Ei={class:"label-text"},Di={class:"label-text"},Oi={key:0},Li=["id"],ji=["value","selected"],Fi=["id","value","maxlength"],Pi={key:6},zi={key:7,class:"search-field-wrapper flex-container no-gap"},Ai=["id","maxlength","value"],Hi=["title"],qi=["title"],Ri={key:1};function Ui(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k,B,S,V,g,x,w,N,E,D,T,F,j,Q,A,ne;const c=je,d=I;return o.element==="input"||o.element==="select"||o.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",t.validationStatus,t.$attrs.class,{disabled:t.$attrs.disabled,inline:o.displayLabelInline,checked:l.isChecked,"toggle-switch":o.toggleSwitch,colored:o.colored,on:o.colored&&l.isChecked,off:o.colored&&!l.isChecked,"has-state":t.validationStatus}]),for:t.htmlId,title:t.$attrs.title,ref:"label"},[(o.labelText||t.$slots.labeltext)&&t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Bi,"*")):e.createCommentVNode("",!0)]),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,_i)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",bi,[o.fieldIconClass?(e.openBlock(),e.createBlock(d,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),o.element==="input"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},l.elementAttributes,{id:t.htmlId,class:o.inputClass,onFocus:n[1]||(n[1]=_=>t.tooltip=!0),onBlur:n[2]||(n[2]=(..._)=>l.onBlur&&l.onBlur(..._)),onInput:n[3]||(n[3]=(..._)=>l.onInput&&l.onInput(..._)),onMouseover:n[4]||(n[4]=(..._)=>l.datalistFocus&&l.datalistFocus(..._)),onKeyup:n[5]||(n[5]=(..._)=>t.checkForCapsLock&&t.checkForCapsLock(..._)),onChange:n[6]||(n[6]=_=>t.$emit("change",_)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,wi)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((..._)=>l.showPassword&&l.showPassword(..._),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Si)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_},null,8,Ii))),128))],8,Ni)):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",Mi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[14]||(n[14]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:{inputClass:o.inputClass,validationStatus:t.validationStatus},id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,Vi),e.createElementVNode("span",Ei,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",Di,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Oi,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[11]||(n[11]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[12]||(n[12]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:[o.inputClass,t.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,xi),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",Ti,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),o.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},l.elementAttributes,{id:t.htmlId,onBlur:n[15]||(n[15]=(..._)=>l.onBlur&&l.onBlur(..._)),onChange:n[16]||(n[16]=_=>t.$emit("update:modelValue",_.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,ji))),128))],16,Li)):e.createCommentVNode("",!0),o.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},l.elementAttributes,{id:t.htmlId,value:o.modelValue,maxlength:l.getMaxLength(),onInput:n[17]||(n[17]=(..._)=>l.onInput&&l.onInput(..._)),onFocus:n[18]||(n[18]=_=>t.tooltip=!0),onBlur:n[19]||(n[19]=(..._)=>l.onBlur&&l.onBlur(..._))}),`\r
2
- `,16,Fi)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Pi,e.toDisplayString(l.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",zi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(..._)=>l.onInput&&l.onInput(..._)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,Ai),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((..._)=>l.executeSearch&&l.executeSearch(..._),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,Hi)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(r=o.iconDelete)==null?void 0:r.tooltip},[e.createVNode(d,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(u=o.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,qi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Ci)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs),[((h=(f=o.nativeButton)==null?void 0:f.icon)==null?void 0:h.show)&&(((p=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((B=(k=o.nativeButton)==null?void 0:k.icon)!=null&&B.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(V=(S=o.nativeButton)==null?void 0:S.icon)==null?void 0:V.iconClass,type:(x=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:x.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((w=o.nativeButton)==null?void 0:w.icon)&&((N=o.nativeButton)==null?void 0:N.text)?(e.openBlock(),e.createElementBlock("span",Ri,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((D=(E=o.nativeButton)==null?void 0:E.icon)==null?void 0:D.show)&&((F=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(j=o.nativeButton)==null?void 0:j.icon)==null?void 0:Q.iconClass,type:(ne=(A=o.nativeButton)==null?void 0:A.icon)==null?void 0:ne.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const q=b(ki,[["render",Ui]]);function W(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Gi(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(W(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const c=new Image;c.onload=()=>{if(c.width<o&&!confirm("width ("+c.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(c.src),typeof i=="function"?i(c.src):i.src=c.src},c.src=URL.createObjectURL(t)}function Gt(t){var n;return((n=t==null?void 0:t.$options)==null?void 0:n.name)==="EditComponentWrapper"?t:t!=null&&t.$parent?Gt(t.$parent):null}function Qt(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const Qi={inject:{editModeContext:{default:null}},data(){return{editing:!1}},created(){const t=Gt(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))},methods:{updateHandlerProvider(){return{}}}},Fh="",Wi={name:"CmdImage",mixins:[Qi],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["jpg","jpeg","png","webp"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}],figcaptionText:null}},props:{image:{type:Object,required:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const t=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(t.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(t.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageSource(){if(this.newImageSource)return this.newImageSource;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},getTextAlign(){var t;return(t=this.figcaption)!=null&&t.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){return this.figcaptionText==null?this.figcaption.text:this.figcaptionText},set(t){this.figcaptionText=t}}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.editableShowFigcaption,position:this.editableFigcaptionPosition,textAlign:this.editableFigcaptionTextAlign,text:this.editableFigcaptionText}}},dragEnter(t){this.dragOver(t)},dragOver(t){t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0&&(t.dataTransfer.dropEffect="none",t.dataTransfer.items[0].kind==="file"&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),Gi(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:createUuid(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return Qt(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableFigcaptionText;return Qt(this,{update(n){n.figcaption||(n.figcaption={}),n.figcaption.text=t}})}}},Zi=e.createElementVNode("span",{class:"icon-image"},null,-1),Ji=["src","alt","title"],Yi={key:0},Ki=["src","alt","title"],Xi={key:1};function $i(t,n,o,a,i,l){var d,s,r,m,u,f,h,y;const c=q;return t.editing?(e.openBlock(),e.createElementBlock("figure",{key:0,class:e.normalizeClass(["cmd-image flex-container vertical",l.getTextAlign])},[((d=o.figcaption)==null?void 0:d.position)==="top"?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:"text",required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[0]||(n[0]=p=>l.editableFigcaptionText=p)},null,8,["modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler),{title:"Drag new image to this area to replace old one!"}),[Zi,e.createElementVNode("img",{src:l.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,Ji)],16),((s=o.figcaption)==null?void 0:s.position)!=="top"?(e.openBlock(),e.createBlock(c,{key:1,element:"input",type:"text",class:e.normalizeClass(l.getTextAlign),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[1]||(n[1]=p=>l.editableFigcaptionText=p)},null,8,["class","modelValue"])):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("figure",{key:1,class:e.normalizeClass(["cmd-image",l.getTextAlign])},[((r=o.figcaption)==null?void 0:r.show)&&((m=o.figcaption)==null?void 0:m.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Yi,e.toDisplayString((u=o.figcaption)==null?void 0:u.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,Ki),((f=o.figcaption)==null?void 0:f.show)&&((h=o.figcaption)==null?void 0:h.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Xi,e.toDisplayString((y=o.figcaption)==null?void 0:y.text),1)):e.createCommentVNode("",!0)],2))}const Z=b(Wi,[["render",$i]]),Ph="",vi={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"),{})}}},ea=["title"];function ta(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",o.slideButtonType]),title:l.getDirection.tooltip},[e.createVNode(c,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,ea)}const ue=b(vi,[["render",ta]]),oa={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"}}}},zh="",na={name:"CmdThumbnailScroller",emits:["click"],mixins:[P,oa],data(){return{items:[],showSlidebuttons:!0}},props:{fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image"},executeOnClick:{type:String,default:"fancybox"},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},mounted(){const t=this.$refs["thumbnail-scroller"],n=t.querySelector(":scope > ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{getTooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")}},methods:{toggleSlideButtons(t){this.showSlidebuttons=t.scrollWidth>t.clientWidth},showNextItem(){const t=this.items.shift();t&&this.items.push(t)},showPrevItem(){const t=this.items.pop();t&&this.items.unshift(t)},showFancyBox(t){this.allowOpenFancyBox&&he({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){if(this.contentType==="image"){this.$emit("click",this.items[t].image.id);return}this.$emit("click",this.items[t].id)},executeLink(t,n){this.executeOnClick==="emit"?(n.preventDefault(),this.emitCurrentItemId(t)):this.executeOnClick==="fancybox"&&(n.preventDefault(),this.showFancyBox(t))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(t=>{let n;return this.contentType==="image"?(n={image:{...t.image},figcaption:{...t.figcaption}},n.image.srcImageSmall&&(n.image.src=n.image.srcImageSmall)):n={...t},n})},immediate:!0}}},la=["href","onClick","title","target"],ia={key:1};function aa(t,n,o,a,i,l){const c=ue,d=Z,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}]),ref:"thumbnail-scroller"},[e.createElementVNode("div",null,[i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass([{active:o.activeItemIndex===m},r.id?"item-"+r.id:""])},[e.createElementVNode("a",{href:o.executeOnClick==="url"?r.url:"#",onClick:u=>l.executeLink(m,u),title:l.getTooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(d,{key:0,image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",ia,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],64))],8,la)],2))),128))]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const Wt=b(na,[["render",aa]]),Ah="",he=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Zt,{...t,show:!0}).mount(n)},Zt=e.defineComponent({name:"CmdFancyBox",mixins:[te],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var n;const t={...((n=this.cmdImage)==null?void 0:n.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(t){(await sa(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function sa(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const ra=Zt,ca=["aria-label"],da={class:"flex-container"},ma={key:1,class:"button-wrapper no-flex"},ua=["title"],ha=["title"],fa=["title"],pa={key:0,class:"content"},ga=["innerHTML"],ya={key:2,class:"content"},ka={key:3,class:"content"},Ca={key:4,class:"content"},Ba={key:0,class:"flex-container no-flex"},_a=["title"],ba={key:1},wa=["title"],Sa={key:1};function Na(t,n,o,a,i,l){var u,f,h,y,p,k,B,S,V,g,x,w,N,E,D,T,F,j,Q,A,ne,_,K,Qo,Wo,Zo,Jo,Yo,Ko;const c=M,d=I,s=Z,r=ue,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,onCancel:n[5]||(n[5]=(...H)=>t.onDialogCancel&&t.onDialogCancel(...H))},[e.createElementVNode("header",da,[(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",ma,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(B=t.fancyboxOptions.printButtons.color)==null?void 0:B.tooltip,onClick:n[0]||(n[0]=e.withModifiers(H=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(S=t.fancyboxOptions.printButtons.color)==null?void 0:S.iconClass,type:(V=t.fancyboxOptions.printButtons.color)==null?void 0:V.iconType},null,8,["iconClass","type"])],8,ua)):e.createCommentVNode("",!0),t.showPrintButtons&&((g=t.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.tooltip,onClick:n[1]||(n[1]=e.withModifiers(H=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(w=t.fancyboxOptions.printButtons.grayscale)==null?void 0:w.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ha)):e.createCommentVNode("",!0),t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:t.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...H)=>t.close&&t.close(...H),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,fa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((E=t.cmdImage)==null?void 0:E.image)?(e.openBlock(),e.createElementBlock("div",pa,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(D=t.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ga)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ya)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ka,[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",Ca,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",Ba,[(T=t.fancyboxOptions.submitButtons)!=null&&T.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...H)=>t.cancel&&t.cancel(...H)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(j=t.fancyboxOptions.submitButtons.cancel)!=null&&j.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons.cancel)!=null&&ne.buttonText?(e.openBlock(),e.createElementBlock("span",ba,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,_a)):e.createCommentVNode("",!0),(K=t.fancyboxOptions.submitButtons)!=null&&K.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...H)=>t.confirm&&t.confirm(...H)),title:(Qo=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Qo.tooltip},[(Wo=t.fancyboxOptions.submitButtons.confirm)!=null&&Wo.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Zo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Zo.iconClass,type:(Jo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Jo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(Yo=t.fancyboxOptions.submitButtons.confirm)!=null&&Yo.buttonText?(e.openBlock(),e.createElementBlock("span",Sa,e.toDisplayString((Ko=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Ko.buttonText),1)):e.createCommentVNode("",!0)],8,wa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,ca)])}const Ia=b(ra,[["render",Na]]),Hh="",xa={name:"CmdListOfLinks",emits:["click"],props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},largeIcons:{type:Boolean,default:!1},align:{type:String,default:"left"},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical"},useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{getRoute(t){return U(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),he({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Ta=["href","target","onClick","title"],Ma={key:1},Va={key:1};function Ea(t,n,o,a,i,l){const c=M,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:o.styleAsBox,horizontal:o.orientation==="horizontal","section-anchors":o.sectionAnchors,"large-icons":o.largeIcons}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!o.useGap},"align-"+o.align,l.setStretchClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===m})},[r.type==="href"||r.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.path,target:r.target,onClick:u=>l.executeLink(r,u),title:r.tooltip&&r.tooltip!==void 0?r.tooltip:void 0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Ma,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,Ta)):r.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(r),title:r.tooltip},{default:e.withCtx(()=>[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Va,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Jt=b(xa,[["render",Ea]]),Da={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"}}}},Oa={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},qh="",Ae={name:"CmdBox",mixins:[P,Da,Oa],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useDefaultPadding:{type:Boolean,default:!0},repeatHeadlineInBoxBody:{type:Boolean,default:!1},fadeLastLine:{type:Boolean,default:!0},useTransition:{type:Boolean,default:!0},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business"},useSlots:{type:Array,required:!1},image:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(t){this.$emit("click",t)}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox)}}},Yt=()=>{e.useCssVars(t=>({"17b9246a":t.cutoffTextLines}))},Kt=Ae.setup;Ae.setup=Kt?(t,n)=>(Yt(),Kt(t,n)):Yt;const La=Ae,ja=["title"],Fa={key:0,class:"box-header"},Pa=["src","alt"],za={class:"text-wrapper"},Aa={key:1},Ha={key:2,class:"box-footer"},qa={class:"box-header flex-container vertical"},Ra={key:0},Ua=["src","alt"],Ga={key:1},Qa={key:2,class:"ribbon-new"},Wa={key:3,class:"ribbon-discount"},Za={class:"box-body"},Ja={key:0},Ya={key:1,class:"price"},Ka=["title"],Xa={key:2},$a={class:"box-header flex-container vertical"},va={key:0},es=["src","alt"],ts={key:0},os={key:1},ns=["title"],ls={key:0},is={class:"box-body"},as={key:0},ss={key:1},rs={key:2},cs={key:3,class:"description"},ds={class:"tags"},ms={key:0,class:"box-footer"};function us(t,n,o,a,i,l){var r,m,u,f,h,y,p,k,B;const c=M,d=I,s=Jt;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:i.open,collapsible:o.collapsible,"stretch-vertically":o.stretchVertically&&!o.collapsible,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?o.iconOpen.tooltip:o.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...S)=>l.toggleContentVisibility&&l.toggleContentVisibility(...S),["prevent"]))},[(r=o.useSlots)!=null&&r.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(m=o.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,ja)):(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",Fa,[(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)),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["box-body",{"default-padding":o.useDefaultPadding}]),"aria-expanded":"true",role:"article"},[(p=o.useSlots)!=null&&p.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:l.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":o.cutoffTextLines>0,"fade-last-line":o.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText})},e.toDisplayString(o.textBody),3),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...S)=>l.toggleCutOffText&&l.toggleCutOffText(...S),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.image.src,alt:o.image.altText},null,8,Pa)):e.createCommentVNode("",!0),e.createElementVNode("div",za,[((k=o.cmdHeadline)==null?void 0:k.headlineText)&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Aa,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])],64))],2),[[e.vShow,i.open]]),(B=o.useSlots)!=null&&B.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ha,[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(S=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",qa,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ra,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Ua),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Ga,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Qa,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Wa,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Za,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ja,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",Ya,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Ka)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",Xa,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",$a,[o.user.image?(e.openBlock(),e.createElementBlock("figure",va,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,es),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",ts,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",os,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,ns),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",ls,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",is,[o.rowView?(e.openBlock(),e.createElementBlock("p",as,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",ss,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",rs,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",cs,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",ds,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(S,V)=>(e.openBlock(),e.createElementBlock("li",{key:V},e.toDisplayString(S),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",ms,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const Xt=b(La,[["render",us]]),Rh="",He={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(t,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?t===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>t?this.boxesPerRow[t]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(t,n){this.currentOpenBox=n?t:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},$t=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},vt=He.setup;He.setup=vt?(t,n)=>($t(),vt(t,n)):$t;const hs=He,fs={class:"cmd-box-wrapper"},ps={class:"flex-container headline-wrapper"},gs={key:1,class:"options-wrapper"},ys=["title"],ks=["title"];function Cs(t,n,o,a,i,l){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",fs,[e.createElementVNode("div",ps,[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",gs,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...s),["prevent"])),title:i.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(d,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ys)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(s=>i.rowView=!i.rowView,["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(d,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ks)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([o.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,currentOpenBox:i.currentOpenBox,rowView:i.rowView})],2)])}const Bs=b(hs,[["render",Cs]]),Uh="",_s={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return U(t)}}},bs={class:"cmd-breadcrumbs"},ws={key:0},Ss=["href"],Ns={key:1},Is={key:1},xs={key:2},Ts={key:1},Ms={key:3};function Vs(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",bs,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",ws,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",Ns,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,Ss)):s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Is,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",xs,[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",Ts,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ms,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Es=b(_s,[["render",Vs]]),Gh="",Ds={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const t=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(t,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(t){this.prefersColorScheme=t.matches?"light":"dark"},observeDom(t){for(let n=0;n<t.length;n++)if(t[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(t){return U(t)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},Os={class:"cmd-company-logo"},Ls=["href","title"];function js(t,n,o,a,i,l){var s,r,m,u,f,h;const c=Z,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Os,[((s=o.link)==null?void 0:s.type)==="router"?(e.openBlock(),e.createBlock(d,{key:0,to:(r=o.link)==null?void 0:r.path,title:(m=o.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(c,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):((u=o.link)==null?void 0:u.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(c,{image:l.image},null,8,["image"])],8,Ls)):(e.openBlock(),e.createBlock(c,{key:2,image:l.image},null,8,["image"]))])}const eo=b(Ds,[["render",js]]),Fs={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!"}}}},Qh="",Ps={name:"CmdCookieDisclaimer",mixins:[P,Fs],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var o,a;const t=this.modelValue?[...this.modelValue]:[],n=((a=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:a.cookies)||[];for(let i=0;i<n.length;i++)t.includes(n[i].value)||t.push(n[i].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var a,i,l,c;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let d=0;d<n.length;d++)t.push(n[d].value);const o=(c=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:c.cookies;if(o)for(let d=0;d<o.length;d++)t.push(o[d].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},zs={class:"cmd-cookie-disclaimer flex-container vertical"},As={key:0,class:"flex-container vertical"},Hs={key:0},qs={key:1},Rs=["href","target"],Us=["innerHTML"],Gs=e.createElementVNode("hr",null,null,-1),Qs={key:1,class:"flex-container vertical"},Ws={key:0},Zs={key:1},Js=["href","target"],Ys=["innerHTML"],Ks={class:"button-wrapper align-center"};function Xs(t,n,o,a,i,l){const c=M,d=q,s=Xt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",zs,[((r=o.cmdHeadlineCookieDisclaimer)==null?void 0:r.show)&&((m=o.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((u=o.cmdHeadlineCookieDisclaimer)==null?void 0:u.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,y,p,k,B,S,V;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",As,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=o.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=o.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",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[1]||(n[1]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Rs)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Us)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Gs,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Qs,[(B=o.cmdBoxOptionalCookies)!=null&&B.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(S=o.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(V=o.cmdBoxOptionalCookies)==null?void 0:V.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",Ws,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Zs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Js)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ys)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Ks,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>l.acceptAllCookies&&l.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const $s=b(Ps,[["render",Xs]]),Wh="",vs={name:"CmdCopyrightWrapper"},er={class:"cmd-copyright-information",role:"contentinfo"},tr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function or(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",er,tr)}const nr=b(vs,[["render",or]]),lr={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"}}}},Jh="",ir={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[P,lr,Fe,te,ze],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{},allOptionsSelected:!1}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(a=>a.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},mounted(){const t=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(t),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},limitWidth(){if(this.$refs.fakeselect){const t=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:t/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var t;this.type==="default"&&((t=this.selectData)==null?void 0:t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},ar=["title","aria-labelledby","aria-required"],sr={key:0,class:"label-text"},rr=["id"],cr={key:0},dr=["title","aria-errormessage","id"],mr=["aria-expanded"],ur=["title"],hr=["src","alt"],fr={key:0,role:"listbox"},pr=["aria-selected"],gr=["onClick","title"],yr={key:1},kr=["aria-expanded"],Cr=["for"],Br=["value","checked","id"],_r=["onClick"],br=["src","alt"],wr=["onClick"],Sr={key:0,class:"select-all-options"};function Nr(t,n,o,a,i,l){var r,m,u,f;const c=je,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",sr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",cr,"*")):e.createCommentVNode("",!0)],8,rr),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:t.useCustomTooltip?"":t.getValidationMessage,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,dr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...h)=>l.closeOptions&&l.closeOptions(...h)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>l.toggleOptions&&l.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>l.onBlur&&l.onBlur(...h)),title:(r=l.optionIcon)==null?void 0:r.tooltip},[o.type==="country"&&l.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:e.normalizeClass(["flag",l.optionCountry])},null,10,hr)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(d,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(f=l.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),l.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(i.limitWidthStyle)},e.toDisplayString(l.optionName),5)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(d,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,ur),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",yr,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,gr)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,pr))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:o.modelValue.includes(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...p)=>l.optionSelect&&l.optionSelect(...p)),checked:l.compareValues(h.value),id:"option-"+(y+1)},null,40,Br),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,Cr)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(h.value),alt:h.text},null,8,br),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,_r)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,wr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Sr,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>l.toggleAllOptions&&l.toggleAllOptions(...h),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(d,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(d,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(l.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,kr)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,mr)],10,ar)}const to=b(ir,[["render",Nr]]),Yh="",Ir={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)}}},xr=["data-use-validation","novalidate"],Tr={class:"flex-container"};function Mr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...c)=>l.onSubmit&&l.onSubmit(...c)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Tr,[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,xr)}const Vr=b(Ir,[["render",Mr]]),Kh="",Er={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}}},Dr={key:0,class:"cmd-form-filters"},Or={key:0},Lr={key:1},jr=["onClick","title"];function Fr(t,n,o,a,i,l){const c=I;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Dr,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Or,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.deleteAllFilters&&l.deleteAllFilters(...d),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Lr,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(r=>l.deleteClickedFilter(s),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(d)),1),e.createVNode(c,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,jr)]))),128))])):e.createCommentVNode("",!0)}const oo=b(Er,[["render",Fr]]),Xh="",Pr={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"}}},zr={class:"cmd-google-maps responsive-wrapper"},Ar=["src"];function Hr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Ar)])}const qr=b(Pr,[["render",Hr]]);function no(t,n,o){const a=e.ref(!!(t!=null&&t.editing)),i=[];function l(){const s=[];i.forEach(r=>{const m=r();m&&s.push(m)}),c(s)}function c(s){let r=s;o&&(r=o(s)),t&&r!=null&&t.callPersistHandler(r)}function d(s){i.includes(s)||i.push(s)}return t&&t.addSaveHandler(l),e.watchEffect(()=>a.value=!!(t!=null&&t.editing)),{editing:a,props:{...(t==null?void 0:t.props)||{},...n||{}},addSaveHandler:d,save:l,callPersistHandler:c}}const $h="",Rr={name:"CmdImageGallery",mixins:[],provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},data(){return{context:no(this.editModeContext,{},this.onSave)}},methods:{componentIdentifier(t){const n=[];return n.push(this.editModeContext.props.sectionId),n.push(this.editModeContextData.componentIndex),this.editModeContextData.childComponentIndex!=null&&n.push(this.editModeContextData.childComponentIndex),n.push(t),n.join(".")},showFancyBox(t){he({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},onSave(t){const n=t[0].editModeContextData.imageIndex;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.images[n].image={...o.images[n].image,...t[0].image},o.images[n].figcaption={...o.images[n].figcaption,...t[0].figcaption}}}}}},Ur={class:"grid-container-create-columns cmd-image-gallery"},Gr=["onClick","title"];function Qr(t,n,o,a,i,l){const c=M,d=Z,s=e.resolveComponent("EditComponentWrapper");return e.openBlock(),e.createElementBlock("div",Ur,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),l.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createBlock(s,{class:"image-wrapper",key:"x"+m,componentIdentifier:l.componentIdentifier(m)},{default:e.withCtx(()=>[e.createVNode(d,{image:r.image,figcaption:r.figcaption,editModeContextData:{imageIndex:m}},null,8,["image","figcaption","editModeContextData"])]),_:2},1032,["componentIdentifier"]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:e.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(d,{image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])],8,Gr))),128)):(e.openBlock(),e.createBlock(d,{key:1,image:t.image.image,figcaption:t.image.figcaption},null,8,["image","figcaption"]))],64))])}const Wr=b(Rr,[["render",Qr]]),vh="",Zr={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`,lo(this,t)})},onMouseMove(t){lo(this,t)},onMouseOut(){this.showLargeImage=!1}}};function lo(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,d=a.getBoundingClientRect().width,s=a.getBoundingClientRect().height,r=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,o.getBoundingClientRect().width/d*l),f=Math.min(c,o.getBoundingClientRect().height/s*c),h=io(r-u/2,0,l-u),y=io(m-f/2,0,c-f),p=-(h*(d/l)),k=-(y*(s/c));i.style.left=`${h}px`,i.style.top=`${y}px`,i.style.width=`${u}px`,i.style.height=`${f}px`,i.style.display="block",a.style.marginLeft=`${p}px`,a.style.marginTop=`${k}px`}function io(t,n,o){return t<n?n:t>o?o:t}const Jr={class:"cmd-imagezoom flex-container"},Yr=["title"],Kr=["src","alt"],Xr={key:0,class:"zoom-container"},$r=["src","alt"],vr={key:1,class:"zoom-overlay"};function ec(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Jr,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.tooltip},[e.createElementVNode("img",{src:o.imageSmall.src,alt:o.imageSmall.alt,onMouseover:n[0]||(n[0]=(...c)=>l.onMouseOver&&l.onMouseOver(...c)),onMousemove:n[1]||(n[1]=(...c)=>l.onMouseMove&&l.onMouseMove(...c)),onMouseout:n[2]||(n[2]=(...c)=>l.onMouseOut&&l.onMouseOut(...c))},null,40,Kr)],8,Yr),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Xr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,$r)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",vr)):e.createCommentVNode("",!0)])}const tc=b(Zr,[["render",ec]]),ef="",oc={mixins:[Fe,te,ze],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var t;if(this.required){if((t=this.inputValue)!=null&&t.length){this.validationStatus="";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},nc=["aria-labelledby"],lc={class:"label-text"},ic=["id"],ac={key:0},sc=["title","aria-errormessage","id"],rc=["for"],cc=["type","id","name","value","disabled"],dc={key:1},mc={key:1,class:"flex-container no-flex"};function uc(t,n,o,a,i,l){const c=je,d=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switch":o.toggleSwitch,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",lc,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",ac,"*")):e.createCommentVNode("",!0)],8,ic),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),o.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,sc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",mc,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(s,r)=>(e.openBlock(),e.createElementBlock("label",{key:r,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>l.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,cc),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",dc,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,rc))),128))],2))],10,nc)}const hc=b(oc,[["render",uc]]),tf="",fc={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},textLegendLoginForm:{type:String,default:"Login form"},showLegend:{type:Boolean,default:!0},textLegendForgotLoginForm:{type:String,default:"Forgot login form"},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,default(){return{labelText:"Username:",placeholder:"Type in username",innerIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0}}},cmdFormElementPassword:{type:Object,default(){return{labelText:"Password:",placeholder:"Type in password",innerIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0}}},cmdFormElementSendLogin:{type:Object,default(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",innerIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0}}},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-single-arrow-left",tooltip:""},text:"Back to login form"}}}},buttons:{type:Object,default(){return{login:{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""}},sendLogin:{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""}}}}}},computed:{buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return U(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},pc={class:"cmd-login-form flex-container"},gc={class:"flex-container"},yc={class:"option-wrapper flex-container"},kc={key:1},Cc=["href"],Bc={key:1},_c=e.createTextVNode(" /> "),bc={key:1},wc=["type","disabled"],Sc={key:1},Nc={class:"cmd-login-form flex-container"},Ic={class:"option-wrapper flex-container"},xc={key:1},Tc=["type","disabled"],Mc={key:1};function Vc(t,n,o,a,i,l){var m,u,f,h,y,p,k;const c=M,d=q,s=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",pc,[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",gc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=B=>l.username=B),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=B=>l.checkValidationStatus(B,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(d,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=B=>l.password=B),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=B=>l.checkValidationStatus(B,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",yc,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(B=>i.sendLogin=!0,["prevent"]))},[((m=o.options.forgotPassword.icon)==null?void 0:m.show)&&((u=o.options.forgotPassword.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",kc,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",Bc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,Cc)):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),_c,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",bc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...B)=>l.onClick&&l.onClick(...B)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.buttons.login.icon.iconClass,type:o.buttons.login.icon.iconType,title:o.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.buttons.login.text?(e.openBlock(),e.createElementBlock("span",Sc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,wc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Nc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=B=>l.checkValidationStatus(B,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=B=>i.sendLoginMail=B)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Ic,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(B=>i.sendLogin=!1,["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",xc,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),o.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:o.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.sendLogin.primary}]),disabled:l.buttonSendLoginDisabled},[(y=o.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=o.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=o.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Mc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Tc)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Ec=b(fc,[["render",Vc]]),of="",Dc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right"},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,a){var i;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((i=n==null?void 0:n.subentries)!=null&&i.length){t.preventDefault(),a?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return U(t)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Oc={key:0,class:"close-nav"},Lc=["href","title","target","onClick"],jc={key:1},Fc={key:1},Pc=["aria-expanded"],zc=["href","title","target","onClick"],Ac={key:1},Hc={key:1},qc=["aria-expanded"],Rc=["href","title","target","onClick"],Uc={key:1},Gc={key:1};function Qc(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[i.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Oc,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...s),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(s,r)=>{var m,u,f;return e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:s.active,open:i.openEntry===r,"has-subentries":(m=s==null?void 0:s.subentries)==null?void 0:m.length})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,title:s.tooltip,target:s.target,onClick:h=>l.executeLink(h,s,r),onMouseover:n[1]||(n[1]=h=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>l.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",jc,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,Lc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Fc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),s.subentries&&s.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(f=s==null?void 0:s.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:i.openSubentry===y})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:p=>l.executeLink(p,h,y,1),onMouseover:n[3]||(n[3]=p=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>l.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Ac,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,zc)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Hc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:B=>l.executeLink(B,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Uc,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,Rc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Gc,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,qc)):e.createCommentVNode("",!0)],2))),128))],8,Pc)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const ao=b(Dc,[["render",Qc]]),nf="",Wc={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return U(t)}}},Zc={class:"cmd-multistep-form-progress-bar"},Jc=["href","onClick","title"],Yc={key:0,class:"number"},Kc={key:2},Xc={key:0,class:"number"},$c={key:2},vc=["type","name","title","formaction","onClick"],ed={key:0,class:"number"},td={key:2};function od(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Zc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:i.activeLink===r})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>l.clickedStep(m,r),["stop","prevent"]),title:s.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",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),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Xc,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",$c,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),s.type==="button"||s.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:s.type,name:s.name,title:s.tooltip,formaction:s.formaction,onClick:e.withModifiers(m=>l.clickedStep(m,r),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",ed,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",td,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,vc)):e.createCommentVNode("",!0)],2))),128))])}const nd=b(Wc,[["render",od]]),lf="";function ld(t,n,o,a=!0){function i(l,c){return c&&l<10?"0"+l:l}return(l,c)=>{if(o){let d=l,s=n;return d>12&&(d-=12,s=o),i(d,a)+t+i(c,!0)+s}return i(l,a)+t+i(c,!0)+n}}const id={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].fromTime.split(/[:.]/),i=this.openingHours[n].tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},t.push(o)}return t},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.fromTime.hours,n.fromTime.mins);const a=new Date;if(a.setHours(n.tillTime.hours,n.tillTime.mins),o<=this.currentTime&&this.currentTime<=a)return!1}return!0}},methods:{getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):ld(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},ad={class:"cmd-opening-hours"},sd=["href"],rd={key:3},cd={key:0},dd={key:1};function md(t,n,o,a,i,l){var s,r;const c=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ad,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.link&&((s=o.link)==null?void 0:s.path)&&((r=o.link)==null?void 0:r.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),11,sd)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:o.link.path,class:e.normalizeClass({closed:l.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),o.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:l.isClosed}])},e.toDisplayString(l.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(l.getTime(m.fromTime))+"\u2013"+e.toDisplayString(l.getTime(m.tillTime)),1)],64))),128))]),o.textHolidaysClosed||o.textMiscInfo?(e.openBlock(),e.createElementBlock("div",rd,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",cd,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",dd,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const ud=b(id,[["render",md]]),hd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},af="",fd={name:"CmdPager",mixins:[P,hd],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},pd={class:"cmd-pager"},gd=["href","title"],yd={key:0},kd={class:"page-index"},Cd={class:"flex-container"},Bd=["href","title","onClick"],_d=["href","title"],bd={key:0};function wd(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createElementBlock("div",pd,[e.createElementVNode("a",{href:l.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.previousPage&&l.previousPage(...d),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(c,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",yd,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,gd),e.createElementVNode("div",kd,[e.createElementVNode("div",Cd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(d,s)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(d),class:e.normalizeClass({disabled:i.currentPage===s+1,button:o.linkType==="button"}),title:i.currentPage!==s+1?t.getMessage("cmdpager.tooltip.go_to_page",s+1):t.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(r=>l.showPage(d),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.showPageNumbers})},e.toDisplayString(s+1),3)],10,Bd))),128))])]),e.createElementVNode("a",{href:l.getNextHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...d)=>l.nextPage&&l.nextPage(...d),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",bd,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,_d)])}const Sd=b(fd,[["render",wd]]),sf="",Nd={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}}},Id=["for"],xd={class:"progressbar"},Td={key:0},Md=["id","value"];function Vd(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",xd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Td,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,Md)])],8,Id)}const Ed=b(Nd,[["render",Vd]]),rf="",Dd={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}}},Od=["id","href","title"],Ld={key:1};function jd(t,n,o,a,i,l){const c=M,d=q,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons,"align-right":o.align==="right"}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox","toggle-switch":o.cmdFormElement.toggleSwitch,labelText:o.cmdFormElement.labelText,required:o.cmdFormElement.required,modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=r=>i.dataPrivacyAccepted=r)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["button-wrapper no-flex",{"no-gap":!o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,r=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:r.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!i.dataPrivacyAccepted},{"text-align-right":o.textAlign==="right"}]),id:r.id,href:l.getUrl(r),onClick:n[1]||(n[1]=(...m)=>l.preventOnDisabled&&l.preventOnDisabled(...m)),target:"_blank",title:l.tooltip(r.tooltip)},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.linkText?(e.openBlock(),e.createElementBlock("span",Ld,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Od))]))),256))],2)],2)}const Fd=b(Dd,[["render",jd]]),cf="",Pd={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},zd={class:"cmd-site-footer"};function Ad(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",zd,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Hd=b(Pd,[["render",Ad]]),df="",qd={name:"CmdSiteHeader",emits:["offcanvas"],props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},methods:{emitOffcanvasStatus(t){this.$emit("offcanvas",t)}}},Rd={key:0,class:"top-header"};function Ud(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k;const c=eo,d=ao;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",Rd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(r=o.cmdMainNavigation)==null?void 0:r.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||((f=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((y=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)==null?void 0:y.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((k=(p=o.cmdMainNavigation)==null?void 0:p.navigationEntries)==null?void 0:k.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Gd=b(qd,[["render",Ud]]),Qd={data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}},mf="",Wd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[P,Qd],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,default(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}]}}},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;((t=this.cmdFormElementRadius)==null?void 0:t.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Zd={class:"cmd-box-site-search flex-container"},Jd={class:"flex-container align-bottom"},Yd={class:"input-wrapper align-bottom"},Kd={key:0},Xd={key:1},$d={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function vd(t,n,o,a,i,l){var u,f,h,y,p,k,B,S,V,g;const c=M,d=q,s=I,r=to,m=oo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Zd,[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",Jd,[e.createVNode(d,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=x=>l.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Yd,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(d,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=x=>l.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(d,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=x=>l.radius=x),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(d,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(u=o.cmdFakeSelect)!=null&&u.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(x=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:i.showFilters?(h=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:h.iconClass:(p=(y=o.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(B=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:B.iconType:(V=(S=o.cmdIcon)==null?void 0:S.hideFilters)==null?void 0:V.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",Kd,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var x,w,N,E,D;return[i.showFilters&&((x=o.cmdFakeSelect)==null?void 0:x.selectData.length)?(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(r,{role:"option",selectData:(w=o.cmdFakeSelect)==null?void 0:w.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>l.searchFilters=T),defaultOptionName:(N=o.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(E=o.cmdFakeSelect)==null?void 0:E.type,labelText:(D=o.cmdFakeSelect)==null?void 0:D.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=o.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=x=>l.searchFilters=x),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const em=b(Wd,[["render",vd]]),uf="",tm={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}}},om=["href","title"],nm={key:0},lm=["onClick","aria-label"],im={key:1};function am(t,n,o,a,i,l){const c=ue,d=Z;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>i.pause=!0),onMouseleave:n[1]||(n[1]=s=>i.pause=!1)},[e.createVNode(c,{onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var s,r,m,u,f,h,y,p,k,B;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:i.index,style:e.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+i.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(r=(s=l.currentItem)==null?void 0:s.link)!=null&&r.href?(e.openBlock(),e.createElementBlock("a",{href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(h=(f=l.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip,key:i.index},[e.createVNode(d,{image:(y=l.currentItem)==null?void 0:y.image,figcaption:(p=l.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])],8,om)):(e.openBlock(),e.createBlock(d,{image:(k=l.currentItem)==null?void 0:k.image,figcaption:(B=l.currentItem)==null?void 0:B.figcaption,key:i.index},null,8,["image","figcaption"]))],64))],64)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(l.showNextItem,["prevent"])},null,8,["onClick"]),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",nm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:r===i.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>i.index=r,["prevent"]),"aria-label":i.index},null,8,lm)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",im,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const sm=b(tm,[["render",am]]),rm=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"})),yf="",cm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return U(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(rm[n].default)})},immediate:!0,deep:!0}}},dm={class:"cmd-switch-language"},mm=["href","title","onClick"],um=["src","alt"],hm=["src","alt"];function fm(t,n,o,a,i,l){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",dm,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[d.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.link.path,class:e.normalizeClass(["flag",d.iso2,{active:l.activeLanguage(d)}]),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,um)],10,mm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",d.iso2]),to:l.getRoute(d),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,hm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const pm=b(cm,[["render",fm]]),kf="",gm={name:"CmdSystemMessage",mixins:[te],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},ym=["role","aria-labelledby"],km=["title"];function Cm(t,n,o,a,i,l){const c=I,d=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(c,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,km)):e.createCommentVNode("",!0),e.createVNode(d,{class:"message-headline",headlineIcon:l.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,ym)):e.createCommentVNode("",!0)]),_:3})}const so=b(gm,[["render",Cm]]),Cf="",Bm={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)}}},_m={key:0,class:"button-wrapper"},bm=["title"],wm=["title"],Sm={class:"inner-wrapper"},Nm={"aria-expanded":"true"},Im={key:0,"aria-expanded":"true"};function xm(t,n,o,a,i,l){var d,s,r,m;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",_m,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(u=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,bm)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(u=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(c,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,wm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Sm,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":i.fullWidth})},[((d=o.tableData.caption)==null?void 0:d.text)||((s=o.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((r=o.caption)==null?void 0:r.text)||((m=o.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.thead,(u,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(u),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",Nm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(u,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,(h,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,i.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&i.showTableData?(e.openBlock(),e.createElementBlock("tfoot",Im,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(u,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(u),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const Tm=b(Bm,[["render",xm]]),Mm={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(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C["comand-component-library"]={},C.Vue))})(this,function(C,e){"use strict";const X=/^[a-z0-9]+(-[a-z0-9]+)*$/,le=(t,n,o,a="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;a=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const d=i.pop(),s=i.pop(),r={provider:i.length>0?i[0]:a,prefix:s,name:d};return n&&!ie(r)?null:r}const l=i[0],c=l.split("-");if(c.length>1){const d={provider:a,prefix:c.shift(),name:c.join("-")};return n&&!ie(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:l};return n&&!ie(d,o)?null:d}return null},ie=(t,n)=>t?!!((t.provider===""||t.provider.match(X))&&(n&&t.prefix===""||t.prefix.match(X))&&t.name.match(X)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),se=Object.freeze({...mt,...ae}),Be=Object.freeze({...se,body:"",hidden:!1});function Xo(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const a=((t.rotate||0)+(n.rotate||0))%4;return a&&(o.rotate=a),o}function ut(t,n){const o=Xo(t,n);for(const a in Be)a in ae?a in t&&!(a in o)&&(o[a]=ae[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function $o(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(c){if(o[c])return i[c]=[];if(!(c in i)){i[c]=null;const d=a[c]&&a[c].parent,s=d&&l(d);s&&(i[c]=[d].concat(s))}return i[c]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function vo(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function c(d){l=ut(a[d]||i[d],l)}return c(n),o.forEach(c),ut(t,l)}function ht(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{n(i,null),o.push(i)});const a=$o(t);for(const i in a){const l=a[i];l&&(n(i,vo(t,i,l)),o.push(i))}return o}const en={provider:"",aliases:{},not_found:{},...mt};function _e(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function ft(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!_e(t,en))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(X)||typeof l.body!="string"||!_e(l,Be))return null}const a=n.aliases||{};for(const i in a){const l=a[i],c=l.parent;if(!i.match(X)||typeof c!="string"||!o[c]&&!a[c]||!_e(l,Be))return null}return n}const pt=Object.create(null);function tn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function R(t,n){const o=pt[t]||(pt[t]=Object.create(null));return o[n]||(o[n]=tn(t,n))}function be(t,n){return ft(n)?ht(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function on(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let $=!1;function gt(t){return typeof t=="boolean"&&($=t),$}function nn(t){const n=typeof t=="string"?le(t,!0,$):t;if(n){const o=R(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function ln(t,n){const o=le(t,!0,$);if(!o)return!1;const a=R(o.provider,o.prefix);return on(a,o.name,n)}function yt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),$&&!n&&!t.prefix){let i=!1;return ft(t)&&(t.prefix="",ht(t,(l,c)=>{c&&ln(l,c)&&(i=!0)})),i}const o=t.prefix;if(!ie({provider:n,prefix:o,name:"a"}))return!1;const a=R(n,o);return!!be(a,t)}const kt=Object.freeze({width:null,height:null}),Ct=Object.freeze({...kt,...ae}),an=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Bt(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const a=t.split(an);if(a===null||!a.length)return t;const i=[];let l=a.shift(),c=sn.test(l);for(;;){if(c){const d=parseFloat(l);isNaN(d)?i.push(l):i.push(Math.ceil(d*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");c=!c}}function rn(t,n){const o={...se,...t},a={...Ct,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(h=>{const y=[],p=h.hFlip,k=h.vFlip;let B=h.rotate;p?k?B+=2:(y.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),y.push("scale(-1 1)"),i.top=i.left=0):k&&(y.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),y.push("scale(1 -1)"),i.top=i.left=0);let S;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:S=i.height/2+i.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}B%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),y.length&&(l='<g transform="'+y.join(" ")+'">'+l+"</g>")});const c=a.width,d=a.height,s=i.width,r=i.height;let m,u;return c===null?(u=d===null?"1em":d==="auto"?r:d,m=Bt(u,s/r)):(m=c==="auto"?s:c,u=d===null?Bt(m,r/s):d==="auto"?r:d),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+s.toString()+" "+r.toString()},body:l}}const cn=/\sid="(\S+)"/g,dn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mn=0;function un(t,n=dn){const o=[];let a;for(;a=cn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(mn++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const we=Object.create(null);function hn(t,n){we[t]=n}function Se(t){return we[t]||we[""]}function Ne(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Ie=Object.create(null),v=["https://api.simplesvg.com","https://api.unisvg.com"],re=[];for(;v.length>0;)v.length===1||Math.random()>.5?re.push(v.shift()):re.push(v.pop());Ie[""]=Ne({resources:["https://api.iconify.design"].concat(re)});function fn(t,n){const o=Ne(n);return o===null?!1:(Ie[t]=o,!0)}function xe(t){return Ie[t]}let _t=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function pn(t,n){const o=xe(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(c=>{i=Math.max(i,c.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function gn(t){return t===404}const yn=(t,n,o)=>{const a=[],i=pn(t,n),l="icons";let c={type:l,provider:t,prefix:n,icons:[]},d=0;return o.forEach((s,r)=>{d+=s.length+1,d>=i&&r>0&&(a.push(c),c={type:l,provider:t,prefix:n,icons:[]},d=s.length),c.icons.push(s)}),a.push(c),a};function kn(t){if(typeof t=="string"){const n=xe(t);if(n)return n.path}return"/"}const Cn={prepare:yn,send:(t,n,o)=>{if(!_t){o("abort",424);return}let a=kn(n.provider);switch(n.type){case"icons":{const l=n.prefix,d=n.icons.join(","),s=new URLSearchParams({icons:d});a+=l+".json?"+s.toString();break}case"custom":{const l=n.uri;a+=l.slice(0,1)==="/"?l.slice(1):l;break}default:o("abort",400);return}let i=503;_t(t+a).then(l=>{const c=l.status;if(c!==200){setTimeout(()=>{o(gn(c)?"abort":"next",c)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{o("next",i)});return}setTimeout(()=>{o("success",l)})}).catch(()=>{o("next",i)})}};function Bn(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let a={provider:"",prefix:"",name:""};return t.forEach(i=>{if(a.name===i.name&&a.prefix===i.prefix&&a.provider===i.provider)return;a=i;const l=i.provider,c=i.prefix,d=i.name,s=o[l]||(o[l]=Object.create(null)),r=s[c]||(s[c]=R(l,c));let m;d in r.icons?m=n.loaded:c===""||r.missing.has(d)?m=n.missing:m=n.pending;const u={provider:l,prefix:c,name:d};m.push(u)}),n}function bt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function _n(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const a=t.provider,i=t.prefix;n.forEach(l=>{const c=l.icons,d=c.pending.length;c.pending=c.pending.filter(s=>{if(s.prefix!==i)return!0;const r=s.name;if(t.icons[r])c.loaded.push({provider:a,prefix:i,name:r});else if(t.missing.has(r))c.missing.push({provider:a,prefix:i,name:r});else return o=!0,!0;return!1}),c.pending.length!==d&&(o||bt([t],l.id),l.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),l.abort))})}))}let bn=0;function wn(t,n,o){const a=bn++,i=bt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(l)}),i}function Sn(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?le(i,n,o):i;l&&a.push(l)}),a}var Nn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function In(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let c;if(t.random){let w=t.resources.slice(0);for(c=[];w.length>1;){const N=Math.floor(Math.random()*w.length);c.push(w[N]),w=w.slice(0,N).concat(w.slice(N+1))}c=c.concat(w)}else c=t.resources.slice(l).concat(t.resources.slice(0,l));const d=Date.now();let s="pending",r=0,m,u=null,f=[],h=[];typeof a=="function"&&h.push(a);function y(){u&&(clearTimeout(u),u=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function k(w,N){N&&(h=[]),typeof w=="function"&&h.push(w)}function B(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:k,abort:p}}function S(){s="failed",h.forEach(w=>{w(void 0,m)})}function V(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function g(w,N,E){const D=N!=="success";switch(f=f.filter(T=>T!==w),s){case"pending":break;case"failed":if(D||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){m=E,S();return}if(D){m=E,f.length||(c.length?x():S());return}if(y(),V(),!t.random){const T=t.resources.indexOf(w.resource);T!==-1&&T!==t.index&&(t.index=T)}s="completed",h.forEach(T=>{T(E)})}function x(){if(s!=="pending")return;y();const w=c.shift();if(w===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(V(),S())},t.timeout);return}S();return}const N={status:"pending",resource:w,callback:(E,D)=>{g(N,E,D)}};f.push(N),r++,u=setTimeout(x,t.rotate),o(w,n,N.callback)}return setTimeout(x),B}function wt(t){const n={...Nn,...t};let o=[];function a(){o=o.filter(d=>d().status==="pending")}function i(d,s,r){const m=In(n,d,s,(u,f)=>{a(),r&&r(u,f)});return o.push(m),m}function l(d){return o.find(s=>d(s))||null}return{query:i,find:l,setIndex:d=>{n.index=d},getIndex:()=>n.index,cleanup:a}}function St(){}const Te=Object.create(null);function xn(t){if(!Te[t]){const n=xe(t);if(!n)return;const o=wt(n),a={config:n,redundancy:o};Te[t]=a}return Te[t]}function Tn(t,n,o){let a,i;if(typeof t=="string"){const l=Se(t);if(!l)return o(void 0,424),St;i=l.send;const c=xn(t);c&&(a=c.redundancy)}else{const l=Ne(t);if(l){a=wt(l);const c=t.resources?t.resources[0]:"",d=Se(c);d&&(i=d.send)}}return!a||!i?(o(void 0,424),St):a.query(n,i,o)().abort}const Nt="iconify2",ee="iconify",It=ee+"-count",xt=ee+"-version",Tt=36e5,Mn=168;function Me(t,n){try{return t.getItem(n)}catch{}}function Ve(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Mt(t,n){try{t.removeItem(n)}catch{}}function Ee(t,n){return Ve(t,It,n.toString())}function De(t){return parseInt(Me(t,It))||0}const ce={local:!0,session:!0},Vt={local:new Set,session:new Set};let Oe=!1;function Vn(t){Oe=t}let de=typeof window>"u"?{}:window;function Et(t){const n=t+"Storage";try{if(de&&de[n]&&typeof de[n].length=="number")return de[n]}catch{}ce[t]=!1}function Dt(t,n){const o=Et(t);if(!o)return;const a=Me(o,xt);if(a!==Nt){if(a){const d=De(o);for(let s=0;s<d;s++)Mt(o,ee+s.toString())}Ve(o,xt,Nt),Ee(o,0);return}const i=Math.floor(Date.now()/Tt)-Mn,l=d=>{const s=ee+d.toString(),r=Me(o,s);if(typeof r=="string"){try{const m=JSON.parse(r);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,d))return!0}catch{}Mt(o,s)}};let c=De(o);for(let d=c-1;d>=0;d--)l(d)||(d===c-1?(c--,Ee(o,c)):Vt[t].add(d))}function Ot(){if(!Oe){Vn(!0);for(const t in ce)Dt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=R(a,i);if(!be(l,o).length)return!1;const c=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,c):c,!0})}}function En(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ce)Dt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Dn(t,n){Oe||Ot();function o(a){let i;if(!ce[a]||!(i=Et(a)))return;const l=Vt[a];let c;if(l.size)l.delete(c=Array.from(l).shift());else if(c=De(i),!Ee(i,c+1))return;const d={cached:Math.floor(Date.now()/Tt),provider:t.provider,data:n};return Ve(i,ee+c.toString(),JSON.stringify(d))}n.lastModified&&!En(t,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Lt(){}function On(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,_n(t)}))}function Ln(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:a}=t,i=t.iconsToLoad;delete t.iconsToLoad;let l;if(!i||!(l=Se(o)))return;l.prepare(o,a,i).forEach(d=>{Tn(o,d,(s,r)=>{if(typeof s!="object"){if(r!==404)return;d.icons.forEach(m=>{t.missing.add(m)})}else try{const m=be(t,s);if(!m.length)return;const u=t.pendingIcons;u&&m.forEach(f=>{u.delete(f)}),Dn(t,s)}catch(m){console.error(m)}On(t)})})}))}const jn=(t,n)=>{const o=Sn(t,!0,gt()),a=Bn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Lt)}),()=>{s=!1}}const i=Object.create(null),l=[];let c,d;return a.pending.forEach(s=>{const{provider:r,prefix:m}=s;if(m===d&&r===c)return;c=r,d=m,l.push(R(r,m));const u=i[r]||(i[r]=Object.create(null));u[m]||(u[m]=[])}),a.pending.forEach(s=>{const{provider:r,prefix:m,name:u}=s,f=R(r,m),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(u)||(h.add(u),i[r][m].push(u))}),l.forEach(s=>{const{provider:r,prefix:m}=s;i[r][m].length&&Ln(s,i[r][m])}),n?wn(n,a,l):Lt};function Fn(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in kt?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const Pn=/[\s,]+/;function zn(t,n){n.split(Pn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function An(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function a(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:a(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let l=parseFloat(t.slice(0,t.length-o.length));return isNaN(l)?0:(l=l/i,l%1===0?a(l):0)}}return n}function Hn(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 qn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rn(t){return'url("data:image/svg+xml,'+qn(t)+'")'}const jt={...Ct,inline:!1},Un={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Gn={display:"inline-block"},Le={backgroundColor:"currentColor"},Ft={backgroundColor:"transparent"},Pt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zt={webkitMask:Le,mask:Le,background:Ft};for(const t in zt){const n=zt[t];for(const o in Pt)n[t+o]=Pt[o]}const me={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";me[t+"-flip"]=n,me[t.slice(0,1)+"-flip"]=n,me[t+"Flip"]=n});function At(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Ht=(t,n)=>{const o=Fn(jt,n),a={...Un},i=n.mode||"svg",l={},c=n.style,d=typeof c=="object"&&!(c instanceof Array)?c:{};for(let p in n){const k=n[p];if(k!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&zn(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[p]=An(k):typeof k=="number"&&(o[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const B=me[p];B?(k===!0||k==="true"||k===1)&&(o[B]=!0):jt[p]===void 0&&(a[p]=k)}}}const s=rn(t,o),r=s.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...d},Object.assign(a,r);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=un(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",a)}const{body:m,width:u,height:f}=t,h=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),y=Hn(m,{...r,width:u+"",height:f+""});return a.style={...l,"--svg":Rn(y),width:At(r.width),height:At(r.height),...Gn,...h?Le:Ft,...d},e.h("span",a)};if(gt(!0),hn("",Cn),typeof document<"u"&&typeof window<"u"){Ot();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!yt(a))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const a="IconifyProviders["+o+"] is invalid.";try{const i=n[o];if(typeof i!="object"||!i||i.resources===void 0)continue;fn(o,i)||console.error(a)}catch{console.error(a)}}}}const Qn={...se,body:""},Wn=e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=le(t,!1,!0))===null)return this.abortLoading(),null;const a=nn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:jn([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:a,classes:i}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return Ht(Qn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Ht({...se,...n.data},o)}}),Th="",b=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},Zn={name:"CmdIcon",components:{Icon:Wn},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}}},Jn=["title"];function Yn(t,n,o,a,i,l){const c=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(c,{key:0,icon:o.iconClass,title:o.tooltip,class:e.normalizeClass(t.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([o.iconClass,t.$attrs.class]),title:o.tooltip},null,10,Jn))}const I=b(Zn,[["render",Yn]]),Mh="",Kn={name:"CmdHeadline",inject:{editModeContext:{default:null}},data(){return{editableHeadlineText:this.headlineText}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],required:!0},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:null},editModeContextData:{type:Object}},mounted(){var t;(t=this.editModeContext)==null||t.addSaveHandler(this.onSave)},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{onSave(){const t=this.editableHeadlineText;return{editModeContextData:{...this.editModeContextData||{}},headlineText:t,update(n){n.headlineText=t}}}}},Xn={key:1},$n={class:"pre-headline-text"};function vn(t,n,o,a,i,l){var d,s,r,m;const c=I;return(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:1,type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel]),"onUpdate:modelValue":n[0]||(n[0]=u=>i.editableHeadlineText=u)},null,2)),[[e.vModelText,i.editableHeadlineText]]):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(s=o.headlineIcon)==null?void 0:s.iconClass},l.getTextAlign])},[o.headlineIcon?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(r=o.headlineIcon)==null?void 0:r.iconClass,type:(m=o.headlineIcon)==null?void 0:m.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Xn,[e.createElementVNode("span",$n,e.toDisplayString(o.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))],2))}const M=b(Kn,[["render",vn]]),P={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(t,...n){if(!t)return"";let o=this.i18n;if(typeof this.i18n=="function"&&(o=this.i18n.call(this,t,n),typeof o!="object"))return o;let a=o[t]||this.getDefaultMessageProperty(t)||t;return typeof a=="function"?a.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((i,l)=>a=a.replace("{"+l+"}",i)),a)},getDefaultMessageProperty(t){var o;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[t])return this.defaultMessageProperties[t];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((o=this[n])==null?void 0:o[t])?this[n][t]:null}}},el={data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}},Vh="",tl={name:"CmdAddressData",mixins:[P,el],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}}},ol={class:"cmd-address-data vcard"},nl={class:"adr"},ll={key:0},il={key:1},al=["href","target","title"],sl=["innerHTML"],rl={key:1},cl=["href","title"],dl={class:"street-address"},ml=e.createElementVNode("br",null,null,-1),ul={key:1,class:"postal-code"},hl={class:"locality"},fl=e.createElementVNode("br",null,null,-1),pl=e.createElementVNode("br",null,null,-1),gl={key:4,class:"country-name"},yl={class:"street-address"},kl=e.createElementVNode("br",null,null,-1),Cl={key:1,class:"postal-code"},Bl={class:"locality"},_l=e.createElementVNode("br",null,null,-1),bl=e.createElementVNode("br",null,null,-1),wl={key:4,class:"country-name"},Sl=["href","target","title"],Nl=["innerHTML"],Il=["href","title"],xl={class:"street-address"},Tl=e.createElementVNode("br",null,null,-1),Ml={class:"postal-code"},Vl={class:"locality"},El=e.createElementVNode("br",null,null,-1),Dl=e.createElementVNode("br",null,null,-1),Ol={key:3,class:"country-name"},Ll={class:"street-address"},jl=e.createElementVNode("br",null,null,-1),Fl={class:"postal-code"},Pl={class:"locality"},zl=e.createElementVNode("br",null,null,-1),Al=e.createElementVNode("br",null,null,-1),Hl={key:3,class:"country-name"};function ql(t,n,o,a,i,l){const c=M,d=I,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",ol,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",nl,[o.showLabels&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock("dl",ll,[(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",il,e.toDisplayString(r.labelText),1)):e.createCommentVNode("",!0)],2),r.name!=="address"&&r.data?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(r))},[r.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:r.name==="website"?"_blank":null,title:r.tooltip},[e.createTextVNode(e.toDisplayString(r.href),1)],8,al)),[[s,r.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,sl))],2)):(e.openBlock(),e.createElementBlock("dd",rl,[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:t.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",dl,e.toDisplayString(r.streetNo),1),ml],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",ul,e.toDisplayString(r.zip),1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",hl,e.toDisplayString(r.city),1),fl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),pl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",gl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],8,cl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",yl,e.toDisplayString(r.streetNo),1),kl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",Cl,e.toDisplayString(r.zip)+"\xA0",1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Bl,e.toDisplayString(r.city),1),_l],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),bl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",wl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))]))],64))),128))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["flex-container",{vertical:!o.showIconsOnly}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[r.href||r.name==="address"||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[r.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:{_blank:r.name==="website"},title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.href),1)],64))],8,Sl)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,Nl)),r.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xl,e.toDisplayString(r.streetNo),1),Tl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ml,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Vl,e.toDisplayString(r.city),1),El],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Dl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Ol,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))],8,Il)):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",Ll,e.toDisplayString(r.streetNo),1),jl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Fl,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Pl,e.toDisplayString(r.city),1),zl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Al],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Hl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])])}const Rl=b(tl,[["render",ql]]),Ul={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"})}}},Gl=["title"];function Ql(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:o.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.onBackToTop&&l.onBackToTop(...d),["prevent"]))},[e.createVNode(c,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,Gl)):e.createCommentVNode("",!0)]),_:1})}const Wl=b(Ul,[["render",Ql]]),Eh="",Zl={name:"CmdBankAccountData",props:{accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},iconCopy:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(t){const n=t.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Jl={class:"cmd-bank-account-data"},Yl={key:0},Kl=["onClick","title"],Xl={key:1};function $l(t,n,o,a,i,l){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",Jl,[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",Yl,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.copyToClipboard(s.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(d,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Kl)])):(e.openBlock(),e.createElementBlock("dd",{key:r},e.toDisplayString(s.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Xl,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const vl=b(Zl,[["render",$l]]);function U(t){return t.path?t.path:((t.route==null||typeof t.route!="object"||!t.route.path&&!t.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",t.route),t.route)}const Dh="",ei={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},delayToShowTooltip:{type:Number,default:0},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.delayToShowTooltip>0?setTimeout(()=>{this.toggleVisibility(t)},this.delayToShowTooltip):this.toggleVisibility(t)},toggleVisibility(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"})}}},ti={key:0,class:"headline-wrapper"},oi=["title"];function ni(t,n,o,a,i,l){const c=M,d=I;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.status]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",ti,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.cmdHeadline.iconClass,preHeadline:o.cmdHeadline.preHeadline,headlineLevel:o.cmdHeadline.headlineLevel,headlineText:o.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),o.iconClose.show&&o.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.hideTooltip&&l.hideTooltip(...s),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(d,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,oi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const qt=b(ei,[["render",ni]]),li={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Oh="",ii={name:"CmdListOfRequirements",mixins:[P,li],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")}}},ai={class:"cmd-list-of-requirements"},si=e.createElementVNode("br",null,null,-1),ri=e.createElementVNode("hr",null,null,-1),ci=["href","target"],di={key:1};function mi(t,n,o,a,i,l){var s,r,m;const c=M,d=I;return e.openBlock(),e.createElementBlock("div",ai,[o.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-level":o.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineRequirements),1),o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[si,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},[ri,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",di,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,ci)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const ui=b(ii,[["render",mi]]),hi={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 fi(t,n,o,a,i,l){const c=ui,d=qt;return e.openBlock(),e.createBlock(d,{ref:"tooltip",class:e.normalizeClass(["box",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(c,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,validationTooltip:o.cmdListOfRequirements.validationTooltip,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const je=b(hi,[["render",fi]]),pi={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"}}}},Fe={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[P,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},getStatusIconType(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconType:this.validationStatus==="error"?this.iconHasStateError.iconType:this.validationStatus==="warning"?this.iconHasStateWarning.iconType:this.validationStatus==="success"?this.iconHasStateSuccess.iconType:this.iconHasStateInfo.iconType:this.helplink.icon.iconType},inputRequirements(){const t=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;t.push({message:this.getRequirementMessage(),valid(o,a){return!a.required&&!n||o!=null&&String(o).length>0}})}return this.$attrs.minlength&&t.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,o){return n.length>=o.minlength}}),[...t,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(t){["password","number","url","email"].includes(this.$attrs.type)&&t.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Rt(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function Ut(){return"cmd-"+Rt()}const te={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Ut()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Pe={};function gi(t="defaultSequence"){const n=Pe[t]||0;return Pe[t]=n+1,Pe[t]}const ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+gi()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},jh="",yi=["color","date","datetime-local","file","number","range"],ki={inheritAttrs:!1,name:"CmdFormElement",mixins:[P,pi,Fe,te,ze],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(t){return t==="input"||t==="select"||t==="textarea"||t==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},tooltipText:{type:String,required:!1},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},status:{type:String,required:!1},showCharactersTextarea:{type:Boolean,default:!0},textCharacters:{type:String,default:"Characters"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const t=["name","required","readonly","disabled","autofocus"],n={input:[...t,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...t,"multiple"],textarea:[...t,"placeholder"]},o={};return n[this.element]&&Object.entries(this.$attrs).filter(([a])=>n[this.element].includes(a)).forEach(([a,i])=>o[a]=i),o},buttonAttrs(){var n,o;const t={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(t.title=(o=this.nativeButton.icon)==null?void 0:o.tooltip),t},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersTextarea(){return this.textCharacters+" "+this.modelValue.length+"/"+this.getMaxLength()},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{additionalStandardRequirements(){const t=[];return this.$attrs.type==="email"&&t.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),t},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:yi.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(t){var o;((o=t.target.closest("form"))==null?void 0:o.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof t.target.checkValidity=="function"&&!t.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(t){this.validateInput(t),this.closeTooltipOnBlur()},onInput(t){this.validateInput(t),this.$emit("update:modelValue",t.target.value)},onChange(t){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",t.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",t.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const t=this.$refs.input,n=t.value;t.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),t.setAttribute("type","text"),t.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Ci=["for","title"],Bi={key:2,"aria-hidden":"true"},_i=["title","aria-errormessage","id"],bi={key:1,class:"flex-container"},wi=["id","autocomplete","list","value","maxlength"],Si=["title"],Ni=["id"],Ii=["value"],xi=["checked","value","id","disabled","aria-invalid"],Ti={key:2},Mi={class:"switch-label-wrapper"},Vi=["checked","value","id","disabled","aria-invalid"],Ei={class:"label-text"},Di={class:"label-text"},Oi={key:0},Li=["id"],ji=["value","selected"],Fi=["id","value","maxlength"],Pi={key:6},zi={key:7,class:"search-field-wrapper flex-container no-gap"},Ai=["id","maxlength","value"],Hi=["title"],qi=["title"],Ri={key:1};function Ui(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k,B,S,V,g,x,w,N,E,D,T,F,j,Q,A,ne;const c=je,d=I;return o.element==="input"||o.element==="select"||o.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",t.validationStatus,t.$attrs.class,{disabled:t.$attrs.disabled,inline:o.displayLabelInline,checked:l.isChecked,"toggle-switch":o.toggleSwitch,colored:o.colored,on:o.colored&&l.isChecked,off:o.colored&&!l.isChecked,"has-state":t.validationStatus}]),for:t.htmlId,title:t.$attrs.title,ref:"label"},[(o.labelText||t.$slots.labeltext)&&t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Bi,"*")):e.createCommentVNode("",!0)]),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,_i)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",bi,[o.fieldIconClass?(e.openBlock(),e.createBlock(d,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),o.element==="input"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},l.elementAttributes,{id:t.htmlId,class:o.inputClass,onFocus:n[1]||(n[1]=_=>t.tooltip=!0),onBlur:n[2]||(n[2]=(..._)=>l.onBlur&&l.onBlur(..._)),onInput:n[3]||(n[3]=(..._)=>l.onInput&&l.onInput(..._)),onMouseover:n[4]||(n[4]=(..._)=>l.datalistFocus&&l.datalistFocus(..._)),onKeyup:n[5]||(n[5]=(..._)=>t.checkForCapsLock&&t.checkForCapsLock(..._)),onChange:n[6]||(n[6]=_=>t.$emit("change",_)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,wi)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((..._)=>l.showPassword&&l.showPassword(..._),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Si)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_},null,8,Ii))),128))],8,Ni)):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",Mi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[14]||(n[14]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:{inputClass:o.inputClass,validationStatus:t.validationStatus},id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,Vi),e.createElementVNode("span",Ei,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",Di,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Oi,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[11]||(n[11]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[12]||(n[12]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:[o.inputClass,t.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,xi),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",Ti,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),o.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},l.elementAttributes,{id:t.htmlId,onBlur:n[15]||(n[15]=(..._)=>l.onBlur&&l.onBlur(..._)),onChange:n[16]||(n[16]=_=>t.$emit("update:modelValue",_.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,ji))),128))],16,Li)):e.createCommentVNode("",!0),o.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},l.elementAttributes,{id:t.htmlId,value:o.modelValue,maxlength:l.getMaxLength(),onInput:n[17]||(n[17]=(..._)=>l.onInput&&l.onInput(..._)),onFocus:n[18]||(n[18]=_=>t.tooltip=!0),onBlur:n[19]||(n[19]=(..._)=>l.onBlur&&l.onBlur(..._))}),`\r
2
+ `,16,Fi)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Pi,e.toDisplayString(l.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",zi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(..._)=>l.onInput&&l.onInput(..._)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,Ai),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((..._)=>l.executeSearch&&l.executeSearch(..._),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,Hi)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(r=o.iconDelete)==null?void 0:r.tooltip},[e.createVNode(d,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(u=o.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,qi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Ci)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs),[((h=(f=o.nativeButton)==null?void 0:f.icon)==null?void 0:h.show)&&(((p=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((B=(k=o.nativeButton)==null?void 0:k.icon)!=null&&B.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(V=(S=o.nativeButton)==null?void 0:S.icon)==null?void 0:V.iconClass,type:(x=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:x.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((w=o.nativeButton)==null?void 0:w.icon)&&((N=o.nativeButton)==null?void 0:N.text)?(e.openBlock(),e.createElementBlock("span",Ri,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((D=(E=o.nativeButton)==null?void 0:E.icon)==null?void 0:D.show)&&((F=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(j=o.nativeButton)==null?void 0:j.icon)==null?void 0:Q.iconClass,type:(ne=(A=o.nativeButton)==null?void 0:A.icon)==null?void 0:ne.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const q=b(ki,[["render",Ui]]);function W(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Gi(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(W(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const c=new Image;c.onload=()=>{if(c.width<o&&!confirm("width ("+c.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(c.src),typeof i=="function"?i(c.src):i.src=c.src},c.src=URL.createObjectURL(t)}function Gt(t){var n;return((n=t==null?void 0:t.$options)==null?void 0:n.name)==="EditComponentWrapper"?t:t!=null&&t.$parent?Gt(t.$parent):null}function Qt(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const Qi={inject:{editModeContext:{default:null}},data(){return{editing:!1}},created(){const t=Gt(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))},methods:{updateHandlerProvider(){return{}}}},Fh="",Wi={name:"CmdImage",mixins:[Qi],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["jpg","jpeg","png","webp"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}],figcaptionText:null}},props:{image:{type:Object,required:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const t=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(t.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(t.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageSource(){if(this.newImageSource)return this.newImageSource;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},getTextAlign(){var t;return(t=this.figcaption)!=null&&t.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){return this.figcaptionText==null?this.figcaption.text:this.figcaptionText},set(t){this.figcaptionText=t}}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.editableShowFigcaption,position:this.editableFigcaptionPosition,textAlign:this.editableFigcaptionTextAlign,text:this.editableFigcaptionText}}},dragEnter(t){this.dragOver(t)},dragOver(t){t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0&&(t.dataTransfer.dropEffect="none",t.dataTransfer.items[0].kind==="file"&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),Gi(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:createUuid(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return Qt(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableFigcaptionText;return Qt(this,{update(n){n.figcaption||(n.figcaption={}),n.figcaption.text=t}})}}},Zi=e.createElementVNode("span",{class:"icon-image"},null,-1),Ji=["src","alt","title"],Yi={key:0},Ki=["src","alt","title"],Xi={key:1};function $i(t,n,o,a,i,l){var d,s,r,m,u,f,h,y;const c=q;return t.editing?(e.openBlock(),e.createElementBlock("figure",{key:0,class:e.normalizeClass(["cmd-image flex-container vertical",l.getTextAlign])},[((d=o.figcaption)==null?void 0:d.position)==="top"?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:"text",required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[0]||(n[0]=p=>l.editableFigcaptionText=p)},null,8,["modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler),{title:"Drag new image to this area to replace old one!"}),[Zi,e.createElementVNode("img",{src:l.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,Ji)],16),((s=o.figcaption)==null?void 0:s.position)!=="top"?(e.openBlock(),e.createBlock(c,{key:1,element:"input",type:"text",class:e.normalizeClass(l.getTextAlign),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[1]||(n[1]=p=>l.editableFigcaptionText=p)},null,8,["class","modelValue"])):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("figure",{key:1,class:e.normalizeClass(["cmd-image",l.getTextAlign])},[((r=o.figcaption)==null?void 0:r.show)&&((m=o.figcaption)==null?void 0:m.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Yi,e.toDisplayString((u=o.figcaption)==null?void 0:u.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,Ki),((f=o.figcaption)==null?void 0:f.show)&&((h=o.figcaption)==null?void 0:h.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Xi,e.toDisplayString((y=o.figcaption)==null?void 0:y.text),1)):e.createCommentVNode("",!0)],2))}const Z=b(Wi,[["render",$i]]),Ph="",vi={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"),{})}}},ea=["title"];function ta(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",o.slideButtonType]),title:l.getDirection.tooltip},[e.createVNode(c,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,ea)}const ue=b(vi,[["render",ta]]),oa={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"}}}},zh="",na={name:"CmdThumbnailScroller",emits:["click"],mixins:[P,oa],data(){return{items:[],showSlidebuttons:!0}},props:{fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image"},executeOnClick:{type:String,default:"fancybox"},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},mounted(){const t=this.$refs["thumbnail-scroller"],n=t.querySelector(":scope > ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{getTooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")}},methods:{toggleSlideButtons(t){this.showSlidebuttons=t.scrollWidth>t.clientWidth},showNextItem(){const t=this.items.shift();t&&this.items.push(t)},showPrevItem(){const t=this.items.pop();t&&this.items.unshift(t)},showFancyBox(t){this.allowOpenFancyBox&&he({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){if(this.contentType==="image"){this.$emit("click",this.items[t].image.id);return}this.$emit("click",this.items[t].id)},executeLink(t,n){this.executeOnClick==="emit"?(n.preventDefault(),this.emitCurrentItemId(t)):this.executeOnClick==="fancybox"&&(n.preventDefault(),this.showFancyBox(t))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(t=>{let n;return this.contentType==="image"?(n={image:{...t.image},figcaption:{...t.figcaption}},n.image.srcImageSmall&&(n.image.src=n.image.srcImageSmall)):n={...t},n})},immediate:!0}}},la=["href","onClick","title","target"],ia={key:1};function aa(t,n,o,a,i,l){const c=ue,d=Z,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}]),ref:"thumbnail-scroller"},[e.createElementVNode("div",null,[i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass([{active:o.activeItemIndex===m},r.id?"item-"+r.id:""])},[e.createElementVNode("a",{href:o.executeOnClick==="url"?r.url:"#",onClick:u=>l.executeLink(m,u),title:l.getTooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(d,{key:0,image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",ia,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],64))],8,la)],2))),128))]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const Wt=b(na,[["render",aa]]),Ah="",he=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Zt,{...t,show:!0}).mount(n)},Zt=e.defineComponent({name:"CmdFancyBox",mixins:[te],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var n;const t={...((n=this.cmdImage)==null?void 0:n.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(t){(await sa(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function sa(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const ra=Zt,ca=["aria-label"],da={class:"flex-container"},ma={key:1,class:"button-wrapper no-flex"},ua=["title"],ha=["title"],fa=["title"],pa={key:0,class:"content"},ga=["innerHTML"],ya={key:2,class:"content"},ka={key:3,class:"content"},Ca={key:4,class:"content"},Ba={key:0,class:"flex-container no-flex"},_a=["title"],ba={key:1},wa=["title"],Sa={key:1};function Na(t,n,o,a,i,l){var u,f,h,y,p,k,B,S,V,g,x,w,N,E,D,T,F,j,Q,A,ne,_,K,Qo,Wo,Zo,Jo,Yo,Ko;const c=M,d=I,s=Z,r=ue,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,onCancel:n[5]||(n[5]=(...H)=>t.onDialogCancel&&t.onDialogCancel(...H))},[e.createElementVNode("header",da,[(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",ma,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(B=t.fancyboxOptions.printButtons.color)==null?void 0:B.tooltip,onClick:n[0]||(n[0]=e.withModifiers(H=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(S=t.fancyboxOptions.printButtons.color)==null?void 0:S.iconClass,type:(V=t.fancyboxOptions.printButtons.color)==null?void 0:V.iconType},null,8,["iconClass","type"])],8,ua)):e.createCommentVNode("",!0),t.showPrintButtons&&((g=t.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.tooltip,onClick:n[1]||(n[1]=e.withModifiers(H=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(w=t.fancyboxOptions.printButtons.grayscale)==null?void 0:w.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ha)):e.createCommentVNode("",!0),t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:t.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...H)=>t.close&&t.close(...H),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,fa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((E=t.cmdImage)==null?void 0:E.image)?(e.openBlock(),e.createElementBlock("div",pa,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(D=t.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ga)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ya)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ka,[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",Ca,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",Ba,[(T=t.fancyboxOptions.submitButtons)!=null&&T.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...H)=>t.cancel&&t.cancel(...H)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(j=t.fancyboxOptions.submitButtons.cancel)!=null&&j.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons.cancel)!=null&&ne.buttonText?(e.openBlock(),e.createElementBlock("span",ba,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,_a)):e.createCommentVNode("",!0),(K=t.fancyboxOptions.submitButtons)!=null&&K.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...H)=>t.confirm&&t.confirm(...H)),title:(Qo=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Qo.tooltip},[(Wo=t.fancyboxOptions.submitButtons.confirm)!=null&&Wo.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Zo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Zo.iconClass,type:(Jo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Jo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(Yo=t.fancyboxOptions.submitButtons.confirm)!=null&&Yo.buttonText?(e.openBlock(),e.createElementBlock("span",Sa,e.toDisplayString((Ko=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Ko.buttonText),1)):e.createCommentVNode("",!0)],8,wa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,ca)])}const Ia=b(ra,[["render",Na]]),Hh="",xa={name:"CmdListOfLinks",emits:["click"],props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},largeIcons:{type:Boolean,default:!1},align:{type:String,default:"left"},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical"},useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{getRoute(t){return U(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),he({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Ta=["href","target","onClick","title"],Ma={key:1},Va={key:1};function Ea(t,n,o,a,i,l){const c=M,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:o.styleAsBox,horizontal:o.orientation==="horizontal","section-anchors":o.sectionAnchors,"large-icons":o.largeIcons}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!o.useGap},"align-"+o.align,l.setStretchClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===m})},[r.type==="href"||r.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.path,target:r.target,onClick:u=>l.executeLink(r,u),title:r.tooltip&&r.tooltip!==void 0?r.tooltip:void 0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Ma,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,Ta)):r.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(r),title:r.tooltip},{default:e.withCtx(()=>[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Va,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Jt=b(xa,[["render",Ea]]),Da={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"}}}},Oa={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},qh="",Ae={name:"CmdBox",mixins:[P,Da,Oa],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useDefaultPadding:{type:Boolean,default:!0},repeatHeadlineInBoxBody:{type:Boolean,default:!1},fadeLastLine:{type:Boolean,default:!0},useTransition:{type:Boolean,default:!0},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business"},useSlots:{type:Array,required:!1},image:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(t){this.$emit("click",t)}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox)}}},Yt=()=>{e.useCssVars(t=>({"17b9246a":t.cutoffTextLines}))},Kt=Ae.setup;Ae.setup=Kt?(t,n)=>(Yt(),Kt(t,n)):Yt;const La=Ae,ja=["title"],Fa={key:0,class:"box-header"},Pa=["src","alt"],za={class:"text-wrapper"},Aa={key:1},Ha={key:2,class:"box-footer"},qa={class:"box-header flex-container vertical"},Ra={key:0},Ua=["src","alt"],Ga={key:1},Qa={key:2,class:"ribbon-new"},Wa={key:3,class:"ribbon-discount"},Za={class:"box-body"},Ja={key:0},Ya={key:1,class:"price"},Ka=["title"],Xa={key:2},$a={class:"box-header flex-container vertical"},va={key:0},es=["src","alt"],ts={key:0},os={key:1},ns=["title"],ls={key:0},is={class:"box-body"},as={key:0},ss={key:1},rs={key:2},cs={key:3,class:"description"},ds={class:"tags"},ms={key:0,class:"box-footer"};function us(t,n,o,a,i,l){var r,m,u,f,h,y,p,k,B;const c=M,d=I,s=Jt;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:i.open,collapsible:o.collapsible,"stretch-vertically":o.stretchVertically&&!o.collapsible,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?o.iconOpen.tooltip:o.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...S)=>l.toggleContentVisibility&&l.toggleContentVisibility(...S),["prevent"]))},[(r=o.useSlots)!=null&&r.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(m=o.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,ja)):(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",Fa,[(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)),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["box-body",{"default-padding":o.useDefaultPadding}]),"aria-expanded":"true",role:"article"},[(p=o.useSlots)!=null&&p.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:l.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":o.cutoffTextLines>0,"fade-last-line":o.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText})},e.toDisplayString(o.textBody),3),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...S)=>l.toggleCutOffText&&l.toggleCutOffText(...S),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.image.src,alt:o.image.altText},null,8,Pa)):e.createCommentVNode("",!0),e.createElementVNode("div",za,[((k=o.cmdHeadline)==null?void 0:k.headlineText)&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Aa,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])],64))],2),[[e.vShow,i.open]]),(B=o.useSlots)!=null&&B.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ha,[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(S=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",qa,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ra,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Ua),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Ga,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Qa,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Wa,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Za,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ja,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",Ya,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Ka)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",Xa,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",$a,[o.user.image?(e.openBlock(),e.createElementBlock("figure",va,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,es),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",ts,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",os,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,ns),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",ls,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",is,[o.rowView?(e.openBlock(),e.createElementBlock("p",as,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",ss,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",rs,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",cs,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",ds,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(S,V)=>(e.openBlock(),e.createElementBlock("li",{key:V},e.toDisplayString(S),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",ms,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const Xt=b(La,[["render",us]]),Rh="",He={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(t,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?t===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>t?this.boxesPerRow[t]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(t,n){this.currentOpenBox=n?t:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},$t=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},vt=He.setup;He.setup=vt?(t,n)=>($t(),vt(t,n)):$t;const hs=He,fs={class:"cmd-box-wrapper"},ps={class:"flex-container headline-wrapper"},gs={key:1,class:"options-wrapper"},ys=["title"],ks=["title"];function Cs(t,n,o,a,i,l){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",fs,[e.createElementVNode("div",ps,[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",gs,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...s),["prevent"])),title:i.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(d,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ys)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(s=>i.rowView=!i.rowView,["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(d,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ks)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([o.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,currentOpenBox:i.currentOpenBox,rowView:i.rowView})],2)])}const Bs=b(hs,[["render",Cs]]),Uh="",_s={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return U(t)}}},bs={class:"cmd-breadcrumbs"},ws={key:0},Ss=["href"],Ns={key:1},Is={key:1},xs={key:2},Ts={key:1},Ms={key:3};function Vs(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",bs,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",ws,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",Ns,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,Ss)):s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Is,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",xs,[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",Ts,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ms,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Es=b(_s,[["render",Vs]]),Gh="",Ds={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const t=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(t,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(t){this.prefersColorScheme=t.matches?"light":"dark"},observeDom(t){for(let n=0;n<t.length;n++)if(t[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(t){return U(t)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},Os={class:"cmd-company-logo"},Ls=["href","title"];function js(t,n,o,a,i,l){var s,r,m,u,f,h;const c=Z,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Os,[((s=o.link)==null?void 0:s.type)==="router"?(e.openBlock(),e.createBlock(d,{key:0,to:(r=o.link)==null?void 0:r.path,title:(m=o.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(c,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):((u=o.link)==null?void 0:u.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(c,{image:l.image},null,8,["image"])],8,Ls)):(e.openBlock(),e.createBlock(c,{key:2,image:l.image},null,8,["image"]))])}const eo=b(Ds,[["render",js]]),Fs={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!"}}}},Qh="",Ps={name:"CmdCookieDisclaimer",mixins:[P,Fs],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var o,a;const t=this.modelValue?[...this.modelValue]:[],n=((a=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:a.cookies)||[];for(let i=0;i<n.length;i++)t.includes(n[i].value)||t.push(n[i].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var a,i,l,c;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let d=0;d<n.length;d++)t.push(n[d].value);const o=(c=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:c.cookies;if(o)for(let d=0;d<o.length;d++)t.push(o[d].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},zs={class:"cmd-cookie-disclaimer flex-container vertical"},As={key:0,class:"flex-container vertical"},Hs={key:0},qs={key:1},Rs=["href","target"],Us=["innerHTML"],Gs=e.createElementVNode("hr",null,null,-1),Qs={key:1,class:"flex-container vertical"},Ws={key:0},Zs={key:1},Js=["href","target"],Ys=["innerHTML"],Ks={class:"button-wrapper align-center"};function Xs(t,n,o,a,i,l){const c=M,d=q,s=Xt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",zs,[((r=o.cmdHeadlineCookieDisclaimer)==null?void 0:r.show)&&((m=o.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((u=o.cmdHeadlineCookieDisclaimer)==null?void 0:u.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,y,p,k,B,S,V;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",As,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=o.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=o.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",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[1]||(n[1]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Rs)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Us)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Gs,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Qs,[(B=o.cmdBoxOptionalCookies)!=null&&B.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(S=o.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(V=o.cmdBoxOptionalCookies)==null?void 0:V.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",Ws,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Zs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Js)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ys)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Ks,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>l.acceptAllCookies&&l.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const $s=b(Ps,[["render",Xs]]),Wh="",vs={name:"CmdCopyrightWrapper"},er={class:"cmd-copyright-information",role:"contentinfo"},tr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function or(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",er,tr)}const nr=b(vs,[["render",or]]),lr={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"}}}},Jh="",ir={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[P,lr,Fe,te,ze],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{},allOptionsSelected:!1}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(a=>a.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},mounted(){const t=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(t),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},limitWidth(){if(this.$refs.fakeselect){const t=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:t/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var t;this.type==="default"&&((t=this.selectData)==null?void 0:t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},ar=["title","aria-labelledby","aria-required"],sr={key:0,class:"label-text"},rr=["id"],cr={key:0},dr=["title","aria-errormessage","id"],mr=["aria-expanded"],ur=["title"],hr=["src","alt"],fr={key:0,role:"listbox"},pr=["aria-selected"],gr=["onClick","title"],yr={key:1},kr=["aria-expanded"],Cr=["for"],Br=["value","checked","id"],_r=["onClick"],br=["src","alt"],wr=["onClick"],Sr={key:0,class:"select-all-options"};function Nr(t,n,o,a,i,l){var r,m,u,f;const c=je,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",sr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",cr,"*")):e.createCommentVNode("",!0)],8,rr),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:t.useCustomTooltip?"":t.getValidationMessage,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,dr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...h)=>l.closeOptions&&l.closeOptions(...h)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>l.toggleOptions&&l.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>l.onBlur&&l.onBlur(...h)),title:(r=l.optionIcon)==null?void 0:r.tooltip},[o.type==="country"&&l.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:e.normalizeClass(["flag",l.optionCountry])},null,10,hr)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(d,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(f=l.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),l.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(i.limitWidthStyle)},e.toDisplayString(l.optionName),5)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(d,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,ur),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",fr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",yr,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,gr)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,pr))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:o.modelValue.includes(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...p)=>l.optionSelect&&l.optionSelect(...p)),checked:l.compareValues(h.value),id:"option-"+(y+1)},null,40,Br),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,Cr)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(h.value),alt:h.text},null,8,br),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,_r)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,wr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Sr,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>l.toggleAllOptions&&l.toggleAllOptions(...h),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(d,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(d,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(l.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,kr)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,mr)],10,ar)}const to=b(ir,[["render",Nr]]),Yh="",Ir={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)}}},xr=["data-use-validation","novalidate"],Tr={class:"flex-container"};function Mr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...c)=>l.onSubmit&&l.onSubmit(...c)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Tr,[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,xr)}const Vr=b(Ir,[["render",Mr]]),Kh="",Er={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}}},Dr={key:0,class:"cmd-form-filters"},Or={key:0},Lr={key:1},jr=["onClick","title"];function Fr(t,n,o,a,i,l){const c=I;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Dr,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Or,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.deleteAllFilters&&l.deleteAllFilters(...d),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Lr,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(r=>l.deleteClickedFilter(s),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(d)),1),e.createVNode(c,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,jr)]))),128))])):e.createCommentVNode("",!0)}const oo=b(Er,[["render",Fr]]),Xh="",Pr={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"}}},zr={class:"cmd-google-maps responsive-wrapper"},Ar=["src"];function Hr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Ar)])}const qr=b(Pr,[["render",Hr]]);function no(t,n,o){const a=e.ref(!!(t!=null&&t.editing)),i=[];function l(){const s=[];i.forEach(r=>{const m=r();m&&s.push(m)}),c(s)}function c(s){let r=s;o&&(r=o(s)),t&&r!=null&&t.callPersistHandler(r)}function d(s){i.includes(s)||i.push(s)}return t&&t.addSaveHandler(l),e.watchEffect(()=>a.value=!!(t!=null&&t.editing)),{editing:a,props:{...(t==null?void 0:t.props)||{},...n||{}},addSaveHandler:d,save:l,callPersistHandler:c}}const $h="",Rr={name:"CmdImageGallery",mixins:[],provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},data(){return{context:no(this.editModeContext,{},this.onSave)}},methods:{componentIdentifier(t){const n=[];return n.push(this.editModeContext.props.sectionId),n.push(this.editModeContextData.componentIndex),this.editModeContextData.childComponentIndex!=null&&n.push(this.editModeContextData.childComponentIndex),n.push(t),n.join(".")},showFancyBox(t){he({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},onSave(t){const n=t[0].editModeContextData.imageIndex;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.images[n].image={...o.images[n].image,...t[0].image},o.images[n].figcaption={...o.images[n].figcaption,...t[0].figcaption}}}}}},Ur={class:"grid-container-create-columns cmd-image-gallery"},Gr=["onClick","title"];function Qr(t,n,o,a,i,l){const c=M,d=Z,s=e.resolveComponent("EditComponentWrapper");return e.openBlock(),e.createElementBlock("div",Ur,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),l.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createBlock(s,{class:"image-wrapper",key:"x"+m,componentIdentifier:l.componentIdentifier(m)},{default:e.withCtx(()=>[e.createVNode(d,{image:r.image,figcaption:r.figcaption,editModeContextData:{imageIndex:m}},null,8,["image","figcaption","editModeContextData"])]),_:2},1032,["componentIdentifier"]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:e.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(d,{image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])],8,Gr))),128)):(e.openBlock(),e.createBlock(d,{key:1,image:t.image.image,figcaption:t.image.figcaption},null,8,["image","figcaption"]))],64))])}const Wr=b(Rr,[["render",Qr]]),vh="",Zr={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`,lo(this,t)})},onMouseMove(t){lo(this,t)},onMouseOut(){this.showLargeImage=!1}}};function lo(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,d=a.getBoundingClientRect().width,s=a.getBoundingClientRect().height,r=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,o.getBoundingClientRect().width/d*l),f=Math.min(c,o.getBoundingClientRect().height/s*c),h=io(r-u/2,0,l-u),y=io(m-f/2,0,c-f),p=-(h*(d/l)),k=-(y*(s/c));i.style.left=`${h}px`,i.style.top=`${y}px`,i.style.width=`${u}px`,i.style.height=`${f}px`,i.style.display="block",a.style.marginLeft=`${p}px`,a.style.marginTop=`${k}px`}function io(t,n,o){return t<n?n:t>o?o:t}const Jr={class:"cmd-imagezoom flex-container"},Yr=["title"],Kr=["src","alt"],Xr={key:0,class:"zoom-container"},$r=["src","alt"],vr={key:1,class:"zoom-overlay"};function ec(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Jr,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.tooltip},[e.createElementVNode("img",{src:o.imageSmall.src,alt:o.imageSmall.alt,onMouseover:n[0]||(n[0]=(...c)=>l.onMouseOver&&l.onMouseOver(...c)),onMousemove:n[1]||(n[1]=(...c)=>l.onMouseMove&&l.onMouseMove(...c)),onMouseout:n[2]||(n[2]=(...c)=>l.onMouseOut&&l.onMouseOut(...c))},null,40,Kr)],8,Yr),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Xr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,$r)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",vr)):e.createCommentVNode("",!0)])}const tc=b(Zr,[["render",ec]]),ef="",oc={mixins:[Fe,te,ze],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var t;if(this.required){if((t=this.inputValue)!=null&&t.length){this.validationStatus="";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},nc=["aria-labelledby"],lc={class:"label-text"},ic=["id"],ac={key:0},sc=["title","aria-errormessage","id"],rc=["for"],cc=["type","id","name","value","disabled"],dc={key:1},mc={key:1,class:"flex-container no-flex"};function uc(t,n,o,a,i,l){const c=je,d=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switch":o.toggleSwitch,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",lc,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",ac,"*")):e.createCommentVNode("",!0)],8,ic),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),o.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,sc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",mc,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(s,r)=>(e.openBlock(),e.createElementBlock("label",{key:r,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>l.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,cc),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",dc,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,rc))),128))],2))],10,nc)}const hc=b(oc,[["render",uc]]),tf="",fc={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},textLegendLoginForm:{type:String,default:"Login form"},showLegend:{type:Boolean,default:!0},textLegendForgotLoginForm:{type:String,default:"Forgot login form"},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,default(){return{labelText:"Username:",placeholder:"Type in username",innerIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0}}},cmdFormElementPassword:{type:Object,default(){return{labelText:"Password:",placeholder:"Type in password",innerIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0}}},cmdFormElementSendLogin:{type:Object,default(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",innerIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0}}},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-single-arrow-left",tooltip:""},text:"Back to login form"}}}},buttons:{type:Object,default(){return{login:{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""}},sendLogin:{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""}}}}}},computed:{buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return U(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},pc={class:"cmd-login-form flex-container"},gc={class:"flex-container"},yc={class:"option-wrapper flex-container"},kc={key:1},Cc=["href"],Bc={key:1},_c=e.createTextVNode(" /> "),bc={key:1},wc=["type","disabled"],Sc={key:1},Nc={class:"cmd-login-form flex-container"},Ic={class:"option-wrapper flex-container"},xc={key:1},Tc=["type","disabled"],Mc={key:1};function Vc(t,n,o,a,i,l){var m,u,f,h,y,p,k;const c=M,d=q,s=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",pc,[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",gc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=B=>l.username=B),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=B=>l.checkValidationStatus(B,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(d,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=B=>l.password=B),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=B=>l.checkValidationStatus(B,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",yc,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(B=>i.sendLogin=!0,["prevent"]))},[((m=o.options.forgotPassword.icon)==null?void 0:m.show)&&((u=o.options.forgotPassword.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",kc,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",Bc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,Cc)):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),_c,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",bc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...B)=>l.onClick&&l.onClick(...B)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.buttons.login.icon.iconClass,type:o.buttons.login.icon.iconType,title:o.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.buttons.login.text?(e.openBlock(),e.createElementBlock("span",Sc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,wc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Nc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=B=>l.checkValidationStatus(B,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=B=>i.sendLoginMail=B)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Ic,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(B=>i.sendLogin=!1,["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",xc,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),o.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:o.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.sendLogin.primary}]),disabled:l.buttonSendLoginDisabled},[(y=o.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=o.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=o.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Mc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Tc)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Ec=b(fc,[["render",Vc]]),of="",Dc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right"},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,a){var i;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((i=n==null?void 0:n.subentries)!=null&&i.length){t.preventDefault(),a?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return U(t)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Oc={key:0,class:"close-nav"},Lc=["href","title","target","onClick"],jc={key:1},Fc={key:1},Pc=["aria-expanded"],zc=["href","title","target","onClick"],Ac={key:1},Hc={key:1},qc=["aria-expanded"],Rc=["href","title","target","onClick"],Uc={key:1},Gc={key:1};function Qc(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[i.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Oc,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...s),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(s,r)=>{var m,u,f;return e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:s.active,open:i.openEntry===r,"has-subentries":(m=s==null?void 0:s.subentries)==null?void 0:m.length})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,title:s.tooltip,target:s.target,onClick:h=>l.executeLink(h,s,r),onMouseover:n[1]||(n[1]=h=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>l.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",jc,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,Lc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Fc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),s.subentries&&s.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(f=s==null?void 0:s.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:i.openSubentry===y})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:p=>l.executeLink(p,h,y,1),onMouseover:n[3]||(n[3]=p=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>l.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Ac,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,zc)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Hc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:B=>l.executeLink(B,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Uc,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,Rc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Gc,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,qc)):e.createCommentVNode("",!0)],2))),128))],8,Pc)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const ao=b(Dc,[["render",Qc]]),nf="",Wc={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return U(t)}}},Zc={class:"cmd-multistep-form-progress-bar"},Jc=["href","onClick","title"],Yc={key:0,class:"number"},Kc={key:2},Xc={key:0,class:"number"},$c={key:2},vc=["type","name","title","formaction","onClick"],ed={key:0,class:"number"},td={key:2};function od(t,n,o,a,i,l){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Zc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:i.activeLink===r})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>l.clickedStep(m,r),["stop","prevent"]),title:s.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",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),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Xc,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",$c,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),s.type==="button"||s.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:s.type,name:s.name,title:s.tooltip,formaction:s.formaction,onClick:e.withModifiers(m=>l.clickedStep(m,r),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",ed,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",td,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,vc)):e.createCommentVNode("",!0)],2))),128))])}const nd=b(Wc,[["render",od]]),lf="";function ld(t,n,o,a=!0){function i(l,c){return c&&l<10?"0"+l:l}return(l,c)=>{if(o){let d=l,s=n;return d>12&&(d-=12,s=o),i(d,a)+t+i(c,!0)+s}return i(l,a)+t+i(c,!0)+n}}const id={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].fromTime.split(/[:.]/),i=this.openingHours[n].tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},t.push(o)}return t},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.fromTime.hours,n.fromTime.mins);const a=new Date;if(a.setHours(n.tillTime.hours,n.tillTime.mins),o<=this.currentTime&&this.currentTime<=a)return!1}return!0}},methods:{getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):ld(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},ad={class:"cmd-opening-hours"},sd=["href"],rd={key:3},cd={key:0},dd={key:1};function md(t,n,o,a,i,l){var s,r;const c=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ad,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.link&&((s=o.link)==null?void 0:s.path)&&((r=o.link)==null?void 0:r.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),11,sd)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:o.link.path,class:e.normalizeClass({closed:l.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),o.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:l.isClosed}])},e.toDisplayString(l.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(l.getTime(m.fromTime))+"\u2013"+e.toDisplayString(l.getTime(m.tillTime)),1)],64))),128))]),o.textHolidaysClosed||o.textMiscInfo?(e.openBlock(),e.createElementBlock("div",rd,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",cd,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",dd,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const ud=b(id,[["render",md]]),hd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},af="",fd={name:"CmdPager",mixins:[P,hd],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},pd={class:"cmd-pager"},gd=["href","title"],yd={key:0},kd={class:"page-index"},Cd={class:"flex-container"},Bd=["href","title","onClick"],_d=["href","title"],bd={key:0};function wd(t,n,o,a,i,l){const c=I;return e.openBlock(),e.createElementBlock("div",pd,[e.createElementVNode("a",{href:l.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.previousPage&&l.previousPage(...d),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(c,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",yd,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,gd),e.createElementVNode("div",kd,[e.createElementVNode("div",Cd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(d,s)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(d),class:e.normalizeClass({disabled:i.currentPage===s+1,button:o.linkType==="button"}),title:i.currentPage!==s+1?t.getMessage("cmdpager.tooltip.go_to_page",s+1):t.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(r=>l.showPage(d),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.showPageNumbers})},e.toDisplayString(s+1),3)],10,Bd))),128))])]),e.createElementVNode("a",{href:l.getNextHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...d)=>l.nextPage&&l.nextPage(...d),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",bd,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,_d)])}const Sd=b(fd,[["render",wd]]),sf="",Nd={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}}},Id=["for"],xd={class:"progressbar"},Td={key:0},Md=["id","value"];function Vd(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",xd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Td,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,Md)])],8,Id)}const Ed=b(Nd,[["render",Vd]]),rf="",Dd={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:"right"},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}}},Od=["id","href","title"],Ld={key:1};function jd(t,n,o,a,i,l){const c=M,d=q,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons,"align-right":o.align==="right"}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox","toggle-switch":o.cmdFormElement.toggleSwitch,labelText:o.cmdFormElement.labelText,required:o.cmdFormElement.required,modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=r=>i.dataPrivacyAccepted=r)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["button-wrapper no-flex",{"no-gap":!o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,r=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:r.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!i.dataPrivacyAccepted},{"text-align-left":o.textAlign==="left"}]),id:r.id,href:l.getUrl(r),onClick:n[1]||(n[1]=(...m)=>l.preventOnDisabled&&l.preventOnDisabled(...m)),target:"_blank",title:l.tooltip(r.tooltip)},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.linkText?(e.openBlock(),e.createElementBlock("span",Ld,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Od))]))),256))],2)],2)}const Fd=b(Dd,[["render",jd]]),cf="",Pd={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},zd={class:"cmd-site-footer"};function Ad(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",zd,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Hd=b(Pd,[["render",Ad]]),df="",qd={name:"CmdSiteHeader",emits:["offcanvas"],props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},methods:{emitOffcanvasStatus(t){this.$emit("offcanvas",t)}}},Rd={key:0,class:"top-header"};function Ud(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k;const c=eo,d=ao;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",Rd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(r=o.cmdMainNavigation)==null?void 0:r.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||((f=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((y=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)==null?void 0:y.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((k=(p=o.cmdMainNavigation)==null?void 0:p.navigationEntries)==null?void 0:k.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Gd=b(qd,[["render",Ud]]),Qd={data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}},mf="",Wd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[P,Qd],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,default(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}]}}},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;((t=this.cmdFormElementRadius)==null?void 0:t.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Zd={class:"cmd-box-site-search flex-container"},Jd={class:"flex-container align-bottom"},Yd={class:"input-wrapper align-bottom"},Kd={key:0},Xd={key:1},$d={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function vd(t,n,o,a,i,l){var u,f,h,y,p,k,B,S,V,g;const c=M,d=q,s=I,r=to,m=oo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Zd,[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",Jd,[e.createVNode(d,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=x=>l.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Yd,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(d,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=x=>l.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(d,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=x=>l.radius=x),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(d,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(u=o.cmdFakeSelect)!=null&&u.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(x=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:i.showFilters?(h=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:h.iconClass:(p=(y=o.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(B=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:B.iconType:(V=(S=o.cmdIcon)==null?void 0:S.hideFilters)==null?void 0:V.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",Kd,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var x,w,N,E,D;return[i.showFilters&&((x=o.cmdFakeSelect)==null?void 0:x.selectData.length)?(e.openBlock(),e.createElementBlock("div",$d,[e.createVNode(r,{role:"option",selectData:(w=o.cmdFakeSelect)==null?void 0:w.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>l.searchFilters=T),defaultOptionName:(N=o.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(E=o.cmdFakeSelect)==null?void 0:E.type,labelText:(D=o.cmdFakeSelect)==null?void 0:D.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=o.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=x=>l.searchFilters=x),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const em=b(Wd,[["render",vd]]),uf="",tm={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}}},om=["href","title"],nm={key:0},lm=["onClick","aria-label"],im={key:1};function am(t,n,o,a,i,l){const c=ue,d=Z;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>i.pause=!0),onMouseleave:n[1]||(n[1]=s=>i.pause=!1)},[e.createVNode(c,{onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var s,r,m,u,f,h,y,p,k,B;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:i.index,style:e.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+i.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(r=(s=l.currentItem)==null?void 0:s.link)!=null&&r.href?(e.openBlock(),e.createElementBlock("a",{href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(h=(f=l.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip,key:i.index},[e.createVNode(d,{image:(y=l.currentItem)==null?void 0:y.image,figcaption:(p=l.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])],8,om)):(e.openBlock(),e.createBlock(d,{image:(k=l.currentItem)==null?void 0:k.image,figcaption:(B=l.currentItem)==null?void 0:B.figcaption,key:i.index},null,8,["image","figcaption"]))],64))],64)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(l.showNextItem,["prevent"])},null,8,["onClick"]),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",nm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:r===i.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>i.index=r,["prevent"]),"aria-label":i.index},null,8,lm)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",im,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const sm=b(tm,[["render",am]]),rm=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"})),yf="",cm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return U(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(rm[n].default)})},immediate:!0,deep:!0}}},dm={class:"cmd-switch-language"},mm=["href","title","onClick"],um=["src","alt"],hm=["src","alt"];function fm(t,n,o,a,i,l){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",dm,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[d.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.link.path,class:e.normalizeClass(["flag",d.iso2,{active:l.activeLanguage(d)}]),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,um)],10,mm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",d.iso2]),to:l.getRoute(d),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,hm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const pm=b(cm,[["render",fm]]),kf="",gm={name:"CmdSystemMessage",mixins:[te],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},ym=["role","aria-labelledby"],km=["title"];function Cm(t,n,o,a,i,l){const c=I,d=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(c,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,km)):e.createCommentVNode("",!0),e.createVNode(d,{class:"message-headline",headlineIcon:l.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,ym)):e.createCommentVNode("",!0)]),_:3})}const so=b(gm,[["render",Cm]]),Cf="",Bm={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)}}},_m={key:0,class:"button-wrapper"},bm=["title"],wm=["title"],Sm={class:"inner-wrapper"},Nm={"aria-expanded":"true"},Im={key:0,"aria-expanded":"true"};function xm(t,n,o,a,i,l){var d,s,r,m;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",_m,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(u=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,bm)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(u=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(c,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,wm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Sm,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":i.fullWidth})},[((d=o.tableData.caption)==null?void 0:d.text)||((s=o.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((r=o.caption)==null?void 0:r.text)||((m=o.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.thead,(u,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(u),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",Nm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(u,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,(h,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,i.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&i.showTableData?(e.openBlock(),e.createElementBlock("tfoot",Im,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(u,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(u),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const Tm=b(Bm,[["render",xm]]),Mm={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
3
3
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
4
4
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
5
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32},Sf="";yt(Mm);const Vm={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}}},Em={class:"cmd-tabs"},Dm=["onClick","title"],Om={key:1},Lm={key:1,"aria-live":"assertive"},jm=["innerHTML"];function Fm(t,n,o,a,i,l){const c=I,d=M;return e.openBlock(),e.createElementBlock("div",Em,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:i.showTab===r}),onClick:e.withModifiers(m=>l.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Om,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,Dm)]))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,i.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Lm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[i.showTab].headlineText,headlineLevel:o.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[i.showTab].htmlContent},null,8,jm)]))])}const Pm=b(Vm,[["render",Fm]]),zm={name:"CmdTextBlock",provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},data(){var t;return{context:no(this.editModeContext,{tb:!0},this.onPersist),editableHtmlHeadline:((t=this.cmdHeadline)==null?void 0:t.headlineText)||"",editableHtmlContent:this.htmlContent}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},htmlContent:{type:String,required:!0}},methods:{onPersist(t){const n=this.editableHtmlContent;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.cmdHeadline={...o.cmdHeadline||{}},o.cmdHeadline.headlineText=t[0].headlineText,o.htmlContent=n}}}}},Am={class:"cmd-text-block flex-container vertical"},Hm=["innerHTML"];function qm(t,n,o,a,i,l){var d;const c=M;return e.openBlock(),e.createElementBlock("div",Am,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,class:"edit-mode","onUpdate:modelValue":n[0]||(n[0]=s=>i.editableHtmlContent=s)},null,512)),[[e.vModelText,i.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:o.htmlContent},null,8,Hm)):e.createCommentVNode("",!0)])}const Rm=b(zm,[["render",qm]]),Nf="",Um={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{default(){return{iconClass:"icon-sun",iconType:"auto"}}},showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="dark-mode")}),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(t){this.darkMode=t.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},Gm={key:0};function Qm(t,n,o,a,i,l){const c=I,d=q;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":i.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleColorScheme&&l.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",Gm,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:o.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>i.darkMode=s),l.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Wm=b(Um,[["render",Qm]]),Zm={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 Jm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ro={exports:{}},qe={exports:{}},co=function(n,o){return function(){for(var i=new Array(arguments.length),l=0;l<i.length;l++)i[l]=arguments[l];return n.apply(o,i)}},Ym=co,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Km(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Xm(t){return G.call(t)==="[object ArrayBuffer]"}function $m(t){return typeof FormData<"u"&&t instanceof FormData}function vm(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function eu(t){return typeof t=="string"}function tu(t){return typeof t=="number"}function mo(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function ou(t){return G.call(t)==="[object Date]"}function nu(t){return G.call(t)==="[object File]"}function lu(t){return G.call(t)==="[object Blob]"}function uo(t){return G.call(t)==="[object Function]"}function iu(t){return mo(t)&&uo(t.pipe)}function au(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function su(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ru(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}function Qe(){var t={};function n(i,l){fe(t[l])&&fe(i)?t[l]=Qe(t[l],i):fe(i)?t[l]=Qe({},i):Re(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function cu(t,n,o){return Ge(n,function(i,l){o&&typeof i=="function"?t[l]=Ym(i,o):t[l]=i}),t}function du(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Xm,isBuffer:Km,isFormData:$m,isArrayBufferView:vm,isString:eu,isNumber:tu,isObject:mo,isPlainObject:fe,isUndefined:Ue,isDate:ou,isFile:nu,isBlob:lu,isFunction:uo,isStream:iu,isURLSearchParams:au,isStandardBrowserEnv:ru,forEach:Ge,merge:Qe,extend:cu,trim:su,stripBOM:du},J=O;function ho(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var fo=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(J.isURLSearchParams(o))i=o.toString();else{var l=[];J.forEach(o,function(s,r){s===null||typeof s>"u"||(J.isArray(s)?r=r+"[]":s=[s],J.forEach(s,function(u){J.isDate(u)?u=u.toISOString():J.isObject(u)&&(u=JSON.stringify(u)),l.push(ho(r)+"="+ho(u))}))}),i=l.join("&")}if(i){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},mu=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){mu.forEach(this.handlers,function(a){a!==null&&n(a)})};var uu=pe,hu=O,fu=function(n,o){hu.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},po=function(n,o,a,i,l){return n.config=o,a&&(n.code=a),n.request=i,n.response=l,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},We,go;function yo(){if(go)return We;go=1;var t=po;return We=function(o,a,i,l,c){var d=new Error(o);return t(d,a,i,l,c)},We}var Ze,ko;function pu(){if(ko)return Ze;ko=1;var t=yo();return Ze=function(o,a,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?o(i):a(t("Request failed with status code "+i.status,i.config,null,i.request,i))},Ze}var Je,Co;function gu(){if(Co)return Je;Co=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&r.push("expires="+new Date(l).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var i=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,Bo;function yu(){return Bo||(Bo=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,_o;function ku(){return _o||(_o=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,bo;function Cu(){if(bo)return Xe;bo=1;var t=yu(),n=ku();return Xe=function(a,i){return a&&!t(i)?n(a,i):i},Xe}var $e,wo;function Bu(){if(wo)return $e;wo=1;var t=O,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return $e=function(a){var i={},l,c,d;return a&&t.forEach(a.split(`
6
- `),function(r){if(d=r.indexOf(":"),l=t.trim(r.substr(0,d)).toLowerCase(),c=t.trim(r.substr(d+1)),l){if(i[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?i[l]=(i[l]?i[l]:[]).concat([c]):i[l]=i[l]?i[l]+", "+c:c}}),i},$e}var ve,So;function _u(){if(So)return ve;So=1;var t=O;return ve=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),i;function l(c){var d=c;return o&&(a.setAttribute("href",d),d=a.href),a.setAttribute("href",d),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return i=l(window.location.href),function(d){var s=t.isString(d)?l(d):d;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),ve}var et,No;function ge(){if(No)return et;No=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,et=t,et}var tt,Io;function xo(){if(Io)return tt;Io=1;var t=O,n=pu(),o=gu(),a=fo,i=Cu(),l=Bu(),c=_u(),d=yo(),s=ye(),r=ge();return tt=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,B=u.responseType,S;function V(){u.cancelToken&&u.cancelToken.unsubscribe(S),u.signal&&u.signal.removeEventListener("abort",S)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(x+":"+w)}var N=i(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(N,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function E(){if(!!g){var T="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,F=!B||B==="text"||B==="json"?g.responseText:g.response,j={data:F,status:g.status,statusText:g.statusText,headers:T,config:u,request:g};n(function(A){h(A),V()},function(A){y(A),V()},j),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var F=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",j=u.transitional||s.transitional;u.timeoutErrorMessage&&(F=u.timeoutErrorMessage),y(d(F,u,j.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var D=(u.withCredentials||c(N))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;D&&(k[u.xsrfHeaderName]=D)}"setRequestHeader"in g&&t.forEach(k,function(F,j){typeof p>"u"&&j.toLowerCase()==="content-type"?delete k[j]:g.setRequestHeader(j,F)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),B&&B!=="json"&&(g.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&g.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(S=function(T){!g||(y(!T||T&&T.type?new r("canceled"):T),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(S),u.signal&&(u.signal.aborted?S():u.signal.addEventListener("abort",S))),p||(p=null),g.send(p)})},tt}var ot,To;function ye(){if(To)return ot;To=1;var t=O,n=fu,o=po,a={"Content-Type":"application/x-www-form-urlencoded"};function i(s,r){!t.isUndefined(s)&&t.isUndefined(s["Content-Type"])&&(s["Content-Type"]=r)}function l(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=xo()),s}function c(s,r,m){if(t.isString(s))try{return(r||JSON.parse)(s),t.trim(s)}catch(u){if(u.name!=="SyntaxError")throw u}return(m||JSON.stringify)(s)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(r,m){return n(m,"Accept"),n(m,"Content-Type"),t.isFormData(r)||t.isArrayBuffer(r)||t.isBuffer(r)||t.isStream(r)||t.isFile(r)||t.isBlob(r)?r:t.isArrayBufferView(r)?r.buffer:t.isURLSearchParams(r)?(i(m,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):t.isObject(r)||m&&m["Content-Type"]==="application/json"?(i(m,"application/json"),c(r)):r}],transformResponse:[function(r){var m=this.transitional||d.transitional,u=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,h=!u&&this.responseType==="json";if(h||f&&t.isString(r)&&r.length)try{return JSON.parse(r)}catch(y){if(h)throw y.name==="SyntaxError"?o(y,this,"E_JSON_PARSE"):y}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(r){d.headers[r]={}}),t.forEach(["post","put","patch"],function(r){d.headers[r]=t.merge(a)}),ot=d,ot}var bu=O,wu=ye(),Su=function(n,o,a){var i=this||wu;return bu.forEach(a,function(c){n=c.call(i,n,o)}),n},nt,Mo;function Vo(){return Mo||(Mo=1,nt=function(n){return!!(n&&n.__CANCEL__)}),nt}var Eo=O,lt=Su,Nu=Vo(),Iu=ye(),xu=ge();function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new xu("canceled")}var Tu=function(n){it(n),n.headers=n.headers||{},n.data=lt.call(n,n.data,n.headers,n.transformRequest),n.headers=Eo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Eo.forEach(["delete","get","head","post","put","patch","common"],function(i){delete n.headers[i]});var o=n.adapter||Iu.adapter;return o(n).then(function(i){return it(n),i.data=lt.call(n,i.data,i.headers,n.transformResponse),i},function(i){return Nu(i)||(it(n),i&&i.response&&(i.response.data=lt.call(n,i.response.data,i.response.headers,n.transformResponse))),Promise.reject(i)})},L=O,Do=function(n,o){o=o||{};var a={};function i(m,u){return L.isPlainObject(m)&&L.isPlainObject(u)?L.merge(m,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function l(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(n[m],o[m])}function c(m){if(!L.isUndefined(o[m]))return i(void 0,o[m])}function d(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(void 0,o[m])}function s(m){if(m in o)return i(n[m],o[m]);if(m in n)return i(void 0,n[m])}var r={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return L.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||l,h=f(u);L.isUndefined(h)&&f!==s||(a[u]=h)}),a},at,Oo;function Lo(){return Oo||(Oo=1,at={version:"0.24.0"}),at}var Mu=Lo().version,st={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){st[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var jo={};st.transitional=function(n,o,a){function i(l,c){return"[Axios v"+Mu+"] Transitional option '"+l+"'"+c+(a?". "+a:"")}return function(l,c,d){if(n===!1)throw new Error(i(c," has been removed"+(o?" in "+o:"")));return o&&!jo[c]&&(jo[c]=!0,console.warn(i(c," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,c,d):!0}};function Vu(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),i=a.length;i-- >0;){var l=a[i],c=n[l];if(c){var d=t[l],s=d===void 0||c(d,l,t);if(s!==!0)throw new TypeError("option "+l+" must be "+s);continue}if(o!==!0)throw Error("Unknown option "+l)}}var Eu={assertOptions:Vu,validators:st},Fo=O,Du=fo,Po=uu,zo=Tu,ke=Do,Ao=Eu,Y=Ao.validators;function oe(t){this.defaults=t,this.interceptors={request:new Po,response:new Po}}oe.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=ke(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&Ao.assertOptions(o,{silentJSONParsing:Y.transitional(Y.boolean),forcedJSONParsing:Y.transitional(Y.boolean),clarifyTimeoutError:Y.transitional(Y.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(i=i&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var c;if(!i){var d=[zo,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(l),c=Promise.resolve(n);d.length;)c=c.then(d.shift(),d.shift());return c}for(var s=n;a.length;){var r=a.shift(),m=a.shift();try{s=r(s)}catch(u){m(u);break}}try{c=zo(s)}catch(u){return Promise.reject(u)}for(;l.length;)c=c.then(l.shift(),l.shift());return c},oe.prototype.getUri=function(n){return n=ke(this.defaults,n),Du(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Fo.forEach(["delete","get","head","options"],function(n){oe.prototype[n]=function(o,a){return this.request(ke(a||{},{method:n,url:o,data:(a||{}).data}))}}),Fo.forEach(["post","put","patch"],function(n){oe.prototype[n]=function(o,a,i){return this.request(ke(i||{},{method:n,url:o,data:a}))}});var Ou=oe,rt,Ho;function Lu(){if(Ho)return rt;Ho=1;var t=ge();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(c){a=c});var i=this;this.promise.then(function(l){if(!!i._listeners){var c,d=i._listeners.length;for(c=0;c<d;c++)i._listeners[c](l);i._listeners=null}}),this.promise.then=function(l){var c,d=new Promise(function(s){i.subscribe(s),c=s}).then(l);return d.cancel=function(){i.unsubscribe(c)},d},o(function(c){i.reason||(i.reason=new t(c),a(i.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(!!this._listeners){var i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}},n.source=function(){var a,i=new n(function(c){a=c});return{token:i,cancel:a}},rt=n,rt}var ct,qo;function ju(){return qo||(qo=1,ct=function(n){return function(a){return n.apply(null,a)}}),ct}var dt,Ro;function Fu(){return Ro||(Ro=1,dt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),dt}var Uo=O,Pu=co,Ce=Ou,zu=Do,Au=ye();function Go(t){var n=new Ce(t),o=Pu(Ce.prototype.request,n);return Uo.extend(o,Ce.prototype,n),Uo.extend(o,n),o.create=function(i){return Go(zu(t,i))},o}var z=Go(Au);z.Axios=Ce,z.Cancel=ge(),z.CancelToken=Lu(),z.isCancel=Vo(),z.VERSION=Lo().version,z.all=function(n){return Promise.all(n)},z.spread=ju(),z.isAxiosError=Fu(),qe.exports=z,qe.exports.default=z,function(t){t.exports=qe.exports}(ro);const Hu=Jm(ro.exports),If="",qu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[P,Zm],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},deleteIcon:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},CmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return W(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(!!t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(W(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,i])=>n.append(a,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const i=a.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Hu.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Ru={key:0},Uu={key:1,class:"flex-container vertical"},Gu={key:0,class:"flex-container vertical list-files-wrapper"},Qu={key:0,class:"list-of-files total-files"},Wu={class:"flex-container no-flex"},Zu=["title"],Ju={key:0,class:"progressbar"},Yu=["value","title"],Ku=e.createElementVNode("hr",null,null,-1),Xu={class:"flex-container vertical list-files-wrapper"},$u={class:"list-of-files"},vu=["title","onClick"],eh={key:0,class:"progressbar"},th=["value","title"],oh=["title"],nh=e.createElementVNode("hr",null,null,-1),lh={class:"small"},ih=["title"],ah={key:0,class:"list-of-file-extensions"},sh=["disabled"],rh={key:0},ch={key:1},dh={class:"button-wrapper no-flex"},mh=["disabled"],uh={key:0},hh={key:1},fh={key:0,class:"progressbar"},ph=["value","title"];function gh(t,n,o,a,i,l){const c=M,d=so,s=I,r=q;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(d,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Ru,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Uu,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Gu,[e.createVNode(c,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Qu,[e.createElementVNode("li",Wu,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:o.deleteIcon.iconClass,type:o.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Zu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Ju,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Yu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Ku])):e.createCommentVNode("",!0),e.createElementVNode("div",Xu,[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",$u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>l.removeFile(u),["prevent"])},[e.createVNode(s,{iconClass:t.iconDelete.iconClass,type:t.iconDelete.iconType},null,8,["iconClass","type"])],8,vu),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",eh,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,th)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,oh)):e.createCommentVNode("",!0),nh])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",lh,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,ih),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",ah,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=m=>l.selectFiles())},[e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",rh,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,sh),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(r,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>i.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",dh,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[e.createVNode(s,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",uh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",hh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,mh),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>l.cancel&&l.cancel(...m))},[e.createVNode(s,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",fh,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,ph)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(r,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const yh=b(qu,[["render",gh]]),xf="",kh={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":""}}},Ch=["id"],Bh=["id"];function _h(t,n,o,a,i,l){const c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass)},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,Ch)):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,Bh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const bh=b(kh,[["render",_h]]),wh={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!")}}},Sh={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 Nh(){const t={};e.onBeforeUpdate(a);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function a(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.CmdAddressData=Rl,C.CmdBackToTopButton=Wl,C.CmdBankAccountData=vl,C.CmdBox=Xt,C.CmdBoxWrapper=Bs,C.CmdBreadcrumbs=Es,C.CmdCompanyLogo=eo,C.CmdCookieDisclaimer=$s,C.CmdCopyrightInformation=nr,C.CmdFakeSelect=to,C.CmdFancyBox=Ia,C.CmdForm=Vr,C.CmdFormElement=q,C.CmdFormFilters=oo,C.CmdGoogleMaps=qr,C.CmdHeadline=M,C.CmdIcon=I,C.CmdImage=Z,C.CmdImageGallery=Wr,C.CmdImageZoom=tc,C.CmdInputGroup=hc,C.CmdListOfLinks=Jt,C.CmdLoginForm=Ec,C.CmdMainNavigation=ao,C.CmdMultistepFormProgressBar=nd,C.CmdOpeningHours=ud,C.CmdPager=Sd,C.CmdProgressBar=Ed,C.CmdSiteFooter=Hd,C.CmdSiteHeader=Gd,C.CmdSiteSearch=em,C.CmdSlideButton=ue,C.CmdSlideshow=sm,C.CmdSocialNetworks=Fd,C.CmdSwitchLanguage=pm,C.CmdSystemMessage=so,C.CmdTable=Tm,C.CmdTabs=Pm,C.CmdTextBlock=Rm,C.CmdThumbnailScroller=Wt,C.CmdToggleDarkMode=Wm,C.CmdTooltip=qt,C.CmdUploadForm=yh,C.CmdWidthLimitationWrapper=bh,C.DirFocus=wh,C.DirTelephone=Sh,C.createHtmlId=Ut,C.createUuid=Rt,C.getFileExtension=W,C.openFancyBox=he,C.useSequence=Nh,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32},Sf="";yt(Mm);const Vm={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}}},Em={class:"cmd-tabs"},Dm=["onClick","title"],Om={key:1},Lm={key:1,"aria-live":"assertive"},jm=["innerHTML"];function Fm(t,n,o,a,i,l){const c=I,d=M;return e.openBlock(),e.createElementBlock("div",Em,[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",{class:e.normalizeClass({active:i.showTab===r}),key:r,role:"tab"},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip},[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",Om,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],8,Dm)],2))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,i.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Lm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[i.showTab].headlineText,headlineLevel:o.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[i.showTab].htmlContent},null,8,jm)]))])}const Pm=b(Vm,[["render",Fm]]),zm={name:"CmdTextBlock",provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},data(){var t;return{context:no(this.editModeContext,{tb:!0},this.onPersist),editableHtmlHeadline:((t=this.cmdHeadline)==null?void 0:t.headlineText)||"",editableHtmlContent:this.htmlContent}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},htmlContent:{type:String,required:!0}},methods:{onPersist(t){const n=this.editableHtmlContent;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.cmdHeadline={...o.cmdHeadline||{}},o.cmdHeadline.headlineText=t[0].headlineText,o.htmlContent=n}}}}},Am={class:"cmd-text-block flex-container vertical"},Hm=["innerHTML"];function qm(t,n,o,a,i,l){var d;const c=M;return e.openBlock(),e.createElementBlock("div",Am,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,class:"edit-mode","onUpdate:modelValue":n[0]||(n[0]=s=>i.editableHtmlContent=s)},null,512)),[[e.vModelText,i.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:o.htmlContent},null,8,Hm)):e.createCommentVNode("",!0)])}const Rm=b(zm,[["render",qm]]),Nf="",Um={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{default(){return{iconClass:"icon-sun",iconType:"auto"}}},showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="dark-mode")}),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(t){this.darkMode=t.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},Gm={key:0};function Qm(t,n,o,a,i,l){const c=I,d=q;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":i.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleColorScheme&&l.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",Gm,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:o.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>i.darkMode=s),l.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Wm=b(Um,[["render",Qm]]),Zm={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 Jm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ro={exports:{}},qe={exports:{}},co=function(n,o){return function(){for(var i=new Array(arguments.length),l=0;l<i.length;l++)i[l]=arguments[l];return n.apply(o,i)}},Ym=co,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Km(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Xm(t){return G.call(t)==="[object ArrayBuffer]"}function $m(t){return typeof FormData<"u"&&t instanceof FormData}function vm(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function eu(t){return typeof t=="string"}function tu(t){return typeof t=="number"}function mo(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function ou(t){return G.call(t)==="[object Date]"}function nu(t){return G.call(t)==="[object File]"}function lu(t){return G.call(t)==="[object Blob]"}function uo(t){return G.call(t)==="[object Function]"}function iu(t){return mo(t)&&uo(t.pipe)}function au(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function su(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ru(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}function Qe(){var t={};function n(i,l){fe(t[l])&&fe(i)?t[l]=Qe(t[l],i):fe(i)?t[l]=Qe({},i):Re(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function cu(t,n,o){return Ge(n,function(i,l){o&&typeof i=="function"?t[l]=Ym(i,o):t[l]=i}),t}function du(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Xm,isBuffer:Km,isFormData:$m,isArrayBufferView:vm,isString:eu,isNumber:tu,isObject:mo,isPlainObject:fe,isUndefined:Ue,isDate:ou,isFile:nu,isBlob:lu,isFunction:uo,isStream:iu,isURLSearchParams:au,isStandardBrowserEnv:ru,forEach:Ge,merge:Qe,extend:cu,trim:su,stripBOM:du},J=O;function ho(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var fo=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(J.isURLSearchParams(o))i=o.toString();else{var l=[];J.forEach(o,function(s,r){s===null||typeof s>"u"||(J.isArray(s)?r=r+"[]":s=[s],J.forEach(s,function(u){J.isDate(u)?u=u.toISOString():J.isObject(u)&&(u=JSON.stringify(u)),l.push(ho(r)+"="+ho(u))}))}),i=l.join("&")}if(i){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},mu=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){mu.forEach(this.handlers,function(a){a!==null&&n(a)})};var uu=pe,hu=O,fu=function(n,o){hu.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},po=function(n,o,a,i,l){return n.config=o,a&&(n.code=a),n.request=i,n.response=l,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},We,go;function yo(){if(go)return We;go=1;var t=po;return We=function(o,a,i,l,c){var d=new Error(o);return t(d,a,i,l,c)},We}var Ze,ko;function pu(){if(ko)return Ze;ko=1;var t=yo();return Ze=function(o,a,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?o(i):a(t("Request failed with status code "+i.status,i.config,null,i.request,i))},Ze}var Je,Co;function gu(){if(Co)return Je;Co=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&r.push("expires="+new Date(l).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var i=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,Bo;function yu(){return Bo||(Bo=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,_o;function ku(){return _o||(_o=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,bo;function Cu(){if(bo)return Xe;bo=1;var t=yu(),n=ku();return Xe=function(a,i){return a&&!t(i)?n(a,i):i},Xe}var $e,wo;function Bu(){if(wo)return $e;wo=1;var t=O,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return $e=function(a){var i={},l,c,d;return a&&t.forEach(a.split(`
6
+ `),function(r){if(d=r.indexOf(":"),l=t.trim(r.substr(0,d)).toLowerCase(),c=t.trim(r.substr(d+1)),l){if(i[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?i[l]=(i[l]?i[l]:[]).concat([c]):i[l]=i[l]?i[l]+", "+c:c}}),i},$e}var ve,So;function _u(){if(So)return ve;So=1;var t=O;return ve=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),i;function l(c){var d=c;return o&&(a.setAttribute("href",d),d=a.href),a.setAttribute("href",d),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return i=l(window.location.href),function(d){var s=t.isString(d)?l(d):d;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),ve}var et,No;function ge(){if(No)return et;No=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,et=t,et}var tt,Io;function xo(){if(Io)return tt;Io=1;var t=O,n=pu(),o=gu(),a=fo,i=Cu(),l=Bu(),c=_u(),d=yo(),s=ye(),r=ge();return tt=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,B=u.responseType,S;function V(){u.cancelToken&&u.cancelToken.unsubscribe(S),u.signal&&u.signal.removeEventListener("abort",S)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(x+":"+w)}var N=i(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(N,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function E(){if(!!g){var T="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,F=!B||B==="text"||B==="json"?g.responseText:g.response,j={data:F,status:g.status,statusText:g.statusText,headers:T,config:u,request:g};n(function(A){h(A),V()},function(A){y(A),V()},j),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var F=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",j=u.transitional||s.transitional;u.timeoutErrorMessage&&(F=u.timeoutErrorMessage),y(d(F,u,j.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var D=(u.withCredentials||c(N))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;D&&(k[u.xsrfHeaderName]=D)}"setRequestHeader"in g&&t.forEach(k,function(F,j){typeof p>"u"&&j.toLowerCase()==="content-type"?delete k[j]:g.setRequestHeader(j,F)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),B&&B!=="json"&&(g.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&g.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(S=function(T){!g||(y(!T||T&&T.type?new r("canceled"):T),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(S),u.signal&&(u.signal.aborted?S():u.signal.addEventListener("abort",S))),p||(p=null),g.send(p)})},tt}var ot,To;function ye(){if(To)return ot;To=1;var t=O,n=fu,o=po,a={"Content-Type":"application/x-www-form-urlencoded"};function i(s,r){!t.isUndefined(s)&&t.isUndefined(s["Content-Type"])&&(s["Content-Type"]=r)}function l(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=xo()),s}function c(s,r,m){if(t.isString(s))try{return(r||JSON.parse)(s),t.trim(s)}catch(u){if(u.name!=="SyntaxError")throw u}return(m||JSON.stringify)(s)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(r,m){return n(m,"Accept"),n(m,"Content-Type"),t.isFormData(r)||t.isArrayBuffer(r)||t.isBuffer(r)||t.isStream(r)||t.isFile(r)||t.isBlob(r)?r:t.isArrayBufferView(r)?r.buffer:t.isURLSearchParams(r)?(i(m,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):t.isObject(r)||m&&m["Content-Type"]==="application/json"?(i(m,"application/json"),c(r)):r}],transformResponse:[function(r){var m=this.transitional||d.transitional,u=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,h=!u&&this.responseType==="json";if(h||f&&t.isString(r)&&r.length)try{return JSON.parse(r)}catch(y){if(h)throw y.name==="SyntaxError"?o(y,this,"E_JSON_PARSE"):y}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(r){d.headers[r]={}}),t.forEach(["post","put","patch"],function(r){d.headers[r]=t.merge(a)}),ot=d,ot}var bu=O,wu=ye(),Su=function(n,o,a){var i=this||wu;return bu.forEach(a,function(c){n=c.call(i,n,o)}),n},nt,Mo;function Vo(){return Mo||(Mo=1,nt=function(n){return!!(n&&n.__CANCEL__)}),nt}var Eo=O,lt=Su,Nu=Vo(),Iu=ye(),xu=ge();function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new xu("canceled")}var Tu=function(n){it(n),n.headers=n.headers||{},n.data=lt.call(n,n.data,n.headers,n.transformRequest),n.headers=Eo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Eo.forEach(["delete","get","head","post","put","patch","common"],function(i){delete n.headers[i]});var o=n.adapter||Iu.adapter;return o(n).then(function(i){return it(n),i.data=lt.call(n,i.data,i.headers,n.transformResponse),i},function(i){return Nu(i)||(it(n),i&&i.response&&(i.response.data=lt.call(n,i.response.data,i.response.headers,n.transformResponse))),Promise.reject(i)})},L=O,Do=function(n,o){o=o||{};var a={};function i(m,u){return L.isPlainObject(m)&&L.isPlainObject(u)?L.merge(m,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function l(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(n[m],o[m])}function c(m){if(!L.isUndefined(o[m]))return i(void 0,o[m])}function d(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(void 0,o[m])}function s(m){if(m in o)return i(n[m],o[m]);if(m in n)return i(void 0,n[m])}var r={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return L.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||l,h=f(u);L.isUndefined(h)&&f!==s||(a[u]=h)}),a},at,Oo;function Lo(){return Oo||(Oo=1,at={version:"0.24.0"}),at}var Mu=Lo().version,st={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){st[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var jo={};st.transitional=function(n,o,a){function i(l,c){return"[Axios v"+Mu+"] Transitional option '"+l+"'"+c+(a?". "+a:"")}return function(l,c,d){if(n===!1)throw new Error(i(c," has been removed"+(o?" in "+o:"")));return o&&!jo[c]&&(jo[c]=!0,console.warn(i(c," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,c,d):!0}};function Vu(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),i=a.length;i-- >0;){var l=a[i],c=n[l];if(c){var d=t[l],s=d===void 0||c(d,l,t);if(s!==!0)throw new TypeError("option "+l+" must be "+s);continue}if(o!==!0)throw Error("Unknown option "+l)}}var Eu={assertOptions:Vu,validators:st},Fo=O,Du=fo,Po=uu,zo=Tu,ke=Do,Ao=Eu,Y=Ao.validators;function oe(t){this.defaults=t,this.interceptors={request:new Po,response:new Po}}oe.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=ke(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&Ao.assertOptions(o,{silentJSONParsing:Y.transitional(Y.boolean),forcedJSONParsing:Y.transitional(Y.boolean),clarifyTimeoutError:Y.transitional(Y.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(i=i&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var c;if(!i){var d=[zo,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(l),c=Promise.resolve(n);d.length;)c=c.then(d.shift(),d.shift());return c}for(var s=n;a.length;){var r=a.shift(),m=a.shift();try{s=r(s)}catch(u){m(u);break}}try{c=zo(s)}catch(u){return Promise.reject(u)}for(;l.length;)c=c.then(l.shift(),l.shift());return c},oe.prototype.getUri=function(n){return n=ke(this.defaults,n),Du(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Fo.forEach(["delete","get","head","options"],function(n){oe.prototype[n]=function(o,a){return this.request(ke(a||{},{method:n,url:o,data:(a||{}).data}))}}),Fo.forEach(["post","put","patch"],function(n){oe.prototype[n]=function(o,a,i){return this.request(ke(i||{},{method:n,url:o,data:a}))}});var Ou=oe,rt,Ho;function Lu(){if(Ho)return rt;Ho=1;var t=ge();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(c){a=c});var i=this;this.promise.then(function(l){if(!!i._listeners){var c,d=i._listeners.length;for(c=0;c<d;c++)i._listeners[c](l);i._listeners=null}}),this.promise.then=function(l){var c,d=new Promise(function(s){i.subscribe(s),c=s}).then(l);return d.cancel=function(){i.unsubscribe(c)},d},o(function(c){i.reason||(i.reason=new t(c),a(i.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(!!this._listeners){var i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}},n.source=function(){var a,i=new n(function(c){a=c});return{token:i,cancel:a}},rt=n,rt}var ct,qo;function ju(){return qo||(qo=1,ct=function(n){return function(a){return n.apply(null,a)}}),ct}var dt,Ro;function Fu(){return Ro||(Ro=1,dt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),dt}var Uo=O,Pu=co,Ce=Ou,zu=Do,Au=ye();function Go(t){var n=new Ce(t),o=Pu(Ce.prototype.request,n);return Uo.extend(o,Ce.prototype,n),Uo.extend(o,n),o.create=function(i){return Go(zu(t,i))},o}var z=Go(Au);z.Axios=Ce,z.Cancel=ge(),z.CancelToken=Lu(),z.isCancel=Vo(),z.VERSION=Lo().version,z.all=function(n){return Promise.all(n)},z.spread=ju(),z.isAxiosError=Fu(),qe.exports=z,qe.exports.default=z,function(t){t.exports=qe.exports}(ro);const Hu=Jm(ro.exports),If="",qu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[P,Zm],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},deleteIcon:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return W(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(!!t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(W(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,i])=>n.append(a,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const i=a.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Hu.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Ru={key:0},Uu={key:1,class:"flex-container vertical"},Gu={key:0,class:"flex-container vertical list-files-wrapper"},Qu={key:0,class:"list-of-files total-files"},Wu={class:"flex-container no-flex"},Zu=["title"],Ju={key:0,class:"progressbar"},Yu=["value","title"],Ku=e.createElementVNode("hr",null,null,-1),Xu={class:"flex-container vertical list-files-wrapper"},$u={class:"list-of-files"},vu=["title","onClick"],eh={key:0,class:"progressbar"},th=["value","title"],oh=["title"],nh=e.createElementVNode("hr",null,null,-1),lh={class:"small"},ih=["title"],ah={key:0,class:"list-of-file-extensions"},sh=["disabled"],rh={key:0},ch={key:1},dh={class:"button-wrapper no-flex"},mh=["disabled"],uh={key:0},hh={key:1},fh={key:0,class:"progressbar"},ph=["value","title"];function gh(t,n,o,a,i,l){const c=M,d=so,s=I,r=q;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(d,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Ru,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Uu,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Gu,[e.createVNode(c,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Qu,[e.createElementVNode("li",Wu,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:o.deleteIcon.iconClass,type:o.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Zu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Ju,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Yu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Ku])):e.createCommentVNode("",!0),e.createElementVNode("div",Xu,[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",$u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>l.removeFile(u),["prevent"])},[e.createVNode(s,{iconClass:t.iconDelete.iconClass,type:t.iconDelete.iconType},null,8,["iconClass","type"])],8,vu),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",eh,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,th)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,oh)):e.createCommentVNode("",!0),nh])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",lh,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,ih),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",ah,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=m=>l.selectFiles())},[e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",rh,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,sh),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(r,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>i.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",dh,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[e.createVNode(s,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",uh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",hh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,mh),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>l.cancel&&l.cancel(...m))},[e.createVNode(s,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",fh,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,ph)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(r,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const yh=b(qu,[["render",gh]]),xf="",kh={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":""}}},Ch=["id"],Bh=["id"];function _h(t,n,o,a,i,l){const c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass)},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,Ch)):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,Bh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const bh=b(kh,[["render",_h]]),wh={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!")}}},Sh={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 Nh(){const t={};e.onBeforeUpdate(a);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function a(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.CmdAddressData=Rl,C.CmdBackToTopButton=Wl,C.CmdBankAccountData=vl,C.CmdBox=Xt,C.CmdBoxWrapper=Bs,C.CmdBreadcrumbs=Es,C.CmdCompanyLogo=eo,C.CmdCookieDisclaimer=$s,C.CmdCopyrightInformation=nr,C.CmdFakeSelect=to,C.CmdFancyBox=Ia,C.CmdForm=Vr,C.CmdFormElement=q,C.CmdFormFilters=oo,C.CmdGoogleMaps=qr,C.CmdHeadline=M,C.CmdIcon=I,C.CmdImage=Z,C.CmdImageGallery=Wr,C.CmdImageZoom=tc,C.CmdInputGroup=hc,C.CmdListOfLinks=Jt,C.CmdLoginForm=Ec,C.CmdMainNavigation=ao,C.CmdMultistepFormProgressBar=nd,C.CmdOpeningHours=ud,C.CmdPager=Sd,C.CmdProgressBar=Ed,C.CmdSiteFooter=Hd,C.CmdSiteHeader=Gd,C.CmdSiteSearch=em,C.CmdSlideButton=ue,C.CmdSlideshow=sm,C.CmdSocialNetworks=Fd,C.CmdSwitchLanguage=pm,C.CmdSystemMessage=so,C.CmdTable=Tm,C.CmdTabs=Pm,C.CmdTextBlock=Rm,C.CmdThumbnailScroller=Wt,C.CmdToggleDarkMode=Wm,C.CmdTooltip=qt,C.CmdUploadForm=yh,C.CmdWidthLimitationWrapper=bh,C.DirFocus=wh,C.DirTelephone=Sh,C.createHtmlId=Ut,C.createUuid=Rt,C.getFileExtension=W,C.openFancyBox=he,C.useSequence=Nh,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});