comand-component-library 4.0.4 → 4.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(b,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(b=typeof globalThis<"u"?globalThis:b||self,e(b["comand-component-library"]={},b.Vue))})(this,function(b,e){"use strict";const le=/^[a-z0-9]+(-[a-z0-9]+)*$/,he=(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 s=i.pop(),c=i.pop(),m={provider:i.length>0?i[0]:a,prefix:c,name:s};return n&&!ue(m)?null:m}const l=i[0],r=l.split("-");if(r.length>1){const s={provider:a,prefix:r.shift(),name:r.join("-")};return n&&!ue(s)?null:s}if(o&&a===""){const s={provider:a,prefix:"",name:l};return n&&!ue(s,o)?null:s}return null},ue=(t,n)=>t?!!((t.provider===""||t.provider.match(le))&&(n&&t.prefix===""||t.prefix.match(le))&&t.name.match(le)):!1,bt=Object.freeze({left:0,top:0,width:16,height:16}),fe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),pe=Object.freeze({...bt,...fe}),Ie=Object.freeze({...pe,body:"",hidden:!1});function on(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 Bt(t,n){const o=on(t,n);for(const a in Ie)a in fe?a in t&&!(a in o)&&(o[a]=fe[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function nn(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(r){if(o[r])return i[r]=[];if(!(r in i)){i[r]=null;const s=a[r]&&a[r].parent,c=s&&l(s);c&&(i[r]=[s].concat(c))}return i[r]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function ln(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function r(s){l=Bt(a[s]||i[s],l)}return r(n),o.forEach(r),Bt(t,l)}function _t(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=nn(t);for(const i in a){const l=a[i];l&&(n(i,ln(t,i,l)),o.push(i))}return o}const an={provider:"",aliases:{},not_found:{},...bt};function Ee(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function wt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ee(t,an))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(le)||typeof l.body!="string"||!Ee(l,Ie))return null}const a=n.aliases||{};for(const i in a){const l=a[i],r=l.parent;if(!i.match(le)||typeof r!="string"||!o[r]&&!a[r]||!Ee(l,Ie))return null}return n}const xt=Object.create(null);function sn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function J(t,n){const o=xt[t]||(xt[t]=Object.create(null));return o[n]||(o[n]=sn(t,n))}function Me(t,n){return wt(n)?_t(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function rn(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let ie=!1;function Nt(t){return typeof t=="boolean"&&(ie=t),ie}function cn(t){const n=typeof t=="string"?he(t,!0,ie):t;if(n){const o=J(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function dn(t,n){const o=he(t,!0,ie);if(!o)return!1;const a=J(o.provider,o.prefix);return rn(a,o.name,n)}function St(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),ie&&!n&&!t.prefix){let i=!1;return wt(t)&&(t.prefix="",_t(t,(l,r)=>{r&&dn(l,r)&&(i=!0)})),i}const o=t.prefix;if(!ue({provider:n,prefix:o,name:"a"}))return!1;const a=J(n,o);return!!Me(a,t)}const Tt=Object.freeze({width:null,height:null}),It=Object.freeze({...Tt,...fe}),mn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Et(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(mn);if(a===null||!a.length)return t;const i=[];let l=a.shift(),r=hn.test(l);for(;;){if(r){const s=parseFloat(l);isNaN(s)?i.push(l):i.push(Math.ceil(s*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");r=!r}}function un(t,n){const o={...pe,...t},a={...It,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(u=>{const p=[],g=u.hFlip,k=u.vFlip;let C=u.rotate;g?k?C+=2:(p.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),p.push("scale(-1 1)"),i.top=i.left=0):k&&(p.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),p.push("scale(1 -1)"),i.top=i.left=0);let w;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:w=i.height/2+i.top,p.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:p.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:w=i.width/2+i.left,p.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}C%2===1&&(i.left!==i.top&&(w=i.left,i.left=i.top,i.top=w),i.width!==i.height&&(w=i.width,i.width=i.height,i.height=w)),p.length&&(l='<g transform="'+p.join(" ")+'">'+l+"</g>")});const r=a.width,s=a.height,c=i.width,m=i.height;let h,d;return r===null?(d=s===null?"1em":s==="auto"?m:s,h=Et(d,c/m)):(h=r==="auto"?c:r,d=s===null?Et(h,m/c):s==="auto"?m:s),{attributes:{width:h.toString(),height:d.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+m.toString()},body:l}}const fn=/\sid="(\S+)"/g,pn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gn=0;function yn(t,n=pn){const o=[];let a;for(;a=fn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(gn++).toString(),r=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const Ve=Object.create(null);function kn(t,n){Ve[t]=n}function De(t){return Ve[t]||Ve[""]}function Oe(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 Le=Object.create(null),ae=["https://api.simplesvg.com","https://api.unisvg.com"],ge=[];for(;ae.length>0;)ae.length===1||Math.random()>.5?ge.push(ae.shift()):ge.push(ae.pop());Le[""]=Oe({resources:["https://api.iconify.design"].concat(ge)});function Cn(t,n){const o=Oe(n);return o===null?!1:(Le[t]=o,!0)}function Pe(t){return Le[t]}let Mt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function bn(t,n){const o=Pe(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(r=>{i=Math.max(i,r.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function Bn(t){return t===404}const _n=(t,n,o)=>{const a=[],i=bn(t,n),l="icons";let r={type:l,provider:t,prefix:n,icons:[]},s=0;return o.forEach((c,m)=>{s+=c.length+1,s>=i&&m>0&&(a.push(r),r={type:l,provider:t,prefix:n,icons:[]},s=c.length),r.icons.push(c)}),a.push(r),a};function wn(t){if(typeof t=="string"){const n=Pe(t);if(n)return n.path}return"/"}const xn={prepare:_n,send:(t,n,o)=>{if(!Mt){o("abort",424);return}let a=wn(n.provider);switch(n.type){case"icons":{const l=n.prefix,s=n.icons.join(","),c=new URLSearchParams({icons:s});a+=l+".json?"+c.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;Mt(t+a).then(l=>{const r=l.status;if(r!==200){setTimeout(()=>{o(Bn(r)?"abort":"next",r)});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 Nn(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,r=i.prefix,s=i.name,c=o[l]||(o[l]=Object.create(null)),m=c[r]||(c[r]=J(l,r));let h;s in m.icons?h=n.loaded:r===""||m.missing.has(s)?h=n.missing:h=n.pending;const d={provider:l,prefix:r,name:s};h.push(d)}),n}function Vt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function Sn(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 r=l.icons,s=r.pending.length;r.pending=r.pending.filter(c=>{if(c.prefix!==i)return!0;const m=c.name;if(t.icons[m])r.loaded.push({provider:a,prefix:i,name:m});else if(t.missing.has(m))r.missing.push({provider:a,prefix:i,name:m});else return o=!0,!0;return!1}),r.pending.length!==s&&(o||Vt([t],l.id),l.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),l.abort))})}))}let Tn=0;function In(t,n,o){const a=Tn++,i=Vt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(l)}),i}function En(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?he(i,n,o):i;l&&a.push(l)}),a}var Mn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Vn(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let r;if(t.random){let x=t.resources.slice(0);for(r=[];x.length>1;){const N=Math.floor(Math.random()*x.length);r.push(x[N]),x=x.slice(0,N).concat(x.slice(N+1))}r=r.concat(x)}else r=t.resources.slice(l).concat(t.resources.slice(0,l));const s=Date.now();let c="pending",m=0,h,d=null,f=[],u=[];typeof a=="function"&&u.push(a);function p(){d&&(clearTimeout(d),d=null)}function g(){c==="pending"&&(c="aborted"),p(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function k(x,N){N&&(u=[]),typeof x=="function"&&u.push(x)}function C(){return{startTime:s,payload:n,status:c,queriesSent:m,queriesPending:f.length,subscribe:k,abort:g}}function w(){c="failed",u.forEach(x=>{x(void 0,h)})}function S(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function y(x,N,V){const L=N!=="success";switch(f=f.filter(I=>I!==x),c){case"pending":break;case"failed":if(L||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){h=V,w();return}if(L){h=V,f.length||(r.length?M():w());return}if(p(),S(),!t.random){const I=t.resources.indexOf(x.resource);I!==-1&&I!==t.index&&(t.index=I)}c="completed",u.forEach(I=>{I(V)})}function M(){if(c!=="pending")return;p();const x=r.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{p(),c==="pending"&&(S(),w())},t.timeout);return}w();return}const N={status:"pending",resource:x,callback:(V,L)=>{y(N,V,L)}};f.push(N),m++,d=setTimeout(M,t.rotate),o(x,n,N.callback)}return setTimeout(M),C}function Dt(t){const n={...Mn,...t};let o=[];function a(){o=o.filter(s=>s().status==="pending")}function i(s,c,m){const h=Vn(n,s,c,(d,f)=>{a(),m&&m(d,f)});return o.push(h),h}function l(s){return o.find(c=>s(c))||null}return{query:i,find:l,setIndex:s=>{n.index=s},getIndex:()=>n.index,cleanup:a}}function Ot(){}const Fe=Object.create(null);function Dn(t){if(!Fe[t]){const n=Pe(t);if(!n)return;const o=Dt(n),a={config:n,redundancy:o};Fe[t]=a}return Fe[t]}function On(t,n,o){let a,i;if(typeof t=="string"){const l=De(t);if(!l)return o(void 0,424),Ot;i=l.send;const r=Dn(t);r&&(a=r.redundancy)}else{const l=Oe(t);if(l){a=Dt(l);const r=t.resources?t.resources[0]:"",s=De(r);s&&(i=s.send)}}return!a||!i?(o(void 0,424),Ot):a.query(n,i,o)().abort}const Lt="iconify2",se="iconify",Pt=se+"-count",Ft=se+"-version",At=36e5,Ln=168;function Ae(t,n){try{return t.getItem(n)}catch{}}function je(t,n,o){try{return t.setItem(n,o),!0}catch{}}function jt(t,n){try{t.removeItem(n)}catch{}}function ze(t,n){return je(t,Pt,n.toString())}function He(t){return parseInt(Ae(t,Pt))||0}const ye={local:!0,session:!0},zt={local:new Set,session:new Set};let qe=!1;function Pn(t){qe=t}let ke=typeof window>"u"?{}:window;function Ht(t){const n=t+"Storage";try{if(ke&&ke[n]&&typeof ke[n].length=="number")return ke[n]}catch{}ye[t]=!1}function qt(t,n){const o=Ht(t);if(!o)return;const a=Ae(o,Ft);if(a!==Lt){if(a){const s=He(o);for(let c=0;c<s;c++)jt(o,se+c.toString())}je(o,Ft,Lt),ze(o,0);return}const i=Math.floor(Date.now()/At)-Ln,l=s=>{const c=se+s.toString(),m=Ae(o,c);if(typeof m=="string"){try{const h=JSON.parse(m);if(typeof h=="object"&&typeof h.cached=="number"&&h.cached>i&&typeof h.provider=="string"&&typeof h.data=="object"&&typeof h.data.prefix=="string"&&n(h,s))return!0}catch{}jt(o,c)}};let r=He(o);for(let s=r-1;s>=0;s--)l(s)||(s===r-1?(r--,ze(o,r)):zt[t].add(s))}function Rt(){if(!qe){Pn(!0);for(const t in ye)qt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=J(a,i);if(!Me(l,o).length)return!1;const r=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,r):r,!0})}}function Fn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ye)qt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function An(t,n){qe||Rt();function o(a){let i;if(!ye[a]||!(i=Ht(a)))return;const l=zt[a];let r;if(l.size)l.delete(r=Array.from(l).shift());else if(r=He(i),!ze(i,r+1))return;const s={cached:Math.floor(Date.now()/At),provider:t.provider,data:n};return je(i,se+r.toString(),JSON.stringify(s))}n.lastModified&&!Fn(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ut(){}function jn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Sn(t)}))}function zn(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=De(o)))return;l.prepare(o,a,i).forEach(s=>{On(o,s,(c,m)=>{if(typeof c!="object"){if(m!==404)return;s.icons.forEach(h=>{t.missing.add(h)})}else try{const h=Me(t,c);if(!h.length)return;const d=t.pendingIcons;d&&h.forEach(f=>{d.delete(f)}),An(t,c)}catch(h){console.error(h)}jn(t)})})}))}const Hn=(t,n)=>{const o=En(t,!0,Nt()),a=Nn(o);if(!a.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(a.loaded,a.missing,a.pending,Ut)}),()=>{c=!1}}const i=Object.create(null),l=[];let r,s;return a.pending.forEach(c=>{const{provider:m,prefix:h}=c;if(h===s&&m===r)return;r=m,s=h,l.push(J(m,h));const d=i[m]||(i[m]=Object.create(null));d[h]||(d[h]=[])}),a.pending.forEach(c=>{const{provider:m,prefix:h,name:d}=c,f=J(m,h),u=f.pendingIcons||(f.pendingIcons=new Set);u.has(d)||(u.add(d),i[m][h].push(d))}),l.forEach(c=>{const{provider:m,prefix:h}=c;i[m][h].length&&zn(c,i[m][h])}),n?In(n,a,l):Ut};function qn(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in Tt?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const Rn=/[\s,]+/;function Un(t,n){n.split(Rn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Gn(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 Wn(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 Zn(t){return'url("data:image/svg+xml,'+Qn(t)+'")'}const Gt={...It,inline:!1},Jn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Yn={display:"inline-block"},Re={backgroundColor:"currentColor"},Wt={backgroundColor:"transparent"},Qt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zt={webkitMask:Re,mask:Re,background:Wt};for(const t in Zt){const n=Zt[t];for(const o in Qt)n[t+o]=Qt[o]}const Ce={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";Ce[t+"-flip"]=n,Ce[t.slice(0,1)+"-flip"]=n,Ce[t+"Flip"]=n});function Jt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Yt=(t,n)=>{const o=qn(Gt,n),a={...Jn},i=n.mode||"svg",l={},r=n.style,s=typeof r=="object"&&!(r instanceof Array)?r:{};for(let g in n){const k=n[g];if(k!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Un(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[g]=Gn(k):typeof k=="number"&&(o[g]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const C=Ce[g];C?(k===!0||k==="true"||k===1)&&(o[C]=!0):Gt[g]===void 0&&(a[g]=k)}}}const c=un(t,o),m=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...s},Object.assign(a,m);let g=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=yn(c.body,k?()=>k+"ID"+g++:"iconifyVue"),e.h("svg",a)}const{body:h,width:d,height:f}=t,u=i==="mask"||(i==="bg"?!1:h.indexOf("currentColor")!==-1),p=Wn(h,{...m,width:d+"",height:f+""});return a.style={...l,"--svg":Zn(p),width:Jt(m.width),height:Jt(m.height),...Yn,...u?Re:Wt,...s},e.h("span",a)};if(Nt(!0),kn("",xn),typeof document<"u"&&typeof window<"u"){Rt();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"||!St(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;Cn(o,i)||console.error(a)}catch{console.error(a)}}}}const Kn={...pe,body:""},Xn=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=he(t,!1,!0))===null)return this.abortLoading(),null;const a=cn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:Hn([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 Yt(Kn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Yt({...pe,...n.data},o)}}),lp="",B=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},$n={name:"CmdIcon",components:{Icon:Xn},props:{type:{type:String,default:"auto",validator(t){return t==="auto"||t==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},vn=["title"];function el(t,n,o,a,i,l){const r=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(r,{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,vn))}const T=B($n,[["render",el]]);function Q(t,n){return be(t,"EditComponentWrapper",n)}function tl(t){return be(t,"EditModeSettingsSidebar")}function ol(t){return be(t,"EditModeMainSidebar")}function be(t,n,o){var a;return((a=t==null?void 0:t.$options)==null?void 0:a.name)===n&&(o==null||o(t))?t:t!=null&&t.$parent?be(t.$parent,n,o):null}function Z(t,...n){const o=[];for(let a=Q(t);a;a=Q(a.$parent))a.componentPath&&o.unshift(...a.componentPath);return o.push(...n),o}function nl(t){return Array.isArray(t)&&t.length>0?JSON.stringify(t):""}function F(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const ip="",ll={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!Q(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")},active(){return this.editModeContext?Q(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(q(this)):!!this.editModeContext.system.isActiveComponent(q(this)):!1},editing(){var t;return(t=this.editModeContext)==null?void 0:t.content.isEditing(this.componentIdentifier)},hasSettings(){const t=`${this.componentName}Settings`;return!!e.getCurrentInstance().appContext.components[t]}},methods:{addHighlightRelatedComponent(t){t.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(t){t.target.parentNode.classList.remove("highlight")},showActionButtons(){const t=Q(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(q(t),q(this))},deleteComponent(){var t;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((t=this.editModeContext)==null||t.store.deleteContent(q(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(q(this)),this.editModeContext.settings.stopEditing()},cancelComponent(t){this.editing&&(t.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(t){t==null||t.stopPropagation(),t||this.showActionButtons();const n=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var o;return(o=n.querySelector("input"))==null?void 0:o.focus()})},saveComponent(){this.editModeContext.store.updateContent(q(this),this.updateHandlerProviders.map(t=>t())),this.editModeContext.content.stopEditing()},editSettings(t,n){t.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,q(this),this.saveSettings,this.deleteInnerComponent,n||"edit")},addEntry(t){this.itemProvider?this.editModeContext.content.addContent(q(this),this.itemProvider):this.editSettings(t,"add")},saveSettings(t){this.editModeContext.store.updateSettings(q(this),t),this.editModeContext.settings.stopEditing()},addEditStateListener(t){this.editStateListeners.push(t),t(this.editing)},addUpdateHandlerProvider(t){this.updateHandlerProviders.push(t)},setAddHandlerProvider(t){t&&(this.addHandlerProvider=t)}},watch:{componentPath:{handler(){this.componentIdentifier=nl(q(this))},immediate:!0,deep:!0},editing(t){this.editStateListeners.forEach(n=>n(t))}}};function q(t){const n=[];for(let o=t;o;o=Q(o.$parent))o.componentPath&&n.unshift(...o.componentPath);return n}const il={key:0,class:"action-buttons-wrapper"},al=["data-component"],sl=["title"],rl=["href"],cl={key:0},dl={key:1},ml={key:0,class:"component-name"},hl=["data-component"],ul=["title"],fl=["href","title"],pl=["title"],gl={key:0},yl={key:1},kl=["title"],Cl=["title"];function bl(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.componentTag||"div"),{class:e.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:e.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:e.withCtx(()=>[o.componentTag==="ul"?(e.openBlock(),e.createElementBlock("li",il,[e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.addEntry(s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(r,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,sl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[1]||(n[1]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings of this component"},[e.createVNode(r,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,rl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:n[2]||(n[2]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete this component (and its content)"},[e.createVNode(r,{iconClass:"icon-trash"})])]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",cl,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:n[3]||(n[3]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(r,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",dl,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:n[4]||(n[4]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of this component"},[e.createVNode(r,{iconClass:"icon-check"})])):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content of this component"},[e.createVNode(r,{iconClass:"icon-edit"})],2))]))],8,al),[[e.vShow,l.active]])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.isOuterComponent?(e.openBlock(),e.createElementBlock("p",ml,e.toDisplayString(o.componentName),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName,onMouseenter:n[12]||(n[12]=(...s)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...s)),onMouseleave:n[13]||(n[13]=(...s)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...s))},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[6]||(n[6]=e.withModifiers((...s)=>l.addEntry&&l.addEntry(...s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(r,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ul)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[7]||(n[7]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings for "+o.componentName},[e.createVNode(r,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,fl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!o.allowDeleteComponent}]),href:"#",onClick:n[8]||(n[8]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete "+o.componentName+" (and its content)"},[e.createVNode(r,{iconClass:"icon-trash"})],10,pl)]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",gl,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:n[9]||(n[9]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(r,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",yl,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:n[10]||(n[10]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of "+o.componentName},[e.createVNode(r,{iconClass:"icon-check"})],8,kl)):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[11]||(n[11]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content for "+o.componentName},[e.createVNode(r,{iconClass:"icon-edit"})],10,Cl))]))],40,hl),[[e.vShow,l.active]])],64)),e.renderSlot(t.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Y=B(ll,[["render",bl]]),O={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var t;if(this.$refs.editComponentWrapper)(t=this.$refs.editComponentWrapper)==null||t.addUpdateHandlerProvider(this.updateHandlerProvider);else{const n=Q(this.$parent);n&&(n.addEditStateListener(o=>this.editing=o),n.addUpdateHandlerProvider(this.updateHandlerProvider),n.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!ol(this),this.settingsContext=!!tl(this)},updateHandlerProvider(){return{}}}},ap="",Bl={name:"CmdHeadline",mixins:[O],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:null,validator(t){return t==="left"||t==="center"||t==="right"}}},computed:{componentActive(){var t;return(t=this.editModeContext)==null?void 0:t.system.isActiveComponent(Z(Q(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const t=this.editableHeadlineText,n=this.editablePreHeadlineText,o=this.headlineLevel;return F(this,{update(a){a.headlineText=t,a.preHeadlineText=n,a.headlineLevel=o}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},_l={class:"pre-headline-text-wrapper"},wl={class:"pre-headline-text"},xl={class:"pre-headline-text"},Nl=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new headline",-1)];function Sl(t,n,o,a,i,l){var m;const r=T,s=j,c=Y;return!t.editModeContext||t.settingsContext||t.mainSidebarContext?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(m=o.headlineIcon)==null?void 0:m.iconClass},l.getTextAlign])},[o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>{var h,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",_l,[e.createElementVNode("span",wl,e.toDisplayString(o.preHeadlineText),1),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])])]}),_:3})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:1},{default:e.withCtx(()=>{var h,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])]}),_:3}))],2)):(e.openBlock(),e.createBlock(c,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:o.headlineText,headlineLevel:o.headlineLevel},componentPath:l.headlineComponentPath,allowDeleteComponent:!!o.headlineText},{default:e.withCtx(h=>{var d,f;return[h.editing?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel,l.getTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":n[0]||(n[0]=u=>i.editableHeadlineText=u)},null,8,["class","modelValue"])):o.headlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(d=o.headlineIcon)==null?void 0:d.iconClass,type:(f=o.headlineIcon)==null?void 0:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>{var u,p;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.iconClass,type:(p=o.headlineIcon)==null?void 0:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",xl,e.toDisplayString(o.preHeadlineText),1),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]}),_:3})):e.createCommentVNode("",!0)],64)):o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3})):e.createCommentVNode("",!0)],64)):l.componentActive?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Nl)):e.createCommentVNode("",!0)]}),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const E=B(Bl,[["render",Sl]]),cp="",Tl={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},validationStatus:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},idOfScrollContainer:{type:String,default:"page-wrapper"},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&&(document.getElementById(this.idOfScrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.addEventListener("click",this.toggleTooltipVisibility):(t.addEventListener("mouseenter",this.showTooltip),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.relatedId);t&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.removeEventListener("click",this.toggleTooltipVisibility):(t.removeEventListener("mouseenter",this.showTooltip),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"})}}},Il={key:0,class:"headline-wrapper"},El=["title"];function Ml(t,n,o,a,i,l){const r=E,s=T;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.validationStatus]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",Il,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,{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((...c)=>l.hideTooltip&&l.hideTooltip(...c),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(s,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,El)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const Kt=B(Tl,[["render",Ml]]),R={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&&o[t])?this[n][t]:null}}},Vl={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},dp="",Dl={name:"CmdListOfRequirements",mixins:[R,Vl],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")}}},Ol={class:"cmd-list-of-requirements"},Ll=e.createElementVNode("br",null,null,-1),Pl=e.createElementVNode("hr",null,null,-1),Fl=["href","target"],Al={key:1};function jl(t,n,o,a,i,l){var c,m,h;const r=E,s=T;return e.openBlock(),e.createElementBlock("div",Ol,[o.showHeadline?(e.openBlock(),e.createBlock(r,{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},[Ll,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,(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(d.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},e.toDisplayString(d.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(d.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},[e.createVNode(s,{"aria-live":"assertive",iconClass:d.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconClass:o.iconError.iconClass,type:d.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconType:o.iconError.iconType,title:d.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},[Pl,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"]))},[(c=o.helplink.icon)!=null&&c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass((m=o.helplink.icon)==null?void 0:m.iconClass),title:(h=o.helplink.icon)==null?void 0:h.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Al,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Fl)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const zl=B(Dl,[["render",jl]]),mp="",Hl={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function ql(t,n,o,a,i,l){const r=zl,s=Kt;return e.openBlock(),e.createBlock(s,{ref:"tooltip",class:e.normalizeClass(["box cmd-tooltip-for-form-elements",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(r,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Ue=B(Hl,[["render",ql]]),Rl={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validationTooltip.an_error_occurred":"An error occurred!","cmdformelement.validationTooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validationTooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validationTooltip.open_field_requirements":"Open field requirements!","cmdformelement.validationTooltip.is_valid_email":"Is valid e-mail-address"}}}},Ge={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[R,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},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 $(){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 We(){return"cmd-"+$()}const re={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||We()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Qe={};function Ul(t="defaultSequence"){const n=Qe[t]||0;return Qe[t]=n+1,Qe[t]}const Ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+Ul()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},up="",Gl=["color","date","datetime-local","file","number","range"],Wl={inheritAttrs:!1,name:"CmdFormElement",mixins:[R,Rl,Ge,re,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},showStatusIcon:{type:Boolean,default:!0},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,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},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},charactersLeft(){return this.getMaxLength()-this.modelValue.length},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:{setFocus(){var t;(t=this.$refs.label.querySelector("input, select, textarea"))==null||t.focus()},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:Gl.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()},submit(t){this.$emit("submit",t)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Ql=["for","title"],Zl={key:2,"aria-hidden":"true"},Jl=["title","aria-errormessage","id"],Yl={key:1,class:"flex-container"},Kl=["id","autocomplete","list","value","maxlength"],Xl=["title"],$l=["id"],vl=["value"],ei=["checked","value","id","disabled","aria-invalid"],ti={key:2},oi={class:"switch-label-wrapper"},ni=["checked","value","id","disabled","aria-invalid"],li={class:"label-text"},ii={class:"label-text"},ai={key:0},si=["id"],ri=["value","selected"],ci=["id","value","maxlength"],di={key:6,class:"characters-left-wrapper"},mi={key:0},hi={key:7,class:"search-field-wrapper flex-container no-gap"},ui=["id","maxlength","value"],fi=["title"],pi=["title"],gi={key:1};function yi(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k,C,w,S,y,M,x,N,V,L,I,A,P,G,D,me;const r=T,s=Ue;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,"toggle-switch":o.toggleSwitch,colored:o.colored,"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",Zl,"*")):e.createCommentVNode("",!0)]),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,Jl)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,ref:"tooltip",validationStatus:t.validationStatus,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",Yl,[o.fieldIconClass?(e.openBlock(),e.createBlock(r,{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,Kl)):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(r,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Xl)):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,(_,ne)=>(e.openBlock(),e.createElementBlock("option",{key:ne,value:_},null,8,vl))),128))],8,$l)):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",oi,[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,ni),e.createElementVNode("span",li,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ii,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",ai,"*")):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}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,ei),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,(_,ne)=>(e.openBlock(),e.createElementBlock("option",{key:ne,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,ri))),128))],16,si)):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(..._))}),null,16,ci)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",di,[o.textCharactersLeft?(e.openBlock(),e.createElementBlock("span",mi,e.toDisplayString(o.textCharactersLeft),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},e.toDisplayString(l.charactersLeft),3)])):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",hi,[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,ui),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(r,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,fi)):e.createCommentVNode("",!0),(c=o.iconDelete)!=null&&c.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(m=o.iconDelete)==null?void 0:m.tooltip},[e.createVNode(r,{iconClass:(h=o.iconDelete)==null?void 0:h.iconClass,type:(d=o.iconDelete)==null?void 0:d.iconType},null,8,["iconClass","type"])],8,pi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Ql)):o.element==="button"?(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:n[23]||(n[23]=(..._)=>l.submit&&l.submit(..._))}),[(u=(f=o.nativeButton)==null?void 0:f.icon)!=null&&u.show&&(((g=(p=o.nativeButton)==null?void 0:p.icon)==null?void 0:g.position)==="before"||!((C=(k=o.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(S=(w=o.nativeButton)==null?void 0:w.icon)==null?void 0:S.iconClass,type:(M=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:M.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(x=o.nativeButton)!=null&&x.icon&&((N=o.nativeButton)!=null&&N.text)?(e.openBlock(),e.createElementBlock("span",gi,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),(L=(V=o.nativeButton)==null?void 0:V.icon)!=null&&L.show&&((A=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:A.position)==="after"?(e.openBlock(),e.createBlock(r,{key:3,iconClass:(G=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:G.iconClass,type:(me=(D=o.nativeButton)==null?void 0:D.icon)==null?void 0:me.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)}const j=B(Wl,[["render",yi]]),ki={name:"CmdAddressDataItem",mixins:[O],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1}},methods:{vCardClass(t){if(t.type==="company")return"org";if(t.type==="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},inputType(t){return t.type==="phone"?"tel":t.type==="email"?"email":t.type==="url"?"url":"text"},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.type==="phone"?"tel:"+t.href:t.type==="email"?"mailto:"+t.href:t.type==="url"?t.href:null},addHandlerProvider(){const t={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return F(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableAddressEntry;return F(this,{update(n){typeof t=="object"?Object.entries(t).forEach(([o,a])=>n[o]=a):n.href==null?n.data=t:n.href=t}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},Ci={key:1},bi=["href","target","title","data-type"],Bi=["innerHTML"],_i={key:1},wi=["href","title"],xi={class:"street-address"},Ni=e.createElementVNode("br",null,null,-1),Si={key:1,class:"postal-code"},Ti={class:"locality"},Ii=e.createElementVNode("br",null,null,-1),Ei={key:0},Mi={key:4,class:"country-name"},Vi={class:"street-address"},Di=e.createElementVNode("br",null,null,-1),Oi={key:1,class:"postal-code"},Li={class:"locality"},Pi=e.createElementVNode("br",null,null,-1),Fi=e.createElementVNode("br",null,null,-1),Ai={key:4,class:"country-name"},ji={class:"input-wrapper"};function zi(t,n,o,a,i,l){const r=T,s=j,c=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("dt",{class:e.normalizeClass(["cmd-address-data-item",{address:o.addressEntry.type==="address"}])},[o.addressEntry.iconClass&&o.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.addressEntry.iconClass,type:o.addressEntry.iconType,tooltip:o.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),o.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Ci,e.toDisplayString(o.addressEntry.labelText),1)):e.createCommentVNode("",!0)],2),o.addressEntry.type!=="address"&&(o.addressEntry.data||o.addressEntry.href)?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(o.addressEntry))},[t.editing?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:l.inputType(o.addressEntry),class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":n[0]||(n[0]=m=>i.editableAddressEntry=m)},null,8,["type","labelText","placeholder","modelValue"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(o.addressEntry),target:o.addressEntry.type==="url"?"_blank":null,title:o.addressEntry.tooltip,"data-type":o.addressEntry.type},[e.createTextVNode(e.toDisplayString(o.addressEntry.data||o.addressEntry.href),1)],8,bi)),[[c,o.addressEntry.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:o.addressEntry.data},null,8,Bi))],64))],2)):o.addressEntry.name==="address"?(e.openBlock(),e.createElementBlock("dd",_i,[o.linkGoogleMaps&&!t.editing?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(o.addressEntry),target:"google-maps",title:o.addressEntry.tooltip},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xi,e.toDisplayString(o.addressEntry.streetNo),1),Ni],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Si,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Ti,e.toDisplayString(o.addressEntry.city),1),Ii],64)):e.createCommentVNode("",!0),o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),o.addressEntry.country?(e.openBlock(),e.createElementBlock("br",Ei)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Mi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],8,wi)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":n[1]||(n[1]=m=>i.editableAddressEntry.streetNo=m)},null,8,["labelText","placeholder","modelValue"]),e.createElementVNode("div",ji,[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":n[2]||(n[2]=m=>i.editableAddressEntry.zip=m)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":n[3]||(n[3]=m=>i.editableAddressEntry.city=m)},null,8,["labelText","placeholder","modelValue"])]),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":n[4]||(n[4]=m=>i.editableAddressEntry.miscInfo=m)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"select",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":n[5]||(n[5]=m=>i.editableAddressEntry.country=m)},null,8,["labelText","modelValue"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Vi,e.toDisplayString(o.addressEntry.streetNo),1),Di],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Oi,e.toDisplayString(o.addressEntry.zip)+" ",1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Li,e.toDisplayString(o.addressEntry.city),1),Pi],64)):e.createCommentVNode("",!0),o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),Fi],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Ai,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],64))],64))])):e.createCommentVNode("",!0)],64)}const Hi=B(ki,[["render",zi]]),qi={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™ (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)"}}}},fp="",Ri={name:"CmdAddressData",mixins:[O,R,qi],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var t;return(t=this.addressData.website)==null?void 0:t.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.name==="phone"?"tel:"+t.href:t.name==="email"?"mailto:"+t.href:t.name==="url"?t.href:null},updateHandlerProvider(){return F(this,{update(t,n){const o=n==null?void 0:n.find(a=>a.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}},watch:{}},Ui={class:"cmd-address-data vcard"},Gi={class:"adr"},Wi={key:0},Qi=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Zi=["href","target","title"],Ji=["innerHTML"],Yi=["href","title"],Ki={class:"street-address"},Xi=e.createElementVNode("br",null,null,-1),$i={class:"postal-code"},vi={class:"locality"},ea=e.createElementVNode("br",null,null,-1),ta=e.createElementVNode("br",null,null,-1),oa={key:3,class:"country-name"},na={class:"street-address"},la=e.createElementVNode("br",null,null,-1),ia={class:"postal-code"},aa={class:"locality"},sa=e.createElementVNode("br",null,null,-1),ra=e.createElementVNode("br",null,null,-1),ca={key:3,class:"country-name"};function da(t,n,o,a,i,l){var h;const r=E,s=Hi,c=Y,m=T;return e.openBlock(),e.createElementBlock("div",Ui,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(h=o.cmdHeadline)!=null&&h.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",Gi,[o.showLabels&&(o.showLabelTexts||o.showLabelIcons)&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.editModeContext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.addressData.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},Qi)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(c,{key:"x"+f,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:d,componentPath:["props","addressData",f]},{default:e.withCtx(()=>[e.createElementVNode("dl",null,[e.createVNode(s,{addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",Wi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(s,{key:f,addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"]))),128))]))],64)):(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,(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[d.href||d.name==="address"&&d.linkGoogleMaps||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[d.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(d),target:d.name==="url"?"_blank":null,title:d.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(d.href),1)],64))],8,Zi)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.data},null,8,Ji)),d.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[d.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(d),target:"google-maps",title:d.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Ki,e.toDisplayString(d.streetNo),1),Xi],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",$i,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",vi,e.toDisplayString(d.city),1),ea],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ta],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",oa,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64))],8,Yi)):e.createCommentVNode("",!0),!d.linkGoogleMaps&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",na,e.toDisplayString(d.streetNo),1),la],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",ia,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",aa,e.toDisplayString(d.city),1),sa],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ra],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",ca,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])],64))])}const ma=B(Ri,[["render",da]]),ha={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"})}}},ua=["title"];function fa(t,n,o,a,i,l){const r=T;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((...s)=>l.onBackToTop&&l.onBackToTop(...s),["prevent"]))},[e.createVNode(r,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,ua)):e.createCommentVNode("",!0)]),_:1})}const pa=B(ha,[["render",fa]]),yp="",ga={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")}}},ya={class:"cmd-bank-account-data"},ka={key:0},Ca=["onClick","title"],ba={key:1};function Ba(t,n,o,a,i,l){const r=E,s=T;return e.openBlock(),e.createElementBlock("div",ya,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,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,(c,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createElementVNode("dt",null,e.toDisplayString(c.text),1),o.allowCopyByClick&&c.allowCopy?(e.openBlock(),e.createElementBlock("dd",ka,[e.createElementVNode("span",null,e.toDisplayString(c.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(h=>l.copyToClipboard(c.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(s,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Ca)])):(e.openBlock(),e.createElementBlock("dd",{key:m},e.toDisplayString(c.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",ba,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const _a=B(ga,[["render",Ba]]);function v(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Xt(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(v(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const r=new Image;r.onload=()=>{if(r.width<o&&!confirm("width ("+r.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(r.src),typeof i=="function"?i(r.src):i.src=r.src},r.src=URL.createObjectURL(t)}const kp="",wa={name:"CmdImage",mixins:[O],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["jpg","jpeg","png","webp"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,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"}]}},props:{image:{type:Object,required:!1},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:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var o;if(this.newImageSource)return this.newImageSource;const t=(o=this.image)==null?void 0:o.src;if(!t)return null;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},textAlign(){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(){var t;return this.figcaptionText==null?(t=this.figcaption)==null?void 0:t.text:this.figcaptionText},set(t){this.figcaptionText=t}}},methods:{itemProvider(){var n,o;const t=(o=(n=this.editModeConfig)==null?void 0:n.itemProviderOverwrite)==null?void 0:o.call(n);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(t==null?void 0:t.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(t){t.target.files.length>0&&Xt(t.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},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(),Xt(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:$(),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 F(this,{item(){return t}})},updateHandlerProvider(){const t=this.figcaptionText;return this.figcaptionText=null,F(this,{update(n){n.figcaption||(n.figcaption={}),n.figcaption.text=t}})}},watch:{figcaption:{handler(){var t,n,o,a;this.showFigcaption=(t=this.figcaption)==null?void 0:t.show,this.figcaptionText=(n=this.figcaption)==null?void 0:n.text,this.figcaptionPosition=(o=this.figcaption)==null?void 0:o.position,this.figcaptionTextAlign=(a=this.figcaption)==null?void 0:a.textAlign},immediate:!0,deep:!0}}},xa={key:1},Na=e.createElementVNode("span",{class:"icon-image"},null,-1),Sa=["src","alt","title"],Ta=["src","alt","title"],Ia={key:1},Ea=[e.createElementVNode("span",{class:"icon-add"},null,-1),e.createElementVNode("span",null,"Add new image",-1)],Ma={key:0},Va=["src","alt","title"],Da={key:1};function Oa(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k;const r=j,s=Y;return t.editModeContext?(e.openBlock(),e.createBlock(s,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:o.image,figcaption:o.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((c=t.editModeConfig)==null?void 0:c.allowAddItem)!==!1?l.itemProvider:null},{default:e.withCtx(C=>{var w,S,y,M,x,N,V,L,I,A,P,G;return[e.createElementVNode("figure",{class:e.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(w=o.figcaption)!=null&&w.show&&((S=o.figcaption)==null?void 0:S.position)==="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C.editing?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[0]||(n[0]=D=>l.editableFigcaptionText=D)},null,8,["class","modelValue"])):(y=o.figcaption)!=null&&y.text?(e.openBlock(),e.createElementBlock("figcaption",xa,e.toDisplayString((M=o.figcaption)==null?void 0:M.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),C.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",e.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0),{onClick:n[1]||(n[1]=e.withModifiers((...D)=>l.selectFiles&&l.selectFiles(...D),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Na,e.createElementVNode("img",{src:l.imageSource,alt:(x=o.image)==null?void 0:x.alt,title:(N=o.image)==null?void 0:N.tooltip},null,8,Sa)],16),e.createVNode(r,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.imageSource,alt:(V=o.image)==null?void 0:V.alt,title:(L=o.image)==null?void 0:L.tooltip},null,8,Ta)):e.createCommentVNode("",!0),(I=o.figcaption)!=null&&I.show&&((A=o.figcaption)==null?void 0:A.position)!=="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[C.editing?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[2]||(n[2]=D=>l.editableFigcaptionText=D),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=o.figcaption)!=null&&P.text?(e.openBlock(),e.createElementBlock("figcaption",Ia,e.toDisplayString((G=o.figcaption)==null?void 0:G.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),!C.editing&&!l.imageSource?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:n[3]||(n[3]=(...D)=>l.onAddItem&&l.onAddItem(...D))},Ea)):e.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):(e.openBlock(),e.createElementBlock("figure",{key:1,class:e.normalizeClass(["cmd-image",l.textAlign])},[(m=o.figcaption)!=null&&m.show&&((h=o.figcaption)==null?void 0:h.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Ma,e.toDisplayString((d=o.figcaption)==null?void 0:d.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:(f=o.image)==null?void 0:f.alt,title:(u=o.image)==null?void 0:u.tooltip},null,8,Va),(p=o.figcaption)!=null&&p.show&&((g=o.figcaption)==null?void 0:g.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Da,e.toDisplayString((k=o.figcaption)==null?void 0:k.text),1)):e.createCommentVNode("",!0)],2))}const K=B(wa,[["render",Oa]]),Bp="",_p="",La={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(t){return t==="next"||t==="prev"||t==="up"||t==="down"}},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"),{})}}},Pa=["title"];function Fa(t,n,o,a,i,l){const r=T;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(r,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,Pa)}const ce=B(La,[["render",Fa]]),Aa={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"}}}},wp="",xp="",ja={name:"CmdThumbnailScroller",emits:["click"],mixins:[R,Aa,O],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(t){return t==="image"||t==="text"}},executeOnClick:{type:String,default:"fancybox",validator(t){return t==="fancybox"||t==="url"||t==="emit"}},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"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},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("ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{tooltip(){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")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:$(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:$(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},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&&Be({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,deep:!0}}},za={class:"inner-thumbnail-wrapper"},Ha=["href","onClick","title","target"],qa={key:1},Ra={key:1},Ua={key:0},Ga=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function Wa(t,n,o,a,i,l){var h;const r=E,s=ce,c=K,m=T;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":o.useGalleryScroller,"large-icons":o.largeIcons,vertical:o.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(h=o.cmdHeadline)!=null&&h.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",za,[i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{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,(d,f)=>(e.openBlock(),e.createElementBlock("li",{key:f},[t.editModeContext?o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:1,image:d.image,figcaption:d.figcaption,componentPath:["props","thumbnailScrollerItems",f],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.contentType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Ra,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.executeOnClick==="url"?d.url:"#",onClick:u=>l.executeLink(f,u),class:e.normalizeClass([{active:o.activeItemIndex===f},d.id?"item-"+d.id:""]),title:l.tooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:0,image:d.image,figcaption:d.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",qa,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64))],10,Ha))]))),128)),!i.items.length&&o.contentType==="image"?(e.openBlock(),e.createElementBlock("li",Ua,[e.createElementVNode("button",{type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},Ga)])):e.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const $t=B(ja,[["render",Wa]]),Tp="",Ip="",Be=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(vt,{...t,show:!0}).mount(n)},vt=e.defineComponent({name:"CmdFancyBox",mixins:[re],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},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},ariaLabelText(){var t;return(t=this.fancyBoxGallery)!=null&&t.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},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 Qa(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 Qa(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const Za=vt,Ja=["aria-label"],Ya={class:"flex-container"},Ka={key:1,class:"button-wrapper no-flex"},Xa=["title"],$a=["title"],va=["title"],es={key:0,class:"content"},ts=["innerHTML"],os={key:2,class:"content"},ns={key:3,class:"content"},ls={key:4,class:"content"},is={key:0,class:"flex-container no-flex"},as=["title"],ss={key:1},rs=["title"],cs={key:1};function ds(t,n,o,a,i,l){var d,f,u,p,g,k,C,w,S,y,M,x,N,V,L,I,A,P,G,D,me,_,ne,Ko,Xo,$o,vo,en,tn;const r=E,s=T,c=K,m=ce,h=$t;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]=(...W)=>t.onDialogCancel&&t.onDialogCancel(...W))},[e.createElementVNode("header",Ya,[(d=t.cmdHeadline)!=null&&d.show?(e.openBlock(),e.createBlock(r,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(u=t.cmdHeadline)==null?void 0:u.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),(p=t.fancyboxOptions.printButtons)!=null&&p.color||(g=t.fancyboxOptions.printButtons)!=null&&g.grayscale||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",Ka,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)!=null&&k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=t.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(W=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(s,{iconClass:(w=t.fancyboxOptions.printButtons.color)==null?void 0:w.iconClass,type:(S=t.fancyboxOptions.printButtons.color)==null?void 0:S.iconType},null,8,["iconClass","type"])],8,Xa)):e.createCommentVNode("",!0),t.showPrintButtons&&((y=t.fancyboxOptions.printButtons)!=null&&y.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(M=t.fancyboxOptions.printButtons.grayscale)==null?void 0:M.tooltip,onClick:n[1]||(n[1]=e.withModifiers(W=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(s,{iconClass:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,$a)):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((...W)=>t.close&&t.close(...W),["prevent"]))},[e.createVNode(s,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,va)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||(V=t.cmdImage)!=null&&V.image?(e.openBlock(),e.createElementBlock("div",es,[e.createVNode(c,{image:t.largeSingleImage,figcaption:(L=t.cmdImage)==null?void 0:L.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ts)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",os)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ns,[e.createVNode(m,{onClick:e.withModifiers(t.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(c,{image:t.largeGalleryImage,figcaption:t.fancyBoxGallery[t.index].figcaption},null,8,["image","figcaption"]),e.createVNode(m,{onClick:e.withModifiers(t.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",ls,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",is,[(I=t.fancyboxOptions.submitButtons)!=null&&I.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...W)=>t.cancel&&t.cancel(...W)),title:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(G=t.fancyboxOptions.submitButtons.cancel)==null?void 0:G.iconClass,type:(D=t.fancyboxOptions.submitButtons.cancel)==null?void 0:D.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(me=t.fancyboxOptions.submitButtons.cancel)!=null&&me.buttonText?(e.openBlock(),e.createElementBlock("span",ss,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,as)):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons)!=null&&ne.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...W)=>t.confirm&&t.confirm(...W)),title:(Ko=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Ko.tooltip},[(Xo=t.fancyboxOptions.submitButtons.confirm)!=null&&Xo.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:($o=t.fancyboxOptions.submitButtons.confirm)==null?void 0:$o.iconClass,type:(vo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:vo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(en=t.fancyboxOptions.submitButtons.confirm)!=null&&en.buttonText?(e.openBlock(),e.createElementBlock("span",cs,e.toDisplayString((tn=t.fancyboxOptions.submitButtons.confirm)==null?void 0:tn.buttonText),1)):e.createCommentVNode("",!0)],8,rs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(h,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,Ja)])}const ms=B(Za,[["render",ds]]),hs={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[O],data(){return{editableText:this.link.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const t=this.editableText;return F(this,{update(n){n.text=t}})},getRoute(t){return getRoute(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Be({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},us={key:0,class:"cmd-list-of-links-item"},fs=["href","target","title"],ps={key:1},gs={key:1},ys={key:1,class:"input-wrapper"};function ks(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link"),c=j;return t.editing?(e.openBlock(),e.createElementBlock("div",ys,[e.createVNode(c,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":n[1]||(n[1]=m=>i.editableText=m)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock("li",us,[o.link.type==="href"||o.link.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,target:o.link.target,onClick:n[0]||(n[0]=m=>l.executeLink(o.link,m)),title:o.link.tooltip&&o.link.tooltip!==void 0?o.link.tooltip:void 0},[o.link.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.link.iconClass,type:o.link.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.link.text?(e.openBlock(),e.createElementBlock("span",ps,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)],8,fs)):o.link.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(o.link),title:o.link.tooltip},{default:e.withCtx(()=>[o.link.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.link.iconClass,type:o.link.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.link.text?(e.openBlock(),e.createElementBlock("span",gs,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to","title"])):e.createCommentVNode("",!0)]))}const Cs=B(hs,[["render",ks]]),Ep="",bs={name:"CmdListOfLinks",emits:["click"],mixins:[O],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(t){return t==="horizontal"||t==="vertical"}}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return F(this,{update(t,n){const o=n==null?void 0:n.find(a=>a.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}}},Bs={key:1},_s=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)];function ws(t,n,o,a,i,l){var m;const r=E,s=Cs,c=Y;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}])},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,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])},[t.editModeContext?(e.openBlock(),e.createElementBlock("li",Bs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(h,d)=>(e.openBlock(),e.createBlock(c,{key:"x"+d,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:h,allowedComponentTypes:[],componentPath:["props","links",d],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createVNode(s,{class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:h},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),o.links.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...h)=>l.onAddItem&&l.onAddItem(...h))},_s)):e.createCommentVNode("",!0)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.links,(h,d)=>(e.openBlock(),e.createBlock(s,{key:d,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:h},null,8,["class","link"]))),128))],2)],2)}const eo=B(bs,[["render",ws]]),xs={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"}}}},Ns={props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}},Dp="",Je={name:"CmdBox",mixins:[R,xs,Ns],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(t){return t==="content"||t==="product"||t==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"100rem"},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},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(t){return t==="business"||t==="influencer"||t==="dating"}},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}},mounted(){if(this.allowContentToScroll&&this.$refs.boxBody){const t=this.$refs.boxBody.getBoundingClientRect().top;this.calculatedBodyHeight=document.documentElement.clientHeight-t+"px"}},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)},setFocus(){this.$nextTick(()=>{if(this.open){const t=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");t&&t.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},to=()=>{e.useCssVars(t=>({"29b0cfc8":t.cutoffTextLines}))},oo=Je.setup;Je.setup=oo?(t,n)=>(to(),oo(t,n)):to;const Ss=["title"],Ts={key:0,class:"box-header"},Is=["src","alt"],Es={key:1},Ms={key:2,class:"box-footer"},Vs={class:"box-header flex-container vertical"},Ds={key:0},Os=["src","alt"],Ls={key:1},Ps={key:2,class:"ribbon-new"},Fs={key:3,class:"ribbon-discount"},As={class:"box-body"},js={key:0},zs={key:1,class:"price"},Hs=["title"],qs={key:2},Rs={class:"box-header flex-container vertical"},Us={key:0},Gs=["src","alt"],Ws={key:0},Qs={key:1},Zs=["title"],Js={key:0},Ys={class:"box-body"},Ks={key:0},Xs={key:1},$s={key:2},vs={key:3,class:"description"},er={key:0,class:"tags"},tr={key:1,class:"box-footer"};function or(t,n,o,a,i,l){var m,h,d,f,u,p,g,k,C;const r=E,s=T,c=eo;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"cmdBox",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((...w)=>l.toggleContentVisibility&&l.toggleContentVisibility(...w),["prevent"]))},[(m=o.useSlots)!=null&&m.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(h=o.cmdHeadline)!=null&&h.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,Ss)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(d=o.useSlots)!=null&&d.includes("header")||(f=o.cmdHeadline)!=null&&f.headlineText?(e.openBlock(),e.createElementBlock("div",Ts,[(u=o.useSlots)!=null&&u.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(p=o.cmdHeadline)!=null&&p.headlineText?(e.openBlock(),e.createBlock(r,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",o.boxBodyClass]),"aria-expanded":"true",role:"article"},[(g=o.useSlots)!=null&&g.includes("body")?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll}),ref:"boxBody",style:e.normalizeStyle("max-height: "+i.calculatedBodyHeight)},[e.renderSlot(t.$slots,"body",{},()=>[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((...w)=>l.toggleCutOffText&&l.toggleCutOffText(...w),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])])],6)):(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,Is)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll})},[(k=o.cmdHeadline)!=null&&k.headlineText&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Es,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)],2)],64))],2),[[e.vShow,i.open]]),(C=o.useSlots)!=null&&C.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ms,[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(w=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Vs,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ds,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Os),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Ls,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Ps,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Fs,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",As,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",js,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",zs,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Hs)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",qs,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",Rs,[o.user.image?(e.openBlock(),e.createElementBlock("figure",Us,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,Gs),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",Ws,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Qs,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,Zs),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",Js,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",Ys,[o.rowView?(e.openBlock(),e.createElementBlock("p",Ks,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",Xs,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",$s,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",vs,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),o.user.tags&&o.user.tags.length?(e.openBlock(),e.createElementBlock("ul",er,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(w,S)=>(e.openBlock(),e.createElementBlock("li",{key:S},e.toDisplayString(w),1))),128))])):e.createCommentVNode("",!0),o.user.links&&o.user.links.length?(e.openBlock(),e.createElementBlock("div",tr,[e.createVNode(c,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const no=B(Je,[["render",or]]),Op="",Lp="",Ye={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},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},allowMultipleExpandedBoxes:{type:Boolean,default:!0},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:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(t){return this.currentOpenBox.includes(t)},boxIsToggled(t){alert(t)},boxesPerRowResponsive(t,n){return 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){if(this.allowMultipleExpandedBoxes)if(n)this.currentOpenBox.push(t);else{let o=this.currentOpenBox.indexOf(t);this.currentOpenBox.splice(o,1)}else this.currentOpenBox=[],n&&this.currentOpenBox.push(t)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},lo=()=>{e.useCssVars(t=>({"4018ee97":t.boxesPerRowLarge,"762870ce":t.boxesPerRowMedium,"4080c863":t.boxesPerRowSmall}))},io=Ye.setup;Ye.setup=io?(t,n)=>(lo(),io(t,n)):lo;const nr={class:"cmd-box-wrapper"},lr={key:0,class:"flex-container headline-wrapper"},ir={key:1,class:"options-wrapper"},ar=["title"],sr=["title"];function rr(t,n,o,a,i,l){const r=E,s=T;return e.openBlock(),e.createElementBlock("div",nr,[o.cmdHeadline.headlineText||o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",lr,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",ir,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...c),["prevent"])),title:i.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(s,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ar)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...c)=>l.toggleOrientation&&l.toggleOrientation(...c),["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(s,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,sr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["inner-box-wrapper",o.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!o.useGap,"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:n[2]||(n[2]=(...c)=>l.boxIsToggled&&l.boxIsToggled(...c))})],2)])}const cr=B(Ye,[["render",rr]]);function ee(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 Pp="",dr={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return ee(t)}}},mr={class:"cmd-breadcrumbs"},hr={key:0},ur=["href"],fr={key:1},pr={key:1},gr={key:2},yr={key:1},kr={key:3};function Cr(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",mr,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",hr,e.toDisplayString(o.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.breadcrumbLinks||[],(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path},[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",fr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)],8,ur)):c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c)},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",pr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",gr,[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",yr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)])),m<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",kr,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const br=B(dr,[["render",Cr]]),Fp="",Ap="",Br={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 ee(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"}}},_r={class:"cmd-company-logo company-logo"},wr=["href","title"];function xr(t,n,o,a,i,l){var c,m,h,d,f,u;const r=K,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",_r,[((c=o.link)==null?void 0:c.type)==="router"?(e.openBlock(),e.createBlock(s,{key:0,to:(m=o.link)==null?void 0:m.path,title:(h=o.link)==null?void 0:h.tooltip},{default:e.withCtx(()=>[e.createVNode(r,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):((d=o.link)==null?void 0:d.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(u=o.link)==null?void 0:u.tooltip},[e.createVNode(r,{image:l.image},null,8,["image"])],8,wr)):(e.openBlock(),e.createBlock(r,{key:2,image:l.image},null,8,["image"]))])}const ao=B(Br,[["render",xr]]),jp="",Nr={name:"CmdContainer",mixins:[O],methods:{addHandlerProvider(){return""}}},Sr={class:"cmd-container"};function Tr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Sr,[e.renderSlot(t.$slots,"default")])}const Ir=B(Nr,[["render",Tr]]),Er={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!"}}}},zp="",Mr={name:"CmdCookieDisclaimer",mixins:[R,Er],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,r;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let s=0;s<n.length;s++)t.push(n[s].value);const o=(r=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:r.cookies;if(o)for(let s=0;s<o.length;s++)t.push(o[s].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}))}}},Vr={class:"cmd-cookie-disclaimer flex-container vertical"},Dr={key:0,class:"flex-container vertical"},Or={key:0},Lr={key:1},Pr=["href","target"],Fr=["innerHTML"],Ar=e.createElementVNode("hr",null,null,-1),jr={key:1,class:"flex-container vertical"},zr={key:0},Hr={key:1},qr=["href","target"],Rr=["innerHTML"],Ur={class:"button-wrapper align-center"};function Gr(t,n,o,a,i,l){const r=E,s=j,c=no;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var m,h,d;return[e.createElementVNode("div",Vr,[(m=o.cmdHeadlineCookieDisclaimer)!=null&&m.show&&((h=o.cmdHeadlineCookieDisclaimer)!=null&&h.headlineText)&&((d=o.cmdHeadlineCookieDisclaimer)!=null&&d.headlineLevel)?(e.openBlock(),e.createBlock(r,{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,u,p,g,k,C,w,S;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Dr,[(u=o.cmdBoxRequiredCookies)!=null&&u.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(p=o.cmdBoxRequiredCookies)==null?void 0:p.headlineText,"headline-level":(g=o.cmdBoxRequiredCookies)==null?void 0:g.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(y,M)=>{var x;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(x=o.cmdBoxRequiredCookies)==null?void 0:x.collapsible,key:M},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=N=>l.acceptedCookies=N),inputValue:y.value,labelText:y.labelText,disabled:y.disabled,id:y.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[y.description?(e.openBlock(),e.createElementBlock("p",Or,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Lr,[e.createTextVNode(e.toDisplayString(y.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:y.linkDataPrivacy.link,target:y.linkDataPrivacy.target},e.toDisplayString(y.linkDataPrivacy.linkText),9,Pr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Fr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Ar,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",jr,[(C=o.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(w=o.cmdBoxOptionalCookies)==null?void 0:w.headlineText,"headline-level":(S=o.cmdBoxOptionalCookies)==null?void 0:S.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(y,M)=>{var x;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(x=o.cmdBoxOptionalCookies)==null?void 0:x.collapsible,key:M},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=N=>l.acceptedCookies=N),inputValue:y.value,labelText:y.labelText,disabled:y.disabled,id:y.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[y.description?(e.openBlock(),e.createElementBlock("p",zr,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Hr,[e.createTextVNode(e.toDisplayString(y.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:y.linkDataPrivacy.link,target:y.linkDataPrivacy.target},e.toDisplayString(y.linkDataPrivacy.linkText),9,qr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Rr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Ur,[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 Wr=B(Mr,[["render",Gr]]),Hp="",Qr={name:"CmdCopyrightWrapper"},Zr={class:"cmd-copyright-information",role:"contentinfo"},Jr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function Yr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Zr,Jr)}const Kr=B(Qr,[["render",Yr]]),Xr={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"}}}},Rp="",Up="",$r={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[R,Xr,Ge,re,Ze],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:null,allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(t){return t==="default"||t==="color"||t==="country"||t==="content"||t==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(t){return t==="href"||t==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},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},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},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&&t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},vr=["title","aria-labelledby","aria-required"],ec={key:0,class:"label-text"},tc=["id"],oc={key:0},nc=["title","aria-errormessage","id"],lc=["aria-expanded"],ic=["title"],ac=["src","alt"],sc={key:0,role:"listbox"},rc=["aria-selected"],cc=["onClick","title"],dc={key:1},mc=["aria-expanded"],hc=["for"],uc=["value","checked","id"],fc=["onClick"],pc=["src","alt"],gc=["onClick"],yc={key:0,class:"select-all-options"};function kc(t,n,o,a,i,l){var m,h,d,f;const r=T,s=Ue,c=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",ec,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",oc,"*")):e.createCommentVNode("",!0)],8,tc),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,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(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nc)):e.createCommentVNode("",!0),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,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)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...u)=>l.closeOptions&&l.closeOptions(...u)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.toggleOptions&&l.toggleOptions(...u),["prevent"])),onBlur:n[2]||(n[2]=(...u)=>l.onBlur&&l.onBlur(...u)),title:(m=l.optionIcon)==null?void 0:m.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,ac)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(h=l.optionIcon)!=null&&h.iconClass?(e.openBlock(),e.createBlock(r,{key:2,type:(d=l.optionIcon)==null?void 0:d.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(r,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,ic),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",sc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,role:"option","aria-selected":u.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue}),title:u.tooltip},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",dc,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0)],10,cc)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(u.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,rc))),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,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(p+1),class:e.normalizeClass({active:o.modelValue.includes(`${u.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:u.value,onChange:n[3]||(n[3]=(...g)=>l.optionSelect&&l.optionSelect(...g)),checked:l.compareValues(u.value),id:"option-"+(p+1)},null,40,uc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,hc)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(u.value),alt:u.text},null,8,pc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,fc)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+u.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,gc)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",yc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...u)=>l.toggleAllOptions&&l.toggleAllOptions(...u),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(r,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(r,{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,mc)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,lc)],10,vr)}const so=B($r,[["render",kc]]),Gp="",Cc={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},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},submitButton:{type:Object,default(){return{iconClass:"icon-check",text:"Submit"}}}},methods:{createHtmlId:We,submitFormData(t){let n={};this.formElements.forEach(o=>{n[o.name]=this.formValues[o.name]}),this.$emit("submit",{originalEvent:t,formdata:n})},onSubmit(t){this.useValidation?t.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(t)):(t.preventDefault(),this.errorOccurred=!0):this.submitFormData(t)}},watch:{formElements:{handler(){var t;this.formValues={},(t=this.formElements)==null||t.forEach(n=>{n.type==="checkbox"?(this.formValues[n.name]||(this.formValues[n.name]=[]),n.value!=null&&this.formValues[n.name].push(n.value)):this.formValues[n.name]=n.value??""})},immediate:!0,deep:!0}}},bc=["data-use-validation","novalidate"],Bc={class:"flex-container"},_c={key:2,class:"button",type:"submit"},wc={key:1};function xc(t,n,o,a,i,l){const r=j;return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...s)=>l.onSubmit&&l.onSubmit(...s)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Bc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.formElements,(s,c)=>(e.openBlock(),e.createBlock(r,{key:c,element:s.element||"input",type:s.type||"text",name:s.name,class:e.normalizeClass(s.htmlClass),id:s.id||l.createHtmlId(),modelValue:i.formValues[s.name],"onUpdate:modelValue":m=>i.formValues[s.name]=m,inputValue:s.inputValue,fieldIconClass:s.innerIconClass,selectOptions:s.selectOptions,labelText:s.labelText,placeholder:s.placeholder,required:s.required,disabled:s.disabled,autocomplete:s.autocomplete,minlength:s.minlength,maxlength:s.maxlength,nativeButton:s.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),o.submitButton?(e.openBlock(),e.createElementBlock("button",_c,[o.submitButton.iconClass?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(o.submitButton.iconClass)},null,2)):e.createCommentVNode("",!0),o.submitButton.text?(e.openBlock(),e.createElementBlock("span",wc,e.toDisplayString(o.submitButton.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,bc)}const Nc=B(Cc,[["render",xc]]),Wp="",Sc={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(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}}},Tc={key:0,class:"cmd-form-filters"},Ic={key:0},Ec={key:1},Mc=["onClick","title"];function Vc(t,n,o,a,i,l){const r=T;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Tc,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Ic,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.deleteAllFilters&&l.deleteAllFilters(...s),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(r,{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",Ec,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.deleteClickedFilter(c),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(s)),1),e.createVNode(r,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Mc)]))),128))])):e.createCommentVNode("",!0)}const ro=B(Sc,[["render",Vc]]),Qp="",Dc={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"}}},Oc={class:"cmd-google-maps responsive-wrapper"},Lc=["src"];function Pc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Oc,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Lc)])}const Fc=B(Dc,[["render",Pc]]),Zp="",Ac={name:"CmdImageGallery",mixins:[O],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(t){return t==="top"||t==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(t){const n={...t.figcaption};return this.figcaptionPosition&&(n.position=this.figcaptionPosition),n},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","images",-1),this.itemProvider)},showFancyBox(t){Be({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const t=this.editableHtmlContent;return F(this,{update(n,o){n.htmlContent=t;const a=o==null?void 0:o.find(i=>i.name==="CmdHeadline");a&&(n.cmdHeadline=n.cmdHeadline||{},a.update(n.cmdHeadline))}})}}},jc={class:"grid-container-create-columns cmd-image-gallery"},zc=["onClick","title"],Hc=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new gallery-image",-1)];function qc(t,n,o,a,i,l){var c;const r=E,s=K;return e.openBlock(),e.createElementBlock("div",jc,[(c=o.cmdHeadline)!=null&&c.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editModeContext?o.images.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createBlock(s,{key:h,class:"image-wrapper",image:m.image,figcaption:m.figcaption,componentPath:["props","images",h],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(e.openBlock(),e.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...m)=>l.onAddItem&&l.onAddItem(...m))},Hc)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:h,href:"#",onClick:e.withModifiers(d=>l.showFancyBox(h),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(s,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])],8,zc))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createElementBlock("div",{key:`i${h}`,class:"image-wrapper"},[e.createVNode(s,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])]))),128))],64))])}const Rc=B(Ac,[["render",qc]]),Kp="",Uc={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`,co(this,t)})},onMouseMove(t){co(this,t)},onMouseOut(){this.showLargeImage=!1}}};function co(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,r=n.target.getBoundingClientRect().height,s=a.getBoundingClientRect().width,c=a.getBoundingClientRect().height,m=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,h=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,d=Math.min(l,o.getBoundingClientRect().width/s*l),f=Math.min(r,o.getBoundingClientRect().height/c*r),u=mo(m-d/2,0,l-d),p=mo(h-f/2,0,r-f),g=-(u*(s/l)),k=-(p*(c/r));i.style.left=`${u}px`,i.style.top=`${p}px`,i.style.width=`${d}px`,i.style.height=`${f}px`,i.style.display="block",a.style.marginLeft=`${g}px`,a.style.marginTop=`${k}px`}function mo(t,n,o){return t<n?n:t>o?o:t}const Gc={class:"cmd-imagezoom flex-container"},Wc=["title"],Qc=["src","alt"],Zc={key:0,class:"zoom-container"},Jc=["src","alt"],Yc={key:1,class:"zoom-overlay"};function Kc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Gc,[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]=(...r)=>l.onMouseOver&&l.onMouseOver(...r)),onMousemove:n[1]||(n[1]=(...r)=>l.onMouseMove&&l.onMouseMove(...r)),onMouseout:n[2]||(n[2]=(...r)=>l.onMouseOut&&l.onMouseOut(...r))},null,40,Qc)],8,Wc),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zc,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Jc)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Yc)):e.createCommentVNode("",!0)])}const Xc=B(Uc,[["render",Kc]]),Xp="",$c={mixins:[Ge,re,Ze],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(t){return t==="checkbox"||t==="radio"}},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},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}}},vc=["aria-labelledby"],ed={class:"label-text"},td=["id"],od={key:0},nd=["title","aria-errormessage","id"],ld=["for"],id=["type","id","name","value","disabled"],ad={key:1,class:"label-text"},sd={key:1,class:"flex-container no-flex"};function rd(t,n,o,a,i,l){const r=T,s=Ue;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",ed,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",od,"*")):e.createCommentVNode("",!0)],8,td),(o.required||t.inputRequirements.length>0)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nd)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,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)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",sd,[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,(c,m)=>(e.openBlock(),e.createElementBlock("label",{key:m,for:c.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:c.id,name:c.name,value:c.value,"onUpdate:modelValue":n[1]||(n[1]=h=>l.inputValue=h),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,id),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.labelText?(e.openBlock(),e.createElementBlock("span",ad,e.toDisplayString(c.labelText),1)):e.createCommentVNode("",!0)],8,ld))),128))],2))],10,vc)}const cd=B($c,[["render",rd]]),$p="",dd={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:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return ee(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()}}},md={class:"cmd-login-form flex-container"},hd={class:"flex-container"},ud={class:"option-wrapper flex-container"},fd={key:1},pd=["href"],gd={key:1},yd={key:1},kd=["type","disabled"],Cd={key:1},bd={class:"cmd-login-form flex-container"},Bd={class:"option-wrapper flex-container"},_d={key:1},wd=["type","disabled"],xd={key:1};function Nd(t,n,o,a,i,l){var h,d,f,u,p,g,k;const r=E,s=j,c=T,m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",md,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",hd,[e.createVNode(s,{element:"input",type:"text",ref:"username",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=C=>l.username=C),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>l.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(s,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=C=>l.password=C),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>l.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",ud,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers((...C)=>l.toggleSendLoginView&&l.toggleSendLoginView(...C),["prevent"]))},[(h=o.options.forgotPassword.icon)!=null&&h.show&&((d=o.options.forgotPassword.icon)!=null&&d.iconClass)?(e.openBlock(),e.createBlock(c,{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",fd,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&&f.show&&((u=o.options.createAccount.icon)!=null&&u.iconClass)?(e.openBlock(),e.createBlock(c,{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",gd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,pd)):o.options.createAccount&&o.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(m,{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(c,{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),e.createTextVNode(" /> "),o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",yd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>l.onClick&&l.onClick(...C)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(c,{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",Cd,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,kd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",bd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,{ref:"sendPassword",element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>l.checkValidationStatus(C,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>i.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Bd,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers((...C)=>l.toggleSendLoginView&&l.toggleSendLoginView(...C),["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(c,{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",_d,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},[(p=o.buttons.sendLogin.icon)!=null&&p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(g=o.buttons.sendLogin.icon)==null?void 0:g.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",xd,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,wd)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Sd=B(dd,[["render",Nd]]),vp="",eg="",Td={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},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(t){return t==="right"||t==="left"}},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"}},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 ee(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})}}},Id={key:0,class:"close-nav"},Ed=["href","title","target","onClick"],Md={key:1},Vd={key:1},Dd=["aria-expanded"],Od=["href","title","target","onClick"],Ld={key:1},Pd={key:1},Fd=["aria-expanded"],Ad=["href","title","target","onClick"],jd={key:1},zd={key:1};function Hd(t,n,o,a,i,l){const r=T,s=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",Id,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...c),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(r,{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,(c,m)=>{var h,d,f;return e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:c.active,open:i.openEntry===m,"has-subentries":(h=c==null?void 0:c.subentries)==null?void 0:h.length})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:u=>l.executeLink(u,c,m),onMouseover:n[1]||(n[1]=u=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=u=>l.closeAllSubentries())},[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Md,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),(d=c==null?void 0:c.subentries)!=null&&d.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Ed)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),c.subentries&&c.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=c==null?void 0:c.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(c.subentries,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,class:e.normalizeClass({open:i.openSubentry===p})},[u.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:u.path,title:u.tooltip,target:u.target,onClick:g=>l.executeLink(g,u,p,1),onMouseover:n[3]||(n[3]=g=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=g=>l.closeAllSubentries(1))},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Ld,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Od)):e.createCommentVNode("",!0),u.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(u),title:u.tooltip},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Pd,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),u.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.subentries,(g,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:C=>l.executeLink(C,g)},[g.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",jd,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,Ad)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(g),target:g.target},{default:e.withCtx(()=>[g.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",zd,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.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,Fd)):e.createCommentVNode("",!0)],2))),128))],8,Dd)):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((...c)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...c),["prevent"]))},[e.createVNode(r,{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 ho=B(Td,[["render",Hd]]),tg="",og="",qd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return ee(t)}}},Rd=["href","onClick","title"],Ud={key:0,class:"number"},Gd={key:2},Wd={key:0,class:"number"},Qd={key:2},Zd=["type","name","title","formaction","onClick"],Jd={key:0,class:"number"},Yd={key:2};function Kd(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:i.activeLink===m})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,onClick:e.withModifiers(h=>l.clickedStep(h,m),["stop","prevent"]),title:c.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Ud,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Gd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Rd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Qd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),c.type==="button"||c.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:c.type,name:c.name,title:c.tooltip,formaction:c.formaction,onClick:e.withModifiers(h=>l.clickedStep(h,m),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Jd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Zd)):e.createCommentVNode("",!0)],2))),128))],2)}const Xd=B(qd,[["render",Kd]]),ng="";function uo(t,n,o,a=!0){function i(l,r){return r&&l<10?"0"+l:l}return(l,r)=>{if(o){let s=l,c=n;return s>12&&(s-=12,c=o),i(s,a)+t+i(r,!0)+c}return i(l,a)+t+i(r,!0)+n}}const $d={name:"CmdOpeningHoursItem",mixins:[O],data(){return{editableDay:{}}},props:{day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(t){t==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):uo(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableDay;return F(this,{update(n){n.day=t.day,n.am||(n.am={}),n.am.fromTime=t.amFrom,n.am.tillTime=t.amTill,n.am.displayText=t.amClosed?t.amDisplayText:"",n.pm||(n.pm={}),n.pm.fromTime=t.pmFrom,n.pm.tillTime=t.pmTill,n.pm.displayText=t.pmClosed?t.pmDisplayText:""}})}},watch:{day:{handler(){const t=uo(":","","",!0);this.editableDay={day:this.day.day,amFrom:t(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:t(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:t(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:t(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},vd={class:"cmd-opening-hours-item"},em={key:0,class:"am"},tm={key:1,class:"pm"},om={class:"flex-container no-flex"},nm={class:"flex-container no-flex am-wrapper"},lm={key:1,class:"input-wrapper"},im=["title"],am={class:"flex-container no-flex pm-wrapper"},sm={key:1,class:"input-wrapper"},rm=["title"];function cm(t,n,o,a,i,l){const r=j;return t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("dt",null,[e.createVNode(r,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":n[0]||(n[0]=s=>i.editableDay.day=s)},null,8,["modelValue"])]),e.createElementVNode("dd",om,[e.createElementVNode("div",nm,[i.editableDay.amClosed?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":n[1]||(n[1]=s=>i.editableDay.amDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.amClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lm,[e.createVNode(r,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":n[2]||(n[2]=s=>i.editableDay.amFrom=s)},null,8,["modelValue"]),e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":n[3]||(n[3]=s=>i.editableDay.amTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers(s=>l.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,im)]),e.createElementVNode("div",am,[i.editableDay.pmClosed?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":n[5]||(n[5]=s=>i.editableDay.pmDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.pmClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sm,[e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":n[6]||(n[6]=s=>i.editableDay.pmFrom=s)},null,8,["modelValue"]),e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":n[7]||(n[7]=s=>i.editableDay.pmTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(s=>l.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,rm)])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",vd,e.toDisplayString(o.day.day),1),e.createElementVNode("dd",null,[o.day.am?(e.openBlock(),e.createElementBlock("span",em,[o.day.am.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.am.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.am.fromTime,o.abbreviationTextAm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.am.tillTime)),1)],64))])):e.createCommentVNode("",!0),o.day.pm?(e.openBlock(),e.createElementBlock("span",tm,[o.day.pm.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.pm.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.pm.fromTime,o.abbreviationTextPm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.pm.tillTime)),1)],64))])):e.createCommentVNode("",!0)])],64))}const dm=B($d,[["render",cm]]),lg="";function mm(t,n,o,a=!0){function i(l,r){return r&&l<10?"0"+l:l}return(l,r)=>{if(o){let s=l,c=n;return s>12&&(s-=12,c=o),i(s,a)+t+i(r,!0)+c}return i(l,a)+t+i(r,!0)+n}}const hm={name:"CmdOpeningHours",mixins:[O],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},link:{type:Object,required:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].am.fromTime.split(/[:.]/),i=this.openingHours[n].am.tillTime.split(/[:.]/),l=this.openingHours[n].pm.fromTime.split(/[:.]/),r=this.openingHours[n].pm.tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.am={...this.openingHours[n].am},o.am.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},o.pm={...this.openingHours[n].pm},o.pm.fromTime={hours:parseInt(l[0]),mins:parseInt(l[1])},o.pm.tillTime={hours:parseInt(r[0]),mins:parseInt(r[1])},t.push(o)}return t},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(t){this.editableTextOpen=t}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(t){this.editableTextClosed=t}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(t){this.editableTextHolidays=t}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(t){this.editableTextMiscInfo=t}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},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.am.fromTime.hours,n.am.fromTime.mins);const a=new Date;a.setHours(n.am.tillTime.hours,n.am.tillTime.mins);const i=new Date;i.setHours(n.pm.fromTime.hours,n.pm.fromTime.mins);const l=new Date;if(l.setHours(n.pm.tillTime.hours,n.pm.tillTime.mins),o<=this.currentTime&&this.currentTime<=a&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):mm(":"," hrs","",!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableOpeningHours,n=this.editableTextOpen,o=this.editableTextClosed,a=this.editableTextHolidays,i=this.editableTextMiscInfo;return F(this,{update(l,r){l.openingHours=t,l.textOpen=n,l.textClosed=o,l.textHolidays=a,l.textMiscInfo=i;const s=r==null?void 0:r.find(c=>c.name==="CmdHeadline");s&&(l.cmdHeadline=l.cmdHeadline||{},s.update(l.cmdHeadline))}})}}},um={class:"cmd-opening-hours"},fm=["href"],pm={key:2,class:"flex-container"},gm={key:3},ym=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],km={class:"edit-mode-opening-hours-item"},Cm={key:6},bm={key:0},Bm={key:1},_m={key:7,class:"flex-container vertical"};function wm(t,n,o,a,i,l){var d,f,u;const r=E,s=e.resolveComponent("router-link"),c=j,m=dm,h=Y;return e.openBlock(),e.createElementBlock("div",um,[(d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",pm,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":n[0]||(n[0]=p=>l.textOpenModel=p)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":n[1]||(n[1]=p=>l.textClosedModel=p)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link&&((f=o.link)!=null&&f.path)&&((u=o.link)!=null&&u.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[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,fm)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(s,{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:1,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3))],64)),t.editModeContext?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("dl",gm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(m,{key:g,day:p,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"]))),128))])),l.openingHoursFormatted.length===0?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm small",onClick:n[2]||(n[2]=(...p)=>l.onAddItem&&l.onAddItem(...p))},ym)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(h,{key:"x"+g,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:p,allowedComponentTypes:[],componentPath:["props","openingHours",g],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createElementVNode("dl",km,[e.createVNode(m,{day:p,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),!t.editing&&(o.textHolidays||o.textMiscInfo)?(e.openBlock(),e.createElementBlock("div",Cm,[o.textHolidays?(e.openBlock(),e.createElementBlock("p",bm,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidays),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Bm,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",_m,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":n[3]||(n[3]=p=>l.textHolidaysModel=p)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":n[4]||(n[4]=p=>l.textMiscInfoModel=p)},null,8,["modelValue"])])):e.createCommentVNode("",!0)])}const xm=B(hm,[["render",wm]]),Nm={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},sg="",rg="",Sm={name:"CmdPager",mixins:[R,Nm],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",validator(t){return t==="href"||t==="button"}},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)}}},Tm={class:"cmd-pager"},Im=["href","title"],Em={key:0},Mm={class:"page-index"},Vm={class:"flex-container"},Dm=["href","title","onClick"],Om=["href","title"],Lm={key:0};function Pm(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createElementBlock("div",Tm,[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((...s)=>l.previousPage&&l.previousPage(...s),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(r,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",Em,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,Im),e.createElementVNode("div",Mm,[e.createElementVNode("div",Vm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(s,c)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(s),class:e.normalizeClass({disabled:i.currentPage===c+1,button:o.linkType==="button",hidden:!o.showPageNumbers}),title:i.currentPage!==c+1?t.getMessage("cmdpager.tooltip.go_to_page",c+1):t.getMessage("cmdpager.tooltip.not_possible"),key:c,onClick:e.withModifiers(m=>l.showPage(s),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(c+1),1)],10,Dm))),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((...s)=>l.nextPage&&l.nextPage(...s),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Lm,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Om)])}const Fm=B(Sm,[["render",Pm]]),cg="",Am={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}}},jm=["for"],zm={class:"progressbar"},Hm={key:0},qm=["id","value"];function Rm(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",zm,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Hm,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,qm)])],8,jm)}const Um=B(Am,[["render",Rm]]),dg="",Gm={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-single-arrow-left":"icon-single-arrow-right":this.open?"icon-single-arrow-right":"icon-single-arrow-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},Wm={class:"inner-sidebar-wrapper"},Qm={key:1,class:"open-slot-wrapper"},Zm={key:2,class:"closed-slot-wrapper"},Jm=["title"];function Ym(t,n,o,a,i,l){var s;const r=E;return e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:o.styledAsBox,"collapse-to-right":!o.collapseToLeft}])},[e.createElementVNode("div",Wm,[(s=o.cmdHeadline)!=null&&s.headlineText&&i.open?(e.openBlock(),e.createBlock(r,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel||3,textAlign:o.cmdHeadline.textAlign,class:"sidebar-main-headline"},null,8,["headlineText","headlineLevel","textAlign"])):e.createCommentVNode("",!0),i.open?(e.openBlock(),e.createElementBlock("div",Qm,[e.renderSlot(t.$slots,"open",{openBoxStatus:i.open})])):(e.openBlock(),e.createElementBlock("div",Zm,[e.renderSlot(t.$slots,"closed",{openBoxStatus:i.open})]))]),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleSidebar&&l.toggleSidebar(...c),["prevent"]))},[e.createElementVNode("span",{class:e.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,Jm)):e.createCommentVNode("",!0)],2)}const Km=B(Gm,[["render",Ym]]),mg="",hg="",Xm={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(t){return t==="horizontal"||t==="vertical"}}}},$m={class:"cmd-site-footer"};function vm(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",$m,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const eh=B(Xm,[["render",vm]]),ug="",fg="",th={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)}}},oh={key:0,class:"top-header"};function nh(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k;const r=ao,s=ho;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((c=o.cmdMainNavigation)==null?void 0:c.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",oh,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((h=(m=o.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:h.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=(d=o.cmdMainNavigation)==null?void 0:d.navigationEntries)!=null&&f.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),(p=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length&&o.navigationInline?(e.openBlock(),e.createBlock(s,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,stretchMainItems:o.cmdMainNavigation.stretchMainItems,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","stretchMainItems","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),(k=(g=o.cmdMainNavigation)==null?void 0:g.navigationEntries)!=null&&k.length&&!o.navigationInline?(e.openBlock(),e.createBlock(s,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,stretchMainItems:o.cmdMainNavigation.stretchMainItems,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","stretchMainItems","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const lh=B(th,[["render",nh]]),ih={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"}}}},pg="",ah={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[R,ih],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},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1},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&&t.selectOptions&&((n=this.cmdFormElementRadius)!=null&&n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},sh={class:"cmd-box-site-search flex-container"},rh={class:"flex-container align-bottom"},ch={class:"input-wrapper align-bottom"},dh={key:0},mh={key:1},hh={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function uh(t,n,o,a,i,l){var d,f,u,p,g,k,C,w;const r=E,s=j,c=T,m=so,h=ro;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",sh,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",rh,[e.createVNode(s,{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]=S=>l.searchValue1=S)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",ch,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(s,{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]=S=>l.searchValue2=S)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(s,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=S=>l.radius=S),"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(s,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),o.useFilters?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(S=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(c,{iconClass:i.showFilters?(f=(d=o.cmdIcon)==null?void 0:d.showFilters)==null?void 0:f.iconClass:(p=(u=o.cmdIcon)==null?void 0:u.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(k=(g=o.cmdIcon)==null?void 0:g.showFilters)==null?void 0:k.iconType:(w=(C=o.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:w.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",dh,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",mh,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var S,y,M,x,N;return[i.showFilters&&((S=o.cmdFakeSelect)!=null&&S.selectData.length)?(e.openBlock(),e.createElementBlock("div",hh,[e.createVNode(m,{role:"option",selectData:(y=o.cmdFakeSelect)==null?void 0:y.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=V=>l.searchFilters=V),defaultOptionName:(M=o.cmdFakeSelect)==null?void 0:M.defaultOptionName,type:(x=o.cmdFakeSelect)==null?void 0:x.type,labelText:(N=o.cmdFakeSelect)==null?void 0:N.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),o.useFilters?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=S=>l.searchFilters=S),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const fh=B(ah,[["render",uh]]),gg="",yg="",ph={name:"CmdSlideshow",mixins:[O],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},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},showSlideButtons:{type:Boolean,default:!1},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.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(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){!this.slideshowItemEditing&&t>=0&&t<this.slideshowItems.length&&(this.index=t)},showNextItem(){this.slideshowItemEditing||(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:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var t;(t=this.$refs.slideshowItemComponentWrapper)==null||t.addEditStateListener(n=>this.slideshowItemEditing=n)})}}},gh=["href","title"],yh=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new slideshow-image",-1)],kh={key:2},Ch=["onClick","aria-label","title"],bh={key:3,class:"item-counter"};function Bh(t,n,o,a,i,l){const r=ce,s=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[1]||(n[1]=c=>i.pause=!0),onMouseleave:n[2]||(n[2]=c=>i.pause=!1)},[o.showSlideButtons?(e.openBlock(),e.createBlock(r,e.mergeProps({key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var c,m,h,d,f,u,p,g,k,C,w,S;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"slot-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},[t.editModeContext?o.slideshowItems.length?(e.openBlock(),e.createBlock(s,{key:1,image:(w=l.currentItem)==null?void 0:w.image,figcaption:(S=l.currentItem)==null?void 0:S.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(m=(c=l.currentItem)==null?void 0:c.link)!=null&&m.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:(d=(h=l.currentItem)==null?void 0:h.link)==null?void 0:d.href,title:(u=(f=l.currentItem)==null?void 0:f.link)==null?void 0:u.tooltip},[e.createVNode(s,{image:(p=l.currentItem)==null?void 0:p.image,figcaption:(g=l.currentItem)==null?void 0:g.figcaption},null,8,["image","figcaption"])],8,gh)):(e.openBlock(),e.createBlock(s,{key:1,image:(k=l.currentItem)==null?void 0:k.image,figcaption:(C=l.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):t.editModeContext?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...y)=>l.onAddItem&&l.onAddItem(...y))},yh)):e.createCommentVNode("",!0)]}),_:3}),o.showSlideButtons?(e.openBlock(),e.createBlock(r,e.mergeProps({key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",kh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:m===i.index})},[e.createElementVNode("a",{href:"#",class:e.normalizeClass({disabled:i.slideshowItemEditing}),onClick:e.withModifiers(h=>l.showItem(m),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(m+1)},null,10,Ch)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",bh,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const _h=B(ph,[["render",Bh]]),bg="",wh={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[O],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},buttonTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},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},addHandlerProvider(){const t={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return F(this,{item(){return t}})},updateHandlerProvider(){const t=$(),n=this.editablePath,o=this.editableTooltip,a=this.editableLinktext;return F(this,{update(i){i.id=t,i.path=n,i.tooltip=o,i.linkText=a}})}}},xh={class:"cmd-social-networks-item"},Nh=["id","href","title"],Sh={key:1};function Th(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createElementBlock("li",xh,[(e.openBlock(),e.createElementBlock("a",{key:o.network.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!o.dataPrivacyAccepted},{"text-align-right":o.buttonTextAlign==="right"}]),id:o.network.id,href:l.getUrl(o.network),onClick:n[0]||(n[0]=(...s)=>l.preventOnDisabled&&l.preventOnDisabled(...s)),target:"_blank",title:l.tooltip(o.network.tooltip)},[o.network.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.network.iconClass,type:o.network.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.network.linkText?(e.openBlock(),e.createElementBlock("span",Sh,e.toDisplayString(o.network.linkText),1)):e.createCommentVNode("",!0)],10,Nh))])}const Ih=B(wh,[["render",Th]]),Bg="",_g="",Eh={name:"CmdSocialNetworks",mixins:[O],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},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!"},buttonTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="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)},alignment(){return"align-"+this.align}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},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},onPersist(t){return{editModeContextData:{...this.editModeContextData||{}},update(n){n.cmdHeadline={...n.cmdHeadline||{}},Array.isArray(t)&&t.length>0&&(n.cmdHeadline.headlineText=t[0].headlineText)}}}}},Mh=[e.createElementVNode("span",{class:"icon-plus"},null,-1)];function Vh(t,n,o,a,i,l){var h,d;const r=E,s=j,c=Ih,m=Y;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons},l.alignment])},[(h=o.cmdHeadline)!=null&&h.headlineText||(d=t.editModeContext)!=null&&d.editing?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline||{})),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(s,{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]=f=>i.dataPrivacyAccepted=f)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),l.validNetworks.length>0?(e.openBlock(),e.createElementBlock("ul",{key:2,class:e.normalizeClass(["button-wrapper",{"no-gap":!o.useGap}])},[t.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l.validNetworks,(f,u)=>(e.openBlock(),e.createBlock(m,{key:"x"+u,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:f,componentPath:["props","networks",u],showComponentName:!1},{default:e.withCtx(()=>[e.createVNode(c,{network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.validNetworks,(f,u)=>(e.openBlock(),e.createBlock(c,{key:u,network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"]))),128))],2)):(e.openBlock(),e.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:n[1]||(n[1]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Mh))],2)}const Dh=B(Eh,[["render",Vh]]),Oh=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"})),Ig="",Lh={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return ee(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(Oh[n].default)})},immediate:!0,deep:!0}}},Ph={class:"cmd-switch-language"},Fh=["href","title","onClick"],Ah=["src","alt"],jh=["src","alt"];function zh(t,n,o,a,i,l){const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Ph,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[s.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.link.path,class:e.normalizeClass(["flag",s.iso2,{active:l.activeLanguage(s)}]),title:s.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:s})},[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,Ah)],10,Fh)):(e.openBlock(),e.createBlock(r,{key:1,class:e.normalizeClass(["flag",s.iso2]),to:l.getRoute(s),title:s.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:s})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,jh)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const Hh=B(Lh,[["render",zh]]),Eg="",qh={name:"CmdSystemMessage",mixins:[re],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0,validator(t){return t==="error"||t==="warning"||t==="success"||t==="info"}},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}}},Rh=["role","aria-labelledby"],Uh=["title"];function Gh(t,n,o,a,i,l){const r=T,s=E;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(c=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(r,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,Uh)):e.createCommentVNode("",!0),e.createVNode(s,{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,Rh)):e.createCommentVNode("",!0)]),_:3})}const fo=B(qh,[["render",Gh]]),Mg="",Wh={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},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},showSlideButtons:{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"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},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)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const t=this.$refs.table.previousElementSibling,n=this.$refs.table.nextElementSibling,o=this.$refs.innerWrapper,a=o.getBoundingClientRect(),i=a.width+o.scrollLeft-n.getBoundingClientRect().width,l=o.scrollLeft;console.log("parentRect",a),t.style.left=`${l}px`,n.style.left=`${i}px`,l===0?t.style.display="none":t.style.display="flex",l===o.scrollLeftMax?n.style.display="none":n.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},Qh={key:0,class:"button-wrapper"},Zh=["title"],Jh=["title"],Yh={"aria-expanded":"true"},Kh={key:0,"aria-expanded":"true"};function Xh(t,n,o,a,i,l){var c,m,h,d;const r=T,s=ce;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",Qh,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(f=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(r,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,Zh)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(f=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(r,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,Jh)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:n[2]||(n[2]=(...f)=>l.updatePosition&&l.updatePosition(...f))},[o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:0,onClick:e.withModifiers(l.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createElementVNode("table",{ref:"table",class:e.normalizeClass({"full-width":i.fullWidth})},[(c=o.tableData.caption)!=null&&c.text||(m=o.caption)!=null&&m.text?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((h=o.caption)==null?void 0:h.text)||((d=o.tableData.caption)==null?void 0:d.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,(f,u)=>(e.openBlock(),e.createElementBlock("th",{key:u},e.toDisplayString(f),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",Yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(f,u)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===u}),key:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,(p,g)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===g}),key:g},e.toDisplayString(p),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",Kh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(f,u)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===u}),key:u},e.toDisplayString(f),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2),o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):e.createCommentVNode("",!0)],544)],2)}const $h=B(Wh,[["render",Xh]]),vh={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
1
|
+
(function(b,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(b=typeof globalThis<"u"?globalThis:b||self,e(b["comand-component-library"]={},b.Vue))})(this,function(b,e){"use strict";const le=/^[a-z0-9]+(-[a-z0-9]+)*$/,he=(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 s=i.pop(),c=i.pop(),m={provider:i.length>0?i[0]:a,prefix:c,name:s};return n&&!ue(m)?null:m}const l=i[0],r=l.split("-");if(r.length>1){const s={provider:a,prefix:r.shift(),name:r.join("-")};return n&&!ue(s)?null:s}if(o&&a===""){const s={provider:a,prefix:"",name:l};return n&&!ue(s,o)?null:s}return null},ue=(t,n)=>t?!!((t.provider===""||t.provider.match(le))&&(n&&t.prefix===""||t.prefix.match(le))&&t.name.match(le)):!1,bt=Object.freeze({left:0,top:0,width:16,height:16}),fe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),pe=Object.freeze({...bt,...fe}),Ie=Object.freeze({...pe,body:"",hidden:!1});function on(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 Bt(t,n){const o=on(t,n);for(const a in Ie)a in fe?a in t&&!(a in o)&&(o[a]=fe[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function nn(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(r){if(o[r])return i[r]=[];if(!(r in i)){i[r]=null;const s=a[r]&&a[r].parent,c=s&&l(s);c&&(i[r]=[s].concat(c))}return i[r]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function ln(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function r(s){l=Bt(a[s]||i[s],l)}return r(n),o.forEach(r),Bt(t,l)}function _t(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=nn(t);for(const i in a){const l=a[i];l&&(n(i,ln(t,i,l)),o.push(i))}return o}const an={provider:"",aliases:{},not_found:{},...bt};function Ee(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function wt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ee(t,an))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(le)||typeof l.body!="string"||!Ee(l,Ie))return null}const a=n.aliases||{};for(const i in a){const l=a[i],r=l.parent;if(!i.match(le)||typeof r!="string"||!o[r]&&!a[r]||!Ee(l,Ie))return null}return n}const xt=Object.create(null);function sn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function J(t,n){const o=xt[t]||(xt[t]=Object.create(null));return o[n]||(o[n]=sn(t,n))}function Me(t,n){return wt(n)?_t(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function rn(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let ie=!1;function Nt(t){return typeof t=="boolean"&&(ie=t),ie}function cn(t){const n=typeof t=="string"?he(t,!0,ie):t;if(n){const o=J(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function dn(t,n){const o=he(t,!0,ie);if(!o)return!1;const a=J(o.provider,o.prefix);return rn(a,o.name,n)}function St(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),ie&&!n&&!t.prefix){let i=!1;return wt(t)&&(t.prefix="",_t(t,(l,r)=>{r&&dn(l,r)&&(i=!0)})),i}const o=t.prefix;if(!ue({provider:n,prefix:o,name:"a"}))return!1;const a=J(n,o);return!!Me(a,t)}const Tt=Object.freeze({width:null,height:null}),It=Object.freeze({...Tt,...fe}),mn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Et(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(mn);if(a===null||!a.length)return t;const i=[];let l=a.shift(),r=hn.test(l);for(;;){if(r){const s=parseFloat(l);isNaN(s)?i.push(l):i.push(Math.ceil(s*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");r=!r}}function un(t,n){const o={...pe,...t},a={...It,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(u=>{const p=[],g=u.hFlip,k=u.vFlip;let C=u.rotate;g?k?C+=2:(p.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),p.push("scale(-1 1)"),i.top=i.left=0):k&&(p.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),p.push("scale(1 -1)"),i.top=i.left=0);let w;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:w=i.height/2+i.top,p.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:p.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:w=i.width/2+i.left,p.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}C%2===1&&(i.left!==i.top&&(w=i.left,i.left=i.top,i.top=w),i.width!==i.height&&(w=i.width,i.width=i.height,i.height=w)),p.length&&(l='<g transform="'+p.join(" ")+'">'+l+"</g>")});const r=a.width,s=a.height,c=i.width,m=i.height;let h,d;return r===null?(d=s===null?"1em":s==="auto"?m:s,h=Et(d,c/m)):(h=r==="auto"?c:r,d=s===null?Et(h,m/c):s==="auto"?m:s),{attributes:{width:h.toString(),height:d.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+m.toString()},body:l}}const fn=/\sid="(\S+)"/g,pn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gn=0;function yn(t,n=pn){const o=[];let a;for(;a=fn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(gn++).toString(),r=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const Ve=Object.create(null);function kn(t,n){Ve[t]=n}function De(t){return Ve[t]||Ve[""]}function Oe(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 Le=Object.create(null),ae=["https://api.simplesvg.com","https://api.unisvg.com"],ge=[];for(;ae.length>0;)ae.length===1||Math.random()>.5?ge.push(ae.shift()):ge.push(ae.pop());Le[""]=Oe({resources:["https://api.iconify.design"].concat(ge)});function Cn(t,n){const o=Oe(n);return o===null?!1:(Le[t]=o,!0)}function Pe(t){return Le[t]}let Mt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function bn(t,n){const o=Pe(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(r=>{i=Math.max(i,r.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function Bn(t){return t===404}const _n=(t,n,o)=>{const a=[],i=bn(t,n),l="icons";let r={type:l,provider:t,prefix:n,icons:[]},s=0;return o.forEach((c,m)=>{s+=c.length+1,s>=i&&m>0&&(a.push(r),r={type:l,provider:t,prefix:n,icons:[]},s=c.length),r.icons.push(c)}),a.push(r),a};function wn(t){if(typeof t=="string"){const n=Pe(t);if(n)return n.path}return"/"}const xn={prepare:_n,send:(t,n,o)=>{if(!Mt){o("abort",424);return}let a=wn(n.provider);switch(n.type){case"icons":{const l=n.prefix,s=n.icons.join(","),c=new URLSearchParams({icons:s});a+=l+".json?"+c.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;Mt(t+a).then(l=>{const r=l.status;if(r!==200){setTimeout(()=>{o(Bn(r)?"abort":"next",r)});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 Nn(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,r=i.prefix,s=i.name,c=o[l]||(o[l]=Object.create(null)),m=c[r]||(c[r]=J(l,r));let h;s in m.icons?h=n.loaded:r===""||m.missing.has(s)?h=n.missing:h=n.pending;const d={provider:l,prefix:r,name:s};h.push(d)}),n}function Vt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function Sn(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 r=l.icons,s=r.pending.length;r.pending=r.pending.filter(c=>{if(c.prefix!==i)return!0;const m=c.name;if(t.icons[m])r.loaded.push({provider:a,prefix:i,name:m});else if(t.missing.has(m))r.missing.push({provider:a,prefix:i,name:m});else return o=!0,!0;return!1}),r.pending.length!==s&&(o||Vt([t],l.id),l.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),l.abort))})}))}let Tn=0;function In(t,n,o){const a=Tn++,i=Vt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(l)}),i}function En(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?he(i,n,o):i;l&&a.push(l)}),a}var Mn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Vn(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let r;if(t.random){let x=t.resources.slice(0);for(r=[];x.length>1;){const N=Math.floor(Math.random()*x.length);r.push(x[N]),x=x.slice(0,N).concat(x.slice(N+1))}r=r.concat(x)}else r=t.resources.slice(l).concat(t.resources.slice(0,l));const s=Date.now();let c="pending",m=0,h,d=null,f=[],u=[];typeof a=="function"&&u.push(a);function p(){d&&(clearTimeout(d),d=null)}function g(){c==="pending"&&(c="aborted"),p(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function k(x,N){N&&(u=[]),typeof x=="function"&&u.push(x)}function C(){return{startTime:s,payload:n,status:c,queriesSent:m,queriesPending:f.length,subscribe:k,abort:g}}function w(){c="failed",u.forEach(x=>{x(void 0,h)})}function S(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function y(x,N,V){const L=N!=="success";switch(f=f.filter(I=>I!==x),c){case"pending":break;case"failed":if(L||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){h=V,w();return}if(L){h=V,f.length||(r.length?M():w());return}if(p(),S(),!t.random){const I=t.resources.indexOf(x.resource);I!==-1&&I!==t.index&&(t.index=I)}c="completed",u.forEach(I=>{I(V)})}function M(){if(c!=="pending")return;p();const x=r.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{p(),c==="pending"&&(S(),w())},t.timeout);return}w();return}const N={status:"pending",resource:x,callback:(V,L)=>{y(N,V,L)}};f.push(N),m++,d=setTimeout(M,t.rotate),o(x,n,N.callback)}return setTimeout(M),C}function Dt(t){const n={...Mn,...t};let o=[];function a(){o=o.filter(s=>s().status==="pending")}function i(s,c,m){const h=Vn(n,s,c,(d,f)=>{a(),m&&m(d,f)});return o.push(h),h}function l(s){return o.find(c=>s(c))||null}return{query:i,find:l,setIndex:s=>{n.index=s},getIndex:()=>n.index,cleanup:a}}function Ot(){}const Fe=Object.create(null);function Dn(t){if(!Fe[t]){const n=Pe(t);if(!n)return;const o=Dt(n),a={config:n,redundancy:o};Fe[t]=a}return Fe[t]}function On(t,n,o){let a,i;if(typeof t=="string"){const l=De(t);if(!l)return o(void 0,424),Ot;i=l.send;const r=Dn(t);r&&(a=r.redundancy)}else{const l=Oe(t);if(l){a=Dt(l);const r=t.resources?t.resources[0]:"",s=De(r);s&&(i=s.send)}}return!a||!i?(o(void 0,424),Ot):a.query(n,i,o)().abort}const Lt="iconify2",se="iconify",Pt=se+"-count",Ft=se+"-version",At=36e5,Ln=168;function Ae(t,n){try{return t.getItem(n)}catch{}}function je(t,n,o){try{return t.setItem(n,o),!0}catch{}}function jt(t,n){try{t.removeItem(n)}catch{}}function ze(t,n){return je(t,Pt,n.toString())}function He(t){return parseInt(Ae(t,Pt))||0}const ye={local:!0,session:!0},zt={local:new Set,session:new Set};let qe=!1;function Pn(t){qe=t}let ke=typeof window>"u"?{}:window;function Ht(t){const n=t+"Storage";try{if(ke&&ke[n]&&typeof ke[n].length=="number")return ke[n]}catch{}ye[t]=!1}function qt(t,n){const o=Ht(t);if(!o)return;const a=Ae(o,Ft);if(a!==Lt){if(a){const s=He(o);for(let c=0;c<s;c++)jt(o,se+c.toString())}je(o,Ft,Lt),ze(o,0);return}const i=Math.floor(Date.now()/At)-Ln,l=s=>{const c=se+s.toString(),m=Ae(o,c);if(typeof m=="string"){try{const h=JSON.parse(m);if(typeof h=="object"&&typeof h.cached=="number"&&h.cached>i&&typeof h.provider=="string"&&typeof h.data=="object"&&typeof h.data.prefix=="string"&&n(h,s))return!0}catch{}jt(o,c)}};let r=He(o);for(let s=r-1;s>=0;s--)l(s)||(s===r-1?(r--,ze(o,r)):zt[t].add(s))}function Rt(){if(!qe){Pn(!0);for(const t in ye)qt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=J(a,i);if(!Me(l,o).length)return!1;const r=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,r):r,!0})}}function Fn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ye)qt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function An(t,n){qe||Rt();function o(a){let i;if(!ye[a]||!(i=Ht(a)))return;const l=zt[a];let r;if(l.size)l.delete(r=Array.from(l).shift());else if(r=He(i),!ze(i,r+1))return;const s={cached:Math.floor(Date.now()/At),provider:t.provider,data:n};return je(i,se+r.toString(),JSON.stringify(s))}n.lastModified&&!Fn(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ut(){}function jn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Sn(t)}))}function zn(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=De(o)))return;l.prepare(o,a,i).forEach(s=>{On(o,s,(c,m)=>{if(typeof c!="object"){if(m!==404)return;s.icons.forEach(h=>{t.missing.add(h)})}else try{const h=Me(t,c);if(!h.length)return;const d=t.pendingIcons;d&&h.forEach(f=>{d.delete(f)}),An(t,c)}catch(h){console.error(h)}jn(t)})})}))}const Hn=(t,n)=>{const o=En(t,!0,Nt()),a=Nn(o);if(!a.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(a.loaded,a.missing,a.pending,Ut)}),()=>{c=!1}}const i=Object.create(null),l=[];let r,s;return a.pending.forEach(c=>{const{provider:m,prefix:h}=c;if(h===s&&m===r)return;r=m,s=h,l.push(J(m,h));const d=i[m]||(i[m]=Object.create(null));d[h]||(d[h]=[])}),a.pending.forEach(c=>{const{provider:m,prefix:h,name:d}=c,f=J(m,h),u=f.pendingIcons||(f.pendingIcons=new Set);u.has(d)||(u.add(d),i[m][h].push(d))}),l.forEach(c=>{const{provider:m,prefix:h}=c;i[m][h].length&&zn(c,i[m][h])}),n?In(n,a,l):Ut};function qn(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in Tt?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const Rn=/[\s,]+/;function Un(t,n){n.split(Rn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Gn(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 Wn(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 Zn(t){return'url("data:image/svg+xml,'+Qn(t)+'")'}const Gt={...It,inline:!1},Jn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Yn={display:"inline-block"},Re={backgroundColor:"currentColor"},Wt={backgroundColor:"transparent"},Qt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zt={webkitMask:Re,mask:Re,background:Wt};for(const t in Zt){const n=Zt[t];for(const o in Qt)n[t+o]=Qt[o]}const Ce={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";Ce[t+"-flip"]=n,Ce[t.slice(0,1)+"-flip"]=n,Ce[t+"Flip"]=n});function Jt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Yt=(t,n)=>{const o=qn(Gt,n),a={...Jn},i=n.mode||"svg",l={},r=n.style,s=typeof r=="object"&&!(r instanceof Array)?r:{};for(let g in n){const k=n[g];if(k!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Un(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[g]=Gn(k):typeof k=="number"&&(o[g]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const C=Ce[g];C?(k===!0||k==="true"||k===1)&&(o[C]=!0):Gt[g]===void 0&&(a[g]=k)}}}const c=un(t,o),m=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...s},Object.assign(a,m);let g=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=yn(c.body,k?()=>k+"ID"+g++:"iconifyVue"),e.h("svg",a)}const{body:h,width:d,height:f}=t,u=i==="mask"||(i==="bg"?!1:h.indexOf("currentColor")!==-1),p=Wn(h,{...m,width:d+"",height:f+""});return a.style={...l,"--svg":Zn(p),width:Jt(m.width),height:Jt(m.height),...Yn,...u?Re:Wt,...s},e.h("span",a)};if(Nt(!0),kn("",xn),typeof document<"u"&&typeof window<"u"){Rt();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"||!St(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;Cn(o,i)||console.error(a)}catch{console.error(a)}}}}const Kn={...pe,body:""},Xn=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=he(t,!1,!0))===null)return this.abortLoading(),null;const a=cn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:Hn([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 Yt(Kn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Yt({...pe,...n.data},o)}}),lp="",B=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},$n={name:"CmdIcon",components:{Icon:Xn},props:{type:{type:String,default:"auto",validator(t){return t==="auto"||t==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},vn=["title"];function el(t,n,o,a,i,l){const r=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(r,{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,vn))}const T=B($n,[["render",el]]);function Q(t,n){return be(t,"EditComponentWrapper",n)}function tl(t){return be(t,"EditModeSettingsSidebar")}function ol(t){return be(t,"EditModeMainSidebar")}function be(t,n,o){var a;return((a=t==null?void 0:t.$options)==null?void 0:a.name)===n&&(o==null||o(t))?t:t!=null&&t.$parent?be(t.$parent,n,o):null}function Z(t,...n){const o=[];for(let a=Q(t);a;a=Q(a.$parent))a.componentPath&&o.unshift(...a.componentPath);return o.push(...n),o}function nl(t){return Array.isArray(t)&&t.length>0?JSON.stringify(t):""}function F(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const ip="",ll={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!Q(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")},active(){return this.editModeContext?Q(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(q(this)):!!this.editModeContext.system.isActiveComponent(q(this)):!1},editing(){var t;return(t=this.editModeContext)==null?void 0:t.content.isEditing(this.componentIdentifier)},hasSettings(){const t=`${this.componentName}Settings`;return!!e.getCurrentInstance().appContext.components[t]}},methods:{addHighlightRelatedComponent(t){t.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(t){t.target.parentNode.classList.remove("highlight")},showActionButtons(){const t=Q(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(q(t),q(this))},deleteComponent(){var t;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((t=this.editModeContext)==null||t.store.deleteContent(q(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(q(this)),this.editModeContext.settings.stopEditing()},cancelComponent(t){this.editing&&(t.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(t){t==null||t.stopPropagation(),t||this.showActionButtons();const n=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var o;return(o=n.querySelector("input"))==null?void 0:o.focus()})},saveComponent(){this.editModeContext.store.updateContent(q(this),this.updateHandlerProviders.map(t=>t())),this.editModeContext.content.stopEditing()},editSettings(t,n){t.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,q(this),this.saveSettings,this.deleteInnerComponent,n||"edit")},addEntry(t){this.itemProvider?this.editModeContext.content.addContent(q(this),this.itemProvider):this.editSettings(t,"add")},saveSettings(t){this.editModeContext.store.updateSettings(q(this),t),this.editModeContext.settings.stopEditing()},addEditStateListener(t){this.editStateListeners.push(t),t(this.editing)},addUpdateHandlerProvider(t){this.updateHandlerProviders.push(t)},setAddHandlerProvider(t){t&&(this.addHandlerProvider=t)}},watch:{componentPath:{handler(){this.componentIdentifier=nl(q(this))},immediate:!0,deep:!0},editing(t){this.editStateListeners.forEach(n=>n(t))}}};function q(t){const n=[];for(let o=t;o;o=Q(o.$parent))o.componentPath&&n.unshift(...o.componentPath);return n}const il={key:0,class:"action-buttons-wrapper"},al=["data-component"],sl=["title"],rl=["href"],cl={key:0},dl={key:1},ml={key:0,class:"component-name"},hl=["data-component"],ul=["title"],fl=["href","title"],pl=["title"],gl={key:0},yl={key:1},kl=["title"],Cl=["title"];function bl(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.componentTag||"div"),{class:e.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:e.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:e.withCtx(()=>[o.componentTag==="ul"?(e.openBlock(),e.createElementBlock("li",il,[e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.addEntry(s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(r,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,sl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[1]||(n[1]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings of this component"},[e.createVNode(r,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,rl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:n[2]||(n[2]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete this component (and its content)"},[e.createVNode(r,{iconClass:"icon-trash"})])]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",cl,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:n[3]||(n[3]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(r,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",dl,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:n[4]||(n[4]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of this component"},[e.createVNode(r,{iconClass:"icon-check"})])):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content of this component"},[e.createVNode(r,{iconClass:"icon-edit"})],2))]))],8,al),[[e.vShow,l.active]])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.isOuterComponent?(e.openBlock(),e.createElementBlock("p",ml,e.toDisplayString(o.componentName),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName,onMouseenter:n[12]||(n[12]=(...s)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...s)),onMouseleave:n[13]||(n[13]=(...s)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...s))},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[6]||(n[6]=e.withModifiers((...s)=>l.addEntry&&l.addEntry(...s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(r,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ul)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[7]||(n[7]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings for "+o.componentName},[e.createVNode(r,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,fl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!o.allowDeleteComponent}]),href:"#",onClick:n[8]||(n[8]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete "+o.componentName+" (and its content)"},[e.createVNode(r,{iconClass:"icon-trash"})],10,pl)]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",gl,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:n[9]||(n[9]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(r,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",yl,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:n[10]||(n[10]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of "+o.componentName},[e.createVNode(r,{iconClass:"icon-check"})],8,kl)):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[11]||(n[11]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content for "+o.componentName},[e.createVNode(r,{iconClass:"icon-edit"})],10,Cl))]))],40,hl),[[e.vShow,l.active]])],64)),e.renderSlot(t.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Y=B(ll,[["render",bl]]),O={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var t;if(this.$refs.editComponentWrapper)(t=this.$refs.editComponentWrapper)==null||t.addUpdateHandlerProvider(this.updateHandlerProvider);else{const n=Q(this.$parent);n&&(n.addEditStateListener(o=>this.editing=o),n.addUpdateHandlerProvider(this.updateHandlerProvider),n.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!ol(this),this.settingsContext=!!tl(this)},updateHandlerProvider(){return{}}}},ap="",Bl={name:"CmdHeadline",mixins:[O],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:null,validator(t){return t==="left"||t==="center"||t==="right"}}},computed:{componentActive(){var t;return(t=this.editModeContext)==null?void 0:t.system.isActiveComponent(Z(Q(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const t=this.editableHeadlineText,n=this.editablePreHeadlineText,o=this.headlineLevel;return F(this,{update(a){a.headlineText=t,a.preHeadlineText=n,a.headlineLevel=o}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},_l={class:"pre-headline-text-wrapper"},wl={class:"pre-headline-text"},xl={class:"pre-headline-text"},Nl=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new headline",-1)];function Sl(t,n,o,a,i,l){var m;const r=T,s=j,c=Y;return!t.editModeContext||t.settingsContext||t.mainSidebarContext?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(m=o.headlineIcon)==null?void 0:m.iconClass},l.getTextAlign])},[o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>{var h,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",_l,[e.createElementVNode("span",wl,e.toDisplayString(o.preHeadlineText),1),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])])]}),_:3})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:1},{default:e.withCtx(()=>{var h,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])]}),_:3}))],2)):(e.openBlock(),e.createBlock(c,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:o.headlineText,headlineLevel:o.headlineLevel},componentPath:l.headlineComponentPath,allowDeleteComponent:!!o.headlineText},{default:e.withCtx(h=>{var d,f;return[h.editing?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel,l.getTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":n[0]||(n[0]=u=>i.editableHeadlineText=u)},null,8,["class","modelValue"])):o.headlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(d=o.headlineIcon)==null?void 0:d.iconClass,type:(f=o.headlineIcon)==null?void 0:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>{var u,p;return[o.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.iconClass,type:(p=o.headlineIcon)==null?void 0:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",xl,e.toDisplayString(o.preHeadlineText),1),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]}),_:3})):e.createCommentVNode("",!0)],64)):o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3})):e.createCommentVNode("",!0)],64)):l.componentActive?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Nl)):e.createCommentVNode("",!0)]}),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const E=B(Bl,[["render",Sl]]),cp="",Tl={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},validationStatus:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},idOfScrollContainer:{type:String,default:"page-wrapper"},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&&(document.getElementById(this.idOfScrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.addEventListener("click",this.toggleTooltipVisibility):(t.addEventListener("mouseenter",this.showTooltip),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.relatedId);t&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.removeEventListener("click",this.toggleTooltipVisibility):(t.removeEventListener("mouseenter",this.showTooltip),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"})}}},Il={key:0,class:"headline-wrapper"},El=["title"];function Ml(t,n,o,a,i,l){const r=E,s=T;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.validationStatus]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",Il,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,{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((...c)=>l.hideTooltip&&l.hideTooltip(...c),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(s,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,El)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const Kt=B(Tl,[["render",Ml]]),R={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&&o[t])?this[n][t]:null}}},Vl={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},dp="",Dl={name:"CmdListOfRequirements",mixins:[R,Vl],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")}}},Ol={class:"cmd-list-of-requirements"},Ll=e.createElementVNode("br",null,null,-1),Pl=e.createElementVNode("hr",null,null,-1),Fl=["href","target"],Al={key:1};function jl(t,n,o,a,i,l){var c,m,h;const r=E,s=T;return e.openBlock(),e.createElementBlock("div",Ol,[o.showHeadline?(e.openBlock(),e.createBlock(r,{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},[Ll,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,(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(d.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},e.toDisplayString(d.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(d.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},[e.createVNode(s,{"aria-live":"assertive",iconClass:d.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconClass:o.iconError.iconClass,type:d.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconType:o.iconError.iconType,title:d.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},[Pl,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"]))},[(c=o.helplink.icon)!=null&&c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass((m=o.helplink.icon)==null?void 0:m.iconClass),title:(h=o.helplink.icon)==null?void 0:h.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Al,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Fl)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const zl=B(Dl,[["render",jl]]),mp="",Hl={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function ql(t,n,o,a,i,l){const r=zl,s=Kt;return e.openBlock(),e.createBlock(s,{ref:"tooltip",class:e.normalizeClass(["box cmd-tooltip-for-form-elements",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(r,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Ue=B(Hl,[["render",ql]]),Rl={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validationTooltip.an_error_occurred":"An error occurred!","cmdformelement.validationTooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validationTooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validationTooltip.open_field_requirements":"Open field requirements!","cmdformelement.validationTooltip.is_valid_email":"Is valid e-mail-address"}}}},Ge={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[R,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},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 $(){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 We(){return"cmd-"+$()}const re={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||We()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Qe={};function Ul(t="defaultSequence"){const n=Qe[t]||0;return Qe[t]=n+1,Qe[t]}const Ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+Ul()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},up="",Gl=["color","date","datetime-local","file","number","range"],Wl={inheritAttrs:!1,name:"CmdFormElement",mixins:[R,Rl,Ge,re,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},showStatusIcon:{type:Boolean,default:!0},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,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},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},charactersLeft(){return this.getMaxLength()-this.modelValue.length},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:{setFocus(){var t;(t=this.$refs.label.querySelector("input, select, textarea"))==null||t.focus()},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:Gl.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()},submit(t){this.$emit("submit",t)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Ql=["for","title"],Zl={key:2,"aria-hidden":"true"},Jl=["title","aria-errormessage","id"],Yl={key:1,class:"flex-container"},Kl=["id","autocomplete","list","value","maxlength"],Xl=["title"],$l=["id"],vl=["value"],ei=["checked","value","id","disabled","aria-invalid"],ti={key:2},oi={class:"switch-label-wrapper"},ni=["checked","value","id","disabled","aria-invalid"],li={class:"label-text"},ii={class:"label-text"},ai={key:0},si=["id"],ri=["value","selected"],ci=["id","value","maxlength"],di={key:6,class:"characters-left-wrapper"},mi={key:0},hi={key:7,class:"search-field-wrapper flex-container no-gap"},ui=["id","maxlength","value"],fi=["title"],pi=["title"],gi={key:1};function yi(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k,C,w,S,y,M,x,N,V,L,I,A,P,G,D,me;const r=T,s=Ue;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,"toggle-switch":o.toggleSwitch,colored:o.colored,"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",Zl,"*")):e.createCommentVNode("",!0)]),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,Jl)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,ref:"tooltip",validationStatus:t.validationStatus,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",Yl,[o.fieldIconClass?(e.openBlock(),e.createBlock(r,{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,Kl)):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(r,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Xl)):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,(_,ne)=>(e.openBlock(),e.createElementBlock("option",{key:ne,value:_},null,8,vl))),128))],8,$l)):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",oi,[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,ni),e.createElementVNode("span",li,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ii,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",ai,"*")):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}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,ei),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,(_,ne)=>(e.openBlock(),e.createElementBlock("option",{key:ne,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,ri))),128))],16,si)):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(..._))}),null,16,ci)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",di,[o.textCharactersLeft?(e.openBlock(),e.createElementBlock("span",mi,e.toDisplayString(o.textCharactersLeft),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},e.toDisplayString(l.charactersLeft),3)])):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",hi,[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,ui),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(r,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,fi)):e.createCommentVNode("",!0),(c=o.iconDelete)!=null&&c.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(m=o.iconDelete)==null?void 0:m.tooltip},[e.createVNode(r,{iconClass:(h=o.iconDelete)==null?void 0:h.iconClass,type:(d=o.iconDelete)==null?void 0:d.iconType},null,8,["iconClass","type"])],8,pi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Ql)):o.element==="button"?(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:n[23]||(n[23]=(..._)=>l.submit&&l.submit(..._))}),[(u=(f=o.nativeButton)==null?void 0:f.icon)!=null&&u.show&&(((g=(p=o.nativeButton)==null?void 0:p.icon)==null?void 0:g.position)==="before"||!((C=(k=o.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(S=(w=o.nativeButton)==null?void 0:w.icon)==null?void 0:S.iconClass,type:(M=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:M.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(x=o.nativeButton)!=null&&x.icon&&((N=o.nativeButton)!=null&&N.text)?(e.openBlock(),e.createElementBlock("span",gi,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),(L=(V=o.nativeButton)==null?void 0:V.icon)!=null&&L.show&&((A=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:A.position)==="after"?(e.openBlock(),e.createBlock(r,{key:3,iconClass:(G=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:G.iconClass,type:(me=(D=o.nativeButton)==null?void 0:D.icon)==null?void 0:me.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)}const j=B(Wl,[["render",yi]]),ki={name:"CmdAddressDataItem",mixins:[O],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1}},methods:{vCardClass(t){if(t.type==="company")return"org";if(t.type==="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},inputType(t){return t.type==="phone"?"tel":t.type==="email"?"email":t.type==="url"?"url":"text"},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.type==="phone"?"tel:"+t.href:t.type==="email"?"mailto:"+t.href:t.type==="url"?t.href:null},addHandlerProvider(){const t={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return F(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableAddressEntry;return F(this,{update(n){typeof t=="object"?Object.entries(t).forEach(([o,a])=>n[o]=a):n.href==null?n.data=t:n.href=t}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},Ci={key:1},bi=["href","target","title","data-type"],Bi=["innerHTML"],_i={key:1},wi=["href","title"],xi={class:"street-address"},Ni=e.createElementVNode("br",null,null,-1),Si={key:1,class:"postal-code"},Ti={class:"locality"},Ii=e.createElementVNode("br",null,null,-1),Ei={key:0},Mi={key:4,class:"country-name"},Vi={class:"street-address"},Di=e.createElementVNode("br",null,null,-1),Oi={key:1,class:"postal-code"},Li={class:"locality"},Pi=e.createElementVNode("br",null,null,-1),Fi=e.createElementVNode("br",null,null,-1),Ai={key:4,class:"country-name"},ji={class:"input-wrapper"};function zi(t,n,o,a,i,l){const r=T,s=j,c=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("dt",{class:e.normalizeClass(["cmd-address-data-item",{address:o.addressEntry.type==="address"}])},[o.addressEntry.iconClass&&o.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.addressEntry.iconClass,type:o.addressEntry.iconType,tooltip:o.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),o.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Ci,e.toDisplayString(o.addressEntry.labelText),1)):e.createCommentVNode("",!0)],2),o.addressEntry.type!=="address"&&(o.addressEntry.data||o.addressEntry.href)?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(o.addressEntry))},[t.editing?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:l.inputType(o.addressEntry),class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":n[0]||(n[0]=m=>i.editableAddressEntry=m)},null,8,["type","labelText","placeholder","modelValue"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(o.addressEntry),target:o.addressEntry.type==="url"?"_blank":null,title:o.addressEntry.tooltip,"data-type":o.addressEntry.type},[e.createTextVNode(e.toDisplayString(o.addressEntry.data||o.addressEntry.href),1)],8,bi)),[[c,o.addressEntry.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:o.addressEntry.data},null,8,Bi))],64))],2)):o.addressEntry.name==="address"?(e.openBlock(),e.createElementBlock("dd",_i,[o.linkGoogleMaps&&!t.editing?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(o.addressEntry),target:"google-maps",title:o.addressEntry.tooltip},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",xi,e.toDisplayString(o.addressEntry.streetNo),1),Ni],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Si,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Ti,e.toDisplayString(o.addressEntry.city),1),Ii],64)):e.createCommentVNode("",!0),o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),o.addressEntry.country?(e.openBlock(),e.createElementBlock("br",Ei)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Mi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],8,wi)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":n[1]||(n[1]=m=>i.editableAddressEntry.streetNo=m)},null,8,["labelText","placeholder","modelValue"]),e.createElementVNode("div",ji,[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":n[2]||(n[2]=m=>i.editableAddressEntry.zip=m)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":n[3]||(n[3]=m=>i.editableAddressEntry.city=m)},null,8,["labelText","placeholder","modelValue"])]),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":n[4]||(n[4]=m=>i.editableAddressEntry.miscInfo=m)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"select",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":n[5]||(n[5]=m=>i.editableAddressEntry.country=m)},null,8,["labelText","modelValue"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Vi,e.toDisplayString(o.addressEntry.streetNo),1),Di],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Oi,e.toDisplayString(o.addressEntry.zip)+" ",1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Li,e.toDisplayString(o.addressEntry.city),1),Pi],64)):e.createCommentVNode("",!0),o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),Fi],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Ai,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],64))],64))])):e.createCommentVNode("",!0)],64)}const Hi=B(ki,[["render",zi]]),qi={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™ (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)"}}}},fp="",Ri={name:"CmdAddressData",mixins:[O,R,qi],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var t;return(t=this.addressData.website)==null?void 0:t.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.name==="phone"?"tel:"+t.href:t.name==="email"?"mailto:"+t.href:t.name==="url"?t.href:null},updateHandlerProvider(){return F(this,{update(t,n){const o=n==null?void 0:n.find(a=>a.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}},watch:{}},Ui={class:"cmd-address-data vcard"},Gi={class:"adr"},Wi={key:0},Qi=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Zi=["href","target","title"],Ji=["innerHTML"],Yi=["href","title"],Ki={class:"street-address"},Xi=e.createElementVNode("br",null,null,-1),$i={class:"postal-code"},vi={class:"locality"},ea=e.createElementVNode("br",null,null,-1),ta=e.createElementVNode("br",null,null,-1),oa={key:3,class:"country-name"},na={class:"street-address"},la=e.createElementVNode("br",null,null,-1),ia={class:"postal-code"},aa={class:"locality"},sa=e.createElementVNode("br",null,null,-1),ra=e.createElementVNode("br",null,null,-1),ca={key:3,class:"country-name"};function da(t,n,o,a,i,l){var h;const r=E,s=Hi,c=Y,m=T;return e.openBlock(),e.createElementBlock("div",Ui,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(h=o.cmdHeadline)!=null&&h.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",Gi,[o.showLabels&&(o.showLabelTexts||o.showLabelIcons)&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.editModeContext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.addressData.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},Qi)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(c,{key:"x"+f,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:d,componentPath:["props","addressData",f]},{default:e.withCtx(()=>[e.createElementVNode("dl",null,[e.createVNode(s,{addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",Wi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(s,{key:f,addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"]))),128))]))],64)):(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,(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[d.href||d.name==="address"&&d.linkGoogleMaps||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[d.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(d),target:d.name==="url"?"_blank":null,title:d.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(d.href),1)],64))],8,Zi)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.data},null,8,Ji)),d.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[d.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(d),target:"google-maps",title:d.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Ki,e.toDisplayString(d.streetNo),1),Xi],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",$i,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",vi,e.toDisplayString(d.city),1),ea],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ta],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",oa,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64))],8,Yi)):e.createCommentVNode("",!0),!d.linkGoogleMaps&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",na,e.toDisplayString(d.streetNo),1),la],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",ia,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",aa,e.toDisplayString(d.city),1),sa],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ra],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",ca,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])],64))])}const ma=B(Ri,[["render",da]]),ha={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"})}}},ua=["title"];function fa(t,n,o,a,i,l){const r=T;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((...s)=>l.onBackToTop&&l.onBackToTop(...s),["prevent"]))},[e.createVNode(r,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,ua)):e.createCommentVNode("",!0)]),_:1})}const pa=B(ha,[["render",fa]]),yp="",ga={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")}}},ya={class:"cmd-bank-account-data"},ka={key:0},Ca=["onClick","title"],ba={key:1};function Ba(t,n,o,a,i,l){const r=E,s=T;return e.openBlock(),e.createElementBlock("div",ya,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,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,(c,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createElementVNode("dt",null,e.toDisplayString(c.text),1),o.allowCopyByClick&&c.allowCopy?(e.openBlock(),e.createElementBlock("dd",ka,[e.createElementVNode("span",null,e.toDisplayString(c.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(h=>l.copyToClipboard(c.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(s,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Ca)])):(e.openBlock(),e.createElementBlock("dd",{key:m},e.toDisplayString(c.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",ba,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const _a=B(ga,[["render",Ba]]);function v(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Xt(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(v(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const r=new Image;r.onload=()=>{if(r.width<o&&!confirm("width ("+r.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(r.src),typeof i=="function"?i(r.src):i.src=r.src},r.src=URL.createObjectURL(t)}const kp="",wa={name:"CmdImage",mixins:[O],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["jpg","jpeg","png","webp"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,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"}]}},props:{image:{type:Object,required:!1},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:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var o;if(this.newImageSource)return this.newImageSource;const t=(o=this.image)==null?void 0:o.src;if(!t)return null;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},textAlign(){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(){var t;return this.figcaptionText==null?(t=this.figcaption)==null?void 0:t.text:this.figcaptionText},set(t){this.figcaptionText=t}}},methods:{itemProvider(){var n,o;const t=(o=(n=this.editModeConfig)==null?void 0:n.itemProviderOverwrite)==null?void 0:o.call(n);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(t==null?void 0:t.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(t){t.target.files.length>0&&Xt(t.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},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(),Xt(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:$(),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 F(this,{item(){return t}})},updateHandlerProvider(){const t=this.figcaptionText;return this.figcaptionText=null,F(this,{update(n){n.figcaption||(n.figcaption={}),n.figcaption.text=t}})}},watch:{figcaption:{handler(){var t,n,o,a;this.showFigcaption=(t=this.figcaption)==null?void 0:t.show,this.figcaptionText=(n=this.figcaption)==null?void 0:n.text,this.figcaptionPosition=(o=this.figcaption)==null?void 0:o.position,this.figcaptionTextAlign=(a=this.figcaption)==null?void 0:a.textAlign},immediate:!0,deep:!0}}},xa={key:1},Na=e.createElementVNode("span",{class:"icon-image"},null,-1),Sa=["src","alt","title"],Ta=["src","alt","title"],Ia={key:1},Ea=[e.createElementVNode("span",{class:"icon-add"},null,-1),e.createElementVNode("span",null,"Add new image",-1)],Ma={key:0},Va=["src","alt","title"],Da={key:1};function Oa(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k;const r=j,s=Y;return t.editModeContext?(e.openBlock(),e.createBlock(s,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:o.image,figcaption:o.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((c=t.editModeConfig)==null?void 0:c.allowAddItem)!==!1?l.itemProvider:null},{default:e.withCtx(C=>{var w,S,y,M,x,N,V,L,I,A,P,G;return[e.createElementVNode("figure",{class:e.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(w=o.figcaption)!=null&&w.show&&((S=o.figcaption)==null?void 0:S.position)==="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C.editing?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[0]||(n[0]=D=>l.editableFigcaptionText=D)},null,8,["class","modelValue"])):(y=o.figcaption)!=null&&y.text?(e.openBlock(),e.createElementBlock("figcaption",xa,e.toDisplayString((M=o.figcaption)==null?void 0:M.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),C.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",e.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0),{onClick:n[1]||(n[1]=e.withModifiers((...D)=>l.selectFiles&&l.selectFiles(...D),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Na,e.createElementVNode("img",{src:l.imageSource,alt:(x=o.image)==null?void 0:x.alt,title:(N=o.image)==null?void 0:N.tooltip},null,8,Sa)],16),e.createVNode(r,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.imageSource,alt:(V=o.image)==null?void 0:V.alt,title:(L=o.image)==null?void 0:L.tooltip},null,8,Ta)):e.createCommentVNode("",!0),(I=o.figcaption)!=null&&I.show&&((A=o.figcaption)==null?void 0:A.position)!=="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[C.editing?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[2]||(n[2]=D=>l.editableFigcaptionText=D),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=o.figcaption)!=null&&P.text?(e.openBlock(),e.createElementBlock("figcaption",Ia,e.toDisplayString((G=o.figcaption)==null?void 0:G.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),!C.editing&&!l.imageSource?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:n[3]||(n[3]=(...D)=>l.onAddItem&&l.onAddItem(...D))},Ea)):e.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):(e.openBlock(),e.createElementBlock("figure",{key:1,class:e.normalizeClass(["cmd-image",l.textAlign])},[(m=o.figcaption)!=null&&m.show&&((h=o.figcaption)==null?void 0:h.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Ma,e.toDisplayString((d=o.figcaption)==null?void 0:d.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:(f=o.image)==null?void 0:f.alt,title:(u=o.image)==null?void 0:u.tooltip},null,8,Va),(p=o.figcaption)!=null&&p.show&&((g=o.figcaption)==null?void 0:g.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Da,e.toDisplayString((k=o.figcaption)==null?void 0:k.text),1)):e.createCommentVNode("",!0)],2))}const K=B(wa,[["render",Oa]]),Bp="",_p="",La={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(t){return t==="next"||t==="prev"||t==="up"||t==="down"}},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"),{})}}},Pa=["title"];function Fa(t,n,o,a,i,l){const r=T;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(r,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,Pa)}const ce=B(La,[["render",Fa]]),Aa={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"}}}},wp="",xp="",ja={name:"CmdThumbnailScroller",emits:["click"],mixins:[R,Aa,O],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(t){return t==="image"||t==="text"}},executeOnClick:{type:String,default:"fancybox",validator(t){return t==="fancybox"||t==="url"||t==="emit"}},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"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},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("ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{tooltip(){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")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:$(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:$(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},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&&Be({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,deep:!0}}},za={class:"inner-thumbnail-wrapper"},Ha=["href","onClick","title","target"],qa={key:1},Ra={key:1},Ua={key:0},Ga=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function Wa(t,n,o,a,i,l){var h;const r=E,s=ce,c=K,m=T;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":o.useGalleryScroller,"large-icons":o.largeIcons,vertical:o.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(h=o.cmdHeadline)!=null&&h.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",za,[i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{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,(d,f)=>(e.openBlock(),e.createElementBlock("li",{key:f},[t.editModeContext?o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:1,image:d.image,figcaption:d.figcaption,componentPath:["props","thumbnailScrollerItems",f],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.contentType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Ra,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.executeOnClick==="url"?d.url:"#",onClick:u=>l.executeLink(f,u),class:e.normalizeClass([{active:o.activeItemIndex===f},d.id?"item-"+d.id:""]),title:l.tooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:0,image:d.image,figcaption:d.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[d.iconClass?(e.openBlock(),e.createBlock(m,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",qa,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64))],10,Ha))]))),128)),!i.items.length&&o.contentType==="image"?(e.openBlock(),e.createElementBlock("li",Ua,[e.createElementVNode("button",{type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},Ga)])):e.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const $t=B(ja,[["render",Wa]]),Tp="",Ip="",Be=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(vt,{...t,show:!0}).mount(n)},vt=e.defineComponent({name:"CmdFancyBox",mixins:[re],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},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},ariaLabelText(){var t;return(t=this.fancyBoxGallery)!=null&&t.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},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 Qa(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 Qa(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const Za=vt,Ja=["aria-label"],Ya={class:"flex-container"},Ka={key:1,class:"button-wrapper no-flex"},Xa=["title"],$a=["title"],va=["title"],es={key:0,class:"content"},ts=["innerHTML"],os={key:2,class:"content"},ns={key:3,class:"content"},ls={key:4,class:"content"},is={key:0,class:"flex-container no-flex"},as=["title"],ss={key:1},rs=["title"],cs={key:1};function ds(t,n,o,a,i,l){var d,f,u,p,g,k,C,w,S,y,M,x,N,V,L,I,A,P,G,D,me,_,ne,Ko,Xo,$o,vo,en,tn;const r=E,s=T,c=K,m=ce,h=$t;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]=(...W)=>t.onDialogCancel&&t.onDialogCancel(...W))},[e.createElementVNode("header",Ya,[(d=t.cmdHeadline)!=null&&d.show?(e.openBlock(),e.createBlock(r,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(u=t.cmdHeadline)==null?void 0:u.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),(p=t.fancyboxOptions.printButtons)!=null&&p.color||(g=t.fancyboxOptions.printButtons)!=null&&g.grayscale||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",Ka,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)!=null&&k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=t.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(W=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(s,{iconClass:(w=t.fancyboxOptions.printButtons.color)==null?void 0:w.iconClass,type:(S=t.fancyboxOptions.printButtons.color)==null?void 0:S.iconType},null,8,["iconClass","type"])],8,Xa)):e.createCommentVNode("",!0),t.showPrintButtons&&((y=t.fancyboxOptions.printButtons)!=null&&y.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(M=t.fancyboxOptions.printButtons.grayscale)==null?void 0:M.tooltip,onClick:n[1]||(n[1]=e.withModifiers(W=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(s,{iconClass:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,$a)):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((...W)=>t.close&&t.close(...W),["prevent"]))},[e.createVNode(s,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,va)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||(V=t.cmdImage)!=null&&V.image?(e.openBlock(),e.createElementBlock("div",es,[e.createVNode(c,{image:t.largeSingleImage,figcaption:(L=t.cmdImage)==null?void 0:L.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ts)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",os)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ns,[e.createVNode(m,{onClick:e.withModifiers(t.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(c,{image:t.largeGalleryImage,figcaption:t.fancyBoxGallery[t.index].figcaption},null,8,["image","figcaption"]),e.createVNode(m,{onClick:e.withModifiers(t.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",ls,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",is,[(I=t.fancyboxOptions.submitButtons)!=null&&I.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...W)=>t.cancel&&t.cancel(...W)),title:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(G=t.fancyboxOptions.submitButtons.cancel)==null?void 0:G.iconClass,type:(D=t.fancyboxOptions.submitButtons.cancel)==null?void 0:D.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(me=t.fancyboxOptions.submitButtons.cancel)!=null&&me.buttonText?(e.openBlock(),e.createElementBlock("span",ss,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,as)):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons)!=null&&ne.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...W)=>t.confirm&&t.confirm(...W)),title:(Ko=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Ko.tooltip},[(Xo=t.fancyboxOptions.submitButtons.confirm)!=null&&Xo.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:($o=t.fancyboxOptions.submitButtons.confirm)==null?void 0:$o.iconClass,type:(vo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:vo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(en=t.fancyboxOptions.submitButtons.confirm)!=null&&en.buttonText?(e.openBlock(),e.createElementBlock("span",cs,e.toDisplayString((tn=t.fancyboxOptions.submitButtons.confirm)==null?void 0:tn.buttonText),1)):e.createCommentVNode("",!0)],8,rs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(h,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,Ja)])}const ms=B(Za,[["render",ds]]),hs={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[O],data(){return{editableText:this.link.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const t=this.editableText;return F(this,{update(n){n.text=t}})},getRoute(t){return getRoute(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Be({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},us={key:0,class:"cmd-list-of-links-item"},fs=["href","target","title"],ps={key:1},gs={key:1},ys={key:1,class:"input-wrapper"};function ks(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link"),c=j;return t.editing?(e.openBlock(),e.createElementBlock("div",ys,[e.createVNode(c,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":n[1]||(n[1]=m=>i.editableText=m)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock("li",us,[o.link.type==="href"||o.link.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,target:o.link.target,onClick:n[0]||(n[0]=m=>l.executeLink(o.link,m)),title:o.link.tooltip&&o.link.tooltip!==void 0?o.link.tooltip:void 0},[o.link.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.link.iconClass,type:o.link.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.link.text?(e.openBlock(),e.createElementBlock("span",ps,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)],8,fs)):o.link.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(o.link),title:o.link.tooltip},{default:e.withCtx(()=>[o.link.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.link.iconClass,type:o.link.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.link.text?(e.openBlock(),e.createElementBlock("span",gs,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to","title"])):e.createCommentVNode("",!0)]))}const Cs=B(hs,[["render",ks]]),Ep="",bs={name:"CmdListOfLinks",emits:["click"],mixins:[O],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(t){return t==="horizontal"||t==="vertical"}}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return F(this,{update(t,n){const o=n==null?void 0:n.find(a=>a.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}}},Bs={key:1},_s=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)];function ws(t,n,o,a,i,l){var m;const r=E,s=Cs,c=Y;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}])},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,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])},[t.editModeContext?(e.openBlock(),e.createElementBlock("li",Bs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(h,d)=>(e.openBlock(),e.createBlock(c,{key:"x"+d,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:h,allowedComponentTypes:[],componentPath:["props","links",d],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createVNode(s,{class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:h},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),o.links.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...h)=>l.onAddItem&&l.onAddItem(...h))},_s)):e.createCommentVNode("",!0)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.links,(h,d)=>(e.openBlock(),e.createBlock(s,{key:d,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:h},null,8,["class","link"]))),128))],2)],2)}const eo=B(bs,[["render",ws]]),xs={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"}}}},Ns={props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}},Dp="",Je={name:"CmdBox",mixins:[R,xs,Ns],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(t){return t==="content"||t==="product"||t==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"100rem"},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},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(t){return t==="business"||t==="influencer"||t==="dating"}},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}},mounted(){if(this.allowContentToScroll&&this.$refs.boxBody){const t=this.$refs.boxBody.getBoundingClientRect().top;this.calculatedBodyHeight=document.documentElement.clientHeight-t+"px"}},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)},setFocus(){this.$nextTick(()=>{if(this.open){const t=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");t&&t.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},to=()=>{e.useCssVars(t=>({"29b0cfc8":t.cutoffTextLines}))},oo=Je.setup;Je.setup=oo?(t,n)=>(to(),oo(t,n)):to;const Ss=["title"],Ts={key:0,class:"box-header"},Is=["src","alt"],Es={key:1},Ms={key:2,class:"box-footer"},Vs={class:"box-header flex-container vertical"},Ds={key:0},Os=["src","alt"],Ls={key:1},Ps={key:2,class:"ribbon-new"},Fs={key:3,class:"ribbon-discount"},As={class:"box-body"},js={key:0},zs={key:1,class:"price"},Hs=["title"],qs={key:2},Rs={class:"box-header flex-container vertical"},Us={key:0},Gs=["src","alt"],Ws={key:0},Qs={key:1},Zs=["title"],Js={key:0},Ys={class:"box-body"},Ks={key:0},Xs={key:1},$s={key:2},vs={key:3,class:"description"},er={key:0,class:"tags"},tr={key:1,class:"box-footer"};function or(t,n,o,a,i,l){var m,h,d,f,u,p,g,k,C;const r=E,s=T,c=eo;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"cmdBox",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((...w)=>l.toggleContentVisibility&&l.toggleContentVisibility(...w),["prevent"]))},[(m=o.useSlots)!=null&&m.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(h=o.cmdHeadline)!=null&&h.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,Ss)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(d=o.useSlots)!=null&&d.includes("header")||(f=o.cmdHeadline)!=null&&f.headlineText?(e.openBlock(),e.createElementBlock("div",Ts,[(u=o.useSlots)!=null&&u.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(p=o.cmdHeadline)!=null&&p.headlineText?(e.openBlock(),e.createBlock(r,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",o.boxBodyClass]),"aria-expanded":"true",role:"article"},[(g=o.useSlots)!=null&&g.includes("body")?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll}),ref:"boxBody",style:e.normalizeStyle("max-height: "+i.calculatedBodyHeight)},[e.renderSlot(t.$slots,"body",{},()=>[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((...w)=>l.toggleCutOffText&&l.toggleCutOffText(...w),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])])],6)):(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,Is)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll})},[(k=o.cmdHeadline)!=null&&k.headlineText&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Es,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)],2)],64))],2),[[e.vShow,i.open]]),(C=o.useSlots)!=null&&C.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ms,[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(w=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Vs,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ds,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Os),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Ls,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Ps,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Fs,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",As,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",js,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",zs,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Hs)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",qs,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",Rs,[o.user.image?(e.openBlock(),e.createElementBlock("figure",Us,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,Gs),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",Ws,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Qs,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,Zs),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",Js,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",Ys,[o.rowView?(e.openBlock(),e.createElementBlock("p",Ks,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",Xs,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",$s,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",vs,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),o.user.tags&&o.user.tags.length?(e.openBlock(),e.createElementBlock("ul",er,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(w,S)=>(e.openBlock(),e.createElementBlock("li",{key:S},e.toDisplayString(w),1))),128))])):e.createCommentVNode("",!0),o.user.links&&o.user.links.length?(e.openBlock(),e.createElementBlock("div",tr,[e.createVNode(c,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const no=B(Je,[["render",or]]),Op="",Lp="",Ye={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},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},allowMultipleExpandedBoxes:{type:Boolean,default:!0},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:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(t){return this.currentOpenBox.includes(t)},boxIsToggled(t){alert(t)},boxesPerRowResponsive(t,n){return 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){if(this.allowMultipleExpandedBoxes)if(n)this.currentOpenBox.push(t);else{let o=this.currentOpenBox.indexOf(t);this.currentOpenBox.splice(o,1)}else this.currentOpenBox=[],n&&this.currentOpenBox.push(t)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},lo=()=>{e.useCssVars(t=>({"4018ee97":t.boxesPerRowLarge,"762870ce":t.boxesPerRowMedium,"4080c863":t.boxesPerRowSmall}))},io=Ye.setup;Ye.setup=io?(t,n)=>(lo(),io(t,n)):lo;const nr={class:"cmd-box-wrapper"},lr={key:0,class:"flex-container headline-wrapper"},ir={key:1,class:"options-wrapper"},ar=["title"],sr=["title"];function rr(t,n,o,a,i,l){const r=E,s=T;return e.openBlock(),e.createElementBlock("div",nr,[o.cmdHeadline.headlineText||o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",lr,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",ir,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...c),["prevent"])),title:i.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(s,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ar)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...c)=>l.toggleOrientation&&l.toggleOrientation(...c),["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(s,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,sr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["inner-box-wrapper",o.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!o.useGap,"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:n[2]||(n[2]=(...c)=>l.boxIsToggled&&l.boxIsToggled(...c))})],2)])}const cr=B(Ye,[["render",rr]]);function ee(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 Pp="",dr={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return ee(t)}}},mr={class:"cmd-breadcrumbs"},hr={key:0},ur=["href"],fr={key:1},pr={key:1},gr={key:2},yr={key:1},kr={key:3};function Cr(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",mr,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",hr,e.toDisplayString(o.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.breadcrumbLinks||[],(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path},[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",fr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)],8,ur)):c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c)},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",pr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",gr,[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",yr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)])),m<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",kr,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const br=B(dr,[["render",Cr]]),Fp="",Ap="",Br={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 ee(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"}}},_r={class:"cmd-company-logo company-logo"},wr=["href","title"];function xr(t,n,o,a,i,l){var c,m,h,d,f,u;const r=K,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",_r,[((c=o.link)==null?void 0:c.type)==="router"?(e.openBlock(),e.createBlock(s,{key:0,to:(m=o.link)==null?void 0:m.path,title:(h=o.link)==null?void 0:h.tooltip},{default:e.withCtx(()=>[e.createVNode(r,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):((d=o.link)==null?void 0:d.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(u=o.link)==null?void 0:u.tooltip},[e.createVNode(r,{image:l.image},null,8,["image"])],8,wr)):(e.openBlock(),e.createBlock(r,{key:2,image:l.image},null,8,["image"]))])}const ao=B(Br,[["render",xr]]),jp="",Nr={name:"CmdContainer",mixins:[O],methods:{addHandlerProvider(){return""}}},Sr={class:"cmd-container"};function Tr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Sr,[e.renderSlot(t.$slots,"default")])}const Ir=B(Nr,[["render",Tr]]),Er={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!"}}}},zp="",Mr={name:"CmdCookieDisclaimer",mixins:[R,Er],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,r;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let s=0;s<n.length;s++)t.push(n[s].value);const o=(r=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:r.cookies;if(o)for(let s=0;s<o.length;s++)t.push(o[s].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}))}}},Vr={class:"cmd-cookie-disclaimer flex-container vertical"},Dr={key:0,class:"flex-container vertical"},Or={key:0},Lr={key:1},Pr=["href","target"],Fr=["innerHTML"],Ar=e.createElementVNode("hr",null,null,-1),jr={key:1,class:"flex-container vertical"},zr={key:0},Hr={key:1},qr=["href","target"],Rr=["innerHTML"],Ur={class:"button-wrapper align-center"};function Gr(t,n,o,a,i,l){const r=E,s=j,c=no;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var m,h,d;return[e.createElementVNode("div",Vr,[(m=o.cmdHeadlineCookieDisclaimer)!=null&&m.show&&((h=o.cmdHeadlineCookieDisclaimer)!=null&&h.headlineText)&&((d=o.cmdHeadlineCookieDisclaimer)!=null&&d.headlineLevel)?(e.openBlock(),e.createBlock(r,{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,u,p,g,k,C,w,S;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Dr,[(u=o.cmdBoxRequiredCookies)!=null&&u.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(p=o.cmdBoxRequiredCookies)==null?void 0:p.headlineText,"headline-level":(g=o.cmdBoxRequiredCookies)==null?void 0:g.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(y,M)=>{var x;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(x=o.cmdBoxRequiredCookies)==null?void 0:x.collapsible,key:M},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=N=>l.acceptedCookies=N),inputValue:y.value,labelText:y.labelText,disabled:y.disabled,id:y.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[y.description?(e.openBlock(),e.createElementBlock("p",Or,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Lr,[e.createTextVNode(e.toDisplayString(y.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:y.linkDataPrivacy.link,target:y.linkDataPrivacy.target},e.toDisplayString(y.linkDataPrivacy.linkText),9,Pr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Fr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Ar,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",jr,[(C=o.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(w=o.cmdBoxOptionalCookies)==null?void 0:w.headlineText,"headline-level":(S=o.cmdBoxOptionalCookies)==null?void 0:S.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(y,M)=>{var x;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(x=o.cmdBoxOptionalCookies)==null?void 0:x.collapsible,key:M},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=N=>l.acceptedCookies=N),inputValue:y.value,labelText:y.labelText,disabled:y.disabled,id:y.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[y.description?(e.openBlock(),e.createElementBlock("p",zr,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Hr,[e.createTextVNode(e.toDisplayString(y.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:y.linkDataPrivacy.link,target:y.linkDataPrivacy.target},e.toDisplayString(y.linkDataPrivacy.linkText),9,qr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Rr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Ur,[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 Wr=B(Mr,[["render",Gr]]),Hp="",Qr={name:"CmdCopyrightWrapper"},Zr={class:"cmd-copyright-information",role:"contentinfo"},Jr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function Yr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Zr,Jr)}const Kr=B(Qr,[["render",Yr]]),Xr={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"}}}},Rp="",Up="",$r={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[R,Xr,Ge,re,Ze],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:null,allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(t){return t==="default"||t==="color"||t==="country"||t==="content"||t==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(t){return t==="href"||t==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},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},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},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&&t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},vr=["title","aria-labelledby","aria-required"],ec={key:0,class:"label-text"},tc=["id"],oc={key:0},nc=["title","aria-errormessage","id"],lc=["aria-expanded"],ic=["title"],ac=["src","alt"],sc={key:0,role:"listbox"},rc=["aria-selected"],cc=["onClick","title"],dc={key:1},mc=["aria-expanded"],hc=["for"],uc=["value","checked","id"],fc=["onClick"],pc=["src","alt"],gc=["onClick"],yc={key:0,class:"select-all-options"};function kc(t,n,o,a,i,l){var m,h,d,f;const r=T,s=Ue,c=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",ec,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",oc,"*")):e.createCommentVNode("",!0)],8,tc),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,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(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nc)):e.createCommentVNode("",!0),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,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)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...u)=>l.closeOptions&&l.closeOptions(...u)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.toggleOptions&&l.toggleOptions(...u),["prevent"])),onBlur:n[2]||(n[2]=(...u)=>l.onBlur&&l.onBlur(...u)),title:(m=l.optionIcon)==null?void 0:m.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,ac)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(h=l.optionIcon)!=null&&h.iconClass?(e.openBlock(),e.createBlock(r,{key:2,type:(d=l.optionIcon)==null?void 0:d.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(r,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,ic),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",sc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,role:"option","aria-selected":u.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue}),title:u.tooltip},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",dc,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0)],10,cc)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(u.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,rc))),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,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(p+1),class:e.normalizeClass({active:o.modelValue.includes(`${u.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:u.value,onChange:n[3]||(n[3]=(...g)=>l.optionSelect&&l.optionSelect(...g)),checked:l.compareValues(u.value),id:"option-"+(p+1)},null,40,uc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,hc)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(u.value),alt:u.text},null,8,pc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,fc)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(g=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+u.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,gc)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",yc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...u)=>l.toggleAllOptions&&l.toggleAllOptions(...u),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(r,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(r,{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,mc)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,lc)],10,vr)}const so=B($r,[["render",kc]]),Gp="",Cc={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},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},submitButton:{type:Object,default(){return{iconClass:"icon-check",text:"Submit"}}}},methods:{createHtmlId:We,submitFormData(t){let n={};this.formElements.forEach(o=>{n[o.name]=this.formValues[o.name]}),this.$emit("submit",{originalEvent:t,formdata:n})},onSubmit(t){this.useValidation?t.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(t)):(t.preventDefault(),this.errorOccurred=!0):this.submitFormData(t)}},watch:{formElements:{handler(){var t;this.formValues={},(t=this.formElements)==null||t.forEach(n=>{n.type==="checkbox"?(this.formValues[n.name]||(this.formValues[n.name]=[]),n.value!=null&&this.formValues[n.name].push(n.value)):this.formValues[n.name]=n.value??""})},immediate:!0,deep:!0}}},bc=["data-use-validation","novalidate"],Bc={class:"flex-container"},_c={key:2,class:"button",type:"submit"},wc={key:1};function xc(t,n,o,a,i,l){const r=j;return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...s)=>l.onSubmit&&l.onSubmit(...s)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Bc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.formElements,(s,c)=>(e.openBlock(),e.createBlock(r,{key:c,element:s.element||"input",type:s.type||"text",name:s.name,class:e.normalizeClass(s.htmlClass),id:s.id||l.createHtmlId(),modelValue:i.formValues[s.name],"onUpdate:modelValue":m=>i.formValues[s.name]=m,inputValue:s.inputValue,fieldIconClass:s.innerIconClass,selectOptions:s.selectOptions,labelText:s.labelText,placeholder:s.placeholder,required:s.required,disabled:s.disabled,autocomplete:s.autocomplete,minlength:s.minlength,maxlength:s.maxlength,nativeButton:s.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),o.submitButton?(e.openBlock(),e.createElementBlock("button",_c,[o.submitButton.iconClass?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(o.submitButton.iconClass)},null,2)):e.createCommentVNode("",!0),o.submitButton.text?(e.openBlock(),e.createElementBlock("span",wc,e.toDisplayString(o.submitButton.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,bc)}const Nc=B(Cc,[["render",xc]]),Wp="",Sc={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(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}}},Tc={key:0,class:"cmd-form-filters"},Ic={key:0},Ec={key:1},Mc=["onClick","title"];function Vc(t,n,o,a,i,l){const r=T;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Tc,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Ic,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.deleteAllFilters&&l.deleteAllFilters(...s),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(r,{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",Ec,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.deleteClickedFilter(c),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(s)),1),e.createVNode(r,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Mc)]))),128))])):e.createCommentVNode("",!0)}const ro=B(Sc,[["render",Vc]]),Qp="",Dc={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"}}},Oc={class:"cmd-google-maps responsive-wrapper"},Lc=["src"];function Pc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Oc,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Lc)])}const Fc=B(Dc,[["render",Pc]]),Zp="",Ac={name:"CmdImageGallery",mixins:[O],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(t){return t==="top"||t==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(t){const n={...t.figcaption};return this.figcaptionPosition&&(n.position=this.figcaptionPosition),n},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","images",-1),this.itemProvider)},showFancyBox(t){Be({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const t=this.editableHtmlContent;return F(this,{update(n,o){n.htmlContent=t;const a=o==null?void 0:o.find(i=>i.name==="CmdHeadline");a&&(n.cmdHeadline=n.cmdHeadline||{},a.update(n.cmdHeadline))}})}}},jc={class:"grid-container-create-columns cmd-image-gallery"},zc=["onClick","title"],Hc=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new gallery-image",-1)];function qc(t,n,o,a,i,l){var c;const r=E,s=K;return e.openBlock(),e.createElementBlock("div",jc,[(c=o.cmdHeadline)!=null&&c.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editModeContext?o.images.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createBlock(s,{key:h,class:"image-wrapper",image:m.image,figcaption:m.figcaption,componentPath:["props","images",h],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(e.openBlock(),e.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...m)=>l.onAddItem&&l.onAddItem(...m))},Hc)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:h,href:"#",onClick:e.withModifiers(d=>l.showFancyBox(h),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(s,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])],8,zc))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.images,(m,h)=>(e.openBlock(),e.createElementBlock("div",{key:`i${h}`,class:"image-wrapper"},[e.createVNode(s,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])]))),128))],64))])}const Rc=B(Ac,[["render",qc]]),Kp="",Uc={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`,co(this,t)})},onMouseMove(t){co(this,t)},onMouseOut(){this.showLargeImage=!1}}};function co(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,r=n.target.getBoundingClientRect().height,s=a.getBoundingClientRect().width,c=a.getBoundingClientRect().height,m=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,h=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,d=Math.min(l,o.getBoundingClientRect().width/s*l),f=Math.min(r,o.getBoundingClientRect().height/c*r),u=mo(m-d/2,0,l-d),p=mo(h-f/2,0,r-f),g=-(u*(s/l)),k=-(p*(c/r));i.style.left=`${u}px`,i.style.top=`${p}px`,i.style.width=`${d}px`,i.style.height=`${f}px`,i.style.display="block",a.style.marginLeft=`${g}px`,a.style.marginTop=`${k}px`}function mo(t,n,o){return t<n?n:t>o?o:t}const Gc={class:"cmd-imagezoom flex-container"},Wc=["title"],Qc=["src","alt"],Zc={key:0,class:"zoom-container"},Jc=["src","alt"],Yc={key:1,class:"zoom-overlay"};function Kc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Gc,[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]=(...r)=>l.onMouseOver&&l.onMouseOver(...r)),onMousemove:n[1]||(n[1]=(...r)=>l.onMouseMove&&l.onMouseMove(...r)),onMouseout:n[2]||(n[2]=(...r)=>l.onMouseOut&&l.onMouseOut(...r))},null,40,Qc)],8,Wc),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zc,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Jc)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Yc)):e.createCommentVNode("",!0)])}const Xc=B(Uc,[["render",Kc]]),Xp="",$c={mixins:[Ge,re,Ze],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(t){return t==="checkbox"||t==="radio"}},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{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}}},vc=["aria-labelledby"],ed={class:"label-text"},td=["id"],od={key:0},nd=["title","aria-errormessage","id"],ld=["for"],id=["type","id","name","value","disabled"],ad={key:1,class:"label-text"},sd={key:1,class:"flex-container no-flex"};function rd(t,n,o,a,i,l){const r=T,s=Ue;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-switches":o.toggleSwitches,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",ed,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",od,"*")):e.createCommentVNode("",!0)],8,td),(o.required||t.inputRequirements.length>0)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(r,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nd)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,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)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",sd,[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,(c,m)=>(e.openBlock(),e.createElementBlock("label",{key:m,for:c.id,class:e.normalizeClass({"toggle-switch":o.toggleSwitches})},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:c.id,name:c.name,value:c.value,"onUpdate:modelValue":n[1]||(n[1]=h=>l.inputValue=h),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType})},null,10,id),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.labelText?(e.openBlock(),e.createElementBlock("span",ad,e.toDisplayString(c.labelText),1)):e.createCommentVNode("",!0)],10,ld))),128))],2))],10,vc)}const cd=B($c,[["render",rd]]),$p="",dd={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:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return ee(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()}}},md={class:"cmd-login-form flex-container"},hd={class:"flex-container"},ud={class:"option-wrapper flex-container"},fd={key:1},pd=["href"],gd={key:1},yd={key:1},kd=["type","disabled"],Cd={key:1},bd={class:"cmd-login-form flex-container"},Bd={class:"option-wrapper flex-container"},_d={key:1},wd=["type","disabled"],xd={key:1};function Nd(t,n,o,a,i,l){var h,d,f,u,p,g,k;const r=E,s=j,c=T,m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",md,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",hd,[e.createVNode(s,{element:"input",type:"text",ref:"username",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=C=>l.username=C),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>l.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(s,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=C=>l.password=C),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>l.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",ud,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers((...C)=>l.toggleSendLoginView&&l.toggleSendLoginView(...C),["prevent"]))},[(h=o.options.forgotPassword.icon)!=null&&h.show&&((d=o.options.forgotPassword.icon)!=null&&d.iconClass)?(e.openBlock(),e.createBlock(c,{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",fd,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&&f.show&&((u=o.options.createAccount.icon)!=null&&u.iconClass)?(e.openBlock(),e.createBlock(c,{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",gd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,pd)):o.options.createAccount&&o.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(m,{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(c,{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),e.createTextVNode(" /> "),o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",yd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>l.onClick&&l.onClick(...C)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(c,{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",Cd,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,kd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",bd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,{ref:"sendPassword",element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>l.checkValidationStatus(C,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>i.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Bd,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers((...C)=>l.toggleSendLoginView&&l.toggleSendLoginView(...C),["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(c,{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",_d,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},[(p=o.buttons.sendLogin.icon)!=null&&p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(g=o.buttons.sendLogin.icon)==null?void 0:g.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",xd,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,wd)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Sd=B(dd,[["render",Nd]]),vp="",eg="",Td={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},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(t){return t==="right"||t==="left"}},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"}},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 ee(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})}}},Id={key:0,class:"close-nav"},Ed=["href","title","target","onClick"],Md={key:1},Vd={key:1},Dd=["aria-expanded"],Od=["href","title","target","onClick"],Ld={key:1},Pd={key:1},Fd=["aria-expanded"],Ad=["href","title","target","onClick"],jd={key:1},zd={key:1};function Hd(t,n,o,a,i,l){const r=T,s=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",Id,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...c),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(r,{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,(c,m)=>{var h,d,f;return e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:c.active,open:i.openEntry===m,"has-subentries":(h=c==null?void 0:c.subentries)==null?void 0:h.length})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:u=>l.executeLink(u,c,m),onMouseover:n[1]||(n[1]=u=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=u=>l.closeAllSubentries())},[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Md,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),(d=c==null?void 0:c.subentries)!=null&&d.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Ed)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),c.subentries&&c.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=c==null?void 0:c.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(c.subentries,(u,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,class:e.normalizeClass({open:i.openSubentry===p})},[u.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:u.path,title:u.tooltip,target:u.target,onClick:g=>l.executeLink(g,u,p,1),onMouseover:n[3]||(n[3]=g=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=g=>l.closeAllSubentries(1))},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Ld,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Od)):e.createCommentVNode("",!0),u.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(u),title:u.tooltip},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Pd,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),u.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.subentries,(g,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:C=>l.executeLink(C,g)},[g.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",jd,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,Ad)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(g),target:g.target},{default:e.withCtx(()=>[g.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",zd,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.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,Fd)):e.createCommentVNode("",!0)],2))),128))],8,Dd)):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((...c)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...c),["prevent"]))},[e.createVNode(r,{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 ho=B(Td,[["render",Hd]]),tg="",og="",qd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return ee(t)}}},Rd=["href","onClick","title"],Ud={key:0,class:"number"},Gd={key:2},Wd={key:0,class:"number"},Qd={key:2},Zd=["type","name","title","formaction","onClick"],Jd={key:0,class:"number"},Yd={key:2};function Kd(t,n,o,a,i,l){const r=T,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:i.activeLink===m})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,onClick:e.withModifiers(h=>l.clickedStep(h,m),["stop","prevent"]),title:c.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Ud,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Gd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Rd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Qd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),c.type==="button"||c.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:c.type,name:c.name,title:c.tooltip,formaction:c.formaction,onClick:e.withModifiers(h=>l.clickedStep(h,m),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Jd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Zd)):e.createCommentVNode("",!0)],2))),128))],2)}const Xd=B(qd,[["render",Kd]]),ng="";function uo(t,n,o,a=!0){function i(l,r){return r&&l<10?"0"+l:l}return(l,r)=>{if(o){let s=l,c=n;return s>12&&(s-=12,c=o),i(s,a)+t+i(r,!0)+c}return i(l,a)+t+i(r,!0)+n}}const $d={name:"CmdOpeningHoursItem",mixins:[O],data(){return{editableDay:{}}},props:{day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(t){t==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):uo(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableDay;return F(this,{update(n){n.day=t.day,n.am||(n.am={}),n.am.fromTime=t.amFrom,n.am.tillTime=t.amTill,n.am.displayText=t.amClosed?t.amDisplayText:"",n.pm||(n.pm={}),n.pm.fromTime=t.pmFrom,n.pm.tillTime=t.pmTill,n.pm.displayText=t.pmClosed?t.pmDisplayText:""}})}},watch:{day:{handler(){const t=uo(":","","",!0);this.editableDay={day:this.day.day,amFrom:t(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:t(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:t(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:t(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},vd={class:"cmd-opening-hours-item"},em={key:0,class:"am"},tm={key:1,class:"pm"},om={class:"flex-container no-flex"},nm={class:"flex-container no-flex am-wrapper"},lm={key:1,class:"input-wrapper"},im=["title"],am={class:"flex-container no-flex pm-wrapper"},sm={key:1,class:"input-wrapper"},rm=["title"];function cm(t,n,o,a,i,l){const r=j;return t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("dt",null,[e.createVNode(r,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":n[0]||(n[0]=s=>i.editableDay.day=s)},null,8,["modelValue"])]),e.createElementVNode("dd",om,[e.createElementVNode("div",nm,[i.editableDay.amClosed?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":n[1]||(n[1]=s=>i.editableDay.amDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.amClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lm,[e.createVNode(r,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":n[2]||(n[2]=s=>i.editableDay.amFrom=s)},null,8,["modelValue"]),e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":n[3]||(n[3]=s=>i.editableDay.amTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers(s=>l.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,im)]),e.createElementVNode("div",am,[i.editableDay.pmClosed?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":n[5]||(n[5]=s=>i.editableDay.pmDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.pmClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",sm,[e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":n[6]||(n[6]=s=>i.editableDay.pmFrom=s)},null,8,["modelValue"]),e.createVNode(r,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":n[7]||(n[7]=s=>i.editableDay.pmTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(s=>l.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,rm)])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",vd,e.toDisplayString(o.day.day),1),e.createElementVNode("dd",null,[o.day.am?(e.openBlock(),e.createElementBlock("span",em,[o.day.am.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.am.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.am.fromTime,o.abbreviationTextAm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.am.tillTime)),1)],64))])):e.createCommentVNode("",!0),o.day.pm?(e.openBlock(),e.createElementBlock("span",tm,[o.day.pm.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.pm.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.pm.fromTime,o.abbreviationTextPm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.pm.tillTime)),1)],64))])):e.createCommentVNode("",!0)])],64))}const dm=B($d,[["render",cm]]),lg="";function mm(t,n,o,a=!0){function i(l,r){return r&&l<10?"0"+l:l}return(l,r)=>{if(o){let s=l,c=n;return s>12&&(s-=12,c=o),i(s,a)+t+i(r,!0)+c}return i(l,a)+t+i(r,!0)+n}}const hm={name:"CmdOpeningHours",mixins:[O],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},link:{type:Object,required:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].am.fromTime.split(/[:.]/),i=this.openingHours[n].am.tillTime.split(/[:.]/),l=this.openingHours[n].pm.fromTime.split(/[:.]/),r=this.openingHours[n].pm.tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.am={...this.openingHours[n].am},o.am.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},o.pm={...this.openingHours[n].pm},o.pm.fromTime={hours:parseInt(l[0]),mins:parseInt(l[1])},o.pm.tillTime={hours:parseInt(r[0]),mins:parseInt(r[1])},t.push(o)}return t},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(t){this.editableTextOpen=t}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(t){this.editableTextClosed=t}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(t){this.editableTextHolidays=t}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(t){this.editableTextMiscInfo=t}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},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.am.fromTime.hours,n.am.fromTime.mins);const a=new Date;a.setHours(n.am.tillTime.hours,n.am.tillTime.mins);const i=new Date;i.setHours(n.pm.fromTime.hours,n.pm.fromTime.mins);const l=new Date;if(l.setHours(n.pm.tillTime.hours,n.pm.tillTime.mins),o<=this.currentTime&&this.currentTime<=a&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Z(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):mm(":"," hrs","",!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableOpeningHours,n=this.editableTextOpen,o=this.editableTextClosed,a=this.editableTextHolidays,i=this.editableTextMiscInfo;return F(this,{update(l,r){l.openingHours=t,l.textOpen=n,l.textClosed=o,l.textHolidays=a,l.textMiscInfo=i;const s=r==null?void 0:r.find(c=>c.name==="CmdHeadline");s&&(l.cmdHeadline=l.cmdHeadline||{},s.update(l.cmdHeadline))}})}}},um={class:"cmd-opening-hours"},fm=["href"],pm={key:2,class:"flex-container"},gm={key:3},ym=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],km={class:"edit-mode-opening-hours-item"},Cm={key:6},bm={key:0},Bm={key:1},_m={key:7,class:"flex-container vertical"};function wm(t,n,o,a,i,l){var d,f,u;const r=E,s=e.resolveComponent("router-link"),c=j,m=dm,h=Y;return e.openBlock(),e.createElementBlock("div",um,[(d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",pm,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":n[0]||(n[0]=p=>l.textOpenModel=p)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":n[1]||(n[1]=p=>l.textClosedModel=p)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link&&((f=o.link)!=null&&f.path)&&((u=o.link)!=null&&u.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[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,fm)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(s,{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:1,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3))],64)),t.editModeContext?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("dl",gm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(m,{key:g,day:p,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"]))),128))])),l.openingHoursFormatted.length===0?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm small",onClick:n[2]||(n[2]=(...p)=>l.onAddItem&&l.onAddItem(...p))},ym)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(h,{key:"x"+g,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:p,allowedComponentTypes:[],componentPath:["props","openingHours",g],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createElementVNode("dl",km,[e.createVNode(m,{day:p,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),!t.editing&&(o.textHolidays||o.textMiscInfo)?(e.openBlock(),e.createElementBlock("div",Cm,[o.textHolidays?(e.openBlock(),e.createElementBlock("p",bm,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidays),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Bm,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",_m,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":n[3]||(n[3]=p=>l.textHolidaysModel=p)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":n[4]||(n[4]=p=>l.textMiscInfoModel=p)},null,8,["modelValue"])])):e.createCommentVNode("",!0)])}const xm=B(hm,[["render",wm]]),Nm={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},sg="",rg="",Sm={name:"CmdPager",mixins:[R,Nm],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",validator(t){return t==="href"||t==="button"}},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)}}},Tm={class:"cmd-pager"},Im=["href","title"],Em={key:0},Mm={class:"page-index"},Vm={class:"flex-container"},Dm=["href","title","onClick"],Om=["href","title"],Lm={key:0};function Pm(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createElementBlock("div",Tm,[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((...s)=>l.previousPage&&l.previousPage(...s),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(r,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",Em,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,Im),e.createElementVNode("div",Mm,[e.createElementVNode("div",Vm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(s,c)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(s),class:e.normalizeClass({disabled:i.currentPage===c+1,button:o.linkType==="button",hidden:!o.showPageNumbers}),title:i.currentPage!==c+1?t.getMessage("cmdpager.tooltip.go_to_page",c+1):t.getMessage("cmdpager.tooltip.not_possible"),key:c,onClick:e.withModifiers(m=>l.showPage(s),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(c+1),1)],10,Dm))),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((...s)=>l.nextPage&&l.nextPage(...s),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Lm,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Om)])}const Fm=B(Sm,[["render",Pm]]),cg="",Am={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}}},jm=["for"],zm={class:"progressbar"},Hm={key:0},qm=["id","value"];function Rm(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",zm,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Hm,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,qm)])],8,jm)}const Um=B(Am,[["render",Rm]]),dg="",Gm={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-single-arrow-left":"icon-single-arrow-right":this.open?"icon-single-arrow-right":"icon-single-arrow-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},Wm={class:"inner-sidebar-wrapper"},Qm={key:1,class:"open-slot-wrapper"},Zm={key:2,class:"closed-slot-wrapper"},Jm=["title"];function Ym(t,n,o,a,i,l){var s;const r=E;return e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:o.styledAsBox,"collapse-to-right":!o.collapseToLeft}])},[e.createElementVNode("div",Wm,[(s=o.cmdHeadline)!=null&&s.headlineText&&i.open?(e.openBlock(),e.createBlock(r,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel||3,textAlign:o.cmdHeadline.textAlign,class:"sidebar-main-headline"},null,8,["headlineText","headlineLevel","textAlign"])):e.createCommentVNode("",!0),i.open?(e.openBlock(),e.createElementBlock("div",Qm,[e.renderSlot(t.$slots,"open",{openBoxStatus:i.open})])):(e.openBlock(),e.createElementBlock("div",Zm,[e.renderSlot(t.$slots,"closed",{openBoxStatus:i.open})]))]),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleSidebar&&l.toggleSidebar(...c),["prevent"]))},[e.createElementVNode("span",{class:e.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,Jm)):e.createCommentVNode("",!0)],2)}const Km=B(Gm,[["render",Ym]]),mg="",hg="",Xm={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(t){return t==="horizontal"||t==="vertical"}}}},$m={class:"cmd-site-footer"};function vm(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",$m,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const eh=B(Xm,[["render",vm]]),ug="",fg="",th={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)}}},oh={key:0,class:"top-header"};function nh(t,n,o,a,i,l){var c,m,h,d,f,u,p,g,k;const r=ao,s=ho;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((c=o.cmdMainNavigation)==null?void 0:c.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",oh,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((h=(m=o.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:h.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=(d=o.cmdMainNavigation)==null?void 0:d.navigationEntries)!=null&&f.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),(p=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length&&o.navigationInline?(e.openBlock(),e.createBlock(s,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,stretchMainItems:o.cmdMainNavigation.stretchMainItems,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","stretchMainItems","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),(k=(g=o.cmdMainNavigation)==null?void 0:g.navigationEntries)!=null&&k.length&&!o.navigationInline?(e.openBlock(),e.createBlock(s,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,stretchMainItems:o.cmdMainNavigation.stretchMainItems,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","stretchMainItems","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const lh=B(th,[["render",nh]]),ih={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"}}}},pg="",ah={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[R,ih],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},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1},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&&t.selectOptions&&((n=this.cmdFormElementRadius)!=null&&n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},sh={class:"cmd-box-site-search flex-container"},rh={class:"flex-container align-bottom"},ch={class:"input-wrapper align-bottom"},dh={key:0},mh={key:1},hh={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function uh(t,n,o,a,i,l){var d,f,u,p,g,k,C,w;const r=E,s=j,c=T,m=so,h=ro;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",sh,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",rh,[e.createVNode(s,{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]=S=>l.searchValue1=S)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",ch,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(s,{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]=S=>l.searchValue2=S)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(s,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=S=>l.radius=S),"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(s,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),o.useFilters?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(S=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(c,{iconClass:i.showFilters?(f=(d=o.cmdIcon)==null?void 0:d.showFilters)==null?void 0:f.iconClass:(p=(u=o.cmdIcon)==null?void 0:u.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(k=(g=o.cmdIcon)==null?void 0:g.showFilters)==null?void 0:k.iconType:(w=(C=o.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:w.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",dh,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",mh,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var S,y,M,x,N;return[i.showFilters&&((S=o.cmdFakeSelect)!=null&&S.selectData.length)?(e.openBlock(),e.createElementBlock("div",hh,[e.createVNode(m,{role:"option",selectData:(y=o.cmdFakeSelect)==null?void 0:y.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=V=>l.searchFilters=V),defaultOptionName:(M=o.cmdFakeSelect)==null?void 0:M.defaultOptionName,type:(x=o.cmdFakeSelect)==null?void 0:x.type,labelText:(N=o.cmdFakeSelect)==null?void 0:N.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),o.useFilters?(e.openBlock(),e.createBlock(h,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=S=>l.searchFilters=S),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const fh=B(ah,[["render",uh]]),gg="",yg="",ph={name:"CmdSlideshow",mixins:[O],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},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},showSlideButtons:{type:Boolean,default:!1},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.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(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){!this.slideshowItemEditing&&t>=0&&t<this.slideshowItems.length&&(this.index=t)},showNextItem(){this.slideshowItemEditing||(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:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var t;(t=this.$refs.slideshowItemComponentWrapper)==null||t.addEditStateListener(n=>this.slideshowItemEditing=n)})}}},gh=["href","title"],yh=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new slideshow-image",-1)],kh={key:2},Ch=["onClick","aria-label","title"],bh={key:3,class:"item-counter"};function Bh(t,n,o,a,i,l){const r=ce,s=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[1]||(n[1]=c=>i.pause=!0),onMouseleave:n[2]||(n[2]=c=>i.pause=!1)},[o.showSlideButtons?(e.openBlock(),e.createBlock(r,e.mergeProps({key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var c,m,h,d,f,u,p,g,k,C,w,S;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"slot-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},[t.editModeContext?o.slideshowItems.length?(e.openBlock(),e.createBlock(s,{key:1,image:(w=l.currentItem)==null?void 0:w.image,figcaption:(S=l.currentItem)==null?void 0:S.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(m=(c=l.currentItem)==null?void 0:c.link)!=null&&m.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:(d=(h=l.currentItem)==null?void 0:h.link)==null?void 0:d.href,title:(u=(f=l.currentItem)==null?void 0:f.link)==null?void 0:u.tooltip},[e.createVNode(s,{image:(p=l.currentItem)==null?void 0:p.image,figcaption:(g=l.currentItem)==null?void 0:g.figcaption},null,8,["image","figcaption"])],8,gh)):(e.openBlock(),e.createBlock(s,{key:1,image:(k=l.currentItem)==null?void 0:k.image,figcaption:(C=l.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):t.editModeContext?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...y)=>l.onAddItem&&l.onAddItem(...y))},yh)):e.createCommentVNode("",!0)]}),_:3}),o.showSlideButtons?(e.openBlock(),e.createBlock(r,e.mergeProps({key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",kh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(c,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:m===i.index})},[e.createElementVNode("a",{href:"#",class:e.normalizeClass({disabled:i.slideshowItemEditing}),onClick:e.withModifiers(h=>l.showItem(m),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(m+1)},null,10,Ch)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",bh,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const _h=B(ph,[["render",Bh]]),bg="",wh={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[O],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},buttonTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},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},addHandlerProvider(){const t={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return F(this,{item(){return t}})},updateHandlerProvider(){const t=$(),n=this.editablePath,o=this.editableTooltip,a=this.editableLinktext;return F(this,{update(i){i.id=t,i.path=n,i.tooltip=o,i.linkText=a}})}}},xh={class:"cmd-social-networks-item"},Nh=["id","href","title"],Sh={key:1};function Th(t,n,o,a,i,l){const r=T;return e.openBlock(),e.createElementBlock("li",xh,[(e.openBlock(),e.createElementBlock("a",{key:o.network.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!o.dataPrivacyAccepted},{"text-align-right":o.buttonTextAlign==="right"}]),id:o.network.id,href:l.getUrl(o.network),onClick:n[0]||(n[0]=(...s)=>l.preventOnDisabled&&l.preventOnDisabled(...s)),target:"_blank",title:l.tooltip(o.network.tooltip)},[o.network.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:o.network.iconClass,type:o.network.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.network.linkText?(e.openBlock(),e.createElementBlock("span",Sh,e.toDisplayString(o.network.linkText),1)):e.createCommentVNode("",!0)],10,Nh))])}const Ih=B(wh,[["render",Th]]),Bg="",_g="",Eh={name:"CmdSocialNetworks",mixins:[O],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},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!"},buttonTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="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)},alignment(){return"align-"+this.align}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},onAddItem(){this.editModeContext.content.addContent(Z(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},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},onPersist(t){return{editModeContextData:{...this.editModeContextData||{}},update(n){n.cmdHeadline={...n.cmdHeadline||{}},Array.isArray(t)&&t.length>0&&(n.cmdHeadline.headlineText=t[0].headlineText)}}}}},Mh=[e.createElementVNode("span",{class:"icon-plus"},null,-1)];function Vh(t,n,o,a,i,l){var h,d;const r=E,s=j,c=Ih,m=Y;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons},l.alignment])},[(h=o.cmdHeadline)!=null&&h.headlineText||(d=t.editModeContext)!=null&&d.editing?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline||{})),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(s,{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]=f=>i.dataPrivacyAccepted=f)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),l.validNetworks.length>0?(e.openBlock(),e.createElementBlock("ul",{key:2,class:e.normalizeClass(["button-wrapper",{"no-gap":!o.useGap}])},[t.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l.validNetworks,(f,u)=>(e.openBlock(),e.createBlock(m,{key:"x"+u,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:f,componentPath:["props","networks",u],showComponentName:!1},{default:e.withCtx(()=>[e.createVNode(c,{network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.validNetworks,(f,u)=>(e.openBlock(),e.createBlock(c,{key:u,network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"]))),128))],2)):(e.openBlock(),e.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:n[1]||(n[1]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Mh))],2)}const Dh=B(Eh,[["render",Vh]]),Oh=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"})),Ig="",Lh={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return ee(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(Oh[n].default)})},immediate:!0,deep:!0}}},Ph={class:"cmd-switch-language"},Fh=["href","title","onClick"],Ah=["src","alt"],jh=["src","alt"];function zh(t,n,o,a,i,l){const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Ph,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[s.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.link.path,class:e.normalizeClass(["flag",s.iso2,{active:l.activeLanguage(s)}]),title:s.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:s})},[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,Ah)],10,Fh)):(e.openBlock(),e.createBlock(r,{key:1,class:e.normalizeClass(["flag",s.iso2]),to:l.getRoute(s),title:s.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:s})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,jh)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const Hh=B(Lh,[["render",zh]]),Eg="",qh={name:"CmdSystemMessage",mixins:[re],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0,validator(t){return t==="error"||t==="warning"||t==="success"||t==="info"}},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}}},Rh=["role","aria-labelledby"],Uh=["title"];function Gh(t,n,o,a,i,l){const r=T,s=E;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(c=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(r,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,Uh)):e.createCommentVNode("",!0),e.createVNode(s,{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,Rh)):e.createCommentVNode("",!0)]),_:3})}const fo=B(qh,[["render",Gh]]),Mg="",Wh={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},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},showSlideButtons:{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"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},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)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const t=this.$refs.table.previousElementSibling,n=this.$refs.table.nextElementSibling,o=this.$refs.innerWrapper,a=o.getBoundingClientRect(),i=a.width+o.scrollLeft-n.getBoundingClientRect().width,l=o.scrollLeft;console.log("parentRect",a),t.style.left=`${l}px`,n.style.left=`${i}px`,l===0?t.style.display="none":t.style.display="flex",l===o.scrollLeftMax?n.style.display="none":n.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},Qh={key:0,class:"button-wrapper"},Zh=["title"],Jh=["title"],Yh={"aria-expanded":"true"},Kh={key:0,"aria-expanded":"true"};function Xh(t,n,o,a,i,l){var c,m,h,d;const r=T,s=ce;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",Qh,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(f=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(r,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,Zh)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(f=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(r,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,Jh)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:n[2]||(n[2]=(...f)=>l.updatePosition&&l.updatePosition(...f))},[o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:0,onClick:e.withModifiers(l.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createElementVNode("table",{ref:"table",class:e.normalizeClass({"full-width":i.fullWidth})},[(c=o.tableData.caption)!=null&&c.text||(m=o.caption)!=null&&m.text?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((h=o.caption)==null?void 0:h.text)||((d=o.tableData.caption)==null?void 0:d.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,(f,u)=>(e.openBlock(),e.createElementBlock("th",{key:u},e.toDisplayString(f),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",Yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(f,u)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===u}),key:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,(p,g)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===g}),key:g},e.toDisplayString(p),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",Kh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(f,u)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===u}),key:u},e.toDisplayString(f),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2),o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):e.createCommentVNode("",!0)],544)],2)}const $h=B(Wh,[["render",Xh]]),vh={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
|
2
2
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
3
3
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
4
4
|
<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},Pg="";St(vh);const eu={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}}},tu={class:"cmd-tabs"},ou=["onClick","title"],nu={key:1},lu={key:1,"aria-live":"assertive"},iu=["innerHTML"];function au(t,n,o,a,i,l){const r=T,s=E;return e.openBlock(),e.createElementBlock("div",tu,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(c,m)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass({active:i.showTab===m}),key:m,role:"tab"},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(h=>l.setActiveTab(m),["prevent"]),title:c.name?void 0:c.tooltip},[c.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.name?(e.openBlock(),e.createElementBlock("span",nu,e.toDisplayString(c.name),1)):e.createCommentVNode("",!0)],8,ou)],2))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,c=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:c,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(c-1))])),[[e.vShow,i.showTab===c-1]])),128)):(e.openBlock(),e.createElementBlock("div",lu,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,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,iu)]))])}const su=B(eu,[["render",au]]),Fg="",ru={name:"CmdTextImageBlock",mixins:[O],data(){return{editableHtmlContent:null}},props:{editModeContextData:{type:Object},htmlContent:{type:String,required:!0},paragraphTextAlign:{type:String,required:!1,validator(t){return t==="left"||t==="center"||t==="right"}},headlinePosition:{type:String,default:"aboveImage",validator(t){return t==="aboveImage"||t==="belowImage"}},cmdHeadline:{type:Object,required:!1},cmdImage:{type:Object,required:!1}},computed:{paragraphComponentPath(){return[{componentPath:["props","htmlContent"],$isComponent:!1}]},textAlign(){return this.paragraphTextAlign?"text-align-"+this.paragraphTextAlign:""}},methods:{onAddItem(){this.$refs.editComponentWrapper.editComponent()},addHandlerProvider(){return""},updateHandlerProvider(){const t=this.editableHtmlContent;return this.editableHtmlContent=null,F(this,{update(n){n.htmlContent=t}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},cu={class:"cmd-text-image-block flex-container vertical"},du=["innerHTML"],mu=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new paragraph",-1)],hu=["innerHTML"];function uu(t,n,o,a,i,l){var m,h,d,f;const r=E,s=K,c=Y;return e.openBlock(),e.createElementBlock("div",cu,[((m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext)&&o.headlinePosition==="aboveImage"?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.cmdImage?(e.openBlock(),e.createBlock(s,{key:1,image:(h=o.cmdImage)==null?void 0:h.image,figcaption:(d=o.cmdImage)==null?void 0:d.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):e.createCommentVNode("",!0),((f=o.cmdHeadline)!=null&&f.headlineText||t.editModeContext)&&o.headlinePosition==="belowImage"?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:2},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editModeContext?(e.openBlock(),e.createBlock(c,{key:3,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:o.htmlContent,textAlign:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!o.htmlContent},{default:e.withCtx(u=>[u.editing?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:0,class:e.normalizeClass(["edit-mode",l.textAlign]),"onUpdate:modelValue":n[0]||(n[0]=p=>i.editableHtmlContent=p),placeholder:"Paragraph"},null,2)),[[e.vModelText,i.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.htmlContent,class:e.normalizeClass(l.textAlign)},null,10,du)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...p)=>l.onAddItem&&l.onAddItem(...p))},mu))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:4,innerHTML:o.htmlContent,class:e.normalizeClass(l.textAlign)},null,10,hu)):e.createCommentVNode("",!0)])}const fu=B(ru,[["render",uu]]),zg="",pu={name:"ToggleDarkMode",mixins:[O],data(){return{darkMode:!1,editableLabelTextLightMode:null,editableLabelTextDarkMode:null}},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()},updateHandlerProvider(){const t=this.labelTextLightModeModel,n=this.labelTextDarkModeModel;return F(this,{update(o){o.labelTextLightMode=t,o.labelTextDarkMode=n}})}},computed:{labelTextLightModeModel:{get(){return this.editableLabelTextLightMode==null?this.labelTextLightMode:this.editableLabelTextLightMode},set(t){this.editableLabelTextLightMode=t}},labelTextDarkModeModel:{get(){return this.editableLabelTextDarkMode==null?this.labelTextDarkMode:this.editableLabelTextDarkMode},set(t){this.editableLabelTextDarkMode=t}},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}}},gu={key:0};function yu(t,n,o,a,i,l){const r=T,s=j;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":i.darkMode}])},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(s,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":n[2]||(n[2]=c=>l.labelTextLightModeModel=c)},null,8,["modelValue"]),e.createVNode(s,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":n[3]||(n[3]=c=>l.labelTextDarkModeModel=c)},null,8,["modelValue"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[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((...c)=>l.toggleColorScheme&&l.toggleColorScheme(...c),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",gu,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:o.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=c=>i.darkMode=c),l.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const ku=B(pu,[["render",yu]]),Cu={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 bu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ke={exports:{}},po=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)}},Bu=po,X=Object.prototype.toString;function Xe(t){return X.call(t)==="[object Array]"}function $e(t){return typeof t>"u"}function _u(t){return t!==null&&!$e(t)&&t.constructor!==null&&!$e(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function wu(t){return X.call(t)==="[object ArrayBuffer]"}function xu(t){return typeof FormData<"u"&&t instanceof FormData}function Nu(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Su(t){return typeof t=="string"}function Tu(t){return typeof t=="number"}function go(t){return t!==null&&typeof t=="object"}function _e(t){if(X.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function Iu(t){return X.call(t)==="[object Date]"}function Eu(t){return X.call(t)==="[object File]"}function Mu(t){return X.call(t)==="[object Blob]"}function yo(t){return X.call(t)==="[object Function]"}function Vu(t){return go(t)&&yo(t.pipe)}function Du(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Ou(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Lu(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ve(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Xe(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 et(){var t={};function n(i,l){_e(t[l])&&_e(i)?t[l]=et(t[l],i):_e(i)?t[l]=et({},i):Xe(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)ve(arguments[o],n);return t}function Pu(t,n,o){return ve(n,function(i,l){o&&typeof i=="function"?t[l]=Bu(i,o):t[l]=i}),t}function Fu(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var z={isArray:Xe,isArrayBuffer:wu,isBuffer:_u,isFormData:xu,isArrayBufferView:Nu,isString:Su,isNumber:Tu,isObject:go,isPlainObject:_e,isUndefined:$e,isDate:Iu,isFile:Eu,isBlob:Mu,isFunction:yo,isStream:Vu,isURLSearchParams:Du,isStandardBrowserEnv:Lu,forEach:ve,merge:et,extend:Pu,trim:Ou,stripBOM:Fu},te=z;function ko(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Co=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(te.isURLSearchParams(o))i=o.toString();else{var l=[];te.forEach(o,function(c,m){c===null||typeof c>"u"||(te.isArray(c)?m=m+"[]":c=[c],te.forEach(c,function(d){te.isDate(d)?d=d.toISOString():te.isObject(d)&&(d=JSON.stringify(d)),l.push(ko(m)+"="+ko(d))}))}),i=l.join("&")}if(i){var r=n.indexOf("#");r!==-1&&(n=n.slice(0,r)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},Au=z;function we(){this.handlers=[]}we.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},we.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},we.prototype.forEach=function(n){Au.forEach(this.handlers,function(a){a!==null&&n(a)})};var ju=we,zu=z,Hu=function(n,o){zu.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},bo=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},tt,Bo;function _o(){if(Bo)return tt;Bo=1;var t=bo;return tt=function(o,a,i,l,r){var s=new Error(o);return t(s,a,i,l,r)},tt}var ot,wo;function qu(){if(wo)return ot;wo=1;var t=_o();return ot=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))},ot}var nt,xo;function Ru(){if(xo)return nt;xo=1;var t=z;return nt=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,r,s,c){var m=[];m.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&m.push("expires="+new Date(l).toGMTString()),t.isString(r)&&m.push("path="+r),t.isString(s)&&m.push("domain="+s),c===!0&&m.push("secure"),document.cookie=m.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(){}}}(),nt}var lt,No;function Uu(){return No||(No=1,lt=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),lt}var it,So;function Gu(){return So||(So=1,it=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),it}var at,To;function Wu(){if(To)return at;To=1;var t=Uu(),n=Gu();return at=function(a,i){return a&&!t(i)?n(a,i):i},at}var st,Io;function Qu(){if(Io)return st;Io=1;var t=z,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return st=function(a){var i={},l,r,s;return a&&t.forEach(a.split(`
|