comand-component-library 3.3.11 → 3.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +9347 -0
- package/dist/comand-component-library.umd.cjs +6 -0
- package/dist/content/fancybox-content.html +16 -0
- package/dist/favicon-component-library.svg +88 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +16 -0
- package/dist/media/images/content-images/landscape-large.jpg +0 -0
- package/dist/media/images/content-images/landscape-medium.jpg +0 -0
- package/dist/media/images/content-images/landscape-small.jpg +0 -0
- package/dist/media/images/content-images/logo-business-edition-landscape-large.jpg +0 -0
- package/dist/media/images/content-images/logo-business-edition-landscape.jpg +0 -0
- package/dist/media/images/flags/flag-cn.svg +2524 -0
- package/dist/media/images/flags/flag-de.svg +76 -0
- package/dist/media/images/flags/flag-en.svg +76 -0
- package/dist/media/images/flags/flag-es.svg +2530 -0
- package/dist/media/images/flags/flag-fr.svg +76 -0
- package/dist/media/images/flags/flag-it.svg +76 -0
- package/dist/media/images/flags/flag-ru.svg +76 -0
- package/dist/media/images/gallery-images/large/landscape-01.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-02.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-03.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-04.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-05.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-06.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-07.jpg +0 -0
- package/dist/media/images/gallery-images/large/landscape-08.jpg +0 -0
- package/dist/media/images/logos/logo-darkmode.svg +44 -0
- package/dist/media/images/logos/logo.svg +209 -0
- package/dist/media/images/slideshow-images/large/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide4.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide4.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide4.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape-large.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-portrait.jpg +0 -0
- package/dist/media/images/user-images/fake-user-1.jpg +0 -0
- package/dist/style.css +1 -0
- package/package.json +21 -24
- package/src/App.vue +9 -95
- package/src/components/CmdAddressData.vue +99 -27
- package/src/components/CmdBackToTopButton.vue +0 -5
- package/src/components/CmdBankAccountData.vue +0 -8
- package/src/components/CmdBox.vue +51 -16
- package/src/components/CmdBoxWrapper.vue +28 -22
- package/src/components/CmdBreadcrumbs.vue +0 -6
- package/src/components/CmdCompanyLogo.vue +0 -6
- package/src/components/CmdCookieDisclaimer.vue +0 -10
- package/src/components/CmdFakeSelect.vue +0 -8
- package/src/components/CmdFancyBox.vue +0 -14
- package/src/components/CmdFormElement.vue +0 -8
- package/src/components/CmdFormFilters.vue +0 -6
- package/src/components/CmdHeadline.vue +0 -6
- package/src/components/CmdImageGallery.vue +1 -7
- package/src/components/CmdImageZoom.vue +0 -6
- package/src/components/CmdInputGroup.vue +0 -8
- package/src/components/CmdListOfLinks.vue +0 -8
- package/src/components/CmdListOfRequirements.vue +0 -8
- package/src/components/CmdLoginForm.vue +0 -10
- package/src/components/CmdMainNavigation.vue +0 -6
- package/src/components/CmdMultistepFormProgressBar.vue +0 -6
- package/src/components/CmdNewsletterSubscription.vue +0 -8
- package/src/components/CmdOpeningHours.vue +0 -6
- package/src/components/CmdPager.vue +0 -7
- package/src/components/CmdShareButtons.vue +0 -8
- package/src/components/CmdSiteHeader.vue +0 -8
- package/src/components/CmdSiteSearch.vue +0 -14
- package/src/components/CmdSlideButton.vue +0 -8
- package/src/components/CmdSlideshow.vue +0 -8
- package/src/components/CmdSwitchLanguage.vue +31 -5
- package/src/components/CmdSystemMessage.vue +0 -8
- package/src/components/CmdTable.vue +0 -6
- package/src/components/CmdTabs.vue +0 -8
- package/src/components/CmdToggleDarkMode.vue +0 -5
- package/src/components/CmdTooltip.vue +0 -8
- package/src/components/CmdTooltipForInputElements.vue +0 -8
- package/src/components/CmdUploadForm.vue +0 -12
- package/src/components/CmdWidthLimitationWrapper.vue +1 -1
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +10 -0
- package/src/index.js +43 -43
- package/src/main.js +1 -1
- package/src/rest.vue +18 -0
- package/src/router/index.js +1 -1
- package/dist/comand-component-library.css +0 -1
- package/dist/comand-component-library.umd.min.js +0 -2
@@ -0,0 +1,6 @@
|
|
1
|
+
(function(B,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(B=typeof globalThis<"u"?globalThis:B||self,e(B["comand-component-library"]={},B.Vue))})(this,function(B,e){"use strict";(function(){const o="on",n="out",t="body",i="stop",a="click",l="apply",c="target",r="prototype",s="Propagation",d="setAttribute",m="relatedTarget",h="addEventListener",f=Symbol(n),u=Object,y=document,p=typeof TouchEvent<"u"?TouchEvent:void 0,k=HTMLElement,C=k[r],V=Event[r],O=[a,"dbl"+a,"mousedown","mouseup","touchstart","touchend","pointerdown","pointerup"],g=new Set(O),N=new Set(O.map(_=>o+_+n)),b=(_,x)=>!!x&&_ instanceof x,E=(_,x)=>_.contains(x),D=(_,x)=>{for(let M of _)x(M)},F=_=>{b(_,k)&&(_[f]?q(_):D(g,x=>{let M=o+x+n,A=_.getAttribute(M);A&&!T(_)[M]&&_[d](M,A)}),D(_.childNodes,F))},T=_=>_[f]=_[f]||{},q=_=>{T(_),z.includes(_)||(z.push(_),ee=!0)},P=(_,x)=>E(x,_)?1:E(_,x)?-1:0,J=_=>{ee&&(z.sort(P),ee=!1);let x=_[c];b(_,p)?(_=new p(_.type+n,_))[m]=x:_=new _.constructor(_.type+n,u.assign({},_,{[m]:x})),_[i]=[],D(z,M=>{E(M,x)||_[i].some(A=>E(A,M))||M.dispatchEvent(_)})},U=_=>function(){let x=this,M=x.type;_[l](x),N.has(o+M)&&x[i].push(x[c])},G=(_,x,M)=>_[x]=M(_[x]);function w(_){let x=this[f][o+_.type];x&&x[l](this,[_])}let z=[],ee=!1,ce=y.createElement(t);D(g,_=>{y[h](_,J,{passive:!0,capture:!0});let x=o+_+n;u.defineProperty(C,x,{get(){return this[f][x]},set(M){this[h](_+n,w),this[f][x]=typeof M=="object"?M.handleEvent:M}})}),G(C,h,_=>function(...x){N.has(o+x[0])&&q(this),_[l](this,x)}),G(C,d,_=>function(x,M){N.has(x)?(_[l](ce,[o+a,M]),this[x]=ce[o+a]):_[l](this,[x,M])}),G(V,i+s,U),G(V,i+"Immediate"+s,U),new MutationObserver(_=>{D(_,x=>{D(x.addedNodes,F),D(x.removedNodes,M=>{b(M,k)&&(z=z.filter(A=>!E(M,A)))})})}).observe(y.documentElement,{childList:!0,subtree:!0}),F(y[t])})();const te=/^[a-z0-9]+(-[a-z0-9]+)*$/,de=(o,n,t,i="")=>{const a=o.split(":");if(o.slice(0,1)==="@"){if(a.length<2||a.length>3)return null;i=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){const r=a.pop(),s=a.pop(),d={provider:a.length>0?a[0]:i,prefix:s,name:r};return n&&!me(d)?null:d}const l=a[0],c=l.split("-");if(c.length>1){const r={provider:i,prefix:c.shift(),name:c.join("-")};return n&&!me(r)?null:r}if(t&&i===""){const r={provider:i,prefix:"",name:l};return n&&!me(r,t)?null:r}return null},me=(o,n)=>o?!!((o.provider===""||o.provider.match(te))&&(n&&o.prefix===""||o.prefix.match(te))&&o.name.match(te)):!1,gt=Object.freeze({left:0,top:0,width:16,height:16}),he=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ue=Object.freeze({...gt,...he}),Ve=Object.freeze({...ue,body:"",hidden:!1});function Ko(o,n){const t={};!o.hFlip!=!n.hFlip&&(t.hFlip=!0),!o.vFlip!=!n.vFlip&&(t.vFlip=!0);const i=((o.rotate||0)+(n.rotate||0))%4;return i&&(t.rotate=i),t}function yt(o,n){const t=Ko(o,n);for(const i in Ve)i in he?i in o&&!(i in t)&&(t[i]=he[i]):i in n?t[i]=n[i]:i in o&&(t[i]=o[i]);return t}function Xo(o,n){const t=o.icons,i=o.aliases||{},a=Object.create(null);function l(c){if(t[c])return a[c]=[];if(!(c in a)){a[c]=null;const r=i[c]&&i[c].parent,s=r&&l(r);s&&(a[c]=[r].concat(s))}return a[c]}return(n||Object.keys(t).concat(Object.keys(i))).forEach(l),a}function Yo(o,n,t){const i=o.icons,a=o.aliases||{};let l={};function c(r){l=yt(i[r]||a[r],l)}return c(n),t.forEach(c),yt(o,l)}function kt(o,n){const t=[];if(typeof o!="object"||typeof o.icons!="object")return t;o.not_found instanceof Array&&o.not_found.forEach(a=>{n(a,null),t.push(a)});const i=Xo(o);for(const a in i){const l=i[a];l&&(n(a,Yo(o,a,l)),t.push(a))}return t}const Qo={provider:"",aliases:{},not_found:{},...gt};function xe(o,n){for(const t in n)if(t in o&&typeof o[t]!=typeof n[t])return!1;return!0}function Ct(o){if(typeof o!="object"||o===null)return null;const n=o;if(typeof n.prefix!="string"||!o.icons||typeof o.icons!="object"||!xe(o,Qo))return null;const t=n.icons;for(const a in t){const l=t[a];if(!a.match(te)||typeof l.body!="string"||!xe(l,Ve))return null}const i=n.aliases||{};for(const a in i){const l=i[a],c=l.parent;if(!a.match(te)||typeof c!="string"||!t[c]&&!i[c]||!xe(l,Ve))return null}return n}const _t=Object.create(null);function Zo(o,n){return{provider:o,prefix:n,icons:Object.create(null),missing:new Set}}function X(o,n){const t=_t[o]||(_t[o]=Object.create(null));return t[n]||(t[n]=Zo(o,n))}function Ee(o,n){return Ct(n)?kt(n,(t,i)=>{i?o.icons[t]=i:o.missing.add(t)}):[]}function $o(o,n,t){try{if(typeof t.body=="string")return o.icons[n]={...t},!0}catch{}return!1}let oe=!1;function Bt(o){return typeof o=="boolean"&&(oe=o),oe}function vo(o){const n=typeof o=="string"?de(o,!0,oe):o;if(n){const t=X(n.provider,n.prefix),i=n.name;return t.icons[i]||(t.missing.has(i)?null:void 0)}}function en(o,n){const t=de(o,!0,oe);if(!t)return!1;const i=X(t.provider,t.prefix);return $o(i,t.name,n)}function bt(o,n){if(typeof o!="object")return!1;if(typeof n!="string"&&(n=o.provider||""),oe&&!n&&!o.prefix){let a=!1;return Ct(o)&&(o.prefix="",kt(o,(l,c)=>{c&&en(l,c)&&(a=!0)})),a}const t=o.prefix;if(!me({provider:n,prefix:t,name:"a"}))return!1;const i=X(n,t);return!!Ee(i,o)}const wt=Object.freeze({width:null,height:null}),St=Object.freeze({...wt,...he}),tn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,on=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Vt(o,n,t){if(n===1)return o;if(t=t||100,typeof o=="number")return Math.ceil(o*n*t)/t;if(typeof o!="string")return o;const i=o.split(tn);if(i===null||!i.length)return o;const a=[];let l=i.shift(),c=on.test(l);for(;;){if(c){const r=parseFloat(l);isNaN(r)?a.push(l):a.push(Math.ceil(r*n*t)/t)}else a.push(l);if(l=i.shift(),l===void 0)return a.join("");c=!c}}function nn(o,n){const t={...ue,...o},i={...St,...n},a={left:t.left,top:t.top,width:t.width,height:t.height};let l=t.body;[t,i].forEach(u=>{const y=[],p=u.hFlip,k=u.vFlip;let C=u.rotate;p?k?C+=2:(y.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),y.push("scale(-1 1)"),a.top=a.left=0):k&&(y.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),y.push("scale(1 -1)"),a.top=a.left=0);let V;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:V=a.height/2+a.top,y.unshift("rotate(90 "+V.toString()+" "+V.toString()+")");break;case 2:y.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:V=a.width/2+a.left,y.unshift("rotate(-90 "+V.toString()+" "+V.toString()+")");break}C%2===1&&(a.left!==a.top&&(V=a.left,a.left=a.top,a.top=V),a.width!==a.height&&(V=a.width,a.width=a.height,a.height=V)),y.length&&(l='<g transform="'+y.join(" ")+'">'+l+"</g>")});const c=i.width,r=i.height,s=a.width,d=a.height;let m,h;return c===null?(h=r===null?"1em":r==="auto"?d:r,m=Vt(h,s/d)):(m=c==="auto"?s:c,h=r===null?Vt(m,d/s):r==="auto"?d:r),{attributes:{width:m.toString(),height:h.toString(),viewBox:a.left.toString()+" "+a.top.toString()+" "+s.toString()+" "+d.toString()},body:l}}const ln=/\sid="(\S+)"/g,an="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let sn=0;function rn(o,n=an){const t=[];let i;for(;i=ln.exec(o);)t.push(i[1]);return t.length&&t.forEach(a=>{const l=typeof n=="function"?n(a):n+(sn++).toString(),c=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),o}const Ne=Object.create(null);function cn(o,n){Ne[o]=n}function Te(o){return Ne[o]||Ne[""]}function De(o){let n;if(typeof o.resources=="string")n=[o.resources];else if(n=o.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const Ie=Object.create(null),ne=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;ne.length>0;)ne.length===1||Math.random()>.5?fe.push(ne.shift()):fe.push(ne.pop());Ie[""]=De({resources:["https://api.iconify.design"].concat(fe)});function dn(o,n){const t=De(n);return t===null?!1:(Ie[o]=t,!0)}function Oe(o){return Ie[o]}let xt=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function mn(o,n){const t=Oe(o);if(!t)return 0;let i;if(!t.maxURL)i=0;else{let a=0;t.resources.forEach(c=>{a=Math.max(a,c.length)});const l=n+".json?icons=";i=t.maxURL-a-t.path.length-l.length}return i}function hn(o){return o===404}const un=(o,n,t)=>{const i=[],a=mn(o,n),l="icons";let c={type:l,provider:o,prefix:n,icons:[]},r=0;return t.forEach((s,d)=>{r+=s.length+1,r>=a&&d>0&&(i.push(c),c={type:l,provider:o,prefix:n,icons:[]},r=s.length),c.icons.push(s)}),i.push(c),i};function fn(o){if(typeof o=="string"){const n=Oe(o);if(n)return n.path}return"/"}const pn={prepare:un,send:(o,n,t)=>{if(!xt){t("abort",424);return}let i=fn(n.provider);switch(n.type){case"icons":{const l=n.prefix,r=n.icons.join(","),s=new URLSearchParams({icons:r});i+=l+".json?"+s.toString();break}case"custom":{const l=n.uri;i+=l.slice(0,1)==="/"?l.slice(1):l;break}default:t("abort",400);return}let a=503;xt(o+i).then(l=>{const c=l.status;if(c!==200){setTimeout(()=>{t(hn(c)?"abort":"next",c)});return}return a=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{t("next",a)});return}setTimeout(()=>{t("success",l)})}).catch(()=>{t("next",a)})}};function gn(o){const n={loaded:[],missing:[],pending:[]},t=Object.create(null);o.sort((a,l)=>a.provider!==l.provider?a.provider.localeCompare(l.provider):a.prefix!==l.prefix?a.prefix.localeCompare(l.prefix):a.name.localeCompare(l.name));let i={provider:"",prefix:"",name:""};return o.forEach(a=>{if(i.name===a.name&&i.prefix===a.prefix&&i.provider===a.provider)return;i=a;const l=a.provider,c=a.prefix,r=a.name,s=t[l]||(t[l]=Object.create(null)),d=s[c]||(s[c]=X(l,c));let m;r in d.icons?m=n.loaded:c===""||d.missing.has(r)?m=n.missing:m=n.pending;const h={provider:l,prefix:c,name:r};m.push(h)}),n}function Et(o,n){o.forEach(t=>{const i=t.loaderCallbacks;i&&(t.loaderCallbacks=i.filter(a=>a.id!==n))})}function yn(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const n=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!n.length)return;let t=!1;const i=o.provider,a=o.prefix;n.forEach(l=>{const c=l.icons,r=c.pending.length;c.pending=c.pending.filter(s=>{if(s.prefix!==a)return!0;const d=s.name;if(o.icons[d])c.loaded.push({provider:i,prefix:a,name:d});else if(o.missing.has(d))c.missing.push({provider:i,prefix:a,name:d});else return t=!0,!0;return!1}),c.pending.length!==r&&(t||Et([o],l.id),l.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),l.abort))})}))}let kn=0;function Cn(o,n,t){const i=kn++,a=Et.bind(null,t,i);if(!n.pending.length)return a;const l={id:i,icons:n,callback:o,abort:a};return t.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(l)}),a}function _n(o,n=!0,t=!1){const i=[];return o.forEach(a=>{const l=typeof a=="string"?de(a,n,t):a;l&&i.push(l)}),i}var Bn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bn(o,n,t,i){const a=o.resources.length,l=o.random?Math.floor(Math.random()*a):o.index;let c;if(o.random){let b=o.resources.slice(0);for(c=[];b.length>1;){const E=Math.floor(Math.random()*b.length);c.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}c=c.concat(b)}else c=o.resources.slice(l).concat(o.resources.slice(0,l));const r=Date.now();let s="pending",d=0,m,h=null,f=[],u=[];typeof i=="function"&&u.push(i);function y(){h&&(clearTimeout(h),h=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),f=[]}function k(b,E){E&&(u=[]),typeof b=="function"&&u.push(b)}function C(){return{startTime:r,payload:n,status:s,queriesSent:d,queriesPending:f.length,subscribe:k,abort:p}}function V(){s="failed",u.forEach(b=>{b(void 0,m)})}function O(){f.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),f=[]}function g(b,E,D){const F=E!=="success";switch(f=f.filter(T=>T!==b),s){case"pending":break;case"failed":if(F||!o.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=D,V();return}if(F){m=D,f.length||(c.length?N():V());return}if(y(),O(),!o.random){const T=o.resources.indexOf(b.resource);T!==-1&&T!==o.index&&(o.index=T)}s="completed",u.forEach(T=>{T(D)})}function N(){if(s!=="pending")return;y();const b=c.shift();if(b===void 0){if(f.length){h=setTimeout(()=>{y(),s==="pending"&&(O(),V())},o.timeout);return}V();return}const E={status:"pending",resource:b,callback:(D,F)=>{g(E,D,F)}};f.push(E),d++,h=setTimeout(N,o.rotate),t(b,n,E.callback)}return setTimeout(N),C}function Nt(o){const n={...Bn,...o};let t=[];function i(){t=t.filter(r=>r().status==="pending")}function a(r,s,d){const m=bn(n,r,s,(h,f)=>{i(),d&&d(h,f)});return t.push(m),m}function l(r){return t.find(s=>r(s))||null}return{query:a,find:l,setIndex:r=>{n.index=r},getIndex:()=>n.index,cleanup:i}}function Tt(){}const Me=Object.create(null);function wn(o){if(!Me[o]){const n=Oe(o);if(!n)return;const t=Nt(n),i={config:n,redundancy:t};Me[o]=i}return Me[o]}function Sn(o,n,t){let i,a;if(typeof o=="string"){const l=Te(o);if(!l)return t(void 0,424),Tt;a=l.send;const c=wn(o);c&&(i=c.redundancy)}else{const l=De(o);if(l){i=Nt(l);const c=o.resources?o.resources[0]:"",r=Te(c);r&&(a=r.send)}}return!i||!a?(t(void 0,424),Tt):i.query(n,a,t)().abort}const Dt="iconify2",le="iconify",It=le+"-count",Ot=le+"-version",Mt=36e5,Vn=168;function Fe(o,n){try{return o.getItem(n)}catch{}}function Le(o,n,t){try{return o.setItem(n,t),!0}catch{}}function Ft(o,n){try{o.removeItem(n)}catch{}}function qe(o,n){return Le(o,It,n.toString())}function Pe(o){return parseInt(Fe(o,It))||0}const pe={local:!0,session:!0},Lt={local:new Set,session:new Set};let Ae=!1;function xn(o){Ae=o}let ge=typeof window>"u"?{}:window;function qt(o){const n=o+"Storage";try{if(ge&&ge[n]&&typeof ge[n].length=="number")return ge[n]}catch{}pe[o]=!1}function Pt(o,n){const t=qt(o);if(!t)return;const i=Fe(t,Ot);if(i!==Dt){if(i){const r=Pe(t);for(let s=0;s<r;s++)Ft(t,le+s.toString())}Le(t,Ot,Dt),qe(t,0);return}const a=Math.floor(Date.now()/Mt)-Vn,l=r=>{const s=le+r.toString(),d=Fe(t,s);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>a&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,r))return!0}catch{}Ft(t,s)}};let c=Pe(t);for(let r=c-1;r>=0;r--)l(r)||(r===c-1?(c--,qe(t,c)):Lt[o].add(r))}function At(){if(!Ae){xn(!0);for(const o in pe)Pt(o,n=>{const t=n.data,i=n.provider,a=t.prefix,l=X(i,a);if(!Ee(l,t).length)return!1;const c=t.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,c):c,!0})}}function En(o,n){const t=o.lastModifiedCached;if(t&&t>=n)return t===n;if(o.lastModifiedCached=n,t)for(const i in pe)Pt(i,a=>{const l=a.data;return a.provider!==o.provider||l.prefix!==o.prefix||l.lastModified===n});return!0}function Nn(o,n){Ae||At();function t(i){let a;if(!pe[i]||!(a=qt(i)))return;const l=Lt[i];let c;if(l.size)l.delete(c=Array.from(l).shift());else if(c=Pe(a),!qe(a,c+1))return;const r={cached:Math.floor(Date.now()/Mt),provider:o.provider,data:n};return Le(a,le+c.toString(),JSON.stringify(r))}n.lastModified&&!En(o,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),t("local")||t("session"))}function Ht(){}function Tn(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,yn(o)}))}function Dn(o,n){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(n).sort():o.iconsToLoad=n,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:t,prefix:i}=o,a=o.iconsToLoad;delete o.iconsToLoad;let l;if(!a||!(l=Te(t)))return;l.prepare(t,i,a).forEach(r=>{Sn(t,r,(s,d)=>{if(typeof s!="object"){if(d!==404)return;r.icons.forEach(m=>{o.missing.add(m)})}else try{const m=Ee(o,s);if(!m.length)return;const h=o.pendingIcons;h&&m.forEach(f=>{h.delete(f)}),Nn(o,s)}catch(m){console.error(m)}Tn(o)})})}))}const In=(o,n)=>{const t=_n(o,!0,Bt()),i=gn(t);if(!i.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(i.loaded,i.missing,i.pending,Ht)}),()=>{s=!1}}const a=Object.create(null),l=[];let c,r;return i.pending.forEach(s=>{const{provider:d,prefix:m}=s;if(m===r&&d===c)return;c=d,r=m,l.push(X(d,m));const h=a[d]||(a[d]=Object.create(null));h[m]||(h[m]=[])}),i.pending.forEach(s=>{const{provider:d,prefix:m,name:h}=s,f=X(d,m),u=f.pendingIcons||(f.pendingIcons=new Set);u.has(h)||(u.add(h),a[d][m].push(h))}),l.forEach(s=>{const{provider:d,prefix:m}=s;a[d][m].length&&Dn(s,a[d][m])}),n?Cn(n,i,l):Ht};function On(o,n){const t={...o};for(const i in n){const a=n[i],l=typeof a;i in wt?(a===null||a&&(l==="string"||l==="number"))&&(t[i]=a):l===typeof t[i]&&(t[i]=i==="rotate"?a%4:a)}return t}const Mn=/[\s,]+/;function Fn(o,n){n.split(Mn).forEach(t=>{switch(t.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Ln(o,n=0){const t=o.replace(/^-?[0-9.]*/,"");function i(a){for(;a<0;)a+=4;return a%4}if(t===""){const a=parseInt(o);return isNaN(a)?0:i(a)}else if(t!==o){let a=0;switch(t){case"%":a=25;break;case"deg":a=90}if(a){let l=parseFloat(o.slice(0,o.length-t.length));return isNaN(l)?0:(l=l/a,l%1===0?i(l):0)}}return n}function qn(o,n){let t=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)t+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+o+"</svg>"}function Pn(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function An(o){return'url("data:image/svg+xml,'+Pn(o)+'")'}const Rt={...St,inline:!1},Hn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rn={display:"inline-block"},He={backgroundColor:"currentColor"},zt={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ut={webkitMask:He,mask:He,background:zt};for(const o in Ut){const n=Ut[o];for(const t in jt)n[o+t]=jt[t]}const ye={};["horizontal","vertical"].forEach(o=>{const n=o.slice(0,1)+"Flip";ye[o+"-flip"]=n,ye[o.slice(0,1)+"-flip"]=n,ye[o+"Flip"]=n});function Wt(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const Gt=(o,n)=>{const t=On(Rt,n),i={...Hn},a=n.mode||"svg",l={},c=n.style,r=typeof c=="object"&&!(c instanceof Array)?c:{};for(let p in n){const k=n[p];if(k!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":t[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Fn(t,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?t[p]=Ln(k):typeof k=="number"&&(t[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete i["aria-hidden"];break;default:{const C=ye[p];C?(k===!0||k==="true"||k===1)&&(t[C]=!0):Rt[p]===void 0&&(i[p]=k)}}}const s=nn(o,t),d=s.attributes;if(t.inline&&(l.verticalAlign="-0.125em"),a==="svg"){i.style={...l,...r},Object.assign(i,d);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),i.innerHTML=rn(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",i)}const{body:m,width:h,height:f}=o,u=a==="mask"||(a==="bg"?!1:m.indexOf("currentColor")!==-1),y=qn(m,{...d,width:h+"",height:f+""});return i.style={...l,"--svg":An(y),width:Wt(d.width),height:Wt(d.height),...Rn,...u?He:zt,...r},e.h("span",i)};if(Bt(!0),cn("",pn),typeof document<"u"&&typeof window<"u"){At();const o=window;if(o.IconifyPreload!==void 0){const n=o.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!bt(i))&&console.error(t)}catch{console.error(t)}})}if(o.IconifyProviders!==void 0){const n=o.IconifyProviders;if(typeof n=="object"&&n!==null)for(let t in n){const i="IconifyProviders["+t+"] is invalid.";try{const a=n[t];if(typeof a!="object"||!a||a.resources===void 0)continue;dn(t,a)||console.error(i)}catch{console.error(i)}}}}const zn={...ue,body:""},jn=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(o,n){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let t;if(typeof o!="string"||(t=de(o,!1,!0))===null)return this.abortLoading(),null;const i=vo(t);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:o,abort:In([t],()=>{this.counter++})})),null;this.abortLoading(),this._name!==o&&(this._name=o,n&&n(o));const a=["iconify"];return t.prefix!==""&&a.push("iconify--"+t.prefix),t.provider!==""&&a.push("iconify--"+t.provider),{data:i,classes:a}}},render(){this.counter;const o=this.$attrs,n=this.iconMounted?this.getIcon(o.icon,o.onLoad):null;if(!n)return Gt(zn,o);let t=o;return n.classes&&(t={...o,class:(typeof o.class=="string"?o.class+" ":"")+n.classes.join(" ")}),Gt({...ue,...n.data},t)}}),$u="",S=(o,n)=>{const t=o.__vccOpts||o;for(const[i,a]of n)t[i]=a;return t},Un={name:"CmdIcon",components:{Icon:jn},props:{type:{type:String,default:"auto"},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Wn=["title"];function Gn(o,n,t,i,a,l){const c=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(c,{key:0,icon:t.iconClass,title:t.tooltip,class:e.normalizeClass(o.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([t.iconClass,o.$attrs.class]),title:t.tooltip},null,10,Wn))}const I=S(Un,[["render",Gn]]),vu="",Jn={name:"CmdHeadline",props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],required:!0},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:"left"}},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:"h3"},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}}},Kn={key:1},Xn={class:"pre-headline-text"};function Yn(o,n,t,i,a,l){var r,s,d;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":t.preHeadlineText,"has-icon":(r=t.headlineIcon)==null?void 0:r.iconClass},l.getTextAlign])},[t.headlineIcon?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(s=t.headlineIcon)==null?void 0:s.iconClass,type:(d=t.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Kn,[e.createElementVNode("span",Xn,e.toDisplayString(t.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))],2)}const L=S(Jn,[["render",Yn]]),j={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(o,...n){if(!o)return"";let t=this.i18n;if(typeof this.i18n=="function"&&(t=this.i18n.call(this,o,n),typeof t!="object"))return t;let i=t[o]||this.getDefaultMessageProperty(o)||o;return typeof i=="function"?i.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((a,l)=>i=i.replace("{"+l+"}",a)),i)},getDefaultMessageProperty(o){var t;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[o])return this.defaultMessageProperties[o];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((t=this[n])==null?void 0:t[o])?this[n][o]:null}}},Qn={data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}},ef="",Zn={name:"CmdAddressData",mixins:[j,Qn],props:{showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},addressData:{type:Object,required:!0},linkGoogleMaps:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},computed:{locateAddress(){return"https://www.google.com/maps/place/"+this.addressData.address.streetNo+", "+this.addressData.address.zip+" "+this.addressData.address.city},websiteUrlText(){var o;return(o=this.addressData.website)==null?void 0:o.value.replace("https://","")}}},$n={class:"cmd-address-data vcard"},vn={class:"adr"},el={key:0},tl={key:0},ol={key:1},nl={key:1,class:"org"},ll={class:"address"},al={key:1},il={key:0},sl=["href","title"],rl={class:"street-address"},cl=e.createElementVNode("br",null,null,-1),dl={key:1,class:"postal-code"},ml={class:"locality"},hl=e.createElementVNode("br",null,null,-1),ul=e.createElementVNode("br",null,null,-1),fl={key:4,class:"country-name"},pl={class:"street-address"},gl=e.createElementVNode("br",null,null,-1),yl={key:1,class:"postal-code"},kl={class:"locality"},Cl=e.createElementVNode("br",null,null,-1),_l=e.createElementVNode("br",null,null,-1),Bl={key:4,class:"country-name"},bl={key:3},wl={key:1},Sl={key:4},Vl=["href"],xl={key:5},El={key:1},Nl={key:6},Tl=["href"],Dl={key:7},Il={key:1},Ol={key:8,class:"fax"},Ml={key:9},Fl={key:1},Ll={key:10,class:"email"},ql=["href"],Pl={key:11},Al={key:1},Hl={key:12},Rl=["href","title"],zl={key:13},jl={key:1},Ul={key:14},Wl={key:1,class:"flex-container"},Gl={key:0},Jl={class:"org"},Kl=["href","title"],Xl={class:"street-address"},Yl=e.createElementVNode("br",null,null,-1),Ql={class:"postal-code"},Zl={class:"locality"},$l=e.createElementVNode("br",null,null,-1),vl=e.createElementVNode("br",null,null,-1),ea={key:3,class:"country-name"},ta={class:"street-address"},oa=e.createElementVNode("br",null,null,-1),na={class:"postal-code"},la={class:"locality"},aa=e.createElementVNode("br",null,null,-1),ia=e.createElementVNode("br",null,null,-1),sa={key:3,class:"country-name"},ra={key:1},ca=["href","title"],da={key:2},ma={class:"fax"},ha=["title"],ua=["href"],fa=["title"],pa=["href"],ga={key:5};function ya(o,n,t,i,a,l){var d,m,h,f,u,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P;const c=L,r=I,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",$n,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",vn,[t.showLabels?(e.openBlock(),e.createElementBlock("dl",el,[(d=t.addressData.company)!=null&&d.value?(e.openBlock(),e.createElementBlock("dt",tl,[t.addressData.company.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.company.iconClass,type:t.addressData.company.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.company")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",ol,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.company")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(m=t.addressData.company)!=null&&m.value?(e.openBlock(),e.createElementBlock("dd",nl,e.toDisplayString(t.addressData.company.value),1)):e.createCommentVNode("",!0),t.addressData.address&&t.addressData.address!==void 0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("dt",ll,[t.addressData.address.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.address.iconClass,type:t.addressData.address.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.address")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",al,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.address")),1)):e.createCommentVNode("",!0)]),t.addressData.address?(e.openBlock(),e.createElementBlock("dd",il,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",rl,e.toDisplayString(t.addressData.address.streetNo),1),cl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",dl,e.toDisplayString(t.addressData.address.zip),1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",ml,e.toDisplayString(t.addressData.address.city),1),hl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),ul],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",fl,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,sl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",pl,e.toDisplayString(t.addressData.address.streetNo),1),gl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",yl,e.toDisplayString(t.addressData.address.zip),1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",kl,e.toDisplayString(t.addressData.address.city),1),Cl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),_l],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",Bl,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),(h=t.addressData.telephone)!=null&&h.value?(e.openBlock(),e.createElementBlock("dt",bl,[t.addressData.telephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.telephone.iconClass,type:t.addressData.telephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.telephone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",wl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.telephone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(f=t.addressData.telephone)!=null&&f.value?(e.openBlock(),e.createElementBlock("dd",Sl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.telephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.telephone.value),1)],8,Vl)),[[s,t.addressData.telephone.value]])])):e.createCommentVNode("",!0),(u=t.addressData.mobilephone)!=null&&u.value?(e.openBlock(),e.createElementBlock("dt",xl,[t.addressData.mobilephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.mobilephone.iconClass,type:t.addressData.mobilephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.mobile_phone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",El,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.mobile_phone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(y=t.addressData.mobilephone)!=null&&y.value?(e.openBlock(),e.createElementBlock("dd",Nl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.mobilephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.mobilephone.value),1)],8,Tl)),[[s,t.addressData.mobilephone.value]])])):e.createCommentVNode("",!0),(p=t.addressData.fax)!=null&&p.value?(e.openBlock(),e.createElementBlock("dt",Dl,[t.addressData.fax.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.fax.iconClass,type:t.addressData.fax.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.fax")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Il,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.fax")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(k=t.addressData.fax)!=null&&k.value?(e.openBlock(),e.createElementBlock("dd",Ol,e.toDisplayString(t.addressData.fax.value),1)):e.createCommentVNode("",!0),(C=t.addressData.email)!=null&&C.value?(e.openBlock(),e.createElementBlock("dt",Ml,[t.addressData.email.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.email.iconClass,type:t.addressData.email.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.email")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Fl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.email")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(V=t.addressData.email)!=null&&V.value?(e.openBlock(),e.createElementBlock("dd",Ll,[e.createElementVNode("a",{href:"mailto:"+((O=t.addressData.email)==null?void 0:O.value),class:"email"},e.toDisplayString(t.addressData.email.value),9,ql)])):e.createCommentVNode("",!0),(g=t.addressData.website)!=null&&g.value?(e.openBlock(),e.createElementBlock("dt",Pl,[t.addressData.website.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.website.iconClass,type:t.addressData.website.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Al,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.website")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(N=t.addressData.website)!=null&&N.value?(e.openBlock(),e.createElementBlock("dd",Hl,[e.createElementVNode("a",{href:t.addressData.website.value,target:"_blank",title:o.getMessage("cmdaddressdata.title.visit_website")},e.toDisplayString(l.websiteUrlText),9,Rl)])):e.createCommentVNode("",!0),(b=t.addressData.custom)!=null&&b.value?(e.openBlock(),e.createElementBlock("dt",zl,[t.addressData.custom.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.addressData.custom.iconClass,type:t.addressData.custom.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",jl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.custom")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(E=t.addressData.custom)!=null&&E.value?(e.openBlock(),e.createElementBlock("dd",Ul,e.toDisplayString(t.addressData.custom.value),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("ul",Wl,[t.addressData.company?(e.openBlock(),e.createElementBlock("li",Gl,[e.createElementVNode("span",Jl,e.toDisplayString(t.addressData.company.value),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",null,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Xl,e.toDisplayString(t.addressData.address.streetNo),1),Yl],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ql,e.toDisplayString(t.addressData.address.zip),1),e.createElementVNode("span",Zl,e.toDisplayString(t.addressData.address.city),1),$l],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),vl],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ea,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,Kl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ta,e.toDisplayString(t.addressData.address.streetNo),1),oa],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",na,e.toDisplayString(t.addressData.address.zip),1),e.createElementVNode("span",la,e.toDisplayString(t.addressData.address.city),1),aa],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),ia],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",sa,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))]),(D=t.addressData.telephone)!=null&&D.value?(e.openBlock(),e.createElementBlock("li",ra,[e.createElementVNode("a",{href:"tel:"+t.addressData.telephone.value,title:o.getMessage("cmdaddressdata.title.call_number"),class:"tel"},e.toDisplayString(t.addressData.telephone.value),9,ca)])):e.createCommentVNode("",!0),(F=t.addressData.fax)!=null&&F.value?(e.openBlock(),e.createElementBlock("li",da,[e.createElementVNode("span",ma,e.toDisplayString(t.addressData.fax.value),1)])):e.createCommentVNode("",!0),(T=t.addressData.email)!=null&&T.value?(e.openBlock(),e.createElementBlock("li",{key:3,title:o.getMessage("cmdaddressdata.title.send_email")},[e.createElementVNode("a",{href:"mailto:"+t.addressData.email.value,class:"email"},e.toDisplayString(t.addressData.email.value),9,ua)],8,ha)):e.createCommentVNode("",!0),(q=t.addressData.website)!=null&&q.value?(e.openBlock(),e.createElementBlock("li",{key:4,title:o.getMessage("cmdaddressdata.title.visit_website")},[e.createElementVNode("a",{href:t.addressData.website.value,target:"_blank"},e.toDisplayString(l.websiteUrlText),9,pa)],8,fa)):e.createCommentVNode("",!0),(P=t.addressData.custom)!=null&&P.value?(e.openBlock(),e.createElementBlock("li",ga,e.toDisplayString(t.addressData.custom.value),1)):e.createCommentVNode("",!0)]))])])}const ka=S(Zn,[["render",ya]]),tf="",Ca={name:"CmdBackToTopButton",data(){return{windowInnerHeight:window.innerHeight,windowScrollY:window.scrollY,bodyScrollHeight:document.body.scrollHeight}},props:{iconBackToTop:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Back to top",iconType:"auto"}}}},created(){window.addEventListener("resize",this.onViewportChange),window.addEventListener("scroll",this.onViewportChange)},unmounted(){window.removeEventListener("resize",this.onViewportChange),window.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.bodyScrollHeight}},methods:{onViewportChange(){this.windowInnerHeight=window.innerHeight,this.windowScrollY=window.scrollY,this.bodyScrollHeight=document.body.scrollHeight},onBackToTop(){window.scrollTo({top:0,left:0,behavior:"smooth"})}}},_a=["title"];function Ba(o,n,t,i,a,l){const c=I;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button",href:"#",title:t.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...r)=>l.onBackToTop&&l.onBackToTop(...r),["prevent"]))},[e.createVNode(c,{iconClass:t.iconBackToTop.iconClass,type:t.iconBackToTop.iconType},null,8,["iconClass","type"])],8,_a)):e.createCommentVNode("",!0)]),_:1})}const ba=S(Ca,[["render",Ba]]),of="",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(o){const n=o.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Sa={class:"cmd-bank-account-data"},Va={key:0},xa=["onClick","title"],Ea={key:1};function Na(o,n,t,i,a,l){const c=L,r=I;return e.openBlock(),e.createElementBlock("div",Sa,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.accountData,(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.createElementVNode("dt",null,e.toDisplayString(s.text),1),t.allowCopyByClick&&s.allowCopy?(e.openBlock(),e.createElementBlock("dd",Va,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.copyToClipboard(s.value),["prevent"]),title:t.iconCopy.tooltip},[e.createVNode(r,{iconClass:t.iconCopy.iconClass,type:t.iconCopy.iconType},null,8,["iconClass","type"])],8,xa)])):(e.openBlock(),e.createElementBlock("dd",{key:d},e.toDisplayString(s.value),1))],64))),128))]),t.additionalInformation?(e.openBlock(),e.createElementBlock("p",Ea,e.toDisplayString(t.additionalInformation),1)):e.createCommentVNode("",!0)])}const Ta=S(wa,[["render",Na]]);function Y(o){return o.path?o.path:((o.route==null||typeof o.route!="object"||!o.route.path&&!o.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",o.route),o.route)}const nf="",Da={name:"CmdImage",props:{image:{type:Object,required:!0},figcaption:{type:Object,required:!1}},computed:{getTextAlign(){var o;return(o=this.figcaption)!=null&&o.textAlign?"text-"+this.figcaption.textAlign:""}}},Ia={key:0},Oa=["src","alt","title"],Ma={key:1};function Fa(o,n,t,i,a,l){var c,r,s,d,m,h;return e.openBlock(),e.createElementBlock("figure",{class:e.normalizeClass(["cmd-image",l.getTextAlign])},[((c=t.figcaption)==null?void 0:c.show)&&((r=t.figcaption)==null?void 0:r.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Ia,e.toDisplayString((s=t.figcaption)==null?void 0:s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:t.image.src,alt:t.image.alt,title:t.image.tooltip},null,8,Oa),((d=t.figcaption)==null?void 0:d.show)&&((m=t.figcaption)==null?void 0:m.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Ma,e.toDisplayString((h=t.figcaption)==null?void 0:h.text),1)):e.createCommentVNode("",!0)],2)}const K=S(Da,[["render",Fa]]),lf="",La={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next"},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-single-arrow-left",tooltip:"Previous"},next:{iconClass:"icon-single-arrow-right",tooltip:"Next"},up:{iconClass:"icon-single-arrow-up",tooltip:"Previous"},down:{iconClass:"icon-single-arrow-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},qa=["title"];function Pa(o,n,t,i,a,l){const c=I;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button",t.slideButtonType]),title:l.getDirection.tooltip},[e.createVNode(c,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,qa)}const ae=S(La,[["render",Pa]]),Aa={data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image"}}}},af="",Ha={name:"CmdThumbnailScroller",components:{CmdImage:K,CmdSlideButton:ae},mixins:[j,Aa],data(){return{thumbnails:[]}},props:{fullWidth:{type:Boolean,default:!1},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},imgIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},methods:{showNextItem(){const o=this.thumbnails.shift();o&&this.thumbnails.push(o)},showPrevItem(){const o=this.thumbnails.pop();o&&this.thumbnails.unshift(o)},showFancyBox(o){this.allowOpenFancyBox&&ke({fancyBoxGallery:this.thumbnails,defaultGalleryIndex:o}),this.$emit("click",this.thumbnails[o].id)}},watch:{thumbnailScrollerItems:{handler(){this.thumbnails=this.thumbnailScrollerItems.map(o=>{const n={image:{...o.image},figcaption:{...o.figcaption}};return n.image.src=n.image.srcImageSmall,n})},immediate:!0}}},Ra=["onClick","title"];function za(o,n,t,i,a,l){const c=ae,r=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!t.allowOpenFancyBox,"full-width":t.fullWidth}])},[e.createVNode(c,{onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.thumbnails,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:s.id,class:e.normalizeClass({active:t.imgIndex===d})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.showFancyBox(d),["prevent"]),title:o.getMessage("cmdthumbnailscroller.tooltip.open_large_image")},[e.createVNode(r,{image:s.image,figcaption:s.figcaption},null,8,["image","figcaption"])],8,Ra)],2))),128))]),_:1}),e.createVNode(c,{onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:t.cmdSlideButtons.next},null,8,["onClick","slideButtons"])],2)}const Jt=S(Ha,[["render",za]]);function Kt(){let o=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const t=(o+Math.random()*16)%16|0;return o=Math.floor(o/16),(n==="x"?t:t&3|8).toString(16)})}function Xt(){return"cmd-"+Kt()}const ie={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Xt()}},methods:{buildHtmlId(...o){return o.map(n=>n.replace(/\s/g,"")).join("")}}},sf="",ke=o=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Yt,{...o,show:!0}).mount(n)},Yt=e.defineComponent({name:"CmdFancyBox",mixins:[ie],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.allowEscapeKey&&(this.$_FancyBox_escapeKeyHandler=o=>(o.key==="Escape"||o.key==="Esc")&&this.close(),document.querySelector("body").addEventListener("keyup",this.$_FancyBox_escapeKeyHandler)),this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},beforeUnmount(){this.allowEscapeKey&&document.querySelector("body").removeEventListener("keyup",this.$_FancyBox_escapeKeyHandler)},computed:{largeGalleryImage(){const o={...this.fancyBoxGallery[this.index].image};return o.src=o.srcImageLarge,o},largeSingleImage(){var n;const o={...((n=this.cmdImage)==null?void 0:n.image)||{}};return o.src=this.fancyBoxImageUrl,o}},methods:{showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(o=>o.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(o){(await ja(o)).startsWith("image/")?this.fancyBoxImageUrl=o:fetch(o).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(o){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].id===o){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.$options.el?(this.$destroy(),this.$el.remove()):(this.showFancyBox=!1,this.$emit("update:show",!1)),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(o){this.showFancyBox=o},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ja(o){const n=await fetch(o,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const Ua=Yt,Wa=["aria-label"],Ga={class:"flex-container"},Ja={key:1,class:"button-wrapper no-flex"},Ka=["title"],Xa=["title"],Ya=["title"],Qa={key:0,class:"content"},Za=["innerHTML"],$a={key:2,class:"content"},va={key:3,class:"content"},ei={key:4,class:"content"},ti={key:0,class:"flex-container no-flex"},oi=["title"],ni={key:1},li=["title"],ai={key:1};function ii(o,n,t,i,a,l){var h,f,u,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P,J,U,G,w,z,ee,ce,_,x,M;const c=L,r=I,s=K,d=ae,m=Jt;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":o.showOverlay,image:o.fancyBoxImageUrl||o.fancyBoxGallery,"image-gallery":o.fancyBoxGallery}]),"aria-label":o.ariaLabelText},[e.createElementVNode("header",Ga,[(h=o.cmdHeadline)!=null&&h.show?(e.openBlock(),e.createBlock(c,{key:0,headlineText:(f=o.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(u=o.cmdHeadline)==null?void 0:u.headlineLevel,id:o.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),((y=o.fancyboxOptions.printButtons)==null?void 0:y.color)||((p=o.fancyboxOptions.printButtons)==null?void 0:p.grayscale)||o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",Ja,[o.showPrintButtons&&((k=o.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=o.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(A=>o.printInGrayscale=!1,["prevent"]))},[e.createVNode(r,{iconClass:(V=o.fancyboxOptions.printButtons.color)==null?void 0:V.iconClass,type:(O=o.fancyboxOptions.printButtons.color)==null?void 0:O.iconType},null,8,["iconClass","type"])],8,Ka)):e.createCommentVNode("",!0),o.showPrintButtons&&((g=o.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(N=o.fancyboxOptions.printButtons.grayscale)==null?void 0:N.tooltip,onClick:n[1]||(n[1]=e.withModifiers(A=>o.printInGrayscale=!0,["prevent"]))},[e.createVNode(r,{iconClass:(b=o.fancyboxOptions.printButtons.grayscale)==null?void 0:b.iconClass,type:(E=o.fancyboxOptions.printButtons.grayscale)==null?void 0:E.iconType},null,8,["iconClass","type"])],8,Xa)):e.createCommentVNode("",!0),o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:o.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...A)=>o.close&&o.close(...A),["prevent"]))},[e.createVNode(r,{iconClass:o.fancyboxOptions.closeIcon.iconClass,type:o.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,Ya)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:o.printInGrayscale}])},[o.fancyBoxImageUrl?(e.openBlock(),e.createElementBlock("div",Qa,[e.createVNode(s,{image:o.largeSingleImage,figcaption:(D=o.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):o.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:o.fancyBoxContent},null,8,Za)):o.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",$a)):o.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",va,[e.createVNode(d,{onClick:e.withModifiers(o.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(s,{image:o.largeGalleryImage,figcaption:o.fancyBoxGallery[o.index].figcaption},null,8,["image","figcaption"]),e.createVNode(d,{onClick:e.withModifiers(o.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",ei,[e.renderSlot(o.$slots,"default")]))],2),o.showSubmitButtons&&o.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",ti,[(F=o.fancyboxOptions.submitButtons)!=null&&F.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...A)=>o.cancel&&o.cancel(...A)),title:(T=o.fancyboxOptions.submitButtons.cancel)==null?void 0:T.tooltip},[(q=o.fancyboxOptions.submitButtons.cancel)!=null&&q.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(P=o.fancyboxOptions.submitButtons.cancel)==null?void 0:P.iconClass,type:(J=o.fancyboxOptions.submitButtons.cancel)==null?void 0:J.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(U=o.fancyboxOptions.submitButtons.cancel)!=null&&U.buttonText?(e.openBlock(),e.createElementBlock("span",ni,e.toDisplayString((G=o.fancyboxOptions.submitButtons.cancel)==null?void 0:G.buttonText),1)):e.createCommentVNode("",!0)],8,oi)):e.createCommentVNode("",!0),(w=o.fancyboxOptions.submitButtons)!=null&&w.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...A)=>o.confirm&&o.confirm(...A)),title:(z=o.fancyboxOptions.submitButtons.cancel)==null?void 0:z.tooltip},[(ee=o.fancyboxOptions.submitButtons.confirm)!=null&&ee.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(ce=o.fancyboxOptions.submitButtons.confirm)==null?void 0:ce.iconClass,type:(_=o.fancyboxOptions.submitButtons.confirm)==null?void 0:_.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(x=o.fancyboxOptions.submitButtons.confirm)!=null&&x.buttonText?(e.openBlock(),e.createElementBlock("span",ai,e.toDisplayString((M=o.fancyboxOptions.submitButtons.confirm)==null?void 0:M.buttonText),1)):e.createCommentVNode("",!0)],8,li)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...o.fancyBoxGallery],allowOpenFancyBox:!1,onClick:o.showItem,imgIndex:o.index},null,8,["thumbnailScrollerItems","onClick","imgIndex"])):e.createCommentVNode("",!0)],10,Wa)])}const si=S(Ua,[["render",ii]]),rf="",ri={name:"CmdListOfLinks",props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},align:{type:String,default:"left"},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical"},useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1}},methods:{getRoute(o){return Y(o)},executeLink(o,n){o.fancybox&&(n.preventDefault(),ke({url:o.path}))}}},ci=["href","target","onClick","title"],di={key:1},mi={key:1};function hi(o,n,t,i,a,l){const c=L,r=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:t.styleAsBox,horizontal:t.orientation==="horizontal","section-anchors":t.sectionAnchors}])},[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!t.useGap},"align-"+t.align])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.links,(d,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:t.sectionAnchors&&t.activeSection===m})},[d.type==="href"||d.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.path,target:d.target,onClick:h=>l.executeLink(d,h),title:d.tooltip&&d.tooltip!==void 0?d.tooltip:void 0},[d.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",di,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],8,ci)):d.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(d),title:d.tooltip},{default:e.withCtx(()=>[d.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",mi,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Qt=S(ri,[["render",hi]]),ui={data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.contentbox.expand_text":"Expand text"}}}},fi={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},cf="",Re={name:"CmdBox",mixins:[j,ui,fi],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.collapsingBoxesOpen:!0,active:!0,showCutOffText:!1,isRowView:!1}},props:{collapsingBoxesOpen:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},fadeLastLine:{type:Boolean,default:!0},useTransition:{type:Boolean,default:!0},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business"},useSlots:{type:Array,required:!1},image:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(o){this.$emit("click",o)}},watch:{collapsingBoxesOpen(){this.collapsible&&(this.open=this.collapsingBoxesOpen)},isRowView(){this.isRowView=this.rowView}}},Zt=()=>{e.useCssVars(o=>({"1d63f26a":o.cutoffTextLines}))},$t=Re.setup;Re.setup=$t?(o,n)=>(Zt(),$t(o,n)):Zt;const pi=Re,gi=["title"],yi={key:1,class:"box-header"},ki={key:2,class:"box-body","aria-expanded":"true",role:"article"},Ci=["src","alt"],_i={key:2},Bi={key:3,class:"box-footer"},bi={class:"box-header flex-container vertical"},wi={key:0},Si=["src","alt"],Vi={key:1},xi={key:2,class:"ribbon-new"},Ei={key:3,class:"ribbon-discount"},Ni={class:"box-body"},Ti={key:0},Di={key:1,class:"price"},Ii=["title"],Oi={key:2},Mi={class:"box-header flex-container vertical"},Fi={key:0},Li=["src","alt"],qi={key:0},Pi={key:1},Ai=["title"],Hi={key:0},Ri={class:"box-body"},zi={key:0},ji={key:1},Ui={key:2},Wi={key:3,class:"description"},Gi={class:"tags"},Ji={key:0,class:"box-footer"};function Ki(o,n,t,i,a,l){var d,m,h,f,u,y,p;const c=L,r=I,s=Qt;return t.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:a.open,collapsible:t.collapsible,"stretch-vertically":t.stretchVertically&&!t.collapsible,"stretch-horizontally":t.stretchHorizontally,"row-view":a.isRowView}])},[t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:a.open?t.iconOpen.tooltip:t.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...k)=>l.toggleContentVisibility&&l.toggleContentVisibility(...k),["prevent"]))},[(d=t.useSlots)!=null&&d.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(m=t.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:a.open?t.iconOpen.iconClass:t.iconClosed.iconClass,type:a.open?t.iconOpen.iconType:t.iconClosed.iconType},null,8,["iconClass","type"])],8,gi)):(e.openBlock(),e.createElementBlock("div",yi,[(h=t.useSlots)!=null&&h.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(f=t.cmdHeadline)!=null&&f.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])),a.open?(e.openBlock(),e.createElementBlock("div",ki,[(u=t.useSlots)!=null&&u.includes("body")?e.renderSlot(o.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:l.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":t.cutoffTextLines>0,"fade-last-line":t.fadeLastLine&&!a.showCutOffText,"show-text":a.showCutOffText})},e.toDisplayString(t.textBody),3),t.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...k)=>l.toggleCutOffText&&l.toggleCutOffText(...k),["prevent"]))},e.toDisplayString(a.showCutOffText?o.getMessage("cmdbox.contentbox.collapse_text"):o.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.image.src,alt:t.image.altText},null,8,Ci)):e.createCommentVNode("",!0),(y=t.cmdHeadline)!=null&&y.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.textBody?(e.openBlock(),e.createElementBlock("p",_i,e.toDisplayString(t.textBody),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0),(p=t.useSlots)!=null&&p.includes("footer")?(e.openBlock(),e.createElementBlock("div",Bi,[e.renderSlot(o.$slots,"footer")])):e.createCommentVNode("",!0)],2)):t.boxType==="product"&&t.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(k=>l.clickOnProduct(t.product),["prevent"]))},[e.createElementVNode("div",bi,[t.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",wi,[e.createElementVNode("img",{src:t.product.image.src,alt:t.product.image.alt},null,8,Si),e.createElementVNode("figcaption",null,e.toDisplayString(t.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Vi,e.toDisplayString(t.product.name),1)),t.product.new?(e.openBlock(),e.createElementBlock("div",xi,[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),t.product.discount?(e.openBlock(),e.createElementBlock("div",Ei,[e.createElementVNode("span",null,e.toDisplayString(t.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ni,[t.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ti,e.toDisplayString(o.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(t.product.articleNumber),1)):e.createCommentVNode("",!0),t.product.price?(e.openBlock(),e.createElementBlock("p",Di,[e.createElementVNode("span",null,e.toDisplayString(t.product.price),1),e.createElementVNode("span",{title:o.globalCurrency.name},e.toDisplayString(o.globalCurrency.symbol),9,Ii)])):e.createCommentVNode("",!0),t.product.description?(e.openBlock(),e.createElementBlock("p",Oi,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0)])],2)):t.boxType==="user"&&t.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",t.profileType,{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally}])},[e.createElementVNode("div",Mi,[t.user.image?(e.openBlock(),e.createElementBlock("figure",Fi,[e.createElementVNode("img",{src:t.user.image.src,alt:t.user.image.alt},null,8,Li),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(t.user.name)+" ",1),t.user.age?(e.openBlock(),e.createElementBlock("span",qi,", "+e.toDisplayString(t.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Pi,[e.createElementVNode("span",{class:e.normalizeClass(t.defaultProfileIconClass),title:t.user.name},null,10,Ai),t.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",Hi,e.toDisplayString(t.user.name),1))]))]),e.createElementVNode("div",Ri,[t.rowView?(e.openBlock(),e.createElementBlock("p",zi,e.toDisplayString(t.user.name),1)):e.createCommentVNode("",!0),t.user.profession?(e.openBlock(),e.createElementBlock("p",ji,e.toDisplayString(t.user.profession),1)):e.createCommentVNode("",!0),t.user.position?(e.openBlock(),e.createElementBlock("p",Ui,e.toDisplayString(t.user.position),1)):e.createCommentVNode("",!0),t.user.description?(e.openBlock(),e.createElementBlock("p",Wi,e.toDisplayString(t.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",Gi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.user.tags,(k,C)=>(e.openBlock(),e.createElementBlock("li",{key:C},e.toDisplayString(k),1))),128))]),t.user.links?(e.openBlock(),e.createElementBlock("div",Ji,[e.createVNode(s,{links:t.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const vt=S(pi,[["render",Ki]]),df="",ze={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(o,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?o===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>o?this.boxesPerRow[o]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(o,n){this.currentOpenBox=n?o:0}},watch:{useRowViewAsDefault(){this.oneBoxPerRow=this.useRowViewAsDefault}}},eo=()=>{e.useCssVars(o=>({d9d214fc:o.boxesPerRowLarge,"5ca2c3e4":o.boxesPerRowMedium,d9026164:o.boxesPerRowSmall}))},to=ze.setup;ze.setup=to?(o,n)=>(eo(),to(o,n)):eo;const Xi=ze,Yi={class:"cmd-box-wrapper"},Qi={class:"flex-container no-flex headline-wrapper"},Zi={key:1,class:"options-wrapper"},$i=["title"],vi=["title"];function es(o,n,t,i,a,l){const c=L,r=I;return e.openBlock(),e.createElementBlock("div",Yi,[e.createElementVNode("div",Qi,[t.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation||t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",Zi,[t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...s),["prevent"])),title:a.collapsingBoxesOpen?t.collapseBoxesIcon.tooltip:t.expandBoxesIcon.tooltip},[e.createVNode(r,{iconClass:a.collapsingBoxesOpen?t.expandBoxesIcon.iconClass:t.collapseBoxesIcon.iconClass,type:o.oneBoxPerRow?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,$i)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(s=>o.oneBoxPerRow=!o.oneBoxPerRow,["prevent"])),title:o.oneBoxPerRow?t.iconRowView.tooltip:t.iconGridView.tooltip},[e.createVNode(r,{iconClass:o.oneBoxPerRow?t.iconGridView.iconClass:t.iconRowView.iconClass,type:o.oneBoxPerRow?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,vi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([t.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":a.rowView,"stretch-boxes-vertically":t.stretchBoxesVertically}])},[e.renderSlot(o.$slots,"default",{collapsingBoxesOpen:a.collapsingBoxesOpen,boxToggled:l.boxToggled,currentOpenBox:a.currentOpenBox,rowView:a.rowView})],2)])}const ts=S(Xi,[["render",es]]),mf="",os={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(o){return Y(o)}}},ns={class:"cmd-breadcrumbs"},ls={key:0},as=["href"],is={key:1},ss={key:1},rs={key:2},cs={key:1},ds={key:3};function ms(o,n,t,i,a,l){const c=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",ns,[t.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",ls,e.toDisplayString(t.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.breadcrumbLinks||[],(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",is,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,as)):s.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",ss,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",rs,[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",cs,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),d<t.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",ds,e.toDisplayString(t.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const hs=S(os,[["render",ms]]),hf="",us={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 o=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(o,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(o){this.prefersColorScheme=o.matches?"light":"dark"},observeDom(o){for(let n=0;n<o.length;n++)if(o[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(o){return Y(o)},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"}}},fs={class:"cmd-company-logo"},ps=["href","title"];function gs(o,n,t,i,a,l){const c=K,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",fs,[t.link.type==="router"?(e.openBlock(),e.createBlock(r,{key:0,to:t.link.path,title:t.link.tooltip},{default:e.withCtx(()=>[e.createVNode(c,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):(e.openBlock(),e.createElementBlock("a",{key:1,href:t.link.path,title:t.link.tooltip},[e.createVNode(c,{image:l.image},null,8,["image"])],8,ps))])}const oo=S(us,[["render",gs]]),uf="",ys={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},relatedId:{type:String,required:!1},status:{type:String,required:!1},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const o=document.getElementById(this.relatedId);o&&(o.addEventListener("mouseenter",this.showTooltip),document.addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.addEventListener("click",this.toggleTooltipVisibility):o.addEventListener("mouseleave",this.hideTooltip))}},methods:{toggleTooltipVisibility(o){this.getPointerPosition(o),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(o){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(o)},hideTooltipOnEsc(o){this.allowEscapeKey&&(o.key==="Escape"||o.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(o){this.pointerX=o.clientX,this.pointerY=o.clientY}},unmounted(){if(this.relatedId){const o=document.getElementById(this.npm);o&&(o.removeEventListener("mouseenter",this.showTooltip),document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.removeEventListener("click",this.toggleTooltipVisibility):o.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"})}}},ks={key:0,class:"headline-wrapper"},Cs=["title"];function _s(o,n,t,i,a,l){const c=L,r=I;return a.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",t.status]),ref:"tooltip"},[t.cmdHeadline||t.iconClose.show?(e.openBlock(),e.createElementBlock("div",ks,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.cmdHeadline.iconClass,preHeadline:t.cmdHeadline.preHeadline,headlineLevel:t.cmdHeadline.headlineLevel,headlineText:t.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),t.iconClose.show&&t.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.hideTooltip&&l.hideTooltip(...s),["prevent"])),title:t.iconClose.tooltip},[e.createVNode(r,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,Cs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const no=S(ys,[["render",_s]]),Bs={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},ff="",bs={name:"CmdListOfRequirements",mixins:[j,Bs],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")}}},ws={class:"cmd-list-of-requirements"},Ss=e.createElementVNode("br",null,null,-1),Vs=e.createElementVNode("hr",null,null,-1),xs=["href","target"],Es={key:1};function Ns(o,n,t,i,a,l){var s,d,m;const c=L,r=I;return e.openBlock(),e.createElementBlock("div",ws,[t.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-level":t.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineRequirements),1),t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ss,e.createElementVNode("em",null,e.toDisplayString(t.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(t.inputRequirements,(h,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},e.toDisplayString(h.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},[e.createVNode(r,{"aria-live":"assertive",iconClass:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconClass:t.iconError.iconClass,type:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconType:t.iconError.iconType,title:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.tooltip:t.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),t.helplink&&t.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Vs,t.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.helplink.url,target:t.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(s=t.helplink.icon)!=null&&s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,class:e.normalizeClass((d=t.helplink.icon)==null?void 0:d.iconClass),title:(m=t.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),t.helplink.text?(e.openBlock(),e.createElementBlock("span",Es,e.toDisplayString(t.helplink.text),1)):e.createCommentVNode("",!0)],8,xs)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Ts=S(bs,[["render",Ns]]),Ds={name:"CmdTooltipForInputElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:""},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Is(o,n,t,i,a,l){const c=Ts,r=no;return e.openBlock(),e.createBlock(r,{ref:"tooltip",class:e.normalizeClass(["box",t.validationStatus]),relatedId:t.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[t.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(c,{key:0,showHeadline:t.cmdListOfRequirements.showHeadline,inputRequirements:t.cmdListOfRequirements.inputRequirements,helplink:t.cmdListOfRequirements.helplink,inputModelValue:t.cmdListOfRequirements.inputModelValue,inputAttributes:t.cmdListOfRequirements.inputAttributes,validationTooltip:t.cmdListOfRequirements.validationTooltip,labelText:t.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const je=S(Ds,[["render",Is]]),Os={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"}}}},Ue={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[j,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},getStatusIconType(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconType:this.validationStatus==="error"?this.iconHasStateError.iconType:this.validationStatus==="warning"?this.iconHasStateWarning.iconType:this.validationStatus==="success"?this.iconHasStateSuccess.iconType:this.iconHasStateInfo.iconType:this.helplink.icon.iconType},inputRequirements(){const o=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;o.push({message:this.getRequirementMessage(),valid(t,i){return!i.required&&!n||t!=null&&String(t).length>0}})}return this.$attrs.minlength&&o.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,t){return n.length>=t.minlength}}),[...o,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(o){["password","number","url","email"].includes(this.$attrs.type)&&o.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)}}}},We={};function Ms(o="defaultSequence"){const n=We[o]||0;return We[o]=n+1,We[o]}const Ge={data(){return{tooltip:!1,tooltipId:"tooltip-"+Ms()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},gf="",Fs=["color","date","datetime-local","file","number","range"],Ls={inheritAttrs:!1,name:"CmdFormElement",mixins:[j,Os,Ue,ie,Ge],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(o){return o==="input"||o==="select"||o==="textarea"||o==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},tooltipText:{type:String,required:!1},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},status:{type:String,required:!1},showCharactersTextarea:{type:Boolean,default:!0},textCharacters:{type:String,default:"Characters"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const o=["name","required","readonly","disabled","autofocus"],n={input:[...o,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...o,"multiple"],textarea:[...o,"placeholder"]},t={};return n[this.element]&&Object.entries(this.$attrs).filter(([i])=>n[this.element].includes(i)).forEach(([i,a])=>t[i]=a),t},buttonAttrs(){var n,t;const o={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(o.title=(t=this.nativeButton.icon)==null?void 0:t.tooltip),o},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersTextarea(){return this.textCharacters+" "+this.modelValue.length+"/"+this.getMaxLength()},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{additionalStandardRequirements(){const o=[];return this.$attrs.type==="email"&&o.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),o},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:Fs.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(o){var t;((t=o.target.closest("form"))==null?void 0:t.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof o.target.checkValidity=="function"&&!o.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(a=>!a.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(o){this.validateInput(o),this.closeTooltipOnBlur()},onInput(o){this.validateInput(o),this.$emit("update:modelValue",o.target.value)},onChange(o){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",o.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",o.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const o=this.$refs.input,n=o.value;o.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),o.setAttribute("type","text"),o.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},qs=["for","title"],Ps={key:0,class:"label-text"},As={key:2},Hs=["title","aria-errormessage","id"],Rs={class:"flex-container"},zs=["id","autocomplete","list","value","maxlength"],js=["title"],Us=["id"],Ws=["value"],Gs=["checked","value","id","disabled","aria-invalid"],Js={key:2},Ks={class:"switch-label-wrapper"},Xs=["checked","value","id","disabled","aria-invalid"],Ys={class:"label-text"},Qs={class:"label-text"},Zs={key:0,class:"label-text"},$s={key:0},vs=["id"],er=["value","selected"],tr=["id","value","maxlength"],or={key:5},nr={key:6,class:"search-field-wrapper flex-container no-gap"},lr=["id","maxlength","value"],ar=["title"],ir=["title"],sr={key:1};function rr(o,n,t,i,a,l){var s,d,m,h,f,u,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P,J,U,G;const c=je,r=I;return t.element==="input"||t.element==="select"||t.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",o.validationStatus,o.$attrs.class,{disabled:o.$attrs.disabled,inline:t.displayLabelInline,checked:l.isChecked,"toggle-switch":t.toggleSwitch,colored:t.colored,on:t.colored&&l.isChecked,off:t.colored&&!l.isChecked,"has-state":o.validationStatus}]),for:o.htmlId,title:o.$attrs.title,ref:"label"},[(t.labelText||o.$slots.labeltext)&&o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"?e.withDirectives((e.openBlock(),e.createElementBlock("span",Ps,[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",As,"*")):e.createCommentVNode("",!0)]),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(r,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,Hs)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.showLabel]]):e.createCommentVNode("",!0),e.createElementVNode("span",Rs,[o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"&&t.fieldIconClass?(e.openBlock(),e.createBlock(r,{key:0,class:"place-inside",iconClass:t.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),t.element==="input"&&o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"&&o.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},l.elementAttributes,{id:o.htmlId,class:t.inputClass,onFocus:n[1]||(n[1]=w=>o.tooltip=!0),onBlur:n[2]||(n[2]=(...w)=>l.onBlur&&l.onBlur(...w)),onInput:n[3]||(n[3]=(...w)=>l.onInput&&l.onInput(...w)),onMouseover:n[4]||(n[4]=(...w)=>l.datalistFocus&&l.datalistFocus(...w)),onKeyup:n[5]||(n[5]=(...w)=>o.checkForCapsLock&&o.checkForCapsLock(...w)),onChange:n[6]||(n[6]=w=>o.$emit("change",w)),autocomplete:l.autocomplete,list:t.datalist?t.datalist.id:null,value:t.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,zs)):e.createCommentVNode("",!0),o.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...w)=>l.showPassword&&l.showPassword(...w),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...w)=>l.hidePassword&&l.hidePassword(...w),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...w)=>l.hidePassword&&l.hidePassword(...w),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:t.iconPasswordVisible.tooltip},[e.createVNode(r,{iconClass:t.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,js)):e.createCommentVNode("",!0)]),t.datalist&&t.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:1,id:t.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.datalist.options,(w,z)=>(e.openBlock(),e.createElementBlock("option",{key:z,value:w},null,8,Ws))),128))],8,Us)):t.element==="input"&&(o.$attrs.type==="checkbox"||o.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.onLabel&&t.offLabel?t.onLabel&&t.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ks,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(...w)=>l.onChange&&l.onChange(...w)),onBlur:n[14]||(n[14]=(...w)=>l.onBlur&&l.onBlur(...w)),checked:l.isChecked,value:t.inputValue,class:{inputClass:t.inputClass,validationStatus:o.validationStatus},id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,Xs),e.createElementVNode("span",Ys,e.toDisplayString(t.onLabel),1),e.createElementVNode("span",Qs,e.toDisplayString(t.offLabel),1)]),t.labelText?(e.openBlock(),e.createElementBlock("span",Zs,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",$s,"*")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],64)):e.renderSlot(o.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[11]||(n[11]=(...w)=>l.onChange&&l.onChange(...w)),onBlur:n[12]||(n[12]=(...w)=>l.onBlur&&l.onBlur(...w)),checked:l.isChecked,value:t.inputValue,class:[t.inputClass,o.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch}],id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,Gs),t.labelText||o.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Js,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),t.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:3},l.elementAttributes,{id:o.htmlId,onBlur:n[15]||(n[15]=(...w)=>l.onBlur&&l.onBlur(...w)),onChange:n[16]||(n[16]=w=>o.$emit("update:modelValue",w.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectOptions,(w,z)=>(e.openBlock(),e.createElementBlock("option",{key:z,value:w.value,selected:w.value===t.modelValue},e.toDisplayString(w.text),9,er))),128))],16,vs)):e.createCommentVNode("",!0),t.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:4},l.elementAttributes,{id:o.htmlId,value:t.modelValue,maxlength:l.getMaxLength(),onInput:n[17]||(n[17]=(...w)=>l.onInput&&l.onInput(...w)),onFocus:n[18]||(n[18]=w=>o.tooltip=!0),onBlur:n[19]||(n[19]=(...w)=>l.onBlur&&l.onBlur(...w))}),`\r
|
2
|
+
`,16,tr)):e.createCommentVNode("",!0),t.element==="textarea"&&t.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",or,e.toDisplayString(l.charactersTextarea),1)):t.element==="input"&&o.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",nr,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:o.htmlId,onInput:n[20]||(n[20]=(...w)=>l.onInput&&l.onInput(...w)),maxlength:l.getMaxLength(),value:t.modelValue}),null,16,lr),t.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:o.$attrs.disabled}]),title:t.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...w)=>l.executeSearch&&l.executeSearch(...w),["prevent"]))},[e.createVNode(r,{iconClass:t.iconSearch.iconClass},null,8,["iconClass"])],10,ar)):e.createCommentVNode("",!0),(s=t.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(w=>o.$emit("update:modelValue",""),["prevent"])),title:(d=t.iconDelete)==null?void 0:d.tooltip},[e.createVNode(r,{iconClass:(m=t.iconDelete)==null?void 0:m.iconClass,type:(h=t.iconDelete)==null?void 0:h.iconType},null,8,["iconClass","type"])],8,ir)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,qs)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs),[((u=(f=t.nativeButton)==null?void 0:f.icon)==null?void 0:u.show)&&(((p=(y=t.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((C=(k=t.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(O=(V=t.nativeButton)==null?void 0:V.icon)==null?void 0:O.iconClass,type:(N=(g=t.nativeButton)==null?void 0:g.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((b=t.nativeButton)==null?void 0:b.icon)&&((E=t.nativeButton)==null?void 0:E.text)?(e.openBlock(),e.createElementBlock("span",sr,e.toDisplayString(t.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(t.nativeButton.text),1)],64)),((F=(D=t.nativeButton)==null?void 0:D.icon)==null?void 0:F.show)&&((q=(T=t.nativeButton)==null?void 0:T.icon)==null?void 0:q.position)==="after"?(e.openBlock(),e.createBlock(r,{key:3,iconClass:(J=(P=t.nativeButton)==null?void 0:P.icon)==null?void 0:J.iconClass,type:(G=(U=t.nativeButton)==null?void 0:U.icon)==null?void 0:G.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const Q=S(Ls,[["render",rr]]),cr={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!"}}}},yf="",dr={name:"CmdCookieDisclaimer",mixins:[j,cr],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 t,i;const o=this.modelValue?[...this.modelValue]:[],n=((i=(t=this.cookieOptions)==null?void 0:t.required)==null?void 0:i.cookies)||[];for(let a=0;a<n.length;a++)o.includes(n[a].value)||o.push(n[a].value);return o},set(o){this.$emit("update:modelValue",o)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var i,a,l,c;const o=[],n=(a=(i=this.cookieOptions)==null?void 0:i.required)==null?void 0:a.cookies;if(n)for(let r=0;r<n.length;r++)o.push(n[r].value);const t=(c=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:c.cookies;if(t)for(let r=0;r<t.length;r++)o.push(t[r].value);this.$emit("close-cookie-disclaimer",o)},openDataPrivacy(o){o.target.target||(o.preventDefault(),fetch(o.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},mr={class:"cmd-cookie-disclaimer flex-container vertical"},hr={key:0,class:"flex-container vertical"},ur={key:0},fr={key:1},pr=["href","target"],gr=["innerHTML"],yr=e.createElementVNode("hr",null,null,-1),kr={key:1,class:"flex-container vertical"},Cr={key:0},_r={key:1},Br=["href","target"],br=["innerHTML"],wr={class:"button-wrapper align-center"};function Sr(o,n,t,i,a,l){const c=L,r=Q,s=vt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var d,m,h;return[e.createElementVNode("div",mr,[((d=t.cmdHeadlineCookieDisclaimer)==null?void 0:d.show)&&((m=t.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((h=t.cmdHeadlineCookieDisclaimer)==null?void 0:h.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:t.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:t.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"cookie-options",{},()=>{var f,u,y,p,k,C,V,O;return[(f=t.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",hr,[(u=t.cmdBoxRequiredCookies)!=null&&u.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=t.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=t.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.required.cookies||[],(g,N)=>{var b;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(b=t.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:N},{header:e.withCtx(()=>[e.createVNode(r,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=E=>l.acceptedCookies=E),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",ur,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",fr,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,pr)])):e.createCommentVNode("",!0),a.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:a.dataPrivacyContent},null,8,gr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),yr,(k=t.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",kr,[(C=t.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(V=t.cmdBoxOptionalCookies)==null?void 0:V.headlineText,"headline-level":(O=t.cmdBoxOptionalCookies)==null?void 0:O.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.optional.cookies||[],(g,N)=>{var b;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(b=t.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:N},{header:e.withCtx(()=>[e.createVNode(r,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=E=>l.acceptedCookies=E),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",Cr,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",_r,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Br)])):e.createCommentVNode("",!0),a.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:a.dataPrivacyContent},null,8,br)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(o.$slots,"privacy-text"),e.createElementVNode("div",wr,[t.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(t.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),t.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(t.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Vr=S(dr,[["render",Sr]]),kf="",xr={name:"CmdCopyrightWrapper"},Er={class:"cmd-copyright-information",role:"contentinfo"},Nr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Tr(o,n,t,i,a,l){return e.openBlock(),e.createElementBlock("div",Er,Nr)}const Dr=S(xr,[["render",Tr]]),Ir={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"}}}},_f="",Or={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[j,Ir,Ue,ie,Ge],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{}}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}}},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 o,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const t=this.selectData.find(i=>i.value===this.modelValue);if(t)return t.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(o=this.selectData.find(t=>String(t.value)===String(this.modelValue[0])))==null?void 0:o.text;if(this.modelValue.length>1)return this.modelValue.length+" options selected"}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const o=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:o==null?void 0:o.iconClass,tooltip:o==null?void 0:o.tooltip}}return null},optionCountry(){var o,n;return this.type==="country"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},optionColor(){var o,n;return this.type==="color"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?"Deselect all options":"Select all options"}},mounted(){const o=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(o),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const o=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)o.push(String(this.selectData[n].value));this.$emit("update:modelValue",o)},limitWidth(){if(this.$refs.fakeselect){const o=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:o/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(o){return this.modelValue.some(n=>n===o||n===String(o))},selectOption(o){this.validationStatus="success",this.$attrs.required!==void 0&&(o||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",o)},optionSelect(o){this.validationStatus="success";let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value&&String(t)!==o.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(o){return this.pathFlags+"/flag-"+o+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return"An option is selected"}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var o;this.type==="default"&&((o=this.selectData)==null?void 0:o.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Mr=["title","aria-labelledby","aria-required"],Fr={key:0,class:"label-text"},Lr=["id"],qr={key:0},Pr=["title","aria-errormessage","id"],Ar=["aria-expanded"],Hr=["title"],Rr=["src","alt"],zr={key:0,role:"listbox"},jr=["aria-selected"],Ur=["onClick","title"],Wr={key:1},Gr=["aria-expanded"],Jr=["for"],Kr=["value","checked","id"],Xr=["onClick"],Yr=["src","alt"],Qr=["onClick"],Zr={key:0,class:"select-all-options"};function $r(o,n,t,i,a,l){var d,m,h,f;const c=je,r=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([a.validationStatus,"cmd-fake-select label",{color:t.type==="color","has-state":a.validationStatus&&a.validationStatus!=="none",disabled:o.$attrs.disabled}]),title:o.$attrs.title,role:"listbox","aria-labelledby":o.htmlId,"aria-required":o.$attrs.required!==void 0,ref:"fakeselect"},[t.showLabel?(e.openBlock(),e.createElementBlock("span",Fr,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",qr,"*")):e.createCommentVNode("",!0)],8,Lr),o.useCustomTooltip&&(a.validationStatus===""||a.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:a.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:a.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:o.useCustomTooltip?"":o.getValidationMessage,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(r,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,Pr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:a.showOptions}),onClickout:n[5]||(n[5]=(...u)=>l.closeOptions&&l.closeOptions(...u)),"aria-expanded":a.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.toggleOptions&&l.toggleOptions(...u),["prevent"])),onBlur:n[2]||(n[2]=(...u)=>l.onBlur&&l.onBlur(...u)),title:(d=l.optionIcon)==null?void 0:d.tooltip},[t.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,Rr)):t.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(r,{key:2,type:(h=l.optionIcon)==null?void 0:h.iconType,iconClass:(f=l.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),l.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(a.limitWidthStyle)},e.toDisplayString(l.optionName),5)):e.createCommentVNode("",!0),t.iconDropdown?(e.openBlock(),e.createBlock(r,{key:4,iconClass:t.iconDropdown.iconClass,type:t.iconDropdown.iconType,title:t.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,Hr),t.type==="default"&&a.showOptions?(e.openBlock(),e.createElementBlock("ul",zr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":u.value===t.modelValue},[t.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue}),title:u.tooltip},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Wr,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0)],10,Ur)):e.createCommentVNode("",!0),t.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(u.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,jr))),128))])):t.type!=="default"&&t.type!=="content"&&a.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":t.type==="checkboxOptions"}),"aria-expanded":a.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:t.modelValue.includes(`${u.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:u.value,onChange:n[3]||(n[3]=(...p)=>l.optionSelect&&l.optionSelect(...p)),checked:l.compareValues(u.value),id:"option-"+(y+1)},null,40,Kr),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Jr)):t.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(u.value),alt:u.text},null,8,Yr),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Xr)):t.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+u.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Qr)):e.createCommentVNode("",!0)]))),128)),t.showSelectAllOptions&&t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Zr,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...u)=>l.toggleAllOptions&&l.toggleAllOptions(...u),["prevent"]))},[e.createVNode(r,{iconClass:o.selectAllOptionsIcon.iconClass,type:o.selectAllOptionsIcon.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(l.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,Gr)):t.type==="content"&&a.showOptions?e.renderSlot(o.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,Ar)],10,Mr)}const lo=S(Or,[["render",$r]]),Bf="",vr={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1}},props:{novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},methods:{onSubmit(o){this.useValidation&&(o.preventDefault(),o.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",o)):this.errorOccurred=!0)}}},ec=["data-use-validation","novalidate"],tc={class:"flex-container"};function oc(o,n,t,i,a,l){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:a.errorOccurred}]),"data-use-validation":t.useValidation,onSubmit:n[0]||(n[0]=(...c)=>l.onSubmit&&l.onSubmit(...c)),novalidate:t.novalidate},[t.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",tc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),e.renderSlot(o.$slots,"default")]),e.renderSlot(o.$slots,"button-row")],64)):e.renderSlot(o.$slots,"default",{key:1})],42,ec)}const nc=S(vr,[["render",oc]]),bf="",lc={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(o){this.options.splice(o,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}}},ac={key:0,class:"cmd-form-filters"},ic={key:0},sc={key:1},rc=["onClick","title"];function cc(o,n,t,i,a,l){const c=I;return a.options.length?(e.openBlock(),e.createElementBlock("ul",ac,[a.options.length>1?(e.openBlock(),e.createElementBlock("li",ic,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...r)=>l.deleteAllFilters&&l.deleteAllFilters(...r),["prevent"]))},[t.linkDeleteAllFilters.icon&&t.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.linkDeleteAllFilters.icon.iconClass,title:t.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",sc,e.toDisplayString(t.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.options,(r,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(d=>l.deleteClickedFilter(s),["prevent"]),title:t.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(t.selectedOptionsName(r)),1),e.createVNode(c,{iconClass:t.deleteFilterIcon.iconClass,type:t.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,rc)]))),128))])):e.createCommentVNode("",!0)}const ao=S(lc,[["render",cc]]),wf="",dc={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const o=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return o.searchParams.set("hl","de"),o.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),o.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},mc={class:"cmd-google-maps responsive-wrapper"},hc=["src"];function uc(o,n,t,i,a,l){return e.openBlock(),e.createElementBlock("div",mc,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,hc)])}const fc=S(dc,[["render",uc]]),pc={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Sf="",gc={name:"CmdImageGallery",mixins:[j,pc],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(o){ke({fancyBoxGallery:this.images,defaultGalleryIndex:o})}}},yc={class:"grid-container-create-columns cmd-image-gallery"},kc=["onClick","title"];function Cc(o,n,t,i,a,l){const c=K;return e.openBlock(),e.createElementBlock("div",yc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.images,(r,s)=>(e.openBlock(),e.createElementBlock("a",{key:s,onClick:e.withModifiers(d=>l.showFancyBox(s),["prevent"]),href:"#",title:o.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(c,{image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])],8,kc))),128))])}const _c=S(gc,[["render",Cc]]),Vf="",Bc={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(o){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,t=this.$el.querySelector(".zoom-container");t.style.height=`${n}px`,io(this,o)})},onMouseMove(o){io(this,o)},onMouseOut(){this.showLargeImage=!1}}};function io(o,n){const t=o.$el.querySelector(".zoom-container"),i=t.querySelector("img"),a=o.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,r=i.getBoundingClientRect().width,s=i.getBoundingClientRect().height,d=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,h=Math.min(l,t.getBoundingClientRect().width/r*l),f=Math.min(c,t.getBoundingClientRect().height/s*c),u=so(d-h/2,0,l-h),y=so(m-f/2,0,c-f),p=-(u*(r/l)),k=-(y*(s/c));a.style.left=`${u}px`,a.style.top=`${y}px`,a.style.width=`${h}px`,a.style.height=`${f}px`,a.style.display="block",i.style.marginLeft=`${p}px`,i.style.marginTop=`${k}px`}function so(o,n,t){return o<n?n:o>t?t:o}const bc={class:"cmd-imagezoom grid-container-create-columns"},wc={class:"grid-small-item"},Sc={href:"#",class:"thumbnails-imagezoom"},Vc={key:0,class:"zoom-container grid-large-item"},xc={key:1,class:"zoom-overlay"};function Ec(o,n,t,i,a,l){const c=K;return e.openBlock(),e.createElementBlock("div",bc,[e.createElementVNode("div",wc,[e.createElementVNode("a",Sc,[e.createVNode(c,{image:t.imageSmall.image,figcaption:t.imageSmall.figcaption,onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])]),a.showLargeImage?(e.openBlock(),e.createElementBlock("div",Vc,[e.createVNode(c,{image:t.imageLarge.image,figcaption:t.imageLarge.figcaption,onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])):e.createCommentVNode("",!0),a.showLargeImage?(e.openBlock(),e.createElementBlock("div",xc)):e.createCommentVNode("",!0)])}const Nc=S(Bc,[["render",Ec]]),xf="",Tc={mixins:[Ue,ie,Ge],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var o;if(this.required){if((o=this.inputValue)!=null&&o.length){this.validationStatus="";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(o){this.$emit("update:modelValue",o)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},Dc=["aria-labelledby"],Ic={class:"label-text"},Oc=["id"],Mc={key:0},Fc=["title","aria-errormessage","id"],Lc=["for"],qc=["type","id","name","value","disabled"],Pc={key:1},Ac={key:1,class:"flex-container no-flex"};function Hc(o,n,t,i,a,l){const c=je,r=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",o.validationStatus,{inline:t.labelInline,"multiple-switch":t.multipleSwitch,disabled:t.disabled,"toggle-switch":t.toggleSwitch,"has-state":o.validationStatus}]),"aria-labelledby":o.htmlId},[e.withDirectives(e.createElementVNode("span",Ic,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),t.required?(e.openBlock(),e.createElementBlock("sup",Mc,"*")):e.createCommentVNode("",!0)],8,Oc),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:o.showRequirements,cmdListOfRequirements:o.listOfRequirements,validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,inputAttributes:o.$attrs,inputModelValue:t.modelValue,helplink:o.helplink,relatedId:o.tooltipId,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),t.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(r,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,Fc)):e.createCommentVNode("",!0)],512),[[e.vShow,t.showLabel]]),t.useSlot?(e.openBlock(),e.createElementBlock("div",Ac,[e.renderSlot(o.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!t.stretchHorizontally,"no-gap":t.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inputElements,(s,d)=>(e.openBlock(),e.createElementBlock("label",{key:d,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:t.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>l.inputValue=m),disabled:t.disabled,class:e.normalizeClass({"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch})},null,10,qc),[[e.vModelDynamic,l.inputValue]]),t.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",Pc,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,Lc))),128))],2))],10,Dc)}const Rc=S(Tc,[["render",Hc]]),Ef="",zc={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(o){this.$emit("update:modelValue",{username:o,password:this.password})}},password:{get(){return this.modelValue.password},set(o){this.$emit("update:modelValue",{username:this.username,password:o})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(o){this.$emit("click",o)},getRoute(o){return Y(o)},checkValidationStatus(o,n){o!=null&&(n==="username"?this.usernameValidationStatus=o==="success":n==="password"?this.passwordValidationStatus=o==="success":this.emailValidationStatus=o==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},jc={class:"cmd-login-form flex-container"},Uc={class:"flex-container"},Wc={class:"option-wrapper flex-container"},Gc={key:1},Jc=["href"],Kc={key:1},Xc=e.createTextVNode(" /> "),Yc={key:1},Qc=["type","disabled"],Zc={key:1},$c={class:"cmd-login-form flex-container"},vc={class:"option-wrapper flex-container"},ed={key:1},td=["type","disabled"],od={key:1};function nd(o,n,t,i,a,l){var m,h,f,u,y,p,k;const c=L,r=Q,s=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",jc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendLoginForm),3),t.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Uc,[e.createVNode(r,{element:"input",type:"text",name:t.cmdFormElementUsername.name,id:t.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=C=>l.username=C),fieldIconClass:t.cmdFormElementUsername.innerIconClass,labelText:t.cmdFormElementUsername.labelText,placeholder:t.cmdFormElementUsername.placeholder,required:t.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>l.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(r,{element:"input",type:"password",name:t.cmdFormElementPassword.name,id:t.cmdFormElementPassword.id,fieldIconClass:t.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=C=>l.password=C),labelText:t.cmdFormElementPassword.labelText,placeholder:t.cmdFormElementPassword.placeholder,required:t.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>l.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",Wc,[t.options.forgotPassword||t.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(C=>a.sendLogin=!0,["prevent"]))},[((m=t.options.forgotPassword.icon)==null?void 0:m.show)&&((h=t.options.forgotPassword.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.forgotPassword.icon.iconClass,type:t.options.forgotPassword.icon.iconType,title:t.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",Gc,e.toDisplayString(t.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.options.createAccount&&t.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:t.options.createAccount.path},[((f=t.options.createAccount.icon)==null?void 0:f.show)&&((u=t.options.createAccount.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.createAccount.icon.iconClass,type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",Kc,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,Jc)):t.options.createAccount&&t.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(d,{key:2,to:t.options.createAccount.path},{default:e.withCtx(()=>[t.options.createAccount.icon&&t.options.createAccount.icon.show&&t.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass(t.options.createAccount.icon.iconClass),type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),Xc,t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",Yc,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:t.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>l.onClick&&l.onClick(...C)),disabled:l.buttonLoginDisabled},[t.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.buttons.login.icon.iconClass,type:t.buttons.login.icon.iconType,title:t.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.buttons.login.text?(e.openBlock(),e.createElementBlock("span",Zc,e.toDisplayString(t.buttons.login.text),1)):e.createCommentVNode("",!0)],10,Qc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!a.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",$c,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendForgotLoginForm),3),t.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(r,{element:"input",type:"email",fieldIconClass:t.cmdFormElementSendLogin.innerIconClass,labelText:t.cmdFormElementSendLogin.labelText,placeholder:t.cmdFormElementSendLogin.placeholder,name:t.cmdFormElementSendLogin.name,required:t.cmdFormElementSendLogin.required,id:t.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>l.checkValidationStatus(C,"email")),modelValue:a.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>a.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",vc,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(C=>a.sendLogin=!1,["prevent"]))},[t.options.backToLoginForm&&t.options.backToLoginForm.icon&&t.options.backToLoginForm.icon.show&&t.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.backToLoginForm.icon.iconClass,type:t.options.backToLoginForm.icon.iconType,title:t.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",ed,e.toDisplayString(t.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),t.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:t.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.sendLogin.primary}]),disabled:l.buttonSendLoginDisabled},[(y=t.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=t.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=t.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",od,e.toDisplayString(t.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,td)):e.createCommentVNode("",!0)])],512),[[e.vShow,a.sendLogin]])],64)}const ld=S(zc,[["render",nd]]),Nf="",ad={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(o){o||(this.openEntry=-1),this.openSubentry=-1},executeLink(o,n,t,i){var a;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((a=n==null?void 0:n.subentries)!=null&&a.length){o.preventDefault(),i?this.openSubentry=this.openSubentry===t?-1:t:(this.openEntry=this.openEntry===t?-1:t,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(o.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(o){return Y(o)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}}},id={key:0,class:"close-nav"},sd=["href","title","target","onClick"],rd={key:1},cd={key:1},dd=["aria-expanded"],md=["href","title","target","onClick"],hd={key:1},ud={key:1},fd=["aria-expanded"],pd=["href","title","target","onClick"],gd={key:1},yd={key:1};function kd(o,n,t,i,a,l){const c=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!a.showSubNavigations,"open-off-canvas":a.showOffcanvas,"persist-on-mobile":t.persistOnMobile,"show-content-overlay":t.showContentOverlay}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":t.stretchMainItems})},[a.showOffcanvas?(e.openBlock(),e.createElementBlock("li",id,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...s),["prevent"]))},[t.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.closeOffcanvas.iconClass,type:t.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.closeOffcanvas.showText})},e.toDisplayString(t.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.navigationEntries,(s,d)=>{var m,h,f;return e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:s.active,open:a.openEntry===d,"has-subentries":(m=s==null?void 0:s.subentries)==null?void 0:m.length})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,title:s.tooltip,target:s.target,onClick:u=>l.executeLink(u,s,d),onMouseover:n[1]||(n[1]=u=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=u=>l.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",rd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),(h=s==null?void 0:s.subentries)!=null&&h.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,sd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",cd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),s.subentries&&s.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(f=s==null?void 0:s.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":a.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:a.openSubentry===y})},[u.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:u.path,title:u.tooltip,target:u.target,onClick:p=>l.executeLink(p,u,y,1),onMouseover:n[3]||(n[3]=p=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>l.closeAllSubentries(1))},[u.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,md)):e.createCommentVNode("",!0),u.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(u),title:u.tooltip},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",ud,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),u.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":a.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:C=>l.executeLink(C,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",gd,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,pd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",yd,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,fd)):e.createCommentVNode("",!0)],2))),128))],8,dd)):e.createCommentVNode("",!0)],2)}),128))],2)]),t.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:t.buttonOffcanvas.iconClass,type:t.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.buttonOffcanvas.showText})},e.toDisplayString(t.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const ro=S(ad,[["render",kd]]),Tf="",Cd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(o,n){this.activeLink=n,this.$emit("click",{event:o,index:n,stepPath:this.multisteps[n].path})},getRoute(o){return Y(o)}}},_d={class:"cmd-multistep-form-progress-bar"},Bd=["href","onClick","title"],bd={key:0,class:"number"},wd={key:2},Sd={key:0,class:"number"},Vd={key:2},xd=["type","name","title","formaction","onClick"],Ed={key:0,class:"number"},Nd={key:2};function Td(o,n,t,i,a,l){const c=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",_d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.multisteps,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:a.activeLink===d})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>l.clickedStep(m,d),["stop","prevent"]),title:s.tooltip},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",bd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,Bd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Sd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),s.type==="button"||s.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:s.type,name:s.name,title:s.tooltip,formaction:s.formaction,onClick:e.withModifiers(m=>l.clickedStep(m,d),["stop","prevent"])},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Ed,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Nd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,xd)):e.createCommentVNode("",!0)],2))),128))])}const Dd=S(Cd,[["render",Td]]),Df="";function Id(o,n,t,i=!0){function a(l,c){return c&&l<10?"0"+l:l}return(l,c)=>{if(t){let r=l,s=n;return r>12&&(r-=12,s=t),a(r,i)+o+a(c,!0)+s}return a(l,i)+o+a(c,!0)+n}}const Od={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const o=[];for(let n=0;n<this.openingHours.length;n++){const t={},i=this.openingHours[n].fromTime.split(/[:.]/),a=this.openingHours[n].tillTime.split(/[:.]/);t.day=this.openingHours[n].day,t.fromTime={hours:parseInt(i[0]),mins:parseInt(i[1])},t.tillTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.push(t)}return o},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let o=this.currentTime.getDay();o===0?o=6:o-=1;const n=this.openingHoursFormatted[o];if(this.openingHoursFormatted[o]){const t=new Date;t.setHours(n.fromTime.hours,n.fromTime.mins);const i=new Date;if(i.setHours(n.tillTime.hours,n.tillTime.mins),t<=this.currentTime&&this.currentTime<=i)return!1}return!0}},methods:{getTime(o){return this.timeFormatter?this.timeFormatter(o.hours,o.mins):Id(":"," hrs","",!1)(o.hours,o.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},Md={class:"cmd-opening-hours"},Fd=["href"],Ld={key:3},qd={key:0},Pd={key:1};function Ad(o,n,t,i,a,l){var s,d;const c=L,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Md,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.link&&((s=t.link)==null?void 0:s.path)&&((d=t.link)==null?void 0:d.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.link.path,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),11,Fd)):e.createCommentVNode("",!0),t.link.type==="router"?(e.openBlock(),e.createBlock(r,{key:1,to:t.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),t.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:l.isClosed}])},e.toDisplayString(l.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(l.getTime(m.fromTime))+"\u2013"+e.toDisplayString(l.getTime(m.tillTime)),1)],64))),128))]),t.textHolidaysClosed||t.textMiscInfo?(e.openBlock(),e.createElementBlock("div",Ld,[t.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",qd,[e.createElementVNode("strong",null,e.toDisplayString(t.textHolidaysClosed),1)])):e.createCommentVNode("",!0),t.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Pd,e.toDisplayString(t.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const Hd=S(Od,[["render",Ad]]),Rd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},If="",zd={name:"CmdPager",mixins:[j,Rd],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.items/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(o){return this.linkType!=="href"||this.currentPage===o?null:"#"},showPage(o){this.currentPage=o,this.$emit("click",o)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},jd={class:"cmd-pager"},Ud=["href","title"],Wd={key:0},Gd={class:"page-index"},Jd={class:"flex-container"},Kd=["href","title","onClick"],Xd=["href","title"],Yd={key:0};function Qd(o,n,t,i,a,l){const c=I;return e.openBlock(),e.createElementBlock("div",jd,[e.createElementVNode("a",{href:l.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:a.currentPage===1,button:t.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...r)=>l.previousPage&&l.previousPage(...r),["prevent"])),title:t.prevLink.showText?null:t.prevLink.text},[e.createVNode(c,{iconClass:t.prevLink.iconClass,type:t.prevLink.iconType},null,8,["iconClass","type"]),t.prevLink.showText?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(t.prevLink.text),1)):e.createCommentVNode("",!0)],10,Ud),e.createElementVNode("div",Gd,[e.createElementVNode("div",Jd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pages,(r,s)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(r),class:e.normalizeClass({disabled:a.currentPage===s+1,button:t.linkType==="button"}),title:a.currentPage!==s+1?o.getMessage("cmdpager.tooltip.go_to_page",s+1):o.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(d=>l.showPage(r),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(s+1),1)],10,Kd))),128))])]),e.createElementVNode("a",{href:l.getNextHref,class:e.normalizeClass(["page-change",{disabled:a.currentPage===l.numberOfPages,button:t.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...r)=>l.nextPage&&l.nextPage(...r),["prevent"])),title:t.nextLink.showText?null:t.nextLink.text},[t.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(t.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:t.nextLink.iconClass,type:t.nextLink.iconType},null,8,["iconClass","type"])],10,Xd)])}const Zd=S(zd,[["render",Qd]]),Of="",$d={name:"CmdProgressBar",inheritAttrs:!1,data(){return{loadingStatus:30}},props:{labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showLoadingStatus:{type:Boolean,default:!0},id:{type:String,required:!0}}},vd=["for"],em={class:"progressbar"},tm={key:0},om=["id","value"];function nm(o,n,t,i,a,l){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:t.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},e.toDisplayString(t.labelText),3),e.createElementVNode("span",em,[t.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",tm,e.toDisplayString(a.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(o.$attrs,{id:t.id,value:a.loadingStatus}),null,16,om)])],8,vd)}const lm=S($d,[["render",nm]]),Mf="",am={name:"CmdShareButtons",data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,required:!1},stretchButtons:{type:Boolean,default:!1},shareButtons:{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!"},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}}}},computed:{validShareButtons(){return this.shareButtons.filter(o=>o.path)}},methods:{getUrl(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?o.path+encodeURIComponent(this.page):o.path+encodeURIComponent(location.href):o.path:"#"},preventOnDisabled(o){let n=o.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&o.preventDefault()},tooltip(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?o:this.tooltipAcceptDataPrivacy}}},im={class:"share-button-wrapper"},sm=["id","href","title"],rm={key:1};function cm(o,n,t,i,a,l){const c=Q,r=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-share-buttons",{stretch:t.stretchButtons,"align-right":t.align==="right"}])},[t.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:"checkbox","toggle-switch":t.cmdFormElement.toggleSwitch,labelText:t.cmdFormElement.labelText,required:t.cmdFormElement.required,modelValue:a.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=s=>a.dataPrivacyAccepted=s)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("div",im,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validShareButtons,s=>(e.openBlock(),e.createElementBlock("a",{key:s.path,class:e.normalizeClass(["button",{disabled:t.userMustAcceptDataPrivacy&&!a.dataPrivacyAccepted}]),id:s.id,href:l.getUrl(s),onClick:n[1]||(n[1]=(...d)=>l.preventOnDisabled&&l.preventOnDisabled(...d)),target:"_blank",title:l.tooltip(s.tooltip)},[s.iconClass&&s.iconPosition!=="right"?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.linkText?(e.openBlock(),e.createElementBlock("span",rm,e.toDisplayString(s.linkText),1)):e.createCommentVNode("",!0),s.iconClass&&s.iconPosition==="right"?(e.openBlock(),e.createBlock(r,{key:2,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],10,sm))),128))])],2)}const dm=S(am,[["render",cm]]),Ff="",mm={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},hm={class:"cmd-site-footer"};function um(o,n,t,i,a,l){return e.openBlock(),e.createElementBlock("div",hm,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:t.orientation==="vertical"}])},[e.renderSlot(o.$slots,"default")],2)])}const fm=S(mm,[["render",um]]),Lf="",pm={name:"CmdSiteHeader",props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}}},gm={key:0,class:"top-header"};function ym(o,n,t,i,a,l){var s,d,m,h,f,u,y,p;const c=oo,r=ro;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:t.sticky,"navigation-inline":t.navigationInline}]),role:"banner"},[o.$slots.topheader?(e.openBlock(),e.createElementBlock("div",gm,[e.renderSlot(o.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([t.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((d=(s=t.cmdMainNavigation)==null?void 0:s.navigationEntries)==null?void 0:d.length)&&t.navigationInline||o.$slots.navigation}])},[o.$slots.logo||o.$slots.header||o.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(o.$slots,"logo"),e.renderSlot(o.$slots,"header"),e.renderSlot(o.$slots,"navigation")],64)):e.createCommentVNode("",!0),t.cmdCompanyLogo||((h=(m=t.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:h.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((u=(f=t.cmdMainNavigation)==null?void 0:f.navigationEntries)==null?void 0:u.length)&&t.navigationInline?(e.openBlock(),e.createBlock(r,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((p=(y=t.cmdMainNavigation)==null?void 0:y.navigationEntries)==null?void 0:p.length)&&!t.navigationInline?(e.openBlock(),e.createBlock(r,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],2)}const km=S(pm,[["render",ym]]),Cm={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"}}}},qf="",_m={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[j,Cm],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,default(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}]}}},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(o){this.$emit("update:modelValueInput1",o)}},searchValue2:{get(){return this.modelValueInput2},set(o){this.$emit("update:modelValueInput2",o)}},radius:{get(){return this.modelValueRadius},set(o){this.$emit("update:modelValueRadius",o)}},searchFilters:{get(){return this.modelValueSearchFilters},set(o){this.$emit("update:modelValueSearchFilters",o)}},buttonSearchDisabled(){const o=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),t=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(o&&n&&t)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(o){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(o===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var o,n;((o=this.cmdFormElementRadius)==null?void 0:o.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Bm={class:"cmd-box-site-search flex-container"},bm={class:"flex-container align-bottom"},wm={class:"flex-container align-bottom no-gap"},Sm={key:0},Vm={key:1},xm={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Em(o,n,t,i,a,l){var h,f,u,y,p,k,C,V,O,g;const c=L,r=Q,s=I,d=lo,m=ao;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Bm,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",bm,[e.createVNode(r,{element:"input",type:t.cmdFormElementInput1.type,"show-label":t.cmdFormElementInput1.showLabel,labelText:t.cmdFormElementInput1.labelText,placeholder:t.cmdFormElementInput1.placeholder,required:t.cmdFormElementInput1.required,showSearchButton:t.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=N=>l.searchValue1=N)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",wm,[t.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(r,{key:0,element:"input",type:t.cmdFormElementInput2.type,"show-label":t.cmdFormElementInput2.showLabel,labelText:t.cmdFormElementInput2.labelText,placeholder:t.cmdFormElementInput2.placeholder,required:t.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=N=>l.searchValue2=N)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),t.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(r,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=N=>l.radius=N),"show-label":t.cmdFormElementRadius.showLabel,labelText:t.cmdFormElementRadius.labelText,"select-options":t.cmdFormElementRadius.selectOptions,required:t.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(r,{element:"button",nativeButton:t.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(h=t.cmdFakeSelect)!=null&&h.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(N=>a.showFilters=!a.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:a.showFilters?(u=(f=t.cmdIcon)==null?void 0:f.showFilters)==null?void 0:u.iconClass:(p=(y=t.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:a.showFilters?(C=(k=t.cmdIcon)==null?void 0:k.showFilters)==null?void 0:C.iconType:(O=(V=t.cmdIcon)==null?void 0:V.hideFilters)==null?void 0:O.iconType},null,8,["iconClass","type"]),a.showFilters?(e.openBlock(),e.createElementBlock("span",Sm,e.toDisplayString(o.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Vm,e.toDisplayString(o.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var N,b,E,D,F;return[a.showFilters&&((N=t.cmdFakeSelect)==null?void 0:N.selectData.length)?(e.openBlock(),e.createElementBlock("div",xm,[e.createVNode(d,{role:"option",selectData:(b=t.cmdFakeSelect)==null?void 0:b.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>l.searchFilters=T),defaultOptionName:(E=t.cmdFakeSelect)==null?void 0:E.defaultOptionName,type:(D=t.cmdFakeSelect)==null?void 0:D.type,labelText:(F=t.cmdFakeSelect)==null?void 0:F.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=t.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=N=>l.searchFilters=N),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Nm=S(_m,[["render",Em]]),Pf="",Tm=o=>!o.loaded,Dm=o=>o.images&&o.images.find(Tm),Im={name:"CmdSlideshow",data(){return{index:0,pause:!1,hnd:null,preloadComplete:!1,fullWidth:!1,currentSlotItem:0}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},methods:{showPrevItem(){this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1,this.preload(this.index)},showItem(o){o>=0&&o<this.slideshowItems.length&&(this.index=o,this.preload(this.index))},showNextItem(){this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0,this.preload(this.index)},setupSlider(){this.preload(),this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))},preload(o=0,n=2){if(!this.preloadComplete){for(let t=o,i=o+n,a=this.slideshowItems.length;t<i&&t<a;t++){const l=this.getDeviceImage(this.slideshowItems[t]);l&&!l.loaded&&(l.loaded=!0,new Image().src=l.imgPath)}this.preloadComplete=!this.slideshowItems.find(Dm)}},getDeviceImage(o){if(o===void 0||o.image===void 0)return null;const n=window.innerWidth,t={};for(let i=0,a=o.image.length;i<a;i++){const l=o.image[i];if(!l.image.maxWidth||n<=l.image.maxWidth)return t.image.srcSmall=l.image.srcSmall,t.image.alt=o.image.alt,t.image.tooltip=o.image.tooltip,t.figcaption.text=o.figcaption.text,t.figcaption.position=o.figcaption.position,t.figcaption.textAlign=o.figcaption.textAlign,t.figcaption.show=o.figcaption.show,t}return o.image.length?(t.image.srcSmall=o.image.srcSmall,t.image.alt=o.image.alt,t.image.tooltip=o.image.tooltip,t.figcaption.text=o.figcaption.text,t.figcaption.position=o.figcaption.position,t.figcaption.textAlign=o.figcaption.textAlign,t.figcaption.show=o.figcaption.show,t):null}},computed:{currentItem(){return this.slideshowItems.length<=this.index?null:this.getDeviceImage(this.slideshowItems[this.index])}},watch:{slideshowItems:{handler(){this.index=0,this.preloadComplete=!1,this.setupSlider()},immediate:!0}}},Om=["href","title"],Mm={key:0,class:"slideshow-item"},Fm={key:0},Lm=["onClick","aria-label"],qm={key:1};function Pm(o,n,t,i,a,l){const c=ae,r=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":a.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>a.pause=!0),onMouseleave:n[1]||(n[1]=s=>a.pause=!1)},[e.createVNode(c,{onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var s,d,m,h,f,u,y,p,k,C,V,O;return[(d=(s=l.currentItem)==null?void 0:s.link)!=null&&d.href?(e.openBlock(),e.createElementBlock("a",{href:(h=(m=l.currentItem)==null?void 0:m.link)==null?void 0:h.href,title:(u=(f=l.currentItem)==null?void 0:f.link)==null?void 0:u.tooltip,key:a.index},[l.currentItem&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",Mm,[e.createVNode(r,{image:(y=l.currentItem)==null?void 0:y.image,figcaption:(p=l.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])])):e.createCommentVNode("",!0)],8,Om)):l.currentItem&&!((C=(k=l.currentItem)==null?void 0:k.link)!=null&&C.href)&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",{key:a.index,class:"slideshow-item"},[e.createVNode(r,{image:(V=l.currentItem)==null?void 0:V.image,figcaption:(O=l.currentItem)==null?void 0:O.figcaption},null,8,["image","figcaption"])])):l.currentItem&&t.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:a.index,style:e.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[e.renderSlot(o.$slots,"item"+a.currentSlotItem)],4)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(l.showNextItem,["prevent"])},null,8,["onClick"]),t.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",Fm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.slideshowItems,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:d===a.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>a.index=d,["prevent"]),"aria-label":a.index},null,8,Lm)],2))),128))])):e.createCommentVNode("",!0),t.showCounter?(e.openBlock(),e.createElementBlock("span",qm,e.toDisplayString(a.index+1)+"/"+e.toDisplayString(t.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const Am=S(Im,[["render",Pm]]),Af="",Hm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(o){return Y(o)},activeLanguage(o){return o.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async o=>{const t="../assets/images/flags/flag-"+o.iso2+".svg",{default:i}=await import(t);this.imageSources.push(i)})},immediate:!0,deep:!0}}},Rm={class:"cmd-switch-language"},zm=["href","title","onClick"],jm=["src","alt"],Um=["src","alt"];function Wm(o,n,t,i,a,l){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Rm,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.languages,(r,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[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:d=>o.$emit("click",{originalEvent:d,language:r})},[e.createElementVNode("img",{src:a.imageSources[s],alt:r.name},null,8,jm)],10,zm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",r.iso2]),to:l.getRoute(r),title:r.tooltip,onClick:d=>o.$emit("click",{originalEvent:d,language:r})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:a.imageSources[s],alt:r.name},null,8,Um)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const Gm=S(Hm,[["render",Wm]]),Hf="",Jm={name:"CmdSystemMessage",mixins:[ie],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},Km=["role","aria-labelledby"],Xm=["title"];function Ym(o,n,t,i,a,l){const c=I,r=L;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":t.fullWidth},t.validationStatus]),role:t.validationStatus==="error"?"alert":"dialog","aria-labelledby":o.htmlId},[t.iconClose.show&&t.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>a.showSystemMessage=!1,["prevent"])),title:t.iconClose.tooltip},[e.createVNode(c,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,Xm)):e.createCommentVNode("",!0),e.createVNode(r,{class:"message-headline",headlineIcon:l.headlineIcon,headlineText:t.systemMessage,headlineLevel:t.messageHeadlineLevel,id:o.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(o.$slots,"default")],10,Km)):e.createCommentVNode("",!0)]),_:3})}const co=S(Jm,[["render",Ym]]),Rf="",Qm={name:"CmdTable",data(){return{showTableData:!0,fullWidth:this.fullWidthOnDefault}},props:{tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Collapse table"}}},iconToggleWidth:{type:Object,default:function(){return{iconClass:"icon-toggle-table-width",tooltip:"Toggle table width"}}},iconStretch:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",tooltip:"Stretch table"}}}},computed:{hasCaption(){var o,n;return this.hideCaption?!1:((o=this.tableData.caption)==null?void 0:o.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var o,n,t;return((o=this.caption)==null?void 0:o.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((t=this.tableData.caption)!=null&&t.show)}}},Zm={key:0,class:"button-wrapper"},$m=["title"],vm=["title"],eh={class:"inner-wrapper"},th={"aria-expanded":"true"},oh={key:0,"aria-expanded":"true"};function nh(o,n,t,i,a,l){var r,s,d,m;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!a.showTableData,"full-width":a.fullWidth,"has-caption":l.hasCaption}])},[t.collapsible||t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",Zm,[t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(h=>a.fullWidth=!a.fullWidth,["prevent"])),title:t.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:t.iconToggleWidth.iconClass,type:t.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,$m)):e.createCommentVNode("",!0),t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(h=>a.showTableData=!a.showTableData,["prevent"])),title:a.showTableData?t.iconCollapse.tooltip:t.iconExpand.tooltip},[e.createVNode(c,{iconClass:a.showTableData?t.iconCollapse.iconClass:t.iconExpand.iconClass,type:a.showTableData?t.iconCollapse.iconType:t.iconExpand.iconType},null,8,["iconClass","type"])],8,vm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",eh,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":a.fullWidth})},[((r=t.tableData.caption)==null?void 0:r.text)||((s=t.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((d=t.caption)==null?void 0:d.text)||((m=t.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.thead,(h,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(h),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",th,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tbody,(h,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({highlighted:t.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h,(u,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(u),3))),128))],2))),128))],512),[[e.vShow,a.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.tableData.tfoot&&t.tableData.tfoot.length&&a.showTableData?(e.openBlock(),e.createElementBlock("tfoot",oh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tfoot,(h,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(h),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const lh=S(Qm,[["render",nh]]),ah={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
3
|
+
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
4
|
+
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
5
|
+
<path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32},Gf="";bt(ah);const ih={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(o){this.showTab=o,this.$emit("active-tab",o)}},watch:{activeTab(){this.showTab=this.activeTab}}},sh={class:"cmd-tabs"},rh=["onClick","title"],ch={key:1},dh={key:1,"aria-live":"assertive"},mh=["innerHTML"];function hh(o,n,t,i,a,l){const c=I,r=L;return e.openBlock(),e.createElementBlock("div",sh,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":t.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:a.showTab===d}),onClick:e.withModifiers(m=>l.setActiveTab(d),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,rh)]))),128))],2),t.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(o.$slots,"tab-content-"+(s-1))])),[[e.vShow,a.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",dh,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.mergeProps({key:0},t.cmdHeadline,{headlineText:t.tabs[a.showTab].headlineText,headlineLevel:t.tabs[a.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:t.tabs[a.showTab].htmlContent},null,8,mh)]))])}const uh=S(ih,[["render",hh]]),Jf="",fh={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{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 o=window.matchMedia("(prefers-color-scheme: dark)");o.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(o);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(o){this.darkMode=o.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(o){this.darkMode=o.detail==="dark-mode"}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode}},watch:{darkMode:{handler(){const o=document.documentElement;this.darkMode?o.classList.replace("light-mode","dark-mode"):o.classList.replace("dark-mode","light-mode"),o.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}};function ph(o,n,t,i,a,l){const c=Q;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":t.useStyledLayout,"dark-mode":a.darkMode}])},[e.createVNode(c,{element:"input",type:"checkbox",labelText:l.labelText,showLabel:t.showLabel,modelValue:a.darkMode,"onUpdate:modelValue":[n[0]||(n[0]=r=>a.darkMode=r),l.setColorScheme],"toggle-switch":!0,title:t.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"])],2)}const gh=S(fh,[["render",ph]]),yh={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function se(o){if(o){const n=o.lastIndexOf(".");if(n>-1)return o.substring(n+1)}return""}function kh(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var mo={exports:{}},Je={exports:{}},ho=function(n,t){return function(){for(var a=new Array(arguments.length),l=0;l<a.length;l++)a[l]=arguments[l];return n.apply(t,a)}},Ch=ho,Z=Object.prototype.toString;function Ke(o){return Z.call(o)==="[object Array]"}function Xe(o){return typeof o>"u"}function _h(o){return o!==null&&!Xe(o)&&o.constructor!==null&&!Xe(o.constructor)&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function Bh(o){return Z.call(o)==="[object ArrayBuffer]"}function bh(o){return typeof FormData<"u"&&o instanceof FormData}function wh(o){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(o):n=o&&o.buffer&&o.buffer instanceof ArrayBuffer,n}function Sh(o){return typeof o=="string"}function Vh(o){return typeof o=="number"}function uo(o){return o!==null&&typeof o=="object"}function Ce(o){if(Z.call(o)!=="[object Object]")return!1;var n=Object.getPrototypeOf(o);return n===null||n===Object.prototype}function xh(o){return Z.call(o)==="[object Date]"}function Eh(o){return Z.call(o)==="[object File]"}function Nh(o){return Z.call(o)==="[object Blob]"}function fo(o){return Z.call(o)==="[object Function]"}function Th(o){return uo(o)&&fo(o.pipe)}function Dh(o){return typeof URLSearchParams<"u"&&o instanceof URLSearchParams}function Ih(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function Oh(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ye(o,n){if(!(o===null||typeof o>"u"))if(typeof o!="object"&&(o=[o]),Ke(o))for(var t=0,i=o.length;t<i;t++)n.call(null,o[t],t,o);else for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&n.call(null,o[a],a,o)}function Qe(){var o={};function n(a,l){Ce(o[l])&&Ce(a)?o[l]=Qe(o[l],a):Ce(a)?o[l]=Qe({},a):Ke(a)?o[l]=a.slice():o[l]=a}for(var t=0,i=arguments.length;t<i;t++)Ye(arguments[t],n);return o}function Mh(o,n,t){return Ye(n,function(a,l){t&&typeof a=="function"?o[l]=Ch(a,t):o[l]=a}),o}function Fh(o){return o.charCodeAt(0)===65279&&(o=o.slice(1)),o}var H={isArray:Ke,isArrayBuffer:Bh,isBuffer:_h,isFormData:bh,isArrayBufferView:wh,isString:Sh,isNumber:Vh,isObject:uo,isPlainObject:Ce,isUndefined:Xe,isDate:xh,isFile:Eh,isBlob:Nh,isFunction:fo,isStream:Th,isURLSearchParams:Dh,isStandardBrowserEnv:Oh,forEach:Ye,merge:Qe,extend:Mh,trim:Ih,stripBOM:Fh},$=H;function po(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var go=function(n,t,i){if(!t)return n;var a;if(i)a=i(t);else if($.isURLSearchParams(t))a=t.toString();else{var l=[];$.forEach(t,function(s,d){s===null||typeof s>"u"||($.isArray(s)?d=d+"[]":s=[s],$.forEach(s,function(h){$.isDate(h)?h=h.toISOString():$.isObject(h)&&(h=JSON.stringify(h)),l.push(po(d)+"="+po(h))}))}),a=l.join("&")}if(a){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+a}return n},Lh=H;function _e(){this.handlers=[]}_e.prototype.use=function(n,t,i){return this.handlers.push({fulfilled:n,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1},_e.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},_e.prototype.forEach=function(n){Lh.forEach(this.handlers,function(i){i!==null&&n(i)})};var qh=_e,Ph=H,Ah=function(n,t){Ph.forEach(n,function(a,l){l!==t&&l.toUpperCase()===t.toUpperCase()&&(n[t]=a,delete n[l])})},yo=function(n,t,i,a,l){return n.config=t,i&&(n.code=i),n.request=a,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},Ze,ko;function Co(){if(ko)return Ze;ko=1;var o=yo;return Ze=function(t,i,a,l,c){var r=new Error(t);return o(r,i,a,l,c)},Ze}var $e,_o;function Hh(){if(_o)return $e;_o=1;var o=Co();return $e=function(t,i,a){var l=a.config.validateStatus;!a.status||!l||l(a.status)?t(a):i(o("Request failed with status code "+a.status,a.config,null,a.request,a))},$e}var ve,Bo;function Rh(){if(Bo)return ve;Bo=1;var o=H;return ve=o.isStandardBrowserEnv()?function(){return{write:function(i,a,l,c,r,s){var d=[];d.push(i+"="+encodeURIComponent(a)),o.isNumber(l)&&d.push("expires="+new Date(l).toGMTString()),o.isString(c)&&d.push("path="+c),o.isString(r)&&d.push("domain="+r),s===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(i){var a=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ve}var et,bo;function zh(){return bo||(bo=1,et=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),et}var tt,wo;function jh(){return wo||(wo=1,tt=function(n,t){return t?n.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):n}),tt}var ot,So;function Uh(){if(So)return ot;So=1;var o=zh(),n=jh();return ot=function(i,a){return i&&!o(a)?n(i,a):a},ot}var nt,Vo;function Wh(){if(Vo)return nt;Vo=1;var o=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 nt=function(i){var a={},l,c,r;return i&&o.forEach(i.split(`
|
6
|
+
`),function(d){if(r=d.indexOf(":"),l=o.trim(d.substr(0,r)).toLowerCase(),c=o.trim(d.substr(r+1)),l){if(a[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?a[l]=(a[l]?a[l]:[]).concat([c]):a[l]=a[l]?a[l]+", "+c:c}}),a},nt}var lt,xo;function Gh(){if(xo)return lt;xo=1;var o=H;return lt=o.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),a;function l(c){var r=c;return t&&(i.setAttribute("href",r),r=i.href),i.setAttribute("href",r),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return a=l(window.location.href),function(r){var s=o.isString(r)?l(r):r;return s.protocol===a.protocol&&s.host===a.host}}():function(){return function(){return!0}}(),lt}var at,Eo;function Be(){if(Eo)return at;Eo=1;function o(n){this.message=n}return o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,at=o,at}var it,No;function To(){if(No)return it;No=1;var o=H,n=Hh(),t=Rh(),i=go,a=Uh(),l=Wh(),c=Gh(),r=Co(),s=be(),d=Be();return it=function(h){return new Promise(function(u,y){var p=h.data,k=h.headers,C=h.responseType,V;function O(){h.cancelToken&&h.cancelToken.unsubscribe(V),h.signal&&h.signal.removeEventListener("abort",V)}o.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(h.auth){var N=h.auth.username||"",b=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";k.Authorization="Basic "+btoa(N+":"+b)}var E=a(h.baseURL,h.url);g.open(h.method.toUpperCase(),i(E,h.params,h.paramsSerializer),!0),g.timeout=h.timeout;function D(){if(!!g){var T="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,q=!C||C==="text"||C==="json"?g.responseText:g.response,P={data:q,status:g.status,statusText:g.statusText,headers:T,config:h,request:g};n(function(U){u(U),O()},function(U){y(U),O()},P),g=null}}if("onloadend"in g?g.onloadend=D:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(D)},g.onabort=function(){!g||(y(r("Request aborted",h,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(r("Network Error",h,null,g)),g=null},g.ontimeout=function(){var q=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",P=h.transitional||s.transitional;h.timeoutErrorMessage&&(q=h.timeoutErrorMessage),y(r(q,h,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},o.isStandardBrowserEnv()){var F=(h.withCredentials||c(E))&&h.xsrfCookieName?t.read(h.xsrfCookieName):void 0;F&&(k[h.xsrfHeaderName]=F)}"setRequestHeader"in g&&o.forEach(k,function(q,P){typeof p>"u"&&P.toLowerCase()==="content-type"?delete k[P]:g.setRequestHeader(P,q)}),o.isUndefined(h.withCredentials)||(g.withCredentials=!!h.withCredentials),C&&C!=="json"&&(g.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&g.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(V=function(T){!g||(y(!T||T&&T.type?new d("canceled"):T),g.abort(),g=null)},h.cancelToken&&h.cancelToken.subscribe(V),h.signal&&(h.signal.aborted?V():h.signal.addEventListener("abort",V))),p||(p=null),g.send(p)})},it}var st,Do;function be(){if(Do)return st;Do=1;var o=H,n=Ah,t=yo,i={"Content-Type":"application/x-www-form-urlencoded"};function a(s,d){!o.isUndefined(s)&&o.isUndefined(s["Content-Type"])&&(s["Content-Type"]=d)}function l(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=To()),s}function c(s,d,m){if(o.isString(s))try{return(d||JSON.parse)(s),o.trim(s)}catch(h){if(h.name!=="SyntaxError")throw h}return(m||JSON.stringify)(s)}var r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(d,m){return n(m,"Accept"),n(m,"Content-Type"),o.isFormData(d)||o.isArrayBuffer(d)||o.isBuffer(d)||o.isStream(d)||o.isFile(d)||o.isBlob(d)?d:o.isArrayBufferView(d)?d.buffer:o.isURLSearchParams(d)?(a(m,"application/x-www-form-urlencoded;charset=utf-8"),d.toString()):o.isObject(d)||m&&m["Content-Type"]==="application/json"?(a(m,"application/json"),c(d)):d}],transformResponse:[function(d){var m=this.transitional||r.transitional,h=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,u=!h&&this.responseType==="json";if(u||f&&o.isString(d)&&d.length)try{return JSON.parse(d)}catch(y){if(u)throw y.name==="SyntaxError"?t(y,this,"E_JSON_PARSE"):y}return d}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(d){return d>=200&&d<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return o.forEach(["delete","get","head"],function(d){r.headers[d]={}}),o.forEach(["post","put","patch"],function(d){r.headers[d]=o.merge(i)}),st=r,st}var Jh=H,Kh=be(),Xh=function(n,t,i){var a=this||Kh;return Jh.forEach(i,function(c){n=c.call(a,n,t)}),n},rt,Io;function Oo(){return Io||(Io=1,rt=function(n){return!!(n&&n.__CANCEL__)}),rt}var Mo=H,ct=Xh,Yh=Oo(),Qh=be(),Zh=Be();function dt(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new Zh("canceled")}var $h=function(n){dt(n),n.headers=n.headers||{},n.data=ct.call(n,n.data,n.headers,n.transformRequest),n.headers=Mo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Mo.forEach(["delete","get","head","post","put","patch","common"],function(a){delete n.headers[a]});var t=n.adapter||Qh.adapter;return t(n).then(function(a){return dt(n),a.data=ct.call(n,a.data,a.headers,n.transformResponse),a},function(a){return Yh(a)||(dt(n),a&&a.response&&(a.response.data=ct.call(n,a.response.data,a.response.headers,n.transformResponse))),Promise.reject(a)})},R=H,Fo=function(n,t){t=t||{};var i={};function a(m,h){return R.isPlainObject(m)&&R.isPlainObject(h)?R.merge(m,h):R.isPlainObject(h)?R.merge({},h):R.isArray(h)?h.slice():h}function l(m){if(R.isUndefined(t[m])){if(!R.isUndefined(n[m]))return a(void 0,n[m])}else return a(n[m],t[m])}function c(m){if(!R.isUndefined(t[m]))return a(void 0,t[m])}function r(m){if(R.isUndefined(t[m])){if(!R.isUndefined(n[m]))return a(void 0,n[m])}else return a(void 0,t[m])}function s(m){if(m in t)return a(n[m],t[m]);if(m in n)return a(void 0,n[m])}var d={url:c,method:c,data:c,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:s};return R.forEach(Object.keys(n).concat(Object.keys(t)),function(h){var f=d[h]||l,u=f(h);R.isUndefined(u)&&f!==s||(i[h]=u)}),i},mt,Lo;function qo(){return Lo||(Lo=1,mt={version:"0.24.0"}),mt}var vh=qo().version,ht={};["object","boolean","number","function","string","symbol"].forEach(function(o,n){ht[o]=function(i){return typeof i===o||"a"+(n<1?"n ":" ")+o}});var Po={};ht.transitional=function(n,t,i){function a(l,c){return"[Axios v"+vh+"] Transitional option '"+l+"'"+c+(i?". "+i:"")}return function(l,c,r){if(n===!1)throw new Error(a(c," has been removed"+(t?" in "+t:"")));return t&&!Po[c]&&(Po[c]=!0,console.warn(a(c," has been deprecated since v"+t+" and will be removed in the near future"))),n?n(l,c,r):!0}};function eu(o,n,t){if(typeof o!="object")throw new TypeError("options must be an object");for(var i=Object.keys(o),a=i.length;a-- >0;){var l=i[a],c=n[l];if(c){var r=o[l],s=r===void 0||c(r,l,o);if(s!==!0)throw new TypeError("option "+l+" must be "+s);continue}if(t!==!0)throw Error("Unknown option "+l)}}var tu={assertOptions:eu,validators:ht},Ao=H,ou=go,Ho=qh,Ro=$h,we=Fo,zo=tu,v=zo.validators;function re(o){this.defaults=o,this.interceptors={request:new Ho,response:new Ho}}re.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=we(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=n.transitional;t!==void 0&&zo.assertOptions(t,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(a=a&&f.synchronous,i.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var c;if(!a){var r=[Ro,void 0];for(Array.prototype.unshift.apply(r,i),r=r.concat(l),c=Promise.resolve(n);r.length;)c=c.then(r.shift(),r.shift());return c}for(var s=n;i.length;){var d=i.shift(),m=i.shift();try{s=d(s)}catch(h){m(h);break}}try{c=Ro(s)}catch(h){return Promise.reject(h)}for(;l.length;)c=c.then(l.shift(),l.shift());return c},re.prototype.getUri=function(n){return n=we(this.defaults,n),ou(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Ao.forEach(["delete","get","head","options"],function(n){re.prototype[n]=function(t,i){return this.request(we(i||{},{method:n,url:t,data:(i||{}).data}))}}),Ao.forEach(["post","put","patch"],function(n){re.prototype[n]=function(t,i,a){return this.request(we(a||{},{method:n,url:t,data:i}))}});var nu=re,ut,jo;function lu(){if(jo)return ut;jo=1;var o=Be();function n(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(c){i=c});var a=this;this.promise.then(function(l){if(!!a._listeners){var c,r=a._listeners.length;for(c=0;c<r;c++)a._listeners[c](l);a._listeners=null}}),this.promise.then=function(l){var c,r=new Promise(function(s){a.subscribe(s),c=s}).then(l);return r.cancel=function(){a.unsubscribe(c)},r},t(function(c){a.reason||(a.reason=new o(c),i(a.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]},n.prototype.unsubscribe=function(i){if(!!this._listeners){var a=this._listeners.indexOf(i);a!==-1&&this._listeners.splice(a,1)}},n.source=function(){var i,a=new n(function(c){i=c});return{token:a,cancel:i}},ut=n,ut}var ft,Uo;function au(){return Uo||(Uo=1,ft=function(n){return function(i){return n.apply(null,i)}}),ft}var pt,Wo;function iu(){return Wo||(Wo=1,pt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),pt}var Go=H,su=ho,Se=nu,ru=Fo,cu=be();function Jo(o){var n=new Se(o),t=su(Se.prototype.request,n);return Go.extend(t,Se.prototype,n),Go.extend(t,n),t.create=function(a){return Jo(ru(o,a))},t}var W=Jo(cu);W.Axios=Se,W.Cancel=Be(),W.CancelToken=lu(),W.isCancel=Oo(),W.VERSION=qo().version,W.all=function(n){return Promise.all(n)},W.spread=au(),W.isAxiosError=iu(),Je.exports=W,Je.exports.default=W,function(o){o.exports=Je.exports}(mo);const du=kh(mo.exports),Kf="",mu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[j,yh],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},deleteIcon:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},CmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(o=>o.includes("jpg"))},failedUpload(){return this.listOfFiles.some(o=>o.error)},totalBytesUploaded(){const o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return this.formatSize(o[1])+"/"+this.formatSize(o[0])},totalSize(){let o=0;for(let n=0;n<this.listOfFiles.length;n++)o=o+this.listOfFiles[n].file.size;return o},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 o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return o[1]/o[0]*100}},watch:{presetComment:{handler(o){this.comment=o},immediate:!0}},methods:{getPercentage(o){return o?o.toFixed(2)+"%":"0.00%"},getFileExtension(o){return se(o)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(o){this.dragOver(o)},dragOver(o){if(o.dataTransfer&&o.dataTransfer.items&&o.dataTransfer.items.length>0){o.dataTransfer.dropEffect="none";let n=!0;for(let t=0,i=o.dataTransfer.items.length;t<i;++t)if(o.dataTransfer.items[t].kind!=="file"){n=!1;break}n&&(o.preventDefault(),o.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(o){this.allowDrop=!1,o.dataTransfer&&o.dataTransfer.files&&o.dataTransfer.files.length>0&&(o.preventDefault(),this.checkFiles(o.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(o=>{o.abortController&&o.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(o){this.checkFiles(o.target.files)},checkFiles(o){if(!!o.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<o.length;n++){const t={file:o[n],progress:null,uploadedBytes:0};if(o[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",o[n].name,o[n].size));continue}if(!this.allowedFileExtensions.includes(se(o[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",o[n].name,se(o[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(i=>this.compareFiles(i.file,o[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",o[n].name,se(o[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(t);else{o.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[t];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(o,n){return o.name===n.name&&o.lastModified===n.lastModified&&o.size===n.size},removeFile(o){this.listOfFiles.splice(o,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(o){return o<1024?o:o<1048576?o=Math.round(o/1024*100)/100+" KB":o=Math.round(o/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 o=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([i,a])=>n.append(i,a)),this.enableComment&&n.append("comment",this.comment);const t=[];this.listOfFiles.forEach(i=>{t.push(this.uploadSingleFile(o,i,n))}),Promise.allSettled(t).then(i=>{const a=i.filter(l=>l.status==="rejected");this.uploadInitiated=!1,a.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:!a.length})})}else{let o={};o.listOfFiles=this.listOfFiles,o.type="upload",o.comment=this.comment,this.$emit("click",o,this.showMessage)}},onUploadProgress(o,n){o.lengthComputable?(n.progress=o.loaded/o.total*100,n.uploadedBytes=o.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(o,n,t){return n.abortController=new AbortController,t.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),du.post(o,t,{signal:n.abortController.signal,onUploadProgress:i=>this.onUploadProgress(i,n)}).then(i=>(this.$emit("upload-file-success",n),i)).then(i=>{const a=this.listOfFiles.indexOf(n);return a!==-1&&this.listOfFiles.splice(a,1),i}).catch(i=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(i),n.error=!0,new Error})},showMessage(o){o===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):o===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const o=Object.keys(this.resetForm);for(let n of o)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},hu={key:0},uu={key:1,class:"flex-container vertical"},fu={key:0,class:"flex-container vertical list-files-wrapper"},pu={key:0,class:"list-of-files total-files"},gu={class:"flex-container no-flex"},yu=["title"],ku={key:0,class:"progressbar"},Cu=["value","title"],_u=e.createElementVNode("hr",null,null,-1),Bu={class:"flex-container vertical list-files-wrapper"},bu={class:"list-of-files"},wu=["title","onClick"],Su={key:0,class:"progressbar"},Vu=["value","title"],xu=["title"],Eu=e.createElementVNode("hr",null,null,-1),Nu={class:"small"},Tu=["title"],Du={key:0,class:"list-of-file-extensions"},Iu=["disabled"],Ou={key:0},Mu={key:1},Fu={class:"button-wrapper no-flex"},Lu=["disabled"],qu={key:0},Pu={key:1},Au={key:0,class:"progressbar"},Hu=["value","title"];function Ru(o,n,t,i,a,l){const c=L,r=co,s=I,d=Q;return e.openBlock(),e.createElementBlock(e.Fragment,null,[t.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":a.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},t.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]:o.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",hu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":a.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[a.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",uu,[t.showTotalUpload&&a.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",fu,[e.createVNode(c,e.mergeProps(t.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),t.showTotalUpload&&a.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",pu,[e.createElementVNode("li",gu,[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:t.deleteIcon.iconClass,type:t.deleteIcon.iconClass},null,8,["iconClass","type"])],8,yu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(a.listOfFiles.length)+" ",1),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:t.maxTotalUploadSize>0&&l.totalSize>t.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),a.uploadInitiated?(e.openBlock(),e.createElementBlock("span",ku,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Cu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),_u])):e.createCommentVNode("",!0),e.createElementVNode("div",Bu,[e.createVNode(c,e.mergeProps(t.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",bu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.listOfFiles,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>l.removeFile(h),["prevent"])},[e.createVNode(s,{iconClass:o.iconDelete.iconClass,type:o.iconDelete.iconType},null,8,["iconClass","type"])],8,wu),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(m.file.size))+")",1)],2),a.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",Su,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,Vu)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:o.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(o.getMessage("cmduploadform.reset_upload")),9,xu)):e.createCommentVNode("",!0),Eu])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),t.allowMultipleFileUploads&&a.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},t.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&a.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},t.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",Nu,[t.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>t.maxTotalUploadSize})},e.toDisplayString(o.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>t.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(t.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:a.errors.fileSize})},e.toDisplayString(o.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:a.errors.fileSize}])},e.toDisplayString(l.formatSize(t.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:a.errors.fileType})},e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>a.showListOfFileExtensions=!a.showListOfFileExtensions,["prevent"])),title:o.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:a.showListOfFileExtensions?t.iconInvisible.iconClass:t.iconVisible.iconClass,type:a.showListOfFileExtensions?t.iconInvisible.iconType:t.iconVisible.iconType},null,8,["iconClass","type"])],8,Tu),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",Du,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.allowedFileExtensions,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:e.normalizeClass({error:a.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:a.uploadInitiated}]),disabled:a.uploadInitiated,onClick:n[3]||(n[3]=m=>l.selectFiles())},[e.createVNode(s,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"]),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",Ou,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",Mu,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_file")),1))],10,Iu),t.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:a.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop"))+" ",1),t.allowMultipleFileUploads&&a.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&a.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),t.enableComment?(e.openBlock(),e.createBlock(d,{key:2,element:"textarea",labelText:o.getMessage("cmduploadform.labeltext.comment"),modelValue:a.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>a.comment=m),required:t.commentRequired,validationMessage:t.commentStatusMessage,placeholder:o.getMessage("cmduploadform.placeholder.comment"),status:t.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",Fu,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:a.listOfFiles.length===0||t.maxTotalUploadSize>0&&l.totalSize>t.maxTotalUploadSize||a.uploadInitiated}]),disabled:a.listOfFiles.length===0||t.maxTotalUploadSize>0&&l.totalSize>t.maxTotalUploadSize||a.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[e.createVNode(s,{iconClass:t.iconUpload.iconClass,type:t.iconUpload.iconType},null,8,["iconClass","type"]),a.listOfFiles.length===1||!t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",qu,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",Pu,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_files")),1))],10,Lu),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:a.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>l.cancel&&l.cancel(...m))},[e.createVNode(s,{iconClass:t.iconCancel.iconClass,type:t.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":a.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[a.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Au,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Hu)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[t.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:t.iconImage.iconClass,type:t.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:t.iconDragAndDrop.iconClass,type:t.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(t.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(t.allowedFileExtensions),1)])],16)),e.createVNode(d,{element:"input",type:"file",labelText:o.getMessage("cmduploadform.labeltext.select_files"),disabled:a.uploadInitiated,multiple:t.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const zu=S(mu,[["render",Ru]]),Xf="",ju={name:"CmdWidthLimitationWrapper",components:{CmdHeadline:L},props:{innerComponent:{type:String,default:"section",validator(o){return o}},innerWrapper:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},Uu=["id"],Wu=["id"];function Gu(o,n,t,i,a,l){const c=L;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:t.sticky}])},[t.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass)},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,Uu)):e.createCommentVNode("",!0),t.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,"pre-headline-text":t.cmdHeadline.preHeadlineText,"headline-text":t.cmdHeadline.headlineText,"headline-level":t.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,Wu)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],64))],2)}const Ju=S(ju,[["render",Gu]]),Ku={mounted(o){if(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.tagName==="A")o.focus();else{const n=o.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+o.tagName+" found!")}}},Xu={mounted(o,n){if(n.value&&typeof n.value=="string"){let t=/[^\d]/g,i=n.value.replace(/^\s*\+/,"00");o.href="tel:"+i.replace(t,"")}}};function Yu(){const o={};e.onBeforeUpdate(i);function n(a="defaultSequence"){const l=o[a]||0;return o[a]=l+1,o[a]}function t(a="defaultSequence"){return o[a]||0}function i(a="defaultSequence"){o[a]&&(o[a]=0)}return{nextSequenceValue:n,currentSequenceValue:t,resetSequence:i}}B.CmdAddressData=ka,B.CmdBackToTopButton=ba,B.CmdBankAccountData=Ta,B.CmdBox=vt,B.CmdBoxWrapper=ts,B.CmdBreadcrumbs=hs,B.CmdCompanyLogo=oo,B.CmdCookieDisclaimer=Vr,B.CmdCopyrightInformation=Dr,B.CmdFakeSelect=lo,B.CmdFancyBox=si,B.CmdForm=nc,B.CmdFormElement=Q,B.CmdFormFilters=ao,B.CmdGoogleMaps=fc,B.CmdHeadline=L,B.CmdIcon=I,B.CmdImage=K,B.CmdImageGallery=_c,B.CmdImageZoom=Nc,B.CmdInputGroup=Rc,B.CmdListOfLinks=Qt,B.CmdLoginForm=ld,B.CmdMainNavigation=ro,B.CmdMultistepFormProgressBar=Dd,B.CmdOpeningHours=Hd,B.CmdPager=Zd,B.CmdProgressBar=lm,B.CmdShareButtons=dm,B.CmdSiteFooter=fm,B.CmdSiteHeader=km,B.CmdSiteSearch=Nm,B.CmdSlideButton=ae,B.CmdSlideshow=Am,B.CmdSwitchLanguage=Gm,B.CmdSystemMessage=co,B.CmdTable=lh,B.CmdTabs=uh,B.CmdThumbnailScroller=Jt,B.CmdToggleDarkMode=gh,B.CmdTooltip=no,B.CmdUploadForm=zu,B.CmdWidthLimitationWrapper=Ju,B.DirFocus=Ku,B.DirTelephone=Xu,B.createHtmlId=Xt,B.createUuid=Kt,B.getFileExtension=se,B.openFancyBox=ke,B.useSequence=Yu,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|