comand-component-library 4.1.16 → 4.1.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +212 -194
- package/dist/comand-component-library.umd.cjs +12 -12
- package/package.json +1 -1
- package/src/assets/data/list-of-links-section-anchors.json +3 -3
- package/src/assets/data/list-of-links.json +4 -5
- package/src/components/CmdListOfLinksItem.vue +12 -2
- package/src/components/CmdTextImageBlock.vue +7 -0
- package/src/router/index.js +6 -1
- package/src/assets/data/list-of-links-top-header-navigation.json +0 -20
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(O,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(O=typeof globalThis<"u"?globalThis:O||self,o(O["comand-component-library"]={},O.Vue))})(this,function(O,o){"use strict";var CP=Object.defineProperty;var wP=(O,o,Oe)=>o in O?CP(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var tn=(O,o,Oe)=>wP(O,typeof o!="symbol"?o+"":o,Oe);const Oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,nn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!on(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!on(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!on(l,n)?null:l}return null},on=(e,t)=>e?!!((e.provider===""||e.provider.match(Oe))&&(t&&e.prefix===""||e.prefix.match(Oe))&&e.name.match(Oe)):!1,ra=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),sn=Object.freeze({...ra,...rn}),Jo=Object.freeze({...sn,body:"",hidden:!1});function Xf(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ia(e,t){const n=Xf(e,t);for(const r in Jo)r in rn?r in e&&!(r in n)&&(n[r]=rn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Qf(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Yf(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=ia(r[l]||i[l],s)}return a(t),n.forEach(a),ia(e,s)}function sa(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=Qf(e);for(const i in r){const s=r[i];s&&(t(i,Yf(e,i,s)),n.push(i))}return n}const $f={provider:"",aliases:{},not_found:{},...ra};function Ko(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function aa(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ko(e,$f))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Oe)||typeof s.body!="string"||!Ko(s,Jo))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Oe)||typeof a!="string"||!n[a]&&!r[a]||!Ko(s,Jo))return null}return t}const la=Object.create(null);function vf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function je(e,t){const n=la[e]||(la[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Zo(e,t){return aa(t)?sa(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eh(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let pt=!1;function ca(e){return typeof e=="boolean"&&(pt=e),pt}function th(e){const t=typeof e=="string"?nn(e,!0,pt):e;if(t){const n=je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nh(e,t){const n=nn(e,!0,pt);if(!n)return!1;const r=je(n.provider,n.prefix);return eh(r,n.name,t)}function da(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return aa(e)&&(e.prefix="",sa(e,(s,a)=>{a&&nh(s,a)&&(i=!0)})),i}const n=e.prefix;if(!on({provider:t,prefix:n,name:"a"}))return!1;const r=je(t,n);return!!Zo(r,e)}const ua=Object.freeze({width:null,height:null}),ma=Object.freeze({...ua,...rn}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oh);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=rh.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function ih(e,t){const n={...sn,...e},r={...ma,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,p=f.vFlip;let C=f.rotate;y?p?C+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):p&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:T=i.height/2+i.top,h.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:T=i.width/2+i.left,h.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}C%2===1&&(i.left!==i.top&&(T=i.left,i.left=i.top,i.top=T),i.width!==i.height&&(T=i.width,i.width=i.height,i.height=T)),h.length&&(s='<g transform="'+h.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=fa(m,d/c)):(u=a==="auto"?d:a,m=l===null?fa(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const sh=/\sid="(\S+)"/g,ah="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lh=0;function ch(e,t=ah){const n=[];let r;for(;r=sh.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(lh++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Xo=Object.create(null);function dh(e,t){Xo[e]=t}function Qo(e){return Xo[e]||Xo[""]}function Yo(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 $o=Object.create(null),gt=["https://api.simplesvg.com","https://api.unisvg.com"],an=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?an.push(gt.shift()):an.push(gt.pop());$o[""]=Yo({resources:["https://api.iconify.design"].concat(an)});function uh(e,t){const n=Yo(t);return n===null?!1:($o[e]=n,!0)}function vo(e){return $o[e]}let ha=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function mh(e,t){const n=vo(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function fh(e){return e===404}const hh=(e,t,n)=>{const r=[],i=mh(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function ph(e){if(typeof e=="string"){const t=vo(e);if(t)return t.path}return"/"}const gh={prepare:hh,send:(e,t,n)=>{if(!ha){n("abort",424);return}let r=ph(t.provider);switch(t.type){case"icons":{const s=t.prefix,l=t.icons.join(","),d=new URLSearchParams({icons:l});r+=s+".json?"+d.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;ha(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(fh(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})}};function yh(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function pa(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function bh(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||pa([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let kh=0;function Ch(e,t,n){const r=kh++,i=pa.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function wh(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?nn(i,t,n):i;s&&r.push(s)}),r}var xh={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bh(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ga(e){const t={...xh,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,d,c){const u=Bh(t,l,d,(m,g)=>{r(),c&&c(m,g)});return n.push(u),u}function s(l){return n.find(d=>l(d))||null}return{query:i,find:s,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function ya(){}const er=Object.create(null);function _h(e){if(!er[e]){const t=vo(e);if(!t)return;const n=ga(t),r={config:t,redundancy:n};er[e]=r}return er[e]}function Eh(e,t,n){let r,i;if(typeof e=="string"){const s=Qo(e);if(!s)return n(void 0,424),ya;i=s.send;const a=_h(e);a&&(r=a.redundancy)}else{const s=Yo(e);if(s){r=ga(s);const a=e.resources?e.resources[0]:"",l=Qo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ya):r.query(t,i,n)().abort}const ba="iconify2",yt="iconify",ka=yt+"-count",Ca=yt+"-version",wa=36e5,Sh=168;function tr(e,t){try{return e.getItem(t)}catch{}}function nr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function xa(e,t){try{e.removeItem(t)}catch{}}function or(e,t){return nr(e,ka,t.toString())}function rr(e){return parseInt(tr(e,ka))||0}const ln={local:!0,session:!0},Ba={local:new Set,session:new Set};let ir=!1;function Th(e){ir=e}let cn=typeof window>"u"?{}:window;function _a(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}ln[e]=!1}function Ea(e,t){const n=_a(e);if(!n)return;const r=tr(n,Ca);if(r!==ba){if(r){const l=rr(n);for(let d=0;d<l;d++)xa(n,yt+d.toString())}nr(n,Ca,ba),or(n,0);return}const i=Math.floor(Date.now()/wa)-Sh,s=l=>{const d=yt+l.toString(),c=tr(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}xa(n,d)}};let a=rr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,or(n,a)):Ba[e].add(l))}function Sa(){if(!ir){Th(!0);for(const e in ln)Ea(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=je(r,i);if(!Zo(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function Oh(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in ln)Ea(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nh(e,t){ir||Sa();function n(r){let i;if(!ln[r]||!(i=_a(r)))return;const s=Ba[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=rr(i),!or(i,a+1))return;const l={cached:Math.floor(Date.now()/wa),provider:e.provider,data:t};return nr(i,yt+a.toString(),JSON.stringify(l))}t.lastModified&&!Oh(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ta(){}function Vh(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bh(e)}))}function Fh(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=Qo(n)))return;s.prepare(n,r,i).forEach(l=>{Eh(n,l,(d,c)=>{if(typeof d!="object"){if(c!==404)return;l.icons.forEach(u=>{e.missing.add(u)})}else try{const u=Zo(e,d);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(g=>{m.delete(g)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,ca()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ta)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&Fh(d,i[c][u])}),t?Ch(t,r,s):Ta};function Ph(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ua?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Lh=/[\s,]+/;function Ih(e,t){t.split(Lh).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Mh(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function Rh(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Dh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jh(e){return'url("data:image/svg+xml,'+Dh(e)+'")'}const Oa={...ma,inline:!1},qh={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zh={display:"inline-block"},sr={backgroundColor:"currentColor"},Na={backgroundColor:"transparent"},Va={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Fa={webkitMask:sr,mask:sr,background:Na};for(const e in Fa){const t=Fa[e];for(const n in Va)t[e+n]=Va[n]}const dn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";dn[e+"-flip"]=t,dn[e.slice(0,1)+"-flip"]=t,dn[e+"Flip"]=t});function Aa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pa=(e,t)=>{const n=Ph(Oa,t),r={...qh},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&Ih(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=Mh(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=dn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Oa[y]===void 0&&(r[y]=p)}}}const d=ih(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ch(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":jh(h),width:Aa(c.width),height:Aa(c.height),...zh,...f?sr:Na,...l},o.h("span",r)};if(ca(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Sa();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!da(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;uh(n,i)||console.error(r)}catch{console.error(r)}}}}const Hh={...sn,body:""},Uh=o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=nn(e,!1,!0))===null)return this.abortLoading(),null;const r=th(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Ah([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Pa(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Pa({...sn,...t.data},n)}}),V=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Wh={name:"CmdIcon",components:{Icon:Uh},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}}},Gh=["title"];function Jh(e,t,n,r,i,s){const a=o.resolveComponent("Icon");return s.isIconify?(o.openBlock(),o.createBlock(a,{key:0,icon:n.iconClass,title:n.tooltip,class:o.normalizeClass(e.$attrs.class)},null,8,["icon","title","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([n.iconClass,e.$attrs.class]),title:n.tooltip},null,10,Gh))}const z=V(Wh,[["render",Jh]]);function Ve(e,t){return un(e,"EditComponentWrapper",t)}function Kh(e){return un(e,"EditModeSettingsSidebar")}function Zh(e){return un(e,"EditModeMainSidebar")}function un(e,t,n){var r;return((r=e==null?void 0:e.$options)==null?void 0:r.name)===t&&(n==null||n(e))?e:e!=null&&e.$parent?un(e.$parent,t,n):null}function Fe(e,...t){const n=[];for(let r=Ve(e);r;r=Ve(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function Xh(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function Q(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const Qh={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!Ve(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(me(this)):!!this.editModeContext.system.isActiveComponent(me(this)):!1},editing(){var e;return(e=this.editModeContext)==null?void 0:e.content.isEditing(this.componentIdentifier)},hasSettings(){const e=`${this.componentName}Settings`;return!!o.getCurrentInstance().appContext.components[e]}},methods:{addHighlightRelatedComponent(e){e.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(e){e.target.parentNode.classList.remove("highlight")},showActionButtons(){const e=Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(me(e),me(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(me(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 t=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var n;return(n=t.querySelector("input"))==null?void 0:n.focus()})},saveComponent(){this.editModeContext.store.updateContent(me(this),this.updateHandlerProviders.map(e=>e())),this.editModeContext.content.stopEditing()},editSettings(e,t){e.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,me(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(me(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(me(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=Xh(me(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function me(e){const t=[];for(let n=e;n;n=Ve(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const Yh={key:0,class:"action-buttons-wrapper"},$h=["data-component"],vh=["title"],ep=["href"],tp={key:0},np={key:1},op={key:0,class:"component-name"},rp=["data-component"],ip=["title"],sp=["href","title"],ap=["title"],lp={key:0},cp={key:1},dp=["title"],up=["title"];function mp(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:s.active}]),tabindex:"0",onClick:o.withModifiers(s.showActionButtons,["stop"]),ref:"editComponent",title:s.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:o.withCtx(()=>[n.componentTag==="ul"?(o.openBlock(),o.createElementBlock("li",Yh,[o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[0]||(t[0]=o.withModifiers(l=>s.addEntry(l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,vh)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings of this component"},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ep)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})])]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",tp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!s.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",np,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of this component"},[o.createVNode(a,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content of this component"},[o.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,$h),[[o.vShow,s.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[s.isOuterComponent?(o.openBlock(),o.createElementBlock("p",op,o.toDisplayString(n.componentName),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName,onMouseenter:t[12]||(t[12]=(...l)=>s.addHighlightRelatedComponent&&s.addHighlightRelatedComponent(...l)),onMouseleave:t[13]||(t[13]=(...l)=>s.removeHighlightRelatedComponent&&s.removeHighlightRelatedComponent(...l))},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[6]||(t[6]=o.withModifiers((...l)=>s.addEntry&&s.addEntry(...l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ip)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,sp)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:s.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})],10,ap)]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",lp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!s.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",cp,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:t[10]||(t[10]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(a,{iconClass:"icon-check"})],8,dp)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(a,{iconClass:"icon-edit"})],10,up))]))],40,rp),[[o.vShow,s.active]])],64)),o.renderSlot(e.$slots,"default",{editing:s.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Ae=V(Qh,[["render",mp]]),Y={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 t=Ve(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!Zh(this),this.settingsContext=!!Kh(this)},updateHandlerProvider(){return{}}}},fp={name:"CmdHeadline",mixins:[Y],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(Fe(Ve(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,t=this.editablePreHeadlineText,n=this.headlineLevel;return Q(this,{update(r){r.headlineText=e,r.preHeadlineText=t,r.headlineLevel=n}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},hp={class:"pre-headline-text-wrapper"},pp=["innerHTML"],gp=["innerHTML"],yp={key:1},bp=["innerHTML"],kp={key:2},Cp={class:"pre-headline-text"},wp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function xp(e,t,n,r,i,s){var c;const a=z,l=X,d=Ae;return!e.editModeContext||e.settingsContext||e.mainSidebarContext||n.headlineText?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-headline",{"has-pre-headline-text":n.preHeadlineText,"has-icon":(c=n.cmdIcon)==null?void 0:c.iconClass},s.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",hp,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,pp),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,gp)):(o.openBlock(),o.createElementBlock("span",yp,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.headlineText},null,8,bp)):(o.openBlock(),o.createElementBlock("span",kp,[o.renderSlot(e.$slots,"default")]))]),_:3}))],2)):(o.openBlock(),o.createBlock(d,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:n.headlineText,headlineLevel:n.headlineLevel},componentPath:s.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(u=>[u.editing?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,s.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableHeadlineText=m)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Cp,o.toDisplayString(n.preHeadlineText),1),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):s.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...m)=>s.onAddItem&&s.onAddItem(...m))},wp)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const U=V(fp,[["render",xp]]),Bp={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"})}}},_p={key:0,class:"headline-wrapper"},Ep=["title"];function Sp(e,t,n,r,i,s){const a=U,l=z;return i.tooltipVisibility?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-tooltip",n.validationStatus]),ref:"tooltip"},[n.cmdHeadline||n.iconClose.show?(o.openBlock(),o.createElementBlock("div",_p,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.iconClose.show&&n.toggleVisibilityByClick?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.hideTooltip&&s.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(l,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Ep)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const La=V(Bp,[["render",Sp]]),oe={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(e,...t){if(!e)return"";let n=this.i18n;if(typeof this.i18n=="function"&&(n=this.i18n.call(this,e,t),typeof n!="object"))return n;let r=n[e]||this.getDefaultMessageProperty(e)||e;return typeof r=="function"?r.call(this,t||[]):(Array.isArray(t)&&t.length&&t.forEach((i,s)=>r=r.replace("{"+s+"}",i)),r)},getDefaultMessageProperty(e){var n;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[e])return this.defaultMessageProperties[e];const t=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return t&&((n=this[t])!=null&&n[e])?this[t][e]:null}}},Tp={name:"CmdListOfRequirements",mixins:[oe,{data(){return{defaultMessageProperties:{"list_of_requirements.headline.requirement_for_input":"Requirement for input","list_of_requirements.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("list_of_requirements.headline.requirements_for_input"):this.getMessage("list_of_requirements.headline.requirement_for_input")}}},Op={class:"cmd-list-of-requirements"},Np=o.createElementVNode("br",null,null,-1),Vp=o.createElementVNode("hr",null,null,-1),Fp=["href","target"],Ap={key:1};function Pp(e,t,n,r,i,s){var d,c,u;const a=U,l=z;return o.openBlock(),o.createElementBlock("div",Op,[n.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Np,o.createElementVNode("em",null,o.toDisplayString(n.labelText),1)],64)):o.createCommentVNode("",!0)]),_:1},8,["headline-level"])):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputRequirements,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(m.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(l,{"aria-live":"assertive",iconClass:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Vp,n.helplink.url?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.helplink.url,target:n.helplink.target,onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"]))},[(d=n.helplink.icon)!=null&&d.iconClass?(o.openBlock(),o.createBlock(l,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(u=n.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",Ap,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,Fp)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const Lp=V(Tp,[["render",Pp]]),Ip={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,required:!1}},computed:{cmdListOfRequirementsProperties(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:"",...this.cmdListOfRequirements}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Mp(e,t,n,r,i,s){const a=Lp,l=La;return o.openBlock(),o.createBlock(l,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[s.cmdListOfRequirementsProperties.showRequirements?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},s.cmdListOfRequirementsProperties)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const ar=V(Ip,[["render",Mp]]),lr={data(){return{defaultMessageProperties:{"form_element.validation_tooltip.an_error_occurred":"An error occurred!","form_element.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","form_element.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","form_element.validation_tooltip.open_field_requirements":"Open field requirements!","form_element.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},cr={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[oe,{data(){return{fieldValidationDefaultMessageProperties:{"field_validation.open_detailed_help":"Open detailed help!","field_validation.information_not_filled_correctly":"This information is not filled correctly!","field_validation.information_filled_correctly":"This information is filled correctly!","field_validation.caps_lock_is_activated":"Attention: Caps lock is activated!","field_validation.required_field_is_filled":"Required field is filled!","field_validation.field_contains_special_character":"Field contains special character","field_validation.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{validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,labelText:this.labelText,i18n:this.i18n,...this.cmdListOfRequirements}},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("field_validation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("field_validation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("field_validation.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 t=Object.hasOwn(this,"required")?this.required:this.$attrs.required;e.push({message:this.getRequirementMessage(),valid(n,r){return!r.required&&!t||n!=null&&String(n).length>0}})}return this.$attrs.minlength&&e.push({message:this.getMessage("field_validation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(t,n){return t.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("field_validation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function tt(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function dr(){return"cmd-"+tt()}const mn={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||dr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ur={};function Rp(e="defaultSequence"){const t=ur[e]||0;return ur[e]=t+1,ur[e]}const mr={data(){return{tooltip:!1,tooltipId:"tooltip-"+Rp()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Dp=["color","date","datetime-local","file","number","range"],jp={inheritAttrs:!1,name:"CmdFormElement",mixins:[oe,lr,cr,mn,mr],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"],t={input:[...e,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...e,"multiple"],textarea:[...e,"placeholder"]},n={};return t[this.element]&&Object.entries(this.$attrs).filter(([r])=>t[this.element].includes(r)).forEach(([r,i])=>n[r]=i),n},buttonAttrs(){var t,n;const e={...this.$attrs};return(t=this.nativeButton.icon)!=null&&t.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("form_element.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("form_element.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("form_element.validation_tooltip.caps_lock_is_activated"):this.getMessage("form_element.validation_tooltip.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("form_element.validation_tooltip.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:Dp.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(i=>!i.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 t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value),this.$emit("update:modelValue",t)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const e=this.$refs.input,t=e.value;e.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),e.setAttribute("type","text"),e.setAttribute("value",t)},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}}},qp=["for","title"],zp=["innerHTML"],Hp={key:2,"aria-hidden":"true"},Up=["title","aria-errormessage","id"],Wp={key:1,class:"flex-container inner-input-wrapper"},Gp=["id","autocomplete","list","value","maxlength"],Jp=["title"],Kp=["id"],Zp=["value"],Xp=["checked","value","id","disabled","aria-invalid"],Qp=["innerHTML"],Yp={key:2},$p={class:"switch-label-wrapper"},vp=["checked","value","id","disabled","aria-invalid"],eg={class:"label-text"},tg={class:"label-text"},ng=["innerHTML"],og={key:0},rg=["id"],ig=["value","selected"],sg=["id","value","maxlength"],ag={key:6,class:"characters-left-wrapper"},lg={key:0},cg={key:7,class:"search-field-wrapper flex-container no-gap"},dg=["id","maxlength","value"],ug=["title"],mg=["title"],fg={key:1};function hg(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te;const a=z,l=ar;return n.element==="input"||n.element==="select"||n.element==="textarea"?(o.openBlock(),o.createElementBlock("label",{key:0,class:o.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"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,zp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",Hp,"*")):o.createCommentVNode("",!0)]),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Up)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{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"])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("span",Wp,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),n.element==="input"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:1},s.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=P=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...P)=>s.onBlur&&s.onBlur(...P)),onInput:t[3]||(t[3]=(...P)=>s.onInput&&s.onInput(...P)),onMouseover:t[4]||(t[4]=(...P)=>s.datalistFocus&&s.datalistFocus(...P)),onKeyup:t[5]||(t[5]=(...P)=>e.checkForCapsLock&&e.checkForCapsLock(...P)),onChange:t[6]||(t[6]=P=>e.$emit("change",P)),autocomplete:s.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:s.getMaxLength(),ref:"input"}),null,16,Gp)):o.createCommentVNode("",!0),e.$attrs.type==="password"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:t[7]||(t[7]=o.withModifiers((...P)=>s.showPassword&&s.showPassword(...P),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(a,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Jp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.datalist&&n.datalist.options.length?(o.openBlock(),o.createElementBlock("datalist",{key:2,id:n.datalist.id},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.datalist.options,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P},null,8,Zp))),128))],8,Kp)):n.element==="input"&&(e.$attrs.type==="checkbox"||e.$attrs.type==="radio")?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[n.onLabel&&n.offLabel?n.onLabel&&n.offLabel?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",$p,[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[13]||(t[13]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[14]||(t[14]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.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,vp),o.createElementVNode("span",eg,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",tg,o.toDisplayString(n.offLabel),1)]),n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",{innerHTML:n.labelText},null,8,ng),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",og,"*")):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64)):o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[11]||(t[11]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[12]||(t[12]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,s.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Xp),n.labelText||e.$slots.labeltext?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Qp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Yp,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},s.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...P)=>s.onBlur&&s.onBlur(...P)),onChange:t[16]||(t[16]=P=>e.$emit("update:modelValue",P.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P.value,selected:P.value===n.modelValue},o.toDisplayString(P.text),9,ig))),128))],16,rg)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},s.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:s.getMaxLength(),onInput:t[17]||(t[17]=(...P)=>s.onInput&&s.onInput(...P)),onFocus:t[18]||(t[18]=P=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...P)=>s.onBlur&&s.onBlur(...P))}),null,16,sg)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",ag,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",lg,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:s.charactersLeft===0}])},o.toDisplayString(s.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",cg,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(s.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...P)=>s.onInput&&s.onInput(...P)),maxlength:s.getMaxLength(),value:n.modelValue}),null,16,dg),n.showSearchButton?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:o.normalizeClass(["button no-flex",{disabled:e.$attrs.disabled}]),title:n.iconSearch.tooltip,onClick:t[21]||(t[21]=o.withModifiers((...P)=>s.executeSearch&&s.executeSearch(...P),["prevent"]))},[o.createVNode(a,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,ug)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(P=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(a,{iconClass:(u=n.iconDelete)==null?void 0:u.iconClass,type:(m=n.iconDelete)==null?void 0:m.iconType},null,8,["iconClass","type"])],8,mg)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,qp)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},s.buttonAttrs,{onClick:t[23]||(t[23]=(...P)=>s.submit&&s.submit(...P))}),[(f=(g=n.nativeButton)==null?void 0:g.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((C=(p=n.nativeButton)==null?void 0:p.icon)!=null&&C.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(k=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:k.iconClass,type:(N=(A=n.nativeButton)==null?void 0:A.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((S=n.nativeButton)!=null&&S.text)?(o.openBlock(),o.createElementBlock("span",fg,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(q=(F=n.nativeButton)==null?void 0:F.icon)!=null&&q.show&&((Be=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:Be.position)==="after"?(o.openBlock(),o.createBlock(a,{key:3,iconClass:(Ee=(_e=n.nativeButton)==null?void 0:_e.icon)==null?void 0:Ee.iconClass,type:(Te=(Se=n.nativeButton)==null?void 0:Se.icon)==null?void 0:Te.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const X=V(jp,[["render",hg]]),pg={name:"CmdAddressDataItem",mixins:[Y],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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return Q(this,{update(t){typeof e=="object"?Object.entries(e).forEach(([n,r])=>t[n]=r):t.href==null?t.data=e:t.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}}},gg=["id"],yg={key:1},bg=["href","target","title","data-type"],kg=["innerHTML"],Cg={key:1},wg=["href","title"],xg={class:"street-address"},Bg=o.createElementVNode("br",null,null,-1),_g={key:0,class:"postal-code"},Eg={key:1,class:"locality"},Sg=o.createElementVNode("br",null,null,-1),Tg={key:0},Og={key:3,class:"country-name"},Ng={class:"street-address"},Vg=o.createElementVNode("br",null,null,-1),Fg={key:0,class:"postal-code"},Ag={key:1,class:"locality"},Pg=o.createElementVNode("br",null,null,-1),Lg=o.createElementVNode("br",null,null,-1),Ig={key:3,class:"country-name"};function Mg(e,t,n,r,i,s){const a=z,l=X,d=o.resolveDirective("telephone");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("dt",{class:o.normalizeClass(["cmd-address-data-item",{address:n.addressEntry.type==="address"}]),id:n.addressEntry.id},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.addressEntry.iconClass,type:n.addressEntry.iconType,tooltip:n.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):o.createCommentVNode("",!0),n.showLabelTexts?(o.openBlock(),o.createElementBlock("span",yg,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],10,gg),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(s.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:s.inputType(n.addressEntry),class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":t[0]||(t[0]=c=>i.editableAddressEntry=c)},null,8,["type","labelText","placeholder","modelValue"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.href?o.withDirectives((o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(n.addressEntry),target:n.addressEntry.type==="url"?"_blank":null,title:n.addressEntry.tooltip,"data-type":n.addressEntry.type},[o.createTextVNode(o.toDisplayString(n.addressEntry.data||n.addressEntry.href),1)],8,bg)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,kg))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Cg,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",xg,o.toDisplayString(n.addressEntry.streetNo),1),Bg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",_g,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Eg,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Sg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),n.addressEntry.country?(o.openBlock(),o.createElementBlock("br",Tg)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Og,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,wg)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":t[1]||(t[1]=c=>i.editableAddressEntry.streetNo=c)},null,8,["labelText","placeholder","modelValue"]),o.createElementVNode("div",{class:o.normalizeClass([n.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>i.editableAddressEntry.zip=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":t[3]||(t[3]=c=>i.editableAddressEntry.city=c)},null,8,["labelText","placeholder","modelValue"])],2),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":t[4]||(t[4]=c=>i.editableAddressEntry.miscInfo=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"select",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":t[5]||(t[5]=c=>i.editableAddressEntry.country=c)},null,8,["labelText","modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Ng,o.toDisplayString(n.addressEntry.streetNo),1),Vg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",Fg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Ag,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" "+o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Pg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),Lg],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Ig,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const Rg=V(pg,[["render",Mg]]),Dg={name:"CmdAddressData",mixins:[Y],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(Fe(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 Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}},watch:{}},jg={class:"cmd-address-data vcard"},qg={class:"adr"},zg={key:0},Hg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Ug=["href","target","title"],Wg=["innerHTML"],Gg=["href","title"],Jg={class:"street-address"},Kg=o.createElementVNode("br",null,null,-1),Zg={key:0,class:"postal-code"},Xg={key:1,class:"locality"},Qg=o.createElementVNode("br",null,null,-1),Yg=o.createElementVNode("br",null,null,-1),$g=o.createElementVNode("br",null,null,-1),vg={key:4,class:"country-name"},ey={class:"street-address"},ty=o.createElementVNode("br",null,null,-1),ny={key:0,class:"postal-code"},oy={key:1,class:"locality"},ry=o.createElementVNode("br",null,null,-1),iy=o.createElementVNode("br",null,null,-1),sy=o.createElementVNode("br",null,null,-1),ay={key:4,class:"country-name"};function ly(e,t,n,r,i,s){var u;const a=U,l=Rg,d=Ae,c=z;return o.openBlock(),o.createElementBlock("div",jg,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",qg,[n.showLabels&&(n.showLabelTexts||n.showLabelIcons)&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.addressData.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Hg)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(d,{key:"x"+g,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",g]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(l,{addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",zg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(l,{key:g,addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts,showCityBeforeZip:n.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass(["flex-container",{vertical:!n.showIconsOnly}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[m.href||m.name==="address"&&m.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[m.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(m),target:m.name==="url"?"_blank":null,title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(m.href),1)],64))],8,Ug)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:m.data},null,8,Wg)),m.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(m),target:"google-maps",title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Jg,o.toDisplayString(m.streetNo),1),Kg],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",Zg,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",Xg,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Qg],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),Yg],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),$g],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",vg,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64))],8,Gg)):o.createCommentVNode("",!0),!m.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",ey,o.toDisplayString(m.streetNo),1),ty],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",oy,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),ry],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),iy],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),sy],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const Ia=V(Dg,[["render",ly]]),cy={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"})}}},dy=["title"];function uy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[s.show?(o.openBlock(),o.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:n.cmdIcon.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.onBackToTop&&s.onBackToTop(...l),["prevent"]))},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,dy)):o.createCommentVNode("",!0)]),_:1})}const my=V(cy,[["render",uy]]),fy={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 t=e.replace(/\s/g,"");navigator.clipboard.writeText(t),alert(t+" was copied to clipboard")}}},hy={class:"cmd-bank-account-data"},py={key:0},gy=["onClick","title"],yy={key:1};function by(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",hy,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.accountData,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createElementVNode("dt",null,o.toDisplayString(d.text),1),n.allowCopyByClick&&d.allowCopy?(o.openBlock(),o.createElementBlock("dd",py,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,gy)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",yy,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const ky=V(fy,[["render",by]]),Cy={name:"CmdSystemMessage",mixins:[mn],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}}},wy=["role","aria-labelledby"],xy=["title"];function By(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createBlock(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showSystemMessage?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.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?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"close-button",onClick:t[0]||(t[0]=o.withModifiers(d=>i.showSystemMessage=!1,["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,xy)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(l,{class:"message-headline",cmdIcon:s.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,wy)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const bt=V(Cy,[["render",By]]),_y={name:"CmdForm",components:{CmdSystemMessage:bt},emits:["submit"],data(){return{errorOccurred:!1,formValues:{},showSystemMessage:!1,systemMessage:{show:!1,validationStatus:"",message:""}}},props:{formAction:{type:String,required:!1},formMethod:{type:String,default:"POST",validator(e){return e==="POST"||e==="GET"}},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:dr,showMessage(e,t){this.systemMessage.show=!0,this.systemMessage.validationStatus=e,this.systemMessage.message=t},submitFormData(e){let t={};this.formElements&&this.formElements.forEach(n=>{t[n.name]=this.formValues[n.name]}),this.$emit("submit",{originalEvent:e,formdata:t})},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(t=>{t.type==="checkbox"?(this.formValues[t.name]||(this.formValues[t.name]=[]),t.value!=null&&this.formValues[t.name].push(t.value)):this.formValues[t.name]=t.value??""})},immediate:!0,deep:!0}}},Ey=["action","data-use-validation","novalidate","method"],Sy={class:"flex-container"},Ty=["type"],Oy={key:1},Ny={key:0,class:"button-wrapper"},Vy=["type"],Fy={key:1};function Ay(e,t,n,r,i,s){const a=bt,l=X;return o.openBlock(),o.createElementBlock("form",{class:o.normalizeClass(["cmd-form",{error:i.errorOccurred}]),action:n.formAction,"data-use-validation":n.useValidation,onSubmit:t[0]||(t[0]=(...d)=>s.onSubmit&&s.onSubmit(...d)),novalidate:n.novalidate,method:n.formMethod},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",Sy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),i.systemMessage.show&&i.systemMessage.message?(o.openBlock(),o.createBlock(a,{key:0,validationStatus:i.systemMessage.validationStatus,"system-message":i.systemMessage.message},null,8,["validationStatus","system-message"])):o.createCommentVNode("",!0),n.useSlot?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.formElements,(d,c)=>(o.openBlock(),o.createBlock(l,{key:c,element:d.element||"input",type:d.type||"text",name:d.name,class:o.normalizeClass(d.htmlClass),id:d.id||s.createHtmlId(),modelValue:i.formValues[d.name],"onUpdate:modelValue":u=>i.formValues[d.name]=u,inputValue:d.inputValue,fieldIconClass:d.innerIconClass,selectOptions:d.selectOptions,labelText:d.labelText,placeholder:d.placeholder,required:d.required,disabled:d.disabled,autocomplete:d.autocomplete,minlength:d.minlength,maxlength:d.maxlength,nativeButton:d.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),s.submitButtonOptions&&(s.submitButtonOptions.position==="insideFieldset"||s.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:3,class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Oy,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Ty)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Ny,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type||"submit"},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Fy,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Vy)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,Ey)}const Ma=V(_y,[["render",Ay]]),Py={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.text.characters_left":"Characters left","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>."}}}},De=class De{constructor(t){tn(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,De.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,De.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.userMessage.error,t.userMessage.errorMessage]=this.validateRequired(t.userMessage.value,De.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.userMessage.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};tn(De,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),tn(De,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),tn(De,"PATTERN_MESSAGE",/^.{2,500}$/);let fr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Ra(e,t,n,r,i){const s=[];if(e.size>r&&s.push("file too large"),t.includes(nt(e.name))||s.push("disallowed file extension"),s.length){alert(s);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 i=="function"?i(a.src):i.src=a.src},a.src=URL.createObjectURL(e)}const Ly={name:"CmdImage",mixins:[Y],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 t=this.currentWindowWidth;return e.small&&t<=this.smallMaxWidth?e.small:e.medium&&t<=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 t,n;const e=(n=(t=this.editModeConfig)==null?void 0:t.itemProviderOverwrite)==null?void 0:n.call(t);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&&Ra(e.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t)},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(),Ra(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:tt(),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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,Q(this,{update(t){t.figcaption||(t.figcaption={}),t.figcaption.text=e}})}},watch:{figcaption:{handler(){var e,t,n,r;this.showFigcaption=(e=this.figcaption)==null?void 0:e.show,this.figcaptionText=(t=this.figcaption)==null?void 0:t.text,this.figcaptionPosition=(n=this.figcaption)==null?void 0:n.position,this.figcaptionTextAlign=(r=this.figcaption)==null?void 0:r.textAlign},immediate:!0,deep:!0}}},Iy=["innerHTML"],My=o.createElementVNode("span",{class:"icon-image"},null,-1),Ry=["src","alt","title"],Dy=["src","alt","title"],jy=["innerHTML"],qy=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],zy=["innerHTML"],Hy=["src","alt","title"],Uy=["innerHTML"],Wy=["src","alt","title"];function Gy(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A;const a=X,l=Ae;return e.editModeContext?(o.openBlock(),o.createBlock(l,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:s.imageComponentPath,allowDeleteComponent:!!s.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?s.itemProvider:null},{default:o.withCtx(N=>{var b,S,F,q,L,Be,_e,Ee,Se,Te,P,de;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",s.textAlign])},[(b=n.figcaption)!=null&&b.show&&((S=n.figcaption)==null?void 0:S.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=re=>s.editableFigcaptionText=re)},null,8,["class","modelValue"])):(F=n.figcaption)!=null&&F.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(q=n.figcaption)==null?void 0:q.text},null,8,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),N.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",o.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...re)=>s.selectFiles&&s.selectFiles(...re),["prevent"])),title:"Drag new image to this area to replace old one!"}),[My,o.createElementVNode("img",{src:s.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(Be=n.image)==null?void 0:Be.tooltip},null,8,Ry)],16),o.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:s.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):s.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(_e=n.image)==null?void 0:_e.alt,title:(Ee=n.image)==null?void 0:Ee.tooltip},null,8,Dy)):o.createCommentVNode("",!0),(Se=n.figcaption)!=null&&Se.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=re=>s.editableFigcaptionText=re),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=n.figcaption)!=null&&P.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,jy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!N.editing&&!s.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...re)=>s.onAddItem&&s.onAddItem(...re))},qy)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",s.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((u=n.figcaption)!=null&&u.text)&&((m=n.figcaption)!=null&&m.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,zy)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:s.imageSource,alt:(f=n.image)==null?void 0:f.alt,title:(h=n.image)==null?void 0:h.tooltip,onLoad:t[4]||(t[4]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Hy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((p=n.figcaption)!=null&&p.text)&&((C=n.figcaption)!=null&&C.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,Uy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(k=n.image)==null?void 0:k.alt,title:(A=n.image)==null?void 0:A.tooltip,onLoad:t[5]||(t[5]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Wy))}const Ne=V(Ly,[["render",Gy]]),Jy={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"),{})}}},Ky=["title"];function Zy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),class:o.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",n.slideButtonType]),title:s.getDirection.tooltip},[o.createVNode(a,{type:s.getDirection.iconType||"auto",iconClass:s.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Ky)}const kt=V(Jy,[["render",Zy]]),Xy={name:"CmdThumbnailScroller",emits:["click"],mixins:[oe,{data(){return{defaultMessageProperties:{"thumbnail_scroller.tooltip.open_large_image":"Open large image","thumbnail_scroller.tooltip.open_url":"Open URL in a new tab","thumbnail_scroller.tooltip.open":"Open"}}}},Y],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"],t=e.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(t)).observe(e)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("thumbnail_scroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("thumbnail_scroller.tooltip.open_url"):this.getMessage("thumbnail_scroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:tt(),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(Fe(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:tt(),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&&qe({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,t){this.executeOnClick==="emit"?(t.preventDefault(),this.emitCurrentItemId(e)):this.executeOnClick==="fancybox"&&(t.preventDefault(),this.showFancyBox(e))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(e=>{let t;return this.contentType==="image"?(t={image:{...e.image},figcaption:{...e.figcaption}},t.image.srcImageSmall&&(t.image.src=t.image.srcImageSmall)):t={...e},t})},immediate:!0,deep:!0}}},Qy={class:"inner-thumbnail-wrapper"},Yy=["href","onClick","title","target"],$y={key:1},vy={key:1},eb={key:0},tb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function nb(e,t,n,r,i,s){var u;const a=U,l=kt,d=Ne,c=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},s.fullWidthClass]),ref:"thumbnail-scroller"},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Qy,[i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"slide",tag:"ul"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.items,(m,g)=>(o.openBlock(),o.createElementBlock("li",{key:g},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",g],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",vy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?m.url:"#",onClick:f=>s.executeLink(g,f),class:o.normalizeClass([{active:n.activeItemIndex===g},m.id?"item-"+m.id:""]),title:s.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:m.image,figcaption:m.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",$y,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Yy))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",eb,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},tb)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const Da=V(Xy,[["render",nb]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(ja,{...e,show:!0}).mount(t)},ja=o.defineComponent({name:"CmdFancyBox",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,required:!1},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:{fancyBoxOptionsProperties(){var e,t,n,r,i,s,a,l,d;return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close",...(e=this.fancyBoxOptions)==null?void 0:e.closeIcon},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color",...(n=(t=this.fancyBoxOptions)==null?void 0:t.printButtons)==null?void 0:n.color},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale",...(i=(r=this.fancyBoxOptions)==null?void 0:r.printButtons)==null?void 0:i.grayscale}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel",...(a=(s=this.fancyBoxOptions)==null?void 0:s.submitButtons)==null?void 0:a.cancel},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary",...(d=(l=this.fancyBoxOptions)==null?void 0:l.submitButtons)==null?void 0:d.confirm}}}},largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var t;const e={...((t=this.cmdImage)==null?void 0:t.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:{printDialogContent(){const e=window.open("","","width=1000,height=600"),t=this.elements.map(i=>i.outerHTML).join("");let n=Array.from(document.head.querySelectorAll("style, link[rel='stylesheet']")).map(i=>i.outerHTML).join("");this.printInGrayscale&&(n+="<style>body { filter: grayscale(1)}</style>");const r=document.head.querySelector("title").innerText;e.document.write(`
|
1
|
+
(function(O,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(O=typeof globalThis<"u"?globalThis:O||self,o(O["comand-component-library"]={},O.Vue))})(this,function(O,o){"use strict";var CP=Object.defineProperty;var wP=(O,o,Oe)=>o in O?CP(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var tn=(O,o,Oe)=>wP(O,typeof o!="symbol"?o+"":o,Oe);const Oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,nn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!on(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!on(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!on(l,n)?null:l}return null},on=(e,t)=>e?!!((e.provider===""||e.provider.match(Oe))&&(t&&e.prefix===""||e.prefix.match(Oe))&&e.name.match(Oe)):!1,ra=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),sn=Object.freeze({...ra,...rn}),Jo=Object.freeze({...sn,body:"",hidden:!1});function Xf(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ia(e,t){const n=Xf(e,t);for(const r in Jo)r in rn?r in e&&!(r in n)&&(n[r]=rn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Qf(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Yf(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=ia(r[l]||i[l],s)}return a(t),n.forEach(a),ia(e,s)}function sa(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=Qf(e);for(const i in r){const s=r[i];s&&(t(i,Yf(e,i,s)),n.push(i))}return n}const $f={provider:"",aliases:{},not_found:{},...ra};function Ko(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function aa(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ko(e,$f))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Oe)||typeof s.body!="string"||!Ko(s,Jo))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Oe)||typeof a!="string"||!n[a]&&!r[a]||!Ko(s,Jo))return null}return t}const la=Object.create(null);function vf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function je(e,t){const n=la[e]||(la[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Zo(e,t){return aa(t)?sa(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eh(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let pt=!1;function ca(e){return typeof e=="boolean"&&(pt=e),pt}function th(e){const t=typeof e=="string"?nn(e,!0,pt):e;if(t){const n=je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nh(e,t){const n=nn(e,!0,pt);if(!n)return!1;const r=je(n.provider,n.prefix);return eh(r,n.name,t)}function da(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return aa(e)&&(e.prefix="",sa(e,(s,a)=>{a&&nh(s,a)&&(i=!0)})),i}const n=e.prefix;if(!on({provider:t,prefix:n,name:"a"}))return!1;const r=je(t,n);return!!Zo(r,e)}const ua=Object.freeze({width:null,height:null}),ma=Object.freeze({...ua,...rn}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oh);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=rh.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function ih(e,t){const n={...sn,...e},r={...ma,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,p=f.vFlip;let C=f.rotate;y?p?C+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):p&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:T=i.height/2+i.top,h.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:T=i.width/2+i.left,h.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}C%2===1&&(i.left!==i.top&&(T=i.left,i.left=i.top,i.top=T),i.width!==i.height&&(T=i.width,i.width=i.height,i.height=T)),h.length&&(s='<g transform="'+h.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=fa(m,d/c)):(u=a==="auto"?d:a,m=l===null?fa(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const sh=/\sid="(\S+)"/g,ah="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lh=0;function ch(e,t=ah){const n=[];let r;for(;r=sh.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(lh++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Xo=Object.create(null);function dh(e,t){Xo[e]=t}function Qo(e){return Xo[e]||Xo[""]}function Yo(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 $o=Object.create(null),gt=["https://api.simplesvg.com","https://api.unisvg.com"],an=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?an.push(gt.shift()):an.push(gt.pop());$o[""]=Yo({resources:["https://api.iconify.design"].concat(an)});function uh(e,t){const n=Yo(t);return n===null?!1:($o[e]=n,!0)}function vo(e){return $o[e]}let ha=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function mh(e,t){const n=vo(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function fh(e){return e===404}const hh=(e,t,n)=>{const r=[],i=mh(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function ph(e){if(typeof e=="string"){const t=vo(e);if(t)return t.path}return"/"}const gh={prepare:hh,send:(e,t,n)=>{if(!ha){n("abort",424);return}let r=ph(t.provider);switch(t.type){case"icons":{const s=t.prefix,l=t.icons.join(","),d=new URLSearchParams({icons:l});r+=s+".json?"+d.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;ha(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(fh(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})}};function yh(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function pa(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function bh(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||pa([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let kh=0;function Ch(e,t,n){const r=kh++,i=pa.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function wh(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?nn(i,t,n):i;s&&r.push(s)}),r}var xh={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bh(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function F(b,S,A){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=A,T();return}if(q){u=A,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(A)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(A,q)=>{F(S,A,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ga(e){const t={...xh,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,d,c){const u=Bh(t,l,d,(m,g)=>{r(),c&&c(m,g)});return n.push(u),u}function s(l){return n.find(d=>l(d))||null}return{query:i,find:s,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function ya(){}const er=Object.create(null);function _h(e){if(!er[e]){const t=vo(e);if(!t)return;const n=ga(t),r={config:t,redundancy:n};er[e]=r}return er[e]}function Eh(e,t,n){let r,i;if(typeof e=="string"){const s=Qo(e);if(!s)return n(void 0,424),ya;i=s.send;const a=_h(e);a&&(r=a.redundancy)}else{const s=Yo(e);if(s){r=ga(s);const a=e.resources?e.resources[0]:"",l=Qo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ya):r.query(t,i,n)().abort}const ba="iconify2",yt="iconify",ka=yt+"-count",Ca=yt+"-version",wa=36e5,Sh=168;function tr(e,t){try{return e.getItem(t)}catch{}}function nr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function xa(e,t){try{e.removeItem(t)}catch{}}function or(e,t){return nr(e,ka,t.toString())}function rr(e){return parseInt(tr(e,ka))||0}const ln={local:!0,session:!0},Ba={local:new Set,session:new Set};let ir=!1;function Th(e){ir=e}let cn=typeof window>"u"?{}:window;function _a(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}ln[e]=!1}function Ea(e,t){const n=_a(e);if(!n)return;const r=tr(n,Ca);if(r!==ba){if(r){const l=rr(n);for(let d=0;d<l;d++)xa(n,yt+d.toString())}nr(n,Ca,ba),or(n,0);return}const i=Math.floor(Date.now()/wa)-Sh,s=l=>{const d=yt+l.toString(),c=tr(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}xa(n,d)}};let a=rr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,or(n,a)):Ba[e].add(l))}function Sa(){if(!ir){Th(!0);for(const e in ln)Ea(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=je(r,i);if(!Zo(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function Oh(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in ln)Ea(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nh(e,t){ir||Sa();function n(r){let i;if(!ln[r]||!(i=_a(r)))return;const s=Ba[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=rr(i),!or(i,a+1))return;const l={cached:Math.floor(Date.now()/wa),provider:e.provider,data:t};return nr(i,yt+a.toString(),JSON.stringify(l))}t.lastModified&&!Oh(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ta(){}function Vh(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bh(e)}))}function Fh(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=Qo(n)))return;s.prepare(n,r,i).forEach(l=>{Eh(n,l,(d,c)=>{if(typeof d!="object"){if(c!==404)return;l.icons.forEach(u=>{e.missing.add(u)})}else try{const u=Zo(e,d);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(g=>{m.delete(g)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,ca()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ta)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&Fh(d,i[c][u])}),t?Ch(t,r,s):Ta};function Ph(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ua?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Lh=/[\s,]+/;function Ih(e,t){t.split(Lh).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Mh(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function Rh(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Dh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jh(e){return'url("data:image/svg+xml,'+Dh(e)+'")'}const Oa={...ma,inline:!1},qh={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zh={display:"inline-block"},sr={backgroundColor:"currentColor"},Na={backgroundColor:"transparent"},Va={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Fa={webkitMask:sr,mask:sr,background:Na};for(const e in Fa){const t=Fa[e];for(const n in Va)t[e+n]=Va[n]}const dn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";dn[e+"-flip"]=t,dn[e.slice(0,1)+"-flip"]=t,dn[e+"Flip"]=t});function Aa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pa=(e,t)=>{const n=Ph(Oa,t),r={...qh},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&Ih(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=Mh(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=dn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Oa[y]===void 0&&(r[y]=p)}}}const d=ih(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ch(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":jh(h),width:Aa(c.width),height:Aa(c.height),...zh,...f?sr:Na,...l},o.h("span",r)};if(ca(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Sa();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!da(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;uh(n,i)||console.error(r)}catch{console.error(r)}}}}const Hh={...sn,body:""},Uh=o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=nn(e,!1,!0))===null)return this.abortLoading(),null;const r=th(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Ah([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Pa(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Pa({...sn,...t.data},n)}}),V=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Wh={name:"CmdIcon",components:{Icon:Uh},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}}},Gh=["title"];function Jh(e,t,n,r,i,s){const a=o.resolveComponent("Icon");return s.isIconify?(o.openBlock(),o.createBlock(a,{key:0,icon:n.iconClass,title:n.tooltip,class:o.normalizeClass(e.$attrs.class)},null,8,["icon","title","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([n.iconClass,e.$attrs.class]),title:n.tooltip},null,10,Gh))}const z=V(Wh,[["render",Jh]]);function Ve(e,t){return un(e,"EditComponentWrapper",t)}function Kh(e){return un(e,"EditModeSettingsSidebar")}function Zh(e){return un(e,"EditModeMainSidebar")}function un(e,t,n){var r;return((r=e==null?void 0:e.$options)==null?void 0:r.name)===t&&(n==null||n(e))?e:e!=null&&e.$parent?un(e.$parent,t,n):null}function Fe(e,...t){const n=[];for(let r=Ve(e);r;r=Ve(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function Xh(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function Q(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const Qh={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!Ve(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(me(this)):!!this.editModeContext.system.isActiveComponent(me(this)):!1},editing(){var e;return(e=this.editModeContext)==null?void 0:e.content.isEditing(this.componentIdentifier)},hasSettings(){const e=`${this.componentName}Settings`;return!!o.getCurrentInstance().appContext.components[e]}},methods:{addHighlightRelatedComponent(e){e.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(e){e.target.parentNode.classList.remove("highlight")},showActionButtons(){const e=Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(me(e),me(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(me(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 t=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var n;return(n=t.querySelector("input"))==null?void 0:n.focus()})},saveComponent(){this.editModeContext.store.updateContent(me(this),this.updateHandlerProviders.map(e=>e())),this.editModeContext.content.stopEditing()},editSettings(e,t){e.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,me(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(me(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(me(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=Xh(me(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function me(e){const t=[];for(let n=e;n;n=Ve(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const Yh={key:0,class:"action-buttons-wrapper"},$h=["data-component"],vh=["title"],ep=["href"],tp={key:0},np={key:1},op={key:0,class:"component-name"},rp=["data-component"],ip=["title"],sp=["href","title"],ap=["title"],lp={key:0},cp={key:1},dp=["title"],up=["title"];function mp(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:s.active}]),tabindex:"0",onClick:o.withModifiers(s.showActionButtons,["stop"]),ref:"editComponent",title:s.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:o.withCtx(()=>[n.componentTag==="ul"?(o.openBlock(),o.createElementBlock("li",Yh,[o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[0]||(t[0]=o.withModifiers(l=>s.addEntry(l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,vh)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings of this component"},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ep)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})])]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",tp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!s.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",np,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of this component"},[o.createVNode(a,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content of this component"},[o.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,$h),[[o.vShow,s.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[s.isOuterComponent?(o.openBlock(),o.createElementBlock("p",op,o.toDisplayString(n.componentName),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName,onMouseenter:t[12]||(t[12]=(...l)=>s.addHighlightRelatedComponent&&s.addHighlightRelatedComponent(...l)),onMouseleave:t[13]||(t[13]=(...l)=>s.removeHighlightRelatedComponent&&s.removeHighlightRelatedComponent(...l))},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[6]||(t[6]=o.withModifiers((...l)=>s.addEntry&&s.addEntry(...l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ip)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,sp)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:s.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})],10,ap)]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",lp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!s.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",cp,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:t[10]||(t[10]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(a,{iconClass:"icon-check"})],8,dp)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(a,{iconClass:"icon-edit"})],10,up))]))],40,rp),[[o.vShow,s.active]])],64)),o.renderSlot(e.$slots,"default",{editing:s.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Ae=V(Qh,[["render",mp]]),Y={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 t=Ve(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!Zh(this),this.settingsContext=!!Kh(this)},updateHandlerProvider(){return{}}}},fp={name:"CmdHeadline",mixins:[Y],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(Fe(Ve(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,t=this.editablePreHeadlineText,n=this.headlineLevel;return Q(this,{update(r){r.headlineText=e,r.preHeadlineText=t,r.headlineLevel=n}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},hp={class:"pre-headline-text-wrapper"},pp=["innerHTML"],gp=["innerHTML"],yp={key:1},bp=["innerHTML"],kp={key:2},Cp={class:"pre-headline-text"},wp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function xp(e,t,n,r,i,s){var c;const a=z,l=X,d=Ae;return!e.editModeContext||e.settingsContext||e.mainSidebarContext||n.headlineText?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-headline",{"has-pre-headline-text":n.preHeadlineText,"has-icon":(c=n.cmdIcon)==null?void 0:c.iconClass},s.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",hp,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,pp),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,gp)):(o.openBlock(),o.createElementBlock("span",yp,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.headlineText},null,8,bp)):(o.openBlock(),o.createElementBlock("span",kp,[o.renderSlot(e.$slots,"default")]))]),_:3}))],2)):(o.openBlock(),o.createBlock(d,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:n.headlineText,headlineLevel:n.headlineLevel},componentPath:s.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(u=>[u.editing?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,s.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableHeadlineText=m)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Cp,o.toDisplayString(n.preHeadlineText),1),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):s.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...m)=>s.onAddItem&&s.onAddItem(...m))},wp)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const U=V(fp,[["render",xp]]),Bp={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"})}}},_p={key:0,class:"headline-wrapper"},Ep=["title"];function Sp(e,t,n,r,i,s){const a=U,l=z;return i.tooltipVisibility?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-tooltip",n.validationStatus]),ref:"tooltip"},[n.cmdHeadline||n.iconClose.show?(o.openBlock(),o.createElementBlock("div",_p,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.iconClose.show&&n.toggleVisibilityByClick?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.hideTooltip&&s.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(l,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Ep)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const La=V(Bp,[["render",Sp]]),oe={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(e,...t){if(!e)return"";let n=this.i18n;if(typeof this.i18n=="function"&&(n=this.i18n.call(this,e,t),typeof n!="object"))return n;let r=n[e]||this.getDefaultMessageProperty(e)||e;return typeof r=="function"?r.call(this,t||[]):(Array.isArray(t)&&t.length&&t.forEach((i,s)=>r=r.replace("{"+s+"}",i)),r)},getDefaultMessageProperty(e){var n;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[e])return this.defaultMessageProperties[e];const t=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return t&&((n=this[t])!=null&&n[e])?this[t][e]:null}}},Tp={name:"CmdListOfRequirements",mixins:[oe,{data(){return{defaultMessageProperties:{"list_of_requirements.headline.requirement_for_input":"Requirement for input","list_of_requirements.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("list_of_requirements.headline.requirements_for_input"):this.getMessage("list_of_requirements.headline.requirement_for_input")}}},Op={class:"cmd-list-of-requirements"},Np=o.createElementVNode("br",null,null,-1),Vp=o.createElementVNode("hr",null,null,-1),Fp=["href","target"],Ap={key:1};function Pp(e,t,n,r,i,s){var d,c,u;const a=U,l=z;return o.openBlock(),o.createElementBlock("div",Op,[n.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Np,o.createElementVNode("em",null,o.toDisplayString(n.labelText),1)],64)):o.createCommentVNode("",!0)]),_:1},8,["headline-level"])):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputRequirements,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(m.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(l,{"aria-live":"assertive",iconClass:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Vp,n.helplink.url?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.helplink.url,target:n.helplink.target,onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"]))},[(d=n.helplink.icon)!=null&&d.iconClass?(o.openBlock(),o.createBlock(l,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(u=n.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",Ap,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,Fp)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const Lp=V(Tp,[["render",Pp]]),Ip={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,required:!1}},computed:{cmdListOfRequirementsProperties(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:"",...this.cmdListOfRequirements}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Mp(e,t,n,r,i,s){const a=Lp,l=La;return o.openBlock(),o.createBlock(l,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[s.cmdListOfRequirementsProperties.showRequirements?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},s.cmdListOfRequirementsProperties)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const ar=V(Ip,[["render",Mp]]),lr={data(){return{defaultMessageProperties:{"form_element.validation_tooltip.an_error_occurred":"An error occurred!","form_element.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","form_element.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","form_element.validation_tooltip.open_field_requirements":"Open field requirements!","form_element.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},cr={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[oe,{data(){return{fieldValidationDefaultMessageProperties:{"field_validation.open_detailed_help":"Open detailed help!","field_validation.information_not_filled_correctly":"This information is not filled correctly!","field_validation.information_filled_correctly":"This information is filled correctly!","field_validation.caps_lock_is_activated":"Attention: Caps lock is activated!","field_validation.required_field_is_filled":"Required field is filled!","field_validation.field_contains_special_character":"Field contains special character","field_validation.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{validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,labelText:this.labelText,i18n:this.i18n,...this.cmdListOfRequirements}},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("field_validation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("field_validation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("field_validation.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 t=Object.hasOwn(this,"required")?this.required:this.$attrs.required;e.push({message:this.getRequirementMessage(),valid(n,r){return!r.required&&!t||n!=null&&String(n).length>0}})}return this.$attrs.minlength&&e.push({message:this.getMessage("field_validation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(t,n){return t.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("field_validation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function tt(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function dr(){return"cmd-"+tt()}const mn={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||dr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ur={};function Rp(e="defaultSequence"){const t=ur[e]||0;return ur[e]=t+1,ur[e]}const mr={data(){return{tooltip:!1,tooltipId:"tooltip-"+Rp()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Dp=["color","date","datetime-local","file","number","range"],jp={inheritAttrs:!1,name:"CmdFormElement",mixins:[oe,lr,cr,mn,mr],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"],t={input:[...e,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...e,"multiple"],textarea:[...e,"placeholder"]},n={};return t[this.element]&&Object.entries(this.$attrs).filter(([r])=>t[this.element].includes(r)).forEach(([r,i])=>n[r]=i),n},buttonAttrs(){var t,n;const e={...this.$attrs};return(t=this.nativeButton.icon)!=null&&t.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("form_element.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("form_element.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("form_element.validation_tooltip.caps_lock_is_activated"):this.getMessage("form_element.validation_tooltip.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("form_element.validation_tooltip.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:Dp.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(i=>!i.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 t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value),this.$emit("update:modelValue",t)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const e=this.$refs.input,t=e.value;e.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),e.setAttribute("type","text"),e.setAttribute("value",t)},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}}},qp=["for","title"],zp=["innerHTML"],Hp={key:2,"aria-hidden":"true"},Up=["title","aria-errormessage","id"],Wp={key:1,class:"flex-container inner-input-wrapper"},Gp=["id","autocomplete","list","value","maxlength"],Jp=["title"],Kp=["id"],Zp=["value"],Xp=["checked","value","id","disabled","aria-invalid"],Qp=["innerHTML"],Yp={key:2},$p={class:"switch-label-wrapper"},vp=["checked","value","id","disabled","aria-invalid"],eg={class:"label-text"},tg={class:"label-text"},ng=["innerHTML"],og={key:0},rg=["id"],ig=["value","selected"],sg=["id","value","maxlength"],ag={key:6,class:"characters-left-wrapper"},lg={key:0},cg={key:7,class:"search-field-wrapper flex-container no-gap"},dg=["id","maxlength","value"],ug=["title"],mg=["title"],fg={key:1};function hg(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,F,N,b,S,A,q,L,Be,_e,Ee,Se,Te;const a=z,l=ar;return n.element==="input"||n.element==="select"||n.element==="textarea"?(o.openBlock(),o.createElementBlock("label",{key:0,class:o.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"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,zp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",Hp,"*")):o.createCommentVNode("",!0)]),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Up)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{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"])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("span",Wp,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),n.element==="input"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:1},s.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=P=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...P)=>s.onBlur&&s.onBlur(...P)),onInput:t[3]||(t[3]=(...P)=>s.onInput&&s.onInput(...P)),onMouseover:t[4]||(t[4]=(...P)=>s.datalistFocus&&s.datalistFocus(...P)),onKeyup:t[5]||(t[5]=(...P)=>e.checkForCapsLock&&e.checkForCapsLock(...P)),onChange:t[6]||(t[6]=P=>e.$emit("change",P)),autocomplete:s.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:s.getMaxLength(),ref:"input"}),null,16,Gp)):o.createCommentVNode("",!0),e.$attrs.type==="password"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:t[7]||(t[7]=o.withModifiers((...P)=>s.showPassword&&s.showPassword(...P),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(a,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Jp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.datalist&&n.datalist.options.length?(o.openBlock(),o.createElementBlock("datalist",{key:2,id:n.datalist.id},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.datalist.options,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P},null,8,Zp))),128))],8,Kp)):n.element==="input"&&(e.$attrs.type==="checkbox"||e.$attrs.type==="radio")?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[n.onLabel&&n.offLabel?n.onLabel&&n.offLabel?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",$p,[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[13]||(t[13]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[14]||(t[14]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.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,vp),o.createElementVNode("span",eg,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",tg,o.toDisplayString(n.offLabel),1)]),n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",{innerHTML:n.labelText},null,8,ng),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",og,"*")):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64)):o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[11]||(t[11]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[12]||(t[12]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,s.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Xp),n.labelText||e.$slots.labeltext?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Qp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Yp,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},s.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...P)=>s.onBlur&&s.onBlur(...P)),onChange:t[16]||(t[16]=P=>e.$emit("update:modelValue",P.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P.value,selected:P.value===n.modelValue},o.toDisplayString(P.text),9,ig))),128))],16,rg)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},s.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:s.getMaxLength(),onInput:t[17]||(t[17]=(...P)=>s.onInput&&s.onInput(...P)),onFocus:t[18]||(t[18]=P=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...P)=>s.onBlur&&s.onBlur(...P))}),null,16,sg)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",ag,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",lg,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:s.charactersLeft===0}])},o.toDisplayString(s.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",cg,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(s.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...P)=>s.onInput&&s.onInput(...P)),maxlength:s.getMaxLength(),value:n.modelValue}),null,16,dg),n.showSearchButton?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:o.normalizeClass(["button no-flex",{disabled:e.$attrs.disabled}]),title:n.iconSearch.tooltip,onClick:t[21]||(t[21]=o.withModifiers((...P)=>s.executeSearch&&s.executeSearch(...P),["prevent"]))},[o.createVNode(a,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,ug)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(P=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(a,{iconClass:(u=n.iconDelete)==null?void 0:u.iconClass,type:(m=n.iconDelete)==null?void 0:m.iconType},null,8,["iconClass","type"])],8,mg)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,qp)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},s.buttonAttrs,{onClick:t[23]||(t[23]=(...P)=>s.submit&&s.submit(...P))}),[(f=(g=n.nativeButton)==null?void 0:g.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((C=(p=n.nativeButton)==null?void 0:p.icon)!=null&&C.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(k=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:k.iconClass,type:(N=(F=n.nativeButton)==null?void 0:F.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((S=n.nativeButton)!=null&&S.text)?(o.openBlock(),o.createElementBlock("span",fg,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(q=(A=n.nativeButton)==null?void 0:A.icon)!=null&&q.show&&((Be=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:Be.position)==="after"?(o.openBlock(),o.createBlock(a,{key:3,iconClass:(Ee=(_e=n.nativeButton)==null?void 0:_e.icon)==null?void 0:Ee.iconClass,type:(Te=(Se=n.nativeButton)==null?void 0:Se.icon)==null?void 0:Te.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const X=V(jp,[["render",hg]]),pg={name:"CmdAddressDataItem",mixins:[Y],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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return Q(this,{update(t){typeof e=="object"?Object.entries(e).forEach(([n,r])=>t[n]=r):t.href==null?t.data=e:t.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}}},gg=["id"],yg={key:1},bg=["href","target","title","data-type"],kg=["innerHTML"],Cg={key:1},wg=["href","title"],xg={class:"street-address"},Bg=o.createElementVNode("br",null,null,-1),_g={key:0,class:"postal-code"},Eg={key:1,class:"locality"},Sg=o.createElementVNode("br",null,null,-1),Tg={key:0},Og={key:3,class:"country-name"},Ng={class:"street-address"},Vg=o.createElementVNode("br",null,null,-1),Fg={key:0,class:"postal-code"},Ag={key:1,class:"locality"},Pg=o.createElementVNode("br",null,null,-1),Lg=o.createElementVNode("br",null,null,-1),Ig={key:3,class:"country-name"};function Mg(e,t,n,r,i,s){const a=z,l=X,d=o.resolveDirective("telephone");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("dt",{class:o.normalizeClass(["cmd-address-data-item",{address:n.addressEntry.type==="address"}]),id:n.addressEntry.id},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.addressEntry.iconClass,type:n.addressEntry.iconType,tooltip:n.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):o.createCommentVNode("",!0),n.showLabelTexts?(o.openBlock(),o.createElementBlock("span",yg,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],10,gg),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(s.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:s.inputType(n.addressEntry),class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":t[0]||(t[0]=c=>i.editableAddressEntry=c)},null,8,["type","labelText","placeholder","modelValue"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.href?o.withDirectives((o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(n.addressEntry),target:n.addressEntry.type==="url"?"_blank":null,title:n.addressEntry.tooltip,"data-type":n.addressEntry.type},[o.createTextVNode(o.toDisplayString(n.addressEntry.data||n.addressEntry.href),1)],8,bg)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,kg))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Cg,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",xg,o.toDisplayString(n.addressEntry.streetNo),1),Bg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",_g,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Eg,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Sg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),n.addressEntry.country?(o.openBlock(),o.createElementBlock("br",Tg)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Og,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,wg)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":t[1]||(t[1]=c=>i.editableAddressEntry.streetNo=c)},null,8,["labelText","placeholder","modelValue"]),o.createElementVNode("div",{class:o.normalizeClass([n.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>i.editableAddressEntry.zip=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":t[3]||(t[3]=c=>i.editableAddressEntry.city=c)},null,8,["labelText","placeholder","modelValue"])],2),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":t[4]||(t[4]=c=>i.editableAddressEntry.miscInfo=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"select",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":t[5]||(t[5]=c=>i.editableAddressEntry.country=c)},null,8,["labelText","modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Ng,o.toDisplayString(n.addressEntry.streetNo),1),Vg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",Fg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Ag,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" "+o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Pg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),Lg],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Ig,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const Rg=V(pg,[["render",Mg]]),Dg={name:"CmdAddressData",mixins:[Y],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(Fe(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 Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}},watch:{}},jg={class:"cmd-address-data vcard"},qg={class:"adr"},zg={key:0},Hg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Ug=["href","target","title"],Wg=["innerHTML"],Gg=["href","title"],Jg={class:"street-address"},Kg=o.createElementVNode("br",null,null,-1),Zg={key:0,class:"postal-code"},Xg={key:1,class:"locality"},Qg=o.createElementVNode("br",null,null,-1),Yg=o.createElementVNode("br",null,null,-1),$g=o.createElementVNode("br",null,null,-1),vg={key:4,class:"country-name"},ey={class:"street-address"},ty=o.createElementVNode("br",null,null,-1),ny={key:0,class:"postal-code"},oy={key:1,class:"locality"},ry=o.createElementVNode("br",null,null,-1),iy=o.createElementVNode("br",null,null,-1),sy=o.createElementVNode("br",null,null,-1),ay={key:4,class:"country-name"};function ly(e,t,n,r,i,s){var u;const a=U,l=Rg,d=Ae,c=z;return o.openBlock(),o.createElementBlock("div",jg,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",qg,[n.showLabels&&(n.showLabelTexts||n.showLabelIcons)&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.addressData.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Hg)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(d,{key:"x"+g,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",g]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(l,{addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",zg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(l,{key:g,addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts,showCityBeforeZip:n.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass(["flex-container",{vertical:!n.showIconsOnly}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[m.href||m.name==="address"&&m.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[m.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(m),target:m.name==="url"?"_blank":null,title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(m.href),1)],64))],8,Ug)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:m.data},null,8,Wg)),m.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(m),target:"google-maps",title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Jg,o.toDisplayString(m.streetNo),1),Kg],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",Zg,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",Xg,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Qg],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),Yg],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),$g],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",vg,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64))],8,Gg)):o.createCommentVNode("",!0),!m.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",ey,o.toDisplayString(m.streetNo),1),ty],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",oy,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),ry],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),iy],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),sy],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const Ia=V(Dg,[["render",ly]]),cy={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"})}}},dy=["title"];function uy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[s.show?(o.openBlock(),o.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:n.cmdIcon.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.onBackToTop&&s.onBackToTop(...l),["prevent"]))},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,dy)):o.createCommentVNode("",!0)]),_:1})}const my=V(cy,[["render",uy]]),fy={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 t=e.replace(/\s/g,"");navigator.clipboard.writeText(t),alert(t+" was copied to clipboard")}}},hy={class:"cmd-bank-account-data"},py={key:0},gy=["onClick","title"],yy={key:1};function by(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",hy,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.accountData,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createElementVNode("dt",null,o.toDisplayString(d.text),1),n.allowCopyByClick&&d.allowCopy?(o.openBlock(),o.createElementBlock("dd",py,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,gy)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",yy,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const ky=V(fy,[["render",by]]),Cy={name:"CmdSystemMessage",mixins:[mn],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}}},wy=["role","aria-labelledby"],xy=["title"];function By(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createBlock(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showSystemMessage?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.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?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"close-button",onClick:t[0]||(t[0]=o.withModifiers(d=>i.showSystemMessage=!1,["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,xy)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(l,{class:"message-headline",cmdIcon:s.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,wy)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const bt=V(Cy,[["render",By]]),_y={name:"CmdForm",components:{CmdSystemMessage:bt},emits:["submit"],data(){return{errorOccurred:!1,formValues:{},showSystemMessage:!1,systemMessage:{show:!1,validationStatus:"",message:""}}},props:{formAction:{type:String,required:!1},formMethod:{type:String,default:"POST",validator(e){return e==="POST"||e==="GET"}},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:dr,showMessage(e,t){this.systemMessage.show=!0,this.systemMessage.validationStatus=e,this.systemMessage.message=t},submitFormData(e){let t={};this.formElements&&this.formElements.forEach(n=>{t[n.name]=this.formValues[n.name]}),this.$emit("submit",{originalEvent:e,formdata:t})},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(t=>{t.type==="checkbox"?(this.formValues[t.name]||(this.formValues[t.name]=[]),t.value!=null&&this.formValues[t.name].push(t.value)):this.formValues[t.name]=t.value??""})},immediate:!0,deep:!0}}},Ey=["action","data-use-validation","novalidate","method"],Sy={class:"flex-container"},Ty=["type"],Oy={key:1},Ny={key:0,class:"button-wrapper"},Vy=["type"],Fy={key:1};function Ay(e,t,n,r,i,s){const a=bt,l=X;return o.openBlock(),o.createElementBlock("form",{class:o.normalizeClass(["cmd-form",{error:i.errorOccurred}]),action:n.formAction,"data-use-validation":n.useValidation,onSubmit:t[0]||(t[0]=(...d)=>s.onSubmit&&s.onSubmit(...d)),novalidate:n.novalidate,method:n.formMethod},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",Sy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),i.systemMessage.show&&i.systemMessage.message?(o.openBlock(),o.createBlock(a,{key:0,validationStatus:i.systemMessage.validationStatus,"system-message":i.systemMessage.message},null,8,["validationStatus","system-message"])):o.createCommentVNode("",!0),n.useSlot?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.formElements,(d,c)=>(o.openBlock(),o.createBlock(l,{key:c,element:d.element||"input",type:d.type||"text",name:d.name,class:o.normalizeClass(d.htmlClass),id:d.id||s.createHtmlId(),modelValue:i.formValues[d.name],"onUpdate:modelValue":u=>i.formValues[d.name]=u,inputValue:d.inputValue,fieldIconClass:d.innerIconClass,selectOptions:d.selectOptions,labelText:d.labelText,placeholder:d.placeholder,required:d.required,disabled:d.disabled,autocomplete:d.autocomplete,minlength:d.minlength,maxlength:d.maxlength,nativeButton:d.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),s.submitButtonOptions&&(s.submitButtonOptions.position==="insideFieldset"||s.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:3,class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Oy,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Ty)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Ny,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type||"submit"},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Fy,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Vy)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,Ey)}const Ma=V(_y,[["render",Ay]]),Py={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.text.characters_left":"Characters left","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>."}}}},De=class De{constructor(t){tn(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,De.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,De.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.userMessage.error,t.userMessage.errorMessage]=this.validateRequired(t.userMessage.value,De.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.userMessage.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};tn(De,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),tn(De,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),tn(De,"PATTERN_MESSAGE",/^.{2,500}$/);let fr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Ra(e,t,n,r,i){const s=[];if(e.size>r&&s.push("file too large"),t.includes(nt(e.name))||s.push("disallowed file extension"),s.length){alert(s);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 i=="function"?i(a.src):i.src=a.src},a.src=URL.createObjectURL(e)}const Ly={name:"CmdImage",mixins:[Y],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 t=this.currentWindowWidth;return e.small&&t<=this.smallMaxWidth?e.small:e.medium&&t<=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 t,n;const e=(n=(t=this.editModeConfig)==null?void 0:t.itemProviderOverwrite)==null?void 0:n.call(t);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&&Ra(e.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t)},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(),Ra(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:tt(),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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,Q(this,{update(t){t.figcaption||(t.figcaption={}),t.figcaption.text=e}})}},watch:{figcaption:{handler(){var e,t,n,r;this.showFigcaption=(e=this.figcaption)==null?void 0:e.show,this.figcaptionText=(t=this.figcaption)==null?void 0:t.text,this.figcaptionPosition=(n=this.figcaption)==null?void 0:n.position,this.figcaptionTextAlign=(r=this.figcaption)==null?void 0:r.textAlign},immediate:!0,deep:!0}}},Iy=["innerHTML"],My=o.createElementVNode("span",{class:"icon-image"},null,-1),Ry=["src","alt","title"],Dy=["src","alt","title"],jy=["innerHTML"],qy=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],zy=["innerHTML"],Hy=["src","alt","title"],Uy=["innerHTML"],Wy=["src","alt","title"];function Gy(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,F;const a=X,l=Ae;return e.editModeContext?(o.openBlock(),o.createBlock(l,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:s.imageComponentPath,allowDeleteComponent:!!s.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?s.itemProvider:null},{default:o.withCtx(N=>{var b,S,A,q,L,Be,_e,Ee,Se,Te,P,de;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",s.textAlign])},[(b=n.figcaption)!=null&&b.show&&((S=n.figcaption)==null?void 0:S.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=re=>s.editableFigcaptionText=re)},null,8,["class","modelValue"])):(A=n.figcaption)!=null&&A.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(q=n.figcaption)==null?void 0:q.text},null,8,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),N.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",o.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...re)=>s.selectFiles&&s.selectFiles(...re),["prevent"])),title:"Drag new image to this area to replace old one!"}),[My,o.createElementVNode("img",{src:s.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(Be=n.image)==null?void 0:Be.tooltip},null,8,Ry)],16),o.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:s.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):s.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(_e=n.image)==null?void 0:_e.alt,title:(Ee=n.image)==null?void 0:Ee.tooltip},null,8,Dy)):o.createCommentVNode("",!0),(Se=n.figcaption)!=null&&Se.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=re=>s.editableFigcaptionText=re),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=n.figcaption)!=null&&P.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,jy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!N.editing&&!s.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...re)=>s.onAddItem&&s.onAddItem(...re))},qy)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",s.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((u=n.figcaption)!=null&&u.text)&&((m=n.figcaption)!=null&&m.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,zy)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:s.imageSource,alt:(f=n.image)==null?void 0:f.alt,title:(h=n.image)==null?void 0:h.tooltip,onLoad:t[4]||(t[4]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Hy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((p=n.figcaption)!=null&&p.text)&&((C=n.figcaption)!=null&&C.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,Uy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(k=n.image)==null?void 0:k.alt,title:(F=n.image)==null?void 0:F.tooltip,onLoad:t[5]||(t[5]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Wy))}const Ne=V(Ly,[["render",Gy]]),Jy={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"),{})}}},Ky=["title"];function Zy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),class:o.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",n.slideButtonType]),title:s.getDirection.tooltip},[o.createVNode(a,{type:s.getDirection.iconType||"auto",iconClass:s.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Ky)}const kt=V(Jy,[["render",Zy]]),Xy={name:"CmdThumbnailScroller",emits:["click"],mixins:[oe,{data(){return{defaultMessageProperties:{"thumbnail_scroller.tooltip.open_large_image":"Open large image","thumbnail_scroller.tooltip.open_url":"Open URL in a new tab","thumbnail_scroller.tooltip.open":"Open"}}}},Y],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"],t=e.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(t)).observe(e)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("thumbnail_scroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("thumbnail_scroller.tooltip.open_url"):this.getMessage("thumbnail_scroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:tt(),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(Fe(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:tt(),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&&qe({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,t){this.executeOnClick==="emit"?(t.preventDefault(),this.emitCurrentItemId(e)):this.executeOnClick==="fancybox"&&(t.preventDefault(),this.showFancyBox(e))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(e=>{let t;return this.contentType==="image"?(t={image:{...e.image},figcaption:{...e.figcaption}},t.image.srcImageSmall&&(t.image.src=t.image.srcImageSmall)):t={...e},t})},immediate:!0,deep:!0}}},Qy={class:"inner-thumbnail-wrapper"},Yy=["href","onClick","title","target"],$y={key:1},vy={key:1},eb={key:0},tb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function nb(e,t,n,r,i,s){var u;const a=U,l=kt,d=Ne,c=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},s.fullWidthClass]),ref:"thumbnail-scroller"},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Qy,[i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"slide",tag:"ul"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.items,(m,g)=>(o.openBlock(),o.createElementBlock("li",{key:g},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",g],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",vy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?m.url:"#",onClick:f=>s.executeLink(g,f),class:o.normalizeClass([{active:n.activeItemIndex===g},m.id?"item-"+m.id:""]),title:s.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:m.image,figcaption:m.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",$y,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Yy))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",eb,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},tb)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const Da=V(Xy,[["render",nb]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(ja,{...e,show:!0}).mount(t)},ja=o.defineComponent({name:"CmdFancyBox",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,required:!1},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:{fancyBoxOptionsProperties(){var e,t,n,r,i,s,a,l,d;return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close",...(e=this.fancyBoxOptions)==null?void 0:e.closeIcon},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color",...(n=(t=this.fancyBoxOptions)==null?void 0:t.printButtons)==null?void 0:n.color},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale",...(i=(r=this.fancyBoxOptions)==null?void 0:r.printButtons)==null?void 0:i.grayscale}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel",...(a=(s=this.fancyBoxOptions)==null?void 0:s.submitButtons)==null?void 0:a.cancel},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary",...(d=(l=this.fancyBoxOptions)==null?void 0:l.submitButtons)==null?void 0:d.confirm}}}},largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var t;const e={...((t=this.cmdImage)==null?void 0:t.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:{printDialogContent(){const e=window.open("","","width=1000,height=600"),t=this.elements.map(i=>i.outerHTML).join("");let n=Array.from(document.head.querySelectorAll("style, link[rel='stylesheet']")).map(i=>i.outerHTML).join("");this.printInGrayscale&&(n+="<style>body { filter: grayscale(1)}</style>");const r=document.head.querySelector("title").innerText;e.document.write(`
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>${r}</title>
|
@@ -8,44 +8,44 @@
|
|
8
8
|
${t}
|
9
9
|
</body>
|
10
10
|
</html>
|
11
|
-
`),e.document.close(),e.print(),e.close()},printPage(e){this.printInGrayscale=e==="grayscale",this.printDialogContent()},onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.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 ob(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 t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 ob(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const rb=ja,ib=["aria-label"],sb={class:"flex-container"},ab={key:1,class:"button-wrapper no-flex"},lb=["title"],cb=["title"],db=["title"],ub={key:0,class:"content"},mb=["innerHTML"],fb={key:2,class:"content",ref:"elements"},hb={key:3,class:"content"},pb={key:4,class:"content"},gb={key:0,class:"flex-container no-flex"},yb=["title"],bb={key:1},kb=["title"],Cb={key:1};function wb(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,$t,vt,en;const a=U,l=z,d=Ne,c=kt,u=Da;return o.openBlock(),o.createElementBlock("dialog",{ref:"dialog",class:o.normalizeClass(["cmd-fancybox",{"show-overlay":e.showOverlay,image:e.fancyBoxImageUrl||e.fancyBoxGallery,"image-gallery":e.fancyBoxGallery}]),"aria-label":e.ariaLabelText,onCancel:t[5]||(t[5]=(...ue)=>e.onDialogCancel&&e.onDialogCancel(...ue))},[o.createElementVNode("header",sb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.cmdHeadline)),null,16)):o.createCommentVNode("",!0),(g=e.fancyBoxOptionsProperties.printButtons)!=null&&g.color||(f=e.fancyBoxOptionsProperties.printButtons)!=null&&f.grayscale||e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("div",ab,[e.showPrintButtons&&((h=e.fancyBoxOptionsProperties.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(ue=>e.printPage("color"),["prevent"]))},[o.createVNode(l,{iconClass:(p=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:p.iconClass,type:(C=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:C.iconType},null,8,["iconClass","type"])],8,lb)):o.createCommentVNode("",!0),e.showPrintButtons&&((T=e.fancyBoxOptionsProperties.printButtons)!=null&&T.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(k=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:k.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printPage("grayscale"),["prevent"]))},[o.createVNode(l,{iconClass:(A=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:A.iconClass,type:(N=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,cb)):o.createCommentVNode("",!0),e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyBoxOptionsProperties.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...ue)=>e.close&&e.close(...ue),["prevent"]))},[o.createVNode(l,{iconClass:e.fancyBoxOptionsProperties.closeIcon.iconClass,type:e.fancyBoxOptionsProperties.closeIcon.iconType},null,8,["iconClass","type"])],8,db)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",{class:o.normalizeClass(["outer-content-wrapper",{grayscale:e.printInGrayscale}])},[e.fancyBoxImageUrl||(b=e.cmdImage)!=null&&b.image?(o.openBlock(),o.createElementBlock("div",ub,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(S=e.cmdImage)==null?void 0:S.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,mb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",fb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",hb,[o.createVNode(c,{onClick:o.withModifiers(e.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),o.createVNode(d,{image:e.largeGalleryImage,figcaption:e.fancyBoxGallery[e.index].figcaption},null,8,["image","figcaption"]),o.createVNode(c,{onClick:o.withModifiers(e.showNextItem,["prevent"])},null,8,["onClick"])])):(o.openBlock(),o.createElementBlock("div",pb,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyBoxOptionsProperties.submitButtons?(o.openBlock(),o.createElementBlock("footer",gb,[(F=e.fancyBoxOptionsProperties.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...ue)=>e.cancel&&e.cancel(...ue)),title:(q=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:q.tooltip},[(L=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(Be=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Be.iconClass,type:(_e=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:_e.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Ee=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&Ee.buttonText?(o.openBlock(),o.createElementBlock("span",bb,o.toDisplayString((Se=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Se.buttonText),1)):o.createCommentVNode("",!0)],8,yb)):o.createCommentVNode("",!0),(Te=e.fancyBoxOptionsProperties.submitButtons)!=null&&Te.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...ue)=>e.confirm&&e.confirm(...ue)),title:(P=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:P.tooltip},[(de=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&de.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(re=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:re.iconClass,type:($t=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:$t.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(vt=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&vt.buttonText?(o.openBlock(),o.createElementBlock("span",Cb,o.toDisplayString((en=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:en.buttonText),1)):o.createCommentVNode("",!0)],8,kb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(u,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,ib)}const xb=V(rb,[["render",wb]]),Bb={emits:["submit"],mixins:[oe,Py],inject:{editModeContext:{default:null}},data(){return{validator:new fr(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:{default:"m",replaceInputType:!0,name:"salutation"},lastName:{required:!0,type:"text",name:"last-name"},firstName:{required:!1,type:"text",name:"first-name"},email:{required:!0,type:"email",name:"email"},phone:{required:!1,type:"phone",name:"phone"},country:{required:!1,element:"select",name:"country",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text",name:"street-no"},zip:{required:!1,type:"number",name:"zip"},city:{required:!1,type:"text",name:"city"},additionalAddressInfo:{required:!1,type:"text",name:"additional-address-info"},userMessage:{required:!0,element:"textarea",name:"user-message"},acceptPrivacy:{required:!0,replaceInputType:!0,name:"accept-privacy"}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1},cmdForm:{type:Object,required:!1}},mounted(){var e,t;(t=(e=this.$refs.dataPrivacy)==null?void 0:e.querySelector(".component-fancybox"))==null||t.addEventListener("click",n=>{n.preventDefault(),qe({url:n.target.getAttribute("href")})})},computed:{submitButtonProperties(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0,...this.submitButton}}},methods:{onSubmit(e){var r;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 t=new FormData,n=Object.keys(this.configuration);for(let i=0;i<n.length;i++)t.set(this.configuration[n[i]].name,this.formData[n[i]].value);fetch(this.formAction,{method:((r=this.cmdForm)==null?void 0:r.formMethod)||"POST",body:t}).then(i=>{i.ok?this.$refs.form.showMessage("success","Message sent successfully!"):this.$refs.form.showMessage("error","Message could not be sent!")}).catch(i=>{this.$refs.form.showMessage("error","Message could not be sent!"),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,t){e.fancybox&&(t.preventDefault(),qe({url:e}))},openDataPrivacy(e){qe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},_b={class:"cmd-pages-basic-form"},Eb={key:0,class:"flex-container no-flex order-male-female"},Sb={key:1,class:"flex-container order-lastname-firstname"},Tb={key:2,class:"flex-container order-phone-email"},Ob={key:3,class:"flex-container"},Nb=["innerHTML"];function Vb(e,t,n,r,i,s){const a=U,l=X,d=Ma;return o.openBlock(),o.createElementBlock("div",_b,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:s.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:s.submitButtonProperties,formAction:n.formAction,ref:"form"}),{default:o.withCtx(()=>{var c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,$t,vt,en,ue,Df,jf,qf,zf,Hf,Uf,Wf,Gf,Jf,Kf,Zf;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",Eb,[o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_male"),name:(c=n.configuration.salutation)==null?void 0:c.name,inputValue:"m",replaceInputType:(u=n.configuration.salutation)==null?void 0:u.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"]),o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:(m=n.configuration.salutation)==null?void 0:m.name,inputValue:"f",replaceInputType:(g=n.configuration.salutation)==null?void 0:g.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",Sb,[n.configuration.lastName?(o.openBlock(),o.createBlock(l,{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,placeholder:e.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":t[2]||(t[2]=H=>i.formData.lastName.value=H),status:i.formData.lastName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((p=n.configuration.firstName)==null?void 0:p.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(C=n.configuration.firstName)==null?void 0:C.required,name:(T=n.configuration.firstName)==null?void 0:T.name,modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=H=>i.formData.firstName.value=H),status:i.formData.firstName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Tb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((k=n.configuration.email)==null?void 0:k.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(A=n.configuration.email)==null?void 0:A.required,name:(N=n.configuration.email)==null?void 0:N.name,modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=H=>i.formData.email.value=H),status:i.formData.email.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((b=n.configuration.phone)==null?void 0:b.type)||"tel",iconClass:"icon-phone",labelText:e.getMessage("basic_form.labeltext.phone"),placeholder:e.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":t[5]||(t[5]=H=>i.formData.phone.value=H),required:(S=n.configuration.phone)==null?void 0:S.required,name:(F=n.configuration.phone)==null?void 0:F.name,status:i.formData.phone.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",Ob,[n.configuration.country?(o.openBlock(),o.createBlock(l,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(q=n.configuration.country)==null?void 0:q.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:(Be=n.configuration.country)==null?void 0:Be.name,modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=H=>i.formData.country.value=H),s.onCountrySelect],status:i.formData.country.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","i18n","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((_e=n.configuration.streetNo)==null?void 0:_e.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Ee=n.configuration.streetNo)==null?void 0:Ee.required,name:(Se=n.configuration.streetNo)==null?void 0:Se.name,modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=H=>i.formData.streetNo.value=H),status:i.formData.streetNo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(l,{key:2,element:"input",type:((Te=n.configuration.pobox)==null?void 0:Te.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(P=n.configuration.pobox)==null?void 0:P.required,name:(de=n.configuration.pobox)==null?void 0:de.name,modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=H=>i.formData.pobox.value=H),status:i.formData.pobox.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["input-wrapper",i.cityBeforeZip?"order-city-zip":"order-zip-city"])},[n.configuration.zip?(o.openBlock(),o.createBlock(l,{key:0,element:"input",class:"input-zip",type:((re=n.configuration.zip)==null?void 0:re.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:($t=n.configuration.zip)==null?void 0:$t.required,name:(vt=n.configuration.zip)==null?void 0:vt.name,modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=H=>i.formData.zip.value=H),status:i.formData.zip.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((en=n.configuration.city)==null?void 0:en.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ue=n.configuration.city)==null?void 0:ue.required,name:(Df=n.configuration.city)==null?void 0:Df.name,modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=H=>i.formData.city.value=H),status:i.formData.city.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(l,{key:3,element:"input",type:((jf=n.configuration.additionalAddressInfo)==null?void 0:jf.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(qf=n.configuration.additionalAddressInfo)==null?void 0:qf.required,name:(zf=n.configuration.additionalAddressInfo)==null?void 0:zf.name,modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=H=>i.formData.additionalAddressInfo.value=H),status:i.formData.additionalAddressInfo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(l,{key:4,element:((Hf=n.configuration.userMessage)==null?void 0:Hf.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(Uf=n.configuration.userMessage)==null?void 0:Uf.required,name:(Wf=n.configuration.userMessage)==null?void 0:Wf.name,textCharactersLeft:e.getMessage("basic_form.text.characters_left"),maxlength:(Gf=n.configuration.userMessage)==null?void 0:Gf.maxLength,modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=H=>i.formData.userMessage.value=H),status:i.formData.userMessage.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["element","labelText","placeholder","required","name","textCharactersLeft","maxlength","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(l,{key:5,element:"input",type:"checkbox",required:(Jf=n.configuration.acceptPrivacy)==null?void 0:Jf.required,name:(Kf=n.configuration.acceptPrivacy)==null?void 0:Kf.name,replaceInputType:(Zf=n.configuration.acceptPrivacy)==null?void 0:Zf.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=H=>i.formData.acceptPrivacy.value=H),status:i.formData.acceptPrivacy.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Nb)]),_:1},8,["required","name","replaceInputType","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const qa=V(Bb,[["render",Vb]]),Fb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ab=["title"],Pb={key:1},Lb=["title"];function Ib(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.icon.iconClass&&n.icon.position==="left"||n.icon.position==="top"||!n.icon.position?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ab)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Pb,o.toDisplayString(n.text),1)):o.createCommentVNode("",!0),n.icon.iconClass&&n.icon.position==="right"||n.icon.position==="bottom"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Lb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Mb=V(Fb,[["render",Ib]]),Rb={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},styleAsBox:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(e,t){this.$emit("click",{originalEvent:e,linkType:t})}}},Db=["href","target","title"],jb=["title"];function qb(e,t,n,r,i,s){var d,c,u;const a=Mb,l=o.resolveComponent("router-link");return n.linkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.path,target:n.target,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[0]||(t[0]=m=>s.emitClick(m,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Db)):n.linkType==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:n.path,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[1]||(t[1]=m=>s.emitClick(m,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class","title"])):n.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["cmd-link button",{primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),type:"submit",onClick:t[2]||(t[2]=m=>s.emitClick(m,"button")),title:(u=n.icon)==null?void 0:u.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,jb)):o.createCommentVNode("",!0)}const ot=V(Rb,[["render",qb]]),zb={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Y],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 Q(this,{update(t){t.text=e}})}}},Hb={key:0,class:"cmd-list-of-links-item"},Ub={key:0},Wb={key:1,class:"input-wrapper"};function Gb(e,t,n,r,i,s){var c;const a=ot,l=o.resolveComponent("CmdListOfLinksItem",!0),d=X;return e.editing?(o.openBlock(),o.createElementBlock("div",Wb,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableText=u)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",Hb,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",Ub,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,link:u},null,8,["link"]))),128))]))]))}const Jb=V(zb,[["render",Gb]]),Kb={name:"CmdListOfLinks",emits:["click"],mixins:[Y],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(Fe(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}}},Zb={key:1},Xb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Qb(e,t,n,r,i,s){var c;const a=U,l=Jb,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.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}])},[(c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass(["flex-container",{"no-gap":!n.useGap},"align-"+n.align,s.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",Zb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(d,{key:"x"+m,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",m],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createVNode(l,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),n.links.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...u)=>s.onAddItem&&s.onAddItem(...u))},Xb)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"]))),128))],2)],2)}const hr=V(Kb,[["render",Qb]]),pr={name:"CmdBox",mixins:[oe,{data(){return{defaultMessageProperties:{"box.productbox.new":"New","box.productbox.article_no":"Article No:","box.contentbox.collapse_text":"Collapse text","box.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()}}},za=()=>{o.useCssVars(e=>({"83433e5e":e.cutoffTextLines}))},Ha=pr.setup;pr.setup=Ha?(e,t)=>(za(),Ha(e,t)):za;const Yb=["title"],$b={key:0,class:"box-header"},vb={key:1,class:"body-icon-wrapper"},e0=["innerHTML"],t0={key:0,class:"body-icon-wrapper"},n0=["innerHTML"],o0={key:2,class:"box-footer"},r0={key:3,class:"box-footer"},i0={class:"box-header flex-container vertical"},s0={key:0},a0=["src","alt"],l0={key:1},c0={key:2,class:"ribbon-new"},d0={key:3,class:"ribbon-discount"},u0={class:"box-body"},m0={key:0},f0={key:1,class:"price"},h0=["title"],p0={key:2},g0={class:"box-header flex-container vertical"},y0={key:0},b0=["src","alt"],k0={key:0,class:"user-name"},C0={key:0,class:"user-age"},w0={key:1},x0=["title"],B0={key:0,class:"user-name"},_0={class:"box-body"},E0={key:0,class:"user-name"},S0={key:1},T0={key:2},O0={key:3,class:"description"},N0={key:0,class:"tags"},V0={key:1,class:"box-footer"};function F0(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N;const a=U,l=z,d=Ne,c=ot,u=hr;return n.boxType==="content"?(o.openBlock(),o.createElementBlock("div",{key:0,ref:"cmdBox",class:o.normalizeClass(["cmd-box box content",{open:i.open,collapsible:n.collapsible,"stretch-vertically":n.stretchVertically&&!n.collapsible,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?n.iconOpen.tooltip:n.iconClosed.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...b)=>s.toggleContentVisibility&&s.toggleContentVisibility(...b),["prevent"]))},[(m=n.useSlots)!=null&&m.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,Yb)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(f=n.useSlots)!=null&&f.includes("header")||(h=n.cmdHeadline)!=null&&h.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createElementBlock("div",$b,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(C=n.useSlots)!=null&&C.includes("body")?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll}]),ref:"boxBody",style:o.normalizeStyle(n.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[o.renderSlot(e.$slots,"body",{},()=>{var b;return[(b=n.cmdHeadline)!=null&&b.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:s.toggleTransition},{default:o.withCtx(()=>[n.textBody?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass({"cutoff-text":n.cutoffTextLines>0,"fade-last-line":n.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText}),innerHTML:n.textBody},null,10,e0)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...S)=>s.toggleCutOffText&&s.toggleCutOffText(...S),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("box.contentbox.collapse_text"):e.getMessage("box.contentbox.expand_text")),1)):o.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":n.allowContentToScroll}])},[n.cmdImage?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:0},n.cmdImage)),null,16)):o.createCommentVNode("",!0),(T=n.cmdHeadline)!=null&&T.headlineText&&n.headlinePosition==="body"||n.textBody?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll})},[n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",t0,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(k=n.cmdHeadline)!=null&&k.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.textBody?(o.openBlock(),o.createElementBlock("p",{key:2,innerHTML:n.textBody},null,8,n0)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(A=n.cmdLink)!=null&&A.linkType?(o.openBlock(),o.createElementBlock("div",o0,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(N=n.useSlots)!=null&&N.includes("footer")?(o.openBlock(),o.createElementBlock("div",r0,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)],2)):n.boxType==="product"&&n.product?(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["cmd-box box product",{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}]),href:"#",onClick:t[2]||(t[2]=o.withModifiers(b=>s.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",i0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",s0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,a0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",c0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("box.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",d0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",u0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",m0,o.toDisplayString(e.getMessage("box.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",f0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,h0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",p0,o.toDisplayString(n.product.description),1)):o.createCommentVNode("",!0)])],2)):n.boxType==="user"&&n.user?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["cmd-box box user",n.profileType,{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[o.createElementVNode("div",g0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",y0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",k0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",C0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",w0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,x0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",_0,[n.rowView?(o.openBlock(),o.createElementBlock("p",E0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",S0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",T0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",O0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",N0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,S)=>(o.openBlock(),o.createElementBlock("li",{key:S},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",V0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Ua=V(pr,[["render",F0]]),gr={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,t){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?e===0?this.boxesPerRow:Math.min(this.boxesPerRow,t):this.boxesPerRow.length>e?this.boxesPerRow[e]:t},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(e,t){if(this.allowMultipleExpandedBoxes)if(t)this.currentOpenBox.push(e);else{let n=this.currentOpenBox.indexOf(e);this.currentOpenBox.splice(n,1)}else this.currentOpenBox=[],t&&this.currentOpenBox.push(e)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Wa=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Ga=gr.setup;gr.setup=Ga?(e,t)=>(Wa(),Ga(e,t)):Wa;const A0={class:"cmd-box-wrapper"},P0={key:0,class:"flex-container headline-wrapper"},L0={key:1,class:"options-wrapper"},I0=["title"];function M0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",A0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",P0,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",L0,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleOrientation&&s.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(l,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,I0)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["inner-box-wrapper",n.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!n.useGap,"row-view":i.rowView,"stretch-boxes-vertically":n.stretchBoxesVertically}])},[o.renderSlot(e.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:s.boxToggled,boxIsOpen:s.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>s.boxIsToggled&&s.boxIsToggled(...d))})],2)])}const Ja=V(gr,[["render",M0]]);function rt(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 R0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},D0={class:"cmd-breadcrumbs"},j0={key:0,class:"breadcrumb-label"},q0=["href"],z0={key:1},H0={key:1},U0={key:2},W0={key:1},G0={key:3,class:"separator"};function J0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",D0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",j0,o.toDisplayString(n.breadcrumbLabel),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.breadcrumbLinks||[],(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,q0)):d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",H0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",U0,[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",W0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",G0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(R0,[["render",J0]]),K0={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 t=0;t<e.length;t++)if(e[t].type==="attributes"){this.toggleColorScheme();break}},getRoute(e){return rt(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"}}},Z0={class:"cmd-company-logo company-logo"},X0=["href","title"];function Q0(e,t,n,r,i,s){var d,c,u,m,g,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",Z0,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(l,{key:0,to:(c=n.link)==null?void 0:c.path,title:(u=n.link)==null?void 0:u.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((m=n.link)==null?void 0:m.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(g=n.link)==null?void 0:g.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,X0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(K0,[["render",Q0]]),Y0={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},innerText:{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}}},$0={class:"cmd-container"},v0=["innerHTML"],ek=["innerHTML"];function tk(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",$0,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.contentAboveSlot?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.contentAboveSlot},null,8,v0)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([s.setInnerClass,"inner-slot-wrapper"])},[o.renderSlot(e.$slots,"default",{},()=>[o.createElementVNode("p",null,o.toDisplayString(n.innerText),1)])],2)),n.contentBelowSlot?(o.openBlock(),o.createElementBlock("div",{key:4,innerHTML:n.contentBelowSlot},null,8,ek)):o.createCommentVNode("",!0)])}const nk=V(Y0,[["render",tk]]),ok={name:"CmdCookieDisclaimer",mixins:[oe,{data(){return{defaultMessageProperties:{"cookie_disclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cookie_disclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!","cookie_disclaimer.title.toggle_box_content":"Toggle description visibility"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:"",openBoxes:[]}},props:{iconClassBoxCollapsed:{type:String,default:"icon-chevron-one-stripe-down"},iconClassBoxExpanded:{type:String,default:"icon-chevron-one-stripe-up"},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},privacyText:{type:String,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,r;const e=this.modelValue?[...this.modelValue]:[],t=((r=(n=this.cookieOptions)==null?void 0:n.required)==null?void 0:r.cookies)||[];for(let i=0;i<t.length;i++)e.includes(t[i].value)||e.push(t[i].value);return e},set(e){this.$emit("update:modelValue",e)}}},methods:{boxIsOpen(e){return this.openBoxes.includes(e)},toggleBoxBody(e){const t=this.openBoxes.indexOf(e);t===-1?this.openBoxes.push(e):this.openBoxes.splice(t,1)},acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,s,a;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let l=0;l<t.length;l++)e.push(t[l].value);const n=(a=(s=this.cookieOptions)==null?void 0:s.optional)==null?void 0:a.cookies;if(n)for(let l=0;l<n.length;l++)e.push(n[l].value);this.$emit("close-cookie-disclaimer",e)},openDataPrivacy(e){e.target.target||(e.preventDefault(),fetch(e.target.href).then(t=>t.text()).then(t=>{this.dataPrivacyContent=t}))}}},rk={class:"cmd-cookie-disclaimer flex-container vertical"},ik={key:1},sk={key:0,class:"flex-container vertical"},ak=["onClick","title"],lk={class:"collapsible-box-body"},ck={key:0},dk={key:1},uk=["href","target"],mk=["innerHTML"],fk=o.createElementVNode("hr",null,null,-1),hk={key:1,class:"flex-container vertical"},pk=["onClick","title"],gk={class:"collapsible-box-body"},yk={key:0},bk={key:1},kk=["href","target"],Ck=["innerHTML"],wk=["innerHTML"],xk={class:"button-wrapper align-center"};function Bk(e,t,n,r,i,s){const a=U,l=X;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var d,c,u;return[o.createElementVNode("div",rk,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock("div",ik,[(d=n.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((c=n.cmdHeadlineCookieDisclaimer)!=null&&c.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(a,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var m,g,f,h,y,p,C,T;return[(m=n.cookieOptions)!=null&&m.required?(o.openBlock(),o.createElementBlock("div",sk,[(g=n.cmdBoxRequiredCookies)!=null&&g.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(f=n.cmdBoxRequiredCookies)==null?void 0:f.headlineText,"headline-level":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,ak)]),o.withDirectives(o.createElementVNode("div",lk,[k.description?(o.openBlock(),o.createElementBlock("p",ck,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",dk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,uk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,mk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0),fk,(y=n.cookieOptions)!=null&&y.optional?(o.openBlock(),o.createElementBlock("div",hk,[(p=n.cmdBoxOptionalCookies)!=null&&p.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineText,"headline-level":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,pk)]),o.withDirectives(o.createElementVNode("div",gk,[k.description?(o.openBlock(),o.createElementBlock("p",yk,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",bk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,kk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ck)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0)]}),n.privacyText?(o.openBlock(),o.createElementBlock("div",{key:1,class:"privacy-text",innerHTML:n.privacyText},null,8,wk)):o.createCommentVNode("",!0),o.createElementVNode("div",xk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...m)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptCurrentSettings),1)])):o.createCommentVNode("",!0),n.buttonLabelAcceptAllCookies?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:t[5]||(t[5]=(...m)=>s.acceptAllCookies&&s.acceptAllCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])]))])]}),_:3})}const _k=V(ok,[["render",Bk]]),Ek={name:"CmdCopyrightWrapper"},Sk={class:"cmd-copyright-information",role:"contentinfo"},Tk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function Ok(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Sk,Tk)}const Nk=V(Ek,[["render",Ok]]),Vk={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[oe,{data(){return{defaultMessageProperties:{"fake_select.headline.requirements_for_input":"Requirements for input","fake_select.linktext.deselect_all_options":"Deselect all options","fake_select.linktext.select_all_options":"Select all options","fake_select.headline.an_option_is_selected":"An option is selected","fake_select.option.options_selected":"{0} options selected",...lr.data().defaultMessageProperties}}}},cr,mn,mr],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.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,t;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const n=this.selectData.find(r=>r.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("fake_select.option.options_selected",this.modelValue.length)}else if((t=this.selectData)!=null&&t.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const e=this.selectData.find(t=>t.value===this.modelValue);return{iconClass:e==null?void 0:e.iconClass,tooltip:e==null?void 0:e.tooltip}}return null},optionCountry(){var e,t;return this.type==="country"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},optionColor(){var e,t;return this.type==="color"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("fake_select.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("fake_select.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 t=0;t<this.selectData.length;t++)e.push(String(this.selectData[t].value));this.$emit("update:modelValue",e)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(e){return this.modelValue.some(t=>t===e||t===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 t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value&&String(n)!==e.target.value),this.$attrs.required!==void 0&&!t.length&&(this.validationStatus="error"),this.$emit("update:modelValue",t)},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("fake_select.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(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Fk=["title","aria-labelledby","aria-required"],Ak={key:0,class:"label-text"},Pk=["id"],Lk={key:0,"aria-hidden":"true"},Ik=["title","aria-errormessage","id"],Mk=["aria-expanded"],Rk=["title"],Dk=["src","alt"],jk={key:3,class:"option-name"},qk={key:0,role:"listbox"},zk=["aria-selected"],Hk=["onClick","title"],Uk={key:1},Wk=["aria-expanded"],Gk=["for"],Jk=["value","checked","id"],Kk=["onClick"],Zk=["src","alt"],Xk=["onClick"],Qk={key:0,class:"select-all-options"};function Yk(e,t,n,r,i,s){var c,u,m,g;const a=z,l=ar,d=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:n.type==="color","has-state":i.validationStatus&&i.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?(o.openBlock(),o.createElementBlock("span",Ak,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Lk,"*")):o.createCommentVNode("",!0)],8,Pk),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Ik)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:e.getValidationMessage,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass({open:i.showOptions}),onClickout:t[5]||(t[5]=(...f)=>s.closeOptions&&s.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>s.toggleOptions&&s.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>s.onBlur&&s.onBlur(...f)),title:(c=s.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&s.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:s.pathFlag(s.optionCountry),alt:s.optionCountry,class:o.normalizeClass(["flag",s.optionCountry])},null,10,Dk)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+s.optionColor)},null,4)):o.createCommentVNode("",!0),(u=s.optionIcon)!=null&&u.iconClass?(o.openBlock(),o.createBlock(a,{key:2,type:(m=s.optionIcon)==null?void 0:m.iconType,iconClass:(g=s.optionIcon)==null?void 0:g.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",jk,o.toDisplayString(s.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(a,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Rk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",qk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h,role:"option","aria-selected":f.value===n.modelValue},[n.optionLinkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",Uk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Hk)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",null,o.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):o.createCommentVNode("",!0)],8,zk))),128))])):n.type!=="default"&&n.type!=="content"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass({"checkbox-options":n.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h},[n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("label",{key:0,for:"option-"+(h+1),class:o.normalizeClass({active:n.modelValue.includes(`${f.value}`)})},[o.createElementVNode("input",{type:"checkbox",value:f.value,onChange:t[3]||(t[3]=(...y)=>s.optionSelect&&s.optionSelect(...y)),checked:s.compareValues(f.value),id:"option-"+(h+1)},null,40,Jk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Gk)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:s.pathFlag(f.value),alt:f.text},null,8,Zk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Kk)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("span",{class:"color",style:o.normalizeStyle("background: "+f.value)},null,4),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Xk)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",Qk,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>s.toggleAllOptions&&s.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(a,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(s.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,Wk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Mk)],10,Fk)}const Xa=V(Vk,[["render",Yk]]),$k={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}}},vk={key:0,class:"cmd-form-filters"},eC={key:0},tC={key:1},nC=["onClick","title"];function oC(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",vk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",eC,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.deleteAllFilters&&s.deleteAllFilters(...l),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.linkDeleteAllFilters.icon.iconClass,title:n.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),n.linkDeleteAllFilters.text?(o.openBlock(),o.createElementBlock("span",tC,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>s.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(l)),1),o.createVNode(a,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,nC)]))),128))])):o.createCommentVNode("",!0)}const Qa=V($k,[["render",oC]]),rC={data(){return{defaultMessageProperties:{"google_maps.system_message.accept_terms":"You must accept cookies to view the map.","google_maps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...yr(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Ya+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function yr(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Ya+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const iC={name:"CmdGoogleMaps",mixins:[oe,rC],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){yr().includes("google-maps")&&(this.cookiesAccepted=!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"}},methods:{acceptCookies(){$a(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},sC={class:"cmd-google-maps responsive-wrapper"},aC=["src"];function lC(e,t,n,r,i,s){const a=bt;return o.openBlock(),o.createElementBlock("div",sC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,aC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("google_maps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.acceptCookies&&s.acceptCookies(...l),["prevent"]))},o.toDisplayString(e.getMessage("google_maps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(iC,[["render",lC]]),cC={name:"CmdImageGallery",mixins:[Y],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 t={...e.figcaption};return this.figcaptionPosition&&(t.position=this.figcaptionPosition),t},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","images",-1),this.itemProvider)},showFancyBox(e){qe({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 Q(this,{update(t,n){t.htmlContent=e;const r=n==null?void 0:n.find(i=>i.name==="CmdHeadline");r&&(t.cmdHeadline=t.cmdHeadline||{},r.update(t.cmdHeadline))}})}}},dC={class:"grid-container-create-columns cmd-image-gallery"},uC=["onClick","title"],mC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function fC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",dC,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),e.editModeContext?n.images.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createBlock(l,{key:u,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",u],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...c)=>s.onAddItem&&s.onAddItem(...c))},mC)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:o.withModifiers(m=>s.showFancyBox(u),["prevent"]),title:s.getMessage("image_gallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,uC))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const hC=V(cC,[["render",fC]]),pC={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 t=window.innerHeight-this.$el.getBoundingClientRect().y-10,n=this.$el.querySelector(".zoom-container");n.style.height=`${t}px`,el(this,e)})},onMouseMove(e){el(this,e)},onMouseOut(){this.showLargeImage=!1}}};function el(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),s=t.target.getBoundingClientRect().width,a=t.target.getBoundingClientRect().height,l=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,u=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,m=Math.min(s,n.getBoundingClientRect().width/l*s),g=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-g/2,0,a-g),y=-(f*(l/s)),p=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${g}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${p}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const gC={class:"cmd-image-zoom flex-container"},yC=["title"],bC={class:"zoom-container"},kC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function CC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",gC,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(a,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:s.onMouseOver,onMousemove:s.onMouseMove,onMouseout:s.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,yC),o.createElementVNode("div",bC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),kC])}const wC=V(pC,[["render",CC]]),xC={mixins:[lr,cr,mn,mr],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.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.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}}},BC=["aria-labelledby"],_C={class:"label-text"},EC=["id"],SC={key:0,"aria-hidden":"true"},TC=["title","aria-errormessage","id"],OC=["for"],NC=["type","id","name","value","disabled"],VC={key:1,class:"label-text"},FC={key:1,class:"flex-container no-flex"};function AC(e,t,n,r,i,s){const a=z,l=ar;return o.openBlock(),o.createElementBlock("div",{class:o.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},[o.withDirectives(o.createElementVNode("span",_C,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",SC,"*")):o.createCommentVNode("",!0)],8,EC),(n.required||e.inputRequirements.length>0)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,TC)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{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"])):o.createCommentVNode("",!0)],512),[[o.vShow,n.showLabel]]),n.useSlot?(o.openBlock(),o.createElementBlock("div",FC,[o.renderSlot(e.$slots,"default")])):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["flex-container",{"no-flex":!n.stretchHorizontally,"no-gap":n.multipleSwitch}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputElements,(d,c)=>(o.openBlock(),o.createElementBlock("label",{key:c,for:d.id,class:o.normalizeClass({"toggle-switch":n.toggleSwitches})},[o.withDirectives(o.createElementVNode("input",{type:n.inputTypes,id:d.id,name:d.name,value:d.value,"onUpdate:modelValue":t[1]||(t[1]=u=>s.inputValue=u),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,NC),[[o.vModelDynamic,s.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",VC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,OC))),128))],2))],10,BC)}const nl=V(xC,[["render",AC]]),PC={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"}}},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 rt(e)},checkValidationStatus(e,t){e!=null&&(t==="username"?this.usernameValidationStatus=e==="success":t==="password"?this.passwordValidationStatus=e==="success":this.emailValidationStatus=e==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},LC={class:"cmd-login-form flex-container"},IC={class:"option-wrapper flex-container"},MC={key:1},RC=["type","disabled"],DC={key:1},jC={class:"cmd-login-form flex-container"},qC={class:"option-wrapper flex-container"},zC={key:1},HC=["type","disabled"],UC={key:1};function WC(e,t,n,r,i,s){var u,m,g,f,h,y,p,C;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",LC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendLoginForm.show,"align-left":n.legendLoginForm.align==="left"})},o.toDisplayString(n.legendLoginForm.text),3),n.cmdHeadlineLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineLoginForm)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["login-fields flex-container",{vertical:n.orientation==="vertical"}])},[o.createVNode(l,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:s.username,"onUpdate:modelValue":t[0]||(t[0]=T=>s.username=T)},s.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=T=>s.checkValidationStatus(T,"username"))}),null,16,["modelValue"]),o.createVNode(l,o.mergeProps({element:"input",type:"password",modelValue:s.password,"onUpdate:modelValue":t[2]||(t[2]=T=>s.password=T)},s.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=T=>s.checkValidationStatus(T,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",IC,[n.options.forgotPassword||n.options.createAccount?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.options.forgotPassword?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[4]||(t[4]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[(u=n.options.forgotPassword.icon)!=null&&u.show&&((m=n.options.forgotPassword.icon)!=null&&m.iconClass)?(o.openBlock(),o.createBlock(d,{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"])):o.createCommentVNode("",!0),n.options.forgotPassword.text?(o.openBlock(),o.createElementBlock("span",MC,o.toDisplayString(n.options.forgotPassword.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.options.createAccount?(o.openBlock(),o.createBlock(c,{key:1,linkType:n.options.createAccount.linkType,path:n.options.createAccount.path,text:n.options.createAccount.text,icon:{iconClass:(g=n.options.createAccount.icon)==null?void 0:g.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"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),s.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...T)=>s.onClick&&s.onClick(...T)),disabled:s.buttonLoginDisabled},[s.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:s.buttonLoginOptions.icon.iconClass,type:s.buttonLoginOptions.icon.iconType,title:s.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),s.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",DC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,RC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",jC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendForgotLoginForm.show,"align-left":n.legendForgotLoginForm.align==="left"})},o.toDisplayString(n.legendForgotLoginForm.text),3),n.cmdHeadlineSendLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=T=>s.checkValidationStatus(T,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=T=>i.sendLoginMail=T)},s.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",qC,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[n.options.backToLoginForm&&n.options.backToLoginForm.icon&&n.options.backToLoginForm.icon.show&&n.options.backToLoginForm.icon.iconClass?(o.openBlock(),o.createBlock(d,{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"])):o.createCommentVNode("",!0),n.options.backToLoginForm.text?(o.openBlock(),o.createElementBlock("span",zC,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonSendLoginOptions.primary}]),disabled:s.buttonSendLoginDisabled},[(y=s.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(p=s.buttonSendLoginOptions.icon)==null?void 0:p.iconClass,title:(C=s.buttonSendLoginOptions.icon)==null?void 0:C.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",UC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,HC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const GC=V(PC,[["render",WC]]),JC={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,t,n,r){var i;if(t.target||t.path.length>1)return this.showOffcanvas=!1,!0;if((i=t==null?void 0:t.subentries)!=null&&i.length){e.preventDefault(),r?this.openSubentry=this.openSubentry===n?-1:n:(this.openEntry=this.openEntry===n?-1:n,this.openSubentry=-1);return}(t.path==="#"||t.path==="")&&(e.preventDefault(),this.$emit("click",t.path)),this.showOffcanvas=!1},getRoute(e){return rt(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})}}},KC={key:0,class:"close-nav"},ZC=["href","title","target","onClick"],XC={key:1},QC={key:1},YC=["aria-expanded"],$C=["href","title","target","onClick"],vC={key:1},ew={key:1},tw=["aria-expanded"],nw=["href","title","target","onClick"],ow={key:1},rw={key:1};function iw(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":n.persistOnMobile,"show-content-overlay":n.showContentOverlay,"off-canvas-right":n.offcanvasPosition==="right"}])},[o.createElementVNode("nav",null,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-items":n.stretchMainItems})},[i.showOffcanvas?(o.openBlock(),o.createElementBlock("li",KC,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.closeOffcanvasNavigation&&s.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.closeOffcanvas.iconClass,type:n.closeOffcanvas.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.closeOffcanvas.showText})},o.toDisplayString(n.closeOffcanvas.text),3)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.navigationEntries,(d,c)=>{var u,m,g;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(u=d==null?void 0:d.subentries)==null?void 0:u.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>s.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>s.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>s.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",XC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(m=d==null?void 0:d.subentries)!=null&&m.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,ZC)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",QC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),d.subentries&&d.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(g=d==null?void 0:d.subentries)!=null&&g.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.subentries,(f,h)=>{var y;return o.openBlock(),o.createElementBlock("li",{key:h,class:o.normalizeClass({open:i.openSubentry===h})},[f.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:p=>s.executeLink(p,f,h,1),onMouseover:t[3]||(t[3]=p=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=p=>s.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",vC,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,$C)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",ew,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(y=f.subentries)!=null&&y.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.subentries,(p,C)=>(o.openBlock(),o.createElementBlock("li",{key:C},[p.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:T=>s.executeLink(T,p)},[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",ow,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,nw)):o.createCommentVNode("",!0),p.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(p),target:p.target},{default:o.withCtx(()=>[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",rw,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","target"])):o.createCommentVNode("",!0)]))),128))],8,tw)):o.createCommentVNode("",!0)],2)}),128))],8,YC)):o.createCommentVNode("",!0)],2)}),128))],2)]),n.persistOnMobile===!1?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:t[5]||(t[5]=o.withModifiers((...d)=>s.toggleOffcanvasNavigation&&s.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(a,{iconClass:n.buttonOffcanvas.iconClass,type:n.buttonOffcanvas.iconType},null,8,["iconClass","type"]),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.buttonOffcanvas.showText})},o.toDisplayString(n.buttonOffcanvas.text),3)])):o.createCommentVNode("",!0)],2)}const ol=V(JC,[["render",iw]]),sw={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,t){this.activeLink=t,this.$emit("click",{event:e,index:t,stepPath:this.multisteps[t].path})},getRoute(e){return rt(e)}}},aw={key:0,class:"number"},lw={key:2};function cw(e,t,n,r,i,s){const a=z,l=ot;return o.openBlock(),o.createElementBlock("ol",{class:o.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":n.useGap}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.multisteps,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:i.activeLink===c})},[o.createVNode(l,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(u=>s.clickedStep(u,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",aw,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(a,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",lw,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(n.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const dw=V(sw,[["render",cw]]),uw={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}}},mw={class:"cmd-newsletter-subscription flex-container"},fw={class:"button-wrapper"};function hw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",mw,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(a,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:s.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>s.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(l,{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:s.email,"onUpdate:modelValue":t[1]||(t[1]=d=>s.email=d),onValidationStatusChange:s.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",fw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const pw=V(uw,[["render",hw]]);function rl(e,t,n,r=!0,i=!0){function s(a,l){return l&&a<10?"0"+a:a}return(a,l)=>{if(n){let d=a,c=t;return d>12&&(i||(d-=12),c=n),s(d,r)+e+s(l,!0)+c}return s(a,r)+e+s(l,!0)+t}}const gw={name:"CmdOpeningHoursItem",mixins:[Y],data(){return{editableDay:{}}},props:{use24HoursFormat:{type:Boolean,required:!1},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):rl(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return Q(this,{update(t){t.day=e.day,t.am||(t.am={}),t.am.fromTime=e.amFrom,t.am.tillTime=e.amTill,t.am.displayText=e.amClosed?e.amDisplayText:"",t.pm||(t.pm={}),t.pm.fromTime=e.pmFrom,t.pm.tillTime=e.pmTill,t.pm.displayText=e.pmClosed?e.pmDisplayText:""}})}},watch:{day:{handler(){const e=rl(":","","",!0,this.use24HoursFormat);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}}},yw={class:"cmd-opening-hours-item"},bw={key:0,class:"am"},kw={key:1,class:"pm"},Cw={class:"flex-container no-flex"},ww={class:"flex-container no-flex am-wrapper"},xw={key:1,class:"input-wrapper"},Bw=["title"],_w={class:"flex-container no-flex pm-wrapper"},Ew={key:1,class:"input-wrapper"},Sw=["title"];function Tw(e,t,n,r,i,s){const a=X;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.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":t[0]||(t[0]=l=>i.editableDay.day=l)},null,8,["modelValue"])]),o.createElementVNode("dd",Cw,[o.createElementVNode("div",ww,[i.editableDay.amClosed?(o.openBlock(),o.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":t[1]||(t[1]=l=>i.editableDay.amDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",xw,[o.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":t[2]||(t[2]=l=>i.editableDay.amFrom=l)},null,8,["modelValue"]),o.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":t[3]||(t[3]=l=>i.editableDay.amTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(l=>s.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Bw)]),o.createElementVNode("div",_w,[i.editableDay.pmClosed?(o.openBlock(),o.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":t[5]||(t[5]=l=>i.editableDay.pmDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Ew,[o.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":t[6]||(t[6]=l=>i.editableDay.pmFrom=l)},null,8,["modelValue"]),o.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":t[7]||(t[7]=l=>i.editableDay.pmTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(l=>s.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,Sw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",yw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",bw,[n.day.am.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.am.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",kw,[n.day.pm.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.pm.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Ow=V(gw,[["render",Tw]]);function Nw(e,t,n,r=!0){function i(s,a){return a&&s<10?"0"+s:s}return(s,a)=>i(s,r)+e+i(a,!0)+t}const Vw={name:"CmdOpeningHours",mixins:[Y],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},showOpenStatus:{type:Boolean,default:!0},use24HoursFormat:{type:Boolean,default:!0},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 t=0;t<this.openingHours.length;t++){const n={},r=this.openingHours[t].am.fromTime.split(/[:.]/),i=this.openingHours[t].am.tillTime.split(/[:.]/),s=this.openingHours[t].pm.fromTime.split(/[:.]/),a=this.openingHours[t].pm.tillTime.split(/[:.]/);n.day=this.openingHours[t].day,n.am={...this.openingHours[t].am},n.am.fromTime={hours:parseInt(r[0]),mins:parseInt(r[1])},n.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},n.pm={...this.openingHours[t].pm},n.pm.fromTime={hours:parseInt(s[0]),mins:parseInt(s[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 t=this.openingHoursFormatted[e];if(this.openingHoursFormatted[e]){const n=new Date;n.setHours(t.am.fromTime.hours,t.am.fromTime.mins);const r=new Date;r.setHours(t.am.tillTime.hours,t.am.tillTime.mins);const i=new Date;i.setHours(t.pm.fromTime.hours,t.pm.fromTime.mins);const s=new Date;if(s.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=s)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(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):Nw(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return Q(this,{update(s,a){s.openingHours=e,s.textOpen=t,s.textClosed=n,s.textHolidays=r,s.textMiscInfo=i;const l=a==null?void 0:a.find(d=>d.name==="CmdHeadline");l&&(s.cmdHeadline=s.cmdHeadline||{},l.update(s.cmdHeadline))}})}}},Fw={class:"cmd-opening-hours"},Aw={key:2,class:"flex-container"},Pw={key:3},Lw=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Iw={class:"edit-mode-opening-hours-item"},Mw={key:5},Rw={key:0},Dw={key:1},jw={key:6,class:"flex-container vertical"};function qw(e,t,n,r,i,s){var m,g;const a=U,l=ot,d=X,c=Ow,u=Ae;return o.openBlock(),o.createElementBlock("div",Fw,[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),!e.editing&&n.showOpenStatus?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(g=n.cmdLink)!=null&&g.path?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:s.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:s.isClosed})},o.toDisplayString(s.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Aw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:s.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>s.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:s.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>s.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[s.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>s.onAddItem&&s.onAddItem(...f))},Lw)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(u,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Iw,[o.createVNode(c,{day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",Pw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(c,{key:h,day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"]))),128))])),!e.editing&&(n.textHolidays||n.textMiscInfo)?(o.openBlock(),o.createElementBlock("div",Mw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Rw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Dw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",jw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:s.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>s.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:s.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>s.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const zw=V(Vw,[["render",qw]]),Hw={name:"CmdPagination",mixins:[oe,{data(){return{defaultMessageProperties:{"pagination.tooltip.go_to_page":"Go to page {0}","pagination.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)}}},Uw={class:"cmd-pagination"},Ww=["href","title"],Gw={key:0},Jw={class:"page-index"},Kw={class:"flex-container"},Zw=["href","title","onClick"],Xw=["href","title"],Qw={key:0};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Uw,[o.createElementVNode("a",{href:s.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.previousPage&&s.previousPage(...l),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(a,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",Gw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Ww),o.createElementVNode("div",Jw,[o.createElementVNode("div",Kw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(l,d)=>(o.openBlock(),o.createElementBlock("a",{href:s.getHref(l),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("pagination.tooltip.go_to_page",d+1):e.getMessage("pagination.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>s.showPage(l),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,Zw))),128))])]),o.createElementVNode("a",{href:s.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===s.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.nextPage&&s.nextPage(...l),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",Qw,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,Xw)])}const $w=V(Hw,[["render",Yw]]),vw={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Y],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 t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=tt(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return Q(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},ex={class:"cmd-social-networks-item"},tx=["id","href","title"],nx={key:1};function ox(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",ex,[(o.openBlock(),o.createElementBlock("a",{key:n.network.path,class:o.normalizeClass(["button",{disabled:n.userMustAcceptDataPrivacy&&!n.dataPrivacyAccepted},"text-align-"+n.buttonTextAlign]),id:n.network.id,href:s.getUrl(n.network),onClick:t[0]||(t[0]=(...l)=>s.preventOnDisabled&&s.preventOnDisabled(...l)),target:"_blank",title:s.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.network.iconClass,type:n.network.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),n.network.linkText?(o.openBlock(),o.createElementBlock("span",nx,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,tx))])}const rx=V(vw,[["render",ox]]),ix={name:"CmdSocialNetworks",mixins:[Y],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(Fe(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 t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},onPersist(e){return{editModeContextData:{...this.editModeContextData||{}},update(t){t.cmdHeadline={...t.cmdHeadline||{}},Array.isArray(e)&&e.length>0&&(t.cmdHeadline.headlineText=e[0].headlineText)}}}}},sx=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function ax(e,t,n,r,i,s){var u,m;const a=U,l=X,d=rx,c=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},s.alignment])},[(u=n.cmdHeadline)!=null&&u.headlineText||(m=e.editModeContext)!=null&&m.editing?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=g=>i.dataPrivacyAccepted=g)}),null,16,["modelValue"])):o.createCommentVNode("",!0),s.validNetworks.length>0?(o.openBlock(),o.createElementBlock("ul",{key:2,class:o.normalizeClass(["button-wrapper",{"no-gap":!n.useGap}])},[e.editModeContext?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:g,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:n.page,appendPage:n.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),o.renderSlot(e.$slots,"default")],64))],2)):(o.openBlock(),o.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:t[1]||(t[1]=(...g)=>s.onAddItem&&s.onAddItem(...g))},sx))],2)}const il=V(ix,[["render",ax]]),lx={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},containerToPrint:{type:String,default:"main"},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var t;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,...(t=this.buttonPrintView)==null?void 0:t.icon}}}},methods:{showFancyBox(){let e=[];typeof this.cmdFancyBox.elements=="function"?e=this.cmdFancyBox.elements():e=[document.querySelector(this.containerToPrint)],qe({elements:e,fancyBoxOptions:this.cmdFancyBox.fancyBoxOptions,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey,id:this.cmdFancyBox.id||"print-preview"})}}},cx={class:"button-wrapper"},dx=["title"],ux={key:1};function mx(e,t,n,r,i,s){var l,d,c,u;const a=il;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdSocialNetworks)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"cmd-social-networks")]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",cx,[o.renderSlot(e.$slots,"default"),(l=s.buttonPrintViewOptions)!=null&&l.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:s.buttonPrintViewOptions.primary}]),id:"print-view-button",title:s.buttonPrintViewOptions.text?(d=s.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...m)=>s.showFancyBox&&s.showFancyBox(...m))},[(c=s.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((u=s.buttonPrintViewOptions.icon)==null?void 0:u.iconClass)},null,2)):o.createCommentVNode("",!0),s.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",ux,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,dx)):o.createCommentVNode("",!0)])],2)}const fx=V(lx,[["render",mx]]),hx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},px={key:0,class:"cmd-page-header flex-container"},gx={key:0,class:"headline-wrapper flex-container vertical"};function yx(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",px,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",gx,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.$slots.default?o.renderSlot(e.$slots,"default",{key:1}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}const bx=V(hx,[["render",yx]]),kx={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}}},Cx=["for"],wx={class:"progressbar"},xx={key:0},Bx=["id","value"];function _x(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("label",{class:"cmd-progressbar",for:n.id},[o.createElementVNode("span",{class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},o.toDisplayString(n.labelText),3),o.createElementVNode("span",wx,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",xx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,Bx)])],8,Cx)}const Ex=V(kx,[["render",_x]]),Sx={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}}},Tx={class:"inner-sidebar-wrapper"},Ox={key:1,class:"open-slot-wrapper"},Nx={key:2,class:"closed-slot-wrapper"},Vx=["title"];function Fx(e,t,n,r,i,s){var l;const a=U;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",s.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",Tx,[(l=n.cmdHeadline)!=null&&l.headlineText&&i.open?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadline,{headlineLevel:n.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):o.createCommentVNode("",!0),i.open?(o.openBlock(),o.createElementBlock("div",Ox,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Nx,[o.renderSlot(e.$slots,"closed",{openBoxStatus:i.open})]))]),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleSidebar&&s.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(s.iconClassOpenCollapse)},null,2)],8,Vx)):o.createCommentVNode("",!0)],2)}const Ax=V(Sx,[["render",Fx]]),Px={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Lx={class:"cmd-site-footer site-footer"};function Ix(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Lx,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Mx=V(Px,[["render",Ix]]),Rx={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 t=document.querySelector(".cmd-site-header > header");e.scrollTop>0?t.classList.add("resize-on-scroll"):t.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}}},Dx={key:0,class:"top-header"};function jx(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p;const a=Za,l=ol;return o.openBlock(),o.createElementBlock("div",{ref:"site-header",class:o.normalizeClass(["cmd-site-header site-header",{sticky:n.sticky,"navigation-inline":n.navigationInline,"off-canvas-right":((d=n.cmdMainNavigation)==null?void 0:d.offcanvasPosition)==="right"}]),role:"banner"},[e.$slots.topheader?(o.openBlock(),o.createElementBlock("div",Dx,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:u.length)&&n.navigationInline||e.$slots.navigation}])},[e.$slots.logo||e.$slots.header||e.$slots.navigation?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"logo"),o.renderSlot(e.$slots,"header"),o.renderSlot(e.$slots,"navigation")],64)):o.createCommentVNode("",!0),n.cmdCompanyLogo||(g=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&g.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:s.onImageLoaded}),null,16,["onImageLoaded"])):o.createCommentVNode("",!0),(h=(f=n.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&h.length&&n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(p=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&p.length&&!n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const qx=V(Rx,[["render",jx]]),zx={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[oe,{data(){return{defaultMessageProperties:{"site_search.show_filter_options":"Show filter options","site_search.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(),t=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),n=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(e&&t&&n)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(e){for(let t=0;t<this.cmdFakeSelect.selectData.length;t++)if(e===this.cmdFakeSelect.selectData[t].value)return this.cmdFakeSelect.selectData[t].text;return null}},watch:{cmdFormElementRadius:{handler(){var e,t;(e=this.cmdFormElementRadiusOptions)!=null&&e.selectOptions&&((t=this.cmdFormElementRadiusOptions)!=null&&t.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},Hx={class:"cmd-box-site-search flex-container"},Ux={class:"flex-container align-bottom"},Wx={class:"input-wrapper align-bottom"},Gx={key:0},Jx={key:1},Kx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Zx(e,t,n,r,i,s){var m,g,f,h,y,p,C,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Hx,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Ux,[o.createVNode(l,{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:s.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=k=>s.searchValue1=k)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Wx,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(l,{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:s.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=k=>s.searchValue2=k)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),s.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:s.radius,"onUpdate:modelValue":t[2]||(t[2]=k=>s.radius=k)},s.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(l,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:s.onSearchButtonClick,disabled:s.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",{class:"filter-options",href:"#",onClick:t[3]||(t[3]=o.withModifiers(k=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(g=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:g.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(p=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:p.iconType:(T=(C=n.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",Gx,o.toDisplayString(e.getMessage("site_search.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",Jx,o.toDisplayString(e.getMessage("site_search.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var k,A,N,b,S;return[i.showFilters&&((k=n.cmdFakeSelect)!=null&&k.selectData.length)?(o.openBlock(),o.createElementBlock("div",Kx,[o.createVNode(c,{role:"option",selectData:(A=n.cmdFakeSelect)==null?void 0:A.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>s.searchFilters=F),defaultOptionName:(N=n.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(S=n.cmdFakeSelect)==null?void 0:S.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(u,{key:0,modelValue:s.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=k=>s.searchFilters=k),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Xx=V(zx,[["render",Zx]]),Qx={name:"CmdSlideshow",mixins:[Y],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(Fe(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(t=>this.slideshowItemEditing=t)})}}},Yx=["href","title"],$x=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],vx={key:2},e1=["onClick","aria-label","title"],t1={key:3,class:"item-counter"};function n1(e,t,n,r,i,s){const a=kt,l=Ne;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[o.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:t[1]||(t[1]=d=>i.pause=!0),onMouseleave:t[2]||(t[2]=d=>i.pause=!1)},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,u,m,g,f,h,y,p,C,T,k;return[s.currentItem?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.useSlot?(o.openBlock(),o.createElementBlock("div",{class:"slot-wrapper",key:i.index,style:o.normalizeStyle("background-image: url("+s.currentItem.image.srcLarge+")")},[o.renderSlot(e.$slots,"item"+i.currentSlotItem)],4)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?n.slideshowItems.length?(o.openBlock(),o.createBlock(l,{key:1,image:(T=s.currentItem)==null?void 0:T.image,figcaption:(k=s.currentItem)==null?void 0:k.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=s.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(m=(u=s.currentItem)==null?void 0:u.link)==null?void 0:m.href,title:(f=(g=s.currentItem)==null?void 0:g.link)==null?void 0:f.tooltip},[o.createVNode(l,{image:(h=s.currentItem)==null?void 0:h.image,figcaption:(y=s.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,Yx)):(o.openBlock(),o.createBlock(l,{key:1,image:(p=s.currentItem)==null?void 0:p.image,figcaption:(C=s.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...A)=>s.onAddItem&&s.onAddItem(...A))},$x)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",vx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.slideshowItems,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:c===i.index})},[o.createElementVNode("a",{href:"#",class:o.normalizeClass({disabled:i.slideshowItemEditing}),onClick:o.withModifiers(u=>s.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,e1)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",t1,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const o1=V(Qx,[["render",n1]]),r1=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"})),i1={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return rt(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(r1[t].default)})},immediate:!0,deep:!0}}},s1={class:"cmd-switch-language"},a1=["href","title","onClick"],l1=["src","alt"],c1=["src","alt"];function d1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",s1,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[l.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.link.path,class:o.normalizeClass(["flag",l.iso2,{active:s.activeLanguage(l)}]),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,l1)],10,a1)):(o.openBlock(),o.createBlock(a,{key:1,class:o.normalizeClass(["flag",l.iso2]),to:s.getRoute(l),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,c1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const u1=V(i1,[["render",d1]]),m1={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,t;return this.hideCaption?!1:((e=this.tableData.caption)==null?void 0:e.text)||((t=this.caption)==null?void 0:t.text)},hideCaption(){var e,t,n;return((e=this.caption)==null?void 0:e.show)===!1||((t=this.caption)==null?void 0:t.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,t=this.$refs.table.nextElementSibling,n=this.$refs.innerWrapper,r=n.getBoundingClientRect(),i=r.width+n.scrollLeft-t.getBoundingClientRect().width,s=n.scrollLeft;console.log("parentRect",r),e.style.left=`${s}px`,t.style.left=`${i}px`,s===0?e.style.display="none":e.style.display="flex",s===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},f1={key:0,class:"button-wrapper"},h1=["title"],p1=["title"],g1={"aria-expanded":"true"},y1={key:0,"aria-expanded":"true"};function b1(e,t,n,r,i,s){var d,c,u,m;const a=z,l=kt;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":s.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",f1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(g=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(a,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,h1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(g=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(a,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,p1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...g)=>s.updatePosition&&s.updatePosition(...g))},[n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createElementVNode("table",{ref:"table",class:o.normalizeClass({"full-width":i.fullWidth})},[(d=n.tableData.caption)!=null&&d.text||(c=n.caption)!=null&&c.text?(o.openBlock(),o.createElementBlock("caption",{key:0,class:o.normalizeClass({hidden:s.hideCaption})},o.toDisplayString(((u=n.caption)==null?void 0:u.text)||((m=n.tableData.caption)==null?void 0:m.text)),3)):o.createCommentVNode("",!0),o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.thead,(g,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(g),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",g1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(g,f)=>(o.openBlock(),o.createElementBlock("tr",{class:o.normalizeClass({active:n.tableData.rowIndexHighlighted===f}),key:f},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,(h,y)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===y}),key:y},o.toDisplayString(h),3))),128))],2))),128))],512),[[o.vShow,i.showTableData]])]),_:1},8,["name"]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[n.tableData.tfoot&&n.tableData.tfoot.length&&i.showTableData?(o.openBlock(),o.createElementBlock("tfoot",y1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(g,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(g),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const k1=V(m1,[["render",b1]]);da({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
|
11
|
+
`),e.document.close(),e.print(),e.close()},printPage(e){this.printInGrayscale=e==="grayscale",this.printDialogContent()},onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.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 ob(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 t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 ob(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const rb=ja,ib=["aria-label"],sb={class:"flex-container"},ab={key:1,class:"button-wrapper no-flex"},lb=["title"],cb=["title"],db=["title"],ub={key:0,class:"content"},mb=["innerHTML"],fb={key:2,class:"content",ref:"elements"},hb={key:3,class:"content"},pb={key:4,class:"content"},gb={key:0,class:"flex-container no-flex"},yb=["title"],bb={key:1},kb=["title"],Cb={key:1};function wb(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,F,N,b,S,A,q,L,Be,_e,Ee,Se,Te,P,de,re,$t,vt,en;const a=U,l=z,d=Ne,c=kt,u=Da;return o.openBlock(),o.createElementBlock("dialog",{ref:"dialog",class:o.normalizeClass(["cmd-fancybox",{"show-overlay":e.showOverlay,image:e.fancyBoxImageUrl||e.fancyBoxGallery,"image-gallery":e.fancyBoxGallery}]),"aria-label":e.ariaLabelText,onCancel:t[5]||(t[5]=(...ue)=>e.onDialogCancel&&e.onDialogCancel(...ue))},[o.createElementVNode("header",sb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.cmdHeadline)),null,16)):o.createCommentVNode("",!0),(g=e.fancyBoxOptionsProperties.printButtons)!=null&&g.color||(f=e.fancyBoxOptionsProperties.printButtons)!=null&&f.grayscale||e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("div",ab,[e.showPrintButtons&&((h=e.fancyBoxOptionsProperties.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(ue=>e.printPage("color"),["prevent"]))},[o.createVNode(l,{iconClass:(p=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:p.iconClass,type:(C=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:C.iconType},null,8,["iconClass","type"])],8,lb)):o.createCommentVNode("",!0),e.showPrintButtons&&((T=e.fancyBoxOptionsProperties.printButtons)!=null&&T.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(k=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:k.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printPage("grayscale"),["prevent"]))},[o.createVNode(l,{iconClass:(F=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:F.iconClass,type:(N=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,cb)):o.createCommentVNode("",!0),e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyBoxOptionsProperties.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...ue)=>e.close&&e.close(...ue),["prevent"]))},[o.createVNode(l,{iconClass:e.fancyBoxOptionsProperties.closeIcon.iconClass,type:e.fancyBoxOptionsProperties.closeIcon.iconType},null,8,["iconClass","type"])],8,db)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",{class:o.normalizeClass(["outer-content-wrapper",{grayscale:e.printInGrayscale}])},[e.fancyBoxImageUrl||(b=e.cmdImage)!=null&&b.image?(o.openBlock(),o.createElementBlock("div",ub,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(S=e.cmdImage)==null?void 0:S.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,mb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",fb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",hb,[o.createVNode(c,{onClick:o.withModifiers(e.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),o.createVNode(d,{image:e.largeGalleryImage,figcaption:e.fancyBoxGallery[e.index].figcaption},null,8,["image","figcaption"]),o.createVNode(c,{onClick:o.withModifiers(e.showNextItem,["prevent"])},null,8,["onClick"])])):(o.openBlock(),o.createElementBlock("div",pb,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyBoxOptionsProperties.submitButtons?(o.openBlock(),o.createElementBlock("footer",gb,[(A=e.fancyBoxOptionsProperties.submitButtons)!=null&&A.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...ue)=>e.cancel&&e.cancel(...ue)),title:(q=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:q.tooltip},[(L=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(Be=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Be.iconClass,type:(_e=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:_e.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Ee=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&Ee.buttonText?(o.openBlock(),o.createElementBlock("span",bb,o.toDisplayString((Se=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Se.buttonText),1)):o.createCommentVNode("",!0)],8,yb)):o.createCommentVNode("",!0),(Te=e.fancyBoxOptionsProperties.submitButtons)!=null&&Te.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...ue)=>e.confirm&&e.confirm(...ue)),title:(P=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:P.tooltip},[(de=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&de.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(re=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:re.iconClass,type:($t=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:$t.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(vt=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&vt.buttonText?(o.openBlock(),o.createElementBlock("span",Cb,o.toDisplayString((en=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:en.buttonText),1)):o.createCommentVNode("",!0)],8,kb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(u,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,ib)}const xb=V(rb,[["render",wb]]),Bb={emits:["submit"],mixins:[oe,Py],inject:{editModeContext:{default:null}},data(){return{validator:new fr(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:{default:"m",replaceInputType:!0,name:"salutation"},lastName:{required:!0,type:"text",name:"last-name"},firstName:{required:!1,type:"text",name:"first-name"},email:{required:!0,type:"email",name:"email"},phone:{required:!1,type:"phone",name:"phone"},country:{required:!1,element:"select",name:"country",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text",name:"street-no"},zip:{required:!1,type:"number",name:"zip"},city:{required:!1,type:"text",name:"city"},additionalAddressInfo:{required:!1,type:"text",name:"additional-address-info"},userMessage:{required:!0,element:"textarea",name:"user-message"},acceptPrivacy:{required:!0,replaceInputType:!0,name:"accept-privacy"}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1},cmdForm:{type:Object,required:!1}},mounted(){var e,t;(t=(e=this.$refs.dataPrivacy)==null?void 0:e.querySelector(".component-fancybox"))==null||t.addEventListener("click",n=>{n.preventDefault(),qe({url:n.target.getAttribute("href")})})},computed:{submitButtonProperties(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0,...this.submitButton}}},methods:{onSubmit(e){var r;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 t=new FormData,n=Object.keys(this.configuration);for(let i=0;i<n.length;i++)t.set(this.configuration[n[i]].name,this.formData[n[i]].value);fetch(this.formAction,{method:((r=this.cmdForm)==null?void 0:r.formMethod)||"POST",body:t}).then(i=>{i.ok?this.$refs.form.showMessage("success","Message sent successfully!"):this.$refs.form.showMessage("error","Message could not be sent!")}).catch(i=>{this.$refs.form.showMessage("error","Message could not be sent!"),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,t){e.fancybox&&(t.preventDefault(),qe({url:e}))},openDataPrivacy(e){qe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},_b={class:"cmd-pages-basic-form"},Eb={key:0,class:"flex-container no-flex order-male-female"},Sb={key:1,class:"flex-container order-lastname-firstname"},Tb={key:2,class:"flex-container order-phone-email"},Ob={key:3,class:"flex-container"},Nb=["innerHTML"];function Vb(e,t,n,r,i,s){const a=U,l=X,d=Ma;return o.openBlock(),o.createElementBlock("div",_b,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:s.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:s.submitButtonProperties,formAction:n.formAction,ref:"form"}),{default:o.withCtx(()=>{var c,u,m,g,f,h,y,p,C,T,k,F,N,b,S,A,q,L,Be,_e,Ee,Se,Te,P,de,re,$t,vt,en,ue,Df,jf,qf,zf,Hf,Uf,Wf,Gf,Jf,Kf,Zf;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",Eb,[o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_male"),name:(c=n.configuration.salutation)==null?void 0:c.name,inputValue:"m",replaceInputType:(u=n.configuration.salutation)==null?void 0:u.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"]),o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:(m=n.configuration.salutation)==null?void 0:m.name,inputValue:"f",replaceInputType:(g=n.configuration.salutation)==null?void 0:g.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",Sb,[n.configuration.lastName?(o.openBlock(),o.createBlock(l,{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,placeholder:e.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":t[2]||(t[2]=H=>i.formData.lastName.value=H),status:i.formData.lastName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((p=n.configuration.firstName)==null?void 0:p.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(C=n.configuration.firstName)==null?void 0:C.required,name:(T=n.configuration.firstName)==null?void 0:T.name,modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=H=>i.formData.firstName.value=H),status:i.formData.firstName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Tb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((k=n.configuration.email)==null?void 0:k.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(F=n.configuration.email)==null?void 0:F.required,name:(N=n.configuration.email)==null?void 0:N.name,modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=H=>i.formData.email.value=H),status:i.formData.email.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((b=n.configuration.phone)==null?void 0:b.type)||"tel",iconClass:"icon-phone",labelText:e.getMessage("basic_form.labeltext.phone"),placeholder:e.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":t[5]||(t[5]=H=>i.formData.phone.value=H),required:(S=n.configuration.phone)==null?void 0:S.required,name:(A=n.configuration.phone)==null?void 0:A.name,status:i.formData.phone.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",Ob,[n.configuration.country?(o.openBlock(),o.createBlock(l,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(q=n.configuration.country)==null?void 0:q.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:(Be=n.configuration.country)==null?void 0:Be.name,modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=H=>i.formData.country.value=H),s.onCountrySelect],status:i.formData.country.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","i18n","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((_e=n.configuration.streetNo)==null?void 0:_e.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Ee=n.configuration.streetNo)==null?void 0:Ee.required,name:(Se=n.configuration.streetNo)==null?void 0:Se.name,modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=H=>i.formData.streetNo.value=H),status:i.formData.streetNo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(l,{key:2,element:"input",type:((Te=n.configuration.pobox)==null?void 0:Te.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(P=n.configuration.pobox)==null?void 0:P.required,name:(de=n.configuration.pobox)==null?void 0:de.name,modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=H=>i.formData.pobox.value=H),status:i.formData.pobox.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["input-wrapper",i.cityBeforeZip?"order-city-zip":"order-zip-city"])},[n.configuration.zip?(o.openBlock(),o.createBlock(l,{key:0,element:"input",class:"input-zip",type:((re=n.configuration.zip)==null?void 0:re.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:($t=n.configuration.zip)==null?void 0:$t.required,name:(vt=n.configuration.zip)==null?void 0:vt.name,modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=H=>i.formData.zip.value=H),status:i.formData.zip.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((en=n.configuration.city)==null?void 0:en.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ue=n.configuration.city)==null?void 0:ue.required,name:(Df=n.configuration.city)==null?void 0:Df.name,modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=H=>i.formData.city.value=H),status:i.formData.city.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(l,{key:3,element:"input",type:((jf=n.configuration.additionalAddressInfo)==null?void 0:jf.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(qf=n.configuration.additionalAddressInfo)==null?void 0:qf.required,name:(zf=n.configuration.additionalAddressInfo)==null?void 0:zf.name,modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=H=>i.formData.additionalAddressInfo.value=H),status:i.formData.additionalAddressInfo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(l,{key:4,element:((Hf=n.configuration.userMessage)==null?void 0:Hf.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(Uf=n.configuration.userMessage)==null?void 0:Uf.required,name:(Wf=n.configuration.userMessage)==null?void 0:Wf.name,textCharactersLeft:e.getMessage("basic_form.text.characters_left"),maxlength:(Gf=n.configuration.userMessage)==null?void 0:Gf.maxLength,modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=H=>i.formData.userMessage.value=H),status:i.formData.userMessage.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["element","labelText","placeholder","required","name","textCharactersLeft","maxlength","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(l,{key:5,element:"input",type:"checkbox",required:(Jf=n.configuration.acceptPrivacy)==null?void 0:Jf.required,name:(Kf=n.configuration.acceptPrivacy)==null?void 0:Kf.name,replaceInputType:(Zf=n.configuration.acceptPrivacy)==null?void 0:Zf.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=H=>i.formData.acceptPrivacy.value=H),status:i.formData.acceptPrivacy.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Nb)]),_:1},8,["required","name","replaceInputType","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const qa=V(Bb,[["render",Vb]]),Fb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ab=["title"],Pb={key:1},Lb=["title"];function Ib(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.icon.iconClass&&n.icon.position==="left"||n.icon.position==="top"||!n.icon.position?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ab)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Pb,o.toDisplayString(n.text),1)):o.createCommentVNode("",!0),n.icon.iconClass&&n.icon.position==="right"||n.icon.position==="bottom"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Lb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Mb=V(Fb,[["render",Ib]]),Rb={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},styleAsBox:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(e,t){this.$emit("click",{originalEvent:e,linkType:t})}}},Db=["href","target","title"],jb=["title"];function qb(e,t,n,r,i,s){var d,c,u;const a=Mb,l=o.resolveComponent("router-link");return n.linkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.path,target:n.target,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[0]||(t[0]=m=>s.emitClick(m,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Db)):n.linkType==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:n.path,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[1]||(t[1]=m=>s.emitClick(m,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class","title"])):n.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["cmd-link button",{primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),type:"submit",onClick:t[2]||(t[2]=m=>s.emitClick(m,"button")),title:(u=n.icon)==null?void 0:u.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,jb)):o.createCommentVNode("",!0)}const ot=V(Rb,[["render",qb]]),zb={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Y],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 Q(this,{update(t){t.text=e}})}}},Hb={key:0,class:"cmd-list-of-links-item"},Ub={key:0},Wb={key:1,class:"input-wrapper"};function Gb(e,t,n,r,i,s){var c,u,m,g,f,h,y,p,C,T,k,F,N;const a=ot,l=o.resolveComponent("CmdListOfLinksItem",!0),d=X;return e.editing?(o.openBlock(),o.createElementBlock("div",Wb,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=b=>i.editableText=b)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",Hb,[o.createVNode(a,{linkType:(c=n.link)==null?void 0:c.linkType,text:(u=n.link)==null?void 0:u.text,path:(m=n.link)==null?void 0:m.path,target:(g=n.link)==null?void 0:g.target,icon:(f=n.link)==null?void 0:f.icon,fancybox:(h=n.link)==null?void 0:h.fancybox,tooltip:(y=n.link)==null?void 0:y.tooltip,styleAsButton:(p=n.link)==null?void 0:p.styleAsButton,primaryButton:(C=n.link)==null?void 0:C.primaryButton,styleAsBox:(T=n.link)==null?void 0:T.styleAsBox},null,8,["linkType","text","path","target","icon","fancybox","tooltip","styleAsButton","primaryButton","styleAsBox"]),(F=(k=n.link)==null?void 0:k.children)!=null&&F.length?(o.openBlock(),o.createElementBlock("ul",Ub,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((N=n.link)==null?void 0:N.children,(b,S)=>(o.openBlock(),o.createBlock(l,{key:S,link:b},null,8,["link"]))),128))])):o.createCommentVNode("",!0)]))}const Jb=V(zb,[["render",Gb]]),Kb={name:"CmdListOfLinks",emits:["click"],mixins:[Y],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(Fe(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}}},Zb={key:1},Xb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Qb(e,t,n,r,i,s){var c;const a=U,l=Jb,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.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}])},[(c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass(["flex-container",{"no-gap":!n.useGap},"align-"+n.align,s.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",Zb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(d,{key:"x"+m,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",m],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createVNode(l,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),n.links.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...u)=>s.onAddItem&&s.onAddItem(...u))},Xb)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"]))),128))],2)],2)}const hr=V(Kb,[["render",Qb]]),pr={name:"CmdBox",mixins:[oe,{data(){return{defaultMessageProperties:{"box.productbox.new":"New","box.productbox.article_no":"Article No:","box.contentbox.collapse_text":"Collapse text","box.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()}}},za=()=>{o.useCssVars(e=>({"83433e5e":e.cutoffTextLines}))},Ha=pr.setup;pr.setup=Ha?(e,t)=>(za(),Ha(e,t)):za;const Yb=["title"],$b={key:0,class:"box-header"},vb={key:1,class:"body-icon-wrapper"},e0=["innerHTML"],t0={key:0,class:"body-icon-wrapper"},n0=["innerHTML"],o0={key:2,class:"box-footer"},r0={key:3,class:"box-footer"},i0={class:"box-header flex-container vertical"},s0={key:0},a0=["src","alt"],l0={key:1},c0={key:2,class:"ribbon-new"},d0={key:3,class:"ribbon-discount"},u0={class:"box-body"},m0={key:0},f0={key:1,class:"price"},h0=["title"],p0={key:2},g0={class:"box-header flex-container vertical"},y0={key:0},b0=["src","alt"],k0={key:0,class:"user-name"},C0={key:0,class:"user-age"},w0={key:1},x0=["title"],B0={key:0,class:"user-name"},_0={class:"box-body"},E0={key:0,class:"user-name"},S0={key:1},T0={key:2},O0={key:3,class:"description"},N0={key:0,class:"tags"},V0={key:1,class:"box-footer"};function F0(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,F,N;const a=U,l=z,d=Ne,c=ot,u=hr;return n.boxType==="content"?(o.openBlock(),o.createElementBlock("div",{key:0,ref:"cmdBox",class:o.normalizeClass(["cmd-box box content",{open:i.open,collapsible:n.collapsible,"stretch-vertically":n.stretchVertically&&!n.collapsible,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?n.iconOpen.tooltip:n.iconClosed.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...b)=>s.toggleContentVisibility&&s.toggleContentVisibility(...b),["prevent"]))},[(m=n.useSlots)!=null&&m.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,Yb)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(f=n.useSlots)!=null&&f.includes("header")||(h=n.cmdHeadline)!=null&&h.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createElementBlock("div",$b,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(C=n.useSlots)!=null&&C.includes("body")?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll}]),ref:"boxBody",style:o.normalizeStyle(n.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[o.renderSlot(e.$slots,"body",{},()=>{var b;return[(b=n.cmdHeadline)!=null&&b.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:s.toggleTransition},{default:o.withCtx(()=>[n.textBody?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass({"cutoff-text":n.cutoffTextLines>0,"fade-last-line":n.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText}),innerHTML:n.textBody},null,10,e0)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...S)=>s.toggleCutOffText&&s.toggleCutOffText(...S),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("box.contentbox.collapse_text"):e.getMessage("box.contentbox.expand_text")),1)):o.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":n.allowContentToScroll}])},[n.cmdImage?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:0},n.cmdImage)),null,16)):o.createCommentVNode("",!0),(T=n.cmdHeadline)!=null&&T.headlineText&&n.headlinePosition==="body"||n.textBody?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll})},[n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",t0,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(k=n.cmdHeadline)!=null&&k.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.textBody?(o.openBlock(),o.createElementBlock("p",{key:2,innerHTML:n.textBody},null,8,n0)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(F=n.cmdLink)!=null&&F.linkType?(o.openBlock(),o.createElementBlock("div",o0,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(N=n.useSlots)!=null&&N.includes("footer")?(o.openBlock(),o.createElementBlock("div",r0,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)],2)):n.boxType==="product"&&n.product?(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["cmd-box box product",{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}]),href:"#",onClick:t[2]||(t[2]=o.withModifiers(b=>s.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",i0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",s0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,a0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",c0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("box.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",d0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",u0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",m0,o.toDisplayString(e.getMessage("box.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",f0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,h0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",p0,o.toDisplayString(n.product.description),1)):o.createCommentVNode("",!0)])],2)):n.boxType==="user"&&n.user?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["cmd-box box user",n.profileType,{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[o.createElementVNode("div",g0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",y0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",k0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",C0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",w0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,x0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",_0,[n.rowView?(o.openBlock(),o.createElementBlock("p",E0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",S0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",T0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",O0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",N0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,S)=>(o.openBlock(),o.createElementBlock("li",{key:S},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",V0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Ua=V(pr,[["render",F0]]),gr={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,t){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?e===0?this.boxesPerRow:Math.min(this.boxesPerRow,t):this.boxesPerRow.length>e?this.boxesPerRow[e]:t},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(e,t){if(this.allowMultipleExpandedBoxes)if(t)this.currentOpenBox.push(e);else{let n=this.currentOpenBox.indexOf(e);this.currentOpenBox.splice(n,1)}else this.currentOpenBox=[],t&&this.currentOpenBox.push(e)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Wa=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Ga=gr.setup;gr.setup=Ga?(e,t)=>(Wa(),Ga(e,t)):Wa;const A0={class:"cmd-box-wrapper"},P0={key:0,class:"flex-container headline-wrapper"},L0={key:1,class:"options-wrapper"},I0=["title"];function M0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",A0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",P0,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",L0,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleOrientation&&s.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(l,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,I0)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["inner-box-wrapper",n.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!n.useGap,"row-view":i.rowView,"stretch-boxes-vertically":n.stretchBoxesVertically}])},[o.renderSlot(e.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:s.boxToggled,boxIsOpen:s.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>s.boxIsToggled&&s.boxIsToggled(...d))})],2)])}const Ja=V(gr,[["render",M0]]);function rt(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 R0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},D0={class:"cmd-breadcrumbs"},j0={key:0,class:"breadcrumb-label"},q0=["href"],z0={key:1},H0={key:1},U0={key:2},W0={key:1},G0={key:3,class:"separator"};function J0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",D0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",j0,o.toDisplayString(n.breadcrumbLabel),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.breadcrumbLinks||[],(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,q0)):d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",H0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",U0,[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",W0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",G0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(R0,[["render",J0]]),K0={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 t=0;t<e.length;t++)if(e[t].type==="attributes"){this.toggleColorScheme();break}},getRoute(e){return rt(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"}}},Z0={class:"cmd-company-logo company-logo"},X0=["href","title"];function Q0(e,t,n,r,i,s){var d,c,u,m,g,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",Z0,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(l,{key:0,to:(c=n.link)==null?void 0:c.path,title:(u=n.link)==null?void 0:u.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((m=n.link)==null?void 0:m.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(g=n.link)==null?void 0:g.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,X0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(K0,[["render",Q0]]),Y0={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},innerText:{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}}},$0={class:"cmd-container"},v0=["innerHTML"],ek=["innerHTML"];function tk(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",$0,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.contentAboveSlot?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.contentAboveSlot},null,8,v0)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([s.setInnerClass,"inner-slot-wrapper"])},[o.renderSlot(e.$slots,"default",{},()=>[o.createElementVNode("p",null,o.toDisplayString(n.innerText),1)])],2)),n.contentBelowSlot?(o.openBlock(),o.createElementBlock("div",{key:4,innerHTML:n.contentBelowSlot},null,8,ek)):o.createCommentVNode("",!0)])}const nk=V(Y0,[["render",tk]]),ok={name:"CmdCookieDisclaimer",mixins:[oe,{data(){return{defaultMessageProperties:{"cookie_disclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cookie_disclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!","cookie_disclaimer.title.toggle_box_content":"Toggle description visibility"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:"",openBoxes:[]}},props:{iconClassBoxCollapsed:{type:String,default:"icon-chevron-one-stripe-down"},iconClassBoxExpanded:{type:String,default:"icon-chevron-one-stripe-up"},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},privacyText:{type:String,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,r;const e=this.modelValue?[...this.modelValue]:[],t=((r=(n=this.cookieOptions)==null?void 0:n.required)==null?void 0:r.cookies)||[];for(let i=0;i<t.length;i++)e.includes(t[i].value)||e.push(t[i].value);return e},set(e){this.$emit("update:modelValue",e)}}},methods:{boxIsOpen(e){return this.openBoxes.includes(e)},toggleBoxBody(e){const t=this.openBoxes.indexOf(e);t===-1?this.openBoxes.push(e):this.openBoxes.splice(t,1)},acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,s,a;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let l=0;l<t.length;l++)e.push(t[l].value);const n=(a=(s=this.cookieOptions)==null?void 0:s.optional)==null?void 0:a.cookies;if(n)for(let l=0;l<n.length;l++)e.push(n[l].value);this.$emit("close-cookie-disclaimer",e)},openDataPrivacy(e){e.target.target||(e.preventDefault(),fetch(e.target.href).then(t=>t.text()).then(t=>{this.dataPrivacyContent=t}))}}},rk={class:"cmd-cookie-disclaimer flex-container vertical"},ik={key:1},sk={key:0,class:"flex-container vertical"},ak=["onClick","title"],lk={class:"collapsible-box-body"},ck={key:0},dk={key:1},uk=["href","target"],mk=["innerHTML"],fk=o.createElementVNode("hr",null,null,-1),hk={key:1,class:"flex-container vertical"},pk=["onClick","title"],gk={class:"collapsible-box-body"},yk={key:0},bk={key:1},kk=["href","target"],Ck=["innerHTML"],wk=["innerHTML"],xk={class:"button-wrapper align-center"};function Bk(e,t,n,r,i,s){const a=U,l=X;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var d,c,u;return[o.createElementVNode("div",rk,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock("div",ik,[(d=n.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((c=n.cmdHeadlineCookieDisclaimer)!=null&&c.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(a,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var m,g,f,h,y,p,C,T;return[(m=n.cookieOptions)!=null&&m.required?(o.openBlock(),o.createElementBlock("div",sk,[(g=n.cmdBoxRequiredCookies)!=null&&g.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(f=n.cmdBoxRequiredCookies)==null?void 0:f.headlineText,"headline-level":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(k,F)=>(o.openBlock(),o.createElementBlock("div",{key:F,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,ak)]),o.withDirectives(o.createElementVNode("div",lk,[k.description?(o.openBlock(),o.createElementBlock("p",ck,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",dk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,uk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,mk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0),fk,(y=n.cookieOptions)!=null&&y.optional?(o.openBlock(),o.createElementBlock("div",hk,[(p=n.cmdBoxOptionalCookies)!=null&&p.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineText,"headline-level":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(k,F)=>(o.openBlock(),o.createElementBlock("div",{key:F,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,pk)]),o.withDirectives(o.createElementVNode("div",gk,[k.description?(o.openBlock(),o.createElementBlock("p",yk,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",bk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,kk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ck)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0)]}),n.privacyText?(o.openBlock(),o.createElementBlock("div",{key:1,class:"privacy-text",innerHTML:n.privacyText},null,8,wk)):o.createCommentVNode("",!0),o.createElementVNode("div",xk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...m)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptCurrentSettings),1)])):o.createCommentVNode("",!0),n.buttonLabelAcceptAllCookies?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:t[5]||(t[5]=(...m)=>s.acceptAllCookies&&s.acceptAllCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])]))])]}),_:3})}const _k=V(ok,[["render",Bk]]),Ek={name:"CmdCopyrightWrapper"},Sk={class:"cmd-copyright-information",role:"contentinfo"},Tk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function Ok(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Sk,Tk)}const Nk=V(Ek,[["render",Ok]]),Vk={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[oe,{data(){return{defaultMessageProperties:{"fake_select.headline.requirements_for_input":"Requirements for input","fake_select.linktext.deselect_all_options":"Deselect all options","fake_select.linktext.select_all_options":"Select all options","fake_select.headline.an_option_is_selected":"An option is selected","fake_select.option.options_selected":"{0} options selected",...lr.data().defaultMessageProperties}}}},cr,mn,mr],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.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,t;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const n=this.selectData.find(r=>r.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("fake_select.option.options_selected",this.modelValue.length)}else if((t=this.selectData)!=null&&t.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const e=this.selectData.find(t=>t.value===this.modelValue);return{iconClass:e==null?void 0:e.iconClass,tooltip:e==null?void 0:e.tooltip}}return null},optionCountry(){var e,t;return this.type==="country"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},optionColor(){var e,t;return this.type==="color"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("fake_select.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("fake_select.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 t=0;t<this.selectData.length;t++)e.push(String(this.selectData[t].value));this.$emit("update:modelValue",e)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(e){return this.modelValue.some(t=>t===e||t===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 t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value&&String(n)!==e.target.value),this.$attrs.required!==void 0&&!t.length&&(this.validationStatus="error"),this.$emit("update:modelValue",t)},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("fake_select.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(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Fk=["title","aria-labelledby","aria-required"],Ak={key:0,class:"label-text"},Pk=["id"],Lk={key:0,"aria-hidden":"true"},Ik=["title","aria-errormessage","id"],Mk=["aria-expanded"],Rk=["title"],Dk=["src","alt"],jk={key:3,class:"option-name"},qk={key:0,role:"listbox"},zk=["aria-selected"],Hk=["onClick","title"],Uk={key:1},Wk=["aria-expanded"],Gk=["for"],Jk=["value","checked","id"],Kk=["onClick"],Zk=["src","alt"],Xk=["onClick"],Qk={key:0,class:"select-all-options"};function Yk(e,t,n,r,i,s){var c,u,m,g;const a=z,l=ar,d=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:n.type==="color","has-state":i.validationStatus&&i.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?(o.openBlock(),o.createElementBlock("span",Ak,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Lk,"*")):o.createCommentVNode("",!0)],8,Pk),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Ik)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:e.getValidationMessage,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass({open:i.showOptions}),onClickout:t[5]||(t[5]=(...f)=>s.closeOptions&&s.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>s.toggleOptions&&s.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>s.onBlur&&s.onBlur(...f)),title:(c=s.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&s.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:s.pathFlag(s.optionCountry),alt:s.optionCountry,class:o.normalizeClass(["flag",s.optionCountry])},null,10,Dk)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+s.optionColor)},null,4)):o.createCommentVNode("",!0),(u=s.optionIcon)!=null&&u.iconClass?(o.openBlock(),o.createBlock(a,{key:2,type:(m=s.optionIcon)==null?void 0:m.iconType,iconClass:(g=s.optionIcon)==null?void 0:g.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",jk,o.toDisplayString(s.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(a,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Rk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",qk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h,role:"option","aria-selected":f.value===n.modelValue},[n.optionLinkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",Uk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Hk)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",null,o.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):o.createCommentVNode("",!0)],8,zk))),128))])):n.type!=="default"&&n.type!=="content"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass({"checkbox-options":n.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h},[n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("label",{key:0,for:"option-"+(h+1),class:o.normalizeClass({active:n.modelValue.includes(`${f.value}`)})},[o.createElementVNode("input",{type:"checkbox",value:f.value,onChange:t[3]||(t[3]=(...y)=>s.optionSelect&&s.optionSelect(...y)),checked:s.compareValues(f.value),id:"option-"+(h+1)},null,40,Jk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Gk)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:s.pathFlag(f.value),alt:f.text},null,8,Zk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Kk)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("span",{class:"color",style:o.normalizeStyle("background: "+f.value)},null,4),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Xk)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",Qk,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>s.toggleAllOptions&&s.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(a,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(s.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,Wk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Mk)],10,Fk)}const Xa=V(Vk,[["render",Yk]]),$k={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}}},vk={key:0,class:"cmd-form-filters"},eC={key:0},tC={key:1},nC=["onClick","title"];function oC(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",vk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",eC,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.deleteAllFilters&&s.deleteAllFilters(...l),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.linkDeleteAllFilters.icon.iconClass,title:n.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),n.linkDeleteAllFilters.text?(o.openBlock(),o.createElementBlock("span",tC,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>s.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(l)),1),o.createVNode(a,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,nC)]))),128))])):o.createCommentVNode("",!0)}const Qa=V($k,[["render",oC]]),rC={data(){return{defaultMessageProperties:{"google_maps.system_message.accept_terms":"You must accept cookies to view the map.","google_maps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...yr(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Ya+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function yr(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Ya+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const iC={name:"CmdGoogleMaps",mixins:[oe,rC],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){yr().includes("google-maps")&&(this.cookiesAccepted=!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"}},methods:{acceptCookies(){$a(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},sC={class:"cmd-google-maps responsive-wrapper"},aC=["src"];function lC(e,t,n,r,i,s){const a=bt;return o.openBlock(),o.createElementBlock("div",sC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,aC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("google_maps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.acceptCookies&&s.acceptCookies(...l),["prevent"]))},o.toDisplayString(e.getMessage("google_maps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(iC,[["render",lC]]),cC={name:"CmdImageGallery",mixins:[Y],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 t={...e.figcaption};return this.figcaptionPosition&&(t.position=this.figcaptionPosition),t},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","images",-1),this.itemProvider)},showFancyBox(e){qe({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 Q(this,{update(t,n){t.htmlContent=e;const r=n==null?void 0:n.find(i=>i.name==="CmdHeadline");r&&(t.cmdHeadline=t.cmdHeadline||{},r.update(t.cmdHeadline))}})}}},dC={class:"grid-container-create-columns cmd-image-gallery"},uC=["onClick","title"],mC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function fC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",dC,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),e.editModeContext?n.images.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createBlock(l,{key:u,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",u],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...c)=>s.onAddItem&&s.onAddItem(...c))},mC)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:o.withModifiers(m=>s.showFancyBox(u),["prevent"]),title:s.getMessage("image_gallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,uC))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const hC=V(cC,[["render",fC]]),pC={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 t=window.innerHeight-this.$el.getBoundingClientRect().y-10,n=this.$el.querySelector(".zoom-container");n.style.height=`${t}px`,el(this,e)})},onMouseMove(e){el(this,e)},onMouseOut(){this.showLargeImage=!1}}};function el(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),s=t.target.getBoundingClientRect().width,a=t.target.getBoundingClientRect().height,l=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,u=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,m=Math.min(s,n.getBoundingClientRect().width/l*s),g=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-g/2,0,a-g),y=-(f*(l/s)),p=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${g}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${p}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const gC={class:"cmd-image-zoom flex-container"},yC=["title"],bC={class:"zoom-container"},kC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function CC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",gC,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(a,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:s.onMouseOver,onMousemove:s.onMouseMove,onMouseout:s.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,yC),o.createElementVNode("div",bC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),kC])}const wC=V(pC,[["render",CC]]),xC={mixins:[lr,cr,mn,mr],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.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.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}}},BC=["aria-labelledby"],_C={class:"label-text"},EC=["id"],SC={key:0,"aria-hidden":"true"},TC=["title","aria-errormessage","id"],OC=["for"],NC=["type","id","name","value","disabled"],VC={key:1,class:"label-text"},FC={key:1,class:"flex-container no-flex"};function AC(e,t,n,r,i,s){const a=z,l=ar;return o.openBlock(),o.createElementBlock("div",{class:o.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},[o.withDirectives(o.createElementVNode("span",_C,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",SC,"*")):o.createCommentVNode("",!0)],8,EC),(n.required||e.inputRequirements.length>0)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,TC)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{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"])):o.createCommentVNode("",!0)],512),[[o.vShow,n.showLabel]]),n.useSlot?(o.openBlock(),o.createElementBlock("div",FC,[o.renderSlot(e.$slots,"default")])):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["flex-container",{"no-flex":!n.stretchHorizontally,"no-gap":n.multipleSwitch}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputElements,(d,c)=>(o.openBlock(),o.createElementBlock("label",{key:c,for:d.id,class:o.normalizeClass({"toggle-switch":n.toggleSwitches})},[o.withDirectives(o.createElementVNode("input",{type:n.inputTypes,id:d.id,name:d.name,value:d.value,"onUpdate:modelValue":t[1]||(t[1]=u=>s.inputValue=u),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,NC),[[o.vModelDynamic,s.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",VC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,OC))),128))],2))],10,BC)}const nl=V(xC,[["render",AC]]),PC={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"}}},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 rt(e)},checkValidationStatus(e,t){e!=null&&(t==="username"?this.usernameValidationStatus=e==="success":t==="password"?this.passwordValidationStatus=e==="success":this.emailValidationStatus=e==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},LC={class:"cmd-login-form flex-container"},IC={class:"option-wrapper flex-container"},MC={key:1},RC=["type","disabled"],DC={key:1},jC={class:"cmd-login-form flex-container"},qC={class:"option-wrapper flex-container"},zC={key:1},HC=["type","disabled"],UC={key:1};function WC(e,t,n,r,i,s){var u,m,g,f,h,y,p,C;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",LC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendLoginForm.show,"align-left":n.legendLoginForm.align==="left"})},o.toDisplayString(n.legendLoginForm.text),3),n.cmdHeadlineLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineLoginForm)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["login-fields flex-container",{vertical:n.orientation==="vertical"}])},[o.createVNode(l,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:s.username,"onUpdate:modelValue":t[0]||(t[0]=T=>s.username=T)},s.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=T=>s.checkValidationStatus(T,"username"))}),null,16,["modelValue"]),o.createVNode(l,o.mergeProps({element:"input",type:"password",modelValue:s.password,"onUpdate:modelValue":t[2]||(t[2]=T=>s.password=T)},s.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=T=>s.checkValidationStatus(T,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",IC,[n.options.forgotPassword||n.options.createAccount?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.options.forgotPassword?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[4]||(t[4]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[(u=n.options.forgotPassword.icon)!=null&&u.show&&((m=n.options.forgotPassword.icon)!=null&&m.iconClass)?(o.openBlock(),o.createBlock(d,{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"])):o.createCommentVNode("",!0),n.options.forgotPassword.text?(o.openBlock(),o.createElementBlock("span",MC,o.toDisplayString(n.options.forgotPassword.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.options.createAccount?(o.openBlock(),o.createBlock(c,{key:1,linkType:n.options.createAccount.linkType,path:n.options.createAccount.path,text:n.options.createAccount.text,icon:{iconClass:(g=n.options.createAccount.icon)==null?void 0:g.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"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),s.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...T)=>s.onClick&&s.onClick(...T)),disabled:s.buttonLoginDisabled},[s.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:s.buttonLoginOptions.icon.iconClass,type:s.buttonLoginOptions.icon.iconType,title:s.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),s.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",DC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,RC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",jC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendForgotLoginForm.show,"align-left":n.legendForgotLoginForm.align==="left"})},o.toDisplayString(n.legendForgotLoginForm.text),3),n.cmdHeadlineSendLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=T=>s.checkValidationStatus(T,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=T=>i.sendLoginMail=T)},s.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",qC,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[n.options.backToLoginForm&&n.options.backToLoginForm.icon&&n.options.backToLoginForm.icon.show&&n.options.backToLoginForm.icon.iconClass?(o.openBlock(),o.createBlock(d,{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"])):o.createCommentVNode("",!0),n.options.backToLoginForm.text?(o.openBlock(),o.createElementBlock("span",zC,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonSendLoginOptions.primary}]),disabled:s.buttonSendLoginDisabled},[(y=s.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(p=s.buttonSendLoginOptions.icon)==null?void 0:p.iconClass,title:(C=s.buttonSendLoginOptions.icon)==null?void 0:C.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",UC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,HC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const GC=V(PC,[["render",WC]]),JC={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,t,n,r){var i;if(t.target||t.path.length>1)return this.showOffcanvas=!1,!0;if((i=t==null?void 0:t.subentries)!=null&&i.length){e.preventDefault(),r?this.openSubentry=this.openSubentry===n?-1:n:(this.openEntry=this.openEntry===n?-1:n,this.openSubentry=-1);return}(t.path==="#"||t.path==="")&&(e.preventDefault(),this.$emit("click",t.path)),this.showOffcanvas=!1},getRoute(e){return rt(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})}}},KC={key:0,class:"close-nav"},ZC=["href","title","target","onClick"],XC={key:1},QC={key:1},YC=["aria-expanded"],$C=["href","title","target","onClick"],vC={key:1},ew={key:1},tw=["aria-expanded"],nw=["href","title","target","onClick"],ow={key:1},rw={key:1};function iw(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":n.persistOnMobile,"show-content-overlay":n.showContentOverlay,"off-canvas-right":n.offcanvasPosition==="right"}])},[o.createElementVNode("nav",null,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-items":n.stretchMainItems})},[i.showOffcanvas?(o.openBlock(),o.createElementBlock("li",KC,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.closeOffcanvasNavigation&&s.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.closeOffcanvas.iconClass,type:n.closeOffcanvas.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.closeOffcanvas.showText})},o.toDisplayString(n.closeOffcanvas.text),3)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.navigationEntries,(d,c)=>{var u,m,g;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(u=d==null?void 0:d.subentries)==null?void 0:u.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>s.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>s.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>s.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",XC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(m=d==null?void 0:d.subentries)!=null&&m.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,ZC)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",QC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),d.subentries&&d.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(g=d==null?void 0:d.subentries)!=null&&g.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.subentries,(f,h)=>{var y;return o.openBlock(),o.createElementBlock("li",{key:h,class:o.normalizeClass({open:i.openSubentry===h})},[f.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:p=>s.executeLink(p,f,h,1),onMouseover:t[3]||(t[3]=p=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=p=>s.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",vC,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,$C)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",ew,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(y=f.subentries)!=null&&y.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.subentries,(p,C)=>(o.openBlock(),o.createElementBlock("li",{key:C},[p.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:T=>s.executeLink(T,p)},[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",ow,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,nw)):o.createCommentVNode("",!0),p.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(p),target:p.target},{default:o.withCtx(()=>[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",rw,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","target"])):o.createCommentVNode("",!0)]))),128))],8,tw)):o.createCommentVNode("",!0)],2)}),128))],8,YC)):o.createCommentVNode("",!0)],2)}),128))],2)]),n.persistOnMobile===!1?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:t[5]||(t[5]=o.withModifiers((...d)=>s.toggleOffcanvasNavigation&&s.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(a,{iconClass:n.buttonOffcanvas.iconClass,type:n.buttonOffcanvas.iconType},null,8,["iconClass","type"]),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.buttonOffcanvas.showText})},o.toDisplayString(n.buttonOffcanvas.text),3)])):o.createCommentVNode("",!0)],2)}const ol=V(JC,[["render",iw]]),sw={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,t){this.activeLink=t,this.$emit("click",{event:e,index:t,stepPath:this.multisteps[t].path})},getRoute(e){return rt(e)}}},aw={key:0,class:"number"},lw={key:2};function cw(e,t,n,r,i,s){const a=z,l=ot;return o.openBlock(),o.createElementBlock("ol",{class:o.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":n.useGap}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.multisteps,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:i.activeLink===c})},[o.createVNode(l,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(u=>s.clickedStep(u,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",aw,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(a,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",lw,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(n.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const dw=V(sw,[["render",cw]]),uw={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}}},mw={class:"cmd-newsletter-subscription flex-container"},fw={class:"button-wrapper"};function hw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",mw,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(a,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:s.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>s.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(l,{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:s.email,"onUpdate:modelValue":t[1]||(t[1]=d=>s.email=d),onValidationStatusChange:s.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",fw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const pw=V(uw,[["render",hw]]);function rl(e,t,n,r=!0,i=!0){function s(a,l){return l&&a<10?"0"+a:a}return(a,l)=>{if(n){let d=a,c=t;return d>12&&(i||(d-=12),c=n),s(d,r)+e+s(l,!0)+c}return s(a,r)+e+s(l,!0)+t}}const gw={name:"CmdOpeningHoursItem",mixins:[Y],data(){return{editableDay:{}}},props:{use24HoursFormat:{type:Boolean,required:!1},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):rl(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return Q(this,{update(t){t.day=e.day,t.am||(t.am={}),t.am.fromTime=e.amFrom,t.am.tillTime=e.amTill,t.am.displayText=e.amClosed?e.amDisplayText:"",t.pm||(t.pm={}),t.pm.fromTime=e.pmFrom,t.pm.tillTime=e.pmTill,t.pm.displayText=e.pmClosed?e.pmDisplayText:""}})}},watch:{day:{handler(){const e=rl(":","","",!0,this.use24HoursFormat);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}}},yw={class:"cmd-opening-hours-item"},bw={key:0,class:"am"},kw={key:1,class:"pm"},Cw={class:"flex-container no-flex"},ww={class:"flex-container no-flex am-wrapper"},xw={key:1,class:"input-wrapper"},Bw=["title"],_w={class:"flex-container no-flex pm-wrapper"},Ew={key:1,class:"input-wrapper"},Sw=["title"];function Tw(e,t,n,r,i,s){const a=X;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.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":t[0]||(t[0]=l=>i.editableDay.day=l)},null,8,["modelValue"])]),o.createElementVNode("dd",Cw,[o.createElementVNode("div",ww,[i.editableDay.amClosed?(o.openBlock(),o.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":t[1]||(t[1]=l=>i.editableDay.amDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",xw,[o.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":t[2]||(t[2]=l=>i.editableDay.amFrom=l)},null,8,["modelValue"]),o.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":t[3]||(t[3]=l=>i.editableDay.amTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(l=>s.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Bw)]),o.createElementVNode("div",_w,[i.editableDay.pmClosed?(o.openBlock(),o.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":t[5]||(t[5]=l=>i.editableDay.pmDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Ew,[o.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":t[6]||(t[6]=l=>i.editableDay.pmFrom=l)},null,8,["modelValue"]),o.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":t[7]||(t[7]=l=>i.editableDay.pmTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(l=>s.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,Sw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",yw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",bw,[n.day.am.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.am.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",kw,[n.day.pm.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.pm.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Ow=V(gw,[["render",Tw]]);function Nw(e,t,n,r=!0){function i(s,a){return a&&s<10?"0"+s:s}return(s,a)=>i(s,r)+e+i(a,!0)+t}const Vw={name:"CmdOpeningHours",mixins:[Y],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},showOpenStatus:{type:Boolean,default:!0},use24HoursFormat:{type:Boolean,default:!0},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 t=0;t<this.openingHours.length;t++){const n={},r=this.openingHours[t].am.fromTime.split(/[:.]/),i=this.openingHours[t].am.tillTime.split(/[:.]/),s=this.openingHours[t].pm.fromTime.split(/[:.]/),a=this.openingHours[t].pm.tillTime.split(/[:.]/);n.day=this.openingHours[t].day,n.am={...this.openingHours[t].am},n.am.fromTime={hours:parseInt(r[0]),mins:parseInt(r[1])},n.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},n.pm={...this.openingHours[t].pm},n.pm.fromTime={hours:parseInt(s[0]),mins:parseInt(s[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 t=this.openingHoursFormatted[e];if(this.openingHoursFormatted[e]){const n=new Date;n.setHours(t.am.fromTime.hours,t.am.fromTime.mins);const r=new Date;r.setHours(t.am.tillTime.hours,t.am.tillTime.mins);const i=new Date;i.setHours(t.pm.fromTime.hours,t.pm.fromTime.mins);const s=new Date;if(s.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=s)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(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):Nw(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return Q(this,{update(s,a){s.openingHours=e,s.textOpen=t,s.textClosed=n,s.textHolidays=r,s.textMiscInfo=i;const l=a==null?void 0:a.find(d=>d.name==="CmdHeadline");l&&(s.cmdHeadline=s.cmdHeadline||{},l.update(s.cmdHeadline))}})}}},Fw={class:"cmd-opening-hours"},Aw={key:2,class:"flex-container"},Pw={key:3},Lw=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Iw={class:"edit-mode-opening-hours-item"},Mw={key:5},Rw={key:0},Dw={key:1},jw={key:6,class:"flex-container vertical"};function qw(e,t,n,r,i,s){var m,g;const a=U,l=ot,d=X,c=Ow,u=Ae;return o.openBlock(),o.createElementBlock("div",Fw,[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),!e.editing&&n.showOpenStatus?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(g=n.cmdLink)!=null&&g.path?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:s.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:s.isClosed})},o.toDisplayString(s.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Aw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:s.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>s.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:s.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>s.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[s.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>s.onAddItem&&s.onAddItem(...f))},Lw)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(u,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Iw,[o.createVNode(c,{day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",Pw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(c,{key:h,day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"]))),128))])),!e.editing&&(n.textHolidays||n.textMiscInfo)?(o.openBlock(),o.createElementBlock("div",Mw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Rw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Dw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",jw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:s.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>s.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:s.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>s.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const zw=V(Vw,[["render",qw]]),Hw={name:"CmdPagination",mixins:[oe,{data(){return{defaultMessageProperties:{"pagination.tooltip.go_to_page":"Go to page {0}","pagination.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)}}},Uw={class:"cmd-pagination"},Ww=["href","title"],Gw={key:0},Jw={class:"page-index"},Kw={class:"flex-container"},Zw=["href","title","onClick"],Xw=["href","title"],Qw={key:0};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Uw,[o.createElementVNode("a",{href:s.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.previousPage&&s.previousPage(...l),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(a,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",Gw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Ww),o.createElementVNode("div",Jw,[o.createElementVNode("div",Kw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(l,d)=>(o.openBlock(),o.createElementBlock("a",{href:s.getHref(l),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("pagination.tooltip.go_to_page",d+1):e.getMessage("pagination.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>s.showPage(l),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,Zw))),128))])]),o.createElementVNode("a",{href:s.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===s.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.nextPage&&s.nextPage(...l),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",Qw,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,Xw)])}const $w=V(Hw,[["render",Yw]]),vw={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Y],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 t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.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 Q(this,{item(){return e}})},updateHandlerProvider(){const e=tt(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return Q(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},ex={class:"cmd-social-networks-item"},tx=["id","href","title"],nx={key:1};function ox(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",ex,[(o.openBlock(),o.createElementBlock("a",{key:n.network.path,class:o.normalizeClass(["button",{disabled:n.userMustAcceptDataPrivacy&&!n.dataPrivacyAccepted},"text-align-"+n.buttonTextAlign]),id:n.network.id,href:s.getUrl(n.network),onClick:t[0]||(t[0]=(...l)=>s.preventOnDisabled&&s.preventOnDisabled(...l)),target:"_blank",title:s.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.network.iconClass,type:n.network.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),n.network.linkText?(o.openBlock(),o.createElementBlock("span",nx,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,tx))])}const rx=V(vw,[["render",ox]]),ix={name:"CmdSocialNetworks",mixins:[Y],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(Fe(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 t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},onPersist(e){return{editModeContextData:{...this.editModeContextData||{}},update(t){t.cmdHeadline={...t.cmdHeadline||{}},Array.isArray(e)&&e.length>0&&(t.cmdHeadline.headlineText=e[0].headlineText)}}}}},sx=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function ax(e,t,n,r,i,s){var u,m;const a=U,l=X,d=rx,c=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},s.alignment])},[(u=n.cmdHeadline)!=null&&u.headlineText||(m=e.editModeContext)!=null&&m.editing?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=g=>i.dataPrivacyAccepted=g)}),null,16,["modelValue"])):o.createCommentVNode("",!0),s.validNetworks.length>0?(o.openBlock(),o.createElementBlock("ul",{key:2,class:o.normalizeClass(["button-wrapper",{"no-gap":!n.useGap}])},[e.editModeContext?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:g,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:n.page,appendPage:n.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),o.renderSlot(e.$slots,"default")],64))],2)):(o.openBlock(),o.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:t[1]||(t[1]=(...g)=>s.onAddItem&&s.onAddItem(...g))},sx))],2)}const il=V(ix,[["render",ax]]),lx={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},containerToPrint:{type:String,default:"main"},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var t;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,...(t=this.buttonPrintView)==null?void 0:t.icon}}}},methods:{showFancyBox(){let e=[];typeof this.cmdFancyBox.elements=="function"?e=this.cmdFancyBox.elements():e=[document.querySelector(this.containerToPrint)],qe({elements:e,fancyBoxOptions:this.cmdFancyBox.fancyBoxOptions,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey,id:this.cmdFancyBox.id||"print-preview"})}}},cx={class:"button-wrapper"},dx=["title"],ux={key:1};function mx(e,t,n,r,i,s){var l,d,c,u;const a=il;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdSocialNetworks)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"cmd-social-networks")]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",cx,[o.renderSlot(e.$slots,"default"),(l=s.buttonPrintViewOptions)!=null&&l.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:s.buttonPrintViewOptions.primary}]),id:"print-view-button",title:s.buttonPrintViewOptions.text?(d=s.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...m)=>s.showFancyBox&&s.showFancyBox(...m))},[(c=s.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((u=s.buttonPrintViewOptions.icon)==null?void 0:u.iconClass)},null,2)):o.createCommentVNode("",!0),s.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",ux,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,dx)):o.createCommentVNode("",!0)])],2)}const fx=V(lx,[["render",mx]]),hx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},px={key:0,class:"cmd-page-header flex-container"},gx={key:0,class:"headline-wrapper flex-container vertical"};function yx(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",px,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",gx,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.$slots.default?o.renderSlot(e.$slots,"default",{key:1}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}const bx=V(hx,[["render",yx]]),kx={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}}},Cx=["for"],wx={class:"progressbar"},xx={key:0},Bx=["id","value"];function _x(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("label",{class:"cmd-progressbar",for:n.id},[o.createElementVNode("span",{class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},o.toDisplayString(n.labelText),3),o.createElementVNode("span",wx,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",xx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,Bx)])],8,Cx)}const Ex=V(kx,[["render",_x]]),Sx={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}}},Tx={class:"inner-sidebar-wrapper"},Ox={key:1,class:"open-slot-wrapper"},Nx={key:2,class:"closed-slot-wrapper"},Vx=["title"];function Fx(e,t,n,r,i,s){var l;const a=U;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",s.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",Tx,[(l=n.cmdHeadline)!=null&&l.headlineText&&i.open?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadline,{headlineLevel:n.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):o.createCommentVNode("",!0),i.open?(o.openBlock(),o.createElementBlock("div",Ox,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Nx,[o.renderSlot(e.$slots,"closed",{openBoxStatus:i.open})]))]),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleSidebar&&s.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(s.iconClassOpenCollapse)},null,2)],8,Vx)):o.createCommentVNode("",!0)],2)}const Ax=V(Sx,[["render",Fx]]),Px={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Lx={class:"cmd-site-footer site-footer"};function Ix(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Lx,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Mx=V(Px,[["render",Ix]]),Rx={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 t=document.querySelector(".cmd-site-header > header");e.scrollTop>0?t.classList.add("resize-on-scroll"):t.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}}},Dx={key:0,class:"top-header"};function jx(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p;const a=Za,l=ol;return o.openBlock(),o.createElementBlock("div",{ref:"site-header",class:o.normalizeClass(["cmd-site-header site-header",{sticky:n.sticky,"navigation-inline":n.navigationInline,"off-canvas-right":((d=n.cmdMainNavigation)==null?void 0:d.offcanvasPosition)==="right"}]),role:"banner"},[e.$slots.topheader?(o.openBlock(),o.createElementBlock("div",Dx,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:u.length)&&n.navigationInline||e.$slots.navigation}])},[e.$slots.logo||e.$slots.header||e.$slots.navigation?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"logo"),o.renderSlot(e.$slots,"header"),o.renderSlot(e.$slots,"navigation")],64)):o.createCommentVNode("",!0),n.cmdCompanyLogo||(g=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&g.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:s.onImageLoaded}),null,16,["onImageLoaded"])):o.createCommentVNode("",!0),(h=(f=n.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&h.length&&n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(p=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&p.length&&!n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const qx=V(Rx,[["render",jx]]),zx={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[oe,{data(){return{defaultMessageProperties:{"site_search.show_filter_options":"Show filter options","site_search.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(),t=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),n=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(e&&t&&n)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(e){for(let t=0;t<this.cmdFakeSelect.selectData.length;t++)if(e===this.cmdFakeSelect.selectData[t].value)return this.cmdFakeSelect.selectData[t].text;return null}},watch:{cmdFormElementRadius:{handler(){var e,t;(e=this.cmdFormElementRadiusOptions)!=null&&e.selectOptions&&((t=this.cmdFormElementRadiusOptions)!=null&&t.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},Hx={class:"cmd-box-site-search flex-container"},Ux={class:"flex-container align-bottom"},Wx={class:"input-wrapper align-bottom"},Gx={key:0},Jx={key:1},Kx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Zx(e,t,n,r,i,s){var m,g,f,h,y,p,C,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Hx,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Ux,[o.createVNode(l,{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:s.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=k=>s.searchValue1=k)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Wx,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(l,{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:s.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=k=>s.searchValue2=k)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),s.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:s.radius,"onUpdate:modelValue":t[2]||(t[2]=k=>s.radius=k)},s.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(l,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:s.onSearchButtonClick,disabled:s.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",{class:"filter-options",href:"#",onClick:t[3]||(t[3]=o.withModifiers(k=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(g=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:g.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(p=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:p.iconType:(T=(C=n.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",Gx,o.toDisplayString(e.getMessage("site_search.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",Jx,o.toDisplayString(e.getMessage("site_search.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var k,F,N,b,S;return[i.showFilters&&((k=n.cmdFakeSelect)!=null&&k.selectData.length)?(o.openBlock(),o.createElementBlock("div",Kx,[o.createVNode(c,{role:"option",selectData:(F=n.cmdFakeSelect)==null?void 0:F.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=A=>s.searchFilters=A),defaultOptionName:(N=n.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(S=n.cmdFakeSelect)==null?void 0:S.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(u,{key:0,modelValue:s.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=k=>s.searchFilters=k),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Xx=V(zx,[["render",Zx]]),Qx={name:"CmdSlideshow",mixins:[Y],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(Fe(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(t=>this.slideshowItemEditing=t)})}}},Yx=["href","title"],$x=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],vx={key:2},e1=["onClick","aria-label","title"],t1={key:3,class:"item-counter"};function n1(e,t,n,r,i,s){const a=kt,l=Ne;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[o.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:t[1]||(t[1]=d=>i.pause=!0),onMouseleave:t[2]||(t[2]=d=>i.pause=!1)},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,u,m,g,f,h,y,p,C,T,k;return[s.currentItem?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.useSlot?(o.openBlock(),o.createElementBlock("div",{class:"slot-wrapper",key:i.index,style:o.normalizeStyle("background-image: url("+s.currentItem.image.srcLarge+")")},[o.renderSlot(e.$slots,"item"+i.currentSlotItem)],4)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?n.slideshowItems.length?(o.openBlock(),o.createBlock(l,{key:1,image:(T=s.currentItem)==null?void 0:T.image,figcaption:(k=s.currentItem)==null?void 0:k.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=s.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(m=(u=s.currentItem)==null?void 0:u.link)==null?void 0:m.href,title:(f=(g=s.currentItem)==null?void 0:g.link)==null?void 0:f.tooltip},[o.createVNode(l,{image:(h=s.currentItem)==null?void 0:h.image,figcaption:(y=s.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,Yx)):(o.openBlock(),o.createBlock(l,{key:1,image:(p=s.currentItem)==null?void 0:p.image,figcaption:(C=s.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...F)=>s.onAddItem&&s.onAddItem(...F))},$x)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",vx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.slideshowItems,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:c===i.index})},[o.createElementVNode("a",{href:"#",class:o.normalizeClass({disabled:i.slideshowItemEditing}),onClick:o.withModifiers(u=>s.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,e1)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",t1,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const o1=V(Qx,[["render",n1]]),r1=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"})),i1={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return rt(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(r1[t].default)})},immediate:!0,deep:!0}}},s1={class:"cmd-switch-language"},a1=["href","title","onClick"],l1=["src","alt"],c1=["src","alt"];function d1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",s1,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[l.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.link.path,class:o.normalizeClass(["flag",l.iso2,{active:s.activeLanguage(l)}]),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,l1)],10,a1)):(o.openBlock(),o.createBlock(a,{key:1,class:o.normalizeClass(["flag",l.iso2]),to:s.getRoute(l),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,c1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const u1=V(i1,[["render",d1]]),m1={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,t;return this.hideCaption?!1:((e=this.tableData.caption)==null?void 0:e.text)||((t=this.caption)==null?void 0:t.text)},hideCaption(){var e,t,n;return((e=this.caption)==null?void 0:e.show)===!1||((t=this.caption)==null?void 0:t.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,t=this.$refs.table.nextElementSibling,n=this.$refs.innerWrapper,r=n.getBoundingClientRect(),i=r.width+n.scrollLeft-t.getBoundingClientRect().width,s=n.scrollLeft;console.log("parentRect",r),e.style.left=`${s}px`,t.style.left=`${i}px`,s===0?e.style.display="none":e.style.display="flex",s===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},f1={key:0,class:"button-wrapper"},h1=["title"],p1=["title"],g1={"aria-expanded":"true"},y1={key:0,"aria-expanded":"true"};function b1(e,t,n,r,i,s){var d,c,u,m;const a=z,l=kt;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":s.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",f1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(g=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(a,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,h1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(g=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(a,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,p1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...g)=>s.updatePosition&&s.updatePosition(...g))},[n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createElementVNode("table",{ref:"table",class:o.normalizeClass({"full-width":i.fullWidth})},[(d=n.tableData.caption)!=null&&d.text||(c=n.caption)!=null&&c.text?(o.openBlock(),o.createElementBlock("caption",{key:0,class:o.normalizeClass({hidden:s.hideCaption})},o.toDisplayString(((u=n.caption)==null?void 0:u.text)||((m=n.tableData.caption)==null?void 0:m.text)),3)):o.createCommentVNode("",!0),o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.thead,(g,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(g),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",g1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(g,f)=>(o.openBlock(),o.createElementBlock("tr",{class:o.normalizeClass({active:n.tableData.rowIndexHighlighted===f}),key:f},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,(h,y)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===y}),key:y},o.toDisplayString(h),3))),128))],2))),128))],512),[[o.vShow,i.showTableData]])]),_:1},8,["name"]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[n.tableData.tfoot&&n.tableData.tfoot.length&&i.showTableData?(o.openBlock(),o.createElementBlock("tfoot",y1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(g,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(g),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const k1=V(m1,[["render",b1]]);da({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
|
12
12
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
13
13
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
14
|
-
<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 C1={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}}},w1={class:"cmd-tabs"},x1=["onClick","title"],B1={key:1},_1={key:1,"aria-live":"assertive"},E1=["innerHTML"];function S1(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createElementBlock("div",w1,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-tabs":n.stretchTabs}),role:"tablist"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tabs,(d,c)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass({active:i.showTab===c}),key:c,role:"tab"},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",B1,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,x1)],2))),128))],2),n.useSlot?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.tabs.length,d=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{key:d,"aria-live":"assertive",class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},[o.renderSlot(e.$slots,"tab-content-"+(d-1))],2)),[[o.vShow,i.showTab===d-1]])),128)):(o.openBlock(),o.createElementBlock("div",_1,[n.cmdHeadline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0},n.cmdHeadline,{headlineText:n.tabs[i.showTab].headlineText,headlineLevel:n.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.createElementVNode("div",{innerHTML:n.tabs[i.showTab].htmlContent,class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},null,10,E1)]))])}const T1=V(C1,[["render",S1]]),O1={name:"CmdTextImageBlock",mixins:[Y],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,Q(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},N1=["innerHTML"],V1=["innerHTML"],F1=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function A1(e,t,n,r,i,s){var c,u,m,g;const a=U,l=Ne,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-text-image-block flex-container",n.orientation])},[((c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext)&&n.headlinePosition==="aboveImage"&&n.orientation==="vertical"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(l,{key:1,image:(u=n.cmdImage)==null?void 0:u.image,figcaption:(m=n.cmdImage)==null?void 0:m.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",s.setInnerClass])},[((g=n.cmdHeadline)!=null&&g.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent},null,8,N1)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],2),e.editModeContext?(o.openBlock(),o.createBlock(d,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:n.htmlContent,textAlign:s.textAlign},componentPath:s.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",s.textAlign]),"onUpdate:modelValue":t[0]||(t[0]=h=>i.editableHtmlContent=h),placeholder:"Paragraph"},null,2)),[[o.vModelText,i.editableHtmlContent]]):n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent,class:o.normalizeClass(s.textAlign)},null,10,V1)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>s.onAddItem&&s.onAddItem(...h))},F1))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const P1=V(O1,[["render",A1]]),L1={name:"ToggleDarkMode",mixins:[Y],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 t=window.localStorage.getItem("cmd-color-scheme");t&&(this.darkMode=t==="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,t=this.labelTextDarkModeModel;return Q(this,{update(n){n.labelTextLightMode=e,n.labelTextDarkMode=t}})}},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.remove("light-mode"),e.classList.add("dark-mode")):(e.classList.remove("dark-mode"),e.classList.add("light-mode")),e.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},I1={key:0};function M1(e,t,n,r,i,s){const a=z,l=X;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":n.useStyledLayout,"dark-mode":i.darkMode}])},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:s.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>s.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(l,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:s.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>s.labelTextDarkModeModel=d)},null,8,["modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.styledAsButton?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:o.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleColorScheme&&s.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",I1,o.toDisplayString(s.labelText),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:s.iconClass,type:s.iconType,tooltip:n.showLabel?"":s.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:"checkbox",labelText:s.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),s.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":s.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const R1=V(L1,[["render",M1]]),D1={data(){return{defaultMessageProperties:{"upload_form.no_file_to_upload":"No file selected to upload","upload_form.no_files_to_upload":"No files selected to upload","upload_form.labeltext.select_file":"Select file to upload","upload_form.labeltext.select_files":"Select files to upload","upload_form.labeltext.remove_file_from_list":"Remove file '{0}' from list","upload_form.labeltext.remove_all_files_from_list":"Remove all files from list","upload_form.labeltext.file_uploading":"file to upload","upload_form.labeltext.files_uploading":"files to upload","upload_form.labeltext.comment":"Comment:","upload_form.buttontext.upload_file":"Upload file","upload_form.buttontext.upload_files":"Upload files","upload_form.buttontext.cancel":"Cancel","upload_form.placeholder.comment":"Please type in a specific comment","upload_form.system_message.found_duplicate_file":"Found duplicate file (not added again)","upload_form.system_message.upload_success":"Upload successful","upload_form.system_message.upload_failed":"Upload failed","upload_form.system_message.fill_required":"Fill all required fields","upload_form.system_message.the_following_errors_occurred":"The following errors occurred!","upload_form.system_message.an_unknown_error_occurred":"An unknown error occurred!","upload_form.system_message.only_one_file_allowed":"Only one file allowed!","upload_form.system_message_total_size_of_files_too_large":"Total size of files too large!","upload_form.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"upload_form.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"upload_form.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","upload_form.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","upload_form.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"upload_form.headline.summary_of_all_files":"Summary of all files","upload_form.headline.list_of_selected_files":"List of selected files","upload_form.headline.select_additional_files":"Select additional files","upload_form.headline.select_new_file":"Chosen the wrong file? Select a new one","upload_form.allowed_file_types":"Allowed file types:","upload_form.max_total_upload_size":"Max. total upload size:","upload_form.max_file_upload_size":"Max. file upload size:","upload_form.or":"or","upload_form.drag_and_drop":"drag (and drop)","upload_form.additional":"additional","upload_form.new":"new","upload_form.files_to_this_area":"files to this area","upload_form.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","upload_form.reset_upload":"Reset upload","upload_form.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","upload_form.select_image":"Select image","upload_form.select_file":"Select file","upload_form.drag_and_drop_file_here":"Drag and drop file here","upload_form.max_upload_size":"Max. upload size:"}}}};function sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:j1}=Object.prototype,{getPrototypeOf:br}=Object,fn=(e=>t=>{const n=j1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fe=e=>(e=e.toLowerCase(),t=>fn(t)===e),hn=e=>t=>typeof t===e,{isArray:it}=Array,Ct=hn("undefined");function q1(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const al=fe("ArrayBuffer");function z1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&al(e.buffer),t}const H1=hn("string"),ie=hn("function"),ll=hn("number"),pn=e=>e!==null&&typeof e=="object",U1=e=>e===!0||e===!1,gn=e=>{if(fn(e)!=="object")return!1;const t=br(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},W1=fe("Date"),G1=fe("File"),J1=fe("Blob"),K1=fe("FileList"),Z1=e=>pn(e)&&ie(e.pipe),X1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ie(e.append)&&((t=fn(e))==="formdata"||t==="object"&&ie(e.toString)&&e.toString()==="[object FormData]"))},Q1=fe("URLSearchParams"),[Y1,$1,v1,eB]=["ReadableStream","Request","Response","Headers"].map(fe),tB=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),it(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function cl(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ul=e=>!Ct(e)&&e!==dl;function kr(){const{caseless:e}=ul(this)&&this||{},t={},n=(r,i)=>{const s=e&&cl(t,i)||i;gn(t[s])&&gn(r)?t[s]=kr(t[s],r):gn(r)?t[s]=kr({},r):it(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wt(arguments[r],n);return t}const nB=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,s)=>{n&&ie(i)?e[s]=sl(i,n):e[s]=i},{allOwnKeys:r}),e),oB=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rB=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},iB=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&br(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sB=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},aB=e=>{if(!e)return null;if(it(e))return e;let t=e.length;if(!ll(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&br(Uint8Array)),cB=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},dB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},uB=fe("HTMLFormElement"),mB=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ml=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fB=fe("RegExp"),fl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},hB=e=>{fl(e,(t,n)=>{if(ie(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ie(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},pB=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return it(e)?r(e):r(String(e).split(t)),n},gB=()=>{},yB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cr="abcdefghijklmnopqrstuvwxyz",hl="0123456789",pl={DIGIT:hl,ALPHA:Cr,ALPHA_DIGIT:Cr+Cr.toUpperCase()+hl},bB=(e=16,t=pl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kB(e){return!!(e&&ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const CB=e=>{const t=new Array(10),n=(r,i)=>{if(pn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=it(r)?[]:{};return wt(r,(a,l)=>{const d=n(a,i+1);!Ct(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},wB=fe("AsyncFunction"),w={isArray:it,isArrayBuffer:al,isBuffer:q1,isFormData:X1,isArrayBufferView:z1,isString:H1,isNumber:ll,isBoolean:U1,isObject:pn,isPlainObject:gn,isReadableStream:Y1,isRequest:$1,isResponse:v1,isHeaders:eB,isUndefined:Ct,isDate:W1,isFile:G1,isBlob:J1,isRegExp:fB,isFunction:ie,isStream:Z1,isURLSearchParams:Q1,isTypedArray:lB,isFileList:K1,forEach:wt,merge:kr,extend:nB,trim:tB,stripBOM:oB,inherits:rB,toFlatObject:iB,kindOf:fn,kindOfTest:fe,endsWith:sB,toArray:aB,forEachEntry:cB,matchAll:dB,isHTMLForm:uB,hasOwnProperty:ml,hasOwnProp:ml,reduceDescriptors:fl,freezeMethods:hB,toObjectSet:pB,toCamelCase:mB,noop:gB,toFiniteNumber:yB,findKey:cl,global:dl,isContextDefined:ul,ALPHABET:pl,generateString:bB,isSpecCompliantForm:kB,toJSONObject:CB,isAsyncFn:wB,isThenable:e=>e&&(pn(e)||ie(e))&&ie(e.then)&&ie(e.catch)};function I(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}w.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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const gl=I.prototype,yl={};["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=>{yl[e]={value:e}}),Object.defineProperties(I,yl),Object.defineProperty(gl,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,s)=>{const a=Object.create(gl);return w.toFlatObject(e,a,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),I.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const xB=null;function wr(e){return w.isPlainObject(e)||w.isArray(e)}function bl(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function kl(e,t,n){return e?e.concat(t).map(function(i,s){return i=bl(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function BB(e){return w.isArray(e)&&!e.some(wr)}const _B=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function yn(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!w.isUndefined(p[y])});const r=n.metaTokens,i=n.visitor||u,s=n.dots,a=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!d&&w.isBlob(h))throw new I("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,p){let C=h;if(h&&!p&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&BB(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(C=w.toArray(h)))return y=bl(y),C.forEach(function(k,A){!(w.isUndefined(k)||k===null)&&t.append(a===!0?kl([y],A,s):a===null?y:y+"[]",c(k))}),!1}return wr(h)?!0:(t.append(kl(p,y,s),c(h)),!1)}const m=[],g=Object.assign(_B,{defaultVisitor:u,convertValue:c,isVisitable:wr});function f(h,y){if(!w.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),w.forEach(h,function(C,T){(!(w.isUndefined(C)||C===null)&&i.call(t,C,w.isString(T)?T.trim():T,y,g))===!0&&f(C,y?y.concat(T):[T])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Cl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function xr(e,t){this._pairs=[],e&&yn(e,this,t)}const wl=xr.prototype;wl.append=function(t,n){this._pairs.push([t,n])},wl.toString=function(t){const n=t?function(r){return t.call(this,r,Cl)}:Cl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function EB(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,t,n){if(!t)return e;const r=n&&n.encode||EB,i=n&&n.serialize;let s;if(i?s=i(t,n):s=w.isURLSearchParams(t)?t.toString():new xr(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Bl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const _l={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},SB={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:xr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",TB=(e=>Br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),OB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",NB=Br&&window.location.href||"http://localhost",he={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:TB,hasStandardBrowserWebWorkerEnv:OB,origin:NB},Symbol.toStringTag,{value:"Module"})),...SB};function VB(e,t){return yn(e,new he.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return he.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function FB(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function AB(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function El(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&w.isArray(i)?i.length:a,d?(w.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!w.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&w.isArray(i[a])&&(i[a]=AB(i[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(FB(r),i,n,0)}),n}return null}function PB(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const xt={transitional:_l,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=w.isObject(t);if(s&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return i?JSON.stringify(El(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return VB(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return yn(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),PB(t)):t}],transformResponse:[function(t){const n=this.transitional||xt.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?I.from(l,I.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:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{xt.headers[e]={}});const LB=w.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"]),IB=e=>{const t={};let n,r,i;return e&&e.split(`
|
14
|
+
<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 C1={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}}},w1={class:"cmd-tabs"},x1=["onClick","title"],B1={key:1},_1={key:1,"aria-live":"assertive"},E1=["innerHTML"];function S1(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createElementBlock("div",w1,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-tabs":n.stretchTabs}),role:"tablist"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tabs,(d,c)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass({active:i.showTab===c}),key:c,role:"tab"},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",B1,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,x1)],2))),128))],2),n.useSlot?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.tabs.length,d=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{key:d,"aria-live":"assertive",class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},[o.renderSlot(e.$slots,"tab-content-"+(d-1))],2)),[[o.vShow,i.showTab===d-1]])),128)):(o.openBlock(),o.createElementBlock("div",_1,[n.cmdHeadline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0},n.cmdHeadline,{headlineText:n.tabs[i.showTab].headlineText,headlineLevel:n.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.createElementVNode("div",{innerHTML:n.tabs[i.showTab].htmlContent,class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},null,10,E1)]))])}const T1=V(C1,[["render",S1]]),O1={name:"CmdTextImageBlock",mixins:[Y],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(e){return e==="vertical"||e==="horizontal"}},htmlContent:{type:String,required:!0},innerClass:{type:String,required:!1},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,Q(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},N1=["innerHTML"],V1=["innerHTML"],F1=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function A1(e,t,n,r,i,s){var c,u,m,g;const a=U,l=Ne,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-text-image-block flex-container",n.orientation])},[((c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext)&&n.headlinePosition==="aboveImage"&&n.orientation==="vertical"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(l,{key:1,image:(u=n.cmdImage)==null?void 0:u.image,figcaption:(m=n.cmdImage)==null?void 0:m.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",s.setInnerClass])},[((g=n.cmdHeadline)!=null&&g.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent},null,8,N1)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],2),e.editModeContext?(o.openBlock(),o.createBlock(d,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:n.htmlContent,textAlign:s.textAlign},componentPath:s.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",s.textAlign]),"onUpdate:modelValue":t[0]||(t[0]=h=>i.editableHtmlContent=h),placeholder:"Paragraph"},null,2)),[[o.vModelText,i.editableHtmlContent]]):n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent,class:o.normalizeClass(s.textAlign)},null,10,V1)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>s.onAddItem&&s.onAddItem(...h))},F1))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const P1=V(O1,[["render",A1]]),L1={name:"ToggleDarkMode",mixins:[Y],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 t=window.localStorage.getItem("cmd-color-scheme");t&&(this.darkMode=t==="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,t=this.labelTextDarkModeModel;return Q(this,{update(n){n.labelTextLightMode=e,n.labelTextDarkMode=t}})}},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.remove("light-mode"),e.classList.add("dark-mode")):(e.classList.remove("dark-mode"),e.classList.add("light-mode")),e.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},I1={key:0};function M1(e,t,n,r,i,s){const a=z,l=X;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":n.useStyledLayout,"dark-mode":i.darkMode}])},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:s.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>s.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(l,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:s.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>s.labelTextDarkModeModel=d)},null,8,["modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.styledAsButton?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:o.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleColorScheme&&s.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",I1,o.toDisplayString(s.labelText),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:s.iconClass,type:s.iconType,tooltip:n.showLabel?"":s.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:"checkbox",labelText:s.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),s.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":s.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const R1=V(L1,[["render",M1]]),D1={data(){return{defaultMessageProperties:{"upload_form.no_file_to_upload":"No file selected to upload","upload_form.no_files_to_upload":"No files selected to upload","upload_form.labeltext.select_file":"Select file to upload","upload_form.labeltext.select_files":"Select files to upload","upload_form.labeltext.remove_file_from_list":"Remove file '{0}' from list","upload_form.labeltext.remove_all_files_from_list":"Remove all files from list","upload_form.labeltext.file_uploading":"file to upload","upload_form.labeltext.files_uploading":"files to upload","upload_form.labeltext.comment":"Comment:","upload_form.buttontext.upload_file":"Upload file","upload_form.buttontext.upload_files":"Upload files","upload_form.buttontext.cancel":"Cancel","upload_form.placeholder.comment":"Please type in a specific comment","upload_form.system_message.found_duplicate_file":"Found duplicate file (not added again)","upload_form.system_message.upload_success":"Upload successful","upload_form.system_message.upload_failed":"Upload failed","upload_form.system_message.fill_required":"Fill all required fields","upload_form.system_message.the_following_errors_occurred":"The following errors occurred!","upload_form.system_message.an_unknown_error_occurred":"An unknown error occurred!","upload_form.system_message.only_one_file_allowed":"Only one file allowed!","upload_form.system_message_total_size_of_files_too_large":"Total size of files too large!","upload_form.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"upload_form.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"upload_form.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","upload_form.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","upload_form.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"upload_form.headline.summary_of_all_files":"Summary of all files","upload_form.headline.list_of_selected_files":"List of selected files","upload_form.headline.select_additional_files":"Select additional files","upload_form.headline.select_new_file":"Chosen the wrong file? Select a new one","upload_form.allowed_file_types":"Allowed file types:","upload_form.max_total_upload_size":"Max. total upload size:","upload_form.max_file_upload_size":"Max. file upload size:","upload_form.or":"or","upload_form.drag_and_drop":"drag (and drop)","upload_form.additional":"additional","upload_form.new":"new","upload_form.files_to_this_area":"files to this area","upload_form.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","upload_form.reset_upload":"Reset upload","upload_form.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","upload_form.select_image":"Select image","upload_form.select_file":"Select file","upload_form.drag_and_drop_file_here":"Drag and drop file here","upload_form.max_upload_size":"Max. upload size:"}}}};function sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:j1}=Object.prototype,{getPrototypeOf:br}=Object,fn=(e=>t=>{const n=j1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fe=e=>(e=e.toLowerCase(),t=>fn(t)===e),hn=e=>t=>typeof t===e,{isArray:it}=Array,Ct=hn("undefined");function q1(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const al=fe("ArrayBuffer");function z1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&al(e.buffer),t}const H1=hn("string"),ie=hn("function"),ll=hn("number"),pn=e=>e!==null&&typeof e=="object",U1=e=>e===!0||e===!1,gn=e=>{if(fn(e)!=="object")return!1;const t=br(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},W1=fe("Date"),G1=fe("File"),J1=fe("Blob"),K1=fe("FileList"),Z1=e=>pn(e)&&ie(e.pipe),X1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ie(e.append)&&((t=fn(e))==="formdata"||t==="object"&&ie(e.toString)&&e.toString()==="[object FormData]"))},Q1=fe("URLSearchParams"),[Y1,$1,v1,eB]=["ReadableStream","Request","Response","Headers"].map(fe),tB=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),it(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function cl(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ul=e=>!Ct(e)&&e!==dl;function kr(){const{caseless:e}=ul(this)&&this||{},t={},n=(r,i)=>{const s=e&&cl(t,i)||i;gn(t[s])&&gn(r)?t[s]=kr(t[s],r):gn(r)?t[s]=kr({},r):it(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wt(arguments[r],n);return t}const nB=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,s)=>{n&&ie(i)?e[s]=sl(i,n):e[s]=i},{allOwnKeys:r}),e),oB=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rB=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},iB=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&br(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sB=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},aB=e=>{if(!e)return null;if(it(e))return e;let t=e.length;if(!ll(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&br(Uint8Array)),cB=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},dB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},uB=fe("HTMLFormElement"),mB=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ml=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fB=fe("RegExp"),fl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},hB=e=>{fl(e,(t,n)=>{if(ie(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ie(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},pB=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return it(e)?r(e):r(String(e).split(t)),n},gB=()=>{},yB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cr="abcdefghijklmnopqrstuvwxyz",hl="0123456789",pl={DIGIT:hl,ALPHA:Cr,ALPHA_DIGIT:Cr+Cr.toUpperCase()+hl},bB=(e=16,t=pl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kB(e){return!!(e&&ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const CB=e=>{const t=new Array(10),n=(r,i)=>{if(pn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=it(r)?[]:{};return wt(r,(a,l)=>{const d=n(a,i+1);!Ct(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},wB=fe("AsyncFunction"),w={isArray:it,isArrayBuffer:al,isBuffer:q1,isFormData:X1,isArrayBufferView:z1,isString:H1,isNumber:ll,isBoolean:U1,isObject:pn,isPlainObject:gn,isReadableStream:Y1,isRequest:$1,isResponse:v1,isHeaders:eB,isUndefined:Ct,isDate:W1,isFile:G1,isBlob:J1,isRegExp:fB,isFunction:ie,isStream:Z1,isURLSearchParams:Q1,isTypedArray:lB,isFileList:K1,forEach:wt,merge:kr,extend:nB,trim:tB,stripBOM:oB,inherits:rB,toFlatObject:iB,kindOf:fn,kindOfTest:fe,endsWith:sB,toArray:aB,forEachEntry:cB,matchAll:dB,isHTMLForm:uB,hasOwnProperty:ml,hasOwnProp:ml,reduceDescriptors:fl,freezeMethods:hB,toObjectSet:pB,toCamelCase:mB,noop:gB,toFiniteNumber:yB,findKey:cl,global:dl,isContextDefined:ul,ALPHABET:pl,generateString:bB,isSpecCompliantForm:kB,toJSONObject:CB,isAsyncFn:wB,isThenable:e=>e&&(pn(e)||ie(e))&&ie(e.then)&&ie(e.catch)};function I(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}w.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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const gl=I.prototype,yl={};["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=>{yl[e]={value:e}}),Object.defineProperties(I,yl),Object.defineProperty(gl,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,s)=>{const a=Object.create(gl);return w.toFlatObject(e,a,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),I.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const xB=null;function wr(e){return w.isPlainObject(e)||w.isArray(e)}function bl(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function kl(e,t,n){return e?e.concat(t).map(function(i,s){return i=bl(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function BB(e){return w.isArray(e)&&!e.some(wr)}const _B=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function yn(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!w.isUndefined(p[y])});const r=n.metaTokens,i=n.visitor||u,s=n.dots,a=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!d&&w.isBlob(h))throw new I("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,p){let C=h;if(h&&!p&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&BB(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(C=w.toArray(h)))return y=bl(y),C.forEach(function(k,F){!(w.isUndefined(k)||k===null)&&t.append(a===!0?kl([y],F,s):a===null?y:y+"[]",c(k))}),!1}return wr(h)?!0:(t.append(kl(p,y,s),c(h)),!1)}const m=[],g=Object.assign(_B,{defaultVisitor:u,convertValue:c,isVisitable:wr});function f(h,y){if(!w.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),w.forEach(h,function(C,T){(!(w.isUndefined(C)||C===null)&&i.call(t,C,w.isString(T)?T.trim():T,y,g))===!0&&f(C,y?y.concat(T):[T])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Cl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function xr(e,t){this._pairs=[],e&&yn(e,this,t)}const wl=xr.prototype;wl.append=function(t,n){this._pairs.push([t,n])},wl.toString=function(t){const n=t?function(r){return t.call(this,r,Cl)}:Cl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function EB(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,t,n){if(!t)return e;const r=n&&n.encode||EB,i=n&&n.serialize;let s;if(i?s=i(t,n):s=w.isURLSearchParams(t)?t.toString():new xr(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Bl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const _l={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},SB={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:xr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",TB=(e=>Br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),OB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",NB=Br&&window.location.href||"http://localhost",he={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:TB,hasStandardBrowserWebWorkerEnv:OB,origin:NB},Symbol.toStringTag,{value:"Module"})),...SB};function VB(e,t){return yn(e,new he.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return he.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function FB(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function AB(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function El(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&w.isArray(i)?i.length:a,d?(w.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!w.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&w.isArray(i[a])&&(i[a]=AB(i[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(FB(r),i,n,0)}),n}return null}function PB(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const xt={transitional:_l,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=w.isObject(t);if(s&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return i?JSON.stringify(El(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return VB(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return yn(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),PB(t)):t}],transformResponse:[function(t){const n=this.transitional||xt.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?I.from(l,I.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:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{xt.headers[e]={}});const LB=w.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"]),IB=e=>{const t={};let n,r,i;return e&&e.split(`
|
15
15
|
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&LB[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Sl=Symbol("internals");function Bt(e){return e&&String(e).trim().toLowerCase()}function bn(e){return e===!1||e==null?e:w.isArray(e)?e.map(bn):String(e)}function MB(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const RB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _r(e,t,n,r,i){if(w.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function DB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function jB(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Bt(d);if(!u)throw new Error("header name must be a non-empty string");const m=w.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=bn(l))}const a=(l,d)=>w.forEach(l,(c,u)=>s(c,u,d));if(w.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(w.isString(t)&&(t=t.trim())&&!RB(t))a(IB(t),n);else if(w.isHeaders(t))for(const[l,d]of t.entries())s(d,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return MB(i);if(w.isFunction(n))return n.call(this,i,r);if(w.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||_r(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Bt(a),a){const l=w.findKey(r,a);l&&(!n||_r(r,r[l],l,n))&&(delete r[l],i=!0)}}return w.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||_r(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return w.forEach(this,(i,s)=>{const a=w.findKey(r,s);if(a){n[a]=bn(i),delete n[s];return}const l=t?DB(s):String(s).trim();l!==s&&delete n[s],n[l]=bn(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
16
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Sl]=this[Sl]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=Bt(a);r[l]||(jB(i,a),r[l]=!0)}return w.isArray(t)?t.forEach(s):s(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods($);function Er(e,t){const n=this||xt,r=t||n,i=$.from(r.headers);let s=r.data;return w.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Tl(e){return!!(e&&e.__CANCEL__)}function st(e,t,n){I.call(this,e??"canceled",I.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(st,I,{__CANCEL__:!0});function Ol(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(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 qB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function zB(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),u=r[s];a||(a=c),n[i]=d,r[i]=c;let m=s,g=0;for(;m!==i;)g+=n[m++],m=m%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-a<t)return;const f=u&&c-u;return f?Math.round(g*1e3/f):void 0}}function HB(e,t){let n=0;const r=1e3/t;let i=null;return function(){const a=this===!0,l=Date.now();if(a||l-n>r)return i&&(clearTimeout(i),i=null),n=l,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(l-n)))}}const kn=(e,t,n=3)=>{let r=0;const i=zB(50,250);return HB(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},UB=he.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;return t&&(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 r=i(window.location.href),function(a){const l=w.isString(a)?i(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),WB=he.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),w.isString(r)&&a.push("path="+r),w.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function GB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function JB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nl(e,t){return e&&!GB(t)?JB(e,t):t}const Vl=e=>e instanceof $?{...e}:e;function ze(e,t){t=t||{};const n={};function r(c,u,m){return w.isPlainObject(c)&&w.isPlainObject(u)?w.merge.call({caseless:m},c,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function i(c,u,m){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!w.isUndefined(u))return r(void 0,u)}function a(c,u){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Vl(c),Vl(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const m=d[u]||i,g=m(e[u],t[u],u);w.isUndefined(g)&&m!==l||(n[u]=g)}),n}const Fl=e=>{const t=ze({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=$.from(a),t.url=xl(Nl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(w.isFormData(n)){if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(he.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&UB(t.url))){const c=i&&s&&WB.read(s);c&&a.set(i,c)}return t},KB=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=Fl(e);let s=i.data;const a=$.from(i.headers).normalize();let{responseType:l}=i,d;function c(){i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let u=new XMLHttpRequest;u.open(i.method.toUpperCase(),i.url,!0),u.timeout=i.timeout;function m(){if(!u)return;const f=$.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:f,config:e,request:u};Ol(function(C){n(C),c()},function(C){r(C),c()},y),u=null}"onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){u&&(r(new I("Request aborted",I.ECONNABORTED,i,u)),u=null)},u.onerror=function(){r(new I("Network Error",I.ERR_NETWORK,i,u)),u=null},u.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const y=i.transitional||_l;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new I(h,y.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,i,u)),u=null},s===void 0&&a.setContentType(null),"setRequestHeader"in u&&w.forEach(a.toJSON(),function(h,y){u.setRequestHeader(y,h)}),w.isUndefined(i.withCredentials)||(u.withCredentials=!!i.withCredentials),l&&l!=="json"&&(u.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&u.addEventListener("progress",kn(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",kn(i.onUploadProgress)),(i.cancelToken||i.signal)&&(d=f=>{u&&(r(!f||f.type?new st(null,e,u):f),u.abort(),u=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const g=qB(i.url);if(g&&he.protocols.indexOf(g)===-1){r(new I("Unsupported protocol "+g+":",I.ERR_BAD_REQUEST,e));return}u.send(s||null)})},ZB=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof I?c:new st(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new I(`timeout ${t} of ms exceeded`,I.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},XB=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},QB=async function*(e,t,n){for await(const r of e)yield*XB(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Al=(e,t,n,r,i)=>{const s=QB(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Pl=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Cn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ll=Cn&&typeof ReadableStream=="function",Sr=Cn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),YB=Ll&&(()=>{let e=!1;const t=new Request(he.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Il=64*1024,Tr=Ll&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),wn={stream:Tr&&(e=>e.body)};Cn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!wn[t]&&(wn[t]=w.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new I(`Response type '${t}' is not supported`,I.ERR_NOT_SUPPORT,r)})})})(new Response);const $B=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(w.isArrayBufferView(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await Sr(e)).byteLength},vB=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??$B(t)},Or={http:xB,xhr:KB,fetch:Cn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Fl(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?ZB([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&YB&&n!=="get"&&n!=="head"&&(T=await vB(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;w.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Al(b.body,Il,Pl(T,kn(d)),null,Sr))}w.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const A=Tr&&(c==="stream"||c==="response");if(Tr&&(l||A)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=k[F]});const S=w.toFiniteNumber(k.headers.get("content-length"));k=new Response(Al(k.body,Il,l&&Pl(S,kn(l,!0)),A&&C,Sr),b)}c=c||"text";let N=await wn[w.findKey(wn,c)||"text"](k,e);return!A&&C(),h&&h(),await new Promise((b,S)=>{Ol(b,S,{data:N,headers:$.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,p),{cause:k.cause||k}):I.from(k,k&&k.code,e,p)}})};w.forEach(Or,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ml=e=>`- ${e}`,e_=e=>w.isFunction(e)||e===null||e===!1,Rl={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!e_(n)&&(r=Or[(a=String(n)).toLowerCase()],r===void 0))throw new I(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
16
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Sl]=this[Sl]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=Bt(a);r[l]||(jB(i,a),r[l]=!0)}return w.isArray(t)?t.forEach(s):s(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods($);function Er(e,t){const n=this||xt,r=t||n,i=$.from(r.headers);let s=r.data;return w.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Tl(e){return!!(e&&e.__CANCEL__)}function st(e,t,n){I.call(this,e??"canceled",I.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(st,I,{__CANCEL__:!0});function Ol(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(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 qB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function zB(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),u=r[s];a||(a=c),n[i]=d,r[i]=c;let m=s,g=0;for(;m!==i;)g+=n[m++],m=m%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-a<t)return;const f=u&&c-u;return f?Math.round(g*1e3/f):void 0}}function HB(e,t){let n=0;const r=1e3/t;let i=null;return function(){const a=this===!0,l=Date.now();if(a||l-n>r)return i&&(clearTimeout(i),i=null),n=l,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(l-n)))}}const kn=(e,t,n=3)=>{let r=0;const i=zB(50,250);return HB(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},UB=he.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;return t&&(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 r=i(window.location.href),function(a){const l=w.isString(a)?i(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),WB=he.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),w.isString(r)&&a.push("path="+r),w.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function GB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function JB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nl(e,t){return e&&!GB(t)?JB(e,t):t}const Vl=e=>e instanceof $?{...e}:e;function ze(e,t){t=t||{};const n={};function r(c,u,m){return w.isPlainObject(c)&&w.isPlainObject(u)?w.merge.call({caseless:m},c,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function i(c,u,m){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!w.isUndefined(u))return r(void 0,u)}function a(c,u){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Vl(c),Vl(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const m=d[u]||i,g=m(e[u],t[u],u);w.isUndefined(g)&&m!==l||(n[u]=g)}),n}const Fl=e=>{const t=ze({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=$.from(a),t.url=xl(Nl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(w.isFormData(n)){if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(he.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&UB(t.url))){const c=i&&s&&WB.read(s);c&&a.set(i,c)}return t},KB=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=Fl(e);let s=i.data;const a=$.from(i.headers).normalize();let{responseType:l}=i,d;function c(){i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let u=new XMLHttpRequest;u.open(i.method.toUpperCase(),i.url,!0),u.timeout=i.timeout;function m(){if(!u)return;const f=$.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:f,config:e,request:u};Ol(function(C){n(C),c()},function(C){r(C),c()},y),u=null}"onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){u&&(r(new I("Request aborted",I.ECONNABORTED,i,u)),u=null)},u.onerror=function(){r(new I("Network Error",I.ERR_NETWORK,i,u)),u=null},u.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const y=i.transitional||_l;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new I(h,y.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,i,u)),u=null},s===void 0&&a.setContentType(null),"setRequestHeader"in u&&w.forEach(a.toJSON(),function(h,y){u.setRequestHeader(y,h)}),w.isUndefined(i.withCredentials)||(u.withCredentials=!!i.withCredentials),l&&l!=="json"&&(u.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&u.addEventListener("progress",kn(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",kn(i.onUploadProgress)),(i.cancelToken||i.signal)&&(d=f=>{u&&(r(!f||f.type?new st(null,e,u):f),u.abort(),u=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const g=qB(i.url);if(g&&he.protocols.indexOf(g)===-1){r(new I("Unsupported protocol "+g+":",I.ERR_BAD_REQUEST,e));return}u.send(s||null)})},ZB=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof I?c:new st(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new I(`timeout ${t} of ms exceeded`,I.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},XB=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},QB=async function*(e,t,n){for await(const r of e)yield*XB(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Al=(e,t,n,r,i)=>{const s=QB(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Pl=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Cn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ll=Cn&&typeof ReadableStream=="function",Sr=Cn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),YB=Ll&&(()=>{let e=!1;const t=new Request(he.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Il=64*1024,Tr=Ll&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),wn={stream:Tr&&(e=>e.body)};Cn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!wn[t]&&(wn[t]=w.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new I(`Response type '${t}' is not supported`,I.ERR_NOT_SUPPORT,r)})})})(new Response);const $B=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(w.isArrayBufferView(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await Sr(e)).byteLength},vB=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??$B(t)},Or={http:xB,xhr:KB,fetch:Cn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Fl(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?ZB([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&YB&&n!=="get"&&n!=="head"&&(T=await vB(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;w.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Al(b.body,Il,Pl(T,kn(d)),null,Sr))}w.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const F=Tr&&(c==="stream"||c==="response");if(Tr&&(l||F)){const b={};["status","statusText","headers"].forEach(A=>{b[A]=k[A]});const S=w.toFiniteNumber(k.headers.get("content-length"));k=new Response(Al(k.body,Il,l&&Pl(S,kn(l,!0)),F&&C,Sr),b)}c=c||"text";let N=await wn[w.findKey(wn,c)||"text"](k,e);return!F&&C(),h&&h(),await new Promise((b,S)=>{Ol(b,S,{data:N,headers:$.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,p),{cause:k.cause||k}):I.from(k,k&&k.code,e,p)}})};w.forEach(Or,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ml=e=>`- ${e}`,e_=e=>w.isFunction(e)||e===null||e===!1,Rl={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!e_(n)&&(r=Or[(a=String(n)).toLowerCase()],r===void 0))throw new I(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
17
17
|
`+s.map(Ml).join(`
|
18
18
|
`):" "+Ml(s[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Or};function Nr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new st(null,e)}function Dl(e){return Nr(e),e.headers=$.from(e.headers),e.data=Er.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Rl.getAdapter(e.adapter||xt.adapter)(e).then(function(r){return Nr(e),r.data=Er.call(e,e.transformResponse,r),r.headers=$.from(r.headers),r},function(r){return Tl(r)||(Nr(e),r&&r.response&&(r.response.data=Er.call(e,e.transformResponse,r.response),r.response.headers=$.from(r.response.headers))),Promise.reject(r)})}const jl="1.7.2",Vr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ql={};Vr.transitional=function(t,n,r){function i(s,a){return"[Axios v"+jl+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(t===!1)throw new I(i(a," has been removed"+(n?" in "+n:"")),I.ERR_DEPRECATED);return n&&!ql[a]&&(ql[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function t_(e,t,n){if(typeof e!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const l=e[s],d=l===void 0||a(l,s,e);if(d!==!0)throw new I("option "+s+" must be "+d,I.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new I("Unknown option "+s,I.ERR_BAD_OPTION)}}const Fr={assertOptions:t_,validators:Vr},Pe=Fr.validators;class He{constructor(t){this.defaults=t,this.interceptors={request:new Bl,response:new Bl}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
19
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ze(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Fr.assertOptions(r,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:Fr.assertOptions(i,{encode:Pe.function,serialize:Pe.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&w.merge(s.common,s[n.method]);s&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=$.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let u,m=0,g;if(!d){const h=[Dl.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Dl.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ze(this.defaults,t);const n=Nl(t.baseURL,t.url);return xl(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){He.prototype[t]=function(n,r){return this.request(ze(r||{},{method:t,url:n,data:(r||{}).data}))}}),w.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,l){return this.request(ze(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}He.prototype[t]=n(),He.prototype[t+"Form"]=n(!0)});class Ar{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new st(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ar(function(i){t=i}),cancel:t}}}function n_(e){return function(n){return e.apply(null,n)}}function o_(e){return w.isObject(e)&&e.isAxiosError===!0}const Pr={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(Pr).forEach(([e,t])=>{Pr[t]=e});function zl(e){const t=new He(e),n=sl(He.prototype.request,t);return w.extend(n,He.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return zl(ze(e,i))},n}const W=zl(xt);W.Axios=He,W.CanceledError=st,W.CancelToken=Ar,W.isCancel=Tl,W.VERSION=jl,W.toFormData=yn,W.AxiosError=I,W.Cancel=W.CanceledError,W.all=function(t){return Promise.all(t)},W.spread=n_,W.isAxiosError=o_,W.mergeConfig=ze,W.AxiosHeaders=$,W.formToJSON=e=>El(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Rl.getAdapter,W.HttpStatusCode=Pr,W.default=W;const r_={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[oe,D1],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("upload_form.no_files_to_upload"):this.this.getMessage("upload_form.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(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return this.formatSize(e[1])+"/"+this.formatSize(e[0])},totalSize(){let e=0;for(let t=0;t<this.listOfFiles.length;t++)e=e+this.listOfFiles[t].file.size;return e},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("upload_form.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(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[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 nt(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 t=!0;for(let n=0,r=e.dataTransfer.items.length;n<r;++n)if(e.dataTransfer.items[n].kind!=="file"){t=!1;break}t&&(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 t=0;t<e.length;t++){const n={file:e[t],progress:null,uploadedBytes:0};if(e[t].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("upload_form.system_message.file_size_too_large",e[t].name,e[t].size));continue}if(!this.allowedFileExtensions.includes(nt(e[t].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("upload_form.system_message.not_allowed_file_type",e[t].name,nt(e[t].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(r=>this.compareFiles(r.file,e[t]))){this.systemMessages.push(this.getMessage("upload_form.system_message.duplicate_file",e[t].name,nt(e[t].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(n);else{e.length>1&&this.systemMessages.push(this.getMessage("upload_form.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,t){return e.name===t.name&&e.lastModified===t.lastModified&&e.size===t.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("upload_form.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),t=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([r,i])=>t.append(r,i)),this.enableComment&&t.append("comment",this.comment);const n=[];this.listOfFiles.forEach(r=>{n.push(this.uploadSingleFile(e,r,t))}),Promise.allSettled(n).then(r=>{const i=r.filter(s=>s.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("upload_form.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("upload_form.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let e={};e.listOfFiles=this.listOfFiles,e.type="upload",e.comment=this.comment,this.$emit("click",e,this.showMessage)}},onUploadProgress(e,t){e.lengthComputable?(t.progress=e.loaded/e.total*100,t.uploadedBytes=e.loaded):(t.progress=null,t.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(e,t,n){return t.abortController=new AbortController,n.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",t.file),W.post(e,n,{signal:t.abortController.signal,onUploadProgress:r=>this.onUploadProgress(r,t)}).then(r=>(this.$emit("upload-file-success",t),r)).then(r=>{const i=this.listOfFiles.indexOf(t);return i!==-1&&this.listOfFiles.splice(i,1),r}).catch(r=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(r),t.error=!0,new Error})},showMessage(e){e===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("upload_form.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("upload_form.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},i_={key:0},s_={key:1,class:"flex-container vertical"},a_={key:0,class:"flex-container vertical list-files-wrapper"},l_={key:0,class:"list-of-files total-files"},c_={class:"flex-container no-flex"},d_=["title"],u_={key:0,class:"progressbar"},m_=["value","title"],f_=o.createElementVNode("hr",null,null,-1),h_={class:"flex-container vertical list-files-wrapper"},p_={class:"list-of-files"},g_=["title","onClick"],y_={key:0,class:"progressbar"},b_=["value","title"],k_=["title"],C_=o.createElementVNode("hr",null,null,-1),w_={class:"upload-conditions"},x_={class:"small"},B_=["title"],__={key:0,class:"list-of-file-extensions"},E_={class:"flex-container vertical no-gap"},S_=["disabled"],T_={key:0},O_={key:1},N_={class:"button-wrapper no-flex"},V_=["disabled"],F_={key:0},A_={key:1},P_={key:0,class:"progressbar"},L_=["value","title"];function I_(e,t,n,r,i,s){const a=U,l=bt,d=z,c=X;return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.advancedMode?(o.openBlock(),o.createElementBlock("fieldset",{key:0,class:o.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadlineFieldset?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):o.createCommentVNode("",!0),s.systemMessageStatus&&s.allSystemMessages.length?(o.openBlock(),o.createBlock(l,{key:1,iconClose:{show:!1},validationStatus:s.systemMessageStatus,systemMessage:s.allSystemMessages.length===1?s.allSystemMessages[0]:e.getMessage("upload_form.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[s.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",i_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.allSystemMessages,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m},o.toDisplayString(u),1))),128))])):o.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:["box flex-container vertical",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0)),[i.listOfFiles.length?(o.openBlock(),o.createElementBlock("div",s_,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",a_,[o.createVNode(a,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",l_,[o.createElementVNode("li",c_,[o.createElementVNode("a",{href:"#",title:e.getMessage("upload_form.labeltext.remove_all_files_from_list"),onClick:t[0]||(t[0]=o.withModifiers((...u)=>s.cancelUpload&&s.cancelUpload(...u),["prevent"]))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,d_),o.createElementVNode("span",null,[o.createTextVNode(o.toDisplayString(i.listOfFiles.length)+" ",1),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.labeltext.file_uploading")),1)],64))]),o.createElementVNode("small",{class:o.normalizeClass(["text-align-right",{error:n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize}])}," ("+o.toDisplayString(s.formatSize(s.totalSize))+") ",3),i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",u_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,m_)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),f_])):o.createCommentVNode("",!0),o.createElementVNode("div",h_,[o.createVNode(a,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",p_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listOfFiles,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m,class:"flex-container no-flex"},[o.createElementVNode("a",{href:"#",title:e.getMessage("upload_form.labeltext.remove_file_from_list",u.file.name),onClick:o.withModifiers(g=>s.removeFile(m),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,g_),o.createElementVNode("span",{class:o.normalizeClass(["text-align-right",u.allowedType?"allowed":"not-allowed",{error:u.error}])},[o.createTextVNode(o.toDisplayString(u.file.name)+" ",1),o.createElementVNode("small",null,"("+o.toDisplayString(s.formatSize(u.file.size))+")",1)],2),i.uploadInitiated&&!u.error?(o.openBlock(),o.createElementBlock("span",y_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(u.progress)),1),o.createElementVNode("progress",{max:"100",value:u.progress,title:s.formatSize(u.uploadedBytes)+"/"+s.formatSize(u.file.size)},null,8,b_)])):o.createCommentVNode("",!0)]))),128))]),s.failedUpload?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...u)=>s.cancel&&s.cancel(...u),["prevent"])),title:e.getMessage("upload_form.all_files_will_be_removed")},o.toDisplayString(e.getMessage("upload_form.reset_upload")),9,k_)):o.createCommentVNode("",!0),C_])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.allowMultipleFileUploads?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineTextNoFilesToUpload),1)]),_:1},16)):o.createCommentVNode("",!0)],64)),o.createElementVNode("div",w_,[n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.select_additional_files")),1)]),_:1},16)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1},n.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",x_,[n.maxTotalUploadSize>0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",{class:o.normalizeClass({error:s.totalSize>n.maxTotalUploadSize})},o.toDisplayString(e.getMessage("upload_form.max_total_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:s.totalSize>n.maxTotalUploadSize}])},o.toDisplayString(s.formatSize(n.maxTotalUploadSize)),3)],64)):o.createCommentVNode("",!0),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileSize})},o.toDisplayString(e.getMessage("upload_form.max_file_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},o.toDisplayString(s.formatSize(n.maxFileUploadSize)),3),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(e.getMessage("upload_form.allowed_file_types")),3),o.createElementVNode("dd",null,[o.createElementVNode("a",{href:"#",onClick:t[2]||(t[2]=o.withModifiers(u=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:e.getMessage("upload_form.tooltip.toggle_list_of_allowed_file_types")},[o.createVNode(d,{iconClass:i.showListOfFileExtensions?n.iconInvisible.iconClass:n.iconVisible.iconClass,type:i.showListOfFileExtensions?n.iconInvisible.iconType:n.iconVisible.iconType},null,8,["iconClass","type"])],8,B_),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",__,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.allowedFileExtensions,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m,class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(u),3))),128))])):o.createCommentVNode("",!0)]),_:1},8,["name"])])])]),o.createElementVNode("div",E_,[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:t[3]||(t[3]=u=>s.selectFiles())},[o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",T_,o.toDisplayString(e.getMessage("upload_form.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",O_,o.toDisplayString(e.getMessage("upload_form.labeltext.select_file")),1))],10,S_),n.enableDragAndDrop?(o.openBlock(),o.createElementBlock("p",{key:0,class:o.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.additional")),1)],64)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("upload_form.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("upload_form.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=u=>i.comment=u),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("upload_form.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",N_,[o.createElementVNode("button",{class:o.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize||i.uploadInitiated,onClick:t[5]||(t[5]=(...u)=>s.uploadFiles&&s.uploadFiles(...u))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconUpload)),null,16),i.listOfFiles.length===1||!n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",F_,o.toDisplayString(e.getMessage("upload_form.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",A_,o.toDisplayString(e.getMessage("upload_form.buttontext.upload_files")),1))],10,V_),o.createElementVNode("button",{class:o.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:t[6]||(t[6]=(...u)=>s.cancel&&s.cancel(...u))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconCancel)),null,16),o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.buttontext.cancel")),1)],2)])],2)):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:1,href:"#",onClick:t[7]||(t[7]=o.withModifiers((...u)=>s.selectFiles&&s.selectFiles(...u),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0)),[i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",P_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,L_)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[n.enableDragAndDrop?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.drag_and_drop_file_here")),1),o.createVNode(d,{iconClass:n.iconDragAndDrop.iconClass,type:n.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[s.fileTypeImage?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.select_image")),1),o.createVNode(d,{iconClass:n.iconImage.iconClass,type:n.iconImage.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.select_file")),1),o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("upload_form.max_upload_size"))+" "+o.toDisplayString(s.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("upload_form.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("upload_form.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:s.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const M_=V(r_,[["render",I_]]),R_={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}}},D_=["id"],j_=["id"];function q_(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-width-limitation-wrapper",{sticky:n.sticky}]),ref:"width-limitation-wrapper"},[n.useInnerSection?(o.openBlock(),o.createElementBlock("section",{key:0,class:o.normalizeClass(s.setInnerClass),id:n.anchorId},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(s.setInnerClass)},[o.renderSlot(e.$slots,"default")],2))],10,D_)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,j_)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const z_=V(R_,[["render",q_]]),H_={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"]}}},U_={key:1,class:"flex-container"},W_={class:"flex-container vertical"};function G_(e,t,n,r,i,s){const a=qa,l=Ia,d=va;return s.contactFormOnly?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.basicForm)),null,16)):(o.openBlock(),o.createElementBlock("div",U_,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",W_,[n.cmdAddressData?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:0},n.cmdAddressData)),null,16)):o.createCommentVNode("",!0),n.cmdGoogleMaps?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:1},n.cmdGoogleMaps)),null,16)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"additional-info")])]))}const J_=V(H_,[["render",G_]]),K_={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},Z_={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function X_(e,t,n,r,i,s){const a=Ua,l=Ja;return o.openBlock(),o.createElementBlock("div",Z_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(d)),{default:o.withCtx(u=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.boxes,(m,g)=>(o.openBlock(),o.createBlock(a,o.mergeProps({"use-slots":["box-body"],key:g},m,{rowView:u.rowView}),{default:o.withCtx(()=>[o.createTextVNode(" box "+o.toDisplayString(m),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),o.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const Q_=V(K_,[["render",X_]]),Y_={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},$_={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function v_(e,t,n,r,i,s){const a=hr;return o.openBlock(),o.createElementBlock("div",$_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:d},[o.createVNode(a,{links:l.links,orientation:l.orientation,largeIcons:l.largeIcons,cmdHeadline:l.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),o.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const eE=V(Y_,[["render",v_]]),tE={mounted(e){if(e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="A")e.focus();else{const t=e.querySelector("input, select, textarea");t?t.focus():console.warn("No input-element for focus-directive on element "+e.tagName+" found!")}}},nE={mounted(e,t){if(t.value&&typeof t.value=="string"){let n=/[^\d]/g,r=t.value.replace(/^\s*\+/,"00");e.href="tel:"+r.replace(n,"")}}};var oE=Object.defineProperty,rE=(e,t,n)=>t in e?oE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xn=(e,t,n)=>rE(e,typeof t!="symbol"?t+"":t,n);const _t=/^[a-z0-9]+(-[a-z0-9]+)*$/,Bn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!_n(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!_n(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!_n(l,n)?null:l}return null},_n=(e,t)=>e?!!((e.provider===""||e.provider.match(_t))&&(t&&e.prefix===""||e.prefix.match(_t))&&e.name.match(_t)):!1,Hl=Object.freeze({left:0,top:0,width:16,height:16}),En=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sn=Object.freeze({...Hl,...En}),Lr=Object.freeze({...Sn,body:"",hidden:!1});function iE(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ul(e,t){const n=iE(e,t);for(const r in Lr)r in En?r in e&&!(r in n)&&(n[r]=En[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function sE(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function aE(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Ul(r[l]||i[l],s)}return a(t),n.forEach(a),Ul(e,s)}function Wl(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=sE(e);for(const i in r){const s=r[i];s&&(t(i,aE(e,i,s)),n.push(i))}return n}const lE={provider:"",aliases:{},not_found:{},...Hl};function Ir(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Gl(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ir(e,lE))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(_t)||typeof s.body!="string"||!Ir(s,Lr))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(_t)||typeof a!="string"||!n[a]&&!r[a]||!Ir(s,Lr))return null}return t}const Jl=Object.create(null);function cE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ue(e,t){const n=Jl[e]||(Jl[e]=Object.create(null));return n[t]||(n[t]=cE(e,t))}function Mr(e,t){return Gl(t)?Wl(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function dE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Et=!1;function Kl(e){return typeof e=="boolean"&&(Et=e),Et}function uE(e){const t=typeof e=="string"?Bn(e,!0,Et):e;if(t){const n=Ue(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function mE(e,t){const n=Bn(e,!0,Et);if(!n)return!1;const r=Ue(n.provider,n.prefix);return dE(r,n.name,t)}function Zl(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Et&&!t&&!e.prefix){let i=!1;return Gl(e)&&(e.prefix="",Wl(e,(s,a)=>{a&&mE(s,a)&&(i=!0)})),i}const n=e.prefix;if(!_n({provider:t,prefix:n,name:"a"}))return!1;const r=Ue(t,n);return!!Mr(r,e)}const Xl=Object.freeze({width:null,height:null}),Ql=Object.freeze({...Xl,...En}),fE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Yl(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(fE);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=hE.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function pE(e,t){const n={...Sn,...e},r={...Ql,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=Yl(m,d/c)):(u=a==="auto"?d:a,m=l===null?Yl(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const gE=/\sid="(\S+)"/g,yE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bE=0;function kE(e,t=yE){const n=[];let r;for(;r=gE.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(bE++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Rr=Object.create(null);function CE(e,t){Rr[e]=t}function Dr(e){return Rr[e]||Rr[""]}function jr(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 qr=Object.create(null),Tn=["https://api.simplesvg.com","https://api.unisvg.com"],zr=[];for(;Tn.length>0;)Tn.length===1||Math.random()>.5?zr.push(Tn.shift()):zr.push(Tn.pop());qr[""]=jr({resources:["https://api.iconify.design"].concat(zr)});function wE(e,t){const n=jr(t);return n===null?!1:(qr[e]=n,!0)}function Hr(e){return qr[e]}let $l=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function xE(e,t){const n=Hr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function BE(e){return e===404}const _E=(e,t,n)=>{const r=[],i=xE(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function EE(e){if(typeof e=="string"){const t=Hr(e);if(t)return t.path}return"/"}const SE=(e,t,n)=>{if(!$l){n("abort",424);return}let r=EE(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;$l(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(BE(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},TE={prepare:_E,send:SE};function OE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Ue(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function vl(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function NE(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||vl([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let VE=0;function FE(e,t,n){const r=VE++,i=vl.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function AE(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Bn(i,t,n):i;s&&r.push(s)}),r}var PE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function LE(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ec(e){const t={...PE,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=LE(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function tc(){}const Ur=Object.create(null);function IE(e){if(!Ur[e]){const t=Hr(e);if(!t)return;const n=ec(t),r={config:t,redundancy:n};Ur[e]=r}return Ur[e]}function ME(e,t,n){let r,i;if(typeof e=="string"){const s=Dr(e);if(!s)return n(void 0,424),tc;i=s.send;const a=IE(e);a&&(r=a.redundancy)}else{const s=jr(e);if(s){r=ec(s);const a=e.resources?e.resources[0]:"",l=Dr(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),tc):r.query(t,i,n)().abort}const nc="iconify2",St="iconify",oc=St+"-count",rc=St+"-version",ic=36e5,RE=168;function Wr(e,t){try{return e.getItem(t)}catch{}}function Gr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sc(e,t){try{e.removeItem(t)}catch{}}function Jr(e,t){return Gr(e,oc,t.toString())}function Kr(e){return parseInt(Wr(e,oc))||0}const On={local:!0,session:!0},ac={local:new Set,session:new Set};let Zr=!1;function DE(e){Zr=e}let Nn=typeof window>"u"?{}:window;function lc(e){const t=e+"Storage";try{if(Nn&&Nn[t]&&typeof Nn[t].length=="number")return Nn[t]}catch{}On[e]=!1}function cc(e,t){const n=lc(e);if(!n)return;const r=Wr(n,rc);if(r!==nc){if(r){const l=Kr(n);for(let d=0;d<l;d++)sc(n,St+d.toString())}Gr(n,rc,nc),Jr(n,0);return}const i=Math.floor(Date.now()/ic)-RE,s=l=>{const d=St+l.toString(),c=Wr(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}sc(n,d)}};let a=Kr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Jr(n,a)):ac[e].add(l))}function dc(){if(!Zr){DE(!0);for(const e in On)cc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ue(r,i);if(!Mr(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function jE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in On)cc(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function qE(e,t){Zr||dc();function n(r){let i;if(!On[r]||!(i=lc(r)))return;const s=ac[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Kr(i),!Jr(i,a+1))return;const l={cached:Math.floor(Date.now()/ic),provider:e.provider,data:t};return Gr(i,St+a.toString(),JSON.stringify(l))}t.lastModified&&!jE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function uc(){}function zE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,NE(e)}))}function HE(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Dr(n))||s.prepare(n,r,i).forEach(a=>{ME(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Mr(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),qE(e,l)}catch(c){console.error(c)}zE(e)})})}))}const UE=(e,t)=>{const n=AE(e,!0,Kl()),r=OE(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,uc)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Ue(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Ue(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&HE(d,i[c][u])}),t?FE(t,r,s):uc};function WE(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in Xl?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const GE=/[\s,]+/;function JE(e,t){t.split(GE).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function KE(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ZE(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function XE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function QE(e){return'url("data:image/svg+xml,'+XE(e)+'")'}const mc={...Ql,inline:!1},YE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},$E={display:"inline-block"},Xr={backgroundColor:"currentColor"},fc={backgroundColor:"transparent"},hc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pc={webkitMask:Xr,mask:Xr,background:fc};for(const e in pc){const t=pc[e];for(const n in hc)t[e+n]=hc[n]}const Vn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Vn[e+"-flip"]=t,Vn[e.slice(0,1)+"-flip"]=t,Vn[e+"Flip"]=t});function gc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yc=(e,t)=>{const n=WE(mc,t),r={...YE},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&JE(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=KE(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Vn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):mc[y]===void 0&&(r[y]=p)}}}const d=pE(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=kE(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=ZE(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":QE(h),width:gc(c.width),height:gc(c.height),...$E,...f?Xr:fc,...l},o.h("span",r)};if(Kl(!0),CE("",TE),typeof document<"u"&&typeof window<"u"){dc();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Zl(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;wE(n,i)||console.error(r)}catch{console.error(r)}}}}const vE={...Sn,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Bn(e,!1,!0))===null)return this.abortLoading(),null;const r=uE(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:UE([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return yc(vE,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),yc({...Sn,...t.data},n)}});function eS(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function tS(){return"cmd-"+eS()}const nS={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||tS()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Qr=class Ho{constructor(t){xn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Ho.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Ho.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Ho.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};xn(Qr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),xn(Qr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),xn(Qr,"PATTERN_MESSAGE",/^.{2,500}$/);const oS=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(rS,{...e,show:!0}).mount(t)},rS=o.defineComponent({name:"CmdFancyBox",mixins:[nS],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.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 iS(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 iS(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Zl({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
|
19
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ze(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Fr.assertOptions(r,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:Fr.assertOptions(i,{encode:Pe.function,serialize:Pe.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&w.merge(s.common,s[n.method]);s&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=$.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let u,m=0,g;if(!d){const h=[Dl.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Dl.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ze(this.defaults,t);const n=Nl(t.baseURL,t.url);return xl(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){He.prototype[t]=function(n,r){return this.request(ze(r||{},{method:t,url:n,data:(r||{}).data}))}}),w.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,l){return this.request(ze(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}He.prototype[t]=n(),He.prototype[t+"Form"]=n(!0)});class Ar{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new st(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ar(function(i){t=i}),cancel:t}}}function n_(e){return function(n){return e.apply(null,n)}}function o_(e){return w.isObject(e)&&e.isAxiosError===!0}const Pr={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(Pr).forEach(([e,t])=>{Pr[t]=e});function zl(e){const t=new He(e),n=sl(He.prototype.request,t);return w.extend(n,He.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return zl(ze(e,i))},n}const W=zl(xt);W.Axios=He,W.CanceledError=st,W.CancelToken=Ar,W.isCancel=Tl,W.VERSION=jl,W.toFormData=yn,W.AxiosError=I,W.Cancel=W.CanceledError,W.all=function(t){return Promise.all(t)},W.spread=n_,W.isAxiosError=o_,W.mergeConfig=ze,W.AxiosHeaders=$,W.formToJSON=e=>El(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Rl.getAdapter,W.HttpStatusCode=Pr,W.default=W;const r_={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[oe,D1],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("upload_form.no_files_to_upload"):this.this.getMessage("upload_form.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(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return this.formatSize(e[1])+"/"+this.formatSize(e[0])},totalSize(){let e=0;for(let t=0;t<this.listOfFiles.length;t++)e=e+this.listOfFiles[t].file.size;return e},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("upload_form.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(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[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 nt(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 t=!0;for(let n=0,r=e.dataTransfer.items.length;n<r;++n)if(e.dataTransfer.items[n].kind!=="file"){t=!1;break}t&&(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 t=0;t<e.length;t++){const n={file:e[t],progress:null,uploadedBytes:0};if(e[t].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("upload_form.system_message.file_size_too_large",e[t].name,e[t].size));continue}if(!this.allowedFileExtensions.includes(nt(e[t].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("upload_form.system_message.not_allowed_file_type",e[t].name,nt(e[t].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(r=>this.compareFiles(r.file,e[t]))){this.systemMessages.push(this.getMessage("upload_form.system_message.duplicate_file",e[t].name,nt(e[t].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(n);else{e.length>1&&this.systemMessages.push(this.getMessage("upload_form.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,t){return e.name===t.name&&e.lastModified===t.lastModified&&e.size===t.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("upload_form.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),t=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([r,i])=>t.append(r,i)),this.enableComment&&t.append("comment",this.comment);const n=[];this.listOfFiles.forEach(r=>{n.push(this.uploadSingleFile(e,r,t))}),Promise.allSettled(n).then(r=>{const i=r.filter(s=>s.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("upload_form.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("upload_form.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let e={};e.listOfFiles=this.listOfFiles,e.type="upload",e.comment=this.comment,this.$emit("click",e,this.showMessage)}},onUploadProgress(e,t){e.lengthComputable?(t.progress=e.loaded/e.total*100,t.uploadedBytes=e.loaded):(t.progress=null,t.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(e,t,n){return t.abortController=new AbortController,n.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",t.file),W.post(e,n,{signal:t.abortController.signal,onUploadProgress:r=>this.onUploadProgress(r,t)}).then(r=>(this.$emit("upload-file-success",t),r)).then(r=>{const i=this.listOfFiles.indexOf(t);return i!==-1&&this.listOfFiles.splice(i,1),r}).catch(r=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(r),t.error=!0,new Error})},showMessage(e){e===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("upload_form.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("upload_form.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},i_={key:0},s_={key:1,class:"flex-container vertical"},a_={key:0,class:"flex-container vertical list-files-wrapper"},l_={key:0,class:"list-of-files total-files"},c_={class:"flex-container no-flex"},d_=["title"],u_={key:0,class:"progressbar"},m_=["value","title"],f_=o.createElementVNode("hr",null,null,-1),h_={class:"flex-container vertical list-files-wrapper"},p_={class:"list-of-files"},g_=["title","onClick"],y_={key:0,class:"progressbar"},b_=["value","title"],k_=["title"],C_=o.createElementVNode("hr",null,null,-1),w_={class:"upload-conditions"},x_={class:"small"},B_=["title"],__={key:0,class:"list-of-file-extensions"},E_={class:"flex-container vertical no-gap"},S_=["disabled"],T_={key:0},O_={key:1},N_={class:"button-wrapper no-flex"},V_=["disabled"],F_={key:0},A_={key:1},P_={key:0,class:"progressbar"},L_=["value","title"];function I_(e,t,n,r,i,s){const a=U,l=bt,d=z,c=X;return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.advancedMode?(o.openBlock(),o.createElementBlock("fieldset",{key:0,class:o.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadlineFieldset?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):o.createCommentVNode("",!0),s.systemMessageStatus&&s.allSystemMessages.length?(o.openBlock(),o.createBlock(l,{key:1,iconClose:{show:!1},validationStatus:s.systemMessageStatus,systemMessage:s.allSystemMessages.length===1?s.allSystemMessages[0]:e.getMessage("upload_form.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[s.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",i_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.allSystemMessages,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m},o.toDisplayString(u),1))),128))])):o.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:["box flex-container vertical",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0)),[i.listOfFiles.length?(o.openBlock(),o.createElementBlock("div",s_,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",a_,[o.createVNode(a,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",l_,[o.createElementVNode("li",c_,[o.createElementVNode("a",{href:"#",title:e.getMessage("upload_form.labeltext.remove_all_files_from_list"),onClick:t[0]||(t[0]=o.withModifiers((...u)=>s.cancelUpload&&s.cancelUpload(...u),["prevent"]))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,d_),o.createElementVNode("span",null,[o.createTextVNode(o.toDisplayString(i.listOfFiles.length)+" ",1),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.labeltext.file_uploading")),1)],64))]),o.createElementVNode("small",{class:o.normalizeClass(["text-align-right",{error:n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize}])}," ("+o.toDisplayString(s.formatSize(s.totalSize))+") ",3),i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",u_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,m_)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),f_])):o.createCommentVNode("",!0),o.createElementVNode("div",h_,[o.createVNode(a,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",p_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listOfFiles,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m,class:"flex-container no-flex"},[o.createElementVNode("a",{href:"#",title:e.getMessage("upload_form.labeltext.remove_file_from_list",u.file.name),onClick:o.withModifiers(g=>s.removeFile(m),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,g_),o.createElementVNode("span",{class:o.normalizeClass(["text-align-right",u.allowedType?"allowed":"not-allowed",{error:u.error}])},[o.createTextVNode(o.toDisplayString(u.file.name)+" ",1),o.createElementVNode("small",null,"("+o.toDisplayString(s.formatSize(u.file.size))+")",1)],2),i.uploadInitiated&&!u.error?(o.openBlock(),o.createElementBlock("span",y_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(u.progress)),1),o.createElementVNode("progress",{max:"100",value:u.progress,title:s.formatSize(u.uploadedBytes)+"/"+s.formatSize(u.file.size)},null,8,b_)])):o.createCommentVNode("",!0)]))),128))]),s.failedUpload?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...u)=>s.cancel&&s.cancel(...u),["prevent"])),title:e.getMessage("upload_form.all_files_will_be_removed")},o.toDisplayString(e.getMessage("upload_form.reset_upload")),9,k_)):o.createCommentVNode("",!0),C_])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.allowMultipleFileUploads?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineTextNoFilesToUpload),1)]),_:1},16)):o.createCommentVNode("",!0)],64)),o.createElementVNode("div",w_,[n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.select_additional_files")),1)]),_:1},16)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1},n.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",x_,[n.maxTotalUploadSize>0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",{class:o.normalizeClass({error:s.totalSize>n.maxTotalUploadSize})},o.toDisplayString(e.getMessage("upload_form.max_total_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:s.totalSize>n.maxTotalUploadSize}])},o.toDisplayString(s.formatSize(n.maxTotalUploadSize)),3)],64)):o.createCommentVNode("",!0),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileSize})},o.toDisplayString(e.getMessage("upload_form.max_file_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},o.toDisplayString(s.formatSize(n.maxFileUploadSize)),3),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(e.getMessage("upload_form.allowed_file_types")),3),o.createElementVNode("dd",null,[o.createElementVNode("a",{href:"#",onClick:t[2]||(t[2]=o.withModifiers(u=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:e.getMessage("upload_form.tooltip.toggle_list_of_allowed_file_types")},[o.createVNode(d,{iconClass:i.showListOfFileExtensions?n.iconInvisible.iconClass:n.iconVisible.iconClass,type:i.showListOfFileExtensions?n.iconInvisible.iconType:n.iconVisible.iconType},null,8,["iconClass","type"])],8,B_),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",__,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.allowedFileExtensions,(u,m)=>(o.openBlock(),o.createElementBlock("li",{key:m,class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(u),3))),128))])):o.createCommentVNode("",!0)]),_:1},8,["name"])])])]),o.createElementVNode("div",E_,[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:t[3]||(t[3]=u=>s.selectFiles())},[o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",T_,o.toDisplayString(e.getMessage("upload_form.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",O_,o.toDisplayString(e.getMessage("upload_form.labeltext.select_file")),1))],10,S_),n.enableDragAndDrop?(o.openBlock(),o.createElementBlock("p",{key:0,class:o.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.additional")),1)],64)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("upload_form.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("upload_form.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("upload_form.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=u=>i.comment=u),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("upload_form.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",N_,[o.createElementVNode("button",{class:o.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&s.totalSize>n.maxTotalUploadSize||i.uploadInitiated,onClick:t[5]||(t[5]=(...u)=>s.uploadFiles&&s.uploadFiles(...u))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconUpload)),null,16),i.listOfFiles.length===1||!n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",F_,o.toDisplayString(e.getMessage("upload_form.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",A_,o.toDisplayString(e.getMessage("upload_form.buttontext.upload_files")),1))],10,V_),o.createElementVNode("button",{class:o.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:t[6]||(t[6]=(...u)=>s.cancel&&s.cancel(...u))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconCancel)),null,16),o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.buttontext.cancel")),1)],2)])],2)):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:1,href:"#",onClick:t[7]||(t[7]=o.withModifiers((...u)=>s.selectFiles&&s.selectFiles(...u),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0)),[i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",P_,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,L_)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[n.enableDragAndDrop?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.drag_and_drop_file_here")),1),o.createVNode(d,{iconClass:n.iconDragAndDrop.iconClass,type:n.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[s.fileTypeImage?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.select_image")),1),o.createVNode(d,{iconClass:n.iconImage.iconClass,type:n.iconImage.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("upload_form.select_file")),1),o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("upload_form.max_upload_size"))+" "+o.toDisplayString(s.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("upload_form.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("upload_form.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:s.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const M_=V(r_,[["render",I_]]),R_={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}}},D_=["id"],j_=["id"];function q_(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-width-limitation-wrapper",{sticky:n.sticky}]),ref:"width-limitation-wrapper"},[n.useInnerSection?(o.openBlock(),o.createElementBlock("section",{key:0,class:o.normalizeClass(s.setInnerClass),id:n.anchorId},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(s.setInnerClass)},[o.renderSlot(e.$slots,"default")],2))],10,D_)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,j_)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const z_=V(R_,[["render",q_]]),H_={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"]}}},U_={key:1,class:"flex-container"},W_={class:"flex-container vertical"};function G_(e,t,n,r,i,s){const a=qa,l=Ia,d=va;return s.contactFormOnly?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.basicForm)),null,16)):(o.openBlock(),o.createElementBlock("div",U_,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",W_,[n.cmdAddressData?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:0},n.cmdAddressData)),null,16)):o.createCommentVNode("",!0),n.cmdGoogleMaps?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:1},n.cmdGoogleMaps)),null,16)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"additional-info")])]))}const J_=V(H_,[["render",G_]]),K_={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},Z_={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function X_(e,t,n,r,i,s){const a=Ua,l=Ja;return o.openBlock(),o.createElementBlock("div",Z_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(d)),{default:o.withCtx(u=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.boxes,(m,g)=>(o.openBlock(),o.createBlock(a,o.mergeProps({"use-slots":["box-body"],key:g},m,{rowView:u.rowView}),{default:o.withCtx(()=>[o.createTextVNode(" box "+o.toDisplayString(m),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),o.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const Q_=V(K_,[["render",X_]]),Y_={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},$_={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function v_(e,t,n,r,i,s){const a=hr;return o.openBlock(),o.createElementBlock("div",$_,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(l,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:d},[o.createVNode(a,{links:l.links,orientation:l.orientation,largeIcons:l.largeIcons,cmdHeadline:l.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),o.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const eE=V(Y_,[["render",v_]]),tE={mounted(e){if(e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="A")e.focus();else{const t=e.querySelector("input, select, textarea");t?t.focus():console.warn("No input-element for focus-directive on element "+e.tagName+" found!")}}},nE={mounted(e,t){if(t.value&&typeof t.value=="string"){let n=/[^\d]/g,r=t.value.replace(/^\s*\+/,"00");e.href="tel:"+r.replace(n,"")}}};var oE=Object.defineProperty,rE=(e,t,n)=>t in e?oE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xn=(e,t,n)=>rE(e,typeof t!="symbol"?t+"":t,n);const _t=/^[a-z0-9]+(-[a-z0-9]+)*$/,Bn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!_n(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!_n(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!_n(l,n)?null:l}return null},_n=(e,t)=>e?!!((e.provider===""||e.provider.match(_t))&&(t&&e.prefix===""||e.prefix.match(_t))&&e.name.match(_t)):!1,Hl=Object.freeze({left:0,top:0,width:16,height:16}),En=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sn=Object.freeze({...Hl,...En}),Lr=Object.freeze({...Sn,body:"",hidden:!1});function iE(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ul(e,t){const n=iE(e,t);for(const r in Lr)r in En?r in e&&!(r in n)&&(n[r]=En[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function sE(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function aE(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Ul(r[l]||i[l],s)}return a(t),n.forEach(a),Ul(e,s)}function Wl(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=sE(e);for(const i in r){const s=r[i];s&&(t(i,aE(e,i,s)),n.push(i))}return n}const lE={provider:"",aliases:{},not_found:{},...Hl};function Ir(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Gl(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ir(e,lE))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(_t)||typeof s.body!="string"||!Ir(s,Lr))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(_t)||typeof a!="string"||!n[a]&&!r[a]||!Ir(s,Lr))return null}return t}const Jl=Object.create(null);function cE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ue(e,t){const n=Jl[e]||(Jl[e]=Object.create(null));return n[t]||(n[t]=cE(e,t))}function Mr(e,t){return Gl(t)?Wl(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function dE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Et=!1;function Kl(e){return typeof e=="boolean"&&(Et=e),Et}function uE(e){const t=typeof e=="string"?Bn(e,!0,Et):e;if(t){const n=Ue(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function mE(e,t){const n=Bn(e,!0,Et);if(!n)return!1;const r=Ue(n.provider,n.prefix);return dE(r,n.name,t)}function Zl(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Et&&!t&&!e.prefix){let i=!1;return Gl(e)&&(e.prefix="",Wl(e,(s,a)=>{a&&mE(s,a)&&(i=!0)})),i}const n=e.prefix;if(!_n({provider:t,prefix:n,name:"a"}))return!1;const r=Ue(t,n);return!!Mr(r,e)}const Xl=Object.freeze({width:null,height:null}),Ql=Object.freeze({...Xl,...En}),fE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Yl(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(fE);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=hE.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function pE(e,t){const n={...Sn,...e},r={...Ql,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=Yl(m,d/c)):(u=a==="auto"?d:a,m=l===null?Yl(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const gE=/\sid="(\S+)"/g,yE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bE=0;function kE(e,t=yE){const n=[];let r;for(;r=gE.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(bE++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Rr=Object.create(null);function CE(e,t){Rr[e]=t}function Dr(e){return Rr[e]||Rr[""]}function jr(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 qr=Object.create(null),Tn=["https://api.simplesvg.com","https://api.unisvg.com"],zr=[];for(;Tn.length>0;)Tn.length===1||Math.random()>.5?zr.push(Tn.shift()):zr.push(Tn.pop());qr[""]=jr({resources:["https://api.iconify.design"].concat(zr)});function wE(e,t){const n=jr(t);return n===null?!1:(qr[e]=n,!0)}function Hr(e){return qr[e]}let $l=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function xE(e,t){const n=Hr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function BE(e){return e===404}const _E=(e,t,n)=>{const r=[],i=xE(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function EE(e){if(typeof e=="string"){const t=Hr(e);if(t)return t.path}return"/"}const SE=(e,t,n)=>{if(!$l){n("abort",424);return}let r=EE(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;$l(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(BE(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},TE={prepare:_E,send:SE};function OE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Ue(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function vl(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function NE(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||vl([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let VE=0;function FE(e,t,n){const r=VE++,i=vl.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function AE(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Bn(i,t,n):i;s&&r.push(s)}),r}var PE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function LE(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function F(b,S,A){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=A,T();return}if(q){u=A,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(A)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(A,q)=>{F(S,A,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ec(e){const t={...PE,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=LE(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function tc(){}const Ur=Object.create(null);function IE(e){if(!Ur[e]){const t=Hr(e);if(!t)return;const n=ec(t),r={config:t,redundancy:n};Ur[e]=r}return Ur[e]}function ME(e,t,n){let r,i;if(typeof e=="string"){const s=Dr(e);if(!s)return n(void 0,424),tc;i=s.send;const a=IE(e);a&&(r=a.redundancy)}else{const s=jr(e);if(s){r=ec(s);const a=e.resources?e.resources[0]:"",l=Dr(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),tc):r.query(t,i,n)().abort}const nc="iconify2",St="iconify",oc=St+"-count",rc=St+"-version",ic=36e5,RE=168;function Wr(e,t){try{return e.getItem(t)}catch{}}function Gr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sc(e,t){try{e.removeItem(t)}catch{}}function Jr(e,t){return Gr(e,oc,t.toString())}function Kr(e){return parseInt(Wr(e,oc))||0}const On={local:!0,session:!0},ac={local:new Set,session:new Set};let Zr=!1;function DE(e){Zr=e}let Nn=typeof window>"u"?{}:window;function lc(e){const t=e+"Storage";try{if(Nn&&Nn[t]&&typeof Nn[t].length=="number")return Nn[t]}catch{}On[e]=!1}function cc(e,t){const n=lc(e);if(!n)return;const r=Wr(n,rc);if(r!==nc){if(r){const l=Kr(n);for(let d=0;d<l;d++)sc(n,St+d.toString())}Gr(n,rc,nc),Jr(n,0);return}const i=Math.floor(Date.now()/ic)-RE,s=l=>{const d=St+l.toString(),c=Wr(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}sc(n,d)}};let a=Kr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Jr(n,a)):ac[e].add(l))}function dc(){if(!Zr){DE(!0);for(const e in On)cc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ue(r,i);if(!Mr(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function jE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in On)cc(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function qE(e,t){Zr||dc();function n(r){let i;if(!On[r]||!(i=lc(r)))return;const s=ac[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Kr(i),!Jr(i,a+1))return;const l={cached:Math.floor(Date.now()/ic),provider:e.provider,data:t};return Gr(i,St+a.toString(),JSON.stringify(l))}t.lastModified&&!jE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function uc(){}function zE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,NE(e)}))}function HE(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Dr(n))||s.prepare(n,r,i).forEach(a=>{ME(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Mr(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),qE(e,l)}catch(c){console.error(c)}zE(e)})})}))}const UE=(e,t)=>{const n=AE(e,!0,Kl()),r=OE(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,uc)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Ue(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Ue(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&HE(d,i[c][u])}),t?FE(t,r,s):uc};function WE(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in Xl?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const GE=/[\s,]+/;function JE(e,t){t.split(GE).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function KE(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ZE(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function XE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function QE(e){return'url("data:image/svg+xml,'+XE(e)+'")'}const mc={...Ql,inline:!1},YE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},$E={display:"inline-block"},Xr={backgroundColor:"currentColor"},fc={backgroundColor:"transparent"},hc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pc={webkitMask:Xr,mask:Xr,background:fc};for(const e in pc){const t=pc[e];for(const n in hc)t[e+n]=hc[n]}const Vn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Vn[e+"-flip"]=t,Vn[e.slice(0,1)+"-flip"]=t,Vn[e+"Flip"]=t});function gc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yc=(e,t)=>{const n=WE(mc,t),r={...YE},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&JE(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=KE(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Vn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):mc[y]===void 0&&(r[y]=p)}}}const d=pE(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=kE(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=ZE(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":QE(h),width:gc(c.width),height:gc(c.height),...$E,...f?Xr:fc,...l},o.h("span",r)};if(Kl(!0),CE("",TE),typeof document<"u"&&typeof window<"u"){dc();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Zl(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;wE(n,i)||console.error(r)}catch{console.error(r)}}}}const vE={...Sn,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Bn(e,!1,!0))===null)return this.abortLoading(),null;const r=uE(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:UE([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return yc(vE,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),yc({...Sn,...t.data},n)}});function eS(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function tS(){return"cmd-"+eS()}const nS={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||tS()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Qr=class Ho{constructor(t){xn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Ho.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Ho.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Ho.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};xn(Qr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),xn(Qr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),xn(Qr,"PATTERN_MESSAGE",/^.{2,500}$/);const oS=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(rS,{...e,show:!0}).mount(t)},rS=o.defineComponent({name:"CmdFancyBox",mixins:[nS],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.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 iS(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 iS(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Zl({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
|
20
20
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
21
21
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
22
22
|
<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 bc(e,t){return function(){return e.apply(t,arguments)}}const{toString:sS}=Object.prototype,{getPrototypeOf:Yr}=Object,Fn=(e=>t=>{const n=sS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pe=e=>(e=e.toLowerCase(),t=>Fn(t)===e),An=e=>t=>typeof t===e,{isArray:at}=Array,Tt=An("undefined");function aS(e){return e!==null&&!Tt(e)&&e.constructor!==null&&!Tt(e.constructor)&&se(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const kc=pe("ArrayBuffer");function lS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kc(e.buffer),t}const cS=An("string"),se=An("function"),Cc=An("number"),Pn=e=>e!==null&&typeof e=="object",dS=e=>e===!0||e===!1,Ln=e=>{if(Fn(e)!=="object")return!1;const t=Yr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},uS=pe("Date"),mS=pe("File"),fS=pe("Blob"),hS=pe("FileList"),pS=e=>Pn(e)&&se(e.pipe),gS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||se(e.append)&&((t=Fn(e))==="formdata"||t==="object"&&se(e.toString)&&e.toString()==="[object FormData]"))},yS=pe("URLSearchParams"),[bS,kS,CS,wS]=["ReadableStream","Request","Response","Headers"].map(pe),xS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ot(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),at(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function wc(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const xc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Bc=e=>!Tt(e)&&e!==xc;function $r(){const{caseless:e}=Bc(this)&&this||{},t={},n=(r,i)=>{const s=e&&wc(t,i)||i;Ln(t[s])&&Ln(r)?t[s]=$r(t[s],r):Ln(r)?t[s]=$r({},r):at(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ot(arguments[r],n);return t}const BS=(e,t,n,{allOwnKeys:r}={})=>(Ot(t,(i,s)=>{n&&se(i)?e[s]=bc(i,n):e[s]=i},{allOwnKeys:r}),e),_S=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ES=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},SS=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Yr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},TS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},OS=e=>{if(!e)return null;if(at(e))return e;let t=e.length;if(!Cc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},NS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yr(Uint8Array)),VS=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},FS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},AS=pe("HTMLFormElement"),PS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),_c=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),LS=pe("RegExp"),Ec=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ot(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},IS=e=>{Ec(e,(t,n)=>{if(se(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(se(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},MS=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return at(e)?r(e):r(String(e).split(t)),n},RS=()=>{},DS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,vr="abcdefghijklmnopqrstuvwxyz",Sc="0123456789",Tc={DIGIT:Sc,ALPHA:vr,ALPHA_DIGIT:vr+vr.toUpperCase()+Sc},jS=(e=16,t=Tc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function qS(e){return!!(e&&se(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zS=e=>{const t=new Array(10),n=(r,i)=>{if(Pn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=at(r)?[]:{};return Ot(r,(a,l)=>{const d=n(a,i+1);!Tt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},HS=pe("AsyncFunction"),US=e=>e&&(Pn(e)||se(e))&&se(e.then)&&se(e.catch),x={isArray:at,isArrayBuffer:kc,isBuffer:aS,isFormData:gS,isArrayBufferView:lS,isString:cS,isNumber:Cc,isBoolean:dS,isObject:Pn,isPlainObject:Ln,isReadableStream:bS,isRequest:kS,isResponse:CS,isHeaders:wS,isUndefined:Tt,isDate:uS,isFile:mS,isBlob:fS,isRegExp:LS,isFunction:se,isStream:pS,isURLSearchParams:yS,isTypedArray:NS,isFileList:hS,forEach:Ot,merge:$r,extend:BS,trim:xS,stripBOM:_S,inherits:ES,toFlatObject:SS,kindOf:Fn,kindOfTest:pe,endsWith:TS,toArray:OS,forEachEntry:VS,matchAll:FS,isHTMLForm:AS,hasOwnProperty:_c,hasOwnProp:_c,reduceDescriptors:Ec,freezeMethods:IS,toObjectSet:MS,toCamelCase:PS,noop:RS,toFiniteNumber:DS,findKey:wc,global:xc,isContextDefined:Bc,ALPHABET:Tc,generateString:jS,isSpecCompliantForm:qS,toJSONObject:zS,isAsyncFn:HS,isThenable:US};function M(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}x.inherits(M,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Oc=M.prototype,Nc={};["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=>{Nc[e]={value:e}}),Object.defineProperties(M,Nc),Object.defineProperty(Oc,"isAxiosError",{value:!0}),M.from=(e,t,n,r,i,s)=>{const a=Object.create(Oc);return x.toFlatObject(e,a,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),M.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const WS=null;function ei(e){return x.isPlainObject(e)||x.isArray(e)}function Vc(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Fc(e,t,n){return e?e.concat(t).map(function(r,i){return r=Vc(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function GS(e){return x.isArray(e)&&!e.some(ei)}const JS=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function In(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!x.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(x.isDate(f))return f.toISOString();if(!l&&x.isBlob(f))throw new M("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(f)||x.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let p=f;if(f&&!y&&typeof f=="object"){if(x.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(x.isArray(f)&&GS(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(p=x.toArray(f)))return h=Vc(h),p.forEach(function(C,T){!(x.isUndefined(C)||C===null)&&t.append(a===!0?Fc([h],T,s):a===null?h:h+"[]",d(C))}),!1}return ei(f)?!0:(t.append(Fc(y,h,s),d(f)),!1)}const u=[],m=Object.assign(JS,{defaultVisitor:c,convertValue:d,isVisitable:ei});function g(f,h){if(!x.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),x.forEach(f,function(y,p){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(p)?p.trim():p,h,m))===!0&&g(y,h?h.concat(p):[p])}),u.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Ac(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ti(e,t){this._pairs=[],e&&In(e,this,t)}const Pc=ti.prototype;Pc.append=function(e,t){this._pairs.push([e,t])},Pc.toString=function(e){const t=e?function(n){return e.call(this,n,Ac)}:Ac;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function KS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lc(e,t,n){if(!t)return e;const r=n&&n.encode||KS,i=n&&n.serialize;let s;if(i?s=i(t,n):s=x.isURLSearchParams(t)?t.toString():new ti(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Ic{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){x.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Mc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZS=typeof URLSearchParams<"u"?URLSearchParams:ti,XS=typeof FormData<"u"?FormData:null,QS=typeof Blob<"u"?Blob:null,YS={isBrowser:!0,classes:{URLSearchParams:ZS,FormData:XS,Blob:QS},protocols:["http","https","file","blob","url","data"]},ni=typeof window<"u"&&typeof document<"u",$S=(e=>ni&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),vS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",eT=ni&&window.location.href||"http://localhost",tT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ni,hasStandardBrowserEnv:$S,hasStandardBrowserWebWorkerEnv:vS,origin:eT},Symbol.toStringTag,{value:"Module"})),ge={...tT,...YS};function nT(e,t){return In(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return ge.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function oT(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rT(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function Rc(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&x.isArray(i)?i.length:a,d?(x.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!x.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&x.isArray(i[a])&&(i[a]=rT(i[a])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(oT(r),i,n,0)}),n}return null}function iT(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Nt={transitional:Mc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=x.isObject(e);if(i&&x.isHTMLForm(e)&&(e=new FormData(e)),x.isFormData(e))return r?JSON.stringify(Rc(e)):e;if(x.isArrayBuffer(e)||x.isBuffer(e)||x.isStream(e)||x.isFile(e)||x.isBlob(e)||x.isReadableStream(e))return e;if(x.isArrayBufferView(e))return e.buffer;if(x.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nT(e,this.formSerializer).toString();if((s=x.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return In(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),iT(e)):e}],transformResponse:[function(e){const t=this.transitional||Nt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(e)||x.isReadableStream(e))return e;if(e&&x.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?M.from(s,M.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{Nt.headers[e]={}});const sT=x.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"]),aT=e=>{const t={};let n,r,i;return e&&e.split(`
|
23
23
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&sT[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Dc=Symbol("internals");function Vt(e){return e&&String(e).trim().toLowerCase()}function Mn(e){return e===!1||e==null?e:x.isArray(e)?e.map(Mn):String(e)}function lT(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const cT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function oi(e,t,n,r,i){if(x.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function dT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function uT(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}class v{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Vt(d);if(!u)throw new Error("header name must be a non-empty string");const m=x.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=Mn(l))}const a=(l,d)=>x.forEach(l,(c,u)=>s(c,u,d));if(x.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(x.isString(t)&&(t=t.trim())&&!cT(t))a(aT(t),n);else if(x.isHeaders(t))for(const[l,d]of t.entries())s(d,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return lT(i);if(x.isFunction(n))return n.call(this,i,r);if(x.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||oi(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Vt(a),a){const l=x.findKey(r,a);l&&(!n||oi(r,r[l],l,n))&&(delete r[l],i=!0)}}return x.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||oi(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return x.forEach(this,(i,s)=>{const a=x.findKey(r,s);if(a){n[a]=Mn(i),delete n[s];return}const l=t?dT(s):String(s).trim();l!==s&&delete n[s],n[l]=Mn(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&x.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
24
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Dc]=this[Dc]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Vt(s);n[a]||(uT(r,s),n[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(v);function ri(e,t){const n=this||Nt,r=t||n,i=v.from(r.headers);let s=r.data;return x.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function jc(e){return!!(e&&e.__CANCEL__)}function lt(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(lt,M,{__CANCEL__:!0});function qc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function mT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function hT(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Rn=(e,t,n=3)=>{let r=0;const i=fT(50,250);return hT(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},pT=ge.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=x.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),gT=ge.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),x.isString(r)&&a.push("path="+r),x.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zc(e,t){return e&&!yT(t)?bT(e,t):t}const Hc=e=>e instanceof v?{...e}:e;function We(e,t){t=t||{};const n={};function r(c,u,m){return x.isPlainObject(c)&&x.isPlainObject(u)?x.merge.call({caseless:m},c,u):x.isPlainObject(u)?x.merge({},u):x.isArray(u)?u.slice():u}function i(c,u,m){if(x.isUndefined(u)){if(!x.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!x.isUndefined(u))return r(void 0,u)}function a(c,u){if(x.isUndefined(u)){if(!x.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Hc(c),Hc(u),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);x.isUndefined(m)&&u!==l||(n[c]=m)}),n}const Uc=e=>{const t=We({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=v.from(a),t.url=Lc(zc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(x.isFormData(n)){if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ge.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&pT(t.url))){const c=i&&s&&gT.read(s);c&&a.set(i,c)}return t},kT=typeof XMLHttpRequest<"u",CT=kT&&function(e){return new Promise(function(t,n){const r=Uc(e);let i=r.data;const s=v.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=v.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};qc(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new M("Request aborted",M.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new M("Network Error",M.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Mc;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new M(g,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&x.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Rn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Rn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new lt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=mT(r.url);if(m&&ge.protocols.indexOf(m)===-1){n(new M("Unsupported protocol "+m+":",M.ERR_BAD_REQUEST,e));return}c.send(i||null)})},wT=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof M?c:new lt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new M(`timeout ${t} of ms exceeded`,M.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},xT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},BT=async function*(e,t,n){for await(const r of e)yield*xT(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Wc=(e,t,n,r,i)=>{const s=BT(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Gc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Dn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jc=Dn&&typeof ReadableStream=="function",ii=Dn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_T=Jc&&(()=>{let e=!1;const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Kc=64*1024,si=Jc&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),jn={stream:si&&(e=>e.body)};Dn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!jn[t]&&(jn[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const ET=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await ii(e)).byteLength},ST=async(e,t)=>x.toFiniteNumber(e.getContentLength())??ET(t),TT=Dn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Uc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?wT([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&_T&&n!=="get"&&n!=="head"&&(T=await ST(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;x.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Wc(b.body,Kc,Gc(T,Rn(d)),null,ii))}x.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const A=si&&(c==="stream"||c==="response");if(si&&(l||A)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=k[F]});const S=x.toFiniteNumber(k.headers.get("content-length"));k=new Response(Wc(k.body,Kc,l&&Gc(S,Rn(l,!0)),A&&C,ii),b)}c=c||"text";let N=await jn[x.findKey(jn,c)||"text"](k,e);return!A&&C(),h&&h(),await new Promise((b,S)=>{qc(b,S,{data:N,headers:v.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,p),{cause:k.cause||k}):M.from(k,k&&k.code,e,p)}}),ai={http:WS,xhr:CT,fetch:TT};x.forEach(ai,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zc=e=>`- ${e}`,OT=e=>x.isFunction(e)||e===null||e===!1,Xc={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!OT(n)&&(r=ai[(a=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
24
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Dc]=this[Dc]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Vt(s);n[a]||(uT(r,s),n[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(v);function ri(e,t){const n=this||Nt,r=t||n,i=v.from(r.headers);let s=r.data;return x.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function jc(e){return!!(e&&e.__CANCEL__)}function lt(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(lt,M,{__CANCEL__:!0});function qc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function mT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function hT(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Rn=(e,t,n=3)=>{let r=0;const i=fT(50,250);return hT(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},pT=ge.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=x.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),gT=ge.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),x.isString(r)&&a.push("path="+r),x.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zc(e,t){return e&&!yT(t)?bT(e,t):t}const Hc=e=>e instanceof v?{...e}:e;function We(e,t){t=t||{};const n={};function r(c,u,m){return x.isPlainObject(c)&&x.isPlainObject(u)?x.merge.call({caseless:m},c,u):x.isPlainObject(u)?x.merge({},u):x.isArray(u)?u.slice():u}function i(c,u,m){if(x.isUndefined(u)){if(!x.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!x.isUndefined(u))return r(void 0,u)}function a(c,u){if(x.isUndefined(u)){if(!x.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Hc(c),Hc(u),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);x.isUndefined(m)&&u!==l||(n[c]=m)}),n}const Uc=e=>{const t=We({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=v.from(a),t.url=Lc(zc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(x.isFormData(n)){if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ge.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&pT(t.url))){const c=i&&s&&gT.read(s);c&&a.set(i,c)}return t},kT=typeof XMLHttpRequest<"u",CT=kT&&function(e){return new Promise(function(t,n){const r=Uc(e);let i=r.data;const s=v.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=v.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};qc(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new M("Request aborted",M.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new M("Network Error",M.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Mc;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new M(g,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&x.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Rn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Rn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new lt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=mT(r.url);if(m&&ge.protocols.indexOf(m)===-1){n(new M("Unsupported protocol "+m+":",M.ERR_BAD_REQUEST,e));return}c.send(i||null)})},wT=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof M?c:new lt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new M(`timeout ${t} of ms exceeded`,M.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},xT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},BT=async function*(e,t,n){for await(const r of e)yield*xT(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Wc=(e,t,n,r,i)=>{const s=BT(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Gc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Dn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jc=Dn&&typeof ReadableStream=="function",ii=Dn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_T=Jc&&(()=>{let e=!1;const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Kc=64*1024,si=Jc&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),jn={stream:si&&(e=>e.body)};Dn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!jn[t]&&(jn[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const ET=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await ii(e)).byteLength},ST=async(e,t)=>x.toFiniteNumber(e.getContentLength())??ET(t),TT=Dn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Uc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?wT([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&_T&&n!=="get"&&n!=="head"&&(T=await ST(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;x.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Wc(b.body,Kc,Gc(T,Rn(d)),null,ii))}x.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const F=si&&(c==="stream"||c==="response");if(si&&(l||F)){const b={};["status","statusText","headers"].forEach(A=>{b[A]=k[A]});const S=x.toFiniteNumber(k.headers.get("content-length"));k=new Response(Wc(k.body,Kc,l&&Gc(S,Rn(l,!0)),F&&C,ii),b)}c=c||"text";let N=await jn[x.findKey(jn,c)||"text"](k,e);return!F&&C(),h&&h(),await new Promise((b,S)=>{qc(b,S,{data:N,headers:v.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,p),{cause:k.cause||k}):M.from(k,k&&k.code,e,p)}}),ai={http:WS,xhr:CT,fetch:TT};x.forEach(ai,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zc=e=>`- ${e}`,OT=e=>x.isFunction(e)||e===null||e===!1,Xc={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!OT(n)&&(r=ai[(a=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
25
25
|
`+s.map(Zc).join(`
|
26
26
|
`):" "+Zc(s[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ai};function li(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lt(null,e)}function Qc(e){return li(e),e.headers=v.from(e.headers),e.data=ri.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xc.getAdapter(e.adapter||Nt.adapter)(e).then(function(t){return li(e),t.data=ri.call(e,e.transformResponse,t),t.headers=v.from(t.headers),t},function(t){return jc(t)||(li(e),t&&t.response&&(t.response.data=ri.call(e,e.transformResponse,t.response),t.response.headers=v.from(t.response.headers))),Promise.reject(t)})}const Yc="1.7.2",ci={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ci[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const $c={};ci.transitional=function(e,t,n){function r(i,s){return"[Axios v"+Yc+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(e===!1)throw new M(r(s," has been removed"+(t?" in "+t:"")),M.ERR_DEPRECATED);return t&&!$c[s]&&($c[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,a):!0}};function NT(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const l=e[s],d=l===void 0||a(l,s,e);if(d!==!0)throw new M("option "+s+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+s,M.ERR_BAD_OPTION)}}const di={assertOptions:NT,validators:ci},Le=di.validators;class Ge{constructor(t){this.defaults=t,this.interceptors={request:new Ic,response:new Ic}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
27
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=We(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&di.assertOptions(r,{silentJSONParsing:Le.transitional(Le.boolean),forcedJSONParsing:Le.transitional(Le.boolean),clarifyTimeoutError:Le.transitional(Le.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:di.assertOptions(i,{encode:Le.function,serialize:Le.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&x.merge(s.common,s[n.method]);s&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=v.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[Qc.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Qc.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=We(this.defaults,t);const n=zc(t.baseURL,t.url);return Lc(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(e){Ge.prototype[e]=function(t,n){return this.request(We(n||{},{method:e,url:t,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(We(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ge.prototype[e]=t(),Ge.prototype[e+"Form"]=t(!0)});class ui{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new lt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ui(function(n){t=n}),cancel:t}}}function VT(e){return function(t){return e.apply(null,t)}}function FT(e){return x.isObject(e)&&e.isAxiosError===!0}const mi={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(mi).forEach(([e,t])=>{mi[t]=e});function vc(e){const t=new Ge(e),n=bc(Ge.prototype.request,t);return x.extend(n,Ge.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return vc(We(e,r))},n}const G=vc(Nt);G.Axios=Ge,G.CanceledError=lt,G.CancelToken=ui,G.isCancel=jc,G.VERSION=Yc,G.toFormData=In,G.AxiosError=M,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=VT,G.isAxiosError=FT,G.mergeConfig=We,G.AxiosHeaders=v,G.formToJSON=e=>Rc(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=Xc.getAdapter,G.HttpStatusCode=mi,G.default=G;var AT=Object.defineProperty,PT=(e,t,n)=>t in e?AT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qn=(e,t,n)=>PT(e,typeof t!="symbol"?t+"":t,n);const Ft=/^[a-z0-9]+(-[a-z0-9]+)*$/,zn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!Hn(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Hn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!Hn(l,n)?null:l}return null},Hn=(e,t)=>e?!!((e.provider===""||e.provider.match(Ft))&&(t&&e.prefix===""||e.prefix.match(Ft))&&e.name.match(Ft)):!1,ed=Object.freeze({left:0,top:0,width:16,height:16}),Un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Wn=Object.freeze({...ed,...Un}),fi=Object.freeze({...Wn,body:"",hidden:!1});function LT(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function td(e,t){const n=LT(e,t);for(const r in fi)r in Un?r in e&&!(r in n)&&(n[r]=Un[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function IT(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function MT(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=td(r[l]||i[l],s)}return a(t),n.forEach(a),td(e,s)}function nd(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=IT(e);for(const i in r){const s=r[i];s&&(t(i,MT(e,i,s)),n.push(i))}return n}const RT={provider:"",aliases:{},not_found:{},...ed};function hi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function od(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hi(e,RT))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Ft)||typeof s.body!="string"||!hi(s,fi))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Ft)||typeof a!="string"||!n[a]&&!r[a]||!hi(s,fi))return null}return t}const rd=Object.create(null);function DT(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Je(e,t){const n=rd[e]||(rd[e]=Object.create(null));return n[t]||(n[t]=DT(e,t))}function pi(e,t){return od(t)?nd(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function jT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let At=!1;function id(e){return typeof e=="boolean"&&(At=e),At}function qT(e){const t=typeof e=="string"?zn(e,!0,At):e;if(t){const n=Je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zT(e,t){const n=zn(e,!0,At);if(!n)return!1;const r=Je(n.provider,n.prefix);return jT(r,n.name,t)}function sd(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),At&&!t&&!e.prefix){let i=!1;return od(e)&&(e.prefix="",nd(e,(s,a)=>{a&&zT(s,a)&&(i=!0)})),i}const n=e.prefix;if(!Hn({provider:t,prefix:n,name:"a"}))return!1;const r=Je(t,n);return!!pi(r,e)}const ad=Object.freeze({width:null,height:null}),ld=Object.freeze({...ad,...Un}),HT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,UT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cd(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(HT);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=UT.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function WT(e,t){const n={...Wn,...e},r={...ld,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=cd(m,d/c)):(u=a==="auto"?d:a,m=l===null?cd(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const GT=/\sid="(\S+)"/g,JT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let KT=0;function ZT(e,t=JT){const n=[];let r;for(;r=GT.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(KT++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const gi=Object.create(null);function XT(e,t){gi[e]=t}function yi(e){return gi[e]||gi[""]}function bi(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 ki=Object.create(null),Gn=["https://api.simplesvg.com","https://api.unisvg.com"],Ci=[];for(;Gn.length>0;)Gn.length===1||Math.random()>.5?Ci.push(Gn.shift()):Ci.push(Gn.pop());ki[""]=bi({resources:["https://api.iconify.design"].concat(Ci)});function QT(e,t){const n=bi(t);return n===null?!1:(ki[e]=n,!0)}function wi(e){return ki[e]}let dd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function YT(e,t){const n=wi(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function $T(e){return e===404}const vT=(e,t,n)=>{const r=[],i=YT(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function e2(e){if(typeof e=="string"){const t=wi(e);if(t)return t.path}return"/"}const t2=(e,t,n)=>{if(!dd){n("abort",424);return}let r=e2(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;dd(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n($T(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},n2={prepare:vT,send:t2};function o2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function ud(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function r2(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||ud([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let i2=0;function s2(e,t,n){const r=i2++,i=ud.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function a2(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?zn(i,t,n):i;s&&r.push(s)}),r}var l2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function c2(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function md(e){const t={...l2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=c2(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function fd(){}const xi=Object.create(null);function d2(e){if(!xi[e]){const t=wi(e);if(!t)return;const n=md(t),r={config:t,redundancy:n};xi[e]=r}return xi[e]}function u2(e,t,n){let r,i;if(typeof e=="string"){const s=yi(e);if(!s)return n(void 0,424),fd;i=s.send;const a=d2(e);a&&(r=a.redundancy)}else{const s=bi(e);if(s){r=md(s);const a=e.resources?e.resources[0]:"",l=yi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),fd):r.query(t,i,n)().abort}const hd="iconify2",Pt="iconify",pd=Pt+"-count",gd=Pt+"-version",yd=36e5,m2=168;function Bi(e,t){try{return e.getItem(t)}catch{}}function _i(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bd(e,t){try{e.removeItem(t)}catch{}}function Ei(e,t){return _i(e,pd,t.toString())}function Si(e){return parseInt(Bi(e,pd))||0}const Jn={local:!0,session:!0},kd={local:new Set,session:new Set};let Ti=!1;function f2(e){Ti=e}let Kn=typeof window>"u"?{}:window;function Cd(e){const t=e+"Storage";try{if(Kn&&Kn[t]&&typeof Kn[t].length=="number")return Kn[t]}catch{}Jn[e]=!1}function wd(e,t){const n=Cd(e);if(!n)return;const r=Bi(n,gd);if(r!==hd){if(r){const l=Si(n);for(let d=0;d<l;d++)bd(n,Pt+d.toString())}_i(n,gd,hd),Ei(n,0);return}const i=Math.floor(Date.now()/yd)-m2,s=l=>{const d=Pt+l.toString(),c=Bi(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}bd(n,d)}};let a=Si(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Ei(n,a)):kd[e].add(l))}function xd(){if(!Ti){f2(!0);for(const e in Jn)wd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Je(r,i);if(!pi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function h2(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Jn)wd(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function p2(e,t){Ti||xd();function n(r){let i;if(!Jn[r]||!(i=Cd(r)))return;const s=kd[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Si(i),!Ei(i,a+1))return;const l={cached:Math.floor(Date.now()/yd),provider:e.provider,data:t};return _i(i,Pt+a.toString(),JSON.stringify(l))}t.lastModified&&!h2(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Bd(){}function g2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,r2(e)}))}function y2(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=yi(n))||s.prepare(n,r,i).forEach(a=>{u2(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=pi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),p2(e,l)}catch(c){console.error(c)}g2(e)})})}))}const b2=(e,t)=>{const n=a2(e,!0,id()),r=o2(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Bd)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&y2(d,i[c][u])}),t?s2(t,r,s):Bd};function k2(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ad?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const C2=/[\s,]+/;function w2(e,t){t.split(C2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function x2(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function B2(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function _2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function E2(e){return'url("data:image/svg+xml,'+_2(e)+'")'}const _d={...ld,inline:!1},S2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},T2={display:"inline-block"},Oi={backgroundColor:"currentColor"},Ed={backgroundColor:"transparent"},Sd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Td={webkitMask:Oi,mask:Oi,background:Ed};for(const e in Td){const t=Td[e];for(const n in Sd)t[e+n]=Sd[n]}const Zn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Zn[e+"-flip"]=t,Zn[e.slice(0,1)+"-flip"]=t,Zn[e+"Flip"]=t});function Od(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Nd=(e,t)=>{const n=k2(_d,t),r={...S2},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&w2(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=x2(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Zn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):_d[y]===void 0&&(r[y]=p)}}}const d=WT(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ZT(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=B2(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":E2(h),width:Od(c.width),height:Od(c.height),...T2,...f?Oi:Ed,...l},o.h("span",r)};if(id(!0),XT("",n2),typeof document<"u"&&typeof window<"u"){xd();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!sd(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;QT(n,i)||console.error(r)}catch{console.error(r)}}}}const O2={...Wn,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=zn(e,!1,!0))===null)return this.abortLoading(),null;const r=qT(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:b2([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Nd(O2,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Nd({...Wn,...t.data},n)}});function N2(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function V2(){return"cmd-"+N2()}const F2={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||V2()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Ni=class Uo{constructor(t){qn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Uo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Uo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Uo.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};qn(Ni,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),qn(Ni,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),qn(Ni,"PATTERN_MESSAGE",/^.{2,500}$/);const A2=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(P2,{...e,show:!0}).mount(t)},P2=o.defineComponent({name:"CmdFancyBox",mixins:[F2],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 L2(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 L2(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}sd({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
|
27
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=We(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&di.assertOptions(r,{silentJSONParsing:Le.transitional(Le.boolean),forcedJSONParsing:Le.transitional(Le.boolean),clarifyTimeoutError:Le.transitional(Le.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:di.assertOptions(i,{encode:Le.function,serialize:Le.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&x.merge(s.common,s[n.method]);s&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=v.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[Qc.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Qc.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=We(this.defaults,t);const n=zc(t.baseURL,t.url);return Lc(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(e){Ge.prototype[e]=function(t,n){return this.request(We(n||{},{method:e,url:t,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(We(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ge.prototype[e]=t(),Ge.prototype[e+"Form"]=t(!0)});class ui{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new lt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ui(function(n){t=n}),cancel:t}}}function VT(e){return function(t){return e.apply(null,t)}}function FT(e){return x.isObject(e)&&e.isAxiosError===!0}const mi={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(mi).forEach(([e,t])=>{mi[t]=e});function vc(e){const t=new Ge(e),n=bc(Ge.prototype.request,t);return x.extend(n,Ge.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return vc(We(e,r))},n}const G=vc(Nt);G.Axios=Ge,G.CanceledError=lt,G.CancelToken=ui,G.isCancel=jc,G.VERSION=Yc,G.toFormData=In,G.AxiosError=M,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=VT,G.isAxiosError=FT,G.mergeConfig=We,G.AxiosHeaders=v,G.formToJSON=e=>Rc(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=Xc.getAdapter,G.HttpStatusCode=mi,G.default=G;var AT=Object.defineProperty,PT=(e,t,n)=>t in e?AT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qn=(e,t,n)=>PT(e,typeof t!="symbol"?t+"":t,n);const Ft=/^[a-z0-9]+(-[a-z0-9]+)*$/,zn=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!Hn(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Hn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!Hn(l,n)?null:l}return null},Hn=(e,t)=>e?!!((e.provider===""||e.provider.match(Ft))&&(t&&e.prefix===""||e.prefix.match(Ft))&&e.name.match(Ft)):!1,ed=Object.freeze({left:0,top:0,width:16,height:16}),Un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Wn=Object.freeze({...ed,...Un}),fi=Object.freeze({...Wn,body:"",hidden:!1});function LT(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function td(e,t){const n=LT(e,t);for(const r in fi)r in Un?r in e&&!(r in n)&&(n[r]=Un[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function IT(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function MT(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=td(r[l]||i[l],s)}return a(t),n.forEach(a),td(e,s)}function nd(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=IT(e);for(const i in r){const s=r[i];s&&(t(i,MT(e,i,s)),n.push(i))}return n}const RT={provider:"",aliases:{},not_found:{},...ed};function hi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function od(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hi(e,RT))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Ft)||typeof s.body!="string"||!hi(s,fi))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Ft)||typeof a!="string"||!n[a]&&!r[a]||!hi(s,fi))return null}return t}const rd=Object.create(null);function DT(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Je(e,t){const n=rd[e]||(rd[e]=Object.create(null));return n[t]||(n[t]=DT(e,t))}function pi(e,t){return od(t)?nd(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function jT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let At=!1;function id(e){return typeof e=="boolean"&&(At=e),At}function qT(e){const t=typeof e=="string"?zn(e,!0,At):e;if(t){const n=Je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zT(e,t){const n=zn(e,!0,At);if(!n)return!1;const r=Je(n.provider,n.prefix);return jT(r,n.name,t)}function sd(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),At&&!t&&!e.prefix){let i=!1;return od(e)&&(e.prefix="",nd(e,(s,a)=>{a&&zT(s,a)&&(i=!0)})),i}const n=e.prefix;if(!Hn({provider:t,prefix:n,name:"a"}))return!1;const r=Je(t,n);return!!pi(r,e)}const ad=Object.freeze({width:null,height:null}),ld=Object.freeze({...ad,...Un}),HT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,UT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cd(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(HT);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=UT.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function WT(e,t){const n={...Wn,...e},r={...ld,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=cd(m,d/c)):(u=a==="auto"?d:a,m=l===null?cd(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const GT=/\sid="(\S+)"/g,JT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let KT=0;function ZT(e,t=JT){const n=[];let r;for(;r=GT.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(KT++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const gi=Object.create(null);function XT(e,t){gi[e]=t}function yi(e){return gi[e]||gi[""]}function bi(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 ki=Object.create(null),Gn=["https://api.simplesvg.com","https://api.unisvg.com"],Ci=[];for(;Gn.length>0;)Gn.length===1||Math.random()>.5?Ci.push(Gn.shift()):Ci.push(Gn.pop());ki[""]=bi({resources:["https://api.iconify.design"].concat(Ci)});function QT(e,t){const n=bi(t);return n===null?!1:(ki[e]=n,!0)}function wi(e){return ki[e]}let dd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function YT(e,t){const n=wi(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function $T(e){return e===404}const vT=(e,t,n)=>{const r=[],i=YT(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function e2(e){if(typeof e=="string"){const t=wi(e);if(t)return t.path}return"/"}const t2=(e,t,n)=>{if(!dd){n("abort",424);return}let r=e2(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;dd(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n($T(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},n2={prepare:vT,send:t2};function o2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function ud(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function r2(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||ud([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let i2=0;function s2(e,t,n){const r=i2++,i=ud.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function a2(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?zn(i,t,n):i;s&&r.push(s)}),r}var l2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function c2(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function F(b,S,A){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=A,T();return}if(q){u=A,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(A)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(A,q)=>{F(S,A,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function md(e){const t={...l2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=c2(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function fd(){}const xi=Object.create(null);function d2(e){if(!xi[e]){const t=wi(e);if(!t)return;const n=md(t),r={config:t,redundancy:n};xi[e]=r}return xi[e]}function u2(e,t,n){let r,i;if(typeof e=="string"){const s=yi(e);if(!s)return n(void 0,424),fd;i=s.send;const a=d2(e);a&&(r=a.redundancy)}else{const s=bi(e);if(s){r=md(s);const a=e.resources?e.resources[0]:"",l=yi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),fd):r.query(t,i,n)().abort}const hd="iconify2",Pt="iconify",pd=Pt+"-count",gd=Pt+"-version",yd=36e5,m2=168;function Bi(e,t){try{return e.getItem(t)}catch{}}function _i(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bd(e,t){try{e.removeItem(t)}catch{}}function Ei(e,t){return _i(e,pd,t.toString())}function Si(e){return parseInt(Bi(e,pd))||0}const Jn={local:!0,session:!0},kd={local:new Set,session:new Set};let Ti=!1;function f2(e){Ti=e}let Kn=typeof window>"u"?{}:window;function Cd(e){const t=e+"Storage";try{if(Kn&&Kn[t]&&typeof Kn[t].length=="number")return Kn[t]}catch{}Jn[e]=!1}function wd(e,t){const n=Cd(e);if(!n)return;const r=Bi(n,gd);if(r!==hd){if(r){const l=Si(n);for(let d=0;d<l;d++)bd(n,Pt+d.toString())}_i(n,gd,hd),Ei(n,0);return}const i=Math.floor(Date.now()/yd)-m2,s=l=>{const d=Pt+l.toString(),c=Bi(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}bd(n,d)}};let a=Si(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Ei(n,a)):kd[e].add(l))}function xd(){if(!Ti){f2(!0);for(const e in Jn)wd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Je(r,i);if(!pi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function h2(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Jn)wd(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function p2(e,t){Ti||xd();function n(r){let i;if(!Jn[r]||!(i=Cd(r)))return;const s=kd[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Si(i),!Ei(i,a+1))return;const l={cached:Math.floor(Date.now()/yd),provider:e.provider,data:t};return _i(i,Pt+a.toString(),JSON.stringify(l))}t.lastModified&&!h2(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Bd(){}function g2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,r2(e)}))}function y2(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=yi(n))||s.prepare(n,r,i).forEach(a=>{u2(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=pi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),p2(e,l)}catch(c){console.error(c)}g2(e)})})}))}const b2=(e,t)=>{const n=a2(e,!0,id()),r=o2(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Bd)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&y2(d,i[c][u])}),t?s2(t,r,s):Bd};function k2(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ad?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const C2=/[\s,]+/;function w2(e,t){t.split(C2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function x2(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function B2(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function _2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function E2(e){return'url("data:image/svg+xml,'+_2(e)+'")'}const _d={...ld,inline:!1},S2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},T2={display:"inline-block"},Oi={backgroundColor:"currentColor"},Ed={backgroundColor:"transparent"},Sd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Td={webkitMask:Oi,mask:Oi,background:Ed};for(const e in Td){const t=Td[e];for(const n in Sd)t[e+n]=Sd[n]}const Zn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Zn[e+"-flip"]=t,Zn[e.slice(0,1)+"-flip"]=t,Zn[e+"Flip"]=t});function Od(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Nd=(e,t)=>{const n=k2(_d,t),r={...S2},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&w2(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=x2(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Zn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):_d[y]===void 0&&(r[y]=p)}}}const d=WT(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ZT(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=B2(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":E2(h),width:Od(c.width),height:Od(c.height),...T2,...f?Oi:Ed,...l},o.h("span",r)};if(id(!0),XT("",n2),typeof document<"u"&&typeof window<"u"){xd();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!sd(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;QT(n,i)||console.error(r)}catch{console.error(r)}}}}const O2={...Wn,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=zn(e,!1,!0))===null)return this.abortLoading(),null;const r=qT(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:b2([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Nd(O2,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Nd({...Wn,...t.data},n)}});function N2(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function V2(){return"cmd-"+N2()}const F2={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||V2()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Ni=class Uo{constructor(t){qn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Uo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Uo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Uo.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};qn(Ni,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),qn(Ni,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),qn(Ni,"PATTERN_MESSAGE",/^.{2,500}$/);const A2=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(P2,{...e,show:!0}).mount(t)},P2=o.defineComponent({name:"CmdFancyBox",mixins:[F2],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 L2(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 L2(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}sd({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
|
28
28
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
29
29
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
30
30
|
<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 Vd(e,t){return function(){return e.apply(t,arguments)}}const{toString:I2}=Object.prototype,{getPrototypeOf:Vi}=Object,Xn=(e=>t=>{const n=I2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ye=e=>(e=e.toLowerCase(),t=>Xn(t)===e),Qn=e=>t=>typeof t===e,{isArray:ct}=Array,Lt=Qn("undefined");function M2(e){return e!==null&&!Lt(e)&&e.constructor!==null&&!Lt(e.constructor)&&ae(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fd=ye("ArrayBuffer");function R2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fd(e.buffer),t}const D2=Qn("string"),ae=Qn("function"),Ad=Qn("number"),Yn=e=>e!==null&&typeof e=="object",j2=e=>e===!0||e===!1,$n=e=>{if(Xn(e)!=="object")return!1;const t=Vi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},q2=ye("Date"),z2=ye("File"),H2=ye("Blob"),U2=ye("FileList"),W2=e=>Yn(e)&&ae(e.pipe),G2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ae(e.append)&&((t=Xn(e))==="formdata"||t==="object"&&ae(e.toString)&&e.toString()==="[object FormData]"))},J2=ye("URLSearchParams"),[K2,Z2,X2,Q2]=["ReadableStream","Request","Response","Headers"].map(ye),Y2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function It(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ct(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function Pd(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Ld=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Id=e=>!Lt(e)&&e!==Ld;function Fi(){const{caseless:e}=Id(this)&&this||{},t={},n=(r,i)=>{const s=e&&Pd(t,i)||i;$n(t[s])&&$n(r)?t[s]=Fi(t[s],r):$n(r)?t[s]=Fi({},r):ct(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&It(arguments[r],n);return t}const $2=(e,t,n,{allOwnKeys:r}={})=>(It(t,(i,s)=>{n&&ae(i)?e[s]=Vd(i,n):e[s]=i},{allOwnKeys:r}),e),v2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),eO=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},tO=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Vi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},nO=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},oO=e=>{if(!e)return null;if(ct(e))return e;let t=e.length;if(!Ad(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},rO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Vi(Uint8Array)),iO=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},sO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},aO=ye("HTMLFormElement"),lO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Md=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cO=ye("RegExp"),Rd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};It(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},dO=e=>{Rd(e,(t,n)=>{if(ae(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ae(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},uO=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ct(e)?r(e):r(String(e).split(t)),n},mO=()=>{},fO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ai="abcdefghijklmnopqrstuvwxyz",Dd="0123456789",jd={DIGIT:Dd,ALPHA:Ai,ALPHA_DIGIT:Ai+Ai.toUpperCase()+Dd},hO=(e=16,t=jd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function pO(e){return!!(e&&ae(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const gO=e=>{const t=new Array(10),n=(r,i)=>{if(Yn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ct(r)?[]:{};return It(r,(a,l)=>{const d=n(a,i+1);!Lt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},yO=ye("AsyncFunction"),bO=e=>e&&(Yn(e)||ae(e))&&ae(e.then)&&ae(e.catch),B={isArray:ct,isArrayBuffer:Fd,isBuffer:M2,isFormData:G2,isArrayBufferView:R2,isString:D2,isNumber:Ad,isBoolean:j2,isObject:Yn,isPlainObject:$n,isReadableStream:K2,isRequest:Z2,isResponse:X2,isHeaders:Q2,isUndefined:Lt,isDate:q2,isFile:z2,isBlob:H2,isRegExp:cO,isFunction:ae,isStream:W2,isURLSearchParams:J2,isTypedArray:rO,isFileList:U2,forEach:It,merge:Fi,extend:$2,trim:Y2,stripBOM:v2,inherits:eO,toFlatObject:tO,kindOf:Xn,kindOfTest:ye,endsWith:nO,toArray:oO,forEachEntry:iO,matchAll:sO,isHTMLForm:aO,hasOwnProperty:Md,hasOwnProp:Md,reduceDescriptors:Rd,freezeMethods:dO,toObjectSet:uO,toCamelCase:lO,noop:mO,toFiniteNumber:fO,findKey:Pd,global:Ld,isContextDefined:Id,ALPHABET:jd,generateString:hO,isSpecCompliantForm:pO,toJSONObject:gO,isAsyncFn:yO,isThenable:bO};function R(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}B.inherits(R,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 qd=R.prototype,zd={};["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=>{zd[e]={value:e}}),Object.defineProperties(R,zd),Object.defineProperty(qd,"isAxiosError",{value:!0}),R.from=(e,t,n,r,i,s)=>{const a=Object.create(qd);return B.toFlatObject(e,a,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),R.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const kO=null;function Pi(e){return B.isPlainObject(e)||B.isArray(e)}function Hd(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function Ud(e,t,n){return e?e.concat(t).map(function(r,i){return r=Hd(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function CO(e){return B.isArray(e)&&!e.some(Pi)}const wO=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});function vn(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!B.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(B.isDate(f))return f.toISOString();if(!l&&B.isBlob(f))throw new R("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(f)||B.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let p=f;if(f&&!y&&typeof f=="object"){if(B.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(B.isArray(f)&&CO(f)||(B.isFileList(f)||B.endsWith(h,"[]"))&&(p=B.toArray(f)))return h=Hd(h),p.forEach(function(C,T){!(B.isUndefined(C)||C===null)&&t.append(a===!0?Ud([h],T,s):a===null?h:h+"[]",d(C))}),!1}return Pi(f)?!0:(t.append(Ud(y,h,s),d(f)),!1)}const u=[],m=Object.assign(wO,{defaultVisitor:c,convertValue:d,isVisitable:Pi});function g(f,h){if(!B.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),B.forEach(f,function(y,p){(!(B.isUndefined(y)||y===null)&&i.call(t,y,B.isString(p)?p.trim():p,h,m))===!0&&g(y,h?h.concat(p):[p])}),u.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Wd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Li(e,t){this._pairs=[],e&&vn(e,this,t)}const Gd=Li.prototype;Gd.append=function(e,t){this._pairs.push([e,t])},Gd.toString=function(e){const t=e?function(n){return e.call(this,n,Wd)}:Wd;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function xO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jd(e,t,n){if(!t)return e;const r=n&&n.encode||xO,i=n&&n.serialize;let s;if(i?s=i(t,n):s=B.isURLSearchParams(t)?t.toString():new Li(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Kd{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Zd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},BO=typeof URLSearchParams<"u"?URLSearchParams:Li,_O=typeof FormData<"u"?FormData:null,EO=typeof Blob<"u"?Blob:null,SO={isBrowser:!0,classes:{URLSearchParams:BO,FormData:_O,Blob:EO},protocols:["http","https","file","blob","url","data"]},Ii=typeof window<"u"&&typeof document<"u",TO=(e=>Ii&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),OO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",NO=Ii&&window.location.href||"http://localhost",VO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ii,hasStandardBrowserEnv:TO,hasStandardBrowserWebWorkerEnv:OO,origin:NO},Symbol.toStringTag,{value:"Module"})),be={...VO,...SO};function FO(e,t){return vn(e,new be.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return be.isNode&&B.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function AO(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function PO(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function Xd(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&B.isArray(i)?i.length:a,d?(B.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!B.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&B.isArray(i[a])&&(i[a]=PO(i[a])),!l)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(r,i)=>{t(AO(r),i,n,0)}),n}return null}function LO(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Mt={transitional:Zd,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=B.isObject(e);if(i&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return r?JSON.stringify(Xd(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e)||B.isReadableStream(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return FO(e,this.formSerializer).toString();if((s=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return vn(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),LO(e)):e}],transformResponse:[function(e){const t=this.transitional||Mt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(B.isResponse(e)||B.isReadableStream(e))return e;if(e&&B.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?R.from(s,R.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],e=>{Mt.headers[e]={}});const IO=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"]),MO=e=>{const t={};let n,r,i;return e&&e.split(`
|
31
31
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&IO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qd=Symbol("internals");function Rt(e){return e&&String(e).trim().toLowerCase()}function eo(e){return e===!1||e==null?e:B.isArray(e)?e.map(eo):String(e)}function RO(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const DO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mi(e,t,n,r,i){if(B.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!B.isString(t)){if(B.isString(r))return t.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(t)}}function jO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qO(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}class ee{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Rt(d);if(!u)throw new Error("header name must be a non-empty string");const m=B.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=eo(l))}const a=(l,d)=>B.forEach(l,(c,u)=>s(c,u,d));if(B.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(B.isString(t)&&(t=t.trim())&&!DO(t))a(MO(t),n);else if(B.isHeaders(t))for(const[l,d]of t.entries())s(d,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Rt(t),t){const r=B.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return RO(i);if(B.isFunction(n))return n.call(this,i,r);if(B.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Rt(t),t){const r=B.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Mi(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Rt(a),a){const l=B.findKey(r,a);l&&(!n||Mi(r,r[l],l,n))&&(delete r[l],i=!0)}}return B.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Mi(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return B.forEach(this,(i,s)=>{const a=B.findKey(r,s);if(a){n[a]=eo(i),delete n[s];return}const l=t?jO(s):String(s).trim();l!==s&&delete n[s],n[l]=eo(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return B.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&B.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
32
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Qd]=this[Qd]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Rt(s);n[a]||(qO(r,s),n[a]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),B.freezeMethods(ee);function Ri(e,t){const n=this||Mt,r=t||n,i=ee.from(r.headers);let s=r.data;return B.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Yd(e){return!!(e&&e.__CANCEL__)}function dt(e,t,n){R.call(this,e??"canceled",R.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(dt,R,{__CANCEL__:!0});function $d(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new R("Request failed with status code "+n.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function zO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function HO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function UO(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const to=(e,t,n=3)=>{let r=0;const i=HO(50,250);return UO(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},WO=be.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=B.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),GO=be.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(r)&&a.push("path="+r),B.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function JO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vd(e,t){return e&&!JO(t)?KO(e,t):t}const eu=e=>e instanceof ee?{...e}:e;function Ke(e,t){t=t||{};const n={};function r(c,u,m){return B.isPlainObject(c)&&B.isPlainObject(u)?B.merge.call({caseless:m},c,u):B.isPlainObject(u)?B.merge({},u):B.isArray(u)?u.slice():u}function i(c,u,m){if(B.isUndefined(u)){if(!B.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!B.isUndefined(u))return r(void 0,u)}function a(c,u){if(B.isUndefined(u)){if(!B.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(eu(c),eu(u),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);B.isUndefined(m)&&u!==l||(n[c]=m)}),n}const tu=e=>{const t=Ke({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ee.from(a),t.url=Jd(vd(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(B.isFormData(n)){if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(be.hasStandardBrowserEnv&&(r&&B.isFunction(r)&&(r=r(t)),r||r!==!1&&WO(t.url))){const c=i&&s&&GO.read(s);c&&a.set(i,c)}return t},ZO=typeof XMLHttpRequest<"u",XO=ZO&&function(e){return new Promise(function(t,n){const r=tu(e);let i=r.data;const s=ee.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=ee.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};$d(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new R("Request aborted",R.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new R("Network Error",R.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Zd;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new R(g,f.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&B.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),B.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",to(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",to(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new dt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=zO(r.url);if(m&&be.protocols.indexOf(m)===-1){n(new R("Unsupported protocol "+m+":",R.ERR_BAD_REQUEST,e));return}c.send(i||null)})},QO=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof R?c:new dt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new R(`timeout ${t} of ms exceeded`,R.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},YO=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},$O=async function*(e,t,n){for await(const r of e)yield*YO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},nu=(e,t,n,r,i)=>{const s=$O(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},ou=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},no=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ru=no&&typeof ReadableStream=="function",Di=no&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vO=ru&&(()=>{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),iu=64*1024,ji=ru&&!!(()=>{try{return B.isReadableStream(new Response("").body)}catch{}})(),oo={stream:ji&&(e=>e.body)};no&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!oo[t]&&(oo[t]=B.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new R(`Response type '${t}' is not supported`,R.ERR_NOT_SUPPORT,r)})})})(new Response);const eN=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 Di(e)).byteLength},tN=async(e,t)=>B.toFiniteNumber(e.getContentLength())??eN(t),nN=no&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=tu(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?QO([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&vO&&n!=="get"&&n!=="head"&&(T=await tN(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;B.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=nu(b.body,iu,ou(T,to(d)),null,Di))}B.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const A=ji&&(c==="stream"||c==="response");if(ji&&(l||A)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=k[F]});const S=B.toFiniteNumber(k.headers.get("content-length"));k=new Response(nu(k.body,iu,l&&ou(S,to(l,!0)),A&&C,Di),b)}c=c||"text";let N=await oo[B.findKey(oo,c)||"text"](k,e);return!A&&C(),h&&h(),await new Promise((b,S)=>{$d(b,S,{data:N,headers:ee.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,p),{cause:k.cause||k}):R.from(k,k&&k.code,e,p)}}),qi={http:kO,xhr:XO,fetch:nN};B.forEach(qi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const su=e=>`- ${e}`,oN=e=>B.isFunction(e)||e===null||e===!1,au={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!oN(n)&&(r=qi[(a=String(n)).toLowerCase()],r===void 0))throw new R(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
32
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Qd]=this[Qd]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Rt(s);n[a]||(qO(r,s),n[a]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),B.freezeMethods(ee);function Ri(e,t){const n=this||Mt,r=t||n,i=ee.from(r.headers);let s=r.data;return B.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Yd(e){return!!(e&&e.__CANCEL__)}function dt(e,t,n){R.call(this,e??"canceled",R.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(dt,R,{__CANCEL__:!0});function $d(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new R("Request failed with status code "+n.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function zO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function HO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function UO(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const to=(e,t,n=3)=>{let r=0;const i=HO(50,250);return UO(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},WO=be.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=B.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),GO=be.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(r)&&a.push("path="+r),B.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function JO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vd(e,t){return e&&!JO(t)?KO(e,t):t}const eu=e=>e instanceof ee?{...e}:e;function Ke(e,t){t=t||{};const n={};function r(c,u,m){return B.isPlainObject(c)&&B.isPlainObject(u)?B.merge.call({caseless:m},c,u):B.isPlainObject(u)?B.merge({},u):B.isArray(u)?u.slice():u}function i(c,u,m){if(B.isUndefined(u)){if(!B.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!B.isUndefined(u))return r(void 0,u)}function a(c,u){if(B.isUndefined(u)){if(!B.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(eu(c),eu(u),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);B.isUndefined(m)&&u!==l||(n[c]=m)}),n}const tu=e=>{const t=Ke({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ee.from(a),t.url=Jd(vd(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(B.isFormData(n)){if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(be.hasStandardBrowserEnv&&(r&&B.isFunction(r)&&(r=r(t)),r||r!==!1&&WO(t.url))){const c=i&&s&&GO.read(s);c&&a.set(i,c)}return t},ZO=typeof XMLHttpRequest<"u",XO=ZO&&function(e){return new Promise(function(t,n){const r=tu(e);let i=r.data;const s=ee.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=ee.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};$d(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new R("Request aborted",R.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new R("Network Error",R.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Zd;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new R(g,f.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&B.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),B.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",to(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",to(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new dt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=zO(r.url);if(m&&be.protocols.indexOf(m)===-1){n(new R("Unsupported protocol "+m+":",R.ERR_BAD_REQUEST,e));return}c.send(i||null)})},QO=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof R?c:new dt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new R(`timeout ${t} of ms exceeded`,R.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},YO=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},$O=async function*(e,t,n){for await(const r of e)yield*YO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},nu=(e,t,n,r,i)=>{const s=$O(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},ou=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},no=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ru=no&&typeof ReadableStream=="function",Di=no&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vO=ru&&(()=>{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),iu=64*1024,ji=ru&&!!(()=>{try{return B.isReadableStream(new Response("").body)}catch{}})(),oo={stream:ji&&(e=>e.body)};no&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!oo[t]&&(oo[t]=B.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new R(`Response type '${t}' is not supported`,R.ERR_NOT_SUPPORT,r)})})})(new Response);const eN=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 Di(e)).byteLength},tN=async(e,t)=>B.toFiniteNumber(e.getContentLength())??eN(t),nN=no&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=tu(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?QO([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&vO&&n!=="get"&&n!=="head"&&(T=await tN(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;B.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=nu(b.body,iu,ou(T,to(d)),null,Di))}B.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const F=ji&&(c==="stream"||c==="response");if(ji&&(l||F)){const b={};["status","statusText","headers"].forEach(A=>{b[A]=k[A]});const S=B.toFiniteNumber(k.headers.get("content-length"));k=new Response(nu(k.body,iu,l&&ou(S,to(l,!0)),F&&C,Di),b)}c=c||"text";let N=await oo[B.findKey(oo,c)||"text"](k,e);return!F&&C(),h&&h(),await new Promise((b,S)=>{$d(b,S,{data:N,headers:ee.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,p),{cause:k.cause||k}):R.from(k,k&&k.code,e,p)}}),qi={http:kO,xhr:XO,fetch:nN};B.forEach(qi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const su=e=>`- ${e}`,oN=e=>B.isFunction(e)||e===null||e===!1,au={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!oN(n)&&(r=qi[(a=String(n)).toLowerCase()],r===void 0))throw new R(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
33
33
|
`+s.map(su).join(`
|
34
34
|
`):" "+su(s[0]):"as no adapter specified";throw new R("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:qi};function zi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dt(null,e)}function lu(e){return zi(e),e.headers=ee.from(e.headers),e.data=Ri.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),au.getAdapter(e.adapter||Mt.adapter)(e).then(function(t){return zi(e),t.data=Ri.call(e,e.transformResponse,t),t.headers=ee.from(t.headers),t},function(t){return Yd(t)||(zi(e),t&&t.response&&(t.response.data=Ri.call(e,e.transformResponse,t.response),t.response.headers=ee.from(t.response.headers))),Promise.reject(t)})}const cu="1.7.2",Hi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const du={};Hi.transitional=function(e,t,n){function r(i,s){return"[Axios v"+cu+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(e===!1)throw new R(r(s," has been removed"+(t?" in "+t:"")),R.ERR_DEPRECATED);return t&&!du[s]&&(du[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,a):!0}};function rN(e,t,n){if(typeof e!="object")throw new R("options must be an object",R.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const l=e[s],d=l===void 0||a(l,s,e);if(d!==!0)throw new R("option "+s+" must be "+d,R.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new R("Unknown option "+s,R.ERR_BAD_OPTION)}}const Ui={assertOptions:rN,validators:Hi},Ie=Ui.validators;class Ze{constructor(t){this.defaults=t,this.interceptors={request:new Kd,response:new Kd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
35
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ke(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Ui.assertOptions(r,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),i!=null&&(B.isFunction(i)?n.paramsSerializer={serialize:i}:Ui.assertOptions(i,{encode:Ie.function,serialize:Ie.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&B.merge(s.common,s[n.method]);s&&B.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=ee.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[lu.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=lu.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=Ke(this.defaults,t);const n=vd(t.baseURL,t.url);return Jd(n,t.params,t.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(e){Ze.prototype[e]=function(t,n){return this.request(Ke(n||{},{method:e,url:t,data:(n||{}).data}))}}),B.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(Ke(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ze.prototype[e]=t(),Ze.prototype[e+"Form"]=t(!0)});class Wi{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new dt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wi(function(n){t=n}),cancel:t}}}function iN(e){return function(t){return e.apply(null,t)}}function sN(e){return B.isObject(e)&&e.isAxiosError===!0}const Gi={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(Gi).forEach(([e,t])=>{Gi[t]=e});function uu(e){const t=new Ze(e),n=Vd(Ze.prototype.request,t);return B.extend(n,Ze.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return uu(Ke(e,r))},n}const J=uu(Mt);J.Axios=Ze,J.CanceledError=dt,J.CancelToken=Wi,J.isCancel=Yd,J.VERSION=cu,J.toFormData=vn,J.AxiosError=R,J.Cancel=J.CanceledError,J.all=function(e){return Promise.all(e)},J.spread=iN,J.isAxiosError=sN,J.mergeConfig=Ke,J.AxiosHeaders=ee,J.formToJSON=e=>Xd(B.isHTMLForm(e)?new FormData(e):e),J.getAdapter=au.getAdapter,J.HttpStatusCode=Gi,J.default=J;var aN=Object.defineProperty,lN=(e,t,n)=>t in e?aN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t,n)=>lN(e,typeof t!="symbol"?t+"":t,n);const Dt=/^[a-z0-9]+(-[a-z0-9]+)*$/,io=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!so(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!so(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!so(l,n)?null:l}return null},so=(e,t)=>e?!!((e.provider===""||e.provider.match(Dt))&&(t&&e.prefix===""||e.prefix.match(Dt))&&e.name.match(Dt)):!1,mu=Object.freeze({left:0,top:0,width:16,height:16}),ao=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),lo=Object.freeze({...mu,...ao}),Ji=Object.freeze({...lo,body:"",hidden:!1});function cN(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function fu(e,t){const n=cN(e,t);for(const r in Ji)r in ao?r in e&&!(r in n)&&(n[r]=ao[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function dN(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function uN(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=fu(r[l]||i[l],s)}return a(t),n.forEach(a),fu(e,s)}function hu(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=dN(e);for(const i in r){const s=r[i];s&&(t(i,uN(e,i,s)),n.push(i))}return n}const mN={provider:"",aliases:{},not_found:{},...mu};function Ki(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function pu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ki(e,mN))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Dt)||typeof s.body!="string"||!Ki(s,Ji))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Dt)||typeof a!="string"||!n[a]&&!r[a]||!Ki(s,Ji))return null}return t}const gu=Object.create(null);function fN(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Xe(e,t){const n=gu[e]||(gu[e]=Object.create(null));return n[t]||(n[t]=fN(e,t))}function Zi(e,t){return pu(t)?hu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function hN(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let jt=!1;function yu(e){return typeof e=="boolean"&&(jt=e),jt}function pN(e){const t=typeof e=="string"?io(e,!0,jt):e;if(t){const n=Xe(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function gN(e,t){const n=io(e,!0,jt);if(!n)return!1;const r=Xe(n.provider,n.prefix);return hN(r,n.name,t)}function bu(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),jt&&!t&&!e.prefix){let i=!1;return pu(e)&&(e.prefix="",hu(e,(s,a)=>{a&&gN(s,a)&&(i=!0)})),i}const n=e.prefix;if(!so({provider:t,prefix:n,name:"a"}))return!1;const r=Xe(t,n);return!!Zi(r,e)}const ku=Object.freeze({width:null,height:null}),Cu=Object.freeze({...ku,...ao}),yN=/(-?[0-9.]*[0-9]+[0-9.]*)/g,bN=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(yN);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=bN.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function kN(e,t){const n={...lo,...e},r={...Cu,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=wu(m,d/c)):(u=a==="auto"?d:a,m=l===null?wu(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const CN=/\sid="(\S+)"/g,wN="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xN=0;function BN(e,t=wN){const n=[];let r;for(;r=CN.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(xN++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Xi=Object.create(null);function _N(e,t){Xi[e]=t}function Qi(e){return Xi[e]||Xi[""]}function Yi(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 $i=Object.create(null),co=["https://api.simplesvg.com","https://api.unisvg.com"],vi=[];for(;co.length>0;)co.length===1||Math.random()>.5?vi.push(co.shift()):vi.push(co.pop());$i[""]=Yi({resources:["https://api.iconify.design"].concat(vi)});function EN(e,t){const n=Yi(t);return n===null?!1:($i[e]=n,!0)}function es(e){return $i[e]}let xu=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function SN(e,t){const n=es(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function TN(e){return e===404}const ON=(e,t,n)=>{const r=[],i=SN(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function NN(e){if(typeof e=="string"){const t=es(e);if(t)return t.path}return"/"}const VN=(e,t,n)=>{if(!xu){n("abort",424);return}let r=NN(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;xu(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(TN(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},FN={prepare:ON,send:VN};function AN(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Xe(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function Bu(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function PN(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||Bu([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let LN=0;function IN(e,t,n){const r=LN++,i=Bu.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function MN(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?io(i,t,n):i;s&&r.push(s)}),r}var RN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function DN(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function _u(e){const t={...RN,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=DN(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Eu(){}const ts=Object.create(null);function jN(e){if(!ts[e]){const t=es(e);if(!t)return;const n=_u(t),r={config:t,redundancy:n};ts[e]=r}return ts[e]}function qN(e,t,n){let r,i;if(typeof e=="string"){const s=Qi(e);if(!s)return n(void 0,424),Eu;i=s.send;const a=jN(e);a&&(r=a.redundancy)}else{const s=Yi(e);if(s){r=_u(s);const a=e.resources?e.resources[0]:"",l=Qi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Eu):r.query(t,i,n)().abort}const Su="iconify2",qt="iconify",Tu=qt+"-count",Ou=qt+"-version",Nu=36e5,zN=168;function ns(e,t){try{return e.getItem(t)}catch{}}function os(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vu(e,t){try{e.removeItem(t)}catch{}}function rs(e,t){return os(e,Tu,t.toString())}function is(e){return parseInt(ns(e,Tu))||0}const uo={local:!0,session:!0},Fu={local:new Set,session:new Set};let ss=!1;function HN(e){ss=e}let mo=typeof window>"u"?{}:window;function Au(e){const t=e+"Storage";try{if(mo&&mo[t]&&typeof mo[t].length=="number")return mo[t]}catch{}uo[e]=!1}function Pu(e,t){const n=Au(e);if(!n)return;const r=ns(n,Ou);if(r!==Su){if(r){const l=is(n);for(let d=0;d<l;d++)Vu(n,qt+d.toString())}os(n,Ou,Su),rs(n,0);return}const i=Math.floor(Date.now()/Nu)-zN,s=l=>{const d=qt+l.toString(),c=ns(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Vu(n,d)}};let a=is(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,rs(n,a)):Fu[e].add(l))}function Lu(){if(!ss){HN(!0);for(const e in uo)Pu(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Xe(r,i);if(!Zi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function UN(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in uo)Pu(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function WN(e,t){ss||Lu();function n(r){let i;if(!uo[r]||!(i=Au(r)))return;const s=Fu[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=is(i),!rs(i,a+1))return;const l={cached:Math.floor(Date.now()/Nu),provider:e.provider,data:t};return os(i,qt+a.toString(),JSON.stringify(l))}t.lastModified&&!UN(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Iu(){}function GN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,PN(e)}))}function JN(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Qi(n))||s.prepare(n,r,i).forEach(a=>{qN(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Zi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),WN(e,l)}catch(c){console.error(c)}GN(e)})})}))}const KN=(e,t)=>{const n=MN(e,!0,yu()),r=AN(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Iu)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Xe(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Xe(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&JN(d,i[c][u])}),t?IN(t,r,s):Iu};function ZN(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ku?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const XN=/[\s,]+/;function QN(e,t){t.split(XN).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function YN(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function $N(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function vN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function eV(e){return'url("data:image/svg+xml,'+vN(e)+'")'}const Mu={...Cu,inline:!1},tV={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},nV={display:"inline-block"},as={backgroundColor:"currentColor"},Ru={backgroundColor:"transparent"},Du={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ju={webkitMask:as,mask:as,background:Ru};for(const e in ju){const t=ju[e];for(const n in Du)t[e+n]=Du[n]}const fo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";fo[e+"-flip"]=t,fo[e.slice(0,1)+"-flip"]=t,fo[e+"Flip"]=t});function qu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const zu=(e,t)=>{const n=ZN(Mu,t),r={...tV},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&QN(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=YN(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=fo[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Mu[y]===void 0&&(r[y]=p)}}}const d=kN(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=BN(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=$N(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":eV(h),width:qu(c.width),height:qu(c.height),...nV,...f?as:Ru,...l},o.h("span",r)};if(yu(!0),_N("",FN),typeof document<"u"&&typeof window<"u"){Lu();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!bu(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;EN(n,i)||console.error(r)}catch{console.error(r)}}}}const oV={...lo,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=io(e,!1,!0))===null)return this.abortLoading(),null;const r=pN(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:KN([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return zu(oV,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),zu({...lo,...t.data},n)}});function rV(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function iV(){return"cmd-"+rV()}const sV={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||iV()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ls=class Wo{constructor(t){ro(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Wo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Wo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Wo.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};ro(ls,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),ro(ls,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),ro(ls,"PATTERN_MESSAGE",/^.{2,500}$/);const aV=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(lV,{...e,show:!0}).mount(t)},lV=o.defineComponent({name:"CmdFancyBox",mixins:[sV],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 cV(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 cV(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}bu({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
|
35
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ke(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&Ui.assertOptions(r,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),i!=null&&(B.isFunction(i)?n.paramsSerializer={serialize:i}:Ui.assertOptions(i,{encode:Ie.function,serialize:Ie.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&B.merge(s.common,s[n.method]);s&&B.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=ee.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[lu.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=lu.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=Ke(this.defaults,t);const n=vd(t.baseURL,t.url);return Jd(n,t.params,t.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(e){Ze.prototype[e]=function(t,n){return this.request(Ke(n||{},{method:e,url:t,data:(n||{}).data}))}}),B.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(Ke(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ze.prototype[e]=t(),Ze.prototype[e+"Form"]=t(!0)});class Wi{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new dt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Wi(function(n){t=n}),cancel:t}}}function iN(e){return function(t){return e.apply(null,t)}}function sN(e){return B.isObject(e)&&e.isAxiosError===!0}const Gi={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(Gi).forEach(([e,t])=>{Gi[t]=e});function uu(e){const t=new Ze(e),n=Vd(Ze.prototype.request,t);return B.extend(n,Ze.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return uu(Ke(e,r))},n}const J=uu(Mt);J.Axios=Ze,J.CanceledError=dt,J.CancelToken=Wi,J.isCancel=Yd,J.VERSION=cu,J.toFormData=vn,J.AxiosError=R,J.Cancel=J.CanceledError,J.all=function(e){return Promise.all(e)},J.spread=iN,J.isAxiosError=sN,J.mergeConfig=Ke,J.AxiosHeaders=ee,J.formToJSON=e=>Xd(B.isHTMLForm(e)?new FormData(e):e),J.getAdapter=au.getAdapter,J.HttpStatusCode=Gi,J.default=J;var aN=Object.defineProperty,lN=(e,t,n)=>t in e?aN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t,n)=>lN(e,typeof t!="symbol"?t+"":t,n);const Dt=/^[a-z0-9]+(-[a-z0-9]+)*$/,io=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!so(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!so(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!so(l,n)?null:l}return null},so=(e,t)=>e?!!((e.provider===""||e.provider.match(Dt))&&(t&&e.prefix===""||e.prefix.match(Dt))&&e.name.match(Dt)):!1,mu=Object.freeze({left:0,top:0,width:16,height:16}),ao=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),lo=Object.freeze({...mu,...ao}),Ji=Object.freeze({...lo,body:"",hidden:!1});function cN(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function fu(e,t){const n=cN(e,t);for(const r in Ji)r in ao?r in e&&!(r in n)&&(n[r]=ao[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function dN(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function uN(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=fu(r[l]||i[l],s)}return a(t),n.forEach(a),fu(e,s)}function hu(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=dN(e);for(const i in r){const s=r[i];s&&(t(i,uN(e,i,s)),n.push(i))}return n}const mN={provider:"",aliases:{},not_found:{},...mu};function Ki(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function pu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ki(e,mN))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Dt)||typeof s.body!="string"||!Ki(s,Ji))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Dt)||typeof a!="string"||!n[a]&&!r[a]||!Ki(s,Ji))return null}return t}const gu=Object.create(null);function fN(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Xe(e,t){const n=gu[e]||(gu[e]=Object.create(null));return n[t]||(n[t]=fN(e,t))}function Zi(e,t){return pu(t)?hu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function hN(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let jt=!1;function yu(e){return typeof e=="boolean"&&(jt=e),jt}function pN(e){const t=typeof e=="string"?io(e,!0,jt):e;if(t){const n=Xe(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function gN(e,t){const n=io(e,!0,jt);if(!n)return!1;const r=Xe(n.provider,n.prefix);return hN(r,n.name,t)}function bu(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),jt&&!t&&!e.prefix){let i=!1;return pu(e)&&(e.prefix="",hu(e,(s,a)=>{a&&gN(s,a)&&(i=!0)})),i}const n=e.prefix;if(!so({provider:t,prefix:n,name:"a"}))return!1;const r=Xe(t,n);return!!Zi(r,e)}const ku=Object.freeze({width:null,height:null}),Cu=Object.freeze({...ku,...ao}),yN=/(-?[0-9.]*[0-9]+[0-9.]*)/g,bN=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(yN);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=bN.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function kN(e,t){const n={...lo,...e},r={...Cu,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=wu(m,d/c)):(u=a==="auto"?d:a,m=l===null?wu(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const CN=/\sid="(\S+)"/g,wN="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xN=0;function BN(e,t=wN){const n=[];let r;for(;r=CN.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(xN++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Xi=Object.create(null);function _N(e,t){Xi[e]=t}function Qi(e){return Xi[e]||Xi[""]}function Yi(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 $i=Object.create(null),co=["https://api.simplesvg.com","https://api.unisvg.com"],vi=[];for(;co.length>0;)co.length===1||Math.random()>.5?vi.push(co.shift()):vi.push(co.pop());$i[""]=Yi({resources:["https://api.iconify.design"].concat(vi)});function EN(e,t){const n=Yi(t);return n===null?!1:($i[e]=n,!0)}function es(e){return $i[e]}let xu=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function SN(e,t){const n=es(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function TN(e){return e===404}const ON=(e,t,n)=>{const r=[],i=SN(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function NN(e){if(typeof e=="string"){const t=es(e);if(t)return t.path}return"/"}const VN=(e,t,n)=>{if(!xu){n("abort",424);return}let r=NN(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;xu(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(TN(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},FN={prepare:ON,send:VN};function AN(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=Xe(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function Bu(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function PN(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||Bu([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let LN=0;function IN(e,t,n){const r=LN++,i=Bu.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function MN(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?io(i,t,n):i;s&&r.push(s)}),r}var RN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function DN(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function F(b,S,A){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=A,T();return}if(q){u=A,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(A)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(A,q)=>{F(S,A,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function _u(e){const t={...RN,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=DN(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Eu(){}const ts=Object.create(null);function jN(e){if(!ts[e]){const t=es(e);if(!t)return;const n=_u(t),r={config:t,redundancy:n};ts[e]=r}return ts[e]}function qN(e,t,n){let r,i;if(typeof e=="string"){const s=Qi(e);if(!s)return n(void 0,424),Eu;i=s.send;const a=jN(e);a&&(r=a.redundancy)}else{const s=Yi(e);if(s){r=_u(s);const a=e.resources?e.resources[0]:"",l=Qi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Eu):r.query(t,i,n)().abort}const Su="iconify2",qt="iconify",Tu=qt+"-count",Ou=qt+"-version",Nu=36e5,zN=168;function ns(e,t){try{return e.getItem(t)}catch{}}function os(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vu(e,t){try{e.removeItem(t)}catch{}}function rs(e,t){return os(e,Tu,t.toString())}function is(e){return parseInt(ns(e,Tu))||0}const uo={local:!0,session:!0},Fu={local:new Set,session:new Set};let ss=!1;function HN(e){ss=e}let mo=typeof window>"u"?{}:window;function Au(e){const t=e+"Storage";try{if(mo&&mo[t]&&typeof mo[t].length=="number")return mo[t]}catch{}uo[e]=!1}function Pu(e,t){const n=Au(e);if(!n)return;const r=ns(n,Ou);if(r!==Su){if(r){const l=is(n);for(let d=0;d<l;d++)Vu(n,qt+d.toString())}os(n,Ou,Su),rs(n,0);return}const i=Math.floor(Date.now()/Nu)-zN,s=l=>{const d=qt+l.toString(),c=ns(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Vu(n,d)}};let a=is(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,rs(n,a)):Fu[e].add(l))}function Lu(){if(!ss){HN(!0);for(const e in uo)Pu(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Xe(r,i);if(!Zi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function UN(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in uo)Pu(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function WN(e,t){ss||Lu();function n(r){let i;if(!uo[r]||!(i=Au(r)))return;const s=Fu[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=is(i),!rs(i,a+1))return;const l={cached:Math.floor(Date.now()/Nu),provider:e.provider,data:t};return os(i,qt+a.toString(),JSON.stringify(l))}t.lastModified&&!UN(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Iu(){}function GN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,PN(e)}))}function JN(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Qi(n))||s.prepare(n,r,i).forEach(a=>{qN(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Zi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),WN(e,l)}catch(c){console.error(c)}GN(e)})})}))}const KN=(e,t)=>{const n=MN(e,!0,yu()),r=AN(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Iu)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(Xe(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=Xe(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&JN(d,i[c][u])}),t?IN(t,r,s):Iu};function ZN(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ku?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const XN=/[\s,]+/;function QN(e,t){t.split(XN).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function YN(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function $N(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function vN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function eV(e){return'url("data:image/svg+xml,'+vN(e)+'")'}const Mu={...Cu,inline:!1},tV={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},nV={display:"inline-block"},as={backgroundColor:"currentColor"},Ru={backgroundColor:"transparent"},Du={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ju={webkitMask:as,mask:as,background:Ru};for(const e in ju){const t=ju[e];for(const n in Du)t[e+n]=Du[n]}const fo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";fo[e+"-flip"]=t,fo[e.slice(0,1)+"-flip"]=t,fo[e+"Flip"]=t});function qu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const zu=(e,t)=>{const n=ZN(Mu,t),r={...tV},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&QN(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=YN(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=fo[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Mu[y]===void 0&&(r[y]=p)}}}const d=kN(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=BN(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=$N(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":eV(h),width:qu(c.width),height:qu(c.height),...nV,...f?as:Ru,...l},o.h("span",r)};if(yu(!0),_N("",FN),typeof document<"u"&&typeof window<"u"){Lu();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!bu(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;EN(n,i)||console.error(r)}catch{console.error(r)}}}}const oV={...lo,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=io(e,!1,!0))===null)return this.abortLoading(),null;const r=pN(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:KN([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return zu(oV,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),zu({...lo,...t.data},n)}});function rV(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function iV(){return"cmd-"+rV()}const sV={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||iV()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ls=class Wo{constructor(t){ro(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Wo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Wo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Wo.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};ro(ls,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),ro(ls,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),ro(ls,"PATTERN_MESSAGE",/^.{2,500}$/);const aV=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(lV,{...e,show:!0}).mount(t)},lV=o.defineComponent({name:"CmdFancyBox",mixins:[sV],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 cV(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 cV(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}bu({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
|
36
36
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
37
37
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
38
38
|
<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 Hu(e,t){return function(){return e.apply(t,arguments)}}const{toString:dV}=Object.prototype,{getPrototypeOf:cs}=Object,ho=(e=>t=>{const n=dV.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ke=e=>(e=e.toLowerCase(),t=>ho(t)===e),po=e=>t=>typeof t===e,{isArray:ut}=Array,zt=po("undefined");function uV(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Uu=ke("ArrayBuffer");function mV(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Uu(e.buffer),t}const fV=po("string"),le=po("function"),Wu=po("number"),go=e=>e!==null&&typeof e=="object",hV=e=>e===!0||e===!1,yo=e=>{if(ho(e)!=="object")return!1;const t=cs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},pV=ke("Date"),gV=ke("File"),yV=ke("Blob"),bV=ke("FileList"),kV=e=>go(e)&&le(e.pipe),CV=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||le(e.append)&&((t=ho(e))==="formdata"||t==="object"&&le(e.toString)&&e.toString()==="[object FormData]"))},wV=ke("URLSearchParams"),[xV,BV,_V,EV]=["ReadableStream","Request","Response","Headers"].map(ke),SV=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ht(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ut(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function Gu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Ju=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ku=e=>!zt(e)&&e!==Ju;function ds(){const{caseless:e}=Ku(this)&&this||{},t={},n=(r,i)=>{const s=e&&Gu(t,i)||i;yo(t[s])&&yo(r)?t[s]=ds(t[s],r):yo(r)?t[s]=ds({},r):ut(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ht(arguments[r],n);return t}const TV=(e,t,n,{allOwnKeys:r}={})=>(Ht(t,(i,s)=>{n&&le(i)?e[s]=Hu(i,n):e[s]=i},{allOwnKeys:r}),e),OV=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),NV=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},VV=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&cs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},FV=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},AV=e=>{if(!e)return null;if(ut(e))return e;let t=e.length;if(!Wu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},PV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cs(Uint8Array)),LV=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},IV=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},MV=ke("HTMLFormElement"),RV=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Zu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),DV=ke("RegExp"),Xu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ht(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},jV=e=>{Xu(e,(t,n)=>{if(le(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(le(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},qV=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ut(e)?r(e):r(String(e).split(t)),n},zV=()=>{},HV=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,us="abcdefghijklmnopqrstuvwxyz",Qu="0123456789",Yu={DIGIT:Qu,ALPHA:us,ALPHA_DIGIT:us+us.toUpperCase()+Qu},UV=(e=16,t=Yu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function WV(e){return!!(e&&le(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const GV=e=>{const t=new Array(10),n=(r,i)=>{if(go(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ut(r)?[]:{};return Ht(r,(a,l)=>{const d=n(a,i+1);!zt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},JV=ke("AsyncFunction"),KV=e=>e&&(go(e)||le(e))&&le(e.then)&&le(e.catch),_={isArray:ut,isArrayBuffer:Uu,isBuffer:uV,isFormData:CV,isArrayBufferView:mV,isString:fV,isNumber:Wu,isBoolean:hV,isObject:go,isPlainObject:yo,isReadableStream:xV,isRequest:BV,isResponse:_V,isHeaders:EV,isUndefined:zt,isDate:pV,isFile:gV,isBlob:yV,isRegExp:DV,isFunction:le,isStream:kV,isURLSearchParams:wV,isTypedArray:PV,isFileList:bV,forEach:Ht,merge:ds,extend:TV,trim:SV,stripBOM:OV,inherits:NV,toFlatObject:VV,kindOf:ho,kindOfTest:ke,endsWith:FV,toArray:AV,forEachEntry:LV,matchAll:IV,isHTMLForm:MV,hasOwnProperty:Zu,hasOwnProp:Zu,reduceDescriptors:Xu,freezeMethods:jV,toObjectSet:qV,toCamelCase:RV,noop:zV,toFiniteNumber:HV,findKey:Gu,global:Ju,isContextDefined:Ku,ALPHABET:Yu,generateString:UV,isSpecCompliantForm:WV,toJSONObject:GV,isAsyncFn:JV,isThenable:KV};function D(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}_.inherits(D,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:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $u=D.prototype,vu={};["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=>{vu[e]={value:e}}),Object.defineProperties(D,vu),Object.defineProperty($u,"isAxiosError",{value:!0}),D.from=(e,t,n,r,i,s)=>{const a=Object.create($u);return _.toFlatObject(e,a,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),D.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const ZV=null;function ms(e){return _.isPlainObject(e)||_.isArray(e)}function em(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function tm(e,t,n){return e?e.concat(t).map(function(r,i){return r=em(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function XV(e){return _.isArray(e)&&!e.some(ms)}const QV=_.toFlatObject(_,{},null,function(e){return/^is[A-Z]/.test(e)});function bo(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!_.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(_.isDate(f))return f.toISOString();if(!l&&_.isBlob(f))throw new D("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(f)||_.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let p=f;if(f&&!y&&typeof f=="object"){if(_.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(_.isArray(f)&&XV(f)||(_.isFileList(f)||_.endsWith(h,"[]"))&&(p=_.toArray(f)))return h=em(h),p.forEach(function(C,T){!(_.isUndefined(C)||C===null)&&t.append(a===!0?tm([h],T,s):a===null?h:h+"[]",d(C))}),!1}return ms(f)?!0:(t.append(tm(y,h,s),d(f)),!1)}const u=[],m=Object.assign(QV,{defaultVisitor:c,convertValue:d,isVisitable:ms});function g(f,h){if(!_.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),_.forEach(f,function(y,p){(!(_.isUndefined(y)||y===null)&&i.call(t,y,_.isString(p)?p.trim():p,h,m))===!0&&g(y,h?h.concat(p):[p])}),u.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return g(e),t}function nm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function fs(e,t){this._pairs=[],e&&bo(e,this,t)}const om=fs.prototype;om.append=function(e,t){this._pairs.push([e,t])},om.toString=function(e){const t=e?function(n){return e.call(this,n,nm)}:nm;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function YV(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rm(e,t,n){if(!t)return e;const r=n&&n.encode||YV,i=n&&n.serialize;let s;if(i?s=i(t,n):s=_.isURLSearchParams(t)?t.toString():new fs(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class im{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(n){n!==null&&t(n)})}}const sm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$V=typeof URLSearchParams<"u"?URLSearchParams:fs,vV=typeof FormData<"u"?FormData:null,e3=typeof Blob<"u"?Blob:null,t3={isBrowser:!0,classes:{URLSearchParams:$V,FormData:vV,Blob:e3},protocols:["http","https","file","blob","url","data"]},hs=typeof window<"u"&&typeof document<"u",n3=(e=>hs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),o3=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",r3=hs&&window.location.href||"http://localhost",i3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hs,hasStandardBrowserEnv:n3,hasStandardBrowserWebWorkerEnv:o3,origin:r3},Symbol.toStringTag,{value:"Module"})),Ce={...i3,...t3};function s3(e,t){return bo(e,new Ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ce.isNode&&_.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function a3(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function l3(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function am(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&_.isArray(i)?i.length:a,d?(_.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!_.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&_.isArray(i[a])&&(i[a]=l3(i[a])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(r,i)=>{t(a3(r),i,n,0)}),n}return null}function c3(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ut={transitional:sm,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=_.isObject(e);if(i&&_.isHTMLForm(e)&&(e=new FormData(e)),_.isFormData(e))return r?JSON.stringify(am(e)):e;if(_.isArrayBuffer(e)||_.isBuffer(e)||_.isStream(e)||_.isFile(e)||_.isBlob(e)||_.isReadableStream(e))return e;if(_.isArrayBufferView(e))return e.buffer;if(_.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return s3(e,this.formSerializer).toString();if((s=_.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return bo(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),c3(e)):e}],transformResponse:[function(e){const t=this.transitional||Ut.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(e)||_.isReadableStream(e))return e;if(e&&_.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?D.from(s,D.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ce.classes.FormData,Blob:Ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Ut.headers[e]={}});const d3=_.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"]),u3=e=>{const t={};let n,r,i;return e&&e.split(`
|
39
39
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&d3[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},lm=Symbol("internals");function Wt(e){return e&&String(e).trim().toLowerCase()}function ko(e){return e===!1||e==null?e:_.isArray(e)?e.map(ko):String(e)}function m3(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const f3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ps(e,t,n,r,i){if(_.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!_.isString(t)){if(_.isString(r))return t.indexOf(r)!==-1;if(_.isRegExp(r))return r.test(t)}}function h3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function p3(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}class te{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Wt(d);if(!u)throw new Error("header name must be a non-empty string");const m=_.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=ko(l))}const a=(l,d)=>_.forEach(l,(c,u)=>s(c,u,d));if(_.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(_.isString(t)&&(t=t.trim())&&!f3(t))a(u3(t),n);else if(_.isHeaders(t))for(const[l,d]of t.entries())s(d,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Wt(t),t){const r=_.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return m3(i);if(_.isFunction(n))return n.call(this,i,r);if(_.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Wt(t),t){const r=_.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ps(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Wt(a),a){const l=_.findKey(r,a);l&&(!n||ps(r,r[l],l,n))&&(delete r[l],i=!0)}}return _.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||ps(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return _.forEach(this,(i,s)=>{const a=_.findKey(r,s);if(a){n[a]=ko(i),delete n[s];return}const l=t?h3(s):String(s).trim();l!==s&&delete n[s],n[l]=ko(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&_.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
40
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[lm]=this[lm]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Wt(s);n[a]||(p3(r,s),n[a]=!0)}return _.isArray(t)?t.forEach(i):i(t),this}}te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.reduceDescriptors(te.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),_.freezeMethods(te);function gs(e,t){const n=this||Ut,r=t||n,i=te.from(r.headers);let s=r.data;return _.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function cm(e){return!!(e&&e.__CANCEL__)}function mt(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(mt,D,{__CANCEL__:!0});function dm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function g3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function y3(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function b3(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Co=(e,t,n=3)=>{let r=0;const i=y3(50,250);return b3(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},k3=Ce.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=_.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),C3=Ce.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),_.isString(r)&&a.push("path="+r),_.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function w3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function x3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function um(e,t){return e&&!w3(t)?x3(e,t):t}const mm=e=>e instanceof te?{...e}:e;function Qe(e,t){t=t||{};const n={};function r(c,u,m){return _.isPlainObject(c)&&_.isPlainObject(u)?_.merge.call({caseless:m},c,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function i(c,u,m){if(_.isUndefined(u)){if(!_.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!_.isUndefined(u))return r(void 0,u)}function a(c,u){if(_.isUndefined(u)){if(!_.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(mm(c),mm(u),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);_.isUndefined(m)&&u!==l||(n[c]=m)}),n}const fm=e=>{const t=Qe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=te.from(a),t.url=rm(um(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(_.isFormData(n)){if(Ce.hasStandardBrowserEnv||Ce.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Ce.hasStandardBrowserEnv&&(r&&_.isFunction(r)&&(r=r(t)),r||r!==!1&&k3(t.url))){const c=i&&s&&C3.read(s);c&&a.set(i,c)}return t},B3=typeof XMLHttpRequest<"u",_3=B3&&function(e){return new Promise(function(t,n){const r=fm(e);let i=r.data;const s=te.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=te.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};dm(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new D("Request aborted",D.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||sm;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new D(g,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&_.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),_.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Co(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Co(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new mt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=g3(r.url);if(m&&Ce.protocols.indexOf(m)===-1){n(new D("Unsupported protocol "+m+":",D.ERR_BAD_REQUEST,e));return}c.send(i||null)})},E3=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof D?c:new mt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new D(`timeout ${t} of ms exceeded`,D.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},S3=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},T3=async function*(e,t,n){for await(const r of e)yield*S3(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hm=(e,t,n,r,i)=>{const s=T3(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},pm=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},wo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gm=wo&&typeof ReadableStream=="function",ys=wo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),O3=gm&&(()=>{let e=!1;const t=new Request(Ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),ym=64*1024,bs=gm&&!!(()=>{try{return _.isReadableStream(new Response("").body)}catch{}})(),xo={stream:bs&&(e=>e.body)};wo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xo[t]&&(xo[t]=_.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new D(`Response type '${t}' is not supported`,D.ERR_NOT_SUPPORT,r)})})})(new Response);const N3=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(_.isArrayBufferView(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await ys(e)).byteLength},V3=async(e,t)=>_.toFiniteNumber(e.getContentLength())??N3(t),F3=wo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=fm(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?E3([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&O3&&n!=="get"&&n!=="head"&&(T=await V3(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;_.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=hm(b.body,ym,pm(T,Co(d)),null,ys))}_.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const A=bs&&(c==="stream"||c==="response");if(bs&&(l||A)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=k[F]});const S=_.toFiniteNumber(k.headers.get("content-length"));k=new Response(hm(k.body,ym,l&&pm(S,Co(l,!0)),A&&C,ys),b)}c=c||"text";let N=await xo[_.findKey(xo,c)||"text"](k,e);return!A&&C(),h&&h(),await new Promise((b,S)=>{dm(b,S,{data:N,headers:te.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,p),{cause:k.cause||k}):D.from(k,k&&k.code,e,p)}}),ks={http:ZV,xhr:_3,fetch:F3};_.forEach(ks,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bm=e=>`- ${e}`,A3=e=>_.isFunction(e)||e===null||e===!1,km={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!A3(n)&&(r=ks[(a=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
40
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[lm]=this[lm]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Wt(s);n[a]||(p3(r,s),n[a]=!0)}return _.isArray(t)?t.forEach(i):i(t),this}}te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.reduceDescriptors(te.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),_.freezeMethods(te);function gs(e,t){const n=this||Ut,r=t||n,i=te.from(r.headers);let s=r.data;return _.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function cm(e){return!!(e&&e.__CANCEL__)}function mt(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(mt,D,{__CANCEL__:!0});function dm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function g3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function y3(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function b3(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Co=(e,t,n=3)=>{let r=0;const i=y3(50,250);return b3(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},k3=Ce.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=_.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),C3=Ce.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),_.isString(r)&&a.push("path="+r),_.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function w3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function x3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function um(e,t){return e&&!w3(t)?x3(e,t):t}const mm=e=>e instanceof te?{...e}:e;function Qe(e,t){t=t||{};const n={};function r(c,u,m){return _.isPlainObject(c)&&_.isPlainObject(u)?_.merge.call({caseless:m},c,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function i(c,u,m){if(_.isUndefined(u)){if(!_.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!_.isUndefined(u))return r(void 0,u)}function a(c,u){if(_.isUndefined(u)){if(!_.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(mm(c),mm(u),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);_.isUndefined(m)&&u!==l||(n[c]=m)}),n}const fm=e=>{const t=Qe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=te.from(a),t.url=rm(um(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(_.isFormData(n)){if(Ce.hasStandardBrowserEnv||Ce.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Ce.hasStandardBrowserEnv&&(r&&_.isFunction(r)&&(r=r(t)),r||r!==!1&&k3(t.url))){const c=i&&s&&C3.read(s);c&&a.set(i,c)}return t},B3=typeof XMLHttpRequest<"u",_3=B3&&function(e){return new Promise(function(t,n){const r=fm(e);let i=r.data;const s=te.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=te.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};dm(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new D("Request aborted",D.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||sm;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new D(g,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&_.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),_.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Co(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Co(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new mt(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=g3(r.url);if(m&&Ce.protocols.indexOf(m)===-1){n(new D("Unsupported protocol "+m+":",D.ERR_BAD_REQUEST,e));return}c.send(i||null)})},E3=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof D?c:new mt(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new D(`timeout ${t} of ms exceeded`,D.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},S3=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},T3=async function*(e,t,n){for await(const r of e)yield*S3(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hm=(e,t,n,r,i)=>{const s=T3(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},pm=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},wo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gm=wo&&typeof ReadableStream=="function",ys=wo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),O3=gm&&(()=>{let e=!1;const t=new Request(Ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),ym=64*1024,bs=gm&&!!(()=>{try{return _.isReadableStream(new Response("").body)}catch{}})(),xo={stream:bs&&(e=>e.body)};wo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xo[t]&&(xo[t]=_.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new D(`Response type '${t}' is not supported`,D.ERR_NOT_SUPPORT,r)})})})(new Response);const N3=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(_.isArrayBufferView(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await ys(e)).byteLength},V3=async(e,t)=>_.toFiniteNumber(e.getContentLength())??N3(t),F3=wo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=fm(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?E3([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&O3&&n!=="get"&&n!=="head"&&(T=await V3(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;_.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=hm(b.body,ym,pm(T,Co(d)),null,ys))}_.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const F=bs&&(c==="stream"||c==="response");if(bs&&(l||F)){const b={};["status","statusText","headers"].forEach(A=>{b[A]=k[A]});const S=_.toFiniteNumber(k.headers.get("content-length"));k=new Response(hm(k.body,ym,l&&pm(S,Co(l,!0)),F&&C,ys),b)}c=c||"text";let N=await xo[_.findKey(xo,c)||"text"](k,e);return!F&&C(),h&&h(),await new Promise((b,S)=>{dm(b,S,{data:N,headers:te.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,p),{cause:k.cause||k}):D.from(k,k&&k.code,e,p)}}),ks={http:ZV,xhr:_3,fetch:F3};_.forEach(ks,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bm=e=>`- ${e}`,A3=e=>_.isFunction(e)||e===null||e===!1,km={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!A3(n)&&(r=ks[(a=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
41
41
|
`+s.map(bm).join(`
|
42
42
|
`):" "+bm(s[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ks};function Cs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Cm(e){return Cs(e),e.headers=te.from(e.headers),e.data=gs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),km.getAdapter(e.adapter||Ut.adapter)(e).then(function(t){return Cs(e),t.data=gs.call(e,e.transformResponse,t),t.headers=te.from(t.headers),t},function(t){return cm(t)||(Cs(e),t&&t.response&&(t.response.data=gs.call(e,e.transformResponse,t.response),t.response.headers=te.from(t.response.headers))),Promise.reject(t)})}const wm="1.7.2",ws={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ws[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const xm={};ws.transitional=function(e,t,n){function r(i,s){return"[Axios v"+wm+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(e===!1)throw new D(r(s," has been removed"+(t?" in "+t:"")),D.ERR_DEPRECATED);return t&&!xm[s]&&(xm[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,a):!0}};function P3(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const l=e[s],d=l===void 0||a(l,s,e);if(d!==!0)throw new D("option "+s+" must be "+d,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+s,D.ERR_BAD_OPTION)}}const xs={assertOptions:P3,validators:ws},Me=xs.validators;class Ye{constructor(t){this.defaults=t,this.interceptors={request:new im,response:new im}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
43
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qe(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&xs.assertOptions(r,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),i!=null&&(_.isFunction(i)?n.paramsSerializer={serialize:i}:xs.assertOptions(i,{encode:Me.function,serialize:Me.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&_.merge(s.common,s[n.method]);s&&_.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=te.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[Cm.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Cm.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=Qe(this.defaults,t);const n=um(t.baseURL,t.url);return rm(n,t.params,t.paramsSerializer)}}_.forEach(["delete","get","head","options"],function(e){Ye.prototype[e]=function(t,n){return this.request(Qe(n||{},{method:e,url:t,data:(n||{}).data}))}}),_.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(Qe(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ye.prototype[e]=t(),Ye.prototype[e+"Form"]=t(!0)});class Bs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new mt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Bs(function(n){t=n}),cancel:t}}}function L3(e){return function(t){return e.apply(null,t)}}function I3(e){return _.isObject(e)&&e.isAxiosError===!0}const _s={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(_s).forEach(([e,t])=>{_s[t]=e});function Bm(e){const t=new Ye(e),n=Hu(Ye.prototype.request,t);return _.extend(n,Ye.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Bm(Qe(e,r))},n}const K=Bm(Ut);K.Axios=Ye,K.CanceledError=mt,K.CancelToken=Bs,K.isCancel=cm,K.VERSION=wm,K.toFormData=bo,K.AxiosError=D,K.Cancel=K.CanceledError,K.all=function(e){return Promise.all(e)},K.spread=L3,K.isAxiosError=I3,K.mergeConfig=Qe,K.AxiosHeaders=te,K.formToJSON=e=>am(_.isHTMLForm(e)?new FormData(e):e),K.getAdapter=km.getAdapter,K.HttpStatusCode=_s,K.default=K;var M3=Object.defineProperty,R3=(e,t,n)=>t in e?M3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bo=(e,t,n)=>R3(e,typeof t!="symbol"?t+"":t,n);const Gt=/^[a-z0-9]+(-[a-z0-9]+)*$/,_o=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!Eo(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Eo(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!Eo(l,n)?null:l}return null},Eo=(e,t)=>e?!!((e.provider===""||e.provider.match(Gt))&&(t&&e.prefix===""||e.prefix.match(Gt))&&e.name.match(Gt)):!1,_m=Object.freeze({left:0,top:0,width:16,height:16}),So=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),To=Object.freeze({..._m,...So}),Es=Object.freeze({...To,body:"",hidden:!1});function D3(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Em(e,t){const n=D3(e,t);for(const r in Es)r in So?r in e&&!(r in n)&&(n[r]=So[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function j3(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function q3(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Em(r[l]||i[l],s)}return a(t),n.forEach(a),Em(e,s)}function Sm(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=j3(e);for(const i in r){const s=r[i];s&&(t(i,q3(e,i,s)),n.push(i))}return n}const z3={provider:"",aliases:{},not_found:{},..._m};function Ss(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Tm(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ss(e,z3))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Gt)||typeof s.body!="string"||!Ss(s,Es))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Gt)||typeof a!="string"||!n[a]&&!r[a]||!Ss(s,Es))return null}return t}const Om=Object.create(null);function H3(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $e(e,t){const n=Om[e]||(Om[e]=Object.create(null));return n[t]||(n[t]=H3(e,t))}function Ts(e,t){return Tm(t)?Sm(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function U3(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Jt=!1;function Nm(e){return typeof e=="boolean"&&(Jt=e),Jt}function W3(e){const t=typeof e=="string"?_o(e,!0,Jt):e;if(t){const n=$e(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function G3(e,t){const n=_o(e,!0,Jt);if(!n)return!1;const r=$e(n.provider,n.prefix);return U3(r,n.name,t)}function Vm(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Jt&&!t&&!e.prefix){let i=!1;return Tm(e)&&(e.prefix="",Sm(e,(s,a)=>{a&&G3(s,a)&&(i=!0)})),i}const n=e.prefix;if(!Eo({provider:t,prefix:n,name:"a"}))return!1;const r=$e(t,n);return!!Ts(r,e)}const Fm=Object.freeze({width:null,height:null}),Am=Object.freeze({...Fm,...So}),J3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K3=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Pm(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(J3);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=K3.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function Z3(e,t){const n={...To,...e},r={...Am,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=Pm(m,d/c)):(u=a==="auto"?d:a,m=l===null?Pm(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const X3=/\sid="(\S+)"/g,Q3="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y3=0;function $3(e,t=Q3){const n=[];let r;for(;r=X3.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(Y3++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Os=Object.create(null);function v3(e,t){Os[e]=t}function Ns(e){return Os[e]||Os[""]}function Vs(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 Fs=Object.create(null),Oo=["https://api.simplesvg.com","https://api.unisvg.com"],As=[];for(;Oo.length>0;)Oo.length===1||Math.random()>.5?As.push(Oo.shift()):As.push(Oo.pop());Fs[""]=Vs({resources:["https://api.iconify.design"].concat(As)});function eF(e,t){const n=Vs(t);return n===null?!1:(Fs[e]=n,!0)}function Ps(e){return Fs[e]}let Lm=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function tF(e,t){const n=Ps(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function nF(e){return e===404}const oF=(e,t,n)=>{const r=[],i=tF(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function rF(e){if(typeof e=="string"){const t=Ps(e);if(t)return t.path}return"/"}const iF=(e,t,n)=>{if(!Lm){n("abort",424);return}let r=rF(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;Lm(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(nF(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},sF={prepare:oF,send:iF};function aF(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=$e(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function Im(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function lF(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||Im([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let cF=0;function dF(e,t,n){const r=cF++,i=Im.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function uF(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?_o(i,t,n):i;s&&r.push(s)}),r}var mF={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function fF(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function Mm(e){const t={...mF,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=fF(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Rm(){}const Ls=Object.create(null);function hF(e){if(!Ls[e]){const t=Ps(e);if(!t)return;const n=Mm(t),r={config:t,redundancy:n};Ls[e]=r}return Ls[e]}function pF(e,t,n){let r,i;if(typeof e=="string"){const s=Ns(e);if(!s)return n(void 0,424),Rm;i=s.send;const a=hF(e);a&&(r=a.redundancy)}else{const s=Vs(e);if(s){r=Mm(s);const a=e.resources?e.resources[0]:"",l=Ns(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Rm):r.query(t,i,n)().abort}const Dm="iconify2",Kt="iconify",jm=Kt+"-count",qm=Kt+"-version",zm=36e5,gF=168;function Is(e,t){try{return e.getItem(t)}catch{}}function Ms(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hm(e,t){try{e.removeItem(t)}catch{}}function Rs(e,t){return Ms(e,jm,t.toString())}function Ds(e){return parseInt(Is(e,jm))||0}const No={local:!0,session:!0},Um={local:new Set,session:new Set};let js=!1;function yF(e){js=e}let Vo=typeof window>"u"?{}:window;function Wm(e){const t=e+"Storage";try{if(Vo&&Vo[t]&&typeof Vo[t].length=="number")return Vo[t]}catch{}No[e]=!1}function Gm(e,t){const n=Wm(e);if(!n)return;const r=Is(n,qm);if(r!==Dm){if(r){const l=Ds(n);for(let d=0;d<l;d++)Hm(n,Kt+d.toString())}Ms(n,qm,Dm),Rs(n,0);return}const i=Math.floor(Date.now()/zm)-gF,s=l=>{const d=Kt+l.toString(),c=Is(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Hm(n,d)}};let a=Ds(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Rs(n,a)):Um[e].add(l))}function Jm(){if(!js){yF(!0);for(const e in No)Gm(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=$e(r,i);if(!Ts(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function bF(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in No)Gm(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function kF(e,t){js||Jm();function n(r){let i;if(!No[r]||!(i=Wm(r)))return;const s=Um[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Ds(i),!Rs(i,a+1))return;const l={cached:Math.floor(Date.now()/zm),provider:e.provider,data:t};return Ms(i,Kt+a.toString(),JSON.stringify(l))}t.lastModified&&!bF(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Km(){}function CF(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lF(e)}))}function wF(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Ns(n))||s.prepare(n,r,i).forEach(a=>{pF(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Ts(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),kF(e,l)}catch(c){console.error(c)}CF(e)})})}))}const xF=(e,t)=>{const n=uF(e,!0,Nm()),r=aF(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Km)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push($e(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=$e(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&wF(d,i[c][u])}),t?dF(t,r,s):Km};function BF(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in Fm?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const _F=/[\s,]+/;function EF(e,t){t.split(_F).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function SF(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function TF(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function OF(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function NF(e){return'url("data:image/svg+xml,'+OF(e)+'")'}const Zm={...Am,inline:!1},VF={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},FF={display:"inline-block"},qs={backgroundColor:"currentColor"},Xm={backgroundColor:"transparent"},Qm={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ym={webkitMask:qs,mask:qs,background:Xm};for(const e in Ym){const t=Ym[e];for(const n in Qm)t[e+n]=Qm[n]}const Fo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Fo[e+"-flip"]=t,Fo[e.slice(0,1)+"-flip"]=t,Fo[e+"Flip"]=t});function $m(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const vm=(e,t)=>{const n=BF(Zm,t),r={...VF},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&EF(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=SF(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Fo[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Zm[y]===void 0&&(r[y]=p)}}}const d=Z3(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=$3(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=TF(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":NF(h),width:$m(c.width),height:$m(c.height),...FF,...f?qs:Xm,...l},o.h("span",r)};if(Nm(!0),v3("",sF),typeof document<"u"&&typeof window<"u"){Jm();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Vm(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;eF(n,i)||console.error(r)}catch{console.error(r)}}}}const AF={...To,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=_o(e,!1,!0))===null)return this.abortLoading(),null;const r=W3(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:xF([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return vm(AF,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),vm({...To,...t.data},n)}});function PF(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function LF(){return"cmd-"+PF()}const IF={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||LF()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},zs=class Go{constructor(t){Bo(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Go.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Go.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Go.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};Bo(zs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Bo(zs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Bo(zs,"PATTERN_MESSAGE",/^.{2,500}$/);const MF=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(RF,{...e,show:!0}).mount(t)},RF=o.defineComponent({name:"CmdFancyBox",mixins:[IF],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 DF(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 DF(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Vm({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
|
43
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qe(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&xs.assertOptions(r,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),i!=null&&(_.isFunction(i)?n.paramsSerializer={serialize:i}:xs.assertOptions(i,{encode:Me.function,serialize:Me.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&_.merge(s.common,s[n.method]);s&&_.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=te.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[Cm.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Cm.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=Qe(this.defaults,t);const n=um(t.baseURL,t.url);return rm(n,t.params,t.paramsSerializer)}}_.forEach(["delete","get","head","options"],function(e){Ye.prototype[e]=function(t,n){return this.request(Qe(n||{},{method:e,url:t,data:(n||{}).data}))}}),_.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(Qe(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Ye.prototype[e]=t(),Ye.prototype[e+"Form"]=t(!0)});class Bs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new mt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Bs(function(n){t=n}),cancel:t}}}function L3(e){return function(t){return e.apply(null,t)}}function I3(e){return _.isObject(e)&&e.isAxiosError===!0}const _s={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(_s).forEach(([e,t])=>{_s[t]=e});function Bm(e){const t=new Ye(e),n=Hu(Ye.prototype.request,t);return _.extend(n,Ye.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Bm(Qe(e,r))},n}const K=Bm(Ut);K.Axios=Ye,K.CanceledError=mt,K.CancelToken=Bs,K.isCancel=cm,K.VERSION=wm,K.toFormData=bo,K.AxiosError=D,K.Cancel=K.CanceledError,K.all=function(e){return Promise.all(e)},K.spread=L3,K.isAxiosError=I3,K.mergeConfig=Qe,K.AxiosHeaders=te,K.formToJSON=e=>am(_.isHTMLForm(e)?new FormData(e):e),K.getAdapter=km.getAdapter,K.HttpStatusCode=_s,K.default=K;var M3=Object.defineProperty,R3=(e,t,n)=>t in e?M3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bo=(e,t,n)=>R3(e,typeof t!="symbol"?t+"":t,n);const Gt=/^[a-z0-9]+(-[a-z0-9]+)*$/,_o=(e,t,n,r="")=>{const i=e.split(":");if(e.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 l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!Eo(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Eo(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!Eo(l,n)?null:l}return null},Eo=(e,t)=>e?!!((e.provider===""||e.provider.match(Gt))&&(t&&e.prefix===""||e.prefix.match(Gt))&&e.name.match(Gt)):!1,_m=Object.freeze({left:0,top:0,width:16,height:16}),So=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),To=Object.freeze({..._m,...So}),Es=Object.freeze({...To,body:"",hidden:!1});function D3(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Em(e,t){const n=D3(e,t);for(const r in Es)r in So?r in e&&!(r in n)&&(n[r]=So[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function j3(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function q3(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Em(r[l]||i[l],s)}return a(t),n.forEach(a),Em(e,s)}function Sm(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=j3(e);for(const i in r){const s=r[i];s&&(t(i,q3(e,i,s)),n.push(i))}return n}const z3={provider:"",aliases:{},not_found:{},..._m};function Ss(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Tm(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ss(e,z3))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Gt)||typeof s.body!="string"||!Ss(s,Es))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Gt)||typeof a!="string"||!n[a]&&!r[a]||!Ss(s,Es))return null}return t}const Om=Object.create(null);function H3(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $e(e,t){const n=Om[e]||(Om[e]=Object.create(null));return n[t]||(n[t]=H3(e,t))}function Ts(e,t){return Tm(t)?Sm(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function U3(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Jt=!1;function Nm(e){return typeof e=="boolean"&&(Jt=e),Jt}function W3(e){const t=typeof e=="string"?_o(e,!0,Jt):e;if(t){const n=$e(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function G3(e,t){const n=_o(e,!0,Jt);if(!n)return!1;const r=$e(n.provider,n.prefix);return U3(r,n.name,t)}function Vm(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Jt&&!t&&!e.prefix){let i=!1;return Tm(e)&&(e.prefix="",Sm(e,(s,a)=>{a&&G3(s,a)&&(i=!0)})),i}const n=e.prefix;if(!Eo({provider:t,prefix:n,name:"a"}))return!1;const r=$e(t,n);return!!Ts(r,e)}const Fm=Object.freeze({width:null,height:null}),Am=Object.freeze({...Fm,...So}),J3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K3=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Pm(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(J3);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=K3.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function Z3(e,t){const n={...To,...e},r={...Am,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const f=[],h=g.hFlip,y=g.vFlip;let p=g.rotate;h?y?p+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let C;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:C=i.height/2+i.top,f.unshift("rotate(90 "+C.toString()+" "+C.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:C=i.width/2+i.left,f.unshift("rotate(-90 "+C.toString()+" "+C.toString()+")");break}p%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),f.length&&(s='<g transform="'+f.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=Pm(m,d/c)):(u=a==="auto"?d:a,m=l===null?Pm(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const X3=/\sid="(\S+)"/g,Q3="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y3=0;function $3(e,t=Q3){const n=[];let r;for(;r=X3.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(Y3++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Os=Object.create(null);function v3(e,t){Os[e]=t}function Ns(e){return Os[e]||Os[""]}function Vs(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,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 Fs=Object.create(null),Oo=["https://api.simplesvg.com","https://api.unisvg.com"],As=[];for(;Oo.length>0;)Oo.length===1||Math.random()>.5?As.push(Oo.shift()):As.push(Oo.pop());Fs[""]=Vs({resources:["https://api.iconify.design"].concat(As)});function eF(e,t){const n=Vs(t);return n===null?!1:(Fs[e]=n,!0)}function Ps(e){return Fs[e]}let Lm=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function tF(e,t){const n=Ps(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function nF(e){return e===404}const oF=(e,t,n)=>{const r=[],i=tF(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function rF(e){if(typeof e=="string"){const t=Ps(e);if(t)return t.path}return"/"}const iF=(e,t,n)=>{if(!Lm){n("abort",424);return}let r=rF(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;Lm(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(nF(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},sF={prepare:oF,send:iF};function aF(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=$e(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function Im(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function lF(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||Im([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let cF=0;function dF(e,t,n){const r=cF++,i=Im.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function uF(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?_o(i,t,n):i;s&&r.push(s)}),r}var mF={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function fF(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function F(b,S,A){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=A,T();return}if(q){u=A,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(A)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(A,q)=>{F(S,A,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function Mm(e){const t={...mF,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=fF(t,a,l,(u,m)=>{r(),d&&d(u,m)});return n.push(c),c}function s(a){return n.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Rm(){}const Ls=Object.create(null);function hF(e){if(!Ls[e]){const t=Ps(e);if(!t)return;const n=Mm(t),r={config:t,redundancy:n};Ls[e]=r}return Ls[e]}function pF(e,t,n){let r,i;if(typeof e=="string"){const s=Ns(e);if(!s)return n(void 0,424),Rm;i=s.send;const a=hF(e);a&&(r=a.redundancy)}else{const s=Vs(e);if(s){r=Mm(s);const a=e.resources?e.resources[0]:"",l=Ns(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Rm):r.query(t,i,n)().abort}const Dm="iconify2",Kt="iconify",jm=Kt+"-count",qm=Kt+"-version",zm=36e5,gF=168;function Is(e,t){try{return e.getItem(t)}catch{}}function Ms(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hm(e,t){try{e.removeItem(t)}catch{}}function Rs(e,t){return Ms(e,jm,t.toString())}function Ds(e){return parseInt(Is(e,jm))||0}const No={local:!0,session:!0},Um={local:new Set,session:new Set};let js=!1;function yF(e){js=e}let Vo=typeof window>"u"?{}:window;function Wm(e){const t=e+"Storage";try{if(Vo&&Vo[t]&&typeof Vo[t].length=="number")return Vo[t]}catch{}No[e]=!1}function Gm(e,t){const n=Wm(e);if(!n)return;const r=Is(n,qm);if(r!==Dm){if(r){const l=Ds(n);for(let d=0;d<l;d++)Hm(n,Kt+d.toString())}Ms(n,qm,Dm),Rs(n,0);return}const i=Math.floor(Date.now()/zm)-gF,s=l=>{const d=Kt+l.toString(),c=Is(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Hm(n,d)}};let a=Ds(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Rs(n,a)):Um[e].add(l))}function Jm(){if(!js){yF(!0);for(const e in No)Gm(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=$e(r,i);if(!Ts(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function bF(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in No)Gm(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function kF(e,t){js||Jm();function n(r){let i;if(!No[r]||!(i=Wm(r)))return;const s=Um[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Ds(i),!Rs(i,a+1))return;const l={cached:Math.floor(Date.now()/zm),provider:e.provider,data:t};return Ms(i,Kt+a.toString(),JSON.stringify(l))}t.lastModified&&!bF(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Km(){}function CF(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lF(e)}))}function wF(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;!i||!(s=Ns(n))||s.prepare(n,r,i).forEach(a=>{pF(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Ts(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),kF(e,l)}catch(c){console.error(c)}CF(e)})})}))}const xF=(e,t)=>{const n=uF(e,!0,Nm()),r=aF(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Km)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push($e(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=$e(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&wF(d,i[c][u])}),t?dF(t,r,s):Km};function BF(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in Fm?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const _F=/[\s,]+/;function EF(e,t){t.split(_F).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function SF(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function TF(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function OF(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function NF(e){return'url("data:image/svg+xml,'+OF(e)+'")'}const Zm={...Am,inline:!1},VF={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},FF={display:"inline-block"},qs={backgroundColor:"currentColor"},Xm={backgroundColor:"transparent"},Qm={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ym={webkitMask:qs,mask:qs,background:Xm};for(const e in Ym){const t=Ym[e];for(const n in Qm)t[e+n]=Qm[n]}const Fo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Fo[e+"-flip"]=t,Fo[e.slice(0,1)+"-flip"]=t,Fo[e+"Flip"]=t});function $m(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const vm=(e,t)=>{const n=BF(Zm,t),r={...VF},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&EF(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=SF(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=Fo[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Zm[y]===void 0&&(r[y]=p)}}}const d=Z3(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=$3(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=TF(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":NF(h),width:$m(c.width),height:$m(c.height),...FF,...f?qs:Xm,...l},o.h("span",r)};if(Nm(!0),v3("",sF),typeof document<"u"&&typeof window<"u"){Jm();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Vm(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;eF(n,i)||console.error(r)}catch{console.error(r)}}}}const AF={...To,body:""};o.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,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=_o(e,!1,!0))===null)return this.abortLoading(),null;const r=W3(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:xF([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return vm(AF,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),vm({...To,...t.data},n)}});function PF(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function LF(){return"cmd-"+PF()}const IF={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||LF()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},zs=class Go{constructor(t){Bo(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Go.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Go.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Go.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};Bo(zs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Bo(zs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Bo(zs,"PATTERN_MESSAGE",/^.{2,500}$/);const MF=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(RF,{...e,show:!0}).mount(t)},RF=o.defineComponent({name:"CmdFancyBox",mixins:[IF],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 t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},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 DF(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;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 DF(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Vm({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
|
44
44
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
45
45
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
46
46
|
<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 ef(e,t){return function(){return e.apply(t,arguments)}}const{toString:jF}=Object.prototype,{getPrototypeOf:Hs}=Object,Ao=(e=>t=>{const n=jF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),we=e=>(e=e.toLowerCase(),t=>Ao(t)===e),Po=e=>t=>typeof t===e,{isArray:ft}=Array,Zt=Po("undefined");function qF(e){return e!==null&&!Zt(e)&&e.constructor!==null&&!Zt(e.constructor)&&ce(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tf=we("ArrayBuffer");function zF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tf(e.buffer),t}const HF=Po("string"),ce=Po("function"),nf=Po("number"),Lo=e=>e!==null&&typeof e=="object",UF=e=>e===!0||e===!1,Io=e=>{if(Ao(e)!=="object")return!1;const t=Hs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},WF=we("Date"),GF=we("File"),JF=we("Blob"),KF=we("FileList"),ZF=e=>Lo(e)&&ce(e.pipe),XF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ce(e.append)&&((t=Ao(e))==="formdata"||t==="object"&&ce(e.toString)&&e.toString()==="[object FormData]"))},QF=we("URLSearchParams"),[YF,$F,vF,eA]=["ReadableStream","Request","Response","Headers"].map(we),tA=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ft(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function of(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const rf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sf=e=>!Zt(e)&&e!==rf;function Us(){const{caseless:e}=sf(this)&&this||{},t={},n=(r,i)=>{const s=e&&of(t,i)||i;Io(t[s])&&Io(r)?t[s]=Us(t[s],r):Io(r)?t[s]=Us({},r):ft(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Xt(arguments[r],n);return t}const nA=(e,t,n,{allOwnKeys:r}={})=>(Xt(t,(i,s)=>{n&&ce(i)?e[s]=ef(i,n):e[s]=i},{allOwnKeys:r}),e),oA=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rA=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},iA=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Hs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sA=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},aA=e=>{if(!e)return null;if(ft(e))return e;let t=e.length;if(!nf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hs(Uint8Array)),cA=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},dA=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},uA=we("HTMLFormElement"),mA=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),af=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fA=we("RegExp"),lf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Xt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},hA=e=>{lf(e,(t,n)=>{if(ce(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ce(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},pA=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ft(e)?r(e):r(String(e).split(t)),n},gA=()=>{},yA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ws="abcdefghijklmnopqrstuvwxyz",cf="0123456789",df={DIGIT:cf,ALPHA:Ws,ALPHA_DIGIT:Ws+Ws.toUpperCase()+cf},bA=(e=16,t=df.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kA(e){return!!(e&&ce(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const CA=e=>{const t=new Array(10),n=(r,i)=>{if(Lo(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ft(r)?[]:{};return Xt(r,(a,l)=>{const d=n(a,i+1);!Zt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},wA=we("AsyncFunction"),xA=e=>e&&(Lo(e)||ce(e))&&ce(e.then)&&ce(e.catch),E={isArray:ft,isArrayBuffer:tf,isBuffer:qF,isFormData:XF,isArrayBufferView:zF,isString:HF,isNumber:nf,isBoolean:UF,isObject:Lo,isPlainObject:Io,isReadableStream:YF,isRequest:$F,isResponse:vF,isHeaders:eA,isUndefined:Zt,isDate:WF,isFile:GF,isBlob:JF,isRegExp:fA,isFunction:ce,isStream:ZF,isURLSearchParams:QF,isTypedArray:lA,isFileList:KF,forEach:Xt,merge:Us,extend:nA,trim:tA,stripBOM:oA,inherits:rA,toFlatObject:iA,kindOf:Ao,kindOfTest:we,endsWith:sA,toArray:aA,forEachEntry:cA,matchAll:dA,isHTMLForm:uA,hasOwnProperty:af,hasOwnProp:af,reduceDescriptors:lf,freezeMethods:hA,toObjectSet:pA,toCamelCase:mA,noop:gA,toFiniteNumber:yA,findKey:of,global:rf,isContextDefined:sf,ALPHABET:df,generateString:bA,isSpecCompliantForm:kA,toJSONObject:CA,isAsyncFn:wA,isThenable:xA};function j(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}E.inherits(j,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:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const uf=j.prototype,mf={};["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=>{mf[e]={value:e}}),Object.defineProperties(j,mf),Object.defineProperty(uf,"isAxiosError",{value:!0}),j.from=(e,t,n,r,i,s)=>{const a=Object.create(uf);return E.toFlatObject(e,a,function(l){return l!==Error.prototype},l=>l!=="isAxiosError"),j.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const BA=null;function Gs(e){return E.isPlainObject(e)||E.isArray(e)}function ff(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function hf(e,t,n){return e?e.concat(t).map(function(r,i){return r=ff(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function _A(e){return E.isArray(e)&&!e.some(Gs)}const EA=E.toFlatObject(E,{},null,function(e){return/^is[A-Z]/.test(e)});function Mo(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!E.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(E.isDate(f))return f.toISOString();if(!l&&E.isBlob(f))throw new j("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(f)||E.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let p=f;if(f&&!y&&typeof f=="object"){if(E.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(E.isArray(f)&&_A(f)||(E.isFileList(f)||E.endsWith(h,"[]"))&&(p=E.toArray(f)))return h=ff(h),p.forEach(function(C,T){!(E.isUndefined(C)||C===null)&&t.append(a===!0?hf([h],T,s):a===null?h:h+"[]",d(C))}),!1}return Gs(f)?!0:(t.append(hf(y,h,s),d(f)),!1)}const u=[],m=Object.assign(EA,{defaultVisitor:c,convertValue:d,isVisitable:Gs});function g(f,h){if(!E.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),E.forEach(f,function(y,p){(!(E.isUndefined(y)||y===null)&&i.call(t,y,E.isString(p)?p.trim():p,h,m))===!0&&g(y,h?h.concat(p):[p])}),u.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return g(e),t}function pf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Js(e,t){this._pairs=[],e&&Mo(e,this,t)}const gf=Js.prototype;gf.append=function(e,t){this._pairs.push([e,t])},gf.toString=function(e){const t=e?function(n){return e.call(this,n,pf)}:pf;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function SA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yf(e,t,n){if(!t)return e;const r=n&&n.encode||SA,i=n&&n.serialize;let s;if(i?s=i(t,n):s=E.isURLSearchParams(t)?t.toString():new Js(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class bf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(n){n!==null&&t(n)})}}const kf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},TA=typeof URLSearchParams<"u"?URLSearchParams:Js,OA=typeof FormData<"u"?FormData:null,NA=typeof Blob<"u"?Blob:null,VA={isBrowser:!0,classes:{URLSearchParams:TA,FormData:OA,Blob:NA},protocols:["http","https","file","blob","url","data"]},Ks=typeof window<"u"&&typeof document<"u",FA=(e=>Ks&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),AA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PA=Ks&&window.location.href||"http://localhost",LA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ks,hasStandardBrowserEnv:FA,hasStandardBrowserWebWorkerEnv:AA,origin:PA},Symbol.toStringTag,{value:"Module"})),xe={...LA,...VA};function IA(e,t){return Mo(e,new xe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return xe.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function MA(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function RA(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function Cf(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&E.isArray(i)?i.length:a,d?(E.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!E.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&E.isArray(i[a])&&(i[a]=RA(i[a])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,i)=>{t(MA(r),i,n,0)}),n}return null}function DA(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Qt={transitional:kf,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=E.isObject(e);if(i&&E.isHTMLForm(e)&&(e=new FormData(e)),E.isFormData(e))return r?JSON.stringify(Cf(e)):e;if(E.isArrayBuffer(e)||E.isBuffer(e)||E.isStream(e)||E.isFile(e)||E.isBlob(e)||E.isReadableStream(e))return e;if(E.isArrayBufferView(e))return e.buffer;if(E.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return IA(e,this.formSerializer).toString();if((s=E.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Mo(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),DA(e)):e}],transformResponse:[function(e){const t=this.transitional||Qt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(E.isResponse(e)||E.isReadableStream(e))return e;if(e&&E.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(s){if(i)throw s.name==="SyntaxError"?j.from(s,j.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xe.classes.FormData,Blob:xe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{Qt.headers[e]={}});const jA=E.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"]),qA=e=>{const t={};let n,r,i;return e&&e.split(`
|
47
47
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&jA[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},wf=Symbol("internals");function Yt(e){return e&&String(e).trim().toLowerCase()}function Ro(e){return e===!1||e==null?e:E.isArray(e)?e.map(Ro):String(e)}function zA(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const HA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Zs(e,t,n,r,i){if(E.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function UA(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function WA(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}class ne{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Yt(d);if(!u)throw new Error("header name must be a non-empty string");const m=E.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=Ro(l))}const a=(l,d)=>E.forEach(l,(c,u)=>s(c,u,d));if(E.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(E.isString(t)&&(t=t.trim())&&!HA(t))a(qA(t),n);else if(E.isHeaders(t))for(const[l,d]of t.entries())s(d,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Yt(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return zA(i);if(E.isFunction(n))return n.call(this,i,r);if(E.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Yt(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Zs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Yt(a),a){const l=E.findKey(r,a);l&&(!n||Zs(r,r[l],l,n))&&(delete r[l],i=!0)}}return E.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Zs(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return E.forEach(this,(i,s)=>{const a=E.findKey(r,s);if(a){n[a]=Ro(i),delete n[s];return}const l=t?UA(s):String(s).trim();l!==s&&delete n[s],n[l]=Ro(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
48
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[wf]=this[wf]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Yt(s);n[a]||(WA(r,s),n[a]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}}ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),E.reduceDescriptors(ne.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),E.freezeMethods(ne);function Xs(e,t){const n=this||Qt,r=t||n,i=ne.from(r.headers);let s=r.data;return E.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function xf(e){return!!(e&&e.__CANCEL__)}function ht(e,t,n){j.call(this,e??"canceled",j.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(ht,j,{__CANCEL__:!0});function Bf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new j("Request failed with status code "+n.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function GA(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function JA(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function KA(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Do=(e,t,n=3)=>{let r=0;const i=JA(50,250);return KA(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},ZA=xe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=E.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),XA=xe.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),E.isString(r)&&a.push("path="+r),E.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function QA(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function YA(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _f(e,t){return e&&!QA(t)?YA(e,t):t}const Ef=e=>e instanceof ne?{...e}:e;function ve(e,t){t=t||{};const n={};function r(c,u,m){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:m},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function i(c,u,m){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!E.isUndefined(u))return r(void 0,u)}function a(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Ef(c),Ef(u),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);E.isUndefined(m)&&u!==l||(n[c]=m)}),n}const Sf=e=>{const t=ve({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ne.from(a),t.url=yf(_f(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(E.isFormData(n)){if(xe.hasStandardBrowserEnv||xe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(xe.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&ZA(t.url))){const c=i&&s&&XA.read(s);c&&a.set(i,c)}return t},$A=typeof XMLHttpRequest<"u",vA=$A&&function(e){return new Promise(function(t,n){const r=Sf(e);let i=r.data;const s=ne.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=ne.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};Bf(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new j("Request aborted",j.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new j("Network Error",j.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||kf;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new j(g,f.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&E.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),E.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Do(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Do(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new ht(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=GA(r.url);if(m&&xe.protocols.indexOf(m)===-1){n(new j("Unsupported protocol "+m+":",j.ERR_BAD_REQUEST,e));return}c.send(i||null)})},eP=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof j?c:new ht(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new j(`timeout ${t} of ms exceeded`,j.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},tP=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},nP=async function*(e,t,n){for await(const r of e)yield*tP(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Tf=(e,t,n,r,i)=>{const s=nP(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Of=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},jo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nf=jo&&typeof ReadableStream=="function",Qs=jo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oP=Nf&&(()=>{let e=!1;const t=new Request(xe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Vf=64*1024,Ys=Nf&&!!(()=>{try{return E.isReadableStream(new Response("").body)}catch{}})(),qo={stream:Ys&&(e=>e.body)};jo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qo[t]&&(qo[t]=E.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new j(`Response type '${t}' is not supported`,j.ERR_NOT_SUPPORT,r)})})})(new Response);const rP=async e=>{if(e==null)return 0;if(E.isBlob(e))return e.size;if(E.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(E.isArrayBufferView(e))return e.byteLength;if(E.isURLSearchParams(e)&&(e=e+""),E.isString(e))return(await Qs(e)).byteLength},iP=async(e,t)=>E.toFiniteNumber(e.getContentLength())??rP(t),sP=jo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Sf(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?eP([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&oP&&n!=="get"&&n!=="head"&&(T=await iP(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;E.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Tf(b.body,Vf,Of(T,Do(d)),null,Qs))}E.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const A=Ys&&(c==="stream"||c==="response");if(Ys&&(l||A)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=k[F]});const S=E.toFiniteNumber(k.headers.get("content-length"));k=new Response(Tf(k.body,Vf,l&&Of(S,Do(l,!0)),A&&C,Qs),b)}c=c||"text";let N=await qo[E.findKey(qo,c)||"text"](k,e);return!A&&C(),h&&h(),await new Promise((b,S)=>{Bf(b,S,{data:N,headers:ne.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,e,p),{cause:k.cause||k}):j.from(k,k&&k.code,e,p)}}),$s={http:BA,xhr:vA,fetch:sP};E.forEach($s,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ff=e=>`- ${e}`,aP=e=>E.isFunction(e)||e===null||e===!1,Af={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!aP(n)&&(r=$s[(a=String(n)).toLowerCase()],r===void 0))throw new j(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
48
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[wf]=this[wf]={accessors:{}}).accessors,r=this.prototype;function i(s){const a=Yt(s);n[a]||(WA(r,s),n[a]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}}ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),E.reduceDescriptors(ne.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),E.freezeMethods(ne);function Xs(e,t){const n=this||Qt,r=t||n,i=ne.from(r.headers);let s=r.data;return E.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function xf(e){return!!(e&&e.__CANCEL__)}function ht(e,t,n){j.call(this,e??"canceled",j.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(ht,j,{__CANCEL__:!0});function Bf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new j("Request failed with status code "+n.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function GA(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function JA(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),c=r[s];a||(a=d),n[i]=l,r[i]=d;let u=s,m=0;for(;u!==i;)m+=n[u++],u=u%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-a<t)return;const g=c&&d-c;return g?Math.round(m*1e3/g):void 0}}function KA(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const Do=(e,t,n=3)=>{let r=0;const i=JA(50,250);return KA(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,d=a-r,c=i(d),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:d,rate:c||void 0,estimated:c&&l&&u?(l-a)/c:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},ZA=xe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const s=E.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),XA=xe.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),E.isString(r)&&a.push("path="+r),E.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function QA(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function YA(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _f(e,t){return e&&!QA(t)?YA(e,t):t}const Ef=e=>e instanceof ne?{...e}:e;function ve(e,t){t=t||{};const n={};function r(c,u,m){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:m},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function i(c,u,m){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!E.isUndefined(u))return r(void 0,u)}function a(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const d={url:s,method:s,data:s,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:l,headers:(c,u)=>i(Ef(c),Ef(u),!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);E.isUndefined(m)&&u!==l||(n[c]=m)}),n}const Sf=e=>{const t=ve({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ne.from(a),t.url=yf(_f(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let d;if(E.isFormData(n)){if(xe.hasStandardBrowserEnv||xe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(xe.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&ZA(t.url))){const c=i&&s&&XA.read(s);c&&a.set(i,c)}return t},$A=typeof XMLHttpRequest<"u",vA=$A&&function(e){return new Promise(function(t,n){const r=Sf(e);let i=r.data;const s=ne.from(r.headers).normalize();let{responseType:a}=r,l;function d(){r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function u(){if(!c)return;const g=ne.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};Bf(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(u)},c.onabort=function(){c&&(n(new j("Request aborted",j.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new j("Network Error",j.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let g=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||kf;r.timeoutErrorMessage&&(g=r.timeoutErrorMessage),n(new j(g,f.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&E.forEach(s.toJSON(),function(g,f){c.setRequestHeader(f,g)}),E.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Do(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Do(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=g=>{c&&(n(!g||g.type?new ht(null,e,c):g),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=GA(r.url);if(m&&xe.protocols.indexOf(m)===-1){n(new j("Unsupported protocol "+m+":",j.ERR_BAD_REQUEST,e));return}c.send(i||null)})},eP=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,a();const c=d instanceof Error?d:this.reason;n.abort(c instanceof j?c:new ht(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{i(new j(`timeout ${t} of ms exceeded`,j.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},tP=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},nP=async function*(e,t,n){for await(const r of e)yield*tP(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Tf=(e,t,n,r,i)=>{const s=nP(e,t,i);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:d,value:c}=await s.next();if(d){l.close(),r();return}let u=c.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(c))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},Of=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},jo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nf=jo&&typeof ReadableStream=="function",Qs=jo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),oP=Nf&&(()=>{let e=!1;const t=new Request(xe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Vf=64*1024,Ys=Nf&&!!(()=>{try{return E.isReadableStream(new Response("").body)}catch{}})(),qo={stream:Ys&&(e=>e.body)};jo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qo[t]&&(qo[t]=E.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new j(`Response type '${t}' is not supported`,j.ERR_NOT_SUPPORT,r)})})})(new Response);const rP=async e=>{if(e==null)return 0;if(E.isBlob(e))return e.size;if(E.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(E.isArrayBufferView(e))return e.byteLength;if(E.isURLSearchParams(e)&&(e=e+""),E.isString(e))return(await Qs(e)).byteLength},iP=async(e,t)=>E.toFiniteNumber(e.getContentLength())??rP(t),sP=jo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:g}=Sf(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?eP([i,s],a):[],y,p;const C=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&oP&&n!=="get"&&n!=="head"&&(T=await iP(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),S;E.isFormData(r)&&(S=b.headers.get("content-type"))&&u.setContentType(S),b.body&&(r=Tf(b.body,Vf,Of(T,Do(d)),null,Qs))}E.isString(m)||(m=m?"cors":"omit"),p=new Request(t,{...g,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let k=await fetch(p);const F=Ys&&(c==="stream"||c==="response");if(Ys&&(l||F)){const b={};["status","statusText","headers"].forEach(A=>{b[A]=k[A]});const S=E.toFiniteNumber(k.headers.get("content-length"));k=new Response(Tf(k.body,Vf,l&&Of(S,Do(l,!0)),F&&C,Qs),b)}c=c||"text";let N=await qo[E.findKey(qo,c)||"text"](k,e);return!F&&C(),h&&h(),await new Promise((b,S)=>{Bf(b,S,{data:N,headers:ne.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:p})})}catch(k){throw C(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,e,p),{cause:k.cause||k}):j.from(k,k&&k.code,e,p)}}),$s={http:BA,xhr:vA,fetch:sP};E.forEach($s,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ff=e=>`- ${e}`,aP=e=>E.isFunction(e)||e===null||e===!1,Af={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!aP(n)&&(r=$s[(a=String(n)).toLowerCase()],r===void 0))throw new j(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
|
49
49
|
`+s.map(Ff).join(`
|
50
50
|
`):" "+Ff(s[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:$s};function vs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ht(null,e)}function Pf(e){return vs(e),e.headers=ne.from(e.headers),e.data=Xs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Af.getAdapter(e.adapter||Qt.adapter)(e).then(function(t){return vs(e),t.data=Xs.call(e,e.transformResponse,t),t.headers=ne.from(t.headers),t},function(t){return xf(t)||(vs(e),t&&t.response&&(t.response.data=Xs.call(e,e.transformResponse,t.response),t.response.headers=ne.from(t.response.headers))),Promise.reject(t)})}const Lf="1.7.2",ea={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ea[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const If={};ea.transitional=function(e,t,n){function r(i,s){return"[Axios v"+Lf+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(e===!1)throw new j(r(s," has been removed"+(t?" in "+t:"")),j.ERR_DEPRECATED);return t&&!If[s]&&(If[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,a):!0}};function lP(e,t,n){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const l=e[s],d=l===void 0||a(l,s,e);if(d!==!0)throw new j("option "+s+" must be "+d,j.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new j("Unknown option "+s,j.ERR_BAD_OPTION)}}const ta={assertOptions:lP,validators:ea},Re=ta.validators;class et{constructor(t){this.defaults=t,this.interceptors={request:new bf,response:new bf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
51
51
|
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ve(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&ta.assertOptions(r,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:ta.assertOptions(i,{encode:Re.function,serialize:Re.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&E.merge(s.common,s[n.method]);s&&E.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=ne.concat(a,s);const l=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,l.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,m=0,g;if(!d){const h=[Pf.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),g=h.length,u=Promise.resolve(n);m<g;)u=u.then(h[m++],h[m++]);return u}g=l.length;let f=n;for(m=0;m<g;){const h=l[m++],y=l[m++];try{f=h(f)}catch(p){y.call(this,p);break}}try{u=Pf.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,g=c.length;m<g;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ve(this.defaults,t);const n=_f(t.baseURL,t.url);return yf(n,t.params,t.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(e){et.prototype[e]=function(t,n){return this.request(ve(n||{},{method:e,url:t,data:(n||{}).data}))}}),E.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,s){return this.request(ve(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}et.prototype[e]=t(),et.prototype[e+"Form"]=t(!0)});class na{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(i,s,a){r.reason||(r.reason=new ht(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new na(function(n){t=n}),cancel:t}}}function cP(e){return function(t){return e.apply(null,t)}}function dP(e){return E.isObject(e)&&e.isAxiosError===!0}const oa={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(oa).forEach(([e,t])=>{oa[t]=e});function Mf(e){const t=new et(e),n=ef(et.prototype.request,t);return E.extend(n,et.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Mf(ve(e,r))},n}const Z=Mf(Qt);Z.Axios=et,Z.CanceledError=ht,Z.CancelToken=na,Z.isCancel=xf,Z.VERSION=Lf,Z.toFormData=Mo,Z.AxiosError=j,Z.Cancel=Z.CanceledError,Z.all=function(e){return Promise.all(e)},Z.spread=cP,Z.isAxiosError=dP,Z.mergeConfig=ve,Z.AxiosHeaders=ne,Z.formToJSON=e=>Cf(E.isHTMLForm(e)?new FormData(e):e),Z.getAdapter=Af.getAdapter,Z.HttpStatusCode=oa,Z.default=Z;function uP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),MF({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(mP);function mP(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&uP(t)}function fP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),aV({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(hP);function hP(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&fP(t)}function pP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),A2({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(gP);function gP(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&pP(t)}function Rf(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),oS({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const zo=new MutationObserver(yP);function yP(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&Rf(t)}const bP=e=>{const t=e.querySelectorAll(".fancybox");Rf(t),zo==null||zo.disconnect(),zo.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function kP(){const e={};o.onBeforeUpdate(r);function t(i="defaultSequence"){const s=e[i]||0;return e[i]=s+1,e[i]}function n(i="defaultSequence"){return e[i]||0}function r(i="defaultSequence"){e[i]&&(e[i]=0)}return{nextSequenceValue:t,currentSequenceValue:n,resetSequence:r}}O.CmdAddressData=Ia,O.CmdBackToTopButton=my,O.CmdBankAccountData=ky,O.CmdBasicForm=qa,O.CmdBox=Ua,O.CmdBoxWrapper=Ja,O.CmdBreadcrumbs=Ka,O.CmdCompanyLogo=Za,O.CmdContainer=nk,O.CmdCookieDisclaimer=_k,O.CmdCopyrightInformation=Nk,O.CmdFakeSelect=Xa,O.CmdFancyBox=xb,O.CmdForm=Ma,O.CmdFormElement=X,O.CmdFormFilters=Qa,O.CmdGoogleMaps=va,O.CmdHeadline=U,O.CmdIcon=z,O.CmdImage=Ne,O.CmdImageGallery=hC,O.CmdImageZoom=wC,O.CmdInputGroup=nl,O.CmdLink=ot,O.CmdListOfLinks=hr,O.CmdLoginForm=GC,O.CmdMainNavigation=ol,O.CmdMultistepFormProgressBar=dw,O.CmdNewsletterSubscription=pw,O.CmdOpeningHours=zw,O.CmdPageFooter=fx,O.CmdPageHeader=bx,O.CmdPagination=$w,O.CmdProgressBar=Ex,O.CmdSidebar=Ax,O.CmdSiteFooter=Mx,O.CmdSiteHeader=qx,O.CmdSiteSearch=Xx,O.CmdSlideButton=kt,O.CmdSlideshow=o1,O.CmdSocialNetworks=il,O.CmdSwitchLanguage=u1,O.CmdSystemMessage=bt,O.CmdTable=k1,O.CmdTabs=T1,O.CmdTextImageBlock=P1,O.CmdThumbnailScroller=Da,O.CmdToggleDarkMode=R1,O.CmdTooltip=La,O.CmdUploadForm=M_,O.CmdWidthLimitationWrapper=z_,O.ContactInformation=J_,O.DirFancybox=bP,O.DirFocus=tE,O.DirTelephone=nE,O.EditComponentWrapper=Ae,O.I18n=oe,O.MultipleBoxWrapper=Q_,O.MultipleListsOfLinks=eE,O.createHtmlId=dr,O.createUuid=tt,O.getCookieDisclaimerCookie=yr,O.getFileExtension=nt,O.openFancyBox=qe,O.setCookieDisclaimerCookie=$a,O.useSequence=kP,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
|