comand-component-library 4.0.88 → 4.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,25 @@
1
- (function(_,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(_=typeof globalThis<"u"?globalThis:_||self,e(_["comand-component-library"]={},_.Vue))})(this,function(_,e){"use strict";var D0=Object.defineProperty;var A0=(_,e,le)=>e in _?D0(_,e,{enumerable:!0,configurable:!0,writable:!0,value:le}):_[e]=le;var Xe=(_,e,le)=>A0(_,typeof e!="symbol"?e+"":e,le);const le=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ye=(t,n,o,r="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),c=i.pop(),d={provider:i.length>0?i[0]:r,prefix:c,name:s};return n&&!Qe(d)?null:d}const l=i[0],a=l.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return n&&!Qe(s)?null:s}if(o&&r===""){const s={provider:r,prefix:"",name:l};return n&&!Qe(s,o)?null:s}return null},Qe=(t,n)=>t?!!((t.provider===""||t.provider.match(le))&&(n&&t.prefix===""||t.prefix.match(le))&&t.name.match(le)):!1,on=Object.freeze({left:0,top:0,width:16,height:16}),$e=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ve=Object.freeze({...on,...$e}),Lt=Object.freeze({...ve,body:"",hidden:!1});function sr(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const r=((t.rotate||0)+(n.rotate||0))%4;return r&&(o.rotate=r),o}function nn(t,n){const o=sr(t,n);for(const r in Lt)r in $e?r in t&&!(r in o)&&(o[r]=$e[r]):r in n?o[r]=n[r]:r in t&&(o[r]=t[r]);return o}function cr(t,n){const o=t.icons,r=t.aliases||{},i=Object.create(null);function l(a){if(o[a])return i[a]=[];if(!(a in i)){i[a]=null;const s=r[a]&&r[a].parent,c=s&&l(s);c&&(i[a]=[s].concat(c))}return i[a]}return Object.keys(o).concat(Object.keys(r)).forEach(l),i}function dr(t,n,o){const r=t.icons,i=t.aliases||{};let l={};function a(s){l=nn(r[s]||i[s],l)}return a(n),o.forEach(a),nn(t,l)}function ln(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{n(i,null),o.push(i)});const r=cr(t);for(const i in r){const l=r[i];l&&(n(i,dr(t,i,l)),o.push(i))}return o}const mr={provider:"",aliases:{},not_found:{},...on};function Dt(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function rn(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Dt(t,mr))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(le)||typeof l.body!="string"||!Dt(l,Lt))return null}const r=n.aliases||{};for(const i in r){const l=r[i],a=l.parent;if(!i.match(le)||typeof a!="string"||!o[a]&&!r[a]||!Dt(l,Lt))return null}return n}const an=Object.create(null);function fr(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function he(t,n){const o=an[t]||(an[t]=Object.create(null));return o[n]||(o[n]=fr(t,n))}function At(t,n){return rn(n)?ln(n,(o,r)=>{r?t.icons[o]=r:t.missing.add(o)}):[]}function ur(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let Ne=!1;function sn(t){return typeof t=="boolean"&&(Ne=t),Ne}function hr(t){const n=typeof t=="string"?Ye(t,!0,Ne):t;if(n){const o=he(n.provider,n.prefix),r=n.name;return o.icons[r]||(o.missing.has(r)?null:void 0)}}function pr(t,n){const o=Ye(t,!0,Ne);if(!o)return!1;const r=he(o.provider,o.prefix);return ur(r,o.name,n)}function cn(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),Ne&&!n&&!t.prefix){let i=!1;return rn(t)&&(t.prefix="",ln(t,(l,a)=>{a&&pr(l,a)&&(i=!0)})),i}const o=t.prefix;if(!Qe({provider:n,prefix:o,name:"a"}))return!1;const r=he(n,o);return!!At(r,t)}const dn=Object.freeze({width:null,height:null}),mn=Object.freeze({...dn,...$e}),gr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,yr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fn(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const r=t.split(gr);if(r===null||!r.length)return t;const i=[];let l=r.shift(),a=yr.test(l);for(;;){if(a){const s=parseFloat(l);isNaN(s)?i.push(l):i.push(Math.ceil(s*n*o)/o)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");a=!a}}function kr(t,n){const o={...ve,...t},r={...mn,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,r].forEach(u=>{const h=[],b=u.hFlip,g=u.vFlip;let B=u.rotate;b?g?B+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let w;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:w=i.height/2+i.top,h.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:w=i.width/2+i.left,h.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}B%2===1&&(i.left!==i.top&&(w=i.left,i.left=i.top,i.top=w),i.width!==i.height&&(w=i.width,i.width=i.height,i.height=w)),h.length&&(l='<g transform="'+h.join(" ")+'">'+l+"</g>")});const a=r.width,s=r.height,c=i.width,d=i.height;let m,f;return a===null?(f=s===null?"1em":s==="auto"?d:s,m=fn(f,c/d)):(m=a==="auto"?c:a,f=s===null?fn(m,d/c):s==="auto"?d:s),{attributes:{width:m.toString(),height:f.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+d.toString()},body:l}}const br=/\sid="(\S+)"/g,Cr="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Br=0;function wr(t,n=Cr){const o=[];let r;for(;r=br.exec(t);)o.push(r[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(Br++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const Rt=Object.create(null);function xr(t,n){Rt[t]=n}function qt(t){return Rt[t]||Rt[""]}function zt(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Ht=Object.create(null),Oe=["https://api.simplesvg.com","https://api.unisvg.com"],et=[];for(;Oe.length>0;)Oe.length===1||Math.random()>.5?et.push(Oe.shift()):et.push(Oe.pop());Ht[""]=zt({resources:["https://api.iconify.design"].concat(et)});function _r(t,n){const o=zt(n);return o===null?!1:(Ht[t]=o,!0)}function jt(t){return Ht[t]}let un=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function Sr(t,n){const o=jt(t);if(!o)return 0;let r;if(!o.maxURL)r=0;else{let i=0;o.resources.forEach(a=>{i=Math.max(i,a.length)});const l=n+".json?icons=";r=o.maxURL-i-o.path.length-l.length}return r}function Er(t){return t===404}const Tr=(t,n,o)=>{const r=[],i=Sr(t,n),l="icons";let a={type:l,provider:t,prefix:n,icons:[]},s=0;return o.forEach((c,d)=>{s+=c.length+1,s>=i&&d>0&&(r.push(a),a={type:l,provider:t,prefix:n,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function Vr(t){if(typeof t=="string"){const n=jt(t);if(n)return n.path}return"/"}const Nr={prepare:Tr,send:(t,n,o)=>{if(!un){o("abort",424);return}let r=Vr(n.provider);switch(n.type){case"icons":{const l=n.prefix,s=n.icons.join(","),c=new URLSearchParams({icons:s});r+=l+".json?"+c.toString();break}case"custom":{const l=n.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:o("abort",400);return}let i=503;un(t+r).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{o(Er(a)?"abort":"next",a)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{o("next",i)});return}setTimeout(()=>{o("success",l)})}).catch(()=>{o("next",i)})}};function Or(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return t.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,a=i.prefix,s=i.name,c=o[l]||(o[l]=Object.create(null)),d=c[a]||(c[a]=he(l,a));let m;s in d.icons?m=n.loaded:a===""||d.missing.has(s)?m=n.missing:m=n.pending;const f={provider:l,prefix:a,name:s};m.push(f)}),n}function hn(t,n){t.forEach(o=>{const r=o.loaderCallbacks;r&&(o.loaderCallbacks=r.filter(i=>i.id!==n))})}function Fr(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const r=t.provider,i=t.prefix;n.forEach(l=>{const a=l.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==i)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:r,prefix:i,name:d});else if(t.missing.has(d))a.missing.push({provider:r,prefix:i,name:d});else return o=!0,!0;return!1}),a.pending.length!==s&&(o||hn([t],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let Ir=0;function Mr(t,n,o){const r=Ir++,i=hn.bind(null,o,r);if(!n.pending.length)return i;const l={id:r,icons:n,callback:t,abort:i};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),i}function Pr(t,n=!0,o=!1){const r=[];return t.forEach(i=>{const l=typeof i=="string"?Ye(i,n,o):i;l&&r.push(l)}),r}var Lr={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Dr(t,n,o,r){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let a;if(t.random){let C=t.resources.slice(0);for(a=[];C.length>1;){const E=Math.floor(Math.random()*C.length);a.push(C[E]),C=C.slice(0,E).concat(C.slice(E+1))}a=a.concat(C)}else a=t.resources.slice(l).concat(t.resources.slice(0,l));const s=Date.now();let c="pending",d=0,m,f=null,p=[],u=[];typeof r=="function"&&u.push(r);function h(){f&&(clearTimeout(f),f=null)}function b(){c==="pending"&&(c="aborted"),h(),p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function g(C,E){E&&(u=[]),typeof C=="function"&&u.push(C)}function B(){return{startTime:s,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:b}}function w(){c="failed",u.forEach(C=>{C(void 0,m)})}function x(){p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function T(C,E,I){const A=E!=="success";switch(p=p.filter(P=>P!==C),c){case"pending":break;case"failed":if(A||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=I,w();return}if(A){m=I,p.length||(a.length?F():w());return}if(h(),x(),!t.random){const P=t.resources.indexOf(C.resource);P!==-1&&P!==t.index&&(t.index=P)}c="completed",u.forEach(P=>{P(I)})}function F(){if(c!=="pending")return;h();const C=a.shift();if(C===void 0){if(p.length){f=setTimeout(()=>{h(),c==="pending"&&(x(),w())},t.timeout);return}w();return}const E={status:"pending",resource:C,callback:(I,A)=>{T(E,I,A)}};p.push(E),d++,f=setTimeout(F,t.rotate),o(C,n,E.callback)}return setTimeout(F),B}function pn(t){const n={...Lr,...t};let o=[];function r(){o=o.filter(s=>s().status==="pending")}function i(s,c,d){const m=Dr(n,s,c,(f,p)=>{r(),d&&d(f,p)});return o.push(m),m}function l(s){return o.find(c=>s(c))||null}return{query:i,find:l,setIndex:s=>{n.index=s},getIndex:()=>n.index,cleanup:r}}function gn(){}const Ut=Object.create(null);function Ar(t){if(!Ut[t]){const n=jt(t);if(!n)return;const o=pn(n),r={config:n,redundancy:o};Ut[t]=r}return Ut[t]}function Rr(t,n,o){let r,i;if(typeof t=="string"){const l=qt(t);if(!l)return o(void 0,424),gn;i=l.send;const a=Ar(t);a&&(r=a.redundancy)}else{const l=zt(t);if(l){r=pn(l);const a=t.resources?t.resources[0]:"",s=qt(a);s&&(i=s.send)}}return!r||!i?(o(void 0,424),gn):r.query(n,i,o)().abort}const yn="iconify2",Fe="iconify",kn=Fe+"-count",bn=Fe+"-version",Cn=36e5,qr=168;function Wt(t,n){try{return t.getItem(n)}catch{}}function Gt(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Bn(t,n){try{t.removeItem(n)}catch{}}function Jt(t,n){return Gt(t,kn,n.toString())}function Kt(t){return parseInt(Wt(t,kn))||0}const tt={local:!0,session:!0},wn={local:new Set,session:new Set};let Zt=!1;function zr(t){Zt=t}let ot=typeof window>"u"?{}:window;function xn(t){const n=t+"Storage";try{if(ot&&ot[n]&&typeof ot[n].length=="number")return ot[n]}catch{}tt[t]=!1}function _n(t,n){const o=xn(t);if(!o)return;const r=Wt(o,bn);if(r!==yn){if(r){const s=Kt(o);for(let c=0;c<s;c++)Bn(o,Fe+c.toString())}Gt(o,bn,yn),Jt(o,0);return}const i=Math.floor(Date.now()/Cn)-qr,l=s=>{const c=Fe+s.toString(),d=Wt(o,c);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,s))return!0}catch{}Bn(o,c)}};let a=Kt(o);for(let s=a-1;s>=0;s--)l(s)||(s===a-1?(a--,Jt(o,a)):wn[t].add(s))}function Sn(){if(!Zt){zr(!0);for(const t in tt)_n(t,n=>{const o=n.data,r=n.provider,i=o.prefix,l=he(r,i);if(!At(l,o).length)return!1;const a=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,a):a,!0})}}function Hr(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const r in tt)_n(r,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function jr(t,n){Zt||Sn();function o(r){let i;if(!tt[r]||!(i=xn(r)))return;const l=wn[r];let a;if(l.size)l.delete(a=Array.from(l).shift());else if(a=Kt(i),!Jt(i,a+1))return;const s={cached:Math.floor(Date.now()/Cn),provider:t.provider,data:n};return Gt(i,Fe+a.toString(),JSON.stringify(s))}n.lastModified&&!Hr(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function En(){}function Ur(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Fr(t)}))}function Wr(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:r}=t,i=t.iconsToLoad;delete t.iconsToLoad;let l;if(!i||!(l=qt(o)))return;l.prepare(o,r,i).forEach(s=>{Rr(o,s,(c,d)=>{if(typeof c!="object"){if(d!==404)return;s.icons.forEach(m=>{t.missing.add(m)})}else try{const m=At(t,c);if(!m.length)return;const f=t.pendingIcons;f&&m.forEach(p=>{f.delete(p)}),jr(t,c)}catch(m){console.error(m)}Ur(t)})})}))}const Gr=(t,n)=>{const o=Pr(t,!0,sn()),r=Or(o);if(!r.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(r.loaded,r.missing,r.pending,En)}),()=>{c=!1}}const i=Object.create(null),l=[];let a,s;return r.pending.forEach(c=>{const{provider:d,prefix:m}=c;if(m===s&&d===a)return;a=d,s=m,l.push(he(d,m));const f=i[d]||(i[d]=Object.create(null));f[m]||(f[m]=[])}),r.pending.forEach(c=>{const{provider:d,prefix:m,name:f}=c,p=he(d,m),u=p.pendingIcons||(p.pendingIcons=new Set);u.has(f)||(u.add(f),i[d][m].push(f))}),l.forEach(c=>{const{provider:d,prefix:m}=c;i[d][m].length&&Wr(c,i[d][m])}),n?Mr(n,r,l):En};function Jr(t,n){const o={...t};for(const r in n){const i=n[r],l=typeof i;r in dn?(i===null||i&&(l==="string"||l==="number"))&&(o[r]=i):l===typeof o[r]&&(o[r]=r==="rotate"?i%4:i)}return o}const Kr=/[\s,]+/;function Zr(t,n){n.split(Kr).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Xr(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:r(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let l=parseFloat(t.slice(0,t.length-o.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return n}function Yr(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in n)o+=" "+r+'="'+n[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Qr(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function $r(t){return'url("data:image/svg+xml,'+Qr(t)+'")'}const Tn={...mn,inline:!1},vr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ea={display:"inline-block"},Xt={backgroundColor:"currentColor"},Vn={backgroundColor:"transparent"},Nn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},On={webkitMask:Xt,mask:Xt,background:Vn};for(const t in On){const n=On[t];for(const o in Nn)n[t+o]=Nn[o]}const nt={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";nt[t+"-flip"]=n,nt[t.slice(0,1)+"-flip"]=n,nt[t+"Flip"]=n});function Fn(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const In=(t,n)=>{const o=Jr(Tn,n),r={...vr},i=n.mode||"svg",l={},a=n.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in n){const g=n[b];if(g!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[b]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&Zr(o,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?o[b]=Xr(g):typeof g=="number"&&(o[b]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=nt[b];B?(g===!0||g==="true"||g===1)&&(o[B]=!0):Tn[b]===void 0&&(r[b]=g)}}}const c=kr(t,o),d=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...s},Object.assign(r,d);let b=0,g=n.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=wr(c.body,g?()=>g+"ID"+b++:"iconifyVue"),e.h("svg",r)}const{body:m,width:f,height:p}=t,u=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=Yr(m,{...d,width:f+"",height:p+""});return r.style={...l,"--svg":$r(h),width:Fn(d.width),height:Fn(d.height),...ea,...u?Xt:Vn,...s},e.h("span",r)};if(sn(!0),xr("",Nr),typeof document<"u"&&typeof window<"u"){Sn();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!cn(r))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const r="IconifyProviders["+o+"] is invalid.";try{const i=n[o];if(typeof i!="object"||!i||i.resources===void 0)continue;_r(o,i)||console.error(r)}catch{console.error(r)}}}}const ta={...ve,body:""},oa=e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=Ye(t,!1,!0))===null)return this.abortLoading(),null;const r=hr(o);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:t,abort:Gr([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:r,classes:i}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return In(ta,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),In({...ve,...n.data},o)}}),S=(t,n)=>{const o=t.__vccOpts||t;for(const[r,i]of n)o[r]=i;return o},na={name:"CmdIcon",components:{Icon:oa},props:{type:{type:String,default:"auto",validator(t){return t==="auto"||t==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},la=["title"];function ia(t,n,o,r,i,l){const a=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(a,{key:0,icon:o.iconClass,title:o.tooltip,class:e.normalizeClass(t.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([o.iconClass,t.$attrs.class]),title:o.tooltip},null,10,la))}const M=S(na,[["render",ia]]);function ae(t,n){return lt(t,"EditComponentWrapper",n)}function ra(t){return lt(t,"EditModeSettingsSidebar")}function aa(t){return lt(t,"EditModeMainSidebar")}function lt(t,n,o){var r;return((r=t==null?void 0:t.$options)==null?void 0:r.name)===n&&(o==null||o(t))?t:t!=null&&t.$parent?lt(t.$parent,n,o):null}function se(t,...n){const o=[];for(let r=ae(t);r;r=ae(r.$parent))r.componentPath&&o.unshift(...r.componentPath);return o.push(...n),o}function sa(t){return Array.isArray(t)&&t.length>0?JSON.stringify(t):""}function j(t,n){var o;return(o=t==null?void 0:t.$options)!=null&&o.name?{name:t.$options.name,...n}:n}const ca={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!ae(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")},active(){return this.editModeContext?ae(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(Y(this)):!!this.editModeContext.system.isActiveComponent(Y(this)):!1},editing(){var t;return(t=this.editModeContext)==null?void 0:t.content.isEditing(this.componentIdentifier)},hasSettings(){const t=`${this.componentName}Settings`;return!!e.getCurrentInstance().appContext.components[t]}},methods:{addHighlightRelatedComponent(t){t.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(t){t.target.parentNode.classList.remove("highlight")},showActionButtons(){const t=ae(this.$parent,n=>(n==null?void 0:n.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(Y(t),Y(this))},deleteComponent(){var t;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((t=this.editModeContext)==null||t.store.deleteContent(Y(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(Y(this)),this.editModeContext.settings.stopEditing()},cancelComponent(t){this.editing&&(t.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(t){t==null||t.stopPropagation(),t||this.showActionButtons();const n=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var o;return(o=n.querySelector("input"))==null?void 0:o.focus()})},saveComponent(){this.editModeContext.store.updateContent(Y(this),this.updateHandlerProviders.map(t=>t())),this.editModeContext.content.stopEditing()},editSettings(t,n){t.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,Y(this),this.saveSettings,this.deleteInnerComponent,n||"edit")},addEntry(t){this.itemProvider?this.editModeContext.content.addContent(Y(this),this.itemProvider):this.editSettings(t,"add")},saveSettings(t){this.editModeContext.store.updateSettings(Y(this),t),this.editModeContext.settings.stopEditing()},addEditStateListener(t){this.editStateListeners.push(t),t(this.editing)},addUpdateHandlerProvider(t){this.updateHandlerProviders.push(t)},setAddHandlerProvider(t){t&&(this.addHandlerProvider=t)}},watch:{componentPath:{handler(){this.componentIdentifier=sa(Y(this))},immediate:!0,deep:!0},editing(t){this.editStateListeners.forEach(n=>n(t))}}};function Y(t){const n=[];for(let o=t;o;o=ae(o.$parent))o.componentPath&&n.unshift(...o.componentPath);return n}const da={key:0,class:"action-buttons-wrapper"},ma=["data-component"],fa=["title"],ua=["href"],ha={key:0},pa={key:1},ga={key:0,class:"component-name"},ya=["data-component"],ka=["title"],ba=["href","title"],Ca=["title"],Ba={key:0},wa={key:1},xa=["title"],_a=["title"];function Sa(t,n,o,r,i,l){const a=M;return e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.componentTag||"div"),{class:e.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:e.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:e.withCtx(()=>[o.componentTag==="ul"?(e.openBlock(),e.createElementBlock("li",da,[e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.addEntry(s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(a,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,fa)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[1]||(n[1]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings of this component"},[e.createVNode(a,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ua)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:n[2]||(n[2]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete this component (and its content)"},[e.createVNode(a,{iconClass:"icon-trash"})])]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",ha,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:n[3]||(n[3]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(a,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",pa,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:n[4]||(n[4]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of this component"},[e.createVNode(a,{iconClass:"icon-check"})])):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content of this component"},[e.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,ma),[[e.vShow,l.active]])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.isOuterComponent?(e.openBlock(),e.createElementBlock("p",ga,e.toDisplayString(o.componentName),1)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":o.componentName,onMouseenter:n[12]||(n[12]=(...s)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...s)),onMouseleave:n[13]||(n[13]=(...s)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...s))},[e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!o.itemProvider&&!o.allowAddComponent}]),href:"#",onClick:n[6]||(n[6]=e.withModifiers((...s)=>l.addEntry&&l.addEntry(...s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[e.createVNode(a,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ka)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:n[7]||(n[7]=e.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings for "+o.componentName},[e.createVNode(a,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ba)]),e.createElementVNode("li",null,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!o.allowDeleteComponent}]),href:"#",onClick:n[8]||(n[8]=e.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete "+o.componentName+" (and its content)"},[e.createVNode(a,{iconClass:"icon-trash"})],10,Ca)]),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Ba,[e.createElementVNode("a",{class:e.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:n[9]||(n[9]=e.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[e.createVNode(a,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",wa,[l.editing?(e.openBlock(),e.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:n[10]||(n[10]=e.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of "+o.componentName},[e.createVNode(a,{iconClass:"icon-check"})],8,xa)):(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:n[11]||(n[11]=e.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content for "+o.componentName},[e.createVNode(a,{iconClass:"icon-edit"})],10,_a))]))],40,ya),[[e.vShow,l.active]])],64)),e.renderSlot(t.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const ce=S(ca,[["render",Sa]]),U={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var t;if(this.$refs.editComponentWrapper)(t=this.$refs.editComponentWrapper)==null||t.addUpdateHandlerProvider(this.updateHandlerProvider);else{const n=ae(this.$parent);n&&(n.addEditStateListener(o=>this.editing=o),n.addUpdateHandlerProvider(this.updateHandlerProvider),n.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!aa(this),this.settingsContext=!!ra(this)},updateHandlerProvider(){return{}}}},Ea={name:"CmdHeadline",mixins:[U],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},textAlign:{type:String,default:null,validator(t){return t==="left"||t==="center"||t==="right"}},cmdIcon:{type:Object,required:!1}},computed:{componentActive(){var t;return(t=this.editModeContext)==null?void 0:t.system.isActiveComponent(se(ae(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},headlineTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const t=this.editableHeadlineText,n=this.editablePreHeadlineText,o=this.headlineLevel;return j(this,{update(r){r.headlineText=t,r.preHeadlineText=n,r.headlineLevel=o}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},Ta={class:"pre-headline-text-wrapper"},Va=["innerHTML"],Na={class:"pre-headline-text"},Oa=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new headline",-1)];function Fa(t,n,o,r,i,l){var d;const a=M,s=z,c=ce;return!t.editModeContext||t.settingsContext||t.mainSidebarContext||o.headlineText?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(d=o.cmdIcon)==null?void 0:d.iconClass},l.headlineTextAlign])},[o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>[o.cmdIcon?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdIcon)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("span",Ta,[e.createElementVNode("span",{class:"pre-headline-text",innerHTML:o.preHeadlineText},null,8,Va),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])])]),_:3})):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:1},{default:e.withCtx(()=>[o.cmdIcon?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdIcon)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("span",null,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])])]),_:3}))],2)):(e.openBlock(),e.createBlock(c,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:o.headlineText,headlineLevel:o.headlineLevel},componentPath:l.headlineComponentPath,allowDeleteComponent:!!o.headlineText},{default:e.withCtx(m=>[m.editing?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel,l.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":n[0]||(n[0]=f=>i.editableHeadlineText=f)},null,8,["class","modelValue"])):o.headlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdIcon?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdIcon)),null,16)):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:0},{default:e.withCtx(()=>[o.cmdIcon?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdIcon)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("span",Na,e.toDisplayString(o.preHeadlineText),1),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3})):e.createCommentVNode("",!0)],64)):o.headlineText?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.headlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3})):e.createCommentVNode("",!0)],64)):l.componentActive?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Oa)):e.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const D=S(Ea,[["render",Fa]]),Ia={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},delayToShowTooltip:{type:Number,default:0},relatedId:{type:String,required:!1},validationStatus:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},scrollContainer:{type:String,default:".page-wrapper"},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const t=document.getElementById(this.relatedId);t&&(document.querySelector(this.scrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.addEventListener("click",this.toggleTooltipVisibility):(t.addEventListener("mouseenter",this.showTooltip),t.addEventListener("mouseleave",this.hideTooltip)))}},methods:{toggleTooltipVisibility(t){this.getPointerPosition(t),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(t){this.delayToShowTooltip>0?setTimeout(()=>{this.toggleVisibility(t)},this.delayToShowTooltip):this.toggleVisibility(t)},toggleVisibility(t){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(t)},hideTooltipOnEsc(t){this.allowEscapeKey&&(t.key==="Escape"||t.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(t){this.pointerX=t.clientX,this.pointerY=t.clientY}},unmounted(){if(this.relatedId){const t=document.getElementById(this.relatedId);t&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.removeEventListener("click",this.toggleTooltipVisibility):(t.removeEventListener("mouseenter",this.showTooltip),t.removeEventListener("mouseleave",this.showTooltip)))}},watch:{tooltipVisibility(){this.tooltipVisibility&&this.$nextTick(()=>{this.$refs.tooltip.style.left=this.pointerX/10+"rem",this.$refs.tooltip.style.top=(this.pointerY+25)/10+"rem"})}}},Ma={key:0,class:"headline-wrapper"},Pa=["title"];function La(t,n,o,r,i,l){const a=D,s=M;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.validationStatus]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",Ma,[o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.iconClose.show&&o.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.hideTooltip&&l.hideTooltip(...c),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(s,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,Pa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const Mn=S(Ia,[["render",La]]),J={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(t,...n){if(!t)return"";let o=this.i18n;if(typeof this.i18n=="function"&&(o=this.i18n.call(this,t,n),typeof o!="object"))return o;let r=o[t]||this.getDefaultMessageProperty(t)||t;return typeof r=="function"?r.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((i,l)=>r=r.replace("{"+l+"}",i)),r)},getDefaultMessageProperty(t){var o;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[t])return this.defaultMessageProperties[t];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((o=this[n])!=null&&o[t])?this[n][t]:null}}},Da={name:"CmdListOfRequirements",mixins:[J,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}}],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")}}},Aa={class:"cmd-list-of-requirements"},Ra=e.createElementVNode("br",null,null,-1),qa=e.createElementVNode("hr",null,null,-1),za=["href","target"],Ha={key:1};function ja(t,n,o,r,i,l){var c,d,m;const a=D,s=M;return e.openBlock(),e.createElementBlock("div",Aa,[o.showHeadline?(e.openBlock(),e.createBlock(a,{key:0,"headline-level":o.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineRequirements),1),o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Ra,e.createElementVNode("em",null,e.toDisplayString(o.labelText),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["headline-level"])):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputRequirements,(f,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(f.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},e.toDisplayString(f.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(f.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},[e.createVNode(s,{"aria-live":"assertive",iconClass:f.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconClass:o.iconError.iconClass,type:f.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconType:o.iconError.iconType,title:f.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.tooltip:o.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),o.helplink&&o.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[qa,o.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.helplink.url,target:o.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(c=o.helplink.icon)!=null&&c.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass((d=o.helplink.icon)==null?void 0:d.iconClass),title:(m=o.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Ha,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,za)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Ua=S(Da,[["render",ja]]),Wa={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Ga(t,n,o,r,i,l){const a=Ua,s=Mn;return e.openBlock(),e.createBlock(s,{ref:"tooltip",class:e.normalizeClass(["cmd-tooltip-for-form-elements box",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdListOfRequirements)),null,16)):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Yt=S(Wa,[["render",Ga]]),Qt={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"}}}},it={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},inputRequirements(){const t=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;t.push({message:this.getRequirementMessage(),valid(o,r){return!r.required&&!n||o!=null&&String(o).length>0}})}return this.$attrs.minlength&&t.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,o){return n.length>=o.minlength}}),[...t,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(t){["password","number","url","email"].includes(this.$attrs.type)&&t.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Be(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function $t(){return"cmd-"+Be()}const Ie={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||$t()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},vt={};function Ja(t="defaultSequence"){const n=vt[t]||0;return vt[t]=n+1,vt[t]}const eo={data(){return{tooltip:!1,tooltipId:"tooltip-"+Ja()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Ka=["color","date","datetime-local","file","number","range"],Za={inheritAttrs:!1,name:"CmdFormElement",mixins:[J,Qt,it,Ie,eo],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(t){return t==="input"||t==="select"||t==="textarea"||t==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},showStatusIcon:{type:Boolean,default:!0},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},stretchField:{type:Boolean,default:!1},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const t=["name","required","readonly","disabled","autofocus"],n={input:[...t,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...t,"multiple"],textarea:[...t,"placeholder"]},o={};return n[this.element]&&Object.entries(this.$attrs).filter(([r])=>n[this.element].includes(r)).forEach(([r,i])=>o[r]=i),o},buttonAttrs(){var n,o;const t={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(t.title=(o=this.nativeButton.icon)==null?void 0:o.tooltip),t},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersLeft(){return this.getMaxLength()-this.modelValue.length},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{setFocus(){var t;(t=this.$refs.label.querySelector("input, select, textarea"))==null||t.focus()},additionalStandardRequirements(){const t=[];return this.$attrs.type==="email"&&t.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),t},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:Ka.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(t){var o;((o=t.target.closest("form"))==null?void 0:o.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof t.target.checkValidity=="function"&&!t.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(t){this.validateInput(t),this.closeTooltipOnBlur(),this.$emit("blur",t)},onInput(t){this.validateInput(t),this.$emit("update:modelValue",t.target.value)},onChange(t){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",t.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",t.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const t=this.$refs.input,n=t.value;t.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),t.setAttribute("type","text"),t.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()},submit(t){this.$emit("submit",t)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Xa=["for","title"],Ya=["innerHTML"],Qa={key:2,"aria-hidden":"true"},$a=["title","aria-errormessage","id"],va={key:1,class:"flex-container inner-input-wrapper"},es=["id","autocomplete","list","value","maxlength"],ts=["title"],os=["id"],ns=["value"],ls=["checked","value","id","disabled","aria-invalid"],is=["innerHTML"],rs={key:2},as={class:"switch-label-wrapper"},ss=["checked","value","id","disabled","aria-invalid"],cs={class:"label-text"},ds={class:"label-text"},ms=["innerHTML"],fs={key:0},us=["id"],hs=["value","selected"],ps=["id","value","maxlength"],gs={key:6,class:"characters-left-wrapper"},ys={key:0},ks={key:7,class:"search-field-wrapper flex-container no-gap"},bs=["id","maxlength","value"],Cs=["title"],Bs=["title"],ws={key:1};function xs(t,n,o,r,i,l){var c,d,m,f,p,u,h,b,g,B,w,x,T,F,C,E,I,A,P,te,oe,ne,H,ue;const a=M,s=Yt;return o.element==="input"||o.element==="select"||o.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",t.validationStatus,t.$attrs.class,{disabled:t.$attrs.disabled,inline:o.displayLabelInline,"stretch-field":o.stretchField,"toggle-switch":o.toggleSwitch,colored:o.colored,"has-state":t.validationStatus}]),for:t.htmlId,title:t.$attrs.title,ref:"label"},[(o.labelText||t.$slots.labeltext)&&t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:o.labelText},null,8,Ya)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required!=null&&t.$attrs.required!==!1?(e.openBlock(),e.createElementBlock("sup",Qa,"*")):e.createCommentVNode("",!0)]),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(a,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,$a)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,ref:"tooltip",validationStatus:t.validationStatus,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("span",va,[o.fieldIconClass?(e.openBlock(),e.createBlock(a,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),o.element==="input"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},l.elementAttributes,{id:t.htmlId,class:o.inputClass,onFocus:n[1]||(n[1]=V=>t.tooltip=!0),onBlur:n[2]||(n[2]=(...V)=>l.onBlur&&l.onBlur(...V)),onInput:n[3]||(n[3]=(...V)=>l.onInput&&l.onInput(...V)),onMouseover:n[4]||(n[4]=(...V)=>l.datalistFocus&&l.datalistFocus(...V)),onKeyup:n[5]||(n[5]=(...V)=>t.checkForCapsLock&&t.checkForCapsLock(...V)),onChange:n[6]||(n[6]=V=>t.$emit("change",V)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,es)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...V)=>l.showPassword&&l.showPassword(...V),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(a,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,ts)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(V,re)=>(e.openBlock(),e.createElementBlock("option",{key:re,value:V},null,8,ns))),128))],8,os)):o.element==="input"&&(t.$attrs.type==="checkbox"||t.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[o.onLabel&&o.offLabel?o.onLabel&&o.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",as,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:n[14]||(n[14]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:o.inputValue,class:{inputClass:o.inputClass,validationStatus:t.validationStatus},id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,ss),e.createElementVNode("span",cs,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ds,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",{innerHTML:o.labelText},null,8,ms),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",fs,"*")):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[11]||(n[11]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:n[12]||(n[12]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:o.inputValue,class:[o.inputClass,t.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":o.replaceInputType}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,ls),o.labelText||t.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:o.labelText},null,8,is)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",rs,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),o.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},l.elementAttributes,{id:t.htmlId,onBlur:n[15]||(n[15]=(...V)=>l.onBlur&&l.onBlur(...V)),onChange:n[16]||(n[16]=V=>t.$emit("update:modelValue",V.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(V,re)=>(e.openBlock(),e.createElementBlock("option",{key:re,value:V.value,selected:V.value===o.modelValue},e.toDisplayString(V.text),9,hs))),128))],16,us)):e.createCommentVNode("",!0),o.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},l.elementAttributes,{id:t.htmlId,value:o.modelValue,maxlength:l.getMaxLength(),onInput:n[17]||(n[17]=(...V)=>l.onInput&&l.onInput(...V)),onFocus:n[18]||(n[18]=V=>t.tooltip=!0),onBlur:n[19]||(n[19]=(...V)=>l.onBlur&&l.onBlur(...V))}),null,16,ps)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",gs,[o.textCharactersLeft?(e.openBlock(),e.createElementBlock("span",ys,e.toDisplayString(o.textCharactersLeft),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},e.toDisplayString(l.charactersLeft),3)])):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",ks,[o.fieldIconClass?(e.openBlock(),e.createBlock(a,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(...V)=>l.onInput&&l.onInput(...V)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,bs),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...V)=>l.executeSearch&&l.executeSearch(...V),["prevent"]))},[e.createVNode(a,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,Cs)):e.createCommentVNode("",!0),(c=o.iconDelete)!=null&&c.show?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:n[22]||(n[22]=e.withModifiers(V=>t.$emit("update:modelValue",""),["prevent"])),title:(d=o.iconDelete)==null?void 0:d.tooltip},[e.createVNode(a,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(f=o.iconDelete)==null?void 0:f.iconType},null,8,["iconClass","type"])],8,Bs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Xa)):o.element==="button"?(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:n[23]||(n[23]=(...V)=>l.submit&&l.submit(...V))}),[(u=(p=o.nativeButton)==null?void 0:p.icon)!=null&&u.show&&(((b=(h=o.nativeButton)==null?void 0:h.icon)==null?void 0:b.position)==="before"||!((B=(g=o.nativeButton)==null?void 0:g.icon)!=null&&B.position))?(e.openBlock(),e.createBlock(a,{key:0,iconClass:(x=(w=o.nativeButton)==null?void 0:w.icon)==null?void 0:x.iconClass,type:(F=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:F.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(C=o.nativeButton)!=null&&C.icon&&((E=o.nativeButton)!=null&&E.text)?(e.openBlock(),e.createElementBlock("span",ws,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),(A=(I=o.nativeButton)==null?void 0:I.icon)!=null&&A.show&&((te=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:te.position)==="after"?(e.openBlock(),e.createBlock(a,{key:3,iconClass:(ne=(oe=o.nativeButton)==null?void 0:oe.icon)==null?void 0:ne.iconClass,type:(ue=(H=o.nativeButton)==null?void 0:H.icon)==null?void 0:ue.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16)):e.createCommentVNode("",!0)}const z=S(Za,[["render",xs]]),_s={name:"CmdAddressDataItem",mixins:[U],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1},showCityBeforeZip:{type:Boolean,default:!1}},methods:{vCardClass(t){if(t.type==="company")return"org";if(t.type==="address"){if(t.streetNo)return"street-address";if(t.zip)return"postal-code";if(t.city)return"locality";if(t.country)return"country-name"}return null},inputType(t){return t.type==="phone"?"tel":t.type==="email"?"email":t.type==="url"?"url":"text"},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.type==="phone"?"tel:"+t.href:t.type==="email"?"mailto:"+t.href:t.type==="url"?t.href:null},addHandlerProvider(){const t={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return j(this,{item(){return t}})},updateHandlerProvider(){const t=this.editableAddressEntry;return j(this,{update(n){typeof t=="object"?Object.entries(t).forEach(([o,r])=>n[o]=r):n.href==null?n.data=t:n.href=t}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,state:this.addressEntry.state,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},Ss={key:1},Es=["href","target","title","data-type"],Ts=["innerHTML"],Vs={key:1},Ns=["href","title"],Os={class:"street-address"},Fs=e.createElementVNode("br",null,null,-1),Is={key:0,class:"postal-code"},Ms={key:1,class:"locality"},Ps=e.createElementVNode("br",null,null,-1),Ls={key:0},Ds={key:3,class:"country-name"},As={class:"street-address"},Rs=e.createElementVNode("br",null,null,-1),qs={key:0,class:"postal-code"},zs={key:1,class:"locality"},Hs=e.createElementVNode("br",null,null,-1),js=e.createElementVNode("br",null,null,-1),Us={key:3,class:"country-name"};function Ws(t,n,o,r,i,l){const a=M,s=z,c=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("dt",{class:e.normalizeClass(["cmd-address-data-item",{address:o.addressEntry.type==="address"}])},[o.addressEntry.iconClass&&o.showLabelIcons?(e.openBlock(),e.createBlock(a,{key:0,iconClass:o.addressEntry.iconClass,type:o.addressEntry.iconType,tooltip:o.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),o.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Ss,e.toDisplayString(o.addressEntry.labelText),1)):e.createCommentVNode("",!0)],2),o.addressEntry.type!=="address"&&(o.addressEntry.data||o.addressEntry.href)?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(o.addressEntry))},[t.editing?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:l.inputType(o.addressEntry),class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":n[0]||(n[0]=d=>i.editableAddressEntry=d)},null,8,["type","labelText","placeholder","modelValue"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(o.addressEntry),target:o.addressEntry.type==="url"?"_blank":null,title:o.addressEntry.tooltip,"data-type":o.addressEntry.type},[e.createTextVNode(e.toDisplayString(o.addressEntry.data||o.addressEntry.href),1)],8,Es)),[[c,o.addressEntry.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:o.addressEntry.data},null,8,Ts))],64))],2)):o.addressEntry.name==="address"?(e.openBlock(),e.createElementBlock("dd",Vs,[o.linkGoogleMaps&&!t.editing?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(o.addressEntry),target:"google-maps",title:o.addressEntry.tooltip},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Os,e.toDisplayString(o.addressEntry.streetNo),1),Fs],64)):e.createCommentVNode("",!0),o.addressEntry.zip||o.addressEntry.city?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(o.showCityBeforeZip?"city-zip":"zip-city")},[o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",Is,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock("span",Ms,[e.createTextVNode(e.toDisplayString(o.addressEntry.city),1),o.addressEntry.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.addressEntry.state),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),Ps,o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),o.addressEntry.country?(e.openBlock(),e.createElementBlock("br",Ls)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Ds,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],8,Ns)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":n[1]||(n[1]=d=>i.editableAddressEntry.streetNo=d)},null,8,["labelText","placeholder","modelValue"]),e.createElementVNode("div",{class:e.normalizeClass([o.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":n[2]||(n[2]=d=>i.editableAddressEntry.zip=d)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":n[3]||(n[3]=d=>i.editableAddressEntry.city=d)},null,8,["labelText","placeholder","modelValue"])],2),e.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,placeholder:o.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":n[4]||(n[4]=d=>i.editableAddressEntry.miscInfo=d)},null,8,["labelText","placeholder","modelValue"]),e.createVNode(s,{element:"select",class:"edit-mode","show-label":!1,labelText:o.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":n[5]||(n[5]=d=>i.editableAddressEntry.country=d)},null,8,["labelText","modelValue"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.addressEntry.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",As,e.toDisplayString(o.addressEntry.streetNo),1),Rs],64)):e.createCommentVNode("",!0),o.addressEntry.zip||o.addressEntry.city?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(o.showCityBeforeZip?"city-zip":"zip-city")},[o.addressEntry.zip?(e.openBlock(),e.createElementBlock("span",qs,e.toDisplayString(o.addressEntry.zip),1)):e.createCommentVNode("",!0),o.addressEntry.city?(e.openBlock(),e.createElementBlock("span",zs,[e.createTextVNode(e.toDisplayString(o.addressEntry.city),1),o.addressEntry.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" "+e.toDisplayString(o.addressEntry.state),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),Hs,o.addressEntry.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(o.addressEntry.miscInfo),1),js],64)):e.createCommentVNode("",!0),o.addressEntry.country?(e.openBlock(),e.createElementBlock("span",Us,e.toDisplayString(o.addressEntry.country),1)):e.createCommentVNode("",!0)],64))],64))])):e.createCommentVNode("",!0)],64)}const Gs=S(_s,[["render",Ws]]),Js={name:"CmdAddressData",mixins:[U,J,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var t;return(t=this.addressData.website)==null?void 0:t.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(se(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},getHref(t){return t.name==="phone"?"tel:"+t.href:t.name==="email"?"mailto:"+t.href:t.name==="url"?t.href:null},updateHandlerProvider(){return j(this,{update(t,n){const o=n==null?void 0:n.find(r=>r.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}},watch:{}},Ks={class:"cmd-address-data vcard"},Zs={class:"adr"},Xs={key:0},Ys=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Qs=["href","target","title"],$s=["innerHTML"],vs=["href","title"],ec={class:"street-address"},tc=e.createElementVNode("br",null,null,-1),oc={key:0,class:"postal-code"},nc={key:1,class:"locality"},lc=e.createElementVNode("br",null,null,-1),ic=e.createElementVNode("br",null,null,-1),rc=e.createElementVNode("br",null,null,-1),ac={key:4,class:"country-name"},sc={class:"street-address"},cc=e.createElementVNode("br",null,null,-1),dc={key:0,class:"postal-code"},mc={key:1,class:"locality"},fc=e.createElementVNode("br",null,null,-1),uc=e.createElementVNode("br",null,null,-1),hc=e.createElementVNode("br",null,null,-1),pc={key:4,class:"country-name"};function gc(t,n,o,r,i,l){var m;const a=D,s=Gs,c=ce,d=M;return e.openBlock(),e.createElementBlock("div",Ks,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",Zs,[o.showLabels&&(o.showLabelTexts||o.showLabelIcons)&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.editModeContext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.addressData.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Ys)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(f,p)=>(e.openBlock(),e.createBlock(c,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:f,componentPath:["props","addressData",p]},{default:e.withCtx(()=>[e.createElementVNode("dl",null,[e.createVNode(s,{addressEntry:f,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",Xs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(f,p)=>(e.openBlock(),e.createBlock(s,{key:p,addressEntry:f,showLabelIcons:o.showLabelIcons,showLabelTexts:o.showLabelTexts,showCityBeforeZip:o.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["flex-container",{vertical:!o.showIconsOnly}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(f,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[f.href||f.name==="address"&&f.linkGoogleMaps||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[f.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(f),target:f.name==="url"?"_blank":null,title:f.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(f.href),1)],64))],8,Qs)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:f.data},null,8,$s)),f.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[f.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(f),target:"google-maps",title:f.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ec,e.toDisplayString(f.streetNo),1),tc],64)):e.createCommentVNode("",!0),f.zip||f.city?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(o.showCityBeforeZip?"order-city-zip":"order-zip-city")},[f.zip?(e.openBlock(),e.createElementBlock("span",oc,e.toDisplayString(f.zip)+" ",1)):e.createCommentVNode("",!0),f.city?(e.openBlock(),e.createElementBlock("span",nc,[e.createTextVNode(e.toDisplayString(f.city),1),f.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(f.state),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),lc],2)):e.createCommentVNode("",!0),f.pobox?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(f.pobox),1),ic],64)):e.createCommentVNode("",!0),f.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(f.miscInfo),1),rc],64)):e.createCommentVNode("",!0),f.country?(e.openBlock(),e.createElementBlock("span",ac,e.toDisplayString(f.country),1)):e.createCommentVNode("",!0)],64))],8,vs)):e.createCommentVNode("",!0),!f.linkGoogleMaps&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",sc,e.toDisplayString(f.streetNo),1),cc],64)):e.createCommentVNode("",!0),f.zip||f.city?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(o.showCityBeforeZip?"order-city-zip":"order-zip-city")},[f.zip?(e.openBlock(),e.createElementBlock("span",dc,e.toDisplayString(f.zip)+" ",1)):e.createCommentVNode("",!0),f.city?(e.openBlock(),e.createElementBlock("span",mc,[e.createTextVNode(e.toDisplayString(f.city),1),f.state?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(f.state),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),fc],2)):e.createCommentVNode("",!0),f.pobox?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(f.pobox),1),uc],64)):e.createCommentVNode("",!0),f.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(f.miscInfo),1),hc],64)):e.createCommentVNode("",!0),f.country?(e.openBlock(),e.createElementBlock("span",pc,e.toDisplayString(f.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])],64))])}const Pn=S(Js,[["render",gc]]),yc={name:"CmdBackToTopButton",data(){var t;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},cmdIcon:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var t;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.addEventListener("scroll",this.onViewportChange)},unmounted(){var t;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var t;return this.scrollContainer==="body"?window.scrollY:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollTop)||0},onViewportChange(){var t;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0},onBackToTop(){var t;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(t=document.querySelector(this.scrollContainer))==null||t.scrollTo({top:0,left:0,behavior:"smooth"})}}},kc=["title"];function bc(t,n,o,r,i,l){const a=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:o.cmdIcon.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.onBackToTop&&l.onBackToTop(...s),["prevent"]))},[e.createVNode(a,{iconClass:o.cmdIcon.iconClass,type:o.cmdIcon.iconType},null,8,["iconClass","type"])],8,kc)):e.createCommentVNode("",!0)]),_:1})}const Cc=S(yc,[["render",bc]]),Bc={name:"CmdBankAccountData",props:{useSlot:{type:Boolean,default:!1},accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},cmdIcon:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(t){const n=t.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},wc={class:"cmd-bank-account-data"},xc={key:0},_c=["onClick","title"],Sc={key:1};function Ec(t,n,o,r,i,l){const a=D,s=M;return e.openBlock(),e.createElementBlock("div",wc,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.accountData,(c,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.createElementVNode("dt",null,e.toDisplayString(c.text),1),o.allowCopyByClick&&c.allowCopy?(e.openBlock(),e.createElementBlock("dd",xc,[e.createElementVNode("span",null,e.toDisplayString(c.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.copyToClipboard(c.value),["prevent"]),title:o.cmdIcon.tooltip},[e.createVNode(s,{iconClass:o.cmdIcon.iconClass,type:o.cmdIcon.iconType},null,8,["iconClass","type"])],8,_c)])):(e.openBlock(),e.createElementBlock("dd",{key:d},e.toDisplayString(c.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Sc,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)],64))])}const Tc=S(Bc,[["render",Ec]]),Vc={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:$t,submitFormData(t){let n={};this.formElements&&this.formElements.forEach(o=>{n[o.name]=this.formValues[o.name]}),this.$emit("submit",{originalEvent:t,formdata:n})},onSubmit(t){this.useValidation?t.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(t)):(t.preventDefault(),this.errorOccurred=!0):this.submitFormData(t)}},watch:{formElements:{handler(){var t;this.formValues={},(t=this.formElements)==null||t.forEach(n=>{n.type==="checkbox"?(this.formValues[n.name]||(this.formValues[n.name]=[]),n.value!=null&&this.formValues[n.name].push(n.value)):this.formValues[n.name]=n.value??""})},immediate:!0,deep:!0}}},Nc=["action","data-use-validation","novalidate"],Oc={class:"flex-container"},Fc=["type"],Ic={key:1},Mc={key:0,class:"button-wrapper"},Pc=["type"],Lc={key:1};function Dc(t,n,o,r,i,l){const a=z;return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),action:o.formAction,"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...s)=>l.onSubmit&&l.onSubmit(...s)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",Oc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legend.show,"align-left":o.legend.align==="left"})},e.toDisplayString(o.legend.text),3),o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.formElements,(s,c)=>(e.openBlock(),e.createBlock(a,{key:c,element:s.element||"input",type:s.type||"text",name:s.name,class:e.normalizeClass(s.htmlClass),id:s.id||l.createHtmlId(),modelValue:i.formValues[s.name],"onUpdate:modelValue":d=>i.formValues[s.name]=d,inputValue:s.inputValue,fieldIconClass:s.innerIconClass,selectOptions:s.selectOptions,labelText:s.labelText,placeholder:s.placeholder,required:s.required,disabled:s.disabled,autocomplete:s.autocomplete,minlength:s.minlength,maxlength:s.maxlength,nativeButton:s.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),l.submitButtonOptions&&(l.submitButtonOptions.position==="insideFieldset"||l.submitButtonOptions.position===null)?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type},[l.submitButtonOptions.iconClass?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):e.createCommentVNode("",!0),l.submitButtonOptions.text?(e.openBlock(),e.createElementBlock("span",Ic,e.toDisplayString(l.submitButtonOptions.text),1)):e.createCommentVNode("",!0)],10,Fc)):e.createCommentVNode("",!0)]),l.submitButtonOptions&&l.submitButtonOptions.position==="belowFieldset"?(e.openBlock(),e.createElementBlock("div",Mc,[e.createElementVNode("button",{class:e.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type||"submit"},[l.submitButtonOptions.iconClass?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):e.createCommentVNode("",!0),l.submitButtonOptions.text?(e.openBlock(),e.createElementBlock("span",Lc,e.toDisplayString(l.submitButtonOptions.text),1)):e.createCommentVNode("",!0)],10,Pc)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,Nc)}const Ln=S(Vc,[["render",Dc]]),Ac={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.pobox":"PO Box:","basic_form.placeholder.pobox":"PO Box:","basic_form.labeltext.country":"Country:","basic_form.labeltext.additional_address_info":"Additional address information:","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.user_message":"Your message:","basic_form.placeholder.user_message":"Your message","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},fe=class fe{constructor(n){Xe(this,"label");this.label=n}validate(n){return[n.lastName.error,n.lastName.errorMessage]=this.validateRequired(n.lastName.value,fe.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[n.email.error,n.email.errorMessage]=this.validateRequired(n.email.value,fe.PATTERN_EMAIL,this.label("form_error_invalid_email"))[n.additionalText.error,n.additionalText.errorMessage]=this.validateRequired(n.additionalText.value,fe.PATTERN_MESSAGE,this.label("form_error_invalid_message")),n.acceptPrivacy.error=!1,n.error=n.lastName.error||n.email.error||n.additionalText.error,n}validatePrivacy(n){return n.acceptPrivacy.error=!n.acceptPrivacy.value,n.acceptPrivacy.errorMessage=n.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",n.error=n.error||n.acceptPrivacy.error,n}validateRequired(n,o,r){return!n||n.trim().length===0?[!0,this.label("form_error_empty")]:o&&!o.test(n)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};Xe(fe,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Xe(fe,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Xe(fe,"PATTERN_MESSAGE",/^.{2,500}$/);let to=fe;function we(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Dn(t,n,o,r,i){const l=[];if(t.size>r&&l.push("file too large"),n.includes(we(t.name))||l.push("disallowed file extension"),l.length){alert(l);return}const a=new Image;a.onload=()=>{if(a.width<o&&!confirm("width ("+a.width+" px) too small - at least "+o+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(a.src),typeof i=="function"?i(a.src):i.src=a.src},a.src=URL.createObjectURL(t)}const Rc={name:"CmdImage",mixins:[U],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["gif","jpg","jpeg","png","webp","svg"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}},props:{image:{type:Object,required:!1},useFigureTag:{type:Boolean,default:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const t=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(t.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(t.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var o;if(this.newImageSource)return this.newImageSource;const t=(o=this.image)==null?void 0:o.src;if(!t)return null;if(typeof t=="string")return t;const n=this.currentWindowWidth;return t.small&&n<=this.smallMaxWidth?t.small:t.medium&&n<=this.mediumMaxWidth?t.medium:t.large},textAlign(){var t;return(t=this.figcaption)!=null&&t.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){var t;return this.figcaptionText==null?(t=this.figcaption)==null?void 0:t.text:this.figcaptionText},set(t){this.figcaptionText=t}}},methods:{onImageLoaded(t){this.$emit("image-loaded",t)},itemProvider(){var n,o;const t=(o=(n=this.editModeConfig)==null?void 0:n.itemProviderOverwrite)==null?void 0:o.call(n);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(t==null?void 0:t.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(t){t.target.files.length>0&&Dn(t.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},dragEnter(t){this.dragOver(t)},dragOver(t){t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0&&(t.dataTransfer.dropEffect="none",t.dataTransfer.items[0].kind==="file"&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),Dn(t.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,n=>this.newImageSource=n))},addHandlerProvider(){const t={image:{id:Be(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return j(this,{item(){return t}})},updateHandlerProvider(){const t=this.figcaptionText;return this.figcaptionText=null,j(this,{update(n){n.figcaption||(n.figcaption={}),n.figcaption.text=t}})}},watch:{figcaption:{handler(){var t,n,o,r;this.showFigcaption=(t=this.figcaption)==null?void 0:t.show,this.figcaptionText=(n=this.figcaption)==null?void 0:n.text,this.figcaptionPosition=(o=this.figcaption)==null?void 0:o.position,this.figcaptionTextAlign=(r=this.figcaption)==null?void 0:r.textAlign},immediate:!0,deep:!0}}},qc=["innerHTML"],zc=e.createElementVNode("span",{class:"icon-image"},null,-1),Hc=["src","alt","title"],jc=["src","alt","title"],Uc=["innerHTML"],Wc=[e.createElementVNode("span",{class:"icon-add"},null,-1),e.createElementVNode("span",null,"Add new image",-1)],Gc=["innerHTML"],Jc=["src","alt","title"],Kc=["innerHTML"],Zc=["src","alt","title"];function Xc(t,n,o,r,i,l){var c,d,m,f,p,u,h,b,g;const a=z,s=ce;return t.editModeContext?(e.openBlock(),e.createBlock(s,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:o.image,figcaption:o.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((c=t.editModeConfig)==null?void 0:c.allowAddItem)!==!1?l.itemProvider:null},{default:e.withCtx(B=>{var w,x,T,F,C,E,I,A,P,te,oe,ne;return[e.createElementVNode("figure",{class:e.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(w=o.figcaption)!=null&&w.show&&((x=o.figcaption)==null?void 0:x.position)==="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[B.editing?(e.openBlock(),e.createBlock(a,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[0]||(n[0]=H=>l.editableFigcaptionText=H)},null,8,["class","modelValue"])):(T=o.figcaption)!=null&&T.text?(e.openBlock(),e.createElementBlock("figcaption",{key:1,innerHTML:(F=o.figcaption)==null?void 0:F.text},null,8,qc)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),B.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",e.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0),{onClick:n[1]||(n[1]=e.withModifiers((...H)=>l.selectFiles&&l.selectFiles(...H),["prevent"])),title:"Drag new image to this area to replace old one!"}),[zc,e.createElementVNode("img",{src:l.imageSource,alt:(C=o.image)==null?void 0:C.alt,title:(E=o.image)==null?void 0:E.tooltip},null,8,Hc)],16),e.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.imageSource,alt:(I=o.image)==null?void 0:I.alt,title:(A=o.image)==null?void 0:A.tooltip},null,8,jc)):e.createCommentVNode("",!0),(P=o.figcaption)!=null&&P.show&&((te=o.figcaption)==null?void 0:te.position)!=="top"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[B.editing?(e.openBlock(),e.createBlock(a,{key:0,element:"input",type:"text",class:e.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[2]||(n[2]=H=>l.editableFigcaptionText=H),placeholder:"figcaption"},null,8,["class","modelValue"])):(oe=o.figcaption)!=null&&oe.text?(e.openBlock(),e.createElementBlock("figcaption",{key:1,innerHTML:(ne=o.figcaption)==null?void 0:ne.text},null,8,Uc)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),!B.editing&&!l.imageSource?(e.openBlock(),e.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:n[3]||(n[3]=(...H)=>l.onAddItem&&l.onAddItem(...H))},Wc)):e.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):o.useFigureTag?(e.openBlock(),e.createElementBlock("figure",{key:1,class:e.normalizeClass(["cmd-image",l.textAlign])},[((d=o.figcaption)==null?void 0:d.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",{key:0,innerHTML:(m=o.figcaption)==null?void 0:m.text},null,8,Gc)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:(f=o.image)==null?void 0:f.alt,title:(p=o.image)==null?void 0:p.tooltip,onLoad:n[4]||(n[4]=(...B)=>l.onImageLoaded&&l.onImageLoaded(...B))},null,40,Jc),((u=o.figcaption)==null?void 0:u.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",{key:1,innerHTML:(h=o.figcaption)==null?void 0:h.text},null,8,Kc)):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("img",{key:2,src:l.imageSource,alt:(b=o.image)==null?void 0:b.alt,title:(g=o.image)==null?void 0:g.tooltip,onLoad:n[5]||(n[5]=(...B)=>l.onImageLoaded&&l.onImageLoaded(...B))},null,40,Zc))}const ie=S(Rc,[["render",Xc]]),Yc={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(t){return t==="next"||t==="prev"||t==="up"||t==="down"}},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"},next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"},up:{iconClass:"icon-chevron-one-stripe-up",tooltip:"Previous"},down:{iconClass:"icon-chevron-one-stripe-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},Qc=["title"];function $c(t,n,o,r,i,l){const a=M;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",o.slideButtonType]),title:l.getDirection.tooltip},[e.createVNode(a,{type:l.getDirection.iconType||"auto",iconClass:l.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Qc)}const Me=S(Yc,[["render",$c]]),vc={name:"CmdThumbnailScroller",emits:["click"],mixins:[J,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},U],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(t){return t==="image"||t==="text"}},executeOnClick:{type:String,default:"fancybox",validator(t){return t==="fancybox"||t==="url"||t==="emit"}},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},mounted(){const t=this.$refs["thumbnail-scroller"],n=t.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:Be(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(se(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:Be(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},toggleSlideButtons(t){this.showSlidebuttons=t.scrollWidth>t.clientWidth},showNextItem(){const t=this.items.shift();t&&this.items.push(t)},showPrevItem(){const t=this.items.pop();t&&this.items.unshift(t)},showFancyBox(t){this.allowOpenFancyBox&&pe({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){if(this.contentType==="image"){this.$emit("click",this.items[t].image.id);return}this.$emit("click",this.items[t].id)},executeLink(t,n){this.executeOnClick==="emit"?(n.preventDefault(),this.emitCurrentItemId(t)):this.executeOnClick==="fancybox"&&(n.preventDefault(),this.showFancyBox(t))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(t=>{let n;return this.contentType==="image"?(n={image:{...t.image},figcaption:{...t.figcaption}},n.image.srcImageSmall&&(n.image.src=n.image.srcImageSmall)):n={...t},n})},immediate:!0,deep:!0}}},ed={class:"inner-thumbnail-wrapper"},td=["href","onClick","title","target"],od={key:1},nd={key:1},ld={key:0},id=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function rd(t,n,o,r,i,l){var m;const a=D,s=Me,c=ie,d=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":o.useGalleryScroller,"large-icons":o.largeIcons,vertical:o.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(m=o.cmdHeadline)!=null&&m.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",ed,[i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(f,p)=>(e.openBlock(),e.createElementBlock("li",{key:p},[t.editModeContext?o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:1,image:f.image,figcaption:f.figcaption,componentPath:["props","thumbnailScrollerItems",p],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.contentType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[f.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),f.text?(e.openBlock(),e.createElementBlock("span",nd,e.toDisplayString(f.text),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("a",{key:0,href:o.executeOnClick==="url"?f.url:"#",onClick:u=>l.executeLink(p,u),class:e.normalizeClass([{active:o.activeItemIndex===p},f.id?"item-"+f.id:""]),title:l.tooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(c,{key:0,image:f.image,figcaption:f.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),f.text?(e.openBlock(),e.createElementBlock("span",od,e.toDisplayString(f.text),1)):e.createCommentVNode("",!0)],64))],10,td))]))),128)),!i.items.length&&o.contentType==="image"?(e.openBlock(),e.createElementBlock("li",ld,[e.createElementVNode("button",{type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...f)=>l.onAddItem&&l.onAddItem(...f))},id)])):e.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const An=S(vc,[["render",rd]]),pe=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Rn,{...t,show:!0}).mount(n)},Rn=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:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var n;const t={...((n=this.cmdImage)==null?void 0:n.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var t;return(t=this.fancyBoxGallery)!=null&&t.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(t){(await ad(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ad(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const sd=Rn,cd=["aria-label"],dd={class:"flex-container"},md={key:1,class:"button-wrapper no-flex"},fd=["title"],ud=["title"],hd=["title"],pd={key:0,class:"content"},gd=["innerHTML"],yd={key:2,class:"content",ref:"elements"},kd={key:3,class:"content"},bd={key:4,class:"content"},Cd={key:0,class:"flex-container no-flex"},Bd=["title"],wd={key:1},xd=["title"],_d={key:1};function Sd(t,n,o,r,i,l){var f,p,u,h,b,g,B,w,x,T,F,C,E,I,A,P,te,oe,ne,H,ue,V,re,Ge,Je,Ke,Ze;const a=D,s=M,c=ie,d=Me,m=An;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":t.showOverlay,image:t.fancyBoxImageUrl||t.fancyBoxGallery,"image-gallery":t.fancyBoxGallery}]),"aria-label":t.ariaLabelText,onCancel:n[5]||(n[5]=(...X)=>t.onDialogCancel&&t.onDialogCancel(...X))},[e.createElementVNode("header",dd,[(f=t.cmdHeadline)!=null&&f.headlineText?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0},t.cmdHeadline,{id:t.htmlId}),null,16,["id"])):e.createCommentVNode("",!0),(p=t.fancyboxOptions.printButtons)!=null&&p.color||(u=t.fancyboxOptions.printButtons)!=null&&u.grayscale||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",md,[t.showPrintButtons&&((h=t.fancyboxOptions.printButtons)!=null&&h.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(b=t.fancyboxOptions.printButtons.color)==null?void 0:b.tooltip,onClick:n[0]||(n[0]=e.withModifiers(X=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(s,{iconClass:(g=t.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(B=t.fancyboxOptions.printButtons.color)==null?void 0:B.iconType},null,8,["iconClass","type"])],8,fd)):e.createCommentVNode("",!0),t.showPrintButtons&&((w=t.fancyboxOptions.printButtons)!=null&&w.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.tooltip,onClick:n[1]||(n[1]=e.withModifiers(X=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(s,{iconClass:(T=t.fancyboxOptions.printButtons.grayscale)==null?void 0:T.iconClass,type:(F=t.fancyboxOptions.printButtons.grayscale)==null?void 0:F.iconType},null,8,["iconClass","type"])],8,ud)):e.createCommentVNode("",!0),t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:t.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...X)=>t.close&&t.close(...X),["prevent"]))},[e.createVNode(s,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,hd)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||(C=t.cmdImage)!=null&&C.image?(e.openBlock(),e.createElementBlock("div",pd,[e.createVNode(c,{image:t.largeSingleImage,figcaption:(E=t.cmdImage)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,gd)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",yd,null,512)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",kd,[e.createVNode(d,{onClick:e.withModifiers(t.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(c,{image:t.largeGalleryImage,figcaption:t.fancyBoxGallery[t.index].figcaption},null,8,["image","figcaption"]),e.createVNode(d,{onClick:e.withModifiers(t.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",bd,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",Cd,[(I=t.fancyboxOptions.submitButtons)!=null&&I.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...X)=>t.cancel&&t.cancel(...X)),title:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(te=t.fancyboxOptions.submitButtons.cancel)==null?void 0:te.iconClass,type:(oe=t.fancyboxOptions.submitButtons.cancel)==null?void 0:oe.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons.cancel)!=null&&ne.buttonText?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString((H=t.fancyboxOptions.submitButtons.cancel)==null?void 0:H.buttonText),1)):e.createCommentVNode("",!0)],8,Bd)):e.createCommentVNode("",!0),(ue=t.fancyboxOptions.submitButtons)!=null&&ue.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...X)=>t.confirm&&t.confirm(...X)),title:(V=t.fancyboxOptions.submitButtons.cancel)==null?void 0:V.tooltip},[(re=t.fancyboxOptions.submitButtons.confirm)!=null&&re.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(Ge=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Ge.iconClass,type:(Je=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Je.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(Ke=t.fancyboxOptions.submitButtons.confirm)!=null&&Ke.buttonText?(e.openBlock(),e.createElementBlock("span",_d,e.toDisplayString((Ze=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Ze.buttonText),1)):e.createCommentVNode("",!0)],8,xd)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,cd)])}const Ed=S(sd,[["render",Sd]]),Td={emits:["submit"],mixins:[J,Ac,it],inject:{editModeContext:{default:null}},data(){return{validator:new to(t=>t),formData:{salutation:{value:this.configuration.salutation.default},lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},pobox:{value:""},country:{value:""},additionalAddressInfo:{value:""},userMessage:{value:""},acceptPrivacy:{value:!1}},cityBeforeZip:this.showCityBeforeZip}},props:{useNativeSubmit:{type:Boolean,default:!1},formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"right",text:"Legend"}}},configuration:{type:Object,default(){return{salutation:{name:"salutation",default:"m",replaceInputType:!0},lastName:{name:"surname",required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0}}},cmdHeadline:{type:Object,default(){return{headlineText:"Basic Form",headlineLevel:3}}},cmdForm:{type:Object,required:!1}},mounted(){var t,n;(n=(t=this.$refs.dataPrivacy)==null?void 0:t.querySelector(".component-fancybox"))==null||n.addEventListener("click",o=>{o.preventDefault(),pe({url:o.target.getAttribute("href")})})},methods:{onSubmit(t){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error||this.useNativeSubmit){this.formData.error&&t.originalEvent.preventDefault();return}const n=new FormData,o=Object.keys(this.configuration);for(let r=0;r<o.length;r++)n.set(o[r],this.formData[o[r]].value);fetch(this.formAction,{method:"POST",body:n}).then(r=>{r.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(r=>{console.error(r)}),t.originalEvent.preventDefault()},onCountrySelect(t){this.cityBeforeZip=t==="us"||t==="uk"},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(t,n){t.fancybox&&(n.preventDefault(),pe({url:t}))},openDataPrivacy(t){pe({url:t})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},Vd={class:"cmd-pages-basic-form"},Nd={key:0,class:"flex-container no-flex order-male-female"},Od={key:1,class:"flex-container order-lastname-firstname"},Fd={key:2,class:"flex-container order-phone-email"},Id={key:3,class:"flex-container"},Md=["innerHTML"];function Pd(t,n,o,r,i,l){const a=D,s=z,c=Ln;return e.openBlock(),e.createElementBlock("div",Vd,[o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(c,e.mergeProps({onSubmit:l.onSubmit,novalidate:"novalidate"},o.cmdForm,{legend:o.legend,submitButton:o.submitButton,formAction:o.formAction}),{default:e.withCtx(()=>{var d,m,f,p,u,h,b,g,B,w,x,T,F,C,E,I,A,P,te,oe,ne,H,ue,V,re,Ge,Je,Ke,Ze,X,$i,vi,er,tr,or,nr,lr,ir,rr,ar;return[o.configuration.salutation?(e.openBlock(),e.createElementBlock("div",Nd,[e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_male"),name:((d=o.configuration.salutation)==null?void 0:d.name)||"salutation",inputValue:"m",replaceInputType:(m=o.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":n[0]||(n[0]=L=>i.formData.salutation.value=L),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),e.createVNode(s,{element:"input",type:"radio",labelText:t.getMessage("basic_form.labeltext.salutation_female"),name:((f=o.configuration.salutation)==null?void 0:f.name)||"salutation",inputValue:"f",replaceInputType:(p=o.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":n[1]||(n[1]=L=>i.formData.salutation.value=L),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"top"),o.configuration.lastName||o.configuration.firstName?(e.openBlock(),e.createElementBlock("div",Od,[o.configuration.lastName?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((u=o.configuration.lastName)==null?void 0:u.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.last_name"),required:(h=o.configuration.lastName)==null?void 0:h.required,name:((b=o.configuration.lastName)==null?void 0:b.name)||"last-name",placeholder:t.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":n[2]||(n[2]=L=>i.formData.lastName.value=L),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.firstName?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((g=o.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:t.getMessage("basic_form.labeltext.first_name"),placeholder:t.getMessage("basic_form.placeholder.first_name"),required:(B=o.configuration.firstName)==null?void 0:B.required,name:((w=o.configuration.firstName)==null?void 0:w.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":n[3]||(n[3]=L=>i.formData.firstName.value=L),status:i.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.configuration.email||o.configuration.phone?(e.openBlock(),e.createElementBlock("div",Fd,[o.configuration.email?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:((x=o.configuration.email)==null?void 0:x.type)||"email",iconClass:"icon-mail",labelText:t.getMessage("basic_form.labeltext.email"),placeholder:t.getMessage("basic_form.placeholder.email"),required:(T=o.configuration.email)==null?void 0:T.required,name:((F=o.configuration.email)==null?void 0:F.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":n[4]||(n[4]=L=>i.formData.email.value=L),status:i.formData.email.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.phone?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((C=o.configuration.phone)==null?void 0:C.type)||"tel",iconClass:"icon-phone",labelText:t.getMessage("basic_form.labeltext.phone"),placeholder:t.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":n[5]||(n[5]=L=>i.formData.phone.value=L),required:(E=o.configuration.phone)==null?void 0:E.required,name:((I=o.configuration.phone)==null?void 0:I.name)||"phone",status:i.formData.phone.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","onValidate"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.configuration.streetNo||o.configuration.streetNo||o.configuration.zip&&o.configuration.city?(e.openBlock(),e.createElementBlock("div",Id,[o.configuration.country?(e.openBlock(),e.createBlock(s,{key:0,element:"select",labelText:t.getMessage("basic_form.labeltext.country"),selectOptions:(A=o.configuration.country)==null?void 0:A.selectOptions,required:(P=o.configuration.country)==null?void 0:P.required,name:((te=o.configuration.country)==null?void 0:te.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[n[6]||(n[6]=L=>i.formData.country.value=L),l.onCountrySelect],status:i.formData.country.error?"error":"",onValidate:l.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):e.createCommentVNode("",!0),o.configuration.streetNo?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((oe=o.configuration.streetNo)==null?void 0:oe.type)||"text",labelText:t.getMessage("basic_form.labeltext.street_no"),placeholder:t.getMessage("basic_form.placeholder.street_no"),required:(ne=o.configuration.streetNo)==null?void 0:ne.required,name:((H=o.configuration.streetNo)==null?void 0:H.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":n[7]||(n[7]=L=>i.formData.streetNo.value=L),status:i.formData.streetNo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.pobox?(e.openBlock(),e.createBlock(s,{key:2,element:"input",type:((ue=o.configuration.pobox)==null?void 0:ue.type)||"text",labelText:t.getMessage("basic_form.labeltext.pobox"),placeholder:t.getMessage("basic_form.placeholder.pobox"),required:(V=o.configuration.pobox)==null?void 0:V.required,name:((re=o.configuration.pobox)==null?void 0:re.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":n[8]||(n[8]=L=>i.formData.pobox.value=L),status:i.formData.pobox.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["input-wrapper",i.cityBeforeZip?"order-city-zip":"order-zip-city"])},[o.configuration.zip?(e.openBlock(),e.createBlock(s,{key:0,element:"input",class:"input-zip",type:((Ge=o.configuration.zip)==null?void 0:Ge.type)||"number",labelText:t.getMessage("basic_form.labeltext.zip"),placeholder:t.getMessage("basic_form.placeholder.zip"),required:(Je=o.configuration.zip)==null?void 0:Je.required,name:((Ke=o.configuration.zip)==null?void 0:Ke.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":n[9]||(n[9]=L=>i.formData.zip.value=L),status:i.formData.zip.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0),o.configuration.city?(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:((Ze=o.configuration.city)==null?void 0:Ze.type)||"text",labelText:t.getMessage("basic_form.labeltext.city"),placeholder:t.getMessage("basic_form.placeholder.city"),required:(X=o.configuration.city)==null?void 0:X.required,name:(($i=o.configuration.city)==null?void 0:$i.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":n[10]||(n[10]=L=>i.formData.city.value=L),status:i.formData.city.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0)],2),o.configuration.additionalAddressInfo?(e.openBlock(),e.createBlock(s,{key:3,element:"input",type:((vi=o.configuration.additionalAddressInfo)==null?void 0:vi.type)||"text",labelText:t.getMessage("basic_form.labeltext.additional_address_info"),placeholder:t.getMessage("basic_form.placeholder.additional_address_info"),required:(er=o.configuration.additionalAddressInfo)==null?void 0:er.required,name:((tr=o.configuration.additionalAddressInfo)==null?void 0:tr.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":n[11]||(n[11]=L=>i.formData.additionalAddressInfo.value=L),status:i.formData.additionalAddressInfo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.configuration.userMessage?(e.openBlock(),e.createBlock(s,{key:4,element:((or=o.configuration.userMessage)==null?void 0:or.element)||"textarea",labelText:t.getMessage("basic_form.labeltext.user_message"),placeholder:t.getMessage("basic_form.placeholder.user_message"),required:(nr=o.configuration.userMessage)==null?void 0:nr.required,name:((lr=o.configuration.userMessage)==null?void 0:lr.name)||"user-message",modelValue:i.formData.userMessage.value,"onUpdate:modelValue":n[12]||(n[12]=L=>i.formData.userMessage.value=L),status:i.formData.userMessage.error?"error":"",onValidate:l.onValidate},null,8,["element","labelText","placeholder","required","name","modelValue","status","onValidate"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"bottom"),o.configuration.acceptPrivacy?(e.openBlock(),e.createBlock(s,{key:5,element:"input",type:"checkbox",required:(ir=o.configuration.acceptPrivacy)==null?void 0:ir.required,name:((rr=o.configuration.acceptPrivacy)==null?void 0:rr.name)||"accept-privacy",replaceInputType:(ar=o.configuration.acceptPrivacy)==null?void 0:ar.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":n[13]||(n[13]=L=>i.formData.acceptPrivacy.value=L),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:e.withCtx(()=>[e.createElementVNode("span",{ref:"dataPrivacy",innerHTML:t.getMessage("basic_form.labeltext.data_privacy")},null,8,Md)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):e.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const qn=S(Td,[["render",Pd]]),Ld={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Dd=["title"],Ad={key:1},Rd=["title"];function qd(t,n,o,r,i,l){return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.icon.iconClass&&o.icon.position!=="right"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(o.icon.iconClass),title:o.icon.tooltip},null,10,Dd)):e.createCommentVNode("",!0),o.text?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString(o.text),1)):e.createCommentVNode("",!0),o.icon.iconClass&&o.icon.position==="right"?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(o.icon.iconClass),title:o.icon.tooltip},null,10,Rd)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64)}const zd=S(Ld,[["render",qd]]),Hd={name:"CmdLink",emits:["click"],props:{linkType:{type:String,default:"href",validator(t){return t==="href"||t==="router"||t==="button"}},path:{type:[String,Object],default:"#"},target:{type:String,default:""},icon:{type:Object,default:{}},text:{type:String,default:""},styleAsButton:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(t,n){this.$emit("click",{originalEvent:t,linkType:n})}}},jd=["href","target"];function Ud(t,n,o,r,i,l){const a=zd,s=e.resolveComponent("router-link");return o.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.path,target:o.target,class:e.normalizeClass(["cmd-link",{button:o.styleAsButton,primary:o.primaryButton,fancybox:o.fancybox}]),onClick:n[0]||(n[0]=c=>l.emitClick(c,"href"))},[e.createVNode(a,{text:o.text,icon:o.icon},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["text","icon"])],10,jd)):o.linkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:o.path,class:e.normalizeClass(["cmd-link",{button:o.styleAsButton,primary:o.primaryButton,fancybox:o.fancybox}]),onClick:n[1]||(n[1]=c=>l.emitClick(c,"router"))},{default:e.withCtx(()=>[e.createVNode(a,{text:o.text,icon:o.icon},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class"])):o.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["cmd-link button",{primary:o.primaryButton,fancybox:o.fancybox}]),type:"submit",onClick:n[2]||(n[2]=c=>l.emitClick(c,"button"))},[e.createVNode(a,{text:o.text,icon:o.icon},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["text","icon"])],2)):e.createCommentVNode("",!0)}const xe=S(Hd,[["render",Ud]]),Wd={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[U],data(){var t;return{editableText:(t=this.link)==null?void 0:t.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const t=this.editableText;return j(this,{update(n){n.text=t}})}}},Gd={key:0,class:"cmd-list-of-links-item"},Jd={key:0},Kd={key:1,class:"input-wrapper"};function Zd(t,n,o,r,i,l){var d;const a=xe,s=e.resolveComponent("CmdListOfLinksItem",!0),c=z;return t.editing?(e.openBlock(),e.createElementBlock("div",Kd,[e.createVNode(c,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":n[0]||(n[0]=m=>i.editableText=m)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock("li",Gd,[e.createVNode(a,e.normalizeProps(e.guardReactiveProps(o.link)),null,16),t.editModeContext?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("ul",Jd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((d=o.link)==null?void 0:d.children,(m,f)=>(e.openBlock(),e.createBlock(s,{key:f,link:m},null,8,["link"]))),128))]))]))}const Xd=S(Wd,[["render",Zd]]),Yd={name:"CmdListOfLinks",emits:["click"],mixins:[U],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},showListStyleItems:{type:Boolean,default:!1},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(t){return t==="horizontal"||t==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(se(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return j(this,{update(t,n){const o=n==null?void 0:n.find(r=>r.name==="CmdHeadline");o&&(t.cmdHeadline=t.cmdHeadline||{},o.update(t.cmdHeadline))}})}}},Qd={key:1},$d=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)];function vd(t,n,o,r,i,l){var d;const a=D,s=Xd,c=ce;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:o.styleAsBox,horizontal:o.orientation==="horizontal","section-anchors":o.sectionAnchors,"large-icons":o.largeIcons,"show-list-style-items":o.showListStyleItems}])},[(d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!o.useGap},"align-"+o.align,l.setStretchClass])},[t.editModeContext?(e.openBlock(),e.createElementBlock("li",Qd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(m,f)=>(e.openBlock(),e.createBlock(c,{key:"x"+f,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:m,allowedComponentTypes:[],componentPath:["props","links",f],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createVNode(s,{class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===f}),link:m},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),o.links.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[0]||(n[0]=(...m)=>l.onAddItem&&l.onAddItem(...m))},$d)):e.createCommentVNode("",!0)])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.links,(m,f)=>(e.openBlock(),e.createBlock(s,{key:f,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===f}),link:m},null,8,["class","link"]))),128))],2)],2)}const oo=S(Yd,[["render",vd]]),no={name:"CmdBox",mixins:[J,{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"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(t){return t==="content"||t==="product"||t==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(t){return t==="business"||t==="influencer"||t==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(t){return t==="header"||t==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(t){this.$emit("click",t)},setFocus(){this.$nextTick(()=>{if(this.open){const t=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");t&&t.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},zn=()=>{e.useCssVars(t=>({ae9cb9d6:t.cutoffTextLines}))},Hn=no.setup;no.setup=Hn?(t,n)=>(zn(),Hn(t,n)):zn;const em=["title"],tm={key:0,class:"box-header"},om={key:1,class:"body-icon-wrapper"},nm=["innerHTML"],lm={key:0,class:"body-icon-wrapper"},im=["innerHTML"],rm={key:2,class:"box-footer"},am={key:3,class:"box-footer"},sm={class:"box-header flex-container vertical"},cm={key:0},dm=["src","alt"],mm={key:1},fm={key:2,class:"ribbon-new"},um={key:3,class:"ribbon-discount"},hm={class:"box-body"},pm={key:0},gm={key:1,class:"price"},ym=["title"],km={key:2},bm={class:"box-header flex-container vertical"},Cm={key:0},Bm=["src","alt"],wm={key:0,class:"user-name"},xm={key:0,class:"user-age"},_m={key:1},Sm=["title"],Em={key:0,class:"user-name"},Tm={class:"box-body"},Vm={key:0,class:"user-name"},Nm={key:1},Om={key:2},Fm={key:3,class:"description"},Im={key:0,class:"tags"},Mm={key:1,class:"box-footer"};function Pm(t,n,o,r,i,l){var f,p,u,h,b,g,B,w,x,T;const a=D,s=M,c=ie,d=xe,m=oo;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"cmdBox",class:e.normalizeClass(["cmd-box box content",{open:i.open,collapsible:o.collapsible,"stretch-vertically":o.stretchVertically&&!o.collapsible,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?o.iconOpen.tooltip:o.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...F)=>l.toggleContentVisibility&&l.toggleContentVisibility(...F),["prevent"]))},[(f=o.useSlots)!=null&&f.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(p=o.cmdHeadline)!=null&&p.headlineText&&o.headlinePosition==="header"?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,em)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(u=o.useSlots)!=null&&u.includes("header")||(h=o.cmdHeadline)!=null&&h.headlineText&&o.headlinePosition==="header"?(e.openBlock(),e.createElementBlock("div",tm,[(b=o.useSlots)!=null&&b.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(g=o.cmdHeadline)!=null&&g.headlineText&&o.headlinePosition==="header"?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64)),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["box-body",o.boxBodyClass]),"aria-expanded":"true",role:"article"},[(B=o.useSlots)!=null&&B.includes("body")?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":o.useBoxBodyPadding,"allow-scroll":o.allowContentToScroll}]),ref:"boxBody",style:e.normalizeStyle(o.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[e.renderSlot(t.$slots,"body",{},()=>{var F;return[(F=o.cmdHeadline)!=null&&F.headlineText&&o.headlinePosition==="body"?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.cmdIcon!==void 0?(e.openBlock(),e.createElementBlock("div",om,[e.createVNode(s,{iconClass:o.cmdIcon.iconClass,type:o.cmdIcon.type},null,8,["iconClass","type"])])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:l.toggleTransition},{default:e.withCtx(()=>[o.textBody?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"cutoff-text":o.cutoffTextLines>0,"fade-last-line":o.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText}),innerHTML:o.textBody},null,10,nm)):e.createCommentVNode("",!0),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...C)=>l.toggleCutOffText&&l.toggleCutOffText(...C),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":o.allowContentToScroll}])},[o.cmdImage?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdImage)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"box-body-padding":o.useBoxBodyPadding,"allow-scroll":o.allowContentToScroll})},[o.cmdIcon!==void 0?(e.openBlock(),e.createElementBlock("div",lm,[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(o.cmdIcon)),null,16)])):e.createCommentVNode("",!0),(w=o.cmdHeadline)!=null&&w.headlineText&&o.headlinePosition==="body"?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",{key:2,innerHTML:o.textBody},null,8,im)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2))],2),[[e.vShow,i.open]]),(x=o.cmdLink)!=null&&x.linkType?(e.openBlock(),e.createElementBlock("div",rm,[e.createVNode(d,e.normalizeProps(e.guardReactiveProps(o.cmdLink)),null,16)])):e.createCommentVNode("",!0),(T=o.useSlots)!=null&&T.includes("footer")?(e.openBlock(),e.createElementBlock("div",am,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)],2)):o.boxType==="product"&&o.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(F=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",sm,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",cm,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,dm),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",mm,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",fm,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",um,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hm,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",pm,e.toDisplayString(t.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(o.product.articleNumber),1)):e.createCommentVNode("",!0),o.product.price?(e.openBlock(),e.createElementBlock("p",gm,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,ym)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",km,e.toDisplayString(o.product.description),1)):e.createCommentVNode("",!0)])],2)):o.boxType==="user"&&o.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",o.profileType,{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[e.createElementVNode("div",bm,[o.user.image?(e.openBlock(),e.createElementBlock("figure",Cm,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,Bm),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("figcaption",wm,[e.createTextVNode(e.toDisplayString(o.user.name),1),o.user.age?(e.openBlock(),e.createElementBlock("span",xm," ("+e.toDisplayString(o.user.age)+")",1)):e.createCommentVNode("",!0)]))])):(e.openBlock(),e.createElementBlock("div",_m,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,Sm),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",Em,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",Tm,[o.rowView?(e.openBlock(),e.createElementBlock("p",Vm,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",Nm,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",Om,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",Fm,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),o.user.tags&&o.user.tags.length?(e.openBlock(),e.createElementBlock("ul",Im,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(F,C)=>(e.openBlock(),e.createElementBlock("li",{key:C},e.toDisplayString(F),1))),128))])):e.createCommentVNode("",!0),o.user.links&&o.user.links.length?(e.openBlock(),e.createElementBlock("div",Mm,[e.createVNode(m,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const lo=S(no,[["render",Pm]]),io={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},allowMultipleExpandedBoxes:{type:Boolean,default:!0},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(t){return this.currentOpenBox.includes(t)},boxIsToggled(t){alert(t)},boxesPerRowResponsive(t,n){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?t===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>t?this.boxesPerRow[t]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(t,n){if(this.allowMultipleExpandedBoxes)if(n)this.currentOpenBox.push(t);else{let o=this.currentOpenBox.indexOf(t);this.currentOpenBox.splice(o,1)}else this.currentOpenBox=[],n&&this.currentOpenBox.push(t)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},jn=()=>{e.useCssVars(t=>({"7dc17307":t.boxesPerRowLarge,"3c53d129":t.boxesPerRowMedium,"7e294cd3":t.boxesPerRowSmall}))},Un=io.setup;io.setup=Un?(t,n)=>(jn(),Un(t,n)):jn;const Lm={class:"cmd-box-wrapper"},Dm={key:0,class:"flex-container headline-wrapper"},Am={key:1,class:"options-wrapper"},Rm=["title"];function qm(t,n,o,r,i,l){const a=D,s=M;return e.openBlock(),e.createElementBlock("div",Lm,[o.cmdHeadline.headlineText||o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("div",Dm,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("div",Am,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleOrientation&&l.toggleOrientation(...c),["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(s,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,Rm)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["inner-box-wrapper",o.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!o.useGap,"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:n[1]||(n[1]=(...c)=>l.boxIsToggled&&l.boxIsToggled(...c))})],2)])}const Wn=S(io,[["render",qm]]);function _e(t){return t.path?t.path:((t.route==null||typeof t.route!="object"||!t.route.path&&!t.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",t.route),t.route)}const zm={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return _e(t)}}},Hm={class:"cmd-breadcrumbs"},jm={key:0,class:"breadcrumb-label"},Um=["href"],Wm={key:1},Gm={key:1},Jm={key:2},Km={key:1},Zm={key:3,class:"separator"};function Xm(t,n,o,r,i,l){const a=M,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Hm,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",jm,e.toDisplayString(o.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.breadcrumbLinks||[],(c,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path},[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Wm,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)],8,Um)):c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c)},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Gm,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Jm,[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Km,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0)])),d<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Zm,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Gn=S(zm,[["render",Xm]]),Ym={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const t=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(t,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onImageLoaded(t){this.$emit("image-loaded",t)},onColorSchemeChange(t){this.prefersColorScheme=t.matches?"light":"dark"},observeDom(t){for(let n=0;n<t.length;n++)if(t[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(t){return _e(t)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},Qm={class:"cmd-company-logo company-logo"},$m=["href","title"];function vm(t,n,o,r,i,l){var c,d,m,f,p,u;const a=ie,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Qm,[((c=o.link)==null?void 0:c.type)==="router"?(e.openBlock(),e.createBlock(s,{key:0,to:(d=o.link)==null?void 0:d.path,title:(m=o.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(a,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((f=o.link)==null?void 0:f.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(p=o.link)==null?void 0:p.path,title:(u=o.link)==null?void 0:u.tooltip},[e.createVNode(a,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])],8,$m)):(e.openBlock(),e.createBlock(a,{key:2,image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Jn=S(Ym,[["render",vm]]),ef={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},contentBelowSlot:{type:String,required:!1},containerType:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(t){return t==="horizontal"||t==="vertical"}},innerClass:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},methods:{addHandlerProvider(){return""},oneSlotItem(){if(typeof this.$slots.default!="function")return!1;const t=this.$slots.default();return t.length===1&&typeof t[0].type=="symbol"&&Array.isArray(t[0].children)?t[0].children.length===1:t.length===1&&typeof t[0].type=="object"&&t[0].type.name==="RenderComponents"&&typeof t[0].props=="object"&&Array.isArray(t[0].props.components)?t[0].props.components.length===1:t.length===1}},computed:{setInnerClass(){let t=this.innerClass||"";switch(this.containerType){case"grid":t+=" grid-container-create-columns";break;case"flex":this.contentOrientation==="horizontal"?t+=" flex-container":this.contentOrientation==="vertical"&&(t+=" flex-container vertical");break}return t}}},tf={class:"cmd-container"},of=["innerHTML"],nf=["innerHTML"];function lf(t,n,o,r,i,l){const a=D;return e.openBlock(),e.createElementBlock("div",tf,[o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.contentAboveSlot?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.contentAboveSlot},null,8,of)):e.createCommentVNode("",!0),l.oneSlotItem()?e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass([l.setInnerClass,"inner-slot-wrapper"])},[e.renderSlot(t.$slots,"default")],2)),o.contentBelowSlot?(e.openBlock(),e.createElementBlock("div",{key:4,innerHTML:o.contentBelowSlot},null,8,nf)):e.createCommentVNode("",!0)])}const rf=S(ef,[["render",lf]]),af={name:"CmdCookieDisclaimer",mixins:[J,{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!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{useSlot:{type:Boolean,default:!1},modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var o,r;const t=this.modelValue?[...this.modelValue]:[],n=((r=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:r.cookies)||[];for(let i=0;i<n.length;i++)t.includes(n[i].value)||t.push(n[i].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,l,a;const t=[],n=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(n)for(let s=0;s<n.length;s++)t.push(n[s].value);const o=(a=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:a.cookies;if(o)for(let s=0;s<o.length;s++)t.push(o[s].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},sf={class:"cmd-cookie-disclaimer flex-container vertical"},cf={key:0,class:"flex-container vertical"},df={key:0},mf={key:1},ff=["href","target"],uf=["innerHTML"],hf=e.createElementVNode("hr",null,null,-1),pf={key:1,class:"flex-container vertical"},gf={key:0},yf={key:1},kf=["href","target"],bf=["innerHTML"],Cf={class:"button-wrapper align-center"};function Bf(t,n,o,r,i,l){const a=D,s=z,c=lo;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var d,m,f;return[e.createElementVNode("div",sf,[o.useSlot?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(d=o.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((m=o.cmdHeadlineCookieDisclaimer)!=null&&m.headlineText)&&((f=o.cmdHeadlineCookieDisclaimer)!=null&&f.headlineLevel)?(e.openBlock(),e.createBlock(a,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var p,u,h,b,g,B,w,x;return[(p=o.cookieOptions)!=null&&p.required?(e.openBlock(),e.createElementBlock("div",cf,[(u=o.cmdBoxRequiredCookies)!=null&&u.showHeadline?(e.openBlock(),e.createBlock(a,{key:0,"headline-text":(h=o.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(b=o.cmdBoxRequiredCookies)==null?void 0:b.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(T,F)=>{var C;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(C=o.cmdBoxRequiredCookies)==null?void 0:C.collapsible,key:F},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=E=>l.acceptedCookies=E),inputValue:T.value,labelText:T.labelText,disabled:T.disabled,id:T.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[T.description?(e.openBlock(),e.createElementBlock("p",df,e.toDisplayString(T.description),1)):e.createCommentVNode("",!0),T.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",mf,[e.createTextVNode(e.toDisplayString(T.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:T.linkDataPrivacy.link,target:T.linkDataPrivacy.target},e.toDisplayString(T.linkDataPrivacy.linkText),9,ff)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,uf)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),hf,(g=o.cookieOptions)!=null&&g.optional?(e.openBlock(),e.createElementBlock("div",pf,[(B=o.cmdBoxOptionalCookies)!=null&&B.showHeadline?(e.openBlock(),e.createBlock(a,{key:0,"headline-text":(w=o.cmdBoxOptionalCookies)==null?void 0:w.headlineText,"headline-level":(x=o.cmdBoxOptionalCookies)==null?void 0:x.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(T,F)=>{var C;return e.openBlock(),e.createBlock(c,{useSlots:["header","body"],collapsible:(C=o.cmdBoxOptionalCookies)==null?void 0:C.collapsible,key:F},{header:e.withCtx(()=>[e.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=E=>l.acceptedCookies=E),inputValue:T.value,labelText:T.labelText,disabled:T.disabled,id:T.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[T.description?(e.openBlock(),e.createElementBlock("p",gf,e.toDisplayString(T.description),1)):e.createCommentVNode("",!0),T.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",yf,[e.createTextVNode(e.toDisplayString(T.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:T.linkDataPrivacy.link,target:T.linkDataPrivacy.target},e.toDisplayString(T.linkDataPrivacy.linkText),9,kf)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,bf)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Cf,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...p)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...p))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...p)=>l.acceptAllCookies&&l.acceptAllCookies(...p))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])],64))])]}),_:3})}const wf=S(af,[["render",Bf]]),xf={name:"CmdCopyrightWrapper"},_f={class:"cmd-copyright-information",role:"contentinfo"},Sf=[e.createElementVNode("a",{href:"https://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function Ef(t,n,o,r,i,l){return e.openBlock(),e.createElementBlock("div",_f,Sf)}const Tf=S(xf,[["render",Ef]]),Vf={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[J,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...Qt.data().defaultMessageProperties}}}},it,Ie,eo],data(){return{showOptions:!1,validationStatus:"",allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(t){return t==="default"||t==="color"||t==="country"||t==="content"||t==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(t){return t==="href"||t==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},iconDropdown:{type:Object,default(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(r=>r.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var t;this.type==="default"&&((t=this.selectData)!=null&&t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Nf=["title","aria-labelledby","aria-required"],Of={key:0,class:"label-text"},Ff=["id"],If={key:0,"aria-hidden":"true"},Mf=["title","aria-errormessage","id"],Pf=["aria-expanded"],Lf=["title"],Df=["src","alt"],Af={key:3,class:"option-name"},Rf={key:0,role:"listbox"},qf=["aria-selected"],zf=["onClick","title"],Hf={key:1},jf=["aria-expanded"],Uf=["for"],Wf=["value","checked","id"],Gf=["onClick"],Jf=["src","alt"],Kf=["onClick"],Zf={key:0,class:"select-all-options"};function Xf(t,n,o,r,i,l){var d,m,f,p;const a=M,s=Yt,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",Of,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",If,"*")):e.createCommentVNode("",!0)],8,Ff),(t.$attrs.required||t.inputRequirements.length)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(a,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,Mf)):e.createCommentVNode("",!0),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...u)=>l.closeOptions&&l.closeOptions(...u)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>l.toggleOptions&&l.toggleOptions(...u),["prevent"])),onBlur:n[2]||(n[2]=(...u)=>l.onBlur&&l.onBlur(...u)),title:(d=l.optionIcon)==null?void 0:d.tooltip},[o.type==="country"&&l.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:e.normalizeClass(["flag",l.optionCountry])},null,10,Df)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(a,{key:2,type:(f=l.optionIcon)==null?void 0:f.iconType,iconClass:(p=l.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),l.optionName?(e.openBlock(),e.createElementBlock("span",Af,e.toDisplayString(l.optionName),1)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(a,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,Lf),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",Rf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(u,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,role:"option","aria-selected":u.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(b=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue}),title:u.tooltip},[u.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Hf,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0)],10,zf)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:"#",onClick:e.withModifiers(b=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(a,{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,qf))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(u,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(h+1),class:e.normalizeClass({active:o.modelValue.includes(`${u.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:u.value,onChange:n[3]||(n[3]=(...b)=>l.optionSelect&&l.optionSelect(...b)),checked:l.compareValues(u.value),id:"option-"+(h+1)},null,40,Wf),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Uf)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(b=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(u.value),alt:u.text},null,8,Jf),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Gf)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(b=>l.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+u.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,Kf)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Zf,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...u)=>l.toggleAllOptions&&l.toggleAllOptions(...u),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(a,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(a,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(l.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,jf)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,Pf)],10,Nf)}const Kn=S(Vf,[["render",Xf]]),Yf={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(t){this.options.splice(t,1),this.updateSelectedOptions()},updateSelectedOptions(){this.$emit("update:modelValue",this.options)}},watch:{modelValue:{handler(){this.modelValue?this.options=JSON.parse(JSON.stringify(this.modelValue)):this.options=[]},immediate:!0,deep:!0}}},Qf={key:0,class:"cmd-form-filters"},$f={key:0},vf={key:1},eu=["onClick","title"];function tu(t,n,o,r,i,l){const a=M;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Qf,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",$f,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.deleteAllFilters&&l.deleteAllFilters(...s),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(a,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",vf,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(d=>l.deleteClickedFilter(c),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(s)),1),e.createVNode(a,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,eu)]))),128))])):e.createCommentVNode("",!0)}const Zn=S(Yf,[["render",tu]]),ou={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const t=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return t.searchParams.set("hl","de"),t.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),t.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},nu={class:"cmd-google-maps responsive-wrapper"},lu=["src"];function iu(t,n,o,r,i,l){return e.openBlock(),e.createElementBlock("div",nu,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,lu)])}const Xn=S(ou,[["render",iu]]),ru={name:"CmdImageGallery",mixins:[U],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(t){return t==="top"||t==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(t){const n={...t.figcaption};return this.figcaptionPosition&&(n.position=this.figcaptionPosition),n},onAddItem(){this.editModeContext.content.addContent(se(this,"props","images",-1),this.itemProvider)},showFancyBox(t){pe({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const t=this.editableHtmlContent;return j(this,{update(n,o){n.htmlContent=t;const r=o==null?void 0:o.find(i=>i.name==="CmdHeadline");r&&(n.cmdHeadline=n.cmdHeadline||{},r.update(n.cmdHeadline))}})}}},au={class:"grid-container-create-columns cmd-image-gallery"},su=["onClick","title"],cu=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new gallery-image",-1)];function du(t,n,o,r,i,l){var c;const a=D,s=ie;return e.openBlock(),e.createElementBlock("div",au,[(c=o.cmdHeadline)!=null&&c.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editModeContext?o.images.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(d,m)=>(e.openBlock(),e.createBlock(s,{key:m,class:"image-wrapper",image:d.image,figcaption:d.figcaption,componentPath:["props","images",m],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(e.openBlock(),e.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},cu)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(d,m)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:e.withModifiers(f=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(s,{image:d.image,figcaption:l.figcaption(d)},null,8,["image","figcaption"])],8,su))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.images,(d,m)=>(e.openBlock(),e.createElementBlock("div",{key:`i${m}`,class:"image-wrapper"},[e.createVNode(s,{image:d.image,figcaption:l.figcaption(d)},null,8,["image","figcaption"])]))),128))],64))])}const mu=S(ru,[["render",du]]),fu={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(t){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,o=this.$el.querySelector(".zoom-container");o.style.height=`${n}px`,Yn(this,t)})},onMouseMove(t){Yn(this,t)},onMouseOut(){this.showLargeImage=!1}}};function Yn(t,n){const o=t.$el.querySelector(".zoom-container"),r=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,a=n.target.getBoundingClientRect().height,s=r.getBoundingClientRect().width,c=r.getBoundingClientRect().height,d=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,f=Math.min(l,o.getBoundingClientRect().width/s*l),p=Math.min(a,o.getBoundingClientRect().height/c*a),u=Qn(d-f/2,0,l-f),h=Qn(m-p/2,0,a-p),b=-(u*(s/l)),g=-(h*(c/a));i.style.left=`${u}px`,i.style.top=`${h}px`,i.style.width=`${f}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${b}px`,r.style.marginTop=`${g}px`}function Qn(t,n,o){return t<n?n:t>o?o:t}const uu={class:"cmd-image-zoom flex-container"},hu=["title"],pu={class:"zoom-container"},gu=e.createElementVNode("div",{class:"zoom-overlay"},null,-1);function yu(t,n,o,r,i,l){const a=ie;return e.openBlock(),e.createElementBlock("div",uu,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.image.tooltip},[e.createVNode(a,e.mergeProps(o.imageSmall,{figcaption:{},onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,hu),e.createElementVNode("div",pu,[e.createVNode(a,e.mergeProps(o.imageLarge,{useFigureTag:!1}),null,16)]),gu])}const ku=S(fu,[["render",yu]]),bu={mixins:[Qt,it,Ie,eo],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(t){return t==="checkbox"||t==="radio"}},status:{type:String,required:!1,validator(t){return t===""||t==="error"||t==="warning"||t==="success"||t==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var t;if(this.required){if((t=this.inputValue)!=null&&t.length){this.validationStatus="success";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},Cu=["aria-labelledby"],Bu={class:"label-text"},wu=["id"],xu={key:0,"aria-hidden":"true"},_u=["title","aria-errormessage","id"],Su=["for"],Eu=["type","id","name","value","disabled"],Tu={key:1,class:"label-text"},Vu={key:1,class:"flex-container no-flex"};function Nu(t,n,o,r,i,l){const a=M,s=Yt;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switches":o.toggleSwitches,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",Bu,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",xu,"*")):e.createCommentVNode("",!0)],8,wu),(o.required||t.inputRequirements.length>0)&&o.showStatusIcon?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(a,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,_u)):e.createCommentVNode("",!0),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(s,{key:1,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",Vu,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(c,d)=>(e.openBlock(),e.createElementBlock("label",{key:d,for:c.id,class:e.normalizeClass({"toggle-switch":o.toggleSwitches})},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:c.id,name:c.name,value:c.value,"onUpdate:modelValue":n[1]||(n[1]=m=>l.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType})},null,10,Eu),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.labelText?(e.openBlock(),e.createElementBlock("span",Tu,e.toDisplayString(c.labelText),1)):e.createCommentVNode("",!0)],10,Su))),128))],2))],10,Cu)}const $n=S(bu,[["render",Nu]]),Ou={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},orientation:{type:String,default:null,validator(t){return t==="vertical"||t==="horizontal"}},legendLoginForm:{type:Object,default(){return{show:!0,align:"right",text:"Login form"}}},showLegend:{type:Boolean,default:!0},legendForgotLoginForm:{type:Object,default(){return{show:!0,align:'right"',text:"Forgot login form"}}},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,required:!1},cmdFormElementPassword:{type:Object,required:!1},cmdFormElementSendLogin:{type:Object,required:!1},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-chevron-one-stripe-left",tooltip:""},text:"Back to login form"}}}},buttonLogin:{type:Object,required:!1},buttonSendLogin:{type:Object,required:!1}},computed:{cmdFormElementUsernameOptions(){return{labelText:"Username:",placeholder:"Type in username",fieldIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0,...this.cmdFormElementUsername}},cmdFormElementPasswordOptions(){return{labelText:"Password:",placeholder:"Type in password",fieldIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0,...this.cmdFormElementPassword}},cmdFormElementSendLoginOptions(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",fieldIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0,...this.cmdFormElementSendLogin}},buttonLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""},...this.buttonLogin}},buttonSendLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""},...this.buttonSendLogin}},buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return _e(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},Fu={class:"cmd-login-form flex-container"},Iu={class:"option-wrapper flex-container"},Mu={key:1},Pu=["type","disabled"],Lu={key:1},Du={class:"cmd-login-form flex-container"},Au={class:"option-wrapper flex-container"},Ru={key:1},qu=["type","disabled"],zu={key:1};function Hu(t,n,o,r,i,l){var m,f,p,u,h,b,g,B;const a=D,s=z,c=M,d=xe;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",Fu,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legendLoginForm.show,"align-left":o.legendLoginForm.align==="left"})},e.toDisplayString(o.legendLoginForm.text),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["login-fields flex-container",{vertical:o.orientation==="vertical"}])},[e.createVNode(s,e.mergeProps({element:"input",type:"text",ref:"username",modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=w=>l.username=w)},l.cmdFormElementUsernameOptions,{onValidationStatusChange:n[1]||(n[1]=w=>l.checkValidationStatus(w,"username"))}),null,16,["modelValue"]),e.createVNode(s,e.mergeProps({element:"input",type:"password",modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=w=>l.password=w)},l.cmdFormElementPasswordOptions,{onValidationStatusChange:n[3]||(n[3]=w=>l.checkValidationStatus(w,"password"))}),null,16,["modelValue"])],2),e.renderSlot(t.$slots,"login"),e.createElementVNode("div",Iu,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers((...w)=>l.toggleSendLoginView&&l.toggleSendLoginView(...w),["prevent"]))},[(m=o.options.forgotPassword.icon)!=null&&m.show&&((f=o.options.forgotPassword.icon)!=null&&f.iconClass)?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",Mu,e.toDisplayString(o.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.options.createAccount?(e.openBlock(),e.createBlock(d,{key:1,linkType:o.options.createAccount.linkType,path:o.options.createAccount.path,text:o.options.createAccount.text,icon:{iconClass:(p=o.options.createAccount.icon)==null?void 0:p.iconClass,tooltip:(u=o.options.createAccount.icon)==null?void 0:u.tooltip,position:(h=o.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.buttonLoginOptions.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:l.buttonLoginOptions.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:l.buttonLoginOptions.primary}]),onClick:n[5]||(n[5]=(...w)=>l.onClick&&l.onClick(...w)),disabled:l.buttonLoginDisabled},[l.buttonLoginOptions.icon.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:l.buttonLoginOptions.icon.iconClass,type:l.buttonLoginOptions.icon.iconType,title:l.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),l.buttonLoginOptions.text?(e.openBlock(),e.createElementBlock("span",Lu,e.toDisplayString(l.buttonLoginOptions.text),1)):e.createCommentVNode("",!0)],10,Pu)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Du,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legendForgotLoginForm.show,"align-left":o.legendForgotLoginForm.align==="left"})},e.toDisplayString(o.legendForgotLoginForm.text),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(s,e.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:n[6]||(n[6]=w=>l.checkValidationStatus(w,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=w=>i.sendLoginMail=w)},l.cmdFormElementSendLoginOptions),null,16,["modelValue"]),e.renderSlot(t.$slots,"send-login"),e.createElementVNode("div",Au,[o.options.backToLoginForm?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[8]||(n[8]=e.withModifiers((...w)=>l.toggleSendLoginView&&l.toggleSendLoginView(...w),["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",Ru,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.buttonSendLoginOptions.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:l.buttonSendLoginOptions.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:l.buttonSendLoginOptions.primary}]),disabled:l.buttonSendLoginDisabled},[(b=l.buttonSendLoginOptions.icon)!=null&&b.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(g=l.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(B=l.buttonSendLoginOptions.icon)==null?void 0:B.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),l.buttonSendLoginOptions.text?(e.openBlock(),e.createElementBlock("span",zu,e.toDisplayString(l.buttonSendLoginOptions.text),1)):e.createCommentVNode("",!0)],10,qu)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const ju=S(Ou,[["render",Hu]]),Uu={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(t){return t==="right"||t==="left"}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-chevron-one-stripe-down"},subSubentriesIconClass:{type:String,default:"icon-chevron-one-stripe-right"}},methods:{closeAllSubentries(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,r){var i;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((i=n==null?void 0:n.subentries)!=null&&i.length){t.preventDefault(),r?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return _e(t)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Wu={key:0,class:"close-nav"},Gu=["href","title","target","onClick"],Ju={key:1},Ku={key:1},Zu=["aria-expanded"],Xu=["href","title","target","onClick"],Yu={key:1},Qu={key:1},$u=["aria-expanded"],vu=["href","title","target","onClick"],eh={key:1},th={key:1};function oh(t,n,o,r,i,l){const a=M,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}])},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[i.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Wu,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...c),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(c,d)=>{var m,f,p;return e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:c.active,open:i.openEntry===d,"has-subentries":(m=c==null?void 0:c.subentries)==null?void 0:m.length})},[c.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:u=>l.executeLink(u,c,d),onMouseover:n[1]||(n[1]=u=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=u=>l.closeAllSubentries())},[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Ju,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),(f=c==null?void 0:c.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Gu)):e.createCommentVNode("",!0),c.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:e.withCtx(()=>[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",Ku,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),c.subentries&&c.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(p=c==null?void 0:c.subentries)!=null&&p.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.subentries,(u,h)=>{var b;return e.openBlock(),e.createElementBlock("li",{key:h,class:e.normalizeClass({open:i.openSubentry===h})},[u.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:u.path,title:u.tooltip,target:u.target,onClick:g=>l.executeLink(g,u,h,1),onMouseover:n[3]||(n[3]=g=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=g=>l.closeAllSubentries(1))},[u.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Yu,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Xu)):e.createCommentVNode("",!0),u.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(u),title:u.tooltip},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Qu,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(b=u.subentries)!=null&&b.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.subentries,(g,B)=>(e.openBlock(),e.createElementBlock("li",{key:B},[g.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:w=>l.executeLink(w,g)},[g.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,vu)):e.createCommentVNode("",!0),g.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(g),target:g.target},{default:e.withCtx(()=>[g.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),g.text?(e.openBlock(),e.createElementBlock("span",th,e.toDisplayString(g.text),1)):e.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,$u)):e.createCommentVNode("",!0)],2)}),128))],8,Zu)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...c)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...c),["prevent"]))},[e.createVNode(a,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const vn=S(Uu,[["render",oh]]),nh={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-chevron-one-stripe-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return _e(t)}}},lh={key:0,class:"number"},ih={key:2};function rh(t,n,o,r,i,l){const a=M,s=xe;return e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(c,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:i.activeLink===d})},[e.createVNode(s,{linkType:c.type,path:c.path,title:c.tooltip,onClick:e.withModifiers(m=>l.clickedStep(m,d),["stop","prevent"])},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",lh,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),c.iconClass?(e.openBlock(),e.createBlock(a,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.text?(e.openBlock(),e.createElementBlock("span",ih,e.toDisplayString(c.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const ah=S(nh,[["render",rh]]),sh={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(t){return t==="submit"||t==="button"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const t={...this.cmdFormElementSubmit};return t.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",t},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(t){this.$emit("update:modelValue",{subscription:t,email:this.email})}},email:{get(){return this.modelValue.email},set(t){this.$emit("update:modelValue",{subscription:this.subscription,email:t})}}},methods:{sendData(t){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:t})},checkValidationStatus(t){this.buttonDisabled=t!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},ch={class:"cmd-newsletter-subscription flex-container"},dh={class:"button-wrapper"};function mh(t,n,o,r,i,l){const a=$n,s=z;return e.openBlock(),e.createElementBlock("fieldset",ch,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legend.show,"align-left":o.legend.align==="left"})},e.toDisplayString(o.legend.text),3),e.createVNode(a,{inputTypes:"radio",labelText:o.cmdInputGroup.labelText,showLabel:o.cmdInputGroup.showLabel,inputElements:o.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":n[0]||(n[0]=c=>l.subscription=c)},null,8,["labelText","showLabel","inputElements","modelValue"]),e.createVNode(s,{element:"input",type:"email",placeholder:o.cmdFormElementEmail.placeholder,labelText:o.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:o.cmdFormElementEmail.required,useCustomTooltip:o.cmdFormElementEmail.useCustomTooltip,modelValue:l.email,"onUpdate:modelValue":n[1]||(n[1]=c=>l.email=c),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),e.createElementVNode("div",dh,[e.createVNode(s,{element:"button",type:o.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const fh=S(sh,[["render",mh]]);function el(t,n,o,r=!0){function i(l,a){return a&&l<10?"0"+l:l}return(l,a)=>{if(o){let s=l,c=n;return s>12&&(s-=12,c=o),i(s,r)+t+i(a,!0)+c}return i(l,r)+t+i(a,!0)+n}}const uh={name:"CmdOpeningHoursItem",mixins:[U],data(){return{editableDay:{}}},props:{day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(t){t==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):el(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableDay;return j(this,{update(n){n.day=t.day,n.am||(n.am={}),n.am.fromTime=t.amFrom,n.am.tillTime=t.amTill,n.am.displayText=t.amClosed?t.amDisplayText:"",n.pm||(n.pm={}),n.pm.fromTime=t.pmFrom,n.pm.tillTime=t.pmTill,n.pm.displayText=t.pmClosed?t.pmDisplayText:""}})}},watch:{day:{handler(){const t=el(":","","",!0);this.editableDay={day:this.day.day,amFrom:t(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:t(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:t(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:t(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},hh={class:"cmd-opening-hours-item"},ph={key:0,class:"am"},gh={key:1,class:"pm"},yh={class:"flex-container no-flex"},kh={class:"flex-container no-flex am-wrapper"},bh={key:1,class:"input-wrapper"},Ch=["title"],Bh={class:"flex-container no-flex pm-wrapper"},wh={key:1,class:"input-wrapper"},xh=["title"];function _h(t,n,o,r,i,l){const a=z;return t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("dt",null,[e.createVNode(a,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":n[0]||(n[0]=s=>i.editableDay.day=s)},null,8,["modelValue"])]),e.createElementVNode("dd",yh,[e.createElementVNode("div",kh,[i.editableDay.amClosed?(e.openBlock(),e.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":n[1]||(n[1]=s=>i.editableDay.amDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.amClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bh,[e.createVNode(a,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":n[2]||(n[2]=s=>i.editableDay.amFrom=s)},null,8,["modelValue"]),e.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":n[3]||(n[3]=s=>i.editableDay.amTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers(s=>l.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Ch)]),e.createElementVNode("div",Bh,[i.editableDay.pmClosed?(e.openBlock(),e.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":n[5]||(n[5]=s=>i.editableDay.pmDisplayText=s)},null,8,["modelValue"])):e.createCommentVNode("",!0),i.editableDay.pmClosed?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",wh,[e.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":n[6]||(n[6]=s=>i.editableDay.pmFrom=s)},null,8,["modelValue"]),e.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":n[7]||(n[7]=s=>i.editableDay.pmTill=s)},null,8,["min","modelValue"])])),e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(s=>l.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:e.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,xh)])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",hh,e.toDisplayString(o.day.day),1),e.createElementVNode("dd",null,[o.day.am?(e.openBlock(),e.createElementBlock("span",ph,[o.day.am.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.am.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.am.fromTime,o.abbreviationTextAm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.am.tillTime)),1)],64))])):e.createCommentVNode("",!0),o.day.pm?(e.openBlock(),e.createElementBlock("span",gh,[o.day.pm.displayText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.day.pm.displayText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.getTime(o.day.pm.fromTime,o.abbreviationTextPm))+" "+e.toDisplayString(o.separator)+" "+e.toDisplayString(l.getTime(o.day.pm.tillTime)),1)],64))])):e.createCommentVNode("",!0)])],64))}const Sh=S(uh,[["render",_h]]);function Eh(t,n,o,r=!0){function i(l,a){return a&&l<10?"0"+l:l}return(l,a)=>i(l,r)+t+i(a,!0)+n}const Th={name:"CmdOpeningHours",mixins:[U],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},cmdLink:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},r=this.openingHours[n].am.fromTime.split(/[:.]/),i=this.openingHours[n].am.tillTime.split(/[:.]/),l=this.openingHours[n].pm.fromTime.split(/[:.]/),a=this.openingHours[n].pm.tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.am={...this.openingHours[n].am},o.am.fromTime={hours:parseInt(r[0]),mins:parseInt(r[1])},o.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},o.pm={...this.openingHours[n].pm},o.pm.fromTime={hours:parseInt(l[0]),mins:parseInt(l[1])},o.pm.tillTime={hours:parseInt(a[0]),mins:parseInt(a[1])},t.push(o)}return t},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(t){this.editableTextOpen=t}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(t){this.editableTextClosed=t}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(t){this.editableTextHolidays=t}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(t){this.editableTextMiscInfo=t}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.am.fromTime.hours,n.am.fromTime.mins);const r=new Date;r.setHours(n.am.tillTime.hours,n.am.tillTime.mins);const i=new Date;i.setHours(n.pm.fromTime.hours,n.pm.fromTime.mins);const l=new Date;if(l.setHours(n.pm.tillTime.hours,n.pm.tillTime.mins),o<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(se(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):Eh(":"," hrs","",!1)(t.hours,t.mins)},updateHandlerProvider(){const t=this.editableOpeningHours,n=this.editableTextOpen,o=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return j(this,{update(l,a){l.openingHours=t,l.textOpen=n,l.textClosed=o,l.textHolidays=r,l.textMiscInfo=i;const s=a==null?void 0:a.find(c=>c.name==="CmdHeadline");s&&(l.cmdHeadline=l.cmdHeadline||{},s.update(l.cmdHeadline))}})}}},Vh={class:"cmd-opening-hours"},Nh={key:2,class:"flex-container"},Oh={key:3},Fh=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new entry",-1)],Ih={class:"edit-mode-opening-hours-item"},Mh={key:5},Ph={key:0},Lh={key:1},Dh={key:6,class:"flex-container vertical"};function Ah(t,n,o,r,i,l){var f,p;const a=D,s=xe,c=z,d=Sh,m=ce;return e.openBlock(),e.createElementBlock("div",Vh,[(f=o.cmdHeadline)!=null&&f.headlineText||t.editModeContext?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Nh,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":n[0]||(n[0]=u=>l.textOpenModel=u)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":n[1]||(n[1]=u=>l.textClosedModel=u)},null,8,["modelValue"])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(p=o.cmdLink)!=null&&p.path?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0,linkType:o.cmdLink.type||"href"},o.cmdLink,{class:{closed:l.isClosed}}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.textOpenClosed),1)]),_:1},16,["linkType","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3))],64)),t.editModeContext?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[l.openingHoursFormatted.length===0?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:n[2]||(n[2]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Fh)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l.openingHoursFormatted,(u,h)=>(e.openBlock(),e.createBlock(m,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:l.itemProvider},{default:e.withCtx(()=>[e.createElementVNode("dl",Ih,[e.createVNode(d,{day:u,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(e.openBlock(),e.createElementBlock("dl",Oh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.openingHoursFormatted,(u,h)=>(e.openBlock(),e.createBlock(d,{key:h,day:u,separator:o.separator,abbreviationTextAm:o.abbreviationTextAm,abbreviationTextPm:o.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"]))),128))])),!t.editing&&(o.textHolidays||o.textMiscInfo)?(e.openBlock(),e.createElementBlock("div",Mh,[o.textHolidays?(e.openBlock(),e.createElementBlock("p",Ph,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidays),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",Lh,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.editing?(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":n[3]||(n[3]=u=>l.textHolidaysModel=u)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":n[4]||(n[4]=u=>l.textMiscInfoModel=u)},null,8,["modelValue"])])):e.createCommentVNode("",!0)])}const Rh=S(Th,[["render",Ah]]),qh={name:"CmdPagination",mixins:[J,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(t){return t==="href"||t==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},zh={class:"cmd-pagination"},Hh=["href","title"],jh={key:0},Uh={class:"page-index"},Wh={class:"flex-container"},Gh=["href","title","onClick"],Jh=["href","title"],Kh={key:0};function Zh(t,n,o,r,i,l){const a=M;return e.openBlock(),e.createElementBlock("div",zh,[e.createElementVNode("a",{href:l.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.previousPage&&l.previousPage(...s),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(a,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",jh,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,Hh),e.createElementVNode("div",Uh,[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(s,c)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(s),class:e.normalizeClass({disabled:i.currentPage===c+1,button:o.linkType==="button",hidden:!o.showPageNumbers}),title:i.currentPage!==c+1?t.getMessage("cmdpager.tooltip.go_to_page",c+1):t.getMessage("cmdpager.tooltip.not_possible"),key:c,onClick:e.withModifiers(d=>l.showPage(s),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(c+1),1)],10,Gh))),128))])]),e.createElementVNode("a",{href:l.getNextHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...s)=>l.nextPage&&l.nextPage(...s),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Kh,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(a,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Jh)])}const Xh=S(qh,[["render",Zh]]),Yh={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[U],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},buttonTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},preventOnDisabled(t){let n=t.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&t.preventDefault()},tooltip(t){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?t:this.tooltipAcceptDataPrivacy:t},addHandlerProvider(){const t={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return j(this,{item(){return t}})},updateHandlerProvider(){const t=Be(),n=this.editablePath,o=this.editableTooltip,r=this.editableLinktext;return j(this,{update(i){i.id=t,i.path=n,i.tooltip=o,i.linkText=r}})}}},Qh={class:"cmd-social-networks-item"},$h=["id","href","title"],vh={key:1};function ep(t,n,o,r,i,l){const a=M;return e.openBlock(),e.createElementBlock("li",Qh,[(e.openBlock(),e.createElementBlock("a",{key:o.network.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!o.dataPrivacyAccepted},"text-align-"+o.buttonTextAlign]),id:o.network.id,href:l.getUrl(o.network),onClick:n[0]||(n[0]=(...s)=>l.preventOnDisabled&&l.preventOnDisabled(...s)),target:"_blank",title:l.tooltip(o.network.tooltip)},[o.network.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:o.network.iconClass,type:o.network.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.network.linkText?(e.openBlock(),e.createElementBlock("span",vh,e.toDisplayString(o.network.linkText),1)):e.createCommentVNode("",!0)],10,$h))])}const tp=S(Yh,[["render",ep]]),op={name:"CmdSocialNetworks",mixins:[U],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},buttonTextAlign:{type:String,default:"right",validator(t){return t==="left"||t==="right"}},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(t=>t.path)},alignment(){return"align-"+this.align}},methods:{onAddItem(){this.editModeContext.content.addContent(se(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},preventOnDisabled(t){let n=t.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&t.preventDefault()},tooltip(t){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?t:this.tooltipAcceptDataPrivacy:t},onPersist(t){return{editModeContextData:{...this.editModeContextData||{}},update(n){n.cmdHeadline={...n.cmdHeadline||{}},Array.isArray(t)&&t.length>0&&(n.cmdHeadline.headlineText=t[0].headlineText)}}}}},np=[e.createElementVNode("span",{class:"icon-plus"},null,-1)];function lp(t,n,o,r,i,l){var m,f;const a=D,s=z,c=tp,d=ce;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons},l.alignment])},[(m=o.cmdHeadline)!=null&&m.headlineText||(f=t.editModeContext)!=null&&f.editing?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline||{})),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1,element:"input",type:"checkbox"},o.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=p=>i.dataPrivacyAccepted=p)}),null,16,["modelValue"])):e.createCommentVNode("",!0),l.validNetworks.length>0?(e.openBlock(),e.createElementBlock("ul",{key:2,class:e.normalizeClass(["button-wrapper",{"no-gap":!o.useGap}])},[t.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l.validNetworks,(p,u)=>(e.openBlock(),e.createBlock(d,{key:"x"+u,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",u],showComponentName:!1},{default:e.withCtx(()=>[e.createVNode(c,{network:p,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,(p,u)=>(e.openBlock(),e.createBlock(c,{key:u,network:p,userMustAcceptDataPrivacy:o.userMustAcceptDataPrivacy,buttonTextAlign:o.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:o.page,appendPage:o.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),e.renderSlot(t.$slots,"default")],64))],2)):(e.openBlock(),e.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:n[1]||(n[1]=(...p)=>l.onAddItem&&l.onAddItem(...p))},np))],2)}const tl=S(op,[["render",lp]]),ip={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var n;const t={show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"};return{...t,...this.buttonPrintView,icon:{...t.icon,...(n=this.buttonPrintView)==null?void 0:n.icon}}}},methods:{showFancyBox(){let t=[];typeof this.cmdFancyBox.elements=="function"?t=this.cmdFancyBox.elements():t=[document.querySelector("main")],pe({elements:t,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey})}}},rp={class:"button-wrapper"},ap=["title"],sp={key:1};function cp(t,n,o,r,i,l){var s,c,d,m;const a=tl;return e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":o.useSmallButtons}])},[o.cmdSocialNetworks?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdSocialNetworks)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"cmd-social-networks")]),_:3},16)):e.createCommentVNode("",!0),e.createElementVNode("div",rp,[e.renderSlot(t.$slots,"default"),(s=l.buttonPrintViewOptions)!=null&&s.show?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(["button",{primary:l.buttonPrintViewOptions.primary}]),title:l.buttonPrintViewOptions.text?(c=l.buttonPrintViewOptions.icon)==null?void 0:c.tooltip:null,onClick:n[0]||(n[0]=(...f)=>l.showFancyBox&&l.showFancyBox(...f))},[(d=l.buttonPrintViewOptions.icon)!=null&&d.show?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass((m=l.buttonPrintViewOptions.icon)==null?void 0:m.iconClass)},null,2)):e.createCommentVNode("",!0),l.buttonPrintViewOptions.text?(e.openBlock(),e.createElementBlock("span",sp,e.toDisplayString(l.buttonPrintViewOptions.text),1)):e.createCommentVNode("",!0)],10,ap)):e.createCommentVNode("",!0)])],2)}const dp=S(ip,[["render",cp]]),mp={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},fp={key:0,class:"cmd-page-header flex-container"},up={key:0,class:"headline-wrapper flex-container vertical"};function hp(t,n,o,r,i,l){const a=Gn,s=D;return o.cmdBreadcrumbs||o.cmdHeadline||t.$slots.default?(e.openBlock(),e.createElementBlock("header",fp,[o.cmdBreadcrumbs||o.cmdHeadline?(e.openBlock(),e.createElementBlock("div",up,[o.cmdBreadcrumbs?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdBreadcrumbs)),null,16)):e.createCommentVNode("",!0),o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.$slots.default?e.renderSlot(t.$slots,"default",{key:1}):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}const pp=S(mp,[["render",hp]]),gp={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}}},yp=["for"],kp={class:"progressbar"},bp={key:0},Cp=["id","value"];function Bp(t,n,o,r,i,l){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",kp,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",bp,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,Cp)])],8,yp)}const wp=S(gp,[["render",Bp]]),xp={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-chevron-one-stripe-left":"icon-chevron-one-stripe-right":this.open?"icon-chevron-one-stripe-right":"icon-chevron-one-stripe-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},_p={class:"inner-sidebar-wrapper"},Sp={key:1,class:"open-slot-wrapper"},Ep={key:2,class:"closed-slot-wrapper"},Tp=["title"];function Vp(t,n,o,r,i,l){var s;const a=D;return e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:o.styledAsBox,"collapse-to-right":!o.collapseToLeft}])},[e.createElementVNode("div",_p,[(s=o.cmdHeadline)!=null&&s.headlineText&&i.open?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0},o.cmdHeadline,{headlineLevel:o.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):e.createCommentVNode("",!0),i.open?(e.openBlock(),e.createElementBlock("div",Sp,[e.renderSlot(t.$slots,"open",{openBoxStatus:i.open})])):(e.openBlock(),e.createElementBlock("div",Ep,[e.renderSlot(t.$slots,"closed",{openBoxStatus:i.open})]))]),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleSidebar&&l.toggleSidebar(...c),["prevent"]))},[e.createElementVNode("span",{class:e.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,Tp)):e.createCommentVNode("",!0)],2)}const Np=S(xp,[["render",Vp]]),Op={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(t){return t==="horizontal"||t==="vertical"}}}},Fp={class:"cmd-site-footer site-footer"};function Ip(t,n,o,r,i,l){return e.openBlock(),e.createElementBlock("div",Fp,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Mp=S(Op,[["render",Ip]]),Pp={name:"CmdSiteHeader",emits:["offcanvas"],data(){return{defaultLogoHeight:""}},props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},resizeHeaderOnScroll:{type:Boolean,default:!0},scrollContainerToResizeHeader:{type:String,default:".page-wrapper"},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},mounted(){if(this.resizeHeaderOnScroll){const t=document.querySelector(this.scrollContainerToResizeHeader);t.addEventListener("scroll",function(){const n=document.querySelector(".cmd-site-header > header");t.scrollTop>0?n.classList.add("resize-on-scroll"):n.classList.remove("resize-on-scroll")})}},methods:{onImageLoaded(t){this.defaultLogoHeight=t.target.height/10+"rem"},emitOffcanvasStatus(t){this.$emit("offcanvas",t)}},watch:{defaultLogoHeight(){const t=this.$refs["site-header"].querySelector(".cmd-company-logo img");t.style.height=this.defaultLogoHeight}}},Lp={key:0,class:"top-header"};function Dp(t,n,o,r,i,l){var c,d,m,f,p,u,h,b,g;const a=Jn,s=vn;return e.openBlock(),e.createElementBlock("div",{ref:"site-header",class:e.normalizeClass(["cmd-site-header site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((c=o.cmdMainNavigation)==null?void 0:c.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",Lp,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(d=o.cmdMainNavigation)==null?void 0:d.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||(p=(f=o.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&p.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0},o.cmdCompanyLogo,{onImageLoaded:l.onImageLoaded}),null,16,["onImageLoaded"])):e.createCommentVNode("",!0),(h=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&h.length&&o.navigationInline?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1},o.cmdMainNavigation,{closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),(g=(b=o.cmdMainNavigation)==null?void 0:b.navigationEntries)!=null&&g.length&&!o.navigationInline?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1},o.cmdMainNavigation,{closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Ap=S(Pp,[["render",Dp]]),Rp={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[J,{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"}}}}],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},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},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,required:!1},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-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){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}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;(t=this.cmdFormElementRadiusOptions)!=null&&t.selectOptions&&((n=this.cmdFormElementRadiusOptions)!=null&&n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},qp={class:"cmd-box-site-search flex-container"},zp={class:"flex-container align-bottom"},Hp={class:"input-wrapper align-bottom"},jp={key:0},Up={key:1},Wp={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Gp(t,n,o,r,i,l){var f,p,u,h,b,g,B,w;const a=D,s=z,c=M,d=Kn,m=Zn;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",qp,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legend.show,"align-left":o.legend.align==="left"})},e.toDisplayString(o.legend.text),3),o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",zp,[e.createVNode(s,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=x=>l.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Hp,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(s,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=x=>l.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),l.cmdFormElementRadiusOptions.show?(e.openBlock(),e.createBlock(s,e.mergeProps({key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=x=>l.radius=x)},l.cmdFormElementRadiusOptions),null,16,["modelValue"])):e.createCommentVNode("",!0)]),e.createVNode(s,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),o.useFilters?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{class:"filter-options",href:"#",onClick:n[3]||(n[3]=e.withModifiers(x=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(c,{iconClass:i.showFilters?(p=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:p.iconClass:(h=(u=o.cmdIcon)==null?void 0:u.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(b=o.cmdIcon)==null?void 0:b.showFilters)==null?void 0:g.iconType:(w=(B=o.cmdIcon)==null?void 0:B.hideFilters)==null?void 0:w.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",jp,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Up,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var x,T,F,C,E;return[i.showFilters&&((x=o.cmdFakeSelect)!=null&&x.selectData.length)?(e.openBlock(),e.createElementBlock("div",Wp,[e.createVNode(d,{role:"option",selectData:(T=o.cmdFakeSelect)==null?void 0:T.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=I=>l.searchFilters=I),defaultOptionName:(F=o.cmdFakeSelect)==null?void 0:F.defaultOptionName,type:(C=o.cmdFakeSelect)==null?void 0:C.type,labelText:(E=o.cmdFakeSelect)==null?void 0:E.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),o.useFilters?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=x=>l.searchFilters=x),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Jp=S(Rp,[["render",Gp]]),Kp={name:"CmdSlideshow",mixins:[U],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},showSlideButtons:{type:Boolean,default:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(se(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1)},showItem(t){!this.slideshowItemEditing&&t>=0&&t<this.slideshowItems.length&&(this.index=t)},showNextItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0)},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var t;(t=this.$refs.slideshowItemComponentWrapper)==null||t.addEditStateListener(n=>this.slideshowItemEditing=n)})}}},Zp=["href","title"],Xp=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new slideshow-image",-1)],Yp={key:2},Qp=["onClick","aria-label","title"],$p={key:3,class:"item-counter"};function vp(t,n,o,r,i,l){const a=Me,s=ie;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[1]||(n[1]=c=>i.pause=!0),onMouseleave:n[2]||(n[2]=c=>i.pause=!1)},[o.showSlideButtons?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var c,d,m,f,p,u,h,b,g,B,w,x;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"slot-wrapper",key:i.index,style:e.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+i.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.editModeContext?o.slideshowItems.length?(e.openBlock(),e.createBlock(s,{key:1,image:(w=l.currentItem)==null?void 0:w.image,figcaption:(x=l.currentItem)==null?void 0:x.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(d=(c=l.currentItem)==null?void 0:c.link)!=null&&d.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:(f=(m=l.currentItem)==null?void 0:m.link)==null?void 0:f.href,title:(u=(p=l.currentItem)==null?void 0:p.link)==null?void 0:u.tooltip},[e.createVNode(s,{image:(h=l.currentItem)==null?void 0:h.image,figcaption:(b=l.currentItem)==null?void 0:b.figcaption},null,8,["image","figcaption"])],8,Zp)):(e.openBlock(),e.createBlock(s,{key:1,image:(g=l.currentItem)==null?void 0:g.image,figcaption:(B=l.currentItem)==null?void 0:B.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):t.editModeContext?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:n[0]||(n[0]=(...T)=>l.onAddItem&&l.onAddItem(...T))},Xp)):e.createCommentVNode("",!0)]}),_:3}),o.showSlideButtons?(e.openBlock(),e.createBlock(a,e.mergeProps({key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):e.createCommentVNode("",!0),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",Yp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(c,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:d===i.index})},[e.createElementVNode("a",{href:"#",class:e.normalizeClass({disabled:i.slideshowItemEditing}),onClick:e.withModifiers(m=>l.showItem(d),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(d+1)},null,10,Qp)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",$p,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const eg=S(Kp,[["render",vp]]),tg=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%3e%3cg%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%3e%3cg%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),og={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return _e(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(tg[n].default)})},immediate:!0,deep:!0}}},ng={class:"cmd-switch-language"},lg=["href","title","onClick"],ig=["src","alt"],rg=["src","alt"];function ag(t,n,o,r,i,l){const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ng,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(s,c)=>(e.openBlock(),e.createElementBlock("li",{key:c},[s.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.link.path,class:e.normalizeClass(["flag",s.iso2,{active:l.activeLanguage(s)}]),title:s.tooltip,onClick:d=>t.$emit("click",{originalEvent:d,language:s})},[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,ig)],10,lg)):(e.openBlock(),e.createBlock(a,{key:1,class:e.normalizeClass(["flag",s.iso2]),to:l.getRoute(s),title:s.tooltip,onClick:d=>t.$emit("click",{originalEvent:d,language:s})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[c],alt:s.name},null,8,rg)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const sg=S(og,[["render",ag]]),cg={name:"CmdSystemMessage",mixins:[Ie],data(){return{showSystemMessage:!0}},props:{useTransition:{type:Boolean,default:!0},validationStatus:{type:String,required:!0,validator(t){return t==="error"||t==="warning"||t==="success"||t==="info"}},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},dg=["role","aria-labelledby"],mg=["title"];function fg(t,n,o,r,i,l){const a=M,s=D;return e.openBlock(),e.createBlock(e.Transition,{name:o.useTransition?"fade":null},{default:e.withCtx(()=>[i.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(c=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(a,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,mg)):e.createCommentVNode("",!0),e.createVNode(s,{class:"message-headline",cmdIcon:l.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,dg)):e.createCommentVNode("",!0)]),_:3},8,["name"])}const ol=S(cg,[["render",fg]]),ug={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},props:{useTransition:{type:Boolean,default:!0},tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},showSlideButtons:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-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-chevron-one-stripe-right",tooltip:"Stretch table"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},computed:{hasCaption(){var t,n;return this.hideCaption?!1:((t=this.tableData.caption)==null?void 0:t.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var t,n,o;return((t=this.caption)==null?void 0:t.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((o=this.tableData.caption)!=null&&o.show)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const t=this.$refs.table.previousElementSibling,n=this.$refs.table.nextElementSibling,o=this.$refs.innerWrapper,r=o.getBoundingClientRect(),i=r.width+o.scrollLeft-n.getBoundingClientRect().width,l=o.scrollLeft;console.log("parentRect",r),t.style.left=`${l}px`,n.style.left=`${i}px`,l===0?t.style.display="none":t.style.display="flex",l===o.scrollLeftMax?n.style.display="none":n.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},hg={key:0,class:"button-wrapper"},pg=["title"],gg=["title"],yg={"aria-expanded":"true"},kg={key:0,"aria-expanded":"true"};function bg(t,n,o,r,i,l){var c,d,m,f;const a=M,s=Me;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",hg,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(p=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(a,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,pg)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(p=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(a,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,gg)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:n[2]||(n[2]=(...p)=>l.updatePosition&&l.updatePosition(...p))},[o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:0,onClick:e.withModifiers(l.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createElementVNode("table",{ref:"table",class:e.normalizeClass({"full-width":i.fullWidth})},[(c=o.tableData.caption)!=null&&c.text||(d=o.caption)!=null&&d.text?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((m=o.caption)==null?void 0:m.text)||((f=o.tableData.caption)==null?void 0:f.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.thead,(p,u)=>(e.openBlock(),e.createElementBlock("th",{key:u},e.toDisplayString(p),1))),128))])]),e.createVNode(e.Transition,{name:o.useTransition?"fade":null},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",yg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(p,u)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===u}),key:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p,(h,b)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===b}),key:b},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,i.showTableData]])]),_:1},8,["name"]),e.createVNode(e.Transition,{name:o.useTransition?"fade":null},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&i.showTableData?(e.openBlock(),e.createElementBlock("tfoot",kg,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(p,u)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===u}),key:u},e.toDisplayString(p),3))),128))])])):e.createCommentVNode("",!0)]),_:1},8,["name"])],2),o.showSlideButtons?(e.openBlock(),e.createBlock(s,{key:1,onClick:e.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):e.createCommentVNode("",!0)],544)],2)}const Cg=S(ug,[["render",bg]]);cn({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
1
+ (function(S,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(S=typeof globalThis<"u"?globalThis:S||self,t(S["comand-component-library"]={},S.Vue))})(this,function(S,t){"use strict";var U_=Object.defineProperty;var W_=(S,t,me)=>t in S?U_(S,t,{enumerable:!0,configurable:!0,writable:!0,value:me}):S[t]=me;var pt=(S,t,me)=>W_(S,typeof t!="symbol"?t+"":t,me);const me=/^[a-z0-9]+(-[a-z0-9]+)*$/,gt=(e,o,n,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),c=r.pop(),d={provider:r.length>0?r[0]:i,prefix:c,name:s};return o&&!yt(d)?null:d}const l=r[0],a=l.split("-");if(a.length>1){const s={provider:i,prefix:a.shift(),name:a.join("-")};return o&&!yt(s)?null:s}if(n&&i===""){const s={provider:i,prefix:"",name:l};return o&&!yt(s,n)?null:s}return null},yt=(e,o)=>e?!!((e.provider===""||e.provider.match(me))&&(o&&e.prefix===""||e.prefix.match(me))&&e.name.match(me)):!1,wi=Object.freeze({left:0,top:0,width:16,height:16}),bt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kt=Object.freeze({...wi,...bt}),wn=Object.freeze({...kt,body:"",hidden:!1});function Rs(e,o){const n={};!e.hFlip!=!o.hFlip&&(n.hFlip=!0),!e.vFlip!=!o.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(o.rotate||0))%4;return i&&(n.rotate=i),n}function Bi(e,o){const n=Rs(e,o);for(const i in wn)i in bt?i in e&&!(i in n)&&(n[i]=bt[i]):i in o?n[i]=o[i]:i in e&&(n[i]=e[i]);return n}function js(e,o){const n=e.icons,i=e.aliases||{},r=Object.create(null);function l(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=i[a]&&i[a].parent,c=s&&l(s);c&&(r[a]=[s].concat(c))}return r[a]}return Object.keys(n).concat(Object.keys(i)).forEach(l),r}function qs(e,o,n){const i=e.icons,r=e.aliases||{};let l={};function a(s){l=Bi(i[s]||r[s],l)}return a(o),n.forEach(a),Bi(e,l)}function xi(e,o){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{o(r,null),n.push(r)});const i=js(e);for(const r in i){const l=i[r];l&&(o(r,qs(e,r,l)),n.push(r))}return n}const zs={provider:"",aliases:{},not_found:{},...wi};function Bn(e,o){for(const n in o)if(n in e&&typeof e[n]!=typeof o[n])return!1;return!0}function _i(e){if(typeof e!="object"||e===null)return null;const o=e;if(typeof o.prefix!="string"||!e.icons||typeof e.icons!="object"||!Bn(e,zs))return null;const n=o.icons;for(const r in n){const l=n[r];if(!r.match(me)||typeof l.body!="string"||!Bn(l,wn))return null}const i=o.aliases||{};for(const r in i){const l=i[r],a=l.parent;if(!r.match(me)||typeof a!="string"||!n[a]&&!i[a]||!Bn(l,wn))return null}return o}const Ei=Object.create(null);function Hs(e,o){return{provider:e,prefix:o,icons:Object.create(null),missing:new Set}}function Be(e,o){const n=Ei[e]||(Ei[e]=Object.create(null));return n[o]||(n[o]=Hs(e,o))}function xn(e,o){return _i(o)?xi(o,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function Us(e,o,n){try{if(typeof n.body=="string")return e.icons[o]={...n},!0}catch{}return!1}let He=!1;function Si(e){return typeof e=="boolean"&&(He=e),He}function Ws(e){const o=typeof e=="string"?gt(e,!0,He):e;if(o){const n=Be(o.provider,o.prefix),i=o.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function Gs(e,o){const n=gt(e,!0,He);if(!n)return!1;const i=Be(n.provider,n.prefix);return Us(i,n.name,o)}function Ti(e,o){if(typeof e!="object")return!1;if(typeof o!="string"&&(o=e.provider||""),He&&!o&&!e.prefix){let r=!1;return _i(e)&&(e.prefix="",xi(e,(l,a)=>{a&&Gs(l,a)&&(r=!0)})),r}const n=e.prefix;if(!yt({provider:o,prefix:n,name:"a"}))return!1;const i=Be(o,n);return!!xn(i,e)}const Vi=Object.freeze({width:null,height:null}),Ni=Object.freeze({...Vi,...bt}),Js=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ks=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Oi(e,o,n){if(o===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*o*n)/n;if(typeof e!="string")return e;const i=e.split(Js);if(i===null||!i.length)return e;const r=[];let l=i.shift(),a=Ks.test(l);for(;;){if(a){const s=parseFloat(l);isNaN(s)?r.push(l):r.push(Math.ceil(s*o*n)/n)}else r.push(l);if(l=i.shift(),l===void 0)return r.join("");a=!a}}function Zs(e,o){const n={...kt,...e},i={...Ni,...o},r={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,i].forEach(f=>{const h=[],y=f.hFlip,g=f.vFlip;let B=f.rotate;y?g?B+=2:(h.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),h.push("scale(-1 1)"),r.top=r.left=0):g&&(h.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),h.push("scale(1 -1)"),r.top=r.left=0);let _;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:_=r.height/2+r.top,h.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:h.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:_=r.width/2+r.left,h.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}B%2===1&&(r.left!==r.top&&(_=r.left,r.left=r.top,r.top=_),r.width!==r.height&&(_=r.width,r.width=r.height,r.height=_)),h.length&&(l='<g transform="'+h.join(" ")+'">'+l+"</g>")});const a=i.width,s=i.height,c=r.width,d=r.height;let m,u;return a===null?(u=s===null?"1em":s==="auto"?d:s,m=Oi(u,c/d)):(m=a==="auto"?c:a,u=s===null?Oi(m,d/c):s==="auto"?d:s),{attributes:{width:m.toString(),height:u.toString(),viewBox:r.left.toString()+" "+r.top.toString()+" "+c.toString()+" "+d.toString()},body:l}}const Xs=/\sid="(\S+)"/g,Ys="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Qs=0;function $s(e,o=Ys){const n=[];let i;for(;i=Xs.exec(e);)n.push(i[1]);return n.length&&n.forEach(r=>{const l=typeof o=="function"?o(r):o+(Qs++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const _n=Object.create(null);function vs(e,o){_n[e]=o}function En(e){return _n[e]||_n[""]}function Sn(e){let o;if(typeof e.resources=="string")o=[e.resources];else if(o=e.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Tn=Object.create(null),Ue=["https://api.simplesvg.com","https://api.unisvg.com"],Ct=[];for(;Ue.length>0;)Ue.length===1||Math.random()>.5?Ct.push(Ue.shift()):Ct.push(Ue.pop());Tn[""]=Sn({resources:["https://api.iconify.design"].concat(Ct)});function ec(e,o){const n=Sn(o);return n===null?!1:(Tn[e]=n,!0)}function Vn(e){return Tn[e]}let Fi=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function tc(e,o){const n=Vn(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const l=o+".json?icons=";i=n.maxURL-r-n.path.length-l.length}return i}function nc(e){return e===404}const oc=(e,o,n)=>{const i=[],r=tc(e,o),l="icons";let a={type:l,provider:e,prefix:o,icons:[]},s=0;return n.forEach((c,d)=>{s+=c.length+1,s>=r&&d>0&&(i.push(a),a={type:l,provider:e,prefix:o,icons:[]},s=c.length),a.icons.push(c)}),i.push(a),i};function ic(e){if(typeof e=="string"){const o=Vn(e);if(o)return o.path}return"/"}const rc={prepare:oc,send:(e,o,n)=>{if(!Fi){n("abort",424);return}let i=ic(o.provider);switch(o.type){case"icons":{const l=o.prefix,s=o.icons.join(","),c=new URLSearchParams({icons:s});i+=l+".json?"+c.toString();break}case"custom":{const l=o.uri;i+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let r=503;Fi(e+i).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{n(nc(a)?"abort":"next",a)});return}return r=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",r)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",r)})}};function lc(e){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,l)=>r.provider!==l.provider?r.provider.localeCompare(l.provider):r.prefix!==l.prefix?r.prefix.localeCompare(l.prefix):r.name.localeCompare(l.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const l=r.provider,a=r.prefix,s=r.name,c=n[l]||(n[l]=Object.create(null)),d=c[a]||(c[a]=Be(l,a));let m;s in d.icons?m=o.loaded:a===""||d.missing.has(s)?m=o.missing:m=o.pending;const u={provider:l,prefix:a,name:s};m.push(u)}),o}function Pi(e,o){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(r=>r.id!==o))})}function ac(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const o=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const i=e.provider,r=e.prefix;o.forEach(l=>{const a=l.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==r)return!0;const d=c.name;if(e.icons[d])a.loaded.push({provider:i,prefix:r,name:d});else if(e.missing.has(d))a.missing.push({provider:i,prefix:r,name:d});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||Pi([e],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let sc=0;function cc(e,o,n){const i=sc++,r=Pi.bind(null,n,i);if(!o.pending.length)return r;const l={id:i,icons:o,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),r}function dc(e,o=!0,n=!1){const i=[];return e.forEach(r=>{const l=typeof r=="string"?gt(r,o,n):r;l&&i.push(l)}),i}var mc={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function uc(e,o,n,i){const r=e.resources.length,l=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let w=e.resources.slice(0);for(a=[];w.length>1;){const E=Math.floor(Math.random()*w.length);a.push(w[E]),w=w.slice(0,E).concat(w.slice(E+1))}a=a.concat(w)}else a=e.resources.slice(l).concat(e.resources.slice(0,l));const s=Date.now();let c="pending",d=0,m,u=null,p=[],f=[];typeof i=="function"&&f.push(i);function h(){u&&(clearTimeout(u),u=null)}function y(){c==="pending"&&(c="aborted"),h(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function g(w,E){E&&(f=[]),typeof w=="function"&&f.push(w)}function B(){return{startTime:s,payload:o,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:y}}function _(){c="failed",f.forEach(w=>{w(void 0,m)})}function x(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function T(w,E,L){const R=E!=="success";switch(p=p.filter(M=>M!==w),c){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=L,_();return}if(R){m=L,p.length||(a.length?O():_());return}if(h(),x(),!e.random){const M=e.resources.indexOf(w.resource);M!==-1&&M!==e.index&&(e.index=M)}c="completed",f.forEach(M=>{M(L)})}function O(){if(c!=="pending")return;h();const w=a.shift();if(w===void 0){if(p.length){u=setTimeout(()=>{h(),c==="pending"&&(x(),_())},e.timeout);return}_();return}const E={status:"pending",resource:w,callback:(L,R)=>{T(E,L,R)}};p.push(E),d++,u=setTimeout(O,e.rotate),n(w,o,E.callback)}return setTimeout(O),B}function Ii(e){const o={...mc,...e};let n=[];function i(){n=n.filter(s=>s().status==="pending")}function r(s,c,d){const m=uc(o,s,c,(u,p)=>{i(),d&&d(u,p)});return n.push(m),m}function l(s){return n.find(c=>s(c))||null}return{query:r,find:l,setIndex:s=>{o.index=s},getIndex:()=>o.index,cleanup:i}}function Li(){}const Nn=Object.create(null);function fc(e){if(!Nn[e]){const o=Vn(e);if(!o)return;const n=Ii(o),i={config:o,redundancy:n};Nn[e]=i}return Nn[e]}function hc(e,o,n){let i,r;if(typeof e=="string"){const l=En(e);if(!l)return n(void 0,424),Li;r=l.send;const a=fc(e);a&&(i=a.redundancy)}else{const l=Sn(e);if(l){i=Ii(l);const a=e.resources?e.resources[0]:"",s=En(a);s&&(r=s.send)}}return!i||!r?(n(void 0,424),Li):i.query(o,r,n)().abort}const Mi="iconify2",We="iconify",Ai=We+"-count",Di=We+"-version",Ri=36e5,pc=168;function On(e,o){try{return e.getItem(o)}catch{}}function Fn(e,o,n){try{return e.setItem(o,n),!0}catch{}}function ji(e,o){try{e.removeItem(o)}catch{}}function Pn(e,o){return Fn(e,Ai,o.toString())}function In(e){return parseInt(On(e,Ai))||0}const wt={local:!0,session:!0},qi={local:new Set,session:new Set};let Ln=!1;function gc(e){Ln=e}let Bt=typeof window>"u"?{}:window;function zi(e){const o=e+"Storage";try{if(Bt&&Bt[o]&&typeof Bt[o].length=="number")return Bt[o]}catch{}wt[e]=!1}function Hi(e,o){const n=zi(e);if(!n)return;const i=On(n,Di);if(i!==Mi){if(i){const s=In(n);for(let c=0;c<s;c++)ji(n,We+c.toString())}Fn(n,Di,Mi),Pn(n,0);return}const r=Math.floor(Date.now()/Ri)-pc,l=s=>{const c=We+s.toString(),d=On(n,c);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>r&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&o(m,s))return!0}catch{}ji(n,c)}};let a=In(n);for(let s=a-1;s>=0;s--)l(s)||(s===a-1?(a--,Pn(n,a)):qi[e].add(s))}function Ui(){if(!Ln){gc(!0);for(const e in wt)Hi(e,o=>{const n=o.data,i=o.provider,r=n.prefix,l=Be(i,r);if(!xn(l,n).length)return!1;const a=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,a):a,!0})}}function yc(e,o){const n=e.lastModifiedCached;if(n&&n>=o)return n===o;if(e.lastModifiedCached=o,n)for(const i in wt)Hi(i,r=>{const l=r.data;return r.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===o});return!0}function bc(e,o){Ln||Ui();function n(i){let r;if(!wt[i]||!(r=zi(i)))return;const l=qi[i];let a;if(l.size)l.delete(a=Array.from(l).shift());else if(a=In(r),!Pn(r,a+1))return;const s={cached:Math.floor(Date.now()/Ri),provider:e.provider,data:o};return Fn(r,We+a.toString(),JSON.stringify(s))}o.lastModified&&!yc(e,o.lastModified)||Object.keys(o.icons).length&&(o.not_found&&(o=Object.assign({},o),delete o.not_found),n("local")||n("session"))}function Wi(){}function kc(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ac(e)}))}function Cc(e,o){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(o).sort():e.iconsToLoad=o,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,r=e.iconsToLoad;delete e.iconsToLoad;let l;if(!r||!(l=En(n)))return;l.prepare(n,i,r).forEach(s=>{hc(n,s,(c,d)=>{if(typeof c!="object"){if(d!==404)return;s.icons.forEach(m=>{e.missing.add(m)})}else try{const m=xn(e,c);if(!m.length)return;const u=e.pendingIcons;u&&m.forEach(p=>{u.delete(p)}),bc(e,c)}catch(m){console.error(m)}kc(e)})})}))}const wc=(e,o)=>{const n=dc(e,!0,Si()),i=lc(n);if(!i.pending.length){let c=!0;return o&&setTimeout(()=>{c&&o(i.loaded,i.missing,i.pending,Wi)}),()=>{c=!1}}const r=Object.create(null),l=[];let a,s;return i.pending.forEach(c=>{const{provider:d,prefix:m}=c;if(m===s&&d===a)return;a=d,s=m,l.push(Be(d,m));const u=r[d]||(r[d]=Object.create(null));u[m]||(u[m]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:m,name:u}=c,p=Be(d,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),r[d][m].push(u))}),l.forEach(c=>{const{provider:d,prefix:m}=c;r[d][m].length&&Cc(c,r[d][m])}),o?cc(o,i,l):Wi};function Bc(e,o){const n={...e};for(const i in o){const r=o[i],l=typeof r;i in Vi?(r===null||r&&(l==="string"||l==="number"))&&(n[i]=r):l===typeof n[i]&&(n[i]=i==="rotate"?r%4:r)}return n}const xc=/[\s,]+/;function _c(e,o){o.split(xc).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Ec(e,o=0){const n=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/r,l%1===0?i(l):0)}}return o}function Sc(e,o){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in o)n+=" "+i+'="'+o[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Tc(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Vc(e){return'url("data:image/svg+xml,'+Tc(e)+'")'}const Gi={...Ni,inline:!1},Nc={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Oc={display:"inline-block"},Mn={backgroundColor:"currentColor"},Ji={backgroundColor:"transparent"},Ki={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zi={webkitMask:Mn,mask:Mn,background:Ji};for(const e in Zi){const o=Zi[e];for(const n in Ki)o[e+n]=Ki[n]}const xt={};["horizontal","vertical"].forEach(e=>{const o=e.slice(0,1)+"Flip";xt[e+"-flip"]=o,xt[e.slice(0,1)+"-flip"]=o,xt[e+"Flip"]=o});function Xi(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Yi=(e,o)=>{const n=Bc(Gi,o),i={...Nc},r=o.mode||"svg",l={},a=o.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in o){const g=o[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&_c(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=Ec(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete i["aria-hidden"];break;default:{const B=xt[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):Gi[y]===void 0&&(i[y]=g)}}}const c=Zs(e,n),d=c.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),r==="svg"){i.style={...l,...s},Object.assign(i,d);let y=0,g=o.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),i.innerHTML=$s(c.body,g?()=>g+"ID"+y++:"iconifyVue"),t.h("svg",i)}const{body:m,width:u,height:p}=e,f=r==="mask"||(r==="bg"?!1:m.indexOf("currentColor")!==-1),h=Sc(m,{...d,width:u+"",height:p+""});return i.style={...l,"--svg":Vc(h),width:Xi(d.width),height:Xi(d.height),...Oc,...f?Mn:Ji,...s},t.h("span",i)};if(Si(!0),vs("",rc),typeof document<"u"&&typeof window<"u"){Ui();const e=window;if(e.IconifyPreload!==void 0){const o=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!Ti(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const o=e.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const i="IconifyProviders["+n+"] is invalid.";try{const r=o[n];if(typeof r!="object"||!r||r.resources===void 0)continue;ec(n,r)||console.error(i)}catch{console.error(i)}}}}const Fc={...kt,body:""},Pc=t.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(e,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=gt(e,!1,!0))===null)return this.abortLoading(),null;const i=Ws(n);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:e,abort:wc([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,o&&o(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:i,classes:r}}},render(){this.counter;const e=this.$attrs,o=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!o)return Yi(Fc,e);let n=e;return o.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+o.classes.join(" ")}),Yi({...kt,...o.data},n)}}),V=(e,o)=>{const n=e.__vccOpts||e;for(const[i,r]of o)n[i]=r;return n},Ic={name:"CmdIcon",components:{Icon:Pc},props:{type:{type:String,default:"auto",validator(e){return e==="auto"||e==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Lc=["title"];function Mc(e,o,n,i,r,l){const a=t.resolveComponent("Icon");return l.isIconify?(t.openBlock(),t.createBlock(a,{key:0,icon:n.iconClass,title:n.tooltip,class:t.normalizeClass(e.$attrs.class)},null,8,["icon","title","class"])):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass([n.iconClass,e.$attrs.class]),title:n.tooltip},null,10,Lc))}const A=V(Ic,[["render",Mc]]);function he(e,o){return _t(e,"EditComponentWrapper",o)}function Ac(e){return _t(e,"EditModeSettingsSidebar")}function Dc(e){return _t(e,"EditModeMainSidebar")}function _t(e,o,n){var i;return((i=e==null?void 0:e.$options)==null?void 0:i.name)===o&&(n==null||n(e))?e:e!=null&&e.$parent?_t(e.$parent,o,n):null}function pe(e,...o){const n=[];for(let i=he(e);i;i=he(i.$parent))i.componentPath&&n.unshift(...i.componentPath);return n.push(...o),n}function Rc(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function G(e,o){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...o}:o}const jc={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!he(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?he(this.$parent,o=>(o==null?void 0:o.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(te(this)):!!this.editModeContext.system.isActiveComponent(te(this)):!1},editing(){var e;return(e=this.editModeContext)==null?void 0:e.content.isEditing(this.componentIdentifier)},hasSettings(){const e=`${this.componentName}Settings`;return!!t.getCurrentInstance().appContext.components[e]}},methods:{addHighlightRelatedComponent(e){e.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(e){e.target.parentNode.classList.remove("highlight")},showActionButtons(){const e=he(this.$parent,o=>(o==null?void 0:o.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(te(e),te(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(te(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(te(this)),this.editModeContext.settings.stopEditing()},cancelComponent(e){this.editing&&(e.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(e){e==null||e.stopPropagation(),e||this.showActionButtons();const o=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var n;return(n=o.querySelector("input"))==null?void 0:n.focus()})},saveComponent(){this.editModeContext.store.updateContent(te(this),this.updateHandlerProviders.map(e=>e())),this.editModeContext.content.stopEditing()},editSettings(e,o){e.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,te(this),this.saveSettings,this.deleteInnerComponent,o||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(te(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(te(this),e),this.editModeContext.settings.stopEditing()},addEditStateListener(e){this.editStateListeners.push(e),e(this.editing)},addUpdateHandlerProvider(e){this.updateHandlerProviders.push(e)},setAddHandlerProvider(e){e&&(this.addHandlerProvider=e)}},watch:{componentPath:{handler(){this.componentIdentifier=Rc(te(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(o=>o(e))}}};function te(e){const o=[];for(let n=e;n;n=he(n.$parent))n.componentPath&&o.unshift(...n.componentPath);return o}const qc={key:0,class:"action-buttons-wrapper"},zc=["data-component"],Hc=["title"],Uc=["href"],Wc={key:0},Gc={key:1},Jc={key:0,class:"component-name"},Kc=["data-component"],Zc=["title"],Xc=["href","title"],Yc=["title"],Qc={key:0},$c={key:1},vc=["title"],ed=["title"];function td(e,o,n,i,r,l){const a=A;return t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.componentTag||"div"),{class:t.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:t.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":r.componentIdentifier},{default:t.withCtx(()=>[n.componentTag==="ul"?(t.openBlock(),t.createElementBlock("li",qc,[t.withDirectives(t.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName},[t.createElementVNode("li",null,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon button confirm",{disabled:!r.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:o[0]||(o[0]=t.withModifiers(s=>l.addEntry(s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[t.createVNode(a,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,Hc)]),t.createElementVNode("li",null,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:o[1]||(o[1]=t.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings of this component"},[t.createVNode(a,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Uc)]),t.createElementVNode("li",null,[t.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:o[2]||(o[2]=t.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete this component (and its content)"},[t.createVNode(a,{iconClass:"icon-trash"})])]),l.isOuterComponent?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("li",Wc,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:o[3]||(o[3]=t.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[t.createVNode(a,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("li",Gc,[l.editing?(t.openBlock(),t.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:o[4]||(o[4]=t.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of this component"},[t.createVNode(a,{iconClass:"icon-check"})])):(t.openBlock(),t.createElementBlock("a",{key:1,class:t.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(r.componentIdentifier)}]),href:"#",onClick:o[5]||(o[5]=t.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content of this component"},[t.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,zc),[[t.vShow,l.active]])])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[l.isOuterComponent?(t.openBlock(),t.createElementBlock("p",Jc,t.toDisplayString(n.componentName),1)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName,onMouseenter:o[12]||(o[12]=(...s)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...s)),onMouseleave:o[13]||(o[13]=(...s)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...s))},[t.createElementVNode("li",null,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!r.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:o[6]||(o[6]=t.withModifiers((...s)=>l.addEntry&&l.addEntry(...s),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[t.createVNode(a,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,Zc)]),t.createElementVNode("li",null,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:o[7]||(o[7]=t.withModifiers((...s)=>l.editSettings&&l.editSettings(...s),["prevent"])),title:"Edit settings for "+n.componentName},[t.createVNode(a,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Xc)]),t.createElementVNode("li",null,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!n.allowDeleteComponent}]),href:"#",onClick:o[8]||(o[8]=t.withModifiers((...s)=>l.deleteComponent&&l.deleteComponent(...s),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[t.createVNode(a,{iconClass:"icon-trash"})],10,Yc)]),l.isOuterComponent?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("li",Qc,[t.createElementVNode("a",{class:t.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:o[9]||(o[9]=t.withModifiers((...s)=>l.cancelComponent&&l.cancelComponent(...s),["prevent"])),title:"Cancel editing (changes will not be saved)"},[t.createVNode(a,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("li",$c,[l.editing?(t.openBlock(),t.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:o[10]||(o[10]=t.withModifiers((...s)=>l.saveComponent&&l.saveComponent(...s),["prevent"])),title:"Save changes of "+n.componentName},[t.createVNode(a,{iconClass:"icon-check"})],8,vc)):(t.openBlock(),t.createElementBlock("a",{key:1,class:t.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(r.componentIdentifier)}]),href:"#",onClick:o[11]||(o[11]=t.withModifiers((...s)=>l.editComponent&&l.editComponent(...s),["prevent"])),title:"Edit content for "+n.componentName},[t.createVNode(a,{iconClass:"icon-edit"})],10,ed))]))],40,Kc),[[t.vShow,l.active]])],64)),t.renderSlot(e.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const ge=V(jc,[["render",td]]),J={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var e;if(this.$refs.editComponentWrapper)(e=this.$refs.editComponentWrapper)==null||e.addUpdateHandlerProvider(this.updateHandlerProvider);else{const o=he(this.$parent);o&&(o.addEditStateListener(n=>this.editing=n),o.addUpdateHandlerProvider(this.updateHandlerProvider),o.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!Dc(this),this.settingsContext=!!Ac(this)},updateHandlerProvider(){return{}}}},nd={name:"CmdHeadline",mixins:[J],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},textAlign:{type:String,default:null,validator(e){return e==="left"||e==="center"||e==="right"}},cmdIcon:{type:Object,required:!1}},computed:{componentActive(){var e;return(e=this.editModeContext)==null?void 0:e.system.isActiveComponent(pe(he(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},headlineTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const e=this.editableHeadlineText,o=this.editablePreHeadlineText,n=this.headlineLevel;return G(this,{update(i){i.headlineText=e,i.preHeadlineText=o,i.headlineLevel=n}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},od={class:"pre-headline-text-wrapper"},id=["innerHTML"],rd={class:"pre-headline-text"},ld=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new headline",-1)];function ad(e,o,n,i,r,l){var d;const a=A,s=U,c=ge;return!e.editModeContext||e.settingsContext||e.mainSidebarContext||n.headlineText?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["cmd-headline",{"has-pre-headline-text":n.preHeadlineText,"has-icon":(d=n.cmdIcon)==null?void 0:d.iconClass},l.headlineTextAlign])},[n.preHeadlineText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.headlineText?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.headlineTag),{key:0},{default:t.withCtx(()=>[n.cmdIcon?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdIcon)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",od,[t.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,id),t.createElementVNode("span",null,[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(n.headlineText),1)])])])]),_:3})):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.headlineTag),{key:1},{default:t.withCtx(()=>[n.cmdIcon?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdIcon)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",null,[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(n.headlineText),1)])])]),_:3}))],2)):(t.openBlock(),t.createBlock(c,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:n.headlineText,headlineLevel:n.headlineLevel},componentPath:l.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:t.withCtx(m=>[m.editing?(t.openBlock(),t.createBlock(s,{key:0,element:"input",type:"text",class:t.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,l.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:r.editableHeadlineText,"onUpdate:modelValue":o[0]||(o[0]=u=>r.editableHeadlineText=u)},null,8,["class","modelValue"])):n.headlineText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.cmdIcon?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdIcon)),null,16)):t.createCommentVNode("",!0),n.preHeadlineText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.headlineText?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.headlineTag),{key:0},{default:t.withCtx(()=>[n.cmdIcon?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdIcon)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("span",rd,t.toDisplayString(n.preHeadlineText),1),t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(n.headlineText),1)])]),_:3})):t.createCommentVNode("",!0)],64)):n.headlineText?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.headlineTag),{key:2},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(n.headlineText),1)])]),_:3})):t.createCommentVNode("",!0)],64)):l.componentActive?(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:o[1]||(o[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},ld)):t.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const j=V(nd,[["render",ad]]),sd={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},delayToShowTooltip:{type:Number,default:0},relatedId:{type:String,required:!1},validationStatus:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},scrollContainer:{type:String,default:".page-wrapper"},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.querySelector(this.scrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.addEventListener("click",this.toggleTooltipVisibility):(e.addEventListener("mouseenter",this.showTooltip),e.addEventListener("mouseleave",this.hideTooltip)))}},methods:{toggleTooltipVisibility(e){this.getPointerPosition(e),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(e){this.delayToShowTooltip>0?setTimeout(()=>{this.toggleVisibility(e)},this.delayToShowTooltip):this.toggleVisibility(e)},toggleVisibility(e){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(e)},hideTooltipOnEsc(e){this.allowEscapeKey&&(e.key==="Escape"||e.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(e){this.pointerX=e.clientX,this.pointerY=e.clientY}},unmounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.removeEventListener("click",this.toggleTooltipVisibility):(e.removeEventListener("mouseenter",this.showTooltip),e.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"})}}},cd={key:0,class:"headline-wrapper"},dd=["title"];function md(e,o,n,i,r,l){const a=j,s=A;return r.tooltipVisibility?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["cmd-tooltip",n.validationStatus]),ref:"tooltip"},[n.cmdHeadline||n.iconClose.show?(t.openBlock(),t.createElementBlock("div",cd,[n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.iconClose.show&&n.toggleVisibilityByClick?(t.openBlock(),t.createElementBlock("a",{key:1,href:"#",onClick:o[0]||(o[0]=t.withModifiers((...c)=>l.hideTooltip&&l.hideTooltip(...c),["prevent"])),title:n.iconClose.tooltip},[t.createVNode(s,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,dd)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default",{},()=>[t.createTextVNode(t.toDisplayString(n.tooltipText),1)])],2)):t.createCommentVNode("",!0)}const Qi=V(sd,[["render",md]]),Y={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(e,...o){if(!e)return"";let n=this.i18n;if(typeof this.i18n=="function"&&(n=this.i18n.call(this,e,o),typeof n!="object"))return n;let i=n[e]||this.getDefaultMessageProperty(e)||e;return typeof i=="function"?i.call(this,o||[]):(Array.isArray(o)&&o.length&&o.forEach((r,l)=>i=i.replace("{"+l+"}",r)),i)},getDefaultMessageProperty(e){var n;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[e])return this.defaultMessageProperties[e];const o=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return o&&((n=this[o])!=null&&n[e])?this[o][e]:null}}},ud={name:"CmdListOfRequirements",mixins:[Y,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}}],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")}}},fd={class:"cmd-list-of-requirements"},hd=t.createElementVNode("br",null,null,-1),pd=t.createElementVNode("hr",null,null,-1),gd=["href","target"],yd={key:1};function bd(e,o,n,i,r,l){var c,d,m;const a=j,s=A;return t.openBlock(),t.createElementBlock("div",fd,[n.showHeadline?(t.openBlock(),t.createBlock(a,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.headlineRequirements),1),n.labelText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[hd,t.createElementVNode("em",null,t.toDisplayString(n.labelText),1)],64)):t.createCommentVNode("",!0)]),_:1},8,["headline-level"])):t.createCommentVNode("",!0),t.createElementVNode("dl",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.inputRequirements,(u,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[t.createElementVNode("dt",{"aria-live":"assertive",class:t.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},t.toDisplayString(u.message)+":",3),t.createElementVNode("dd",{class:t.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[t.createVNode(s,{"aria-live":"assertive",iconClass:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[pd,n.helplink.url?(t.openBlock(),t.createElementBlock("a",{key:0,href:n.helplink.url,target:n.helplink.target,onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"]))},[(c=n.helplink.icon)!=null&&c.iconClass?(t.openBlock(),t.createBlock(s,{key:0,class:t.normalizeClass((d=n.helplink.icon)==null?void 0:d.iconClass),title:(m=n.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):t.createCommentVNode("",!0),n.helplink.text?(t.openBlock(),t.createElementBlock("span",yd,t.toDisplayString(n.helplink.text),1)):t.createCommentVNode("",!0)],8,gd)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)])}const kd=V(ud,[["render",bd]]),Cd={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function wd(e,o,n,i,r,l){const a=kd,s=Qi;return t.openBlock(),t.createBlock(s,{ref:"tooltip",class:t.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:t.withCtx(()=>[n.cmdListOfRequirements.showRequirements?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdListOfRequirements)),null,16)):t.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const An=V(Cd,[["render",wd]]),Dn={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"}}}},Et={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[Y,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},inputRequirements(){const e=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const o=Object.hasOwn(this,"required")?this.required:this.$attrs.required;e.push({message:this.getRequirementMessage(),valid(n,i){return!i.required&&!o||n!=null&&String(n).length>0}})}return this.$attrs.minlength&&e.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(o,n){return o.length>=n.minlength}}),[...e,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(e){["password","number","url","email"].includes(this.$attrs.type)&&e.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Pe(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(o==="x"?n:n&3|8).toString(16)})}function Rn(){return"cmd-"+Pe()}const Ge={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Rn()}},methods:{buildHtmlId(...e){return e.map(o=>o.replace(/\s/g,"")).join("")}}},jn={};function Bd(e="defaultSequence"){const o=jn[e]||0;return jn[e]=o+1,jn[e]}const qn={data(){return{tooltip:!1,tooltipId:"tooltip-"+Bd()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},xd=["color","date","datetime-local","file","number","range"],_d={inheritAttrs:!1,name:"CmdFormElement",mixins:[Y,Dn,Et,Ge,qn],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(e){return e==="input"||e==="select"||e==="textarea"||e==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},showStatusIcon:{type:Boolean,default:!0},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},stretchField:{type:Boolean,default:!1},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const e=["name","required","readonly","disabled","autofocus"],o={input:[...e,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...e,"multiple"],textarea:[...e,"placeholder"]},n={};return o[this.element]&&Object.entries(this.$attrs).filter(([i])=>o[this.element].includes(i)).forEach(([i,r])=>n[i]=r),n},buttonAttrs(){var o,n;const e={...this.$attrs};return(o=this.nativeButton.icon)!=null&&o.tooltip&&(e.title=(n=this.nativeButton.icon)==null?void 0:n.tooltip),e},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersLeft(){return this.getMaxLength()-this.modelValue.length},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{setFocus(){var e;(e=this.$refs.label.querySelector("input, select, textarea"))==null||e.focus()},additionalStandardRequirements(){const e=[];return this.$attrs.type==="email"&&e.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),e},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:xd.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(e){var n;((n=e.target.closest("form"))==null?void 0:n.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof e.target.checkValidity=="function"&&!e.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(r=>!r.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(e){this.validateInput(e),this.closeTooltipOnBlur(),this.$emit("blur",e)},onInput(e){this.validateInput(e),this.$emit("update:modelValue",e.target.value)},onChange(e){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",e.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",e.target.value);else if(this.modelValue!==void 0){let o=[...this.modelValue];e.target.checked?o.push(e.target.value):o=o.filter(n=>n!==e.target.value),this.$emit("update:modelValue",o)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const e=this.$refs.input,o=e.value;e.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),e.setAttribute("type","text"),e.setAttribute("value",o)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()},submit(e){this.$emit("submit",e)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},Ed=["for","title"],Sd=["innerHTML"],Td={key:2,"aria-hidden":"true"},Vd=["title","aria-errormessage","id"],Nd={key:1,class:"flex-container inner-input-wrapper"},Od=["id","autocomplete","list","value","maxlength"],Fd=["title"],Pd=["id"],Id=["value"],Ld=["checked","value","id","disabled","aria-invalid"],Md=["innerHTML"],Ad={key:2},Dd={class:"switch-label-wrapper"},Rd=["checked","value","id","disabled","aria-invalid"],jd={class:"label-text"},qd={class:"label-text"},zd=["innerHTML"],Hd={key:0},Ud=["id"],Wd=["value","selected"],Gd=["id","value","maxlength"],Jd={key:6,class:"characters-left-wrapper"},Kd={key:0},Zd={key:7,class:"search-field-wrapper flex-container no-gap"},Xd=["id","maxlength","value"],Yd=["title"],Qd=["title"],$d={key:1};function vd(e,o,n,i,r,l){var c,d,m,u,p,f,h,y,g,B,_,x,T,O,w,E,L,R,M,se,ce,de,W,we;const a=A,s=An;return n.element==="input"||n.element==="select"||n.element==="textarea"?(t.openBlock(),t.createElementBlock("label",{key:0,class:t.normalizeClass(["cmd-form-element",e.validationStatus,e.$attrs.class,{disabled:e.$attrs.disabled,inline:n.displayLabelInline,"stretch-field":n.stretchField,"toggle-switch":n.toggleSwitch,colored:n.colored,"has-state":e.validationStatus}]),for:e.htmlId,title:e.$attrs.title,ref:"label"},[(n.labelText||e.$slots.labeltext)&&e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["label-text",{hidden:!n.showLabel}])},[t.createElementVNode("span",null,[n.labelText?(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Sd)):t.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(t.openBlock(),t.createElementBlock("sup",Td,"*")):t.createCommentVNode("",!0)]),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[t.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Vd)):t.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(t.openBlock(),t.createBlock(s,{key:1,ref:"tooltip",validationStatus:e.validationStatus,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"&&e.$attrs.type!=="search"?(t.openBlock(),t.createElementBlock("span",Nd,[n.fieldIconClass?(t.openBlock(),t.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):t.createCommentVNode("",!0),n.element==="input"&&e.$attrs.type!=="search"?(t.openBlock(),t.createElementBlock("input",t.mergeProps({key:1},l.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:o[1]||(o[1]=N=>e.tooltip=!0),onBlur:o[2]||(o[2]=(...N)=>l.onBlur&&l.onBlur(...N)),onInput:o[3]||(o[3]=(...N)=>l.onInput&&l.onInput(...N)),onMouseover:o[4]||(o[4]=(...N)=>l.datalistFocus&&l.datalistFocus(...N)),onKeyup:o[5]||(o[5]=(...N)=>e.checkForCapsLock&&e.checkForCapsLock(...N)),onChange:o[6]||(o[6]=N=>e.$emit("change",N)),autocomplete:l.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,Od)):t.createCommentVNode("",!0),e.$attrs.type==="password"?(t.openBlock(),t.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:o[7]||(o[7]=t.withModifiers((...N)=>l.showPassword&&l.showPassword(...N),["prevent"])),onMouseup:o[8]||(o[8]=t.withModifiers((...N)=>l.hidePassword&&l.hidePassword(...N),["prevent"])),onMouseleave:o[9]||(o[9]=t.withModifiers((...N)=>l.hidePassword&&l.hidePassword(...N),["prevent"])),onClick:o[10]||(o[10]=t.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[t.createVNode(a,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Fd)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n.datalist&&n.datalist.options.length?(t.openBlock(),t.createElementBlock("datalist",{key:2,id:n.datalist.id},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.datalist.options,(N,fe)=>(t.openBlock(),t.createElementBlock("option",{key:fe,value:N},null,8,Id))),128))],8,Pd)):n.element==="input"&&(e.$attrs.type==="checkbox"||e.$attrs.type==="radio")?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[n.onLabel&&n.offLabel?n.onLabel&&n.offLabel?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("span",Dd,[t.createElementVNode("input",t.mergeProps(l.elementAttributes,{onChange:o[13]||(o[13]=(...N)=>l.onChange&&l.onChange(...N)),onBlur:o[14]||(o[14]=(...N)=>l.onBlur&&l.onBlur(...N)),checked:l.isChecked,value:n.inputValue,class:{inputClass:n.inputClass,validationStatus:e.validationStatus},id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Rd),t.createElementVNode("span",jd,t.toDisplayString(n.onLabel),1),t.createElementVNode("span",qd,t.toDisplayString(n.offLabel),1)]),n.labelText?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["label-text",{hidden:!n.showLabel}])},[t.createElementVNode("span",{innerHTML:n.labelText},null,8,zd),e.$attrs.required?(t.openBlock(),t.createElementBlock("sup",Hd,"*")):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],64)):t.renderSlot(e.$slots,"default",{key:2}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("input",t.mergeProps(l.elementAttributes,{onChange:o[11]||(o[11]=(...N)=>l.onChange&&l.onChange(...N)),onBlur:o[12]||(o[12]=(...N)=>l.onBlur&&l.onBlur(...N)),checked:l.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Ld),n.labelText||e.$slots.labeltext?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["label-text",{hidden:!n.showLabel}])},[t.createElementVNode("span",null,[n.labelText?(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Md)):t.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(t.openBlock(),t.createElementBlock("sup",Ad,"*")):t.createCommentVNode("",!0)])],2)):t.createCommentVNode("",!0)],64))],64)):t.createCommentVNode("",!0),n.element==="select"?(t.openBlock(),t.createElementBlock("select",t.mergeProps({key:4},l.elementAttributes,{id:e.htmlId,onBlur:o[15]||(o[15]=(...N)=>l.onBlur&&l.onBlur(...N)),onChange:o[16]||(o[16]=N=>e.$emit("update:modelValue",N.target.value))}),[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.selectOptions,(N,fe)=>(t.openBlock(),t.createElementBlock("option",{key:fe,value:N.value,selected:N.value===n.modelValue},t.toDisplayString(N.text),9,Wd))),128))],16,Ud)):t.createCommentVNode("",!0),n.element==="textarea"?(t.openBlock(),t.createElementBlock("textarea",t.mergeProps({key:5},l.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:l.getMaxLength(),onInput:o[17]||(o[17]=(...N)=>l.onInput&&l.onInput(...N)),onFocus:o[18]||(o[18]=N=>e.tooltip=!0),onBlur:o[19]||(o[19]=(...N)=>l.onBlur&&l.onBlur(...N))}),null,16,Gd)):t.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(t.openBlock(),t.createElementBlock("span",Jd,[n.textCharactersLeft?(t.openBlock(),t.createElementBlock("span",Kd,t.toDisplayString(n.textCharactersLeft),1)):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},t.toDisplayString(l.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(t.openBlock(),t.createElementBlock("span",Zd,[n.fieldIconClass?(t.openBlock(),t.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):t.createCommentVNode("",!0),t.createElementVNode("input",t.mergeProps(l.elementAttributes,{id:e.htmlId,onInput:o[20]||(o[20]=(...N)=>l.onInput&&l.onInput(...N)),maxlength:l.getMaxLength(),value:n.modelValue}),null,16,Xd),n.showSearchButton?(t.openBlock(),t.createElementBlock("a",{key:1,href:"#",class:t.normalizeClass(["button no-flex",{disabled:e.$attrs.disabled}]),title:n.iconSearch.tooltip,onClick:o[21]||(o[21]=t.withModifiers((...N)=>l.executeSearch&&l.executeSearch(...N),["prevent"]))},[t.createVNode(a,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,Yd)):t.createCommentVNode("",!0),(c=n.iconDelete)!=null&&c.show?(t.openBlock(),t.createElementBlock("a",{key:2,href:"#",onClick:o[22]||(o[22]=t.withModifiers(N=>e.$emit("update:modelValue",""),["prevent"])),title:(d=n.iconDelete)==null?void 0:d.tooltip},[t.createVNode(a,{iconClass:(m=n.iconDelete)==null?void 0:m.iconClass,type:(u=n.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Qd)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],10,Ed)):n.element==="button"?(t.openBlock(),t.createElementBlock("button",t.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:o[23]||(o[23]=(...N)=>l.submit&&l.submit(...N))}),[(f=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((B=(g=n.nativeButton)==null?void 0:g.icon)!=null&&B.position))?(t.openBlock(),t.createBlock(a,{key:0,iconClass:(x=(_=n.nativeButton)==null?void 0:_.icon)==null?void 0:x.iconClass,type:(O=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:O.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),(w=n.nativeButton)!=null&&w.icon&&((E=n.nativeButton)!=null&&E.text)?(t.openBlock(),t.createElementBlock("span",$d,t.toDisplayString(n.nativeButton.text),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(t.toDisplayString(n.nativeButton.text),1)],64)),(R=(L=n.nativeButton)==null?void 0:L.icon)!=null&&R.show&&((se=(M=n.nativeButton)==null?void 0:M.icon)==null?void 0:se.position)==="after"?(t.openBlock(),t.createBlock(a,{key:3,iconClass:(de=(ce=n.nativeButton)==null?void 0:ce.icon)==null?void 0:de.iconClass,type:(we=(W=n.nativeButton)==null?void 0:W.icon)==null?void 0:we.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0)],16)):t.createCommentVNode("",!0)}const U=V(_d,[["render",vd]]),em={name:"CmdAddressDataItem",mixins:[J],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1},showCityBeforeZip:{type:Boolean,default:!1}},methods:{vCardClass(e){if(e.type==="company")return"org";if(e.type==="address"){if(e.streetNo)return"street-address";if(e.zip)return"postal-code";if(e.city)return"locality";if(e.country)return"country-name"}return null},inputType(e){return e.type==="phone"?"tel":e.type==="email"?"email":e.type==="url"?"url":"text"},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.type==="phone"?"tel:"+e.href:e.type==="email"?"mailto:"+e.href:e.type==="url"?e.href:null},addHandlerProvider(){const e={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return G(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return G(this,{update(o){typeof e=="object"?Object.entries(e).forEach(([n,i])=>o[n]=i):o.href==null?o.data=e:o.href=e}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,state:this.addressEntry.state,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},tm={key:1},nm=["href","target","title","data-type"],om=["innerHTML"],im={key:1},rm=["href","title"],lm={class:"street-address"},am=t.createElementVNode("br",null,null,-1),sm={key:0,class:"postal-code"},cm={key:1,class:"locality"},dm=t.createElementVNode("br",null,null,-1),mm={key:0},um={key:3,class:"country-name"},fm={class:"street-address"},hm=t.createElementVNode("br",null,null,-1),pm={key:0,class:"postal-code"},gm={key:1,class:"locality"},ym=t.createElementVNode("br",null,null,-1),bm=t.createElementVNode("br",null,null,-1),km={key:3,class:"country-name"};function Cm(e,o,n,i,r,l){const a=A,s=U,c=t.resolveDirective("telephone");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("dt",{class:t.normalizeClass(["cmd-address-data-item",{address:n.addressEntry.type==="address"}])},[n.addressEntry.iconClass&&n.showLabelIcons?(t.openBlock(),t.createBlock(a,{key:0,iconClass:n.addressEntry.iconClass,type:n.addressEntry.iconType,tooltip:n.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):t.createCommentVNode("",!0),n.showLabelTexts?(t.openBlock(),t.createElementBlock("span",tm,t.toDisplayString(n.addressEntry.labelText),1)):t.createCommentVNode("",!0)],2),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(t.openBlock(),t.createElementBlock("dd",{key:0,class:t.normalizeClass(l.vCardClass(n.addressEntry))},[e.editing?(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:l.inputType(n.addressEntry),class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:r.editableAddressEntry,"onUpdate:modelValue":o[0]||(o[0]=d=>r.editableAddressEntry=d)},null,8,["type","labelText","placeholder","modelValue"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.addressEntry.href?t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:0,href:l.getHref(n.addressEntry),target:n.addressEntry.type==="url"?"_blank":null,title:n.addressEntry.tooltip,"data-type":n.addressEntry.type},[t.createTextVNode(t.toDisplayString(n.addressEntry.data||n.addressEntry.href),1)],8,nm)),[[c,n.addressEntry.href]]):(t.openBlock(),t.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,om))],64))],2)):n.addressEntry.name==="address"?(t.openBlock(),t.createElementBlock("dd",im,[n.linkGoogleMaps&&!e.editing?(t.openBlock(),t.createElementBlock("a",{key:0,href:l.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",lm,t.toDisplayString(n.addressEntry.streetNo),1),am],64)):t.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(t.openBlock(),t.createElementBlock("span",sm,t.toDisplayString(n.addressEntry.zip),1)):t.createCommentVNode("",!0),n.addressEntry.city?(t.openBlock(),t.createElementBlock("span",cm,[t.createTextVNode(t.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(n.addressEntry.state),1)],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),dm,n.addressEntry.miscInfo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createElementVNode("span",null,t.toDisplayString(n.addressEntry.miscInfo),1),n.addressEntry.country?(t.openBlock(),t.createElementBlock("br",mm)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),n.addressEntry.country?(t.openBlock(),t.createElementBlock("span",um,t.toDisplayString(n.addressEntry.country),1)):t.createCommentVNode("",!0)],8,rm)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.editing?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:r.editableAddressEntry.streetNo,"onUpdate:modelValue":o[1]||(o[1]=d=>r.editableAddressEntry.streetNo=d)},null,8,["labelText","placeholder","modelValue"]),t.createElementVNode("div",{class:t.normalizeClass([n.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[t.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:r.editableAddressEntry.zip,"onUpdate:modelValue":o[2]||(o[2]=d=>r.editableAddressEntry.zip=d)},null,8,["labelText","placeholder","modelValue"]),t.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:r.editableAddressEntry.city,"onUpdate:modelValue":o[3]||(o[3]=d=>r.editableAddressEntry.city=d)},null,8,["labelText","placeholder","modelValue"])],2),t.createVNode(s,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:r.editableAddressEntry.miscInfo,"onUpdate:modelValue":o[4]||(o[4]=d=>r.editableAddressEntry.miscInfo=d)},null,8,["labelText","placeholder","modelValue"]),t.createVNode(s,{element:"select",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:r.editableAddressEntry.country,"onUpdate:modelValue":o[5]||(o[5]=d=>r.editableAddressEntry.country=d)},null,8,["labelText","modelValue"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.addressEntry.streetNo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",fm,t.toDisplayString(n.addressEntry.streetNo),1),hm],64)):t.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(t.openBlock(),t.createElementBlock("span",pm,t.toDisplayString(n.addressEntry.zip),1)):t.createCommentVNode("",!0),n.addressEntry.city?(t.openBlock(),t.createElementBlock("span",gm,[t.createTextVNode(t.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" "+t.toDisplayString(n.addressEntry.state),1)],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),ym,n.addressEntry.miscInfo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createElementVNode("span",null,t.toDisplayString(n.addressEntry.miscInfo),1),bm],64)):t.createCommentVNode("",!0),n.addressEntry.country?(t.openBlock(),t.createElementBlock("span",km,t.toDisplayString(n.addressEntry.country),1)):t.createCommentVNode("",!0)],64))],64))])):t.createCommentVNode("",!0)],64)}const wm=V(em,[["render",Cm]]),Bm={name:"CmdAddressData",mixins:[J,Y,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var e;return(e=this.addressData.website)==null?void 0:e.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(pe(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.name==="phone"?"tel:"+e.href:e.name==="email"?"mailto:"+e.href:e.name==="url"?e.href:null},updateHandlerProvider(){return G(this,{update(e,o){const n=o==null?void 0:o.find(i=>i.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}},watch:{}},xm={class:"cmd-address-data vcard"},_m={class:"adr"},Em={key:0},Sm=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new entry",-1)],Tm=["href","target","title"],Vm=["innerHTML"],Nm=["href","title"],Om={class:"street-address"},Fm=t.createElementVNode("br",null,null,-1),Pm={key:0,class:"postal-code"},Im={key:1,class:"locality"},Lm=t.createElementVNode("br",null,null,-1),Mm=t.createElementVNode("br",null,null,-1),Am=t.createElementVNode("br",null,null,-1),Dm={key:4,class:"country-name"},Rm={class:"street-address"},jm=t.createElementVNode("br",null,null,-1),qm={key:0,class:"postal-code"},zm={key:1,class:"locality"},Hm=t.createElementVNode("br",null,null,-1),Um=t.createElementVNode("br",null,null,-1),Wm=t.createElementVNode("br",null,null,-1),Gm={key:4,class:"country-name"};function Jm(e,o,n,i,r,l){var m;const a=j,s=wm,c=ge,d=A;return t.openBlock(),t.createElementBlock("div",xm,[n.useSlot?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("address",_m,[n.showLabels&&(n.showLabelTexts||n.showLabelIcons)&&!n.showIconsOnly?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.editModeContext?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.addressData.length===0?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:o[0]||(o[0]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Sm)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.addressData,(u,p)=>(t.openBlock(),t.createBlock(c,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:u,componentPath:["props","addressData",p]},{default:t.withCtx(()=>[t.createElementVNode("dl",null,[t.createVNode(s,{addressEntry:u,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(t.openBlock(),t.createElementBlock("dl",Em,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.addressData,(u,p)=>(t.openBlock(),t.createBlock(s,{key:p,addressEntry:u,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts,showCityBeforeZip:n.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(t.openBlock(),t.createElementBlock("ul",{key:1,class:t.normalizeClass(["flex-container",{vertical:!n.showIconsOnly}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.addressData,(u,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[u.href||u.name==="address"&&u.linkGoogleMaps||!n.showIconsOnly?(t.openBlock(),t.createElementBlock("li",{key:0,class:t.normalizeClass({"no-flex":n.showIconsOnly})},[u.href?(t.openBlock(),t.createElementBlock("a",{key:0,href:l.getHref(u),target:u.name==="url"?"_blank":null,title:u.tooltip},[n.showIconsOnly?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[u.iconClass?(t.openBlock(),t.createBlock(d,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(u.href),1)],64))],8,Tm)):n.showIconsOnly?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:1,innerHTML:u.data},null,8,Vm)),u.name==="address"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[u.linkGoogleMaps?(t.openBlock(),t.createElementBlock("a",{key:0,href:l.locateAddress(u),target:"google-maps",title:u.tooltip},[n.showIconsOnly?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[u.iconClass?(t.openBlock(),t.createBlock(d,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[u.streetNo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",Om,t.toDisplayString(u.streetNo),1),Fm],64)):t.createCommentVNode("",!0),u.zip||u.city?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(t.openBlock(),t.createElementBlock("span",Pm,t.toDisplayString(u.zip)+" ",1)):t.createCommentVNode("",!0),u.city?(t.openBlock(),t.createElementBlock("span",Im,[t.createTextVNode(t.toDisplayString(u.city),1),u.state?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(u.state),1)],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),Lm],2)):t.createCommentVNode("",!0),u.pobox?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createElementVNode("span",null,t.toDisplayString(u.pobox),1),Mm],64)):t.createCommentVNode("",!0),u.miscInfo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createElementVNode("span",null,t.toDisplayString(u.miscInfo),1),Am],64)):t.createCommentVNode("",!0),u.country?(t.openBlock(),t.createElementBlock("span",Dm,t.toDisplayString(u.country),1)):t.createCommentVNode("",!0)],64))],8,Nm)):t.createCommentVNode("",!0),!u.linkGoogleMaps&&!n.showIconsOnly?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[u.streetNo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",Rm,t.toDisplayString(u.streetNo),1),jm],64)):t.createCommentVNode("",!0),u.zip||u.city?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(t.openBlock(),t.createElementBlock("span",qm,t.toDisplayString(u.zip)+" ",1)):t.createCommentVNode("",!0),u.city?(t.openBlock(),t.createElementBlock("span",zm,[t.createTextVNode(t.toDisplayString(u.city),1),u.state?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(u.state),1)],64)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),Hm],2)):t.createCommentVNode("",!0),u.pobox?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createElementVNode("span",null,t.toDisplayString(u.pobox),1),Um],64)):t.createCommentVNode("",!0),u.miscInfo?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createElementVNode("span",null,t.toDisplayString(u.miscInfo),1),Wm],64)):t.createCommentVNode("",!0),u.country?(t.openBlock(),t.createElementBlock("span",Gm,t.toDisplayString(u.country),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],64))),128))],2))])],64))])}const $i=V(Bm,[["render",Jm]]),Km={name:"CmdBackToTopButton",data(){var e;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},cmdIcon:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var e;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.addEventListener("scroll",this.onViewportChange)},unmounted(){var e;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var e;return this.scrollContainer==="body"?window.scrollY:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollTop)||0},onViewportChange(){var e;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0},onBackToTop(){var e;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(e=document.querySelector(this.scrollContainer))==null||e.scrollTo({top:0,left:0,behavior:"smooth"})}}},Zm=["title"];function Xm(e,o,n,i,r,l){const a=A;return t.openBlock(),t.createBlock(t.Transition,{name:"fade"},{default:t.withCtx(()=>[l.show?(t.openBlock(),t.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:n.cmdIcon.tooltip,onClick:o[0]||(o[0]=t.withModifiers((...s)=>l.onBackToTop&&l.onBackToTop(...s),["prevent"]))},[t.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Zm)):t.createCommentVNode("",!0)]),_:1})}const Ym=V(Km,[["render",Xm]]),Qm={name:"CmdBankAccountData",props:{useSlot:{type:Boolean,default:!1},accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},cmdIcon:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(e){const o=e.replace(/\s/g,"");navigator.clipboard.writeText(o),alert(o+" was copied to clipboard")}}},$m={class:"cmd-bank-account-data"},vm={key:0},eu=["onClick","title"],tu={key:1};function nu(e,o,n,i,r,l){const a=j,s=A;return t.openBlock(),t.createElementBlock("div",$m,[n.useSlot?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("dl",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.accountData,(c,d)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:d},[t.createElementVNode("dt",null,t.toDisplayString(c.text),1),n.allowCopyByClick&&c.allowCopy?(t.openBlock(),t.createElementBlock("dd",vm,[t.createElementVNode("span",null,t.toDisplayString(c.value),1),t.createElementVNode("a",{href:"#",onClick:t.withModifiers(m=>l.copyToClipboard(c.value),["prevent"]),title:n.cmdIcon.tooltip},[t.createVNode(s,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,eu)])):(t.openBlock(),t.createElementBlock("dd",{key:d},t.toDisplayString(c.value),1))],64))),128))]),n.additionalInformation?(t.openBlock(),t.createElementBlock("p",tu,t.toDisplayString(n.additionalInformation),1)):t.createCommentVNode("",!0)],64))])}const ou=V(Qm,[["render",nu]]),iu={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:Rn,submitFormData(e){let o={};this.formElements&&this.formElements.forEach(n=>{o[n.name]=this.formValues[n.name]}),this.$emit("submit",{originalEvent:e,formdata:o})},onSubmit(e){this.useValidation?e.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(e)):(e.preventDefault(),this.errorOccurred=!0):this.submitFormData(e)}},watch:{formElements:{handler(){var e;this.formValues={},(e=this.formElements)==null||e.forEach(o=>{o.type==="checkbox"?(this.formValues[o.name]||(this.formValues[o.name]=[]),o.value!=null&&this.formValues[o.name].push(o.value)):this.formValues[o.name]=o.value??""})},immediate:!0,deep:!0}}},ru=["action","data-use-validation","novalidate"],lu={class:"flex-container"},au=["type"],su={key:1},cu={key:0,class:"button-wrapper"},du=["type"],mu={key:1};function uu(e,o,n,i,r,l){const a=U;return t.openBlock(),t.createElementBlock("form",{class:t.normalizeClass(["cmd-form",{error:r.errorOccurred}]),action:n.formAction,"data-use-validation":n.useValidation,onSubmit:o[0]||(o[0]=(...s)=>l.onSubmit&&l.onSubmit(...s)),novalidate:n.novalidate},[n.useFieldset?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("fieldset",lu,[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},t.toDisplayString(n.legend.text),3),n.useSlot?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(n.formElements,(s,c)=>(t.openBlock(),t.createBlock(a,{key:c,element:s.element||"input",type:s.type||"text",name:s.name,class:t.normalizeClass(s.htmlClass),id:s.id||l.createHtmlId(),modelValue:r.formValues[s.name],"onUpdate:modelValue":d=>r.formValues[s.name]=d,inputValue:s.inputValue,fieldIconClass:s.innerIconClass,selectOptions:s.selectOptions,labelText:s.labelText,placeholder:s.placeholder,required:s.required,disabled:s.disabled,autocomplete:s.autocomplete,minlength:s.minlength,maxlength:s.maxlength,nativeButton:s.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),l.submitButtonOptions&&(l.submitButtonOptions.position==="insideFieldset"||l.submitButtonOptions.position===null)?(t.openBlock(),t.createElementBlock("button",{key:2,class:t.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type},[l.submitButtonOptions.iconClass?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):t.createCommentVNode("",!0),l.submitButtonOptions.text?(t.openBlock(),t.createElementBlock("span",su,t.toDisplayString(l.submitButtonOptions.text),1)):t.createCommentVNode("",!0)],10,au)):t.createCommentVNode("",!0)]),l.submitButtonOptions&&l.submitButtonOptions.position==="belowFieldset"?(t.openBlock(),t.createElementBlock("div",cu,[t.createElementVNode("button",{class:t.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type||"submit"},[l.submitButtonOptions.iconClass?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):t.createCommentVNode("",!0),l.submitButtonOptions.text?(t.openBlock(),t.createElementBlock("span",mu,t.toDisplayString(l.submitButtonOptions.text),1)):t.createCommentVNode("",!0)],10,du)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"button-row")],64)):t.renderSlot(e.$slots,"default",{key:1})],42,ru)}const vi=V(iu,[["render",uu]]),fu={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.pobox":"PO Box:","basic_form.placeholder.pobox":"PO Box:","basic_form.labeltext.country":"Country:","basic_form.labeltext.additional_address_info":"Additional address information:","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.user_message":"Your message:","basic_form.placeholder.user_message":"Your message","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},Ce=class Ce{constructor(o){pt(this,"label");this.label=o}validate(o){return[o.lastName.error,o.lastName.errorMessage]=this.validateRequired(o.lastName.value,Ce.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[o.email.error,o.email.errorMessage]=this.validateRequired(o.email.value,Ce.PATTERN_EMAIL,this.label("form_error_invalid_email"))[o.additionalText.error,o.additionalText.errorMessage]=this.validateRequired(o.additionalText.value,Ce.PATTERN_MESSAGE,this.label("form_error_invalid_message")),o.acceptPrivacy.error=!1,o.error=o.lastName.error||o.email.error||o.additionalText.error,o}validatePrivacy(o){return o.acceptPrivacy.error=!o.acceptPrivacy.value,o.acceptPrivacy.errorMessage=o.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",o.error=o.error||o.acceptPrivacy.error,o}validateRequired(o,n,i){return!o||o.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(o)?[!0,i||this.label("form_error_invalid")]:[!1,""]}};pt(Ce,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),pt(Ce,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),pt(Ce,"PATTERN_MESSAGE",/^.{2,500}$/);let zn=Ce;function Ie(e){if(e){const o=e.lastIndexOf(".");if(o>-1)return e.substring(o+1)}return""}function er(e,o,n,i,r){const l=[];if(e.size>i&&l.push("file too large"),o.includes(Ie(e.name))||l.push("disallowed file extension"),l.length){alert(l);return}const a=new Image;a.onload=()=>{if(a.width<n&&!confirm("width ("+a.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(a.src),typeof r=="function"?r(a.src):r.src=a.src},a.src=URL.createObjectURL(e)}const hu={name:"CmdImage",mixins:[J],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["gif","jpg","jpeg","png","webp","svg"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}},props:{image:{type:Object,required:!1},useFigureTag:{type:Boolean,default:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const e=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(e.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(e.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var n;if(this.newImageSource)return this.newImageSource;const e=(n=this.image)==null?void 0:n.src;if(!e)return null;if(typeof e=="string")return e;const o=this.currentWindowWidth;return e.small&&o<=this.smallMaxWidth?e.small:e.medium&&o<=this.mediumMaxWidth?e.medium:e.large},textAlign(){var e;return(e=this.figcaption)!=null&&e.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){var e;return this.figcaptionText==null?(e=this.figcaption)==null?void 0:e.text:this.figcaptionText},set(e){this.figcaptionText=e}}},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},itemProvider(){var o,n;const e=(n=(o=this.editModeConfig)==null?void 0:o.itemProviderOverwrite)==null?void 0:n.call(o);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(e==null?void 0:e.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(e){e.target.files.length>0&&er(e.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,o=>this.newImageSource=o)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},dragEnter(e){this.dragOver(e)},dragOver(e){e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0&&(e.dataTransfer.dropEffect="none",e.dataTransfer.items[0].kind==="file"&&(e.preventDefault(),e.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(e){this.allowDrop=!1,e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.length>0&&(e.preventDefault(),er(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,o=>this.newImageSource=o))},addHandlerProvider(){const e={image:{id:Pe(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return G(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,G(this,{update(o){o.figcaption||(o.figcaption={}),o.figcaption.text=e}})}},watch:{figcaption:{handler(){var e,o,n,i;this.showFigcaption=(e=this.figcaption)==null?void 0:e.show,this.figcaptionText=(o=this.figcaption)==null?void 0:o.text,this.figcaptionPosition=(n=this.figcaption)==null?void 0:n.position,this.figcaptionTextAlign=(i=this.figcaption)==null?void 0:i.textAlign},immediate:!0,deep:!0}}},pu=["innerHTML"],gu=t.createElementVNode("span",{class:"icon-image"},null,-1),yu=["src","alt","title"],bu=["src","alt","title"],ku=["innerHTML"],Cu=[t.createElementVNode("span",{class:"icon-add"},null,-1),t.createElementVNode("span",null,"Add new image",-1)],wu=["innerHTML"],Bu=["src","alt","title"],xu=["innerHTML"],_u=["src","alt","title"];function Eu(e,o,n,i,r,l){var c,d,m,u,p,f,h,y,g;const a=U,s=ge;return e.editModeContext?(t.openBlock(),t.createBlock(s,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((c=e.editModeConfig)==null?void 0:c.allowAddItem)!==!1?l.itemProvider:null},{default:t.withCtx(B=>{var _,x,T,O,w,E,L,R,M,se,ce,de;return[t.createElementVNode("figure",{class:t.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(_=n.figcaption)!=null&&_.show&&((x=n.figcaption)==null?void 0:x.position)==="top"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[B.editing?(t.openBlock(),t.createBlock(a,{key:0,element:"input",type:"text",class:t.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":o[0]||(o[0]=W=>l.editableFigcaptionText=W)},null,8,["class","modelValue"])):(T=n.figcaption)!=null&&T.text?(t.openBlock(),t.createElementBlock("figcaption",{key:1,innerHTML:(O=n.figcaption)==null?void 0:O.text},null,8,pu)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),B.editing?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("a",t.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":r.allowDrop}]},t.toHandlers(l.dragAndDropHandler,!0),{onClick:o[1]||(o[1]=t.withModifiers((...W)=>l.selectFiles&&l.selectFiles(...W),["prevent"])),title:"Drag new image to this area to replace old one!"}),[gu,t.createElementVNode("img",{src:l.imageSource,alt:(w=n.image)==null?void 0:w.alt,title:(E=n.image)==null?void 0:E.tooltip},null,8,yu)],16),t.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:r.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(t.openBlock(),t.createElementBlock("img",{key:2,src:l.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(R=n.image)==null?void 0:R.tooltip},null,8,bu)):t.createCommentVNode("",!0),(M=n.figcaption)!=null&&M.show&&((se=n.figcaption)==null?void 0:se.position)!=="top"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[B.editing?(t.openBlock(),t.createBlock(a,{key:0,element:"input",type:"text",class:t.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":o[2]||(o[2]=W=>l.editableFigcaptionText=W),placeholder:"figcaption"},null,8,["class","modelValue"])):(ce=n.figcaption)!=null&&ce.text?(t.openBlock(),t.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,ku)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),!B.editing&&!l.imageSource?(t.openBlock(),t.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:o[3]||(o[3]=(...W)=>l.onAddItem&&l.onAddItem(...W))},Cu)):t.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(t.openBlock(),t.createElementBlock("figure",{key:1,class:t.normalizeClass(["cmd-image",l.textAlign])},[((d=n.figcaption)==null?void 0:d.position)==="top"?(t.openBlock(),t.createElementBlock("figcaption",{key:0,innerHTML:(m=n.figcaption)==null?void 0:m.text},null,8,wu)):t.createCommentVNode("",!0),t.createElementVNode("img",{src:l.imageSource,alt:(u=n.image)==null?void 0:u.alt,title:(p=n.image)==null?void 0:p.tooltip,onLoad:o[4]||(o[4]=(...B)=>l.onImageLoaded&&l.onImageLoaded(...B))},null,40,Bu),((f=n.figcaption)==null?void 0:f.position)!=="top"?(t.openBlock(),t.createElementBlock("figcaption",{key:1,innerHTML:(h=n.figcaption)==null?void 0:h.text},null,8,xu)):t.createCommentVNode("",!0)],2)):(t.openBlock(),t.createElementBlock("img",{key:2,src:l.imageSource,alt:(y=n.image)==null?void 0:y.alt,title:(g=n.image)==null?void 0:g.tooltip,onLoad:o[5]||(o[5]=(...B)=>l.onImageLoaded&&l.onImageLoaded(...B))},null,40,_u))}const ue=V(hu,[["render",Eu]]),Su={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(e){return e==="next"||e==="prev"||e==="up"||e==="down"}},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"},next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"},up:{iconClass:"icon-chevron-one-stripe-up",tooltip:"Previous"},down:{iconClass:"icon-chevron-one-stripe-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},Tu=["title"];function Vu(e,o,n,i,r,l){const a=A;return t.openBlock(),t.createElementBlock("a",{href:"#",onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"])),class:t.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",n.slideButtonType]),title:l.getDirection.tooltip},[t.createVNode(a,{type:l.getDirection.iconType||"auto",iconClass:l.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Tu)}const Je=V(Su,[["render",Vu]]),Nu={name:"CmdThumbnailScroller",emits:["click"],mixins:[Y,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},J],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(e){return e==="image"||e==="text"}},executeOnClick:{type:String,default:"fancybox",validator(e){return e==="fancybox"||e==="url"||e==="emit"}},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},mounted(){const e=this.$refs["thumbnail-scroller"],o=e.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(o)).observe(e)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:Pe(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(pe(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:Pe(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},toggleSlideButtons(e){this.showSlidebuttons=e.scrollWidth>e.clientWidth},showNextItem(){const e=this.items.shift();e&&this.items.push(e)},showPrevItem(){const e=this.items.pop();e&&this.items.unshift(e)},showFancyBox(e){this.allowOpenFancyBox&&xe({fancyBoxGallery:this.items,defaultGalleryIndex:e}),this.emitCurrentItemId(e)},emitCurrentItemId(e){if(this.contentType==="image"){this.$emit("click",this.items[e].image.id);return}this.$emit("click",this.items[e].id)},executeLink(e,o){this.executeOnClick==="emit"?(o.preventDefault(),this.emitCurrentItemId(e)):this.executeOnClick==="fancybox"&&(o.preventDefault(),this.showFancyBox(e))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(e=>{let o;return this.contentType==="image"?(o={image:{...e.image},figcaption:{...e.figcaption}},o.image.srcImageSmall&&(o.image.src=o.image.srcImageSmall)):o={...e},o})},immediate:!0,deep:!0}}},Ou={class:"inner-thumbnail-wrapper"},Fu=["href","onClick","title","target"],Pu={key:1},Iu={key:1},Lu={key:0},Mu=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function Au(e,o,n,i,r,l){var m;const a=j,s=Je,c=ue,d=A;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("div",Ou,[r.showSlidebuttons?(t.openBlock(),t.createBlock(s,{key:0,onClick:t.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):t.createCommentVNode("",!0),t.createVNode(t.TransitionGroup,{name:"slide",tag:"ul"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.items,(u,p)=>(t.openBlock(),t.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(t.openBlock(),t.createBlock(c,{key:1,image:u.image,figcaption:u.figcaption,componentPath:["props","thumbnailScrollerItems",p],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[u.iconClass?(t.openBlock(),t.createBlock(d,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),u.text?(t.openBlock(),t.createElementBlock("span",Iu,t.toDisplayString(u.text),1)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?u.url:"#",onClick:f=>l.executeLink(p,f),class:t.normalizeClass([{active:n.activeItemIndex===p},u.id?"item-"+u.id:""]),title:l.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(t.openBlock(),t.createBlock(c,{key:0,image:u.image,figcaption:u.figcaption},null,8,["image","figcaption"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[u.iconClass?(t.openBlock(),t.createBlock(d,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),u.text?(t.openBlock(),t.createElementBlock("span",Pu,t.toDisplayString(u.text),1)):t.createCommentVNode("",!0)],64))],10,Fu))]))),128)),!r.items.length&&n.contentType==="image"?(t.openBlock(),t.createElementBlock("li",Lu,[t.createElementVNode("button",{type:"button",class:"button confirm",onClick:o[0]||(o[0]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Mu)])):t.createCommentVNode("",!0)]),_:1}),r.showSlidebuttons?(t.openBlock(),t.createBlock(s,{key:1,onClick:t.withModifiers(l.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):t.createCommentVNode("",!0)])],2)}const tr=V(Nu,[["render",Au]]),xe=e=>{const o=document.createElement("div");document.querySelector("body").appendChild(o),t.createApp(nr,{...e,show:!0}).mount(o)},nr=t.defineComponent({name:"CmdFancyBox",mixins:[Ge],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var o;const e={...((o=this.cmdImage)==null?void 0:o.image)||{}};return this.fancyBoxImageUrl&&(e.src=this.fancyBoxImageUrl),e},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(e=>e.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(e){(await Du(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(n=>n.text()).then(n=>this.fancyBoxContent=n).catch(n=>console.error(`Error loading ${this.url}: ${n}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let o=0;o<this.fancyBoxGallery.length;o++)if(this.fancyBoxGallery[o].image.id===e){this.index=o;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(e){this.showFancyBox=e},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function Du(e){const o=await fetch(e,{method:"HEAD"});return o.ok?(o.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const Ru=nr,ju=["aria-label"],qu={class:"flex-container"},zu={key:1,class:"button-wrapper no-flex"},Hu=["title"],Uu=["title"],Wu=["title"],Gu={key:0,class:"content"},Ju=["innerHTML"],Ku={key:2,class:"content",ref:"elements"},Zu={key:3,class:"content"},Xu={key:4,class:"content"},Yu={key:0,class:"flex-container no-flex"},Qu=["title"],$u={key:1},vu=["title"],ef={key:1};function tf(e,o,n,i,r,l){var u,p,f,h,y,g,B,_,x,T,O,w,E,L,R,M,se,ce,de,W,we,N,fe,mt,ut,ft,ht;const a=j,s=A,c=ue,d=Je,m=tr;return t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createElementVNode("dialog",{ref:"dialog",class:t.normalizeClass(["cmd-fancybox",{"show-overlay":e.showOverlay,image:e.fancyBoxImageUrl||e.fancyBoxGallery,"image-gallery":e.fancyBoxGallery}]),"aria-label":e.ariaLabelText,onCancel:o[5]||(o[5]=(...ee)=>e.onDialogCancel&&e.onDialogCancel(...ee))},[t.createElementVNode("header",qu,[(u=e.cmdHeadline)!=null&&u.headlineText?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0},e.cmdHeadline,{id:e.htmlId}),null,16,["id"])):t.createCommentVNode("",!0),(p=e.fancyboxOptions.printButtons)!=null&&p.color||(f=e.fancyboxOptions.printButtons)!=null&&f.grayscale||e.fancyboxOptions.closeIcon?(t.openBlock(),t.createElementBlock("div",zu,[e.showPrintButtons&&((h=e.fancyboxOptions.printButtons)!=null&&h.color)?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyboxOptions.printButtons.color)==null?void 0:y.tooltip,onClick:o[0]||(o[0]=t.withModifiers(ee=>e.printInGrayscale=!1,["prevent"]))},[t.createVNode(s,{iconClass:(g=e.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(B=e.fancyboxOptions.printButtons.color)==null?void 0:B.iconType},null,8,["iconClass","type"])],8,Hu)):t.createCommentVNode("",!0),e.showPrintButtons&&((_=e.fancyboxOptions.printButtons)!=null&&_.grayscale)?(t.openBlock(),t.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(x=e.fancyboxOptions.printButtons.grayscale)==null?void 0:x.tooltip,onClick:o[1]||(o[1]=t.withModifiers(ee=>e.printInGrayscale=!0,["prevent"]))},[t.createVNode(s,{iconClass:(T=e.fancyboxOptions.printButtons.grayscale)==null?void 0:T.iconClass,type:(O=e.fancyboxOptions.printButtons.grayscale)==null?void 0:O.iconType},null,8,["iconClass","type"])],8,Uu)):t.createCommentVNode("",!0),e.fancyboxOptions.closeIcon?(t.openBlock(),t.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:o[2]||(o[2]=t.withModifiers((...ee)=>e.close&&e.close(...ee),["prevent"]))},[t.createVNode(s,{iconClass:e.fancyboxOptions.closeIcon.iconClass,type:e.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,Wu)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:t.normalizeClass(["outer-content-wrapper",{grayscale:e.printInGrayscale}])},[e.fancyBoxImageUrl||(w=e.cmdImage)!=null&&w.image?(t.openBlock(),t.createElementBlock("div",Gu,[t.createVNode(c,{image:e.largeSingleImage,figcaption:(E=e.cmdImage)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(t.openBlock(),t.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,Ju)):e.fancyBoxElements?(t.openBlock(),t.createElementBlock("div",Ku,null,512)):e.fancyBoxGallery?(t.openBlock(),t.createElementBlock("div",Zu,[t.createVNode(d,{onClick:t.withModifiers(e.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),t.createVNode(c,{image:e.largeGalleryImage,figcaption:e.fancyBoxGallery[e.index].figcaption},null,8,["image","figcaption"]),t.createVNode(d,{onClick:t.withModifiers(e.showNextItem,["prevent"])},null,8,["onClick"])])):(t.openBlock(),t.createElementBlock("div",Xu,[t.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptions.submitButtons?(t.openBlock(),t.createElementBlock("footer",Yu,[(L=e.fancyboxOptions.submitButtons)!=null&&L.cancel?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:o[3]||(o[3]=(...ee)=>e.cancel&&e.cancel(...ee)),title:(R=e.fancyboxOptions.submitButtons.cancel)==null?void 0:R.tooltip},[(M=e.fancyboxOptions.submitButtons.cancel)!=null&&M.iconClass?(t.openBlock(),t.createBlock(s,{key:0,iconClass:(se=e.fancyboxOptions.submitButtons.cancel)==null?void 0:se.iconClass,type:(ce=e.fancyboxOptions.submitButtons.cancel)==null?void 0:ce.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),(de=e.fancyboxOptions.submitButtons.cancel)!=null&&de.buttonText?(t.openBlock(),t.createElementBlock("span",$u,t.toDisplayString((W=e.fancyboxOptions.submitButtons.cancel)==null?void 0:W.buttonText),1)):t.createCommentVNode("",!0)],8,Qu)):t.createCommentVNode("",!0),(we=e.fancyboxOptions.submitButtons)!=null&&we.confirm?(t.openBlock(),t.createElementBlock("button",{key:1,onClick:o[4]||(o[4]=(...ee)=>e.confirm&&e.confirm(...ee)),title:(N=e.fancyboxOptions.submitButtons.cancel)==null?void 0:N.tooltip},[(fe=e.fancyboxOptions.submitButtons.confirm)!=null&&fe.iconClass?(t.openBlock(),t.createBlock(s,{key:0,iconClass:(mt=e.fancyboxOptions.submitButtons.confirm)==null?void 0:mt.iconClass,type:(ut=e.fancyboxOptions.submitButtons.confirm)==null?void 0:ut.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),(ft=e.fancyboxOptions.submitButtons.confirm)!=null&&ft.buttonText?(t.openBlock(),t.createElementBlock("span",ef,t.toDisplayString((ht=e.fancyboxOptions.submitButtons.confirm)==null?void 0:ht.buttonText),1)):t.createCommentVNode("",!0)],8,vu)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.fancyBoxGallery?(t.openBlock(),t.createBlock(m,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):t.createCommentVNode("",!0)],42,ju)])}const nf=V(Ru,[["render",tf]]),of={emits:["submit"],mixins:[Y,fu,Et],inject:{editModeContext:{default:null}},data(){return{validator:new zn(e=>e),formData:{salutation:{value:this.configuration.salutation.default},lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},pobox:{value:""},country:{value:""},additionalAddressInfo:{value:""},userMessage:{value:""},acceptPrivacy:{value:!1}},cityBeforeZip:this.showCityBeforeZip}},props:{useNativeSubmit:{type:Boolean,default:!1},formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"right",text:"Legend"}}},configuration:{type:Object,default(){return{salutation:{name:"salutation",default:"m",replaceInputType:!0},lastName:{name:"surname",required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0}}},cmdHeadline:{type:Object,default(){return{headlineText:"Basic Form",headlineLevel:3}}},cmdForm:{type:Object,required:!1}},mounted(){var e,o;(o=(e=this.$refs.dataPrivacy)==null?void 0:e.querySelector(".component-fancybox"))==null||o.addEventListener("click",n=>{n.preventDefault(),xe({url:n.target.getAttribute("href")})})},methods:{onSubmit(e){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error||this.useNativeSubmit){this.formData.error&&e.originalEvent.preventDefault();return}const o=new FormData,n=Object.keys(this.configuration);for(let i=0;i<n.length;i++)o.set(n[i],this.formData[n[i]].value);fetch(this.formAction,{method:"POST",body:o}).then(i=>{i.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(i=>{console.error(i)}),e.originalEvent.preventDefault()},onCountrySelect(e){this.cityBeforeZip=e==="us"||e==="uk"},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(e,o){e.fancybox&&(o.preventDefault(),xe({url:e}))},openDataPrivacy(e){xe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},rf={class:"cmd-pages-basic-form"},lf={key:0,class:"flex-container no-flex order-male-female"},af={key:1,class:"flex-container order-lastname-firstname"},sf={key:2,class:"flex-container order-phone-email"},cf={key:3,class:"flex-container"},df=["innerHTML"];function mf(e,o,n,i,r,l){const a=j,s=U,c=vi;return t.openBlock(),t.createElementBlock("div",rf,[n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createVNode(c,t.mergeProps({onSubmit:l.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:n.submitButton,formAction:n.formAction}),{default:t.withCtx(()=>{var d,m,u,p,f,h,y,g,B,_,x,T,O,w,E,L,R,M,se,ce,de,W,we,N,fe,mt,ut,ft,ht,ee,Vs,Ns,Os,Fs,Ps,Is,Ls,Ms,As,Ds;return[n.configuration.salutation?(t.openBlock(),t.createElementBlock("div",lf,[t.createVNode(s,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_male"),name:((d=n.configuration.salutation)==null?void 0:d.name)||"salutation",inputValue:"m",replaceInputType:(m=n.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:r.formData.salutation.value,"onUpdate:modelValue":o[0]||(o[0]=D=>r.formData.salutation.value=D),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),t.createVNode(s,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((u=n.configuration.salutation)==null?void 0:u.name)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:r.formData.salutation.value,"onUpdate:modelValue":o[1]||(o[1]=D=>r.formData.salutation.value=D),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(t.openBlock(),t.createElementBlock("div",af,[n.configuration.lastName?(t.openBlock(),t.createBlock(s,{key:0,element:"input",type:((f=n.configuration.lastName)==null?void 0:f.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.last_name"),required:(h=n.configuration.lastName)==null?void 0:h.required,name:((y=n.configuration.lastName)==null?void 0:y.name)||"last-name",placeholder:e.getMessage("basic_form.placeholder.last_name"),modelValue:r.formData.lastName.value,"onUpdate:modelValue":o[2]||(o[2]=D=>r.formData.lastName.value=D),status:r.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):t.createCommentVNode("",!0),n.configuration.firstName?(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(B=n.configuration.firstName)==null?void 0:B.required,name:((_=n.configuration.firstName)==null?void 0:_.name)||"first-name",modelValue:r.formData.firstName.value,"onUpdate:modelValue":o[3]||(o[3]=D=>r.formData.firstName.value=D),status:r.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(t.openBlock(),t.createElementBlock("div",sf,[n.configuration.email?(t.openBlock(),t.createBlock(s,{key:0,element:"input",type:((x=n.configuration.email)==null?void 0:x.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(T=n.configuration.email)==null?void 0:T.required,name:((O=n.configuration.email)==null?void 0:O.name)||"email",modelValue:r.formData.email.value,"onUpdate:modelValue":o[4]||(o[4]=D=>r.formData.email.value=D),status:r.formData.email.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0),n.configuration.phone?(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:((w=n.configuration.phone)==null?void 0:w.type)||"tel",iconClass:"icon-phone",labelText:e.getMessage("basic_form.labeltext.phone"),placeholder:e.getMessage("basic_form.placeholder.phone"),modelValue:r.formData.phone.value,"onUpdate:modelValue":o[5]||(o[5]=D=>r.formData.phone.value=D),required:(E=n.configuration.phone)==null?void 0:E.required,name:((L=n.configuration.phone)==null?void 0:L.name)||"phone",status:r.formData.phone.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","onValidate"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(t.openBlock(),t.createElementBlock("div",cf,[n.configuration.country?(t.openBlock(),t.createBlock(s,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(R=n.configuration.country)==null?void 0:R.selectOptions,required:(M=n.configuration.country)==null?void 0:M.required,name:((se=n.configuration.country)==null?void 0:se.name)||"country",modelValue:r.formData.country.value,"onUpdate:modelValue":[o[6]||(o[6]=D=>r.formData.country.value=D),l.onCountrySelect],status:r.formData.country.error?"error":"",onValidate:l.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):t.createCommentVNode("",!0),n.configuration.streetNo?(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:((ce=n.configuration.streetNo)==null?void 0:ce.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(de=n.configuration.streetNo)==null?void 0:de.required,name:((W=n.configuration.streetNo)==null?void 0:W.name)||"street-no",modelValue:r.formData.streetNo.value,"onUpdate:modelValue":o[7]||(o[7]=D=>r.formData.streetNo.value=D),status:r.formData.streetNo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0),n.configuration.pobox?(t.openBlock(),t.createBlock(s,{key:2,element:"input",type:((we=n.configuration.pobox)==null?void 0:we.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(N=n.configuration.pobox)==null?void 0:N.required,name:((fe=n.configuration.pobox)==null?void 0:fe.name)||"pobox",modelValue:r.formData.pobox.value,"onUpdate:modelValue":o[8]||(o[8]=D=>r.formData.pobox.value=D),status:r.formData.pobox.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper",r.cityBeforeZip?"order-city-zip":"order-zip-city"])},[n.configuration.zip?(t.openBlock(),t.createBlock(s,{key:0,element:"input",class:"input-zip",type:((mt=n.configuration.zip)==null?void 0:mt.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(ut=n.configuration.zip)==null?void 0:ut.required,name:((ft=n.configuration.zip)==null?void 0:ft.name)||"zip",modelValue:r.formData.zip.value,"onUpdate:modelValue":o[9]||(o[9]=D=>r.formData.zip.value=D),status:r.formData.zip.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0),n.configuration.city?(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:((ht=n.configuration.city)==null?void 0:ht.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ee=n.configuration.city)==null?void 0:ee.required,name:((Vs=n.configuration.city)==null?void 0:Vs.name)||"city",modelValue:r.formData.city.value,"onUpdate:modelValue":o[10]||(o[10]=D=>r.formData.city.value=D),status:r.formData.city.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(t.openBlock(),t.createBlock(s,{key:3,element:"input",type:((Ns=n.configuration.additionalAddressInfo)==null?void 0:Ns.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(Os=n.configuration.additionalAddressInfo)==null?void 0:Os.required,name:((Fs=n.configuration.additionalAddressInfo)==null?void 0:Fs.name)||"additional-address-info",modelValue:r.formData.additionalAddressInfo.value,"onUpdate:modelValue":o[11]||(o[11]=D=>r.formData.additionalAddressInfo.value=D),status:r.formData.additionalAddressInfo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n.configuration.userMessage?(t.openBlock(),t.createBlock(s,{key:4,element:((Ps=n.configuration.userMessage)==null?void 0:Ps.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(Is=n.configuration.userMessage)==null?void 0:Is.required,name:((Ls=n.configuration.userMessage)==null?void 0:Ls.name)||"user-message",modelValue:r.formData.userMessage.value,"onUpdate:modelValue":o[12]||(o[12]=D=>r.formData.userMessage.value=D),status:r.formData.userMessage.error?"error":"",onValidate:l.onValidate},null,8,["element","labelText","placeholder","required","name","modelValue","status","onValidate"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(t.openBlock(),t.createBlock(s,{key:5,element:"input",type:"checkbox",required:(Ms=n.configuration.acceptPrivacy)==null?void 0:Ms.required,name:((As=n.configuration.acceptPrivacy)==null?void 0:As.name)||"accept-privacy",replaceInputType:(Ds=n.configuration.acceptPrivacy)==null?void 0:Ds.replaceInputType,modelValue:r.formData.acceptPrivacy.value,"onUpdate:modelValue":o[13]||(o[13]=D=>r.formData.acceptPrivacy.value=D),status:r.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:t.withCtx(()=>[t.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,df)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):t.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const or=V(of,[["render",mf]]),uf={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},ff=["title"],hf={key:1},pf=["title"];function gf(e,o,n,i,r,l){return t.openBlock(),t.createElementBlock(t.Fragment,null,[n.icon.iconClass&&n.icon.position!=="right"?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,ff)):t.createCommentVNode("",!0),n.text?(t.openBlock(),t.createElementBlock("span",hf,t.toDisplayString(n.text),1)):t.createCommentVNode("",!0),n.icon.iconClass&&n.icon.position==="right"?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,pf)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")],64)}const yf=V(uf,[["render",gf]]),bf={name:"CmdLink",emits:["click"],props:{linkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"||e==="button"}},path:{type:[String,Object],default:"#"},target:{type:String,default:""},icon:{type:Object,default:{}},text:{type:String,default:""},styleAsButton:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(e,o){this.$emit("click",{originalEvent:e,linkType:o})}}},kf=["href","target"];function Cf(e,o,n,i,r,l){const a=yf,s=t.resolveComponent("router-link");return n.linkType==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:n.path,target:n.target,class:t.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,fancybox:n.fancybox}]),onClick:o[0]||(o[0]=c=>l.emitClick(c,"href"))},[t.createVNode(a,{text:n.text,icon:n.icon},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,kf)):n.linkType==="router"?(t.openBlock(),t.createBlock(s,{key:1,to:n.path,class:t.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,fancybox:n.fancybox}]),onClick:o[1]||(o[1]=c=>l.emitClick(c,"router"))},{default:t.withCtx(()=>[t.createVNode(a,{text:n.text,icon:n.icon},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class"])):n.linkType==="button"?(t.openBlock(),t.createElementBlock("button",{key:2,class:t.normalizeClass(["cmd-link button",{primary:n.primaryButton,fancybox:n.fancybox}]),type:"submit",onClick:o[2]||(o[2]=c=>l.emitClick(c,"button"))},[t.createVNode(a,{text:n.text,icon:n.icon},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],2)):t.createCommentVNode("",!0)}const Le=V(bf,[["render",Cf]]),wf={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[J],data(){var e;return{editableText:(e=this.link)==null?void 0:e.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const e=this.editableText;return G(this,{update(o){o.text=e}})}}},Bf={key:0,class:"cmd-list-of-links-item"},xf={key:0},_f={key:1,class:"input-wrapper"};function Ef(e,o,n,i,r,l){var d;const a=Le,s=t.resolveComponent("CmdListOfLinksItem",!0),c=U;return e.editing?(t.openBlock(),t.createElementBlock("div",_f,[t.createVNode(c,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:r.editableText,"onUpdate:modelValue":o[0]||(o[0]=m=>r.editableText=m)},null,8,["modelValue"])])):(t.openBlock(),t.createElementBlock("li",Bf,[t.createVNode(a,t.normalizeProps(t.guardReactiveProps(n.link)),null,16),e.editModeContext?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("ul",xf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((d=n.link)==null?void 0:d.children,(m,u)=>(t.openBlock(),t.createBlock(s,{key:u,link:m},null,8,["link"]))),128))]))]))}const Sf=V(wf,[["render",Ef]]),Tf={name:"CmdListOfLinks",emits:["click"],mixins:[J],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},showListStyleItems:{type:Boolean,default:!1},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(pe(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return G(this,{update(e,o){const n=o==null?void 0:o.find(i=>i.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}}},Vf={key:1},Nf=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new entry",-1)];function Of(e,o,n,i,r,l){var d;const a=j,s=Sf,c=ge;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-list-of-links",{box:n.styleAsBox,horizontal:n.orientation==="horizontal","section-anchors":n.sectionAnchors,"large-icons":n.largeIcons,"show-list-style-items":n.showListStyleItems}])},[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("ul",{class:t.normalizeClass(["flex-container",{"no-gap":!n.useGap},"align-"+n.align,l.setStretchClass])},[e.editModeContext?(t.openBlock(),t.createElementBlock("li",Vf,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.links,(m,u)=>(t.openBlock(),t.createBlock(c,{key:"x"+u,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:m,allowedComponentTypes:[],componentPath:["props","links",u],itemProvider:l.itemProvider},{default:t.withCtx(()=>[t.createVNode(s,{class:t.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),n.links.length===0?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:o[0]||(o[0]=(...m)=>l.onAddItem&&l.onAddItem(...m))},Nf)):t.createCommentVNode("",!0)])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.links,(m,u)=>(t.openBlock(),t.createBlock(s,{key:u,class:t.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},null,8,["class","link"]))),128))],2)],2)}const Hn=V(Tf,[["render",Of]]),Un={name:"CmdBox",mixins:[Y,{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"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(e){return e==="content"||e==="product"||e==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(e){return e==="business"||e==="influencer"||e==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(e){return e==="header"||e==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{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(e){this.$emit("click",e)},setFocus(){this.$nextTick(()=>{if(this.open){const e=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");e&&e.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},ir=()=>{t.useCssVars(e=>({ae9cb9d6:e.cutoffTextLines}))},rr=Un.setup;Un.setup=rr?(e,o)=>(ir(),rr(e,o)):ir;const Ff=["title"],Pf={key:0,class:"box-header"},If={key:1,class:"body-icon-wrapper"},Lf=["innerHTML"],Mf={key:0,class:"body-icon-wrapper"},Af=["innerHTML"],Df={key:2,class:"box-footer"},Rf={key:3,class:"box-footer"},jf={class:"box-header flex-container vertical"},qf={key:0},zf=["src","alt"],Hf={key:1},Uf={key:2,class:"ribbon-new"},Wf={key:3,class:"ribbon-discount"},Gf={class:"box-body"},Jf={key:0},Kf={key:1,class:"price"},Zf=["title"],Xf={key:2},Yf={class:"box-header flex-container vertical"},Qf={key:0},$f=["src","alt"],vf={key:0,class:"user-name"},eh={key:0,class:"user-age"},th={key:1},nh=["title"],oh={key:0,class:"user-name"},ih={class:"box-body"},rh={key:0,class:"user-name"},lh={key:1},ah={key:2},sh={key:3,class:"description"},ch={key:0,class:"tags"},dh={key:1,class:"box-footer"};function mh(e,o,n,i,r,l){var u,p,f,h,y,g,B,_,x,T;const a=j,s=A,c=ue,d=Le,m=Hn;return n.boxType==="content"?(t.openBlock(),t.createElementBlock("div",{key:0,ref:"cmdBox",class:t.normalizeClass(["cmd-box box content",{open:r.open,collapsible:n.collapsible,"stretch-vertically":n.stretchVertically&&!n.collapsible,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[n.collapsible?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",class:"box-header",title:r.open?n.iconOpen.tooltip:n.iconClosed.tooltip,onClick:o[0]||(o[0]=t.withModifiers((...O)=>l.toggleContentVisibility&&l.toggleContentVisibility(...O),["prevent"]))},[(u=n.useSlots)!=null&&u.includes("header")?t.renderSlot(e.$slots,"header",{key:0}):(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:1},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createVNode(s,{iconClass:r.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:r.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,Ff)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(f=n.useSlots)!=null&&f.includes("header")||(h=n.cmdHeadline)!=null&&h.headlineText&&n.headlinePosition==="header"?(t.openBlock(),t.createElementBlock("div",Pf,[(y=n.useSlots)!=null&&y.includes("header")?t.renderSlot(e.$slots,"header",{key:0}):t.createCommentVNode("",!0),(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:1},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],64)),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(B=n.useSlots)!=null&&B.includes("body")?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll}]),ref:"boxBody",style:t.normalizeStyle(n.allowContentToScroll?"max-height: "+r.calculatedBodyHeight:null)},[t.renderSlot(e.$slots,"body",{},()=>{var O;return[(O=n.cmdHeadline)!=null&&O.headlineText&&n.headlinePosition==="body"?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.cmdIcon!==void 0?(t.openBlock(),t.createElementBlock("div",If,[t.createVNode(s,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):t.createCommentVNode("",!0),t.createVNode(t.TransitionGroup,{name:l.toggleTransition},{default:t.withCtx(()=>[n.textBody?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass({"cutoff-text":n.cutoffTextLines>0,"fade-last-line":n.fadeLastLine&&!r.showCutOffText,"show-text":r.showCutOffText}),innerHTML:n.textBody},null,10,Lf)):t.createCommentVNode("",!0),n.cutoffTextLines>0?(t.openBlock(),t.createElementBlock("a",{key:1,href:"#",onClick:o[1]||(o[1]=t.withModifiers((...w)=>l.toggleCutOffText&&l.toggleCutOffText(...w),["prevent"]))},t.toDisplayString(r.showCutOffText?e.getMessage("cmdbox.contentbox.collapse_text"):e.getMessage("cmdbox.contentbox.expand_text")),1)):t.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":n.allowContentToScroll}])},[n.cmdImage?(t.openBlock(),t.createBlock(c,t.normalizeProps(t.mergeProps({key:0},n.cmdImage)),null,16)):t.createCommentVNode("",!0),n.textBody?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll})},[n.cmdIcon!==void 0?(t.openBlock(),t.createElementBlock("div",Mf,[t.createVNode(s,t.normalizeProps(t.guardReactiveProps(n.cmdIcon)),null,16)])):t.createCommentVNode("",!0),(_=n.cmdHeadline)!=null&&_.headlineText&&n.headlinePosition==="body"?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:1},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.textBody?(t.openBlock(),t.createElementBlock("p",{key:2,innerHTML:n.textBody},null,8,Af)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],2))],2),[[t.vShow,r.open]]),(x=n.cmdLink)!=null&&x.linkType?(t.openBlock(),t.createElementBlock("div",Df,[t.createVNode(d,t.normalizeProps(t.guardReactiveProps(n.cmdLink)),null,16)])):t.createCommentVNode("",!0),(T=n.useSlots)!=null&&T.includes("footer")?(t.openBlock(),t.createElementBlock("div",Rf,[t.renderSlot(e.$slots,"footer")])):t.createCommentVNode("",!0)],2)):n.boxType==="product"&&n.product?(t.openBlock(),t.createElementBlock("a",{key:1,class:t.normalizeClass(["cmd-box box product",{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}]),href:"#",onClick:o[2]||(o[2]=t.withModifiers(O=>l.clickOnProduct(n.product),["prevent"]))},[t.createElementVNode("div",jf,[n.product.image!==void 0?(t.openBlock(),t.createElementBlock("figure",qf,[t.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,zf),t.createElementVNode("figcaption",null,t.toDisplayString(n.product.name),1)])):(t.openBlock(),t.createElementBlock("p",Hf,t.toDisplayString(n.product.name),1)),n.product.new?(t.openBlock(),t.createElementBlock("div",Uf,[t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):t.createCommentVNode("",!0),n.product.discount?(t.openBlock(),t.createElementBlock("div",Wf,[t.createElementVNode("span",null,t.toDisplayString(n.product.discount),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Gf,[n.product.articleNumber?(t.openBlock(),t.createElementBlock("p",Jf,t.toDisplayString(e.getMessage("cmdbox.productbox.article_no"))+" "+t.toDisplayString(n.product.articleNumber),1)):t.createCommentVNode("",!0),n.product.price?(t.openBlock(),t.createElementBlock("p",Kf,[t.createElementVNode("span",null,t.toDisplayString(n.product.price),1),t.createElementVNode("span",{title:e.globalCurrency.name},t.toDisplayString(e.globalCurrency.symbol),9,Zf)])):t.createCommentVNode("",!0),n.product.description?(t.openBlock(),t.createElementBlock("p",Xf,t.toDisplayString(n.product.description),1)):t.createCommentVNode("",!0)])],2)):n.boxType==="user"&&n.user?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["cmd-box box user",n.profileType,{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[t.createElementVNode("div",Yf,[n.user.image?(t.openBlock(),t.createElementBlock("figure",Qf,[t.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,$f),n.rowView?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("figcaption",vf,[t.createTextVNode(t.toDisplayString(n.user.name),1),n.user.age?(t.openBlock(),t.createElementBlock("span",eh," ("+t.toDisplayString(n.user.age)+")",1)):t.createCommentVNode("",!0)]))])):(t.openBlock(),t.createElementBlock("div",th,[t.createElementVNode("span",{class:t.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,nh),n.rowView?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",oh,t.toDisplayString(n.user.name),1))]))]),t.createElementVNode("div",ih,[n.rowView?(t.openBlock(),t.createElementBlock("p",rh,t.toDisplayString(n.user.name),1)):t.createCommentVNode("",!0),n.user.profession?(t.openBlock(),t.createElementBlock("p",lh,t.toDisplayString(n.user.profession),1)):t.createCommentVNode("",!0),n.user.position?(t.openBlock(),t.createElementBlock("p",ah,t.toDisplayString(n.user.position),1)):t.createCommentVNode("",!0),n.user.description?(t.openBlock(),t.createElementBlock("p",sh,t.toDisplayString(n.user.description),1)):t.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(t.openBlock(),t.createElementBlock("ul",ch,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.user.tags,(O,w)=>(t.openBlock(),t.createElementBlock("li",{key:w},t.toDisplayString(O),1))),128))])):t.createCommentVNode("",!0),n.user.links&&n.user.links.length?(t.openBlock(),t.createElementBlock("div",dh,[t.createVNode(m,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)}const Wn=V(Un,[["render",mh]]),Gn={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},allowMultipleExpandedBoxes:{type:Boolean,default:!0},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(e){return this.currentOpenBox.includes(e)},boxIsToggled(e){alert(e)},boxesPerRowResponsive(e,o){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?e===0?this.boxesPerRow:Math.min(this.boxesPerRow,o):this.boxesPerRow.length>e?this.boxesPerRow[e]:o},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(e,o){if(this.allowMultipleExpandedBoxes)if(o)this.currentOpenBox.push(e);else{let n=this.currentOpenBox.indexOf(e);this.currentOpenBox.splice(n,1)}else this.currentOpenBox=[],o&&this.currentOpenBox.push(e)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},lr=()=>{t.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},ar=Gn.setup;Gn.setup=ar?(e,o)=>(lr(),ar(e,o)):lr;const uh={class:"cmd-box-wrapper"},fh={key:0,class:"flex-container headline-wrapper"},hh={key:1,class:"options-wrapper"},ph=["title"];function gh(e,o,n,i,r,l){const a=j,s=A;return t.openBlock(),t.createElementBlock("div",uh,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(t.openBlock(),t.createElementBlock("div",fh,[n.cmdHeadline.headlineText?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.allowUserToToggleOrientation?(t.openBlock(),t.createElementBlock("div",hh,[t.createElementVNode("a",{href:"#",onClick:o[0]||(o[0]=t.withModifiers((...c)=>l.toggleOrientation&&l.toggleOrientation(...c),["prevent"])),title:r.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[t.createVNode(s,{iconClass:r.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:r.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,ph)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["inner-box-wrapper",n.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!n.useGap,"row-view":r.rowView,"stretch-boxes-vertically":n.stretchBoxesVertically}])},[t.renderSlot(e.$slots,"default",{collapsingBoxesOpen:r.collapsingBoxesOpen,boxToggled:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:r.rowView,onToggleCollapse:o[1]||(o[1]=(...c)=>l.boxIsToggled&&l.boxIsToggled(...c))})],2)])}const sr=V(Gn,[["render",gh]]);function Me(e){return e.path?e.path:((e.route==null||typeof e.route!="object"||!e.route.path&&!e.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",e.route),e.route)}const yh={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return Me(e)}}},bh={class:"cmd-breadcrumbs"},kh={key:0,class:"breadcrumb-label"},Ch=["href"],wh={key:1},Bh={key:1},xh={key:2},_h={key:1},Eh={key:3,class:"separator"};function Sh(e,o,n,i,r,l){const a=A,s=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("ul",bh,[n.breadcrumbLabel?(t.openBlock(),t.createElementBlock("li",kh,t.toDisplayString(n.breadcrumbLabel),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.breadcrumbLinks||[],(c,d)=>(t.openBlock(),t.createElementBlock("li",{key:d},[c.type==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:c.path},[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",wh,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0)],8,Ch)):c.type==="router"?(t.openBlock(),t.createBlock(s,{key:1,to:l.getRoute(c)},{default:t.withCtx(()=>[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",Bh,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0)]),_:2},1032,["to"])):(t.openBlock(),t.createElementBlock("span",xh,[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",_h,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0)])),d<n.breadcrumbLinks.length-1?(t.openBlock(),t.createElementBlock("span",Eh,t.toDisplayString(n.breadcrumbSeparator),1)):t.createCommentVNode("",!0)]))),128))])}const cr=V(yh,[["render",Sh]]),Th={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 e=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(e,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},onColorSchemeChange(e){this.prefersColorScheme=e.matches?"light":"dark"},observeDom(e){for(let o=0;o<e.length;o++)if(e[o].type==="attributes"){this.toggleColorScheme();break}},getRoute(e){return Me(e)},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"}}},Vh={class:"cmd-company-logo company-logo"},Nh=["href","title"];function Oh(e,o,n,i,r,l){var c,d,m,u,p,f;const a=ue,s=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",Vh,[((c=n.link)==null?void 0:c.type)==="router"?(t.openBlock(),t.createBlock(s,{key:0,to:(d=n.link)==null?void 0:d.path,title:(m=n.link)==null?void 0:m.tooltip},{default:t.withCtx(()=>[t.createVNode(a,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((u=n.link)==null?void 0:u.type)==="href"?(t.openBlock(),t.createElementBlock("a",{key:1,href:(p=n.link)==null?void 0:p.path,title:(f=n.link)==null?void 0:f.tooltip},[t.createVNode(a,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])],8,Nh)):(t.openBlock(),t.createBlock(a,{key:2,image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"]))])}const dr=V(Th,[["render",Oh]]),Fh={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},contentBelowSlot:{type:String,required:!1},containerType:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},innerClass:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},methods:{addHandlerProvider(){return""},oneSlotItem(){if(typeof this.$slots.default!="function")return!1;const e=this.$slots.default();return e.length===1&&typeof e[0].type=="symbol"&&Array.isArray(e[0].children)?e[0].children.length===1:e.length===1&&typeof e[0].type=="object"&&e[0].type.name==="RenderComponents"&&typeof e[0].props=="object"&&Array.isArray(e[0].props.components)?e[0].props.components.length===1:e.length===1}},computed:{setInnerClass(){let e=this.innerClass||"";switch(this.containerType){case"grid":e+=" grid-container-create-columns";break;case"flex":this.contentOrientation==="horizontal"?e+=" flex-container":this.contentOrientation==="vertical"&&(e+=" flex-container vertical");break}return e}}},Ph={class:"cmd-container"},Ih=["innerHTML"],Lh=["innerHTML"];function Mh(e,o,n,i,r,l){const a=j;return t.openBlock(),t.createElementBlock("div",Ph,[n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.contentAboveSlot?(t.openBlock(),t.createElementBlock("div",{key:1,innerHTML:n.contentAboveSlot},null,8,Ih)):t.createCommentVNode("",!0),l.oneSlotItem()?t.renderSlot(e.$slots,"default",{key:2}):(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass([l.setInnerClass,"inner-slot-wrapper"])},[t.renderSlot(e.$slots,"default")],2)),n.contentBelowSlot?(t.openBlock(),t.createElementBlock("div",{key:4,innerHTML:n.contentBelowSlot},null,8,Lh)):t.createCommentVNode("",!0)])}const Ah=V(Fh,[["render",Mh]]),Dh={name:"CmdCookieDisclaimer",mixins:[Y,{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!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{useSlot:{type:Boolean,default:!1},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 n,i;const e=this.modelValue?[...this.modelValue]:[],o=((i=(n=this.cookieOptions)==null?void 0:n.required)==null?void 0:i.cookies)||[];for(let r=0;r<o.length;r++)e.includes(o[r].value)||e.push(o[r].value);return e},set(e){this.$emit("update:modelValue",e)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var i,r,l,a;const e=[],o=(r=(i=this.cookieOptions)==null?void 0:i.required)==null?void 0:r.cookies;if(o)for(let s=0;s<o.length;s++)e.push(o[s].value);const n=(a=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:a.cookies;if(n)for(let s=0;s<n.length;s++)e.push(n[s].value);this.$emit("close-cookie-disclaimer",e)},openDataPrivacy(e){e.target.target||(e.preventDefault(),fetch(e.target.href).then(o=>o.text()).then(o=>{this.dataPrivacyContent=o}))}}},Rh={class:"cmd-cookie-disclaimer flex-container vertical"},jh={key:0,class:"flex-container vertical"},qh={key:0},zh={key:1},Hh=["href","target"],Uh=["innerHTML"],Wh=t.createElementVNode("hr",null,null,-1),Gh={key:1,class:"flex-container vertical"},Jh={key:0},Kh={key:1},Zh=["href","target"],Xh=["innerHTML"],Yh={class:"button-wrapper align-center"};function Qh(e,o,n,i,r,l){const a=j,s=U,c=Wn;return t.openBlock(),t.createBlock(t.Transition,{name:"fade"},{default:t.withCtx(()=>{var d,m,u;return[t.createElementVNode("div",Rh,[n.useSlot?t.renderSlot(e.$slots,"default",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(d=n.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(t.openBlock(),t.createBlock(a,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"cookie-options",{},()=>{var p,f,h,y,g,B,_,x;return[(p=n.cookieOptions)!=null&&p.required?(t.openBlock(),t.createElementBlock("div",jh,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(t.openBlock(),t.createBlock(a,{key:0,"headline-text":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(y=n.cmdBoxRequiredCookies)==null?void 0:y.headlineLevel},null,8,["headline-text","headline-level"])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.cookieOptions.required.cookies||[],(T,O)=>{var w;return t.openBlock(),t.createBlock(c,{useSlots:["header","body"],collapsible:(w=n.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:O},{header:t.withCtx(()=>[t.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":o[0]||(o[0]=E=>l.acceptedCookies=E),inputValue:T.value,labelText:T.labelText,disabled:T.disabled,id:T.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:t.withCtx(()=>[T.description?(t.openBlock(),t.createElementBlock("p",qh,t.toDisplayString(T.description),1)):t.createCommentVNode("",!0),T.linkDataPrivacy?(t.openBlock(),t.createElementBlock("p",zh,[t.createTextVNode(t.toDisplayString(T.linkDataPrivacy.label)+" ",1),t.createElementVNode("a",{onClick:o[1]||(o[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:T.linkDataPrivacy.link,target:T.linkDataPrivacy.target},t.toDisplayString(T.linkDataPrivacy.linkText),9,Hh)])):t.createCommentVNode("",!0),r.dataPrivacyContent?(t.openBlock(),t.createElementBlock("div",{key:2,innerHTML:r.dataPrivacyContent},null,8,Uh)):t.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):t.createCommentVNode("",!0),Wh,(g=n.cookieOptions)!=null&&g.optional?(t.openBlock(),t.createElementBlock("div",Gh,[(B=n.cmdBoxOptionalCookies)!=null&&B.showHeadline?(t.openBlock(),t.createBlock(a,{key:0,"headline-text":(_=n.cmdBoxOptionalCookies)==null?void 0:_.headlineText,"headline-level":(x=n.cmdBoxOptionalCookies)==null?void 0:x.headlineLevel},null,8,["headline-text","headline-level"])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.cookieOptions.optional.cookies||[],(T,O)=>{var w;return t.openBlock(),t.createBlock(c,{useSlots:["header","body"],collapsible:(w=n.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:O},{header:t.withCtx(()=>[t.createVNode(s,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":o[2]||(o[2]=E=>l.acceptedCookies=E),inputValue:T.value,labelText:T.labelText,disabled:T.disabled,id:T.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:t.withCtx(()=>[T.description?(t.openBlock(),t.createElementBlock("p",Jh,t.toDisplayString(T.description),1)):t.createCommentVNode("",!0),T.linkDataPrivacy?(t.openBlock(),t.createElementBlock("p",Kh,[t.createTextVNode(t.toDisplayString(T.linkDataPrivacy.label)+" ",1),t.createElementVNode("a",{onClick:o[3]||(o[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:T.linkDataPrivacy.link,target:T.linkDataPrivacy.target},t.toDisplayString(T.linkDataPrivacy.linkText),9,Zh)])):t.createCommentVNode("",!0),r.dataPrivacyContent?(t.openBlock(),t.createElementBlock("div",{key:2,innerHTML:r.dataPrivacyContent},null,8,Xh)):t.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):t.createCommentVNode("",!0)]}),t.renderSlot(e.$slots,"privacy-text"),t.createElementVNode("div",Yh,[n.buttonLabelAcceptCurrentSettings?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",onClick:o[4]||(o[4]=(...p)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...p))},[t.createElementVNode("span",null,t.toDisplayString(n.buttonLabelAcceptCurrentSettings),1)])):t.createCommentVNode("",!0),n.buttonLabelAcceptAllCookies?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:o[5]||(o[5]=(...p)=>l.acceptAllCookies&&l.acceptAllCookies(...p))},[t.createElementVNode("span",null,t.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):t.createCommentVNode("",!0)])],64))])]}),_:3})}const $h=V(Dh,[["render",Qh]]),vh={name:"CmdCopyrightWrapper"},ep={class:"cmd-copyright-information",role:"contentinfo"},tp=[t.createElementVNode("a",{href:"https://www.comand-cms.com",target:"comand-website",lang:"en",title:"CoManD-Website"},"© CoManD",-1)];function np(e,o,n,i,r,l){return t.openBlock(),t.createElementBlock("div",ep,tp)}const op=V(vh,[["render",np]]),ip={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[Y,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...Dn.data().defaultMessageProperties}}}},Et,Ge,qn],data(){return{showOptions:!1,validationStatus:"",allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(e){return e==="default"||e==="color"||e==="country"||e==="content"||e==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},iconDropdown:{type:Object,default(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,o;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const n=this.selectData.find(i=>i.value===this.modelValue);if(n)return n.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(e=this.selectData.find(n=>String(n.value)===String(this.modelValue[0])))==null?void 0:e.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((o=this.selectData)!=null&&o.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const e=this.selectData.find(o=>o.value===this.modelValue);return{iconClass:e==null?void 0:e.iconClass,tooltip:e==null?void 0:e.tooltip}}return null},optionCountry(){var e,o;return this.type==="country"?this.modelValue||((o=(e=this.selectData)==null?void 0:e[0])==null?void 0:o.value):null},optionColor(){var e,o;return this.type==="color"?this.modelValue||((o=(e=this.selectData)==null?void 0:e[0])==null?void 0:o.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const e=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let o=0;o<this.selectData.length;o++)e.push(String(this.selectData[o].value));this.$emit("update:modelValue",e)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(e){return this.modelValue.some(o=>o===e||o===String(e))},selectOption(e){this.validationStatus="success",this.$attrs.required!==void 0&&(e||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",e)},optionSelect(e){this.validationStatus="success";let o=[...this.modelValue];e.target.checked?o.push(e.target.value):o=o.filter(n=>n!==e.target.value&&String(n)!==e.target.value),this.$attrs.required!==void 0&&!o.length&&(this.validationStatus="error"),this.$emit("update:modelValue",o)},closeOptions(){this.showOptions=!1},pathFlag(e){return this.pathFlags+"/flag-"+e+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var e;this.type==="default"&&((e=this.selectData)!=null&&e.length)&&!this.selectData.some(o=>o.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},rp=["title","aria-labelledby","aria-required"],lp={key:0,class:"label-text"},ap=["id"],sp={key:0,"aria-hidden":"true"},cp=["title","aria-errormessage","id"],dp=["aria-expanded"],mp=["title"],up=["src","alt"],fp={key:3,class:"option-name"},hp={key:0,role:"listbox"},pp=["aria-selected"],gp=["onClick","title"],yp={key:1},bp=["aria-expanded"],kp=["for"],Cp=["value","checked","id"],wp=["onClick"],Bp=["src","alt"],xp=["onClick"],_p={key:0,class:"select-all-options"};function Ep(e,o,n,i,r,l){var d,m,u,p;const a=A,s=An,c=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([r.validationStatus,"cmd-fake-select label",{color:n.type==="color","has-state":r.validationStatus&&r.validationStatus!=="none",disabled:e.$attrs.disabled}]),title:e.$attrs.title,role:"listbox","aria-labelledby":e.htmlId,"aria-required":e.$attrs.required!==void 0,ref:"fakeselect"},[n.showLabel?(t.openBlock(),t.createElementBlock("span",lp,[t.createElementVNode("span",{id:e.htmlId},[t.createTextVNode(t.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(t.openBlock(),t.createElementBlock("sup",sp,"*")):t.createCommentVNode("",!0)],8,ap),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[t.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,cp)):t.createCommentVNode("",!0),e.useCustomTooltip&&(r.validationStatus===""||r.validationStatus==="error")?(t.openBlock(),t.createBlock(s,{key:1,ref:"tooltip",validationStatus:r.validationStatus,validationMessage:e.getValidationMessage,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:r.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("ul",{class:t.normalizeClass({open:r.showOptions}),onClickout:o[5]||(o[5]=(...f)=>l.closeOptions&&l.closeOptions(...f)),"aria-expanded":r.showOptions},[t.createElementVNode("li",null,[t.createElementVNode("a",{href:"#",onClick:o[1]||(o[1]=t.withModifiers((...f)=>l.toggleOptions&&l.toggleOptions(...f),["prevent"])),onBlur:o[2]||(o[2]=(...f)=>l.onBlur&&l.onBlur(...f)),title:(d=l.optionIcon)==null?void 0:d.tooltip},[n.type==="country"&&l.optionCountry?(t.openBlock(),t.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:t.normalizeClass(["flag",l.optionCountry])},null,10,up)):n.type==="color"?(t.openBlock(),t.createElementBlock("span",{key:1,style:t.normalizeStyle("background: "+l.optionColor)},null,4)):t.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(t.openBlock(),t.createBlock(a,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(p=l.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):t.createCommentVNode("",!0),l.optionName?(t.openBlock(),t.createElementBlock("span",fp,t.toDisplayString(l.optionName),1)):t.createCommentVNode("",!0),n.iconDropdown?(t.openBlock(),t.createBlock(a,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):t.createCommentVNode("",!0)],40,mp),n.type==="default"&&r.showOptions?(t.openBlock(),t.createElementBlock("ul",hp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.selectData,(f,h)=>(t.openBlock(),t.createElementBlock("li",{key:h,role:"option","aria-selected":f.value===n.modelValue},[n.optionLinkType==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:t.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:t.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),f.text?(t.openBlock(),t.createElementBlock("span",yp,t.toDisplayString(f.text),1)):t.createCommentVNode("",!0)],10,gp)):t.createCommentVNode("",!0),n.optionLinkType==="router"?(t.openBlock(),t.createBlock(c,{key:1,to:"#",onClick:t.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:t.normalizeClass({active:f.value===n.modelValue})},{default:t.withCtx(()=>[f.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):t.createCommentVNode("",!0)],8,pp))),128))])):n.type!=="default"&&n.type!=="content"&&r.showOptions?(t.openBlock(),t.createElementBlock("ul",{key:1,class:t.normalizeClass({"checkbox-options":n.type==="checkboxOptions"}),"aria-expanded":r.showOptions},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.selectData,(f,h)=>(t.openBlock(),t.createElementBlock("li",{key:h},[n.type==="checkboxOptions"?(t.openBlock(),t.createElementBlock("label",{key:0,for:"option-"+(h+1),class:t.normalizeClass({active:n.modelValue.includes(`${f.value}`)})},[t.createElementVNode("input",{type:"checkbox",value:f.value,onChange:o[3]||(o[3]=(...y)=>l.optionSelect&&l.optionSelect(...y)),checked:l.compareValues(f.value),id:"option-"+(h+1)},null,40,Cp),t.createElementVNode("span",null,t.toDisplayString(f.text),1)],10,kp)):n.type==="country"?(t.openBlock(),t.createElementBlock("a",{key:1,href:"#",onClick:t.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:t.normalizeClass({active:f.value===n.modelValue})},[t.createElementVNode("img",{class:"flag",src:l.pathFlag(f.value),alt:f.text},null,8,Bp),t.createElementVNode("span",null,t.toDisplayString(f.text),1)],10,wp)):n.type==="color"?(t.openBlock(),t.createElementBlock("a",{key:2,href:"#",onClick:t.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:t.normalizeClass({active:f.value===n.modelValue})},[t.createElementVNode("span",{class:"color",style:t.normalizeStyle("background: "+f.value)},null,4),t.createElementVNode("span",null,t.toDisplayString(f.text),1)],10,xp)):t.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(t.openBlock(),t.createElementBlock("li",_p,[t.createElementVNode("a",{href:"#",onClick:o[4]||(o[4]=t.withModifiers((...f)=>l.toggleAllOptions&&l.toggleAllOptions(...f),["prevent"]))},[r.allOptionsSelected?(t.openBlock(),t.createBlock(a,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(t.openBlock(),t.createBlock(a,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),t.createElementVNode("span",null,t.toDisplayString(l.selectAllOptionsText),1)])])):t.createCommentVNode("",!0)],10,bp)):n.type==="content"&&r.showOptions?t.renderSlot(e.$slots,"default",{key:2}):t.createCommentVNode("",!0)])],42,dp)],10,rp)}const mr=V(ip,[["render",Ep]]),Sp={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(e){this.options.splice(e,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}}},Tp={key:0,class:"cmd-form-filters"},Vp={key:0},Np={key:1},Op=["onClick","title"];function Fp(e,o,n,i,r,l){const a=A;return r.options.length?(t.openBlock(),t.createElementBlock("ul",Tp,[r.options.length>1?(t.openBlock(),t.createElementBlock("li",Vp,[t.createElementVNode("a",{href:"#",onClick:o[0]||(o[0]=t.withModifiers((...s)=>l.deleteAllFilters&&l.deleteAllFilters(...s),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(t.openBlock(),t.createBlock(a,{key:0,iconClass:n.linkDeleteAllFilters.icon.iconClass,title:n.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):t.createCommentVNode("",!0),n.linkDeleteAllFilters.text?(t.openBlock(),t.createElementBlock("span",Np,t.toDisplayString(n.linkDeleteAllFilters.text),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,(s,c)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createElementVNode("a",{href:"#",onClick:t.withModifiers(d=>l.deleteClickedFilter(c),["prevent"]),title:n.deleteFilterIcon.tooltip},[t.createElementVNode("span",null,t.toDisplayString(n.selectedOptionsName(s)),1),t.createVNode(a,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Op)]))),128))])):t.createCommentVNode("",!0)}const ur=V(Sp,[["render",Fp]]),Pp={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const e=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return e.searchParams.set("hl","de"),e.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),e.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},Ip={class:"cmd-google-maps responsive-wrapper"},Lp=["src"];function Mp(e,o,n,i,r,l){return t.openBlock(),t.createElementBlock("div",Ip,[t.createElementVNode("iframe",{src:l.locateAddress},null,8,Lp)])}const fr=V(Pp,[["render",Mp]]),Ap={name:"CmdImageGallery",mixins:[J],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(e){return e==="top"||e==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(e){const o={...e.figcaption};return this.figcaptionPosition&&(o.position=this.figcaptionPosition),o},onAddItem(){this.editModeContext.content.addContent(pe(this,"props","images",-1),this.itemProvider)},showFancyBox(e){xe({fancyBoxGallery:this.images,defaultGalleryIndex:e})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const e=this.editableHtmlContent;return G(this,{update(o,n){o.htmlContent=e;const i=n==null?void 0:n.find(r=>r.name==="CmdHeadline");i&&(o.cmdHeadline=o.cmdHeadline||{},i.update(o.cmdHeadline))}})}}},Dp={class:"grid-container-create-columns cmd-image-gallery"},Rp=["onClick","title"],jp=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new gallery-image",-1)];function qp(e,o,n,i,r,l){var c;const a=j,s=ue;return t.openBlock(),t.createElementBlock("div",Dp,[(c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),e.editModeContext?n.images.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(n.images,(d,m)=>(t.openBlock(),t.createBlock(s,{key:m,class:"image-wrapper",image:d.image,figcaption:d.figcaption,componentPath:["props","images",m],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(t.openBlock(),t.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:o[0]||(o[0]=(...d)=>l.onAddItem&&l.onAddItem(...d))},jp)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.useFancyboxForLargeImages?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.images,(d,m)=>(t.openBlock(),t.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:t.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[t.createVNode(s,{image:d.image,figcaption:l.figcaption(d)},null,8,["image","figcaption"])],8,Rp))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(n.images,(d,m)=>(t.openBlock(),t.createElementBlock("div",{key:`i${m}`,class:"image-wrapper"},[t.createVNode(s,{image:d.image,figcaption:l.figcaption(d)},null,8,["image","figcaption"])]))),128))],64))])}const zp=V(Ap,[["render",qp]]),Hp={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(e){this.showLargeImage=!0,this.$nextTick(()=>{const o=window.innerHeight-this.$el.getBoundingClientRect().y-10,n=this.$el.querySelector(".zoom-container");n.style.height=`${o}px`,hr(this,e)})},onMouseMove(e){hr(this,e)},onMouseOut(){this.showLargeImage=!1}}};function hr(e,o){const n=e.$el.querySelector(".zoom-container"),i=n.querySelector("img"),r=e.$el.querySelector(".zoom-overlay"),l=o.target.getBoundingClientRect().width,a=o.target.getBoundingClientRect().height,s=i.getBoundingClientRect().width,c=i.getBoundingClientRect().height,d=o.pageX-o.target.getBoundingClientRect().x-window.pageXOffset,m=o.pageY-o.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,n.getBoundingClientRect().width/s*l),p=Math.min(a,n.getBoundingClientRect().height/c*a),f=pr(d-u/2,0,l-u),h=pr(m-p/2,0,a-p),y=-(f*(s/l)),g=-(h*(c/a));r.style.left=`${f}px`,r.style.top=`${h}px`,r.style.width=`${u}px`,r.style.height=`${p}px`,r.style.display="block",i.style.marginLeft=`${y}px`,i.style.marginTop=`${g}px`}function pr(e,o,n){return e<o?o:e>n?n:e}const Up={class:"cmd-image-zoom flex-container"},Wp=["title"],Gp={class:"zoom-container"},Jp=t.createElementVNode("div",{class:"zoom-overlay"},null,-1);function Kp(e,o,n,i,r,l){const a=ue;return t.openBlock(),t.createElementBlock("div",Up,[t.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[t.createVNode(a,t.mergeProps(n.imageSmall,{figcaption:{},onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,Wp),t.createElementVNode("div",Gp,[t.createVNode(a,t.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),Jp])}const Zp=V(Hp,[["render",Kp]]),Xp={mixins:[Dn,Et,Ge,qn],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(e){return e==="checkbox"||e==="radio"}},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var e;if(this.required){if((e=this.inputValue)!=null&&e.length){this.validationStatus="success";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},Yp=["aria-labelledby"],Qp={class:"label-text"},$p=["id"],vp={key:0,"aria-hidden":"true"},eg=["title","aria-errormessage","id"],tg=["for"],ng=["type","id","name","value","disabled"],og={key:1,class:"label-text"},ig={key:1,class:"flex-container no-flex"};function rg(e,o,n,i,r,l){const a=A,s=An;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-input-group label",e.validationStatus,{inline:n.labelInline,"multiple-switch":n.multipleSwitch,disabled:n.disabled,"toggle-switches":n.toggleSwitches,"has-state":e.validationStatus}]),"aria-labelledby":e.htmlId},[t.withDirectives(t.createElementVNode("span",Qp,[t.createElementVNode("span",{id:e.htmlId},[t.createTextVNode(t.toDisplayString(n.labelText),1),n.required?(t.openBlock(),t.createElementBlock("sup",vp,"*")):t.createCommentVNode("",!0)],8,$p),(n.required||e.inputRequirements.length>0)&&n.showStatusIcon?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[t.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,eg)):t.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(t.openBlock(),t.createBlock(s,{key:1,ref:"tooltip",showRequirements:e.showRequirements,cmdListOfRequirements:e.listOfRequirements,validationStatus:e.validationStatus,validationMessage:e.getValidationMessage,inputAttributes:e.$attrs,inputModelValue:n.modelValue,helplink:e.helplink,relatedId:e.tooltipId,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):t.createCommentVNode("",!0)],512),[[t.vShow,n.showLabel]]),n.useSlot?(t.openBlock(),t.createElementBlock("div",ig,[t.renderSlot(e.$slots,"default")])):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["flex-container",{"no-flex":!n.stretchHorizontally,"no-gap":n.multipleSwitch}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.inputElements,(c,d)=>(t.openBlock(),t.createElementBlock("label",{key:d,for:c.id,class:t.normalizeClass({"toggle-switch":n.toggleSwitches})},[t.withDirectives(t.createElementVNode("input",{type:n.inputTypes,id:c.id,name:c.name,value:c.value,"onUpdate:modelValue":o[1]||(o[1]=m=>l.inputValue=m),disabled:n.disabled,class:t.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,ng),[[t.vModelDynamic,l.inputValue]]),n.multipleSwitch&&c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.labelText?(t.openBlock(),t.createElementBlock("span",og,t.toDisplayString(c.labelText),1)):t.createCommentVNode("",!0)],10,tg))),128))],2))],10,Yp)}const gr=V(Xp,[["render",rg]]),lg={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},orientation:{type:String,default:null,validator(e){return e==="vertical"||e==="horizontal"}},legendLoginForm:{type:Object,default(){return{show:!0,align:"right",text:"Login form"}}},showLegend:{type:Boolean,default:!0},legendForgotLoginForm:{type:Object,default(){return{show:!0,align:'right"',text:"Forgot login form"}}},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,required:!1},cmdFormElementPassword:{type:Object,required:!1},cmdFormElementSendLogin:{type:Object,required:!1},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-chevron-one-stripe-left",tooltip:""},text:"Back to login form"}}}},buttonLogin:{type:Object,required:!1},buttonSendLogin:{type:Object,required:!1}},computed:{cmdFormElementUsernameOptions(){return{labelText:"Username:",placeholder:"Type in username",fieldIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0,...this.cmdFormElementUsername}},cmdFormElementPasswordOptions(){return{labelText:"Password:",placeholder:"Type in password",fieldIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0,...this.cmdFormElementPassword}},cmdFormElementSendLoginOptions(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",fieldIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0,...this.cmdFormElementSendLogin}},buttonLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""},...this.buttonLogin}},buttonSendLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""},...this.buttonSendLogin}},buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(e){this.$emit("update:modelValue",{username:e,password:this.password})}},password:{get(){return this.modelValue.password},set(e){this.$emit("update:modelValue",{username:this.username,password:e})}}},methods:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(e){this.$emit("click",e)},getRoute(e){return Me(e)},checkValidationStatus(e,o){e!=null&&(o==="username"?this.usernameValidationStatus=e==="success":o==="password"?this.passwordValidationStatus=e==="success":this.emailValidationStatus=e==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},ag={class:"cmd-login-form flex-container"},sg={class:"option-wrapper flex-container"},cg={key:1},dg=["type","disabled"],mg={key:1},ug={class:"cmd-login-form flex-container"},fg={class:"option-wrapper flex-container"},hg={key:1},pg=["type","disabled"],gg={key:1};function yg(e,o,n,i,r,l){var m,u,p,f,h,y,g,B;const a=j,s=U,c=A,d=Le;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.withDirectives(t.createElementVNode("fieldset",ag,[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legendLoginForm.show,"align-left":n.legendLoginForm.align==="left"})},t.toDisplayString(n.legendLoginForm.text),3),n.cmdHeadlineLoginForm?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadlineLoginForm)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["login-fields flex-container",{vertical:n.orientation==="vertical"}])},[t.createVNode(s,t.mergeProps({element:"input",type:"text",ref:"username",modelValue:l.username,"onUpdate:modelValue":o[0]||(o[0]=_=>l.username=_)},l.cmdFormElementUsernameOptions,{onValidationStatusChange:o[1]||(o[1]=_=>l.checkValidationStatus(_,"username"))}),null,16,["modelValue"]),t.createVNode(s,t.mergeProps({element:"input",type:"password",modelValue:l.password,"onUpdate:modelValue":o[2]||(o[2]=_=>l.password=_)},l.cmdFormElementPasswordOptions,{onValidationStatusChange:o[3]||(o[3]=_=>l.checkValidationStatus(_,"password"))}),null,16,["modelValue"])],2),t.renderSlot(e.$slots,"login"),t.createElementVNode("div",sg,[n.options.forgotPassword||n.options.createAccount?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.options.forgotPassword?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[4]||(o[4]=t.withModifiers((..._)=>l.toggleSendLoginView&&l.toggleSendLoginView(..._),["prevent"]))},[(m=n.options.forgotPassword.icon)!=null&&m.show&&((u=n.options.forgotPassword.icon)!=null&&u.iconClass)?(t.openBlock(),t.createBlock(c,{key:0,iconClass:n.options.forgotPassword.icon.iconClass,type:n.options.forgotPassword.icon.iconType,title:n.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):t.createCommentVNode("",!0),n.options.forgotPassword.text?(t.openBlock(),t.createElementBlock("span",cg,t.toDisplayString(n.options.forgotPassword.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n.options.createAccount?(t.openBlock(),t.createBlock(d,{key:1,linkType:n.options.createAccount.linkType,path:n.options.createAccount.path,text:n.options.createAccount.text,icon:{iconClass:(p=n.options.createAccount.icon)==null?void 0:p.iconClass,tooltip:(f=n.options.createAccount.icon)==null?void 0:f.tooltip,position:(h=n.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),l.buttonLoginOptions.linkType==="button"?(t.openBlock(),t.createElementBlock("button",{key:1,type:l.buttonLoginOptions.type==="submit"?"submit":"button",class:t.normalizeClass(["button",{primary:l.buttonLoginOptions.primary}]),onClick:o[5]||(o[5]=(..._)=>l.onClick&&l.onClick(..._)),disabled:l.buttonLoginDisabled},[l.buttonLoginOptions.icon.iconClass?(t.openBlock(),t.createBlock(c,{key:0,iconClass:l.buttonLoginOptions.icon.iconClass,type:l.buttonLoginOptions.icon.iconType,title:l.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):t.createCommentVNode("",!0),l.buttonLoginOptions.text?(t.openBlock(),t.createElementBlock("span",mg,t.toDisplayString(l.buttonLoginOptions.text),1)):t.createCommentVNode("",!0)],10,dg)):t.createCommentVNode("",!0)])],512),[[t.vShow,!r.sendLogin]]),t.withDirectives(t.createElementVNode("fieldset",ug,[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legendForgotLoginForm.show,"align-left":n.legendForgotLoginForm.align==="left"})},t.toDisplayString(n.legendForgotLoginForm.text),3),n.cmdHeadlineSendLoginForm?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):t.createCommentVNode("",!0),t.createVNode(s,t.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:o[6]||(o[6]=_=>l.checkValidationStatus(_,"email")),modelValue:r.sendLoginMail,"onUpdate:modelValue":o[7]||(o[7]=_=>r.sendLoginMail=_)},l.cmdFormElementSendLoginOptions),null,16,["modelValue"]),t.renderSlot(e.$slots,"send-login"),t.createElementVNode("div",fg,[n.options.backToLoginForm?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[8]||(o[8]=t.withModifiers((..._)=>l.toggleSendLoginView&&l.toggleSendLoginView(..._),["prevent"]))},[n.options.backToLoginForm&&n.options.backToLoginForm.icon&&n.options.backToLoginForm.icon.show&&n.options.backToLoginForm.icon.iconClass?(t.openBlock(),t.createBlock(c,{key:0,iconClass:n.options.backToLoginForm.icon.iconClass,type:n.options.backToLoginForm.icon.iconType,title:n.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):t.createCommentVNode("",!0),n.options.backToLoginForm.text?(t.openBlock(),t.createElementBlock("span",hg,t.toDisplayString(n.options.backToLoginForm.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),l.buttonSendLoginOptions.linkType==="button"?(t.openBlock(),t.createElementBlock("button",{key:1,type:l.buttonSendLoginOptions.type==="submit"?"submit":"button",class:t.normalizeClass(["button",{primary:l.buttonSendLoginOptions.primary}]),disabled:l.buttonSendLoginDisabled},[(y=l.buttonSendLoginOptions.icon)!=null&&y.iconClass?(t.openBlock(),t.createBlock(c,{key:0,iconClass:(g=l.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(B=l.buttonSendLoginOptions.icon)==null?void 0:B.tooltip},null,8,["iconClass","title"])):t.createCommentVNode("",!0),l.buttonSendLoginOptions.text?(t.openBlock(),t.createElementBlock("span",gg,t.toDisplayString(l.buttonSendLoginOptions.text),1)):t.createCommentVNode("",!0)],10,pg)):t.createCommentVNode("",!0)])],512),[[t.vShow,r.sendLogin]])],64)}const bg=V(lg,[["render",yg]]),kg={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(e){return e==="right"||e==="left"}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-chevron-one-stripe-down"},subSubentriesIconClass:{type:String,default:"icon-chevron-one-stripe-right"}},methods:{closeAllSubentries(e){e||(this.openEntry=-1),this.openSubentry=-1},executeLink(e,o,n,i){var r;if(o.target||o.path.length>1)return this.showOffcanvas=!1,!0;if((r=o==null?void 0:o.subentries)!=null&&r.length){e.preventDefault(),i?this.openSubentry=this.openSubentry===n?-1:n:(this.openEntry=this.openEntry===n?-1:n,this.openSubentry=-1);return}(o.path==="#"||o.path==="")&&(e.preventDefault(),this.$emit("click",o.path)),this.showOffcanvas=!1},getRoute(e){return Me(e)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Cg={key:0,class:"close-nav"},wg=["href","title","target","onClick"],Bg={key:1},xg={key:1},_g=["aria-expanded"],Eg=["href","title","target","onClick"],Sg={key:1},Tg={key:1},Vg=["aria-expanded"],Ng=["href","title","target","onClick"],Og={key:1},Fg={key:1};function Pg(e,o,n,i,r,l){const a=A,s=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!r.showSubNavigations,"open-off-canvas":r.showOffcanvas,"persist-on-mobile":n.persistOnMobile,"show-content-overlay":n.showContentOverlay,"off-canvas-right":n.offcanvasPosition==="right"}])},[t.createElementVNode("nav",null,[t.createElementVNode("ul",{class:t.normalizeClass({"stretch-items":n.stretchMainItems})},[r.showOffcanvas?(t.openBlock(),t.createElementBlock("li",Cg,[t.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:o[0]||(o[0]=t.withModifiers((...c)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...c),["prevent"]))},[n.closeOffcanvas.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:n.closeOffcanvas.iconClass,type:n.closeOffcanvas.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass({hidden:!n.closeOffcanvas.showText})},t.toDisplayString(n.closeOffcanvas.text),3)])])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.navigationEntries,(c,d)=>{var m,u,p;return t.openBlock(),t.createElementBlock("li",{key:d,class:t.normalizeClass({active:c.active,open:r.openEntry===d,"has-subentries":(m=c==null?void 0:c.subentries)==null?void 0:m.length})},[c.type==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:c.path,title:c.tooltip,target:c.target,onClick:f=>l.executeLink(f,c,d),onMouseover:o[1]||(o[1]=f=>l.closeAllSubentries()),onFocus:o[2]||(o[2]=f=>l.closeAllSubentries())},[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",Bg,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0),(u=c==null?void 0:c.subentries)!=null&&u.length?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)],40,wg)):t.createCommentVNode("",!0),c.type==="router"?(t.openBlock(),t.createBlock(s,{key:1,to:l.getRoute(c),title:c.tooltip},{default:t.withCtx(()=>[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",xg,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0),c.subentries&&c.subentries.length>0?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)]),_:2},1032,["to","title"])):t.createCommentVNode("",!0),(p=c==null?void 0:c.subentries)!=null&&p.length?(t.openBlock(),t.createElementBlock("ul",{key:2,"aria-expanded":r.openEntry?"true":"false"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.subentries,(f,h)=>{var y;return t.openBlock(),t.createElementBlock("li",{key:h,class:t.normalizeClass({open:r.openSubentry===h})},[f.type==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:g=>l.executeLink(g,f,h,1),onMouseover:o[3]||(o[3]=g=>l.closeAllSubentries(1)),onFocus:o[4]||(o[4]=g=>l.closeAllSubentries(1))},[f.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),f.text?(t.openBlock(),t.createElementBlock("span",Sg,t.toDisplayString(f.text),1)):t.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)],40,Eg)):t.createCommentVNode("",!0),f.type==="router"?(t.openBlock(),t.createBlock(s,{key:1,to:l.getRoute(f),title:f.tooltip},{default:t.withCtx(()=>[f.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),f.text?(t.openBlock(),t.createElementBlock("span",Tg,t.toDisplayString(f.text),1)):t.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)]),_:2},1032,["to","title"])):t.createCommentVNode("",!0),(y=f.subentries)!=null&&y.length?(t.openBlock(),t.createElementBlock("ul",{key:2,"aria-expanded":r.openSubentry?"true":"false"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.subentries,(g,B)=>(t.openBlock(),t.createElementBlock("li",{key:B},[g.type==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:_=>l.executeLink(_,g)},[g.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),g.text?(t.openBlock(),t.createElementBlock("span",Og,t.toDisplayString(g.text),1)):t.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)],8,Ng)):t.createCommentVNode("",!0),g.type==="router"?(t.openBlock(),t.createBlock(s,{key:1,to:l.getRoute(g),target:g.target},{default:t.withCtx(()=>[g.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),g.text?(t.openBlock(),t.createElementBlock("span",Fg,t.toDisplayString(g.text),1)):t.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):t.createCommentVNode("",!0)]),_:2},1032,["to","target"])):t.createCommentVNode("",!0)]))),128))],8,Vg)):t.createCommentVNode("",!0)],2)}),128))],8,_g)):t.createCommentVNode("",!0)],2)}),128))],2)]),n.persistOnMobile===!1?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:o[5]||(o[5]=t.withModifiers((...c)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...c),["prevent"]))},[t.createVNode(a,{iconClass:n.buttonOffcanvas.iconClass,type:n.buttonOffcanvas.iconType},null,8,["iconClass","type"]),t.createElementVNode("span",{class:t.normalizeClass({hidden:!n.buttonOffcanvas.showText})},t.toDisplayString(n.buttonOffcanvas.text),3)])):t.createCommentVNode("",!0)],2)}const yr=V(kg,[["render",Pg]]),Ig={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-chevron-one-stripe-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(e,o){this.activeLink=o,this.$emit("click",{event:e,index:o,stepPath:this.multisteps[o].path})},getRoute(e){return Me(e)}}},Lg={key:0,class:"number"},Mg={key:2};function Ag(e,o,n,i,r,l){const a=A,s=Le;return t.openBlock(),t.createElementBlock("ol",{class:t.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":n.useGap}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.multisteps,(c,d)=>(t.openBlock(),t.createElementBlock("li",{key:d,class:t.normalizeClass({active:r.activeLink===d})},[t.createVNode(s,{linkType:c.type,path:c.path,title:c.tooltip,onClick:t.withModifiers(m=>l.clickedStep(m,d),["stop","prevent"])},{default:t.withCtx(()=>[n.showStepNumber?(t.openBlock(),t.createElementBlock("span",Lg,t.toDisplayString(d+1),1)):t.createCommentVNode("",!0),c.iconClass?(t.openBlock(),t.createBlock(a,{key:1,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.text?(t.openBlock(),t.createElementBlock("span",Mg,t.toDisplayString(c.text),1)):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(n.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const Dg=V(Ig,[["render",Ag]]),Rg={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(e){return e==="submit"||e==="button"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const e={...this.cmdFormElementSubmit};return e.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",e},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(e){this.$emit("update:modelValue",{subscription:e,email:this.email})}},email:{get(){return this.modelValue.email},set(e){this.$emit("update:modelValue",{subscription:this.subscription,email:e})}}},methods:{sendData(e){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:e})},checkValidationStatus(e){this.buttonDisabled=e!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},jg={class:"cmd-newsletter-subscription flex-container"},qg={class:"button-wrapper"};function zg(e,o,n,i,r,l){const a=gr,s=U;return t.openBlock(),t.createElementBlock("fieldset",jg,[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},t.toDisplayString(n.legend.text),3),t.createVNode(a,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":o[0]||(o[0]=c=>l.subscription=c)},null,8,["labelText","showLabel","inputElements","modelValue"]),t.createVNode(s,{element:"input",type:"email",placeholder:n.cmdFormElementEmail.placeholder,labelText:n.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:n.cmdFormElementEmail.required,useCustomTooltip:n.cmdFormElementEmail.useCustomTooltip,modelValue:l.email,"onUpdate:modelValue":o[1]||(o[1]=c=>l.email=c),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),t.createElementVNode("div",qg,[t.createVNode(s,{element:"button",type:n.buttonType,disabled:r.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const Hg=V(Rg,[["render",zg]]);function br(e,o,n,i=!0){function r(l,a){return a&&l<10?"0"+l:l}return(l,a)=>{if(n){let s=l,c=o;return s>12&&(s-=12,c=n),r(s,i)+e+r(a,!0)+c}return r(l,i)+e+r(a,!0)+o}}const Ug={name:"CmdOpeningHoursItem",mixins:[J],data(){return{editableDay:{}}},props:{day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(e){e==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):br(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return G(this,{update(o){o.day=e.day,o.am||(o.am={}),o.am.fromTime=e.amFrom,o.am.tillTime=e.amTill,o.am.displayText=e.amClosed?e.amDisplayText:"",o.pm||(o.pm={}),o.pm.fromTime=e.pmFrom,o.pm.tillTime=e.pmTill,o.pm.displayText=e.pmClosed?e.pmDisplayText:""}})}},watch:{day:{handler(){const e=br(":","","",!0);this.editableDay={day:this.day.day,amFrom:e(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:e(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:e(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:e(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},Wg={class:"cmd-opening-hours-item"},Gg={key:0,class:"am"},Jg={key:1,class:"pm"},Kg={class:"flex-container no-flex"},Zg={class:"flex-container no-flex am-wrapper"},Xg={key:1,class:"input-wrapper"},Yg=["title"],Qg={class:"flex-container no-flex pm-wrapper"},$g={key:1,class:"input-wrapper"},vg=["title"];function ey(e,o,n,i,r,l){const a=U;return e.editing?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("dt",null,[t.createVNode(a,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:r.editableDay.day,"onUpdate:modelValue":o[0]||(o[0]=s=>r.editableDay.day=s)},null,8,["modelValue"])]),t.createElementVNode("dd",Kg,[t.createElementVNode("div",Zg,[r.editableDay.amClosed?(t.openBlock(),t.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:r.editableDay.amDisplayText,"onUpdate:modelValue":o[1]||(o[1]=s=>r.editableDay.amDisplayText=s)},null,8,["modelValue"])):t.createCommentVNode("",!0),r.editableDay.amClosed?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Xg,[t.createVNode(a,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:r.editableDay.amFrom,"onUpdate:modelValue":o[2]||(o[2]=s=>r.editableDay.amFrom=s)},null,8,["modelValue"]),t.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:r.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:r.editableDay.amTill,"onUpdate:modelValue":o[3]||(o[3]=s=>r.editableDay.amTill=s)},null,8,["min","modelValue"])])),t.createElementVNode("a",{href:"#",onClick:o[4]||(o[4]=t.withModifiers(s=>l.toggleClosedStatus("am"),["prevent"])),title:r.editableDay.amClosed?"Set to open":"Set to closed",class:t.normalizeClass(r.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Yg)]),t.createElementVNode("div",Qg,[r.editableDay.pmClosed?(t.openBlock(),t.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:r.editableDay.pmDisplayText,"onUpdate:modelValue":o[5]||(o[5]=s=>r.editableDay.pmDisplayText=s)},null,8,["modelValue"])):t.createCommentVNode("",!0),r.editableDay.pmClosed?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",$g,[t.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:r.editableDay.pmFrom,"onUpdate:modelValue":o[6]||(o[6]=s=>r.editableDay.pmFrom=s)},null,8,["modelValue"]),t.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:r.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:r.editableDay.pmTill,"onUpdate:modelValue":o[7]||(o[7]=s=>r.editableDay.pmTill=s)},null,8,["min","modelValue"])])),t.createElementVNode("a",{href:"#",onClick:o[8]||(o[8]=t.withModifiers(s=>l.toggleClosedStatus("pm"),["prevent"])),title:r.editableDay.pmClosed?"Set to open":"Set to closed",class:t.normalizeClass(r.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,vg)])])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("dt",Wg,t.toDisplayString(n.day.day),1),t.createElementVNode("dd",null,[n.day.am?(t.openBlock(),t.createElementBlock("span",Gg,[n.day.am.displayText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(n.day.am.displayText),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(l.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+t.toDisplayString(n.separator)+" "+t.toDisplayString(l.getTime(n.day.am.tillTime)),1)],64))])):t.createCommentVNode("",!0),n.day.pm?(t.openBlock(),t.createElementBlock("span",Jg,[n.day.pm.displayText?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(n.day.pm.displayText),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(l.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+t.toDisplayString(n.separator)+" "+t.toDisplayString(l.getTime(n.day.pm.tillTime)),1)],64))])):t.createCommentVNode("",!0)])],64))}const ty=V(Ug,[["render",ey]]);function ny(e,o,n,i=!0){function r(l,a){return a&&l<10?"0"+l:l}return(l,a)=>r(l,i)+e+r(a,!0)+o}const oy={name:"CmdOpeningHours",mixins:[J],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},cmdLink:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const e=[];for(let o=0;o<this.openingHours.length;o++){const n={},i=this.openingHours[o].am.fromTime.split(/[:.]/),r=this.openingHours[o].am.tillTime.split(/[:.]/),l=this.openingHours[o].pm.fromTime.split(/[:.]/),a=this.openingHours[o].pm.tillTime.split(/[:.]/);n.day=this.openingHours[o].day,n.am={...this.openingHours[o].am},n.am.fromTime={hours:parseInt(i[0]),mins:parseInt(i[1])},n.am.tillTime={hours:parseInt(r[0]),mins:parseInt(r[1])},n.pm={...this.openingHours[o].pm},n.pm.fromTime={hours:parseInt(l[0]),mins:parseInt(l[1])},n.pm.tillTime={hours:parseInt(a[0]),mins:parseInt(a[1])},e.push(n)}return e},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(e){this.editableTextOpen=e}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(e){this.editableTextClosed=e}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(e){this.editableTextHolidays=e}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(e){this.editableTextMiscInfo=e}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let e=this.currentTime.getDay();e===0?e=6:e-=1;const o=this.openingHoursFormatted[e];if(this.openingHoursFormatted[e]){const n=new Date;n.setHours(o.am.fromTime.hours,o.am.fromTime.mins);const i=new Date;i.setHours(o.am.tillTime.hours,o.am.tillTime.mins);const r=new Date;r.setHours(o.pm.fromTime.hours,o.pm.fromTime.mins);const l=new Date;if(l.setHours(o.pm.tillTime.hours,o.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=i&&r<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(pe(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):ny(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,o=this.editableTextOpen,n=this.editableTextClosed,i=this.editableTextHolidays,r=this.editableTextMiscInfo;return G(this,{update(l,a){l.openingHours=e,l.textOpen=o,l.textClosed=n,l.textHolidays=i,l.textMiscInfo=r;const s=a==null?void 0:a.find(c=>c.name==="CmdHeadline");s&&(l.cmdHeadline=l.cmdHeadline||{},s.update(l.cmdHeadline))}})}}},iy={class:"cmd-opening-hours"},ry={key:2,class:"flex-container"},ly={key:3},ay=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new entry",-1)],sy={class:"edit-mode-opening-hours-item"},cy={key:5},dy={key:0},my={key:1},uy={key:6,class:"flex-container vertical"};function fy(e,o,n,i,r,l){var u,p;const a=j,s=Le,c=U,d=ty,m=ge;return t.openBlock(),t.createElementBlock("div",iy,[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),e.editing?(t.openBlock(),t.createElementBlock("div",ry,[t.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":o[0]||(o[0]=f=>l.textOpenModel=f)},null,8,["modelValue"]),t.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":o[1]||(o[1]=f=>l.textClosedModel=f)},null,8,["modelValue"])])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(p=n.cmdLink)!=null&&p.path?(t.openBlock(),t.createBlock(s,t.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:l.isClosed}}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.textOpenClosed),1)]),_:1},16,["linkType","class"])):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass({closed:l.isClosed})},t.toDisplayString(l.textOpenClosed),3))],64)),e.editModeContext?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[l.openingHoursFormatted.length===0?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:o[2]||(o[2]=(...f)=>l.onAddItem&&l.onAddItem(...f))},ay)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.openingHoursFormatted,(f,h)=>(t.openBlock(),t.createBlock(m,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:l.itemProvider},{default:t.withCtx(()=>[t.createElementVNode("dl",sy,[t.createVNode(d,{day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(t.openBlock(),t.createElementBlock("dl",ly,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.openingHoursFormatted,(f,h)=>(t.openBlock(),t.createBlock(d,{key:h,day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm"]))),128))])),!e.editing&&(n.textHolidays||n.textMiscInfo)?(t.openBlock(),t.createElementBlock("div",cy,[n.textHolidays?(t.openBlock(),t.createElementBlock("p",dy,[t.createElementVNode("strong",null,t.toDisplayString(n.textHolidays),1)])):t.createCommentVNode("",!0),n.textMiscInfo?(t.openBlock(),t.createElementBlock("p",my,t.toDisplayString(n.textMiscInfo),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.editing?(t.openBlock(),t.createElementBlock("div",uy,[t.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":o[3]||(o[3]=f=>l.textHolidaysModel=f)},null,8,["modelValue"]),t.createVNode(c,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":o[4]||(o[4]=f=>l.textMiscInfoModel=f)},null,8,["modelValue"])])):t.createCommentVNode("",!0)])}const hy=V(oy,[["render",fy]]),py={name:"CmdPagination",mixins:[Y,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(e){return e==="href"||e==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(e){return this.linkType!=="href"||this.currentPage===e?null:"#"},showPage(e){this.currentPage=e,this.$emit("click",e)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},gy={class:"cmd-pagination"},yy=["href","title"],by={key:0},ky={class:"page-index"},Cy={class:"flex-container"},wy=["href","title","onClick"],By=["href","title"],xy={key:0};function _y(e,o,n,i,r,l){const a=A;return t.openBlock(),t.createElementBlock("div",gy,[t.createElementVNode("a",{href:l.getPreviousHref,class:t.normalizeClass(["page-change",{disabled:r.currentPage===1,button:n.linkType==="button"}]),onClick:o[0]||(o[0]=t.withModifiers((...s)=>l.previousPage&&l.previousPage(...s),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[t.createVNode(a,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(t.openBlock(),t.createElementBlock("span",by,t.toDisplayString(n.prevLink.text),1)):t.createCommentVNode("",!0)],10,yy),t.createElementVNode("div",ky,[t.createElementVNode("div",Cy,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.pages,(s,c)=>(t.openBlock(),t.createElementBlock("a",{href:l.getHref(s),class:t.normalizeClass({disabled:r.currentPage===c+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:r.currentPage!==c+1?e.getMessage("cmdpager.tooltip.go_to_page",c+1):e.getMessage("cmdpager.tooltip.not_possible"),key:c,onClick:t.withModifiers(d=>l.showPage(s),["stop","prevent"]),"aria-live":"polite"},[t.createElementVNode("span",null,t.toDisplayString(c+1),1)],10,wy))),128))])]),t.createElementVNode("a",{href:l.getNextHref,class:t.normalizeClass(["page-change",{disabled:r.currentPage===l.numberOfPages,button:n.linkType==="button"}]),onClick:o[1]||(o[1]=t.withModifiers((...s)=>l.nextPage&&l.nextPage(...s),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(t.openBlock(),t.createElementBlock("span",xy,t.toDisplayString(n.nextLink.text),1)):t.createCommentVNode("",!0),t.createVNode(a,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,By)])}const Ey=V(py,[["render",_y]]),Sy={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[J],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},buttonTextAlign:{type:String,default:"left",validator(e){return e==="left"||e==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},methods:{getUrl(e){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?e.path+encodeURIComponent(this.page):e.path+encodeURIComponent(location.href):e.path:"#"},preventOnDisabled(e){let o=e.target;o.tagName!=="A"&&(o=o.closest("a")),o.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},addHandlerProvider(){const e={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return G(this,{item(){return e}})},updateHandlerProvider(){const e=Pe(),o=this.editablePath,n=this.editableTooltip,i=this.editableLinktext;return G(this,{update(r){r.id=e,r.path=o,r.tooltip=n,r.linkText=i}})}}},Ty={class:"cmd-social-networks-item"},Vy=["id","href","title"],Ny={key:1};function Oy(e,o,n,i,r,l){const a=A;return t.openBlock(),t.createElementBlock("li",Ty,[(t.openBlock(),t.createElementBlock("a",{key:n.network.path,class:t.normalizeClass(["button",{disabled:n.userMustAcceptDataPrivacy&&!n.dataPrivacyAccepted},"text-align-"+n.buttonTextAlign]),id:n.network.id,href:l.getUrl(n.network),onClick:o[0]||(o[0]=(...s)=>l.preventOnDisabled&&l.preventOnDisabled(...s)),target:"_blank",title:l.tooltip(n.network.tooltip)},[n.network.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:n.network.iconClass,type:n.network.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),n.network.linkText?(t.openBlock(),t.createElementBlock("span",Ny,t.toDisplayString(n.network.linkText),1)):t.createCommentVNode("",!0)],10,Vy))])}const Fy=V(Sy,[["render",Oy]]),Py={name:"CmdSocialNetworks",mixins:[J],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},buttonTextAlign:{type:String,default:"right",validator(e){return e==="left"||e==="right"}},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(e=>e.path)},alignment(){return"align-"+this.align}},methods:{onAddItem(){this.editModeContext.content.addContent(pe(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},preventOnDisabled(e){let o=e.target;o.tagName!=="A"&&(o=o.closest("a")),o.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},onPersist(e){return{editModeContextData:{...this.editModeContextData||{}},update(o){o.cmdHeadline={...o.cmdHeadline||{}},Array.isArray(e)&&e.length>0&&(o.cmdHeadline.headlineText=e[0].headlineText)}}}}},Iy=[t.createElementVNode("span",{class:"icon-plus"},null,-1)];function Ly(e,o,n,i,r,l){var m,u;const a=j,s=U,c=Fy,d=ge;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},l.alignment])},[(m=n.cmdHeadline)!=null&&m.headlineText||(u=e.editModeContext)!=null&&u.editing?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline||{})),null,16)):t.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(t.openBlock(),t.createBlock(s,t.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:r.dataPrivacyAccepted,"onUpdate:modelValue":o[0]||(o[0]=p=>r.dataPrivacyAccepted=p)}),null,16,["modelValue"])):t.createCommentVNode("",!0),l.validNetworks.length>0?(t.openBlock(),t.createElementBlock("ul",{key:2,class:t.normalizeClass(["button-wrapper",{"no-gap":!n.useGap}])},[e.editModeContext?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(l.validNetworks,(p,f)=>(t.openBlock(),t.createBlock(d,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",f],showComponentName:!1},{default:t.withCtx(()=>[t.createVNode(c,{network:p,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:r.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.validNetworks,(p,f)=>(t.openBlock(),t.createBlock(c,{key:f,network:p,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:r.dataPrivacyAccepted,page:n.page,appendPage:n.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),t.renderSlot(e.$slots,"default")],64))],2)):(t.openBlock(),t.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:o[1]||(o[1]=(...p)=>l.onAddItem&&l.onAddItem(...p))},Iy))],2)}const kr=V(Py,[["render",Ly]]),My={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var o;const e={show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"};return{...e,...this.buttonPrintView,icon:{...e.icon,...(o=this.buttonPrintView)==null?void 0:o.icon}}}},methods:{showFancyBox(){let e=[];typeof this.cmdFancyBox.elements=="function"?e=this.cmdFancyBox.elements():e=[document.querySelector("main")],xe({elements:e,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey})}}},Ay={class:"button-wrapper"},Dy=["title"],Ry={key:1};function jy(e,o,n,i,r,l){var s,c,d,m;const a=kr;return t.openBlock(),t.createElementBlock("footer",{class:t.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdSocialNetworks)),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"cmd-social-networks")]),_:3},16)):t.createCommentVNode("",!0),t.createElementVNode("div",Ay,[t.renderSlot(e.$slots,"default"),(s=l.buttonPrintViewOptions)!=null&&s.show?(t.openBlock(),t.createElementBlock("button",{key:0,class:t.normalizeClass(["button",{primary:l.buttonPrintViewOptions.primary}]),title:l.buttonPrintViewOptions.text?(c=l.buttonPrintViewOptions.icon)==null?void 0:c.tooltip:null,onClick:o[0]||(o[0]=(...u)=>l.showFancyBox&&l.showFancyBox(...u))},[(d=l.buttonPrintViewOptions.icon)!=null&&d.show?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass((m=l.buttonPrintViewOptions.icon)==null?void 0:m.iconClass)},null,2)):t.createCommentVNode("",!0),l.buttonPrintViewOptions.text?(t.openBlock(),t.createElementBlock("span",Ry,t.toDisplayString(l.buttonPrintViewOptions.text),1)):t.createCommentVNode("",!0)],10,Dy)):t.createCommentVNode("",!0)])],2)}const qy=V(My,[["render",jy]]),zy={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},Hy={key:0,class:"cmd-page-header flex-container"},Uy={key:0,class:"headline-wrapper flex-container vertical"};function Wy(e,o,n,i,r,l){const a=cr,s=j;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(t.openBlock(),t.createElementBlock("header",Hy,[n.cmdBreadcrumbs||n.cmdHeadline?(t.openBlock(),t.createElementBlock("div",Uy,[n.cmdBreadcrumbs?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):t.createCommentVNode("",!0),n.cmdHeadline.headlineText?(t.openBlock(),t.createBlock(s,t.normalizeProps(t.mergeProps({key:1},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.$slots.default?t.renderSlot(e.$slots,"default",{key:1}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)}const Gy=V(zy,[["render",Wy]]),Jy={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}}},Ky=["for"],Zy={class:"progressbar"},Xy={key:0},Yy=["id","value"];function Qy(e,o,n,i,r,l){return t.openBlock(),t.createElementBlock("label",{class:"cmd-progressbar",for:n.id},[t.createElementVNode("span",{class:t.normalizeClass(["label-text",{hidden:!n.showLabel}])},t.toDisplayString(n.labelText),3),t.createElementVNode("span",Zy,[n.showLoadingStatus?(t.openBlock(),t.createElementBlock("span",Xy,t.toDisplayString(r.loadingStatus)+" %",1)):t.createCommentVNode("",!0),t.createElementVNode("progress",t.mergeProps(e.$attrs,{id:n.id,value:r.loadingStatus}),null,16,Yy)])],8,Ky)}const $y=V(Jy,[["render",Qy]]),vy={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-chevron-one-stripe-left":"icon-chevron-one-stripe-right":this.open?"icon-chevron-one-stripe-right":"icon-chevron-one-stripe-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},eb={class:"inner-sidebar-wrapper"},tb={key:1,class:"open-slot-wrapper"},nb={key:2,class:"closed-slot-wrapper"},ob=["title"];function ib(e,o,n,i,r,l){var s;const a=j;return t.openBlock(),t.createElementBlock("aside",{class:t.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[t.createElementVNode("div",eb,[(s=n.cmdHeadline)!=null&&s.headlineText&&r.open?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0},n.cmdHeadline,{headlineLevel:n.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):t.createCommentVNode("",!0),r.open?(t.openBlock(),t.createElementBlock("div",tb,[t.renderSlot(e.$slots,"open",{openBoxStatus:r.open})])):(t.openBlock(),t.createElementBlock("div",nb,[t.renderSlot(e.$slots,"closed",{openBoxStatus:r.open})]))]),n.collapsible?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",title:r.open?"Collapse sidebar":"Expand sidebar",onClick:o[0]||(o[0]=t.withModifiers((...c)=>l.toggleSidebar&&l.toggleSidebar(...c),["prevent"]))},[t.createElementVNode("span",{class:t.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,ob)):t.createCommentVNode("",!0)],2)}const rb=V(vy,[["render",ib]]),lb={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},ab={class:"cmd-site-footer site-footer"};function sb(e,o,n,i,r,l){return t.openBlock(),t.createElementBlock("div",ab,[t.createElementVNode("footer",{class:t.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[t.renderSlot(e.$slots,"default")],2)])}const cb=V(lb,[["render",sb]]),db={name:"CmdSiteHeader",emits:["offcanvas"],data(){return{defaultLogoHeight:""}},props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},resizeHeaderOnScroll:{type:Boolean,default:!0},scrollContainerToResizeHeader:{type:String,default:".page-wrapper"},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},mounted(){if(this.resizeHeaderOnScroll){const e=document.querySelector(this.scrollContainerToResizeHeader);e.addEventListener("scroll",function(){const o=document.querySelector(".cmd-site-header > header");e.scrollTop>0?o.classList.add("resize-on-scroll"):o.classList.remove("resize-on-scroll")})}},methods:{onImageLoaded(e){this.defaultLogoHeight=e.target.height/10+"rem"},emitOffcanvasStatus(e){this.$emit("offcanvas",e)}},watch:{defaultLogoHeight(){const e=this.$refs["site-header"].querySelector(".cmd-company-logo img");e.style.height=this.defaultLogoHeight}}},mb={key:0,class:"top-header"};function ub(e,o,n,i,r,l){var c,d,m,u,p,f,h,y,g;const a=dr,s=yr;return t.openBlock(),t.createElementBlock("div",{ref:"site-header",class:t.normalizeClass(["cmd-site-header site-header",{sticky:n.sticky,"navigation-inline":n.navigationInline,"off-canvas-right":((c=n.cmdMainNavigation)==null?void 0:c.offcanvasPosition)==="right"}]),role:"banner"},[e.$slots.topheader?(t.openBlock(),t.createElementBlock("div",mb,[t.renderSlot(e.$slots,"topheader")])):t.createCommentVNode("",!0),t.createElementVNode("header",{class:t.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(d=n.cmdMainNavigation)==null?void 0:d.navigationEntries)==null?void 0:m.length)&&n.navigationInline||e.$slots.navigation}])},[e.$slots.logo||e.$slots.header||e.$slots.navigation?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.renderSlot(e.$slots,"logo"),t.renderSlot(e.$slots,"header"),t.renderSlot(e.$slots,"navigation")],64)):t.createCommentVNode("",!0),n.cmdCompanyLogo||(p=(u=n.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.cmdCompanyLogo?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:l.onImageLoaded}),null,16,["onImageLoaded"])):t.createCommentVNode("",!0),(h=(f=n.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&h.length&&n.navigationInline?(t.openBlock(),t.createBlock(s,t.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2),(g=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&g.length&&!n.navigationInline?(t.openBlock(),t.createBlock(s,t.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):t.createCommentVNode("",!0)],2)}const fb=V(db,[["render",ub]]),hb={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[Y,{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"}}}}],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},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},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,required:!1},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-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){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}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(e){this.$emit("update:modelValueInput1",e)}},searchValue2:{get(){return this.modelValueInput2},set(e){this.$emit("update:modelValueInput2",e)}},radius:{get(){return this.modelValueRadius},set(e){this.$emit("update:modelValueRadius",e)}},searchFilters:{get(){return this.modelValueSearchFilters},set(e){this.$emit("update:modelValueSearchFilters",e)}},buttonSearchDisabled(){const e=!this.cmdFormElementInput1.required||this.searchValue1.trim(),o=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),n=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(e&&o&&n)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(e){for(let o=0;o<this.cmdFakeSelect.selectData.length;o++)if(e===this.cmdFakeSelect.selectData[o].value)return this.cmdFakeSelect.selectData[o].text;return null}},watch:{cmdFormElementRadius:{handler(){var e,o;(e=this.cmdFormElementRadiusOptions)!=null&&e.selectOptions&&((o=this.cmdFormElementRadiusOptions)!=null&&o.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},pb={class:"cmd-box-site-search flex-container"},gb={class:"flex-container align-bottom"},yb={class:"input-wrapper align-bottom"},bb={key:0},kb={key:1},Cb={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function wb(e,o,n,i,r,l){var u,p,f,h,y,g,B,_;const a=j,s=U,c=A,d=mr,m=ur;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("fieldset",pb,[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},t.toDisplayString(n.legend.text),3),n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),t.createElementVNode("div",gb,[t.createVNode(s,{element:"input",type:n.cmdFormElementInput1.type,"show-label":n.cmdFormElementInput1.showLabel,labelText:n.cmdFormElementInput1.labelText,placeholder:n.cmdFormElementInput1.placeholder,required:n.cmdFormElementInput1.required,showSearchButton:n.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":o[0]||(o[0]=x=>l.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),t.createElementVNode("div",yb,[n.cmdFormElementInput2.show?(t.openBlock(),t.createBlock(s,{key:0,element:"input",type:n.cmdFormElementInput2.type,"show-label":n.cmdFormElementInput2.showLabel,labelText:n.cmdFormElementInput2.labelText,placeholder:n.cmdFormElementInput2.placeholder,required:n.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":o[1]||(o[1]=x=>l.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):t.createCommentVNode("",!0),l.cmdFormElementRadiusOptions.show?(t.openBlock(),t.createBlock(s,t.mergeProps({key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":o[2]||(o[2]=x=>l.radius=x)},l.cmdFormElementRadiusOptions),null,16,["modelValue"])):t.createCommentVNode("",!0)]),t.createVNode(s,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("a",{class:"filter-options",href:"#",onClick:o[3]||(o[3]=t.withModifiers(x=>r.showFilters=!r.showFilters,["prevent"]))},[t.createVNode(c,{iconClass:r.showFilters?(p=(u=n.cmdIcon)==null?void 0:u.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:r.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(_=(B=n.cmdIcon)==null?void 0:B.hideFilters)==null?void 0:_.iconType},null,8,["iconClass","type"]),r.showFilters?(t.openBlock(),t.createElementBlock("span",bb,t.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(t.openBlock(),t.createElementBlock("span",kb,t.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>{var x,T,O,w,E;return[r.showFilters&&((x=n.cmdFakeSelect)!=null&&x.selectData.length)?(t.openBlock(),t.createElementBlock("div",Cb,[t.createVNode(d,{role:"option",selectData:(T=n.cmdFakeSelect)==null?void 0:T.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":o[4]||(o[4]=L=>l.searchFilters=L),defaultOptionName:(O=n.cmdFakeSelect)==null?void 0:O.defaultOptionName,type:(w=n.cmdFakeSelect)==null?void 0:w.type,labelText:(E=n.cmdFakeSelect)==null?void 0:E.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):t.createCommentVNode("",!0)]}),_:1})],64)):t.createCommentVNode("",!0)]),n.useFilters?(t.openBlock(),t.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":o[5]||(o[5]=x=>l.searchFilters=x),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):t.createCommentVNode("",!0)],64)}const Bb=V(hb,[["render",wb]]),xb={name:"CmdSlideshow",mixins:[J],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},showSlideButtons:{type:Boolean,default:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(pe(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1)},showItem(e){!this.slideshowItemEditing&&e>=0&&e<this.slideshowItems.length&&(this.index=e)},showNextItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0)},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var e;(e=this.$refs.slideshowItemComponentWrapper)==null||e.addEditStateListener(o=>this.slideshowItemEditing=o)})}}},_b=["href","title"],Eb=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new slideshow-image",-1)],Sb={key:2},Tb=["onClick","aria-label","title"],Vb={key:3,class:"item-counter"};function Nb(e,o,n,i,r,l){const a=Je,s=ue;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-slideshow",{"full-width":r.fullWidth}])},[t.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:o[1]||(o[1]=c=>r.pause=!0),onMouseleave:o[2]||(o[2]=c=>r.pause=!1)},[n.showSlideButtons?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0,onClick:t.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:r.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):t.createCommentVNode("",!0),t.createVNode(t.TransitionGroup,{name:"fade"},{default:t.withCtx(()=>{var c,d,m,u,p,f,h,y,g,B,_,x;return[l.currentItem?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.useSlot?(t.openBlock(),t.createElementBlock("div",{class:"slot-wrapper",key:r.index,style:t.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[t.renderSlot(e.$slots,"item"+r.currentSlotItem)],4)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.editModeContext?n.slideshowItems.length?(t.openBlock(),t.createBlock(s,{key:1,image:(_=l.currentItem)==null?void 0:_.image,figcaption:(x=l.currentItem)==null?void 0:x.figcaption,componentPath:["props","slideshowItems",r.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(d=(c=l.currentItem)==null?void 0:c.link)!=null&&d.href?(t.openBlock(),t.createElementBlock("a",{key:0,href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(f=(p=l.currentItem)==null?void 0:p.link)==null?void 0:f.tooltip},[t.createVNode(s,{image:(h=l.currentItem)==null?void 0:h.image,figcaption:(y=l.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,_b)):(t.openBlock(),t.createBlock(s,{key:1,image:(g=l.currentItem)==null?void 0:g.image,figcaption:(B=l.currentItem)==null?void 0:B.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:o[0]||(o[0]=(...T)=>l.onAddItem&&l.onAddItem(...T))},Eb)):t.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(t.openBlock(),t.createBlock(a,t.mergeProps({key:1,onClick:t.withModifiers(l.showNextItem,["prevent"]),class:{disabled:r.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):t.createCommentVNode("",!0),n.showQuickLinkIcons?(t.openBlock(),t.createElementBlock("ol",Sb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.slideshowItems,(c,d)=>(t.openBlock(),t.createElementBlock("li",{key:d,class:t.normalizeClass({active:d===r.index})},[t.createElementVNode("a",{href:"#",class:t.normalizeClass({disabled:r.slideshowItemEditing}),onClick:t.withModifiers(m=>l.showItem(d),["prevent"]),"aria-label":r.index,title:r.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(d+1)},null,10,Tb)],2))),128))])):t.createCommentVNode("",!0),n.showCounter?(t.openBlock(),t.createElementBlock("span",Vb,t.toDisplayString(r.index+1)+"/"+t.toDisplayString(n.slideshowItems.length),1)):t.createCommentVNode("",!0)],32)],2)}const Ob=V(xb,[["render",Nb]]),Fb=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%3e%3cg%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%3e%3cg%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),Pb={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return Me(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const o=e.iso2;this.imageSources.push(Fb[o].default)})},immediate:!0,deep:!0}}},Ib={class:"cmd-switch-language"},Lb=["href","title","onClick"],Mb=["src","alt"],Ab=["src","alt"];function Db(e,o,n,i,r,l){const a=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",Ib,[t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.languages,(s,c)=>(t.openBlock(),t.createElementBlock("li",{key:c},[s.link.type==="href"?(t.openBlock(),t.createElementBlock("a",{key:0,href:s.link.path,class:t.normalizeClass(["flag",s.iso2,{active:l.activeLanguage(s)}]),title:s.tooltip,onClick:d=>e.$emit("click",{originalEvent:d,language:s})},[t.createElementVNode("img",{src:r.imageSources[c],alt:s.name},null,8,Mb)],10,Lb)):(t.openBlock(),t.createBlock(a,{key:1,class:t.normalizeClass(["flag",s.iso2]),to:l.getRoute(s),title:s.tooltip,onClick:d=>e.$emit("click",{originalEvent:d,language:s})},{default:t.withCtx(()=>[t.createElementVNode("img",{src:r.imageSources[c],alt:s.name},null,8,Ab)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const Rb=V(Pb,[["render",Db]]),jb={name:"CmdSystemMessage",mixins:[Ge],data(){return{showSystemMessage:!0}},props:{useTransition:{type:Boolean,default:!0},validationStatus:{type:String,required:!0,validator(e){return e==="error"||e==="warning"||e==="success"||e==="info"}},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},qb=["role","aria-labelledby"],zb=["title"];function Hb(e,o,n,i,r,l){const a=A,s=j;return t.openBlock(),t.createBlock(t.Transition,{name:n.useTransition?"fade":null},{default:t.withCtx(()=>[r.showSystemMessage?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":n.fullWidth},n.validationStatus]),role:n.validationStatus==="error"?"alert":"dialog","aria-labelledby":e.htmlId},[n.iconClose.show&&n.iconClose.iconClass?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[0]||(o[0]=t.withModifiers(c=>r.showSystemMessage=!1,["prevent"])),title:n.iconClose.tooltip},[t.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,zb)):t.createCommentVNode("",!0),t.createVNode(s,{class:"message-headline",cmdIcon:l.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"]),t.renderSlot(e.$slots,"default")],10,qb)):t.createCommentVNode("",!0)]),_:3},8,["name"])}const Cr=V(jb,[["render",Hb]]),Ub={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},props:{useTransition:{type:Boolean,default:!0},tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},showSlideButtons:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-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-chevron-one-stripe-right",tooltip:"Stretch table"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},computed:{hasCaption(){var e,o;return this.hideCaption?!1:((e=this.tableData.caption)==null?void 0:e.text)||((o=this.caption)==null?void 0:o.text)},hideCaption(){var e,o,n;return((e=this.caption)==null?void 0:e.show)===!1||((o=this.caption)==null?void 0:o.show)!==!0&&!((n=this.tableData.caption)!=null&&n.show)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const e=this.$refs.table.previousElementSibling,o=this.$refs.table.nextElementSibling,n=this.$refs.innerWrapper,i=n.getBoundingClientRect(),r=i.width+n.scrollLeft-o.getBoundingClientRect().width,l=n.scrollLeft;console.log("parentRect",i),e.style.left=`${l}px`,o.style.left=`${r}px`,l===0?e.style.display="none":e.style.display="flex",l===n.scrollLeftMax?o.style.display="none":o.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},Wb={key:0,class:"button-wrapper"},Gb=["title"],Jb=["title"],Kb={"aria-expanded":"true"},Zb={key:0,"aria-expanded":"true"};function Xb(e,o,n,i,r,l){var c,d,m,u;const a=A,s=Je;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-table-wrapper",{collapsed:!r.showTableData,"full-width":r.fullWidth,"has-caption":l.hasCaption,"has-overflow":r.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(t.openBlock(),t.createElementBlock("div",Wb,[n.userCanToggleWidth?(t.openBlock(),t.createElementBlock("a",{key:0,class:"button",href:"#",onClick:o[0]||(o[0]=t.withModifiers(p=>r.fullWidth=!r.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[t.createVNode(a,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,Gb)):t.createCommentVNode("",!0),n.collapsible?(t.openBlock(),t.createElementBlock("a",{key:1,class:"button",href:"#",onClick:o[1]||(o[1]=t.withModifiers(p=>r.showTableData=!r.showTableData,["prevent"])),title:r.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[t.createVNode(a,{iconClass:r.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:r.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,Jb)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:o[2]||(o[2]=(...p)=>l.updatePosition&&l.updatePosition(...p))},[n.showSlideButtons?(t.openBlock(),t.createBlock(s,{key:0,onClick:t.withModifiers(l.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):t.createCommentVNode("",!0),t.createElementVNode("table",{ref:"table",class:t.normalizeClass({"full-width":r.fullWidth})},[(c=n.tableData.caption)!=null&&c.text||(d=n.caption)!=null&&d.text?(t.openBlock(),t.createElementBlock("caption",{key:0,class:t.normalizeClass({hidden:l.hideCaption})},t.toDisplayString(((m=n.caption)==null?void 0:m.text)||((u=n.tableData.caption)==null?void 0:u.text)),3)):t.createCommentVNode("",!0),t.createElementVNode("thead",null,[t.createElementVNode("tr",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.tableData.thead,(p,f)=>(t.openBlock(),t.createElementBlock("th",{key:f},t.toDisplayString(p),1))),128))])]),t.createVNode(t.Transition,{name:n.useTransition?"fade":null},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("tbody",Kb,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.tableData.tbody,(p,f)=>(t.openBlock(),t.createElementBlock("tr",{class:t.normalizeClass({active:n.tableData.rowIndexHighlighted===f}),key:f},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p,(h,y)=>(t.openBlock(),t.createElementBlock("td",{class:t.normalizeClass({active:n.tableData.columnIndexHighlighted===y}),key:y},t.toDisplayString(h),3))),128))],2))),128))],512),[[t.vShow,r.showTableData]])]),_:1},8,["name"]),t.createVNode(t.Transition,{name:n.useTransition?"fade":null},{default:t.withCtx(()=>[n.tableData.tfoot&&n.tableData.tfoot.length&&r.showTableData?(t.openBlock(),t.createElementBlock("tfoot",Zb,[t.createElementVNode("tr",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.tableData.tfoot,(p,f)=>(t.openBlock(),t.createElementBlock("td",{class:t.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},t.toDisplayString(p),3))),128))])])):t.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(t.openBlock(),t.createBlock(s,{key:1,onClick:t.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):t.createCommentVNode("",!0)],544)],2)}const Yb=V(Ub,[["render",Xb]]);Ti({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
2
2
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
3
3
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
4
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const Bg={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{useDefaultPadding:{type:Boolean,default:!0},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0},cmdHeadline:{type:Object,required:!1}},methods:{setActiveTab(t){this.showTab=t,this.$emit("active-tab",t)}},watch:{activeTab(){this.showTab=this.activeTab}}},wg={class:"cmd-tabs"},xg=["onClick","title"],_g={key:1},Sg={key:1,"aria-live":"assertive"},Eg=["innerHTML"];function Tg(t,n,o,r,i,l){const a=M,s=D;return e.openBlock(),e.createElementBlock("div",wg,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(c,d)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass({active:i.showTab===d}),key:d,role:"tab"},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.setActiveTab(d),["prevent"]),title:c.name?void 0:c.tooltip},[c.iconClass?(e.openBlock(),e.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),c.name?(e.openBlock(),e.createElementBlock("span",_g,e.toDisplayString(c.name),1)):e.createCommentVNode("",!0)],8,xg)],2))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,c=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:c,"aria-live":"assertive",class:e.normalizeClass({"no-padding":!o.useDefaultPadding})},[e.renderSlot(t.$slots,"tab-content-"+(c-1))],2)),[[e.vShow,i.showTab===c-1]])),128)):(e.openBlock(),e.createElementBlock("div",Sg,[o.cmdHeadline?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[i.showTab].headlineText,headlineLevel:o.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[i.showTab].htmlContent,class:e.normalizeClass({"no-padding":!o.useDefaultPadding})},null,10,Eg)]))])}const Vg=S(Bg,[["render",Tg]]),Ng={name:"CmdTextImageBlock",mixins:[U],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(t){return t==="vertical"||t==="horizontal"}},htmlContent:{type:String,required:!0},paragraphTextAlign:{type:String,default:"left",validator(t){return t==="left"||t==="center"||t==="right"}},headlinePosition:{type:String,default:"aboveImage",validator(t){return t==="aboveImage"||t==="belowImage"}},cmdHeadline:{type:Object,required:!1},cmdImage:{type:Object,required:!1},editModeContextData:{type:Object}},computed:{paragraphComponentPath(){return[{componentPath:["props","htmlContent"],$isComponent:!1}]},textAlign(){return this.paragraphTextAlign?"text-align-"+this.paragraphTextAlign:""},setInnerClass(){return"inner-text-wrapper "+this.textAlign+" "+(this.innerClass||"")}},methods:{onAddItem(){this.$refs.editComponentWrapper.editComponent()},addHandlerProvider(){return""},updateHandlerProvider(){const t=this.editableHtmlContent;return this.editableHtmlContent=null,j(this,{update(n){n.htmlContent=t}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},Og=["innerHTML"],Fg=["innerHTML"],Ig=[e.createElementVNode("span",{class:"icon-plus"},null,-1),e.createElementVNode("span",null,"Add new paragraph",-1)];function Mg(t,n,o,r,i,l){var d,m,f,p;const a=D,s=ie,c=ce;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-text-image-block flex-container",o.orientation])},[((d=o.cmdHeadline)!=null&&d.headlineText||t.editModeContext)&&o.headlinePosition==="aboveImage"&&o.orientation==="vertical"?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.cmdImage?(e.openBlock(),e.createBlock(s,{key:1,image:(m=o.cmdImage)==null?void 0:m.image,figcaption:(f=o.cmdImage)==null?void 0:f.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex-container vertical",l.setInnerClass])},[((p=o.cmdHeadline)!=null&&p.headlineText||t.editModeContext)&&(o.headlinePosition==="belowImage"||o.orientation==="horizontal")?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.htmlContent},null,8,Og)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2),t.editModeContext?(e.openBlock(),e.createBlock(c,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:o.htmlContent,textAlign:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!o.htmlContent},{default:e.withCtx(u=>[u.editing?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:0,class:e.normalizeClass(["edit-mode",l.textAlign]),"onUpdate:modelValue":n[0]||(n[0]=h=>i.editableHtmlContent=h),placeholder:"Paragraph"},null,2)),[[e.vModelText,i.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.htmlContent,class:e.normalizeClass(l.textAlign)},null,10,Fg)):(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:n[1]||(n[1]=(...h)=>l.onAddItem&&l.onAddItem(...h))},Ig))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):e.createCommentVNode("",!0)],2)}const Pg=S(Ng,[["render",Mg]]),Lg={name:"ToggleDarkMode",mixins:[U],data(){return{darkMode:!1,editableLabelTextLightMode:null,editableLabelTextDarkMode:null}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{type:Object,default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{type:Object,default(){return{iconClass:"icon-sun",iconType:"auto"}}},showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="dark-mode")}),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(t){this.darkMode=t.matches,this.darkMode&&document.documentElement.classList.add("dark-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()},updateHandlerProvider(){const t=this.labelTextLightModeModel,n=this.labelTextDarkModeModel;return j(this,{update(o){o.labelTextLightMode=t,o.labelTextDarkMode=n}})}},computed:{labelTextLightModeModel:{get(){return this.editableLabelTextLightMode==null?this.labelTextLightMode:this.editableLabelTextLightMode},set(t){this.editableLabelTextLightMode=t}},labelTextDarkModeModel:{get(){return this.editableLabelTextDarkMode==null?this.labelTextDarkMode:this.editableLabelTextDarkMode},set(t){this.editableLabelTextDarkMode=t}},labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},Dg={key:0};function Ag(t,n,o,r,i,l){const a=M,s=z;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":i.darkMode}])},[t.editing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(s,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":n[2]||(n[2]=c=>l.labelTextLightModeModel=c)},null,8,["modelValue"]),e.createVNode(s,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":n[3]||(n[3]=c=>l.labelTextDarkModeModel=c)},null,8,["modelValue"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...c)=>l.toggleColorScheme&&l.toggleColorScheme(...c),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",Dg,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(a,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(s,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:o.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=c=>i.darkMode=c),l.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const Rg=S(Lg,[["render",Ag]]),qg={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 nl(t,n){return function(){return t.apply(n,arguments)}}const{toString:zg}=Object.prototype,{getPrototypeOf:ro}=Object,rt=(t=>n=>{const o=zg.call(n);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Q=t=>(t=t.toLowerCase(),n=>rt(n)===t),at=t=>n=>typeof n===t,{isArray:Se}=Array,Pe=at("undefined");function Hg(t){return t!==null&&!Pe(t)&&t.constructor!==null&&!Pe(t.constructor)&&K(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ll=Q("ArrayBuffer");function jg(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&ll(t.buffer),n}const Ug=at("string"),K=at("function"),il=at("number"),st=t=>t!==null&&typeof t=="object",Wg=t=>t===!0||t===!1,ct=t=>{if(rt(t)!=="object")return!1;const n=ro(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Gg=Q("Date"),Jg=Q("File"),Kg=Q("Blob"),Zg=Q("FileList"),Xg=t=>st(t)&&K(t.pipe),Yg=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||K(t.append)&&((n=rt(t))==="formdata"||n==="object"&&K(t.toString)&&t.toString()==="[object FormData]"))},Qg=Q("URLSearchParams"),[$g,vg,ey,ty]=["ReadableStream","Request","Response","Headers"].map(Q),oy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Le(t,n,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Se(t))for(r=0,i=t.length;r<i;r++)n.call(null,t[r],r,t);else{const l=o?Object.getOwnPropertyNames(t):Object.keys(t),a=l.length;let s;for(r=0;r<a;r++)s=l[r],n.call(null,t[s],s,t)}}function rl(t,n){n=n.toLowerCase();const o=Object.keys(t);let r=o.length,i;for(;r-- >0;)if(i=o[r],n===i.toLowerCase())return i;return null}const al=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sl=t=>!Pe(t)&&t!==al;function ao(){const{caseless:t}=sl(this)&&this||{},n={},o=(r,i)=>{const l=t&&rl(n,i)||i;ct(n[l])&&ct(r)?n[l]=ao(n[l],r):ct(r)?n[l]=ao({},r):Se(r)?n[l]=r.slice():n[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Le(arguments[r],o);return n}const ny=(t,n,o,{allOwnKeys:r}={})=>(Le(n,(i,l)=>{o&&K(i)?t[l]=nl(i,o):t[l]=i},{allOwnKeys:r}),t),ly=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),iy=(t,n,o,r)=>{t.prototype=Object.create(n.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),o&&Object.assign(t.prototype,o)},ry=(t,n,o,r)=>{let i,l,a;const s={};if(n=n||{},t==null)return n;do{for(i=Object.getOwnPropertyNames(t),l=i.length;l-- >0;)a=i[l],(!r||r(a,t,n))&&!s[a]&&(n[a]=t[a],s[a]=!0);t=o!==!1&&ro(t)}while(t&&(!o||o(t,n))&&t!==Object.prototype);return n},ay=(t,n,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=n.length;const r=t.indexOf(n,o);return r!==-1&&r===o},sy=t=>{if(!t)return null;if(Se(t))return t;let n=t.length;if(!il(n))return null;const o=new Array(n);for(;n-- >0;)o[n]=t[n];return o},cy=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&ro(Uint8Array)),dy=(t,n)=>{const r=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=r.next())&&!i.done;){const l=i.value;n.call(t,l[0],l[1])}},my=(t,n)=>{let o;const r=[];for(;(o=t.exec(n))!==null;)r.push(o);return r},fy=Q("HTMLFormElement"),uy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,i){return r.toUpperCase()+i}),cl=(({hasOwnProperty:t})=>(n,o)=>t.call(n,o))(Object.prototype),hy=Q("RegExp"),dl=(t,n)=>{const o=Object.getOwnPropertyDescriptors(t),r={};Le(o,(i,l)=>{let a;(a=n(i,l,t))!==!1&&(r[l]=a||i)}),Object.defineProperties(t,r)},py=t=>{dl(t,(n,o)=>{if(K(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=t[o];if(K(r)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},gy=(t,n)=>{const o={},r=i=>{i.forEach(l=>{o[l]=!0})};return Se(t)?r(t):r(String(t).split(n)),o},yy=()=>{},ky=(t,n)=>t!=null&&Number.isFinite(t=+t)?t:n,so="abcdefghijklmnopqrstuvwxyz",ml="0123456789",fl={DIGIT:ml,ALPHA:so,ALPHA_DIGIT:so+so.toUpperCase()+ml},by=(t=16,n=fl.ALPHA_DIGIT)=>{let o="";const{length:r}=n;for(;t--;)o+=n[Math.random()*r|0];return o};function Cy(t){return!!(t&&K(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const By=t=>{const n=new Array(10),o=(r,i)=>{if(st(r)){if(n.indexOf(r)>=0)return;if(!("toJSON"in r)){n[i]=r;const l=Se(r)?[]:{};return Le(r,(a,s)=>{const c=o(a,i+1);!Pe(c)&&(l[s]=c)}),n[i]=void 0,l}}return r};return o(t,0)},wy=Q("AsyncFunction"),y={isArray:Se,isArrayBuffer:ll,isBuffer:Hg,isFormData:Yg,isArrayBufferView:jg,isString:Ug,isNumber:il,isBoolean:Wg,isObject:st,isPlainObject:ct,isReadableStream:$g,isRequest:vg,isResponse:ey,isHeaders:ty,isUndefined:Pe,isDate:Gg,isFile:Jg,isBlob:Kg,isRegExp:hy,isFunction:K,isStream:Xg,isURLSearchParams:Qg,isTypedArray:cy,isFileList:Zg,forEach:Le,merge:ao,extend:ny,trim:oy,stripBOM:ly,inherits:iy,toFlatObject:ry,kindOf:rt,kindOfTest:Q,endsWith:ay,toArray:sy,forEachEntry:dy,matchAll:my,isHTMLForm:fy,hasOwnProperty:cl,hasOwnProp:cl,reduceDescriptors:dl,freezeMethods:py,toObjectSet:gy,toCamelCase:uy,noop:yy,toFiniteNumber:ky,findKey:rl,global:al,isContextDefined:sl,ALPHABET:fl,generateString:by,isSpecCompliantForm:Cy,toJSONObject:By,isAsyncFn:wy,isThenable:t=>t&&(st(t)||K(t))&&K(t.then)&&K(t.catch)};function N(t,n,o,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),o&&(this.config=o),r&&(this.request=r),i&&(this.response=i)}y.inherits(N,Error,{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:y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ul=N.prototype,hl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{hl[t]={value:t}}),Object.defineProperties(N,hl),Object.defineProperty(ul,"isAxiosError",{value:!0}),N.from=(t,n,o,r,i,l)=>{const a=Object.create(ul);return y.toFlatObject(t,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),N.call(a,t.message,n,o,r,i),a.cause=t,a.name=t.name,l&&Object.assign(a,l),a};const xy=null;function co(t){return y.isPlainObject(t)||y.isArray(t)}function pl(t){return y.endsWith(t,"[]")?t.slice(0,-2):t}function gl(t,n,o){return t?t.concat(n).map(function(i,l){return i=pl(i),!o&&l?"["+i+"]":i}).join(o?".":""):n}function _y(t){return y.isArray(t)&&!t.some(co)}const Sy=y.toFlatObject(y,{},null,function(n){return/^is[A-Z]/.test(n)});function dt(t,n,o){if(!y.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,o=y.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,g){return!y.isUndefined(g[b])});const r=o.metaTokens,i=o.visitor||m,l=o.dots,a=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(n);if(!y.isFunction(i))throw new TypeError("visitor must be a function");function d(h){if(h===null)return"";if(y.isDate(h))return h.toISOString();if(!c&&y.isBlob(h))throw new N("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(h)||y.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,b,g){let B=h;if(h&&!g&&typeof h=="object"){if(y.endsWith(b,"{}"))b=r?b:b.slice(0,-2),h=JSON.stringify(h);else if(y.isArray(h)&&_y(h)||(y.isFileList(h)||y.endsWith(b,"[]"))&&(B=y.toArray(h)))return b=pl(b),B.forEach(function(x,T){!(y.isUndefined(x)||x===null)&&n.append(a===!0?gl([b],T,l):a===null?b:b+"[]",d(x))}),!1}return co(h)?!0:(n.append(gl(g,b,l),d(h)),!1)}const f=[],p=Object.assign(Sy,{defaultVisitor:m,convertValue:d,isVisitable:co});function u(h,b){if(!y.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));f.push(h),y.forEach(h,function(B,w){(!(y.isUndefined(B)||B===null)&&i.call(n,B,y.isString(w)?w.trim():w,b,p))===!0&&u(B,b?b.concat(w):[w])}),f.pop()}}if(!y.isObject(t))throw new TypeError("data must be an object");return u(t),n}function yl(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return n[r]})}function mo(t,n){this._pairs=[],t&&dt(t,this,n)}const kl=mo.prototype;kl.append=function(n,o){this._pairs.push([n,o])},kl.toString=function(n){const o=n?function(r){return n.call(this,r,yl)}:yl;return this._pairs.map(function(i){return o(i[0])+"="+o(i[1])},"").join("&")};function Ey(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bl(t,n,o){if(!n)return t;const r=o&&o.encode||Ey,i=o&&o.serialize;let l;if(i?l=i(n,o):l=y.isURLSearchParams(n)?n.toString():new mo(n,o).toString(r),l){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+l}return t}class Cl{constructor(){this.handlers=[]}use(n,o,r){return this.handlers.push({fulfilled:n,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){y.forEach(this.handlers,function(r){r!==null&&n(r)})}}const Bl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ty={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:mo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},fo=typeof window<"u"&&typeof document<"u",Vy=(t=>fo&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Ny=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Oy=fo&&window.location.href||"http://localhost",$={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fo,hasStandardBrowserEnv:Vy,hasStandardBrowserWebWorkerEnv:Ny,origin:Oy},Symbol.toStringTag,{value:"Module"})),...Ty};function Fy(t,n){return dt(t,new $.classes.URLSearchParams,Object.assign({visitor:function(o,r,i,l){return $.isNode&&y.isBuffer(o)?(this.append(r,o.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},n))}function Iy(t){return y.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function My(t){const n={},o=Object.keys(t);let r;const i=o.length;let l;for(r=0;r<i;r++)l=o[r],n[l]=t[l];return n}function wl(t){function n(o,r,i,l){let a=o[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=l>=o.length;return a=!a&&y.isArray(i)?i.length:a,c?(y.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!y.isObject(i[a]))&&(i[a]=[]),n(o,r,i[a],l)&&y.isArray(i[a])&&(i[a]=My(i[a])),!s)}if(y.isFormData(t)&&y.isFunction(t.entries)){const o={};return y.forEachEntry(t,(r,i)=>{n(Iy(r),i,o,0)}),o}return null}function Py(t,n,o){if(y.isString(t))try{return(n||JSON.parse)(t),y.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(o||JSON.stringify)(t)}const De={transitional:Bl,adapter:["xhr","http","fetch"],transformRequest:[function(n,o){const r=o.getContentType()||"",i=r.indexOf("application/json")>-1,l=y.isObject(n);if(l&&y.isHTMLForm(n)&&(n=new FormData(n)),y.isFormData(n))return i?JSON.stringify(wl(n)):n;if(y.isArrayBuffer(n)||y.isBuffer(n)||y.isStream(n)||y.isFile(n)||y.isBlob(n)||y.isReadableStream(n))return n;if(y.isArrayBufferView(n))return n.buffer;if(y.isURLSearchParams(n))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Fy(n,this.formSerializer).toString();if((s=y.isFileList(n))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return dt(s?{"files[]":n}:n,c&&new c,this.formSerializer)}}return l||i?(o.setContentType("application/json",!1),Py(n)):n}],transformResponse:[function(n){const o=this.transitional||De.transitional,r=o&&o.forcedJSONParsing,i=this.responseType==="json";if(y.isResponse(n)||y.isReadableStream(n))return n;if(n&&y.isString(n)&&(r&&!this.responseType||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(n)}catch(s){if(a)throw s.name==="SyntaxError"?N.from(s,N.ERR_BAD_RESPONSE,this,null,this.response):s}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$.classes.FormData,Blob:$.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],t=>{De.headers[t]={}});const Ly=y.toObjectSet(["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"]),Dy=t=>{const n={};let o,r,i;return t&&t.split(`
5
- `).forEach(function(a){i=a.indexOf(":"),o=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!o||n[o]&&Ly[o])&&(o==="set-cookie"?n[o]?n[o].push(r):n[o]=[r]:n[o]=n[o]?n[o]+", "+r:r)}),n},xl=Symbol("internals");function Ae(t){return t&&String(t).trim().toLowerCase()}function mt(t){return t===!1||t==null?t:y.isArray(t)?t.map(mt):String(t)}function Ay(t){const n=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(t);)n[r[1]]=r[2];return n}const Ry=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function uo(t,n,o,r,i){if(y.isFunction(r))return r.call(this,n,o);if(i&&(n=o),!!y.isString(n)){if(y.isString(r))return n.indexOf(r)!==-1;if(y.isRegExp(r))return r.test(n)}}function qy(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,o,r)=>o.toUpperCase()+r)}function zy(t,n){const o=y.toCamelCase(" "+n);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+o,{value:function(i,l,a){return this[r].call(this,n,i,l,a)},configurable:!0})})}class W{constructor(n){n&&this.set(n)}set(n,o,r){const i=this;function l(s,c,d){const m=Ae(c);if(!m)throw new Error("header name must be a non-empty string");const f=y.findKey(i,m);(!f||i[f]===void 0||d===!0||d===void 0&&i[f]!==!1)&&(i[f||c]=mt(s))}const a=(s,c)=>y.forEach(s,(d,m)=>l(d,m,c));if(y.isPlainObject(n)||n instanceof this.constructor)a(n,o);else if(y.isString(n)&&(n=n.trim())&&!Ry(n))a(Dy(n),o);else if(y.isHeaders(n))for(const[s,c]of n.entries())l(c,s,r);else n!=null&&l(o,n,r);return this}get(n,o){if(n=Ae(n),n){const r=y.findKey(this,n);if(r){const i=this[r];if(!o)return i;if(o===!0)return Ay(i);if(y.isFunction(o))return o.call(this,i,r);if(y.isRegExp(o))return o.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,o){if(n=Ae(n),n){const r=y.findKey(this,n);return!!(r&&this[r]!==void 0&&(!o||uo(this,this[r],r,o)))}return!1}delete(n,o){const r=this;let i=!1;function l(a){if(a=Ae(a),a){const s=y.findKey(r,a);s&&(!o||uo(r,r[s],s,o))&&(delete r[s],i=!0)}}return y.isArray(n)?n.forEach(l):l(n),i}clear(n){const o=Object.keys(this);let r=o.length,i=!1;for(;r--;){const l=o[r];(!n||uo(this,this[l],l,n,!0))&&(delete this[l],i=!0)}return i}normalize(n){const o=this,r={};return y.forEach(this,(i,l)=>{const a=y.findKey(r,l);if(a){o[a]=mt(i),delete o[l];return}const s=n?qy(l):String(l).trim();s!==l&&delete o[l],o[s]=mt(i),r[s]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const o=Object.create(null);return y.forEach(this,(r,i)=>{r!=null&&r!==!1&&(o[i]=n&&y.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,o])=>n+": "+o).join(`
6
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...o){const r=new this(n);return o.forEach(i=>r.set(i)),r}static accessor(n){const r=(this[xl]=this[xl]={accessors:{}}).accessors,i=this.prototype;function l(a){const s=Ae(a);r[s]||(zy(i,a),r[s]=!0)}return y.isArray(n)?n.forEach(l):l(n),this}}W.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(W.prototype,({value:t},n)=>{let o=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(r){this[o]=r}}}),y.freezeMethods(W);function ho(t,n){const o=this||De,r=n||o,i=W.from(r.headers);let l=r.data;return y.forEach(t,function(s){l=s.call(o,l,i.normalize(),n?n.status:void 0)}),i.normalize(),l}function _l(t){return!!(t&&t.__CANCEL__)}function Ee(t,n,o){N.call(this,t??"canceled",N.ERR_CANCELED,n,o),this.name="CanceledError"}y.inherits(Ee,N,{__CANCEL__:!0});function Sl(t,n,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?t(o):n(new N("Request failed with status code "+o.status,[N.ERR_BAD_REQUEST,N.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function Hy(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function jy(t,n){t=t||10;const o=new Array(t),r=new Array(t);let i=0,l=0,a;return n=n!==void 0?n:1e3,function(c){const d=Date.now(),m=r[l];a||(a=d),o[i]=c,r[i]=d;let f=l,p=0;for(;f!==i;)p+=o[f++],f=f%t;if(i=(i+1)%t,i===l&&(l=(l+1)%t),d-a<n)return;const u=m&&d-m;return u?Math.round(p*1e3/u):void 0}}function Uy(t,n){let o=0;const r=1e3/n;let i=null;return function(){const a=this===!0,s=Date.now();if(a||s-o>r)return i&&(clearTimeout(i),i=null),o=s,t.apply(null,arguments);i||(i=setTimeout(()=>(i=null,o=Date.now(),t.apply(null,arguments)),r-(s-o)))}}const ft=(t,n,o=3)=>{let r=0;const i=jy(50,250);return Uy(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-r,d=i(c),m=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-a)/d:void 0,event:l,lengthComputable:s!=null};f[n?"download":"upload"]=!0,t(f)},o)},Wy=$.hasStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let r;function i(l){let a=l;return n&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return r=i(window.location.href),function(a){const s=y.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Gy=$.hasStandardBrowserEnv?{write(t,n,o,r,i,l){const a=[t+"="+encodeURIComponent(n)];y.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),y.isString(r)&&a.push("path="+r),y.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Jy(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ky(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function El(t,n){return t&&!Jy(n)?Ky(t,n):n}const Tl=t=>t instanceof W?{...t}:t;function ge(t,n){n=n||{};const o={};function r(d,m,f){return y.isPlainObject(d)&&y.isPlainObject(m)?y.merge.call({caseless:f},d,m):y.isPlainObject(m)?y.merge({},m):y.isArray(m)?m.slice():m}function i(d,m,f){if(y.isUndefined(m)){if(!y.isUndefined(d))return r(void 0,d,f)}else return r(d,m,f)}function l(d,m){if(!y.isUndefined(m))return r(void 0,m)}function a(d,m){if(y.isUndefined(m)){if(!y.isUndefined(d))return r(void 0,d)}else return r(void 0,m)}function s(d,m,f){if(f in n)return r(d,m);if(f in t)return r(void 0,d)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(d,m)=>i(Tl(d),Tl(m),!0)};return y.forEach(Object.keys(Object.assign({},t,n)),function(m){const f=c[m]||i,p=f(t[m],n[m],m);y.isUndefined(p)&&f!==s||(o[m]=p)}),o}const Vl=t=>{const n=ge({},t);let{data:o,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=n;n.headers=a=W.from(a),n.url=bl(El(n.baseURL,n.url),t.params,t.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(y.isFormData(o)){if($.hasStandardBrowserEnv||$.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...m]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...m].join("; "))}}if($.hasStandardBrowserEnv&&(r&&y.isFunction(r)&&(r=r(n)),r||r!==!1&&Wy(n.url))){const d=i&&l&&Gy.read(l);d&&a.set(i,d)}return n},Zy=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(o,r){const i=Vl(t);let l=i.data;const a=W.from(i.headers).normalize();let{responseType:s}=i,c;function d(){i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function f(){if(!m)return;const u=W.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:u,config:t,request:m};Sl(function(B){o(B),d()},function(B){r(B),d()},b),m=null}"onloadend"in m?m.onloadend=f:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(f)},m.onabort=function(){m&&(r(new N("Request aborted",N.ECONNABORTED,i,m)),m=null)},m.onerror=function(){r(new N("Network Error",N.ERR_NETWORK,i,m)),m=null},m.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const b=i.transitional||Bl;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new N(h,b.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,i,m)),m=null},l===void 0&&a.setContentType(null),"setRequestHeader"in m&&y.forEach(a.toJSON(),function(h,b){m.setRequestHeader(b,h)}),y.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),s&&s!=="json"&&(m.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&m.addEventListener("progress",ft(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",ft(i.onUploadProgress)),(i.cancelToken||i.signal)&&(c=u=>{m&&(r(!u||u.type?new Ee(null,t,m):u),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const p=Hy(i.url);if(p&&$.protocols.indexOf(p)===-1){r(new N("Unsupported protocol "+p+":",N.ERR_BAD_REQUEST,t));return}m.send(l||null)})},Xy=(t,n)=>{let o=new AbortController,r;const i=function(c){if(!r){r=!0,a();const d=c instanceof Error?c:this.reason;o.abort(d instanceof N?d:new Ee(d instanceof Error?d.message:d))}};let l=n&&setTimeout(()=>{i(new N(`timeout ${n} of ms exceeded`,N.ETIMEDOUT))},n);const a=()=>{t&&(l&&clearTimeout(l),l=null,t.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),t=null)};t.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:s}=o;return s.unsubscribe=a,[s,()=>{l&&clearTimeout(l),l=null}]},Yy=function*(t,n){let o=t.byteLength;if(!n||o<n){yield t;return}let r=0,i;for(;r<o;)i=r+n,yield t.slice(r,i),r=i},Qy=async function*(t,n,o){for await(const r of t)yield*Yy(ArrayBuffer.isView(r)?r:await o(String(r)),n)},Nl=(t,n,o,r,i)=>{const l=Qy(t,n,i);let a=0;return new ReadableStream({type:"bytes",async pull(s){const{done:c,value:d}=await l.next();if(c){s.close(),r();return}let m=d.byteLength;o&&o(a+=m),s.enqueue(new Uint8Array(d))},cancel(s){return r(s),l.return()}},{highWaterMark:2})},Ol=(t,n)=>{const o=t!=null;return r=>setTimeout(()=>n({lengthComputable:o,total:t,loaded:r}))},ut=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fl=ut&&typeof ReadableStream=="function",po=ut&&(typeof TextEncoder=="function"?(t=>n=>t.encode(n))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),$y=Fl&&(()=>{let t=!1;const n=new Request($.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!n})(),Il=64*1024,go=Fl&&!!(()=>{try{return y.isReadableStream(new Response("").body)}catch{}})(),ht={stream:go&&(t=>t.body)};ut&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(n=>{!ht[n]&&(ht[n]=y.isFunction(t[n])?o=>o[n]():(o,r)=>{throw new N(`Response type '${n}' is not supported`,N.ERR_NOT_SUPPORT,r)})})})(new Response);const vy=async t=>{if(t==null)return 0;if(y.isBlob(t))return t.size;if(y.isSpecCompliantForm(t))return(await new Request(t).arrayBuffer()).byteLength;if(y.isArrayBufferView(t))return t.byteLength;if(y.isURLSearchParams(t)&&(t=t+""),y.isString(t))return(await po(t)).byteLength},ek=async(t,n)=>{const o=y.toFiniteNumber(t.getContentLength());return o??vy(n)},yo={http:xy,xhr:Zy,fetch:ut&&(async t=>{let{url:n,method:o,data:r,signal:i,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:f="same-origin",fetchOptions:p}=Vl(t);d=d?(d+"").toLowerCase():"text";let[u,h]=i||l||a?Xy([i,l],a):[],b,g;const B=()=>{!b&&setTimeout(()=>{u&&u.unsubscribe()}),b=!0};let w;try{if(c&&$y&&o!=="get"&&o!=="head"&&(w=await ek(m,r))!==0){let C=new Request(n,{method:"POST",body:r,duplex:"half"}),E;y.isFormData(r)&&(E=C.headers.get("content-type"))&&m.setContentType(E),C.body&&(r=Nl(C.body,Il,Ol(w,ft(c)),null,po))}y.isString(f)||(f=f?"cors":"omit"),g=new Request(n,{...p,signal:u,method:o.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:f});let x=await fetch(g);const T=go&&(d==="stream"||d==="response");if(go&&(s||T)){const C={};["status","statusText","headers"].forEach(I=>{C[I]=x[I]});const E=y.toFiniteNumber(x.headers.get("content-length"));x=new Response(Nl(x.body,Il,s&&Ol(E,ft(s,!0)),T&&B,po),C)}d=d||"text";let F=await ht[y.findKey(ht,d)||"text"](x,t);return!T&&B(),h&&h(),await new Promise((C,E)=>{Sl(C,E,{data:F,headers:W.from(x.headers),status:x.status,statusText:x.statusText,config:t,request:g})})}catch(x){throw B(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new N("Network Error",N.ERR_NETWORK,t,g),{cause:x.cause||x}):N.from(x,x&&x.code,t,g)}})};y.forEach(yo,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const Ml=t=>`- ${t}`,tk=t=>y.isFunction(t)||t===null||t===!1,Pl={getAdapter:t=>{t=y.isArray(t)?t:[t];const{length:n}=t;let o,r;const i={};for(let l=0;l<n;l++){o=t[l];let a;if(r=o,!tk(o)&&(r=yo[(a=String(o)).toLowerCase()],r===void 0))throw new N(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+l]=r}if(!r){const l=Object.entries(i).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?l.length>1?`since :
7
- `+l.map(Ml).join(`
8
- `):" "+Ml(l[0]):"as no adapter specified";throw new N("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:yo};function ko(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ee(null,t)}function Ll(t){return ko(t),t.headers=W.from(t.headers),t.data=ho.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Pl.getAdapter(t.adapter||De.adapter)(t).then(function(r){return ko(t),r.data=ho.call(t,t.transformResponse,r),r.headers=W.from(r.headers),r},function(r){return _l(r)||(ko(t),r&&r.response&&(r.response.data=ho.call(t,t.transformResponse,r.response),r.response.headers=W.from(r.response.headers))),Promise.reject(r)})}const Dl="1.7.2",bo={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{bo[t]=function(r){return typeof r===t||"a"+(n<1?"n ":" ")+t}});const Al={};bo.transitional=function(n,o,r){function i(l,a){return"[Axios v"+Dl+"] Transitional option '"+l+"'"+a+(r?". "+r:"")}return(l,a,s)=>{if(n===!1)throw new N(i(a," has been removed"+(o?" in "+o:"")),N.ERR_DEPRECATED);return o&&!Al[a]&&(Al[a]=!0,console.warn(i(a," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,a,s):!0}};function ok(t,n,o){if(typeof t!="object")throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const l=r[i],a=n[l];if(a){const s=t[l],c=s===void 0||a(s,l,t);if(c!==!0)throw new N("option "+l+" must be "+c,N.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new N("Unknown option "+l,N.ERR_BAD_OPTION)}}const Co={assertOptions:ok,validators:bo},de=Co.validators;class ye{constructor(n){this.defaults=n,this.interceptors={request:new Cl,response:new Cl}}async request(n,o){try{return await this._request(n,o)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
9
- `+l):r.stack=l}catch{}}throw r}}_request(n,o){typeof n=="string"?(o=o||{},o.url=n):o=n||{},o=ge(this.defaults,o);const{transitional:r,paramsSerializer:i,headers:l}=o;r!==void 0&&Co.assertOptions(r,{silentJSONParsing:de.transitional(de.boolean),forcedJSONParsing:de.transitional(de.boolean),clarifyTimeoutError:de.transitional(de.boolean)},!1),i!=null&&(y.isFunction(i)?o.paramsSerializer={serialize:i}:Co.assertOptions(i,{encode:de.function,serialize:de.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=l&&y.merge(l.common,l[o.method]);l&&y.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),o.headers=W.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(o)===!1||(c=c&&b.synchronous,s.unshift(b.fulfilled,b.rejected))});const d=[];this.interceptors.response.forEach(function(b){d.push(b.fulfilled,b.rejected)});let m,f=0,p;if(!c){const h=[Ll.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,d),p=h.length,m=Promise.resolve(o);f<p;)m=m.then(h[f++],h[f++]);return m}p=s.length;let u=o;for(f=0;f<p;){const h=s[f++],b=s[f++];try{u=h(u)}catch(g){b.call(this,g);break}}try{m=Ll.call(this,u)}catch(h){return Promise.reject(h)}for(f=0,p=d.length;f<p;)m=m.then(d[f++],d[f++]);return m}getUri(n){n=ge(this.defaults,n);const o=El(n.baseURL,n.url);return bl(o,n.params,n.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(n){ye.prototype[n]=function(o,r){return this.request(ge(r||{},{method:n,url:o,data:(r||{}).data}))}}),y.forEach(["post","put","patch"],function(n){function o(r){return function(l,a,s){return this.request(ge(s||{},{method:n,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:a}))}}ye.prototype[n]=o(),ye.prototype[n+"Form"]=o(!0)});class Bo{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(l){o=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const a=new Promise(s=>{r.subscribe(s),l=s}).then(i);return a.cancel=function(){r.unsubscribe(l)},a},n(function(l,a,s){r.reason||(r.reason=new Ee(l,a,s),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const o=this._listeners.indexOf(n);o!==-1&&this._listeners.splice(o,1)}static source(){let n;return{token:new Bo(function(i){n=i}),cancel:n}}}function nk(t){return function(o){return t.apply(null,o)}}function lk(t){return y.isObject(t)&&t.isAxiosError===!0}const wo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wo).forEach(([t,n])=>{wo[n]=t});function Rl(t){const n=new ye(t),o=nl(ye.prototype.request,n);return y.extend(o,ye.prototype,n,{allOwnKeys:!0}),y.extend(o,n,null,{allOwnKeys:!0}),o.create=function(i){return Rl(ge(t,i))},o}const R=Rl(De);R.Axios=ye,R.CanceledError=Ee,R.CancelToken=Bo,R.isCancel=_l,R.VERSION=Dl,R.toFormData=dt,R.AxiosError=N,R.Cancel=R.CanceledError,R.all=function(n){return Promise.all(n)},R.spread=nk,R.isAxiosError=lk,R.mergeConfig=ge,R.AxiosHeaders=W,R.formToJSON=t=>wl(y.isHTMLForm(t)?new FormData(t):t),R.getAdapter=Pl.getAdapter,R.HttpStatusCode=wo,R.default=R;const ik={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[J,qg],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:{useTransition:{type:Boolean,default:!0},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},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return we(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,r=t.dataTransfer.items.length;o<r;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(we(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,we(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(r=>this.compareFiles(r.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,we(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([r,i])=>n.append(r,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(r=>{o.push(this.uploadSingleFile(t,r,n))}),Promise.allSettled(o).then(r=>{const i=r.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),R.post(t,o,{signal:n.abortController.signal,onUploadProgress:r=>this.onUploadProgress(r,n)}).then(r=>(this.$emit("upload-file-success",n),r)).then(r=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),r}).catch(r=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(r),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},rk={key:0},ak={key:1,class:"flex-container vertical"},sk={key:0,class:"flex-container vertical list-files-wrapper"},ck={key:0,class:"list-of-files total-files"},dk={class:"flex-container no-flex"},mk=["title"],fk={key:0,class:"progressbar"},uk=["value","title"],hk=e.createElementVNode("hr",null,null,-1),pk={class:"flex-container vertical list-files-wrapper"},gk={class:"list-of-files"},yk=["title","onClick"],kk={key:0,class:"progressbar"},bk=["value","title"],Ck=["title"],Bk=e.createElementVNode("hr",null,null,-1),wk={class:"upload-conditions"},xk={class:"small"},_k=["title"],Sk={key:0,class:"list-of-file-extensions"},Ek={class:"flex-container vertical no-gap"},Tk=["disabled"],Vk={key:0},Nk={key:1},Ok={class:"button-wrapper no-flex"},Fk=["disabled"],Ik={key:0},Mk={key:1},Pk={key:0,class:"progressbar"},Lk=["value","title"];function Dk(t,n,o,r,i,l){const a=D,s=ol,c=M,d=z;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.legend.show,"align-left":o.legend.align==="left"})},e.toDisplayString(o.legend.text),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(s,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",rk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(m,f)=>(e.openBlock(),e.createElementBlock("li",{key:f},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box flex-container vertical",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",ak,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",sk,[e.createVNode(a,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",ck,[e.createElementVNode("li",dk,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[e.createVNode(c,e.normalizeProps(e.guardReactiveProps(o.iconDelete)),null,16)],8,mk),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",fk,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,uk)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),hk])):e.createCommentVNode("",!0),e.createElementVNode("div",pk,[e.createVNode(a,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",gk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(m,f)=>(e.openBlock(),e.createElementBlock("li",{key:f,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(p=>l.removeFile(f),["prevent"])},[e.createVNode(c,e.normalizeProps(e.guardReactiveProps(o.iconDelete)),null,16)],8,yk),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",kk,[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,bk)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,Ck)):e.createCommentVNode("",!0),Bk])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):e.createCommentVNode("",!0)],64)),e.createElementVNode("div",wk,[o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(a,e.mergeProps({key:0},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(a,e.mergeProps({key:1},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",xk,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(c,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,_k),e.createVNode(e.Transition,{name:o.useTransition?"fade":null},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",Sk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,f)=>(e.openBlock(),e.createElementBlock("li",{key:f,class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1},8,["name"])])])]),e.createElementVNode("div",Ek,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=m=>l.selectFiles())},[e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",Vk,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",Nk,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,Tk),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(d,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>i.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",Ok,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[e.createVNode(c,e.normalizeProps(e.guardReactiveProps(o.iconUpload)),null,16),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",Ik,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",Mk,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,Fk),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>l.cancel&&l.cancel(...m))},[e.createVNode(c,e.normalizeProps(e.guardReactiveProps(o.iconCancel)),null,16),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form box",{"drop-area":o.enableDragAndDrop,"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Pk,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Lk)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(c,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(c,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(c,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(d,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const Ak=S(ik,[["render",Dk]]),Rk={name:"CmdWidthLimitationWrapper",props:{containerType:{type:String,default:"flex"},innerComponent:{type:String,default:"section",validator(t){return t}},useInnerSection:{type:Boolean,default:!0},useFullDeviceWidth:{type:Boolean,default:!1},sticky:{type:Boolean,default:!1},anchorId:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(t){return t==="horizontal"||t==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){if(this.useFullDeviceWidth)return"full-width";if(this.innerComponent==="header")return"grid-container-create-columns";if(this.innerComponent==="footer")return"flex-container";if(this.containerType==="grid")return"grid-container-create-columns";if(this.containerType==="flex"){if(this.contentOrientation==="horizontal")return"flex-container";if(this.contentOrientation==="vertical")return"flex-container vertical"}return""}},methods:{oneSlotItem(){const t=this.$slots.default();return t.length===1&&typeof t[0].type=="symbol"&&Array.isArray(t[0].children)?t[0].children.length===1:t.length===1}}},qk=["id"],zk=["id"];function Hk(t,n,o,r,i,l){const a=D;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}]),ref:"width-limitation-wrapper"},[o.useInnerSection?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass),id:o.anchorId},[o.cmdHeadline?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),l.oneSlotItem()?e.renderSlot(t.$slots,"default",{key:1}):(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(l.setInnerClass)},[e.renderSlot(t.$slots,"default")],2))],10,qk)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,zk)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const jk=S(Rk,[["render",Hk]]),Uk={name:"ContactInformation",props:{cmdBasicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},Wk={key:1,class:"flex-container"},Gk={class:"flex-container vertical"};function Jk(t,n,o,r,i,l){const a=qn,s=Pn,c=Xn;return l.contactFormOnly?(e.openBlock(),e.createBlock(a,e.normalizeProps(e.mergeProps({key:0},t.basicForm)),null,16)):(e.openBlock(),e.createElementBlock("div",Wk,[e.createVNode(a,e.normalizeProps(e.guardReactiveProps(t.basicForm)),null,16),e.createElementVNode("div",Gk,[o.cmdAddressData?(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:0},o.cmdAddressData)),null,16)):e.createCommentVNode("",!0),o.cmdGoogleMaps?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdGoogleMaps)),null,16)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"additional-info")])]))}const Kk=S(Uk,[["render",Jk]]),Zk={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},Xk={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function Yk(t,n,o,r,i,l){const a=lo,s=Wn;return e.openBlock(),e.createElementBlock("div",Xk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(c,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(c)),{default:e.withCtx(m=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.boxes,(f,p)=>(e.openBlock(),e.createBlock(a,e.mergeProps({"use-slots":["box-body"],key:p},f,{rowView:m.rowView}),{default:e.withCtx(()=>[e.createTextVNode(" box "+e.toDisplayString(f),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),e.renderSlot(t.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const Qk=S(Zk,[["render",Yk]]),$k={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},vk={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function eb(t,n,o,r,i,l){const a=oo;return e.openBlock(),e.createElementBlock("div",vk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.segments,(s,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createVNode(a,{links:s.links,orientation:s.orientation,largeIcons:s.largeIcons,cmdHeadline:s.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),e.renderSlot(t.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const tb=S($k,[["render",eb]]),ob={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},nb={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,r=n.value.replace(/^\s*\+/,"00");t.href="tel:"+r.replace(o,"")}}};var lb=Object.defineProperty,ib=(t,n,o)=>n in t?lb(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,pt=(t,n,o)=>ib(t,typeof n!="symbol"?n+"":n,o);const Re=/^[a-z0-9]+(-[a-z0-9]+)*$/,gt=(t,n,o,r="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),c=i.pop(),d={provider:i.length>0?i[0]:r,prefix:c,name:s};return n&&!yt(d)?null:d}const l=i[0],a=l.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return n&&!yt(s)?null:s}if(o&&r===""){const s={provider:r,prefix:"",name:l};return n&&!yt(s,o)?null:s}return null},yt=(t,n)=>t?!!((t.provider===""||t.provider.match(Re))&&(n&&t.prefix===""||t.prefix.match(Re))&&t.name.match(Re)):!1,ql=Object.freeze({left:0,top:0,width:16,height:16}),kt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bt=Object.freeze({...ql,...kt}),xo=Object.freeze({...bt,body:"",hidden:!1});function rb(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const r=((t.rotate||0)+(n.rotate||0))%4;return r&&(o.rotate=r),o}function zl(t,n){const o=rb(t,n);for(const r in xo)r in kt?r in t&&!(r in o)&&(o[r]=kt[r]):r in n?o[r]=n[r]:r in t&&(o[r]=t[r]);return o}function ab(t,n){const o=t.icons,r=t.aliases||{},i=Object.create(null);function l(a){if(o[a])return i[a]=[];if(!(a in i)){i[a]=null;const s=r[a]&&r[a].parent,c=s&&l(s);c&&(i[a]=[s].concat(c))}return i[a]}return Object.keys(o).concat(Object.keys(r)).forEach(l),i}function sb(t,n,o){const r=t.icons,i=t.aliases||{};let l={};function a(s){l=zl(r[s]||i[s],l)}return a(n),o.forEach(a),zl(t,l)}function Hl(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{n(i,null),o.push(i)});const r=ab(t);for(const i in r){const l=r[i];l&&(n(i,sb(t,i,l)),o.push(i))}return o}const cb={provider:"",aliases:{},not_found:{},...ql};function _o(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function jl(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!_o(t,cb))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(Re)||typeof l.body!="string"||!_o(l,xo))return null}const r=n.aliases||{};for(const i in r){const l=r[i],a=l.parent;if(!i.match(Re)||typeof a!="string"||!o[a]&&!r[a]||!_o(l,xo))return null}return n}const Ul=Object.create(null);function db(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function ke(t,n){const o=Ul[t]||(Ul[t]=Object.create(null));return o[n]||(o[n]=db(t,n))}function So(t,n){return jl(n)?Hl(n,(o,r)=>{r?t.icons[o]=r:t.missing.add(o)}):[]}function mb(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let qe=!1;function Wl(t){return typeof t=="boolean"&&(qe=t),qe}function fb(t){const n=typeof t=="string"?gt(t,!0,qe):t;if(n){const o=ke(n.provider,n.prefix),r=n.name;return o.icons[r]||(o.missing.has(r)?null:void 0)}}function ub(t,n){const o=gt(t,!0,qe);if(!o)return!1;const r=ke(o.provider,o.prefix);return mb(r,o.name,n)}function Gl(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),qe&&!n&&!t.prefix){let i=!1;return jl(t)&&(t.prefix="",Hl(t,(l,a)=>{a&&ub(l,a)&&(i=!0)})),i}const o=t.prefix;if(!yt({provider:n,prefix:o,name:"a"}))return!1;const r=ke(n,o);return!!So(r,t)}const Jl=Object.freeze({width:null,height:null}),Kl=Object.freeze({...Jl,...kt}),hb=/(-?[0-9.]*[0-9]+[0-9.]*)/g,pb=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Zl(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const r=t.split(hb);if(r===null||!r.length)return t;const i=[];let l=r.shift(),a=pb.test(l);for(;;){if(a){const s=parseFloat(l);isNaN(s)?i.push(l):i.push(Math.ceil(s*n*o)/o)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");a=!a}}function gb(t,n){const o={...bt,...t},r={...Kl,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,r].forEach(p=>{const u=[],h=p.hFlip,b=p.vFlip;let g=p.rotate;h?b?g+=2:(u.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),u.push("scale(-1 1)"),i.top=i.left=0):b&&(u.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),u.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,u.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:u.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,u.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),u.length&&(l='<g transform="'+u.join(" ")+'">'+l+"</g>")});const a=r.width,s=r.height,c=i.width,d=i.height;let m,f;return a===null?(f=s===null?"1em":s==="auto"?d:s,m=Zl(f,c/d)):(m=a==="auto"?c:a,f=s===null?Zl(m,d/c):s==="auto"?d:s),{attributes:{width:m.toString(),height:f.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+d.toString()},body:l}}const yb=/\sid="(\S+)"/g,kb="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bb=0;function Cb(t,n=kb){const o=[];let r;for(;r=yb.exec(t);)o.push(r[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(bb++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const Eo=Object.create(null);function Bb(t,n){Eo[t]=n}function To(t){return Eo[t]||Eo[""]}function Vo(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const No=Object.create(null),Ct=["https://api.simplesvg.com","https://api.unisvg.com"],Oo=[];for(;Ct.length>0;)Ct.length===1||Math.random()>.5?Oo.push(Ct.shift()):Oo.push(Ct.pop());No[""]=Vo({resources:["https://api.iconify.design"].concat(Oo)});function wb(t,n){const o=Vo(n);return o===null?!1:(No[t]=o,!0)}function Fo(t){return No[t]}let Xl=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function xb(t,n){const o=Fo(t);if(!o)return 0;let r;if(!o.maxURL)r=0;else{let i=0;o.resources.forEach(a=>{i=Math.max(i,a.length)});const l=n+".json?icons=";r=o.maxURL-i-o.path.length-l.length}return r}function _b(t){return t===404}const Sb=(t,n,o)=>{const r=[],i=xb(t,n),l="icons";let a={type:l,provider:t,prefix:n,icons:[]},s=0;return o.forEach((c,d)=>{s+=c.length+1,s>=i&&d>0&&(r.push(a),a={type:l,provider:t,prefix:n,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function Eb(t){if(typeof t=="string"){const n=Fo(t);if(n)return n.path}return"/"}const Tb=(t,n,o)=>{if(!Xl){o("abort",424);return}let r=Eb(n.provider);switch(n.type){case"icons":{const l=n.prefix,a=n.icons.join(","),s=new URLSearchParams({icons:a});r+=l+".json?"+s.toString();break}case"custom":{const l=n.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:o("abort",400);return}let i=503;Xl(t+r).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{o(_b(a)?"abort":"next",a)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{o("next",i)});return}setTimeout(()=>{o("success",l)})}).catch(()=>{o("next",i)})},Vb={prepare:Sb,send:Tb};function Nb(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return t.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,a=i.prefix,s=i.name,c=o[l]||(o[l]=Object.create(null)),d=c[a]||(c[a]=ke(l,a));let m;s in d.icons?m=n.loaded:a===""||d.missing.has(s)?m=n.missing:m=n.pending;const f={provider:l,prefix:a,name:s};m.push(f)}),n}function Yl(t,n){t.forEach(o=>{const r=o.loaderCallbacks;r&&(o.loaderCallbacks=r.filter(i=>i.id!==n))})}function Ob(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const r=t.provider,i=t.prefix;n.forEach(l=>{const a=l.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==i)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:r,prefix:i,name:d});else if(t.missing.has(d))a.missing.push({provider:r,prefix:i,name:d});else return o=!0,!0;return!1}),a.pending.length!==s&&(o||Yl([t],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let Fb=0;function Ib(t,n,o){const r=Fb++,i=Yl.bind(null,o,r);if(!n.pending.length)return i;const l={id:r,icons:n,callback:t,abort:i};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),i}function Mb(t,n=!0,o=!1){const r=[];return t.forEach(i=>{const l=typeof i=="string"?gt(i,n,o):i;l&&r.push(l)}),r}var Pb={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Lb(t,n,o,r){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let a;if(t.random){let C=t.resources.slice(0);for(a=[];C.length>1;){const E=Math.floor(Math.random()*C.length);a.push(C[E]),C=C.slice(0,E).concat(C.slice(E+1))}a=a.concat(C)}else a=t.resources.slice(l).concat(t.resources.slice(0,l));const s=Date.now();let c="pending",d=0,m,f=null,p=[],u=[];typeof r=="function"&&u.push(r);function h(){f&&(clearTimeout(f),f=null)}function b(){c==="pending"&&(c="aborted"),h(),p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function g(C,E){E&&(u=[]),typeof C=="function"&&u.push(C)}function B(){return{startTime:s,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:b}}function w(){c="failed",u.forEach(C=>{C(void 0,m)})}function x(){p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function T(C,E,I){const A=E!=="success";switch(p=p.filter(P=>P!==C),c){case"pending":break;case"failed":if(A||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=I,w();return}if(A){m=I,p.length||(a.length?F():w());return}if(h(),x(),!t.random){const P=t.resources.indexOf(C.resource);P!==-1&&P!==t.index&&(t.index=P)}c="completed",u.forEach(P=>{P(I)})}function F(){if(c!=="pending")return;h();const C=a.shift();if(C===void 0){if(p.length){f=setTimeout(()=>{h(),c==="pending"&&(x(),w())},t.timeout);return}w();return}const E={status:"pending",resource:C,callback:(I,A)=>{T(E,I,A)}};p.push(E),d++,f=setTimeout(F,t.rotate),o(C,n,E.callback)}return setTimeout(F),B}function Ql(t){const n={...Pb,...t};let o=[];function r(){o=o.filter(a=>a().status==="pending")}function i(a,s,c){const d=Lb(n,a,s,(m,f)=>{r(),c&&c(m,f)});return o.push(d),d}function l(a){return o.find(s=>a(s))||null}return{query:i,find:l,setIndex:a=>{n.index=a},getIndex:()=>n.index,cleanup:r}}function $l(){}const Io=Object.create(null);function Db(t){if(!Io[t]){const n=Fo(t);if(!n)return;const o=Ql(n),r={config:n,redundancy:o};Io[t]=r}return Io[t]}function Ab(t,n,o){let r,i;if(typeof t=="string"){const l=To(t);if(!l)return o(void 0,424),$l;i=l.send;const a=Db(t);a&&(r=a.redundancy)}else{const l=Vo(t);if(l){r=Ql(l);const a=t.resources?t.resources[0]:"",s=To(a);s&&(i=s.send)}}return!r||!i?(o(void 0,424),$l):r.query(n,i,o)().abort}const vl="iconify2",ze="iconify",ei=ze+"-count",ti=ze+"-version",oi=36e5,Rb=168;function Mo(t,n){try{return t.getItem(n)}catch{}}function Po(t,n,o){try{return t.setItem(n,o),!0}catch{}}function ni(t,n){try{t.removeItem(n)}catch{}}function Lo(t,n){return Po(t,ei,n.toString())}function Do(t){return parseInt(Mo(t,ei))||0}const Bt={local:!0,session:!0},li={local:new Set,session:new Set};let Ao=!1;function qb(t){Ao=t}let wt=typeof window>"u"?{}:window;function ii(t){const n=t+"Storage";try{if(wt&&wt[n]&&typeof wt[n].length=="number")return wt[n]}catch{}Bt[t]=!1}function ri(t,n){const o=ii(t);if(!o)return;const r=Mo(o,ti);if(r!==vl){if(r){const s=Do(o);for(let c=0;c<s;c++)ni(o,ze+c.toString())}Po(o,ti,vl),Lo(o,0);return}const i=Math.floor(Date.now()/oi)-Rb,l=s=>{const c=ze+s.toString(),d=Mo(o,c);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,s))return!0}catch{}ni(o,c)}};let a=Do(o);for(let s=a-1;s>=0;s--)l(s)||(s===a-1?(a--,Lo(o,a)):li[t].add(s))}function ai(){if(!Ao){qb(!0);for(const t in Bt)ri(t,n=>{const o=n.data,r=n.provider,i=o.prefix,l=ke(r,i);if(!So(l,o).length)return!1;const a=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,a):a,!0})}}function zb(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const r in Bt)ri(r,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Hb(t,n){Ao||ai();function o(r){let i;if(!Bt[r]||!(i=ii(r)))return;const l=li[r];let a;if(l.size)l.delete(a=Array.from(l).shift());else if(a=Do(i),!Lo(i,a+1))return;const s={cached:Math.floor(Date.now()/oi),provider:t.provider,data:n};return Po(i,ze+a.toString(),JSON.stringify(s))}n.lastModified&&!zb(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function si(){}function jb(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Ob(t)}))}function Ub(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:r}=t,i=t.iconsToLoad;delete t.iconsToLoad;let l;!i||!(l=To(o))||l.prepare(o,r,i).forEach(a=>{Ab(o,a,(s,c)=>{if(typeof s!="object"){if(c!==404)return;a.icons.forEach(d=>{t.missing.add(d)})}else try{const d=So(t,s);if(!d.length)return;const m=t.pendingIcons;m&&d.forEach(f=>{m.delete(f)}),Hb(t,s)}catch(d){console.error(d)}jb(t)})})}))}const Wb=(t,n)=>{const o=Mb(t,!0,Wl()),r=Nb(o);if(!r.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(r.loaded,r.missing,r.pending,si)}),()=>{c=!1}}const i=Object.create(null),l=[];let a,s;return r.pending.forEach(c=>{const{provider:d,prefix:m}=c;if(m===s&&d===a)return;a=d,s=m,l.push(ke(d,m));const f=i[d]||(i[d]=Object.create(null));f[m]||(f[m]=[])}),r.pending.forEach(c=>{const{provider:d,prefix:m,name:f}=c,p=ke(d,m),u=p.pendingIcons||(p.pendingIcons=new Set);u.has(f)||(u.add(f),i[d][m].push(f))}),l.forEach(c=>{const{provider:d,prefix:m}=c;i[d][m].length&&Ub(c,i[d][m])}),n?Ib(n,r,l):si};function Gb(t,n){const o={...t};for(const r in n){const i=n[r],l=typeof i;r in Jl?(i===null||i&&(l==="string"||l==="number"))&&(o[r]=i):l===typeof o[r]&&(o[r]=r==="rotate"?i%4:i)}return o}const Jb=/[\s,]+/;function Kb(t,n){n.split(Jb).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Zb(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:r(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let l=parseFloat(t.slice(0,t.length-o.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return n}function Xb(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in n)o+=" "+r+'="'+n[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Yb(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Qb(t){return'url("data:image/svg+xml,'+Yb(t)+'")'}const ci={...Kl,inline:!1},$b={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},vb={display:"inline-block"},Ro={backgroundColor:"currentColor"},di={backgroundColor:"transparent"},mi={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fi={webkitMask:Ro,mask:Ro,background:di};for(const t in fi){const n=fi[t];for(const o in mi)n[t+o]=mi[o]}const xt={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";xt[t+"-flip"]=n,xt[t.slice(0,1)+"-flip"]=n,xt[t+"Flip"]=n});function ui(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const hi=(t,n)=>{const o=Gb(ci,n),r={...$b},i=n.mode||"svg",l={},a=n.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in n){const g=n[b];if(g!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[b]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&Kb(o,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?o[b]=Zb(g):typeof g=="number"&&(o[b]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=xt[b];B?(g===!0||g==="true"||g===1)&&(o[B]=!0):ci[b]===void 0&&(r[b]=g)}}}const c=gb(t,o),d=c.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...s},Object.assign(r,d);let b=0,g=n.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=Cb(c.body,g?()=>g+"ID"+b++:"iconifyVue"),e.h("svg",r)}const{body:m,width:f,height:p}=t,u=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=Xb(m,{...d,width:f+"",height:p+""});return r.style={...l,"--svg":Qb(h),width:ui(d.width),height:ui(d.height),...vb,...u?Ro:di,...s},e.h("span",r)};if(Wl(!0),Bb("",Vb),typeof document<"u"&&typeof window<"u"){ai();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Gl(r))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const r="IconifyProviders["+o+"] is invalid.";try{const i=n[o];if(typeof i!="object"||!i||i.resources===void 0)continue;wb(o,i)||console.error(r)}catch{console.error(r)}}}}const eC={...bt,body:""};e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=gt(t,!1,!0))===null)return this.abortLoading(),null;const r=fb(o);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:t,abort:Wb([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:r,classes:i}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return hi(eC,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),hi({...bt,...n.data},o)}});function tC(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function oC(){return"cmd-"+tC()}const nC={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||oC()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},qo=class Pt{constructor(n){pt(this,"label"),this.label=n}validate(n){return[n.lastName.error,n.lastName.errorMessage]=this.validateRequired(n.lastName.value,Pt.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[n.email.error,n.email.errorMessage]=this.validateRequired(n.email.value,Pt.PATTERN_EMAIL,this.label("form_error_invalid_email"))[n.additionalText.error,n.additionalText.errorMessage]=this.validateRequired(n.additionalText.value,Pt.PATTERN_MESSAGE,this.label("form_error_invalid_message")),n.acceptPrivacy.error=!1,n.error=n.lastName.error||n.email.error||n.additionalText.error,n}validatePrivacy(n){return n.acceptPrivacy.error=!n.acceptPrivacy.value,n.acceptPrivacy.errorMessage=n.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",n.error=n.error||n.acceptPrivacy.error,n}validateRequired(n,o,r){return!n||n.trim().length===0?[!0,this.label("form_error_empty")]:o&&!o.test(n)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};pt(qo,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),pt(qo,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),pt(qo,"PATTERN_MESSAGE",/^.{2,500}$/);const lC=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(iC,{...t,show:!0}).mount(n)},iC=e.defineComponent({name:"CmdFancyBox",mixins:[nC],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var t;const n={...((t=this.cmdImage)==null?void 0:t.image)||{}};return this.fancyBoxImageUrl&&(n.src=this.fancyBoxImageUrl),n},ariaLabelText(){var t;return(t=this.fancyBoxGallery)!=null&&t.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(t){(await rC(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(n=>n.text()).then(n=>this.fancyBoxContent=n).catch(n=>console.error(`Error loading ${this.url}: ${n}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function rC(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Gl({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
4
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const Qb={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{useDefaultPadding:{type:Boolean,default:!0},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0},cmdHeadline:{type:Object,required:!1}},methods:{setActiveTab(e){this.showTab=e,this.$emit("active-tab",e)}},watch:{activeTab(){this.showTab=this.activeTab}}},$b={class:"cmd-tabs"},vb=["onClick","title"],ek={key:1},tk={key:1,"aria-live":"assertive"},nk=["innerHTML"];function ok(e,o,n,i,r,l){const a=A,s=j;return t.openBlock(),t.createElementBlock("div",$b,[t.createElementVNode("ul",{class:t.normalizeClass({"stretch-tabs":n.stretchTabs}),role:"tablist"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.tabs,(c,d)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass({active:r.showTab===d}),key:d,role:"tab"},[t.createElementVNode("a",{href:"#",onClick:t.withModifiers(m=>l.setActiveTab(d),["prevent"]),title:c.name?void 0:c.tooltip},[c.iconClass?(t.openBlock(),t.createBlock(a,{key:0,iconClass:c.iconClass,type:c.iconType},null,8,["iconClass","type"])):t.createCommentVNode("",!0),c.name?(t.openBlock(),t.createElementBlock("span",ek,t.toDisplayString(c.name),1)):t.createCommentVNode("",!0)],8,vb)],2))),128))],2),n.useSlot?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.tabs.length,c=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:c,"aria-live":"assertive",class:t.normalizeClass({"no-padding":!n.useDefaultPadding})},[t.renderSlot(e.$slots,"tab-content-"+(c-1))],2)),[[t.vShow,r.showTab===c-1]])),128)):(t.openBlock(),t.createElementBlock("div",tk,[n.cmdHeadline?(t.openBlock(),t.createBlock(s,t.mergeProps({key:0},n.cmdHeadline,{headlineText:n.tabs[r.showTab].headlineText,headlineLevel:n.tabs[r.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:n.tabs[r.showTab].htmlContent,class:t.normalizeClass({"no-padding":!n.useDefaultPadding})},null,10,nk)]))])}const ik=V(Qb,[["render",ok]]),rk={name:"CmdTextImageBlock",mixins:[J],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(e){return e==="vertical"||e==="horizontal"}},htmlContent:{type:String,required:!0},paragraphTextAlign:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},headlinePosition:{type:String,default:"aboveImage",validator(e){return e==="aboveImage"||e==="belowImage"}},cmdHeadline:{type:Object,required:!1},cmdImage:{type:Object,required:!1},editModeContextData:{type:Object}},computed:{paragraphComponentPath(){return[{componentPath:["props","htmlContent"],$isComponent:!1}]},textAlign(){return this.paragraphTextAlign?"text-align-"+this.paragraphTextAlign:""},setInnerClass(){return"inner-text-wrapper "+this.textAlign+" "+(this.innerClass||"")}},methods:{onAddItem(){this.$refs.editComponentWrapper.editComponent()},addHandlerProvider(){return""},updateHandlerProvider(){const e=this.editableHtmlContent;return this.editableHtmlContent=null,G(this,{update(o){o.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},lk=["innerHTML"],ak=["innerHTML"],sk=[t.createElementVNode("span",{class:"icon-plus"},null,-1),t.createElementVNode("span",null,"Add new paragraph",-1)];function ck(e,o,n,i,r,l){var d,m,u,p;const a=j,s=ue,c=ge;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-text-image-block flex-container",n.orientation])},[((d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext)&&n.headlinePosition==="aboveImage"&&n.orientation==="vertical"?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.cmdImage?(t.openBlock(),t.createBlock(s,{key:1,image:(m=n.cmdImage)==null?void 0:m.image,figcaption:(u=n.cmdImage)==null?void 0:u.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["flex-container vertical",l.setInnerClass])},[((p=n.cmdHeadline)!=null&&p.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),n.htmlContent?(t.openBlock(),t.createElementBlock("div",{key:1,innerHTML:n.htmlContent},null,8,lk)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")],2),e.editModeContext?(t.openBlock(),t.createBlock(c,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:n.htmlContent,textAlign:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:t.withCtx(f=>[f.editing?t.withDirectives((t.openBlock(),t.createElementBlock("textarea",{key:0,class:t.normalizeClass(["edit-mode",l.textAlign]),"onUpdate:modelValue":o[0]||(o[0]=h=>r.editableHtmlContent=h),placeholder:"Paragraph"},null,2)),[[t.vModelText,r.editableHtmlContent]]):n.htmlContent?(t.openBlock(),t.createElementBlock("div",{key:1,innerHTML:n.htmlContent,class:t.normalizeClass(l.textAlign)},null,10,ak)):(t.openBlock(),t.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:o[1]||(o[1]=(...h)=>l.onAddItem&&l.onAddItem(...h))},sk))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):t.createCommentVNode("",!0)],2)}const dk=V(rk,[["render",ck]]),mk={name:"ToggleDarkMode",mixins:[J],data(){return{darkMode:!1,editableLabelTextLightMode:null,editableLabelTextDarkMode:null}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{type:Object,default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{type:Object,default(){return{iconClass:"icon-sun",iconType:"auto"}}},showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const e=window.matchMedia("(prefers-color-scheme: dark)");e.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(e),this.$nextTick(()=>{const o=window.localStorage.getItem("cmd-color-scheme");o&&(this.darkMode=o==="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(e){this.darkMode=e.matches,this.darkMode&&document.documentElement.classList.add("dark-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(e){this.darkMode=e.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()},updateHandlerProvider(){const e=this.labelTextLightModeModel,o=this.labelTextDarkModeModel;return G(this,{update(n){n.labelTextLightMode=e,n.labelTextDarkMode=o}})}},computed:{labelTextLightModeModel:{get(){return this.editableLabelTextLightMode==null?this.labelTextLightMode:this.editableLabelTextLightMode},set(e){this.editableLabelTextLightMode=e}},labelTextDarkModeModel:{get(){return this.editableLabelTextDarkMode==null?this.labelTextDarkMode:this.editableLabelTextDarkMode},set(e){this.editableLabelTextDarkMode=e}},labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const e=document.documentElement;this.darkMode?e.classList.replace("light-mode","dark-mode"):e.classList.replace("dark-mode","light-mode"),e.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},uk={key:0};function fk(e,o,n,i,r,l){const a=A,s=U;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":n.useStyledLayout,"dark-mode":r.darkMode}])},[e.editing?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(s,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":o[2]||(o[2]=c=>l.labelTextLightModeModel=c)},null,8,["modelValue"]),t.createVNode(s,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":o[3]||(o[3]=c=>l.labelTextDarkModeModel=c)},null,8,["modelValue"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.styledAsButton?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",class:t.normalizeClass(["button",{"dark-mode":r.darkMode}]),onClick:o[0]||(o[0]=t.withModifiers((...c)=>l.toggleColorScheme&&l.toggleColorScheme(...c),["prevent"]))},[n.showLabel?(t.openBlock(),t.createElementBlock("span",uk,t.toDisplayString(l.labelText),1)):t.createCommentVNode("",!0),t.createVNode(a,{iconClass:l.iconClass,type:l.iconType,tooltip:n.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(t.openBlock(),t.createBlock(s,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:n.showLabel,modelValue:r.darkMode,"onUpdate:modelValue":[o[1]||(o[1]=c=>r.darkMode=c),l.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const hk=V(mk,[["render",fk]]),pk={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 wr(e,o){return function(){return e.apply(o,arguments)}}const{toString:gk}=Object.prototype,{getPrototypeOf:Jn}=Object,St=(e=>o=>{const n=gk.call(o);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ne=e=>(e=e.toLowerCase(),o=>St(o)===e),Tt=e=>o=>typeof o===e,{isArray:Ae}=Array,Ke=Tt("undefined");function yk(e){return e!==null&&!Ke(e)&&e.constructor!==null&&!Ke(e.constructor)&&Q(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Br=ne("ArrayBuffer");function bk(e){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(e):o=e&&e.buffer&&Br(e.buffer),o}const kk=Tt("string"),Q=Tt("function"),xr=Tt("number"),Vt=e=>e!==null&&typeof e=="object",Ck=e=>e===!0||e===!1,Nt=e=>{if(St(e)!=="object")return!1;const o=Jn(e);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wk=ne("Date"),Bk=ne("File"),xk=ne("Blob"),_k=ne("FileList"),Ek=e=>Vt(e)&&Q(e.pipe),Sk=e=>{let o;return e&&(typeof FormData=="function"&&e instanceof FormData||Q(e.append)&&((o=St(e))==="formdata"||o==="object"&&Q(e.toString)&&e.toString()==="[object FormData]"))},Tk=ne("URLSearchParams"),[Vk,Nk,Ok,Fk]=["ReadableStream","Request","Response","Headers"].map(ne),Pk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ze(e,o,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),Ae(e))for(i=0,r=e.length;i<r;i++)o.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(i=0;i<a;i++)s=l[i],o.call(null,e[s],s,e)}}function _r(e,o){o=o.toLowerCase();const n=Object.keys(e);let i=n.length,r;for(;i-- >0;)if(r=n[i],o===r.toLowerCase())return r;return null}const Er=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Sr=e=>!Ke(e)&&e!==Er;function Kn(){const{caseless:e}=Sr(this)&&this||{},o={},n=(i,r)=>{const l=e&&_r(o,r)||r;Nt(o[l])&&Nt(i)?o[l]=Kn(o[l],i):Nt(i)?o[l]=Kn({},i):Ae(i)?o[l]=i.slice():o[l]=i};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&Ze(arguments[i],n);return o}const Ik=(e,o,n,{allOwnKeys:i}={})=>(Ze(o,(r,l)=>{n&&Q(r)?e[l]=wr(r,n):e[l]=r},{allOwnKeys:i}),e),Lk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Mk=(e,o,n,i)=>{e.prototype=Object.create(o.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:o.prototype}),n&&Object.assign(e.prototype,n)},Ak=(e,o,n,i)=>{let r,l,a;const s={};if(o=o||{},e==null)return o;do{for(r=Object.getOwnPropertyNames(e),l=r.length;l-- >0;)a=r[l],(!i||i(a,e,o))&&!s[a]&&(o[a]=e[a],s[a]=!0);e=n!==!1&&Jn(e)}while(e&&(!n||n(e,o))&&e!==Object.prototype);return o},Dk=(e,o,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=o.length;const i=e.indexOf(o,n);return i!==-1&&i===n},Rk=e=>{if(!e)return null;if(Ae(e))return e;let o=e.length;if(!xr(o))return null;const n=new Array(o);for(;o-- >0;)n[o]=e[o];return n},jk=(e=>o=>e&&o instanceof e)(typeof Uint8Array<"u"&&Jn(Uint8Array)),qk=(e,o)=>{const i=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=i.next())&&!r.done;){const l=r.value;o.call(e,l[0],l[1])}},zk=(e,o)=>{let n;const i=[];for(;(n=e.exec(o))!==null;)i.push(n);return i},Hk=ne("HTMLFormElement"),Uk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,r){return i.toUpperCase()+r}),Tr=(({hasOwnProperty:e})=>(o,n)=>e.call(o,n))(Object.prototype),Wk=ne("RegExp"),Vr=(e,o)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Ze(n,(r,l)=>{let a;(a=o(r,l,e))!==!1&&(i[l]=a||r)}),Object.defineProperties(e,i)},Gk=e=>{Vr(e,(o,n)=>{if(Q(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(Q(i)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Jk=(e,o)=>{const n={},i=r=>{r.forEach(l=>{n[l]=!0})};return Ae(e)?i(e):i(String(e).split(o)),n},Kk=()=>{},Zk=(e,o)=>e!=null&&Number.isFinite(e=+e)?e:o,Zn="abcdefghijklmnopqrstuvwxyz",Nr="0123456789",Or={DIGIT:Nr,ALPHA:Zn,ALPHA_DIGIT:Zn+Zn.toUpperCase()+Nr},Xk=(e=16,o=Or.ALPHA_DIGIT)=>{let n="";const{length:i}=o;for(;e--;)n+=o[Math.random()*i|0];return n};function Yk(e){return!!(e&&Q(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Qk=e=>{const o=new Array(10),n=(i,r)=>{if(Vt(i)){if(o.indexOf(i)>=0)return;if(!("toJSON"in i)){o[r]=i;const l=Ae(i)?[]:{};return Ze(i,(a,s)=>{const c=n(a,r+1);!Ke(c)&&(l[s]=c)}),o[r]=void 0,l}}return i};return n(e,0)},$k=ne("AsyncFunction"),b={isArray:Ae,isArrayBuffer:Br,isBuffer:yk,isFormData:Sk,isArrayBufferView:bk,isString:kk,isNumber:xr,isBoolean:Ck,isObject:Vt,isPlainObject:Nt,isReadableStream:Vk,isRequest:Nk,isResponse:Ok,isHeaders:Fk,isUndefined:Ke,isDate:wk,isFile:Bk,isBlob:xk,isRegExp:Wk,isFunction:Q,isStream:Ek,isURLSearchParams:Tk,isTypedArray:jk,isFileList:_k,forEach:Ze,merge:Kn,extend:Ik,trim:Pk,stripBOM:Lk,inherits:Mk,toFlatObject:Ak,kindOf:St,kindOfTest:ne,endsWith:Dk,toArray:Rk,forEachEntry:qk,matchAll:zk,isHTMLForm:Hk,hasOwnProperty:Tr,hasOwnProp:Tr,reduceDescriptors:Vr,freezeMethods:Gk,toObjectSet:Jk,toCamelCase:Uk,noop:Kk,toFiniteNumber:Zk,findKey:_r,global:Er,isContextDefined:Sr,ALPHABET:Or,generateString:Xk,isSpecCompliantForm:Yk,toJSONObject:Qk,isAsyncFn:$k,isThenable:e=>e&&(Vt(e)||Q(e))&&Q(e.then)&&Q(e.catch)};function F(e,o,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",o&&(this.code=o),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}b.inherits(F,Error,{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:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fr=F.prototype,Pr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pr[e]={value:e}}),Object.defineProperties(F,Pr),Object.defineProperty(Fr,"isAxiosError",{value:!0}),F.from=(e,o,n,i,r,l)=>{const a=Object.create(Fr);return b.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),F.call(a,e.message,o,n,i,r),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const vk=null;function Xn(e){return b.isPlainObject(e)||b.isArray(e)}function Ir(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function Lr(e,o,n){return e?e.concat(o).map(function(r,l){return r=Ir(r),!n&&l?"["+r+"]":r}).join(n?".":""):o}function eC(e){return b.isArray(e)&&!e.some(Xn)}const tC=b.toFlatObject(b,{},null,function(o){return/^is[A-Z]/.test(o)});function Ot(e,o,n){if(!b.isObject(e))throw new TypeError("target must be an object");o=o||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!b.isUndefined(g[y])});const i=n.metaTokens,r=n.visitor||m,l=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(o);if(!b.isFunction(r))throw new TypeError("visitor must be a function");function d(h){if(h===null)return"";if(b.isDate(h))return h.toISOString();if(!c&&b.isBlob(h))throw new F("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(h)||b.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,y,g){let B=h;if(h&&!g&&typeof h=="object"){if(b.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(b.isArray(h)&&eC(h)||(b.isFileList(h)||b.endsWith(y,"[]"))&&(B=b.toArray(h)))return y=Ir(y),B.forEach(function(x,T){!(b.isUndefined(x)||x===null)&&o.append(a===!0?Lr([y],T,l):a===null?y:y+"[]",d(x))}),!1}return Xn(h)?!0:(o.append(Lr(g,y,l),d(h)),!1)}const u=[],p=Object.assign(tC,{defaultVisitor:m,convertValue:d,isVisitable:Xn});function f(h,y){if(!b.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));u.push(h),b.forEach(h,function(B,_){(!(b.isUndefined(B)||B===null)&&r.call(o,B,b.isString(_)?_.trim():_,y,p))===!0&&f(B,y?y.concat(_):[_])}),u.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return f(e),o}function Mr(e){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return o[i]})}function Yn(e,o){this._pairs=[],e&&Ot(e,this,o)}const Ar=Yn.prototype;Ar.append=function(o,n){this._pairs.push([o,n])},Ar.toString=function(o){const n=o?function(i){return o.call(this,i,Mr)}:Mr;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function nC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Dr(e,o,n){if(!o)return e;const i=n&&n.encode||nC,r=n&&n.serialize;let l;if(r?l=r(o,n):l=b.isURLSearchParams(o)?o.toString():new Yn(o,n).toString(i),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Rr{constructor(){this.handlers=[]}use(o,n,i){return this.handlers.push({fulfilled:o,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){b.forEach(this.handlers,function(i){i!==null&&o(i)})}}const jr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oC={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Yn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Qn=typeof window<"u"&&typeof document<"u",iC=(e=>Qn&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),rC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lC=Qn&&window.location.href||"http://localhost",oe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qn,hasStandardBrowserEnv:iC,hasStandardBrowserWebWorkerEnv:rC,origin:lC},Symbol.toStringTag,{value:"Module"})),...oC};function aC(e,o){return Ot(e,new oe.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,l){return oe.isNode&&b.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},o))}function sC(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(o=>o[0]==="[]"?"":o[1]||o[0])}function cC(e){const o={},n=Object.keys(e);let i;const r=n.length;let l;for(i=0;i<r;i++)l=n[i],o[l]=e[l];return o}function qr(e){function o(n,i,r,l){let a=n[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=l>=n.length;return a=!a&&b.isArray(r)?r.length:a,c?(b.hasOwnProp(r,a)?r[a]=[r[a],i]:r[a]=i,!s):((!r[a]||!b.isObject(r[a]))&&(r[a]=[]),o(n,i,r[a],l)&&b.isArray(r[a])&&(r[a]=cC(r[a])),!s)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(i,r)=>{o(sC(i),r,n,0)}),n}return null}function dC(e,o,n){if(b.isString(e))try{return(o||JSON.parse)(e),b.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Xe={transitional:jr,adapter:["xhr","http","fetch"],transformRequest:[function(o,n){const i=n.getContentType()||"",r=i.indexOf("application/json")>-1,l=b.isObject(o);if(l&&b.isHTMLForm(o)&&(o=new FormData(o)),b.isFormData(o))return r?JSON.stringify(qr(o)):o;if(b.isArrayBuffer(o)||b.isBuffer(o)||b.isStream(o)||b.isFile(o)||b.isBlob(o)||b.isReadableStream(o))return o;if(b.isArrayBufferView(o))return o.buffer;if(b.isURLSearchParams(o))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let s;if(l){if(i.indexOf("application/x-www-form-urlencoded")>-1)return aC(o,this.formSerializer).toString();if((s=b.isFileList(o))||i.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ot(s?{"files[]":o}:o,c&&new c,this.formSerializer)}}return l||r?(n.setContentType("application/json",!1),dC(o)):o}],transformResponse:[function(o){const n=this.transitional||Xe.transitional,i=n&&n.forcedJSONParsing,r=this.responseType==="json";if(b.isResponse(o)||b.isReadableStream(o))return o;if(o&&b.isString(o)&&(i&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(o)}catch(s){if(a)throw s.name==="SyntaxError"?F.from(s,F.ERR_BAD_RESPONSE,this,null,this.response):s}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:oe.classes.FormData,Blob:oe.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],e=>{Xe.headers[e]={}});const mC=b.toObjectSet(["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"]),uC=e=>{const o={};let n,i,r;return e&&e.split(`
5
+ `).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim(),!(!n||o[n]&&mC[n])&&(n==="set-cookie"?o[n]?o[n].push(i):o[n]=[i]:o[n]=o[n]?o[n]+", "+i:i)}),o},zr=Symbol("internals");function Ye(e){return e&&String(e).trim().toLowerCase()}function Ft(e){return e===!1||e==null?e:b.isArray(e)?e.map(Ft):String(e)}function fC(e){const o=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)o[i[1]]=i[2];return o}const hC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $n(e,o,n,i,r){if(b.isFunction(i))return i.call(this,o,n);if(r&&(o=n),!!b.isString(o)){if(b.isString(i))return o.indexOf(i)!==-1;if(b.isRegExp(i))return i.test(o)}}function pC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,n,i)=>n.toUpperCase()+i)}function gC(e,o){const n=b.toCamelCase(" "+o);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,l,a){return this[i].call(this,o,r,l,a)},configurable:!0})})}class K{constructor(o){o&&this.set(o)}set(o,n,i){const r=this;function l(s,c,d){const m=Ye(c);if(!m)throw new Error("header name must be a non-empty string");const u=b.findKey(r,m);(!u||r[u]===void 0||d===!0||d===void 0&&r[u]!==!1)&&(r[u||c]=Ft(s))}const a=(s,c)=>b.forEach(s,(d,m)=>l(d,m,c));if(b.isPlainObject(o)||o instanceof this.constructor)a(o,n);else if(b.isString(o)&&(o=o.trim())&&!hC(o))a(uC(o),n);else if(b.isHeaders(o))for(const[s,c]of o.entries())l(c,s,i);else o!=null&&l(n,o,i);return this}get(o,n){if(o=Ye(o),o){const i=b.findKey(this,o);if(i){const r=this[i];if(!n)return r;if(n===!0)return fC(r);if(b.isFunction(n))return n.call(this,r,i);if(b.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,n){if(o=Ye(o),o){const i=b.findKey(this,o);return!!(i&&this[i]!==void 0&&(!n||$n(this,this[i],i,n)))}return!1}delete(o,n){const i=this;let r=!1;function l(a){if(a=Ye(a),a){const s=b.findKey(i,a);s&&(!n||$n(i,i[s],s,n))&&(delete i[s],r=!0)}}return b.isArray(o)?o.forEach(l):l(o),r}clear(o){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const l=n[i];(!o||$n(this,this[l],l,o,!0))&&(delete this[l],r=!0)}return r}normalize(o){const n=this,i={};return b.forEach(this,(r,l)=>{const a=b.findKey(i,l);if(a){n[a]=Ft(r),delete n[l];return}const s=o?pC(l):String(l).trim();s!==l&&delete n[l],n[s]=Ft(r),i[s]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const n=Object.create(null);return b.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=o&&b.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,n])=>o+": "+n).join(`
6
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...n){const i=new this(o);return n.forEach(r=>i.set(r)),i}static accessor(o){const i=(this[zr]=this[zr]={accessors:{}}).accessors,r=this.prototype;function l(a){const s=Ye(a);i[s]||(gC(r,a),i[s]=!0)}return b.isArray(o)?o.forEach(l):l(o),this}}K.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),b.reduceDescriptors(K.prototype,({value:e},o)=>{let n=o[0].toUpperCase()+o.slice(1);return{get:()=>e,set(i){this[n]=i}}}),b.freezeMethods(K);function vn(e,o){const n=this||Xe,i=o||n,r=K.from(i.headers);let l=i.data;return b.forEach(e,function(s){l=s.call(n,l,r.normalize(),o?o.status:void 0)}),r.normalize(),l}function Hr(e){return!!(e&&e.__CANCEL__)}function De(e,o,n){F.call(this,e??"canceled",F.ERR_CANCELED,o,n),this.name="CanceledError"}b.inherits(De,F,{__CANCEL__:!0});function Ur(e,o,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):o(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function yC(e){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return o&&o[1]||""}function bC(e,o){e=e||10;const n=new Array(e),i=new Array(e);let r=0,l=0,a;return o=o!==void 0?o:1e3,function(c){const d=Date.now(),m=i[l];a||(a=d),n[r]=c,i[r]=d;let u=l,p=0;for(;u!==r;)p+=n[u++],u=u%e;if(r=(r+1)%e,r===l&&(l=(l+1)%e),d-a<o)return;const f=m&&d-m;return f?Math.round(p*1e3/f):void 0}}function kC(e,o){let n=0;const i=1e3/o;let r=null;return function(){const a=this===!0,s=Date.now();if(a||s-n>i)return r&&(clearTimeout(r),r=null),n=s,e.apply(null,arguments);r||(r=setTimeout(()=>(r=null,n=Date.now(),e.apply(null,arguments)),i-(s-n)))}}const Pt=(e,o,n=3)=>{let i=0;const r=bC(50,250);return kC(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-i,d=r(c),m=a<=s;i=a;const u={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-a)/d:void 0,event:l,lengthComputable:s!=null};u[o?"download":"upload"]=!0,e(u)},n)},CC=oe.hasStandardBrowserEnv?function(){const o=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function r(l){let a=l;return o&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(a){const s=b.isString(a)?r(a):a;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),wC=oe.hasStandardBrowserEnv?{write(e,o,n,i,r,l){const a=[e+"="+encodeURIComponent(o)];b.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),b.isString(i)&&a.push("path="+i),b.isString(r)&&a.push("domain="+r),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const o=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function BC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xC(e,o){return o?e.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):e}function Wr(e,o){return e&&!BC(o)?xC(e,o):o}const Gr=e=>e instanceof K?{...e}:e;function _e(e,o){o=o||{};const n={};function i(d,m,u){return b.isPlainObject(d)&&b.isPlainObject(m)?b.merge.call({caseless:u},d,m):b.isPlainObject(m)?b.merge({},m):b.isArray(m)?m.slice():m}function r(d,m,u){if(b.isUndefined(m)){if(!b.isUndefined(d))return i(void 0,d,u)}else return i(d,m,u)}function l(d,m){if(!b.isUndefined(m))return i(void 0,m)}function a(d,m){if(b.isUndefined(m)){if(!b.isUndefined(d))return i(void 0,d)}else return i(void 0,m)}function s(d,m,u){if(u in o)return i(d,m);if(u in e)return i(void 0,d)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(d,m)=>r(Gr(d),Gr(m),!0)};return b.forEach(Object.keys(Object.assign({},e,o)),function(m){const u=c[m]||r,p=u(e[m],o[m],m);b.isUndefined(p)&&u!==s||(n[m]=p)}),n}const Jr=e=>{const o=_e({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:l,headers:a,auth:s}=o;o.headers=a=K.from(a),o.url=Dr(Wr(o.baseURL,o.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(b.isFormData(n)){if(oe.hasStandardBrowserEnv||oe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...m]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...m].join("; "))}}if(oe.hasStandardBrowserEnv&&(i&&b.isFunction(i)&&(i=i(o)),i||i!==!1&&CC(o.url))){const d=r&&l&&wC.read(l);d&&a.set(r,d)}return o},_C=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,i){const r=Jr(e);let l=r.data;const a=K.from(r.headers).normalize();let{responseType:s}=r,c;function d(){r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function u(){if(!m)return;const f=K.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:f,config:e,request:m};Ur(function(B){n(B),d()},function(B){i(B),d()},y),m=null}"onloadend"in m?m.onloadend=u:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(u)},m.onabort=function(){m&&(i(new F("Request aborted",F.ECONNABORTED,r,m)),m=null)},m.onerror=function(){i(new F("Network Error",F.ERR_NETWORK,r,m)),m=null},m.ontimeout=function(){let h=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const y=r.transitional||jr;r.timeoutErrorMessage&&(h=r.timeoutErrorMessage),i(new F(h,y.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,r,m)),m=null},l===void 0&&a.setContentType(null),"setRequestHeader"in m&&b.forEach(a.toJSON(),function(h,y){m.setRequestHeader(y,h)}),b.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&m.addEventListener("progress",Pt(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",Pt(r.onUploadProgress)),(r.cancelToken||r.signal)&&(c=f=>{m&&(i(!f||f.type?new De(null,e,m):f),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const p=yC(r.url);if(p&&oe.protocols.indexOf(p)===-1){i(new F("Unsupported protocol "+p+":",F.ERR_BAD_REQUEST,e));return}m.send(l||null)})},EC=(e,o)=>{let n=new AbortController,i;const r=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;n.abort(d instanceof F?d:new De(d instanceof Error?d.message:d))}};let l=o&&setTimeout(()=>{r(new F(`timeout ${o} of ms exceeded`,F.ETIMEDOUT))},o);const a=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",r):c.unsubscribe(r))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{l&&clearTimeout(l),l=null}]},SC=function*(e,o){let n=e.byteLength;if(!o||n<o){yield e;return}let i=0,r;for(;i<n;)r=i+o,yield e.slice(i,r),i=r},TC=async function*(e,o,n){for await(const i of e)yield*SC(ArrayBuffer.isView(i)?i:await n(String(i)),o)},Kr=(e,o,n,i,r)=>{const l=TC(e,o,r);let a=0;return new ReadableStream({type:"bytes",async pull(s){const{done:c,value:d}=await l.next();if(c){s.close(),i();return}let m=d.byteLength;n&&n(a+=m),s.enqueue(new Uint8Array(d))},cancel(s){return i(s),l.return()}},{highWaterMark:2})},Zr=(e,o)=>{const n=e!=null;return i=>setTimeout(()=>o({lengthComputable:n,total:e,loaded:i}))},It=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xr=It&&typeof ReadableStream=="function",eo=It&&(typeof TextEncoder=="function"?(e=>o=>e.encode(o))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),VC=Xr&&(()=>{let e=!1;const o=new Request(oe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!o})(),Yr=64*1024,to=Xr&&!!(()=>{try{return b.isReadableStream(new Response("").body)}catch{}})(),Lt={stream:to&&(e=>e.body)};It&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(o=>{!Lt[o]&&(Lt[o]=b.isFunction(e[o])?n=>n[o]():(n,i)=>{throw new F(`Response type '${o}' is not supported`,F.ERR_NOT_SUPPORT,i)})})})(new Response);const NC=async e=>{if(e==null)return 0;if(b.isBlob(e))return e.size;if(b.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(b.isArrayBufferView(e))return e.byteLength;if(b.isURLSearchParams(e)&&(e=e+""),b.isString(e))return(await eo(e)).byteLength},OC=async(e,o)=>{const n=b.toFiniteNumber(e.getContentLength());return n??NC(o)},no={http:vk,xhr:_C,fetch:It&&(async e=>{let{url:o,method:n,data:i,signal:r,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Jr(e);d=d?(d+"").toLowerCase():"text";let[f,h]=r||l||a?EC([r,l],a):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let _;try{if(c&&VC&&n!=="get"&&n!=="head"&&(_=await OC(m,i))!==0){let w=new Request(o,{method:"POST",body:i,duplex:"half"}),E;b.isFormData(i)&&(E=w.headers.get("content-type"))&&m.setContentType(E),w.body&&(i=Kr(w.body,Yr,Zr(_,Pt(c)),null,eo))}b.isString(u)||(u=u?"cors":"omit"),g=new Request(o,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:i,duplex:"half",withCredentials:u});let x=await fetch(g);const T=to&&(d==="stream"||d==="response");if(to&&(s||T)){const w={};["status","statusText","headers"].forEach(L=>{w[L]=x[L]});const E=b.toFiniteNumber(x.headers.get("content-length"));x=new Response(Kr(x.body,Yr,s&&Zr(E,Pt(s,!0)),T&&B,eo),w)}d=d||"text";let O=await Lt[b.findKey(Lt,d)||"text"](x,e);return!T&&B(),h&&h(),await new Promise((w,E)=>{Ur(w,E,{data:O,headers:K.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:g})})}catch(x){throw B(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,e,g),{cause:x.cause||x}):F.from(x,x&&x.code,e,g)}})};b.forEach(no,(e,o)=>{if(e){try{Object.defineProperty(e,"name",{value:o})}catch{}Object.defineProperty(e,"adapterName",{value:o})}});const Qr=e=>`- ${e}`,FC=e=>b.isFunction(e)||e===null||e===!1,$r={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:o}=e;let n,i;const r={};for(let l=0;l<o;l++){n=e[l];let a;if(i=n,!FC(n)&&(i=no[(a=String(n)).toLowerCase()],i===void 0))throw new F(`Unknown adapter '${a}'`);if(i)break;r[a||"#"+l]=i}if(!i){const l=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=o?l.length>1?`since :
7
+ `+l.map(Qr).join(`
8
+ `):" "+Qr(l[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:no};function oo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new De(null,e)}function vr(e){return oo(e),e.headers=K.from(e.headers),e.data=vn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$r.getAdapter(e.adapter||Xe.adapter)(e).then(function(i){return oo(e),i.data=vn.call(e,e.transformResponse,i),i.headers=K.from(i.headers),i},function(i){return Hr(i)||(oo(e),i&&i.response&&(i.response.data=vn.call(e,e.transformResponse,i.response),i.response.headers=K.from(i.response.headers))),Promise.reject(i)})}const el="1.7.2",io={};["object","boolean","number","function","string","symbol"].forEach((e,o)=>{io[e]=function(i){return typeof i===e||"a"+(o<1?"n ":" ")+e}});const tl={};io.transitional=function(o,n,i){function r(l,a){return"[Axios v"+el+"] Transitional option '"+l+"'"+a+(i?". "+i:"")}return(l,a,s)=>{if(o===!1)throw new F(r(a," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!tl[a]&&(tl[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),o?o(l,a,s):!0}};function PC(e,o,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const l=i[r],a=o[l];if(a){const s=e[l],c=s===void 0||a(s,l,e);if(c!==!0)throw new F("option "+l+" must be "+c,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+l,F.ERR_BAD_OPTION)}}const ro={assertOptions:PC,validators:io},ye=ro.validators;class Ee{constructor(o){this.defaults=o,this.interceptors={request:new Rr,response:new Rr}}async request(o,n){try{return await this._request(o,n)}catch(i){if(i instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const l=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?l&&!String(i.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(i.stack+=`
9
+ `+l):i.stack=l}catch{}}throw i}}_request(o,n){typeof o=="string"?(n=n||{},n.url=o):n=o||{},n=_e(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:l}=n;i!==void 0&&ro.assertOptions(i,{silentJSONParsing:ye.transitional(ye.boolean),forcedJSONParsing:ye.transitional(ye.boolean),clarifyTimeoutError:ye.transitional(ye.boolean)},!1),r!=null&&(b.isFunction(r)?n.paramsSerializer={serialize:r}:ro.assertOptions(r,{encode:ye.function,serialize:ye.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=l&&b.merge(l.common,l[n.method]);l&&b.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=K.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(c=c&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let m,u=0,p;if(!c){const h=[vr.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,d),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=s.length;let f=n;for(u=0;u<p;){const h=s[u++],y=s[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=vr.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=d.length;u<p;)m=m.then(d[u++],d[u++]);return m}getUri(o){o=_e(this.defaults,o);const n=Wr(o.baseURL,o.url);return Dr(n,o.params,o.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(o){Ee.prototype[o]=function(n,i){return this.request(_e(i||{},{method:o,url:n,data:(i||{}).data}))}}),b.forEach(["post","put","patch"],function(o){function n(i){return function(l,a,s){return this.request(_e(s||{},{method:o,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:a}))}}Ee.prototype[o]=n(),Ee.prototype[o+"Form"]=n(!0)});class lo{constructor(o){if(typeof o!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const i=this;this.promise.then(r=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](r);i._listeners=null}),this.promise.then=r=>{let l;const a=new Promise(s=>{i.subscribe(s),l=s}).then(r);return a.cancel=function(){i.unsubscribe(l)},a},o(function(l,a,s){i.reason||(i.reason=new De(l,a,s),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const n=this._listeners.indexOf(o);n!==-1&&this._listeners.splice(n,1)}static source(){let o;return{token:new lo(function(r){o=r}),cancel:o}}}function IC(e){return function(n){return e.apply(null,n)}}function LC(e){return b.isObject(e)&&e.isAxiosError===!0}const ao={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ao).forEach(([e,o])=>{ao[o]=e});function nl(e){const o=new Ee(e),n=wr(Ee.prototype.request,o);return b.extend(n,Ee.prototype,o,{allOwnKeys:!0}),b.extend(n,o,null,{allOwnKeys:!0}),n.create=function(r){return nl(_e(e,r))},n}const q=nl(Xe);q.Axios=Ee,q.CanceledError=De,q.CancelToken=lo,q.isCancel=Hr,q.VERSION=el,q.toFormData=Ot,q.AxiosError=F,q.Cancel=q.CanceledError,q.all=function(o){return Promise.all(o)},q.spread=IC,q.isAxiosError=LC,q.mergeConfig=_e,q.AxiosHeaders=K,q.formToJSON=e=>qr(b.isHTMLForm(e)?new FormData(e):e),q.getAdapter=$r.getAdapter,q.HttpStatusCode=ao,q.default=q;const MC={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[Y,pk],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:{useTransition:{type:Boolean,default:!0},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},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(e=>e.includes("jpg"))},failedUpload(){return this.listOfFiles.some(e=>e.error)},totalBytesUploaded(){const e=this.listOfFiles.map(o=>[o.file.size,(o.progress||0)*o.file.size/100]).reduce((o,n)=>[o[0]+n[0],o[1]+n[1]]);return this.formatSize(e[1])+"/"+this.formatSize(e[0])},totalSize(){let e=0;for(let o=0;o<this.listOfFiles.length;o++)e=e+this.listOfFiles[o].file.size;return e},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 e=this.listOfFiles.map(o=>[o.file.size,(o.progress||0)*o.file.size/100]).reduce((o,n)=>[o[0]+n[0],o[1]+n[1]]);return e[1]/e[0]*100}},watch:{presetComment:{handler(e){this.comment=e},immediate:!0}},methods:{getPercentage(e){return e?e.toFixed(2)+"%":"0.00%"},getFileExtension(e){return Ie(e)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(e){this.dragOver(e)},dragOver(e){if(e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0){e.dataTransfer.dropEffect="none";let o=!0;for(let n=0,i=e.dataTransfer.items.length;n<i;++n)if(e.dataTransfer.items[n].kind!=="file"){o=!1;break}o&&(e.preventDefault(),e.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(e){this.allowDrop=!1,e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.length>0&&(e.preventDefault(),this.checkFiles(e.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(e=>{e.abortController&&e.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(e){this.checkFiles(e.target.files)},checkFiles(e){if(e.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let o=0;o<e.length;o++){const n={file:e[o],progress:null,uploadedBytes:0};if(e[o].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",e[o].name,e[o].size));continue}if(!this.allowedFileExtensions.includes(Ie(e[o].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",e[o].name,Ie(e[o].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(i=>this.compareFiles(i.file,e[o]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",e[o].name,Ie(e[o].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(n);else{e.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[n];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(e,o){return e.name===o.name&&e.lastModified===o.lastModified&&e.size===o.size},removeFile(e){this.listOfFiles.splice(e,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(e){return e<1024?e:e<1048576?e=Math.round(e/1024*100)/100+" KB":e=Math.round(e/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 e=new URL(this.uploadOptions.url,location.href),o=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([i,r])=>o.append(i,r)),this.enableComment&&o.append("comment",this.comment);const n=[];this.listOfFiles.forEach(i=>{n.push(this.uploadSingleFile(e,i,o))}),Promise.allSettled(n).then(i=>{const r=i.filter(l=>l.status==="rejected");this.uploadInitiated=!1,r.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:!r.length})})}else{let e={};e.listOfFiles=this.listOfFiles,e.type="upload",e.comment=this.comment,this.$emit("click",e,this.showMessage)}},onUploadProgress(e,o){e.lengthComputable?(o.progress=e.loaded/e.total*100,o.uploadedBytes=e.loaded):(o.progress=null,o.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(e,o,n){return o.abortController=new AbortController,n.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",o.file),q.post(e,n,{signal:o.abortController.signal,onUploadProgress:i=>this.onUploadProgress(i,o)}).then(i=>(this.$emit("upload-file-success",o),i)).then(i=>{const r=this.listOfFiles.indexOf(o);return r!==-1&&this.listOfFiles.splice(r,1),i}).catch(i=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(i),o.error=!0,new Error})},showMessage(e){e===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let o of e)typeof this.resetForm[o]=="object"?this[o]=JSON.parse(JSON.stringify(this.resetForm[o])):this[o]=this.resetForm[o]}}}},AC={key:0},DC={key:1,class:"flex-container vertical"},RC={key:0,class:"flex-container vertical list-files-wrapper"},jC={key:0,class:"list-of-files total-files"},qC={class:"flex-container no-flex"},zC=["title"],HC={key:0,class:"progressbar"},UC=["value","title"],WC=t.createElementVNode("hr",null,null,-1),GC={class:"flex-container vertical list-files-wrapper"},JC={class:"list-of-files"},KC=["title","onClick"],ZC={key:0,class:"progressbar"},XC=["value","title"],YC=["title"],QC=t.createElementVNode("hr",null,null,-1),$C={class:"upload-conditions"},vC={class:"small"},e0=["title"],t0={key:0,class:"list-of-file-extensions"},n0={class:"flex-container vertical no-gap"},o0=["disabled"],i0={key:0},r0={key:1},l0={class:"button-wrapper no-flex"},a0=["disabled"],s0={key:0},c0={key:1},d0={key:0,class:"progressbar"},m0=["value","title"];function u0(e,o,n,i,r,l){const a=j,s=Cr,c=A,d=U;return t.openBlock(),t.createElementBlock(t.Fragment,null,[n.advancedMode?(t.openBlock(),t.createElementBlock("fieldset",{key:0,class:t.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":r.uploadInitiated}])},[t.createElementVNode("legend",{class:t.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},t.toDisplayString(n.legend.text),3),n.cmdHeadlineFieldset?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):t.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(t.openBlock(),t.createBlock(s,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:e.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:t.withCtx(()=>[l.allSystemMessages.length>1?(t.openBlock(),t.createElementBlock("ul",AC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.allSystemMessages,(m,u)=>(t.openBlock(),t.createElementBlock("li",{key:u},t.toDisplayString(m),1))),128))])):t.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):t.createCommentVNode("",!0),t.createElementVNode("div",t.mergeProps({class:["box flex-container vertical",{"drop-area":n.enableDragAndDrop,"allow-drop":r.allowDrop}]},t.toHandlers(l.dragAndDropHandler,!0)),[r.listOfFiles.length?(t.openBlock(),t.createElementBlock("div",DC,[n.showTotalUpload&&r.listOfFiles.length!==1?(t.openBlock(),t.createElementBlock("div",RC,[t.createVNode(a,t.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&r.listOfFiles.length!==1?(t.openBlock(),t.createElementBlock("ul",jC,[t.createElementVNode("li",qC,[t.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:o[0]||(o[0]=t.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[t.createVNode(c,t.normalizeProps(t.guardReactiveProps(n.iconDelete)),null,16)],8,zC),t.createElementVNode("span",null,[t.createTextVNode(t.toDisplayString(r.listOfFiles.length)+" ",1),n.allowMultipleFileUploads?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),t.createElementVNode("small",{class:t.normalizeClass(["text-align-right",{error:n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize}])}," ("+t.toDisplayString(l.formatSize(l.totalSize))+") ",3),r.uploadInitiated?(t.openBlock(),t.createElementBlock("span",HC,[t.createElementVNode("span",null,t.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),t.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,UC)])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),WC])):t.createCommentVNode("",!0),t.createElementVNode("div",GC,[t.createVNode(a,t.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),t.createElementVNode("ul",JC,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.listOfFiles,(m,u)=>(t.openBlock(),t.createElementBlock("li",{key:u,class:"flex-container no-flex"},[t.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:t.withModifiers(p=>l.removeFile(u),["prevent"])},[t.createVNode(c,t.normalizeProps(t.guardReactiveProps(n.iconDelete)),null,16)],8,KC),t.createElementVNode("span",{class:t.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[t.createTextVNode(t.toDisplayString(m.file.name)+" ",1),t.createElementVNode("small",null,"("+t.toDisplayString(l.formatSize(m.file.size))+")",1)],2),r.uploadInitiated&&!m.error?(t.openBlock(),t.createElementBlock("span",ZC,[t.createElementVNode("span",null,t.toDisplayString(l.getPercentage(m.progress)),1),t.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,XC)])):t.createCommentVNode("",!0)]))),128))]),l.failedUpload?(t.openBlock(),t.createElementBlock("a",{key:0,href:"#",onClick:o[1]||(o[1]=t.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:e.getMessage("cmduploadform.all_files_will_be_removed")},t.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,YC)):t.createCommentVNode("",!0),QC])])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.allowMultipleFileUploads?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",$C,[n.allowMultipleFileUploads&&r.listOfFiles.length?(t.openBlock(),t.createBlock(a,t.mergeProps({key:0},n.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):t.createCommentVNode("",!0),!n.allowMultipleFileUploads&&r.listOfFiles.length?(t.openBlock(),t.createBlock(a,t.mergeProps({key:1},n.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):t.createCommentVNode("",!0),t.createElementVNode("dl",vC,[n.maxTotalUploadSize>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("dt",{class:t.normalizeClass({error:l.totalSize>n.maxTotalUploadSize})},t.toDisplayString(e.getMessage("cmduploadform.max_total_upload_size")),3),t.createElementVNode("dd",{class:t.normalizeClass(["text-align-right",{error:l.totalSize>n.maxTotalUploadSize}])},t.toDisplayString(l.formatSize(n.maxTotalUploadSize)),3)],64)):t.createCommentVNode("",!0),t.createElementVNode("dt",{class:t.normalizeClass({error:r.errors.fileSize})},t.toDisplayString(e.getMessage("cmduploadform.max_file_upload_size")),3),t.createElementVNode("dd",{class:t.normalizeClass(["text-align-right",{error:r.errors.fileSize}])},t.toDisplayString(l.formatSize(n.maxFileUploadSize)),3),t.createElementVNode("dt",{class:t.normalizeClass({error:r.errors.fileType})},t.toDisplayString(e.getMessage("cmduploadform.allowed_file_types")),3),t.createElementVNode("dd",null,[t.createElementVNode("a",{href:"#",onClick:o[2]||(o[2]=t.withModifiers(m=>r.showListOfFileExtensions=!r.showListOfFileExtensions,["prevent"])),title:e.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[t.createVNode(c,{iconClass:r.showListOfFileExtensions?n.iconInvisible.iconClass:n.iconVisible.iconClass,type:r.showListOfFileExtensions?n.iconInvisible.iconType:n.iconVisible.iconType},null,8,["iconClass","type"])],8,e0),t.createVNode(t.Transition,{name:n.useTransition?"fade":null},{default:t.withCtx(()=>[r.showListOfFileExtensions?(t.openBlock(),t.createElementBlock("ul",t0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.allowedFileExtensions,(m,u)=>(t.openBlock(),t.createElementBlock("li",{key:u,class:t.normalizeClass({error:r.errors.fileType})},t.toDisplayString(m),3))),128))])):t.createCommentVNode("",!0)]),_:1},8,["name"])])])]),t.createElementVNode("div",n0,[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["button upload primary",{disabled:r.uploadInitiated}]),disabled:r.uploadInitiated,onClick:o[3]||(o[3]=m=>l.selectFiles())},[t.createVNode(c,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(t.openBlock(),t.createElementBlock("span",i0,t.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(t.openBlock(),t.createElementBlock("span",r0,t.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,o0),n.enableDragAndDrop?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(["text-drag-and-drop",{disabled:r.uploadInitiated}])},[t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmduploadform.or")),1),t.createElementVNode("strong",null,[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&r.listOfFiles.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.additional")),1)],64)):t.createCommentVNode("",!0),!n.allowMultipleFileUploads&&r.listOfFiles.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.getMessage("cmduploadform.new")),1)],64)):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.getMessage("cmduploadform.files_to_this_area")),1)])],2)):t.createCommentVNode("",!0)])],16),n.enableComment?(t.openBlock(),t.createBlock(d,{key:2,element:"textarea",labelText:e.getMessage("cmduploadform.labeltext.comment"),modelValue:r.comment,"onUpdate:modelValue":o[4]||(o[4]=m=>r.comment=m),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):t.createCommentVNode("",!0),t.createElementVNode("div",l0,[t.createElementVNode("button",{class:t.normalizeClass(["button primary",{disabled:r.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||r.uploadInitiated}]),disabled:r.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||r.uploadInitiated,onClick:o[5]||(o[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[t.createVNode(c,t.normalizeProps(t.guardReactiveProps(n.iconUpload)),null,16),r.listOfFiles.length===1||!n.allowMultipleFileUploads?(t.openBlock(),t.createElementBlock("span",s0,t.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(t.openBlock(),t.createElementBlock("span",c0,t.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,a0),t.createElementVNode("button",{class:t.normalizeClass(["button",{disabled:r.listOfFiles.length===0}]),onClick:o[6]||(o[6]=(...m)=>l.cancel&&l.cancel(...m))},[t.createVNode(c,t.normalizeProps(t.guardReactiveProps(n.iconCancel)),null,16),t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(t.openBlock(),t.createElementBlock("a",t.mergeProps({key:1,href:"#",onClick:o[7]||(o[7]=t.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":r.allowDrop}]},t.toHandlers(l.dragAndDropHandler,!0)),[r.uploadInitiated?(t.openBlock(),t.createElementBlock("span",d0,[t.createElementVNode("span",null,t.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),t.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,m0)])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default",{},()=>[n.enableDragAndDrop?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmduploadform.drag_and_drop_file_here")),1),t.createVNode(c,{iconClass:n.iconDragAndDrop.iconClass,type:n.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[l.fileTypeImage?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmduploadform.select_image")),1),t.createVNode(c,{iconClass:n.iconImage.iconClass,type:n.iconImage.iconType},null,8,["iconClass","type"])],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("span",null,t.toDisplayString(e.getMessage("cmduploadform.select_file")),1),t.createVNode(c,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),t.createElementVNode("small",null,t.toDisplayString(e.getMessage("cmduploadform.max_upload_size"))+" "+t.toDisplayString(l.formatSize(n.maxFileUploadSize)),1),t.createElementVNode("small",null,t.toDisplayString(e.getMessage("cmduploadform.allowed_file_types"))+" "+t.toDisplayString(n.allowedFileExtensions),1)])],16)),t.createVNode(d,{element:"input",type:"file",labelText:e.getMessage("cmduploadform.labeltext.select_files"),disabled:r.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const f0=V(MC,[["render",u0]]),h0={name:"CmdWidthLimitationWrapper",props:{containerType:{type:String,default:"flex"},innerComponent:{type:String,default:"section",validator(e){return e}},useInnerSection:{type:Boolean,default:!0},useFullDeviceWidth:{type:Boolean,default:!1},sticky:{type:Boolean,default:!1},anchorId:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){if(this.useFullDeviceWidth)return"full-width";if(this.innerComponent==="header")return"grid-container-create-columns";if(this.innerComponent==="footer")return"flex-container";if(this.containerType==="grid")return"grid-container-create-columns";if(this.containerType==="flex"){if(this.contentOrientation==="horizontal")return"flex-container";if(this.contentOrientation==="vertical")return"flex-container vertical"}return""}},methods:{oneSlotItem(){const e=this.$slots.default();return e.length===1&&typeof e[0].type=="symbol"&&Array.isArray(e[0].children)?e[0].children.length===1:e.length===1}}},p0=["id"],g0=["id"];function y0(e,o,n,i,r,l){const a=j;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["cmd-width-limitation-wrapper",{sticky:n.sticky}]),ref:"width-limitation-wrapper"},[n.useInnerSection?(t.openBlock(),t.createElementBlock("section",{key:0,class:t.normalizeClass(l.setInnerClass),id:n.anchorId},[n.cmdHeadline?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},n.cmdHeadline)),null,16)):t.createCommentVNode("",!0),l.oneSlotItem()?t.renderSlot(e.$slots,"default",{key:1}):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(l.setInnerClass)},[t.renderSlot(e.$slots,"default")],2))],10,p0)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.anchorId?(t.openBlock(),t.createElementBlock("a",{key:0,id:n.anchorId},null,8,g0)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"default")],64))],2)}const b0=V(h0,[["render",y0]]),k0={name:"ContactInformation",props:{cmdBasicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},C0={key:1,class:"flex-container"},w0={class:"flex-container vertical"};function B0(e,o,n,i,r,l){const a=or,s=$i,c=fr;return l.contactFormOnly?(t.openBlock(),t.createBlock(a,t.normalizeProps(t.mergeProps({key:0},e.basicForm)),null,16)):(t.openBlock(),t.createElementBlock("div",C0,[t.createVNode(a,t.normalizeProps(t.guardReactiveProps(e.basicForm)),null,16),t.createElementVNode("div",w0,[n.cmdAddressData?(t.openBlock(),t.createBlock(s,t.normalizeProps(t.mergeProps({key:0},n.cmdAddressData)),null,16)):t.createCommentVNode("",!0),n.cmdGoogleMaps?(t.openBlock(),t.createBlock(c,t.normalizeProps(t.mergeProps({key:1},n.cmdGoogleMaps)),null,16)):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"additional-info")])]))}const x0=V(k0,[["render",B0]]),_0={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},E0={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function S0(e,o,n,i,r,l){const a=Wn,s=sr;return t.openBlock(),t.createElementBlock("div",E0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.segments,(c,d)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:d},[t.createVNode(s,t.normalizeProps(t.guardReactiveProps(c)),{default:t.withCtx(m=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.boxes,(u,p)=>(t.openBlock(),t.createBlock(a,t.mergeProps({"use-slots":["box-body"],key:p},u,{rowView:m.rowView}),{default:t.withCtx(()=>[t.createTextVNode(" box "+t.toDisplayString(u),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),t.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const T0=V(_0,[["render",S0]]),V0={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},N0={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function O0(e,o,n,i,r,l){const a=Hn;return t.openBlock(),t.createElementBlock("div",N0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.segments,(s,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createVNode(a,{links:s.links,orientation:s.orientation,largeIcons:s.largeIcons,cmdHeadline:s.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),t.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const F0=V(V0,[["render",O0]]),P0={mounted(e){if(e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="A")e.focus();else{const o=e.querySelector("input, select, textarea");o?o.focus():console.warn("No input-element for focus-directive on element "+e.tagName+" found!")}}},I0={mounted(e,o){if(o.value&&typeof o.value=="string"){let n=/[^\d]/g,i=o.value.replace(/^\s*\+/,"00");e.href="tel:"+i.replace(n,"")}}};var L0=Object.defineProperty,M0=(e,o,n)=>o in e?L0(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,Mt=(e,o,n)=>M0(e,typeof o!="symbol"?o+"":o,n);const Qe=/^[a-z0-9]+(-[a-z0-9]+)*$/,At=(e,o,n,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),c=r.pop(),d={provider:r.length>0?r[0]:i,prefix:c,name:s};return o&&!Dt(d)?null:d}const l=r[0],a=l.split("-");if(a.length>1){const s={provider:i,prefix:a.shift(),name:a.join("-")};return o&&!Dt(s)?null:s}if(n&&i===""){const s={provider:i,prefix:"",name:l};return o&&!Dt(s,n)?null:s}return null},Dt=(e,o)=>e?!!((e.provider===""||e.provider.match(Qe))&&(o&&e.prefix===""||e.prefix.match(Qe))&&e.name.match(Qe)):!1,ol=Object.freeze({left:0,top:0,width:16,height:16}),Rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jt=Object.freeze({...ol,...Rt}),so=Object.freeze({...jt,body:"",hidden:!1});function A0(e,o){const n={};!e.hFlip!=!o.hFlip&&(n.hFlip=!0),!e.vFlip!=!o.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(o.rotate||0))%4;return i&&(n.rotate=i),n}function il(e,o){const n=A0(e,o);for(const i in so)i in Rt?i in e&&!(i in n)&&(n[i]=Rt[i]):i in o?n[i]=o[i]:i in e&&(n[i]=e[i]);return n}function D0(e,o){const n=e.icons,i=e.aliases||{},r=Object.create(null);function l(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=i[a]&&i[a].parent,c=s&&l(s);c&&(r[a]=[s].concat(c))}return r[a]}return Object.keys(n).concat(Object.keys(i)).forEach(l),r}function R0(e,o,n){const i=e.icons,r=e.aliases||{};let l={};function a(s){l=il(i[s]||r[s],l)}return a(o),n.forEach(a),il(e,l)}function rl(e,o){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{o(r,null),n.push(r)});const i=D0(e);for(const r in i){const l=i[r];l&&(o(r,R0(e,r,l)),n.push(r))}return n}const j0={provider:"",aliases:{},not_found:{},...ol};function co(e,o){for(const n in o)if(n in e&&typeof e[n]!=typeof o[n])return!1;return!0}function ll(e){if(typeof e!="object"||e===null)return null;const o=e;if(typeof o.prefix!="string"||!e.icons||typeof e.icons!="object"||!co(e,j0))return null;const n=o.icons;for(const r in n){const l=n[r];if(!r.match(Qe)||typeof l.body!="string"||!co(l,so))return null}const i=o.aliases||{};for(const r in i){const l=i[r],a=l.parent;if(!r.match(Qe)||typeof a!="string"||!n[a]&&!i[a]||!co(l,so))return null}return o}const al=Object.create(null);function q0(e,o){return{provider:e,prefix:o,icons:Object.create(null),missing:new Set}}function Se(e,o){const n=al[e]||(al[e]=Object.create(null));return n[o]||(n[o]=q0(e,o))}function mo(e,o){return ll(o)?rl(o,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function z0(e,o,n){try{if(typeof n.body=="string")return e.icons[o]={...n},!0}catch{}return!1}let $e=!1;function sl(e){return typeof e=="boolean"&&($e=e),$e}function H0(e){const o=typeof e=="string"?At(e,!0,$e):e;if(o){const n=Se(o.provider,o.prefix),i=o.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function U0(e,o){const n=At(e,!0,$e);if(!n)return!1;const i=Se(n.provider,n.prefix);return z0(i,n.name,o)}function cl(e,o){if(typeof e!="object")return!1;if(typeof o!="string"&&(o=e.provider||""),$e&&!o&&!e.prefix){let r=!1;return ll(e)&&(e.prefix="",rl(e,(l,a)=>{a&&U0(l,a)&&(r=!0)})),r}const n=e.prefix;if(!Dt({provider:o,prefix:n,name:"a"}))return!1;const i=Se(o,n);return!!mo(i,e)}const dl=Object.freeze({width:null,height:null}),ml=Object.freeze({...dl,...Rt}),W0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,G0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ul(e,o,n){if(o===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*o*n)/n;if(typeof e!="string")return e;const i=e.split(W0);if(i===null||!i.length)return e;const r=[];let l=i.shift(),a=G0.test(l);for(;;){if(a){const s=parseFloat(l);isNaN(s)?r.push(l):r.push(Math.ceil(s*o*n)/n)}else r.push(l);if(l=i.shift(),l===void 0)return r.join("");a=!a}}function J0(e,o){const n={...jt,...e},i={...ml,...o},r={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,i].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),f.push("scale(-1 1)"),r.top=r.left=0):y&&(f.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),f.push("scale(1 -1)"),r.top=r.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=r.height/2+r.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:B=r.width/2+r.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(r.left!==r.top&&(B=r.left,r.left=r.top,r.top=B),r.width!==r.height&&(B=r.width,r.width=r.height,r.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const a=i.width,s=i.height,c=r.width,d=r.height;let m,u;return a===null?(u=s===null?"1em":s==="auto"?d:s,m=ul(u,c/d)):(m=a==="auto"?c:a,u=s===null?ul(m,d/c):s==="auto"?d:s),{attributes:{width:m.toString(),height:u.toString(),viewBox:r.left.toString()+" "+r.top.toString()+" "+c.toString()+" "+d.toString()},body:l}}const K0=/\sid="(\S+)"/g,Z0="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let X0=0;function Y0(e,o=Z0){const n=[];let i;for(;i=K0.exec(e);)n.push(i[1]);return n.length&&n.forEach(r=>{const l=typeof o=="function"?o(r):o+(X0++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const uo=Object.create(null);function Q0(e,o){uo[e]=o}function fo(e){return uo[e]||uo[""]}function ho(e){let o;if(typeof e.resources=="string")o=[e.resources];else if(o=e.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const po=Object.create(null),qt=["https://api.simplesvg.com","https://api.unisvg.com"],go=[];for(;qt.length>0;)qt.length===1||Math.random()>.5?go.push(qt.shift()):go.push(qt.pop());po[""]=ho({resources:["https://api.iconify.design"].concat(go)});function $0(e,o){const n=ho(o);return n===null?!1:(po[e]=n,!0)}function yo(e){return po[e]}let fl=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function v0(e,o){const n=yo(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const l=o+".json?icons=";i=n.maxURL-r-n.path.length-l.length}return i}function ew(e){return e===404}const tw=(e,o,n)=>{const i=[],r=v0(e,o),l="icons";let a={type:l,provider:e,prefix:o,icons:[]},s=0;return n.forEach((c,d)=>{s+=c.length+1,s>=r&&d>0&&(i.push(a),a={type:l,provider:e,prefix:o,icons:[]},s=c.length),a.icons.push(c)}),i.push(a),i};function nw(e){if(typeof e=="string"){const o=yo(e);if(o)return o.path}return"/"}const ow=(e,o,n)=>{if(!fl){n("abort",424);return}let i=nw(o.provider);switch(o.type){case"icons":{const l=o.prefix,a=o.icons.join(","),s=new URLSearchParams({icons:a});i+=l+".json?"+s.toString();break}case"custom":{const l=o.uri;i+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let r=503;fl(e+i).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{n(ew(a)?"abort":"next",a)});return}return r=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",r)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",r)})},iw={prepare:tw,send:ow};function rw(e){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,l)=>r.provider!==l.provider?r.provider.localeCompare(l.provider):r.prefix!==l.prefix?r.prefix.localeCompare(l.prefix):r.name.localeCompare(l.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const l=r.provider,a=r.prefix,s=r.name,c=n[l]||(n[l]=Object.create(null)),d=c[a]||(c[a]=Se(l,a));let m;s in d.icons?m=o.loaded:a===""||d.missing.has(s)?m=o.missing:m=o.pending;const u={provider:l,prefix:a,name:s};m.push(u)}),o}function hl(e,o){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(r=>r.id!==o))})}function lw(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const o=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const i=e.provider,r=e.prefix;o.forEach(l=>{const a=l.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==r)return!0;const d=c.name;if(e.icons[d])a.loaded.push({provider:i,prefix:r,name:d});else if(e.missing.has(d))a.missing.push({provider:i,prefix:r,name:d});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||hl([e],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let aw=0;function sw(e,o,n){const i=aw++,r=hl.bind(null,n,i);if(!o.pending.length)return r;const l={id:i,icons:o,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),r}function cw(e,o=!0,n=!1){const i=[];return e.forEach(r=>{const l=typeof r=="string"?At(r,o,n):r;l&&i.push(l)}),i}var dw={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function mw(e,o,n,i){const r=e.resources.length,l=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let w=e.resources.slice(0);for(a=[];w.length>1;){const E=Math.floor(Math.random()*w.length);a.push(w[E]),w=w.slice(0,E).concat(w.slice(E+1))}a=a.concat(w)}else a=e.resources.slice(l).concat(e.resources.slice(0,l));const s=Date.now();let c="pending",d=0,m,u=null,p=[],f=[];typeof i=="function"&&f.push(i);function h(){u&&(clearTimeout(u),u=null)}function y(){c==="pending"&&(c="aborted"),h(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function g(w,E){E&&(f=[]),typeof w=="function"&&f.push(w)}function B(){return{startTime:s,payload:o,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:y}}function _(){c="failed",f.forEach(w=>{w(void 0,m)})}function x(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function T(w,E,L){const R=E!=="success";switch(p=p.filter(M=>M!==w),c){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=L,_();return}if(R){m=L,p.length||(a.length?O():_());return}if(h(),x(),!e.random){const M=e.resources.indexOf(w.resource);M!==-1&&M!==e.index&&(e.index=M)}c="completed",f.forEach(M=>{M(L)})}function O(){if(c!=="pending")return;h();const w=a.shift();if(w===void 0){if(p.length){u=setTimeout(()=>{h(),c==="pending"&&(x(),_())},e.timeout);return}_();return}const E={status:"pending",resource:w,callback:(L,R)=>{T(E,L,R)}};p.push(E),d++,u=setTimeout(O,e.rotate),n(w,o,E.callback)}return setTimeout(O),B}function pl(e){const o={...dw,...e};let n=[];function i(){n=n.filter(a=>a().status==="pending")}function r(a,s,c){const d=mw(o,a,s,(m,u)=>{i(),c&&c(m,u)});return n.push(d),d}function l(a){return n.find(s=>a(s))||null}return{query:r,find:l,setIndex:a=>{o.index=a},getIndex:()=>o.index,cleanup:i}}function gl(){}const bo=Object.create(null);function uw(e){if(!bo[e]){const o=yo(e);if(!o)return;const n=pl(o),i={config:o,redundancy:n};bo[e]=i}return bo[e]}function fw(e,o,n){let i,r;if(typeof e=="string"){const l=fo(e);if(!l)return n(void 0,424),gl;r=l.send;const a=uw(e);a&&(i=a.redundancy)}else{const l=ho(e);if(l){i=pl(l);const a=e.resources?e.resources[0]:"",s=fo(a);s&&(r=s.send)}}return!i||!r?(n(void 0,424),gl):i.query(o,r,n)().abort}const yl="iconify2",ve="iconify",bl=ve+"-count",kl=ve+"-version",Cl=36e5,hw=168;function ko(e,o){try{return e.getItem(o)}catch{}}function Co(e,o,n){try{return e.setItem(o,n),!0}catch{}}function wl(e,o){try{e.removeItem(o)}catch{}}function wo(e,o){return Co(e,bl,o.toString())}function Bo(e){return parseInt(ko(e,bl))||0}const zt={local:!0,session:!0},Bl={local:new Set,session:new Set};let xo=!1;function pw(e){xo=e}let Ht=typeof window>"u"?{}:window;function xl(e){const o=e+"Storage";try{if(Ht&&Ht[o]&&typeof Ht[o].length=="number")return Ht[o]}catch{}zt[e]=!1}function _l(e,o){const n=xl(e);if(!n)return;const i=ko(n,kl);if(i!==yl){if(i){const s=Bo(n);for(let c=0;c<s;c++)wl(n,ve+c.toString())}Co(n,kl,yl),wo(n,0);return}const r=Math.floor(Date.now()/Cl)-hw,l=s=>{const c=ve+s.toString(),d=ko(n,c);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>r&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&o(m,s))return!0}catch{}wl(n,c)}};let a=Bo(n);for(let s=a-1;s>=0;s--)l(s)||(s===a-1?(a--,wo(n,a)):Bl[e].add(s))}function El(){if(!xo){pw(!0);for(const e in zt)_l(e,o=>{const n=o.data,i=o.provider,r=n.prefix,l=Se(i,r);if(!mo(l,n).length)return!1;const a=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,a):a,!0})}}function gw(e,o){const n=e.lastModifiedCached;if(n&&n>=o)return n===o;if(e.lastModifiedCached=o,n)for(const i in zt)_l(i,r=>{const l=r.data;return r.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===o});return!0}function yw(e,o){xo||El();function n(i){let r;if(!zt[i]||!(r=xl(i)))return;const l=Bl[i];let a;if(l.size)l.delete(a=Array.from(l).shift());else if(a=Bo(r),!wo(r,a+1))return;const s={cached:Math.floor(Date.now()/Cl),provider:e.provider,data:o};return Co(r,ve+a.toString(),JSON.stringify(s))}o.lastModified&&!gw(e,o.lastModified)||Object.keys(o.icons).length&&(o.not_found&&(o=Object.assign({},o),delete o.not_found),n("local")||n("session"))}function Sl(){}function bw(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lw(e)}))}function kw(e,o){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(o).sort():e.iconsToLoad=o,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,r=e.iconsToLoad;delete e.iconsToLoad;let l;!r||!(l=fo(n))||l.prepare(n,i,r).forEach(a=>{fw(n,a,(s,c)=>{if(typeof s!="object"){if(c!==404)return;a.icons.forEach(d=>{e.missing.add(d)})}else try{const d=mo(e,s);if(!d.length)return;const m=e.pendingIcons;m&&d.forEach(u=>{m.delete(u)}),yw(e,s)}catch(d){console.error(d)}bw(e)})})}))}const Cw=(e,o)=>{const n=cw(e,!0,sl()),i=rw(n);if(!i.pending.length){let c=!0;return o&&setTimeout(()=>{c&&o(i.loaded,i.missing,i.pending,Sl)}),()=>{c=!1}}const r=Object.create(null),l=[];let a,s;return i.pending.forEach(c=>{const{provider:d,prefix:m}=c;if(m===s&&d===a)return;a=d,s=m,l.push(Se(d,m));const u=r[d]||(r[d]=Object.create(null));u[m]||(u[m]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:m,name:u}=c,p=Se(d,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),r[d][m].push(u))}),l.forEach(c=>{const{provider:d,prefix:m}=c;r[d][m].length&&kw(c,r[d][m])}),o?sw(o,i,l):Sl};function ww(e,o){const n={...e};for(const i in o){const r=o[i],l=typeof r;i in dl?(r===null||r&&(l==="string"||l==="number"))&&(n[i]=r):l===typeof n[i]&&(n[i]=i==="rotate"?r%4:r)}return n}const Bw=/[\s,]+/;function xw(e,o){o.split(Bw).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function _w(e,o=0){const n=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/r,l%1===0?i(l):0)}}return o}function Ew(e,o){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in o)n+=" "+i+'="'+o[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Sw(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Tw(e){return'url("data:image/svg+xml,'+Sw(e)+'")'}const Tl={...ml,inline:!1},Vw={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Nw={display:"inline-block"},_o={backgroundColor:"currentColor"},Vl={backgroundColor:"transparent"},Nl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ol={webkitMask:_o,mask:_o,background:Vl};for(const e in Ol){const o=Ol[e];for(const n in Nl)o[e+n]=Nl[n]}const Ut={};["horizontal","vertical"].forEach(e=>{const o=e.slice(0,1)+"Flip";Ut[e+"-flip"]=o,Ut[e.slice(0,1)+"-flip"]=o,Ut[e+"Flip"]=o});function Fl(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pl=(e,o)=>{const n=ww(Tl,o),i={...Vw},r=o.mode||"svg",l={},a=o.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in o){const g=o[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&xw(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=_w(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete i["aria-hidden"];break;default:{const B=Ut[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):Tl[y]===void 0&&(i[y]=g)}}}const c=J0(e,n),d=c.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),r==="svg"){i.style={...l,...s},Object.assign(i,d);let y=0,g=o.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),i.innerHTML=Y0(c.body,g?()=>g+"ID"+y++:"iconifyVue"),t.h("svg",i)}const{body:m,width:u,height:p}=e,f=r==="mask"||(r==="bg"?!1:m.indexOf("currentColor")!==-1),h=Ew(m,{...d,width:u+"",height:p+""});return i.style={...l,"--svg":Tw(h),width:Fl(d.width),height:Fl(d.height),...Nw,...f?_o:Vl,...s},t.h("span",i)};if(sl(!0),Q0("",iw),typeof document<"u"&&typeof window<"u"){El();const e=window;if(e.IconifyPreload!==void 0){const o=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!cl(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const o=e.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const i="IconifyProviders["+n+"] is invalid.";try{const r=o[n];if(typeof r!="object"||!r||r.resources===void 0)continue;$0(n,r)||console.error(i)}catch{console.error(i)}}}}const Ow={...jt,body:""};t.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(e,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=At(e,!1,!0))===null)return this.abortLoading(),null;const i=H0(n);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:e,abort:Cw([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,o&&o(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:i,classes:r}}},render(){this.counter;const e=this.$attrs,o=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!o)return Pl(Ow,e);let n=e;return o.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+o.classes.join(" ")}),Pl({...jt,...o.data},n)}});function Fw(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(o==="x"?n:n&3|8).toString(16)})}function Pw(){return"cmd-"+Fw()}const Iw={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Pw()}},methods:{buildHtmlId(...e){return e.map(o=>o.replace(/\s/g,"")).join("")}}},Eo=class kn{constructor(o){Mt(this,"label"),this.label=o}validate(o){return[o.lastName.error,o.lastName.errorMessage]=this.validateRequired(o.lastName.value,kn.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[o.email.error,o.email.errorMessage]=this.validateRequired(o.email.value,kn.PATTERN_EMAIL,this.label("form_error_invalid_email"))[o.additionalText.error,o.additionalText.errorMessage]=this.validateRequired(o.additionalText.value,kn.PATTERN_MESSAGE,this.label("form_error_invalid_message")),o.acceptPrivacy.error=!1,o.error=o.lastName.error||o.email.error||o.additionalText.error,o}validatePrivacy(o){return o.acceptPrivacy.error=!o.acceptPrivacy.value,o.acceptPrivacy.errorMessage=o.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",o.error=o.error||o.acceptPrivacy.error,o}validateRequired(o,n,i){return!o||o.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(o)?[!0,i||this.label("form_error_invalid")]:[!1,""]}};Mt(Eo,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Mt(Eo,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Mt(Eo,"PATTERN_MESSAGE",/^.{2,500}$/);const Lw=e=>{const o=document.createElement("div");document.querySelector("body").appendChild(o),t.createApp(Mw,{...e,show:!0}).mount(o)},Mw=t.defineComponent({name:"CmdFancyBox",mixins:[Iw],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const o={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(o.src=this.fancyBoxImageUrl),o},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(e=>e.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(e){(await Aw(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let o=0;o<this.fancyBoxGallery.length;o++)if(this.fancyBoxGallery[o].image.id===e){this.index=o;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(e){this.showFancyBox=e},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function Aw(e){const o=await fetch(e,{method:"HEAD"});return o.ok?(o.headers.get("Content-Type")||"").split(";")[0]:"text/html"}cl({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
10
10
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
11
11
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
12
- <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});function pi(t,n){return function(){return t.apply(n,arguments)}}const{toString:aC}=Object.prototype,{getPrototypeOf:zo}=Object,_t=(t=>n=>{const o=aC.call(n);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),v=t=>(t=t.toLowerCase(),n=>_t(n)===t),St=t=>n=>typeof n===t,{isArray:Te}=Array,He=St("undefined");function sC(t){return t!==null&&!He(t)&&t.constructor!==null&&!He(t.constructor)&&Z(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const gi=v("ArrayBuffer");function cC(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&gi(t.buffer),n}const dC=St("string"),Z=St("function"),yi=St("number"),Et=t=>t!==null&&typeof t=="object",mC=t=>t===!0||t===!1,Tt=t=>{if(_t(t)!=="object")return!1;const n=zo(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},fC=v("Date"),uC=v("File"),hC=v("Blob"),pC=v("FileList"),gC=t=>Et(t)&&Z(t.pipe),yC=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||Z(t.append)&&((n=_t(t))==="formdata"||n==="object"&&Z(t.toString)&&t.toString()==="[object FormData]"))},kC=v("URLSearchParams"),[bC,CC,BC,wC]=["ReadableStream","Request","Response","Headers"].map(v),xC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function je(t,n,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Te(t))for(r=0,i=t.length;r<i;r++)n.call(null,t[r],r,t);else{const l=o?Object.getOwnPropertyNames(t):Object.keys(t),a=l.length;let s;for(r=0;r<a;r++)s=l[r],n.call(null,t[s],s,t)}}function ki(t,n){n=n.toLowerCase();const o=Object.keys(t);let r=o.length,i;for(;r-- >0;)if(i=o[r],n===i.toLowerCase())return i;return null}const bi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ci=t=>!He(t)&&t!==bi;function Ho(){const{caseless:t}=Ci(this)&&this||{},n={},o=(r,i)=>{const l=t&&ki(n,i)||i;Tt(n[l])&&Tt(r)?n[l]=Ho(n[l],r):Tt(r)?n[l]=Ho({},r):Te(r)?n[l]=r.slice():n[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&je(arguments[r],o);return n}const _C=(t,n,o,{allOwnKeys:r}={})=>(je(n,(i,l)=>{o&&Z(i)?t[l]=pi(i,o):t[l]=i},{allOwnKeys:r}),t),SC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),EC=(t,n,o,r)=>{t.prototype=Object.create(n.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),o&&Object.assign(t.prototype,o)},TC=(t,n,o,r)=>{let i,l,a;const s={};if(n=n||{},t==null)return n;do{for(i=Object.getOwnPropertyNames(t),l=i.length;l-- >0;)a=i[l],(!r||r(a,t,n))&&!s[a]&&(n[a]=t[a],s[a]=!0);t=o!==!1&&zo(t)}while(t&&(!o||o(t,n))&&t!==Object.prototype);return n},VC=(t,n,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=n.length;const r=t.indexOf(n,o);return r!==-1&&r===o},NC=t=>{if(!t)return null;if(Te(t))return t;let n=t.length;if(!yi(n))return null;const o=new Array(n);for(;n-- >0;)o[n]=t[n];return o},OC=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&zo(Uint8Array)),FC=(t,n)=>{const o=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=o.next())&&!r.done;){const i=r.value;n.call(t,i[0],i[1])}},IC=(t,n)=>{let o;const r=[];for(;(o=t.exec(n))!==null;)r.push(o);return r},MC=v("HTMLFormElement"),PC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Bi=(({hasOwnProperty:t})=>(n,o)=>t.call(n,o))(Object.prototype),LC=v("RegExp"),wi=(t,n)=>{const o=Object.getOwnPropertyDescriptors(t),r={};je(o,(i,l)=>{let a;(a=n(i,l,t))!==!1&&(r[l]=a||i)}),Object.defineProperties(t,r)},DC=t=>{wi(t,(n,o)=>{if(Z(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=t[o];if(Z(r)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},AC=(t,n)=>{const o={},r=i=>{i.forEach(l=>{o[l]=!0})};return Te(t)?r(t):r(String(t).split(n)),o},RC=()=>{},qC=(t,n)=>t!=null&&Number.isFinite(t=+t)?t:n,jo="abcdefghijklmnopqrstuvwxyz",xi="0123456789",_i={DIGIT:xi,ALPHA:jo,ALPHA_DIGIT:jo+jo.toUpperCase()+xi},zC=(t=16,n=_i.ALPHA_DIGIT)=>{let o="";const{length:r}=n;for(;t--;)o+=n[Math.random()*r|0];return o};function HC(t){return!!(t&&Z(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const jC=t=>{const n=new Array(10),o=(r,i)=>{if(Et(r)){if(n.indexOf(r)>=0)return;if(!("toJSON"in r)){n[i]=r;const l=Te(r)?[]:{};return je(r,(a,s)=>{const c=o(a,i+1);!He(c)&&(l[s]=c)}),n[i]=void 0,l}}return r};return o(t,0)},UC=v("AsyncFunction"),WC=t=>t&&(Et(t)||Z(t))&&Z(t.then)&&Z(t.catch),k={isArray:Te,isArrayBuffer:gi,isBuffer:sC,isFormData:yC,isArrayBufferView:cC,isString:dC,isNumber:yi,isBoolean:mC,isObject:Et,isPlainObject:Tt,isReadableStream:bC,isRequest:CC,isResponse:BC,isHeaders:wC,isUndefined:He,isDate:fC,isFile:uC,isBlob:hC,isRegExp:LC,isFunction:Z,isStream:gC,isURLSearchParams:kC,isTypedArray:OC,isFileList:pC,forEach:je,merge:Ho,extend:_C,trim:xC,stripBOM:SC,inherits:EC,toFlatObject:TC,kindOf:_t,kindOfTest:v,endsWith:VC,toArray:NC,forEachEntry:FC,matchAll:IC,isHTMLForm:MC,hasOwnProperty:Bi,hasOwnProp:Bi,reduceDescriptors:wi,freezeMethods:DC,toObjectSet:AC,toCamelCase:PC,noop:RC,toFiniteNumber:qC,findKey:ki,global:bi,isContextDefined:Ci,ALPHABET:_i,generateString:zC,isSpecCompliantForm:HC,toJSONObject:jC,isAsyncFn:UC,isThenable:WC};function O(t,n,o,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),o&&(this.config=o),r&&(this.request=r),i&&(this.response=i)}k.inherits(O,Error,{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:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Si=O.prototype,Ei={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Ei[t]={value:t}}),Object.defineProperties(O,Ei),Object.defineProperty(Si,"isAxiosError",{value:!0}),O.from=(t,n,o,r,i,l)=>{const a=Object.create(Si);return k.toFlatObject(t,a,function(s){return s!==Error.prototype},s=>s!=="isAxiosError"),O.call(a,t.message,n,o,r,i),a.cause=t,a.name=t.name,l&&Object.assign(a,l),a};const GC=null;function Uo(t){return k.isPlainObject(t)||k.isArray(t)}function Ti(t){return k.endsWith(t,"[]")?t.slice(0,-2):t}function Vi(t,n,o){return t?t.concat(n).map(function(r,i){return r=Ti(r),!o&&i?"["+r+"]":r}).join(o?".":""):n}function JC(t){return k.isArray(t)&&!t.some(Uo)}const KC=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Vt(t,n,o){if(!k.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,o=k.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(u,h){return!k.isUndefined(h[u])});const r=o.metaTokens,i=o.visitor||d,l=o.dots,a=o.indexes,s=(o.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(n);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(u){if(u===null)return"";if(k.isDate(u))return u.toISOString();if(!s&&k.isBlob(u))throw new O("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(u)||k.isTypedArray(u)?s&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function d(u,h,b){let g=u;if(u&&!b&&typeof u=="object"){if(k.endsWith(h,"{}"))h=r?h:h.slice(0,-2),u=JSON.stringify(u);else if(k.isArray(u)&&JC(u)||(k.isFileList(u)||k.endsWith(h,"[]"))&&(g=k.toArray(u)))return h=Ti(h),g.forEach(function(B,w){!(k.isUndefined(B)||B===null)&&n.append(a===!0?Vi([h],w,l):a===null?h:h+"[]",c(B))}),!1}return Uo(u)?!0:(n.append(Vi(b,h,l),c(u)),!1)}const m=[],f=Object.assign(KC,{defaultVisitor:d,convertValue:c,isVisitable:Uo});function p(u,h){if(!k.isUndefined(u)){if(m.indexOf(u)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(u),k.forEach(u,function(b,g){(!(k.isUndefined(b)||b===null)&&i.call(n,b,k.isString(g)?g.trim():g,h,f))===!0&&p(b,h?h.concat(g):[g])}),m.pop()}}if(!k.isObject(t))throw new TypeError("data must be an object");return p(t),n}function Ni(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return n[o]})}function Wo(t,n){this._pairs=[],t&&Vt(t,this,n)}const Oi=Wo.prototype;Oi.append=function(t,n){this._pairs.push([t,n])},Oi.toString=function(t){const n=t?function(o){return t.call(this,o,Ni)}:Ni;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ZC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fi(t,n,o){if(!n)return t;const r=o&&o.encode||ZC,i=o&&o.serialize;let l;if(i?l=i(n,o):l=k.isURLSearchParams(n)?n.toString():new Wo(n,o).toString(r),l){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+l}return t}class Ii{constructor(){this.handlers=[]}use(n,o,r){return this.handlers.push({fulfilled:n,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){k.forEach(this.handlers,function(o){o!==null&&n(o)})}}const Mi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XC=typeof URLSearchParams<"u"?URLSearchParams:Wo,YC=typeof FormData<"u"?FormData:null,QC=typeof Blob<"u"?Blob:null,$C={isBrowser:!0,classes:{URLSearchParams:XC,FormData:YC,Blob:QC},protocols:["http","https","file","blob","url","data"]},Go=typeof window<"u"&&typeof document<"u",vC=(t=>Go&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),e0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",t0=Go&&window.location.href||"http://localhost",o0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Go,hasStandardBrowserEnv:vC,hasStandardBrowserWebWorkerEnv:e0,origin:t0},Symbol.toStringTag,{value:"Module"})),ee={...o0,...$C};function n0(t,n){return Vt(t,new ee.classes.URLSearchParams,Object.assign({visitor:function(o,r,i,l){return ee.isNode&&k.isBuffer(o)?(this.append(r,o.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},n))}function l0(t){return k.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function i0(t){const n={},o=Object.keys(t);let r;const i=o.length;let l;for(r=0;r<i;r++)l=o[r],n[l]=t[l];return n}function Pi(t){function n(o,r,i,l){let a=o[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=l>=o.length;return a=!a&&k.isArray(i)?i.length:a,c?(k.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!k.isObject(i[a]))&&(i[a]=[]),n(o,r,i[a],l)&&k.isArray(i[a])&&(i[a]=i0(i[a])),!s)}if(k.isFormData(t)&&k.isFunction(t.entries)){const o={};return k.forEachEntry(t,(r,i)=>{n(l0(r),i,o,0)}),o}return null}function r0(t,n,o){if(k.isString(t))try{return(n||JSON.parse)(t),k.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const Ue={transitional:Mi,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=k.isObject(t);if(i&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return r?JSON.stringify(Pi(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return n0(t,this.formSerializer).toString();if((l=k.isFileList(t))||o.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Vt(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),r0(t)):t}],transformResponse:[function(t){const n=this.transitional||Ue.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(o&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?O.from(l,O.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ee.classes.FormData,Blob:ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],t=>{Ue.headers[t]={}});const a0=k.toObjectSet(["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"]),s0=t=>{const n={};let o,r,i;return t&&t.split(`
13
- `).forEach(function(l){i=l.indexOf(":"),o=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!o||n[o]&&a0[o])&&(o==="set-cookie"?n[o]?n[o].push(r):n[o]=[r]:n[o]=n[o]?n[o]+", "+r:r)}),n},Li=Symbol("internals");function We(t){return t&&String(t).trim().toLowerCase()}function Nt(t){return t===!1||t==null?t:k.isArray(t)?t.map(Nt):String(t)}function c0(t){const n=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(t);)n[r[1]]=r[2];return n}const d0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Jo(t,n,o,r,i){if(k.isFunction(r))return r.call(this,n,o);if(i&&(n=o),!!k.isString(n)){if(k.isString(r))return n.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(n)}}function m0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,o,r)=>o.toUpperCase()+r)}function f0(t,n){const o=k.toCamelCase(" "+n);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+o,{value:function(i,l,a){return this[r].call(this,n,i,l,a)},configurable:!0})})}class G{constructor(n){n&&this.set(n)}set(n,o,r){const i=this;function l(s,c,d){const m=We(c);if(!m)throw new Error("header name must be a non-empty string");const f=k.findKey(i,m);(!f||i[f]===void 0||d===!0||d===void 0&&i[f]!==!1)&&(i[f||c]=Nt(s))}const a=(s,c)=>k.forEach(s,(d,m)=>l(d,m,c));if(k.isPlainObject(n)||n instanceof this.constructor)a(n,o);else if(k.isString(n)&&(n=n.trim())&&!d0(n))a(s0(n),o);else if(k.isHeaders(n))for(const[s,c]of n.entries())l(c,s,r);else n!=null&&l(o,n,r);return this}get(n,o){if(n=We(n),n){const r=k.findKey(this,n);if(r){const i=this[r];if(!o)return i;if(o===!0)return c0(i);if(k.isFunction(o))return o.call(this,i,r);if(k.isRegExp(o))return o.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,o){if(n=We(n),n){const r=k.findKey(this,n);return!!(r&&this[r]!==void 0&&(!o||Jo(this,this[r],r,o)))}return!1}delete(n,o){const r=this;let i=!1;function l(a){if(a=We(a),a){const s=k.findKey(r,a);s&&(!o||Jo(r,r[s],s,o))&&(delete r[s],i=!0)}}return k.isArray(n)?n.forEach(l):l(n),i}clear(n){const o=Object.keys(this);let r=o.length,i=!1;for(;r--;){const l=o[r];(!n||Jo(this,this[l],l,n,!0))&&(delete this[l],i=!0)}return i}normalize(n){const o=this,r={};return k.forEach(this,(i,l)=>{const a=k.findKey(r,l);if(a){o[a]=Nt(i),delete o[l];return}const s=n?m0(l):String(l).trim();s!==l&&delete o[l],o[s]=Nt(i),r[s]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const o=Object.create(null);return k.forEach(this,(r,i)=>{r!=null&&r!==!1&&(o[i]=n&&k.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,o])=>n+": "+o).join(`
14
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...o){const r=new this(n);return o.forEach(i=>r.set(i)),r}static accessor(n){const o=(this[Li]=this[Li]={accessors:{}}).accessors,r=this.prototype;function i(l){const a=We(l);o[a]||(f0(r,l),o[a]=!0)}return k.isArray(n)?n.forEach(i):i(n),this}}G.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(G.prototype,({value:t},n)=>{let o=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(r){this[o]=r}}}),k.freezeMethods(G);function Ko(t,n){const o=this||Ue,r=n||o,i=G.from(r.headers);let l=r.data;return k.forEach(t,function(a){l=a.call(o,l,i.normalize(),n?n.status:void 0)}),i.normalize(),l}function Di(t){return!!(t&&t.__CANCEL__)}function Ve(t,n,o){O.call(this,t??"canceled",O.ERR_CANCELED,n,o),this.name="CanceledError"}k.inherits(Ve,O,{__CANCEL__:!0});function Ai(t,n,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?t(o):n(new O("Request failed with status code "+o.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function u0(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function h0(t,n){t=t||10;const o=new Array(t),r=new Array(t);let i=0,l=0,a;return n=n!==void 0?n:1e3,function(s){const c=Date.now(),d=r[l];a||(a=c),o[i]=s,r[i]=c;let m=l,f=0;for(;m!==i;)f+=o[m++],m=m%t;if(i=(i+1)%t,i===l&&(l=(l+1)%t),c-a<n)return;const p=d&&c-d;return p?Math.round(f*1e3/p):void 0}}function p0(t,n){let o=0;const r=1e3/n;let i=null;return function(){const l=this===!0,a=Date.now();if(l||a-o>r)return i&&(clearTimeout(i),i=null),o=a,t.apply(null,arguments);i||(i=setTimeout(()=>(i=null,o=Date.now(),t.apply(null,arguments)),r-(a-o)))}}const Ot=(t,n,o=3)=>{let r=0;const i=h0(50,250);return p0(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-r,d=i(c),m=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-a)/d:void 0,event:l,lengthComputable:s!=null};f[n?"download":"upload"]=!0,t(f)},o)},g0=ee.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(i){const l=k.isString(i)?r(i):i;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),y0=ee.hasStandardBrowserEnv?{write(t,n,o,r,i,l){const a=[t+"="+encodeURIComponent(n)];k.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),k.isString(r)&&a.push("path="+r),k.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function k0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function b0(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function Ri(t,n){return t&&!k0(n)?b0(t,n):n}const qi=t=>t instanceof G?{...t}:t;function be(t,n){n=n||{};const o={};function r(d,m,f){return k.isPlainObject(d)&&k.isPlainObject(m)?k.merge.call({caseless:f},d,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function i(d,m,f){if(k.isUndefined(m)){if(!k.isUndefined(d))return r(void 0,d,f)}else return r(d,m,f)}function l(d,m){if(!k.isUndefined(m))return r(void 0,m)}function a(d,m){if(k.isUndefined(m)){if(!k.isUndefined(d))return r(void 0,d)}else return r(void 0,m)}function s(d,m,f){if(f in n)return r(d,m);if(f in t)return r(void 0,d)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(d,m)=>i(qi(d),qi(m),!0)};return k.forEach(Object.keys(Object.assign({},t,n)),function(d){const m=c[d]||i,f=m(t[d],n[d],d);k.isUndefined(f)&&m!==s||(o[d]=f)}),o}const zi=t=>{const n=be({},t);let{data:o,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=n;n.headers=a=G.from(a),n.url=Fi(Ri(n.baseURL,n.url),t.params,t.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(k.isFormData(o)){if(ee.hasStandardBrowserEnv||ee.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...m]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...m].join("; "))}}if(ee.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(n)),r||r!==!1&&g0(n.url))){const d=i&&l&&y0.read(l);d&&a.set(i,d)}return n},C0=typeof XMLHttpRequest<"u",B0=C0&&function(t){return new Promise(function(n,o){const r=zi(t);let i=r.data;const l=G.from(r.headers).normalize();let{responseType:a}=r,s;function c(){r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let d=new XMLHttpRequest;d.open(r.method.toUpperCase(),r.url,!0),d.timeout=r.timeout;function m(){if(!d)return;const p=G.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),u={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:t,request:d};Ai(function(h){n(h),c()},function(h){o(h),c()},u),d=null}"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(o(new O("Request aborted",O.ECONNABORTED,r,d)),d=null)},d.onerror=function(){o(new O("Network Error",O.ERR_NETWORK,r,d)),d=null},d.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const u=r.transitional||Mi;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),o(new O(p,u.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,r,d)),d=null},i===void 0&&l.setContentType(null),"setRequestHeader"in d&&k.forEach(l.toJSON(),function(p,u){d.setRequestHeader(u,p)}),k.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),a&&a!=="json"&&(d.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&d.addEventListener("progress",Ot(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Ot(r.onUploadProgress)),(r.cancelToken||r.signal)&&(s=p=>{d&&(o(!p||p.type?new Ve(null,t,d):p),d.abort(),d=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const f=u0(r.url);if(f&&ee.protocols.indexOf(f)===-1){o(new O("Unsupported protocol "+f+":",O.ERR_BAD_REQUEST,t));return}d.send(i||null)})},w0=(t,n)=>{let o=new AbortController,r;const i=function(c){if(!r){r=!0,a();const d=c instanceof Error?c:this.reason;o.abort(d instanceof O?d:new Ve(d instanceof Error?d.message:d))}};let l=n&&setTimeout(()=>{i(new O(`timeout ${n} of ms exceeded`,O.ETIMEDOUT))},n);const a=()=>{t&&(l&&clearTimeout(l),l=null,t.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),t=null)};t.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:s}=o;return s.unsubscribe=a,[s,()=>{l&&clearTimeout(l),l=null}]},x0=function*(t,n){let o=t.byteLength;if(o<n){yield t;return}let r=0,i;for(;r<o;)i=r+n,yield t.slice(r,i),r=i},_0=async function*(t,n,o){for await(const r of t)yield*x0(ArrayBuffer.isView(r)?r:await o(String(r)),n)},Hi=(t,n,o,r,i)=>{const l=_0(t,n,i);let a=0;return new ReadableStream({type:"bytes",async pull(s){const{done:c,value:d}=await l.next();if(c){s.close(),r();return}let m=d.byteLength;o&&o(a+=m),s.enqueue(new Uint8Array(d))},cancel(s){return r(s),l.return()}},{highWaterMark:2})},ji=(t,n)=>{const o=t!=null;return r=>setTimeout(()=>n({lengthComputable:o,total:t,loaded:r}))},Ft=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ui=Ft&&typeof ReadableStream=="function",Zo=Ft&&(typeof TextEncoder=="function"?(t=>n=>t.encode(n))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),S0=Ui&&(()=>{let t=!1;const n=new Request(ee.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!n})(),Wi=64*1024,Xo=Ui&&!!(()=>{try{return k.isReadableStream(new Response("").body)}catch{}})(),It={stream:Xo&&(t=>t.body)};Ft&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(n=>{!It[n]&&(It[n]=k.isFunction(t[n])?o=>o[n]():(o,r)=>{throw new O(`Response type '${n}' is not supported`,O.ERR_NOT_SUPPORT,r)})})})(new Response);const E0=async t=>{if(t==null)return 0;if(k.isBlob(t))return t.size;if(k.isSpecCompliantForm(t))return(await new Request(t).arrayBuffer()).byteLength;if(k.isArrayBufferView(t))return t.byteLength;if(k.isURLSearchParams(t)&&(t=t+""),k.isString(t))return(await Zo(t)).byteLength},T0=async(t,n)=>k.toFiniteNumber(t.getContentLength())??E0(n),V0=Ft&&(async t=>{let{url:n,method:o,data:r,signal:i,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:f="same-origin",fetchOptions:p}=zi(t);d=d?(d+"").toLowerCase():"text";let[u,h]=i||l||a?w0([i,l],a):[],b,g;const B=()=>{!b&&setTimeout(()=>{u&&u.unsubscribe()}),b=!0};let w;try{if(c&&S0&&o!=="get"&&o!=="head"&&(w=await T0(m,r))!==0){let C=new Request(n,{method:"POST",body:r,duplex:"half"}),E;k.isFormData(r)&&(E=C.headers.get("content-type"))&&m.setContentType(E),C.body&&(r=Hi(C.body,Wi,ji(w,Ot(c)),null,Zo))}k.isString(f)||(f=f?"cors":"omit"),g=new Request(n,{...p,signal:u,method:o.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:f});let x=await fetch(g);const T=Xo&&(d==="stream"||d==="response");if(Xo&&(s||T)){const C={};["status","statusText","headers"].forEach(I=>{C[I]=x[I]});const E=k.toFiniteNumber(x.headers.get("content-length"));x=new Response(Hi(x.body,Wi,s&&ji(E,Ot(s,!0)),T&&B,Zo),C)}d=d||"text";let F=await It[k.findKey(It,d)||"text"](x,t);return!T&&B(),h&&h(),await new Promise((C,E)=>{Ai(C,E,{data:F,headers:G.from(x.headers),status:x.status,statusText:x.statusText,config:t,request:g})})}catch(x){throw B(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new O("Network Error",O.ERR_NETWORK,t,g),{cause:x.cause||x}):O.from(x,x&&x.code,t,g)}}),Yo={http:GC,xhr:B0,fetch:V0};k.forEach(Yo,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const Gi=t=>`- ${t}`,N0=t=>k.isFunction(t)||t===null||t===!1,Ji={getAdapter:t=>{t=k.isArray(t)?t:[t];const{length:n}=t;let o,r;const i={};for(let l=0;l<n;l++){o=t[l];let a;if(r=o,!N0(o)&&(r=Yo[(a=String(o)).toLowerCase()],r===void 0))throw new O(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+l]=r}if(!r){const l=Object.entries(i).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?l.length>1?`since :
15
- `+l.map(Gi).join(`
16
- `):" "+Gi(l[0]):"as no adapter specified";throw new O("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Yo};function Qo(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ve(null,t)}function Ki(t){return Qo(t),t.headers=G.from(t.headers),t.data=Ko.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ji.getAdapter(t.adapter||Ue.adapter)(t).then(function(n){return Qo(t),n.data=Ko.call(t,t.transformResponse,n),n.headers=G.from(n.headers),n},function(n){return Di(n)||(Qo(t),n&&n.response&&(n.response.data=Ko.call(t,t.transformResponse,n.response),n.response.headers=G.from(n.response.headers))),Promise.reject(n)})}const Zi="1.7.2",$o={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{$o[t]=function(o){return typeof o===t||"a"+(n<1?"n ":" ")+t}});const Xi={};$o.transitional=function(t,n,o){function r(i,l){return"[Axios v"+Zi+"] Transitional option '"+i+"'"+l+(o?". "+o:"")}return(i,l,a)=>{if(t===!1)throw new O(r(l," has been removed"+(n?" in "+n:"")),O.ERR_DEPRECATED);return n&&!Xi[l]&&(Xi[l]=!0,console.warn(r(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,a):!0}};function O0(t,n,o){if(typeof t!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const l=r[i],a=n[l];if(a){const s=t[l],c=s===void 0||a(s,l,t);if(c!==!0)throw new O("option "+l+" must be "+c,O.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new O("Unknown option "+l,O.ERR_BAD_OPTION)}}const vo={assertOptions:O0,validators:$o},me=vo.validators;class Ce{constructor(n){this.defaults=n,this.interceptors={request:new Ii,response:new Ii}}async request(n,o){try{return await this._request(n,o)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
17
- `+l):r.stack=l}catch{}}throw r}}_request(n,o){typeof n=="string"?(o=o||{},o.url=n):o=n||{},o=be(this.defaults,o);const{transitional:r,paramsSerializer:i,headers:l}=o;r!==void 0&&vo.assertOptions(r,{silentJSONParsing:me.transitional(me.boolean),forcedJSONParsing:me.transitional(me.boolean),clarifyTimeoutError:me.transitional(me.boolean)},!1),i!=null&&(k.isFunction(i)?o.paramsSerializer={serialize:i}:vo.assertOptions(i,{encode:me.function,serialize:me.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=l&&k.merge(l.common,l[o.method]);l&&k.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),o.headers=G.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(o)===!1||(c=c&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const d=[];this.interceptors.response.forEach(function(h){d.push(h.fulfilled,h.rejected)});let m,f=0,p;if(!c){const h=[Ki.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,d),p=h.length,m=Promise.resolve(o);f<p;)m=m.then(h[f++],h[f++]);return m}p=s.length;let u=o;for(f=0;f<p;){const h=s[f++],b=s[f++];try{u=h(u)}catch(g){b.call(this,g);break}}try{m=Ki.call(this,u)}catch(h){return Promise.reject(h)}for(f=0,p=d.length;f<p;)m=m.then(d[f++],d[f++]);return m}getUri(n){n=be(this.defaults,n);const o=Ri(n.baseURL,n.url);return Fi(o,n.params,n.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Ce.prototype[t]=function(n,o){return this.request(be(o||{},{method:t,url:n,data:(o||{}).data}))}}),k.forEach(["post","put","patch"],function(t){function n(o){return function(r,i,l){return this.request(be(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ce.prototype[t]=n(),Ce.prototype[t+"Form"]=n(!0)});class en{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(i){o=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const a=new Promise(s=>{r.subscribe(s),l=s}).then(i);return a.cancel=function(){r.unsubscribe(l)},a},n(function(i,l,a){r.reason||(r.reason=new Ve(i,l,a),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const o=this._listeners.indexOf(n);o!==-1&&this._listeners.splice(o,1)}static source(){let n;return{token:new en(function(o){n=o}),cancel:n}}}function F0(t){return function(n){return t.apply(null,n)}}function I0(t){return k.isObject(t)&&t.isAxiosError===!0}const tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tn).forEach(([t,n])=>{tn[n]=t});function Yi(t){const n=new Ce(t),o=pi(Ce.prototype.request,n);return k.extend(o,Ce.prototype,n,{allOwnKeys:!0}),k.extend(o,n,null,{allOwnKeys:!0}),o.create=function(r){return Yi(be(t,r))},o}const q=Yi(Ue);q.Axios=Ce,q.CanceledError=Ve,q.CancelToken=en,q.isCancel=Di,q.VERSION=Zi,q.toFormData=Vt,q.AxiosError=O,q.Cancel=q.CanceledError,q.all=function(t){return Promise.all(t)},q.spread=F0,q.isAxiosError=I0,q.mergeConfig=be,q.AxiosHeaders=G,q.formToJSON=t=>Pi(k.isHTMLForm(t)?new FormData(t):t),q.getAdapter=Ji.getAdapter,q.HttpStatusCode=tn,q.default=q;function Qi(t){for(let n=0;n<t.length;n++)t[n].dataset.cmdFancyBoxHandlerRegistered||(t[n].addEventListener("click",o=>{o.preventDefault(),lC({url:t[n].href})}),t[n].dataset.cmdFancyBoxHandlerRegistered="true")}const Mt=new MutationObserver(M0);function M0(t){const n=[];for(let o=0;o<t.length;o++)if(t[o].type==="attributes")t[o].target.classList.contains("fancybox")&&n.push(t[o].target);else if(t[o].type==="childList"){let r=Array.from(t[o].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&n.push(...r)}n.length>0&&Qi(n)}const P0=t=>{const n=t.querySelectorAll(".fancybox");Qi(n),Mt==null||Mt.disconnect(),Mt.observe(t,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function L0(){const t={};e.onBeforeUpdate(r);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function r(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:r}}_.CmdAddressData=Pn,_.CmdBackToTopButton=Cc,_.CmdBankAccountData=Tc,_.CmdBasicForm=qn,_.CmdBox=lo,_.CmdBoxWrapper=Wn,_.CmdBreadcrumbs=Gn,_.CmdCompanyLogo=Jn,_.CmdContainer=rf,_.CmdCookieDisclaimer=wf,_.CmdCopyrightInformation=Tf,_.CmdFakeSelect=Kn,_.CmdFancyBox=Ed,_.CmdForm=Ln,_.CmdFormElement=z,_.CmdFormFilters=Zn,_.CmdGoogleMaps=Xn,_.CmdHeadline=D,_.CmdIcon=M,_.CmdImage=ie,_.CmdImageGallery=mu,_.CmdImageZoom=ku,_.CmdInputGroup=$n,_.CmdLink=xe,_.CmdListOfLinks=oo,_.CmdLoginForm=ju,_.CmdMainNavigation=vn,_.CmdMultistepFormProgressBar=ah,_.CmdNewsletterSubscription=fh,_.CmdOpeningHours=Rh,_.CmdPageFooter=dp,_.CmdPageHeader=pp,_.CmdPagination=Xh,_.CmdProgressBar=wp,_.CmdSidebar=Np,_.CmdSiteFooter=Mp,_.CmdSiteHeader=Ap,_.CmdSiteSearch=Jp,_.CmdSlideButton=Me,_.CmdSlideshow=eg,_.CmdSocialNetworks=tl,_.CmdSwitchLanguage=sg,_.CmdSystemMessage=ol,_.CmdTable=Cg,_.CmdTabs=Vg,_.CmdTextImageBlock=Pg,_.CmdThumbnailScroller=An,_.CmdToggleDarkMode=Rg,_.CmdTooltip=Mn,_.CmdUploadForm=Ak,_.CmdWidthLimitationWrapper=jk,_.ContactInformation=Kk,_.DirFancybox=P0,_.DirFocus=ob,_.DirTelephone=nb,_.EditComponentWrapper=ce,_.I18n=J,_.MultipleBoxWrapper=Qk,_.MultipleListsOfLinks=tb,_.createHtmlId=$t,_.createUuid=Be,_.getFileExtension=we,_.openFancyBox=pe,_.useSequence=L0,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
12
+ <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});function Il(e,o){return function(){return e.apply(o,arguments)}}const{toString:Dw}=Object.prototype,{getPrototypeOf:So}=Object,Wt=(e=>o=>{const n=Dw.call(o);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ie=e=>(e=e.toLowerCase(),o=>Wt(o)===e),Gt=e=>o=>typeof o===e,{isArray:Re}=Array,et=Gt("undefined");function Rw(e){return e!==null&&!et(e)&&e.constructor!==null&&!et(e.constructor)&&$(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ll=ie("ArrayBuffer");function jw(e){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(e):o=e&&e.buffer&&Ll(e.buffer),o}const qw=Gt("string"),$=Gt("function"),Ml=Gt("number"),Jt=e=>e!==null&&typeof e=="object",zw=e=>e===!0||e===!1,Kt=e=>{if(Wt(e)!=="object")return!1;const o=So(e);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Hw=ie("Date"),Uw=ie("File"),Ww=ie("Blob"),Gw=ie("FileList"),Jw=e=>Jt(e)&&$(e.pipe),Kw=e=>{let o;return e&&(typeof FormData=="function"&&e instanceof FormData||$(e.append)&&((o=Wt(e))==="formdata"||o==="object"&&$(e.toString)&&e.toString()==="[object FormData]"))},Zw=ie("URLSearchParams"),[Xw,Yw,Qw,$w]=["ReadableStream","Request","Response","Headers"].map(ie),vw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tt(e,o,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),Re(e))for(i=0,r=e.length;i<r;i++)o.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(i=0;i<a;i++)s=l[i],o.call(null,e[s],s,e)}}function Al(e,o){o=o.toLowerCase();const n=Object.keys(e);let i=n.length,r;for(;i-- >0;)if(r=n[i],o===r.toLowerCase())return r;return null}const Dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Rl=e=>!et(e)&&e!==Dl;function To(){const{caseless:e}=Rl(this)&&this||{},o={},n=(i,r)=>{const l=e&&Al(o,r)||r;Kt(o[l])&&Kt(i)?o[l]=To(o[l],i):Kt(i)?o[l]=To({},i):Re(i)?o[l]=i.slice():o[l]=i};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&tt(arguments[i],n);return o}const eB=(e,o,n,{allOwnKeys:i}={})=>(tt(o,(r,l)=>{n&&$(r)?e[l]=Il(r,n):e[l]=r},{allOwnKeys:i}),e),tB=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),nB=(e,o,n,i)=>{e.prototype=Object.create(o.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:o.prototype}),n&&Object.assign(e.prototype,n)},oB=(e,o,n,i)=>{let r,l,a;const s={};if(o=o||{},e==null)return o;do{for(r=Object.getOwnPropertyNames(e),l=r.length;l-- >0;)a=r[l],(!i||i(a,e,o))&&!s[a]&&(o[a]=e[a],s[a]=!0);e=n!==!1&&So(e)}while(e&&(!n||n(e,o))&&e!==Object.prototype);return o},iB=(e,o,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=o.length;const i=e.indexOf(o,n);return i!==-1&&i===n},rB=e=>{if(!e)return null;if(Re(e))return e;let o=e.length;if(!Ml(o))return null;const n=new Array(o);for(;o-- >0;)n[o]=e[o];return n},lB=(e=>o=>e&&o instanceof e)(typeof Uint8Array<"u"&&So(Uint8Array)),aB=(e,o)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const r=i.value;o.call(e,r[0],r[1])}},sB=(e,o)=>{let n;const i=[];for(;(n=e.exec(o))!==null;)i.push(n);return i},cB=ie("HTMLFormElement"),dB=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,n,i){return n.toUpperCase()+i}),jl=(({hasOwnProperty:e})=>(o,n)=>e.call(o,n))(Object.prototype),mB=ie("RegExp"),ql=(e,o)=>{const n=Object.getOwnPropertyDescriptors(e),i={};tt(n,(r,l)=>{let a;(a=o(r,l,e))!==!1&&(i[l]=a||r)}),Object.defineProperties(e,i)},uB=e=>{ql(e,(o,n)=>{if($(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if($(i)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},fB=(e,o)=>{const n={},i=r=>{r.forEach(l=>{n[l]=!0})};return Re(e)?i(e):i(String(e).split(o)),n},hB=()=>{},pB=(e,o)=>e!=null&&Number.isFinite(e=+e)?e:o,Vo="abcdefghijklmnopqrstuvwxyz",zl="0123456789",Hl={DIGIT:zl,ALPHA:Vo,ALPHA_DIGIT:Vo+Vo.toUpperCase()+zl},gB=(e=16,o=Hl.ALPHA_DIGIT)=>{let n="";const{length:i}=o;for(;e--;)n+=o[Math.random()*i|0];return n};function yB(e){return!!(e&&$(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bB=e=>{const o=new Array(10),n=(i,r)=>{if(Jt(i)){if(o.indexOf(i)>=0)return;if(!("toJSON"in i)){o[r]=i;const l=Re(i)?[]:{};return tt(i,(a,s)=>{const c=n(a,r+1);!et(c)&&(l[s]=c)}),o[r]=void 0,l}}return i};return n(e,0)},kB=ie("AsyncFunction"),CB=e=>e&&(Jt(e)||$(e))&&$(e.then)&&$(e.catch),k={isArray:Re,isArrayBuffer:Ll,isBuffer:Rw,isFormData:Kw,isArrayBufferView:jw,isString:qw,isNumber:Ml,isBoolean:zw,isObject:Jt,isPlainObject:Kt,isReadableStream:Xw,isRequest:Yw,isResponse:Qw,isHeaders:$w,isUndefined:et,isDate:Hw,isFile:Uw,isBlob:Ww,isRegExp:mB,isFunction:$,isStream:Jw,isURLSearchParams:Zw,isTypedArray:lB,isFileList:Gw,forEach:tt,merge:To,extend:eB,trim:vw,stripBOM:tB,inherits:nB,toFlatObject:oB,kindOf:Wt,kindOfTest:ie,endsWith:iB,toArray:rB,forEachEntry:aB,matchAll:sB,isHTMLForm:cB,hasOwnProperty:jl,hasOwnProp:jl,reduceDescriptors:ql,freezeMethods:uB,toObjectSet:fB,toCamelCase:dB,noop:hB,toFiniteNumber:pB,findKey:Al,global:Dl,isContextDefined:Rl,ALPHABET:Hl,generateString:gB,isSpecCompliantForm:yB,toJSONObject:bB,isAsyncFn:kB,isThenable:CB};function P(e,o,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",o&&(this.code=o),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}k.inherits(P,Error,{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:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ul=P.prototype,Wl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wl[e]={value:e}}),Object.defineProperties(P,Wl),Object.defineProperty(Ul,"isAxiosError",{value:!0}),P.from=(e,o,n,i,r,l)=>{const a=Object.create(Ul);return k.toFlatObject(e,a,function(s){return s!==Error.prototype},s=>s!=="isAxiosError"),P.call(a,e.message,o,n,i,r),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const wB=null;function No(e){return k.isPlainObject(e)||k.isArray(e)}function Gl(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function Jl(e,o,n){return e?e.concat(o).map(function(i,r){return i=Gl(i),!n&&r?"["+i+"]":i}).join(n?".":""):o}function BB(e){return k.isArray(e)&&!e.some(No)}const xB=k.toFlatObject(k,{},null,function(e){return/^is[A-Z]/.test(e)});function Zt(e,o,n){if(!k.isObject(e))throw new TypeError("target must be an object");o=o||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!k.isUndefined(h[f])});const i=n.metaTokens,r=n.visitor||d,l=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(o);if(!k.isFunction(r))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(k.isDate(f))return f.toISOString();if(!s&&k.isBlob(f))throw new P("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(f)||k.isTypedArray(f)?s&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(k.endsWith(h,"{}"))h=i?h:h.slice(0,-2),f=JSON.stringify(f);else if(k.isArray(f)&&BB(f)||(k.isFileList(f)||k.endsWith(h,"[]"))&&(g=k.toArray(f)))return h=Gl(h),g.forEach(function(B,_){!(k.isUndefined(B)||B===null)&&o.append(a===!0?Jl([h],_,l):a===null?h:h+"[]",c(B))}),!1}return No(f)?!0:(o.append(Jl(y,h,l),c(f)),!1)}const m=[],u=Object.assign(xB,{defaultVisitor:d,convertValue:c,isVisitable:No});function p(f,h){if(!k.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),k.forEach(f,function(y,g){(!(k.isUndefined(y)||y===null)&&r.call(o,y,k.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return p(e),o}function Kl(e){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return o[n]})}function Oo(e,o){this._pairs=[],e&&Zt(e,this,o)}const Zl=Oo.prototype;Zl.append=function(e,o){this._pairs.push([e,o])},Zl.toString=function(e){const o=e?function(n){return e.call(this,n,Kl)}:Kl;return this._pairs.map(function(n){return o(n[0])+"="+o(n[1])},"").join("&")};function _B(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xl(e,o,n){if(!o)return e;const i=n&&n.encode||_B,r=n&&n.serialize;let l;if(r?l=r(o,n):l=k.isURLSearchParams(o)?o.toString():new Oo(o,n).toString(i),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Yl{constructor(){this.handlers=[]}use(o,n,i){return this.handlers.push({fulfilled:o,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){k.forEach(this.handlers,function(n){n!==null&&o(n)})}}const Ql={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},EB=typeof URLSearchParams<"u"?URLSearchParams:Oo,SB=typeof FormData<"u"?FormData:null,TB=typeof Blob<"u"?Blob:null,VB={isBrowser:!0,classes:{URLSearchParams:EB,FormData:SB,Blob:TB},protocols:["http","https","file","blob","url","data"]},Fo=typeof window<"u"&&typeof document<"u",NB=(e=>Fo&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),OB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",FB=Fo&&window.location.href||"http://localhost",PB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fo,hasStandardBrowserEnv:NB,hasStandardBrowserWebWorkerEnv:OB,origin:FB},Symbol.toStringTag,{value:"Module"})),re={...PB,...VB};function IB(e,o){return Zt(e,new re.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,l){return re.isNode&&k.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},o))}function LB(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(o=>o[0]==="[]"?"":o[1]||o[0])}function MB(e){const o={},n=Object.keys(e);let i;const r=n.length;let l;for(i=0;i<r;i++)l=n[i],o[l]=e[l];return o}function $l(e){function o(n,i,r,l){let a=n[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=l>=n.length;return a=!a&&k.isArray(r)?r.length:a,c?(k.hasOwnProp(r,a)?r[a]=[r[a],i]:r[a]=i,!s):((!r[a]||!k.isObject(r[a]))&&(r[a]=[]),o(n,i,r[a],l)&&k.isArray(r[a])&&(r[a]=MB(r[a])),!s)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(i,r)=>{o(LB(i),r,n,0)}),n}return null}function AB(e,o,n){if(k.isString(e))try{return(o||JSON.parse)(e),k.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const nt={transitional:Ql,adapter:["xhr","http","fetch"],transformRequest:[function(e,o){const n=o.getContentType()||"",i=n.indexOf("application/json")>-1,r=k.isObject(e);if(r&&k.isHTMLForm(e)&&(e=new FormData(e)),k.isFormData(e))return i?JSON.stringify($l(e)):e;if(k.isArrayBuffer(e)||k.isBuffer(e)||k.isStream(e)||k.isFile(e)||k.isBlob(e)||k.isReadableStream(e))return e;if(k.isArrayBufferView(e))return e.buffer;if(k.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return IB(e,this.formSerializer).toString();if((l=k.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Zt(l?{"files[]":e}:e,a&&new a,this.formSerializer)}}return r||i?(o.setContentType("application/json",!1),AB(e)):e}],transformResponse:[function(e){const o=this.transitional||nt.transitional,n=o&&o.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(e)||k.isReadableStream(e))return e;if(e&&k.isString(e)&&(n&&!this.responseType||i)){const r=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(l){if(r)throw l.name==="SyntaxError"?P.from(l,P.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re.classes.FormData,Blob:re.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{nt.headers[e]={}});const DB=k.toObjectSet(["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"]),RB=e=>{const o={};let n,i,r;return e&&e.split(`
13
+ `).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),i=l.substring(r+1).trim(),!(!n||o[n]&&DB[n])&&(n==="set-cookie"?o[n]?o[n].push(i):o[n]=[i]:o[n]=o[n]?o[n]+", "+i:i)}),o},vl=Symbol("internals");function ot(e){return e&&String(e).trim().toLowerCase()}function Xt(e){return e===!1||e==null?e:k.isArray(e)?e.map(Xt):String(e)}function jB(e){const o=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)o[i[1]]=i[2];return o}const qB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Po(e,o,n,i,r){if(k.isFunction(i))return i.call(this,o,n);if(r&&(o=n),!!k.isString(o)){if(k.isString(i))return o.indexOf(i)!==-1;if(k.isRegExp(i))return i.test(o)}}function zB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,n,i)=>n.toUpperCase()+i)}function HB(e,o){const n=k.toCamelCase(" "+o);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,l,a){return this[i].call(this,o,r,l,a)},configurable:!0})})}class Z{constructor(o){o&&this.set(o)}set(o,n,i){const r=this;function l(s,c,d){const m=ot(c);if(!m)throw new Error("header name must be a non-empty string");const u=k.findKey(r,m);(!u||r[u]===void 0||d===!0||d===void 0&&r[u]!==!1)&&(r[u||c]=Xt(s))}const a=(s,c)=>k.forEach(s,(d,m)=>l(d,m,c));if(k.isPlainObject(o)||o instanceof this.constructor)a(o,n);else if(k.isString(o)&&(o=o.trim())&&!qB(o))a(RB(o),n);else if(k.isHeaders(o))for(const[s,c]of o.entries())l(c,s,i);else o!=null&&l(n,o,i);return this}get(o,n){if(o=ot(o),o){const i=k.findKey(this,o);if(i){const r=this[i];if(!n)return r;if(n===!0)return jB(r);if(k.isFunction(n))return n.call(this,r,i);if(k.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,n){if(o=ot(o),o){const i=k.findKey(this,o);return!!(i&&this[i]!==void 0&&(!n||Po(this,this[i],i,n)))}return!1}delete(o,n){const i=this;let r=!1;function l(a){if(a=ot(a),a){const s=k.findKey(i,a);s&&(!n||Po(i,i[s],s,n))&&(delete i[s],r=!0)}}return k.isArray(o)?o.forEach(l):l(o),r}clear(o){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const l=n[i];(!o||Po(this,this[l],l,o,!0))&&(delete this[l],r=!0)}return r}normalize(o){const n=this,i={};return k.forEach(this,(r,l)=>{const a=k.findKey(i,l);if(a){n[a]=Xt(r),delete n[l];return}const s=o?zB(l):String(l).trim();s!==l&&delete n[l],n[s]=Xt(r),i[s]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const n=Object.create(null);return k.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=o&&k.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,n])=>o+": "+n).join(`
14
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...n){const i=new this(o);return n.forEach(r=>i.set(r)),i}static accessor(o){const n=(this[vl]=this[vl]={accessors:{}}).accessors,i=this.prototype;function r(l){const a=ot(l);n[a]||(HB(i,l),n[a]=!0)}return k.isArray(o)?o.forEach(r):r(o),this}}Z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(Z.prototype,({value:e},o)=>{let n=o[0].toUpperCase()+o.slice(1);return{get:()=>e,set(i){this[n]=i}}}),k.freezeMethods(Z);function Io(e,o){const n=this||nt,i=o||n,r=Z.from(i.headers);let l=i.data;return k.forEach(e,function(a){l=a.call(n,l,r.normalize(),o?o.status:void 0)}),r.normalize(),l}function ea(e){return!!(e&&e.__CANCEL__)}function je(e,o,n){P.call(this,e??"canceled",P.ERR_CANCELED,o,n),this.name="CanceledError"}k.inherits(je,P,{__CANCEL__:!0});function ta(e,o,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):o(new P("Request failed with status code "+n.status,[P.ERR_BAD_REQUEST,P.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function UB(e){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return o&&o[1]||""}function WB(e,o){e=e||10;const n=new Array(e),i=new Array(e);let r=0,l=0,a;return o=o!==void 0?o:1e3,function(s){const c=Date.now(),d=i[l];a||(a=c),n[r]=s,i[r]=c;let m=l,u=0;for(;m!==r;)u+=n[m++],m=m%e;if(r=(r+1)%e,r===l&&(l=(l+1)%e),c-a<o)return;const p=d&&c-d;return p?Math.round(u*1e3/p):void 0}}function GB(e,o){let n=0;const i=1e3/o;let r=null;return function(){const l=this===!0,a=Date.now();if(l||a-n>i)return r&&(clearTimeout(r),r=null),n=a,e.apply(null,arguments);r||(r=setTimeout(()=>(r=null,n=Date.now(),e.apply(null,arguments)),i-(a-n)))}}const Yt=(e,o,n=3)=>{let i=0;const r=WB(50,250);return GB(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-i,d=r(c),m=a<=s;i=a;const u={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-a)/d:void 0,event:l,lengthComputable:s!=null};u[o?"download":"upload"]=!0,e(u)},n)},JB=re.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let n;function i(r){let l=r;return e&&(o.setAttribute("href",l),l=o.href),o.setAttribute("href",l),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return n=i(window.location.href),function(r){const l=k.isString(r)?i(r):r;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),KB=re.hasStandardBrowserEnv?{write(e,o,n,i,r,l){const a=[e+"="+encodeURIComponent(o)];k.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),k.isString(i)&&a.push("path="+i),k.isString(r)&&a.push("domain="+r),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const o=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function XB(e,o){return o?e.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):e}function na(e,o){return e&&!ZB(o)?XB(e,o):o}const oa=e=>e instanceof Z?{...e}:e;function Te(e,o){o=o||{};const n={};function i(d,m,u){return k.isPlainObject(d)&&k.isPlainObject(m)?k.merge.call({caseless:u},d,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function r(d,m,u){if(k.isUndefined(m)){if(!k.isUndefined(d))return i(void 0,d,u)}else return i(d,m,u)}function l(d,m){if(!k.isUndefined(m))return i(void 0,m)}function a(d,m){if(k.isUndefined(m)){if(!k.isUndefined(d))return i(void 0,d)}else return i(void 0,m)}function s(d,m,u){if(u in o)return i(d,m);if(u in e)return i(void 0,d)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(d,m)=>r(oa(d),oa(m),!0)};return k.forEach(Object.keys(Object.assign({},e,o)),function(d){const m=c[d]||r,u=m(e[d],o[d],d);k.isUndefined(u)&&m!==s||(n[d]=u)}),n}const ia=e=>{const o=Te({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:l,headers:a,auth:s}=o;o.headers=a=Z.from(a),o.url=Xl(na(o.baseURL,o.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(k.isFormData(n)){if(re.hasStandardBrowserEnv||re.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...m]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...m].join("; "))}}if(re.hasStandardBrowserEnv&&(i&&k.isFunction(i)&&(i=i(o)),i||i!==!1&&JB(o.url))){const d=r&&l&&KB.read(l);d&&a.set(r,d)}return o},YB=typeof XMLHttpRequest<"u",QB=YB&&function(e){return new Promise(function(o,n){const i=ia(e);let r=i.data;const l=Z.from(i.headers).normalize();let{responseType:a}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let d=new XMLHttpRequest;d.open(i.method.toUpperCase(),i.url,!0),d.timeout=i.timeout;function m(){if(!d)return;const p=Z.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:e,request:d};ta(function(h){o(h),c()},function(h){n(h),c()},f),d=null}"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(n(new P("Request aborted",P.ECONNABORTED,i,d)),d=null)},d.onerror=function(){n(new P("Network Error",P.ERR_NETWORK,i,d)),d=null},d.ontimeout=function(){let p=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const f=i.transitional||Ql;i.timeoutErrorMessage&&(p=i.timeoutErrorMessage),n(new P(p,f.clarifyTimeoutError?P.ETIMEDOUT:P.ECONNABORTED,i,d)),d=null},r===void 0&&l.setContentType(null),"setRequestHeader"in d&&k.forEach(l.toJSON(),function(p,f){d.setRequestHeader(f,p)}),k.isUndefined(i.withCredentials)||(d.withCredentials=!!i.withCredentials),a&&a!=="json"&&(d.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&d.addEventListener("progress",Yt(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Yt(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{d&&(n(!p||p.type?new je(null,e,d):p),d.abort(),d=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const u=UB(i.url);if(u&&re.protocols.indexOf(u)===-1){n(new P("Unsupported protocol "+u+":",P.ERR_BAD_REQUEST,e));return}d.send(r||null)})},$B=(e,o)=>{let n=new AbortController,i;const r=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;n.abort(d instanceof P?d:new je(d instanceof Error?d.message:d))}};let l=o&&setTimeout(()=>{r(new P(`timeout ${o} of ms exceeded`,P.ETIMEDOUT))},o);const a=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",r):c.unsubscribe(r))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{l&&clearTimeout(l),l=null}]},vB=function*(e,o){let n=e.byteLength;if(n<o){yield e;return}let i=0,r;for(;i<n;)r=i+o,yield e.slice(i,r),i=r},ex=async function*(e,o,n){for await(const i of e)yield*vB(ArrayBuffer.isView(i)?i:await n(String(i)),o)},ra=(e,o,n,i,r)=>{const l=ex(e,o,r);let a=0;return new ReadableStream({type:"bytes",async pull(s){const{done:c,value:d}=await l.next();if(c){s.close(),i();return}let m=d.byteLength;n&&n(a+=m),s.enqueue(new Uint8Array(d))},cancel(s){return i(s),l.return()}},{highWaterMark:2})},la=(e,o)=>{const n=e!=null;return i=>setTimeout(()=>o({lengthComputable:n,total:e,loaded:i}))},Qt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",aa=Qt&&typeof ReadableStream=="function",Lo=Qt&&(typeof TextEncoder=="function"?(e=>o=>e.encode(o))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),tx=aa&&(()=>{let e=!1;const o=new Request(re.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!o})(),sa=64*1024,Mo=aa&&!!(()=>{try{return k.isReadableStream(new Response("").body)}catch{}})(),$t={stream:Mo&&(e=>e.body)};Qt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(o=>{!$t[o]&&($t[o]=k.isFunction(e[o])?n=>n[o]():(n,i)=>{throw new P(`Response type '${o}' is not supported`,P.ERR_NOT_SUPPORT,i)})})})(new Response);const nx=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(k.isArrayBufferView(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await Lo(e)).byteLength},ox=async(e,o)=>k.toFiniteNumber(e.getContentLength())??nx(o),ix=Qt&&(async e=>{let{url:o,method:n,data:i,signal:r,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:u="same-origin",fetchOptions:p}=ia(e);d=d?(d+"").toLowerCase():"text";let[f,h]=r||l||a?$B([r,l],a):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let _;try{if(c&&tx&&n!=="get"&&n!=="head"&&(_=await ox(m,i))!==0){let w=new Request(o,{method:"POST",body:i,duplex:"half"}),E;k.isFormData(i)&&(E=w.headers.get("content-type"))&&m.setContentType(E),w.body&&(i=ra(w.body,sa,la(_,Yt(c)),null,Lo))}k.isString(u)||(u=u?"cors":"omit"),g=new Request(o,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:i,duplex:"half",withCredentials:u});let x=await fetch(g);const T=Mo&&(d==="stream"||d==="response");if(Mo&&(s||T)){const w={};["status","statusText","headers"].forEach(L=>{w[L]=x[L]});const E=k.toFiniteNumber(x.headers.get("content-length"));x=new Response(ra(x.body,sa,s&&la(E,Yt(s,!0)),T&&B,Lo),w)}d=d||"text";let O=await $t[k.findKey($t,d)||"text"](x,e);return!T&&B(),h&&h(),await new Promise((w,E)=>{ta(w,E,{data:O,headers:Z.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:g})})}catch(x){throw B(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new P("Network Error",P.ERR_NETWORK,e,g),{cause:x.cause||x}):P.from(x,x&&x.code,e,g)}}),Ao={http:wB,xhr:QB,fetch:ix};k.forEach(Ao,(e,o)=>{if(e){try{Object.defineProperty(e,"name",{value:o})}catch{}Object.defineProperty(e,"adapterName",{value:o})}});const ca=e=>`- ${e}`,rx=e=>k.isFunction(e)||e===null||e===!1,da={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:o}=e;let n,i;const r={};for(let l=0;l<o;l++){n=e[l];let a;if(i=n,!rx(n)&&(i=Ao[(a=String(n)).toLowerCase()],i===void 0))throw new P(`Unknown adapter '${a}'`);if(i)break;r[a||"#"+l]=i}if(!i){const l=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=o?l.length>1?`since :
15
+ `+l.map(ca).join(`
16
+ `):" "+ca(l[0]):"as no adapter specified";throw new P("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:Ao};function Do(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function ma(e){return Do(e),e.headers=Z.from(e.headers),e.data=Io.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),da.getAdapter(e.adapter||nt.adapter)(e).then(function(o){return Do(e),o.data=Io.call(e,e.transformResponse,o),o.headers=Z.from(o.headers),o},function(o){return ea(o)||(Do(e),o&&o.response&&(o.response.data=Io.call(e,e.transformResponse,o.response),o.response.headers=Z.from(o.response.headers))),Promise.reject(o)})}const ua="1.7.2",Ro={};["object","boolean","number","function","string","symbol"].forEach((e,o)=>{Ro[e]=function(n){return typeof n===e||"a"+(o<1?"n ":" ")+e}});const fa={};Ro.transitional=function(e,o,n){function i(r,l){return"[Axios v"+ua+"] Transitional option '"+r+"'"+l+(n?". "+n:"")}return(r,l,a)=>{if(e===!1)throw new P(i(l," has been removed"+(o?" in "+o:"")),P.ERR_DEPRECATED);return o&&!fa[l]&&(fa[l]=!0,console.warn(i(l," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(r,l,a):!0}};function lx(e,o,n){if(typeof e!="object")throw new P("options must be an object",P.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const l=i[r],a=o[l];if(a){const s=e[l],c=s===void 0||a(s,l,e);if(c!==!0)throw new P("option "+l+" must be "+c,P.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new P("Unknown option "+l,P.ERR_BAD_OPTION)}}const jo={assertOptions:lx,validators:Ro},be=jo.validators;class Ve{constructor(o){this.defaults=o,this.interceptors={request:new Yl,response:new Yl}}async request(o,n){try{return await this._request(o,n)}catch(i){if(i instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const l=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?l&&!String(i.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(i.stack+=`
17
+ `+l):i.stack=l}catch{}}throw i}}_request(o,n){typeof o=="string"?(n=n||{},n.url=o):n=o||{},n=Te(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:l}=n;i!==void 0&&jo.assertOptions(i,{silentJSONParsing:be.transitional(be.boolean),forcedJSONParsing:be.transitional(be.boolean),clarifyTimeoutError:be.transitional(be.boolean)},!1),r!=null&&(k.isFunction(r)?n.paramsSerializer={serialize:r}:jo.assertOptions(r,{encode:be.function,serialize:be.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=l&&k.merge(l.common,l[n.method]);l&&k.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Z.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const d=[];this.interceptors.response.forEach(function(h){d.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!c){const h=[ma.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,d),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=s.length;let f=n;for(u=0;u<p;){const h=s[u++],y=s[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=ma.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=d.length;u<p;)m=m.then(d[u++],d[u++]);return m}getUri(o){o=Te(this.defaults,o);const n=na(o.baseURL,o.url);return Xl(n,o.params,o.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(e){Ve.prototype[e]=function(o,n){return this.request(Te(n||{},{method:e,url:o,data:(n||{}).data}))}}),k.forEach(["post","put","patch"],function(e){function o(n){return function(i,r,l){return this.request(Te(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Ve.prototype[e]=o(),Ve.prototype[e+"Form"]=o(!0)});class qo{constructor(o){if(typeof o!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const i=this;this.promise.then(r=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](r);i._listeners=null}),this.promise.then=r=>{let l;const a=new Promise(s=>{i.subscribe(s),l=s}).then(r);return a.cancel=function(){i.unsubscribe(l)},a},o(function(r,l,a){i.reason||(i.reason=new je(r,l,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const n=this._listeners.indexOf(o);n!==-1&&this._listeners.splice(n,1)}static source(){let o;return{token:new qo(function(n){o=n}),cancel:o}}}function ax(e){return function(o){return e.apply(null,o)}}function sx(e){return k.isObject(e)&&e.isAxiosError===!0}const zo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(zo).forEach(([e,o])=>{zo[o]=e});function ha(e){const o=new Ve(e),n=Il(Ve.prototype.request,o);return k.extend(n,Ve.prototype,o,{allOwnKeys:!0}),k.extend(n,o,null,{allOwnKeys:!0}),n.create=function(i){return ha(Te(e,i))},n}const z=ha(nt);z.Axios=Ve,z.CanceledError=je,z.CancelToken=qo,z.isCancel=ea,z.VERSION=ua,z.toFormData=Zt,z.AxiosError=P,z.Cancel=z.CanceledError,z.all=function(e){return Promise.all(e)},z.spread=ax,z.isAxiosError=sx,z.mergeConfig=Te,z.AxiosHeaders=Z,z.formToJSON=e=>$l(k.isHTMLForm(e)?new FormData(e):e),z.getAdapter=da.getAdapter,z.HttpStatusCode=zo,z.default=z;var cx=Object.defineProperty,dx=(e,o,n)=>o in e?cx(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,vt=(e,o,n)=>dx(e,typeof o!="symbol"?o+"":o,n);const it=/^[a-z0-9]+(-[a-z0-9]+)*$/,en=(e,o,n,i="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;i=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),c=r.pop(),d={provider:r.length>0?r[0]:i,prefix:c,name:s};return o&&!tn(d)?null:d}const l=r[0],a=l.split("-");if(a.length>1){const s={provider:i,prefix:a.shift(),name:a.join("-")};return o&&!tn(s)?null:s}if(n&&i===""){const s={provider:i,prefix:"",name:l};return o&&!tn(s,n)?null:s}return null},tn=(e,o)=>e?!!((e.provider===""||e.provider.match(it))&&(o&&e.prefix===""||e.prefix.match(it))&&e.name.match(it)):!1,pa=Object.freeze({left:0,top:0,width:16,height:16}),nn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),on=Object.freeze({...pa,...nn}),Ho=Object.freeze({...on,body:"",hidden:!1});function mx(e,o){const n={};!e.hFlip!=!o.hFlip&&(n.hFlip=!0),!e.vFlip!=!o.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(o.rotate||0))%4;return i&&(n.rotate=i),n}function ga(e,o){const n=mx(e,o);for(const i in Ho)i in nn?i in e&&!(i in n)&&(n[i]=nn[i]):i in o?n[i]=o[i]:i in e&&(n[i]=e[i]);return n}function ux(e,o){const n=e.icons,i=e.aliases||{},r=Object.create(null);function l(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=i[a]&&i[a].parent,c=s&&l(s);c&&(r[a]=[s].concat(c))}return r[a]}return Object.keys(n).concat(Object.keys(i)).forEach(l),r}function fx(e,o,n){const i=e.icons,r=e.aliases||{};let l={};function a(s){l=ga(i[s]||r[s],l)}return a(o),n.forEach(a),ga(e,l)}function ya(e,o){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{o(r,null),n.push(r)});const i=ux(e);for(const r in i){const l=i[r];l&&(o(r,fx(e,r,l)),n.push(r))}return n}const hx={provider:"",aliases:{},not_found:{},...pa};function Uo(e,o){for(const n in o)if(n in e&&typeof e[n]!=typeof o[n])return!1;return!0}function ba(e){if(typeof e!="object"||e===null)return null;const o=e;if(typeof o.prefix!="string"||!e.icons||typeof e.icons!="object"||!Uo(e,hx))return null;const n=o.icons;for(const r in n){const l=n[r];if(!r.match(it)||typeof l.body!="string"||!Uo(l,Ho))return null}const i=o.aliases||{};for(const r in i){const l=i[r],a=l.parent;if(!r.match(it)||typeof a!="string"||!n[a]&&!i[a]||!Uo(l,Ho))return null}return o}const ka=Object.create(null);function px(e,o){return{provider:e,prefix:o,icons:Object.create(null),missing:new Set}}function Ne(e,o){const n=ka[e]||(ka[e]=Object.create(null));return n[o]||(n[o]=px(e,o))}function Wo(e,o){return ba(o)?ya(o,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function gx(e,o,n){try{if(typeof n.body=="string")return e.icons[o]={...n},!0}catch{}return!1}let rt=!1;function Ca(e){return typeof e=="boolean"&&(rt=e),rt}function yx(e){const o=typeof e=="string"?en(e,!0,rt):e;if(o){const n=Ne(o.provider,o.prefix),i=o.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function bx(e,o){const n=en(e,!0,rt);if(!n)return!1;const i=Ne(n.provider,n.prefix);return gx(i,n.name,o)}function wa(e,o){if(typeof e!="object")return!1;if(typeof o!="string"&&(o=e.provider||""),rt&&!o&&!e.prefix){let r=!1;return ba(e)&&(e.prefix="",ya(e,(l,a)=>{a&&bx(l,a)&&(r=!0)})),r}const n=e.prefix;if(!tn({provider:o,prefix:n,name:"a"}))return!1;const i=Ne(o,n);return!!Wo(i,e)}const Ba=Object.freeze({width:null,height:null}),xa=Object.freeze({...Ba,...nn}),kx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Cx=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function _a(e,o,n){if(o===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*o*n)/n;if(typeof e!="string")return e;const i=e.split(kx);if(i===null||!i.length)return e;const r=[];let l=i.shift(),a=Cx.test(l);for(;;){if(a){const s=parseFloat(l);isNaN(s)?r.push(l):r.push(Math.ceil(s*o*n)/n)}else r.push(l);if(l=i.shift(),l===void 0)return r.join("");a=!a}}function wx(e,o){const n={...on,...e},i={...xa,...o},r={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,i].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),f.push("scale(-1 1)"),r.top=r.left=0):y&&(f.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),f.push("scale(1 -1)"),r.top=r.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=r.height/2+r.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:B=r.width/2+r.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(r.left!==r.top&&(B=r.left,r.left=r.top,r.top=B),r.width!==r.height&&(B=r.width,r.width=r.height,r.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const a=i.width,s=i.height,c=r.width,d=r.height;let m,u;return a===null?(u=s===null?"1em":s==="auto"?d:s,m=_a(u,c/d)):(m=a==="auto"?c:a,u=s===null?_a(m,d/c):s==="auto"?d:s),{attributes:{width:m.toString(),height:u.toString(),viewBox:r.left.toString()+" "+r.top.toString()+" "+c.toString()+" "+d.toString()},body:l}}const Bx=/\sid="(\S+)"/g,xx="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let _x=0;function Ex(e,o=xx){const n=[];let i;for(;i=Bx.exec(e);)n.push(i[1]);return n.length&&n.forEach(r=>{const l=typeof o=="function"?o(r):o+(_x++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const Go=Object.create(null);function Sx(e,o){Go[e]=o}function Jo(e){return Go[e]||Go[""]}function Ko(e){let o;if(typeof e.resources=="string")o=[e.resources];else if(o=e.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Zo=Object.create(null),rn=["https://api.simplesvg.com","https://api.unisvg.com"],Xo=[];for(;rn.length>0;)rn.length===1||Math.random()>.5?Xo.push(rn.shift()):Xo.push(rn.pop());Zo[""]=Ko({resources:["https://api.iconify.design"].concat(Xo)});function Tx(e,o){const n=Ko(o);return n===null?!1:(Zo[e]=n,!0)}function Yo(e){return Zo[e]}let Ea=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Vx(e,o){const n=Yo(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const l=o+".json?icons=";i=n.maxURL-r-n.path.length-l.length}return i}function Nx(e){return e===404}const Ox=(e,o,n)=>{const i=[],r=Vx(e,o),l="icons";let a={type:l,provider:e,prefix:o,icons:[]},s=0;return n.forEach((c,d)=>{s+=c.length+1,s>=r&&d>0&&(i.push(a),a={type:l,provider:e,prefix:o,icons:[]},s=c.length),a.icons.push(c)}),i.push(a),i};function Fx(e){if(typeof e=="string"){const o=Yo(e);if(o)return o.path}return"/"}const Px=(e,o,n)=>{if(!Ea){n("abort",424);return}let i=Fx(o.provider);switch(o.type){case"icons":{const l=o.prefix,a=o.icons.join(","),s=new URLSearchParams({icons:a});i+=l+".json?"+s.toString();break}case"custom":{const l=o.uri;i+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let r=503;Ea(e+i).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{n(Nx(a)?"abort":"next",a)});return}return r=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",r)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",r)})},Ix={prepare:Ox,send:Px};function Lx(e){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,l)=>r.provider!==l.provider?r.provider.localeCompare(l.provider):r.prefix!==l.prefix?r.prefix.localeCompare(l.prefix):r.name.localeCompare(l.name));let i={provider:"",prefix:"",name:""};return e.forEach(r=>{if(i.name===r.name&&i.prefix===r.prefix&&i.provider===r.provider)return;i=r;const l=r.provider,a=r.prefix,s=r.name,c=n[l]||(n[l]=Object.create(null)),d=c[a]||(c[a]=Ne(l,a));let m;s in d.icons?m=o.loaded:a===""||d.missing.has(s)?m=o.missing:m=o.pending;const u={provider:l,prefix:a,name:s};m.push(u)}),o}function Sa(e,o){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(r=>r.id!==o))})}function Mx(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const o=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const i=e.provider,r=e.prefix;o.forEach(l=>{const a=l.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==r)return!0;const d=c.name;if(e.icons[d])a.loaded.push({provider:i,prefix:r,name:d});else if(e.missing.has(d))a.missing.push({provider:i,prefix:r,name:d});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||Sa([e],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let Ax=0;function Dx(e,o,n){const i=Ax++,r=Sa.bind(null,n,i);if(!o.pending.length)return r;const l={id:i,icons:o,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),r}function Rx(e,o=!0,n=!1){const i=[];return e.forEach(r=>{const l=typeof r=="string"?en(r,o,n):r;l&&i.push(l)}),i}var jx={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function qx(e,o,n,i){const r=e.resources.length,l=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let w=e.resources.slice(0);for(a=[];w.length>1;){const E=Math.floor(Math.random()*w.length);a.push(w[E]),w=w.slice(0,E).concat(w.slice(E+1))}a=a.concat(w)}else a=e.resources.slice(l).concat(e.resources.slice(0,l));const s=Date.now();let c="pending",d=0,m,u=null,p=[],f=[];typeof i=="function"&&f.push(i);function h(){u&&(clearTimeout(u),u=null)}function y(){c==="pending"&&(c="aborted"),h(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function g(w,E){E&&(f=[]),typeof w=="function"&&f.push(w)}function B(){return{startTime:s,payload:o,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:y}}function _(){c="failed",f.forEach(w=>{w(void 0,m)})}function x(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function T(w,E,L){const R=E!=="success";switch(p=p.filter(M=>M!==w),c){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=L,_();return}if(R){m=L,p.length||(a.length?O():_());return}if(h(),x(),!e.random){const M=e.resources.indexOf(w.resource);M!==-1&&M!==e.index&&(e.index=M)}c="completed",f.forEach(M=>{M(L)})}function O(){if(c!=="pending")return;h();const w=a.shift();if(w===void 0){if(p.length){u=setTimeout(()=>{h(),c==="pending"&&(x(),_())},e.timeout);return}_();return}const E={status:"pending",resource:w,callback:(L,R)=>{T(E,L,R)}};p.push(E),d++,u=setTimeout(O,e.rotate),n(w,o,E.callback)}return setTimeout(O),B}function Ta(e){const o={...jx,...e};let n=[];function i(){n=n.filter(a=>a().status==="pending")}function r(a,s,c){const d=qx(o,a,s,(m,u)=>{i(),c&&c(m,u)});return n.push(d),d}function l(a){return n.find(s=>a(s))||null}return{query:r,find:l,setIndex:a=>{o.index=a},getIndex:()=>o.index,cleanup:i}}function Va(){}const Qo=Object.create(null);function zx(e){if(!Qo[e]){const o=Yo(e);if(!o)return;const n=Ta(o),i={config:o,redundancy:n};Qo[e]=i}return Qo[e]}function Hx(e,o,n){let i,r;if(typeof e=="string"){const l=Jo(e);if(!l)return n(void 0,424),Va;r=l.send;const a=zx(e);a&&(i=a.redundancy)}else{const l=Ko(e);if(l){i=Ta(l);const a=e.resources?e.resources[0]:"",s=Jo(a);s&&(r=s.send)}}return!i||!r?(n(void 0,424),Va):i.query(o,r,n)().abort}const Na="iconify2",lt="iconify",Oa=lt+"-count",Fa=lt+"-version",Pa=36e5,Ux=168;function $o(e,o){try{return e.getItem(o)}catch{}}function vo(e,o,n){try{return e.setItem(o,n),!0}catch{}}function Ia(e,o){try{e.removeItem(o)}catch{}}function ei(e,o){return vo(e,Oa,o.toString())}function ti(e){return parseInt($o(e,Oa))||0}const ln={local:!0,session:!0},La={local:new Set,session:new Set};let ni=!1;function Wx(e){ni=e}let an=typeof window>"u"?{}:window;function Ma(e){const o=e+"Storage";try{if(an&&an[o]&&typeof an[o].length=="number")return an[o]}catch{}ln[e]=!1}function Aa(e,o){const n=Ma(e);if(!n)return;const i=$o(n,Fa);if(i!==Na){if(i){const s=ti(n);for(let c=0;c<s;c++)Ia(n,lt+c.toString())}vo(n,Fa,Na),ei(n,0);return}const r=Math.floor(Date.now()/Pa)-Ux,l=s=>{const c=lt+s.toString(),d=$o(n,c);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>r&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&o(m,s))return!0}catch{}Ia(n,c)}};let a=ti(n);for(let s=a-1;s>=0;s--)l(s)||(s===a-1?(a--,ei(n,a)):La[e].add(s))}function Da(){if(!ni){Wx(!0);for(const e in ln)Aa(e,o=>{const n=o.data,i=o.provider,r=n.prefix,l=Ne(i,r);if(!Wo(l,n).length)return!1;const a=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,a):a,!0})}}function Gx(e,o){const n=e.lastModifiedCached;if(n&&n>=o)return n===o;if(e.lastModifiedCached=o,n)for(const i in ln)Aa(i,r=>{const l=r.data;return r.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===o});return!0}function Jx(e,o){ni||Da();function n(i){let r;if(!ln[i]||!(r=Ma(i)))return;const l=La[i];let a;if(l.size)l.delete(a=Array.from(l).shift());else if(a=ti(r),!ei(r,a+1))return;const s={cached:Math.floor(Date.now()/Pa),provider:e.provider,data:o};return vo(r,lt+a.toString(),JSON.stringify(s))}o.lastModified&&!Gx(e,o.lastModified)||Object.keys(o.icons).length&&(o.not_found&&(o=Object.assign({},o),delete o.not_found),n("local")||n("session"))}function Ra(){}function Kx(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Mx(e)}))}function Zx(e,o){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(o).sort():e.iconsToLoad=o,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,r=e.iconsToLoad;delete e.iconsToLoad;let l;!r||!(l=Jo(n))||l.prepare(n,i,r).forEach(a=>{Hx(n,a,(s,c)=>{if(typeof s!="object"){if(c!==404)return;a.icons.forEach(d=>{e.missing.add(d)})}else try{const d=Wo(e,s);if(!d.length)return;const m=e.pendingIcons;m&&d.forEach(u=>{m.delete(u)}),Jx(e,s)}catch(d){console.error(d)}Kx(e)})})}))}const Xx=(e,o)=>{const n=Rx(e,!0,Ca()),i=Lx(n);if(!i.pending.length){let c=!0;return o&&setTimeout(()=>{c&&o(i.loaded,i.missing,i.pending,Ra)}),()=>{c=!1}}const r=Object.create(null),l=[];let a,s;return i.pending.forEach(c=>{const{provider:d,prefix:m}=c;if(m===s&&d===a)return;a=d,s=m,l.push(Ne(d,m));const u=r[d]||(r[d]=Object.create(null));u[m]||(u[m]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:m,name:u}=c,p=Ne(d,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),r[d][m].push(u))}),l.forEach(c=>{const{provider:d,prefix:m}=c;r[d][m].length&&Zx(c,r[d][m])}),o?Dx(o,i,l):Ra};function Yx(e,o){const n={...e};for(const i in o){const r=o[i],l=typeof r;i in Ba?(r===null||r&&(l==="string"||l==="number"))&&(n[i]=r):l===typeof n[i]&&(n[i]=i==="rotate"?r%4:r)}return n}const Qx=/[\s,]+/;function $x(e,o){o.split(Qx).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function vx(e,o=0){const n=e.replace(/^-?[0-9.]*/,"");function i(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:i(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/r,l%1===0?i(l):0)}}return o}function e1(e,o){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in o)n+=" "+i+'="'+o[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function t1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function n1(e){return'url("data:image/svg+xml,'+t1(e)+'")'}const ja={...xa,inline:!1},o1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},i1={display:"inline-block"},oi={backgroundColor:"currentColor"},qa={backgroundColor:"transparent"},za={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ha={webkitMask:oi,mask:oi,background:qa};for(const e in Ha){const o=Ha[e];for(const n in za)o[e+n]=za[n]}const sn={};["horizontal","vertical"].forEach(e=>{const o=e.slice(0,1)+"Flip";sn[e+"-flip"]=o,sn[e.slice(0,1)+"-flip"]=o,sn[e+"Flip"]=o});function Ua(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Wa=(e,o)=>{const n=Yx(ja,o),i={...o1},r=o.mode||"svg",l={},a=o.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in o){const g=o[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&$x(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=vx(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete i["aria-hidden"];break;default:{const B=sn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):ja[y]===void 0&&(i[y]=g)}}}const c=wx(e,n),d=c.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),r==="svg"){i.style={...l,...s},Object.assign(i,d);let y=0,g=o.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),i.innerHTML=Ex(c.body,g?()=>g+"ID"+y++:"iconifyVue"),t.h("svg",i)}const{body:m,width:u,height:p}=e,f=r==="mask"||(r==="bg"?!1:m.indexOf("currentColor")!==-1),h=e1(m,{...d,width:u+"",height:p+""});return i.style={...l,"--svg":n1(h),width:Ua(d.width),height:Ua(d.height),...i1,...f?oi:qa,...s},t.h("span",i)};if(Ca(!0),Sx("",Ix),typeof document<"u"&&typeof window<"u"){Da();const e=window;if(e.IconifyPreload!==void 0){const o=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!wa(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const o=e.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const i="IconifyProviders["+n+"] is invalid.";try{const r=o[n];if(typeof r!="object"||!r||r.resources===void 0)continue;Tx(n,r)||console.error(i)}catch{console.error(i)}}}}const r1={...on,body:""};t.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(e,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=en(e,!1,!0))===null)return this.abortLoading(),null;const i=yx(n);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:e,abort:Xx([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,o&&o(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:i,classes:r}}},render(){this.counter;const e=this.$attrs,o=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!o)return Wa(r1,e);let n=e;return o.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+o.classes.join(" ")}),Wa({...on,...o.data},n)}});function l1(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(o==="x"?n:n&3|8).toString(16)})}function a1(){return"cmd-"+l1()}const s1={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||a1()}},methods:{buildHtmlId(...e){return e.map(o=>o.replace(/\s/g,"")).join("")}}},ii=class Cn{constructor(o){vt(this,"label"),this.label=o}validate(o){return[o.lastName.error,o.lastName.errorMessage]=this.validateRequired(o.lastName.value,Cn.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[o.email.error,o.email.errorMessage]=this.validateRequired(o.email.value,Cn.PATTERN_EMAIL,this.label("form_error_invalid_email"))[o.additionalText.error,o.additionalText.errorMessage]=this.validateRequired(o.additionalText.value,Cn.PATTERN_MESSAGE,this.label("form_error_invalid_message")),o.acceptPrivacy.error=!1,o.error=o.lastName.error||o.email.error||o.additionalText.error,o}validatePrivacy(o){return o.acceptPrivacy.error=!o.acceptPrivacy.value,o.acceptPrivacy.errorMessage=o.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",o.error=o.error||o.acceptPrivacy.error,o}validateRequired(o,n,i){return!o||o.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(o)?[!0,i||this.label("form_error_invalid")]:[!1,""]}};vt(ii,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),vt(ii,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),vt(ii,"PATTERN_MESSAGE",/^.{2,500}$/);const c1=e=>{const o=document.createElement("div");document.querySelector("body").appendChild(o),t.createApp(d1,{...e,show:!0}).mount(o)},d1=t.defineComponent({name:"CmdFancyBox",mixins:[s1],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const o={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(o.src=this.fancyBoxImageUrl),o},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(e=>e.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(e){(await m1(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let o=0;o<this.fancyBoxGallery.length;o++)if(this.fancyBoxGallery[o].image.id===e){this.index=o;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(e){this.showFancyBox=e},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function m1(e){const o=await fetch(e,{method:"HEAD"});return o.ok?(o.headers.get("Content-Type")||"").split(";")[0]:"text/html"}wa({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
18
+ c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
19
+ <path fill="currentColor" d="M2,12h6v18H2V12z"/>
20
+ <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});function Ga(e,o){return function(){return e.apply(o,arguments)}}const{toString:u1}=Object.prototype,{getPrototypeOf:ri}=Object,cn=(e=>o=>{const n=u1.call(o);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),le=e=>(e=e.toLowerCase(),o=>cn(o)===e),dn=e=>o=>typeof o===e,{isArray:qe}=Array,at=dn("undefined");function f1(e){return e!==null&&!at(e)&&e.constructor!==null&&!at(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ja=le("ArrayBuffer");function h1(e){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(e):o=e&&e.buffer&&Ja(e.buffer),o}const p1=dn("string"),v=dn("function"),Ka=dn("number"),mn=e=>e!==null&&typeof e=="object",g1=e=>e===!0||e===!1,un=e=>{if(cn(e)!=="object")return!1;const o=ri(e);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y1=le("Date"),b1=le("File"),k1=le("Blob"),C1=le("FileList"),w1=e=>mn(e)&&v(e.pipe),B1=e=>{let o;return e&&(typeof FormData=="function"&&e instanceof FormData||v(e.append)&&((o=cn(e))==="formdata"||o==="object"&&v(e.toString)&&e.toString()==="[object FormData]"))},x1=le("URLSearchParams"),[_1,E1,S1,T1]=["ReadableStream","Request","Response","Headers"].map(le),V1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function st(e,o,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),qe(e))for(i=0,r=e.length;i<r;i++)o.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(i=0;i<a;i++)s=l[i],o.call(null,e[s],s,e)}}function Za(e,o){o=o.toLowerCase();const n=Object.keys(e);let i=n.length,r;for(;i-- >0;)if(r=n[i],o===r.toLowerCase())return r;return null}const Xa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ya=e=>!at(e)&&e!==Xa;function li(){const{caseless:e}=Ya(this)&&this||{},o={},n=(i,r)=>{const l=e&&Za(o,r)||r;un(o[l])&&un(i)?o[l]=li(o[l],i):un(i)?o[l]=li({},i):qe(i)?o[l]=i.slice():o[l]=i};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&st(arguments[i],n);return o}const N1=(e,o,n,{allOwnKeys:i}={})=>(st(o,(r,l)=>{n&&v(r)?e[l]=Ga(r,n):e[l]=r},{allOwnKeys:i}),e),O1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),F1=(e,o,n,i)=>{e.prototype=Object.create(o.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:o.prototype}),n&&Object.assign(e.prototype,n)},P1=(e,o,n,i)=>{let r,l,a;const s={};if(o=o||{},e==null)return o;do{for(r=Object.getOwnPropertyNames(e),l=r.length;l-- >0;)a=r[l],(!i||i(a,e,o))&&!s[a]&&(o[a]=e[a],s[a]=!0);e=n!==!1&&ri(e)}while(e&&(!n||n(e,o))&&e!==Object.prototype);return o},I1=(e,o,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=o.length;const i=e.indexOf(o,n);return i!==-1&&i===n},L1=e=>{if(!e)return null;if(qe(e))return e;let o=e.length;if(!Ka(o))return null;const n=new Array(o);for(;o-- >0;)n[o]=e[o];return n},M1=(e=>o=>e&&o instanceof e)(typeof Uint8Array<"u"&&ri(Uint8Array)),A1=(e,o)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const r=i.value;o.call(e,r[0],r[1])}},D1=(e,o)=>{let n;const i=[];for(;(n=e.exec(o))!==null;)i.push(n);return i},R1=le("HTMLFormElement"),j1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,n,i){return n.toUpperCase()+i}),Qa=(({hasOwnProperty:e})=>(o,n)=>e.call(o,n))(Object.prototype),q1=le("RegExp"),$a=(e,o)=>{const n=Object.getOwnPropertyDescriptors(e),i={};st(n,(r,l)=>{let a;(a=o(r,l,e))!==!1&&(i[l]=a||r)}),Object.defineProperties(e,i)},z1=e=>{$a(e,(o,n)=>{if(v(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(v(i)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},H1=(e,o)=>{const n={},i=r=>{r.forEach(l=>{n[l]=!0})};return qe(e)?i(e):i(String(e).split(o)),n},U1=()=>{},W1=(e,o)=>e!=null&&Number.isFinite(e=+e)?e:o,ai="abcdefghijklmnopqrstuvwxyz",va="0123456789",es={DIGIT:va,ALPHA:ai,ALPHA_DIGIT:ai+ai.toUpperCase()+va},G1=(e=16,o=es.ALPHA_DIGIT)=>{let n="";const{length:i}=o;for(;e--;)n+=o[Math.random()*i|0];return n};function J1(e){return!!(e&&v(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const K1=e=>{const o=new Array(10),n=(i,r)=>{if(mn(i)){if(o.indexOf(i)>=0)return;if(!("toJSON"in i)){o[r]=i;const l=qe(i)?[]:{};return st(i,(a,s)=>{const c=n(a,r+1);!at(c)&&(l[s]=c)}),o[r]=void 0,l}}return i};return n(e,0)},Z1=le("AsyncFunction"),X1=e=>e&&(mn(e)||v(e))&&v(e.then)&&v(e.catch),C={isArray:qe,isArrayBuffer:Ja,isBuffer:f1,isFormData:B1,isArrayBufferView:h1,isString:p1,isNumber:Ka,isBoolean:g1,isObject:mn,isPlainObject:un,isReadableStream:_1,isRequest:E1,isResponse:S1,isHeaders:T1,isUndefined:at,isDate:y1,isFile:b1,isBlob:k1,isRegExp:q1,isFunction:v,isStream:w1,isURLSearchParams:x1,isTypedArray:M1,isFileList:C1,forEach:st,merge:li,extend:N1,trim:V1,stripBOM:O1,inherits:F1,toFlatObject:P1,kindOf:cn,kindOfTest:le,endsWith:I1,toArray:L1,forEachEntry:A1,matchAll:D1,isHTMLForm:R1,hasOwnProperty:Qa,hasOwnProp:Qa,reduceDescriptors:$a,freezeMethods:z1,toObjectSet:H1,toCamelCase:j1,noop:U1,toFiniteNumber:W1,findKey:Za,global:Xa,isContextDefined:Ya,ALPHABET:es,generateString:G1,isSpecCompliantForm:J1,toJSONObject:K1,isAsyncFn:Z1,isThenable:X1};function I(e,o,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",o&&(this.code=o),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}C.inherits(I,Error,{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:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ts=I.prototype,ns={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ns[e]={value:e}}),Object.defineProperties(I,ns),Object.defineProperty(ts,"isAxiosError",{value:!0}),I.from=(e,o,n,i,r,l)=>{const a=Object.create(ts);return C.toFlatObject(e,a,function(s){return s!==Error.prototype},s=>s!=="isAxiosError"),I.call(a,e.message,o,n,i,r),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const Y1=null;function si(e){return C.isPlainObject(e)||C.isArray(e)}function os(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function is(e,o,n){return e?e.concat(o).map(function(i,r){return i=os(i),!n&&r?"["+i+"]":i}).join(n?".":""):o}function Q1(e){return C.isArray(e)&&!e.some(si)}const $1=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function fn(e,o,n){if(!C.isObject(e))throw new TypeError("target must be an object");o=o||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!C.isUndefined(h[f])});const i=n.metaTokens,r=n.visitor||d,l=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(o);if(!C.isFunction(r))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(C.isDate(f))return f.toISOString();if(!s&&C.isBlob(f))throw new I("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(f)||C.isTypedArray(f)?s&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(C.endsWith(h,"{}"))h=i?h:h.slice(0,-2),f=JSON.stringify(f);else if(C.isArray(f)&&Q1(f)||(C.isFileList(f)||C.endsWith(h,"[]"))&&(g=C.toArray(f)))return h=os(h),g.forEach(function(B,_){!(C.isUndefined(B)||B===null)&&o.append(a===!0?is([h],_,l):a===null?h:h+"[]",c(B))}),!1}return si(f)?!0:(o.append(is(y,h,l),c(f)),!1)}const m=[],u=Object.assign($1,{defaultVisitor:d,convertValue:c,isVisitable:si});function p(f,h){if(!C.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),C.forEach(f,function(y,g){(!(C.isUndefined(y)||y===null)&&r.call(o,y,C.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return p(e),o}function rs(e){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return o[n]})}function ci(e,o){this._pairs=[],e&&fn(e,this,o)}const ls=ci.prototype;ls.append=function(e,o){this._pairs.push([e,o])},ls.toString=function(e){const o=e?function(n){return e.call(this,n,rs)}:rs;return this._pairs.map(function(n){return o(n[0])+"="+o(n[1])},"").join("&")};function v1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function as(e,o,n){if(!o)return e;const i=n&&n.encode||v1,r=n&&n.serialize;let l;if(r?l=r(o,n):l=C.isURLSearchParams(o)?o.toString():new ci(o,n).toString(i),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ss{constructor(){this.handlers=[]}use(o,n,i){return this.handlers.push({fulfilled:o,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){C.forEach(this.handlers,function(n){n!==null&&o(n)})}}const cs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},e_=typeof URLSearchParams<"u"?URLSearchParams:ci,t_=typeof FormData<"u"?FormData:null,n_=typeof Blob<"u"?Blob:null,o_={isBrowser:!0,classes:{URLSearchParams:e_,FormData:t_,Blob:n_},protocols:["http","https","file","blob","url","data"]},di=typeof window<"u"&&typeof document<"u",i_=(e=>di&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),r_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",l_=di&&window.location.href||"http://localhost",a_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:di,hasStandardBrowserEnv:i_,hasStandardBrowserWebWorkerEnv:r_,origin:l_},Symbol.toStringTag,{value:"Module"})),ae={...a_,...o_};function s_(e,o){return fn(e,new ae.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,l){return ae.isNode&&C.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},o))}function c_(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(o=>o[0]==="[]"?"":o[1]||o[0])}function d_(e){const o={},n=Object.keys(e);let i;const r=n.length;let l;for(i=0;i<r;i++)l=n[i],o[l]=e[l];return o}function ds(e){function o(n,i,r,l){let a=n[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=l>=n.length;return a=!a&&C.isArray(r)?r.length:a,c?(C.hasOwnProp(r,a)?r[a]=[r[a],i]:r[a]=i,!s):((!r[a]||!C.isObject(r[a]))&&(r[a]=[]),o(n,i,r[a],l)&&C.isArray(r[a])&&(r[a]=d_(r[a])),!s)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(i,r)=>{o(c_(i),r,n,0)}),n}return null}function m_(e,o,n){if(C.isString(e))try{return(o||JSON.parse)(e),C.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const ct={transitional:cs,adapter:["xhr","http","fetch"],transformRequest:[function(e,o){const n=o.getContentType()||"",i=n.indexOf("application/json")>-1,r=C.isObject(e);if(r&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return i?JSON.stringify(ds(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return s_(e,this.formSerializer).toString();if((l=C.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return fn(l?{"files[]":e}:e,a&&new a,this.formSerializer)}}return r||i?(o.setContentType("application/json",!1),m_(e)):e}],transformResponse:[function(e){const o=this.transitional||ct.transitional,n=o&&o.forcedJSONParsing,i=this.responseType==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(n&&!this.responseType||i)){const r=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(l){if(r)throw l.name==="SyntaxError"?I.from(l,I.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ae.classes.FormData,Blob:ae.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{ct.headers[e]={}});const u_=C.toObjectSet(["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"]),f_=e=>{const o={};let n,i,r;return e&&e.split(`
21
+ `).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),i=l.substring(r+1).trim(),!(!n||o[n]&&u_[n])&&(n==="set-cookie"?o[n]?o[n].push(i):o[n]=[i]:o[n]=o[n]?o[n]+", "+i:i)}),o},ms=Symbol("internals");function dt(e){return e&&String(e).trim().toLowerCase()}function hn(e){return e===!1||e==null?e:C.isArray(e)?e.map(hn):String(e)}function h_(e){const o=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)o[i[1]]=i[2];return o}const p_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function mi(e,o,n,i,r){if(C.isFunction(i))return i.call(this,o,n);if(r&&(o=n),!!C.isString(o)){if(C.isString(i))return o.indexOf(i)!==-1;if(C.isRegExp(i))return i.test(o)}}function g_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,n,i)=>n.toUpperCase()+i)}function y_(e,o){const n=C.toCamelCase(" "+o);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,l,a){return this[i].call(this,o,r,l,a)},configurable:!0})})}class X{constructor(o){o&&this.set(o)}set(o,n,i){const r=this;function l(s,c,d){const m=dt(c);if(!m)throw new Error("header name must be a non-empty string");const u=C.findKey(r,m);(!u||r[u]===void 0||d===!0||d===void 0&&r[u]!==!1)&&(r[u||c]=hn(s))}const a=(s,c)=>C.forEach(s,(d,m)=>l(d,m,c));if(C.isPlainObject(o)||o instanceof this.constructor)a(o,n);else if(C.isString(o)&&(o=o.trim())&&!p_(o))a(f_(o),n);else if(C.isHeaders(o))for(const[s,c]of o.entries())l(c,s,i);else o!=null&&l(n,o,i);return this}get(o,n){if(o=dt(o),o){const i=C.findKey(this,o);if(i){const r=this[i];if(!n)return r;if(n===!0)return h_(r);if(C.isFunction(n))return n.call(this,r,i);if(C.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,n){if(o=dt(o),o){const i=C.findKey(this,o);return!!(i&&this[i]!==void 0&&(!n||mi(this,this[i],i,n)))}return!1}delete(o,n){const i=this;let r=!1;function l(a){if(a=dt(a),a){const s=C.findKey(i,a);s&&(!n||mi(i,i[s],s,n))&&(delete i[s],r=!0)}}return C.isArray(o)?o.forEach(l):l(o),r}clear(o){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const l=n[i];(!o||mi(this,this[l],l,o,!0))&&(delete this[l],r=!0)}return r}normalize(o){const n=this,i={};return C.forEach(this,(r,l)=>{const a=C.findKey(i,l);if(a){n[a]=hn(r),delete n[l];return}const s=o?g_(l):String(l).trim();s!==l&&delete n[l],n[s]=hn(r),i[s]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const n=Object.create(null);return C.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=o&&C.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,n])=>o+": "+n).join(`
22
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...n){const i=new this(o);return n.forEach(r=>i.set(r)),i}static accessor(o){const n=(this[ms]=this[ms]={accessors:{}}).accessors,i=this.prototype;function r(l){const a=dt(l);n[a]||(y_(i,l),n[a]=!0)}return C.isArray(o)?o.forEach(r):r(o),this}}X.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(X.prototype,({value:e},o)=>{let n=o[0].toUpperCase()+o.slice(1);return{get:()=>e,set(i){this[n]=i}}}),C.freezeMethods(X);function ui(e,o){const n=this||ct,i=o||n,r=X.from(i.headers);let l=i.data;return C.forEach(e,function(a){l=a.call(n,l,r.normalize(),o?o.status:void 0)}),r.normalize(),l}function us(e){return!!(e&&e.__CANCEL__)}function ze(e,o,n){I.call(this,e??"canceled",I.ERR_CANCELED,o,n),this.name="CanceledError"}C.inherits(ze,I,{__CANCEL__:!0});function fs(e,o,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):o(new I("Request failed with status code "+n.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function b_(e){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return o&&o[1]||""}function k_(e,o){e=e||10;const n=new Array(e),i=new Array(e);let r=0,l=0,a;return o=o!==void 0?o:1e3,function(s){const c=Date.now(),d=i[l];a||(a=c),n[r]=s,i[r]=c;let m=l,u=0;for(;m!==r;)u+=n[m++],m=m%e;if(r=(r+1)%e,r===l&&(l=(l+1)%e),c-a<o)return;const p=d&&c-d;return p?Math.round(u*1e3/p):void 0}}function C_(e,o){let n=0;const i=1e3/o;let r=null;return function(){const l=this===!0,a=Date.now();if(l||a-n>i)return r&&(clearTimeout(r),r=null),n=a,e.apply(null,arguments);r||(r=setTimeout(()=>(r=null,n=Date.now(),e.apply(null,arguments)),i-(a-n)))}}const pn=(e,o,n=3)=>{let i=0;const r=k_(50,250);return C_(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-i,d=r(c),m=a<=s;i=a;const u={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-a)/d:void 0,event:l,lengthComputable:s!=null};u[o?"download":"upload"]=!0,e(u)},n)},w_=ae.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let n;function i(r){let l=r;return e&&(o.setAttribute("href",l),l=o.href),o.setAttribute("href",l),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return n=i(window.location.href),function(r){const l=C.isString(r)?i(r):r;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),B_=ae.hasStandardBrowserEnv?{write(e,o,n,i,r,l){const a=[e+"="+encodeURIComponent(o)];C.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),C.isString(i)&&a.push("path="+i),C.isString(r)&&a.push("domain="+r),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const o=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function x_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function __(e,o){return o?e.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):e}function hs(e,o){return e&&!x_(o)?__(e,o):o}const ps=e=>e instanceof X?{...e}:e;function Oe(e,o){o=o||{};const n={};function i(d,m,u){return C.isPlainObject(d)&&C.isPlainObject(m)?C.merge.call({caseless:u},d,m):C.isPlainObject(m)?C.merge({},m):C.isArray(m)?m.slice():m}function r(d,m,u){if(C.isUndefined(m)){if(!C.isUndefined(d))return i(void 0,d,u)}else return i(d,m,u)}function l(d,m){if(!C.isUndefined(m))return i(void 0,m)}function a(d,m){if(C.isUndefined(m)){if(!C.isUndefined(d))return i(void 0,d)}else return i(void 0,m)}function s(d,m,u){if(u in o)return i(d,m);if(u in e)return i(void 0,d)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(d,m)=>r(ps(d),ps(m),!0)};return C.forEach(Object.keys(Object.assign({},e,o)),function(d){const m=c[d]||r,u=m(e[d],o[d],d);C.isUndefined(u)&&m!==s||(n[d]=u)}),n}const gs=e=>{const o=Oe({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:l,headers:a,auth:s}=o;o.headers=a=X.from(a),o.url=as(hs(o.baseURL,o.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(C.isFormData(n)){if(ae.hasStandardBrowserEnv||ae.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...m]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...m].join("; "))}}if(ae.hasStandardBrowserEnv&&(i&&C.isFunction(i)&&(i=i(o)),i||i!==!1&&w_(o.url))){const d=r&&l&&B_.read(l);d&&a.set(r,d)}return o},E_=typeof XMLHttpRequest<"u",S_=E_&&function(e){return new Promise(function(o,n){const i=gs(e);let r=i.data;const l=X.from(i.headers).normalize();let{responseType:a}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let d=new XMLHttpRequest;d.open(i.method.toUpperCase(),i.url,!0),d.timeout=i.timeout;function m(){if(!d)return;const p=X.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:e,request:d};fs(function(h){o(h),c()},function(h){n(h),c()},f),d=null}"onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(n(new I("Request aborted",I.ECONNABORTED,i,d)),d=null)},d.onerror=function(){n(new I("Network Error",I.ERR_NETWORK,i,d)),d=null},d.ontimeout=function(){let p=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const f=i.transitional||cs;i.timeoutErrorMessage&&(p=i.timeoutErrorMessage),n(new I(p,f.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,i,d)),d=null},r===void 0&&l.setContentType(null),"setRequestHeader"in d&&C.forEach(l.toJSON(),function(p,f){d.setRequestHeader(f,p)}),C.isUndefined(i.withCredentials)||(d.withCredentials=!!i.withCredentials),a&&a!=="json"&&(d.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&d.addEventListener("progress",pn(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",pn(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{d&&(n(!p||p.type?new ze(null,e,d):p),d.abort(),d=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const u=b_(i.url);if(u&&ae.protocols.indexOf(u)===-1){n(new I("Unsupported protocol "+u+":",I.ERR_BAD_REQUEST,e));return}d.send(r||null)})},T_=(e,o)=>{let n=new AbortController,i;const r=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;n.abort(d instanceof I?d:new ze(d instanceof Error?d.message:d))}};let l=o&&setTimeout(()=>{r(new I(`timeout ${o} of ms exceeded`,I.ETIMEDOUT))},o);const a=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",r):c.unsubscribe(r))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{l&&clearTimeout(l),l=null}]},V_=function*(e,o){let n=e.byteLength;if(n<o){yield e;return}let i=0,r;for(;i<n;)r=i+o,yield e.slice(i,r),i=r},N_=async function*(e,o,n){for await(const i of e)yield*V_(ArrayBuffer.isView(i)?i:await n(String(i)),o)},ys=(e,o,n,i,r)=>{const l=N_(e,o,r);let a=0;return new ReadableStream({type:"bytes",async pull(s){const{done:c,value:d}=await l.next();if(c){s.close(),i();return}let m=d.byteLength;n&&n(a+=m),s.enqueue(new Uint8Array(d))},cancel(s){return i(s),l.return()}},{highWaterMark:2})},bs=(e,o)=>{const n=e!=null;return i=>setTimeout(()=>o({lengthComputable:n,total:e,loaded:i}))},gn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ks=gn&&typeof ReadableStream=="function",fi=gn&&(typeof TextEncoder=="function"?(e=>o=>e.encode(o))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),O_=ks&&(()=>{let e=!1;const o=new Request(ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!o})(),Cs=64*1024,hi=ks&&!!(()=>{try{return C.isReadableStream(new Response("").body)}catch{}})(),yn={stream:hi&&(e=>e.body)};gn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(o=>{!yn[o]&&(yn[o]=C.isFunction(e[o])?n=>n[o]():(n,i)=>{throw new I(`Response type '${o}' is not supported`,I.ERR_NOT_SUPPORT,i)})})})(new Response);const F_=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(C.isArrayBufferView(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await fi(e)).byteLength},P_=async(e,o)=>C.toFiniteNumber(e.getContentLength())??F_(o),I_=gn&&(async e=>{let{url:o,method:n,data:i,signal:r,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:u="same-origin",fetchOptions:p}=gs(e);d=d?(d+"").toLowerCase():"text";let[f,h]=r||l||a?T_([r,l],a):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let _;try{if(c&&O_&&n!=="get"&&n!=="head"&&(_=await P_(m,i))!==0){let w=new Request(o,{method:"POST",body:i,duplex:"half"}),E;C.isFormData(i)&&(E=w.headers.get("content-type"))&&m.setContentType(E),w.body&&(i=ys(w.body,Cs,bs(_,pn(c)),null,fi))}C.isString(u)||(u=u?"cors":"omit"),g=new Request(o,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:i,duplex:"half",withCredentials:u});let x=await fetch(g);const T=hi&&(d==="stream"||d==="response");if(hi&&(s||T)){const w={};["status","statusText","headers"].forEach(L=>{w[L]=x[L]});const E=C.toFiniteNumber(x.headers.get("content-length"));x=new Response(ys(x.body,Cs,s&&bs(E,pn(s,!0)),T&&B,fi),w)}d=d||"text";let O=await yn[C.findKey(yn,d)||"text"](x,e);return!T&&B(),h&&h(),await new Promise((w,E)=>{fs(w,E,{data:O,headers:X.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:g})})}catch(x){throw B(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:x.cause||x}):I.from(x,x&&x.code,e,g)}}),pi={http:Y1,xhr:S_,fetch:I_};C.forEach(pi,(e,o)=>{if(e){try{Object.defineProperty(e,"name",{value:o})}catch{}Object.defineProperty(e,"adapterName",{value:o})}});const ws=e=>`- ${e}`,L_=e=>C.isFunction(e)||e===null||e===!1,Bs={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:o}=e;let n,i;const r={};for(let l=0;l<o;l++){n=e[l];let a;if(i=n,!L_(n)&&(i=pi[(a=String(n)).toLowerCase()],i===void 0))throw new I(`Unknown adapter '${a}'`);if(i)break;r[a||"#"+l]=i}if(!i){const l=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=o?l.length>1?`since :
23
+ `+l.map(ws).join(`
24
+ `):" "+ws(l[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:pi};function gi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ze(null,e)}function xs(e){return gi(e),e.headers=X.from(e.headers),e.data=ui.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bs.getAdapter(e.adapter||ct.adapter)(e).then(function(o){return gi(e),o.data=ui.call(e,e.transformResponse,o),o.headers=X.from(o.headers),o},function(o){return us(o)||(gi(e),o&&o.response&&(o.response.data=ui.call(e,e.transformResponse,o.response),o.response.headers=X.from(o.response.headers))),Promise.reject(o)})}const _s="1.7.2",yi={};["object","boolean","number","function","string","symbol"].forEach((e,o)=>{yi[e]=function(n){return typeof n===e||"a"+(o<1?"n ":" ")+e}});const Es={};yi.transitional=function(e,o,n){function i(r,l){return"[Axios v"+_s+"] Transitional option '"+r+"'"+l+(n?". "+n:"")}return(r,l,a)=>{if(e===!1)throw new I(i(l," has been removed"+(o?" in "+o:"")),I.ERR_DEPRECATED);return o&&!Es[l]&&(Es[l]=!0,console.warn(i(l," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(r,l,a):!0}};function M_(e,o,n){if(typeof e!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const l=i[r],a=o[l];if(a){const s=e[l],c=s===void 0||a(s,l,e);if(c!==!0)throw new I("option "+l+" must be "+c,I.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new I("Unknown option "+l,I.ERR_BAD_OPTION)}}const bi={assertOptions:M_,validators:yi},ke=bi.validators;class Fe{constructor(o){this.defaults=o,this.interceptors={request:new ss,response:new ss}}async request(o,n){try{return await this._request(o,n)}catch(i){if(i instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const l=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?l&&!String(i.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(i.stack+=`
25
+ `+l):i.stack=l}catch{}}throw i}}_request(o,n){typeof o=="string"?(n=n||{},n.url=o):n=o||{},n=Oe(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:l}=n;i!==void 0&&bi.assertOptions(i,{silentJSONParsing:ke.transitional(ke.boolean),forcedJSONParsing:ke.transitional(ke.boolean),clarifyTimeoutError:ke.transitional(ke.boolean)},!1),r!=null&&(C.isFunction(r)?n.paramsSerializer={serialize:r}:bi.assertOptions(r,{encode:ke.function,serialize:ke.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=l&&C.merge(l.common,l[n.method]);l&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=X.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const d=[];this.interceptors.response.forEach(function(h){d.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!c){const h=[xs.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,d),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=s.length;let f=n;for(u=0;u<p;){const h=s[u++],y=s[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=xs.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=d.length;u<p;)m=m.then(d[u++],d[u++]);return m}getUri(o){o=Oe(this.defaults,o);const n=hs(o.baseURL,o.url);return as(n,o.params,o.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Fe.prototype[e]=function(o,n){return this.request(Oe(n||{},{method:e,url:o,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function o(n){return function(i,r,l){return this.request(Oe(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Fe.prototype[e]=o(),Fe.prototype[e+"Form"]=o(!0)});class ki{constructor(o){if(typeof o!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const i=this;this.promise.then(r=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](r);i._listeners=null}),this.promise.then=r=>{let l;const a=new Promise(s=>{i.subscribe(s),l=s}).then(r);return a.cancel=function(){i.unsubscribe(l)},a},o(function(r,l,a){i.reason||(i.reason=new ze(r,l,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const n=this._listeners.indexOf(o);n!==-1&&this._listeners.splice(n,1)}static source(){let o;return{token:new ki(function(n){o=n}),cancel:o}}}function A_(e){return function(o){return e.apply(null,o)}}function D_(e){return C.isObject(e)&&e.isAxiosError===!0}const Ci={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ci).forEach(([e,o])=>{Ci[o]=e});function Ss(e){const o=new Fe(e),n=Ga(Fe.prototype.request,o);return C.extend(n,Fe.prototype,o,{allOwnKeys:!0}),C.extend(n,o,null,{allOwnKeys:!0}),n.create=function(i){return Ss(Oe(e,i))},n}const H=Ss(ct);H.Axios=Fe,H.CanceledError=ze,H.CancelToken=ki,H.isCancel=us,H.VERSION=_s,H.toFormData=fn,H.AxiosError=I,H.Cancel=H.CanceledError,H.all=function(e){return Promise.all(e)},H.spread=A_,H.isAxiosError=D_,H.mergeConfig=Oe,H.AxiosHeaders=X,H.formToJSON=e=>ds(C.isHTMLForm(e)?new FormData(e):e),H.getAdapter=Bs.getAdapter,H.HttpStatusCode=Ci,H.default=H;function R_(e){for(let o=0;o<e.length;o++)e[o].dataset.cmdFancyBoxHandlerRegistered||(e[o].addEventListener("click",n=>{n.preventDefault(),c1({url:e[o].href})}),e[o].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(j_);function j_(e){const o=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&o.push(e[n].target);else if(e[n].type==="childList"){let i=Array.from(e[n].addedNodes).filter(r=>r.classList?r.classList.contains("fancybox"):!1);i.length&&o.push(...i)}o.length>0&&R_(o)}function Ts(e){for(let o=0;o<e.length;o++)e[o].dataset.cmdFancyBoxHandlerRegistered||(e[o].addEventListener("click",n=>{n.preventDefault(),Lw({url:e[o].href})}),e[o].dataset.cmdFancyBoxHandlerRegistered="true")}const bn=new MutationObserver(q_);function q_(e){const o=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&o.push(e[n].target);else if(e[n].type==="childList"){let i=Array.from(e[n].addedNodes).filter(r=>r.classList?r.classList.contains("fancybox"):!1);i.length&&o.push(...i)}o.length>0&&Ts(o)}const z_=e=>{const o=e.querySelectorAll(".fancybox");Ts(o),bn==null||bn.disconnect(),bn.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function H_(){const e={};t.onBeforeUpdate(i);function o(r="defaultSequence"){const l=e[r]||0;return e[r]=l+1,e[r]}function n(r="defaultSequence"){return e[r]||0}function i(r="defaultSequence"){e[r]&&(e[r]=0)}return{nextSequenceValue:o,currentSequenceValue:n,resetSequence:i}}S.CmdAddressData=$i,S.CmdBackToTopButton=Ym,S.CmdBankAccountData=ou,S.CmdBasicForm=or,S.CmdBox=Wn,S.CmdBoxWrapper=sr,S.CmdBreadcrumbs=cr,S.CmdCompanyLogo=dr,S.CmdContainer=Ah,S.CmdCookieDisclaimer=$h,S.CmdCopyrightInformation=op,S.CmdFakeSelect=mr,S.CmdFancyBox=nf,S.CmdForm=vi,S.CmdFormElement=U,S.CmdFormFilters=ur,S.CmdGoogleMaps=fr,S.CmdHeadline=j,S.CmdIcon=A,S.CmdImage=ue,S.CmdImageGallery=zp,S.CmdImageZoom=Zp,S.CmdInputGroup=gr,S.CmdLink=Le,S.CmdListOfLinks=Hn,S.CmdLoginForm=bg,S.CmdMainNavigation=yr,S.CmdMultistepFormProgressBar=Dg,S.CmdNewsletterSubscription=Hg,S.CmdOpeningHours=hy,S.CmdPageFooter=qy,S.CmdPageHeader=Gy,S.CmdPagination=Ey,S.CmdProgressBar=$y,S.CmdSidebar=rb,S.CmdSiteFooter=cb,S.CmdSiteHeader=fb,S.CmdSiteSearch=Bb,S.CmdSlideButton=Je,S.CmdSlideshow=Ob,S.CmdSocialNetworks=kr,S.CmdSwitchLanguage=Rb,S.CmdSystemMessage=Cr,S.CmdTable=Yb,S.CmdTabs=ik,S.CmdTextImageBlock=dk,S.CmdThumbnailScroller=tr,S.CmdToggleDarkMode=hk,S.CmdTooltip=Qi,S.CmdUploadForm=f0,S.CmdWidthLimitationWrapper=b0,S.ContactInformation=x0,S.DirFancybox=z_,S.DirFocus=P0,S.DirTelephone=I0,S.EditComponentWrapper=ge,S.I18n=Y,S.MultipleBoxWrapper=T0,S.MultipleListsOfLinks=F0,S.createHtmlId=Rn,S.createUuid=Pe,S.getFileExtension=Ie,S.openFancyBox=xe,S.useSequence=H_,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"})});