comand-component-library 4.0.11 → 4.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +1556 -1520
- package/dist/comand-component-library.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/ComponentLibrary.vue +32 -3
- package/src/assets/data/breadcrumbs.json +20 -25
- package/src/assets/data/pages/boxes-team-overview.json +1 -1
- package/src/componentSettingsDataAndControls.vue +1 -1
- package/src/components/CmdBreadcrumbs.vue +1 -8
- package/src/components/CmdPageFooter.vue +46 -17
- package/src/components/CmdPageHeader.vue +55 -0
- package/src/components/CmdPagination.vue +1 -1
- package/src/components/CmdSocialNetworks.vue +10 -3
- package/src/index.js +1 -0
@@ -1,5 +1,5 @@
|
|
1
|
-
(function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C["comand-component-library"]={},C.Vue))})(this,function(C,e){"use strict";const ae=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ce=(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 r=i.pop(),c=i.pop(),m={provider:i.length>0?i[0]:a,prefix:c,name:r};return n&&!be(m)?null:m}const l=i[0],s=l.split("-");if(s.length>1){const r={provider:a,prefix:s.shift(),name:s.join("-")};return n&&!be(r)?null:r}if(o&&a===""){const r={provider:a,prefix:"",name:l};return n&&!be(r,o)?null:r}return null},be=(t,n)=>t?!!((t.provider===""||t.provider.match(ae))&&(n&&t.prefix===""||t.prefix.match(ae))&&t.name.match(ae)):!1,Et=Object.freeze({left:0,top:0,width:16,height:16}),_e=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Be=Object.freeze({...Et,..._e}),Fe=Object.freeze({...Be,body:"",hidden:!1});function hn(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 Mt(t,n){const o=hn(t,n);for(const a in Fe)a in _e?a in t&&!(a in o)&&(o[a]=_e[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function fn(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(s){if(o[s])return i[s]=[];if(!(s in i)){i[s]=null;const r=a[s]&&a[s].parent,c=r&&l(r);c&&(i[s]=[r].concat(c))}return i[s]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function pn(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function s(r){l=Mt(a[r]||i[r],l)}return s(n),o.forEach(s),Mt(t,l)}function Dt(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=fn(t);for(const i in a){const l=a[i];l&&(n(i,pn(t,i,l)),o.push(i))}return o}const gn={provider:"",aliases:{},not_found:{},...Et};function Ae(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function Lt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ae(t,gn))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(ae)||typeof l.body!="string"||!Ae(l,Fe))return null}const a=n.aliases||{};for(const i in a){const l=a[i],s=l.parent;if(!i.match(ae)||typeof s!="string"||!o[s]&&!a[s]||!Ae(l,Fe))return null}return n}const Ot=Object.create(null);function yn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function $(t,n){const o=Ot[t]||(Ot[t]=Object.create(null));return o[n]||(o[n]=yn(t,n))}function je(t,n){return Lt(n)?Dt(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function kn(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let se=!1;function Pt(t){return typeof t=="boolean"&&(se=t),se}function Cn(t){const n=typeof t=="string"?Ce(t,!0,se):t;if(n){const o=$(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function bn(t,n){const o=Ce(t,!0,se);if(!o)return!1;const a=$(o.provider,o.prefix);return kn(a,o.name,n)}function Ft(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),se&&!n&&!t.prefix){let i=!1;return Lt(t)&&(t.prefix="",Dt(t,(l,s)=>{s&&bn(l,s)&&(i=!0)})),i}const o=t.prefix;if(!be({provider:n,prefix:o,name:"a"}))return!1;const a=$(n,o);return!!je(a,t)}const At=Object.freeze({width:null,height:null}),jt=Object.freeze({...At,..._e}),_n=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Bn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function zt(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(_n);if(a===null||!a.length)return t;const i=[];let l=a.shift(),s=Bn.test(l);for(;;){if(s){const r=parseFloat(l);isNaN(r)?i.push(l):i.push(Math.ceil(r*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");s=!s}}function xn(t,n){const o={...Be,...t},a={...jt,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(h=>{const p=[],g=h.hFlip,k=h.vFlip;let b=h.rotate;g?k?b+=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 x;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:x=i.height/2+i.top,p.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:p.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:x=i.width/2+i.left,p.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}b%2===1&&(i.left!==i.top&&(x=i.left,i.left=i.top,i.top=x),i.width!==i.height&&(x=i.width,i.width=i.height,i.height=x)),p.length&&(l='<g transform="'+p.join(" ")+'">'+l+"</g>")});const s=a.width,r=a.height,c=i.width,m=i.height;let u,d;return s===null?(d=r===null?"1em":r==="auto"?m:r,u=zt(d,c/m)):(u=s==="auto"?c:s,d=r===null?zt(u,m/c):r==="auto"?m:r),{attributes:{width:u.toString(),height:d.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+m.toString()},body:l}}const wn=/\sid="(\S+)"/g,Nn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Tn=0;function Sn(t,n=Nn){const o=[];let a;for(;a=wn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(Tn++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const ze=Object.create(null);function In(t,n){ze[t]=n}function He(t){return ze[t]||ze[""]}function qe(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 Re=Object.create(null),re=["https://api.simplesvg.com","https://api.unisvg.com"],xe=[];for(;re.length>0;)re.length===1||Math.random()>.5?xe.push(re.shift()):xe.push(re.pop());Re[""]=qe({resources:["https://api.iconify.design"].concat(xe)});function Vn(t,n){const o=qe(n);return o===null?!1:(Re[t]=o,!0)}function Ue(t){return Re[t]}let Ht=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function En(t,n){const o=Ue(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(s=>{i=Math.max(i,s.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function Mn(t){return t===404}const Dn=(t,n,o)=>{const a=[],i=En(t,n),l="icons";let s={type:l,provider:t,prefix:n,icons:[]},r=0;return o.forEach((c,m)=>{r+=c.length+1,r>=i&&m>0&&(a.push(s),s={type:l,provider:t,prefix:n,icons:[]},r=c.length),s.icons.push(c)}),a.push(s),a};function Ln(t){if(typeof t=="string"){const n=Ue(t);if(n)return n.path}return"/"}const On={prepare:Dn,send:(t,n,o)=>{if(!Ht){o("abort",424);return}let a=Ln(n.provider);switch(n.type){case"icons":{const l=n.prefix,r=n.icons.join(","),c=new URLSearchParams({icons:r});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;Ht(t+a).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{o(Mn(s)?"abort":"next",s)});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 Pn(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,s=i.prefix,r=i.name,c=o[l]||(o[l]=Object.create(null)),m=c[s]||(c[s]=$(l,s));let u;r in m.icons?u=n.loaded:s===""||m.missing.has(r)?u=n.missing:u=n.pending;const d={provider:l,prefix:s,name:r};u.push(d)}),n}function qt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function Fn(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 s=l.icons,r=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==i)return!0;const m=c.name;if(t.icons[m])s.loaded.push({provider:a,prefix:i,name:m});else if(t.missing.has(m))s.missing.push({provider:a,prefix:i,name:m});else return o=!0,!0;return!1}),s.pending.length!==r&&(o||qt([t],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let An=0;function jn(t,n,o){const a=An++,i=qt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function zn(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?Ce(i,n,o):i;l&&a.push(l)}),a}var Hn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function qn(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let s;if(t.random){let w=t.resources.slice(0);for(s=[];w.length>1;){const N=Math.floor(Math.random()*w.length);s.push(w[N]),w=w.slice(0,N).concat(w.slice(N+1))}s=s.concat(w)}else s=t.resources.slice(l).concat(t.resources.slice(0,l));const r=Date.now();let c="pending",m=0,u,d=null,f=[],h=[];typeof a=="function"&&h.push(a);function p(){d&&(clearTimeout(d),d=null)}function g(){c==="pending"&&(c="aborted"),p(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function k(w,N){N&&(h=[]),typeof w=="function"&&h.push(w)}function b(){return{startTime:r,payload:n,status:c,queriesSent:m,queriesPending:f.length,subscribe:k,abort:g}}function x(){c="failed",h.forEach(w=>{w(void 0,u)})}function T(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function y(w,N,D){const O=N!=="success";switch(f=f.filter(I=>I!==w),c){case"pending":break;case"failed":if(O||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){u=D,x();return}if(O){u=D,f.length||(s.length?V():x());return}if(p(),T(),!t.random){const I=t.resources.indexOf(w.resource);I!==-1&&I!==t.index&&(t.index=I)}c="completed",h.forEach(I=>{I(D)})}function V(){if(c!=="pending")return;p();const w=s.shift();if(w===void 0){if(f.length){d=setTimeout(()=>{p(),c==="pending"&&(T(),x())},t.timeout);return}x();return}const N={status:"pending",resource:w,callback:(D,O)=>{y(N,D,O)}};f.push(N),m++,d=setTimeout(V,t.rotate),o(w,n,N.callback)}return setTimeout(V),b}function Rt(t){const n={...Hn,...t};let o=[];function a(){o=o.filter(r=>r().status==="pending")}function i(r,c,m){const u=qn(n,r,c,(d,f)=>{a(),m&&m(d,f)});return o.push(u),u}function l(r){return o.find(c=>r(c))||null}return{query:i,find:l,setIndex:r=>{n.index=r},getIndex:()=>n.index,cleanup:a}}function Ut(){}const Ge=Object.create(null);function Rn(t){if(!Ge[t]){const n=Ue(t);if(!n)return;const o=Rt(n),a={config:n,redundancy:o};Ge[t]=a}return Ge[t]}function Un(t,n,o){let a,i;if(typeof t=="string"){const l=He(t);if(!l)return o(void 0,424),Ut;i=l.send;const s=Rn(t);s&&(a=s.redundancy)}else{const l=qe(t);if(l){a=Rt(l);const s=t.resources?t.resources[0]:"",r=He(s);r&&(i=r.send)}}return!a||!i?(o(void 0,424),Ut):a.query(n,i,o)().abort}const Gt="iconify2",ce="iconify",Wt=ce+"-count",Qt=ce+"-version",Zt=36e5,Gn=168;function We(t,n){try{return t.getItem(n)}catch{}}function Qe(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 Qe(t,Wt,n.toString())}function Je(t){return parseInt(We(t,Wt))||0}const we={local:!0,session:!0},Yt={local:new Set,session:new Set};let Ye=!1;function Wn(t){Ye=t}let Ne=typeof window>"u"?{}:window;function Kt(t){const n=t+"Storage";try{if(Ne&&Ne[n]&&typeof Ne[n].length=="number")return Ne[n]}catch{}we[t]=!1}function Xt(t,n){const o=Kt(t);if(!o)return;const a=We(o,Qt);if(a!==Gt){if(a){const r=Je(o);for(let c=0;c<r;c++)Jt(o,ce+c.toString())}Qe(o,Qt,Gt),Ze(o,0);return}const i=Math.floor(Date.now()/Zt)-Gn,l=r=>{const c=ce+r.toString(),m=We(o,c);if(typeof m=="string"){try{const u=JSON.parse(m);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,r))return!0}catch{}Jt(o,c)}};let s=Je(o);for(let r=s-1;r>=0;r--)l(r)||(r===s-1?(s--,Ze(o,s)):Yt[t].add(r))}function $t(){if(!Ye){Wn(!0);for(const t in we)Xt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=$(a,i);if(!je(l,o).length)return!1;const s=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function Qn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in we)Xt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Zn(t,n){Ye||$t();function o(a){let i;if(!we[a]||!(i=Kt(a)))return;const l=Yt[a];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=Je(i),!Ze(i,s+1))return;const r={cached:Math.floor(Date.now()/Zt),provider:t.provider,data:n};return Qe(i,ce+s.toString(),JSON.stringify(r))}n.lastModified&&!Qn(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function vt(){}function Jn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Fn(t)}))}function Yn(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=He(o)))return;l.prepare(o,a,i).forEach(r=>{Un(o,r,(c,m)=>{if(typeof c!="object"){if(m!==404)return;r.icons.forEach(u=>{t.missing.add(u)})}else try{const u=je(t,c);if(!u.length)return;const d=t.pendingIcons;d&&u.forEach(f=>{d.delete(f)}),Zn(t,c)}catch(u){console.error(u)}Jn(t)})})}))}const Kn=(t,n)=>{const o=zn(t,!0,Pt()),a=Pn(o);if(!a.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(a.loaded,a.missing,a.pending,vt)}),()=>{c=!1}}const i=Object.create(null),l=[];let s,r;return a.pending.forEach(c=>{const{provider:m,prefix:u}=c;if(u===r&&m===s)return;s=m,r=u,l.push($(m,u));const d=i[m]||(i[m]=Object.create(null));d[u]||(d[u]=[])}),a.pending.forEach(c=>{const{provider:m,prefix:u,name:d}=c,f=$(m,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),i[m][u].push(d))}),l.forEach(c=>{const{provider:m,prefix:u}=c;i[m][u].length&&Yn(c,i[m][u])}),n?jn(n,a,l):vt};function Xn(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in At?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const $n=/[\s,]+/;function vn(t,n){n.split($n).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function el(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 tl(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 ol(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function nl(t){return'url("data:image/svg+xml,'+ol(t)+'")'}const eo={...jt,inline:!1},ll={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},il={display:"inline-block"},Ke={backgroundColor:"currentColor"},to={backgroundColor:"transparent"},oo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},no={webkitMask:Ke,mask:Ke,background:to};for(const t in no){const n=no[t];for(const o in oo)n[t+o]=oo[o]}const Te={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";Te[t+"-flip"]=n,Te[t.slice(0,1)+"-flip"]=n,Te[t+"Flip"]=n});function lo(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const io=(t,n)=>{const o=Xn(eo,n),a={...ll},i=n.mode||"svg",l={},s=n.style,r=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&vn(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[g]=el(k):typeof k=="number"&&(o[g]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const b=Te[g];b?(k===!0||k==="true"||k===1)&&(o[b]=!0):eo[g]===void 0&&(a[g]=k)}}}const c=xn(t,o),m=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...r},Object.assign(a,m);let g=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=Sn(c.body,k?()=>k+"ID"+g++:"iconifyVue"),e.h("svg",a)}const{body:u,width:d,height:f}=t,h=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),p=tl(u,{...m,width:d+"",height:f+""});return a.style={...l,"--svg":nl(p),width:lo(m.width),height:lo(m.height),...il,...h?Ke:to,...r},e.h("span",a)};if(Pt(!0),In("",On),typeof document<"u"&&typeof window<"u"){$t();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"||!Ft(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;Vn(o,i)||console.error(a)}catch{console.error(a)}}}}const al={...Be,body:""},sl=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=Ce(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:Kn([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 io(al,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),io({...Be,...n.data},o)}}),Up="",_=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},rl={name:"CmdIcon",components:{Icon:sl},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}}},cl=["title"];function dl(t,n,o,a,i,l){const s=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(s,{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,cl))}const S=_(rl,[["render",dl]]);function J(t,n){return Se(t,"EditComponentWrapper",n)}function ml(t){return Se(t,"EditModeSettingsSidebar")}function ul(t){return Se(t,"EditModeMainSidebar")}function Se(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?Se(t.$parent,n,o):null}function Y(t,...n){const o=[];for(let a=J(t);a;a=J(a.$parent))a.componentPath&&o.unshift(...a.componentPath);return o.push(...n),o}function hl(t){return Array.isArray(t)&&t.length>0?JSON.stringify(t):""}function z(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const Gp="",fl={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!J(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")},active(){return this.editModeContext?J(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(W(this)):!!this.editModeContext.system.isActiveComponent(W(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=J(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(W(t),W(this))},deleteComponent(){var t;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((t=this.editModeContext)==null||t.store.deleteContent(W(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(W(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(W(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,W(this),this.saveSettings,this.deleteInnerComponent,n||"edit")},addEntry(t){this.itemProvider?this.editModeContext.content.addContent(W(this),this.itemProvider):this.editSettings(t,"add")},saveSettings(t){this.editModeContext.store.updateSettings(W(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=hl(W(this))},immediate:!0,deep:!0},editing(t){this.editStateListeners.forEach(n=>n(t))}}};function W(t){const n=[];for(let o=t;o;o=J(o.$parent))o.componentPath&&n.unshift(...o.componentPath);return n}const pl={key:0,class:"action-buttons-wrapper"},gl=["data-component"],yl=["title"],kl=["href"],Cl={key:0},bl={key:1},_l={key:0,class:"component-name"},Bl=["data-component"],xl=["title"],wl=["href","title"],Nl=["title"],Tl={key:0},Sl={key:1},Il=["title"],Vl=["title"];function El(t,n,o,a,i,l){const s=S;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",pl,[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(r=>l.addEntry(r),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,yl)]),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((...r)=>l.editSettings&&l.editSettings(...r),["prevent"])),title:"Edit settings of this component"},[e.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,kl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:n[2]||(n[2]=e.withModifiers((...r)=>l.deleteComponent&&l.deleteComponent(...r),["prevent"])),title:"Delete this component (and its content)"},[e.createVNode(s,{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((...r)=>l.cancelComponent&&l.cancelComponent(...r),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",bl,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:n[4]||(n[4]=e.withModifiers((...r)=>l.saveComponent&&l.saveComponent(...r),["prevent"])),title:"Save changes of this component"},[e.createVNode(s,{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((...r)=>l.editComponent&&l.editComponent(...r),["prevent"])),title:"Edit content of this component"},[e.createVNode(s,{iconClass:"icon-edit"})],2))]))],8,gl),[[e.vShow,l.active]])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.isOuterComponent?(e.openBlock(),e.createElementBlock("p",_l,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]=(...r)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...r)),onMouseleave:n[13]||(n[13]=(...r)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...r))},[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((...r)=>l.addEntry&&l.addEntry(...r),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,xl)]),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((...r)=>l.editSettings&&l.editSettings(...r),["prevent"])),title:"Edit settings for "+o.componentName},[e.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,wl)]),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((...r)=>l.deleteComponent&&l.deleteComponent(...r),["prevent"])),title:"Delete "+o.componentName+" (and its content)"},[e.createVNode(s,{iconClass:"icon-trash"})],10,Nl)]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Tl,[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((...r)=>l.cancelComponent&&l.cancelComponent(...r),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Sl,[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((...r)=>l.saveComponent&&l.saveComponent(...r),["prevent"])),title:"Save changes of "+o.componentName},[e.createVNode(s,{iconClass:"icon-check"})],8,Il)):(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((...r)=>l.editComponent&&l.editComponent(...r),["prevent"])),title:"Edit content for "+o.componentName},[e.createVNode(s,{iconClass:"icon-edit"})],10,Vl))]))],40,Bl),[[e.vShow,l.active]])],64)),e.renderSlot(t.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const K=_(fl,[["render",El]]),A={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=J(this.$parent);n&&(n.addEditStateListener(o=>this.editing=o),n.addUpdateHandlerProvider(this.updateHandlerProvider),n.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!ul(this),this.settingsContext=!!ml(this)},updateHandlerProvider(){return{}}}},Wp="",Ml={name:"CmdHeadline",mixins:[A],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(Y(J(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 z(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}}},Dl={class:"pre-headline-text-wrapper"},Ll={class:"pre-headline-text"},Ol={class:"pre-headline-text"},Pl=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new headline",-1)];function Fl(t,n,o,a,i,l){var m;const s=S,r=j,c=K;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 u,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",Dl,[e.createElementVNode("span",Ll,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 u,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.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(u=>{var d,f;return[u.editing?(e.openBlock(),e.createBlock(r,{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]=h=>i.editableHeadlineText=h)},null,8,["class","modelValue"])):o.headlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineIcon?(e.openBlock(),e.createBlock(s,{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 h,p;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(p=o.headlineIcon)==null?void 0:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",Ol,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]=(...h)=>l.onAddItem&&l.onAddItem(...h))},Pl)):e.createCommentVNode("",!0)]}),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const M=_(Ml,[["render",Fl]]),Jp="",Al={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"})}}},jl={key:0,class:"headline-wrapper"},zl=["title"];function Hl(t,n,o,a,i,l){const s=M,r=S;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",jl,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,{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(r,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,zl)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const ao=_(Al,[["render",Hl]]),U={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}}},ql={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Yp="",Rl={name:"CmdListOfRequirements",mixins:[U,ql],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")}}},Ul={class:"cmd-list-of-requirements"},Gl=e.createElementVNode("br",null,null,-1),Wl=e.createElementVNode("hr",null,null,-1),Ql=["href","target"],Zl={key:1};function Jl(t,n,o,a,i,l){var c,m,u;const s=M,r=S;return e.openBlock(),e.createElementBlock("div",Ul,[o.showHeadline?(e.openBlock(),e.createBlock(s,{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},[Gl,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(r,{"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},[Wl,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(r,{key:0,class:e.normalizeClass((m=o.helplink.icon)==null?void 0:m.iconClass),title:(u=o.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Zl,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Ql)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Yl=_(Rl,[["render",Jl]]),Kp="",Kl={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 Xl(t,n,o,a,i,l){const s=Yl,r=ao;return e.openBlock(),e.createBlock(r,{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(s,{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 Xe=_(Kl,[["render",Xl]]),$e={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"}}}},Ie={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[U,{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 te(){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 ve(){return"cmd-"+te()}const de={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||ve()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},et={};function $l(t="defaultSequence"){const n=et[t]||0;return et[t]=n+1,et[t]}const tt={data(){return{tooltip:!1,tooltipId:"tooltip-"+$l()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},$p="",vl=["color","date","datetime-local","file","number","range"],ei={inheritAttrs:!1,name:"CmdFormElement",mixins:[U,$e,Ie,de,tt],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:vl.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}}},ti=["for","title"],oi={key:2,"aria-hidden":"true"},ni=["title","aria-errormessage","id"],li={key:1,class:"flex-container"},ii=["id","autocomplete","list","value","maxlength"],ai=["title"],si=["id"],ri=["value"],ci=["checked","value","id","disabled","aria-invalid"],di={key:2},mi={class:"switch-label-wrapper"},ui=["checked","value","id","disabled","aria-invalid"],hi={class:"label-text"},fi={class:"label-text"},pi={key:0},gi=["id"],yi=["value","selected"],ki=["id","value","maxlength"],Ci={key:6,class:"characters-left-wrapper"},bi={key:0},_i={key:7,class:"search-field-wrapper flex-container no-gap"},Bi=["id","maxlength","value"],xi=["title"],wi=["title"],Ni={key:1};function Ti(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X;const s=S,r=Xe;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!==void 0?(e.openBlock(),e.createElementBlock("sup",oi,"*")):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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,ni)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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",li,[o.fieldIconClass?(e.openBlock(),e.createBlock(s,{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]=B=>t.tooltip=!0),onBlur:n[2]||(n[2]=(...B)=>l.onBlur&&l.onBlur(...B)),onInput:n[3]||(n[3]=(...B)=>l.onInput&&l.onInput(...B)),onMouseover:n[4]||(n[4]=(...B)=>l.datalistFocus&&l.datalistFocus(...B)),onKeyup:n[5]||(n[5]=(...B)=>t.checkForCapsLock&&t.checkForCapsLock(...B)),onChange:n[6]||(n[6]=B=>t.$emit("change",B)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,ii)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...B)=>l.showPassword&&l.showPassword(...B),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...B)=>l.hidePassword&&l.hidePassword(...B),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...B)=>l.hidePassword&&l.hidePassword(...B),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(s,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,ai)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(B,Z)=>(e.openBlock(),e.createElementBlock("option",{key:Z,value:B},null,8,ri))),128))],8,si)):o.element==="input"&&(t.$attrs.type==="checkbox"||t.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[o.onLabel&&o.offLabel?o.onLabel&&o.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",mi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(...B)=>l.onChange&&l.onChange(...B)),onBlur:n[14]||(n[14]=(...B)=>l.onBlur&&l.onBlur(...B)),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,ui),e.createElementVNode("span",hi,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",fi,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",pi,"*")):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]=(...B)=>l.onChange&&l.onChange(...B)),onBlur:n[12]||(n[12]=(...B)=>l.onBlur&&l.onBlur(...B)),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,ci),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",di,"*")):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]=(...B)=>l.onBlur&&l.onBlur(...B)),onChange:n[16]||(n[16]=B=>t.$emit("update:modelValue",B.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(B,Z)=>(e.openBlock(),e.createElementBlock("option",{key:Z,value:B.value,selected:B.value===o.modelValue},e.toDisplayString(B.text),9,yi))),128))],16,gi)):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]=(...B)=>l.onInput&&l.onInput(...B)),onFocus:n[18]||(n[18]=B=>t.tooltip=!0),onBlur:n[19]||(n[19]=(...B)=>l.onBlur&&l.onBlur(...B))}),null,16,ki)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Ci,[o.textCharactersLeft?(e.openBlock(),e.createElementBlock("span",bi,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",_i,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(...B)=>l.onInput&&l.onInput(...B)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,Bi),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...B)=>l.executeSearch&&l.executeSearch(...B),["prevent"]))},[e.createVNode(s,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,xi)):e.createCommentVNode("",!0),(c=o.iconDelete)!=null&&c.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(B=>t.$emit("update:modelValue",""),["prevent"])),title:(m=o.iconDelete)==null?void 0:m.tooltip},[e.createVNode(s,{iconClass:(u=o.iconDelete)==null?void 0:u.iconClass,type:(d=o.iconDelete)==null?void 0:d.iconType},null,8,["iconClass","type"])],8,wi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,ti)):o.element==="button"?(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:n[23]||(n[23]=(...B)=>l.submit&&l.submit(...B))}),[(h=(f=o.nativeButton)==null?void 0:f.icon)!=null&&h.show&&(((g=(p=o.nativeButton)==null?void 0:p.icon)==null?void 0:g.position)==="before"||!((b=(k=o.nativeButton)==null?void 0:k.icon)!=null&&b.position))?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(T=(x=o.nativeButton)==null?void 0:x.icon)==null?void 0:T.iconClass,type:(V=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:V.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(w=o.nativeButton)!=null&&w.icon&&((N=o.nativeButton)!=null&&N.text)?(e.openBlock(),e.createElementBlock("span",Ni,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),(O=(D=o.nativeButton)==null?void 0:D.icon)!=null&&O.show&&((F=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(s,{key:3,iconClass:(R=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:R.iconClass,type:(X=(L=o.nativeButton)==null?void 0:L.icon)==null?void 0:X.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)}const j=_(ei,[["render",Ti]]),Si={name:"CmdAddressDataItem",mixins:[A],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 z(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableAddressEntry;return z(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}}},Ii={key:1},Vi=["href","target","title","data-type"],Ei=["innerHTML"],Mi={key:1},Di=["href","title"],Li={class:"street-address"},Oi=e.createElementVNode("br",null,null,-1),Pi={key:1,class:"postal-code"},Fi={class:"locality"},Ai=e.createElementVNode("br",null,null,-1),ji={key:0},zi={key:4,class:"country-name"},Hi={class:"street-address"},qi=e.createElementVNode("br",null,null,-1),Ri={key:1,class:"postal-code"},Ui={class:"locality"},Gi=e.createElementVNode("br",null,null,-1),Wi=e.createElementVNode("br",null,null,-1),Qi={key:4,class:"country-name"},Zi={class:"input-wrapper"};function Ji(t,n,o,a,i,l){const s=S,r=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(s,{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",Ii,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(r,{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,Vi)),[[c,o.addressEntry.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:o.addressEntry.data},null,8,Ei))],64))],2)):o.addressEntry.name==="address"?(e.openBlock(),e.createElementBlock("dd",Mi,[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",Li,e.toDisplayString(o.addressEntry.streetNo),1),Oi],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Pi,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Fi,e.toDisplayString(o.addressEntry.city),1),Ai],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",ji)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",zi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],8,Di)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(r,{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",Zi,[e.createVNode(r,{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(r,{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(r,{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(r,{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",Hi,e.toDisplayString(o.addressEntry.streetNo),1),qi],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Ri,e.toDisplayString(o.addressEntry.zip)+" ",1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Ui,e.toDisplayString(o.addressEntry.city),1),Gi],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),Wi],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Qi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],64))],64))])):e.createCommentVNode("",!0)],64)}const Yi=_(Si,[["render",Ji]]),Ki={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)"}}}},vp="",Xi={name:"CmdAddressData",mixins:[A,U,Ki],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(Y(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 z(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:{}},$i={class:"cmd-address-data vcard"},vi={class:"adr"},ea={key:0},ta=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],oa=["href","target","title"],na=["innerHTML"],la=["href","title"],ia={class:"street-address"},aa=e.createElementVNode("br",null,null,-1),sa={class:"postal-code"},ra={class:"locality"},ca=e.createElementVNode("br",null,null,-1),da=e.createElementVNode("br",null,null,-1),ma={key:3,class:"country-name"},ua={class:"street-address"},ha=e.createElementVNode("br",null,null,-1),fa={class:"postal-code"},pa={class:"locality"},ga=e.createElementVNode("br",null,null,-1),ya=e.createElementVNode("br",null,null,-1),ka={key:3,class:"country-name"};function Ca(t,n,o,a,i,l){var u;const s=M,r=Yi,c=K,m=S;return e.openBlock(),e.createElementBlock("div",$i,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(u=o.cmdHeadline)!=null&&u.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",vi,[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))},ta)):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(r,{addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",ea,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(r,{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,oa)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.data},null,8,na)),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",ia,e.toDisplayString(d.streetNo),1),aa],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",sa,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",ra,e.toDisplayString(d.city),1),ca],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),da],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",ma,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64))],8,la)):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",ua,e.toDisplayString(d.streetNo),1),ha],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",fa,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",pa,e.toDisplayString(d.city),1),ga],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ya],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",ka,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 so=_(Xi,[["render",Ca]]),ba={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"})}}},_a=["title"];function Ba(t,n,o,a,i,l){const s=S;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((...r)=>l.onBackToTop&&l.onBackToTop(...r),["prevent"]))},[e.createVNode(s,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,_a)):e.createCommentVNode("",!0)]),_:1})}const xa=_(ba,[["render",Ba]]),og="",wa={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")}}},Na={class:"cmd-bank-account-data"},Ta={key:0},Sa=["onClick","title"],Ia={key:1};function Va(t,n,o,a,i,l){const s=M,r=S;return e.openBlock(),e.createElementBlock("div",Na,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,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",Ta,[e.createElementVNode("span",null,e.toDisplayString(c.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(u=>l.copyToClipboard(c.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(r,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Sa)])):(e.openBlock(),e.createElementBlock("dd",{key:m},e.toDisplayString(c.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Ia,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const Ea=_(wa,[["render",Va]]);function oe(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function ro(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(oe(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const s=new Image;s.onload=()=>{if(s.width<o&&!confirm("width ("+s.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(s.src),typeof i=="function"?i(s.src):i.src=s.src},s.src=URL.createObjectURL(t)}const ng="",Ma={name:"CmdImage",mixins:[A],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&&ro(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(),ro(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:te(),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 z(this,{item(){return t}})},updateHandlerProvider(){const t=this.figcaptionText;return this.figcaptionText=null,z(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}}},Da={key:1},La=e.createElementVNode("span",{class:"icon-image"},null,-1),Oa=["src","alt","title"],Pa=["src","alt","title"],Fa={key:1},Aa=[e.createElementVNode("span",{class:"icon-add"},null,-1),e.createElementVNode("span",null,"Add new image",-1)],ja={key:0},za=["src","alt","title"],Ha={key:1};function qa(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k;const s=j,r=K;return t.editModeContext?(e.openBlock(),e.createBlock(r,{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(b=>{var x,T,y,V,w,N,D,O,I,F,P,R;return[e.createElementVNode("figure",{class:e.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(x=o.figcaption)!=null&&x.show&&((T=o.figcaption)==null?void 0:T.position)==="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[b.editing?(e.openBlock(),e.createBlock(s,{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]=L=>l.editableFigcaptionText=L)},null,8,["class","modelValue"])):(y=o.figcaption)!=null&&y.text?(e.openBlock(),e.createElementBlock("figcaption",Da,e.toDisplayString((V=o.figcaption)==null?void 0:V.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),b.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((...L)=>l.selectFiles&&l.selectFiles(...L),["prevent"])),title:"Drag new image to this area to replace old one!"}),[La,e.createElementVNode("img",{src:l.imageSource,alt:(w=o.image)==null?void 0:w.alt,title:(N=o.image)==null?void 0:N.tooltip},null,8,Oa)],16),e.createVNode(s,{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:(D=o.image)==null?void 0:D.alt,title:(O=o.image)==null?void 0:O.tooltip},null,8,Pa)):e.createCommentVNode("",!0),(I=o.figcaption)!=null&&I.show&&((F=o.figcaption)==null?void 0:F.position)!=="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[b.editing?(e.openBlock(),e.createBlock(s,{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]=L=>l.editableFigcaptionText=L),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=o.figcaption)!=null&&P.text?(e.openBlock(),e.createElementBlock("figcaption",Fa,e.toDisplayString((R=o.figcaption)==null?void 0:R.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),!b.editing&&!l.imageSource?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:n[3]||(n[3]=(...L)=>l.onAddItem&&l.onAddItem(...L))},Aa)):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&&((u=o.figcaption)==null?void 0:u.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",ja,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:(h=o.image)==null?void 0:h.tooltip},null,8,za),(p=o.figcaption)!=null&&p.show&&((g=o.figcaption)==null?void 0:g.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Ha,e.toDisplayString((k=o.figcaption)==null?void 0:k.text),1)):e.createCommentVNode("",!0)],2))}const v=_(Ma,[["render",qa]]),ag="",sg="",Ra={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"),{})}}},Ua=["title"];function Ga(t,n,o,a,i,l){const s=S;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(s,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,Ua)}const me=_(Ra,[["render",Ga]]),Wa={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"}}}},rg="",cg="",Qa={name:"CmdThumbnailScroller",emits:["click"],mixins:[U,Wa,A],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:te(),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(Y(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:te(),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&&Ve({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"},Ja=["href","onClick","title","target"],Ya={key:1},Ka={key:1},Xa={key:0},$a=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function va(t,n,o,a,i,l){var u;const s=M,r=me,c=v,m=S;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"},[(u=o.cmdHeadline)!=null&&u.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Za,[i.showSlidebuttons?(e.openBlock(),e.createBlock(r,{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",Ka,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:h=>l.executeLink(f,h),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",Ya,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64))],10,Ja))]))),128)),!i.items.length&&o.contentType==="image"?(e.openBlock(),e.createElementBlock("li",Xa,[e.createElementVNode("button",{type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},$a)])):e.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(r,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const co=_(Qa,[["render",va]]),ug="",hg="",Ve=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(mo,{...t,show:!0}).mount(n)},mo=e.defineComponent({name:"CmdFancyBox",mixins:[de],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 es(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 es(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const ts=mo,os=["aria-label"],ns={class:"flex-container"},ls={key:1,class:"button-wrapper no-flex"},is=["title"],as=["title"],ss=["title"],rs={key:0,class:"content"},cs=["innerHTML"],ds={key:2,class:"content"},ms={key:3,class:"content"},us={key:4,class:"content"},hs={key:0,class:"flex-container no-flex"},fs=["title"],ps={key:1},gs=["title"],ys={key:1};function ks(t,n,o,a,i,l){var d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X,B,Z,he,fe,pe,ge,ye,ke;const s=M,r=S,c=v,m=me,u=co;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]=(...G)=>t.onDialogCancel&&t.onDialogCancel(...G))},[e.createElementVNode("header",ns,[(d=t.cmdHeadline)!=null&&d.show?(e.openBlock(),e.createBlock(s,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(h=t.cmdHeadline)==null?void 0:h.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),(p=t.fancyboxOptions.printButtons)!=null&&p.color||(g=t.fancyboxOptions.printButtons)!=null&&g.grayscale||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",ls,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)!=null&&k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(b=t.fancyboxOptions.printButtons.color)==null?void 0:b.tooltip,onClick:n[0]||(n[0]=e.withModifiers(G=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(r,{iconClass:(x=t.fancyboxOptions.printButtons.color)==null?void 0:x.iconClass,type:(T=t.fancyboxOptions.printButtons.color)==null?void 0:T.iconType},null,8,["iconClass","type"])],8,is)):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:(V=t.fancyboxOptions.printButtons.grayscale)==null?void 0:V.tooltip,onClick:n[1]||(n[1]=e.withModifiers(G=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(r,{iconClass:(w=t.fancyboxOptions.printButtons.grayscale)==null?void 0:w.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,as)):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((...G)=>t.close&&t.close(...G),["prevent"]))},[e.createVNode(r,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,ss)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||(D=t.cmdImage)!=null&&D.image?(e.openBlock(),e.createElementBlock("div",rs,[e.createVNode(c,{image:t.largeSingleImage,figcaption:(O=t.cmdImage)==null?void 0:O.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,cs)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ds)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ms,[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",us,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",hs,[(I=t.fancyboxOptions.submitButtons)!=null&&I.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...G)=>t.cancel&&t.cancel(...G)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(R=t.fancyboxOptions.submitButtons.cancel)==null?void 0:R.iconClass,type:(L=t.fancyboxOptions.submitButtons.cancel)==null?void 0:L.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(X=t.fancyboxOptions.submitButtons.cancel)!=null&&X.buttonText?(e.openBlock(),e.createElementBlock("span",ps,e.toDisplayString((B=t.fancyboxOptions.submitButtons.cancel)==null?void 0:B.buttonText),1)):e.createCommentVNode("",!0)],8,fs)):e.createCommentVNode("",!0),(Z=t.fancyboxOptions.submitButtons)!=null&&Z.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...G)=>t.confirm&&t.confirm(...G)),title:(he=t.fancyboxOptions.submitButtons.cancel)==null?void 0:he.tooltip},[(fe=t.fancyboxOptions.submitButtons.confirm)!=null&&fe.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(pe=t.fancyboxOptions.submitButtons.confirm)==null?void 0:pe.iconClass,type:(ge=t.fancyboxOptions.submitButtons.confirm)==null?void 0:ge.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ye=t.fancyboxOptions.submitButtons.confirm)!=null&&ye.buttonText?(e.openBlock(),e.createElementBlock("span",ys,e.toDisplayString((ke=t.fancyboxOptions.submitButtons.confirm)==null?void 0:ke.buttonText),1)):e.createCommentVNode("",!0)],8,gs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(u,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,os)])}const Cs=_(ts,[["render",ks]]),bs={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[A],data(){return{editableText:this.link.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const t=this.editableText;return z(this,{update(n){n.text=t}})},getRoute(t){return getRoute(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Ve({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},_s={key:0,class:"cmd-list-of-links-item"},Bs=["href","target","title"],xs={key:1},ws={key:1},Ns={key:2},Ts={key:1,class:"input-wrapper"};function Ss(t,n,o,a,i,l){const s=S,r=e.resolveComponent("router-link"),c=e.resolveComponent("CmdListOfLinksItem",!0),m=j;return t.editing?(e.openBlock(),e.createElementBlock("div",Ts,[e.createVNode(m,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":n[1]||(n[1]=u=>i.editableText=u)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock("li",_s,[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]=u=>l.executeLink(o.link,u)),title:o.link.tooltip&&o.link.tooltip!==void 0?o.link.tooltip:void 0},[o.link.iconClass?(e.openBlock(),e.createBlock(s,{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",xs,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)],8,Bs)):o.link.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(o.link),title:o.link.tooltip},{default:e.withCtx(()=>[o.link.iconClass?(e.openBlock(),e.createBlock(s,{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",ws,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to","title"])):e.createCommentVNode("",!0),t.editModeContext?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("ul",Ns,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.link.children,(u,d)=>(e.openBlock(),e.createBlock(c,{key:d,link:u},null,8,["link"]))),128))]))]))}const Is=_(bs,[["render",Ss]]),fg="",pg="",Vs={name:"CmdListOfLinks",emits:["click"],mixins:[A],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},showListStyleItems:{type:Boolean,default:!1},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(Y(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return z(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))}})}}},Es={key:1},Ms=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)];function Ds(t,n,o,a,i,l){var m;const s=M,r=Is,c=K;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,"show-list-style-items":o.showListStyleItems}])},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,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",Es,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(u,d)=>(e.openBlock(),e.createBlock(c,{key:"x"+d,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",d],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createVNode(r,{class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:u},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]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Ms)):e.createCommentVNode("",!0)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.links,(u,d)=>(e.openBlock(),e.createBlock(r,{key:d,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:u},null,8,["class","link"]))),128))],2)],2)}const ot=_(Vs,[["render",Ds]]),Ls={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"}}}},Os={props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}},kg="",nt={name:"CmdBox",mixins:[U,Ls,Os],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:"10rem"},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}},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()}}},uo=()=>{e.useCssVars(t=>({36594232:t.cutoffTextLines}))},ho=nt.setup;nt.setup=ho?(t,n)=>(uo(),ho(t,n)):uo;const Ps=["title"],Fs={key:0,class:"box-header"},As=["src","alt"],js={key:1},zs={key:2,class:"box-footer"},Hs={class:"box-header flex-container vertical"},qs={key:0},Rs=["src","alt"],Us={key:1},Gs={key:2,class:"ribbon-new"},Ws={key:3,class:"ribbon-discount"},Qs={class:"box-body"},Zs={key:0},Js={key:1,class:"price"},Ys=["title"],Ks={key:2},Xs={class:"box-header flex-container vertical"},$s={key:0},vs=["src","alt"],er={key:0},tr={key:1},or=["title"],nr={key:0},lr={class:"box-body"},ir={key:0},ar={key:1},sr={key:2},rr={key:3,class:"description"},cr={key:0,class:"tags"},dr={key:1,class:"box-footer"};function mr(t,n,o,a,i,l){var m,u,d,f,h,p,g,k,b;const s=M,r=S,c=ot;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((...x)=>l.toggleContentVisibility&&l.toggleContentVisibility(...x),["prevent"]))},[(m=o.useSlots)!=null&&m.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(u=o.cmdHeadline)!=null&&u.headlineText?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,Ps)):(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",Fs,[(h=o.useSlots)!=null&&h.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(p=o.cmdHeadline)!=null&&p.headlineText?(e.openBlock(),e.createBlock(s,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(o.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[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((...x)=>l.toggleCutOffText&&l.toggleCutOffText(...x),["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,As)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll})},[(k=o.cmdHeadline)!=null&&k.headlineText&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",js,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)],2))],64))],2),[[e.vShow,i.open]]),(b=o.useSlots)!=null&&b.includes("footer")?(e.openBlock(),e.createElementBlock("div",zs,[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(x=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Hs,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",qs,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Rs),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Us,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Gs,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Ws,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Qs,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Zs,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",Js,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Ys)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",Ks,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",Xs,[o.user.image?(e.openBlock(),e.createElementBlock("figure",$s,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,vs),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",er,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",tr,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,or),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",nr,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",lr,[o.rowView?(e.openBlock(),e.createElementBlock("p",ir,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",ar,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",sr,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",rr,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),o.user.tags&&o.user.tags.length?(e.openBlock(),e.createElementBlock("ul",cr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(x,T)=>(e.openBlock(),e.createElementBlock("li",{key:T},e.toDisplayString(x),1))),128))])):e.createCommentVNode("",!0),o.user.links&&o.user.links.length?(e.openBlock(),e.createElementBlock("div",dr,[e.createVNode(c,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const lt=_(nt,[["render",mr]]),Cg="",bg="",it={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}}},fo=()=>{e.useCssVars(t=>({"4018ee97":t.boxesPerRowLarge,"762870ce":t.boxesPerRowMedium,"4080c863":t.boxesPerRowSmall}))},po=it.setup;it.setup=po?(t,n)=>(fo(),po(t,n)):fo;const ur={class:"cmd-box-wrapper"},hr={key:0,class:"flex-container headline-wrapper"},fr={key:1,class:"options-wrapper"},pr=["title"],gr=["title"];function yr(t,n,o,a,i,l){const s=M,r=S;return e.openBlock(),e.createElementBlock("div",ur,[o.cmdHeadline.headlineText||o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",hr,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",fr,[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(r,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,pr)):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(r,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,gr)):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 go=_(it,[["render",yr]]);function ne(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 _g="",kr={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return ne(t)}}},Cr={class:"cmd-breadcrumbs"},br={key:0},_r=["href"],Br={key:1},xr={key:1},wr={key:2},Nr={key:1},Tr={key:3};function Sr(t,n,o,a,i,l){const s=S,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Cr,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",br,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(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Br,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)],8,_r)):c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c)},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",xr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",wr,[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Nr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)])),m<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Tr,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Ir=_(kr,[["render",Sr]]),Bg="",xg="",Vr={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 ne(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"}}},Er={class:"cmd-company-logo company-logo"},Mr=["href","title"];function Dr(t,n,o,a,i,l){var c,m,u,d,f,h;const s=v,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Er,[((c=o.link)==null?void 0:c.type)==="router"?(e.openBlock(),e.createBlock(r,{key:0,to:(m=o.link)==null?void 0:m.path,title:(u=o.link)==null?void 0:u.tooltip},{default:e.withCtx(()=>[e.createVNode(s,{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:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(s,{image:l.image},null,8,["image"])],8,Mr)):(e.openBlock(),e.createBlock(s,{key:2,image:l.image},null,8,["image"]))])}const yo=_(Vr,[["render",Dr]]),wg="",Lr={name:"CmdContainer",mixins:[A],methods:{addHandlerProvider(){return""}}},Or={class:"cmd-container"};function Pr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Or,[e.renderSlot(t.$slots,"default")])}const Fr=_(Lr,[["render",Pr]]),Ar={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!"}}}},Ng="",jr={name:"CmdCookieDisclaimer",mixins:[U,Ar],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,s;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let r=0;r<n.length;r++)t.push(n[r].value);const o=(s=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:s.cookies;if(o)for(let r=0;r<o.length;r++)t.push(o[r].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}))}}},zr={class:"cmd-cookie-disclaimer flex-container vertical"},Hr={key:0,class:"flex-container vertical"},qr={key:0},Rr={key:1},Ur=["href","target"],Gr=["innerHTML"],Wr=e.createElementVNode("hr",null,null,-1),Qr={key:1,class:"flex-container vertical"},Zr={key:0},Jr={key:1},Yr=["href","target"],Kr=["innerHTML"],Xr={class:"button-wrapper align-center"};function $r(t,n,o,a,i,l){const s=M,r=j,c=lt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var m,u,d;return[e.createElementVNode("div",zr,[(m=o.cmdHeadlineCookieDisclaimer)!=null&&m.show&&((u=o.cmdHeadlineCookieDisclaimer)!=null&&u.headlineText)&&((d=o.cmdHeadlineCookieDisclaimer)!=null&&d.headlineLevel)?(e.openBlock(),e.createBlock(s,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,p,g,k,b,x,T;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Hr,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(s,{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,V)=>{var w;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:V},{header:e.withCtx(()=>[e.createVNode(r,{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",qr,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Rr,[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,Ur)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Gr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Wr,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Qr,[(b=o.cmdBoxOptionalCookies)!=null&&b.showHeadline?(e.openBlock(),e.createBlock(s,{key:0,"headline-text":(x=o.cmdBoxOptionalCookies)==null?void 0:x.headlineText,"headline-level":(T=o.cmdBoxOptionalCookies)==null?void 0:T.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,V)=>{var w;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:V},{header:e.withCtx(()=>[e.createVNode(r,{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",Jr,[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,Yr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Kr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Xr,[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 vr=_(jr,[["render",$r]]),Tg="",ec={name:"CmdCopyrightWrapper"},tc={class:"cmd-copyright-information",role:"contentinfo"},oc=[e.createElementVNode("a",{href:"https://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function nc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",tc,oc)}const lc=_(ec,[["render",nc]]),ic={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"}}}},Ig="",Vg="",ac={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[U,ic,$e,Ie,de,tt],data(){return{showOptions:!1,validationStatus:"",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"))}},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)},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}}},sc=["title","aria-labelledby","aria-required"],rc={key:0,class:"label-text"},cc=["id"],dc={key:0,"aria-hidden":"true"},mc=["title","aria-errormessage","id"],uc=["aria-expanded"],hc=["title"],fc=["src","alt"],pc={key:3,class:"option-name"},gc={key:0,role:"listbox"},yc=["aria-selected"],kc=["onClick","title"],Cc={key:1},bc=["aria-expanded"],_c=["for"],Bc=["value","checked","id"],xc=["onClick"],wc=["src","alt"],Nc=["onClick"],Tc={key:0,class:"select-all-options"};function Sc(t,n,o,a,i,l){var m,u,d,f;const s=S,r=Xe,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",rc,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",dc,"*")):e.createCommentVNode("",!0)],8,cc),(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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,mc)):e.createCommentVNode("",!0),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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]=(...h)=>l.closeOptions&&l.closeOptions(...h)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>l.toggleOptions&&l.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>l.onBlur&&l.onBlur(...h)),title:(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,fc)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(u=l.optionIcon)!=null&&u.iconClass?(e.openBlock(),e.createBlock(s,{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",pc,e.toDisplayString(l.optionName),1)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(s,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,hc),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",gc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Cc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,kc)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,yc))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,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(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...g)=>l.optionSelect&&l.optionSelect(...g)),checked:l.compareValues(h.value),id:"option-"+(p+1)},null,40,Bc),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,_c)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(h.value),alt:h.text},null,8,wc),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,xc)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,Nc)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Tc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>l.toggleAllOptions&&l.toggleAllOptions(...h),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(s,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(s,{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,bc)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,uc)],10,sc)}const ko=_(ac,[["render",Sc]]),Eg="",Ic={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",type:"submit",primary:!0}}}},methods:{createHtmlId:ve,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}}},Vc=["data-use-validation","novalidate"],Ec={class:"flex-container"},Mc=["type"],Dc={key:1};function Lc(t,n,o,a,i,l){const s=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]=(...r)=>l.onSubmit&&l.onSubmit(...r)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Ec,[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,(r,c)=>(e.openBlock(),e.createBlock(s,{key:c,element:r.element||"input",type:r.type||"text",name:r.name,class:e.normalizeClass(r.htmlClass),id:r.id||l.createHtmlId(),modelValue:i.formValues[r.name],"onUpdate:modelValue":m=>i.formValues[r.name]=m,inputValue:r.inputValue,fieldIconClass:r.innerIconClass,selectOptions:r.selectOptions,labelText:r.labelText,placeholder:r.placeholder,required:r.required,disabled:r.disabled,autocomplete:r.autocomplete,minlength:r.minlength,maxlength:r.maxlength,nativeButton:r.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",{key:2,class:e.normalizeClass(["button",{primary:o.submitButton.primary}]),type:o.submitButton.type},[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",Dc,e.toDisplayString(o.submitButton.text),1)):e.createCommentVNode("",!0)],10,Mc)):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,Vc)}const Co=_(Ic,[["render",Lc]]),Mg="",Oc={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}}},Pc={key:0,class:"cmd-form-filters"},Fc={key:0},Ac={key:1},jc=["onClick","title"];function zc(t,n,o,a,i,l){const s=S;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Pc,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Fc,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...r)=>l.deleteAllFilters&&l.deleteAllFilters(...r),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(s,{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",Ac,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(r,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(r)),1),e.createVNode(s,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,jc)]))),128))])):e.createCommentVNode("",!0)}const bo=_(Oc,[["render",zc]]),Dg="",Hc={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"}}},qc={class:"cmd-google-maps responsive-wrapper"},Rc=["src"];function Uc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",qc,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Rc)])}const _o=_(Hc,[["render",Uc]]),Lg="",Gc={name:"CmdImageGallery",mixins:[A],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(Y(this,"props","images",-1),this.itemProvider)},showFancyBox(t){Ve({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 z(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))}})}}},Wc={class:"grid-container-create-columns cmd-image-gallery"},Qc=["onClick","title"],Zc=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new gallery-image",-1)];function Jc(t,n,o,a,i,l){var c;const s=M,r=v;return e.openBlock(),e.createElementBlock("div",Wc,[(c=o.cmdHeadline)!=null&&c.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,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,u)=>(e.openBlock(),e.createBlock(r,{key:u,class:"image-wrapper",image:m.image,figcaption:m.figcaption,componentPath:["props","images",u],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))},Zc)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(m,u)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:e.withModifiers(d=>l.showFancyBox(u),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(r,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])],8,Qc))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.images,(m,u)=>(e.openBlock(),e.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[e.createVNode(r,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])]))),128))],64))])}const Yc=_(Gc,[["render",Jc]]),Fg="",Kc={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`,Bo(this,t)})},onMouseMove(t){Bo(this,t)},onMouseOut(){this.showLargeImage=!1}}};function Bo(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,s=n.target.getBoundingClientRect().height,r=a.getBoundingClientRect().width,c=a.getBoundingClientRect().height,m=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,u=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,d=Math.min(l,o.getBoundingClientRect().width/r*l),f=Math.min(s,o.getBoundingClientRect().height/c*s),h=xo(m-d/2,0,l-d),p=xo(u-f/2,0,s-f),g=-(h*(r/l)),k=-(p*(c/s));i.style.left=`${h}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 xo(t,n,o){return t<n?n:t>o?o:t}const Xc={class:"cmd-imagezoom flex-container"},$c=["title"],vc=["src","alt"],ed={key:0,class:"zoom-container"},td=["src","alt"],od={key:1,class:"zoom-overlay"};function nd(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Xc,[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]=(...s)=>l.onMouseOver&&l.onMouseOver(...s)),onMousemove:n[1]||(n[1]=(...s)=>l.onMouseMove&&l.onMouseMove(...s)),onMouseout:n[2]||(n[2]=(...s)=>l.onMouseOut&&l.onMouseOut(...s))},null,40,vc)],8,$c),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",ed,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,td)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",od)):e.createCommentVNode("",!0)])}const ld=_(Kc,[["render",nd]]),Ag="",id={mixins:[$e,Ie,de,tt],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="success";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}}},ad=["aria-labelledby"],sd={class:"label-text"},rd=["id"],cd={key:0,"aria-hidden":"true"},dd=["title","aria-errormessage","id"],md=["for"],ud=["type","id","name","value","disabled"],hd={key:1,class:"label-text"},fd={key:1,class:"flex-container no-flex"};function pd(t,n,o,a,i,l){const s=S,r=Xe;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",sd,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",cd,"*")):e.createCommentVNode("",!0)],8,rd),(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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,dd)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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",fd,[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]=u=>l.inputValue=u),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType})},null,10,ud),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.labelText?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(c.labelText),1)):e.createCommentVNode("",!0)],10,md))),128))],2))],10,ad)}const wo=_(id,[["render",pd]]),jg="",gd={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 ne(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()}}},yd={class:"cmd-login-form flex-container"},kd={class:"flex-container"},Cd={class:"option-wrapper flex-container"},bd={key:1},_d=["href"],Bd={key:1},xd={key:1},wd=["type","disabled"],Nd={key:1},Td={class:"cmd-login-form flex-container"},Sd={class:"option-wrapper flex-container"},Id={key:1},Vd=["type","disabled"],Ed={key:1};function Md(t,n,o,a,i,l){var u,d,f,h,p,g,k;const s=M,r=j,c=S,m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",yd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",kd,[e.createVNode(r,{element:"input",type:"text",ref:"username",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=b=>l.username=b),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=b=>l.checkValidationStatus(b,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(r,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=b=>l.password=b),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=b=>l.checkValidationStatus(b,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",Cd,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers((...b)=>l.toggleSendLoginView&&l.toggleSendLoginView(...b),["prevent"]))},[(u=o.options.forgotPassword.icon)!=null&&u.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",bd,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&&((h=o.options.createAccount.icon)!=null&&h.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",Bd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,_d)):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",xd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...b)=>l.onClick&&l.onClick(...b)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(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",Nd,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,wd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Td,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{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]=b=>l.checkValidationStatus(b,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=b=>i.sendLoginMail=b)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Sd,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers((...b)=>l.toggleSendLoginView&&l.toggleSendLoginView(...b),["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",Id,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",Ed,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Vd)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Dd=_(gd,[["render",Md]]),zg="",Hg="",Ld={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 ne(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})}}},Od={key:0,class:"close-nav"},Pd=["href","title","target","onClick"],Fd={key:1},Ad={key:1},jd=["aria-expanded"],zd=["href","title","target","onClick"],Hd={key:1},qd={key:1},Rd=["aria-expanded"],Ud=["href","title","target","onClick"],Gd={key:1},Wd={key:1};function Qd(t,n,o,a,i,l){const s=S,r=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",Od,[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(s,{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 u,d,f;return e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:c.active,open:i.openEntry===m,"has-subentries":(u=c==null?void 0:c.subentries)==null?void 0:u.length})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:h=>l.executeLink(h,c,m),onMouseover:n[1]||(n[1]=h=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>l.closeAllSubentries())},[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Fd,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,Pd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Ad,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,(h,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,class:e.normalizeClass({open:i.openSubentry===p})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:g=>l.executeLink(g,h,p,1),onMouseover:n[3]||(n[3]=g=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=g=>l.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Hd,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,zd)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",qd,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.subentries,(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:b=>l.executeLink(b,g)},[g.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",Gd,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,Ud)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(g),target:g.target},{default:e.withCtx(()=>[g.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",Wd,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,Rd)):e.createCommentVNode("",!0)],2))),128))],8,jd)):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(s,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const No=_(Ld,[["render",Qd]]),qg="",Rg="",Zd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}},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 ne(t)}}},Jd=["href","onClick","title"],Yd={key:0,class:"number"},Kd={key:2},Xd={key:0,class:"number"},$d={key:2},vd=["type","name","title","formaction","onClick"],em={key:0,class:"number"},tm={key:2};function om(t,n,o,a,i,l){const s=S,r=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(u=>l.clickedStep(u,m),["stop","prevent"]),title:c.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Kd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Jd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",$d,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(u=>l.clickedStep(u,m),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",em,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",tm,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,vd)):e.createCommentVNode("",!0)],2))),128))],2)}const nm=_(Zd,[["render",om]]),lm={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(t){return t==="submit"||t==="button"}},showLegend:{type:Boolean,default:!0},textLegend:{type:String,default:"Stay up-to-date"},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const t={...this.cmdFormElementSubmit};return t.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",t},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(t){this.$emit("update:modelValue",{subscription:t,email:this.email})}},email:{get(){return this.modelValue.email},set(t){this.$emit("update:modelValue",{subscription:this.subscription,email:t})}}},methods:{sendData(t){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:t})},checkValidationStatus(t){this.buttonDisabled=t!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},im={class:"cmd-newsletter-subscription flex-container"},am={class:"button-wrapper"};function sm(t,n,o,a,i,l){const s=wo,r=j;return e.openBlock(),e.createElementBlock("fieldset",im,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),e.createVNode(s,{inputTypes:"radio",labelText:o.cmdInputGroup.labelText,showLabel:o.cmdInputGroup.showLabel,inputElements:o.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":n[0]||(n[0]=c=>l.subscription=c)},null,8,["labelText","showLabel","inputElements","modelValue"]),e.createVNode(r,{element:"input",type:"email",placeholder:o.cmdFormElementEmail.placeholder,labelText:o.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:o.cmdFormElementEmail.required,useCustomTooltip:o.cmdFormElementEmail.useCustomTooltip,modelValue:l.email,"onUpdate:modelValue":n[1]||(n[1]=c=>l.email=c),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),e.createElementVNode("div",am,[e.createVNode(r,{element:"button",type:o.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const rm=_(lm,[["render",sm]]),Ug="";function To(t,n,o,a=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>{if(o){let r=l,c=n;return r>12&&(r-=12,c=o),i(r,a)+t+i(s,!0)+c}return i(l,a)+t+i(s,!0)+n}}const cm={name:"CmdOpeningHoursItem",mixins:[A],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):To(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableDay;return z(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=To(":","","",!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}}},dm={class:"cmd-opening-hours-item"},mm={key:0,class:"am"},um={key:1,class:"pm"},hm={class:"flex-container no-flex"},fm={class:"flex-container no-flex am-wrapper"},pm={key:1,class:"input-wrapper"},gm=["title"],ym={class:"flex-container no-flex pm-wrapper"},km={key:1,class:"input-wrapper"},Cm=["title"];function bm(t,n,o,a,i,l){const s=j;return t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("dt",null,[e.createVNode(s,{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]=r=>i.editableDay.day=r)},null,8,["modelValue"])]),e.createElementVNode("dd",hm,[e.createElementVNode("div",fm,[i.editableDay.amClosed?(e.openBlock(),e.createBlock(s,{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]=r=>i.editableDay.amDisplayText=r)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.amClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pm,[e.createVNode(s,{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]=r=>i.editableDay.amFrom=r)},null,8,["modelValue"]),e.createVNode(s,{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]=r=>i.editableDay.amTill=r)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers(r=>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,gm)]),e.createElementVNode("div",ym,[i.editableDay.pmClosed?(e.openBlock(),e.createBlock(s,{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]=r=>i.editableDay.pmDisplayText=r)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.pmClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",km,[e.createVNode(s,{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]=r=>i.editableDay.pmFrom=r)},null,8,["modelValue"]),e.createVNode(s,{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]=r=>i.editableDay.pmTill=r)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(r=>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,Cm)])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",dm,e.toDisplayString(o.day.day),1),e.createElementVNode("dd",null,[o.day.am?(e.openBlock(),e.createElementBlock("span",mm,[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",um,[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 _m=_(cm,[["render",bm]]),Gg="";function Bm(t,n,o,a=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>{if(o){let r=l,c=n;return r>12&&(r-=12,c=o),i(r,a)+t+i(s,!0)+c}return i(l,a)+t+i(s,!0)+n}}const xm={name:"CmdOpeningHours",mixins:[A],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(/[:.]/),s=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(s[0]),mins:parseInt(s[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(Y(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):Bm(":"," hrs","",!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableOpeningHours,n=this.editableTextOpen,o=this.editableTextClosed,a=this.editableTextHolidays,i=this.editableTextMiscInfo;return z(this,{update(l,s){l.openingHours=t,l.textOpen=n,l.textClosed=o,l.textHolidays=a,l.textMiscInfo=i;const r=s==null?void 0:s.find(c=>c.name==="CmdHeadline");r&&(l.cmdHeadline=l.cmdHeadline||{},r.update(l.cmdHeadline))}})}}},wm={class:"cmd-opening-hours"},Nm=["href"],Tm={key:2,class:"flex-container"},Sm={key:3},Im=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Vm={class:"edit-mode-opening-hours-item"},Em={key:6},Mm={key:0},Dm={key:1},Lm={key:7,class:"flex-container vertical"};function Om(t,n,o,a,i,l){var d,f,h;const s=M,r=e.resolveComponent("router-link"),c=j,m=_m,u=K;return e.openBlock(),e.createElementBlock("div",wm,[(d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Tm,[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)&&((h=o.link)!=null&&h.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,Nm)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(r,{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",Sm,[(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))},Im)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(u,{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",Vm,[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",Em,[o.textHolidays?(e.openBlock(),e.createElementBlock("p",Mm,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidays),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Dm,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Lm,[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 Pm=_(xm,[["render",Om]]),Fm={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},Zg="",Jg="",Am={name:"CmdPagination",mixins:[U,Fm],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)}}},jm={class:"cmd-pagination"},zm=["href","title"],Hm={key:0},qm={class:"page-index"},Rm={class:"flex-container"},Um=["href","title","onClick"],Gm=["href","title"],Wm={key:0};function Qm(t,n,o,a,i,l){const s=S;return e.openBlock(),e.createElementBlock("div",jm,[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((...r)=>l.previousPage&&l.previousPage(...r),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(s,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",Hm,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,zm),e.createElementVNode("div",qm,[e.createElementVNode("div",Rm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(r,c)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(r),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(r),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(c+1),1)],10,Um))),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((...r)=>l.nextPage&&l.nextPage(...r),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Wm,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Gm)])}const Zm=_(Am,[["render",Qm]]),Yg="",Jm={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[A],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},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 z(this,{item(){return t}})},updateHandlerProvider(){const t=te(),n=this.editablePath,o=this.editableTooltip,a=this.editableLinktext;return z(this,{update(i){i.id=t,i.path=n,i.tooltip=o,i.linkText=a}})}}},Ym={class:"cmd-social-networks-item"},Km=["id","href","title"],Xm={key:1};function $m(t,n,o,a,i,l){const s=S;return e.openBlock(),e.createElementBlock("li",Ym,[(e.openBlock(),e.createElementBlock("a",{key:o.network.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!o.dataPrivacyAccepted},"text-align-"+o.buttonTextAlign]),id:o.network.id,href:l.getUrl(o.network),onClick:n[0]||(n[0]=(...r)=>l.preventOnDisabled&&l.preventOnDisabled(...r)),target:"_blank",title:l.tooltip(o.network.tooltip)},[o.network.iconClass?(e.openBlock(),e.createBlock(s,{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",Xm,e.toDisplayString(o.network.linkText),1)):e.createCommentVNode("",!0)],10,Km))])}const vm=_(Jm,[["render",$m]]),Kg="",Xg="",eu={name:"CmdSocialNetworks",mixins:[A],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:"right",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:{onAddItem(){this.editModeContext.content.addContent(Y(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)}}}}},tu=[e.createElementVNode("span",{class:"icon-plus"},null,-1)];function ou(t,n,o,a,i,l){var u,d;const s=M,r=j,c=vm,m=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons},l.alignment])},[(u=o.cmdHeadline)!=null&&u.headlineText||(d=t.editModeContext)!=null&&d.editing?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline||{})),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(r,{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,h)=>(e.openBlock(),e.createBlock(m,{key:"x"+h,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:f,componentPath:["props","networks",h],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(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,(f,h)=>(e.openBlock(),e.createBlock(c,{key:h,network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:o.page,appendPage:o.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),e.renderSlot(t.$slots,"default")],64))],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))},tu))],2)}const So=_(eu,[["render",ou]]),vg="",nu={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Array,required:!1}}},lu=["title"],iu={key:1};function au(t,n,o,a,i,l){var r,c,m;const s=So;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":o.useSmallButtons}])},[o.buttonPrintView.show?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(["button",{primary:o.buttonPrintView.primary}]),title:o.buttonPrintView.text?(r=o.buttonPrintView.icon)==null?void 0:r.tooltip:null},[(c=o.buttonPrintView.icon)!=null&&c.show?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass((m=o.buttonPrintView.icon)==null?void 0:m.iconClass)},null,2)):e.createCommentVNode("",!0),o.buttonPrintView.text?(e.openBlock(),e.createElementBlock("span",iu,e.toDisplayString(o.buttonPrintView.text),1)):e.createCommentVNode("",!0)],10,lu)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default"),o.cmdSocialNetworks?(e.openBlock(),e.createBlock(s,{key:1,networks:o.cmdSocialNetworks},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"cmd-social-networks")]),_:3},8,["networks"])):e.createCommentVNode("",!0)],2)}const su=_(nu,[["render",au]]),ey="",ru={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}}},cu=["for"],du={class:"progressbar"},mu={key:0},uu=["id","value"];function hu(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",du,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",mu,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,uu)])],8,cu)}const fu=_(ru,[["render",hu]]),ty="",pu={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}}},gu={class:"inner-sidebar-wrapper"},yu={key:1,class:"open-slot-wrapper"},ku={key:2,class:"closed-slot-wrapper"},Cu=["title"];function bu(t,n,o,a,i,l){var r;const s=M;return e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:o.styledAsBox,"collapse-to-right":!o.collapseToLeft}])},[e.createElementVNode("div",gu,[(r=o.cmdHeadline)!=null&&r.headlineText&&i.open?(e.openBlock(),e.createBlock(s,{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",yu,[e.renderSlot(t.$slots,"open",{openBoxStatus:i.open})])):(e.openBlock(),e.createElementBlock("div",ku,[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,Cu)):e.createCommentVNode("",!0)],2)}const _u=_(pu,[["render",bu]]),oy="",ny="",Bu={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(t){return t==="horizontal"||t==="vertical"}}}},xu={class:"cmd-site-footer"};function wu(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",xu,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Nu=_(Bu,[["render",wu]]),ly="",iy="",Tu={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)}}},Su={key:0,class:"top-header"};function Iu(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k;const s=yo,r=No;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",Su,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(m=o.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:u.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(s,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),(p=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)!=null&&p.length&&o.navigationInline?(e.openBlock(),e.createBlock(r,{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(r,{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 Vu=_(Tu,[["render",Iu]]),Eu={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"}}}},ay="",Mu={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[U,Eu],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}}},Du={class:"cmd-box-site-search flex-container"},Lu={class:"flex-container align-bottom"},Ou={class:"input-wrapper align-bottom"},Pu={key:0},Fu={key:1},Au={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function ju(t,n,o,a,i,l){var d,f,h,p,g,k,b,x;const s=M,r=j,c=S,m=ko,u=bo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Du,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Lu,[e.createVNode(r,{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]=T=>l.searchValue1=T)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Ou,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(r,{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]=T=>l.searchValue2=T)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(r,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=T=>l.radius=T),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(r,{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(T=>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=(h=o.cmdIcon)==null?void 0:h.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(k=(g=o.cmdIcon)==null?void 0:g.showFilters)==null?void 0:k.iconType:(x=(b=o.cmdIcon)==null?void 0:b.hideFilters)==null?void 0:x.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",Pu,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Fu,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var T,y,V,w,N;return[i.showFilters&&((T=o.cmdFakeSelect)!=null&&T.selectData.length)?(e.openBlock(),e.createElementBlock("div",Au,[e.createVNode(m,{role:"option",selectData:(y=o.cmdFakeSelect)==null?void 0:y.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=D=>l.searchFilters=D),defaultOptionName:(V=o.cmdFakeSelect)==null?void 0:V.defaultOptionName,type:(w=o.cmdFakeSelect)==null?void 0:w.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(u,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=T=>l.searchFilters=T),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const zu=_(Mu,[["render",ju]]),sy="",ry="",Hu={name:"CmdSlideshow",mixins:[A],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(Y(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)})}}},qu=["href","title"],Ru=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new slideshow-image",-1)],Uu={key:2},Gu=["onClick","aria-label","title"],Wu={key:3,class:"item-counter"};function Qu(t,n,o,a,i,l){const s=me,r=v;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(s,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,u,d,f,h,p,g,k,b,x,T;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(r,{key:1,image:(x=l.currentItem)==null?void 0:x.image,figcaption:(T=l.currentItem)==null?void 0:T.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=(u=l.currentItem)==null?void 0:u.link)==null?void 0:d.href,title:(h=(f=l.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip},[e.createVNode(r,{image:(p=l.currentItem)==null?void 0:p.image,figcaption:(g=l.currentItem)==null?void 0:g.figcaption},null,8,["image","figcaption"])],8,qu)):(e.openBlock(),e.createBlock(r,{key:1,image:(k=l.currentItem)==null?void 0:k.image,figcaption:(b=l.currentItem)==null?void 0:b.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))},Ru)):e.createCommentVNode("",!0)]}),_:3}),o.showSlideButtons?(e.openBlock(),e.createBlock(s,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",Uu,[(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(u=>l.showItem(m),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(m+1)},null,10,Gu)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",Wu,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const Zu=_(Hu,[["render",Qu]]),Ju=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"})),py="",Yu={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return ne(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(Ju[n].default)})},immediate:!0,deep:!0}}},Ku={class:"cmd-switch-language"},Xu=["href","title","onClick"],$u=["src","alt"],vu=["src","alt"];function eh(t,n,o,a,i,l){const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Ku,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(r,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[r.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.link.path,class:e.normalizeClass(["flag",r.iso2,{active:l.activeLanguage(r)}]),title:r.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:r})},[e.createElementVNode("img",{src:i.imageSources[c],alt:r.name},null,8,$u)],10,Xu)):(e.openBlock(),e.createBlock(s,{key:1,class:e.normalizeClass(["flag",r.iso2]),to:l.getRoute(r),title:r.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:r})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[c],alt:r.name},null,8,vu)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const th=_(Yu,[["render",eh]]),gy="",oh={name:"CmdSystemMessage",mixins:[de],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}}},nh=["role","aria-labelledby"],lh=["title"];function ih(t,n,o,a,i,l){const s=S,r=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(c=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(s,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,lh)):e.createCommentVNode("",!0),e.createVNode(r,{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,nh)):e.createCommentVNode("",!0)]),_:3})}const Io=_(oh,[["render",ih]]),yy="",ah={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}}},sh={key:0,class:"button-wrapper"},rh=["title"],ch=["title"],dh={"aria-expanded":"true"},mh={key:0,"aria-expanded":"true"};function uh(t,n,o,a,i,l){var c,m,u,d;const s=S,r=me;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",sh,[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(s,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,rh)):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(s,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,ch)):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(r,{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(((u=o.caption)==null?void 0:u.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,h)=>(e.openBlock(),e.createElementBlock("th",{key:h},e.toDisplayString(f),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",dh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(f,h)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===h}),key:h},[(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",mh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(f,h)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===h}),key:h},e.toDisplayString(f),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2),o.showSlideButtons?(e.openBlock(),e.createBlock(r,{key:1,onClick:e.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):e.createCommentVNode("",!0)],544)],2)}const hh=_(ah,[["render",uh]]),fh={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
1
|
+
(function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C["comand-component-library"]={},C.Vue))})(this,function(C,e){"use strict";const ae=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ce=(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 r=i.pop(),c=i.pop(),m={provider:i.length>0?i[0]:a,prefix:c,name:r};return n&&!be(m)?null:m}const l=i[0],s=l.split("-");if(s.length>1){const r={provider:a,prefix:s.shift(),name:s.join("-")};return n&&!be(r)?null:r}if(o&&a===""){const r={provider:a,prefix:"",name:l};return n&&!be(r,o)?null:r}return null},be=(t,n)=>t?!!((t.provider===""||t.provider.match(ae))&&(n&&t.prefix===""||t.prefix.match(ae))&&t.name.match(ae)):!1,Et=Object.freeze({left:0,top:0,width:16,height:16}),_e=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Be=Object.freeze({...Et,..._e}),Fe=Object.freeze({...Be,body:"",hidden:!1});function fn(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 Mt(t,n){const o=fn(t,n);for(const a in Fe)a in _e?a in t&&!(a in o)&&(o[a]=_e[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function pn(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(s){if(o[s])return i[s]=[];if(!(s in i)){i[s]=null;const r=a[s]&&a[s].parent,c=r&&l(r);c&&(i[s]=[r].concat(c))}return i[s]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function gn(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function s(r){l=Mt(a[r]||i[r],l)}return s(n),o.forEach(s),Mt(t,l)}function Dt(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=pn(t);for(const i in a){const l=a[i];l&&(n(i,gn(t,i,l)),o.push(i))}return o}const yn={provider:"",aliases:{},not_found:{},...Et};function Ae(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function Lt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Ae(t,yn))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(ae)||typeof l.body!="string"||!Ae(l,Fe))return null}const a=n.aliases||{};for(const i in a){const l=a[i],s=l.parent;if(!i.match(ae)||typeof s!="string"||!o[s]&&!a[s]||!Ae(l,Fe))return null}return n}const Ot=Object.create(null);function kn(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function $(t,n){const o=Ot[t]||(Ot[t]=Object.create(null));return o[n]||(o[n]=kn(t,n))}function je(t,n){return Lt(n)?Dt(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function Cn(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let se=!1;function Pt(t){return typeof t=="boolean"&&(se=t),se}function bn(t){const n=typeof t=="string"?Ce(t,!0,se):t;if(n){const o=$(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function _n(t,n){const o=Ce(t,!0,se);if(!o)return!1;const a=$(o.provider,o.prefix);return Cn(a,o.name,n)}function Ft(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),se&&!n&&!t.prefix){let i=!1;return Lt(t)&&(t.prefix="",Dt(t,(l,s)=>{s&&_n(l,s)&&(i=!0)})),i}const o=t.prefix;if(!be({provider:n,prefix:o,name:"a"}))return!1;const a=$(n,o);return!!je(a,t)}const At=Object.freeze({width:null,height:null}),jt=Object.freeze({...At,..._e}),Bn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,xn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function zt(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(Bn);if(a===null||!a.length)return t;const i=[];let l=a.shift(),s=xn.test(l);for(;;){if(s){const r=parseFloat(l);isNaN(r)?i.push(l):i.push(Math.ceil(r*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");s=!s}}function wn(t,n){const o={...Be,...t},a={...jt,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(h=>{const p=[],g=h.hFlip,k=h.vFlip;let b=h.rotate;g?k?b+=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 x;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:x=i.height/2+i.top,p.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:p.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:x=i.width/2+i.left,p.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}b%2===1&&(i.left!==i.top&&(x=i.left,i.left=i.top,i.top=x),i.width!==i.height&&(x=i.width,i.width=i.height,i.height=x)),p.length&&(l='<g transform="'+p.join(" ")+'">'+l+"</g>")});const s=a.width,r=a.height,c=i.width,m=i.height;let u,d;return s===null?(d=r===null?"1em":r==="auto"?m:r,u=zt(d,c/m)):(u=s==="auto"?c:s,d=r===null?zt(u,m/c):r==="auto"?m:r),{attributes:{width:u.toString(),height:d.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+m.toString()},body:l}}const Nn=/\sid="(\S+)"/g,Tn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Sn=0;function In(t,n=Tn){const o=[];let a;for(;a=Nn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(Sn++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const ze=Object.create(null);function Vn(t,n){ze[t]=n}function He(t){return ze[t]||ze[""]}function qe(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 Re=Object.create(null),re=["https://api.simplesvg.com","https://api.unisvg.com"],xe=[];for(;re.length>0;)re.length===1||Math.random()>.5?xe.push(re.shift()):xe.push(re.pop());Re[""]=qe({resources:["https://api.iconify.design"].concat(xe)});function En(t,n){const o=qe(n);return o===null?!1:(Re[t]=o,!0)}function Ue(t){return Re[t]}let Ht=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function Mn(t,n){const o=Ue(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(s=>{i=Math.max(i,s.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function Dn(t){return t===404}const Ln=(t,n,o)=>{const a=[],i=Mn(t,n),l="icons";let s={type:l,provider:t,prefix:n,icons:[]},r=0;return o.forEach((c,m)=>{r+=c.length+1,r>=i&&m>0&&(a.push(s),s={type:l,provider:t,prefix:n,icons:[]},r=c.length),s.icons.push(c)}),a.push(s),a};function On(t){if(typeof t=="string"){const n=Ue(t);if(n)return n.path}return"/"}const Pn={prepare:Ln,send:(t,n,o)=>{if(!Ht){o("abort",424);return}let a=On(n.provider);switch(n.type){case"icons":{const l=n.prefix,r=n.icons.join(","),c=new URLSearchParams({icons:r});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;Ht(t+a).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{o(Dn(s)?"abort":"next",s)});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 Fn(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,s=i.prefix,r=i.name,c=o[l]||(o[l]=Object.create(null)),m=c[s]||(c[s]=$(l,s));let u;r in m.icons?u=n.loaded:s===""||m.missing.has(r)?u=n.missing:u=n.pending;const d={provider:l,prefix:s,name:r};u.push(d)}),n}function qt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function An(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 s=l.icons,r=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==i)return!0;const m=c.name;if(t.icons[m])s.loaded.push({provider:a,prefix:i,name:m});else if(t.missing.has(m))s.missing.push({provider:a,prefix:i,name:m});else return o=!0,!0;return!1}),s.pending.length!==r&&(o||qt([t],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let jn=0;function zn(t,n,o){const a=jn++,i=qt.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function Hn(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?Ce(i,n,o):i;l&&a.push(l)}),a}var qn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Rn(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let s;if(t.random){let w=t.resources.slice(0);for(s=[];w.length>1;){const N=Math.floor(Math.random()*w.length);s.push(w[N]),w=w.slice(0,N).concat(w.slice(N+1))}s=s.concat(w)}else s=t.resources.slice(l).concat(t.resources.slice(0,l));const r=Date.now();let c="pending",m=0,u,d=null,f=[],h=[];typeof a=="function"&&h.push(a);function p(){d&&(clearTimeout(d),d=null)}function g(){c==="pending"&&(c="aborted"),p(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function k(w,N){N&&(h=[]),typeof w=="function"&&h.push(w)}function b(){return{startTime:r,payload:n,status:c,queriesSent:m,queriesPending:f.length,subscribe:k,abort:g}}function x(){c="failed",h.forEach(w=>{w(void 0,u)})}function T(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function y(w,N,D){const O=N!=="success";switch(f=f.filter(I=>I!==w),c){case"pending":break;case"failed":if(O||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){u=D,x();return}if(O){u=D,f.length||(s.length?V():x());return}if(p(),T(),!t.random){const I=t.resources.indexOf(w.resource);I!==-1&&I!==t.index&&(t.index=I)}c="completed",h.forEach(I=>{I(D)})}function V(){if(c!=="pending")return;p();const w=s.shift();if(w===void 0){if(f.length){d=setTimeout(()=>{p(),c==="pending"&&(T(),x())},t.timeout);return}x();return}const N={status:"pending",resource:w,callback:(D,O)=>{y(N,D,O)}};f.push(N),m++,d=setTimeout(V,t.rotate),o(w,n,N.callback)}return setTimeout(V),b}function Rt(t){const n={...qn,...t};let o=[];function a(){o=o.filter(r=>r().status==="pending")}function i(r,c,m){const u=Rn(n,r,c,(d,f)=>{a(),m&&m(d,f)});return o.push(u),u}function l(r){return o.find(c=>r(c))||null}return{query:i,find:l,setIndex:r=>{n.index=r},getIndex:()=>n.index,cleanup:a}}function Ut(){}const Ge=Object.create(null);function Un(t){if(!Ge[t]){const n=Ue(t);if(!n)return;const o=Rt(n),a={config:n,redundancy:o};Ge[t]=a}return Ge[t]}function Gn(t,n,o){let a,i;if(typeof t=="string"){const l=He(t);if(!l)return o(void 0,424),Ut;i=l.send;const s=Un(t);s&&(a=s.redundancy)}else{const l=qe(t);if(l){a=Rt(l);const s=t.resources?t.resources[0]:"",r=He(s);r&&(i=r.send)}}return!a||!i?(o(void 0,424),Ut):a.query(n,i,o)().abort}const Gt="iconify2",ce="iconify",Wt=ce+"-count",Qt=ce+"-version",Zt=36e5,Wn=168;function We(t,n){try{return t.getItem(n)}catch{}}function Qe(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 Qe(t,Wt,n.toString())}function Je(t){return parseInt(We(t,Wt))||0}const we={local:!0,session:!0},Yt={local:new Set,session:new Set};let Ye=!1;function Qn(t){Ye=t}let Ne=typeof window>"u"?{}:window;function Kt(t){const n=t+"Storage";try{if(Ne&&Ne[n]&&typeof Ne[n].length=="number")return Ne[n]}catch{}we[t]=!1}function Xt(t,n){const o=Kt(t);if(!o)return;const a=We(o,Qt);if(a!==Gt){if(a){const r=Je(o);for(let c=0;c<r;c++)Jt(o,ce+c.toString())}Qe(o,Qt,Gt),Ze(o,0);return}const i=Math.floor(Date.now()/Zt)-Wn,l=r=>{const c=ce+r.toString(),m=We(o,c);if(typeof m=="string"){try{const u=JSON.parse(m);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,r))return!0}catch{}Jt(o,c)}};let s=Je(o);for(let r=s-1;r>=0;r--)l(r)||(r===s-1?(s--,Ze(o,s)):Yt[t].add(r))}function $t(){if(!Ye){Qn(!0);for(const t in we)Xt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=$(a,i);if(!je(l,o).length)return!1;const s=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function Zn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in we)Xt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Jn(t,n){Ye||$t();function o(a){let i;if(!we[a]||!(i=Kt(a)))return;const l=Yt[a];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=Je(i),!Ze(i,s+1))return;const r={cached:Math.floor(Date.now()/Zt),provider:t.provider,data:n};return Qe(i,ce+s.toString(),JSON.stringify(r))}n.lastModified&&!Zn(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function vt(){}function Yn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,An(t)}))}function Kn(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=He(o)))return;l.prepare(o,a,i).forEach(r=>{Gn(o,r,(c,m)=>{if(typeof c!="object"){if(m!==404)return;r.icons.forEach(u=>{t.missing.add(u)})}else try{const u=je(t,c);if(!u.length)return;const d=t.pendingIcons;d&&u.forEach(f=>{d.delete(f)}),Jn(t,c)}catch(u){console.error(u)}Yn(t)})})}))}const Xn=(t,n)=>{const o=Hn(t,!0,Pt()),a=Fn(o);if(!a.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(a.loaded,a.missing,a.pending,vt)}),()=>{c=!1}}const i=Object.create(null),l=[];let s,r;return a.pending.forEach(c=>{const{provider:m,prefix:u}=c;if(u===r&&m===s)return;s=m,r=u,l.push($(m,u));const d=i[m]||(i[m]=Object.create(null));d[u]||(d[u]=[])}),a.pending.forEach(c=>{const{provider:m,prefix:u,name:d}=c,f=$(m,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),i[m][u].push(d))}),l.forEach(c=>{const{provider:m,prefix:u}=c;i[m][u].length&&Kn(c,i[m][u])}),n?zn(n,a,l):vt};function $n(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in At?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const vn=/[\s,]+/;function el(t,n){n.split(vn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function tl(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 ol(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 nl(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ll(t){return'url("data:image/svg+xml,'+nl(t)+'")'}const eo={...jt,inline:!1},il={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},al={display:"inline-block"},Ke={backgroundColor:"currentColor"},to={backgroundColor:"transparent"},oo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},no={webkitMask:Ke,mask:Ke,background:to};for(const t in no){const n=no[t];for(const o in oo)n[t+o]=oo[o]}const Te={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";Te[t+"-flip"]=n,Te[t.slice(0,1)+"-flip"]=n,Te[t+"Flip"]=n});function lo(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const io=(t,n)=>{const o=$n(eo,n),a={...il},i=n.mode||"svg",l={},s=n.style,r=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&el(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[g]=tl(k):typeof k=="number"&&(o[g]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const b=Te[g];b?(k===!0||k==="true"||k===1)&&(o[b]=!0):eo[g]===void 0&&(a[g]=k)}}}const c=wn(t,o),m=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...r},Object.assign(a,m);let g=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=In(c.body,k?()=>k+"ID"+g++:"iconifyVue"),e.h("svg",a)}const{body:u,width:d,height:f}=t,h=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),p=ol(u,{...m,width:d+"",height:f+""});return a.style={...l,"--svg":ll(p),width:lo(m.width),height:lo(m.height),...al,...h?Ke:to,...r},e.h("span",a)};if(Pt(!0),Vn("",Pn),typeof document<"u"&&typeof window<"u"){$t();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"||!Ft(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;En(o,i)||console.error(a)}catch{console.error(a)}}}}const sl={...Be,body:""},rl=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=Ce(t,!1,!0))===null)return this.abortLoading(),null;const a=bn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:Xn([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 io(sl,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),io({...Be,...n.data},o)}}),Yp="",_=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},cl={name:"CmdIcon",components:{Icon:rl},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}}},dl=["title"];function ml(t,n,o,a,i,l){const s=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(s,{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,dl))}const S=_(cl,[["render",ml]]);function J(t,n){return Se(t,"EditComponentWrapper",n)}function ul(t){return Se(t,"EditModeSettingsSidebar")}function hl(t){return Se(t,"EditModeMainSidebar")}function Se(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?Se(t.$parent,n,o):null}function Y(t,...n){const o=[];for(let a=J(t);a;a=J(a.$parent))a.componentPath&&o.unshift(...a.componentPath);return o.push(...n),o}function fl(t){return Array.isArray(t)&&t.length>0?JSON.stringify(t):""}function z(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const Kp="",pl={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!J(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")},active(){return this.editModeContext?J(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(W(this)):!!this.editModeContext.system.isActiveComponent(W(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=J(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(W(t),W(this))},deleteComponent(){var t;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((t=this.editModeContext)==null||t.store.deleteContent(W(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(W(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(W(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,W(this),this.saveSettings,this.deleteInnerComponent,n||"edit")},addEntry(t){this.itemProvider?this.editModeContext.content.addContent(W(this),this.itemProvider):this.editSettings(t,"add")},saveSettings(t){this.editModeContext.store.updateSettings(W(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=fl(W(this))},immediate:!0,deep:!0},editing(t){this.editStateListeners.forEach(n=>n(t))}}};function W(t){const n=[];for(let o=t;o;o=J(o.$parent))o.componentPath&&n.unshift(...o.componentPath);return n}const gl={key:0,class:"action-buttons-wrapper"},yl=["data-component"],kl=["title"],Cl=["href"],bl={key:0},_l={key:1},Bl={key:0,class:"component-name"},xl=["data-component"],wl=["title"],Nl=["href","title"],Tl=["title"],Sl={key:0},Il={key:1},Vl=["title"],El=["title"];function Ml(t,n,o,a,i,l){const s=S;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",gl,[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(r=>l.addEntry(r),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,kl)]),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((...r)=>l.editSettings&&l.editSettings(...r),["prevent"])),title:"Edit settings of this component"},[e.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Cl)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:n[2]||(n[2]=e.withModifiers((...r)=>l.deleteComponent&&l.deleteComponent(...r),["prevent"])),title:"Delete this component (and its content)"},[e.createVNode(s,{iconClass:"icon-trash"})])]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",bl,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:n[3]||(n[3]=e.withModifiers((...r)=>l.cancelComponent&&l.cancelComponent(...r),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",_l,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:n[4]||(n[4]=e.withModifiers((...r)=>l.saveComponent&&l.saveComponent(...r),["prevent"])),title:"Save changes of this component"},[e.createVNode(s,{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((...r)=>l.editComponent&&l.editComponent(...r),["prevent"])),title:"Edit content of this component"},[e.createVNode(s,{iconClass:"icon-edit"})],2))]))],8,yl),[[e.vShow,l.active]])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.isOuterComponent?(e.openBlock(),e.createElementBlock("p",Bl,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]=(...r)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...r)),onMouseleave:n[13]||(n[13]=(...r)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...r))},[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((...r)=>l.addEntry&&l.addEntry(...r),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,wl)]),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((...r)=>l.editSettings&&l.editSettings(...r),["prevent"])),title:"Edit settings for "+o.componentName},[e.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Nl)]),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((...r)=>l.deleteComponent&&l.deleteComponent(...r),["prevent"])),title:"Delete "+o.componentName+" (and its content)"},[e.createVNode(s,{iconClass:"icon-trash"})],10,Tl)]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Sl,[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((...r)=>l.cancelComponent&&l.cancelComponent(...r),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Il,[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((...r)=>l.saveComponent&&l.saveComponent(...r),["prevent"])),title:"Save changes of "+o.componentName},[e.createVNode(s,{iconClass:"icon-check"})],8,Vl)):(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((...r)=>l.editComponent&&l.editComponent(...r),["prevent"])),title:"Edit content for "+o.componentName},[e.createVNode(s,{iconClass:"icon-edit"})],10,El))]))],40,xl),[[e.vShow,l.active]])],64)),e.renderSlot(t.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const K=_(pl,[["render",Ml]]),A={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=J(this.$parent);n&&(n.addEditStateListener(o=>this.editing=o),n.addUpdateHandlerProvider(this.updateHandlerProvider),n.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!hl(this),this.settingsContext=!!ul(this)},updateHandlerProvider(){return{}}}},Xp="",Dl={name:"CmdHeadline",mixins:[A],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(Y(J(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 z(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}}},Ll={class:"pre-headline-text-wrapper"},Ol={class:"pre-headline-text"},Pl={class:"pre-headline-text"},Fl=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new headline",-1)];function Al(t,n,o,a,i,l){var m;const s=S,r=j,c=K;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 u,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.iconClass,type:(d=o.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",Ll,[e.createElementVNode("span",Ol,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 u,d;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(u=o.headlineIcon)==null?void 0:u.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(u=>{var d,f;return[u.editing?(e.openBlock(),e.createBlock(r,{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]=h=>i.editableHeadlineText=h)},null,8,["class","modelValue"])):o.headlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineIcon?(e.openBlock(),e.createBlock(s,{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 h,p;return[o.headlineIcon?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(h=o.headlineIcon)==null?void 0:h.iconClass,type:(p=o.headlineIcon)==null?void 0:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",Pl,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]=(...h)=>l.onAddItem&&l.onAddItem(...h))},Fl)):e.createCommentVNode("",!0)]}),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const E=_(Dl,[["render",Al]]),eg="",jl={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"})}}},zl={key:0,class:"headline-wrapper"},Hl=["title"];function ql(t,n,o,a,i,l){const s=E,r=S;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",zl,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,{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(r,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,Hl)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const ao=_(jl,[["render",ql]]),U={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}}},Rl={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},tg="",Ul={name:"CmdListOfRequirements",mixins:[U,Rl],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")}}},Gl={class:"cmd-list-of-requirements"},Wl=e.createElementVNode("br",null,null,-1),Ql=e.createElementVNode("hr",null,null,-1),Zl=["href","target"],Jl={key:1};function Yl(t,n,o,a,i,l){var c,m,u;const s=E,r=S;return e.openBlock(),e.createElementBlock("div",Gl,[o.showHeadline?(e.openBlock(),e.createBlock(s,{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},[Wl,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(r,{"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},[Ql,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(r,{key:0,class:e.normalizeClass((m=o.helplink.icon)==null?void 0:m.iconClass),title:(u=o.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Jl,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Zl)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Kl=_(Ul,[["render",Yl]]),og="",Xl={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 $l(t,n,o,a,i,l){const s=Kl,r=ao;return e.openBlock(),e.createBlock(r,{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(s,{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 Xe=_(Xl,[["render",$l]]),$e={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"}}}},Ie={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[U,{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 te(){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 ve(){return"cmd-"+te()}const de={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||ve()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},et={};function vl(t="defaultSequence"){const n=et[t]||0;return et[t]=n+1,et[t]}const tt={data(){return{tooltip:!1,tooltipId:"tooltip-"+vl()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},lg="",ei=["color","date","datetime-local","file","number","range"],ti={inheritAttrs:!1,name:"CmdFormElement",mixins:[U,$e,Ie,de,tt],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:ei.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}}},oi=["for","title"],ni={key:2,"aria-hidden":"true"},li=["title","aria-errormessage","id"],ii={key:1,class:"flex-container"},ai=["id","autocomplete","list","value","maxlength"],si=["title"],ri=["id"],ci=["value"],di=["checked","value","id","disabled","aria-invalid"],mi={key:2},ui={class:"switch-label-wrapper"},hi=["checked","value","id","disabled","aria-invalid"],fi={class:"label-text"},pi={class:"label-text"},gi={key:0},yi=["id"],ki=["value","selected"],Ci=["id","value","maxlength"],bi={key:6,class:"characters-left-wrapper"},_i={key:0},Bi={key:7,class:"search-field-wrapper flex-container no-gap"},xi=["id","maxlength","value"],wi=["title"],Ni=["title"],Ti={key:1};function Si(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X;const s=S,r=Xe;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!==void 0?(e.openBlock(),e.createElementBlock("sup",ni,"*")):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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,li)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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",ii,[o.fieldIconClass?(e.openBlock(),e.createBlock(s,{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]=B=>t.tooltip=!0),onBlur:n[2]||(n[2]=(...B)=>l.onBlur&&l.onBlur(...B)),onInput:n[3]||(n[3]=(...B)=>l.onInput&&l.onInput(...B)),onMouseover:n[4]||(n[4]=(...B)=>l.datalistFocus&&l.datalistFocus(...B)),onKeyup:n[5]||(n[5]=(...B)=>t.checkForCapsLock&&t.checkForCapsLock(...B)),onChange:n[6]||(n[6]=B=>t.$emit("change",B)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,ai)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...B)=>l.showPassword&&l.showPassword(...B),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...B)=>l.hidePassword&&l.hidePassword(...B),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...B)=>l.hidePassword&&l.hidePassword(...B),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(s,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,si)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(B,Z)=>(e.openBlock(),e.createElementBlock("option",{key:Z,value:B},null,8,ci))),128))],8,ri)):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",ui,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(...B)=>l.onChange&&l.onChange(...B)),onBlur:n[14]||(n[14]=(...B)=>l.onBlur&&l.onBlur(...B)),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,hi),e.createElementVNode("span",fi,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",pi,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",gi,"*")):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]=(...B)=>l.onChange&&l.onChange(...B)),onBlur:n[12]||(n[12]=(...B)=>l.onBlur&&l.onBlur(...B)),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,di),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",mi,"*")):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]=(...B)=>l.onBlur&&l.onBlur(...B)),onChange:n[16]||(n[16]=B=>t.$emit("update:modelValue",B.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(B,Z)=>(e.openBlock(),e.createElementBlock("option",{key:Z,value:B.value,selected:B.value===o.modelValue},e.toDisplayString(B.text),9,ki))),128))],16,yi)):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]=(...B)=>l.onInput&&l.onInput(...B)),onFocus:n[18]||(n[18]=B=>t.tooltip=!0),onBlur:n[19]||(n[19]=(...B)=>l.onBlur&&l.onBlur(...B))}),null,16,Ci)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",bi,[o.textCharactersLeft?(e.openBlock(),e.createElementBlock("span",_i,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",Bi,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(...B)=>l.onInput&&l.onInput(...B)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,xi),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...B)=>l.executeSearch&&l.executeSearch(...B),["prevent"]))},[e.createVNode(s,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,wi)):e.createCommentVNode("",!0),(c=o.iconDelete)!=null&&c.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(B=>t.$emit("update:modelValue",""),["prevent"])),title:(m=o.iconDelete)==null?void 0:m.tooltip},[e.createVNode(s,{iconClass:(u=o.iconDelete)==null?void 0:u.iconClass,type:(d=o.iconDelete)==null?void 0:d.iconType},null,8,["iconClass","type"])],8,Ni)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,oi)):o.element==="button"?(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:n[23]||(n[23]=(...B)=>l.submit&&l.submit(...B))}),[(h=(f=o.nativeButton)==null?void 0:f.icon)!=null&&h.show&&(((g=(p=o.nativeButton)==null?void 0:p.icon)==null?void 0:g.position)==="before"||!((b=(k=o.nativeButton)==null?void 0:k.icon)!=null&&b.position))?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(T=(x=o.nativeButton)==null?void 0:x.icon)==null?void 0:T.iconClass,type:(V=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:V.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(w=o.nativeButton)!=null&&w.icon&&((N=o.nativeButton)!=null&&N.text)?(e.openBlock(),e.createElementBlock("span",Ti,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),(O=(D=o.nativeButton)==null?void 0:D.icon)!=null&&O.show&&((F=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(s,{key:3,iconClass:(R=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:R.iconClass,type:(X=(L=o.nativeButton)==null?void 0:L.icon)==null?void 0:X.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)}const j=_(ti,[["render",Si]]),Ii={name:"CmdAddressDataItem",mixins:[A],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 z(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableAddressEntry;return z(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}}},Vi={key:1},Ei=["href","target","title","data-type"],Mi=["innerHTML"],Di={key:1},Li=["href","title"],Oi={class:"street-address"},Pi=e.createElementVNode("br",null,null,-1),Fi={key:1,class:"postal-code"},Ai={class:"locality"},ji=e.createElementVNode("br",null,null,-1),zi={key:0},Hi={key:4,class:"country-name"},qi={class:"street-address"},Ri=e.createElementVNode("br",null,null,-1),Ui={key:1,class:"postal-code"},Gi={class:"locality"},Wi=e.createElementVNode("br",null,null,-1),Qi=e.createElementVNode("br",null,null,-1),Zi={key:4,class:"country-name"},Ji={class:"input-wrapper"};function Yi(t,n,o,a,i,l){const s=S,r=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(s,{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",Vi,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(r,{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,Ei)),[[c,o.addressEntry.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:o.addressEntry.data},null,8,Mi))],64))],2)):o.addressEntry.name==="address"?(e.openBlock(),e.createElementBlock("dd",Di,[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",Oi,e.toDisplayString(o.addressEntry.streetNo),1),Pi],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Fi,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Ai,e.toDisplayString(o.addressEntry.city),1),ji],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",zi)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Hi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],8,Li)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(r,{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(r,{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(r,{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(r,{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(r,{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",qi,e.toDisplayString(o.addressEntry.streetNo),1),Ri],64)):e.createCommentVNode("",!0),o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Ui,e.toDisplayString(o.addressEntry.zip)+" ",1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",Gi,e.toDisplayString(o.addressEntry.city),1),Wi],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),Qi],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Zi,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],64))],64))])):e.createCommentVNode("",!0)],64)}const Ki=_(Ii,[["render",Yi]]),Xi={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)"}}}},ig="",$i={name:"CmdAddressData",mixins:[A,U,Xi],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(Y(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 z(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:{}},vi={class:"cmd-address-data vcard"},ea={class:"adr"},ta={key:0},oa=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],na=["href","target","title"],la=["innerHTML"],ia=["href","title"],aa={class:"street-address"},sa=e.createElementVNode("br",null,null,-1),ra={class:"postal-code"},ca={class:"locality"},da=e.createElementVNode("br",null,null,-1),ma=e.createElementVNode("br",null,null,-1),ua={key:3,class:"country-name"},ha={class:"street-address"},fa=e.createElementVNode("br",null,null,-1),pa={class:"postal-code"},ga={class:"locality"},ya=e.createElementVNode("br",null,null,-1),ka=e.createElementVNode("br",null,null,-1),Ca={key:3,class:"country-name"};function ba(t,n,o,a,i,l){var u;const s=E,r=Ki,c=K,m=S;return e.openBlock(),e.createElementBlock("div",vi,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(u=o.cmdHeadline)!=null&&u.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",ea,[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))},oa)):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(r,{addressEntry:d,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",ta,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(d,f)=>(e.openBlock(),e.createBlock(r,{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,na)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:d.data},null,8,la)),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",aa,e.toDisplayString(d.streetNo),1),sa],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",ra,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",ca,e.toDisplayString(d.city),1),da],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ma],64)):e.createCommentVNode("",!0),d.country?(e.openBlock(),e.createElementBlock("span",ua,e.toDisplayString(d.country),1)):e.createCommentVNode("",!0)],64))],8,ia)):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",ha,e.toDisplayString(d.streetNo),1),fa],64)):e.createCommentVNode("",!0),d.zip||d.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",pa,e.toDisplayString(d.zip)+" ",1),e.createElementVNode("span",ga,e.toDisplayString(d.city),1),ya],64)):e.createCommentVNode("",!0),d.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(d.miscInfo),1),ka],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 so=_($i,[["render",ba]]),_a={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"})}}},Ba=["title"];function xa(t,n,o,a,i,l){const s=S;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((...r)=>l.onBackToTop&&l.onBackToTop(...r),["prevent"]))},[e.createVNode(s,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,Ba)):e.createCommentVNode("",!0)]),_:1})}const wa=_(_a,[["render",xa]]),rg="",Na={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")}}},Ta={class:"cmd-bank-account-data"},Sa={key:0},Ia=["onClick","title"],Va={key:1};function Ea(t,n,o,a,i,l){const s=E,r=S;return e.openBlock(),e.createElementBlock("div",Ta,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,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",Sa,[e.createElementVNode("span",null,e.toDisplayString(c.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(u=>l.copyToClipboard(c.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(r,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Ia)])):(e.openBlock(),e.createElementBlock("dd",{key:m},e.toDisplayString(c.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Va,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const Ma=_(Na,[["render",Ea]]);function oe(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function ro(t,n,o,a,i){const l=[];if(t.size>a&&l.push("file too large"),n.includes(oe(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const s=new Image;s.onload=()=>{if(s.width<o&&!confirm("width ("+s.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(s.src),typeof i=="function"?i(s.src):i.src=s.src},s.src=URL.createObjectURL(t)}const cg="",Da={name:"CmdImage",mixins:[A],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&&ro(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(),ro(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:te(),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 z(this,{item(){return t}})},updateHandlerProvider(){const t=this.figcaptionText;return this.figcaptionText=null,z(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}}},La={key:1},Oa=e.createElementVNode("span",{class:"icon-image"},null,-1),Pa=["src","alt","title"],Fa=["src","alt","title"],Aa={key:1},ja=[e.createElementVNode("span",{class:"icon-add"},null,-1),e.createElementVNode("span",null,"Add new image",-1)],za={key:0},Ha=["src","alt","title"],qa={key:1};function Ra(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k;const s=j,r=K;return t.editModeContext?(e.openBlock(),e.createBlock(r,{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(b=>{var x,T,y,V,w,N,D,O,I,F,P,R;return[e.createElementVNode("figure",{class:e.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(x=o.figcaption)!=null&&x.show&&((T=o.figcaption)==null?void 0:T.position)==="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[b.editing?(e.openBlock(),e.createBlock(s,{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]=L=>l.editableFigcaptionText=L)},null,8,["class","modelValue"])):(y=o.figcaption)!=null&&y.text?(e.openBlock(),e.createElementBlock("figcaption",La,e.toDisplayString((V=o.figcaption)==null?void 0:V.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),b.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((...L)=>l.selectFiles&&l.selectFiles(...L),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Oa,e.createElementVNode("img",{src:l.imageSource,alt:(w=o.image)==null?void 0:w.alt,title:(N=o.image)==null?void 0:N.tooltip},null,8,Pa)],16),e.createVNode(s,{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:(D=o.image)==null?void 0:D.alt,title:(O=o.image)==null?void 0:O.tooltip},null,8,Fa)):e.createCommentVNode("",!0),(I=o.figcaption)!=null&&I.show&&((F=o.figcaption)==null?void 0:F.position)!=="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[b.editing?(e.openBlock(),e.createBlock(s,{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]=L=>l.editableFigcaptionText=L),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=o.figcaption)!=null&&P.text?(e.openBlock(),e.createElementBlock("figcaption",Aa,e.toDisplayString((R=o.figcaption)==null?void 0:R.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),!b.editing&&!l.imageSource?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:n[3]||(n[3]=(...L)=>l.onAddItem&&l.onAddItem(...L))},ja)):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&&((u=o.figcaption)==null?void 0:u.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",za,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:(h=o.image)==null?void 0:h.tooltip},null,8,Ha),(p=o.figcaption)!=null&&p.show&&((g=o.figcaption)==null?void 0:g.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",qa,e.toDisplayString((k=o.figcaption)==null?void 0:k.text),1)):e.createCommentVNode("",!0)],2))}const v=_(Da,[["render",Ra]]),ug="",hg="",Ua={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"),{})}}},Ga=["title"];function Wa(t,n,o,a,i,l){const s=S;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(s,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,Ga)}const me=_(Ua,[["render",Wa]]),Qa={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"}}}},fg="",pg="",Za={name:"CmdThumbnailScroller",emits:["click"],mixins:[U,Qa,A],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:te(),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(Y(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:te(),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&&Ve({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}}},Ja={class:"inner-thumbnail-wrapper"},Ya=["href","onClick","title","target"],Ka={key:1},Xa={key:1},$a={key:0},va=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function es(t,n,o,a,i,l){var u;const s=E,r=me,c=v,m=S;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"},[(u=o.cmdHeadline)!=null&&u.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Ja,[i.showSlidebuttons?(e.openBlock(),e.createBlock(r,{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",Xa,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:h=>l.executeLink(f,h),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",Ka,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],64))],10,Ya))]))),128)),!i.items.length&&o.contentType==="image"?(e.openBlock(),e.createElementBlock("li",$a,[e.createElementVNode("button",{type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},va)])):e.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(r,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const co=_(Za,[["render",es]]),kg="",Cg="",Ve=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(mo,{...t,show:!0}).mount(n)},mo=e.defineComponent({name:"CmdFancyBox",mixins:[de],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 ts(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 ts(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const os=mo,ns=["aria-label"],ls={class:"flex-container"},is={key:1,class:"button-wrapper no-flex"},as=["title"],ss=["title"],rs=["title"],cs={key:0,class:"content"},ds=["innerHTML"],ms={key:2,class:"content"},us={key:3,class:"content"},hs={key:4,class:"content"},fs={key:0,class:"flex-container no-flex"},ps=["title"],gs={key:1},ys=["title"],ks={key:1};function Cs(t,n,o,a,i,l){var d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X,B,Z,he,fe,pe,ge,ye,ke;const s=E,r=S,c=v,m=me,u=co;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]=(...G)=>t.onDialogCancel&&t.onDialogCancel(...G))},[e.createElementVNode("header",ls,[(d=t.cmdHeadline)!=null&&d.show?(e.openBlock(),e.createBlock(s,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(h=t.cmdHeadline)==null?void 0:h.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),(p=t.fancyboxOptions.printButtons)!=null&&p.color||(g=t.fancyboxOptions.printButtons)!=null&&g.grayscale||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",is,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)!=null&&k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(b=t.fancyboxOptions.printButtons.color)==null?void 0:b.tooltip,onClick:n[0]||(n[0]=e.withModifiers(G=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(r,{iconClass:(x=t.fancyboxOptions.printButtons.color)==null?void 0:x.iconClass,type:(T=t.fancyboxOptions.printButtons.color)==null?void 0:T.iconType},null,8,["iconClass","type"])],8,as)):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:(V=t.fancyboxOptions.printButtons.grayscale)==null?void 0:V.tooltip,onClick:n[1]||(n[1]=e.withModifiers(G=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(r,{iconClass:(w=t.fancyboxOptions.printButtons.grayscale)==null?void 0:w.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ss)):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((...G)=>t.close&&t.close(...G),["prevent"]))},[e.createVNode(r,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,rs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||(D=t.cmdImage)!=null&&D.image?(e.openBlock(),e.createElementBlock("div",cs,[e.createVNode(c,{image:t.largeSingleImage,figcaption:(O=t.cmdImage)==null?void 0:O.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ds)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ms)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",us,[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",hs,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",fs,[(I=t.fancyboxOptions.submitButtons)!=null&&I.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...G)=>t.cancel&&t.cancel(...G)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(R=t.fancyboxOptions.submitButtons.cancel)==null?void 0:R.iconClass,type:(L=t.fancyboxOptions.submitButtons.cancel)==null?void 0:L.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(X=t.fancyboxOptions.submitButtons.cancel)!=null&&X.buttonText?(e.openBlock(),e.createElementBlock("span",gs,e.toDisplayString((B=t.fancyboxOptions.submitButtons.cancel)==null?void 0:B.buttonText),1)):e.createCommentVNode("",!0)],8,ps)):e.createCommentVNode("",!0),(Z=t.fancyboxOptions.submitButtons)!=null&&Z.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...G)=>t.confirm&&t.confirm(...G)),title:(he=t.fancyboxOptions.submitButtons.cancel)==null?void 0:he.tooltip},[(fe=t.fancyboxOptions.submitButtons.confirm)!=null&&fe.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(pe=t.fancyboxOptions.submitButtons.confirm)==null?void 0:pe.iconClass,type:(ge=t.fancyboxOptions.submitButtons.confirm)==null?void 0:ge.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ye=t.fancyboxOptions.submitButtons.confirm)!=null&&ye.buttonText?(e.openBlock(),e.createElementBlock("span",ks,e.toDisplayString((ke=t.fancyboxOptions.submitButtons.confirm)==null?void 0:ke.buttonText),1)):e.createCommentVNode("",!0)],8,ys)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(u,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,ns)])}const bs=_(os,[["render",Cs]]),_s={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[A],data(){return{editableText:this.link.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const t=this.editableText;return z(this,{update(n){n.text=t}})},getRoute(t){return getRoute(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Ve({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Bs={key:0,class:"cmd-list-of-links-item"},xs=["href","target","title"],ws={key:1},Ns={key:1},Ts={key:2},Ss={key:1,class:"input-wrapper"};function Is(t,n,o,a,i,l){const s=S,r=e.resolveComponent("router-link"),c=e.resolveComponent("CmdListOfLinksItem",!0),m=j;return t.editing?(e.openBlock(),e.createElementBlock("div",Ss,[e.createVNode(m,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":n[1]||(n[1]=u=>i.editableText=u)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock("li",Bs,[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]=u=>l.executeLink(o.link,u)),title:o.link.tooltip&&o.link.tooltip!==void 0?o.link.tooltip:void 0},[o.link.iconClass?(e.openBlock(),e.createBlock(s,{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",ws,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)],8,xs)):o.link.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(o.link),title:o.link.tooltip},{default:e.withCtx(()=>[o.link.iconClass?(e.openBlock(),e.createBlock(s,{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",Ns,e.toDisplayString(o.link.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to","title"])):e.createCommentVNode("",!0),t.editModeContext?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("ul",Ts,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.link.children,(u,d)=>(e.openBlock(),e.createBlock(c,{key:d,link:u},null,8,["link"]))),128))]))]))}const Vs=_(_s,[["render",Is]]),bg="",_g="",Es={name:"CmdListOfLinks",emits:["click"],mixins:[A],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},showListStyleItems:{type:Boolean,default:!1},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(Y(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return z(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))}})}}},Ms={key:1},Ds=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)];function Ls(t,n,o,a,i,l){var m;const s=E,r=Vs,c=K;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,"show-list-style-items":o.showListStyleItems}])},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,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",Ms,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(u,d)=>(e.openBlock(),e.createBlock(c,{key:"x"+d,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",d],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createVNode(r,{class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:u},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]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Ds)):e.createCommentVNode("",!0)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.links,(u,d)=>(e.openBlock(),e.createBlock(r,{key:d,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===d}),link:u},null,8,["class","link"]))),128))],2)],2)}const ot=_(Es,[["render",Ls]]),Os={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"}}}},Ps={props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}},wg="",nt={name:"CmdBox",mixins:[U,Os,Ps],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:"10rem"},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}},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()}}},uo=()=>{e.useCssVars(t=>({36594232:t.cutoffTextLines}))},ho=nt.setup;nt.setup=ho?(t,n)=>(uo(),ho(t,n)):uo;const Fs=["title"],As={key:0,class:"box-header"},js=["src","alt"],zs={key:1},Hs={key:2,class:"box-footer"},qs={class:"box-header flex-container vertical"},Rs={key:0},Us=["src","alt"],Gs={key:1},Ws={key:2,class:"ribbon-new"},Qs={key:3,class:"ribbon-discount"},Zs={class:"box-body"},Js={key:0},Ys={key:1,class:"price"},Ks=["title"],Xs={key:2},$s={class:"box-header flex-container vertical"},vs={key:0},er=["src","alt"],tr={key:0},or={key:1},nr=["title"],lr={key:0},ir={class:"box-body"},ar={key:0},sr={key:1},rr={key:2},cr={key:3,class:"description"},dr={key:0,class:"tags"},mr={key:1,class:"box-footer"};function ur(t,n,o,a,i,l){var m,u,d,f,h,p,g,k,b;const s=E,r=S,c=ot;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((...x)=>l.toggleContentVisibility&&l.toggleContentVisibility(...x),["prevent"]))},[(m=o.useSlots)!=null&&m.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(u=o.cmdHeadline)!=null&&u.headlineText?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,Fs)):(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",As,[(h=o.useSlots)!=null&&h.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(p=o.cmdHeadline)!=null&&p.headlineText?(e.openBlock(),e.createBlock(s,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(o.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[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((...x)=>l.toggleCutOffText&&l.toggleCutOffText(...x),["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,js)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"default-padding":o.useDefaultPadding,"allow-scroll":o.allowContentToScroll})},[(k=o.cmdHeadline)!=null&&k.headlineText&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",zs,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)],2))],64))],2),[[e.vShow,i.open]]),(b=o.useSlots)!=null&&b.includes("footer")?(e.openBlock(),e.createElementBlock("div",Hs,[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(x=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",qs,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Rs,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Us),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Gs,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Ws,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Qs,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Zs,[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",Ys,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Ks)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",Xs,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",$s,[o.user.image?(e.openBlock(),e.createElementBlock("figure",vs,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,er),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",tr,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",or,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,nr),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",lr,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",ir,[o.rowView?(e.openBlock(),e.createElementBlock("p",ar,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",sr,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",rr,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",cr,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),o.user.tags&&o.user.tags.length?(e.openBlock(),e.createElementBlock("ul",dr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(x,T)=>(e.openBlock(),e.createElementBlock("li",{key:T},e.toDisplayString(x),1))),128))])):e.createCommentVNode("",!0),o.user.links&&o.user.links.length?(e.openBlock(),e.createElementBlock("div",mr,[e.createVNode(c,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const lt=_(nt,[["render",ur]]),Ng="",Tg="",it={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}}},fo=()=>{e.useCssVars(t=>({"4018ee97":t.boxesPerRowLarge,"762870ce":t.boxesPerRowMedium,"4080c863":t.boxesPerRowSmall}))},po=it.setup;it.setup=po?(t,n)=>(fo(),po(t,n)):fo;const hr={class:"cmd-box-wrapper"},fr={key:0,class:"flex-container headline-wrapper"},pr={key:1,class:"options-wrapper"},gr=["title"],yr=["title"];function kr(t,n,o,a,i,l){const s=E,r=S;return e.openBlock(),e.createElementBlock("div",hr,[o.cmdHeadline.headlineText||o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",fr,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",pr,[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(r,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,gr)):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(r,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,yr)):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 go=_(it,[["render",kr]]);function ne(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 Sg="",Cr={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return ne(t)}}},br={class:"cmd-breadcrumbs"},_r={key:0},Br=["href"],xr={key:1},wr={key:1},Nr={key:2},Tr={key:1},Sr={key:3};function Ir(t,n,o,a,i,l){const s=S,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",br,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",_r,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(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",xr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)],8,Br)):c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c)},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",wr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Nr,[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Tr,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)])),m<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Sr,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const yo=_(Cr,[["render",Ir]]),Ig="",Vg="",Vr={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 ne(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"}}},Er={class:"cmd-company-logo company-logo"},Mr=["href","title"];function Dr(t,n,o,a,i,l){var c,m,u,d,f,h;const s=v,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Er,[((c=o.link)==null?void 0:c.type)==="router"?(e.openBlock(),e.createBlock(r,{key:0,to:(m=o.link)==null?void 0:m.path,title:(u=o.link)==null?void 0:u.tooltip},{default:e.withCtx(()=>[e.createVNode(s,{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:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(s,{image:l.image},null,8,["image"])],8,Mr)):(e.openBlock(),e.createBlock(s,{key:2,image:l.image},null,8,["image"]))])}const ko=_(Vr,[["render",Dr]]),Eg="",Lr={name:"CmdContainer",mixins:[A],methods:{addHandlerProvider(){return""}}},Or={class:"cmd-container"};function Pr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Or,[e.renderSlot(t.$slots,"default")])}const Fr=_(Lr,[["render",Pr]]),Ar={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!"}}}},Mg="",jr={name:"CmdCookieDisclaimer",mixins:[U,Ar],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,s;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let r=0;r<n.length;r++)t.push(n[r].value);const o=(s=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:s.cookies;if(o)for(let r=0;r<o.length;r++)t.push(o[r].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}))}}},zr={class:"cmd-cookie-disclaimer flex-container vertical"},Hr={key:0,class:"flex-container vertical"},qr={key:0},Rr={key:1},Ur=["href","target"],Gr=["innerHTML"],Wr=e.createElementVNode("hr",null,null,-1),Qr={key:1,class:"flex-container vertical"},Zr={key:0},Jr={key:1},Yr=["href","target"],Kr=["innerHTML"],Xr={class:"button-wrapper align-center"};function $r(t,n,o,a,i,l){const s=E,r=j,c=lt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var m,u,d;return[e.createElementVNode("div",zr,[(m=o.cmdHeadlineCookieDisclaimer)!=null&&m.show&&((u=o.cmdHeadlineCookieDisclaimer)!=null&&u.headlineText)&&((d=o.cmdHeadlineCookieDisclaimer)!=null&&d.headlineLevel)?(e.openBlock(),e.createBlock(s,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,p,g,k,b,x,T;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Hr,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(s,{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,V)=>{var w;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:V},{header:e.withCtx(()=>[e.createVNode(r,{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",qr,e.toDisplayString(y.description),1)):e.createCommentVNode("",!0),y.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Rr,[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,Ur)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Gr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Wr,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Qr,[(b=o.cmdBoxOptionalCookies)!=null&&b.showHeadline?(e.openBlock(),e.createBlock(s,{key:0,"headline-text":(x=o.cmdBoxOptionalCookies)==null?void 0:x.headlineText,"headline-level":(T=o.cmdBoxOptionalCookies)==null?void 0:T.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,V)=>{var w;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:V},{header:e.withCtx(()=>[e.createVNode(r,{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",Jr,[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,Yr)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Kr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Xr,[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 vr=_(jr,[["render",$r]]),Dg="",ec={name:"CmdCopyrightWrapper"},tc={class:"cmd-copyright-information",role:"contentinfo"},oc=[e.createElementVNode("a",{href:"https://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function nc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",tc,oc)}const lc=_(ec,[["render",nc]]),ic={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"}}}},Og="",Pg="",ac={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[U,ic,$e,Ie,de,tt],data(){return{showOptions:!1,validationStatus:"",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"))}},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)},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}}},sc=["title","aria-labelledby","aria-required"],rc={key:0,class:"label-text"},cc=["id"],dc={key:0,"aria-hidden":"true"},mc=["title","aria-errormessage","id"],uc=["aria-expanded"],hc=["title"],fc=["src","alt"],pc={key:3,class:"option-name"},gc={key:0,role:"listbox"},yc=["aria-selected"],kc=["onClick","title"],Cc={key:1},bc=["aria-expanded"],_c=["for"],Bc=["value","checked","id"],xc=["onClick"],wc=["src","alt"],Nc=["onClick"],Tc={key:0,class:"select-all-options"};function Sc(t,n,o,a,i,l){var m,u,d,f;const s=S,r=Xe,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",rc,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",dc,"*")):e.createCommentVNode("",!0)],8,cc),(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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,mc)):e.createCommentVNode("",!0),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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]=(...h)=>l.closeOptions&&l.closeOptions(...h)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>l.toggleOptions&&l.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>l.onBlur&&l.onBlur(...h)),title:(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,fc)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(u=l.optionIcon)!=null&&u.iconClass?(e.openBlock(),e.createBlock(s,{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",pc,e.toDisplayString(l.optionName),1)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(s,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,hc),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",gc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Cc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,kc)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,yc))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,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(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...g)=>l.optionSelect&&l.optionSelect(...g)),checked:l.compareValues(h.value),id:"option-"+(p+1)},null,40,Bc),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,_c)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(h.value),alt:h.text},null,8,wc),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,xc)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(g=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,Nc)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Tc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>l.toggleAllOptions&&l.toggleAllOptions(...h),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(s,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(s,{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,bc)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,uc)],10,sc)}const Co=_(ac,[["render",Sc]]),Fg="",Ic={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",type:"submit",primary:!0}}}},methods:{createHtmlId:ve,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}}},Vc=["data-use-validation","novalidate"],Ec={class:"flex-container"},Mc=["type"],Dc={key:1};function Lc(t,n,o,a,i,l){const s=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]=(...r)=>l.onSubmit&&l.onSubmit(...r)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Ec,[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,(r,c)=>(e.openBlock(),e.createBlock(s,{key:c,element:r.element||"input",type:r.type||"text",name:r.name,class:e.normalizeClass(r.htmlClass),id:r.id||l.createHtmlId(),modelValue:i.formValues[r.name],"onUpdate:modelValue":m=>i.formValues[r.name]=m,inputValue:r.inputValue,fieldIconClass:r.innerIconClass,selectOptions:r.selectOptions,labelText:r.labelText,placeholder:r.placeholder,required:r.required,disabled:r.disabled,autocomplete:r.autocomplete,minlength:r.minlength,maxlength:r.maxlength,nativeButton:r.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",{key:2,class:e.normalizeClass(["button",{primary:o.submitButton.primary}]),type:o.submitButton.type},[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",Dc,e.toDisplayString(o.submitButton.text),1)):e.createCommentVNode("",!0)],10,Mc)):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,Vc)}const bo=_(Ic,[["render",Lc]]),Ag="",Oc={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}}},Pc={key:0,class:"cmd-form-filters"},Fc={key:0},Ac={key:1},jc=["onClick","title"];function zc(t,n,o,a,i,l){const s=S;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Pc,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Fc,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...r)=>l.deleteAllFilters&&l.deleteAllFilters(...r),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(s,{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",Ac,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(r,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(r)),1),e.createVNode(s,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,jc)]))),128))])):e.createCommentVNode("",!0)}const _o=_(Oc,[["render",zc]]),jg="",Hc={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"}}},qc={class:"cmd-google-maps responsive-wrapper"},Rc=["src"];function Uc(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",qc,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Rc)])}const Bo=_(Hc,[["render",Uc]]),zg="",Gc={name:"CmdImageGallery",mixins:[A],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(Y(this,"props","images",-1),this.itemProvider)},showFancyBox(t){Ve({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 z(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))}})}}},Wc={class:"grid-container-create-columns cmd-image-gallery"},Qc=["onClick","title"],Zc=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new gallery-image",-1)];function Jc(t,n,o,a,i,l){var c;const s=E,r=v;return e.openBlock(),e.createElementBlock("div",Wc,[(c=o.cmdHeadline)!=null&&c.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,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,u)=>(e.openBlock(),e.createBlock(r,{key:u,class:"image-wrapper",image:m.image,figcaption:m.figcaption,componentPath:["props","images",u],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))},Zc)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(m,u)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:e.withModifiers(d=>l.showFancyBox(u),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(r,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])],8,Qc))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.images,(m,u)=>(e.openBlock(),e.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[e.createVNode(r,{image:m.image,figcaption:l.figcaption(m)},null,8,["image","figcaption"])]))),128))],64))])}const Yc=_(Gc,[["render",Jc]]),Rg="",Kc={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`,xo(this,t)})},onMouseMove(t){xo(this,t)},onMouseOut(){this.showLargeImage=!1}}};function xo(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,s=n.target.getBoundingClientRect().height,r=a.getBoundingClientRect().width,c=a.getBoundingClientRect().height,m=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,u=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,d=Math.min(l,o.getBoundingClientRect().width/r*l),f=Math.min(s,o.getBoundingClientRect().height/c*s),h=wo(m-d/2,0,l-d),p=wo(u-f/2,0,s-f),g=-(h*(r/l)),k=-(p*(c/s));i.style.left=`${h}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 wo(t,n,o){return t<n?n:t>o?o:t}const Xc={class:"cmd-imagezoom flex-container"},$c=["title"],vc=["src","alt"],ed={key:0,class:"zoom-container"},td=["src","alt"],od={key:1,class:"zoom-overlay"};function nd(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Xc,[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]=(...s)=>l.onMouseOver&&l.onMouseOver(...s)),onMousemove:n[1]||(n[1]=(...s)=>l.onMouseMove&&l.onMouseMove(...s)),onMouseout:n[2]||(n[2]=(...s)=>l.onMouseOut&&l.onMouseOut(...s))},null,40,vc)],8,$c),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",ed,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,td)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",od)):e.createCommentVNode("",!0)])}const ld=_(Kc,[["render",nd]]),Ug="",id={mixins:[$e,Ie,de,tt],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="success";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}}},ad=["aria-labelledby"],sd={class:"label-text"},rd=["id"],cd={key:0,"aria-hidden":"true"},dd=["title","aria-errormessage","id"],md=["for"],ud=["type","id","name","value","disabled"],hd={key:1,class:"label-text"},fd={key:1,class:"flex-container no-flex"};function pd(t,n,o,a,i,l){const s=S,r=Xe;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",sd,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",cd,"*")):e.createCommentVNode("",!0)],8,rd),(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(s,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,dd)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{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",fd,[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]=u=>l.inputValue=u),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType})},null,10,ud),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.labelText?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(c.labelText),1)):e.createCommentVNode("",!0)],10,md))),128))],2))],10,ad)}const No=_(id,[["render",pd]]),Gg="",gd={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 ne(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()}}},yd={class:"cmd-login-form flex-container"},kd={class:"flex-container"},Cd={class:"option-wrapper flex-container"},bd={key:1},_d=["href"],Bd={key:1},xd={key:1},wd=["type","disabled"],Nd={key:1},Td={class:"cmd-login-form flex-container"},Sd={class:"option-wrapper flex-container"},Id={key:1},Vd=["type","disabled"],Ed={key:1};function Md(t,n,o,a,i,l){var u,d,f,h,p,g,k;const s=E,r=j,c=S,m=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",yd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",kd,[e.createVNode(r,{element:"input",type:"text",ref:"username",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=b=>l.username=b),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=b=>l.checkValidationStatus(b,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(r,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=b=>l.password=b),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=b=>l.checkValidationStatus(b,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",Cd,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers((...b)=>l.toggleSendLoginView&&l.toggleSendLoginView(...b),["prevent"]))},[(u=o.options.forgotPassword.icon)!=null&&u.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",bd,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&&((h=o.options.createAccount.icon)!=null&&h.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",Bd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,_d)):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",xd,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...b)=>l.onClick&&l.onClick(...b)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(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",Nd,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,wd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Td,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{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]=b=>l.checkValidationStatus(b,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=b=>i.sendLoginMail=b)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Sd,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers((...b)=>l.toggleSendLoginView&&l.toggleSendLoginView(...b),["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",Id,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",Ed,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Vd)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Dd=_(gd,[["render",Md]]),Wg="",Qg="",Ld={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 ne(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})}}},Od={key:0,class:"close-nav"},Pd=["href","title","target","onClick"],Fd={key:1},Ad={key:1},jd=["aria-expanded"],zd=["href","title","target","onClick"],Hd={key:1},qd={key:1},Rd=["aria-expanded"],Ud=["href","title","target","onClick"],Gd={key:1},Wd={key:1};function Qd(t,n,o,a,i,l){const s=S,r=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",Od,[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(s,{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 u,d,f;return e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:c.active,open:i.openEntry===m,"has-subentries":(u=c==null?void 0:c.subentries)==null?void 0:u.length})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:h=>l.executeLink(h,c,m),onMouseover:n[1]||(n[1]=h=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>l.closeAllSubentries())},[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Fd,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,Pd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Ad,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,(h,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,class:e.normalizeClass({open:i.openSubentry===p})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:g=>l.executeLink(g,h,p,1),onMouseover:n[3]||(n[3]=g=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=g=>l.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Hd,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,zd)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",qd,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.subentries,(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:b=>l.executeLink(b,g)},[g.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",Gd,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,Ud)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(g),target:g.target},{default:e.withCtx(()=>[g.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",Wd,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,Rd)):e.createCommentVNode("",!0)],2))),128))],8,jd)):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(s,{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 To=_(Ld,[["render",Qd]]),Zg="",Jg="",Zd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}},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 ne(t)}}},Jd=["href","onClick","title"],Yd={key:0,class:"number"},Kd={key:2},Xd={key:0,class:"number"},$d={key:2},vd=["type","name","title","formaction","onClick"],em={key:0,class:"number"},tm={key:2};function om(t,n,o,a,i,l){const s=S,r=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(u=>l.clickedStep(u,m),["stop","prevent"]),title:c.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Kd,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Jd)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",$d,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(u=>l.clickedStep(u,m),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",em,e.toDisplayString(m+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(s,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",tm,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,vd)):e.createCommentVNode("",!0)],2))),128))],2)}const nm=_(Zd,[["render",om]]),lm={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(t){return t==="submit"||t==="button"}},showLegend:{type:Boolean,default:!0},textLegend:{type:String,default:"Stay up-to-date"},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const t={...this.cmdFormElementSubmit};return t.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",t},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(t){this.$emit("update:modelValue",{subscription:t,email:this.email})}},email:{get(){return this.modelValue.email},set(t){this.$emit("update:modelValue",{subscription:this.subscription,email:t})}}},methods:{sendData(t){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:t})},checkValidationStatus(t){this.buttonDisabled=t!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},im={class:"cmd-newsletter-subscription flex-container"},am={class:"button-wrapper"};function sm(t,n,o,a,i,l){const s=No,r=j;return e.openBlock(),e.createElementBlock("fieldset",im,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),e.createVNode(s,{inputTypes:"radio",labelText:o.cmdInputGroup.labelText,showLabel:o.cmdInputGroup.showLabel,inputElements:o.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":n[0]||(n[0]=c=>l.subscription=c)},null,8,["labelText","showLabel","inputElements","modelValue"]),e.createVNode(r,{element:"input",type:"email",placeholder:o.cmdFormElementEmail.placeholder,labelText:o.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:o.cmdFormElementEmail.required,useCustomTooltip:o.cmdFormElementEmail.useCustomTooltip,modelValue:l.email,"onUpdate:modelValue":n[1]||(n[1]=c=>l.email=c),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),e.createElementVNode("div",am,[e.createVNode(r,{element:"button",type:o.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const rm=_(lm,[["render",sm]]),Yg="";function So(t,n,o,a=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>{if(o){let r=l,c=n;return r>12&&(r-=12,c=o),i(r,a)+t+i(s,!0)+c}return i(l,a)+t+i(s,!0)+n}}const cm={name:"CmdOpeningHoursItem",mixins:[A],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):So(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableDay;return z(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=So(":","","",!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}}},dm={class:"cmd-opening-hours-item"},mm={key:0,class:"am"},um={key:1,class:"pm"},hm={class:"flex-container no-flex"},fm={class:"flex-container no-flex am-wrapper"},pm={key:1,class:"input-wrapper"},gm=["title"],ym={class:"flex-container no-flex pm-wrapper"},km={key:1,class:"input-wrapper"},Cm=["title"];function bm(t,n,o,a,i,l){const s=j;return t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("dt",null,[e.createVNode(s,{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]=r=>i.editableDay.day=r)},null,8,["modelValue"])]),e.createElementVNode("dd",hm,[e.createElementVNode("div",fm,[i.editableDay.amClosed?(e.openBlock(),e.createBlock(s,{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]=r=>i.editableDay.amDisplayText=r)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.amClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pm,[e.createVNode(s,{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]=r=>i.editableDay.amFrom=r)},null,8,["modelValue"]),e.createVNode(s,{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]=r=>i.editableDay.amTill=r)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers(r=>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,gm)]),e.createElementVNode("div",ym,[i.editableDay.pmClosed?(e.openBlock(),e.createBlock(s,{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]=r=>i.editableDay.pmDisplayText=r)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.pmClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",km,[e.createVNode(s,{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]=r=>i.editableDay.pmFrom=r)},null,8,["modelValue"]),e.createVNode(s,{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]=r=>i.editableDay.pmTill=r)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(r=>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,Cm)])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",dm,e.toDisplayString(o.day.day),1),e.createElementVNode("dd",null,[o.day.am?(e.openBlock(),e.createElementBlock("span",mm,[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",um,[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 _m=_(cm,[["render",bm]]),Kg="";function Bm(t,n,o,a=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>{if(o){let r=l,c=n;return r>12&&(r-=12,c=o),i(r,a)+t+i(s,!0)+c}return i(l,a)+t+i(s,!0)+n}}const xm={name:"CmdOpeningHours",mixins:[A],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(/[:.]/),s=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(s[0]),mins:parseInt(s[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(Y(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):Bm(":"," hrs","",!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableOpeningHours,n=this.editableTextOpen,o=this.editableTextClosed,a=this.editableTextHolidays,i=this.editableTextMiscInfo;return z(this,{update(l,s){l.openingHours=t,l.textOpen=n,l.textClosed=o,l.textHolidays=a,l.textMiscInfo=i;const r=s==null?void 0:s.find(c=>c.name==="CmdHeadline");r&&(l.cmdHeadline=l.cmdHeadline||{},r.update(l.cmdHeadline))}})}}},wm={class:"cmd-opening-hours"},Nm=["href"],Tm={key:2,class:"flex-container"},Sm={key:3},Im=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Vm={class:"edit-mode-opening-hours-item"},Em={key:6},Mm={key:0},Dm={key:1},Lm={key:7,class:"flex-container vertical"};function Om(t,n,o,a,i,l){var d,f,h;const s=E,r=e.resolveComponent("router-link"),c=j,m=_m,u=K;return e.openBlock(),e.createElementBlock("div",wm,[(d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Tm,[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)&&((h=o.link)!=null&&h.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,Nm)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(r,{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",Sm,[(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))},Im)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(l.openingHoursFormatted,(p,g)=>(e.openBlock(),e.createBlock(u,{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",Vm,[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",Em,[o.textHolidays?(e.openBlock(),e.createElementBlock("p",Mm,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidays),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Dm,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Lm,[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 Pm=_(xm,[["render",Om]]),Fm={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},vg="",ey="",Am={name:"CmdPagination",mixins:[U,Fm],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)}}},jm={class:"cmd-pagination"},zm=["href","title"],Hm={key:0},qm={class:"page-index"},Rm={class:"flex-container"},Um=["href","title","onClick"],Gm=["href","title"],Wm={key:0};function Qm(t,n,o,a,i,l){const s=S;return e.openBlock(),e.createElementBlock("div",jm,[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((...r)=>l.previousPage&&l.previousPage(...r),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(s,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",Hm,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,zm),e.createElementVNode("div",qm,[e.createElementVNode("div",Rm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(r,c)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(r),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(r),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(c+1),1)],10,Um))),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((...r)=>l.nextPage&&l.nextPage(...r),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Wm,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Gm)])}const Zm=_(Am,[["render",Qm]]),ty="",Jm={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[A],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},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 z(this,{item(){return t}})},updateHandlerProvider(){const t=te(),n=this.editablePath,o=this.editableTooltip,a=this.editableLinktext;return z(this,{update(i){i.id=t,i.path=n,i.tooltip=o,i.linkText=a}})}}},Ym={class:"cmd-social-networks-item"},Km=["id","href","title"],Xm={key:1};function $m(t,n,o,a,i,l){const s=S;return e.openBlock(),e.createElementBlock("li",Ym,[(e.openBlock(),e.createElementBlock("a",{key:o.network.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!o.dataPrivacyAccepted},"text-align-"+o.buttonTextAlign]),id:o.network.id,href:l.getUrl(o.network),onClick:n[0]||(n[0]=(...r)=>l.preventOnDisabled&&l.preventOnDisabled(...r)),target:"_blank",title:l.tooltip(o.network.tooltip)},[o.network.iconClass?(e.openBlock(),e.createBlock(s,{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",Xm,e.toDisplayString(o.network.linkText),1)):e.createCommentVNode("",!0)],10,Km))])}const vm=_(Jm,[["render",$m]]),oy="",ny="",eu={name:"CmdSocialNetworks",mixins:[A],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:"right",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:{onAddItem(){this.editModeContext.content.addContent(Y(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)}}}}},tu=[e.createElementVNode("span",{class:"icon-plus"},null,-1)];function ou(t,n,o,a,i,l){var u,d;const s=E,r=j,c=vm,m=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons},l.alignment])},[(u=o.cmdHeadline)!=null&&u.headlineText||(d=t.editModeContext)!=null&&d.editing?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline||{})),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(r,{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,h)=>(e.openBlock(),e.createBlock(m,{key:"x"+h,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:f,componentPath:["props","networks",h],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(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,(f,h)=>(e.openBlock(),e.createBlock(c,{key:h,network:f,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:o.page,appendPage:o.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),e.renderSlot(t.$slots,"default")],64))],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))},tu))],2)}const Io=_(eu,[["render",ou]]),iy="",ay="",nu={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Array,required:!1}}},lu={class:"button-wrapper"},iu=["title"],au={key:1};function su(t,n,o,a,i,l){var r,c,m;const s=Io;return e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":o.useSmallButtons}])},[o.cmdSocialNetworks?(e.openBlock(),e.createBlock(s,{key:0,networks:o.cmdSocialNetworks},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"cmd-social-networks")]),_:3},8,["networks"])):e.createCommentVNode("",!0),e.createElementVNode("div",lu,[e.renderSlot(t.$slots,"default"),o.buttonPrintView.show?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(["button",{primary:o.buttonPrintView.primary}]),title:o.buttonPrintView.text?(r=o.buttonPrintView.icon)==null?void 0:r.tooltip:null},[(c=o.buttonPrintView.icon)!=null&&c.show?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass((m=o.buttonPrintView.icon)==null?void 0:m.iconClass)},null,2)):e.createCommentVNode("",!0),o.buttonPrintView.text?(e.openBlock(),e.createElementBlock("span",au,e.toDisplayString(o.buttonPrintView.text),1)):e.createCommentVNode("",!0)],10,iu)):e.createCommentVNode("",!0)])],2)}const ru=_(nu,[["render",su]]),sy="",cu={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},du={class:"cmd-page-header flex-container"},mu={key:0,class:"headline-wrapper flex-container vertical"};function uu(t,n,o,a,i,l){const s=yo,r=E;return e.openBlock(),e.createElementBlock("header",du,[o.cmdBreadcrumbs||o.cmdHeadline?(e.openBlock(),e.createElementBlock("div",mu,[o.cmdBreadcrumbs?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdBreadcrumbs)),null,16)):e.createCommentVNode("",!0),o.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")])}const hu=_(cu,[["render",uu]]),ry="",fu={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}}},pu=["for"],gu={class:"progressbar"},yu={key:0},ku=["id","value"];function Cu(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",gu,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",yu,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,ku)])],8,pu)}const bu=_(fu,[["render",Cu]]),cy="",_u={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}}},Bu={class:"inner-sidebar-wrapper"},xu={key:1,class:"open-slot-wrapper"},wu={key:2,class:"closed-slot-wrapper"},Nu=["title"];function Tu(t,n,o,a,i,l){var r;const s=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",Bu,[(r=o.cmdHeadline)!=null&&r.headlineText&&i.open?(e.openBlock(),e.createBlock(s,{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",xu,[e.renderSlot(t.$slots,"open",{openBoxStatus:i.open})])):(e.openBlock(),e.createElementBlock("div",wu,[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,Nu)):e.createCommentVNode("",!0)],2)}const Su=_(_u,[["render",Tu]]),dy="",my="",Iu={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(t){return t==="horizontal"||t==="vertical"}}}},Vu={class:"cmd-site-footer"};function Eu(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Vu,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Mu=_(Iu,[["render",Eu]]),uy="",hy="",Du={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)}}},Lu={key:0,class:"top-header"};function Ou(t,n,o,a,i,l){var c,m,u,d,f,h,p,g,k;const s=ko,r=To;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",Lu,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(m=o.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:u.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(s,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),(p=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)!=null&&p.length&&o.navigationInline?(e.openBlock(),e.createBlock(r,{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(r,{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 Pu=_(Du,[["render",Ou]]),Fu={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"}}}},fy="",Au={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[U,Fu],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}}},ju={class:"cmd-box-site-search flex-container"},zu={class:"flex-container align-bottom"},Hu={class:"input-wrapper align-bottom"},qu={key:0},Ru={key:1},Uu={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Gu(t,n,o,a,i,l){var d,f,h,p,g,k,b,x;const s=E,r=j,c=S,m=Co,u=_o;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",ju,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",zu,[e.createVNode(r,{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]=T=>l.searchValue1=T)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Hu,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(r,{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]=T=>l.searchValue2=T)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(r,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=T=>l.radius=T),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(r,{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(T=>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=(h=o.cmdIcon)==null?void 0:h.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(k=(g=o.cmdIcon)==null?void 0:g.showFilters)==null?void 0:k.iconType:(x=(b=o.cmdIcon)==null?void 0:b.hideFilters)==null?void 0:x.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",qu,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Ru,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var T,y,V,w,N;return[i.showFilters&&((T=o.cmdFakeSelect)!=null&&T.selectData.length)?(e.openBlock(),e.createElementBlock("div",Uu,[e.createVNode(m,{role:"option",selectData:(y=o.cmdFakeSelect)==null?void 0:y.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=D=>l.searchFilters=D),defaultOptionName:(V=o.cmdFakeSelect)==null?void 0:V.defaultOptionName,type:(w=o.cmdFakeSelect)==null?void 0:w.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(u,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=T=>l.searchFilters=T),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Wu=_(Au,[["render",Gu]]),py="",gy="",Qu={name:"CmdSlideshow",mixins:[A],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(Y(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)})}}},Zu=["href","title"],Ju=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new slideshow-image",-1)],Yu={key:2},Ku=["onClick","aria-label","title"],Xu={key:3,class:"item-counter"};function $u(t,n,o,a,i,l){const s=me,r=v;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(s,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,u,d,f,h,p,g,k,b,x,T;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(r,{key:1,image:(x=l.currentItem)==null?void 0:x.image,figcaption:(T=l.currentItem)==null?void 0:T.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=(u=l.currentItem)==null?void 0:u.link)==null?void 0:d.href,title:(h=(f=l.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip},[e.createVNode(r,{image:(p=l.currentItem)==null?void 0:p.image,figcaption:(g=l.currentItem)==null?void 0:g.figcaption},null,8,["image","figcaption"])],8,Zu)):(e.openBlock(),e.createBlock(r,{key:1,image:(k=l.currentItem)==null?void 0:k.image,figcaption:(b=l.currentItem)==null?void 0:b.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))},Ju)):e.createCommentVNode("",!0)]}),_:3}),o.showSlideButtons?(e.openBlock(),e.createBlock(s,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",Yu,[(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(u=>l.showItem(m),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(m+1)},null,10,Ku)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",Xu,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const vu=_(Qu,[["render",$u]]),eh=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"})),xy="",th={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return ne(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(eh[n].default)})},immediate:!0,deep:!0}}},oh={class:"cmd-switch-language"},nh=["href","title","onClick"],lh=["src","alt"],ih=["src","alt"];function ah(t,n,o,a,i,l){const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",oh,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(r,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[r.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.link.path,class:e.normalizeClass(["flag",r.iso2,{active:l.activeLanguage(r)}]),title:r.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:r})},[e.createElementVNode("img",{src:i.imageSources[c],alt:r.name},null,8,lh)],10,nh)):(e.openBlock(),e.createBlock(s,{key:1,class:e.normalizeClass(["flag",r.iso2]),to:l.getRoute(r),title:r.tooltip,onClick:m=>t.$emit("click",{originalEvent:m,language:r})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[c],alt:r.name},null,8,ih)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const sh=_(th,[["render",ah]]),wy="",rh={name:"CmdSystemMessage",mixins:[de],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}}},ch=["role","aria-labelledby"],dh=["title"];function mh(t,n,o,a,i,l){const s=S,r=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(s,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,dh)):e.createCommentVNode("",!0),e.createVNode(r,{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,ch)):e.createCommentVNode("",!0)]),_:3})}const Vo=_(rh,[["render",mh]]),Ny="",uh={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}}},hh={key:0,class:"button-wrapper"},fh=["title"],ph=["title"],gh={"aria-expanded":"true"},yh={key:0,"aria-expanded":"true"};function kh(t,n,o,a,i,l){var c,m,u,d;const s=S,r=me;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",hh,[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(s,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,fh)):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(s,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,ph)):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(r,{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(((u=o.caption)==null?void 0:u.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,h)=>(e.openBlock(),e.createElementBlock("th",{key:h},e.toDisplayString(f),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",gh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(f,h)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===h}),key:h},[(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",yh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(f,h)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===h}),key:h},e.toDisplayString(f),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2),o.showSlideButtons?(e.openBlock(),e.createBlock(r,{key:1,onClick:e.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):e.createCommentVNode("",!0)],544)],2)}const Ch=_(uh,[["render",kh]]),bh={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
|
-
<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},By="";Ft(fh);const ph={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}}},gh={class:"cmd-tabs"},yh=["onClick","title"],kh={key:1},Ch={key:1,"aria-live":"assertive"},bh=["innerHTML"];function _h(t,n,o,a,i,l){const s=S,r=M;return e.openBlock(),e.createElementBlock("div",gh,[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(u=>l.setActiveTab(m),["prevent"]),title:c.name?void 0:c.tooltip},[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.name?(e.openBlock(),e.createElementBlock("span",kh,e.toDisplayString(c.name),1)):e.createCommentVNode("",!0)],8,yh)],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",Ch,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,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,bh)]))])}const Bh=_(ph,[["render",_h]]),xy="",xh={name:"CmdTextImageBlock",mixins:[A],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(t){return t==="vertical"||t==="horizontal"}},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},editModeContextData:{type:Object}},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,z(this,{update(n){n.htmlContent=t}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},wh={class:"flex-container vertical"},Nh=["innerHTML"],Th=["innerHTML"],Sh=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new paragraph",-1)];function Ih(t,n,o,a,i,l){var m,u,d,f;const s=M,r=v,c=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-text-image-block flex-container",o.orientation])},[((m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext)&&o.headlinePosition==="aboveImage"&&o.orientation==="vertical"?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.cmdImage?(e.openBlock(),e.createBlock(r,{key:1,image:(u=o.cmdImage)==null?void 0:u.image,figcaption:(d=o.cmdImage)==null?void 0:d.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):e.createCommentVNode("",!0),e.createElementVNode("div",wh,[((f=o.cmdHeadline)!=null&&f.headlineText||t.editModeContext)&&(o.headlinePosition==="belowImage"||o.orientation==="horizontal")?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.htmlContent,class:e.normalizeClass(l.textAlign)},null,10,Nh)):e.createCommentVNode("",!0)]),t.editModeContext?(e.openBlock(),e.createBlock(c,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:o.htmlContent,textAlign:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!o.htmlContent},{default:e.withCtx(h=>[h.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,Th)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...p)=>l.onAddItem&&l.onAddItem(...p))},Sh))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):e.createCommentVNode("",!0)],2)}const Vh=_(xh,[["render",Ih]]),Ty="",Eh={name:"ToggleDarkMode",mixins:[A],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 z(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}}},Mh={key:0};function Dh(t,n,o,a,i,l){const s=S,r=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(r,{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(r,{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",Mh,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(r,{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 Lh=_(Eh,[["render",Dh]]),Oh={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 Ph(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var at={exports:{}},Vo=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)}},Fh=Vo,ee=Object.prototype.toString;function st(t){return ee.call(t)==="[object Array]"}function rt(t){return typeof t>"u"}function Ah(t){return t!==null&&!rt(t)&&t.constructor!==null&&!rt(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function jh(t){return ee.call(t)==="[object ArrayBuffer]"}function zh(t){return typeof FormData<"u"&&t instanceof FormData}function Hh(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function qh(t){return typeof t=="string"}function Rh(t){return typeof t=="number"}function Eo(t){return t!==null&&typeof t=="object"}function Ee(t){if(ee.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function Uh(t){return ee.call(t)==="[object Date]"}function Gh(t){return ee.call(t)==="[object File]"}function Wh(t){return ee.call(t)==="[object Blob]"}function Mo(t){return ee.call(t)==="[object Function]"}function Qh(t){return Eo(t)&&Mo(t.pipe)}function Zh(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Jh(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Yh(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ct(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),st(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 dt(){var t={};function n(i,l){Ee(t[l])&&Ee(i)?t[l]=dt(t[l],i):Ee(i)?t[l]=dt({},i):st(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)ct(arguments[o],n);return t}function Kh(t,n,o){return ct(n,function(i,l){o&&typeof i=="function"?t[l]=Fh(i,o):t[l]=i}),t}function Xh(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var H={isArray:st,isArrayBuffer:jh,isBuffer:Ah,isFormData:zh,isArrayBufferView:Hh,isString:qh,isNumber:Rh,isObject:Eo,isPlainObject:Ee,isUndefined:rt,isDate:Uh,isFile:Gh,isBlob:Wh,isFunction:Mo,isStream:Qh,isURLSearchParams:Zh,isStandardBrowserEnv:Yh,forEach:ct,merge:dt,extend:Kh,trim:Jh,stripBOM:Xh},le=H;function Do(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Lo=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(le.isURLSearchParams(o))i=o.toString();else{var l=[];le.forEach(o,function(c,m){c===null||typeof c>"u"||(le.isArray(c)?m=m+"[]":c=[c],le.forEach(c,function(d){le.isDate(d)?d=d.toISOString():le.isObject(d)&&(d=JSON.stringify(d)),l.push(Do(m)+"="+Do(d))}))}),i=l.join("&")}if(i){var s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},$h=H;function Me(){this.handlers=[]}Me.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},Me.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},Me.prototype.forEach=function(n){$h.forEach(this.handlers,function(a){a!==null&&n(a)})};var vh=Me,ef=H,tf=function(n,o){ef.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},Oo=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},mt,Po;function Fo(){if(Po)return mt;Po=1;var t=Oo;return mt=function(o,a,i,l,s){var r=new Error(o);return t(r,a,i,l,s)},mt}var ut,Ao;function of(){if(Ao)return ut;Ao=1;var t=Fo();return ut=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))},ut}var ht,jo;function nf(){if(jo)return ht;jo=1;var t=H;return ht=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,s,r,c){var m=[];m.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&m.push("expires="+new Date(l).toGMTString()),t.isString(s)&&m.push("path="+s),t.isString(r)&&m.push("domain="+r),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(){}}}(),ht}var ft,zo;function lf(){return zo||(zo=1,ft=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),ft}var pt,Ho;function af(){return Ho||(Ho=1,pt=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),pt}var gt,qo;function sf(){if(qo)return gt;qo=1;var t=lf(),n=af();return gt=function(a,i){return a&&!t(i)?n(a,i):i},gt}var yt,Ro;function rf(){if(Ro)return yt;Ro=1;var t=H,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return yt=function(a){var i={},l,s,r;return a&&t.forEach(a.split(`
|
5
|
-
`),function(m){if(r=m.indexOf(":"),l=t.trim(m.substr(0,r)).toLowerCase(),s=t.trim(m.substr(r+1)),l){if(i[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?i[l]=(i[l]?i[l]:[]).concat([s]):i[l]=i[l]?i[l]+", "+s:s}}),i},yt}var kt,Uo;function cf(){if(Uo)return kt;Uo=1;var t=H;return kt=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),i;function l(s){var r=s;return o&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return i=l(window.location.href),function(r){var c=t.isString(r)?l(r):r;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}(),kt}var Ct,Go;function De(){if(Go)return Ct;Go=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Ct=t,Ct}var bt,Wo;function Qo(){if(Wo)return bt;Wo=1;var t=H,n=of(),o=nf(),a=Lo,i=sf(),l=rf(),s=cf(),r=Fo(),c=Le(),m=De();return bt=function(d){return new Promise(function(h,p){var g=d.data,k=d.headers,b=d.responseType,x;function T(){d.cancelToken&&d.cancelToken.unsubscribe(x),d.signal&&d.signal.removeEventListener("abort",x)}t.isFormData(g)&&delete k["Content-Type"];var y=new XMLHttpRequest;if(d.auth){var V=d.auth.username||"",w=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";k.Authorization="Basic "+btoa(V+":"+w)}var N=i(d.baseURL,d.url);y.open(d.method.toUpperCase(),a(N,d.params,d.paramsSerializer),!0),y.timeout=d.timeout;function D(){if(y){var I="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,F=!b||b==="text"||b==="json"?y.responseText:y.response,P={data:F,status:y.status,statusText:y.statusText,headers:I,config:d,request:y};n(function(L){h(L),T()},function(L){p(L),T()},P),y=null}}if("onloadend"in y?y.onloadend=D:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(D)},y.onabort=function(){y&&(p(r("Request aborted",d,"ECONNABORTED",y)),y=null)},y.onerror=function(){p(r("Network Error",d,null,y)),y=null},y.ontimeout=function(){var F=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",P=d.transitional||c.transitional;d.timeoutErrorMessage&&(F=d.timeoutErrorMessage),p(r(F,d,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},t.isStandardBrowserEnv()){var O=(d.withCredentials||s(N))&&d.xsrfCookieName?o.read(d.xsrfCookieName):void 0;O&&(k[d.xsrfHeaderName]=O)}"setRequestHeader"in y&&t.forEach(k,function(F,P){typeof g>"u"&&P.toLowerCase()==="content-type"?delete k[P]:y.setRequestHeader(P,F)}),t.isUndefined(d.withCredentials)||(y.withCredentials=!!d.withCredentials),b&&b!=="json"&&(y.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&y.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(x=function(I){y&&(p(!I||I&&I.type?new m("canceled"):I),y.abort(),y=null)},d.cancelToken&&d.cancelToken.subscribe(x),d.signal&&(d.signal.aborted?x():d.signal.addEventListener("abort",x))),g||(g=null),y.send(g)})},bt}var _t,Zo;function Le(){if(Zo)return _t;Zo=1;var t=H,n=tf,o=Oo,a={"Content-Type":"application/x-www-form-urlencoded"};function i(c,m){!t.isUndefined(c)&&t.isUndefined(c["Content-Type"])&&(c["Content-Type"]=m)}function l(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Qo()),c}function s(c,m,u){if(t.isString(c))try{return(m||JSON.parse)(c),t.trim(c)}catch(d){if(d.name!=="SyntaxError")throw d}return(u||JSON.stringify)(c)}var r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(m,u){return n(u,"Accept"),n(u,"Content-Type"),t.isFormData(m)||t.isArrayBuffer(m)||t.isBuffer(m)||t.isStream(m)||t.isFile(m)||t.isBlob(m)?m:t.isArrayBufferView(m)?m.buffer:t.isURLSearchParams(m)?(i(u,"application/x-www-form-urlencoded;charset=utf-8"),m.toString()):t.isObject(m)||u&&u["Content-Type"]==="application/json"?(i(u,"application/json"),s(m)):m}],transformResponse:[function(m){var u=this.transitional||r.transitional,d=u&&u.silentJSONParsing,f=u&&u.forcedJSONParsing,h=!d&&this.responseType==="json";if(h||f&&t.isString(m)&&m.length)try{return JSON.parse(m)}catch(p){if(h)throw p.name==="SyntaxError"?o(p,this,"E_JSON_PARSE"):p}return m}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(m){return m>=200&&m<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(m){r.headers[m]={}}),t.forEach(["post","put","patch"],function(m){r.headers[m]=t.merge(a)}),_t=r,_t}var df=H,mf=Le(),uf=function(n,o,a){var i=this||mf;return df.forEach(a,function(s){n=s.call(i,n,o)}),n},Bt,Jo;function Yo(){return Jo||(Jo=1,Bt=function(n){return!!(n&&n.__CANCEL__)}),Bt}var Ko=H,xt=uf,hf=Yo(),ff=Le(),pf=De();function wt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new pf("canceled")}var gf=function(n){wt(n),n.headers=n.headers||{},n.data=xt.call(n,n.data,n.headers,n.transformRequest),n.headers=Ko.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Ko.forEach(["delete","get","head","post","put","patch","common"],function(i){delete n.headers[i]});var o=n.adapter||ff.adapter;return o(n).then(function(i){return wt(n),i.data=xt.call(n,i.data,i.headers,n.transformResponse),i},function(i){return hf(i)||(wt(n),i&&i.response&&(i.response.data=xt.call(n,i.response.data,i.response.headers,n.transformResponse))),Promise.reject(i)})},q=H,Xo=function(n,o){o=o||{};var a={};function i(u,d){return q.isPlainObject(u)&&q.isPlainObject(d)?q.merge(u,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function l(u){if(q.isUndefined(o[u])){if(!q.isUndefined(n[u]))return i(void 0,n[u])}else return i(n[u],o[u])}function s(u){if(!q.isUndefined(o[u]))return i(void 0,o[u])}function r(u){if(q.isUndefined(o[u])){if(!q.isUndefined(n[u]))return i(void 0,n[u])}else return i(void 0,o[u])}function c(u){if(u in o)return i(n[u],o[u]);if(u in n)return i(void 0,n[u])}var m={url:s,method:s,data:s,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c};return q.forEach(Object.keys(n).concat(Object.keys(o)),function(d){var f=m[d]||l,h=f(d);q.isUndefined(h)&&f!==c||(a[d]=h)}),a},Nt,$o;function vo(){return $o||($o=1,Nt={version:"0.24.0"}),Nt}var yf=vo().version,Tt={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){Tt[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var en={};Tt.transitional=function(n,o,a){function i(l,s){return"[Axios v"+yf+"] Transitional option '"+l+"'"+s+(a?". "+a:"")}return function(l,s,r){if(n===!1)throw new Error(i(s," has been removed"+(o?" in "+o:"")));return o&&!en[s]&&(en[s]=!0,console.warn(i(s," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,s,r):!0}};function kf(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),i=a.length;i-- >0;){var l=a[i],s=n[l];if(s){var r=t[l],c=r===void 0||s(r,l,t);if(c!==!0)throw new TypeError("option "+l+" must be "+c);continue}if(o!==!0)throw Error("Unknown option "+l)}}var Cf={assertOptions:kf,validators:Tt},tn=H,bf=Lo,on=vh,nn=gf,Oe=Xo,ln=Cf,ie=ln.validators;function ue(t){this.defaults=t,this.interceptors={request:new on,response:new on}}ue.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=Oe(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&ln.assertOptions(o,{silentJSONParsing:ie.transitional(ie.boolean),forcedJSONParsing:ie.transitional(ie.boolean),clarifyTimeoutError:ie.transitional(ie.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(i=i&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var s;if(!i){var r=[nn,void 0];for(Array.prototype.unshift.apply(r,a),r=r.concat(l),s=Promise.resolve(n);r.length;)s=s.then(r.shift(),r.shift());return s}for(var c=n;a.length;){var m=a.shift(),u=a.shift();try{c=m(c)}catch(d){u(d);break}}try{s=nn(c)}catch(d){return Promise.reject(d)}for(;l.length;)s=s.then(l.shift(),l.shift());return s},ue.prototype.getUri=function(n){return n=Oe(this.defaults,n),bf(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},tn.forEach(["delete","get","head","options"],function(n){ue.prototype[n]=function(o,a){return this.request(Oe(a||{},{method:n,url:o,data:(a||{}).data}))}}),tn.forEach(["post","put","patch"],function(n){ue.prototype[n]=function(o,a,i){return this.request(Oe(i||{},{method:n,url:o,data:a}))}});var _f=ue,St,an;function Bf(){if(an)return St;an=1;var t=De();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(s){a=s});var i=this;this.promise.then(function(l){if(i._listeners){var s,r=i._listeners.length;for(s=0;s<r;s++)i._listeners[s](l);i._listeners=null}}),this.promise.then=function(l){var s,r=new Promise(function(c){i.subscribe(c),s=c}).then(l);return r.cancel=function(){i.unsubscribe(s)},r},o(function(s){i.reason||(i.reason=new t(s),a(i.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(this._listeners){var i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}},n.source=function(){var a,i=new n(function(s){a=s});return{token:i,cancel:a}},St=n,St}var It,sn;function xf(){return sn||(sn=1,It=function(n){return function(a){return n.apply(null,a)}}),It}var Vt,rn;function wf(){return rn||(rn=1,Vt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),Vt}var cn=H,Nf=Vo,Pe=_f,Tf=Xo,Sf=Le();function dn(t){var n=new Pe(t),o=Nf(Pe.prototype.request,n);return cn.extend(o,Pe.prototype,n),cn.extend(o,n),o.create=function(i){return dn(Tf(t,i))},o}var Q=dn(Sf);Q.Axios=Pe,Q.Cancel=De(),Q.CancelToken=Bf(),Q.isCancel=Yo(),Q.VERSION=vo().version,Q.all=function(n){return Promise.all(n)},Q.spread=xf(),Q.isAxiosError=wf(),at.exports=Q,at.exports.default=Q;var If=at.exports,Vf=If;const Ef=Ph(Vf),Sy="",Mf={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[U,Oh],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return oe(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(oe(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,oe(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,oe(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,i])=>n.append(a,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const i=a.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Ef.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Df={key:0},Lf={key:1,class:"flex-container vertical"},Of={key:0,class:"flex-container vertical list-files-wrapper"},Pf={key:0,class:"list-of-files total-files"},Ff={class:"flex-container no-flex"},Af=["title"],jf={key:0,class:"progressbar"},zf=["value","title"],Hf=e.createElementVNode("hr",null,null,-1),qf={class:"flex-container vertical list-files-wrapper"},Rf={class:"list-of-files"},Uf=["title","onClick"],Gf={key:0,class:"progressbar"},Wf=["value","title"],Qf=["title"],Zf=e.createElementVNode("hr",null,null,-1),Jf={class:"upload-conditions"},Yf={class:"small"},Kf=["title"],Xf={key:0,class:"list-of-file-extensions"},$f={class:"flex-container vertical no-gap"},vf=["disabled"],ep={key:0},tp={key:1},op={class:"button-wrapper no-flex"},np=["disabled"],lp={key:0},ip={key:1},ap={key:0,class:"progressbar"},sp=["value","title"];function rp(t,n,o,a,i,l){const s=M,r=Io,c=S,m=j;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(r,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Df,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},e.toDisplayString(u),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box flex-container vertical",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Lf,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Of,[e.createVNode(s,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Pf,[e.createElementVNode("li",Ff,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...u)=>l.cancelUpload&&l.cancelUpload(...u),["prevent"]))},[e.createVNode(c,{iconClass:t.deleteIcon.iconClass,type:t.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Af),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",jf,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,zf)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Hf])):e.createCommentVNode("",!0),e.createElementVNode("div",qf,[e.createVNode(s,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Rf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",u.file.name),onClick:e.withModifiers(f=>l.removeFile(d),["prevent"])},[e.createVNode(c,{iconClass:o.iconDelete.iconClass,type:o.iconDelete.iconType},null,8,["iconClass","type"])],8,Uf),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",u.allowedType?"allowed":"not-allowed",{error:u.error}])},[e.createTextVNode(e.toDisplayString(u.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(u.file.size))+")",1)],2),i.uploadInitiated&&!u.error?(e.openBlock(),e.createElementBlock("span",Gf,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(u.progress)),1),e.createElementVNode("progress",{max:"100",value:u.progress,title:l.formatSize(u.uploadedBytes)+"/"+l.formatSize(u.file.size)},null,8,Wf)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.cancel&&l.cancel(...u),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,Qf)):e.createCommentVNode("",!0),Zf])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):e.createCommentVNode("",!0)],64)),e.createElementVNode("div",Jf,[o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",Yf,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(u=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(c,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,Kf),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",Xf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(u),3))),128))])):e.createCommentVNode("",!0)]),_:1})])])]),e.createElementVNode("div",$f,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=u=>l.selectFiles())},[e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ep,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",tp,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,vf),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(m,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=u=>i.comment=u),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",op,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...u)=>l.uploadFiles&&l.uploadFiles(...u))},[e.createVNode(c,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",lp,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",ip,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,np),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...u)=>l.cancel&&l.cancel(...u))},[e.createVNode(c,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...u)=>l.selectFiles&&l.selectFiles(...u),["prevent"])),class:["cmd-upload-form box",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",ap,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,sp)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(c,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(c,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(m,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const cp=_(Mf,[["render",rp]]),Iy="",dp={name:"CmdWidthLimitationWrapper",props:{numberOfColumns:{type:Number,default:1,validator(t){return t>=0}},useGrid:{type:Boolean,default:!1},innerComponent:{type:String,default:"section",validator(t){return t}},useInnerSection:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},mp=["id"],up=["id"];function hp(t,n,o,a,i,l){const s=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.useInnerSection?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass),id:o.anchorId},[o.cmdHeadline?(e.openBlock(),e.createBlock(s,{key:0,"pre-headline-text":o.cmdHeadline.preHeadlineText,"headline-text":o.cmdHeadline.headlineText,"headline-level":o.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),o.numberOfColumns===1?e.renderSlot(t.$slots,"default",{key:1}):(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(o.useGrid?"grid-container-create-columns":"flex-container")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.numberOfColumns,r=>(e.openBlock(),e.createElementBlock("div",{key:`i${r}`,class:e.normalizeClass(o.useGrid?"grid-item":"flex-item")},[e.renderSlot(t.$slots,"default")],2))),128))],2))],10,mp)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,up)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const fp=_(dp,[["render",hp]]),pp={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.additional_address_info":"Additional address information","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.additional_text":"Additional text","basic_form.placeholder.additional_text":"Additional text","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},Vy="",gp={mixins:[U,pp,Ie],inject:{editModeContext:{default:null}},data(){return{formData:{salutation:this.configuration.salutation.default,lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},additionalAddressInfo:{value:""},additionalText:{value:""},acceptPrivacy:{value:!1}},nativeButton:{icon:{show:!0,iconClass:"icon-message-send",tooltip:"Send message"},text:"Send"}}},props:{configuration:{type:Object,default(){return{salutation:{name:"salutation",default:"m",replaceInputType:!0},lastName:{name:"surname",required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},additionalText:{required:!1,type:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},receiverEmailAddress:{type:String,default:""},formAction:{type:String,required:!0},submitButton:{type:Object,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",primary:!0}}}},mounted(){var t,n;(n=(t=this.$refs.dataPrivacy)==null?void 0:t.querySelector(".fancybox"))==null||n.addEventListener("click",o=>{o.preventDefault(),openFancyBox({url:o.target.getAttribute("href")})})},methods:{onSubmit(t){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error){t.preventDefault();return}t.preventDefault()},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(t,n){t.fancybox&&(n.preventDefault(),openFancyBox({url:t}))},openDataPrivacy(t){openFancyBox({url:t})}}},yp={class:"cmd-pages-basic-form"},kp={class:"flex-container no-flex"},Cp={class:"flex-container"},bp={key:0,class:"flex-container"},_p={class:"flex-container"},Bp={class:"input-wrapper"},xp=["innerHTML"];function wp(t,n,o,a,i,l){const s=j,r=Co;return e.openBlock(),e.createElementBlock("div",yp,[e.createVNode(r,{action:o.formAction,onSubmit:l.onSubmit,novalidate:"novalidate",textLegend:t.getMessage("basic_form.legend"),submitButton:o.submitButton},{default:e.withCtx(()=>{var c,m,u,d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X,B,Z,he,fe,pe,ge,ye,ke,G,un;return[e.createElementVNode("div",kp,[e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_male"),name:((c=o.configuration.salutation)==null?void 0:c.name)||t.salutation,inputValue:"m",replaceInputType:(m=o.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation,"onUpdate:modelValue":n[0]||(n[0]=E=>i.formData.salutation=E),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_female"),name:((u=o.configuration.salutation)==null?void 0:u.name)||t.salutation,inputValue:"f",replaceInputType:(d=o.configuration.salutation)==null?void 0:d.replaceInputType,modelValue:i.formData.salutation,"onUpdate:modelValue":n[1]||(n[1]=E=>i.formData.salutation=E),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])]),e.renderSlot(t.$slots,"top"),e.createElementVNode("div",Cp,[o.configuration.lastName?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((f=o.configuration.lastName)==null?void 0:f.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.last_name"),tooltipText:i.formData.lastName.error?i.formData.lastName.errorMessage:"Type your surname!",required:(h=o.configuration.lastName)==null?void 0:h.required,name:((p=o.configuration.lastName)==null?void 0:p.name)||"last-name",placeholder:t.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":n[2]||(n[2]=E=>i.formData.lastName.value=E),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","tooltipText","required","name","placeholder","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.firstName?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((g=o.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.first_name"),tooltipText:i.formData.firstName.error?i.formData.firstName.errorMessage:"Type your first name!",placeholder:t.getMessage("basic_form.placeholder.first_name"),required:(k=o.configuration.firstName)==null?void 0:k.required,name:((b=o.configuration.firstName)==null?void 0:b.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":n[3]||(n[3]=E=>i.formData.firstName.value=E),status:i.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","tooltipText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0)]),o.configuration.email||o.configuration.phone?(e.openBlock(),e.createElementBlock("div",bp,[o.configuration.email?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((x=o.configuration.email)==null?void 0:x.type)||"email",iconClass:"icon-mail",labelText:t.getMessage("basic_form.labeltext.email"),placeholder:t.getMessage("basic_form.placeholder.email"),required:(T=o.configuration.email)==null?void 0:T.required,name:((y=o.configuration.email)==null?void 0:y.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":n[4]||(n[4]=E=>i.formData.email.value=E),status:i.formData.email.error?"error":"",tooltipText:i.formData.email.error?i.formData.email.errorMessage:"Type your email!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])):e.createCommentVNode("",!0),o.configuration.phone?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((V=o.configuration.phone)==null?void 0:V.type)||"tel",iconClass:"icon-phone",labelText:t.getMessage("basic_form.labeltext.phone"),placeholder:t.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":n[5]||(n[5]=E=>i.formData.phone.value=E),required:(w=o.configuration.phone)==null?void 0:w.required,name:((N=o.configuration.phone)==null?void 0:N.name)||"phone",status:i.formData.phone.error?"error":"",tooltipText:i.formData.phone.error?i.formData.phone.errorMessage:"Type your phone number!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","tooltipText","onValidate"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",_p,[e.createVNode(s,{element:"input",type:((D=o.configuration.streetNo)==null?void 0:D.type)||"text",labelText:t.getMessage("basic_form.labeltext.street_no"),placeholder:t.getMessage("basic_form.placeholder.street_no"),required:(O=o.configuration.streetNo)==null?void 0:O.required,name:((I=o.configuration.streetNo)==null?void 0:I.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":n[6]||(n[6]=E=>i.formData.streetNo.value=E),status:i.formData.streetNo.error?"error":"",tooltipText:i.formData.streetNo.error?i.formData.streetNo.errorMessage:"Type your street and number!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"]),e.createElementVNode("div",Bp,[e.createVNode(s,{element:"input",type:((F=o.configuration.zip)==null?void 0:F.type)||"number",labelText:t.getMessage("basic_form.labeltext.zip"),placeholder:t.getMessage("basic_form.placeholder.zip"),required:(P=o.configuration.zip)==null?void 0:P.required,name:((R=o.configuration.zip)==null?void 0:R.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":n[7]||(n[7]=E=>i.formData.zip.value=E),status:i.formData.zip.error?"error":"",tooltipText:i.formData.zip.error?i.formData.zip.errorMessage:"Type your zip/postal code!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"]),e.createVNode(s,{element:"input",type:((L=o.configuration.city)==null?void 0:L.type)||"text",labelText:t.getMessage("basic_form.labeltext.city"),placeholder:t.getMessage("basic_form.placeholder.city"),required:(X=o.configuration.city)==null?void 0:X.required,name:((B=o.configuration.city)==null?void 0:B.name)||"zip",modelValue:i.formData.city.value,"onUpdate:modelValue":n[8]||(n[8]=E=>i.formData.city.value=E),status:i.formData.city.error?"error":"",tooltipText:i.formData.city.error?i.formData.city.errorMessage:"Type your city!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])]),e.createVNode(s,{element:"input",type:((Z=o.configuration.additionalAddressInfo)==null?void 0:Z.type)||"text",labelText:t.getMessage("basic_form.labeltext.additional_address_info"),placeholder:t.getMessage("basic_form.placeholder.additional_address_info"),required:(he=o.configuration.additionalAddressInfo)==null?void 0:he.required,name:((fe=o.configuration.additionalAddressInfo)==null?void 0:fe.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":n[9]||(n[9]=E=>i.formData.additionalAddressInfo.value=E),status:i.formData.additionalAddressInfo.error?"error":"",tooltipText:i.formData.additionalAddressInfo.error?i.formData.additionalAddressInfo.errorMessage:"Type additional address information!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])]),e.createVNode(s,{type:((pe=o.configuration.additionalText)==null?void 0:pe.type)||"textarea",labelText:t.getMessage("basic_form.labeltext.additional_text"),placeholder:t.getMessage("basic_form.placeholder.additional_text"),required:(ge=o.configuration.additionalText)==null?void 0:ge.required,name:((ye=o.configuration.additionalText)==null?void 0:ye.name)||"additional-text",modelValue:i.formData.additionalText.value,"onUpdate:modelValue":n[10]||(n[10]=E=>i.formData.additionalText.value=E),status:i.formData.additionalText.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"]),e.renderSlot(t.$slots,"bottom"),e.createVNode(s,{element:"input",type:"checkbox",required:(ke=o.configuration.acceptPrivacy)==null?void 0:ke.required,name:((G=o.configuration.acceptPrivacy)==null?void 0:G.name)||"accept-privacy",replaceInputType:(un=o.configuration.acceptPrivacy)==null?void 0:un.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":n[11]||(n[11]=E=>i.formData.acceptPrivacy.value=E),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:e.withCtx(()=>[e.createElementVNode("span",{ref:"dataPrivacy",innerHTML:t.getMessage("basic_form.labeltext.data_privacy")},null,8,xp)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])]}),_:3},8,["action","onSubmit","textLegend","submitButton"])])}const mn=_(gp,[["render",wp]]),Np={name:"ContactInformation",props:{basicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},Tp={key:1,class:"flex-container"},Sp={class:"flex-container vertical"};function Ip(t,n,o,a,i,l){const s=mn,r=so,c=_o;return l.contactFormOnly?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.basicForm)),null,16)):(e.openBlock(),e.createElementBlock("div",Tp,[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(o.basicForm)),null,16),e.createElementVNode("div",Sp,[o.cmdAddressData?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdAddressData)),null,16)):e.createCommentVNode("",!0),o.cmdGoogleMaps?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdGoogleMaps)),null,16)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"additional-info")])]))}const Vp=_(Np,[["render",Ip]]),Ep={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},Mp={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function Dp(t,n,o,a,i,l){const s=lt,r=go;return e.openBlock(),e.createElementBlock("div",Mp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(c,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createVNode(r,{boxesPerRow:c.boxesPerRow,useRowViewAsDefault:c.useRowViewAsDefault,useGap:c.useGap,cmdHeadline:c.cmdHeadline},{default:e.withCtx(u=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.boxes,(d,f)=>(e.openBlock(),e.createBlock(s,e.mergeProps({"use-slots":["box-body"],key:f},d,{rowView:u.rowView}),{default:e.withCtx(()=>[e.createTextVNode(" box "+e.toDisplayString(d),1)]),_:2},1040,["rowView"]))),128))]),_:2},1032,["boxesPerRow","useRowViewAsDefault","useGap","cmdHeadline"]),e.renderSlot(t.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const Lp=_(Ep,[["render",Dp]]),Op={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},Pp={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function Fp(t,n,o,a,i,l){const s=ot;return e.openBlock(),e.createElementBlock("div",Pp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createVNode(s,{links:r.links,orientation:r.orientation,largeIcons:r.largeIcons,cmdHeadline:r.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),e.renderSlot(t.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const Ap=_(Op,[["render",Fp]]),jp={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},zp={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,a=n.value.replace(/^\s*\+/,"00");t.href="tel:"+a.replace(o,"")}}};function Hp(){const t={};e.onBeforeUpdate(a);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function a(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.BasicForm=mn,C.CmdAddressData=so,C.CmdBackToTopButton=xa,C.CmdBankAccountData=Ea,C.CmdBox=lt,C.CmdBoxWrapper=go,C.CmdBreadcrumbs=Ir,C.CmdCompanyLogo=yo,C.CmdContainer=Fr,C.CmdCookieDisclaimer=vr,C.CmdCopyrightInformation=lc,C.CmdFakeSelect=ko,C.CmdFancyBox=Cs,C.CmdForm=Co,C.CmdFormElement=j,C.CmdFormFilters=bo,C.CmdGoogleMaps=_o,C.CmdHeadline=M,C.CmdIcon=S,C.CmdImage=v,C.CmdImageGallery=Yc,C.CmdImageZoom=ld,C.CmdInputGroup=wo,C.CmdListOfLinks=ot,C.CmdLoginForm=Dd,C.CmdMainNavigation=No,C.CmdMultistepFormProgressBar=nm,C.CmdNewsletterSubscription=rm,C.CmdOpeningHours=Pm,C.CmdPageFooter=su,C.CmdPagination=Zm,C.CmdProgressBar=fu,C.CmdSidebar=_u,C.CmdSiteFooter=Nu,C.CmdSiteHeader=Vu,C.CmdSiteSearch=zu,C.CmdSlideButton=me,C.CmdSlideshow=Zu,C.CmdSocialNetworks=So,C.CmdSwitchLanguage=th,C.CmdSystemMessage=Io,C.CmdTable=hh,C.CmdTabs=Bh,C.CmdTextImageBlock=Vh,C.CmdThumbnailScroller=co,C.CmdToggleDarkMode=Lh,C.CmdTooltip=ao,C.CmdUploadForm=cp,C.CmdWidthLimitationWrapper=fp,C.ContactInformation=Vp,C.DirFocus=jp,C.DirTelephone=zp,C.EditComponentWrapper=K,C.MultipleBoxWrapper=Lp,C.MultipleListsOfLinks=Ap,C.createHtmlId=ve,C.createUuid=te,C.getFileExtension=oe,C.openFancyBox=Ve,C.useSequence=Hp,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});
|
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},Ey="";Ft(bh);const _h={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}}},Bh={class:"cmd-tabs"},xh=["onClick","title"],wh={key:1},Nh={key:1,"aria-live":"assertive"},Th=["innerHTML"];function Sh(t,n,o,a,i,l){const s=S,r=E;return e.openBlock(),e.createElementBlock("div",Bh,[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(u=>l.setActiveTab(m),["prevent"]),title:c.name?void 0:c.tooltip},[c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.name?(e.openBlock(),e.createElementBlock("span",wh,e.toDisplayString(c.name),1)):e.createCommentVNode("",!0)],8,xh)],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",Nh,[o.cmdHeadline?(e.openBlock(),e.createBlock(r,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,Th)]))])}const Ih=_(_h,[["render",Sh]]),My="",Vh={name:"CmdTextImageBlock",mixins:[A],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(t){return t==="vertical"||t==="horizontal"}},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},editModeContextData:{type:Object}},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,z(this,{update(n){n.htmlContent=t}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},Eh={class:"flex-container vertical"},Mh=["innerHTML"],Dh=["innerHTML"],Lh=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new paragraph",-1)];function Oh(t,n,o,a,i,l){var m,u,d,f;const s=E,r=v,c=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-text-image-block flex-container",o.orientation])},[((m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext)&&o.headlinePosition==="aboveImage"&&o.orientation==="vertical"?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.cmdImage?(e.openBlock(),e.createBlock(r,{key:1,image:(u=o.cmdImage)==null?void 0:u.image,figcaption:(d=o.cmdImage)==null?void 0:d.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):e.createCommentVNode("",!0),e.createElementVNode("div",Eh,[((f=o.cmdHeadline)!=null&&f.headlineText||t.editModeContext)&&(o.headlinePosition==="belowImage"||o.orientation==="horizontal")?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.htmlContent,class:e.normalizeClass(l.textAlign)},null,10,Mh)):e.createCommentVNode("",!0)]),t.editModeContext?(e.openBlock(),e.createBlock(c,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:o.htmlContent,textAlign:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!o.htmlContent},{default:e.withCtx(h=>[h.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,Dh)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...p)=>l.onAddItem&&l.onAddItem(...p))},Lh))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):e.createCommentVNode("",!0)],2)}const Ph=_(Vh,[["render",Oh]]),Oy="",Fh={name:"ToggleDarkMode",mixins:[A],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 z(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}}},Ah={key:0};function jh(t,n,o,a,i,l){const s=S,r=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(r,{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(r,{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",Ah,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(r,{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 zh=_(Fh,[["render",jh]]),Hh={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 qh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var at={exports:{}},Eo=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)}},Rh=Eo,ee=Object.prototype.toString;function st(t){return ee.call(t)==="[object Array]"}function rt(t){return typeof t>"u"}function Uh(t){return t!==null&&!rt(t)&&t.constructor!==null&&!rt(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Gh(t){return ee.call(t)==="[object ArrayBuffer]"}function Wh(t){return typeof FormData<"u"&&t instanceof FormData}function Qh(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Zh(t){return typeof t=="string"}function Jh(t){return typeof t=="number"}function Mo(t){return t!==null&&typeof t=="object"}function Ee(t){if(ee.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function Yh(t){return ee.call(t)==="[object Date]"}function Kh(t){return ee.call(t)==="[object File]"}function Xh(t){return ee.call(t)==="[object Blob]"}function Do(t){return ee.call(t)==="[object Function]"}function $h(t){return Mo(t)&&Do(t.pipe)}function vh(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function ef(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function tf(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ct(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),st(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 dt(){var t={};function n(i,l){Ee(t[l])&&Ee(i)?t[l]=dt(t[l],i):Ee(i)?t[l]=dt({},i):st(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)ct(arguments[o],n);return t}function of(t,n,o){return ct(n,function(i,l){o&&typeof i=="function"?t[l]=Rh(i,o):t[l]=i}),t}function nf(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var H={isArray:st,isArrayBuffer:Gh,isBuffer:Uh,isFormData:Wh,isArrayBufferView:Qh,isString:Zh,isNumber:Jh,isObject:Mo,isPlainObject:Ee,isUndefined:rt,isDate:Yh,isFile:Kh,isBlob:Xh,isFunction:Do,isStream:$h,isURLSearchParams:vh,isStandardBrowserEnv:tf,forEach:ct,merge:dt,extend:of,trim:ef,stripBOM:nf},le=H;function Lo(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Oo=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(le.isURLSearchParams(o))i=o.toString();else{var l=[];le.forEach(o,function(c,m){c===null||typeof c>"u"||(le.isArray(c)?m=m+"[]":c=[c],le.forEach(c,function(d){le.isDate(d)?d=d.toISOString():le.isObject(d)&&(d=JSON.stringify(d)),l.push(Lo(m)+"="+Lo(d))}))}),i=l.join("&")}if(i){var s=n.indexOf("#");s!==-1&&(n=n.slice(0,s)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},lf=H;function Me(){this.handlers=[]}Me.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},Me.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},Me.prototype.forEach=function(n){lf.forEach(this.handlers,function(a){a!==null&&n(a)})};var af=Me,sf=H,rf=function(n,o){sf.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},Po=function(n,o,a,i,l){return n.config=o,a&&(n.code=a),n.request=i,n.response=l,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},mt,Fo;function Ao(){if(Fo)return mt;Fo=1;var t=Po;return mt=function(o,a,i,l,s){var r=new Error(o);return t(r,a,i,l,s)},mt}var ut,jo;function cf(){if(jo)return ut;jo=1;var t=Ao();return ut=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))},ut}var ht,zo;function df(){if(zo)return ht;zo=1;var t=H;return ht=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,s,r,c){var m=[];m.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&m.push("expires="+new Date(l).toGMTString()),t.isString(s)&&m.push("path="+s),t.isString(r)&&m.push("domain="+r),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(){}}}(),ht}var ft,Ho;function mf(){return Ho||(Ho=1,ft=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),ft}var pt,qo;function uf(){return qo||(qo=1,pt=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),pt}var gt,Ro;function hf(){if(Ro)return gt;Ro=1;var t=mf(),n=uf();return gt=function(a,i){return a&&!t(i)?n(a,i):i},gt}var yt,Uo;function ff(){if(Uo)return yt;Uo=1;var t=H,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return yt=function(a){var i={},l,s,r;return a&&t.forEach(a.split(`
|
5
|
+
`),function(m){if(r=m.indexOf(":"),l=t.trim(m.substr(0,r)).toLowerCase(),s=t.trim(m.substr(r+1)),l){if(i[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?i[l]=(i[l]?i[l]:[]).concat([s]):i[l]=i[l]?i[l]+", "+s:s}}),i},yt}var kt,Go;function pf(){if(Go)return kt;Go=1;var t=H;return kt=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),i;function l(s){var r=s;return o&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return i=l(window.location.href),function(r){var c=t.isString(r)?l(r):r;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}(),kt}var Ct,Wo;function De(){if(Wo)return Ct;Wo=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Ct=t,Ct}var bt,Qo;function Zo(){if(Qo)return bt;Qo=1;var t=H,n=cf(),o=df(),a=Oo,i=hf(),l=ff(),s=pf(),r=Ao(),c=Le(),m=De();return bt=function(d){return new Promise(function(h,p){var g=d.data,k=d.headers,b=d.responseType,x;function T(){d.cancelToken&&d.cancelToken.unsubscribe(x),d.signal&&d.signal.removeEventListener("abort",x)}t.isFormData(g)&&delete k["Content-Type"];var y=new XMLHttpRequest;if(d.auth){var V=d.auth.username||"",w=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";k.Authorization="Basic "+btoa(V+":"+w)}var N=i(d.baseURL,d.url);y.open(d.method.toUpperCase(),a(N,d.params,d.paramsSerializer),!0),y.timeout=d.timeout;function D(){if(y){var I="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,F=!b||b==="text"||b==="json"?y.responseText:y.response,P={data:F,status:y.status,statusText:y.statusText,headers:I,config:d,request:y};n(function(L){h(L),T()},function(L){p(L),T()},P),y=null}}if("onloadend"in y?y.onloadend=D:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(D)},y.onabort=function(){y&&(p(r("Request aborted",d,"ECONNABORTED",y)),y=null)},y.onerror=function(){p(r("Network Error",d,null,y)),y=null},y.ontimeout=function(){var F=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",P=d.transitional||c.transitional;d.timeoutErrorMessage&&(F=d.timeoutErrorMessage),p(r(F,d,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},t.isStandardBrowserEnv()){var O=(d.withCredentials||s(N))&&d.xsrfCookieName?o.read(d.xsrfCookieName):void 0;O&&(k[d.xsrfHeaderName]=O)}"setRequestHeader"in y&&t.forEach(k,function(F,P){typeof g>"u"&&P.toLowerCase()==="content-type"?delete k[P]:y.setRequestHeader(P,F)}),t.isUndefined(d.withCredentials)||(y.withCredentials=!!d.withCredentials),b&&b!=="json"&&(y.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&y.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(x=function(I){y&&(p(!I||I&&I.type?new m("canceled"):I),y.abort(),y=null)},d.cancelToken&&d.cancelToken.subscribe(x),d.signal&&(d.signal.aborted?x():d.signal.addEventListener("abort",x))),g||(g=null),y.send(g)})},bt}var _t,Jo;function Le(){if(Jo)return _t;Jo=1;var t=H,n=rf,o=Po,a={"Content-Type":"application/x-www-form-urlencoded"};function i(c,m){!t.isUndefined(c)&&t.isUndefined(c["Content-Type"])&&(c["Content-Type"]=m)}function l(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Zo()),c}function s(c,m,u){if(t.isString(c))try{return(m||JSON.parse)(c),t.trim(c)}catch(d){if(d.name!=="SyntaxError")throw d}return(u||JSON.stringify)(c)}var r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(m,u){return n(u,"Accept"),n(u,"Content-Type"),t.isFormData(m)||t.isArrayBuffer(m)||t.isBuffer(m)||t.isStream(m)||t.isFile(m)||t.isBlob(m)?m:t.isArrayBufferView(m)?m.buffer:t.isURLSearchParams(m)?(i(u,"application/x-www-form-urlencoded;charset=utf-8"),m.toString()):t.isObject(m)||u&&u["Content-Type"]==="application/json"?(i(u,"application/json"),s(m)):m}],transformResponse:[function(m){var u=this.transitional||r.transitional,d=u&&u.silentJSONParsing,f=u&&u.forcedJSONParsing,h=!d&&this.responseType==="json";if(h||f&&t.isString(m)&&m.length)try{return JSON.parse(m)}catch(p){if(h)throw p.name==="SyntaxError"?o(p,this,"E_JSON_PARSE"):p}return m}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(m){return m>=200&&m<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(m){r.headers[m]={}}),t.forEach(["post","put","patch"],function(m){r.headers[m]=t.merge(a)}),_t=r,_t}var gf=H,yf=Le(),kf=function(n,o,a){var i=this||yf;return gf.forEach(a,function(s){n=s.call(i,n,o)}),n},Bt,Yo;function Ko(){return Yo||(Yo=1,Bt=function(n){return!!(n&&n.__CANCEL__)}),Bt}var Xo=H,xt=kf,Cf=Ko(),bf=Le(),_f=De();function wt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _f("canceled")}var Bf=function(n){wt(n),n.headers=n.headers||{},n.data=xt.call(n,n.data,n.headers,n.transformRequest),n.headers=Xo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Xo.forEach(["delete","get","head","post","put","patch","common"],function(i){delete n.headers[i]});var o=n.adapter||bf.adapter;return o(n).then(function(i){return wt(n),i.data=xt.call(n,i.data,i.headers,n.transformResponse),i},function(i){return Cf(i)||(wt(n),i&&i.response&&(i.response.data=xt.call(n,i.response.data,i.response.headers,n.transformResponse))),Promise.reject(i)})},q=H,$o=function(n,o){o=o||{};var a={};function i(u,d){return q.isPlainObject(u)&&q.isPlainObject(d)?q.merge(u,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function l(u){if(q.isUndefined(o[u])){if(!q.isUndefined(n[u]))return i(void 0,n[u])}else return i(n[u],o[u])}function s(u){if(!q.isUndefined(o[u]))return i(void 0,o[u])}function r(u){if(q.isUndefined(o[u])){if(!q.isUndefined(n[u]))return i(void 0,n[u])}else return i(void 0,o[u])}function c(u){if(u in o)return i(n[u],o[u]);if(u in n)return i(void 0,n[u])}var m={url:s,method:s,data:s,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c};return q.forEach(Object.keys(n).concat(Object.keys(o)),function(d){var f=m[d]||l,h=f(d);q.isUndefined(h)&&f!==c||(a[d]=h)}),a},Nt,vo;function en(){return vo||(vo=1,Nt={version:"0.24.0"}),Nt}var xf=en().version,Tt={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){Tt[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var tn={};Tt.transitional=function(n,o,a){function i(l,s){return"[Axios v"+xf+"] Transitional option '"+l+"'"+s+(a?". "+a:"")}return function(l,s,r){if(n===!1)throw new Error(i(s," has been removed"+(o?" in "+o:"")));return o&&!tn[s]&&(tn[s]=!0,console.warn(i(s," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,s,r):!0}};function wf(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),i=a.length;i-- >0;){var l=a[i],s=n[l];if(s){var r=t[l],c=r===void 0||s(r,l,t);if(c!==!0)throw new TypeError("option "+l+" must be "+c);continue}if(o!==!0)throw Error("Unknown option "+l)}}var Nf={assertOptions:wf,validators:Tt},on=H,Tf=Oo,nn=af,ln=Bf,Oe=$o,an=Nf,ie=an.validators;function ue(t){this.defaults=t,this.interceptors={request:new nn,response:new nn}}ue.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=Oe(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&an.assertOptions(o,{silentJSONParsing:ie.transitional(ie.boolean),forcedJSONParsing:ie.transitional(ie.boolean),clarifyTimeoutError:ie.transitional(ie.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(i=i&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var s;if(!i){var r=[ln,void 0];for(Array.prototype.unshift.apply(r,a),r=r.concat(l),s=Promise.resolve(n);r.length;)s=s.then(r.shift(),r.shift());return s}for(var c=n;a.length;){var m=a.shift(),u=a.shift();try{c=m(c)}catch(d){u(d);break}}try{s=ln(c)}catch(d){return Promise.reject(d)}for(;l.length;)s=s.then(l.shift(),l.shift());return s},ue.prototype.getUri=function(n){return n=Oe(this.defaults,n),Tf(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},on.forEach(["delete","get","head","options"],function(n){ue.prototype[n]=function(o,a){return this.request(Oe(a||{},{method:n,url:o,data:(a||{}).data}))}}),on.forEach(["post","put","patch"],function(n){ue.prototype[n]=function(o,a,i){return this.request(Oe(i||{},{method:n,url:o,data:a}))}});var Sf=ue,St,sn;function If(){if(sn)return St;sn=1;var t=De();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(s){a=s});var i=this;this.promise.then(function(l){if(i._listeners){var s,r=i._listeners.length;for(s=0;s<r;s++)i._listeners[s](l);i._listeners=null}}),this.promise.then=function(l){var s,r=new Promise(function(c){i.subscribe(c),s=c}).then(l);return r.cancel=function(){i.unsubscribe(s)},r},o(function(s){i.reason||(i.reason=new t(s),a(i.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(this._listeners){var i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}},n.source=function(){var a,i=new n(function(s){a=s});return{token:i,cancel:a}},St=n,St}var It,rn;function Vf(){return rn||(rn=1,It=function(n){return function(a){return n.apply(null,a)}}),It}var Vt,cn;function Ef(){return cn||(cn=1,Vt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),Vt}var dn=H,Mf=Eo,Pe=Sf,Df=$o,Lf=Le();function mn(t){var n=new Pe(t),o=Mf(Pe.prototype.request,n);return dn.extend(o,Pe.prototype,n),dn.extend(o,n),o.create=function(i){return mn(Df(t,i))},o}var Q=mn(Lf);Q.Axios=Pe,Q.Cancel=De(),Q.CancelToken=If(),Q.isCancel=Ko(),Q.VERSION=en().version,Q.all=function(n){return Promise.all(n)},Q.spread=Vf(),Q.isAxiosError=Ef(),at.exports=Q,at.exports.default=Q;var Of=at.exports,Pf=Of;const Ff=qh(Pf),Py="",Af={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[U,Hh],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return oe(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(oe(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,oe(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,oe(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,i])=>n.append(a,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const i=a.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Ff.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},jf={key:0},zf={key:1,class:"flex-container vertical"},Hf={key:0,class:"flex-container vertical list-files-wrapper"},qf={key:0,class:"list-of-files total-files"},Rf={class:"flex-container no-flex"},Uf=["title"],Gf={key:0,class:"progressbar"},Wf=["value","title"],Qf=e.createElementVNode("hr",null,null,-1),Zf={class:"flex-container vertical list-files-wrapper"},Jf={class:"list-of-files"},Yf=["title","onClick"],Kf={key:0,class:"progressbar"},Xf=["value","title"],$f=["title"],vf=e.createElementVNode("hr",null,null,-1),ep={class:"upload-conditions"},tp={class:"small"},op=["title"],np={key:0,class:"list-of-file-extensions"},lp={class:"flex-container vertical no-gap"},ip=["disabled"],ap={key:0},sp={key:1},rp={class:"button-wrapper no-flex"},cp=["disabled"],dp={key:0},mp={key:1},up={key:0,class:"progressbar"},hp=["value","title"];function fp(t,n,o,a,i,l){const s=E,r=Vo,c=S,m=j;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(r,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",jf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},e.toDisplayString(u),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box flex-container vertical",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",zf,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Hf,[e.createVNode(s,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",qf,[e.createElementVNode("li",Rf,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...u)=>l.cancelUpload&&l.cancelUpload(...u),["prevent"]))},[e.createVNode(c,{iconClass:t.deleteIcon.iconClass,type:t.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Uf),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Gf,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Wf)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Qf])):e.createCommentVNode("",!0),e.createElementVNode("div",Zf,[e.createVNode(s,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Jf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",u.file.name),onClick:e.withModifiers(f=>l.removeFile(d),["prevent"])},[e.createVNode(c,{iconClass:o.iconDelete.iconClass,type:o.iconDelete.iconType},null,8,["iconClass","type"])],8,Yf),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",u.allowedType?"allowed":"not-allowed",{error:u.error}])},[e.createTextVNode(e.toDisplayString(u.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(u.file.size))+")",1)],2),i.uploadInitiated&&!u.error?(e.openBlock(),e.createElementBlock("span",Kf,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(u.progress)),1),e.createElementVNode("progress",{max:"100",value:u.progress,title:l.formatSize(u.uploadedBytes)+"/"+l.formatSize(u.file.size)},null,8,Xf)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.cancel&&l.cancel(...u),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,$f)):e.createCommentVNode("",!0),vf])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):e.createCommentVNode("",!0)],64)),e.createElementVNode("div",ep,[o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",tp,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(u=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(c,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,op),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",np,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(u,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(u),3))),128))])):e.createCommentVNode("",!0)]),_:1})])])]),e.createElementVNode("div",lp,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=u=>l.selectFiles())},[e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ap,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",sp,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,ip),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(m,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=u=>i.comment=u),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",rp,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...u)=>l.uploadFiles&&l.uploadFiles(...u))},[e.createVNode(c,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",dp,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",mp,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,cp),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...u)=>l.cancel&&l.cancel(...u))},[e.createVNode(c,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...u)=>l.selectFiles&&l.selectFiles(...u),["prevent"])),class:["cmd-upload-form box",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",up,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,hp)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(c,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(c,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(m,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const pp=_(Af,[["render",fp]]),Fy="",gp={name:"CmdWidthLimitationWrapper",props:{numberOfColumns:{type:Number,default:1,validator(t){return t>=0}},useGrid:{type:Boolean,default:!1},innerComponent:{type:String,default:"section",validator(t){return t}},useInnerSection:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},yp=["id"],kp=["id"];function Cp(t,n,o,a,i,l){const s=E;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.useInnerSection?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass),id:o.anchorId},[o.cmdHeadline?(e.openBlock(),e.createBlock(s,{key:0,"pre-headline-text":o.cmdHeadline.preHeadlineText,"headline-text":o.cmdHeadline.headlineText,"headline-level":o.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),o.numberOfColumns===1?e.renderSlot(t.$slots,"default",{key:1}):(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(o.useGrid?"grid-container-create-columns":"flex-container")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.numberOfColumns,r=>(e.openBlock(),e.createElementBlock("div",{key:`i${r}`,class:e.normalizeClass(o.useGrid?"grid-item":"flex-item")},[e.renderSlot(t.$slots,"default")],2))),128))],2))],10,yp)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,kp)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const bp=_(gp,[["render",Cp]]),_p={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.additional_address_info":"Additional address information","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.additional_text":"Additional text","basic_form.placeholder.additional_text":"Additional text","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},Ay="",Bp={mixins:[U,_p,Ie],inject:{editModeContext:{default:null}},data(){return{formData:{salutation:this.configuration.salutation.default,lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},additionalAddressInfo:{value:""},additionalText:{value:""},acceptPrivacy:{value:!1}},nativeButton:{icon:{show:!0,iconClass:"icon-message-send",tooltip:"Send message"},text:"Send"}}},props:{configuration:{type:Object,default(){return{salutation:{name:"salutation",default:"m",replaceInputType:!0},lastName:{name:"surname",required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},additionalText:{required:!1,type:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},receiverEmailAddress:{type:String,default:""},formAction:{type:String,required:!0},submitButton:{type:Object,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",primary:!0}}}},mounted(){var t,n;(n=(t=this.$refs.dataPrivacy)==null?void 0:t.querySelector(".fancybox"))==null||n.addEventListener("click",o=>{o.preventDefault(),openFancyBox({url:o.target.getAttribute("href")})})},methods:{onSubmit(t){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error){t.preventDefault();return}t.preventDefault()},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(t,n){t.fancybox&&(n.preventDefault(),openFancyBox({url:t}))},openDataPrivacy(t){openFancyBox({url:t})}}},xp={class:"cmd-pages-basic-form"},wp={class:"flex-container no-flex"},Np={class:"flex-container"},Tp={key:0,class:"flex-container"},Sp={class:"flex-container"},Ip={class:"input-wrapper"},Vp=["innerHTML"];function Ep(t,n,o,a,i,l){const s=j,r=bo;return e.openBlock(),e.createElementBlock("div",xp,[e.createVNode(r,{action:o.formAction,onSubmit:l.onSubmit,novalidate:"novalidate",textLegend:t.getMessage("basic_form.legend"),submitButton:o.submitButton},{default:e.withCtx(()=>{var c,m,u,d,f,h,p,g,k,b,x,T,y,V,w,N,D,O,I,F,P,R,L,X,B,Z,he,fe,pe,ge,ye,ke,G,hn;return[e.createElementVNode("div",wp,[e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_male"),name:((c=o.configuration.salutation)==null?void 0:c.name)||t.salutation,inputValue:"m",replaceInputType:(m=o.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation,"onUpdate:modelValue":n[0]||(n[0]=M=>i.formData.salutation=M),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_female"),name:((u=o.configuration.salutation)==null?void 0:u.name)||t.salutation,inputValue:"f",replaceInputType:(d=o.configuration.salutation)==null?void 0:d.replaceInputType,modelValue:i.formData.salutation,"onUpdate:modelValue":n[1]||(n[1]=M=>i.formData.salutation=M),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])]),e.renderSlot(t.$slots,"top"),e.createElementVNode("div",Np,[o.configuration.lastName?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((f=o.configuration.lastName)==null?void 0:f.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.last_name"),tooltipText:i.formData.lastName.error?i.formData.lastName.errorMessage:"Type your surname!",required:(h=o.configuration.lastName)==null?void 0:h.required,name:((p=o.configuration.lastName)==null?void 0:p.name)||"last-name",placeholder:t.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":n[2]||(n[2]=M=>i.formData.lastName.value=M),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","tooltipText","required","name","placeholder","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.firstName?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((g=o.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.first_name"),tooltipText:i.formData.firstName.error?i.formData.firstName.errorMessage:"Type your first name!",placeholder:t.getMessage("basic_form.placeholder.first_name"),required:(k=o.configuration.firstName)==null?void 0:k.required,name:((b=o.configuration.firstName)==null?void 0:b.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":n[3]||(n[3]=M=>i.formData.firstName.value=M),status:i.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","tooltipText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0)]),o.configuration.email||o.configuration.phone?(e.openBlock(),e.createElementBlock("div",Tp,[o.configuration.email?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((x=o.configuration.email)==null?void 0:x.type)||"email",iconClass:"icon-mail",labelText:t.getMessage("basic_form.labeltext.email"),placeholder:t.getMessage("basic_form.placeholder.email"),required:(T=o.configuration.email)==null?void 0:T.required,name:((y=o.configuration.email)==null?void 0:y.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":n[4]||(n[4]=M=>i.formData.email.value=M),status:i.formData.email.error?"error":"",tooltipText:i.formData.email.error?i.formData.email.errorMessage:"Type your email!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])):e.createCommentVNode("",!0),o.configuration.phone?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((V=o.configuration.phone)==null?void 0:V.type)||"tel",iconClass:"icon-phone",labelText:t.getMessage("basic_form.labeltext.phone"),placeholder:t.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":n[5]||(n[5]=M=>i.formData.phone.value=M),required:(w=o.configuration.phone)==null?void 0:w.required,name:((N=o.configuration.phone)==null?void 0:N.name)||"phone",status:i.formData.phone.error?"error":"",tooltipText:i.formData.phone.error?i.formData.phone.errorMessage:"Type your phone number!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","tooltipText","onValidate"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Sp,[e.createVNode(s,{element:"input",type:((D=o.configuration.streetNo)==null?void 0:D.type)||"text",labelText:t.getMessage("basic_form.labeltext.street_no"),placeholder:t.getMessage("basic_form.placeholder.street_no"),required:(O=o.configuration.streetNo)==null?void 0:O.required,name:((I=o.configuration.streetNo)==null?void 0:I.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":n[6]||(n[6]=M=>i.formData.streetNo.value=M),status:i.formData.streetNo.error?"error":"",tooltipText:i.formData.streetNo.error?i.formData.streetNo.errorMessage:"Type your street and number!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"]),e.createElementVNode("div",Ip,[e.createVNode(s,{element:"input",type:((F=o.configuration.zip)==null?void 0:F.type)||"number",labelText:t.getMessage("basic_form.labeltext.zip"),placeholder:t.getMessage("basic_form.placeholder.zip"),required:(P=o.configuration.zip)==null?void 0:P.required,name:((R=o.configuration.zip)==null?void 0:R.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":n[7]||(n[7]=M=>i.formData.zip.value=M),status:i.formData.zip.error?"error":"",tooltipText:i.formData.zip.error?i.formData.zip.errorMessage:"Type your zip/postal code!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"]),e.createVNode(s,{element:"input",type:((L=o.configuration.city)==null?void 0:L.type)||"text",labelText:t.getMessage("basic_form.labeltext.city"),placeholder:t.getMessage("basic_form.placeholder.city"),required:(X=o.configuration.city)==null?void 0:X.required,name:((B=o.configuration.city)==null?void 0:B.name)||"zip",modelValue:i.formData.city.value,"onUpdate:modelValue":n[8]||(n[8]=M=>i.formData.city.value=M),status:i.formData.city.error?"error":"",tooltipText:i.formData.city.error?i.formData.city.errorMessage:"Type your city!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])]),e.createVNode(s,{element:"input",type:((Z=o.configuration.additionalAddressInfo)==null?void 0:Z.type)||"text",labelText:t.getMessage("basic_form.labeltext.additional_address_info"),placeholder:t.getMessage("basic_form.placeholder.additional_address_info"),required:(he=o.configuration.additionalAddressInfo)==null?void 0:he.required,name:((fe=o.configuration.additionalAddressInfo)==null?void 0:fe.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":n[9]||(n[9]=M=>i.formData.additionalAddressInfo.value=M),status:i.formData.additionalAddressInfo.error?"error":"",tooltipText:i.formData.additionalAddressInfo.error?i.formData.additionalAddressInfo.errorMessage:"Type additional address information!",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","tooltipText","onValidate"])]),e.createVNode(s,{type:((pe=o.configuration.additionalText)==null?void 0:pe.type)||"textarea",labelText:t.getMessage("basic_form.labeltext.additional_text"),placeholder:t.getMessage("basic_form.placeholder.additional_text"),required:(ge=o.configuration.additionalText)==null?void 0:ge.required,name:((ye=o.configuration.additionalText)==null?void 0:ye.name)||"additional-text",modelValue:i.formData.additionalText.value,"onUpdate:modelValue":n[10]||(n[10]=M=>i.formData.additionalText.value=M),status:i.formData.additionalText.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"]),e.renderSlot(t.$slots,"bottom"),e.createVNode(s,{element:"input",type:"checkbox",required:(ke=o.configuration.acceptPrivacy)==null?void 0:ke.required,name:((G=o.configuration.acceptPrivacy)==null?void 0:G.name)||"accept-privacy",replaceInputType:(hn=o.configuration.acceptPrivacy)==null?void 0:hn.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":n[11]||(n[11]=M=>i.formData.acceptPrivacy.value=M),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:e.withCtx(()=>[e.createElementVNode("span",{ref:"dataPrivacy",innerHTML:t.getMessage("basic_form.labeltext.data_privacy")},null,8,Vp)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])]}),_:3},8,["action","onSubmit","textLegend","submitButton"])])}const un=_(Bp,[["render",Ep]]),Mp={name:"ContactInformation",props:{basicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},Dp={key:1,class:"flex-container"},Lp={class:"flex-container vertical"};function Op(t,n,o,a,i,l){const s=un,r=so,c=Bo;return l.contactFormOnly?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.basicForm)),null,16)):(e.openBlock(),e.createElementBlock("div",Dp,[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(o.basicForm)),null,16),e.createElementVNode("div",Lp,[o.cmdAddressData?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},o.cmdAddressData)),null,16)):e.createCommentVNode("",!0),o.cmdGoogleMaps?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdGoogleMaps)),null,16)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"additional-info")])]))}const Pp=_(Mp,[["render",Op]]),Fp={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},Ap={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function jp(t,n,o,a,i,l){const s=lt,r=go;return e.openBlock(),e.createElementBlock("div",Ap,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(c,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createVNode(r,{boxesPerRow:c.boxesPerRow,useRowViewAsDefault:c.useRowViewAsDefault,useGap:c.useGap,cmdHeadline:c.cmdHeadline},{default:e.withCtx(u=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.boxes,(d,f)=>(e.openBlock(),e.createBlock(s,e.mergeProps({"use-slots":["box-body"],key:f},d,{rowView:u.rowView}),{default:e.withCtx(()=>[e.createTextVNode(" box "+e.toDisplayString(d),1)]),_:2},1040,["rowView"]))),128))]),_:2},1032,["boxesPerRow","useRowViewAsDefault","useGap","cmdHeadline"]),e.renderSlot(t.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const zp=_(Fp,[["render",jp]]),Hp={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},qp={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function Rp(t,n,o,a,i,l){const s=ot;return e.openBlock(),e.createElementBlock("div",qp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createVNode(s,{links:r.links,orientation:r.orientation,largeIcons:r.largeIcons,cmdHeadline:r.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),e.renderSlot(t.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const Up=_(Hp,[["render",Rp]]),Gp={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},Wp={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,a=n.value.replace(/^\s*\+/,"00");t.href="tel:"+a.replace(o,"")}}};function Qp(){const t={};e.onBeforeUpdate(a);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function a(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.BasicForm=un,C.CmdAddressData=so,C.CmdBackToTopButton=wa,C.CmdBankAccountData=Ma,C.CmdBox=lt,C.CmdBoxWrapper=go,C.CmdBreadcrumbs=yo,C.CmdCompanyLogo=ko,C.CmdContainer=Fr,C.CmdCookieDisclaimer=vr,C.CmdCopyrightInformation=lc,C.CmdFakeSelect=Co,C.CmdFancyBox=bs,C.CmdForm=bo,C.CmdFormElement=j,C.CmdFormFilters=_o,C.CmdGoogleMaps=Bo,C.CmdHeadline=E,C.CmdIcon=S,C.CmdImage=v,C.CmdImageGallery=Yc,C.CmdImageZoom=ld,C.CmdInputGroup=No,C.CmdListOfLinks=ot,C.CmdLoginForm=Dd,C.CmdMainNavigation=To,C.CmdMultistepFormProgressBar=nm,C.CmdNewsletterSubscription=rm,C.CmdOpeningHours=Pm,C.CmdPageFooter=ru,C.CmdPageHeader=hu,C.CmdPagination=Zm,C.CmdProgressBar=bu,C.CmdSidebar=Su,C.CmdSiteFooter=Mu,C.CmdSiteHeader=Pu,C.CmdSiteSearch=Wu,C.CmdSlideButton=me,C.CmdSlideshow=vu,C.CmdSocialNetworks=Io,C.CmdSwitchLanguage=sh,C.CmdSystemMessage=Vo,C.CmdTable=Ch,C.CmdTabs=Ih,C.CmdTextImageBlock=Ph,C.CmdThumbnailScroller=co,C.CmdToggleDarkMode=zh,C.CmdTooltip=ao,C.CmdUploadForm=pp,C.CmdWidthLimitationWrapper=bp,C.ContactInformation=Pp,C.DirFocus=Gp,C.DirTelephone=Wp,C.EditComponentWrapper=K,C.MultipleBoxWrapper=zp,C.MultipleListsOfLinks=Up,C.createHtmlId=ve,C.createUuid=te,C.getFileExtension=oe,C.openFancyBox=Ve,C.useSequence=Qp,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});
|