comand-component-library 4.1.6 → 4.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,41 +1,41 @@
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 hL=Object.defineProperty;var pL=(O,o,Oe)=>o in O?hL(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var tn=(O,o,Oe)=>pL(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,ia=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),sn=Object.freeze({...ia,...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 sa(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=sa(r[l]||i[l],s)}return a(t),n.forEach(a),sa(e,s)}function aa(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:{},...ia};function Ko(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function la(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 ca=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=ca[e]||(ca[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Zo(e,t){return la(t)?aa(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 da(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 ua(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return la(e)&&(e.prefix="",aa(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 ma=Object.freeze({width:null,height:null}),fa=Object.freeze({...ma,...rn}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ha(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={...fa,...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,g=f.vFlip;let k=f.rotate;y?g?k+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){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}k%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=ha(m,d/c)):(u=a==="auto"?d:a,m=l===null?ha(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 pa=(()=>{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(!pa){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;pa(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 ga(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||ga([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=ga.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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!e.random){const P=e.resources.indexOf(b.resource);P!==-1&&P!==e.index&&(e.index=P)}d="completed",f.forEach(P=>{P(F)})}function A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function ya(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,p)=>{r(),c&&c(m,p)});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 ba(){}const er=Object.create(null);function Eh(e){if(!er[e]){const t=vo(e);if(!t)return;const n=ya(t),r={config:t,redundancy:n};er[e]=r}return er[e]}function Sh(e,t,n){let r,i;if(typeof e=="string"){const s=Qo(e);if(!s)return n(void 0,424),ba;i=s.send;const a=Eh(e);a&&(r=a.redundancy)}else{const s=Yo(e);if(s){r=ya(s);const a=e.resources?e.resources[0]:"",l=Qo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ba):r.query(t,i,n)().abort}const ka="iconify2",yt="iconify",Ca=yt+"-count",wa=yt+"-version",xa=36e5,_h=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 Ba(e,t){try{e.removeItem(t)}catch{}}function or(e,t){return nr(e,Ca,t.toString())}function rr(e){return parseInt(tr(e,Ca))||0}const ln={local:!0,session:!0},Ea={local:new Set,session:new Set};let ir=!1;function Th(e){ir=e}let cn=typeof window>"u"?{}:window;function Sa(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}ln[e]=!1}function _a(e,t){const n=Sa(e);if(!n)return;const r=tr(n,wa);if(r!==ka){if(r){const l=rr(n);for(let d=0;d<l;d++)Ba(n,yt+d.toString())}nr(n,wa,ka),or(n,0);return}const i=Math.floor(Date.now()/xa)-_h,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{}Ba(n,d)}};let a=rr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,or(n,a)):Ea[e].add(l))}function Ta(){if(!ir){Th(!0);for(const e in ln)_a(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)_a(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||Ta();function n(r){let i;if(!ln[r]||!(i=Sa(r)))return;const s=Ea[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()/xa),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 Oa(){}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=>{Sh(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(p=>{m.delete(p)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,da()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Oa)}),()=>{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,p=je(c,u),f=p.pendingIcons||(p.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):Oa};function Lh(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ma?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Ph=/[\s,]+/;function Ih(e,t){t.split(Ph).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 Na={...fa,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"},Va={backgroundColor:"transparent"},Fa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:sr,mask:sr,background:Va};for(const e in Aa){const t=Aa[e];for(const n in Fa)t[e+n]=Fa[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 La(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pa=(e,t)=>{const n=Lh(Na,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 g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&Ih(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=Mh(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=dn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Na[y]===void 0&&(r[y]=g)}}}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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=ch(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":jh(h),width:La(c.width),height:La(c.height),...zh,...f?sr:Va,...l},o.h("span",r)};if(da(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Ta();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"||!ua(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"})}}},Ep={key:0,class:"headline-wrapper"},Sp=["title"];function _p(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",Ep,[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,Sp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const Ia=V(Bp,[["render",_p]]),$={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:[$,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}}],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},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 Lp(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,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[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 Pp=V(Tp,[["render",Lp]]),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,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Mp(e,t,n,r,i,s){const a=Pp,l=Ia;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(()=>[n.cmdListOfRequirements.showRequirements?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdListOfRequirements)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const ar=V(Ip,[["render",Mp]]),lr={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validation_tooltip.an_error_occurred":"An error occurred!","cmdformelement.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validation_tooltip.open_field_requirements":"Open field requirements!","cmdformelement.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},mn={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[$,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},inputRequirements(){const e=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const 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("cmdfieldvalidation.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("cmdfieldvalidation.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 cr(){return"cmd-"+tt()}const bt={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||cr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},dr={};function Rp(e="defaultSequence"){const t=dr[e]||0;return dr[e]=t+1,dr[e]}const ur={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:[$,lr,mn,bt,ur],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("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validation_tooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.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("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),e},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3: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,p,f,h,y,g,k,T,C,N,A,b,_,F,q,P,Be,Ee,Se,_e,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]=L=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...L)=>s.onBlur&&s.onBlur(...L)),onInput:t[3]||(t[3]=(...L)=>s.onInput&&s.onInput(...L)),onMouseover:t[4]||(t[4]=(...L)=>s.datalistFocus&&s.datalistFocus(...L)),onKeyup:t[5]||(t[5]=(...L)=>e.checkForCapsLock&&e.checkForCapsLock(...L)),onChange:t[6]||(t[6]=L=>e.$emit("change",L)),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((...L)=>s.showPassword&&s.showPassword(...L),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...L)=>s.hidePassword&&s.hidePassword(...L),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...L)=>s.hidePassword&&s.hidePassword(...L),["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,(L,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:L},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]=(...L)=>s.onChange&&s.onChange(...L)),onBlur:t[14]||(t[14]=(...L)=>s.onBlur&&s.onBlur(...L)),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]=(...L)=>s.onChange&&s.onChange(...L)),onBlur:t[12]||(t[12]=(...L)=>s.onBlur&&s.onBlur(...L)),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]=(...L)=>s.onBlur&&s.onBlur(...L)),onChange:t[16]||(t[16]=L=>e.$emit("update:modelValue",L.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(L,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:L.value,selected:L.value===n.modelValue},o.toDisplayString(L.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]=(...L)=>s.onInput&&s.onInput(...L)),onFocus:t[18]||(t[18]=L=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...L)=>s.onBlur&&s.onBlur(...L))}),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]=(...L)=>s.onInput&&s.onInput(...L)),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((...L)=>s.executeSearch&&s.executeSearch(...L),["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(L=>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]=(...L)=>s.submit&&s.submit(...L))}),[(f=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((k=(g=n.nativeButton)==null?void 0:g.icon)!=null&&k.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(C=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:C.iconClass,type:(A=(N=n.nativeButton)==null?void 0:N.icon)==null?void 0:A.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((_=n.nativeButton)!=null&&_.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=(P=n.nativeButton)==null?void 0:P.icon)==null?void 0:Be.position)==="after"?(o.openBlock(),o.createBlock(a,{key:3,iconClass:(Se=(Ee=n.nativeButton)==null?void 0:Ee.icon)==null?void 0:Se.iconClass,type:(Te=(_e=n.nativeButton)==null?void 0:_e.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),Eg={key:0,class:"postal-code"},Sg={key:1,class:"locality"},_g=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"},Lg=o.createElementVNode("br",null,null,-1),Pg=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",Eg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Sg,[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),_g,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),Lg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),Pg],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,$,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var e;return(e=this.addressData.website)==null?void 0:e.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(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,p)=>(o.openBlock(),o.createBlock(d,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",p]},{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,p)=>(o.openBlock(),o.createBlock(l,{key:p,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,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[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 Ma=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:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:cr,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}}},wy=["action","data-use-validation","novalidate"],xy={class:"flex-container"},By=["type"],Ey={key:1},Sy={key:0,class:"button-wrapper"},_y=["type"],Ty={key:1};function Oy(e,t,n,r,i,s){const a=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]=(...l)=>s.onSubmit&&s.onSubmit(...l)),novalidate:n.novalidate},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",xy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.formElements,(l,d)=>(o.openBlock(),o.createBlock(a,{key:d,element:l.element||"input",type:l.type||"text",name:l.name,class:o.normalizeClass(l.htmlClass),id:l.id||s.createHtmlId(),modelValue:i.formValues[l.name],"onUpdate:modelValue":c=>i.formValues[l.name]=c,inputValue:l.inputValue,fieldIconClass:l.innerIconClass,selectOptions:l.selectOptions,labelText:l.labelText,placeholder:l.placeholder,required:l.required,disabled:l.disabled,autocomplete:l.autocomplete,minlength:l.minlength,maxlength:l.maxlength,nativeButton:l.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:2,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",Ey,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,By)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Sy,[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",Ty,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,_y)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,wy)}const Ra=V(Cy,[["render",Oy]]),Ny={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.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,De.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,""]}};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 mr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Da(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 Vy={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&&Da(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(),Da(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}}},Fy=["innerHTML"],Ay=o.createElementVNode("span",{class:"icon-image"},null,-1),Ly=["src","alt","title"],Py=["src","alt","title"],Iy=["innerHTML"],My=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],Ry=["innerHTML"],Dy=["src","alt","title"],jy=["innerHTML"],qy=["src","alt","title"];function zy(e,t,n,r,i,s){var d,c,u,m,p,f,h,y,g,k,T,C,N;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(A=>{var b,_,F,q,P,Be,Ee,Se,_e,Te,L,de;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",s.textAlign])},[(b=n.figcaption)!=null&&b.show&&((_=n.figcaption)==null?void 0:_.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.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,Fy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),A.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!"}),[Ay,o.createElementVNode("img",{src:s.imageSource,alt:(P=n.image)==null?void 0:P.alt,title:(Be=n.image)==null?void 0:Be.tooltip},null,8,Ly)],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:(Ee=n.image)==null?void 0:Ee.alt,title:(Se=n.image)==null?void 0:Se.tooltip},null,8,Py)):o.createCommentVNode("",!0),(_e=n.figcaption)!=null&&_e.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[A.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"])):(L=n.figcaption)!=null&&L.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!A.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))},My)):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:(p=n.figcaption)==null?void 0:p.text},null,8,Ry)):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]=(...A)=>s.onImageLoaded&&s.onImageLoaded(...A))},null,40,Dy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((g=n.figcaption)!=null&&g.text)&&((k=n.figcaption)!=null&&k.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,jy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(C=n.image)==null?void 0:C.alt,title:(N=n.image)==null?void 0:N.tooltip,onLoad:t[5]||(t[5]=(...A)=>s.onImageLoaded&&s.onImageLoaded(...A))},null,40,qy))}const Ne=V(Vy,[["render",zy]]),Hy={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"),{})}}},Uy=["title"];function Wy(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,Uy)}const kt=V(Hy,[["render",Wy]]),Gy={name:"CmdThumbnailScroller",emits:["click"],mixins:[$,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},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("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id: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}}},Jy={class:"inner-thumbnail-wrapper"},Ky=["href","onClick","title","target"],Zy={key:1},Xy={key:1},Qy={key:0},Yy=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function $y(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",Jy,[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,p)=>(o.openBlock(),o.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",p],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",Xy,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(p,f),class:o.normalizeClass([{active:n.activeItemIndex===p},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",Zy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Ky))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",Qy,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Yy)])):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 ja=V(Gy,[["render",$y]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(qa,{...e,show:!0}).mount(t)},qa=o.defineComponent({name:"CmdFancyBox",mixins:[bt],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 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:{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 vy(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 vy(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const eb=qa,tb=["aria-label"],nb={class:"flex-container"},ob={key:1,class:"button-wrapper no-flex"},rb=["title"],ib=["title"],sb=["title"],ab={key:0,class:"content"},lb=["innerHTML"],cb={key:2,class:"content",ref:"elements"},db={key:3,class:"content"},ub={key:4,class:"content"},mb={key:0,class:"flex-container no-flex"},fb=["title"],hb={key:1},pb=["title"],gb={key:1};function yb(e,t,n,r,i,s){var m,p,f,h,y,g,k,T,C,N,A,b,_,F,q,P,Be,Ee,Se,_e,Te,L,de,re,$t,vt,en;const a=U,l=z,d=Ne,c=kt,u=ja;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",nb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},e.cmdHeadline,{id:e.htmlId}),null,16,["id"])):o.createCommentVNode("",!0),(p=e.fancyboxOptions.printButtons)!=null&&p.color||(f=e.fancyboxOptions.printButtons)!=null&&f.grayscale||e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("div",ob,[e.showPrintButtons&&((h=e.fancyboxOptions.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyboxOptions.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(ue=>e.printInGrayscale=!1,["prevent"]))},[o.createVNode(l,{iconClass:(g=e.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(k=e.fancyboxOptions.printButtons.color)==null?void 0:k.iconType},null,8,["iconClass","type"])],8,rb)):o.createCommentVNode("",!0),e.showPrintButtons&&((T=e.fancyboxOptions.printButtons)!=null&&T.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(C=e.fancyboxOptions.printButtons.grayscale)==null?void 0:C.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printInGrayscale=!0,["prevent"]))},[o.createVNode(l,{iconClass:(N=e.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconClass,type:(A=e.fancyboxOptions.printButtons.grayscale)==null?void 0:A.iconType},null,8,["iconClass","type"])],8,ib)):o.createCommentVNode("",!0),e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...ue)=>e.close&&e.close(...ue),["prevent"]))},[o.createVNode(l,{iconClass:e.fancyboxOptions.closeIcon.iconClass,type:e.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,sb)):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",ab,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(_=e.cmdImage)==null?void 0:_.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,lb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",cb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",db,[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",ub,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptions.submitButtons?(o.openBlock(),o.createElementBlock("footer",mb,[(F=e.fancyboxOptions.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.fancyboxOptions.submitButtons.cancel)==null?void 0:q.tooltip},[(P=e.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(Be=e.fancyboxOptions.submitButtons.cancel)==null?void 0:Be.iconClass,type:(Ee=e.fancyboxOptions.submitButtons.cancel)==null?void 0:Ee.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Se=e.fancyboxOptions.submitButtons.cancel)!=null&&Se.buttonText?(o.openBlock(),o.createElementBlock("span",hb,o.toDisplayString((_e=e.fancyboxOptions.submitButtons.cancel)==null?void 0:_e.buttonText),1)):o.createCommentVNode("",!0)],8,fb)):o.createCommentVNode("",!0),(Te=e.fancyboxOptions.submitButtons)!=null&&Te.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...ue)=>e.confirm&&e.confirm(...ue)),title:(L=e.fancyboxOptions.submitButtons.cancel)==null?void 0:L.tooltip},[(de=e.fancyboxOptions.submitButtons.confirm)!=null&&de.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(re=e.fancyboxOptions.submitButtons.confirm)==null?void 0:re.iconClass,type:($t=e.fancyboxOptions.submitButtons.confirm)==null?void 0:$t.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(vt=e.fancyboxOptions.submitButtons.confirm)!=null&&vt.buttonText?(o.openBlock(),o.createElementBlock("span",gb,o.toDisplayString((en=e.fancyboxOptions.submitButtons.confirm)==null?void 0:en.buttonText),1)):o.createCommentVNode("",!0)],8,pb)):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,tb)}const bb=V(eb,[["render",yb]]),kb={emits:["submit"],mixins:[$,Ny,mn],inject:{editModeContext:{default:null}},data(){return{validator:new mr(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},lastName:{required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0}}},cmdHeadline:{type:Object,default(){return{headlineText:"Basic Form",headlineLevel:3}}},cmdForm:{type:Object,required:!1}},mounted(){var e,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")})})},methods:{onSubmit(e){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error||this.useNativeSubmit){this.formData.error&&e.originalEvent.preventDefault();return}const t=new FormData,n=Object.keys(this.configuration);for(let r=0;r<n.length;r++)t.set(n[r],this.formData[n[r]].value);fetch(this.formAction,{method:"POST",body:t}).then(r=>{r.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(r=>{console.error(r)}),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}}},Cb={class:"cmd-pages-basic-form"},wb={key:0,class:"flex-container no-flex order-male-female"},xb={key:1,class:"flex-container order-lastname-firstname"},Bb={key:2,class:"flex-container order-phone-email"},Eb={key:3,class:"flex-container"},Sb=["innerHTML"];function _b(e,t,n,r,i,s){const a=U,l=X,d=Ra;return o.openBlock(),o.createElementBlock("div",Cb,[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:n.submitButton,formAction:n.formAction}),{default:o.withCtx(()=>{var c,u,m,p,f,h,y,g,k,T,C,N,A,b,_,F,q,P,Be,Ee,Se,_e,Te,L,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",wb,[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)||"salutation",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),onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","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)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=H=>i.formData.salutation.value=H),onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",xb,[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)||"last-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":"",onValidate:s.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(k=n.configuration.firstName)==null?void 0:k.required,name:((T=n.configuration.firstName)==null?void 0:T.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=H=>i.formData.firstName.value=H),status:i.formData.firstName.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Bb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((C=n.configuration.email)==null?void 0:C.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(N=n.configuration.email)==null?void 0:N.required,name:((A=n.configuration.email)==null?void 0:A.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=H=>i.formData.email.value=H),status:i.formData.email.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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:(_=n.configuration.phone)==null?void 0:_.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",Eb,[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:(P=n.configuration.country)==null?void 0:P.required,name:((Be=n.configuration.country)==null?void 0:Be.name)||"country",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":"",onValidate:s.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((Ee=n.configuration.streetNo)==null?void 0:Ee.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Se=n.configuration.streetNo)==null?void 0:Se.required,name:((_e=n.configuration.streetNo)==null?void 0:_e.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=H=>i.formData.streetNo.value=H),status:i.formData.streetNo.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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:(L=n.configuration.pobox)==null?void 0:L.required,name:((de=n.configuration.pobox)==null?void 0:de.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=H=>i.formData.pobox.value=H),status:i.formData.pobox.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=H=>i.formData.zip.value=H),status:i.formData.zip.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=H=>i.formData.city.value=H),status:i.formData.city.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=H=>i.formData.additionalAddressInfo.value=H),status:i.formData.additionalAddressInfo.error?"error":"",onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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)||"user-message",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":"",onValidate:s.onValidate},null,8,["element","labelText","placeholder","required","name","textCharactersLeft","maxlength","modelValue","status","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)||"accept-privacy",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":"",onValidate:s.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Sb)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const za=V(kb,[["render",_b]]),Tb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ob=["title"],Nb={key:1},Vb=["title"];function Fb(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"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ob)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Nb,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,Vb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Ab=V(Tb,[["render",Fb]]),Lb={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})}}},Pb=["href","target","title"],Ib=["title"];function Mb(e,t,n,r,i,s){var d,c,u;const a=Ab,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,Pb)):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,Ib)):o.createCommentVNode("",!0)}const ot=V(Lb,[["render",Mb]]),Rb={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}})}}},Db={key:0,class:"cmd-list-of-links-item"},jb={key:0},qb={key:1,class:"input-wrapper"};function zb(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",qb,[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",Db,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",jb,[(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 Hb=V(Rb,[["render",zb]]),Ub={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))}})}}},Wb={key:1},Gb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Jb(e,t,n,r,i,s){var c;const a=U,l=Hb,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",Wb,[(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))},Gb)):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 fr=V(Ub,[["render",Jb]]),hr={name:"CmdBox",mixins:[$,{data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.contentbox.expand_text":"Expand text"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(e){return e==="content"||e==="product"||e==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(e){return e==="business"||e==="influencer"||e==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(e){return e==="header"||e==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(e){this.$emit("click",e)},setFocus(){this.$nextTick(()=>{if(this.open){const e=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");e&&e.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},Ha=()=>{o.useCssVars(e=>({"766100bf":e.cutoffTextLines}))},Ua=hr.setup;hr.setup=Ua?(e,t)=>(Ha(),Ua(e,t)):Ha;const Kb=["title"],Zb={key:0,class:"box-header"},Xb={key:1,class:"body-icon-wrapper"},Qb=["innerHTML"],Yb={key:0,class:"body-icon-wrapper"},$b=["innerHTML"],vb={key:2,class:"box-footer"},e0={key:3,class:"box-footer"},t0={class:"box-header flex-container vertical"},n0={key:0},o0=["src","alt"],r0={key:1},i0={key:2,class:"ribbon-new"},s0={key:3,class:"ribbon-discount"},a0={class:"box-body"},l0={key:0},c0={key:1,class:"price"},d0=["title"],u0={key:2},m0={class:"box-header flex-container vertical"},f0={key:0},h0=["src","alt"],p0={key:0,class:"user-name"},g0={key:0,class:"user-age"},y0={key:1},b0=["title"],k0={key:0,class:"user-name"},C0={class:"box-body"},w0={key:0,class:"user-name"},x0={key:1},B0={key:2},E0={key:3,class:"description"},S0={key:0,class:"tags"},_0={key:1,class:"box-footer"};function T0(e,t,n,r,i,s){var m,p,f,h,y,g,k,T,C,N,A;const a=U,l=z,d=Ne,c=ot,u=fr;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}):(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.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,Kb)):(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",Zb,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!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.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(k=n.useSlots)!=null&&k.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",Xb,[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,Qb)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((..._)=>s.toggleCutOffText&&s.toggleCutOffText(..._),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("cmdbox.contentbox.collapse_text"):e.getMessage("cmdbox.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",Yb,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(C=n.cmdHeadline)!=null&&C.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,$b)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(N=n.cmdLink)!=null&&N.linkType?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(A=n.useSlots)!=null&&A.includes("footer")?(o.openBlock(),o.createElementBlock("div",e0,[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",t0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",n0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,o0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",r0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",i0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",s0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",a0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(e.getMessage("cmdbox.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",c0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,d0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",u0,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",m0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",f0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,h0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",p0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",g0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",y0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",k0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",C0,[n.rowView?(o.openBlock(),o.createElementBlock("p",w0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",x0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",E0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",S0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,_)=>(o.openBlock(),o.createElementBlock("li",{key:_},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",_0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const pr=V(hr,[["render",T0]]),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 O0={class:"cmd-box-wrapper"},N0={key:0,class:"flex-container headline-wrapper"},V0={key:1,class:"options-wrapper"},F0=["title"];function A0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",O0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",N0,[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",V0,[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,F0)])):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",A0]]);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 L0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},P0={class:"cmd-breadcrumbs"},I0={key:0,class:"breadcrumb-label"},M0=["href"],R0={key:1},D0={key:1},j0={key:2},q0={key:1},z0={key:3,class:"separator"};function H0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",P0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",I0,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",R0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,M0)):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",D0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",j0,[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",q0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(L0,[["render",H0]]),U0={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"}}},W0={class:"cmd-company-logo company-logo"},G0=["href","title"];function J0(e,t,n,r,i,s){var d,c,u,m,p,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",W0,[((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:(p=n.link)==null?void 0:p.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,G0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(U0,[["render",J0]]),K0={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}}},Z0={class:"cmd-container"},X0=["innerHTML"],Q0=["innerHTML"];function Y0(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",Z0,[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,X0)):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,Q0)):o.createCommentVNode("",!0)])}const $0=V(K0,[["render",Y0]]),v0={name:"CmdCookieDisclaimer",mixins:[$,{data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{useSlot:{type:Boolean,default:!1},modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,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:{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}))}}},ek={class:"cmd-cookie-disclaimer flex-container vertical"},tk={key:0,class:"flex-container vertical"},nk={key:0},ok={key:1},rk=["href","target"],ik=["innerHTML"],sk=o.createElementVNode("hr",null,null,-1),ak={key:1,class:"flex-container vertical"},lk={key:0},ck={key:1},dk=["href","target"],uk=["innerHTML"],mk={class:"button-wrapper align-center"};function fk(e,t,n,r,i,s){const a=U,l=X,d=pr;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var c,u,m;return[o.createElementVNode("div",ek,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(c=n.cmdHeadlineCookieDisclaimer)!=null&&c.show&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineText)&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.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 p,f,h,y,g,k,T,C;return[(p=n.cookieOptions)!=null&&p.required?(o.openBlock(),o.createElementBlock("div",tk,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(y=n.cmdBoxRequiredCookies)==null?void 0:y.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(N,A)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:A},{header:o.withCtx(()=>[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=_=>s.acceptedCookies=_),inputValue:N.value,labelText:N.labelText,disabled:N.disabled,id:N.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[N.description?(o.openBlock(),o.createElementBlock("p",nk,o.toDisplayString(N.description),1)):o.createCommentVNode("",!0),N.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",ok,[o.createTextVNode(o.toDisplayString(N.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(..._)=>s.openDataPrivacy&&s.openDataPrivacy(..._)),href:N.linkDataPrivacy.link,target:N.linkDataPrivacy.target},o.toDisplayString(N.linkDataPrivacy.linkText),9,rk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,ik)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0),sk,(g=n.cookieOptions)!=null&&g.optional?(o.openBlock(),o.createElementBlock("div",ak,[(k=n.cmdBoxOptionalCookies)!=null&&k.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineText,"headline-level":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(N,A)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:A},{header:o.withCtx(()=>[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=_=>s.acceptedCookies=_),inputValue:N.value,labelText:N.labelText,disabled:N.disabled,id:N.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[N.description?(o.openBlock(),o.createElementBlock("p",lk,o.toDisplayString(N.description),1)):o.createCommentVNode("",!0),N.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",ck,[o.createTextVNode(o.toDisplayString(N.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(..._)=>s.openDataPrivacy&&s.openDataPrivacy(..._)),href:N.linkDataPrivacy.link,target:N.linkDataPrivacy.target},o.toDisplayString(N.linkDataPrivacy.linkText),9,dk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,uk)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0)]}),o.renderSlot(e.$slots,"privacy-text"),o.createElementVNode("div",mk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...p)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...p))},[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]=(...p)=>s.acceptAllCookies&&s.acceptAllCookies(...p))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])],64))])]}),_:3})}const hk=V(v0,[["render",fk]]),pk={name:"CmdCopyrightWrapper"},gk={class:"cmd-copyright-information",role:"contentinfo"},yk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function bk(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",gk,yk)}const kk=V(pk,[["render",bk]]),Ck={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[$,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...lr.data().defaultMessageProperties}}}},mn,bt,ur],data(){return{showOptions:!1,validationStatus:"",allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(e){return e==="default"||e==="color"||e==="country"||e==="content"||e==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},iconDropdown:{type:Object,default(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,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("cmdfakeselect.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("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const e=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let 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("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var e;this.type==="default"&&((e=this.selectData)!=null&&e.length)&&!this.selectData.some(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},wk=["title","aria-labelledby","aria-required"],xk={key:0,class:"label-text"},Bk=["id"],Ek={key:0,"aria-hidden":"true"},Sk=["title","aria-errormessage","id"],_k=["aria-expanded"],Tk=["title"],Ok=["src","alt"],Nk={key:3,class:"option-name"},Vk={key:0,role:"listbox"},Fk=["aria-selected"],Ak=["onClick","title"],Lk={key:1},Pk=["aria-expanded"],Ik=["for"],Mk=["value","checked","id"],Rk=["onClick"],Dk=["src","alt"],jk=["onClick"],qk={key:0,class:"select-all-options"};function zk(e,t,n,r,i,s){var c,u,m,p;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",xk,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Ek,"*")):o.createCommentVNode("",!0)],8,Bk),(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,Sk)):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,Ok)):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:(p=s.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",Nk,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,Tk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",Vk,[(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",Lk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Ak)):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,Fk))),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,Mk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Ik)):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,Dk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Rk)):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,jk)):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,Pk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,_k)],10,wk)}const Xa=V(Ck,[["render",zk]]),Hk={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}}},Uk={key:0,class:"cmd-form-filters"},Wk={key:0},Gk={key:1},Jk=["onClick","title"];function Kk(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",Uk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",Wk,[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",Gk,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,Jk)]))),128))])):o.createCommentVNode("",!0)}const Qa=V(Hk,[["render",Kk]]),Zk={name:"CmdSystemMessage",mixins:[bt],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}}},Xk=["role","aria-labelledby"],Qk=["title"];function Yk(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,Qk)):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,Xk)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const yr=V(Zk,[["render",Yk]]),$k={data(){return{defaultMessageProperties:{"cmdgooglemaps.system_message.accept_terms":"You must accept cookies to view the map.","cmdgooglemaps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...br(),...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 br(){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 vk={name:"CmdGoogleMaps",mixins:[$,$k],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){br().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}}},eC={class:"cmd-google-maps responsive-wrapper"},tC=["src"];function nC(e,t,n,r,i,s){const a=yr;return o.openBlock(),o.createElementBlock("div",eC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,tC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("cmdgooglemaps.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("cmdgooglemaps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(vk,[["render",nC]]),oC={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))}})}}},rC={class:"grid-container-create-columns cmd-image-gallery"},iC=["onClick","title"],sC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function aC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",rC,[(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))},sC)):(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("cmdimagegallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,iC))),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 lC=V(oC,[["render",aC]]),cC={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),p=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-p/2,0,a-p),y=-(f*(l/s)),g=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${g}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const dC={class:"cmd-image-zoom flex-container"},uC=["title"],mC={class:"zoom-container"},fC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function hC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",dC,[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,uC),o.createElementVNode("div",mC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),fC])}const pC=V(cC,[["render",hC]]),gC={mixins:[lr,mn,bt,ur],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(e){return e==="checkbox"||e==="radio"}},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var e;if(this.required){if((e=this.inputValue)!=null&&e.length){this.validationStatus="success";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},yC=["aria-labelledby"],bC={class:"label-text"},kC=["id"],CC={key:0,"aria-hidden":"true"},wC=["title","aria-errormessage","id"],xC=["for"],BC=["type","id","name","value","disabled"],EC={key:1,class:"label-text"},SC={key:1,class:"flex-container no-flex"};function _C(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",bC,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",CC,"*")):o.createCommentVNode("",!0)],8,kC),(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,wC)):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",SC,[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,BC),[[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",EC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,xC))),128))],2))],10,yC)}const nl=V(gC,[["render",_C]]),TC={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()}}},OC={class:"cmd-login-form flex-container"},NC={class:"option-wrapper flex-container"},VC={key:1},FC=["type","disabled"],AC={key:1},LC={class:"cmd-login-form flex-container"},PC={class:"option-wrapper flex-container"},IC={key:1},MC=["type","disabled"],RC={key:1};function DC(e,t,n,r,i,s){var u,m,p,f,h,y,g,k;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",OC,[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",NC,[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",VC,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:(p=n.options.createAccount.icon)==null?void 0:p.iconClass,tooltip:(f=n.options.createAccount.icon)==null?void 0:f.tooltip,position:(h=n.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):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",AC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,FC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",LC,[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",PC,[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",IC,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:(g=s.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(k=s.buttonSendLoginOptions.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",RC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,MC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const jC=V(TC,[["render",DC]]),qC={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})}}},zC={key:0,class:"close-nav"},HC=["href","title","target","onClick"],UC={key:1},WC={key:1},GC=["aria-expanded"],JC=["href","title","target","onClick"],KC={key:1},ZC={key:1},XC=["aria-expanded"],QC=["href","title","target","onClick"],YC={key:1},$C={key:1};function vC(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",zC,[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,p;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",UC,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,HC)):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",WC,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),(p=d==null?void 0:d.subentries)!=null&&p.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:g=>s.executeLink(g,f,h,1),onMouseover:t[3]||(t[3]=g=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=g=>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",KC,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,JC)):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",ZC,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,(g,k)=>(o.openBlock(),o.createElementBlock("li",{key:k},[g.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:T=>s.executeLink(T,g)},[g.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",YC,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,QC)):o.createCommentVNode("",!0),g.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(g),target:g.target},{default:o.withCtx(()=>[g.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",$C,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.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,XC)):o.createCommentVNode("",!0)],2)}),128))],8,GC)):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(qC,[["render",vC]]),ew={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)}}},tw={key:0,class:"number"},nw={key:2};function ow(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",tw,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",nw,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 rw=V(ew,[["render",ow]]),iw={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}}},sw={class:"cmd-newsletter-subscription flex-container"},aw={class:"button-wrapper"};function lw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",sw,[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",aw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const cw=V(iw,[["render",lw]]);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 dw={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}}},uw={class:"cmd-opening-hours-item"},mw={key:0,class:"am"},fw={key:1,class:"pm"},hw={class:"flex-container no-flex"},pw={class:"flex-container no-flex am-wrapper"},gw={key:1,class:"input-wrapper"},yw=["title"],bw={class:"flex-container no-flex pm-wrapper"},kw={key:1,class:"input-wrapper"},Cw=["title"];function ww(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",hw,[o.createElementVNode("div",pw,[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",gw,[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,yw)]),o.createElementVNode("div",bw,[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",kw,[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,Cw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",uw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",mw,[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",fw,[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 xw=V(dw,[["render",ww]]);function Bw(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 Ew={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):Bw(":"," 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))}})}}},Sw={class:"cmd-opening-hours"},_w={key:2,class:"flex-container"},Tw={key:3},Ow=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Nw={class:"edit-mode-opening-hours-item"},Vw={key:5},Fw={key:0},Aw={key:1},Lw={key:6,class:"flex-container vertical"};function Pw(e,t,n,r,i,s){var m,p;const a=U,l=ot,d=X,c=xw,u=Ae;return o.openBlock(),o.createElementBlock("div",Sw,[(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},[(p=n.cmdLink)!=null&&p.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",_w,[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))},Ow)):(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",Nw,[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",Tw,[(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",Vw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Fw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Aw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",Lw,[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 Iw=V(Ew,[["render",Pw]]),Mw={name:"CmdPagination",mixins:[$,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(e){return e==="href"||e==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(e){return this.linkType!=="href"||this.currentPage===e?null:"#"},showPage(e){this.currentPage=e,this.$emit("click",e)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},Rw={class:"cmd-pagination"},Dw=["href","title"],jw={key:0},qw={class:"page-index"},zw={class:"flex-container"},Hw=["href","title","onClick"],Uw=["href","title"],Ww={key:0};function Gw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Rw,[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",jw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Dw),o.createElementVNode("div",qw,[o.createElementVNode("div",zw,[(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("cmdpager.tooltip.go_to_page",d+1):e.getMessage("cmdpager.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,Hw))),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",Ww,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,Uw)])}const Jw=V(Mw,[["render",Gw]]),Kw={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}})}}},Zw={class:"cmd-social-networks-item"},Xw=["id","href","title"],Qw={key:1};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",Zw,[(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",Qw,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,Xw))])}const $w=V(Kw,[["render",Yw]]),vw={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)}}}}},ex=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function tx(e,t,n,r,i,s){var u,m;const a=U,l=X,d=$w,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]=p=>i.dataPrivacyAccepted=p)}),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,(p,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:p,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,(p,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:p,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]=(...p)=>s.onAddItem&&s.onAddItem(...p))},ex))],2)}const il=V(vw,[["render",tx]]),nx={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var 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("main")],qe({elements:e,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey})}}},ox={class:"button-wrapper"},rx=["title"],ix={key:1};function sx(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",ox,[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}]),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",ix,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,rx)):o.createCommentVNode("",!0)])],2)}const ax=V(nx,[["render",sx]]),lx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},cx={key:0,class:"cmd-page-header flex-container"},dx={key:0,class:"headline-wrapper flex-container vertical"};function ux(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",cx,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",dx,[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 mx=V(lx,[["render",ux]]),fx={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}}},hx=["for"],px={class:"progressbar"},gx={key:0},yx=["id","value"];function bx(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",px,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",gx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,yx)])],8,hx)}const kx=V(fx,[["render",bx]]),Cx={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}}},wx={class:"inner-sidebar-wrapper"},xx={key:1,class:"open-slot-wrapper"},Bx={key:2,class:"closed-slot-wrapper"},Ex=["title"];function Sx(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",wx,[(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",xx,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Bx,[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,Ex)):o.createCommentVNode("",!0)],2)}const _x=V(Cx,[["render",Sx]]),Tx={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Ox={class:"cmd-site-footer site-footer"};function Nx(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Ox,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Vx=V(Tx,[["render",Nx]]),Fx={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}}},Ax={key:0,class:"top-header"};function Lx(e,t,n,r,i,s){var d,c,u,m,p,f,h,y,g;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",Ax,[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||(p=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&p.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),(g=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&g.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 Px=V(Fx,[["render",Lx]]),Ix={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[$,{data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}}],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,required:!1},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(e){this.$emit("update:modelValueInput1",e)}},searchValue2:{get(){return this.modelValueInput2},set(e){this.$emit("update:modelValueInput2",e)}},radius:{get(){return this.modelValueRadius},set(e){this.$emit("update:modelValueRadius",e)}},searchFilters:{get(){return this.modelValueSearchFilters},set(e){this.$emit("update:modelValueSearchFilters",e)}},buttonSearchDisabled(){const e=!this.cmdFormElementInput1.required||this.searchValue1.trim(),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}}},Mx={class:"cmd-box-site-search flex-container"},Rx={class:"flex-container align-bottom"},Dx={class:"input-wrapper align-bottom"},jx={key:0},qx={key:1},zx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Hx(e,t,n,r,i,s){var m,p,f,h,y,g,k,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Mx,[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",Rx,[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]=C=>s.searchValue1=C)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Dx,[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]=C=>s.searchValue2=C)},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]=C=>s.radius=C)},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(C=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(p=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(T=(k=n.cmdIcon)==null?void 0:k.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",jx,o.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",qx,o.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var C,N,A,b,_;return[i.showFilters&&((C=n.cmdFakeSelect)!=null&&C.selectData.length)?(o.openBlock(),o.createElementBlock("div",zx,[o.createVNode(c,{role:"option",selectData:(N=n.cmdFakeSelect)==null?void 0:N.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>s.searchFilters=F),defaultOptionName:(A=n.cmdFakeSelect)==null?void 0:A.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(_=n.cmdFakeSelect)==null?void 0:_.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]=C=>s.searchFilters=C),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Ux=V(Ix,[["render",Hx]]),Wx={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)})}}},Gx=["href","title"],Jx=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],Kx={key:2},Zx=["onClick","aria-label","title"],Xx={key:3,class:"item-counter"};function Qx(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,p,f,h,y,g,k,T,C;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:(C=s.currentItem)==null?void 0:C.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=(p=s.currentItem)==null?void 0:p.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,Gx)):(o.openBlock(),o.createBlock(l,{key:1,image:(g=s.currentItem)==null?void 0:g.image,figcaption:(k=s.currentItem)==null?void 0:k.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]=(...N)=>s.onAddItem&&s.onAddItem(...N))},Jx)):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",Kx,[(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,Zx)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",Xx,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const Yx=V(Wx,[["render",Qx]]),$x=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"})),vx={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($x[t].default)})},immediate:!0,deep:!0}}},e1={class:"cmd-switch-language"},t1=["href","title","onClick"],n1=["src","alt"],o1=["src","alt"];function r1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",e1,[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,n1)],10,t1)):(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,o1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const i1=V(vx,[["render",r1]]),s1={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}}},a1={key:0,class:"button-wrapper"},l1=["title"],c1=["title"],d1={"aria-expanded":"true"},u1={key:0,"aria-expanded":"true"};function m1(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",a1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(p=>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,l1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(p=>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,c1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...p)=>s.updatePosition&&s.updatePosition(...p))},[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,(p,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(p),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",d1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(p,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(p,(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",u1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(p,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(p),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 f1=V(s1,[["render",m1]]);ua({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
1
+ (function(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 hP=Object.defineProperty;var pP=(O,o,Oe)=>o in O?hP(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var en=(O,o,Oe)=>pP(O,typeof o!="symbol"?o+"":o,Oe);const Oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,tn=(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&&!nn(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&&!nn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!nn(l,n)?null:l}return null},nn=(e,t)=>e?!!((e.provider===""||e.provider.match(Oe))&&(t&&e.prefix===""||e.prefix.match(Oe))&&e.name.match(Oe)):!1,ia=Object.freeze({left:0,top:0,width:16,height:16}),on=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),rn=Object.freeze({...ia,...on}),Go=Object.freeze({...rn,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 sa(e,t){const n=Xf(e,t);for(const r in Go)r in on?r in e&&!(r in n)&&(n[r]=on[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=sa(r[l]||i[l],s)}return a(t),n.forEach(a),sa(e,s)}function aa(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:{},...ia};function Jo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function la(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Jo(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"||!Jo(s,Go))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]||!Jo(s,Go))return null}return t}const ca=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=ca[e]||(ca[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Ko(e,t){return la(t)?aa(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 da(e){return typeof e=="boolean"&&(pt=e),pt}function th(e){const t=typeof e=="string"?tn(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=tn(e,!0,pt);if(!n)return!1;const r=je(n.provider,n.prefix);return eh(r,n.name,t)}function ua(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return la(e)&&(e.prefix="",aa(e,(s,a)=>{a&&nh(s,a)&&(i=!0)})),i}const n=e.prefix;if(!nn({provider:t,prefix:n,name:"a"}))return!1;const r=je(t,n);return!!Ko(r,e)}const ma=Object.freeze({width:null,height:null}),fa=Object.freeze({...ma,...on}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ha(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={...rn,...e},r={...fa,...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,g=f.vFlip;let k=f.rotate;y?g?k+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){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}k%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=ha(m,d/c)):(u=a==="auto"?d:a,m=l===null?ha(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 Zo=Object.create(null);function dh(e,t){Zo[e]=t}function Xo(e){return Zo[e]||Zo[""]}function Qo(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 Yo=Object.create(null),gt=["https://api.simplesvg.com","https://api.unisvg.com"],sn=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?sn.push(gt.shift()):sn.push(gt.pop());Yo[""]=Qo({resources:["https://api.iconify.design"].concat(sn)});function uh(e,t){const n=Qo(t);return n===null?!1:(Yo[e]=n,!0)}function $o(e){return Yo[e]}let pa=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function mh(e,t){const n=$o(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=$o(e);if(t)return t.path}return"/"}const gh={prepare:hh,send:(e,t,n)=>{if(!pa){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;pa(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 ga(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||ga([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=ga.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"?tn(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!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 A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function ya(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,p)=>{r(),c&&c(m,p)});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 ba(){}const vo=Object.create(null);function Eh(e){if(!vo[e]){const t=$o(e);if(!t)return;const n=ya(t),r={config:t,redundancy:n};vo[e]=r}return vo[e]}function Sh(e,t,n){let r,i;if(typeof e=="string"){const s=Xo(e);if(!s)return n(void 0,424),ba;i=s.send;const a=Eh(e);a&&(r=a.redundancy)}else{const s=Qo(e);if(s){r=ya(s);const a=e.resources?e.resources[0]:"",l=Xo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ba):r.query(t,i,n)().abort}const ka="iconify2",yt="iconify",Ca=yt+"-count",wa=yt+"-version",xa=36e5,_h=168;function er(e,t){try{return e.getItem(t)}catch{}}function tr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ba(e,t){try{e.removeItem(t)}catch{}}function nr(e,t){return tr(e,Ca,t.toString())}function or(e){return parseInt(er(e,Ca))||0}const an={local:!0,session:!0},Ea={local:new Set,session:new Set};let rr=!1;function Th(e){rr=e}let ln=typeof window>"u"?{}:window;function Sa(e){const t=e+"Storage";try{if(ln&&ln[t]&&typeof ln[t].length=="number")return ln[t]}catch{}an[e]=!1}function _a(e,t){const n=Sa(e);if(!n)return;const r=er(n,wa);if(r!==ka){if(r){const l=or(n);for(let d=0;d<l;d++)Ba(n,yt+d.toString())}tr(n,wa,ka),nr(n,0);return}const i=Math.floor(Date.now()/xa)-_h,s=l=>{const d=yt+l.toString(),c=er(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{}Ba(n,d)}};let a=or(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,nr(n,a)):Ea[e].add(l))}function Ta(){if(!rr){Th(!0);for(const e in an)_a(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=je(r,i);if(!Ko(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 an)_a(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nh(e,t){rr||Ta();function n(r){let i;if(!an[r]||!(i=Sa(r)))return;const s=Ea[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=or(i),!nr(i,a+1))return;const l={cached:Math.floor(Date.now()/xa),provider:e.provider,data:t};return tr(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 Oa(){}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=Xo(n)))return;s.prepare(n,r,i).forEach(l=>{Sh(n,l,(d,c)=>{if(typeof d!="object"){if(c!==404)return;l.icons.forEach(u=>{e.missing.add(u)})}else try{const u=Ko(e,d);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(p=>{m.delete(p)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,da()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Oa)}),()=>{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,p=je(c,u),f=p.pendingIcons||(p.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):Oa};function Ph(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ma?(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 Na={...fa,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"},ir={backgroundColor:"currentColor"},Va={backgroundColor:"transparent"},Fa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Aa={webkitMask:ir,mask:ir,background:Va};for(const e in Aa){const t=Aa[e];for(const n in Fa)t[e+n]=Fa[n]}const cn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";cn[e+"-flip"]=t,cn[e.slice(0,1)+"-flip"]=t,cn[e+"Flip"]=t});function Pa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const La=(e,t)=>{const n=Ph(Na,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 g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&Ih(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=Mh(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=cn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Na[y]===void 0&&(r[y]=g)}}}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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=ch(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":jh(h),width:Pa(c.width),height:Pa(c.height),...zh,...f?ir:Va,...l},o.h("span",r)};if(da(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Ta();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"||!ua(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={...rn,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=tn(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 La(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),La({...rn,...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 dn(e,"EditComponentWrapper",t)}function Kh(e){return dn(e,"EditModeSettingsSidebar")}function Zh(e){return dn(e,"EditModeMainSidebar")}function dn(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?dn(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"})}}},Ep={key:0,class:"headline-wrapper"},Sp=["title"];function _p(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",Ep,[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,Sp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const Ia=V(Bp,[["render",_p]]),$={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:[$,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}}],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},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,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[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=Ia;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 sr=V(Ip,[["render",Mp]]),ar={data(){return{defaultMessageProperties:{"cmdformelement.validation_tooltip.an_error_occurred":"An error occurred!","cmdformelement.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validation_tooltip.open_field_requirements":"Open field requirements!","cmdformelement.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},lr={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[$,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return{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("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},inputRequirements(){const e=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const 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("cmdfieldvalidation.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("cmdfieldvalidation.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 cr(){return"cmd-"+tt()}const un={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||cr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},dr={};function Rp(e="defaultSequence"){const t=dr[e]||0;return dr[e]=t+1,dr[e]}const ur={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:[$,ar,lr,un,ur],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("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validation_tooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.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("cmdformelement.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,p,f,h,y,g,k,T,C,N,A,b,_,F,q,L,Be,Ee,Se,_e,Te;const a=z,l=sr;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=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((k=(g=n.nativeButton)==null?void 0:g.icon)!=null&&k.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(C=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:C.iconClass,type:(A=(N=n.nativeButton)==null?void 0:N.icon)==null?void 0:A.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((_=n.nativeButton)!=null&&_.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:(Se=(Ee=n.nativeButton)==null?void 0:Ee.icon)==null?void 0:Se.iconClass,type:(Te=(_e=n.nativeButton)==null?void 0:_e.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),Eg={key:0,class:"postal-code"},Sg={key:1,class:"locality"},_g=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",Eg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Sg,[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),_g,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,$,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var e;return(e=this.addressData.website)==null?void 0:e.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(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,p)=>(o.openBlock(),o.createBlock(d,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",p]},{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,p)=>(o.openBlock(),o.createBlock(l,{key:p,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,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[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 Ma=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:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:cr,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}}},wy=["action","data-use-validation","novalidate"],xy={class:"flex-container"},By=["type"],Ey={key:1},Sy={key:0,class:"button-wrapper"},_y=["type"],Ty={key:1};function Oy(e,t,n,r,i,s){const a=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]=(...l)=>s.onSubmit&&s.onSubmit(...l)),novalidate:n.novalidate},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",xy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.formElements,(l,d)=>(o.openBlock(),o.createBlock(a,{key:d,element:l.element||"input",type:l.type||"text",name:l.name,class:o.normalizeClass(l.htmlClass),id:l.id||s.createHtmlId(),modelValue:i.formValues[l.name],"onUpdate:modelValue":c=>i.formValues[l.name]=c,inputValue:l.inputValue,fieldIconClass:l.innerIconClass,selectOptions:l.selectOptions,labelText:l.labelText,placeholder:l.placeholder,required:l.required,disabled:l.disabled,autocomplete:l.autocomplete,minlength:l.minlength,maxlength:l.maxlength,nativeButton:l.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:2,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",Ey,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,By)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Sy,[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",Ty,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,_y)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,wy)}const Ra=V(Cy,[["render",Oy]]),Ny={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){en(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.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,De.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,""]}};en(De,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),en(De,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),en(De,"PATTERN_MESSAGE",/^.{2,500}$/);let mr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Da(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 Vy={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&&Da(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(),Da(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}}},Fy=["innerHTML"],Ay=o.createElementVNode("span",{class:"icon-image"},null,-1),Py=["src","alt","title"],Ly=["src","alt","title"],Iy=["innerHTML"],My=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],Ry=["innerHTML"],Dy=["src","alt","title"],jy=["innerHTML"],qy=["src","alt","title"];function zy(e,t,n,r,i,s){var d,c,u,m,p,f,h,y,g,k,T,C,N;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(A=>{var b,_,F,q,L,Be,Ee,Se,_e,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&&((_=n.figcaption)==null?void 0:_.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.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,Fy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),A.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!"}),[Ay,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,Py)],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:(Ee=n.image)==null?void 0:Ee.alt,title:(Se=n.image)==null?void 0:Se.tooltip},null,8,Ly)):o.createCommentVNode("",!0),(_e=n.figcaption)!=null&&_e.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[A.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,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!A.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))},My)):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:(p=n.figcaption)==null?void 0:p.text},null,8,Ry)):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]=(...A)=>s.onImageLoaded&&s.onImageLoaded(...A))},null,40,Dy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((g=n.figcaption)!=null&&g.text)&&((k=n.figcaption)!=null&&k.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,jy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(C=n.image)==null?void 0:C.alt,title:(N=n.image)==null?void 0:N.tooltip,onLoad:t[5]||(t[5]=(...A)=>s.onImageLoaded&&s.onImageLoaded(...A))},null,40,qy))}const Ne=V(Vy,[["render",zy]]),Hy={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"),{})}}},Uy=["title"];function Wy(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,Uy)}const bt=V(Hy,[["render",Wy]]),Gy={name:"CmdThumbnailScroller",emits:["click"],mixins:[$,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},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("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id: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}}},Jy={class:"inner-thumbnail-wrapper"},Ky=["href","onClick","title","target"],Zy={key:1},Xy={key:1},Qy={key:0},Yy=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function $y(e,t,n,r,i,s){var u;const a=U,l=bt,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",Jy,[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,p)=>(o.openBlock(),o.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",p],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",Xy,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(p,f),class:o.normalizeClass([{active:n.activeItemIndex===p},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",Zy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Ky))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",Qy,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Yy)])):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 ja=V(Gy,[["render",$y]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(qa,{...e,show:!0}).mount(t)},qa=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:{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 vy(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 vy(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const eb=qa,tb=["aria-label"],nb={class:"flex-container"},ob={key:1,class:"button-wrapper no-flex"},rb=["title"],ib=["title"],sb=["title"],ab={key:0,class:"content"},lb=["innerHTML"],cb={key:2,class:"content",ref:"elements"},db={key:3,class:"content"},ub={key:4,class:"content"},mb={key:0,class:"flex-container no-flex"},fb=["title"],hb={key:1},pb=["title"],gb={key:1};function yb(e,t,n,r,i,s){var m,p,f,h,y,g,k,T,C,N,A,b,_,F,q,L,Be,Ee,Se,_e,Te,P,de,re,Yt,$t,vt;const a=U,l=z,d=Ne,c=bt,u=ja;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",nb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.cmdHeadline)),null,16)):o.createCommentVNode("",!0),(p=e.fancyboxOptionsProperties.printButtons)!=null&&p.color||(f=e.fancyboxOptionsProperties.printButtons)!=null&&f.grayscale||e.fancyboxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("div",ob,[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.printInGrayscale=!1,["prevent"]))},[o.createVNode(l,{iconClass:(g=e.fancyboxOptionsProperties.printButtons.color)==null?void 0:g.iconClass,type:(k=e.fancyboxOptionsProperties.printButtons.color)==null?void 0:k.iconType},null,8,["iconClass","type"])],8,rb)):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:(C=e.fancyboxOptionsProperties.printButtons.grayscale)==null?void 0:C.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printInGrayscale=!0,["prevent"]))},[o.createVNode(l,{iconClass:(N=e.fancyboxOptionsProperties.printButtons.grayscale)==null?void 0:N.iconClass,type:(A=e.fancyboxOptionsProperties.printButtons.grayscale)==null?void 0:A.iconType},null,8,["iconClass","type"])],8,ib)):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,sb)):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",ab,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(_=e.cmdImage)==null?void 0:_.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,lb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",cb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",db,[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",ub,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptionsProperties.submitButtons?(o.openBlock(),o.createElementBlock("footer",mb,[(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:(Ee=e.fancyboxOptionsProperties.submitButtons.cancel)==null?void 0:Ee.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Se=e.fancyboxOptionsProperties.submitButtons.cancel)!=null&&Se.buttonText?(o.openBlock(),o.createElementBlock("span",hb,o.toDisplayString((_e=e.fancyboxOptionsProperties.submitButtons.cancel)==null?void 0:_e.buttonText),1)):o.createCommentVNode("",!0)],8,fb)):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:(Yt=e.fancyboxOptionsProperties.submitButtons.confirm)==null?void 0:Yt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),($t=e.fancyboxOptionsProperties.submitButtons.confirm)!=null&&$t.buttonText?(o.openBlock(),o.createElementBlock("span",gb,o.toDisplayString((vt=e.fancyboxOptionsProperties.submitButtons.confirm)==null?void 0:vt.buttonText),1)):o.createCommentVNode("",!0)],8,pb)):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,tb)}const bb=V(eb,[["render",yb]]),kb={emits:["submit"],mixins:[$,Ny],inject:{editModeContext:{default:null}},data(){return{validator:new mr(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},lastName:{required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,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){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 r=0;r<n.length;r++)t.set(n[r],this.formData[n[r]].value);fetch(this.formAction,{method:"POST",body:t}).then(r=>{r.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(r=>{console.error(r)}),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}}},Cb={class:"cmd-pages-basic-form"},wb={key:0,class:"flex-container no-flex order-male-female"},xb={key:1,class:"flex-container order-lastname-firstname"},Bb={key:2,class:"flex-container order-phone-email"},Eb={key:3,class:"flex-container"},Sb=["innerHTML"];function _b(e,t,n,r,i,s){const a=U,l=X,d=Ra;return o.openBlock(),o.createElementBlock("div",Cb,[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}),{default:o.withCtx(()=>{var c,u,m,p,f,h,y,g,k,T,C,N,A,b,_,F,q,L,Be,Ee,Se,_e,Te,P,de,re,Yt,$t,vt,ue,Df,jf,qf,zf,Hf,Uf,Wf,Gf,Jf,Kf,Zf;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",wb,[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)||"salutation",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)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.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",xb,[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)||"last-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:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(k=n.configuration.firstName)==null?void 0:k.required,name:((T=n.configuration.firstName)==null?void 0:T.name)||"first-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",Bb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((C=n.configuration.email)==null?void 0:C.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(N=n.configuration.email)==null?void 0:N.required,name:((A=n.configuration.email)==null?void 0:A.name)||"email",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:(_=n.configuration.phone)==null?void 0:_.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",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",Eb,[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)||"country",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:((Ee=n.configuration.streetNo)==null?void 0:Ee.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Se=n.configuration.streetNo)==null?void 0:Se.required,name:((_e=n.configuration.streetNo)==null?void 0:_e.name)||"street-no",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)||"pobox",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:(Yt=n.configuration.zip)==null?void 0:Yt.required,name:(($t=n.configuration.zip)==null?void 0:$t.name)||"zip",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:((vt=n.configuration.city)==null?void 0:vt.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)||"city",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)||"additional-address-info",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)||"user-message",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)||"accept-privacy",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,Sb)]),_:1},8,["required","name","replaceInputType","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const za=V(kb,[["render",_b]]),Tb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ob=["title"],Nb={key:1},Vb=["title"];function Fb(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"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ob)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Nb,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,Vb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Ab=V(Tb,[["render",Fb]]),Pb={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})}}},Lb=["href","target","title"],Ib=["title"];function Mb(e,t,n,r,i,s){var d,c,u;const a=Ab,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,Lb)):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,Ib)):o.createCommentVNode("",!0)}const ot=V(Pb,[["render",Mb]]),Rb={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}})}}},Db={key:0,class:"cmd-list-of-links-item"},jb={key:0},qb={key:1,class:"input-wrapper"};function zb(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",qb,[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",Db,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",jb,[(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 Hb=V(Rb,[["render",zb]]),Ub={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))}})}}},Wb={key:1},Gb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Jb(e,t,n,r,i,s){var c;const a=U,l=Hb,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",Wb,[(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))},Gb)):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 fr=V(Ub,[["render",Jb]]),hr={name:"CmdBox",mixins:[$,{data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.contentbox.expand_text":"Expand text"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(e){return e==="content"||e==="product"||e==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(e){return e==="business"||e==="influencer"||e==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(e){return e==="header"||e==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(e){this.$emit("click",e)},setFocus(){this.$nextTick(()=>{if(this.open){const e=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");e&&e.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},Ha=()=>{o.useCssVars(e=>({"766100bf":e.cutoffTextLines}))},Ua=hr.setup;hr.setup=Ua?(e,t)=>(Ha(),Ua(e,t)):Ha;const Kb=["title"],Zb={key:0,class:"box-header"},Xb={key:1,class:"body-icon-wrapper"},Qb=["innerHTML"],Yb={key:0,class:"body-icon-wrapper"},$b=["innerHTML"],vb={key:2,class:"box-footer"},e0={key:3,class:"box-footer"},t0={class:"box-header flex-container vertical"},n0={key:0},o0=["src","alt"],r0={key:1},i0={key:2,class:"ribbon-new"},s0={key:3,class:"ribbon-discount"},a0={class:"box-body"},l0={key:0},c0={key:1,class:"price"},d0=["title"],u0={key:2},m0={class:"box-header flex-container vertical"},f0={key:0},h0=["src","alt"],p0={key:0,class:"user-name"},g0={key:0,class:"user-age"},y0={key:1},b0=["title"],k0={key:0,class:"user-name"},C0={class:"box-body"},w0={key:0,class:"user-name"},x0={key:1},B0={key:2},E0={key:3,class:"description"},S0={key:0,class:"tags"},_0={key:1,class:"box-footer"};function T0(e,t,n,r,i,s){var m,p,f,h,y,g,k,T,C,N,A;const a=U,l=z,d=Ne,c=ot,u=fr;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}):(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.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,Kb)):(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",Zb,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!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.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(k=n.useSlots)!=null&&k.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",Xb,[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,Qb)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((..._)=>s.toggleCutOffText&&s.toggleCutOffText(..._),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("cmdbox.contentbox.collapse_text"):e.getMessage("cmdbox.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",Yb,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(C=n.cmdHeadline)!=null&&C.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,$b)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(N=n.cmdLink)!=null&&N.linkType?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(A=n.useSlots)!=null&&A.includes("footer")?(o.openBlock(),o.createElementBlock("div",e0,[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",t0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",n0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,o0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",r0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",i0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",s0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",a0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(e.getMessage("cmdbox.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",c0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,d0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",u0,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",m0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",f0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,h0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",p0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",g0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",y0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",k0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",C0,[n.rowView?(o.openBlock(),o.createElementBlock("p",w0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",x0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",E0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",S0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,_)=>(o.openBlock(),o.createElementBlock("li",{key:_},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",_0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const pr=V(hr,[["render",T0]]),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 O0={class:"cmd-box-wrapper"},N0={key:0,class:"flex-container headline-wrapper"},V0={key:1,class:"options-wrapper"},F0=["title"];function A0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",O0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",N0,[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",V0,[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,F0)])):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",A0]]);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 P0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},L0={class:"cmd-breadcrumbs"},I0={key:0,class:"breadcrumb-label"},M0=["href"],R0={key:1},D0={key:1},j0={key:2},q0={key:1},z0={key:3,class:"separator"};function H0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",L0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",I0,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",R0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,M0)):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",D0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",j0,[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",q0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(P0,[["render",H0]]),U0={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"}}},W0={class:"cmd-company-logo company-logo"},G0=["href","title"];function J0(e,t,n,r,i,s){var d,c,u,m,p,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",W0,[((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:(p=n.link)==null?void 0:p.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,G0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(U0,[["render",J0]]),K0={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}}},Z0={class:"cmd-container"},X0=["innerHTML"],Q0=["innerHTML"];function Y0(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",Z0,[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,X0)):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,Q0)):o.createCommentVNode("",!0)])}const $0=V(K0,[["render",Y0]]),v0={name:"CmdCookieDisclaimer",mixins:[$,{data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{useSlot:{type:Boolean,default:!1},modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,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:{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}))}}},ek={class:"cmd-cookie-disclaimer flex-container vertical"},tk={key:0,class:"flex-container vertical"},nk={key:0},ok={key:1},rk=["href","target"],ik=["innerHTML"],sk=o.createElementVNode("hr",null,null,-1),ak={key:1,class:"flex-container vertical"},lk={key:0},ck={key:1},dk=["href","target"],uk=["innerHTML"],mk={class:"button-wrapper align-center"};function fk(e,t,n,r,i,s){const a=U,l=X,d=pr;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var c,u,m;return[o.createElementVNode("div",ek,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(c=n.cmdHeadlineCookieDisclaimer)!=null&&c.show&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineText)&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.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 p,f,h,y,g,k,T,C;return[(p=n.cookieOptions)!=null&&p.required?(o.openBlock(),o.createElementBlock("div",tk,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(y=n.cmdBoxRequiredCookies)==null?void 0:y.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(N,A)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:A},{header:o.withCtx(()=>[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=_=>s.acceptedCookies=_),inputValue:N.value,labelText:N.labelText,disabled:N.disabled,id:N.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[N.description?(o.openBlock(),o.createElementBlock("p",nk,o.toDisplayString(N.description),1)):o.createCommentVNode("",!0),N.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",ok,[o.createTextVNode(o.toDisplayString(N.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(..._)=>s.openDataPrivacy&&s.openDataPrivacy(..._)),href:N.linkDataPrivacy.link,target:N.linkDataPrivacy.target},o.toDisplayString(N.linkDataPrivacy.linkText),9,rk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,ik)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0),sk,(g=n.cookieOptions)!=null&&g.optional?(o.openBlock(),o.createElementBlock("div",ak,[(k=n.cmdBoxOptionalCookies)!=null&&k.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineText,"headline-level":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(N,A)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:A},{header:o.withCtx(()=>[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=_=>s.acceptedCookies=_),inputValue:N.value,labelText:N.labelText,disabled:N.disabled,id:N.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[N.description?(o.openBlock(),o.createElementBlock("p",lk,o.toDisplayString(N.description),1)):o.createCommentVNode("",!0),N.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",ck,[o.createTextVNode(o.toDisplayString(N.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(..._)=>s.openDataPrivacy&&s.openDataPrivacy(..._)),href:N.linkDataPrivacy.link,target:N.linkDataPrivacy.target},o.toDisplayString(N.linkDataPrivacy.linkText),9,dk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,uk)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0)]}),o.renderSlot(e.$slots,"privacy-text"),o.createElementVNode("div",mk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...p)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...p))},[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]=(...p)=>s.acceptAllCookies&&s.acceptAllCookies(...p))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])],64))])]}),_:3})}const hk=V(v0,[["render",fk]]),pk={name:"CmdCopyrightWrapper"},gk={class:"cmd-copyright-information",role:"contentinfo"},yk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function bk(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",gk,yk)}const kk=V(pk,[["render",bk]]),Ck={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[$,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...ar.data().defaultMessageProperties}}}},lr,un,ur],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("cmdfakeselect.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("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const e=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let 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("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var e;this.type==="default"&&((e=this.selectData)!=null&&e.length)&&!this.selectData.some(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},wk=["title","aria-labelledby","aria-required"],xk={key:0,class:"label-text"},Bk=["id"],Ek={key:0,"aria-hidden":"true"},Sk=["title","aria-errormessage","id"],_k=["aria-expanded"],Tk=["title"],Ok=["src","alt"],Nk={key:3,class:"option-name"},Vk={key:0,role:"listbox"},Fk=["aria-selected"],Ak=["onClick","title"],Pk={key:1},Lk=["aria-expanded"],Ik=["for"],Mk=["value","checked","id"],Rk=["onClick"],Dk=["src","alt"],jk=["onClick"],qk={key:0,class:"select-all-options"};function zk(e,t,n,r,i,s){var c,u,m,p;const a=z,l=sr,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",xk,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Ek,"*")):o.createCommentVNode("",!0)],8,Bk),(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,Sk)):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,Ok)):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:(p=s.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",Nk,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,Tk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",Vk,[(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",Pk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Ak)):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,Fk))),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,Mk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Ik)):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,Dk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Rk)):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,jk)):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,Lk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,_k)],10,wk)}const Xa=V(Ck,[["render",zk]]),Hk={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}}},Uk={key:0,class:"cmd-form-filters"},Wk={key:0},Gk={key:1},Jk=["onClick","title"];function Kk(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",Uk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",Wk,[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",Gk,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,Jk)]))),128))])):o.createCommentVNode("",!0)}const Qa=V(Hk,[["render",Kk]]),Zk={name:"CmdSystemMessage",mixins:[un],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}}},Xk=["role","aria-labelledby"],Qk=["title"];function Yk(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,Qk)):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,Xk)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const yr=V(Zk,[["render",Yk]]),$k={data(){return{defaultMessageProperties:{"cmdgooglemaps.system_message.accept_terms":"You must accept cookies to view the map.","cmdgooglemaps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...br(),...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 br(){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 vk={name:"CmdGoogleMaps",mixins:[$,$k],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){br().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}}},eC={class:"cmd-google-maps responsive-wrapper"},tC=["src"];function nC(e,t,n,r,i,s){const a=yr;return o.openBlock(),o.createElementBlock("div",eC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,tC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("cmdgooglemaps.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("cmdgooglemaps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(vk,[["render",nC]]),oC={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))}})}}},rC={class:"grid-container-create-columns cmd-image-gallery"},iC=["onClick","title"],sC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function aC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",rC,[(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))},sC)):(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("cmdimagegallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,iC))),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 lC=V(oC,[["render",aC]]),cC={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),p=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-p/2,0,a-p),y=-(f*(l/s)),g=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${g}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const dC={class:"cmd-image-zoom flex-container"},uC=["title"],mC={class:"zoom-container"},fC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function hC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",dC,[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,uC),o.createElementVNode("div",mC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),fC])}const pC=V(cC,[["render",hC]]),gC={mixins:[ar,lr,un,ur],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}}},yC=["aria-labelledby"],bC={class:"label-text"},kC=["id"],CC={key:0,"aria-hidden":"true"},wC=["title","aria-errormessage","id"],xC=["for"],BC=["type","id","name","value","disabled"],EC={key:1,class:"label-text"},SC={key:1,class:"flex-container no-flex"};function _C(e,t,n,r,i,s){const a=z,l=sr;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",bC,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",CC,"*")):o.createCommentVNode("",!0)],8,kC),(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,wC)):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",SC,[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,BC),[[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",EC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,xC))),128))],2))],10,yC)}const nl=V(gC,[["render",_C]]),TC={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()}}},OC={class:"cmd-login-form flex-container"},NC={class:"option-wrapper flex-container"},VC={key:1},FC=["type","disabled"],AC={key:1},PC={class:"cmd-login-form flex-container"},LC={class:"option-wrapper flex-container"},IC={key:1},MC=["type","disabled"],RC={key:1};function DC(e,t,n,r,i,s){var u,m,p,f,h,y,g,k;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",OC,[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",NC,[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",VC,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:(p=n.options.createAccount.icon)==null?void 0:p.iconClass,tooltip:(f=n.options.createAccount.icon)==null?void 0:f.tooltip,position:(h=n.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):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",AC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,FC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",PC,[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",LC,[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",IC,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:(g=s.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(k=s.buttonSendLoginOptions.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",RC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,MC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const jC=V(TC,[["render",DC]]),qC={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})}}},zC={key:0,class:"close-nav"},HC=["href","title","target","onClick"],UC={key:1},WC={key:1},GC=["aria-expanded"],JC=["href","title","target","onClick"],KC={key:1},ZC={key:1},XC=["aria-expanded"],QC=["href","title","target","onClick"],YC={key:1},$C={key:1};function vC(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",zC,[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,p;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",UC,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,HC)):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",WC,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),(p=d==null?void 0:d.subentries)!=null&&p.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:g=>s.executeLink(g,f,h,1),onMouseover:t[3]||(t[3]=g=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=g=>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",KC,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,JC)):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",ZC,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,(g,k)=>(o.openBlock(),o.createElementBlock("li",{key:k},[g.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:T=>s.executeLink(T,g)},[g.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",YC,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,QC)):o.createCommentVNode("",!0),g.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(g),target:g.target},{default:o.withCtx(()=>[g.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",$C,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.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,XC)):o.createCommentVNode("",!0)],2)}),128))],8,GC)):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(qC,[["render",vC]]),ew={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)}}},tw={key:0,class:"number"},nw={key:2};function ow(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",tw,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",nw,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 rw=V(ew,[["render",ow]]),iw={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}}},sw={class:"cmd-newsletter-subscription flex-container"},aw={class:"button-wrapper"};function lw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",sw,[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",aw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const cw=V(iw,[["render",lw]]);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 dw={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}}},uw={class:"cmd-opening-hours-item"},mw={key:0,class:"am"},fw={key:1,class:"pm"},hw={class:"flex-container no-flex"},pw={class:"flex-container no-flex am-wrapper"},gw={key:1,class:"input-wrapper"},yw=["title"],bw={class:"flex-container no-flex pm-wrapper"},kw={key:1,class:"input-wrapper"},Cw=["title"];function ww(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",hw,[o.createElementVNode("div",pw,[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",gw,[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,yw)]),o.createElementVNode("div",bw,[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",kw,[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,Cw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",uw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",mw,[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",fw,[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 xw=V(dw,[["render",ww]]);function Bw(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 Ew={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):Bw(":"," 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))}})}}},Sw={class:"cmd-opening-hours"},_w={key:2,class:"flex-container"},Tw={key:3},Ow=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Nw={class:"edit-mode-opening-hours-item"},Vw={key:5},Fw={key:0},Aw={key:1},Pw={key:6,class:"flex-container vertical"};function Lw(e,t,n,r,i,s){var m,p;const a=U,l=ot,d=X,c=xw,u=Ae;return o.openBlock(),o.createElementBlock("div",Sw,[(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},[(p=n.cmdLink)!=null&&p.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",_w,[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))},Ow)):(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",Nw,[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",Tw,[(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",Vw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Fw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Aw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",Pw,[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 Iw=V(Ew,[["render",Lw]]),Mw={name:"CmdPagination",mixins:[$,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(e){return e==="href"||e==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(e){return this.linkType!=="href"||this.currentPage===e?null:"#"},showPage(e){this.currentPage=e,this.$emit("click",e)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},Rw={class:"cmd-pagination"},Dw=["href","title"],jw={key:0},qw={class:"page-index"},zw={class:"flex-container"},Hw=["href","title","onClick"],Uw=["href","title"],Ww={key:0};function Gw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Rw,[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",jw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Dw),o.createElementVNode("div",qw,[o.createElementVNode("div",zw,[(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("cmdpager.tooltip.go_to_page",d+1):e.getMessage("cmdpager.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,Hw))),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",Ww,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,Uw)])}const Jw=V(Mw,[["render",Gw]]),Kw={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}})}}},Zw={class:"cmd-social-networks-item"},Xw=["id","href","title"],Qw={key:1};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",Zw,[(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",Qw,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,Xw))])}const $w=V(Kw,[["render",Yw]]),vw={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)}}}}},ex=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function tx(e,t,n,r,i,s){var u,m;const a=U,l=X,d=$w,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]=p=>i.dataPrivacyAccepted=p)}),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,(p,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:p,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,(p,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:p,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]=(...p)=>s.onAddItem&&s.onAddItem(...p))},ex))],2)}const il=V(vw,[["render",tx]]),nx={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var 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("main")],qe({elements:e,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey,id:this.cmdFancyBox.id||"print-preview"})}}},ox={class:"button-wrapper"},rx=["title"],ix={key:1};function sx(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",ox,[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",ix,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,rx)):o.createCommentVNode("",!0)])],2)}const ax=V(nx,[["render",sx]]),lx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},cx={key:0,class:"cmd-page-header flex-container"},dx={key:0,class:"headline-wrapper flex-container vertical"};function ux(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",cx,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",dx,[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 mx=V(lx,[["render",ux]]),fx={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}}},hx=["for"],px={class:"progressbar"},gx={key:0},yx=["id","value"];function bx(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",px,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",gx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,yx)])],8,hx)}const kx=V(fx,[["render",bx]]),Cx={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}}},wx={class:"inner-sidebar-wrapper"},xx={key:1,class:"open-slot-wrapper"},Bx={key:2,class:"closed-slot-wrapper"},Ex=["title"];function Sx(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",wx,[(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",xx,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Bx,[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,Ex)):o.createCommentVNode("",!0)],2)}const _x=V(Cx,[["render",Sx]]),Tx={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Ox={class:"cmd-site-footer site-footer"};function Nx(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Ox,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Vx=V(Tx,[["render",Nx]]),Fx={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}}},Ax={key:0,class:"top-header"};function Px(e,t,n,r,i,s){var d,c,u,m,p,f,h,y,g;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",Ax,[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||(p=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&p.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),(g=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&g.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 Lx=V(Fx,[["render",Px]]),Ix={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[$,{data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}}],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,required:!1},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(e){this.$emit("update:modelValueInput1",e)}},searchValue2:{get(){return this.modelValueInput2},set(e){this.$emit("update:modelValueInput2",e)}},radius:{get(){return this.modelValueRadius},set(e){this.$emit("update:modelValueRadius",e)}},searchFilters:{get(){return this.modelValueSearchFilters},set(e){this.$emit("update:modelValueSearchFilters",e)}},buttonSearchDisabled(){const e=!this.cmdFormElementInput1.required||this.searchValue1.trim(),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}}},Mx={class:"cmd-box-site-search flex-container"},Rx={class:"flex-container align-bottom"},Dx={class:"input-wrapper align-bottom"},jx={key:0},qx={key:1},zx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Hx(e,t,n,r,i,s){var m,p,f,h,y,g,k,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Mx,[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",Rx,[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]=C=>s.searchValue1=C)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Dx,[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]=C=>s.searchValue2=C)},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]=C=>s.radius=C)},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(C=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(p=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(T=(k=n.cmdIcon)==null?void 0:k.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",jx,o.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",qx,o.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var C,N,A,b,_;return[i.showFilters&&((C=n.cmdFakeSelect)!=null&&C.selectData.length)?(o.openBlock(),o.createElementBlock("div",zx,[o.createVNode(c,{role:"option",selectData:(N=n.cmdFakeSelect)==null?void 0:N.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>s.searchFilters=F),defaultOptionName:(A=n.cmdFakeSelect)==null?void 0:A.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(_=n.cmdFakeSelect)==null?void 0:_.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]=C=>s.searchFilters=C),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Ux=V(Ix,[["render",Hx]]),Wx={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)})}}},Gx=["href","title"],Jx=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],Kx={key:2},Zx=["onClick","aria-label","title"],Xx={key:3,class:"item-counter"};function Qx(e,t,n,r,i,s){const a=bt,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,p,f,h,y,g,k,T,C;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:(C=s.currentItem)==null?void 0:C.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=(p=s.currentItem)==null?void 0:p.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,Gx)):(o.openBlock(),o.createBlock(l,{key:1,image:(g=s.currentItem)==null?void 0:g.image,figcaption:(k=s.currentItem)==null?void 0:k.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]=(...N)=>s.onAddItem&&s.onAddItem(...N))},Jx)):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",Kx,[(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,Zx)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",Xx,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const Yx=V(Wx,[["render",Qx]]),$x=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"})),vx={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($x[t].default)})},immediate:!0,deep:!0}}},e1={class:"cmd-switch-language"},t1=["href","title","onClick"],n1=["src","alt"],o1=["src","alt"];function r1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",e1,[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,n1)],10,t1)):(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,o1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const i1=V(vx,[["render",r1]]),s1={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}}},a1={key:0,class:"button-wrapper"},l1=["title"],c1=["title"],d1={"aria-expanded":"true"},u1={key:0,"aria-expanded":"true"};function m1(e,t,n,r,i,s){var d,c,u,m;const a=z,l=bt;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",a1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(p=>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,l1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(p=>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,c1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...p)=>s.updatePosition&&s.updatePosition(...p))},[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,(p,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(p),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",d1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(p,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(p,(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",u1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(p,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(p),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 f1=V(s1,[["render",m1]]);ua({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
2
2
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
3
3
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
4
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const h1={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}}},p1={class:"cmd-tabs"},g1=["onClick","title"],y1={key:1},b1={key:1,"aria-live":"assertive"},k1=["innerHTML"];function C1(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createElementBlock("div",p1,[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",y1,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,g1)],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",b1,[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,k1)]))])}const w1=V(h1,[["render",C1]]),x1={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}}},B1=["innerHTML"],E1=["innerHTML"],S1=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function _1(e,t,n,r,i,s){var c,u,m,p;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])},[((p=n.cmdHeadline)!=null&&p.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,B1)):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,E1)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>s.onAddItem&&s.onAddItem(...h))},S1))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const T1=V(x1,[["render",_1]]),O1={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}}},N1={key:0};function V1(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",N1,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 F1=V(O1,[["render",V1]]),A1={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:L1}=Object.prototype,{getPrototypeOf:kr}=Object,fn=(e=>t=>{const n=L1.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 P1(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 I1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&al(e.buffer),t}const M1=hn("string"),ie=hn("function"),ll=hn("number"),pn=e=>e!==null&&typeof e=="object",R1=e=>e===!0||e===!1,gn=e=>{if(fn(e)!=="object")return!1;const t=kr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D1=fe("Date"),j1=fe("File"),q1=fe("Blob"),z1=fe("FileList"),H1=e=>pn(e)&&ie(e.pipe),U1=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]"))},W1=fe("URLSearchParams"),[G1,J1,K1,Z1]=["ReadableStream","Request","Response","Headers"].map(fe),X1=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 Cr(){const{caseless:e}=ul(this)&&this||{},t={},n=(r,i)=>{const s=e&&cl(t,i)||i;gn(t[s])&&gn(r)?t[s]=Cr(t[s],r):gn(r)?t[s]=Cr({},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 Q1=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,s)=>{n&&ie(i)?e[s]=sl(i,n):e[s]=i},{allOwnKeys:r}),e),Y1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$1=(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)},v1=(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&&kr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eB=(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},tB=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},nB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kr(Uint8Array)),oB=(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])}},rB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},iB=fe("HTMLFormElement"),sB=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),aB=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)},lB=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+"'")})}})},cB=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return it(e)?r(e):r(String(e).split(t)),n},dB=()=>{},uB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,wr="abcdefghijklmnopqrstuvwxyz",hl="0123456789",pl={DIGIT:hl,ALPHA:wr,ALPHA_DIGIT:wr+wr.toUpperCase()+hl},mB=(e=16,t=pl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fB(e){return!!(e&&ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hB=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)},pB=fe("AsyncFunction"),w={isArray:it,isArrayBuffer:al,isBuffer:P1,isFormData:U1,isArrayBufferView:I1,isString:M1,isNumber:ll,isBoolean:R1,isObject:pn,isPlainObject:gn,isReadableStream:G1,isRequest:J1,isResponse:K1,isHeaders:Z1,isUndefined:Ct,isDate:D1,isFile:j1,isBlob:q1,isRegExp:aB,isFunction:ie,isStream:H1,isURLSearchParams:W1,isTypedArray:nB,isFileList:z1,forEach:wt,merge:Cr,extend:Q1,trim:X1,stripBOM:Y1,inherits:$1,toFlatObject:v1,kindOf:fn,kindOfTest:fe,endsWith:eB,toArray:tB,forEachEntry:oB,matchAll:rB,isHTMLForm:iB,hasOwnProperty:ml,hasOwnProp:ml,reduceDescriptors:fl,freezeMethods:lB,toObjectSet:cB,toCamelCase:sB,noop:dB,toFiniteNumber:uB,findKey:cl,global:dl,isContextDefined:ul,ALPHABET:pl,generateString:mB,isSpecCompliantForm:fB,toJSONObject:hB,isAsyncFn:pB,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 gB=null;function xr(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 yB(e){return w.isArray(e)&&!e.some(xr)}const bB=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,g){return!w.isUndefined(g[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,g){let k=h;if(h&&!g&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&yB(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(k=w.toArray(h)))return y=bl(y),k.forEach(function(C,N){!(w.isUndefined(C)||C===null)&&t.append(a===!0?kl([y],N,s):a===null?y:y+"[]",c(C))}),!1}return xr(h)?!0:(t.append(kl(g,y,s),c(h)),!1)}const m=[],p=Object.assign(bB,{defaultVisitor:u,convertValue:c,isVisitable:xr});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(k,T){(!(w.isUndefined(k)||k===null)&&i.call(t,k,w.isString(T)?T.trim():T,y,p))===!0&&f(k,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 Br(e,t){this._pairs=[],e&&yn(e,this,t)}const wl=Br.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 kB(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||kB,i=n&&n.serialize;let s;if(i?s=i(t,n):s=w.isURLSearchParams(t)?t.toString():new Br(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 El={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},CB={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Br,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Er=typeof window<"u"&&typeof document<"u",wB=(e=>Er&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",BB=Er&&window.location.href||"http://localhost",he={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Er,hasStandardBrowserEnv:wB,hasStandardBrowserWebWorkerEnv:xB,origin:BB},Symbol.toStringTag,{value:"Module"})),...CB};function EB(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 SB(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _B(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 Sl(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]=_B(i[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(SB(r),i,n,0)}),n}return null}function TB(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:El,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(Sl(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 EB(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),TB(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 OB=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"]),NB=e=>{const t={};let n,r,i;return e&&e.split(`
5
- `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&OB[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},_l=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 VB(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 FB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sr(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 AB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function LB(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 v{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())&&!FB(t))a(NB(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 VB(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||Sr(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||Sr(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||Sr(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?AB(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(`
6
- `)}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[_l]=this[_l]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=Bt(a);r[l]||(LB(i,a),r[l]=!0)}return w.isArray(t)?t.forEach(s):s(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods(v);function _r(e,t){const n=this||xt,r=t||n,i=v.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 PB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function IB(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,p=0;for(;m!==i;)p+=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(p*1e3/f):void 0}}function MB(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=IB(50,250);return MB(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)},RB=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}}(),DB=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 jB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nl(e,t){return e&&!jB(t)?qB(e,t):t}const Vl=e=>e instanceof v?{...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,p=m(e[u],t[u],u);w.isUndefined(p)&&m!==l||(n[u]=p)}),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=v.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&&RB(t.url))){const c=i&&s&&DB.read(s);c&&a.set(i,c)}return t},zB=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=Fl(e);let s=i.data;const a=v.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=v.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(k){n(k),c()},function(k){r(k),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||El;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 p=PB(i.url);if(p&&he.protocols.indexOf(p)===-1){r(new I("Unsupported protocol "+p+":",I.ERR_BAD_REQUEST,e));return}u.send(s||null)})},HB=(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}]},UB=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},WB=async function*(e,t,n){for await(const r of e)yield*UB(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Al=(e,t,n,r,i)=>{const s=WB(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})},Ll=(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",Pl=Cn&&typeof ReadableStream=="function",Tr=Cn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),GB=Pl&&(()=>{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,Or=Pl&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),wn={stream:Or&&(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 JB=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 Tr(e)).byteLength},KB=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??JB(t)},Nr={http:gB,xhr:zB,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:p}=Fl(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?HB([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&GB&&n!=="get"&&n!=="head"&&(T=await KB(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;w.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Al(b.body,Il,Ll(T,kn(d)),null,Tr))}w.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=Or&&(c==="stream"||c==="response");if(Or&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=w.toFiniteNumber(C.headers.get("content-length"));C=new Response(Al(C.body,Il,l&&Ll(_,kn(l,!0)),N&&k,Tr),b)}c=c||"text";let A=await wn[w.findKey(wn,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{Ol(b,_,{data:A,headers:v.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:C.cause||C}):I.from(C,C&&C.code,e,g)}})};w.forEach(Nr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ml=e=>`- ${e}`,ZB=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,!ZB(n)&&(r=Nr[(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 :
4
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const h1={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}}},p1={class:"cmd-tabs"},g1=["onClick","title"],y1={key:1},b1={key:1,"aria-live":"assertive"},k1=["innerHTML"];function C1(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createElementBlock("div",p1,[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",y1,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,g1)],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",b1,[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,k1)]))])}const w1=V(h1,[["render",C1]]),x1={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}}},B1=["innerHTML"],E1=["innerHTML"],S1=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function _1(e,t,n,r,i,s){var c,u,m,p;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])},[((p=n.cmdHeadline)!=null&&p.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,B1)):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,E1)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>s.onAddItem&&s.onAddItem(...h))},S1))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const T1=V(x1,[["render",_1]]),O1={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}}},N1={key:0};function V1(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",N1,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 F1=V(O1,[["render",V1]]),A1={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:P1}=Object.prototype,{getPrototypeOf:kr}=Object,mn=(e=>t=>{const n=P1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fe=e=>(e=e.toLowerCase(),t=>mn(t)===e),fn=e=>t=>typeof t===e,{isArray:it}=Array,kt=fn("undefined");function L1(e){return e!==null&&!kt(e)&&e.constructor!==null&&!kt(e.constructor)&&ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const al=fe("ArrayBuffer");function I1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&al(e.buffer),t}const M1=fn("string"),ie=fn("function"),ll=fn("number"),hn=e=>e!==null&&typeof e=="object",R1=e=>e===!0||e===!1,pn=e=>{if(mn(e)!=="object")return!1;const t=kr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D1=fe("Date"),j1=fe("File"),q1=fe("Blob"),z1=fe("FileList"),H1=e=>hn(e)&&ie(e.pipe),U1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ie(e.append)&&((t=mn(e))==="formdata"||t==="object"&&ie(e.toString)&&e.toString()==="[object FormData]"))},W1=fe("URLSearchParams"),[G1,J1,K1,Z1]=["ReadableStream","Request","Response","Headers"].map(fe),X1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ct(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=>!kt(e)&&e!==dl;function Cr(){const{caseless:e}=ul(this)&&this||{},t={},n=(r,i)=>{const s=e&&cl(t,i)||i;pn(t[s])&&pn(r)?t[s]=Cr(t[s],r):pn(r)?t[s]=Cr({},r):it(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ct(arguments[r],n);return t}const Q1=(e,t,n,{allOwnKeys:r}={})=>(Ct(t,(i,s)=>{n&&ie(i)?e[s]=sl(i,n):e[s]=i},{allOwnKeys:r}),e),Y1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$1=(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)},v1=(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&&kr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eB=(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},tB=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},nB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kr(Uint8Array)),oB=(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])}},rB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},iB=fe("HTMLFormElement"),sB=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),aB=fe("RegExp"),fl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ct(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},lB=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+"'")})}})},cB=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return it(e)?r(e):r(String(e).split(t)),n},dB=()=>{},uB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,wr="abcdefghijklmnopqrstuvwxyz",hl="0123456789",pl={DIGIT:hl,ALPHA:wr,ALPHA_DIGIT:wr+wr.toUpperCase()+hl},mB=(e=16,t=pl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fB(e){return!!(e&&ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hB=e=>{const t=new Array(10),n=(r,i)=>{if(hn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=it(r)?[]:{};return Ct(r,(a,l)=>{const d=n(a,i+1);!kt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},pB=fe("AsyncFunction"),w={isArray:it,isArrayBuffer:al,isBuffer:L1,isFormData:U1,isArrayBufferView:I1,isString:M1,isNumber:ll,isBoolean:R1,isObject:hn,isPlainObject:pn,isReadableStream:G1,isRequest:J1,isResponse:K1,isHeaders:Z1,isUndefined:kt,isDate:D1,isFile:j1,isBlob:q1,isRegExp:aB,isFunction:ie,isStream:H1,isURLSearchParams:W1,isTypedArray:nB,isFileList:z1,forEach:Ct,merge:Cr,extend:Q1,trim:X1,stripBOM:Y1,inherits:$1,toFlatObject:v1,kindOf:mn,kindOfTest:fe,endsWith:eB,toArray:tB,forEachEntry:oB,matchAll:rB,isHTMLForm:iB,hasOwnProperty:ml,hasOwnProp:ml,reduceDescriptors:fl,freezeMethods:lB,toObjectSet:cB,toCamelCase:sB,noop:dB,toFiniteNumber:uB,findKey:cl,global:dl,isContextDefined:ul,ALPHABET:pl,generateString:mB,isSpecCompliantForm:fB,toJSONObject:hB,isAsyncFn:pB,isThenable:e=>e&&(hn(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 gB=null;function xr(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 yB(e){return w.isArray(e)&&!e.some(xr)}const bB=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function gn(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,g){return!w.isUndefined(g[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,g){let k=h;if(h&&!g&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&yB(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(k=w.toArray(h)))return y=bl(y),k.forEach(function(C,N){!(w.isUndefined(C)||C===null)&&t.append(a===!0?kl([y],N,s):a===null?y:y+"[]",c(C))}),!1}return xr(h)?!0:(t.append(kl(g,y,s),c(h)),!1)}const m=[],p=Object.assign(bB,{defaultVisitor:u,convertValue:c,isVisitable:xr});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(k,T){(!(w.isUndefined(k)||k===null)&&i.call(t,k,w.isString(T)?T.trim():T,y,p))===!0&&f(k,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 Br(e,t){this._pairs=[],e&&gn(e,this,t)}const wl=Br.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 kB(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||kB,i=n&&n.serialize;let s;if(i?s=i(t,n):s=w.isURLSearchParams(t)?t.toString():new Br(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 El={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},CB={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Br,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Er=typeof window<"u"&&typeof document<"u",wB=(e=>Er&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",BB=Er&&window.location.href||"http://localhost",he={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Er,hasStandardBrowserEnv:wB,hasStandardBrowserWebWorkerEnv:xB,origin:BB},Symbol.toStringTag,{value:"Module"})),...CB};function EB(e,t){return gn(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 SB(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _B(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 Sl(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]=_B(i[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(SB(r),i,n,0)}),n}return null}function TB(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 wt={transitional:El,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(Sl(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 EB(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return gn(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),TB(t)):t}],transformResponse:[function(t){const n=this.transitional||wt.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=>{wt.headers[e]={}});const OB=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"]),NB=e=>{const t={};let n,r,i;return e&&e.split(`
5
+ `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&OB[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},_l=Symbol("internals");function xt(e){return e&&String(e).trim().toLowerCase()}function yn(e){return e===!1||e==null?e:w.isArray(e)?e.map(yn):String(e)}function VB(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 FB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sr(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 AB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function PB(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 v{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=xt(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]=yn(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())&&!FB(t))a(NB(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=xt(t),t){const r=w.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return VB(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=xt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Sr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=xt(a),a){const l=w.findKey(r,a);l&&(!n||Sr(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||Sr(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]=yn(i),delete n[s];return}const l=t?AB(s):String(s).trim();l!==s&&delete n[s],n[l]=yn(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(`
6
+ `)}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[_l]=this[_l]={accessors:{}}).accessors,i=this.prototype;function s(a){const l=xt(a);r[l]||(PB(i,a),r[l]=!0)}return w.isArray(t)?t.forEach(s):s(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods(v);function _r(e,t){const n=this||wt,r=t||n,i=v.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 LB(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function IB(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,p=0;for(;m!==i;)p+=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(p*1e3/f):void 0}}function MB(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 bn=(e,t,n=3)=>{let r=0;const i=IB(50,250);return MB(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)},RB=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}}(),DB=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 jB(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nl(e,t){return e&&!jB(t)?qB(e,t):t}const Vl=e=>e instanceof v?{...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,p=m(e[u],t[u],u);w.isUndefined(p)&&m!==l||(n[u]=p)}),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=v.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&&RB(t.url))){const c=i&&s&&DB.read(s);c&&a.set(i,c)}return t},zB=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=Fl(e);let s=i.data;const a=v.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=v.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(k){n(k),c()},function(k){r(k),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||El;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",bn(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",bn(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 p=LB(i.url);if(p&&he.protocols.indexOf(p)===-1){r(new I("Unsupported protocol "+p+":",I.ERR_BAD_REQUEST,e));return}u.send(s||null)})},HB=(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}]},UB=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},WB=async function*(e,t,n){for await(const r of e)yield*UB(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Al=(e,t,n,r,i)=>{const s=WB(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}))},kn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ll=kn&&typeof ReadableStream=="function",Tr=kn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),GB=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,Or=Ll&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),Cn={stream:Or&&(e=>e.body)};kn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Cn[t]&&(Cn[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 JB=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 Tr(e)).byteLength},KB=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??JB(t)},Nr={http:gB,xhr:zB,fetch:kn&&(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:p}=Fl(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?HB([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&GB&&n!=="get"&&n!=="head"&&(T=await KB(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;w.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Al(b.body,Il,Pl(T,bn(d)),null,Tr))}w.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=Or&&(c==="stream"||c==="response");if(Or&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=w.toFiniteNumber(C.headers.get("content-length"));C=new Response(Al(C.body,Il,l&&Pl(_,bn(l,!0)),N&&k,Tr),b)}c=c||"text";let A=await Cn[w.findKey(Cn,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{Ol(b,_,{data:A,headers:v.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:C.cause||C}):I.from(C,C&&C.code,e,g)}})};w.forEach(Nr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ml=e=>`- ${e}`,ZB=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,!ZB(n)&&(r=Nr[(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 :
7
7
  `+s.map(Ml).join(`
8
- `):" "+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:Nr};function Vr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new st(null,e)}function Dl(e){return Vr(e),e.headers=v.from(e.headers),e.data=_r.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 Vr(e),r.data=_r.call(e,e.transformResponse,r),r.headers=v.from(r.headers),r},function(r){return Tl(r)||(Vr(e),r&&r.response&&(r.response.data=_r.call(e,e.transformResponse,r.response),r.response.headers=v.from(r.response.headers))),Promise.reject(r)})}const jl="1.7.2",Fr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ql={};Fr.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 XB(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 Ar={assertOptions:XB,validators:Fr},Le=Ar.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+=`
9
- `+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&&Ar.assertOptions(r,{silentJSONParsing:Le.transitional(Le.boolean),forcedJSONParsing:Le.transitional(Le.boolean),clarifyTimeoutError:Le.transitional(Le.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:Ar.assertOptions(i,{encode:Le.function,serialize:Le.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=v.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,p;if(!d){const h=[Dl.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Dl.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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 Lr{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 Lr(function(i){t=i}),cancel:t}}}function QB(e){return function(n){return e.apply(null,n)}}function YB(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=Lr,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=QB,W.isAxiosError=YB,W.mergeConfig=ze,W.AxiosHeaders=v,W.formToJSON=e=>Sl(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Rl.getAdapter,W.HttpStatusCode=Pr,W.default=W;const $B={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[$,A1],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{useTransition:{type:Boolean,default:!0},showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(e=>e.includes("jpg"))},failedUpload(){return this.listOfFiles.some(e=>e.error)},totalBytesUploaded(){const e=this.listOfFiles.map(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("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const e=this.listOfFiles.map(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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[n];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(e,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("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const e=new URL(this.uploadOptions.url,location.href),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("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let 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("cmduploadform.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},vB={key:0},eE={key:1,class:"flex-container vertical"},tE={key:0,class:"flex-container vertical list-files-wrapper"},nE={key:0,class:"list-of-files total-files"},oE={class:"flex-container no-flex"},rE=["title"],iE={key:0,class:"progressbar"},sE=["value","title"],aE=o.createElementVNode("hr",null,null,-1),lE={class:"flex-container vertical list-files-wrapper"},cE={class:"list-of-files"},dE=["title","onClick"],uE={key:0,class:"progressbar"},mE=["value","title"],fE=["title"],hE=o.createElementVNode("hr",null,null,-1),pE={class:"upload-conditions"},gE={class:"small"},yE=["title"],bE={key:0,class:"list-of-file-extensions"},kE={class:"flex-container vertical no-gap"},CE=["disabled"],wE={key:0},xE={key:1},BE={class:"button-wrapper no-flex"},EE=["disabled"],SE={key:0},_E={key:1},TE={key:0,class:"progressbar"},OE=["value","title"];function NE(e,t,n,r,i,s){const a=U,l=yr,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("cmduploadform.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[s.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",vB,[(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",eE,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",tE,[o.createVNode(a,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",nE,[o.createElementVNode("li",oE,[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.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,rE),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("cmduploadform.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.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",iE,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,sE)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),aE])):o.createCommentVNode("",!0),o.createElementVNode("div",lE,[o.createVNode(a,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",cE,[(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("cmduploadform.labeltext.remove_file_from_list",u.file.name),onClick:o.withModifiers(p=>s.removeFile(m),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,dE),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",uE,[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,mE)])):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("cmduploadform.all_files_will_be_removed")},o.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,fE)):o.createCommentVNode("",!0),hE])])):(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",pE,[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("cmduploadform.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("cmduploadform.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",gE,[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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.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,yE),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",bE,[(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",kE,[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",wE,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",xE,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,CE),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("cmduploadform.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.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("cmduploadform.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("cmduploadform.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=u=>i.comment=u),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",BE,[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",SE,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",_E,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,EE),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("cmduploadform.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",TE,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,OE)])):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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.max_upload_size"))+" "+o.toDisplayString(s.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:s.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const VE=V($B,[["render",NE]]),FE={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}}},AE=["id"],LE=["id"];function PE(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,AE)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,LE)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const IE=V(FE,[["render",PE]]),ME={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"]}}},RE={key:1,class:"flex-container"},DE={class:"flex-container vertical"};function jE(e,t,n,r,i,s){const a=za,l=Ma,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",RE,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",DE,[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 qE=V(ME,[["render",jE]]),zE={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},HE={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function UE(e,t,n,r,i,s){const a=pr,l=Ja;return o.openBlock(),o.createElementBlock("div",HE,[(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,p)=>(o.openBlock(),o.createBlock(a,o.mergeProps({"use-slots":["box-body"],key:p},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 WE=V(zE,[["render",UE]]),GE={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},JE={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function KE(e,t,n,r,i,s){const a=fr;return o.openBlock(),o.createElementBlock("div",JE,[(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 ZE=V(GE,[["render",KE]]),XE={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!")}}},QE={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 YE=Object.defineProperty,$E=(e,t,n)=>t in e?YE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xn=(e,t,n)=>$E(e,typeof t!="symbol"?t+"":t,n);const Et=/^[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&&!En(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&&!En(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!En(l,n)?null:l}return null},En=(e,t)=>e?!!((e.provider===""||e.provider.match(Et))&&(t&&e.prefix===""||e.prefix.match(Et))&&e.name.match(Et)):!1,Hl=Object.freeze({left:0,top:0,width:16,height:16}),Sn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_n=Object.freeze({...Hl,...Sn}),Ir=Object.freeze({..._n,body:"",hidden:!1});function vE(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=vE(e,t);for(const r in Ir)r in Sn?r in e&&!(r in n)&&(n[r]=Sn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function eS(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 tS(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=eS(e);for(const i in r){const s=r[i];s&&(t(i,tS(e,i,s)),n.push(i))}return n}const nS={provider:"",aliases:{},not_found:{},...Hl};function Mr(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"||!Mr(e,nS))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Et)||typeof s.body!="string"||!Mr(s,Ir))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Et)||typeof a!="string"||!n[a]&&!r[a]||!Mr(s,Ir))return null}return t}const Jl=Object.create(null);function oS(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]=oS(e,t))}function Rr(e,t){return Gl(t)?Wl(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function rS(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let St=!1;function Kl(e){return typeof e=="boolean"&&(St=e),St}function iS(e){const t=typeof e=="string"?Bn(e,!0,St):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 sS(e,t){const n=Bn(e,!0,St);if(!n)return!1;const r=Ue(n.provider,n.prefix);return rS(r,n.name,t)}function Zl(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),St&&!t&&!e.prefix){let i=!1;return Gl(e)&&(e.prefix="",Wl(e,(s,a)=>{a&&sS(s,a)&&(i=!0)})),i}const n=e.prefix;if(!En({provider:t,prefix:n,name:"a"}))return!1;const r=Ue(t,n);return!!Rr(r,e)}const Xl=Object.freeze({width:null,height:null}),Ql=Object.freeze({...Xl,...Sn}),aS=/(-?[0-9.]*[0-9]+[0-9.]*)/g,lS=/^-?[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(aS);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=lS.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 cS(e,t){const n={..._n,...e},r={...Ql,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 dS=/\sid="(\S+)"/g,uS="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mS=0;function fS(e,t=uS){const n=[];let r;for(;r=dS.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(mS++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Dr=Object.create(null);function hS(e,t){Dr[e]=t}function jr(e){return Dr[e]||Dr[""]}function qr(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 zr=Object.create(null),Tn=["https://api.simplesvg.com","https://api.unisvg.com"],Hr=[];for(;Tn.length>0;)Tn.length===1||Math.random()>.5?Hr.push(Tn.shift()):Hr.push(Tn.pop());zr[""]=qr({resources:["https://api.iconify.design"].concat(Hr)});function pS(e,t){const n=qr(t);return n===null?!1:(zr[e]=n,!0)}function Ur(e){return zr[e]}let $l=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function gS(e,t){const n=Ur(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 yS(e){return e===404}const bS=(e,t,n)=>{const r=[],i=gS(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 kS(e){if(typeof e=="string"){const t=Ur(e);if(t)return t.path}return"/"}const CS=(e,t,n)=>{if(!$l){n("abort",424);return}let r=kS(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(yS(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)})},wS={prepare:bS,send:CS};function xS(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 BS(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 ES=0;function SS(e,t,n){const r=ES++,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 _S(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 TS={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function OS(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!e.random){const P=e.resources.indexOf(b.resource);P!==-1&&P!==e.index&&(e.index=P)}d="completed",f.forEach(P=>{P(F)})}function A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function ec(e){const t={...TS,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=OS(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 Wr=Object.create(null);function NS(e){if(!Wr[e]){const t=Ur(e);if(!t)return;const n=ec(t),r={config:t,redundancy:n};Wr[e]=r}return Wr[e]}function VS(e,t,n){let r,i;if(typeof e=="string"){const s=jr(e);if(!s)return n(void 0,424),tc;i=s.send;const a=NS(e);a&&(r=a.redundancy)}else{const s=qr(e);if(s){r=ec(s);const a=e.resources?e.resources[0]:"",l=jr(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),tc):r.query(t,i,n)().abort}const nc="iconify2",_t="iconify",oc=_t+"-count",rc=_t+"-version",ic=36e5,FS=168;function Gr(e,t){try{return e.getItem(t)}catch{}}function Jr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sc(e,t){try{e.removeItem(t)}catch{}}function Kr(e,t){return Jr(e,oc,t.toString())}function Zr(e){return parseInt(Gr(e,oc))||0}const On={local:!0,session:!0},ac={local:new Set,session:new Set};let Xr=!1;function AS(e){Xr=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=Gr(n,rc);if(r!==nc){if(r){const l=Zr(n);for(let d=0;d<l;d++)sc(n,_t+d.toString())}Jr(n,rc,nc),Kr(n,0);return}const i=Math.floor(Date.now()/ic)-FS,s=l=>{const d=_t+l.toString(),c=Gr(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=Zr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Kr(n,a)):ac[e].add(l))}function dc(){if(!Xr){AS(!0);for(const e in On)cc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ue(r,i);if(!Rr(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function LS(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 PS(e,t){Xr||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=Zr(i),!Kr(i,a+1))return;const l={cached:Math.floor(Date.now()/ic),provider:e.provider,data:t};return Jr(i,_t+a.toString(),JSON.stringify(l))}t.lastModified&&!LS(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 IS(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,BS(e)}))}function MS(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=jr(n))||s.prepare(n,r,i).forEach(a=>{VS(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Rr(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),PS(e,l)}catch(c){console.error(c)}IS(e)})})}))}const RS=(e,t)=>{const n=_S(e,!0,Kl()),r=xS(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,p=Ue(c,u),f=p.pendingIcons||(p.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&&MS(d,i[c][u])}),t?SS(t,r,s):uc};function DS(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 jS=/[\s,]+/;function qS(e,t){t.split(jS).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function zS(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 HS(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 US(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function WS(e){return'url("data:image/svg+xml,'+US(e)+'")'}const mc={...Ql,inline:!1},GS={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},JS={display:"inline-block"},Qr={backgroundColor:"currentColor"},fc={backgroundColor:"transparent"},hc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pc={webkitMask:Qr,mask:Qr,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=DS(mc,t),r={...GS},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&qS(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=zS(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Vn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):mc[y]===void 0&&(r[y]=g)}}}const d=cS(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=fS(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=HS(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":WS(h),width:gc(c.width),height:gc(c.height),...JS,...f?Qr:fc,...l},o.h("span",r)};if(Kl(!0),hS("",wS),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;pS(n,i)||console.error(r)}catch{console.error(r)}}}}const KS={..._n,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=iS(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:RS([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(KS,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),yc({..._n,...t.data},n)}});function ZS(){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 XS(){return"cmd-"+ZS()}const QS={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||XS()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Yr=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(Yr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),xn(Yr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),xn(Yr,"PATTERN_MESSAGE",/^.{2,500}$/);const YS=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp($S,{...e,show:!0}).mount(t)},$S=o.defineComponent({name:"CmdFancyBox",mixins:[QS],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 vS(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 vS(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
8
+ `):" "+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:Nr};function Vr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new st(null,e)}function Dl(e){return Vr(e),e.headers=v.from(e.headers),e.data=_r.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Rl.getAdapter(e.adapter||wt.adapter)(e).then(function(r){return Vr(e),r.data=_r.call(e,e.transformResponse,r),r.headers=v.from(r.headers),r},function(r){return Tl(r)||(Vr(e),r&&r.response&&(r.response.data=_r.call(e,e.transformResponse,r.response),r.response.headers=v.from(r.response.headers))),Promise.reject(r)})}const jl="1.7.2",Fr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ql={};Fr.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 XB(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 Ar={assertOptions:XB,validators:Fr},Pe=Ar.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+=`
9
+ `+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&&Ar.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}:Ar.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=v.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,p;if(!d){const h=[Dl.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Dl.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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 Pr{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 Pr(function(i){t=i}),cancel:t}}}function QB(e){return function(n){return e.apply(null,n)}}function YB(e){return w.isObject(e)&&e.isAxiosError===!0}const Lr={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(Lr).forEach(([e,t])=>{Lr[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(wt);W.Axios=He,W.CanceledError=st,W.CancelToken=Pr,W.isCancel=Tl,W.VERSION=jl,W.toFormData=gn,W.AxiosError=I,W.Cancel=W.CanceledError,W.all=function(t){return Promise.all(t)},W.spread=QB,W.isAxiosError=YB,W.mergeConfig=ze,W.AxiosHeaders=v,W.formToJSON=e=>Sl(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Rl.getAdapter,W.HttpStatusCode=Lr,W.default=W;const $B={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[$,A1],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{useTransition:{type:Boolean,default:!0},showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(e=>e.includes("jpg"))},failedUpload(){return this.listOfFiles.some(e=>e.error)},totalBytesUploaded(){const e=this.listOfFiles.map(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("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const e=this.listOfFiles.map(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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[n];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(e,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("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const e=new URL(this.uploadOptions.url,location.href),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("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let 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("cmduploadform.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},vB={key:0},eE={key:1,class:"flex-container vertical"},tE={key:0,class:"flex-container vertical list-files-wrapper"},nE={key:0,class:"list-of-files total-files"},oE={class:"flex-container no-flex"},rE=["title"],iE={key:0,class:"progressbar"},sE=["value","title"],aE=o.createElementVNode("hr",null,null,-1),lE={class:"flex-container vertical list-files-wrapper"},cE={class:"list-of-files"},dE=["title","onClick"],uE={key:0,class:"progressbar"},mE=["value","title"],fE=["title"],hE=o.createElementVNode("hr",null,null,-1),pE={class:"upload-conditions"},gE={class:"small"},yE=["title"],bE={key:0,class:"list-of-file-extensions"},kE={class:"flex-container vertical no-gap"},CE=["disabled"],wE={key:0},xE={key:1},BE={class:"button-wrapper no-flex"},EE=["disabled"],SE={key:0},_E={key:1},TE={key:0,class:"progressbar"},OE=["value","title"];function NE(e,t,n,r,i,s){const a=U,l=yr,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("cmduploadform.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[s.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",vB,[(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",eE,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",tE,[o.createVNode(a,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",nE,[o.createElementVNode("li",oE,[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.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,rE),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("cmduploadform.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.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",iE,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,sE)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),aE])):o.createCommentVNode("",!0),o.createElementVNode("div",lE,[o.createVNode(a,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",cE,[(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("cmduploadform.labeltext.remove_file_from_list",u.file.name),onClick:o.withModifiers(p=>s.removeFile(m),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,dE),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",uE,[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,mE)])):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("cmduploadform.all_files_will_be_removed")},o.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,fE)):o.createCommentVNode("",!0),hE])])):(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",pE,[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("cmduploadform.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("cmduploadform.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",gE,[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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.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,yE),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",bE,[(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",kE,[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",wE,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",xE,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,CE),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("cmduploadform.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.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("cmduploadform.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("cmduploadform.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=u=>i.comment=u),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",BE,[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",SE,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",_E,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,EE),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("cmduploadform.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",TE,[o.createElementVNode("span",null,o.toDisplayString(s.getPercentage(s.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:s.totalUploadProgress,title:s.totalBytesUploaded},null,8,OE)])):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("cmduploadform.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("cmduploadform.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("cmduploadform.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("cmduploadform.max_upload_size"))+" "+o.toDisplayString(s.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:s.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const VE=V($B,[["render",NE]]),FE={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}}},AE=["id"],PE=["id"];function LE(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,AE)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,PE)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const IE=V(FE,[["render",LE]]),ME={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"]}}},RE={key:1,class:"flex-container"},DE={class:"flex-container vertical"};function jE(e,t,n,r,i,s){const a=za,l=Ma,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",RE,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",DE,[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 qE=V(ME,[["render",jE]]),zE={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},HE={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function UE(e,t,n,r,i,s){const a=pr,l=Ja;return o.openBlock(),o.createElementBlock("div",HE,[(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,p)=>(o.openBlock(),o.createBlock(a,o.mergeProps({"use-slots":["box-body"],key:p},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 WE=V(zE,[["render",UE]]),GE={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},JE={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function KE(e,t,n,r,i,s){const a=fr;return o.openBlock(),o.createElementBlock("div",JE,[(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 ZE=V(GE,[["render",KE]]),XE={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!")}}},QE={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 YE=Object.defineProperty,$E=(e,t,n)=>t in e?YE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wn=(e,t,n)=>$E(e,typeof t!="symbol"?t+"":t,n);const Bt=/^[a-z0-9]+(-[a-z0-9]+)*$/,xn=(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&&!Bn(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&&!Bn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!Bn(l,n)?null:l}return null},Bn=(e,t)=>e?!!((e.provider===""||e.provider.match(Bt))&&(t&&e.prefix===""||e.prefix.match(Bt))&&e.name.match(Bt)):!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}),Ir=Object.freeze({...Sn,body:"",hidden:!1});function vE(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=vE(e,t);for(const r in Ir)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 eS(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 tS(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=eS(e);for(const i in r){const s=r[i];s&&(t(i,tS(e,i,s)),n.push(i))}return n}const nS={provider:"",aliases:{},not_found:{},...Hl};function Mr(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"||!Mr(e,nS))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Bt)||typeof s.body!="string"||!Mr(s,Ir))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Bt)||typeof a!="string"||!n[a]&&!r[a]||!Mr(s,Ir))return null}return t}const Jl=Object.create(null);function oS(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]=oS(e,t))}function Rr(e,t){return Gl(t)?Wl(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function rS(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 iS(e){const t=typeof e=="string"?xn(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 sS(e,t){const n=xn(e,!0,Et);if(!n)return!1;const r=Ue(n.provider,n.prefix);return rS(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&&sS(s,a)&&(i=!0)})),i}const n=e.prefix;if(!Bn({provider:t,prefix:n,name:"a"}))return!1;const r=Ue(t,n);return!!Rr(r,e)}const Xl=Object.freeze({width:null,height:null}),Ql=Object.freeze({...Xl,...En}),aS=/(-?[0-9.]*[0-9]+[0-9.]*)/g,lS=/^-?[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(aS);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=lS.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 cS(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(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 dS=/\sid="(\S+)"/g,uS="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mS=0;function fS(e,t=uS){const n=[];let r;for(;r=dS.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(mS++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Dr=Object.create(null);function hS(e,t){Dr[e]=t}function jr(e){return Dr[e]||Dr[""]}function qr(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 zr=Object.create(null),_n=["https://api.simplesvg.com","https://api.unisvg.com"],Hr=[];for(;_n.length>0;)_n.length===1||Math.random()>.5?Hr.push(_n.shift()):Hr.push(_n.pop());zr[""]=qr({resources:["https://api.iconify.design"].concat(Hr)});function pS(e,t){const n=qr(t);return n===null?!1:(zr[e]=n,!0)}function Ur(e){return zr[e]}let $l=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function gS(e,t){const n=Ur(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 yS(e){return e===404}const bS=(e,t,n)=>{const r=[],i=gS(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 kS(e){if(typeof e=="string"){const t=Ur(e);if(t)return t.path}return"/"}const CS=(e,t,n)=>{if(!$l){n("abort",424);return}let r=kS(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(yS(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)})},wS={prepare:bS,send:CS};function xS(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 BS(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 ES=0;function SS(e,t,n){const r=ES++,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 _S(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?xn(i,t,n):i;s&&r.push(s)}),r}var TS={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function OS(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!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 A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function ec(e){const t={...TS,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=OS(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 Wr=Object.create(null);function NS(e){if(!Wr[e]){const t=Ur(e);if(!t)return;const n=ec(t),r={config:t,redundancy:n};Wr[e]=r}return Wr[e]}function VS(e,t,n){let r,i;if(typeof e=="string"){const s=jr(e);if(!s)return n(void 0,424),tc;i=s.send;const a=NS(e);a&&(r=a.redundancy)}else{const s=qr(e);if(s){r=ec(s);const a=e.resources?e.resources[0]:"",l=jr(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,FS=168;function Gr(e,t){try{return e.getItem(t)}catch{}}function Jr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sc(e,t){try{e.removeItem(t)}catch{}}function Kr(e,t){return Jr(e,oc,t.toString())}function Zr(e){return parseInt(Gr(e,oc))||0}const Tn={local:!0,session:!0},ac={local:new Set,session:new Set};let Xr=!1;function AS(e){Xr=e}let On=typeof window>"u"?{}:window;function lc(e){const t=e+"Storage";try{if(On&&On[t]&&typeof On[t].length=="number")return On[t]}catch{}Tn[e]=!1}function cc(e,t){const n=lc(e);if(!n)return;const r=Gr(n,rc);if(r!==nc){if(r){const l=Zr(n);for(let d=0;d<l;d++)sc(n,St+d.toString())}Jr(n,rc,nc),Kr(n,0);return}const i=Math.floor(Date.now()/ic)-FS,s=l=>{const d=St+l.toString(),c=Gr(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=Zr(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Kr(n,a)):ac[e].add(l))}function dc(){if(!Xr){AS(!0);for(const e in Tn)cc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ue(r,i);if(!Rr(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function PS(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Tn)cc(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function LS(e,t){Xr||dc();function n(r){let i;if(!Tn[r]||!(i=lc(r)))return;const s=ac[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Zr(i),!Kr(i,a+1))return;const l={cached:Math.floor(Date.now()/ic),provider:e.provider,data:t};return Jr(i,St+a.toString(),JSON.stringify(l))}t.lastModified&&!PS(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 IS(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,BS(e)}))}function MS(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=jr(n))||s.prepare(n,r,i).forEach(a=>{VS(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Rr(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),LS(e,l)}catch(c){console.error(c)}IS(e)})})}))}const RS=(e,t)=>{const n=_S(e,!0,Kl()),r=xS(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,p=Ue(c,u),f=p.pendingIcons||(p.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&&MS(d,i[c][u])}),t?SS(t,r,s):uc};function DS(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 jS=/[\s,]+/;function qS(e,t){t.split(jS).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function zS(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 HS(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 US(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function WS(e){return'url("data:image/svg+xml,'+US(e)+'")'}const mc={...Ql,inline:!1},GS={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},JS={display:"inline-block"},Qr={backgroundColor:"currentColor"},fc={backgroundColor:"transparent"},hc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},pc={webkitMask:Qr,mask:Qr,background:fc};for(const e in pc){const t=pc[e];for(const n in hc)t[e+n]=hc[n]}const Nn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Nn[e+"-flip"]=t,Nn[e.slice(0,1)+"-flip"]=t,Nn[e+"Flip"]=t});function gc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yc=(e,t)=>{const n=DS(mc,t),r={...GS},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&qS(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=zS(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Nn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):mc[y]===void 0&&(r[y]=g)}}}const d=cS(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=fS(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=HS(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":WS(h),width:gc(c.width),height:gc(c.height),...JS,...f?Qr:fc,...l},o.h("span",r)};if(Kl(!0),hS("",wS),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;pS(n,i)||console.error(r)}catch{console.error(r)}}}}const KS={...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=xn(e,!1,!0))===null)return this.abortLoading(),null;const r=iS(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:RS([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(KS,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 ZS(){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 XS(){return"cmd-"+ZS()}const QS={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||XS()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Yr=class zo{constructor(t){wn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,zo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,zo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,zo.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,""]}};wn(Yr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),wn(Yr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),wn(Yr,"PATTERN_MESSAGE",/^.{2,500}$/);const YS=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp($S,{...e,show:!0}).mount(t)},$S=o.defineComponent({name:"CmdFancyBox",mixins:[QS],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 vS(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 vS(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
10
10
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
11
11
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
12
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});function bc(e,t){return function(){return e.apply(t,arguments)}}const{toString:e_}=Object.prototype,{getPrototypeOf:$r}=Object,Fn=(e=>t=>{const n=e_.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 t_(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 n_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kc(e.buffer),t}const o_=An("string"),se=An("function"),Cc=An("number"),Ln=e=>e!==null&&typeof e=="object",r_=e=>e===!0||e===!1,Pn=e=>{if(Fn(e)!=="object")return!1;const t=$r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},i_=pe("Date"),s_=pe("File"),a_=pe("Blob"),l_=pe("FileList"),c_=e=>Ln(e)&&se(e.pipe),d_=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]"))},u_=pe("URLSearchParams"),[m_,f_,h_,p_]=["ReadableStream","Request","Response","Headers"].map(pe),g_=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 vr(){const{caseless:e}=Bc(this)&&this||{},t={},n=(r,i)=>{const s=e&&wc(t,i)||i;Pn(t[s])&&Pn(r)?t[s]=vr(t[s],r):Pn(r)?t[s]=vr({},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 y_=(e,t,n,{allOwnKeys:r}={})=>(Ot(t,(i,s)=>{n&&se(i)?e[s]=bc(i,n):e[s]=i},{allOwnKeys:r}),e),b_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),k_=(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)},C_=(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&&$r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},w_=(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},x_=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},B_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$r(Uint8Array)),E_=(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])}},S_=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},__=pe("HTMLFormElement"),T_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Ec=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),O_=pe("RegExp"),Sc=(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)},N_=e=>{Sc(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+"'")})}})},V_=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return at(e)?r(e):r(String(e).split(t)),n},F_=()=>{},A_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ei="abcdefghijklmnopqrstuvwxyz",_c="0123456789",Tc={DIGIT:_c,ALPHA:ei,ALPHA_DIGIT:ei+ei.toUpperCase()+_c},L_=(e=16,t=Tc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function P_(e){return!!(e&&se(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const I_=e=>{const t=new Array(10),n=(r,i)=>{if(Ln(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)},M_=pe("AsyncFunction"),R_=e=>e&&(Ln(e)||se(e))&&se(e.then)&&se(e.catch),x={isArray:at,isArrayBuffer:kc,isBuffer:t_,isFormData:d_,isArrayBufferView:n_,isString:o_,isNumber:Cc,isBoolean:r_,isObject:Ln,isPlainObject:Pn,isReadableStream:m_,isRequest:f_,isResponse:h_,isHeaders:p_,isUndefined:Tt,isDate:i_,isFile:s_,isBlob:a_,isRegExp:O_,isFunction:se,isStream:c_,isURLSearchParams:u_,isTypedArray:B_,isFileList:l_,forEach:Ot,merge:vr,extend:y_,trim:g_,stripBOM:b_,inherits:k_,toFlatObject:C_,kindOf:Fn,kindOfTest:pe,endsWith:w_,toArray:x_,forEachEntry:E_,matchAll:S_,isHTMLForm:__,hasOwnProperty:Ec,hasOwnProp:Ec,reduceDescriptors:Sc,freezeMethods:N_,toObjectSet:V_,toCamelCase:T_,noop:F_,toFiniteNumber:A_,findKey:wc,global:xc,isContextDefined:Bc,ALPHABET:Tc,generateString:L_,isSpecCompliantForm:P_,toJSONObject:I_,isAsyncFn:M_,isThenable:R_};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 D_=null;function ti(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 j_(e){return x.isArray(e)&&!e.some(ti)}const q_=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 g=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)&&j_(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(g=x.toArray(f)))return h=Vc(h),g.forEach(function(k,T){!(x.isUndefined(k)||k===null)&&t.append(a===!0?Fc([h],T,s):a===null?h:h+"[]",d(k))}),!1}return ti(f)?!0:(t.append(Fc(y,h,s),d(f)),!1)}const u=[],m=Object.assign(q_,{defaultVisitor:c,convertValue:d,isVisitable:ti});function p(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,g){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return p(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 ni(e,t){this._pairs=[],e&&In(e,this,t)}const Lc=ni.prototype;Lc.append=function(e,t){this._pairs.push([e,t])},Lc.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 z_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pc(e,t,n){if(!t)return e;const r=n&&n.encode||z_,i=n&&n.serialize;let s;if(i?s=i(t,n):s=x.isURLSearchParams(t)?t.toString():new ni(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},H_=typeof URLSearchParams<"u"?URLSearchParams:ni,U_=typeof FormData<"u"?FormData:null,W_=typeof Blob<"u"?Blob:null,G_={isBrowser:!0,classes:{URLSearchParams:H_,FormData:U_,Blob:W_},protocols:["http","https","file","blob","url","data"]},oi=typeof window<"u"&&typeof document<"u",J_=(e=>oi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),K_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Z_=oi&&window.location.href||"http://localhost",X_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:oi,hasStandardBrowserEnv:J_,hasStandardBrowserWebWorkerEnv:K_,origin:Z_},Symbol.toStringTag,{value:"Module"})),ge={...X_,...G_};function Q_(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 Y_(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $_(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]=$_(i[a])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(Y_(r),i,n,0)}),n}return null}function v_(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 Q_(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),v_(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 eT=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"]),tT=e=>{const t={};let n,r,i;return e&&e.split(`
13
- `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&eT[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 nT(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 oT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ri(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 rT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function iT(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 ee{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())&&!oT(t))a(tT(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 nT(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||ri(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||ri(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||ri(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?rT(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(`
14
- `)}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]||(iT(r,s),n[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(ee);function ii(e,t){const n=this||Nt,r=t||n,i=ee.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 sT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aT(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function lT(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=aT(50,250);return lT(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)},cT=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}}(),dT=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 uT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function mT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zc(e,t){return e&&!uT(t)?mT(e,t):t}const Hc=e=>e instanceof ee?{...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=ee.from(a),t.url=Pc(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&&cT(t.url))){const c=i&&s&&dT.read(s);c&&a.set(i,c)}return t},fT=typeof XMLHttpRequest<"u",hT=fT&&function(e){return new Promise(function(t,n){const r=Uc(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Mc;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new M(p,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&x.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),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=p=>{c&&(n(!p||p.type?new lt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=sT(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)})},pT=(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}]},gT=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},yT=async function*(e,t,n){for await(const r of e)yield*gT(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Wc=(e,t,n,r,i)=>{const s=yT(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",si=Dn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),bT=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,ai=Jc&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),jn={stream:ai&&(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 kT=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 si(e)).byteLength},CT=async(e,t)=>x.toFiniteNumber(e.getContentLength())??kT(t),wT=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:p}=Uc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?pT([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&bT&&n!=="get"&&n!=="head"&&(T=await CT(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;x.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Wc(b.body,Kc,Gc(T,Rn(d)),null,si))}x.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=ai&&(c==="stream"||c==="response");if(ai&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=x.toFiniteNumber(C.headers.get("content-length"));C=new Response(Wc(C.body,Kc,l&&Gc(_,Rn(l,!0)),N&&k,si),b)}c=c||"text";let A=await jn[x.findKey(jn,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{qc(b,_,{data:A,headers:ee.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,g),{cause:C.cause||C}):M.from(C,C&&C.code,e,g)}}),li={http:D_,xhr:hT,fetch:wT};x.forEach(li,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zc=e=>`- ${e}`,xT=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,!xT(n)&&(r=li[(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 :
12
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});function bc(e,t){return function(){return e.apply(t,arguments)}}const{toString:e_}=Object.prototype,{getPrototypeOf:$r}=Object,Vn=(e=>t=>{const n=e_.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pe=e=>(e=e.toLowerCase(),t=>Vn(t)===e),Fn=e=>t=>typeof t===e,{isArray:at}=Array,_t=Fn("undefined");function t_(e){return e!==null&&!_t(e)&&e.constructor!==null&&!_t(e.constructor)&&se(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const kc=pe("ArrayBuffer");function n_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kc(e.buffer),t}const o_=Fn("string"),se=Fn("function"),Cc=Fn("number"),An=e=>e!==null&&typeof e=="object",r_=e=>e===!0||e===!1,Pn=e=>{if(Vn(e)!=="object")return!1;const t=$r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},i_=pe("Date"),s_=pe("File"),a_=pe("Blob"),l_=pe("FileList"),c_=e=>An(e)&&se(e.pipe),d_=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||se(e.append)&&((t=Vn(e))==="formdata"||t==="object"&&se(e.toString)&&e.toString()==="[object FormData]"))},u_=pe("URLSearchParams"),[m_,f_,h_,p_]=["ReadableStream","Request","Response","Headers"].map(pe),g_=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Tt(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=>!_t(e)&&e!==xc;function vr(){const{caseless:e}=Bc(this)&&this||{},t={},n=(r,i)=>{const s=e&&wc(t,i)||i;Pn(t[s])&&Pn(r)?t[s]=vr(t[s],r):Pn(r)?t[s]=vr({},r):at(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Tt(arguments[r],n);return t}const y_=(e,t,n,{allOwnKeys:r}={})=>(Tt(t,(i,s)=>{n&&se(i)?e[s]=bc(i,n):e[s]=i},{allOwnKeys:r}),e),b_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),k_=(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)},C_=(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&&$r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},w_=(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},x_=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},B_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$r(Uint8Array)),E_=(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])}},S_=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},__=pe("HTMLFormElement"),T_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Ec=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),O_=pe("RegExp"),Sc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Tt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},N_=e=>{Sc(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+"'")})}})},V_=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return at(e)?r(e):r(String(e).split(t)),n},F_=()=>{},A_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ei="abcdefghijklmnopqrstuvwxyz",_c="0123456789",Tc={DIGIT:_c,ALPHA:ei,ALPHA_DIGIT:ei+ei.toUpperCase()+_c},P_=(e=16,t=Tc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function L_(e){return!!(e&&se(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const I_=e=>{const t=new Array(10),n=(r,i)=>{if(An(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=at(r)?[]:{};return Tt(r,(a,l)=>{const d=n(a,i+1);!_t(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},M_=pe("AsyncFunction"),R_=e=>e&&(An(e)||se(e))&&se(e.then)&&se(e.catch),x={isArray:at,isArrayBuffer:kc,isBuffer:t_,isFormData:d_,isArrayBufferView:n_,isString:o_,isNumber:Cc,isBoolean:r_,isObject:An,isPlainObject:Pn,isReadableStream:m_,isRequest:f_,isResponse:h_,isHeaders:p_,isUndefined:_t,isDate:i_,isFile:s_,isBlob:a_,isRegExp:O_,isFunction:se,isStream:c_,isURLSearchParams:u_,isTypedArray:B_,isFileList:l_,forEach:Tt,merge:vr,extend:y_,trim:g_,stripBOM:b_,inherits:k_,toFlatObject:C_,kindOf:Vn,kindOfTest:pe,endsWith:w_,toArray:x_,forEachEntry:E_,matchAll:S_,isHTMLForm:__,hasOwnProperty:Ec,hasOwnProp:Ec,reduceDescriptors:Sc,freezeMethods:N_,toObjectSet:V_,toCamelCase:T_,noop:F_,toFiniteNumber:A_,findKey:wc,global:xc,isContextDefined:Bc,ALPHABET:Tc,generateString:P_,isSpecCompliantForm:L_,toJSONObject:I_,isAsyncFn:M_,isThenable:R_};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 D_=null;function ti(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 j_(e){return x.isArray(e)&&!e.some(ti)}const q_=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function Ln(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 g=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)&&j_(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(g=x.toArray(f)))return h=Vc(h),g.forEach(function(k,T){!(x.isUndefined(k)||k===null)&&t.append(a===!0?Fc([h],T,s):a===null?h:h+"[]",d(k))}),!1}return ti(f)?!0:(t.append(Fc(y,h,s),d(f)),!1)}const u=[],m=Object.assign(q_,{defaultVisitor:c,convertValue:d,isVisitable:ti});function p(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,g){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return p(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 ni(e,t){this._pairs=[],e&&Ln(e,this,t)}const Pc=ni.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 z_(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||z_,i=n&&n.serialize;let s;if(i?s=i(t,n):s=x.isURLSearchParams(t)?t.toString():new ni(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},H_=typeof URLSearchParams<"u"?URLSearchParams:ni,U_=typeof FormData<"u"?FormData:null,W_=typeof Blob<"u"?Blob:null,G_={isBrowser:!0,classes:{URLSearchParams:H_,FormData:U_,Blob:W_},protocols:["http","https","file","blob","url","data"]},oi=typeof window<"u"&&typeof document<"u",J_=(e=>oi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),K_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Z_=oi&&window.location.href||"http://localhost",X_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:oi,hasStandardBrowserEnv:J_,hasStandardBrowserWebWorkerEnv:K_,origin:Z_},Symbol.toStringTag,{value:"Module"})),ge={...X_,...G_};function Q_(e,t){return Ln(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 Y_(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $_(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]=$_(i[a])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(Y_(r),i,n,0)}),n}return null}function v_(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 Ot={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 Q_(e,this.formSerializer).toString();if((s=x.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ln(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),v_(e)):e}],transformResponse:[function(e){const t=this.transitional||Ot.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=>{Ot.headers[e]={}});const eT=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"]),tT=e=>{const t={};let n,r,i;return e&&e.split(`
13
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&eT[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 Nt(e){return e&&String(e).trim().toLowerCase()}function In(e){return e===!1||e==null?e:x.isArray(e)?e.map(In):String(e)}function nT(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 oT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ri(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 rT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function iT(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 ee{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Nt(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]=In(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())&&!oT(t))a(tT(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=Nt(t),t){const r=x.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return nT(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=Nt(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ri(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Nt(a),a){const l=x.findKey(r,a);l&&(!n||ri(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||ri(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]=In(i),delete n[s];return}const l=t?rT(s):String(s).trim();l!==s&&delete n[s],n[l]=In(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(`
14
+ `)}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=Nt(s);n[a]||(iT(r,s),n[a]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(ee);function ii(e,t){const n=this||Ot,r=t||n,i=ee.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 sT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aT(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function lT(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 Mn=(e,t,n=3)=>{let r=0;const i=aT(50,250);return lT(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)},cT=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}}(),dT=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 uT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function mT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zc(e,t){return e&&!uT(t)?mT(e,t):t}const Hc=e=>e instanceof ee?{...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=ee.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&&cT(t.url))){const c=i&&s&&dT.read(s);c&&a.set(i,c)}return t},fT=typeof XMLHttpRequest<"u",hT=fT&&function(e){return new Promise(function(t,n){const r=Uc(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Mc;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new M(p,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&x.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Mn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Mn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=p=>{c&&(n(!p||p.type?new lt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=sT(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)})},pT=(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}]},gT=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},yT=async function*(e,t,n){for await(const r of e)yield*gT(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Wc=(e,t,n,r,i)=>{const s=yT(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}))},Rn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jc=Rn&&typeof ReadableStream=="function",si=Rn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),bT=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,ai=Jc&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),Dn={stream:ai&&(e=>e.body)};Rn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Dn[t]&&(Dn[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 kT=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 si(e)).byteLength},CT=async(e,t)=>x.toFiniteNumber(e.getContentLength())??kT(t),wT=Rn&&(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:p}=Uc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?pT([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&bT&&n!=="get"&&n!=="head"&&(T=await CT(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;x.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Wc(b.body,Kc,Gc(T,Mn(d)),null,si))}x.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=ai&&(c==="stream"||c==="response");if(ai&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=x.toFiniteNumber(C.headers.get("content-length"));C=new Response(Wc(C.body,Kc,l&&Gc(_,Mn(l,!0)),N&&k,si),b)}c=c||"text";let A=await Dn[x.findKey(Dn,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{qc(b,_,{data:A,headers:ee.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,g),{cause:C.cause||C}):M.from(C,C&&C.code,e,g)}}),li={http:D_,xhr:hT,fetch:wT};x.forEach(li,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Zc=e=>`- ${e}`,xT=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,!xT(n)&&(r=li[(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 :
15
15
  `+s.map(Zc).join(`
16
- `):" "+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:li};function ci(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lt(null,e)}function Qc(e){return ci(e),e.headers=ee.from(e.headers),e.data=ii.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 ci(e),t.data=ii.call(e,e.transformResponse,t),t.headers=ee.from(t.headers),t},function(t){return jc(t)||(ci(e),t&&t.response&&(t.response.data=ii.call(e,e.transformResponse,t.response),t.response.headers=ee.from(t.response.headers))),Promise.reject(t)})}const Yc="1.7.2",di={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{di[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const $c={};di.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 BT(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 ui={assertOptions:BT,validators:di},Pe=ui.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+=`
17
- `+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&&ui.assertOptions(r,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:ui.assertOptions(i,{encode:Pe.function,serialize:Pe.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=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,p;if(!d){const h=[Qc.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Qc.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=We(this.defaults,t);const n=zc(t.baseURL,t.url);return Pc(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 mi{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 mi(function(n){t=n}),cancel:t}}}function ET(e){return function(t){return e.apply(null,t)}}function ST(e){return x.isObject(e)&&e.isAxiosError===!0}const fi={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(fi).forEach(([e,t])=>{fi[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=mi,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=ET,G.isAxiosError=ST,G.mergeConfig=We,G.AxiosHeaders=ee,G.formToJSON=e=>Rc(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=Xc.getAdapter,G.HttpStatusCode=fi,G.default=G;var _T=Object.defineProperty,TT=(e,t,n)=>t in e?_T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qn=(e,t,n)=>TT(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}),hi=Object.freeze({...Wn,body:"",hidden:!1});function OT(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=OT(e,t);for(const r in hi)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 NT(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 VT(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=NT(e);for(const i in r){const s=r[i];s&&(t(i,VT(e,i,s)),n.push(i))}return n}const FT={provider:"",aliases:{},not_found:{},...ed};function pi(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"||!pi(e,FT))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Ft)||typeof s.body!="string"||!pi(s,hi))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]||!pi(s,hi))return null}return t}const rd=Object.create(null);function AT(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]=AT(e,t))}function gi(e,t){return od(t)?nd(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function LT(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 PT(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 IT(e,t){const n=zn(e,!0,At);if(!n)return!1;const r=Je(n.provider,n.prefix);return LT(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&&IT(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!!gi(r,e)}const ad=Object.freeze({width:null,height:null}),ld=Object.freeze({...ad,...Un}),MT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,RT=/^-?[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(MT);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=RT.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 DT(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(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 jT=/\sid="(\S+)"/g,qT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let zT=0;function HT(e,t=qT){const n=[];let r;for(;r=jT.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(zT++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const yi=Object.create(null);function UT(e,t){yi[e]=t}function bi(e){return yi[e]||yi[""]}function ki(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 Ci=Object.create(null),Gn=["https://api.simplesvg.com","https://api.unisvg.com"],wi=[];for(;Gn.length>0;)Gn.length===1||Math.random()>.5?wi.push(Gn.shift()):wi.push(Gn.pop());Ci[""]=ki({resources:["https://api.iconify.design"].concat(wi)});function WT(e,t){const n=ki(t);return n===null?!1:(Ci[e]=n,!0)}function xi(e){return Ci[e]}let dd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function GT(e,t){const n=xi(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 JT(e){return e===404}const KT=(e,t,n)=>{const r=[],i=GT(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 ZT(e){if(typeof e=="string"){const t=xi(e);if(t)return t.path}return"/"}const XT=(e,t,n)=>{if(!dd){n("abort",424);return}let r=ZT(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(JT(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)})},QT={prepare:KT,send:XT};function YT(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 $T(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 vT=0;function e2(e,t,n){const r=vT++,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 t2(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 n2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function o2(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!e.random){const P=e.resources.indexOf(b.resource);P!==-1&&P!==e.index&&(e.index=P)}d="completed",f.forEach(P=>{P(F)})}function A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function md(e){const t={...n2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=o2(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 Bi=Object.create(null);function r2(e){if(!Bi[e]){const t=xi(e);if(!t)return;const n=md(t),r={config:t,redundancy:n};Bi[e]=r}return Bi[e]}function i2(e,t,n){let r,i;if(typeof e=="string"){const s=bi(e);if(!s)return n(void 0,424),fd;i=s.send;const a=r2(e);a&&(r=a.redundancy)}else{const s=ki(e);if(s){r=md(s);const a=e.resources?e.resources[0]:"",l=bi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),fd):r.query(t,i,n)().abort}const hd="iconify2",Lt="iconify",pd=Lt+"-count",gd=Lt+"-version",yd=36e5,s2=168;function Ei(e,t){try{return e.getItem(t)}catch{}}function Si(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bd(e,t){try{e.removeItem(t)}catch{}}function _i(e,t){return Si(e,pd,t.toString())}function Ti(e){return parseInt(Ei(e,pd))||0}const Jn={local:!0,session:!0},kd={local:new Set,session:new Set};let Oi=!1;function a2(e){Oi=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=Ei(n,gd);if(r!==hd){if(r){const l=Ti(n);for(let d=0;d<l;d++)bd(n,Lt+d.toString())}Si(n,gd,hd),_i(n,0);return}const i=Math.floor(Date.now()/yd)-s2,s=l=>{const d=Lt+l.toString(),c=Ei(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=Ti(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,_i(n,a)):kd[e].add(l))}function xd(){if(!Oi){a2(!0);for(const e in Jn)wd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Je(r,i);if(!gi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function l2(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 c2(e,t){Oi||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=Ti(i),!_i(i,a+1))return;const l={cached:Math.floor(Date.now()/yd),provider:e.provider,data:t};return Si(i,Lt+a.toString(),JSON.stringify(l))}t.lastModified&&!l2(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 d2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,$T(e)}))}function u2(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=bi(n))||s.prepare(n,r,i).forEach(a=>{i2(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=gi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),c2(e,l)}catch(c){console.error(c)}d2(e)})})}))}const m2=(e,t)=>{const n=t2(e,!0,id()),r=YT(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,p=Je(c,u),f=p.pendingIcons||(p.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&&u2(d,i[c][u])}),t?e2(t,r,s):Bd};function f2(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 h2=/[\s,]+/;function p2(e,t){t.split(h2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function g2(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 y2(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 b2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function k2(e){return'url("data:image/svg+xml,'+b2(e)+'")'}const Ed={...ld,inline:!1},C2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},w2={display:"inline-block"},Ni={backgroundColor:"currentColor"},Sd={backgroundColor:"transparent"},_d={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Td={webkitMask:Ni,mask:Ni,background:Sd};for(const e in Td){const t=Td[e];for(const n in _d)t[e+n]=_d[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=f2(Ed,t),r={...C2},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&p2(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=g2(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Zn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Ed[y]===void 0&&(r[y]=g)}}}const d=DT(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=HT(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=y2(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":k2(h),width:Od(c.width),height:Od(c.height),...w2,...f?Ni:Sd,...l},o.h("span",r)};if(id(!0),UT("",QT),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;WT(n,i)||console.error(r)}catch{console.error(r)}}}}const x2={...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=PT(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:m2([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(x2,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 B2(){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 E2(){return"cmd-"+B2()}const S2={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||E2()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Vi=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(Vi,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),qn(Vi,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),qn(Vi,"PATTERN_MESSAGE",/^.{2,500}$/);const _2=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(T2,{...e,show:!0}).mount(t)},T2=o.defineComponent({name:"CmdFancyBox",mixins:[S2],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 O2(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 O2(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
16
+ `):" "+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:li};function ci(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lt(null,e)}function Qc(e){return ci(e),e.headers=ee.from(e.headers),e.data=ii.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xc.getAdapter(e.adapter||Ot.adapter)(e).then(function(t){return ci(e),t.data=ii.call(e,e.transformResponse,t),t.headers=ee.from(t.headers),t},function(t){return jc(t)||(ci(e),t&&t.response&&(t.response.data=ii.call(e,e.transformResponse,t.response),t.response.headers=ee.from(t.response.headers))),Promise.reject(t)})}const Yc="1.7.2",di={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{di[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const $c={};di.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 BT(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 ui={assertOptions:BT,validators:di},Le=ui.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+=`
17
+ `+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&&ui.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}:ui.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=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,p;if(!d){const h=[Qc.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Qc.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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 mi{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 mi(function(n){t=n}),cancel:t}}}function ET(e){return function(t){return e.apply(null,t)}}function ST(e){return x.isObject(e)&&e.isAxiosError===!0}const fi={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(fi).forEach(([e,t])=>{fi[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(Ot);G.Axios=Ge,G.CanceledError=lt,G.CancelToken=mi,G.isCancel=jc,G.VERSION=Yc,G.toFormData=Ln,G.AxiosError=M,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=ET,G.isAxiosError=ST,G.mergeConfig=We,G.AxiosHeaders=ee,G.formToJSON=e=>Rc(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=Xc.getAdapter,G.HttpStatusCode=fi,G.default=G;var _T=Object.defineProperty,TT=(e,t,n)=>t in e?_T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jn=(e,t,n)=>TT(e,typeof t!="symbol"?t+"":t,n);const Vt=/^[a-z0-9]+(-[a-z0-9]+)*$/,qn=(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&&!zn(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&&!zn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!zn(l,n)?null:l}return null},zn=(e,t)=>e?!!((e.provider===""||e.provider.match(Vt))&&(t&&e.prefix===""||e.prefix.match(Vt))&&e.name.match(Vt)):!1,ed=Object.freeze({left:0,top:0,width:16,height:16}),Hn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Un=Object.freeze({...ed,...Hn}),hi=Object.freeze({...Un,body:"",hidden:!1});function OT(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=OT(e,t);for(const r in hi)r in Hn?r in e&&!(r in n)&&(n[r]=Hn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function NT(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 VT(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=NT(e);for(const i in r){const s=r[i];s&&(t(i,VT(e,i,s)),n.push(i))}return n}const FT={provider:"",aliases:{},not_found:{},...ed};function pi(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"||!pi(e,FT))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Vt)||typeof s.body!="string"||!pi(s,hi))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Vt)||typeof a!="string"||!n[a]&&!r[a]||!pi(s,hi))return null}return t}const rd=Object.create(null);function AT(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]=AT(e,t))}function gi(e,t){return od(t)?nd(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function PT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ft=!1;function id(e){return typeof e=="boolean"&&(Ft=e),Ft}function LT(e){const t=typeof e=="string"?qn(e,!0,Ft):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 IT(e,t){const n=qn(e,!0,Ft);if(!n)return!1;const r=Je(n.provider,n.prefix);return PT(r,n.name,t)}function sd(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ft&&!t&&!e.prefix){let i=!1;return od(e)&&(e.prefix="",nd(e,(s,a)=>{a&&IT(s,a)&&(i=!0)})),i}const n=e.prefix;if(!zn({provider:t,prefix:n,name:"a"}))return!1;const r=Je(t,n);return!!gi(r,e)}const ad=Object.freeze({width:null,height:null}),ld=Object.freeze({...ad,...Hn}),MT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,RT=/^-?[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(MT);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=RT.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 DT(e,t){const n={...Un,...e},r={...ld,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 jT=/\sid="(\S+)"/g,qT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let zT=0;function HT(e,t=qT){const n=[];let r;for(;r=jT.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(zT++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const yi=Object.create(null);function UT(e,t){yi[e]=t}function bi(e){return yi[e]||yi[""]}function ki(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 Ci=Object.create(null),Wn=["https://api.simplesvg.com","https://api.unisvg.com"],wi=[];for(;Wn.length>0;)Wn.length===1||Math.random()>.5?wi.push(Wn.shift()):wi.push(Wn.pop());Ci[""]=ki({resources:["https://api.iconify.design"].concat(wi)});function WT(e,t){const n=ki(t);return n===null?!1:(Ci[e]=n,!0)}function xi(e){return Ci[e]}let dd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function GT(e,t){const n=xi(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 JT(e){return e===404}const KT=(e,t,n)=>{const r=[],i=GT(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 ZT(e){if(typeof e=="string"){const t=xi(e);if(t)return t.path}return"/"}const XT=(e,t,n)=>{if(!dd){n("abort",424);return}let r=ZT(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(JT(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)})},QT={prepare:KT,send:XT};function YT(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 $T(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 vT=0;function e2(e,t,n){const r=vT++,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 t2(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?qn(i,t,n):i;s&&r.push(s)}),r}var n2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function o2(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!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 A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function md(e){const t={...n2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=o2(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 Bi=Object.create(null);function r2(e){if(!Bi[e]){const t=xi(e);if(!t)return;const n=md(t),r={config:t,redundancy:n};Bi[e]=r}return Bi[e]}function i2(e,t,n){let r,i;if(typeof e=="string"){const s=bi(e);if(!s)return n(void 0,424),fd;i=s.send;const a=r2(e);a&&(r=a.redundancy)}else{const s=ki(e);if(s){r=md(s);const a=e.resources?e.resources[0]:"",l=bi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),fd):r.query(t,i,n)().abort}const hd="iconify2",At="iconify",pd=At+"-count",gd=At+"-version",yd=36e5,s2=168;function Ei(e,t){try{return e.getItem(t)}catch{}}function Si(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bd(e,t){try{e.removeItem(t)}catch{}}function _i(e,t){return Si(e,pd,t.toString())}function Ti(e){return parseInt(Ei(e,pd))||0}const Gn={local:!0,session:!0},kd={local:new Set,session:new Set};let Oi=!1;function a2(e){Oi=e}let Jn=typeof window>"u"?{}:window;function Cd(e){const t=e+"Storage";try{if(Jn&&Jn[t]&&typeof Jn[t].length=="number")return Jn[t]}catch{}Gn[e]=!1}function wd(e,t){const n=Cd(e);if(!n)return;const r=Ei(n,gd);if(r!==hd){if(r){const l=Ti(n);for(let d=0;d<l;d++)bd(n,At+d.toString())}Si(n,gd,hd),_i(n,0);return}const i=Math.floor(Date.now()/yd)-s2,s=l=>{const d=At+l.toString(),c=Ei(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=Ti(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,_i(n,a)):kd[e].add(l))}function xd(){if(!Oi){a2(!0);for(const e in Gn)wd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Je(r,i);if(!gi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function l2(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Gn)wd(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function c2(e,t){Oi||xd();function n(r){let i;if(!Gn[r]||!(i=Cd(r)))return;const s=kd[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=Ti(i),!_i(i,a+1))return;const l={cached:Math.floor(Date.now()/yd),provider:e.provider,data:t};return Si(i,At+a.toString(),JSON.stringify(l))}t.lastModified&&!l2(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 d2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,$T(e)}))}function u2(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=bi(n))||s.prepare(n,r,i).forEach(a=>{i2(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=gi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),c2(e,l)}catch(c){console.error(c)}d2(e)})})}))}const m2=(e,t)=>{const n=t2(e,!0,id()),r=YT(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,p=Je(c,u),f=p.pendingIcons||(p.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&&u2(d,i[c][u])}),t?e2(t,r,s):Bd};function f2(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 h2=/[\s,]+/;function p2(e,t){t.split(h2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function g2(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 y2(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 b2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function k2(e){return'url("data:image/svg+xml,'+b2(e)+'")'}const Ed={...ld,inline:!1},C2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},w2={display:"inline-block"},Ni={backgroundColor:"currentColor"},Sd={backgroundColor:"transparent"},_d={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Td={webkitMask:Ni,mask:Ni,background:Sd};for(const e in Td){const t=Td[e];for(const n in _d)t[e+n]=_d[n]}const Kn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Kn[e+"-flip"]=t,Kn[e.slice(0,1)+"-flip"]=t,Kn[e+"Flip"]=t});function Od(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Nd=(e,t)=>{const n=f2(Ed,t),r={...C2},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&p2(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=g2(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Kn[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Ed[y]===void 0&&(r[y]=g)}}}const d=DT(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=HT(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=y2(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":k2(h),width:Od(c.width),height:Od(c.height),...w2,...f?Ni:Sd,...l},o.h("span",r)};if(id(!0),UT("",QT),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;WT(n,i)||console.error(r)}catch{console.error(r)}}}}const x2={...Un,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=qn(e,!1,!0))===null)return this.abortLoading(),null;const r=LT(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:m2([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(x2,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Nd({...Un,...t.data},n)}});function B2(){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 E2(){return"cmd-"+B2()}const S2={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||E2()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Vi=class Ho{constructor(t){jn(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,""]}};jn(Vi,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),jn(Vi,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),jn(Vi,"PATTERN_MESSAGE",/^.{2,500}$/);const _2=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(T2,{...e,show:!0}).mount(t)},T2=o.defineComponent({name:"CmdFancyBox",mixins:[S2],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 O2(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 O2(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
18
18
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
19
19
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
20
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});function Vd(e,t){return function(){return e.apply(t,arguments)}}const{toString:N2}=Object.prototype,{getPrototypeOf:Fi}=Object,Xn=(e=>t=>{const n=N2.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,Pt=Qn("undefined");function V2(e){return e!==null&&!Pt(e)&&e.constructor!==null&&!Pt(e.constructor)&&ae(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fd=ye("ArrayBuffer");function F2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fd(e.buffer),t}const A2=Qn("string"),ae=Qn("function"),Ad=Qn("number"),Yn=e=>e!==null&&typeof e=="object",L2=e=>e===!0||e===!1,$n=e=>{if(Xn(e)!=="object")return!1;const t=Fi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},P2=ye("Date"),I2=ye("File"),M2=ye("Blob"),R2=ye("FileList"),D2=e=>Yn(e)&&ae(e.pipe),j2=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]"))},q2=ye("URLSearchParams"),[z2,H2,U2,W2]=["ReadableStream","Request","Response","Headers"].map(ye),G2=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 Ld(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 Pd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Id=e=>!Pt(e)&&e!==Pd;function Ai(){const{caseless:e}=Id(this)&&this||{},t={},n=(r,i)=>{const s=e&&Ld(t,i)||i;$n(t[s])&&$n(r)?t[s]=Ai(t[s],r):$n(r)?t[s]=Ai({},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 J2=(e,t,n,{allOwnKeys:r}={})=>(It(t,(i,s)=>{n&&ae(i)?e[s]=Vd(i,n):e[s]=i},{allOwnKeys:r}),e),K2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Z2=(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)},X2=(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&&Fi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Q2=(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},Y2=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},$2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fi(Uint8Array)),v2=(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])}},eO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},tO=ye("HTMLFormElement"),nO=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),oO=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)},rO=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+"'")})}})},iO=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ct(e)?r(e):r(String(e).split(t)),n},sO=()=>{},aO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Li="abcdefghijklmnopqrstuvwxyz",Dd="0123456789",jd={DIGIT:Dd,ALPHA:Li,ALPHA_DIGIT:Li+Li.toUpperCase()+Dd},lO=(e=16,t=jd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function cO(e){return!!(e&&ae(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dO=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);!Pt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},uO=ye("AsyncFunction"),mO=e=>e&&(Yn(e)||ae(e))&&ae(e.then)&&ae(e.catch),B={isArray:ct,isArrayBuffer:Fd,isBuffer:V2,isFormData:j2,isArrayBufferView:F2,isString:A2,isNumber:Ad,isBoolean:L2,isObject:Yn,isPlainObject:$n,isReadableStream:z2,isRequest:H2,isResponse:U2,isHeaders:W2,isUndefined:Pt,isDate:P2,isFile:I2,isBlob:M2,isRegExp:oO,isFunction:ae,isStream:D2,isURLSearchParams:q2,isTypedArray:$2,isFileList:R2,forEach:It,merge:Ai,extend:J2,trim:G2,stripBOM:K2,inherits:Z2,toFlatObject:X2,kindOf:Xn,kindOfTest:ye,endsWith:Q2,toArray:Y2,forEachEntry:v2,matchAll:eO,isHTMLForm:tO,hasOwnProperty:Md,hasOwnProp:Md,reduceDescriptors:Rd,freezeMethods:rO,toObjectSet:iO,toCamelCase:nO,noop:sO,toFiniteNumber:aO,findKey:Ld,global:Pd,isContextDefined:Id,ALPHABET:jd,generateString:lO,isSpecCompliantForm:cO,toJSONObject:dO,isAsyncFn:uO,isThenable:mO};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 fO=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 hO(e){return B.isArray(e)&&!e.some(Pi)}const pO=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 g=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)&&hO(f)||(B.isFileList(f)||B.endsWith(h,"[]"))&&(g=B.toArray(f)))return h=Hd(h),g.forEach(function(k,T){!(B.isUndefined(k)||k===null)&&t.append(a===!0?Ud([h],T,s):a===null?h:h+"[]",d(k))}),!1}return Pi(f)?!0:(t.append(Ud(y,h,s),d(f)),!1)}const u=[],m=Object.assign(pO,{defaultVisitor:c,convertValue:d,isVisitable:Pi});function p(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,g){(!(B.isUndefined(y)||y===null)&&i.call(t,y,B.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return p(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 Ii(e,t){this._pairs=[],e&&vn(e,this,t)}const Gd=Ii.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 gO(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||gO,i=n&&n.serialize;let s;if(i?s=i(t,n):s=B.isURLSearchParams(t)?t.toString():new Ii(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},yO=typeof URLSearchParams<"u"?URLSearchParams:Ii,bO=typeof FormData<"u"?FormData:null,kO=typeof Blob<"u"?Blob:null,CO={isBrowser:!0,classes:{URLSearchParams:yO,FormData:bO,Blob:kO},protocols:["http","https","file","blob","url","data"]},Mi=typeof window<"u"&&typeof document<"u",wO=(e=>Mi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",BO=Mi&&window.location.href||"http://localhost",EO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mi,hasStandardBrowserEnv:wO,hasStandardBrowserWebWorkerEnv:xO,origin:BO},Symbol.toStringTag,{value:"Module"})),be={...EO,...CO};function SO(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 _O(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TO(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]=TO(i[a])),!l)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(r,i)=>{t(_O(r),i,n,0)}),n}return null}function OO(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 SO(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),OO(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 NO=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"]),VO=e=>{const t={};let n,r,i;return e&&e.split(`
21
- `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&NO[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 FO(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 AO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ri(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 LO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function PO(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 te{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())&&!AO(t))a(VO(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 FO(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||Ri(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||Ri(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||Ri(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?LO(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(`
22
- `)}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]||(PO(r,s),n[a]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(te.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),B.freezeMethods(te);function Di(e,t){const n=this||Mt,r=t||n,i=te.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 IO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MO(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function RO(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=MO(50,250);return RO(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)},DO=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}}(),jO=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 qO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vd(e,t){return e&&!qO(t)?zO(e,t):t}const eu=e=>e instanceof te?{...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=te.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&&DO(t.url))){const c=i&&s&&jO.read(s);c&&a.set(i,c)}return t},HO=typeof XMLHttpRequest<"u",UO=HO&&function(e){return new Promise(function(t,n){const r=tu(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Zd;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new R(p,f.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&B.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),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=p=>{c&&(n(!p||p.type?new dt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=IO(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)})},WO=(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}]},GO=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},JO=async function*(e,t,n){for await(const r of e)yield*GO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},nu=(e,t,n,r,i)=>{const s=JO(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",ji=no&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),KO=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,qi=ru&&!!(()=>{try{return B.isReadableStream(new Response("").body)}catch{}})(),oo={stream:qi&&(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 ZO=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 ji(e)).byteLength},XO=async(e,t)=>B.toFiniteNumber(e.getContentLength())??ZO(t),QO=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:p}=tu(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?WO([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&KO&&n!=="get"&&n!=="head"&&(T=await XO(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;B.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=nu(b.body,iu,ou(T,to(d)),null,ji))}B.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=qi&&(c==="stream"||c==="response");if(qi&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=B.toFiniteNumber(C.headers.get("content-length"));C=new Response(nu(C.body,iu,l&&ou(_,to(l,!0)),N&&k,ji),b)}c=c||"text";let A=await oo[B.findKey(oo,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{$d(b,_,{data:A,headers:te.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,g),{cause:C.cause||C}):R.from(C,C&&C.code,e,g)}}),zi={http:fO,xhr:UO,fetch:QO};B.forEach(zi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const su=e=>`- ${e}`,YO=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,!YO(n)&&(r=zi[(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 :
20
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});function Vd(e,t){return function(){return e.apply(t,arguments)}}const{toString:N2}=Object.prototype,{getPrototypeOf:Fi}=Object,Zn=(e=>t=>{const n=N2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ye=e=>(e=e.toLowerCase(),t=>Zn(t)===e),Xn=e=>t=>typeof t===e,{isArray:ct}=Array,Pt=Xn("undefined");function V2(e){return e!==null&&!Pt(e)&&e.constructor!==null&&!Pt(e.constructor)&&ae(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fd=ye("ArrayBuffer");function F2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fd(e.buffer),t}const A2=Xn("string"),ae=Xn("function"),Ad=Xn("number"),Qn=e=>e!==null&&typeof e=="object",P2=e=>e===!0||e===!1,Yn=e=>{if(Zn(e)!=="object")return!1;const t=Fi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},L2=ye("Date"),I2=ye("File"),M2=ye("Blob"),R2=ye("FileList"),D2=e=>Qn(e)&&ae(e.pipe),j2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ae(e.append)&&((t=Zn(e))==="formdata"||t==="object"&&ae(e.toString)&&e.toString()==="[object FormData]"))},q2=ye("URLSearchParams"),[z2,H2,U2,W2]=["ReadableStream","Request","Response","Headers"].map(ye),G2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lt(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=>!Pt(e)&&e!==Ld;function Ai(){const{caseless:e}=Id(this)&&this||{},t={},n=(r,i)=>{const s=e&&Pd(t,i)||i;Yn(t[s])&&Yn(r)?t[s]=Ai(t[s],r):Yn(r)?t[s]=Ai({},r):ct(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Lt(arguments[r],n);return t}const J2=(e,t,n,{allOwnKeys:r}={})=>(Lt(t,(i,s)=>{n&&ae(i)?e[s]=Vd(i,n):e[s]=i},{allOwnKeys:r}),e),K2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Z2=(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)},X2=(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&&Fi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Q2=(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},Y2=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},$2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fi(Uint8Array)),v2=(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])}},eO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},tO=ye("HTMLFormElement"),nO=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),oO=ye("RegExp"),Rd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Lt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},rO=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+"'")})}})},iO=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ct(e)?r(e):r(String(e).split(t)),n},sO=()=>{},aO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Pi="abcdefghijklmnopqrstuvwxyz",Dd="0123456789",jd={DIGIT:Dd,ALPHA:Pi,ALPHA_DIGIT:Pi+Pi.toUpperCase()+Dd},lO=(e=16,t=jd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function cO(e){return!!(e&&ae(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dO=e=>{const t=new Array(10),n=(r,i)=>{if(Qn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ct(r)?[]:{};return Lt(r,(a,l)=>{const d=n(a,i+1);!Pt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},uO=ye("AsyncFunction"),mO=e=>e&&(Qn(e)||ae(e))&&ae(e.then)&&ae(e.catch),B={isArray:ct,isArrayBuffer:Fd,isBuffer:V2,isFormData:j2,isArrayBufferView:F2,isString:A2,isNumber:Ad,isBoolean:P2,isObject:Qn,isPlainObject:Yn,isReadableStream:z2,isRequest:H2,isResponse:U2,isHeaders:W2,isUndefined:Pt,isDate:L2,isFile:I2,isBlob:M2,isRegExp:oO,isFunction:ae,isStream:D2,isURLSearchParams:q2,isTypedArray:$2,isFileList:R2,forEach:Lt,merge:Ai,extend:J2,trim:G2,stripBOM:K2,inherits:Z2,toFlatObject:X2,kindOf:Zn,kindOfTest:ye,endsWith:Q2,toArray:Y2,forEachEntry:v2,matchAll:eO,isHTMLForm:tO,hasOwnProperty:Md,hasOwnProp:Md,reduceDescriptors:Rd,freezeMethods:rO,toObjectSet:iO,toCamelCase:nO,noop:sO,toFiniteNumber:aO,findKey:Pd,global:Ld,isContextDefined:Id,ALPHABET:jd,generateString:lO,isSpecCompliantForm:cO,toJSONObject:dO,isAsyncFn:uO,isThenable:mO};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 fO=null;function Li(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 hO(e){return B.isArray(e)&&!e.some(Li)}const pO=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});function $n(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 g=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)&&hO(f)||(B.isFileList(f)||B.endsWith(h,"[]"))&&(g=B.toArray(f)))return h=Hd(h),g.forEach(function(k,T){!(B.isUndefined(k)||k===null)&&t.append(a===!0?Ud([h],T,s):a===null?h:h+"[]",d(k))}),!1}return Li(f)?!0:(t.append(Ud(y,h,s),d(f)),!1)}const u=[],m=Object.assign(pO,{defaultVisitor:c,convertValue:d,isVisitable:Li});function p(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,g){(!(B.isUndefined(y)||y===null)&&i.call(t,y,B.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return p(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 Ii(e,t){this._pairs=[],e&&$n(e,this,t)}const Gd=Ii.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 gO(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||gO,i=n&&n.serialize;let s;if(i?s=i(t,n):s=B.isURLSearchParams(t)?t.toString():new Ii(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},yO=typeof URLSearchParams<"u"?URLSearchParams:Ii,bO=typeof FormData<"u"?FormData:null,kO=typeof Blob<"u"?Blob:null,CO={isBrowser:!0,classes:{URLSearchParams:yO,FormData:bO,Blob:kO},protocols:["http","https","file","blob","url","data"]},Mi=typeof window<"u"&&typeof document<"u",wO=(e=>Mi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",BO=Mi&&window.location.href||"http://localhost",EO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mi,hasStandardBrowserEnv:wO,hasStandardBrowserWebWorkerEnv:xO,origin:BO},Symbol.toStringTag,{value:"Module"})),be={...EO,...CO};function SO(e,t){return $n(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 _O(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TO(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]=TO(i[a])),!l)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(r,i)=>{t(_O(r),i,n,0)}),n}return null}function OO(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 It={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 SO(e,this.formSerializer).toString();if((s=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return $n(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),OO(e)):e}],transformResponse:[function(e){const t=this.transitional||It.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=>{It.headers[e]={}});const NO=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"]),VO=e=>{const t={};let n,r,i;return e&&e.split(`
21
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&NO[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 Mt(e){return e&&String(e).trim().toLowerCase()}function vn(e){return e===!1||e==null?e:B.isArray(e)?e.map(vn):String(e)}function FO(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 AO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ri(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 PO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function LO(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 te{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Mt(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]=vn(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())&&!AO(t))a(VO(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=Mt(t),t){const r=B.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return FO(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=Mt(t),t){const r=B.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ri(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Mt(a),a){const l=B.findKey(r,a);l&&(!n||Ri(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||Ri(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]=vn(i),delete n[s];return}const l=t?PO(s):String(s).trim();l!==s&&delete n[s],n[l]=vn(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(`
22
+ `)}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=Mt(s);n[a]||(LO(r,s),n[a]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(te.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),B.freezeMethods(te);function Di(e,t){const n=this||It,r=t||n,i=te.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 IO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MO(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function RO(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 eo=(e,t,n=3)=>{let r=0;const i=MO(50,250);return RO(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)},DO=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}}(),jO=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 qO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vd(e,t){return e&&!qO(t)?zO(e,t):t}const eu=e=>e instanceof te?{...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=te.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&&DO(t.url))){const c=i&&s&&jO.read(s);c&&a.set(i,c)}return t},HO=typeof XMLHttpRequest<"u",UO=HO&&function(e){return new Promise(function(t,n){const r=tu(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Zd;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new R(p,f.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&B.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),B.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",eo(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",eo(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=p=>{c&&(n(!p||p.type?new dt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=IO(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)})},WO=(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}]},GO=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},JO=async function*(e,t,n){for await(const r of e)yield*GO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},nu=(e,t,n,r,i)=>{const s=JO(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}))},to=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ru=to&&typeof ReadableStream=="function",ji=to&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),KO=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,qi=ru&&!!(()=>{try{return B.isReadableStream(new Response("").body)}catch{}})(),no={stream:qi&&(e=>e.body)};to&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!no[t]&&(no[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 ZO=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 ji(e)).byteLength},XO=async(e,t)=>B.toFiniteNumber(e.getContentLength())??ZO(t),QO=to&&(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:p}=tu(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?WO([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&KO&&n!=="get"&&n!=="head"&&(T=await XO(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;B.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=nu(b.body,iu,ou(T,eo(d)),null,ji))}B.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=qi&&(c==="stream"||c==="response");if(qi&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=B.toFiniteNumber(C.headers.get("content-length"));C=new Response(nu(C.body,iu,l&&ou(_,eo(l,!0)),N&&k,ji),b)}c=c||"text";let A=await no[B.findKey(no,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{$d(b,_,{data:A,headers:te.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,g),{cause:C.cause||C}):R.from(C,C&&C.code,e,g)}}),zi={http:fO,xhr:UO,fetch:QO};B.forEach(zi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const su=e=>`- ${e}`,YO=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,!YO(n)&&(r=zi[(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 :
23
23
  `+s.map(su).join(`
24
- `):" "+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:zi};function Hi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dt(null,e)}function lu(e){return Hi(e),e.headers=te.from(e.headers),e.data=Di.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 Hi(e),t.data=Di.call(e,e.transformResponse,t),t.headers=te.from(t.headers),t},function(t){return Yd(t)||(Hi(e),t&&t.response&&(t.response.data=Di.call(e,e.transformResponse,t.response),t.response.headers=te.from(t.response.headers))),Promise.reject(t)})}const cu="1.7.2",Ui={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ui[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const du={};Ui.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 $O(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 Wi={assertOptions:$O,validators:Ui},Ie=Wi.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+=`
25
- `+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&&Wi.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}:Wi.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=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,p;if(!d){const h=[lu.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=lu.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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 Gi{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 Gi(function(n){t=n}),cancel:t}}}function vO(e){return function(t){return e.apply(null,t)}}function eN(e){return B.isObject(e)&&e.isAxiosError===!0}const Ji={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(Ji).forEach(([e,t])=>{Ji[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=Gi,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=vO,J.isAxiosError=eN,J.mergeConfig=Ke,J.AxiosHeaders=te,J.formToJSON=e=>Xd(B.isHTMLForm(e)?new FormData(e):e),J.getAdapter=au.getAdapter,J.HttpStatusCode=Ji,J.default=J;var tN=Object.defineProperty,nN=(e,t,n)=>t in e?tN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t,n)=>nN(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}),Ki=Object.freeze({...lo,body:"",hidden:!1});function oN(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=oN(e,t);for(const r in Ki)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 rN(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 iN(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=rN(e);for(const i in r){const s=r[i];s&&(t(i,iN(e,i,s)),n.push(i))}return n}const sN={provider:"",aliases:{},not_found:{},...mu};function Zi(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"||!Zi(e,sN))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Dt)||typeof s.body!="string"||!Zi(s,Ki))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]||!Zi(s,Ki))return null}return t}const gu=Object.create(null);function aN(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]=aN(e,t))}function Xi(e,t){return pu(t)?hu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function lN(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 cN(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 dN(e,t){const n=io(e,!0,jt);if(!n)return!1;const r=Xe(n.provider,n.prefix);return lN(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&&dN(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!!Xi(r,e)}const ku=Object.freeze({width:null,height:null}),Cu=Object.freeze({...ku,...ao}),uN=/(-?[0-9.]*[0-9]+[0-9.]*)/g,mN=/^-?[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(uN);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=mN.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 fN(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(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 hN=/\sid="(\S+)"/g,pN="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gN=0;function yN(e,t=pN){const n=[];let r;for(;r=hN.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(gN++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Qi=Object.create(null);function bN(e,t){Qi[e]=t}function Yi(e){return Qi[e]||Qi[""]}function $i(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 vi=Object.create(null),co=["https://api.simplesvg.com","https://api.unisvg.com"],es=[];for(;co.length>0;)co.length===1||Math.random()>.5?es.push(co.shift()):es.push(co.pop());vi[""]=$i({resources:["https://api.iconify.design"].concat(es)});function kN(e,t){const n=$i(t);return n===null?!1:(vi[e]=n,!0)}function ts(e){return vi[e]}let xu=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function CN(e,t){const n=ts(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 wN(e){return e===404}const xN=(e,t,n)=>{const r=[],i=CN(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 BN(e){if(typeof e=="string"){const t=ts(e);if(t)return t.path}return"/"}const EN=(e,t,n)=>{if(!xu){n("abort",424);return}let r=BN(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(wN(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)})},SN={prepare:xN,send:EN};function _N(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 TN(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 ON=0;function NN(e,t,n){const r=ON++,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 VN(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 FN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function AN(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!e.random){const P=e.resources.indexOf(b.resource);P!==-1&&P!==e.index&&(e.index=P)}d="completed",f.forEach(P=>{P(F)})}function A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function Eu(e){const t={...FN,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=AN(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 Su(){}const ns=Object.create(null);function LN(e){if(!ns[e]){const t=ts(e);if(!t)return;const n=Eu(t),r={config:t,redundancy:n};ns[e]=r}return ns[e]}function PN(e,t,n){let r,i;if(typeof e=="string"){const s=Yi(e);if(!s)return n(void 0,424),Su;i=s.send;const a=LN(e);a&&(r=a.redundancy)}else{const s=$i(e);if(s){r=Eu(s);const a=e.resources?e.resources[0]:"",l=Yi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Su):r.query(t,i,n)().abort}const _u="iconify2",qt="iconify",Tu=qt+"-count",Ou=qt+"-version",Nu=36e5,IN=168;function os(e,t){try{return e.getItem(t)}catch{}}function rs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vu(e,t){try{e.removeItem(t)}catch{}}function is(e,t){return rs(e,Tu,t.toString())}function ss(e){return parseInt(os(e,Tu))||0}const uo={local:!0,session:!0},Fu={local:new Set,session:new Set};let as=!1;function MN(e){as=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 Lu(e,t){const n=Au(e);if(!n)return;const r=os(n,Ou);if(r!==_u){if(r){const l=ss(n);for(let d=0;d<l;d++)Vu(n,qt+d.toString())}rs(n,Ou,_u),is(n,0);return}const i=Math.floor(Date.now()/Nu)-IN,s=l=>{const d=qt+l.toString(),c=os(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=ss(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,is(n,a)):Fu[e].add(l))}function Pu(){if(!as){MN(!0);for(const e in uo)Lu(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Xe(r,i);if(!Xi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function RN(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in uo)Lu(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function DN(e,t){as||Pu();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=ss(i),!is(i,a+1))return;const l={cached:Math.floor(Date.now()/Nu),provider:e.provider,data:t};return rs(i,qt+a.toString(),JSON.stringify(l))}t.lastModified&&!RN(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 jN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,TN(e)}))}function qN(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=>{PN(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Xi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),DN(e,l)}catch(c){console.error(c)}jN(e)})})}))}const zN=(e,t)=>{const n=VN(e,!0,yu()),r=_N(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,p=Xe(c,u),f=p.pendingIcons||(p.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&&qN(d,i[c][u])}),t?NN(t,r,s):Iu};function HN(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 UN=/[\s,]+/;function WN(e,t){t.split(UN).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function GN(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 JN(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 KN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ZN(e){return'url("data:image/svg+xml,'+KN(e)+'")'}const Mu={...Cu,inline:!1},XN={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},QN={display:"inline-block"},ls={backgroundColor:"currentColor"},Ru={backgroundColor:"transparent"},Du={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ju={webkitMask:ls,mask:ls,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=HN(Mu,t),r={...XN},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&WN(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=GN(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=fo[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Mu[y]===void 0&&(r[y]=g)}}}const d=fN(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=yN(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=JN(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":ZN(h),width:qu(c.width),height:qu(c.height),...QN,...f?ls:Ru,...l},o.h("span",r)};if(yu(!0),bN("",SN),typeof document<"u"&&typeof window<"u"){Pu();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;kN(n,i)||console.error(r)}catch{console.error(r)}}}}const YN={...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=cN(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:zN([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(YN,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 $N(){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 vN(){return"cmd-"+$N()}const eV={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||vN()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},cs=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(cs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),ro(cs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),ro(cs,"PATTERN_MESSAGE",/^.{2,500}$/);const tV=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(nV,{...e,show:!0}).mount(t)},nV=o.defineComponent({name:"CmdFancyBox",mixins:[eV],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 oV(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 oV(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
24
+ `):" "+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:zi};function Hi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dt(null,e)}function lu(e){return Hi(e),e.headers=te.from(e.headers),e.data=Di.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),au.getAdapter(e.adapter||It.adapter)(e).then(function(t){return Hi(e),t.data=Di.call(e,e.transformResponse,t),t.headers=te.from(t.headers),t},function(t){return Yd(t)||(Hi(e),t&&t.response&&(t.response.data=Di.call(e,e.transformResponse,t.response),t.response.headers=te.from(t.response.headers))),Promise.reject(t)})}const cu="1.7.2",Ui={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ui[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const du={};Ui.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 $O(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 Wi={assertOptions:$O,validators:Ui},Ie=Wi.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+=`
25
+ `+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&&Wi.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}:Wi.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=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,p;if(!d){const h=[lu.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=lu.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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 Gi{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 Gi(function(n){t=n}),cancel:t}}}function vO(e){return function(t){return e.apply(null,t)}}function eN(e){return B.isObject(e)&&e.isAxiosError===!0}const Ji={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(Ji).forEach(([e,t])=>{Ji[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(It);J.Axios=Ze,J.CanceledError=dt,J.CancelToken=Gi,J.isCancel=Yd,J.VERSION=cu,J.toFormData=$n,J.AxiosError=R,J.Cancel=J.CanceledError,J.all=function(e){return Promise.all(e)},J.spread=vO,J.isAxiosError=eN,J.mergeConfig=Ke,J.AxiosHeaders=te,J.formToJSON=e=>Xd(B.isHTMLForm(e)?new FormData(e):e),J.getAdapter=au.getAdapter,J.HttpStatusCode=Ji,J.default=J;var tN=Object.defineProperty,nN=(e,t,n)=>t in e?tN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oo=(e,t,n)=>nN(e,typeof t!="symbol"?t+"":t,n);const Rt=/^[a-z0-9]+(-[a-z0-9]+)*$/,ro=(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&&!io(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&&!io(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!io(l,n)?null:l}return null},io=(e,t)=>e?!!((e.provider===""||e.provider.match(Rt))&&(t&&e.prefix===""||e.prefix.match(Rt))&&e.name.match(Rt)):!1,mu=Object.freeze({left:0,top:0,width:16,height:16}),so=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ao=Object.freeze({...mu,...so}),Ki=Object.freeze({...ao,body:"",hidden:!1});function oN(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=oN(e,t);for(const r in Ki)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 rN(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 iN(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=rN(e);for(const i in r){const s=r[i];s&&(t(i,iN(e,i,s)),n.push(i))}return n}const sN={provider:"",aliases:{},not_found:{},...mu};function Zi(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"||!Zi(e,sN))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Rt)||typeof s.body!="string"||!Zi(s,Ki))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Rt)||typeof a!="string"||!n[a]&&!r[a]||!Zi(s,Ki))return null}return t}const gu=Object.create(null);function aN(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]=aN(e,t))}function Xi(e,t){return pu(t)?hu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function lN(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Dt=!1;function yu(e){return typeof e=="boolean"&&(Dt=e),Dt}function cN(e){const t=typeof e=="string"?ro(e,!0,Dt):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 dN(e,t){const n=ro(e,!0,Dt);if(!n)return!1;const r=Xe(n.provider,n.prefix);return lN(r,n.name,t)}function bu(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Dt&&!t&&!e.prefix){let i=!1;return pu(e)&&(e.prefix="",hu(e,(s,a)=>{a&&dN(s,a)&&(i=!0)})),i}const n=e.prefix;if(!io({provider:t,prefix:n,name:"a"}))return!1;const r=Xe(t,n);return!!Xi(r,e)}const ku=Object.freeze({width:null,height:null}),Cu=Object.freeze({...ku,...so}),uN=/(-?[0-9.]*[0-9]+[0-9.]*)/g,mN=/^-?[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(uN);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=mN.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 fN(e,t){const n={...ao,...e},r={...Cu,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 hN=/\sid="(\S+)"/g,pN="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gN=0;function yN(e,t=pN){const n=[];let r;for(;r=hN.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(gN++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Qi=Object.create(null);function bN(e,t){Qi[e]=t}function Yi(e){return Qi[e]||Qi[""]}function $i(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 vi=Object.create(null),lo=["https://api.simplesvg.com","https://api.unisvg.com"],es=[];for(;lo.length>0;)lo.length===1||Math.random()>.5?es.push(lo.shift()):es.push(lo.pop());vi[""]=$i({resources:["https://api.iconify.design"].concat(es)});function kN(e,t){const n=$i(t);return n===null?!1:(vi[e]=n,!0)}function ts(e){return vi[e]}let xu=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function CN(e,t){const n=ts(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 wN(e){return e===404}const xN=(e,t,n)=>{const r=[],i=CN(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 BN(e){if(typeof e=="string"){const t=ts(e);if(t)return t.path}return"/"}const EN=(e,t,n)=>{if(!xu){n("abort",424);return}let r=BN(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(wN(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)})},SN={prepare:xN,send:EN};function _N(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 TN(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 ON=0;function NN(e,t,n){const r=ON++,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 VN(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?ro(i,t,n):i;s&&r.push(s)}),r}var FN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function AN(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!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 A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function Eu(e){const t={...FN,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=AN(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 Su(){}const ns=Object.create(null);function PN(e){if(!ns[e]){const t=ts(e);if(!t)return;const n=Eu(t),r={config:t,redundancy:n};ns[e]=r}return ns[e]}function LN(e,t,n){let r,i;if(typeof e=="string"){const s=Yi(e);if(!s)return n(void 0,424),Su;i=s.send;const a=PN(e);a&&(r=a.redundancy)}else{const s=$i(e);if(s){r=Eu(s);const a=e.resources?e.resources[0]:"",l=Yi(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Su):r.query(t,i,n)().abort}const _u="iconify2",jt="iconify",Tu=jt+"-count",Ou=jt+"-version",Nu=36e5,IN=168;function os(e,t){try{return e.getItem(t)}catch{}}function rs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vu(e,t){try{e.removeItem(t)}catch{}}function is(e,t){return rs(e,Tu,t.toString())}function ss(e){return parseInt(os(e,Tu))||0}const co={local:!0,session:!0},Fu={local:new Set,session:new Set};let as=!1;function MN(e){as=e}let uo=typeof window>"u"?{}:window;function Au(e){const t=e+"Storage";try{if(uo&&uo[t]&&typeof uo[t].length=="number")return uo[t]}catch{}co[e]=!1}function Pu(e,t){const n=Au(e);if(!n)return;const r=os(n,Ou);if(r!==_u){if(r){const l=ss(n);for(let d=0;d<l;d++)Vu(n,jt+d.toString())}rs(n,Ou,_u),is(n,0);return}const i=Math.floor(Date.now()/Nu)-IN,s=l=>{const d=jt+l.toString(),c=os(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=ss(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,is(n,a)):Fu[e].add(l))}function Lu(){if(!as){MN(!0);for(const e in co)Pu(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Xe(r,i);if(!Xi(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function RN(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in co)Pu(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function DN(e,t){as||Lu();function n(r){let i;if(!co[r]||!(i=Au(r)))return;const s=Fu[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=ss(i),!is(i,a+1))return;const l={cached:Math.floor(Date.now()/Nu),provider:e.provider,data:t};return rs(i,jt+a.toString(),JSON.stringify(l))}t.lastModified&&!RN(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 jN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,TN(e)}))}function qN(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=>{LN(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Xi(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),DN(e,l)}catch(c){console.error(c)}jN(e)})})}))}const zN=(e,t)=>{const n=VN(e,!0,yu()),r=_N(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,p=Xe(c,u),f=p.pendingIcons||(p.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&&qN(d,i[c][u])}),t?NN(t,r,s):Iu};function HN(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 UN=/[\s,]+/;function WN(e,t){t.split(UN).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function GN(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 JN(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 KN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ZN(e){return'url("data:image/svg+xml,'+KN(e)+'")'}const Mu={...Cu,inline:!1},XN={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},QN={display:"inline-block"},ls={backgroundColor:"currentColor"},Ru={backgroundColor:"transparent"},Du={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ju={webkitMask:ls,mask:ls,background:Ru};for(const e in ju){const t=ju[e];for(const n in Du)t[e+n]=Du[n]}const mo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";mo[e+"-flip"]=t,mo[e.slice(0,1)+"-flip"]=t,mo[e+"Flip"]=t});function qu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const zu=(e,t)=>{const n=HN(Mu,t),r={...XN},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&WN(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=GN(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=mo[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Mu[y]===void 0&&(r[y]=g)}}}const d=fN(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=yN(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=JN(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":ZN(h),width:qu(c.width),height:qu(c.height),...QN,...f?ls:Ru,...l},o.h("span",r)};if(yu(!0),bN("",SN),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;kN(n,i)||console.error(r)}catch{console.error(r)}}}}const YN={...ao,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=ro(e,!1,!0))===null)return this.abortLoading(),null;const r=cN(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:zN([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(YN,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),zu({...ao,...t.data},n)}});function $N(){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 vN(){return"cmd-"+$N()}const eV={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||vN()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},cs=class Uo{constructor(t){oo(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,""]}};oo(cs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),oo(cs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),oo(cs,"PATTERN_MESSAGE",/^.{2,500}$/);const tV=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(nV,{...e,show:!0}).mount(t)},nV=o.defineComponent({name:"CmdFancyBox",mixins:[eV],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 oV(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 oV(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
26
26
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
27
27
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
28
- <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:rV}=Object.prototype,{getPrototypeOf:ds}=Object,ho=(e=>t=>{const n=rV.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 iV(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 sV(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Uu(e.buffer),t}const aV=po("string"),le=po("function"),Wu=po("number"),go=e=>e!==null&&typeof e=="object",lV=e=>e===!0||e===!1,yo=e=>{if(ho(e)!=="object")return!1;const t=ds(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cV=ke("Date"),dV=ke("File"),uV=ke("Blob"),mV=ke("FileList"),fV=e=>go(e)&&le(e.pipe),hV=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]"))},pV=ke("URLSearchParams"),[gV,yV,bV,kV]=["ReadableStream","Request","Response","Headers"].map(ke),CV=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 us(){const{caseless:e}=Ku(this)&&this||{},t={},n=(r,i)=>{const s=e&&Gu(t,i)||i;yo(t[s])&&yo(r)?t[s]=us(t[s],r):yo(r)?t[s]=us({},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 wV=(e,t,n,{allOwnKeys:r}={})=>(Ht(t,(i,s)=>{n&&le(i)?e[s]=Hu(i,n):e[s]=i},{allOwnKeys:r}),e),xV=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BV=(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)},EV=(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&&ds(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},SV=(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},_V=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},TV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ds(Uint8Array)),OV=(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])}},NV=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},VV=ke("HTMLFormElement"),FV=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),AV=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)},LV=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+"'")})}})},PV=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ut(e)?r(e):r(String(e).split(t)),n},IV=()=>{},MV=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ms="abcdefghijklmnopqrstuvwxyz",Qu="0123456789",Yu={DIGIT:Qu,ALPHA:ms,ALPHA_DIGIT:ms+ms.toUpperCase()+Qu},RV=(e=16,t=Yu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function DV(e){return!!(e&&le(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jV=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)},qV=ke("AsyncFunction"),zV=e=>e&&(go(e)||le(e))&&le(e.then)&&le(e.catch),E={isArray:ut,isArrayBuffer:Uu,isBuffer:iV,isFormData:hV,isArrayBufferView:sV,isString:aV,isNumber:Wu,isBoolean:lV,isObject:go,isPlainObject:yo,isReadableStream:gV,isRequest:yV,isResponse:bV,isHeaders:kV,isUndefined:zt,isDate:cV,isFile:dV,isBlob:uV,isRegExp:AV,isFunction:le,isStream:fV,isURLSearchParams:pV,isTypedArray:TV,isFileList:mV,forEach:Ht,merge:us,extend:wV,trim:CV,stripBOM:xV,inherits:BV,toFlatObject:EV,kindOf:ho,kindOfTest:ke,endsWith:SV,toArray:_V,forEachEntry:OV,matchAll:NV,isHTMLForm:VV,hasOwnProperty:Zu,hasOwnProp:Zu,reduceDescriptors:Xu,freezeMethods:LV,toObjectSet:PV,toCamelCase:FV,noop:IV,toFiniteNumber:MV,findKey:Gu,global:Ju,isContextDefined:Ku,ALPHABET:Yu,generateString:RV,isSpecCompliantForm:DV,toJSONObject:jV,isAsyncFn:qV,isThenable:zV};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)}E.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:E.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 E.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 HV=null;function fs(e){return E.isPlainObject(e)||E.isArray(e)}function em(e){return E.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 UV(e){return E.isArray(e)&&!e.some(fs)}const WV=E.toFlatObject(E,{},null,function(e){return/^is[A-Z]/.test(e)});function bo(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 D("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 g=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)&&UV(f)||(E.isFileList(f)||E.endsWith(h,"[]"))&&(g=E.toArray(f)))return h=em(h),g.forEach(function(k,T){!(E.isUndefined(k)||k===null)&&t.append(a===!0?tm([h],T,s):a===null?h:h+"[]",d(k))}),!1}return fs(f)?!0:(t.append(tm(y,h,s),d(f)),!1)}const u=[],m=Object.assign(WV,{defaultVisitor:c,convertValue:d,isVisitable:fs});function p(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,g){(!(E.isUndefined(y)||y===null)&&i.call(t,y,E.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return p(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 hs(e,t){this._pairs=[],e&&bo(e,this,t)}const om=hs.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 GV(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||GV,i=n&&n.serialize;let s;if(i?s=i(t,n):s=E.isURLSearchParams(t)?t.toString():new hs(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){E.forEach(this.handlers,function(n){n!==null&&t(n)})}}const sm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JV=typeof URLSearchParams<"u"?URLSearchParams:hs,KV=typeof FormData<"u"?FormData:null,ZV=typeof Blob<"u"?Blob:null,XV={isBrowser:!0,classes:{URLSearchParams:JV,FormData:KV,Blob:ZV},protocols:["http","https","file","blob","url","data"]},ps=typeof window<"u"&&typeof document<"u",QV=(e=>ps&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),YV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$V=ps&&window.location.href||"http://localhost",vV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ps,hasStandardBrowserEnv:QV,hasStandardBrowserWebWorkerEnv:YV,origin:$V},Symbol.toStringTag,{value:"Module"})),Ce={...vV,...XV};function e3(e,t){return bo(e,new Ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ce.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function t3(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function n3(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&&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]=n3(i[a])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,i)=>{t(t3(r),i,n,0)}),n}return null}function o3(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 Ut={transitional:sm,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(am(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 e3(e,this.formSerializer).toString();if((s=E.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),o3(e)):e}],transformResponse:[function(e){const t=this.transitional||Ut.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"?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}}};E.forEach(["delete","get","head","post","put","patch"],e=>{Ut.headers[e]={}});const r3=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"]),i3=e=>{const t={};let n,r,i;return e&&e.split(`
29
- `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&r3[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:E.isArray(e)?e.map(ko):String(e)}function s3(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 a3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gs(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 l3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function c3(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=Wt(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]=ko(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())&&!a3(t))a(i3(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=Wt(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return s3(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=Wt(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||gs(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=E.findKey(r,a);l&&(!n||gs(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||gs(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]=ko(i),delete n[s];return}const l=t?l3(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 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(`
30
- `)}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]||(c3(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 ys(e,t){const n=this||Ut,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 cm(e){return!!(e&&e.__CANCEL__)}function mt(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}E.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 d3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function u3(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function m3(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=u3(50,250);return m3(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)},f3=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=E.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),h3=Ce.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 p3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function g3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function um(e,t){return e&&!p3(t)?g3(e,t):t}const mm=e=>e instanceof ne?{...e}:e;function Qe(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(mm(c),mm(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 fm=e=>{const t=Qe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ne.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(E.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&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&f3(t.url))){const c=i&&s&&h3.read(s);c&&a.set(i,c)}return t},y3=typeof XMLHttpRequest<"u",b3=y3&&function(e){return new Promise(function(t,n){const r=fm(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||sm;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new D(p,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&E.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),E.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=p=>{c&&(n(!p||p.type?new mt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=d3(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)})},k3=(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}]},C3=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},w3=async function*(e,t,n){for await(const r of e)yield*C3(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hm=(e,t,n,r,i)=>{const s=w3(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",bs=wo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),x3=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,ks=gm&&!!(()=>{try{return E.isReadableStream(new Response("").body)}catch{}})(),xo={stream:ks&&(e=>e.body)};wo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xo[t]&&(xo[t]=E.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 B3=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 bs(e)).byteLength},E3=async(e,t)=>E.toFiniteNumber(e.getContentLength())??B3(t),S3=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:p}=fm(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?k3([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&x3&&n!=="get"&&n!=="head"&&(T=await E3(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;E.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=hm(b.body,ym,pm(T,Co(d)),null,bs))}E.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=ks&&(c==="stream"||c==="response");if(ks&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=E.toFiniteNumber(C.headers.get("content-length"));C=new Response(hm(C.body,ym,l&&pm(_,Co(l,!0)),N&&k,bs),b)}c=c||"text";let A=await xo[E.findKey(xo,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{dm(b,_,{data:A,headers:ne.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,g),{cause:C.cause||C}):D.from(C,C&&C.code,e,g)}}),Cs={http:HV,xhr:b3,fetch:S3};E.forEach(Cs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bm=e=>`- ${e}`,_3=e=>E.isFunction(e)||e===null||e===!1,km={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,!_3(n)&&(r=Cs[(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 :
28
+ <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:rV}=Object.prototype,{getPrototypeOf:ds}=Object,fo=(e=>t=>{const n=rV.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ke=e=>(e=e.toLowerCase(),t=>fo(t)===e),ho=e=>t=>typeof t===e,{isArray:ut}=Array,qt=ho("undefined");function iV(e){return e!==null&&!qt(e)&&e.constructor!==null&&!qt(e.constructor)&&le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Uu=ke("ArrayBuffer");function sV(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Uu(e.buffer),t}const aV=ho("string"),le=ho("function"),Wu=ho("number"),po=e=>e!==null&&typeof e=="object",lV=e=>e===!0||e===!1,go=e=>{if(fo(e)!=="object")return!1;const t=ds(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cV=ke("Date"),dV=ke("File"),uV=ke("Blob"),mV=ke("FileList"),fV=e=>po(e)&&le(e.pipe),hV=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||le(e.append)&&((t=fo(e))==="formdata"||t==="object"&&le(e.toString)&&e.toString()==="[object FormData]"))},pV=ke("URLSearchParams"),[gV,yV,bV,kV]=["ReadableStream","Request","Response","Headers"].map(ke),CV=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zt(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=>!qt(e)&&e!==Ju;function us(){const{caseless:e}=Ku(this)&&this||{},t={},n=(r,i)=>{const s=e&&Gu(t,i)||i;go(t[s])&&go(r)?t[s]=us(t[s],r):go(r)?t[s]=us({},r):ut(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&zt(arguments[r],n);return t}const wV=(e,t,n,{allOwnKeys:r}={})=>(zt(t,(i,s)=>{n&&le(i)?e[s]=Hu(i,n):e[s]=i},{allOwnKeys:r}),e),xV=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BV=(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)},EV=(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&&ds(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},SV=(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},_V=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},TV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ds(Uint8Array)),OV=(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])}},NV=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},VV=ke("HTMLFormElement"),FV=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),AV=ke("RegExp"),Xu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};zt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},PV=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+"'")})}})},LV=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ut(e)?r(e):r(String(e).split(t)),n},IV=()=>{},MV=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ms="abcdefghijklmnopqrstuvwxyz",Qu="0123456789",Yu={DIGIT:Qu,ALPHA:ms,ALPHA_DIGIT:ms+ms.toUpperCase()+Qu},RV=(e=16,t=Yu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function DV(e){return!!(e&&le(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jV=e=>{const t=new Array(10),n=(r,i)=>{if(po(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ut(r)?[]:{};return zt(r,(a,l)=>{const d=n(a,i+1);!qt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},qV=ke("AsyncFunction"),zV=e=>e&&(po(e)||le(e))&&le(e.then)&&le(e.catch),E={isArray:ut,isArrayBuffer:Uu,isBuffer:iV,isFormData:hV,isArrayBufferView:sV,isString:aV,isNumber:Wu,isBoolean:lV,isObject:po,isPlainObject:go,isReadableStream:gV,isRequest:yV,isResponse:bV,isHeaders:kV,isUndefined:qt,isDate:cV,isFile:dV,isBlob:uV,isRegExp:AV,isFunction:le,isStream:fV,isURLSearchParams:pV,isTypedArray:TV,isFileList:mV,forEach:zt,merge:us,extend:wV,trim:CV,stripBOM:xV,inherits:BV,toFlatObject:EV,kindOf:fo,kindOfTest:ke,endsWith:SV,toArray:_V,forEachEntry:OV,matchAll:NV,isHTMLForm:VV,hasOwnProperty:Zu,hasOwnProp:Zu,reduceDescriptors:Xu,freezeMethods:PV,toObjectSet:LV,toCamelCase:FV,noop:IV,toFiniteNumber:MV,findKey:Gu,global:Ju,isContextDefined:Ku,ALPHABET:Yu,generateString:RV,isSpecCompliantForm:DV,toJSONObject:jV,isAsyncFn:qV,isThenable:zV};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)}E.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:E.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 E.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 HV=null;function fs(e){return E.isPlainObject(e)||E.isArray(e)}function em(e){return E.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 UV(e){return E.isArray(e)&&!e.some(fs)}const WV=E.toFlatObject(E,{},null,function(e){return/^is[A-Z]/.test(e)});function yo(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 D("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 g=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)&&UV(f)||(E.isFileList(f)||E.endsWith(h,"[]"))&&(g=E.toArray(f)))return h=em(h),g.forEach(function(k,T){!(E.isUndefined(k)||k===null)&&t.append(a===!0?tm([h],T,s):a===null?h:h+"[]",d(k))}),!1}return fs(f)?!0:(t.append(tm(y,h,s),d(f)),!1)}const u=[],m=Object.assign(WV,{defaultVisitor:c,convertValue:d,isVisitable:fs});function p(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,g){(!(E.isUndefined(y)||y===null)&&i.call(t,y,E.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return p(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 hs(e,t){this._pairs=[],e&&yo(e,this,t)}const om=hs.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 GV(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||GV,i=n&&n.serialize;let s;if(i?s=i(t,n):s=E.isURLSearchParams(t)?t.toString():new hs(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){E.forEach(this.handlers,function(n){n!==null&&t(n)})}}const sm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JV=typeof URLSearchParams<"u"?URLSearchParams:hs,KV=typeof FormData<"u"?FormData:null,ZV=typeof Blob<"u"?Blob:null,XV={isBrowser:!0,classes:{URLSearchParams:JV,FormData:KV,Blob:ZV},protocols:["http","https","file","blob","url","data"]},ps=typeof window<"u"&&typeof document<"u",QV=(e=>ps&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),YV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$V=ps&&window.location.href||"http://localhost",vV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ps,hasStandardBrowserEnv:QV,hasStandardBrowserWebWorkerEnv:YV,origin:$V},Symbol.toStringTag,{value:"Module"})),Ce={...vV,...XV};function e3(e,t){return yo(e,new Ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Ce.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function t3(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function n3(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&&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]=n3(i[a])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,i)=>{t(t3(r),i,n,0)}),n}return null}function o3(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 Ht={transitional:sm,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(am(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 e3(e,this.formSerializer).toString();if((s=E.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return yo(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),o3(e)):e}],transformResponse:[function(e){const t=this.transitional||Ht.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"?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}}};E.forEach(["delete","get","head","post","put","patch"],e=>{Ht.headers[e]={}});const r3=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"]),i3=e=>{const t={};let n,r,i;return e&&e.split(`
29
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&r3[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 Ut(e){return e&&String(e).trim().toLowerCase()}function bo(e){return e===!1||e==null?e:E.isArray(e)?e.map(bo):String(e)}function s3(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 a3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gs(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 l3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function c3(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=Ut(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]=bo(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())&&!a3(t))a(i3(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=Ut(t),t){const r=E.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return s3(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=Ut(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||gs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Ut(a),a){const l=E.findKey(r,a);l&&(!n||gs(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||gs(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]=bo(i),delete n[s];return}const l=t?l3(s):String(s).trim();l!==s&&delete n[s],n[l]=bo(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(`
30
+ `)}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=Ut(s);n[a]||(c3(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 ys(e,t){const n=this||Ht,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 cm(e){return!!(e&&e.__CANCEL__)}function mt(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}E.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 d3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function u3(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function m3(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 ko=(e,t,n=3)=>{let r=0;const i=u3(50,250);return m3(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)},f3=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=E.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),h3=Ce.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 p3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function g3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function um(e,t){return e&&!p3(t)?g3(e,t):t}const mm=e=>e instanceof ne?{...e}:e;function Qe(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(mm(c),mm(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 fm=e=>{const t=Qe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=ne.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(E.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&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&f3(t.url))){const c=i&&s&&h3.read(s);c&&a.set(i,c)}return t},y3=typeof XMLHttpRequest<"u",b3=y3&&function(e){return new Promise(function(t,n){const r=fm(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 p=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:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||sm;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new D(p,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&E.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),E.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",ko(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",ko(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=p=>{c&&(n(!p||p.type?new mt(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=d3(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)})},k3=(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}]},C3=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},w3=async function*(e,t,n){for await(const r of e)yield*C3(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hm=(e,t,n,r,i)=>{const s=w3(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}))},Co=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gm=Co&&typeof ReadableStream=="function",bs=Co&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),x3=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,ks=gm&&!!(()=>{try{return E.isReadableStream(new Response("").body)}catch{}})(),wo={stream:ks&&(e=>e.body)};Co&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!wo[t]&&(wo[t]=E.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 B3=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 bs(e)).byteLength},E3=async(e,t)=>E.toFiniteNumber(e.getContentLength())??B3(t),S3=Co&&(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:p}=fm(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?k3([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&x3&&n!=="get"&&n!=="head"&&(T=await E3(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;E.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=hm(b.body,ym,pm(T,ko(d)),null,bs))}E.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=ks&&(c==="stream"||c==="response");if(ks&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=E.toFiniteNumber(C.headers.get("content-length"));C=new Response(hm(C.body,ym,l&&pm(_,ko(l,!0)),N&&k,bs),b)}c=c||"text";let A=await wo[E.findKey(wo,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{dm(b,_,{data:A,headers:ne.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,g),{cause:C.cause||C}):D.from(C,C&&C.code,e,g)}}),Cs={http:HV,xhr:b3,fetch:S3};E.forEach(Cs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bm=e=>`- ${e}`,_3=e=>E.isFunction(e)||e===null||e===!1,km={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,!_3(n)&&(r=Cs[(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 :
31
31
  `+s.map(bm).join(`
32
- `):" "+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:Cs};function ws(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Cm(e){return ws(e),e.headers=ne.from(e.headers),e.data=ys.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 ws(e),t.data=ys.call(e,e.transformResponse,t),t.headers=ne.from(t.headers),t},function(t){return cm(t)||(ws(e),t&&t.response&&(t.response.data=ys.call(e,e.transformResponse,t.response),t.response.headers=ne.from(t.response.headers))),Promise.reject(t)})}const wm="1.7.2",xs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xs[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const xm={};xs.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 T3(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 Bs={assertOptions:T3,validators:xs},Me=Bs.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+=`
33
- `+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&&Bs.assertOptions(r,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:Bs.assertOptions(i,{encode:Me.function,serialize:Me.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,p;if(!d){const h=[Cm.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Cm.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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)}}E.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}))}}),E.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 Es{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 Es(function(n){t=n}),cancel:t}}}function O3(e){return function(t){return e.apply(null,t)}}function N3(e){return E.isObject(e)&&e.isAxiosError===!0}const Ss={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(Ss).forEach(([e,t])=>{Ss[t]=e});function Bm(e){const t=new Ye(e),n=Hu(Ye.prototype.request,t);return E.extend(n,Ye.prototype,t,{allOwnKeys:!0}),E.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=Es,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=O3,K.isAxiosError=N3,K.mergeConfig=Qe,K.AxiosHeaders=ne,K.formToJSON=e=>am(E.isHTMLForm(e)?new FormData(e):e),K.getAdapter=km.getAdapter,K.HttpStatusCode=Ss,K.default=K;var V3=Object.defineProperty,F3=(e,t,n)=>t in e?V3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bo=(e,t,n)=>F3(e,typeof t!="symbol"?t+"":t,n);const Gt=/^[a-z0-9]+(-[a-z0-9]+)*$/,Eo=(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(Gt))&&(t&&e.prefix===""||e.prefix.match(Gt))&&e.name.match(Gt)):!1,Em=Object.freeze({left:0,top:0,width:16,height:16}),_o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),To=Object.freeze({...Em,..._o}),_s=Object.freeze({...To,body:"",hidden:!1});function A3(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 Sm(e,t){const n=A3(e,t);for(const r in _s)r in _o?r in e&&!(r in n)&&(n[r]=_o[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function L3(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 P3(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Sm(r[l]||i[l],s)}return a(t),n.forEach(a),Sm(e,s)}function _m(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=L3(e);for(const i in r){const s=r[i];s&&(t(i,P3(e,i,s)),n.push(i))}return n}const I3={provider:"",aliases:{},not_found:{},...Em};function Ts(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"||!Ts(e,I3))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Gt)||typeof s.body!="string"||!Ts(s,_s))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]||!Ts(s,_s))return null}return t}const Om=Object.create(null);function M3(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]=M3(e,t))}function Os(e,t){return Tm(t)?_m(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function R3(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 D3(e){const t=typeof e=="string"?Eo(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 j3(e,t){const n=Eo(e,!0,Jt);if(!n)return!1;const r=$e(n.provider,n.prefix);return R3(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="",_m(e,(s,a)=>{a&&j3(s,a)&&(i=!0)})),i}const n=e.prefix;if(!So({provider:t,prefix:n,name:"a"}))return!1;const r=$e(t,n);return!!Os(r,e)}const Fm=Object.freeze({width:null,height:null}),Am=Object.freeze({...Fm,..._o}),q3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,z3=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Lm(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(q3);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=z3.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 H3(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(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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=Lm(m,d/c)):(u=a==="auto"?d:a,m=l===null?Lm(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 U3=/\sid="(\S+)"/g,W3="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let G3=0;function J3(e,t=W3){const n=[];let r;for(;r=U3.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(G3++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Ns=Object.create(null);function K3(e,t){Ns[e]=t}function Vs(e){return Ns[e]||Ns[""]}function Fs(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 As=Object.create(null),Oo=["https://api.simplesvg.com","https://api.unisvg.com"],Ls=[];for(;Oo.length>0;)Oo.length===1||Math.random()>.5?Ls.push(Oo.shift()):Ls.push(Oo.pop());As[""]=Fs({resources:["https://api.iconify.design"].concat(Ls)});function Z3(e,t){const n=Fs(t);return n===null?!1:(As[e]=n,!0)}function Ps(e){return As[e]}let Pm=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function X3(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 Q3(e){return e===404}const Y3=(e,t,n)=>{const r=[],i=X3(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 $3(e){if(typeof e=="string"){const t=Ps(e);if(t)return t.path}return"/"}const v3=(e,t,n)=>{if(!Pm){n("abort",424);return}let r=$3(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;Pm(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(Q3(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)})},eF={prepare:Y3,send:v3};function tF(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 nF(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 oF=0;function rF(e,t,n){const r=oF++,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 iF(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Eo(i,t,n):i;s&&r.push(s)}),r}var sF={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function aF(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!e.random){const P=e.resources.indexOf(b.resource);P!==-1&&P!==e.index&&(e.index=P)}d="completed",f.forEach(P=>{P(F)})}function A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function Mm(e){const t={...sF,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=aF(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 Is=Object.create(null);function lF(e){if(!Is[e]){const t=Ps(e);if(!t)return;const n=Mm(t),r={config:t,redundancy:n};Is[e]=r}return Is[e]}function cF(e,t,n){let r,i;if(typeof e=="string"){const s=Vs(e);if(!s)return n(void 0,424),Rm;i=s.send;const a=lF(e);a&&(r=a.redundancy)}else{const s=Fs(e);if(s){r=Mm(s);const a=e.resources?e.resources[0]:"",l=Vs(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,dF=168;function Ms(e,t){try{return e.getItem(t)}catch{}}function Rs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hm(e,t){try{e.removeItem(t)}catch{}}function Ds(e,t){return Rs(e,jm,t.toString())}function js(e){return parseInt(Ms(e,jm))||0}const No={local:!0,session:!0},Um={local:new Set,session:new Set};let qs=!1;function uF(e){qs=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=Ms(n,qm);if(r!==Dm){if(r){const l=js(n);for(let d=0;d<l;d++)Hm(n,Kt+d.toString())}Rs(n,qm,Dm),Ds(n,0);return}const i=Math.floor(Date.now()/zm)-dF,s=l=>{const d=Kt+l.toString(),c=Ms(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=js(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Ds(n,a)):Um[e].add(l))}function Jm(){if(!qs){uF(!0);for(const e in No)Gm(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=$e(r,i);if(!Os(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function mF(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 fF(e,t){qs||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=js(i),!Ds(i,a+1))return;const l={cached:Math.floor(Date.now()/zm),provider:e.provider,data:t};return Rs(i,Kt+a.toString(),JSON.stringify(l))}t.lastModified&&!mF(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 hF(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,nF(e)}))}function pF(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=Vs(n))||s.prepare(n,r,i).forEach(a=>{cF(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Os(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),fF(e,l)}catch(c){console.error(c)}hF(e)})})}))}const gF=(e,t)=>{const n=iF(e,!0,Nm()),r=tF(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,p=$e(c,u),f=p.pendingIcons||(p.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&&pF(d,i[c][u])}),t?rF(t,r,s):Km};function yF(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 bF=/[\s,]+/;function kF(e,t){t.split(bF).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CF(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 wF(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 xF(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function BF(e){return'url("data:image/svg+xml,'+xF(e)+'")'}const Zm={...Am,inline:!1},EF={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},SF={display:"inline-block"},zs={backgroundColor:"currentColor"},Xm={backgroundColor:"transparent"},Qm={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ym={webkitMask:zs,mask:zs,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=yF(Zm,t),r={...EF},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&kF(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=CF(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Fo[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Zm[y]===void 0&&(r[y]=g)}}}const d=H3(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=J3(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=wF(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":BF(h),width:$m(c.width),height:$m(c.height),...SF,...f?zs:Xm,...l},o.h("span",r)};if(Nm(!0),K3("",eF),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;Z3(n,i)||console.error(r)}catch{console.error(r)}}}}const _F={...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=Eo(e,!1,!0))===null)return this.abortLoading(),null;const r=D3(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:gF([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(_F,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 TF(){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 OF(){return"cmd-"+TF()}const NF={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||OF()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Hs=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(Hs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Bo(Hs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Bo(Hs,"PATTERN_MESSAGE",/^.{2,500}$/);const VF=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(FF,{...e,show:!0}).mount(t)},FF=o.defineComponent({name:"CmdFancyBox",mixins:[NF],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 AF(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 AF(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
32
+ `):" "+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:Cs};function ws(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Cm(e){return ws(e),e.headers=ne.from(e.headers),e.data=ys.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),km.getAdapter(e.adapter||Ht.adapter)(e).then(function(t){return ws(e),t.data=ys.call(e,e.transformResponse,t),t.headers=ne.from(t.headers),t},function(t){return cm(t)||(ws(e),t&&t.response&&(t.response.data=ys.call(e,e.transformResponse,t.response),t.response.headers=ne.from(t.response.headers))),Promise.reject(t)})}const wm="1.7.2",xs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xs[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const xm={};xs.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 T3(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 Bs={assertOptions:T3,validators:xs},Me=Bs.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+=`
33
+ `+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&&Bs.assertOptions(r,{silentJSONParsing:Me.transitional(Me.boolean),forcedJSONParsing:Me.transitional(Me.boolean),clarifyTimeoutError:Me.transitional(Me.boolean)},!1),i!=null&&(E.isFunction(i)?n.paramsSerializer={serialize:i}:Bs.assertOptions(i,{encode:Me.function,serialize:Me.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,p;if(!d){const h=[Cm.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Cm.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)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)}}E.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}))}}),E.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 Es{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 Es(function(n){t=n}),cancel:t}}}function O3(e){return function(t){return e.apply(null,t)}}function N3(e){return E.isObject(e)&&e.isAxiosError===!0}const Ss={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(Ss).forEach(([e,t])=>{Ss[t]=e});function Bm(e){const t=new Ye(e),n=Hu(Ye.prototype.request,t);return E.extend(n,Ye.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Bm(Qe(e,r))},n}const K=Bm(Ht);K.Axios=Ye,K.CanceledError=mt,K.CancelToken=Es,K.isCancel=cm,K.VERSION=wm,K.toFormData=yo,K.AxiosError=D,K.Cancel=K.CanceledError,K.all=function(e){return Promise.all(e)},K.spread=O3,K.isAxiosError=N3,K.mergeConfig=Qe,K.AxiosHeaders=ne,K.formToJSON=e=>am(E.isHTMLForm(e)?new FormData(e):e),K.getAdapter=km.getAdapter,K.HttpStatusCode=Ss,K.default=K;var V3=Object.defineProperty,F3=(e,t,n)=>t in e?V3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xo=(e,t,n)=>F3(e,typeof t!="symbol"?t+"":t,n);const Wt=/^[a-z0-9]+(-[a-z0-9]+)*$/,Bo=(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(Wt))&&(t&&e.prefix===""||e.prefix.match(Wt))&&e.name.match(Wt)):!1,Em=Object.freeze({left:0,top:0,width:16,height:16}),So=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_o=Object.freeze({...Em,...So}),_s=Object.freeze({..._o,body:"",hidden:!1});function A3(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 Sm(e,t){const n=A3(e,t);for(const r in _s)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 P3(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 L3(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=Sm(r[l]||i[l],s)}return a(t),n.forEach(a),Sm(e,s)}function _m(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=P3(e);for(const i in r){const s=r[i];s&&(t(i,L3(e,i,s)),n.push(i))}return n}const I3={provider:"",aliases:{},not_found:{},...Em};function Ts(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"||!Ts(e,I3))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Wt)||typeof s.body!="string"||!Ts(s,_s))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Wt)||typeof a!="string"||!n[a]&&!r[a]||!Ts(s,_s))return null}return t}const Om=Object.create(null);function M3(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]=M3(e,t))}function Os(e,t){return Tm(t)?_m(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function R3(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Gt=!1;function Nm(e){return typeof e=="boolean"&&(Gt=e),Gt}function D3(e){const t=typeof e=="string"?Bo(e,!0,Gt):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 j3(e,t){const n=Bo(e,!0,Gt);if(!n)return!1;const r=$e(n.provider,n.prefix);return R3(r,n.name,t)}function Vm(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Gt&&!t&&!e.prefix){let i=!1;return Tm(e)&&(e.prefix="",_m(e,(s,a)=>{a&&j3(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!!Os(r,e)}const Fm=Object.freeze({width:null,height:null}),Am=Object.freeze({...Fm,...So}),q3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,z3=/^-?[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(q3);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=z3.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 H3(e,t){const n={..._o,...e},r={...Am,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=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 k;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:k=i.height/2+i.top,f.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,f.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}g%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),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 U3=/\sid="(\S+)"/g,W3="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let G3=0;function J3(e,t=W3){const n=[];let r;for(;r=U3.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(G3++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Ns=Object.create(null);function K3(e,t){Ns[e]=t}function Vs(e){return Ns[e]||Ns[""]}function Fs(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 As=Object.create(null),To=["https://api.simplesvg.com","https://api.unisvg.com"],Ps=[];for(;To.length>0;)To.length===1||Math.random()>.5?Ps.push(To.shift()):Ps.push(To.pop());As[""]=Fs({resources:["https://api.iconify.design"].concat(Ps)});function Z3(e,t){const n=Fs(t);return n===null?!1:(As[e]=n,!0)}function Ls(e){return As[e]}let Lm=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function X3(e,t){const n=Ls(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 Q3(e){return e===404}const Y3=(e,t,n)=>{const r=[],i=X3(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 $3(e){if(typeof e=="string"){const t=Ls(e);if(t)return t.path}return"/"}const v3=(e,t,n)=>{if(!Lm){n("abort",424);return}let r=$3(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(Q3(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)})},eF={prepare:Y3,send:v3};function tF(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 nF(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 oF=0;function rF(e,t,n){const r=oF++,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 iF(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Bo(i,t,n):i;s&&r.push(s)}),r}var sF={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function aF(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 _=Math.floor(Math.random()*b.length);a.push(b[_]),b=b.slice(0,_).concat(b.slice(_+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,p=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,_){_&&(f=[]),typeof b=="function"&&f.push(b)}function k(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function C(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function N(b,_,F){const q=_!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){u=F,T();return}if(q){u=F,p.length||(a.length?A():T());return}if(h(),C(),!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 A(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(p.length){m=setTimeout(()=>{h(),d==="pending"&&(C(),T())},e.timeout);return}T();return}const _={status:"pending",resource:b,callback:(F,q)=>{N(_,F,q)}};p.push(_),c++,m=setTimeout(A,e.rotate),n(b,t,_.callback)}return setTimeout(A),k}function Mm(e){const t={...sF,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,d){const c=aF(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 Is=Object.create(null);function lF(e){if(!Is[e]){const t=Ls(e);if(!t)return;const n=Mm(t),r={config:t,redundancy:n};Is[e]=r}return Is[e]}function cF(e,t,n){let r,i;if(typeof e=="string"){const s=Vs(e);if(!s)return n(void 0,424),Rm;i=s.send;const a=lF(e);a&&(r=a.redundancy)}else{const s=Fs(e);if(s){r=Mm(s);const a=e.resources?e.resources[0]:"",l=Vs(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),Rm):r.query(t,i,n)().abort}const Dm="iconify2",Jt="iconify",jm=Jt+"-count",qm=Jt+"-version",zm=36e5,dF=168;function Ms(e,t){try{return e.getItem(t)}catch{}}function Rs(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hm(e,t){try{e.removeItem(t)}catch{}}function Ds(e,t){return Rs(e,jm,t.toString())}function js(e){return parseInt(Ms(e,jm))||0}const Oo={local:!0,session:!0},Um={local:new Set,session:new Set};let qs=!1;function uF(e){qs=e}let No=typeof window>"u"?{}:window;function Wm(e){const t=e+"Storage";try{if(No&&No[t]&&typeof No[t].length=="number")return No[t]}catch{}Oo[e]=!1}function Gm(e,t){const n=Wm(e);if(!n)return;const r=Ms(n,qm);if(r!==Dm){if(r){const l=js(n);for(let d=0;d<l;d++)Hm(n,Jt+d.toString())}Rs(n,qm,Dm),Ds(n,0);return}const i=Math.floor(Date.now()/zm)-dF,s=l=>{const d=Jt+l.toString(),c=Ms(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=js(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,Ds(n,a)):Um[e].add(l))}function Jm(){if(!qs){uF(!0);for(const e in Oo)Gm(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=$e(r,i);if(!Os(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function mF(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Oo)Gm(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function fF(e,t){qs||Jm();function n(r){let i;if(!Oo[r]||!(i=Wm(r)))return;const s=Um[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=js(i),!Ds(i,a+1))return;const l={cached:Math.floor(Date.now()/zm),provider:e.provider,data:t};return Rs(i,Jt+a.toString(),JSON.stringify(l))}t.lastModified&&!mF(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 hF(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,nF(e)}))}function pF(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=Vs(n))||s.prepare(n,r,i).forEach(a=>{cF(n,a,(l,d)=>{if(typeof l!="object"){if(d!==404)return;a.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Os(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(m=>{u.delete(m)}),fF(e,l)}catch(c){console.error(c)}hF(e)})})}))}const gF=(e,t)=>{const n=iF(e,!0,Nm()),r=tF(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,p=$e(c,u),f=p.pendingIcons||(p.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&&pF(d,i[c][u])}),t?rF(t,r,s):Km};function yF(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 bF=/[\s,]+/;function kF(e,t){t.split(bF).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CF(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 wF(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 xF(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function BF(e){return'url("data:image/svg+xml,'+xF(e)+'")'}const Zm={...Am,inline:!1},EF={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},SF={display:"inline-block"},zs={backgroundColor:"currentColor"},Xm={backgroundColor:"transparent"},Qm={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ym={webkitMask:zs,mask:zs,background:Xm};for(const e in Ym){const t=Ym[e];for(const n in Qm)t[e+n]=Qm[n]}const Vo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Vo[e+"-flip"]=t,Vo[e.slice(0,1)+"-flip"]=t,Vo[e+"Flip"]=t});function $m(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const vm=(e,t)=>{const n=yF(Zm,t),r={...EF},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&kF(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[y]=CF(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const k=Vo[y];k?(g===!0||g==="true"||g===1)&&(n[k]=!0):Zm[y]===void 0&&(r[y]=g)}}}const d=H3(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,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=J3(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:p}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=wF(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":BF(h),width:$m(c.width),height:$m(c.height),...SF,...f?zs:Xm,...l},o.h("span",r)};if(Nm(!0),K3("",eF),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;Z3(n,i)||console.error(r)}catch{console.error(r)}}}}const _F={..._o,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=Bo(e,!1,!0))===null)return this.abortLoading(),null;const r=D3(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:gF([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(_F,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),vm({..._o,...t.data},n)}});function TF(){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 OF(){return"cmd-"+TF()}const NF={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||OF()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Hs=class Wo{constructor(t){xo(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,""]}};xo(Hs,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),xo(Hs,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),xo(Hs,"PATTERN_MESSAGE",/^.{2,500}$/);const VF=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(FF,{...e,show:!0}).mount(t)},FF=o.defineComponent({name:"CmdFancyBox",mixins:[NF],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 AF(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 AF(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
34
34
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
35
35
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
36
- <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:LF}=Object.prototype,{getPrototypeOf:Us}=Object,Ao=(e=>t=>{const n=LF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),we=e=>(e=e.toLowerCase(),t=>Ao(t)===e),Lo=e=>t=>typeof t===e,{isArray:ft}=Array,Zt=Lo("undefined");function PF(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 IF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tf(e.buffer),t}const MF=Lo("string"),ce=Lo("function"),nf=Lo("number"),Po=e=>e!==null&&typeof e=="object",RF=e=>e===!0||e===!1,Io=e=>{if(Ao(e)!=="object")return!1;const t=Us(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},DF=we("Date"),jF=we("File"),qF=we("Blob"),zF=we("FileList"),HF=e=>Po(e)&&ce(e.pipe),UF=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]"))},WF=we("URLSearchParams"),[GF,JF,KF,ZF]=["ReadableStream","Request","Response","Headers"].map(we),XF=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 Ws(){const{caseless:e}=sf(this)&&this||{},t={},n=(r,i)=>{const s=e&&of(t,i)||i;Io(t[s])&&Io(r)?t[s]=Ws(t[s],r):Io(r)?t[s]=Ws({},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 QF=(e,t,n,{allOwnKeys:r}={})=>(Xt(t,(i,s)=>{n&&ce(i)?e[s]=ef(i,n):e[s]=i},{allOwnKeys:r}),e),YF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$F=(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)},vF=(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&&Us(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eA=(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},tA=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},nA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Us(Uint8Array)),oA=(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])}},rA=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},iA=we("HTMLFormElement"),sA=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),aA=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)},lA=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+"'")})}})},cA=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ft(e)?r(e):r(String(e).split(t)),n},dA=()=>{},uA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Gs="abcdefghijklmnopqrstuvwxyz",cf="0123456789",df={DIGIT:cf,ALPHA:Gs,ALPHA_DIGIT:Gs+Gs.toUpperCase()+cf},mA=(e=16,t=df.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fA(e){return!!(e&&ce(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hA=e=>{const t=new Array(10),n=(r,i)=>{if(Po(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)},pA=we("AsyncFunction"),gA=e=>e&&(Po(e)||ce(e))&&ce(e.then)&&ce(e.catch),S={isArray:ft,isArrayBuffer:tf,isBuffer:PF,isFormData:UF,isArrayBufferView:IF,isString:MF,isNumber:nf,isBoolean:RF,isObject:Po,isPlainObject:Io,isReadableStream:GF,isRequest:JF,isResponse:KF,isHeaders:ZF,isUndefined:Zt,isDate:DF,isFile:jF,isBlob:qF,isRegExp:aA,isFunction:ce,isStream:HF,isURLSearchParams:WF,isTypedArray:nA,isFileList:zF,forEach:Xt,merge:Ws,extend:QF,trim:XF,stripBOM:YF,inherits:$F,toFlatObject:vF,kindOf:Ao,kindOfTest:we,endsWith:eA,toArray:tA,forEachEntry:oA,matchAll:rA,isHTMLForm:iA,hasOwnProperty:af,hasOwnProp:af,reduceDescriptors:lf,freezeMethods:lA,toObjectSet:cA,toCamelCase:sA,noop:dA,toFiniteNumber:uA,findKey:of,global:rf,isContextDefined:sf,ALPHABET:df,generateString:mA,isSpecCompliantForm:fA,toJSONObject:hA,isAsyncFn:pA,isThenable:gA};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)}S.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:S.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 S.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 yA=null;function Js(e){return S.isPlainObject(e)||S.isArray(e)}function ff(e){return S.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 bA(e){return S.isArray(e)&&!e.some(Js)}const kA=S.toFlatObject(S,{},null,function(e){return/^is[A-Z]/.test(e)});function Mo(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!S.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(S.isDate(f))return f.toISOString();if(!l&&S.isBlob(f))throw new j("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(f)||S.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(S.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(S.isArray(f)&&bA(f)||(S.isFileList(f)||S.endsWith(h,"[]"))&&(g=S.toArray(f)))return h=ff(h),g.forEach(function(k,T){!(S.isUndefined(k)||k===null)&&t.append(a===!0?hf([h],T,s):a===null?h:h+"[]",d(k))}),!1}return Js(f)?!0:(t.append(hf(y,h,s),d(f)),!1)}const u=[],m=Object.assign(kA,{defaultVisitor:c,convertValue:d,isVisitable:Js});function p(f,h){if(!S.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),S.forEach(f,function(y,g){(!(S.isUndefined(y)||y===null)&&i.call(t,y,S.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return p(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 Ks(e,t){this._pairs=[],e&&Mo(e,this,t)}const gf=Ks.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 CA(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||CA,i=n&&n.serialize;let s;if(i?s=i(t,n):s=S.isURLSearchParams(t)?t.toString():new Ks(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){S.forEach(this.handlers,function(n){n!==null&&t(n)})}}const kf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wA=typeof URLSearchParams<"u"?URLSearchParams:Ks,xA=typeof FormData<"u"?FormData:null,BA=typeof Blob<"u"?Blob:null,EA={isBrowser:!0,classes:{URLSearchParams:wA,FormData:xA,Blob:BA},protocols:["http","https","file","blob","url","data"]},Zs=typeof window<"u"&&typeof document<"u",SA=(e=>Zs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_A=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",TA=Zs&&window.location.href||"http://localhost",OA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zs,hasStandardBrowserEnv:SA,hasStandardBrowserWebWorkerEnv:_A,origin:TA},Symbol.toStringTag,{value:"Module"})),xe={...OA,...EA};function NA(e,t){return Mo(e,new xe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return xe.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function VA(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function FA(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&&S.isArray(i)?i.length:a,d?(S.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!S.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&S.isArray(i[a])&&(i[a]=FA(i[a])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(VA(r),i,n,0)}),n}return null}function AA(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.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=S.isObject(e);if(i&&S.isHTMLForm(e)&&(e=new FormData(e)),S.isFormData(e))return r?JSON.stringify(Cf(e)):e;if(S.isArrayBuffer(e)||S.isBuffer(e)||S.isStream(e)||S.isFile(e)||S.isBlob(e)||S.isReadableStream(e))return e;if(S.isArrayBufferView(e))return e.buffer;if(S.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 NA(e,this.formSerializer).toString();if((s=S.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),AA(e)):e}],transformResponse:[function(e){const t=this.transitional||Qt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(S.isResponse(e)||S.isReadableStream(e))return e;if(e&&S.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}}};S.forEach(["delete","get","head","post","put","patch"],e=>{Qt.headers[e]={}});const LA=S.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"]),PA=e=>{const t={};let n,r,i;return e&&e.split(`
37
- `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&LA[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:S.isArray(e)?e.map(Ro):String(e)}function IA(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 MA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xs(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function RA(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function DA(e,t){const n=S.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 oe{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=S.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)=>S.forEach(l,(c,u)=>s(c,u,d));if(S.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(S.isString(t)&&(t=t.trim())&&!MA(t))a(PA(t),n);else if(S.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=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return IA(i);if(S.isFunction(n))return n.call(this,i,r);if(S.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=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Xs(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=S.findKey(r,a);l&&(!n||Xs(r,r[l],l,n))&&(delete r[l],i=!0)}}return S.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||Xs(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,s)=>{const a=S.findKey(r,s);if(a){n[a]=Ro(i),delete n[s];return}const l=t?RA(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 S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.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(`
38
- `)}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]||(DA(r,s),n[a]=!0)}return S.isArray(t)?t.forEach(i):i(t),this}}oe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(oe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),S.freezeMethods(oe);function Qs(e,t){const n=this||Qt,r=t||n,i=oe.from(r.headers);let s=r.data;return S.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"}S.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 jA(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qA(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function zA(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=qA(50,250);return zA(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)},HA=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=S.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),UA=xe.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),S.isString(r)&&a.push("path="+r),S.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 WA(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function GA(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ef(e,t){return e&&!WA(t)?GA(e,t):t}const Sf=e=>e instanceof oe?{...e}:e;function ve(e,t){t=t||{};const n={};function r(c,u,m){return S.isPlainObject(c)&&S.isPlainObject(u)?S.merge.call({caseless:m},c,u):S.isPlainObject(u)?S.merge({},u):S.isArray(u)?u.slice():u}function i(c,u,m){if(S.isUndefined(u)){if(!S.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!S.isUndefined(u))return r(void 0,u)}function a(c,u){if(S.isUndefined(u)){if(!S.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(Sf(c),Sf(u),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);S.isUndefined(m)&&u!==l||(n[c]=m)}),n}const _f=e=>{const t=ve({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=oe.from(a),t.url=yf(Ef(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(S.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&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&HA(t.url))){const c=i&&s&&UA.read(s);c&&a.set(i,c)}return t},JA=typeof XMLHttpRequest<"u",KA=JA&&function(e){return new Promise(function(t,n){const r=_f(e);let i=r.data;const s=oe.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 p=oe.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||kf;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new j(p,f.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&S.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),S.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=p=>{c&&(n(!p||p.type?new ht(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=jA(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)})},ZA=(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}]},XA=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},QA=async function*(e,t,n){for await(const r of e)yield*XA(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Tf=(e,t,n,r,i)=>{const s=QA(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",Ys=jo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),YA=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,$s=Nf&&!!(()=>{try{return S.isReadableStream(new Response("").body)}catch{}})(),qo={stream:$s&&(e=>e.body)};jo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qo[t]&&(qo[t]=S.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 $A=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await Ys(e)).byteLength},vA=async(e,t)=>S.toFiniteNumber(e.getContentLength())??$A(t),eL=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:p}=_f(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?ZA([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&YA&&n!=="get"&&n!=="head"&&(T=await vA(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;S.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Tf(b.body,Vf,Of(T,Do(d)),null,Ys))}S.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=$s&&(c==="stream"||c==="response");if($s&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=S.toFiniteNumber(C.headers.get("content-length"));C=new Response(Tf(C.body,Vf,l&&Of(_,Do(l,!0)),N&&k,Ys),b)}c=c||"text";let A=await qo[S.findKey(qo,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{Bf(b,_,{data:A,headers:oe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,e,g),{cause:C.cause||C}):j.from(C,C&&C.code,e,g)}}),vs={http:yA,xhr:KA,fetch:eL};S.forEach(vs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ff=e=>`- ${e}`,tL=e=>S.isFunction(e)||e===null||e===!1,Af={getAdapter:e=>{e=S.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,!tL(n)&&(r=vs[(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 :
36
+ <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:PF}=Object.prototype,{getPrototypeOf:Us}=Object,Fo=(e=>t=>{const n=PF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),we=e=>(e=e.toLowerCase(),t=>Fo(t)===e),Ao=e=>t=>typeof t===e,{isArray:ft}=Array,Kt=Ao("undefined");function LF(e){return e!==null&&!Kt(e)&&e.constructor!==null&&!Kt(e.constructor)&&ce(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tf=we("ArrayBuffer");function IF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tf(e.buffer),t}const MF=Ao("string"),ce=Ao("function"),nf=Ao("number"),Po=e=>e!==null&&typeof e=="object",RF=e=>e===!0||e===!1,Lo=e=>{if(Fo(e)!=="object")return!1;const t=Us(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},DF=we("Date"),jF=we("File"),qF=we("Blob"),zF=we("FileList"),HF=e=>Po(e)&&ce(e.pipe),UF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ce(e.append)&&((t=Fo(e))==="formdata"||t==="object"&&ce(e.toString)&&e.toString()==="[object FormData]"))},WF=we("URLSearchParams"),[GF,JF,KF,ZF]=["ReadableStream","Request","Response","Headers"].map(we),XF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zt(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=>!Kt(e)&&e!==rf;function Ws(){const{caseless:e}=sf(this)&&this||{},t={},n=(r,i)=>{const s=e&&of(t,i)||i;Lo(t[s])&&Lo(r)?t[s]=Ws(t[s],r):Lo(r)?t[s]=Ws({},r):ft(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Zt(arguments[r],n);return t}const QF=(e,t,n,{allOwnKeys:r}={})=>(Zt(t,(i,s)=>{n&&ce(i)?e[s]=ef(i,n):e[s]=i},{allOwnKeys:r}),e),YF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$F=(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)},vF=(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&&Us(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eA=(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},tA=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},nA=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Us(Uint8Array)),oA=(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])}},rA=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},iA=we("HTMLFormElement"),sA=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),aA=we("RegExp"),lf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Zt(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},lA=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+"'")})}})},cA=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ft(e)?r(e):r(String(e).split(t)),n},dA=()=>{},uA=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Gs="abcdefghijklmnopqrstuvwxyz",cf="0123456789",df={DIGIT:cf,ALPHA:Gs,ALPHA_DIGIT:Gs+Gs.toUpperCase()+cf},mA=(e=16,t=df.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function fA(e){return!!(e&&ce(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hA=e=>{const t=new Array(10),n=(r,i)=>{if(Po(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ft(r)?[]:{};return Zt(r,(a,l)=>{const d=n(a,i+1);!Kt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},pA=we("AsyncFunction"),gA=e=>e&&(Po(e)||ce(e))&&ce(e.then)&&ce(e.catch),S={isArray:ft,isArrayBuffer:tf,isBuffer:LF,isFormData:UF,isArrayBufferView:IF,isString:MF,isNumber:nf,isBoolean:RF,isObject:Po,isPlainObject:Lo,isReadableStream:GF,isRequest:JF,isResponse:KF,isHeaders:ZF,isUndefined:Kt,isDate:DF,isFile:jF,isBlob:qF,isRegExp:aA,isFunction:ce,isStream:HF,isURLSearchParams:WF,isTypedArray:nA,isFileList:zF,forEach:Zt,merge:Ws,extend:QF,trim:XF,stripBOM:YF,inherits:$F,toFlatObject:vF,kindOf:Fo,kindOfTest:we,endsWith:eA,toArray:tA,forEachEntry:oA,matchAll:rA,isHTMLForm:iA,hasOwnProperty:af,hasOwnProp:af,reduceDescriptors:lf,freezeMethods:lA,toObjectSet:cA,toCamelCase:sA,noop:dA,toFiniteNumber:uA,findKey:of,global:rf,isContextDefined:sf,ALPHABET:df,generateString:mA,isSpecCompliantForm:fA,toJSONObject:hA,isAsyncFn:pA,isThenable:gA};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)}S.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:S.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 S.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 yA=null;function Js(e){return S.isPlainObject(e)||S.isArray(e)}function ff(e){return S.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 bA(e){return S.isArray(e)&&!e.some(Js)}const kA=S.toFlatObject(S,{},null,function(e){return/^is[A-Z]/.test(e)});function Io(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!S.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(S.isDate(f))return f.toISOString();if(!l&&S.isBlob(f))throw new j("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(f)||S.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(S.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(S.isArray(f)&&bA(f)||(S.isFileList(f)||S.endsWith(h,"[]"))&&(g=S.toArray(f)))return h=ff(h),g.forEach(function(k,T){!(S.isUndefined(k)||k===null)&&t.append(a===!0?hf([h],T,s):a===null?h:h+"[]",d(k))}),!1}return Js(f)?!0:(t.append(hf(y,h,s),d(f)),!1)}const u=[],m=Object.assign(kA,{defaultVisitor:c,convertValue:d,isVisitable:Js});function p(f,h){if(!S.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),S.forEach(f,function(y,g){(!(S.isUndefined(y)||y===null)&&i.call(t,y,S.isString(g)?g.trim():g,h,m))===!0&&p(y,h?h.concat(g):[g])}),u.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return p(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 Ks(e,t){this._pairs=[],e&&Io(e,this,t)}const gf=Ks.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 CA(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||CA,i=n&&n.serialize;let s;if(i?s=i(t,n):s=S.isURLSearchParams(t)?t.toString():new Ks(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){S.forEach(this.handlers,function(n){n!==null&&t(n)})}}const kf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wA=typeof URLSearchParams<"u"?URLSearchParams:Ks,xA=typeof FormData<"u"?FormData:null,BA=typeof Blob<"u"?Blob:null,EA={isBrowser:!0,classes:{URLSearchParams:wA,FormData:xA,Blob:BA},protocols:["http","https","file","blob","url","data"]},Zs=typeof window<"u"&&typeof document<"u",SA=(e=>Zs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),_A=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",TA=Zs&&window.location.href||"http://localhost",OA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zs,hasStandardBrowserEnv:SA,hasStandardBrowserWebWorkerEnv:_A,origin:TA},Symbol.toStringTag,{value:"Module"})),xe={...OA,...EA};function NA(e,t){return Io(e,new xe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return xe.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function VA(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function FA(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&&S.isArray(i)?i.length:a,d?(S.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!S.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&S.isArray(i[a])&&(i[a]=FA(i[a])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(VA(r),i,n,0)}),n}return null}function AA(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Xt={transitional:kf,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=S.isObject(e);if(i&&S.isHTMLForm(e)&&(e=new FormData(e)),S.isFormData(e))return r?JSON.stringify(Cf(e)):e;if(S.isArrayBuffer(e)||S.isBuffer(e)||S.isStream(e)||S.isFile(e)||S.isBlob(e)||S.isReadableStream(e))return e;if(S.isArrayBufferView(e))return e.buffer;if(S.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 NA(e,this.formSerializer).toString();if((s=S.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Io(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),AA(e)):e}],transformResponse:[function(e){const t=this.transitional||Xt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(S.isResponse(e)||S.isReadableStream(e))return e;if(e&&S.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}}};S.forEach(["delete","get","head","post","put","patch"],e=>{Xt.headers[e]={}});const PA=S.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"]),LA=e=>{const t={};let n,r,i;return e&&e.split(`
37
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&PA[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 Qt(e){return e&&String(e).trim().toLowerCase()}function Mo(e){return e===!1||e==null?e:S.isArray(e)?e.map(Mo):String(e)}function IA(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 MA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xs(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function RA(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function DA(e,t){const n=S.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 oe{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,d,c){const u=Qt(d);if(!u)throw new Error("header name must be a non-empty string");const m=S.findKey(i,u);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||d]=Mo(l))}const a=(l,d)=>S.forEach(l,(c,u)=>s(c,u,d));if(S.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(S.isString(t)&&(t=t.trim())&&!MA(t))a(LA(t),n);else if(S.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=Qt(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return IA(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qt(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Xs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=Qt(a),a){const l=S.findKey(r,a);l&&(!n||Xs(r,r[l],l,n))&&(delete r[l],i=!0)}}return S.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||Xs(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,s)=>{const a=S.findKey(r,s);if(a){n[a]=Mo(i),delete n[s];return}const l=t?RA(s):String(s).trim();l!==s&&delete n[s],n[l]=Mo(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.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(`
38
+ `)}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=Qt(s);n[a]||(DA(r,s),n[a]=!0)}return S.isArray(t)?t.forEach(i):i(t),this}}oe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(oe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),S.freezeMethods(oe);function Qs(e,t){const n=this||Xt,r=t||n,i=oe.from(r.headers);let s=r.data;return S.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"}S.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 jA(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qA(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 p=c&&d-c;return p?Math.round(m*1e3/p):void 0}}function zA(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 Ro=(e,t,n=3)=>{let r=0;const i=qA(50,250);return zA(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)},HA=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=S.isString(i)?r(i):i;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),UA=xe.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),S.isString(r)&&a.push("path="+r),S.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 WA(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function GA(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ef(e,t){return e&&!WA(t)?GA(e,t):t}const Sf=e=>e instanceof oe?{...e}:e;function ve(e,t){t=t||{};const n={};function r(c,u,m){return S.isPlainObject(c)&&S.isPlainObject(u)?S.merge.call({caseless:m},c,u):S.isPlainObject(u)?S.merge({},u):S.isArray(u)?u.slice():u}function i(c,u,m){if(S.isUndefined(u)){if(!S.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!S.isUndefined(u))return r(void 0,u)}function a(c,u){if(S.isUndefined(u)){if(!S.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(Sf(c),Sf(u),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=d[c]||i,m=u(e[c],t[c],c);S.isUndefined(m)&&u!==l||(n[c]=m)}),n}const _f=e=>{const t=ve({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=oe.from(a),t.url=yf(Ef(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(S.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&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&HA(t.url))){const c=i&&s&&UA.read(s);c&&a.set(i,c)}return t},JA=typeof XMLHttpRequest<"u",KA=JA&&function(e){return new Promise(function(t,n){const r=_f(e);let i=r.data;const s=oe.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 p=oe.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,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 p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||kf;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new j(p,f.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,r,c)),c=null},i===void 0&&s.setContentType(null),"setRequestHeader"in c&&S.forEach(s.toJSON(),function(p,f){c.setRequestHeader(f,p)}),S.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&a!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",Ro(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Ro(r.onUploadProgress)),(r.cancelToken||r.signal)&&(l=p=>{c&&(n(!p||p.type?new ht(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const m=jA(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)})},ZA=(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}]},XA=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},QA=async function*(e,t,n){for await(const r of e)yield*XA(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Tf=(e,t,n,r,i)=>{const s=QA(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}))},Do=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nf=Do&&typeof ReadableStream=="function",Ys=Do&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),YA=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,$s=Nf&&!!(()=>{try{return S.isReadableStream(new Response("").body)}catch{}})(),jo={stream:$s&&(e=>e.body)};Do&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!jo[t]&&(jo[t]=S.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 $A=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await Ys(e)).byteLength},vA=async(e,t)=>S.toFiniteNumber(e.getContentLength())??$A(t),eP=Do&&(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:p}=_f(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||s||a?ZA([i,s],a):[],y,g;const k=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let T;try{if(d&&YA&&n!=="get"&&n!=="head"&&(T=await vA(u,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),_;S.isFormData(r)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body&&(r=Tf(b.body,Vf,Of(T,Ro(d)),null,Ys))}S.isString(m)||(m=m?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let C=await fetch(g);const N=$s&&(c==="stream"||c==="response");if($s&&(l||N)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=C[F]});const _=S.toFiniteNumber(C.headers.get("content-length"));C=new Response(Tf(C.body,Vf,l&&Of(_,Ro(l,!0)),N&&k,Ys),b)}c=c||"text";let A=await jo[S.findKey(jo,c)||"text"](C,e);return!N&&k(),h&&h(),await new Promise((b,_)=>{Bf(b,_,{data:A,headers:oe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(C){throw k(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,e,g),{cause:C.cause||C}):j.from(C,C&&C.code,e,g)}}),vs={http:yA,xhr:KA,fetch:eP};S.forEach(vs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ff=e=>`- ${e}`,tP=e=>S.isFunction(e)||e===null||e===!1,Af={getAdapter:e=>{e=S.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,!tP(n)&&(r=vs[(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 :
39
39
  `+s.map(Ff).join(`
40
- `):" "+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:vs};function ea(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ht(null,e)}function Lf(e){return ea(e),e.headers=oe.from(e.headers),e.data=Qs.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 ea(e),t.data=Qs.call(e,e.transformResponse,t),t.headers=oe.from(t.headers),t},function(t){return xf(t)||(ea(e),t&&t.response&&(t.response.data=Qs.call(e,e.transformResponse,t.response),t.response.headers=oe.from(t.response.headers))),Promise.reject(t)})}const Pf="1.7.2",ta={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ta[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const If={};ta.transitional=function(e,t,n){function r(i,s){return"[Axios v"+Pf+"] 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 nL(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 na={assertOptions:nL,validators:ta},Re=na.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+=`
41
- `+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&&na.assertOptions(r,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:na.assertOptions(i,{encode:Re.function,serialize:Re.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=oe.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,p;if(!d){const h=[Lf.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Lf.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ve(this.defaults,t);const n=Ef(t.baseURL,t.url);return yf(n,t.params,t.paramsSerializer)}}S.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}))}}),S.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 oa{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 oa(function(n){t=n}),cancel:t}}}function oL(e){return function(t){return e.apply(null,t)}}function rL(e){return S.isObject(e)&&e.isAxiosError===!0}const ra={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(ra).forEach(([e,t])=>{ra[t]=e});function Mf(e){const t=new et(e),n=ef(et.prototype.request,t);return S.extend(n,et.prototype,t,{allOwnKeys:!0}),S.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=oa,Z.isCancel=xf,Z.VERSION=Pf,Z.toFormData=Mo,Z.AxiosError=j,Z.Cancel=Z.CanceledError,Z.all=function(e){return Promise.all(e)},Z.spread=oL,Z.isAxiosError=rL,Z.mergeConfig=ve,Z.AxiosHeaders=oe,Z.formToJSON=e=>Cf(S.isHTMLForm(e)?new FormData(e):e),Z.getAdapter=Af.getAdapter,Z.HttpStatusCode=ra,Z.default=Z;function iL(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),VF({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(sL);function sL(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&&iL(t)}function aL(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),tV({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(lL);function lL(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&&aL(t)}function cL(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),_2({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(dL);function dL(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&&cL(t)}function Rf(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),YS({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const zo=new MutationObserver(uL);function uL(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 mL=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 fL(){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=Ma,O.CmdBackToTopButton=my,O.CmdBankAccountData=ky,O.CmdBasicForm=za,O.CmdBox=pr,O.CmdBoxWrapper=Ja,O.CmdBreadcrumbs=Ka,O.CmdCompanyLogo=Za,O.CmdContainer=$0,O.CmdCookieDisclaimer=hk,O.CmdCopyrightInformation=kk,O.CmdFakeSelect=Xa,O.CmdFancyBox=bb,O.CmdForm=Ra,O.CmdFormElement=X,O.CmdFormFilters=Qa,O.CmdGoogleMaps=va,O.CmdHeadline=U,O.CmdIcon=z,O.CmdImage=Ne,O.CmdImageGallery=lC,O.CmdImageZoom=pC,O.CmdInputGroup=nl,O.CmdLink=ot,O.CmdListOfLinks=fr,O.CmdLoginForm=jC,O.CmdMainNavigation=ol,O.CmdMultistepFormProgressBar=rw,O.CmdNewsletterSubscription=cw,O.CmdOpeningHours=Iw,O.CmdPageFooter=ax,O.CmdPageHeader=mx,O.CmdPagination=Jw,O.CmdProgressBar=kx,O.CmdSidebar=_x,O.CmdSiteFooter=Vx,O.CmdSiteHeader=Px,O.CmdSiteSearch=Ux,O.CmdSlideButton=kt,O.CmdSlideshow=Yx,O.CmdSocialNetworks=il,O.CmdSwitchLanguage=i1,O.CmdSystemMessage=yr,O.CmdTable=f1,O.CmdTabs=w1,O.CmdTextImageBlock=T1,O.CmdThumbnailScroller=ja,O.CmdToggleDarkMode=F1,O.CmdTooltip=Ia,O.CmdUploadForm=VE,O.CmdWidthLimitationWrapper=IE,O.ContactInformation=qE,O.DirFancybox=mL,O.DirFocus=XE,O.DirTelephone=QE,O.EditComponentWrapper=Ae,O.I18n=$,O.MultipleBoxWrapper=WE,O.MultipleListsOfLinks=ZE,O.createHtmlId=cr,O.createUuid=tt,O.getCookieDisclaimerCookie=br,O.getFileExtension=nt,O.openFancyBox=qe,O.setCookieDisclaimerCookie=$a,O.useSequence=fL,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});
40
+ `):" "+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:vs};function ea(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ht(null,e)}function Pf(e){return ea(e),e.headers=oe.from(e.headers),e.data=Qs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Af.getAdapter(e.adapter||Xt.adapter)(e).then(function(t){return ea(e),t.data=Qs.call(e,e.transformResponse,t),t.headers=oe.from(t.headers),t},function(t){return xf(t)||(ea(e),t&&t.response&&(t.response.data=Qs.call(e,e.transformResponse,t.response),t.response.headers=oe.from(t.response.headers))),Promise.reject(t)})}const Lf="1.7.2",ta={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ta[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const If={};ta.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 nP(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 na={assertOptions:nP,validators:ta},Re=na.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+=`
41
+ `+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&&na.assertOptions(r,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:na.assertOptions(i,{encode:Re.function,serialize:Re.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=oe.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,p;if(!d){const h=[Pf.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),p=h.length,u=Promise.resolve(n);m<p;)u=u.then(h[m++],h[m++]);return u}p=l.length;let f=n;for(m=0;m<p;){const h=l[m++],y=l[m++];try{f=h(f)}catch(g){y.call(this,g);break}}try{u=Pf.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,p=c.length;m<p;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ve(this.defaults,t);const n=Ef(t.baseURL,t.url);return yf(n,t.params,t.paramsSerializer)}}S.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}))}}),S.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 oa{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 oa(function(n){t=n}),cancel:t}}}function oP(e){return function(t){return e.apply(null,t)}}function rP(e){return S.isObject(e)&&e.isAxiosError===!0}const ra={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(ra).forEach(([e,t])=>{ra[t]=e});function Mf(e){const t=new et(e),n=ef(et.prototype.request,t);return S.extend(n,et.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Mf(ve(e,r))},n}const Z=Mf(Xt);Z.Axios=et,Z.CanceledError=ht,Z.CancelToken=oa,Z.isCancel=xf,Z.VERSION=Lf,Z.toFormData=Io,Z.AxiosError=j,Z.Cancel=Z.CanceledError,Z.all=function(e){return Promise.all(e)},Z.spread=oP,Z.isAxiosError=rP,Z.mergeConfig=ve,Z.AxiosHeaders=oe,Z.formToJSON=e=>Cf(S.isHTMLForm(e)?new FormData(e):e),Z.getAdapter=Af.getAdapter,Z.HttpStatusCode=ra,Z.default=Z;function iP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),VF({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(sP);function sP(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&&iP(t)}function aP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),tV({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(lP);function lP(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&&aP(t)}function cP(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),_2({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(dP);function dP(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&&cP(t)}function Rf(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),YS({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const qo=new MutationObserver(uP);function uP(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 mP=e=>{const t=e.querySelectorAll(".fancybox");Rf(t),qo==null||qo.disconnect(),qo.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function fP(){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=Ma,O.CmdBackToTopButton=my,O.CmdBankAccountData=ky,O.CmdBasicForm=za,O.CmdBox=pr,O.CmdBoxWrapper=Ja,O.CmdBreadcrumbs=Ka,O.CmdCompanyLogo=Za,O.CmdContainer=$0,O.CmdCookieDisclaimer=hk,O.CmdCopyrightInformation=kk,O.CmdFakeSelect=Xa,O.CmdFancyBox=bb,O.CmdForm=Ra,O.CmdFormElement=X,O.CmdFormFilters=Qa,O.CmdGoogleMaps=va,O.CmdHeadline=U,O.CmdIcon=z,O.CmdImage=Ne,O.CmdImageGallery=lC,O.CmdImageZoom=pC,O.CmdInputGroup=nl,O.CmdLink=ot,O.CmdListOfLinks=fr,O.CmdLoginForm=jC,O.CmdMainNavigation=ol,O.CmdMultistepFormProgressBar=rw,O.CmdNewsletterSubscription=cw,O.CmdOpeningHours=Iw,O.CmdPageFooter=ax,O.CmdPageHeader=mx,O.CmdPagination=Jw,O.CmdProgressBar=kx,O.CmdSidebar=_x,O.CmdSiteFooter=Vx,O.CmdSiteHeader=Lx,O.CmdSiteSearch=Ux,O.CmdSlideButton=bt,O.CmdSlideshow=Yx,O.CmdSocialNetworks=il,O.CmdSwitchLanguage=i1,O.CmdSystemMessage=yr,O.CmdTable=f1,O.CmdTabs=w1,O.CmdTextImageBlock=T1,O.CmdThumbnailScroller=ja,O.CmdToggleDarkMode=F1,O.CmdTooltip=Ia,O.CmdUploadForm=VE,O.CmdWidthLimitationWrapper=IE,O.ContactInformation=qE,O.DirFancybox=mP,O.DirFocus=XE,O.DirTelephone=QE,O.EditComponentWrapper=Ae,O.I18n=$,O.MultipleBoxWrapper=WE,O.MultipleListsOfLinks=ZE,O.createHtmlId=cr,O.createUuid=tt,O.getCookieDisclaimerCookie=br,O.getFileExtension=nt,O.openFancyBox=qe,O.setCookieDisclaimerCookie=$a,O.useSequence=fP,Object.defineProperty(O,Symbol.toStringTag,{value:"Module"})});