comand-component-library 4.1.5 → 4.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +10559 -7370
- package/dist/comand-component-library.umd.cjs +33 -25
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/ComponentLibrary.vue +8 -0
- package/src/assets/styles/component-library-global-styles.scss +13 -17
- package/src/components/CmdAddressData.vue +0 -1
- package/src/components/CmdBasicForm.vue +31 -20
- package/src/components/CmdFakeSelect.vue +3 -3
- package/src/components/CmdFormElement.vue +1 -1
- package/src/components/CmdImage.vue +2 -2
- package/src/components/CmdInputGroup.vue +3 -3
- package/src/components/CmdPageFooter.vue +8 -1
- package/src/components/CmdTooltipForFormElements.vue +18 -13
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +0 -1
- package/src/mixins/FieldValidation.js +8 -12
@@ -1,33 +1,41 @@
|
|
1
|
-
(function(T,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(T=typeof globalThis<"u"?globalThis:T||self,o(T["comand-component-library"]={},T.Vue))})(this,function(T,o){"use strict";var sN=Object.defineProperty;var aN=(T,o,ke)=>o in T?sN(T,o,{enumerable:!0,configurable:!0,writable:!0,value:ke}):T[o]=ke;var It=(T,o,ke)=>aN(T,typeof o!="symbol"?o+"":o,ke);const ke=/^[a-z0-9]+(-[a-z0-9]+)*$/,Mt=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!Dt(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Dt(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!Dt(a,n)?null:a}return null},Dt=(e,t)=>e?!!((e.provider===""||e.provider.match(ke))&&(t&&e.prefix===""||e.prefix.match(ke))&&e.name.match(ke)):!1,zi=Object.freeze({left:0,top:0,width:16,height:16}),Rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jt=Object.freeze({...zi,...Rt}),lo=Object.freeze({...jt,body:"",hidden:!1});function bm(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 Hi(e,t){const n=bm(e,t);for(const r in lo)r in Rt?r in e&&!(r in n)&&(n[r]=Rt[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function km(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function Cm(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Hi(r[a]||i[a],l)}return s(t),n.forEach(s),Hi(e,l)}function Ui(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=km(e);for(const i in r){const l=r[i];l&&(t(i,Cm(e,i,l)),n.push(i))}return n}const wm={provider:"",aliases:{},not_found:{},...zi};function so(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Wi(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!so(e,wm))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(ke)||typeof l.body!="string"||!so(l,lo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(ke)||typeof s!="string"||!n[s]&&!r[s]||!so(l,lo))return null}return t}const Gi=Object.create(null);function xm(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ve(e,t){const n=Gi[e]||(Gi[e]=Object.create(null));return n[t]||(n[t]=xm(e,t))}function ao(e,t){return Wi(t)?Ui(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Bm(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let tt=!1;function Ji(e){return typeof e=="boolean"&&(tt=e),tt}function _m(e){const t=typeof e=="string"?Mt(e,!0,tt):e;if(t){const n=Ve(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Em(e,t){const n=Mt(e,!0,tt);if(!n)return!1;const r=Ve(n.provider,n.prefix);return Bm(r,n.name,t)}function Ki(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),tt&&!t&&!e.prefix){let i=!1;return Wi(e)&&(e.prefix="",Ui(e,(l,s)=>{s&&Em(l,s)&&(i=!0)})),i}const n=e.prefix;if(!Dt({provider:t,prefix:n,name:"a"}))return!1;const r=Ve(t,n);return!!ao(r,e)}const Zi=Object.freeze({width:null,height:null}),Xi=Object.freeze({...Zi,...Rt}),Sm=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Tm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qi(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(Sm);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=Tm.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function Om(e,t){const n={...jt,...e},r={...Xi,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,g=f.vFlip;let B=f.rotate;y?g?B+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let S;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:S=i.height/2+i.top,h.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,h.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}B%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),h.length&&(l='<g transform="'+h.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Qi(u,d/c)):(m=s==="auto"?d:s,u=a===null?Qi(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const Nm=/\sid="(\S+)"/g,Vm="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Fm=0;function Lm(e,t=Vm){const n=[];let r;for(;r=Nm.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(Fm++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const co=Object.create(null);function Pm(e,t){co[e]=t}function mo(e){return co[e]||co[""]}function uo(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 fo=Object.create(null),nt=["https://api.simplesvg.com","https://api.unisvg.com"],qt=[];for(;nt.length>0;)nt.length===1||Math.random()>.5?qt.push(nt.shift()):qt.push(nt.pop());fo[""]=uo({resources:["https://api.iconify.design"].concat(qt)});function Am(e,t){const n=uo(t);return n===null?!1:(fo[e]=n,!0)}function ho(e){return fo[e]}let Yi=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Im(e,t){const n=ho(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function Mm(e){return e===404}const Dm=(e,t,n)=>{const r=[],i=Im(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function Rm(e){if(typeof e=="string"){const t=ho(e);if(t)return t.path}return"/"}const jm={prepare:Dm,send:(e,t,n)=>{if(!Yi){n("abort",424);return}let r=Rm(t.provider);switch(t.type){case"icons":{const l=t.prefix,a=t.icons.join(","),d=new URLSearchParams({icons:a});r+=l+".json?"+d.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Yi(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(Mm(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})}};function qm(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ve(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function $i(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function zm(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||$i([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let Hm=0;function Um(e,t,n){const r=Hm++,i=$i.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function Wm(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?Mt(i,t,n):i;l&&r.push(l)}),r}var Gm={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Jm(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?L():S());return}if(h(),_(),!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 L(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(L,e.rotate),n(b,t,E.callback)}return setTimeout(L),B}function vi(e){const t={...Gm,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,d,c){const m=Jm(t,a,d,(u,p)=>{r(),c&&c(u,p)});return n.push(m),m}function l(a){return n.find(d=>a(d))||null}return{query:i,find:l,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function el(){}const po=Object.create(null);function Km(e){if(!po[e]){const t=ho(e);if(!t)return;const n=vi(t),r={config:t,redundancy:n};po[e]=r}return po[e]}function Zm(e,t,n){let r,i;if(typeof e=="string"){const l=mo(e);if(!l)return n(void 0,424),el;i=l.send;const s=Km(e);s&&(r=s.redundancy)}else{const l=uo(e);if(l){r=vi(l);const s=e.resources?e.resources[0]:"",a=mo(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),el):r.query(t,i,n)().abort}const tl="iconify2",ot="iconify",nl=ot+"-count",ol=ot+"-version",rl=36e5,Xm=168;function go(e,t){try{return e.getItem(t)}catch{}}function yo(e,t,n){try{return e.setItem(t,n),!0}catch{}}function il(e,t){try{e.removeItem(t)}catch{}}function bo(e,t){return yo(e,nl,t.toString())}function ko(e){return parseInt(go(e,nl))||0}const zt={local:!0,session:!0},ll={local:new Set,session:new Set};let Co=!1;function Qm(e){Co=e}let Ht=typeof window>"u"?{}:window;function sl(e){const t=e+"Storage";try{if(Ht&&Ht[t]&&typeof Ht[t].length=="number")return Ht[t]}catch{}zt[e]=!1}function al(e,t){const n=sl(e);if(!n)return;const r=go(n,ol);if(r!==tl){if(r){const a=ko(n);for(let d=0;d<a;d++)il(n,ot+d.toString())}yo(n,ol,tl),bo(n,0);return}const i=Math.floor(Date.now()/rl)-Xm,l=a=>{const d=ot+a.toString(),c=go(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}il(n,d)}};let s=ko(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,bo(n,s)):ll[e].add(a))}function cl(){if(!Co){Qm(!0);for(const e in zt)al(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ve(r,i);if(!ao(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function Ym(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zt)al(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function $m(e,t){Co||cl();function n(r){let i;if(!zt[r]||!(i=sl(r)))return;const l=ll[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=ko(i),!bo(i,s+1))return;const a={cached:Math.floor(Date.now()/rl),provider:e.provider,data:t};return yo(i,ot+s.toString(),JSON.stringify(a))}t.lastModified&&!Ym(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function dl(){}function vm(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,zm(e)}))}function eu(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 l;if(!i||!(l=mo(n)))return;l.prepare(n,r,i).forEach(a=>{Zm(n,a,(d,c)=>{if(typeof d!="object"){if(c!==404)return;a.icons.forEach(m=>{e.missing.add(m)})}else try{const m=ao(e,d);if(!m.length)return;const u=e.pendingIcons;u&&m.forEach(p=>{u.delete(p)}),$m(e,d)}catch(m){console.error(m)}vm(e)})})}))}const tu=(e,t)=>{const n=Wm(e,!0,Ji()),r=qm(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,dl)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ve(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ve(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&eu(d,i[c][m])}),t?Um(t,r,l):dl};function nu(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Zi?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ou=/[\s,]+/;function ru(e,t){t.split(ou).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function iu(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function lu(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 su(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function au(e){return'url("data:image/svg+xml,'+su(e)+'")'}const ml={...Xi,inline:!1},cu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},du={display:"inline-block"},wo={backgroundColor:"currentColor"},ul={backgroundColor:"transparent"},fl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hl={webkitMask:wo,mask:wo,background:ul};for(const e in hl){const t=hl[e];for(const n in fl)t[e+n]=fl[n]}const Ut={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ut[e+"-flip"]=t,Ut[e.slice(0,1)+"-flip"]=t,Ut[e+"Flip"]=t});function pl(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gl=(e,t)=>{const n=nu(ml,t),r={...cu},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&ru(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=iu(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Ut[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):ml[y]===void 0&&(r[y]=g)}}}const d=Om(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=Lm(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=lu(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":au(h),width:pl(c.width),height:pl(c.height),...du,...f?wo:ul,...a},o.h("span",r)};if(Ji(!0),Pm("",jm),typeof document<"u"&&typeof window<"u"){cl();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"||!Ki(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;Am(n,i)||console.error(r)}catch{console.error(r)}}}}const mu={...jt,body:""},uu=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=Mt(e,!1,!0))===null)return this.abortLoading(),null;const r=_m(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:tu([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 gl(mu,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),gl({...jt,...t.data},n)}}),N=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},fu={name:"CmdIcon",components:{Icon:uu},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}}},hu=["title"];function pu(e,t,n,r,i,l){const s=o.resolveComponent("Icon");return l.isIconify?(o.openBlock(),o.createBlock(s,{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,hu))}const j=N(fu,[["render",pu]]);function xe(e,t){return Wt(e,"EditComponentWrapper",t)}function gu(e){return Wt(e,"EditModeSettingsSidebar")}function yu(e){return Wt(e,"EditModeMainSidebar")}function Wt(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?Wt(e.$parent,t,n):null}function Be(e,...t){const n=[];for(let r=xe(e);r;r=xe(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function bu(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function K(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const ku={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!xe(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(ie(this)):!!this.editModeContext.system.isActiveComponent(ie(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=xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(ie(e),ie(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(ie(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(ie(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(ie(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,ie(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(ie(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(ie(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=bu(ie(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function ie(e){const t=[];for(let n=e;n;n=xe(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const Cu={key:0,class:"action-buttons-wrapper"},wu=["data-component"],xu=["title"],Bu=["href"],_u={key:0},Eu={key:1},Su={key:0,class:"component-name"},Tu=["data-component"],Ou=["title"],Nu=["href","title"],Vu=["title"],Fu={key:0},Lu={key:1},Pu=["title"],Au=["title"];function Iu(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:o.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:o.withCtx(()=>[n.componentTag==="ul"?(o.openBlock(),o.createElementBlock("li",Cu,[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(a=>l.addEntry(a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,xu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings of this component"},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Bu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})])]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",_u,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Eu,[l.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of this component"},[o.createVNode(s,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content of this component"},[o.createVNode(s,{iconClass:"icon-edit"})],2))]))],8,wu),[[o.vShow,l.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[l.isOuterComponent?(o.openBlock(),o.createElementBlock("p",Su,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]=(...a)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...a)),onMouseleave:t[13]||(t[13]=(...a)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...a))},[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((...a)=>l.addEntry&&l.addEntry(...a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,Ou)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Nu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})],10,Vu)]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Fu,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Lu,[l.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((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(s,{iconClass:"icon-check"})],8,Pu)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(s,{iconClass:"icon-edit"})],10,Au))]))],40,Tu),[[o.vShow,l.active]])],64)),o.renderSlot(e.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const _e=N(ku,[["render",Iu]]),Z={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=xe(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!yu(this),this.settingsContext=!!gu(this)},updateHandlerProvider(){return{}}}},Mu={name:"CmdHeadline",mixins:[Z],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(Be(xe(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 K(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}}},Du={class:"pre-headline-text-wrapper"},Ru=["innerHTML"],ju=["innerHTML"],qu={key:1},zu=["innerHTML"],Hu={key:2},Uu={class:"pre-headline-text"},Wu=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function Gu(e,t,n,r,i,l){var c;const s=j,a=J,d=_e;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},l.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Du,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,Ru),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,ju)):(o.openBlock(),o.createElementBlock("span",qu,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,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,zu)):(o.openBlock(),o.createElementBlock("span",Hu,[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:l.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(m=>[m.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,l.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableHeadlineText=u)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(s,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(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Uu,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(l.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):l.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Wu)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const z=N(Mu,[["render",Gu]]),Ju={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"})}}},Ku={key:0,class:"headline-wrapper"},Zu=["title"];function Xu(e,t,n,r,i,l){const s=z,a=j;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",Ku,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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)=>l.hideTooltip&&l.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Zu)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const yl=N(Ju,[["render",Xu]]),X={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,l)=>r=r.replace("{"+l+"}",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}}},Qu={name:"CmdListOfRequirements",mixins:[X,{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")}}},Yu={class:"cmd-list-of-requirements"},$u=o.createElementVNode("br",null,null,-1),vu=o.createElementVNode("hr",null,null,-1),ef=["href","target"],tf={key:1};function nf(e,t,n,r,i,l){var d,c,m;const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Yu,[n.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[$u,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(u.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(a,{"aria-live":"assertive",iconClass:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[vu,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(a,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(m=n.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",tf,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,ef)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const of=N(Qu,[["render",nf]]),rf={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 lf(e,t,n,r,i,l){const s=of,a=yl;return o.openBlock(),o.createBlock(a,{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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdListOfRequirements)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const xo=N(rf,[["render",lf]]),Bo={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"}}}},Gt={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[X,{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 Ue(){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 _o(){return"cmd-"+Ue()}const rt={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||_o()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Eo={};function sf(e="defaultSequence"){const t=Eo[e]||0;return Eo[e]=t+1,Eo[e]}const So={data(){return{tooltip:!1,tooltipId:"tooltip-"+sf()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},af=["color","date","datetime-local","file","number","range"],cf={inheritAttrs:!1,name:"CmdFormElement",mixins:[X,Bo,Gt,rt,So],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:af.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}}},df=["for","title"],mf=["innerHTML"],uf={key:2,"aria-hidden":"true"},ff=["title","aria-errormessage","id"],hf={key:1,class:"flex-container inner-input-wrapper"},pf=["id","autocomplete","list","value","maxlength"],gf=["title"],yf=["id"],bf=["value"],kf=["checked","value","id","disabled","aria-invalid"],Cf=["innerHTML"],wf={key:2},xf={class:"switch-label-wrapper"},Bf=["checked","value","id","disabled","aria-invalid"],_f={class:"label-text"},Ef={class:"label-text"},Sf=["innerHTML"],Tf={key:0},Of=["id"],Nf=["value","selected"],Vf=["id","value","maxlength"],Ff={key:6,class:"characters-left-wrapper"},Lf={key:0},Pf={key:7,class:"search-field-wrapper flex-container no-gap"},Af=["id","maxlength","value"],If=["title"],Mf=["title"],Df={key:1};function Rf(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S,_,O,L,b,E,F,R,P,he,pe,ge,ye,be;const s=j,a=xo;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,mf)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",uf,"*")):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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,ff)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",hf,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{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},l.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=V=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...V)=>l.onBlur&&l.onBlur(...V)),onInput:t[3]||(t[3]=(...V)=>l.onInput&&l.onInput(...V)),onMouseover:t[4]||(t[4]=(...V)=>l.datalistFocus&&l.datalistFocus(...V)),onKeyup:t[5]||(t[5]=(...V)=>e.checkForCapsLock&&e.checkForCapsLock(...V)),onChange:t[6]||(t[6]=V=>e.$emit("change",V)),autocomplete:l.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,pf)):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((...V)=>l.showPassword&&l.showPassword(...V),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(s,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,gf)):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,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V},null,8,bf))),128))],8,yf)):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",xf,[o.createElementVNode("input",o.mergeProps(l.elementAttributes,{onChange:t[13]||(t[13]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[14]||(t[14]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:n.inputValue,class:{inputClass:n.inputClass,validationStatus:e.validationStatus},id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Bf),o.createElementVNode("span",_f,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",Ef,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,Sf),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Tf,"*")):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(l.elementAttributes,{onChange:t[11]||(t[11]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[12]||(t[12]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,kf),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,Cf)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",wf,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},l.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...V)=>l.onBlur&&l.onBlur(...V)),onChange:t[16]||(t[16]=V=>e.$emit("update:modelValue",V.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V.value,selected:V.value===n.modelValue},o.toDisplayString(V.text),9,Nf))),128))],16,Of)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},l.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:l.getMaxLength(),onInput:t[17]||(t[17]=(...V)=>l.onInput&&l.onInput(...V)),onFocus:t[18]||(t[18]=V=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...V)=>l.onBlur&&l.onBlur(...V))}),null,16,Vf)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",Ff,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",Lf,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},o.toDisplayString(l.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",Pf,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(l.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...V)=>l.onInput&&l.onInput(...V)),maxlength:l.getMaxLength(),value:n.modelValue}),null,16,Af),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((...V)=>l.executeSearch&&l.executeSearch(...V),["prevent"]))},[o.createVNode(s,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,If)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(V=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(s,{iconClass:(m=n.iconDelete)==null?void 0:m.iconClass,type:(u=n.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Mf)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,df)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:t[23]||(t[23]=(...V)=>l.submit&&l.submit(...V))}),[(f=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((B=(g=n.nativeButton)==null?void 0:g.icon)!=null&&B.position))?(o.openBlock(),o.createBlock(s,{key:0,iconClass:(_=(S=n.nativeButton)==null?void 0:S.icon)==null?void 0:_.iconClass,type:(L=(O=n.nativeButton)==null?void 0:O.icon)==null?void 0:L.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((E=n.nativeButton)!=null&&E.text)?(o.openBlock(),o.createElementBlock("span",Df,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(R=(F=n.nativeButton)==null?void 0:F.icon)!=null&&R.show&&((he=(P=n.nativeButton)==null?void 0:P.icon)==null?void 0:he.position)==="after"?(o.openBlock(),o.createBlock(s,{key:3,iconClass:(ge=(pe=n.nativeButton)==null?void 0:pe.icon)==null?void 0:ge.iconClass,type:(be=(ye=n.nativeButton)==null?void 0:ye.icon)==null?void 0:be.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const J=N(cf,[["render",Rf]]),jf={name:"CmdAddressDataItem",mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return K(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}}},qf=["id"],zf={key:1},Hf=["href","target","title","data-type"],Uf=["innerHTML"],Wf={key:1},Gf=["href","title"],Jf={class:"street-address"},Kf=o.createElementVNode("br",null,null,-1),Zf={key:0,class:"postal-code"},Xf={key:1,class:"locality"},Qf=o.createElementVNode("br",null,null,-1),Yf={key:0},$f={key:3,class:"country-name"},vf={class:"street-address"},eh=o.createElementVNode("br",null,null,-1),th={key:0,class:"postal-code"},nh={key:1,class:"locality"},oh=o.createElementVNode("br",null,null,-1),rh=o.createElementVNode("br",null,null,-1),ih={key:3,class:"country-name"};function lh(e,t,n,r,i,l){const s=j,a=J,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(s,{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",zf,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],10,qf),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(l.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:l.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:l.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,Hf)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,Uf))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Wf,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Jf,o.toDisplayString(n.addressEntry.streetNo),1),Kf],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",Zf,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Xf,[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),Qf,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",Yf)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",$f,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,Gf)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(a,{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(a,{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(a,{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(a,{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(a,{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",vf,o.toDisplayString(n.addressEntry.streetNo),1),eh],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",th,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",nh,[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),oh,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),rh],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",ih,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const sh=N(jf,[["render",lh]]),ah={name:"CmdAddressData",mixins:[Z,X,{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(Be(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 K(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:{}},ch={class:"cmd-address-data vcard"},dh={class:"adr"},mh={key:0},uh=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],fh=["href","target","title"],hh=["innerHTML"],ph=["href","title"],gh={class:"street-address"},yh=o.createElementVNode("br",null,null,-1),bh={key:0,class:"postal-code"},kh={key:1,class:"locality"},Ch=o.createElementVNode("br",null,null,-1),wh=o.createElementVNode("br",null,null,-1),xh=o.createElementVNode("br",null,null,-1),Bh={key:4,class:"country-name"},_h={class:"street-address"},Eh=o.createElementVNode("br",null,null,-1),Sh={key:0,class:"postal-code"},Th={key:1,class:"locality"},Oh=o.createElementVNode("br",null,null,-1),Nh=o.createElementVNode("br",null,null,-1),Vh=o.createElementVNode("br",null,null,-1),Fh={key:4,class:"country-name"};function Lh(e,t,n,r,i,l){var m;const s=z,a=sh,d=_e,c=j;return o.openBlock(),o.createElementBlock("div",ch,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",dh,[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]=(...u)=>l.onAddItem&&l.onAddItem(...u))},uh)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(d,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:u,componentPath:["props","addressData",p]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(a,{addressEntry:u,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",mh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(a,{key:p,addressEntry:u,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[u.href||u.name==="address"&&u.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[u.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.getHref(u),target:u.name==="url"?"_blank":null,title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(u.href),1)],64))],8,fh)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:u.data},null,8,hh)),u.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(u),target:"google-maps",title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",gh,o.toDisplayString(u.streetNo),1),yh],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",bh,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",kh,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Ch],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),wh],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),xh],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",Bh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64))],8,ph)):o.createCommentVNode("",!0),!u.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",_h,o.toDisplayString(u.streetNo),1),Eh],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",Sh,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",Th,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Oh],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),Nh],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),Vh],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",Fh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const bl=N(ah,[["render",Lh]]),Ph={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"})}}},Ah=["title"];function Ih(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[l.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((...a)=>l.onBackToTop&&l.onBackToTop(...a),["prevent"]))},[o.createVNode(s,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Ah)):o.createCommentVNode("",!0)]),_:1})}const Mh=N(Ph,[["render",Ih]]),Dh={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")}}},Rh={class:"cmd-bank-account-data"},jh={key:0},qh=["onClick","title"],zh={key:1};function Hh(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Rh,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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",jh,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(m=>l.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,qh)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",zh,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const Uh=N(Dh,[["render",Hh]]),Wh={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:_o,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}}},Gh=["action","data-use-validation","novalidate"],Jh={class:"flex-container"},Kh=["type"],Zh={key:1},Xh={key:0,class:"button-wrapper"},Qh=["type"],Yh={key:1};function $h(e,t,n,r,i,l){const s=J;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]=(...a)=>l.onSubmit&&l.onSubmit(...a)),novalidate:n.novalidate},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",Jh,[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,(a,d)=>(o.openBlock(),o.createBlock(s,{key:d,element:a.element||"input",type:a.type||"text",name:a.name,class:o.normalizeClass(a.htmlClass),id:a.id||l.createHtmlId(),modelValue:i.formValues[a.name],"onUpdate:modelValue":c=>i.formValues[a.name]=c,inputValue:a.inputValue,fieldIconClass:a.innerIconClass,selectOptions:a.selectOptions,labelText:a.labelText,placeholder:a.placeholder,required:a.required,disabled:a.disabled,autocomplete:a.autocomplete,minlength:a.minlength,maxlength:a.maxlength,nativeButton:a.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),l.submitButtonOptions&&(l.submitButtonOptions.position==="insideFieldset"||l.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Zh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Kh)):o.createCommentVNode("",!0)]),l.submitButtonOptions&&l.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Xh,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type||"submit"},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Yh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Qh)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,Gh)}const kl=N(Wh,[["render",$h]]),vh={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>."}}}},Ne=class Ne{constructor(t){It(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Ne.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Ne.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Ne.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,""]}};It(Ne,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),It(Ne,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),It(Ne,"PATTERN_MESSAGE",/^.{2,500}$/);let To=Ne;function We(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Cl(e,t,n,r,i){const l=[];if(e.size>r&&l.push("file too large"),t.includes(We(e.name))||l.push("disallowed file extension"),l.length){alert(l);return}const s=new Image;s.onload=()=>{if(s.width<n&&!confirm("width ("+s.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(s.src),typeof i=="function"?i(s.src):i.src=s.src},s.src=URL.createObjectURL(e)}const ep={name:"CmdImage",mixins:[Z],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&&Cl(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(),Cl(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:Ue(),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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,K(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}}},tp=["innerHTML"],np=o.createElementVNode("span",{class:"icon-image"},null,-1),op=["src","alt","title"],rp=["src","alt","title"],ip=["innerHTML"],lp=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],sp=["innerHTML"],ap=["src","alt","title"],cp=["innerHTML"],dp=["src","alt","title"];function mp(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S;const s=J,a=_e;return e.editModeContext?(o.openBlock(),o.createBlock(a,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?l.itemProvider:null},{default:o.withCtx(_=>{var O,L,b,E,F,R,P,he,pe,ge,ye,be;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(O=n.figcaption)!=null&&O.show&&((L=n.figcaption)==null?void 0:L.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=V=>l.editableFigcaptionText=V)},null,8,["class","modelValue"])):(b=n.figcaption)!=null&&b.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(E=n.figcaption)==null?void 0:E.text},null,8,tp)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),_.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(l.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...V)=>l.selectFiles&&l.selectFiles(...V),["prevent"])),title:"Drag new image to this area to replace old one!"}),[np,o.createElementVNode("img",{src:l.imageSource,alt:(F=n.image)==null?void 0:F.alt,title:(R=n.image)==null?void 0:R.tooltip},null,8,op)],16),o.createVNode(s,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(P=n.image)==null?void 0:P.alt,title:(he=n.image)==null?void 0:he.tooltip},null,8,rp)):o.createCommentVNode("",!0),(pe=n.figcaption)!=null&&pe.show&&((ge=n.figcaption)==null?void 0:ge.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=V=>l.editableFigcaptionText=V),placeholder:"figcaption"},null,8,["class","modelValue"])):(ye=n.figcaption)!=null&&ye.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(be=n.figcaption)==null?void 0:be.text},null,8,ip)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!_.editing&&!l.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...V)=>l.onAddItem&&l.onAddItem(...V))},lp)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",l.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((m=n.figcaption)!=null&&m.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(u=n.figcaption)==null?void 0:u.text},null,8,sp)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:l.imageSource,alt:(p=n.image)==null?void 0:p.alt,title:(f=n.image)==null?void 0:f.tooltip,onLoad:t[4]||(t[4]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,ap),((h=n.figcaption)==null?void 0:h.position)!=="top"&&((y=n.figcaption)!=null&&y.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,cp)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(B=n.image)==null?void 0:B.alt,title:(S=n.image)==null?void 0:S.tooltip,onLoad:t[5]||(t[5]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,dp))}const Ce=N(ep,[["render",mp]]),up={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"),{})}}},fp=["title"];function hp(e,t,n,r,i,l){const s=j;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:l.getDirection.tooltip},[o.createVNode(s,{type:l.getDirection.iconType||"auto",iconClass:l.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,fp)}const it=N(up,[["render",hp]]),pp={name:"CmdThumbnailScroller",emits:["click"],mixins:[X,{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"}}}},Z],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:Ue(),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(Be(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:Ue(),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&&Fe({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}}},gp={class:"inner-thumbnail-wrapper"},yp=["href","onClick","title","target"],bp={key:1},kp={key:1},Cp={key:0},wp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function xp(e,t,n,r,i,l){var m;const s=z,a=it,d=Ce,c=j;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",gp,[i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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,(u,p)=>(o.openBlock(),o.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:u.image,figcaption:u.figcaption,componentPath:["props","thumbnailScrollerItems",p],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",kp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?u.url:"#",onClick:f=>l.executeLink(p,f),class:o.normalizeClass([{active:n.activeItemIndex===p},u.id?"item-"+u.id:""]),title:l.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:u.image,figcaption:u.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",bp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64))],10,yp))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",Cp,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...u)=>l.onAddItem&&l.onAddItem(...u))},wp)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const wl=N(pp,[["render",xp]]),Fe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(xl,{...e,show:!0}).mount(t)},xl=o.defineComponent({name:"CmdFancyBox",mixins:[rt],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 Bp(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 Bp(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const _p=xl,Ep=["aria-label"],Sp={class:"flex-container"},Tp={key:1,class:"button-wrapper no-flex"},Op=["title"],Np=["title"],Vp=["title"],Fp={key:0,class:"content"},Lp=["innerHTML"],Pp={key:2,class:"content",ref:"elements"},Ap={key:3,class:"content"},Ip={key:4,class:"content"},Mp={key:0,class:"flex-container no-flex"},Dp=["title"],Rp={key:1},jp=["title"],qp={key:1};function zp(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,L,b,E,F,R,P,he,pe,ge,ye,be,V,we,Ft,Lt,Pt,At;const s=z,a=j,d=Ce,c=it,m=wl;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]=(...re)=>e.onDialogCancel&&e.onDialogCancel(...re))},[o.createElementVNode("header",Sp,[(u=e.cmdHeadline)!=null&&u.headlineText?(o.openBlock(),o.createBlock(s,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",Tp,[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(re=>e.printInGrayscale=!1,["prevent"]))},[o.createVNode(a,{iconClass:(g=e.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(B=e.fancyboxOptions.printButtons.color)==null?void 0:B.iconType},null,8,["iconClass","type"])],8,Op)):o.createCommentVNode("",!0),e.showPrintButtons&&((S=e.fancyboxOptions.printButtons)!=null&&S.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(_=e.fancyboxOptions.printButtons.grayscale)==null?void 0:_.tooltip,onClick:t[1]||(t[1]=o.withModifiers(re=>e.printInGrayscale=!0,["prevent"]))},[o.createVNode(a,{iconClass:(O=e.fancyboxOptions.printButtons.grayscale)==null?void 0:O.iconClass,type:(L=e.fancyboxOptions.printButtons.grayscale)==null?void 0:L.iconType},null,8,["iconClass","type"])],8,Np)):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((...re)=>e.close&&e.close(...re),["prevent"]))},[o.createVNode(a,{iconClass:e.fancyboxOptions.closeIcon.iconClass,type:e.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,Vp)):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",Fp,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(E=e.cmdImage)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,Lp)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",Pp,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",Ap,[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",Ip,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptions.submitButtons?(o.openBlock(),o.createElementBlock("footer",Mp,[(F=e.fancyboxOptions.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...re)=>e.cancel&&e.cancel(...re)),title:(R=e.fancyboxOptions.submitButtons.cancel)==null?void 0:R.tooltip},[(P=e.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(he=e.fancyboxOptions.submitButtons.cancel)==null?void 0:he.iconClass,type:(pe=e.fancyboxOptions.submitButtons.cancel)==null?void 0:pe.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(ge=e.fancyboxOptions.submitButtons.cancel)!=null&&ge.buttonText?(o.openBlock(),o.createElementBlock("span",Rp,o.toDisplayString((ye=e.fancyboxOptions.submitButtons.cancel)==null?void 0:ye.buttonText),1)):o.createCommentVNode("",!0)],8,Dp)):o.createCommentVNode("",!0),(be=e.fancyboxOptions.submitButtons)!=null&&be.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...re)=>e.confirm&&e.confirm(...re)),title:(V=e.fancyboxOptions.submitButtons.cancel)==null?void 0:V.tooltip},[(we=e.fancyboxOptions.submitButtons.confirm)!=null&&we.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(Ft=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Ft.iconClass,type:(Lt=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Lt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Pt=e.fancyboxOptions.submitButtons.confirm)!=null&&Pt.buttonText?(o.openBlock(),o.createElementBlock("span",qp,o.toDisplayString((At=e.fancyboxOptions.submitButtons.confirm)==null?void 0:At.buttonText),1)):o.createCommentVNode("",!0)],8,jp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(m,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,Ep)}const Hp=N(_p,[["render",zp]]),Up={emits:["submit"],mixins:[X,vh,Gt],inject:{editModeContext:{default:null}},data(){return{validator:new To(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(),Fe({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(),Fe({url:e}))},openDataPrivacy(e){Fe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},Wp={class:"cmd-pages-basic-form"},Gp={key:0,class:"flex-container no-flex order-male-female"},Jp={key:1,class:"flex-container order-lastname-firstname"},Kp={key:2,class:"flex-container order-phone-email"},Zp={key:3,class:"flex-container"},Xp=["innerHTML"];function Qp(e,t,n,r,i,l){const s=z,a=J,d=kl;return o.openBlock(),o.createElementBlock("div",Wp,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:l.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:n.submitButton,formAction:n.formAction}),{default:o.withCtx(()=>{var c,m,u,p,f,h,y,g,B,S,_,O,L,b,E,F,R,P,he,pe,ge,ye,be,V,we,Ft,Lt,Pt,At,re,sm,am,cm,dm,mm,um,fm,hm,pm,gm,ym;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",Gp,[o.createVNode(a,{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:(m=n.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=q=>i.formData.salutation.value=q),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),o.createVNode(a,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((u=n.configuration.salutation)==null?void 0:u.name)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=q=>i.formData.salutation.value=q),onValidate:l.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",Jp,[n.configuration.lastName?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.lastName.value=q),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(B=n.configuration.firstName)==null?void 0:B.required,name:((S=n.configuration.firstName)==null?void 0:S.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=q=>i.formData.firstName.value=q),status:i.formData.firstName.error?"error":"",onValidate:l.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",Kp,[n.configuration.email?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:((_=n.configuration.email)==null?void 0:_.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(O=n.configuration.email)==null?void 0:O.required,name:((L=n.configuration.email)==null?void 0:L.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=q=>i.formData.email.value=q),status:i.formData.email.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.phone.value=q),required:(E=n.configuration.phone)==null?void 0:E.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",onValidate:l.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",Zp,[n.configuration.country?(o.openBlock(),o.createBlock(a,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(R=n.configuration.country)==null?void 0:R.selectOptions,required:(P=n.configuration.country)==null?void 0:P.required,name:((he=n.configuration.country)==null?void 0:he.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=q=>i.formData.country.value=q),l.onCountrySelect],status:i.formData.country.error?"error":"",onValidate:l.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((pe=n.configuration.streetNo)==null?void 0:pe.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(ge=n.configuration.streetNo)==null?void 0:ge.required,name:((ye=n.configuration.streetNo)==null?void 0:ye.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=q=>i.formData.streetNo.value=q),status:i.formData.streetNo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(a,{key:2,element:"input",type:((be=n.configuration.pobox)==null?void 0:be.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(V=n.configuration.pobox)==null?void 0:V.required,name:((we=n.configuration.pobox)==null?void 0:we.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=q=>i.formData.pobox.value=q),status:i.formData.pobox.error?"error":"",onValidate:l.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(a,{key:0,element:"input",class:"input-zip",type:((Ft=n.configuration.zip)==null?void 0:Ft.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(Lt=n.configuration.zip)==null?void 0:Lt.required,name:((Pt=n.configuration.zip)==null?void 0:Pt.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=q=>i.formData.zip.value=q),status:i.formData.zip.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((At=n.configuration.city)==null?void 0:At.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(re=n.configuration.city)==null?void 0:re.required,name:((sm=n.configuration.city)==null?void 0:sm.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=q=>i.formData.city.value=q),status:i.formData.city.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(a,{key:3,element:"input",type:((am=n.configuration.additionalAddressInfo)==null?void 0:am.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(cm=n.configuration.additionalAddressInfo)==null?void 0:cm.required,name:((dm=n.configuration.additionalAddressInfo)==null?void 0:dm.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=q=>i.formData.additionalAddressInfo.value=q),status:i.formData.additionalAddressInfo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(a,{key:4,element:((mm=n.configuration.userMessage)==null?void 0:mm.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(um=n.configuration.userMessage)==null?void 0:um.required,name:((fm=n.configuration.userMessage)==null?void 0:fm.name)||"user-message",textCharactersLeft:e.getMessage("basic_form.text.characters_left"),maxLength:(hm=n.configuration.userMessage)==null?void 0:hm.maxLength,modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=q=>i.formData.userMessage.value=q),status:i.formData.userMessage.error?"error":"",onValidate:l.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(a,{key:5,element:"input",type:"checkbox",required:(pm=n.configuration.acceptPrivacy)==null?void 0:pm.required,name:((gm=n.configuration.acceptPrivacy)==null?void 0:gm.name)||"accept-privacy",replaceInputType:(ym=n.configuration.acceptPrivacy)==null?void 0:ym.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=q=>i.formData.acceptPrivacy.value=q),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Xp)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const Bl=N(Up,[["render",Qp]]),Yp={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},$p=["title"],vp={key:1},eg=["title"];function tg(e,t,n,r,i,l){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,$p)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",vp,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,eg)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const ng=N(Yp,[["render",tg]]),og={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})}}},rg=["href","target","title"],ig=["title"];function lg(e,t,n,r,i,l){var d,c,m;const s=ng,a=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]=u=>l.emitClick(u,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,rg)):n.linkType==="router"?(o.openBlock(),o.createBlock(a,{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]=u=>l.emitClick(u,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{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]=u=>l.emitClick(u,"button")),title:(m=n.icon)==null?void 0:m.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,ig)):o.createCommentVNode("",!0)}const Ge=N(og,[["render",lg]]),sg={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Z],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 K(this,{update(t){t.text=e}})}}},ag={key:0,class:"cmd-list-of-links-item"},cg={key:0},dg={key:1,class:"input-wrapper"};function mg(e,t,n,r,i,l){var c;const s=Ge,a=o.resolveComponent("CmdListOfLinksItem",!0),d=J;return e.editing?(o.openBlock(),o.createElementBlock("div",dg,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableText=m)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",ag,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",cg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,link:m},null,8,["link"]))),128))]))]))}const ug=N(sg,[["render",mg]]),fg={name:"CmdListOfLinks",emits:["click"],mixins:[Z],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(Be(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return K(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))}})}}},hg={key:1},pg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function gg(e,t,n,r,i,l){var c;const s=z,a=ug,d=_e;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(s,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,l.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",hg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(d,{key:"x"+u,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:m,allowedComponentTypes:[],componentPath:["props","links",u],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createVNode(a,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},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]=(...m)=>l.onAddItem&&l.onAddItem(...m))},pg)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},null,8,["class","link"]))),128))],2)],2)}const Oo=N(fg,[["render",gg]]),No={name:"CmdBox",mixins:[X,{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()}}},_l=()=>{o.useCssVars(e=>({"766100bf":e.cutoffTextLines}))},El=No.setup;No.setup=El?(e,t)=>(_l(),El(e,t)):_l;const yg=["title"],bg={key:0,class:"box-header"},kg={key:1,class:"body-icon-wrapper"},Cg=["innerHTML"],wg={key:0,class:"body-icon-wrapper"},xg=["innerHTML"],Bg={key:2,class:"box-footer"},_g={key:3,class:"box-footer"},Eg={class:"box-header flex-container vertical"},Sg={key:0},Tg=["src","alt"],Og={key:1},Ng={key:2,class:"ribbon-new"},Vg={key:3,class:"ribbon-discount"},Fg={class:"box-body"},Lg={key:0},Pg={key:1,class:"price"},Ag=["title"],Ig={key:2},Mg={class:"box-header flex-container vertical"},Dg={key:0},Rg=["src","alt"],jg={key:0,class:"user-name"},qg={key:0,class:"user-age"},zg={key:1},Hg=["title"],Ug={key:0,class:"user-name"},Wg={class:"box-body"},Gg={key:0,class:"user-name"},Jg={key:1},Kg={key:2},Zg={key:3,class:"description"},Xg={key:0,class:"tags"},Qg={key:1,class:"box-footer"};function Yg(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,L;const s=z,a=j,d=Ce,c=Ge,m=Oo;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)=>l.toggleContentVisibility&&l.toggleContentVisibility(...b),["prevent"]))},[(u=n.useSlots)!=null&&u.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,yg)):(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",bg,[(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(s,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"},[(B=n.useSlots)!=null&&B.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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",kg,[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:l.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,Cg)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...E)=>l.toggleCutOffText&&l.toggleCutOffText(...E),["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),(S=n.cmdHeadline)!=null&&S.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",wg,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(_=n.cmdHeadline)!=null&&_.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(s,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,xg)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(O=n.cmdLink)!=null&&O.linkType?(o.openBlock(),o.createElementBlock("div",Bg,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(L=n.useSlots)!=null&&L.includes("footer")?(o.openBlock(),o.createElementBlock("div",_g,[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=>l.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",Eg,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",Sg,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,Tg),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",Og,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",Ng,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",Vg,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Fg,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",Lg,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",Pg,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,Ag)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",Ig,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",Mg,[n.user.image?(o.openBlock(),o.createElementBlock("figure",Dg,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,Rg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",jg,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",qg," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",zg,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,Hg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",Ug,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",Wg,[n.rowView?(o.openBlock(),o.createElementBlock("p",Gg,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",Jg,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",Kg,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",Zg,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",Xg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,E)=>(o.openBlock(),o.createElementBlock("li",{key:E},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",Qg,[o.createVNode(m,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Vo=N(No,[["render",Yg]]),Fo={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}}},Sl=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Tl=Fo.setup;Fo.setup=Tl?(e,t)=>(Sl(),Tl(e,t)):Sl;const $g={class:"cmd-box-wrapper"},vg={key:0,class:"flex-container headline-wrapper"},ey={key:1,class:"options-wrapper"},ty=["title"];function ny(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",$g,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",vg,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",ey,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.toggleOrientation&&l.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(a,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,ty)])):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:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>l.boxIsToggled&&l.boxIsToggled(...d))})],2)])}const Ol=N(Fo,[["render",ny]]);function Je(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 oy={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return Je(e)}}},ry={class:"cmd-breadcrumbs"},iy={key:0,class:"breadcrumb-label"},ly=["href"],sy={key:1},ay={key:1},cy={key:2},dy={key:1},my={key:3,class:"separator"};function uy(e,t,n,r,i,l){const s=j,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",ry,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",iy,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(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",sy,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,ly)):d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",cy,[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",dy,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",my,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Nl=N(oy,[["render",uy]]),fy={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 Je(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"}}},hy={class:"cmd-company-logo company-logo"},py=["href","title"];function gy(e,t,n,r,i,l){var d,c,m,u,p,f;const s=Ce,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",hy,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(a,{key:0,to:(c=n.link)==null?void 0:c.path,title:(m=n.link)==null?void 0:m.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((u=n.link)==null?void 0:u.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(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])],8,py)):(o.openBlock(),o.createBlock(s,{key:2,image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Vl=N(fy,[["render",gy]]),yy={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}}},by={class:"cmd-container"},ky=["innerHTML"],Cy=["innerHTML"];function wy(e,t,n,r,i,l){const s=z;return o.openBlock(),o.createElementBlock("div",by,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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,ky)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([l.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,Cy)):o.createCommentVNode("",!0)])}const xy=N(yy,[["render",wy]]),By={name:"CmdCookieDisclaimer",mixins:[X,{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,l,s;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let a=0;a<t.length;a++)e.push(t[a].value);const n=(s=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:s.cookies;if(n)for(let a=0;a<n.length;a++)e.push(n[a].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}))}}},_y={class:"cmd-cookie-disclaimer flex-container vertical"},Ey={key:0,class:"flex-container vertical"},Sy={key:0},Ty={key:1},Oy=["href","target"],Ny=["innerHTML"],Vy=o.createElementVNode("hr",null,null,-1),Fy={key:1,class:"flex-container vertical"},Ly={key:0},Py={key:1},Ay=["href","target"],Iy=["innerHTML"],My={class:"button-wrapper align-center"};function Dy(e,t,n,r,i,l){const s=z,a=J,d=Vo;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var c,m,u;return[o.createElementVNode("div",_y,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(c=n.cmdHeadlineCookieDisclaimer)!=null&&c.show&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(s,{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,B,S,_;return[(p=n.cookieOptions)!=null&&p.required?(o.openBlock(),o.createElementBlock("div",Ey,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(o.openBlock(),o.createBlock(s,{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||[],(O,L)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:L},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",Sy,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",Ty,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,Oy)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ny)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0),Vy,(g=n.cookieOptions)!=null&&g.optional?(o.openBlock(),o.createElementBlock("div",Fy,[(B=n.cmdBoxOptionalCookies)!=null&&B.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-text":(S=n.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(_=n.cmdBoxOptionalCookies)==null?void 0:_.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(O,L)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:L},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",Ly,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",Py,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,Ay)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Iy)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0)]}),o.renderSlot(e.$slots,"privacy-text"),o.createElementVNode("div",My,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...p)=>l.acceptCurrentCookies&&l.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)=>l.acceptAllCookies&&l.acceptAllCookies(...p))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])],64))])]}),_:3})}const Ry=N(By,[["render",Dy]]),jy={name:"CmdCopyrightWrapper"},qy={class:"cmd-copyright-information",role:"contentinfo"},zy=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function Hy(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",qy,zy)}const Uy=N(jy,[["render",Hy]]),Wy={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[X,{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",...Bo.data().defaultMessageProperties}}}},Gt,rt,So],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}}},Gy=["title","aria-labelledby","aria-required"],Jy={key:0,class:"label-text"},Ky=["id"],Zy={key:0,"aria-hidden":"true"},Xy=["title","aria-errormessage","id"],Qy=["aria-expanded"],Yy=["title"],$y=["src","alt"],vy={key:3,class:"option-name"},eb={key:0,role:"listbox"},tb=["aria-selected"],nb=["onClick","title"],ob={key:1},rb=["aria-expanded"],ib=["for"],lb=["value","checked","id"],sb=["onClick"],ab=["src","alt"],cb=["onClick"],db={key:0,class:"select-all-options"};function mb(e,t,n,r,i,l){var c,m,u,p;const s=j,a=xo,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",Jy,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Zy,"*")):o.createCommentVNode("",!0)],8,Ky),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Xy)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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)=>l.closeOptions&&l.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>l.toggleOptions&&l.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>l.onBlur&&l.onBlur(...f)),title:(c=l.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&l.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:o.normalizeClass(["flag",l.optionCountry])},null,10,$y)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+l.optionColor)},null,4)):o.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(o.openBlock(),o.createBlock(s,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(p=l.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),l.optionName?(o.openBlock(),o.createElementBlock("span",vy,o.toDisplayString(l.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(s,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Yy),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",eb,[(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=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",ob,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,nb)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{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,tb))),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)=>l.optionSelect&&l.optionSelect(...y)),checked:l.compareValues(f.value),id:"option-"+(h+1)},null,40,lb),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,ib)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:l.pathFlag(f.value),alt:f.text},null,8,ab),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,sb)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>l.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,cb)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",db,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>l.toggleAllOptions&&l.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(s,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(s,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(l.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,rb)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Qy)],10,Gy)}const Fl=N(Wy,[["render",mb]]),ub={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}}},fb={key:0,class:"cmd-form-filters"},hb={key:0},pb={key:1},gb=["onClick","title"];function yb(e,t,n,r,i,l){const s=j;return i.options.length?(o.openBlock(),o.createElementBlock("ul",fb,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",hb,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.deleteAllFilters&&l.deleteAllFilters(...a),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(s,{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",pb,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>l.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(a)),1),o.createVNode(s,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,gb)]))),128))])):o.createCommentVNode("",!0)}const Ll=N(ub,[["render",yb]]),bb={name:"CmdSystemMessage",mixins:[rt],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}}},kb=["role","aria-labelledby"],Cb=["title"];function wb(e,t,n,r,i,l){const s=j,a=z;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(s,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Cb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(a,{class:"message-headline",cmdIcon:l.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,kb)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const Lo=N(bb,[["render",wb]]),xb={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"}}}},Pl="acceptedCookies";function Al(e,t=365){const n=[...Po(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Pl+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function Po(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Pl+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const Bb={name:"CmdGoogleMaps",mixins:[X,xb],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){Po().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(){Al(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},_b={class:"cmd-google-maps responsive-wrapper"},Eb=["src"];function Sb(e,t,n,r,i,l){const s=Lo;return o.openBlock(),o.createElementBlock("div",_b,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:l.locateAddress},null,8,Eb)):(o.openBlock(),o.createBlock(s,{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((...a)=>l.acceptCookies&&l.acceptCookies(...a),["prevent"]))},o.toDisplayString(e.getMessage("cmdgooglemaps.button_text.accept_required_cookies")),1)]),_:1}))])}const Il=N(Bb,[["render",Sb]]),Tb={name:"CmdImageGallery",mixins:[Z],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(Be(this,"props","images",-1),this.itemProvider)},showFancyBox(e){Fe({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 K(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))}})}}},Ob={class:"grid-container-create-columns cmd-image-gallery"},Nb=["onClick","title"],Vb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function Fb(e,t,n,r,i,l){var d;const s=z,a=Ce;return o.openBlock(),o.createElementBlock("div",Ob,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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,m)=>(o.openBlock(),o.createBlock(a,{key:m,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",m],editModeConfig:l.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)=>l.onAddItem&&l.onAddItem(...c))},Vb)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:o.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])],8,Nb))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("div",{key:`i${m}`,class:"image-wrapper"},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const Lb=N(Tb,[["render",Fb]]),Pb={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`,Ml(this,e)})},onMouseMove(e){Ml(this,e)},onMouseOut(){this.showLargeImage=!1}}};function Ml(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),l=t.target.getBoundingClientRect().width,s=t.target.getBoundingClientRect().height,a=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,m=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,n.getBoundingClientRect().width/a*l),p=Math.min(s,n.getBoundingClientRect().height/d*s),f=Dl(c-u/2,0,l-u),h=Dl(m-p/2,0,s-p),y=-(f*(a/l)),g=-(h*(d/s));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${u}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${g}px`}function Dl(e,t,n){return e<t?t:e>n?n:e}const Ab={class:"cmd-image-zoom flex-container"},Ib=["title"],Mb={class:"zoom-container"},Db=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function Rb(e,t,n,r,i,l){const s=Ce;return o.openBlock(),o.createElementBlock("div",Ab,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(s,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,Ib),o.createElementVNode("div",Mb,[o.createVNode(s,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),Db])}const jb=N(Pb,[["render",Rb]]),qb={mixins:[Bo,Gt,rt,So],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}}},zb=["aria-labelledby"],Hb={class:"label-text"},Ub=["id"],Wb={key:0,"aria-hidden":"true"},Gb=["title","aria-errormessage","id"],Jb=["for"],Kb=["type","id","name","value","disabled"],Zb={key:1,class:"label-text"},Xb={key:1,class:"flex-container no-flex"};function Qb(e,t,n,r,i,l){const s=j,a=xo;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",Hb,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",Wb,"*")):o.createCommentVNode("",!0)],8,Ub),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Gb)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",Xb,[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]=m=>l.inputValue=m),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,Kb),[[o.vModelDynamic,l.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",Zb,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,Jb))),128))],2))],10,zb)}const Rl=N(qb,[["render",Qb]]),Yb={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 Je(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()}}},$b={class:"cmd-login-form flex-container"},vb={class:"option-wrapper flex-container"},ek={key:1},tk=["type","disabled"],nk={key:1},ok={class:"cmd-login-form flex-container"},rk={class:"option-wrapper flex-container"},ik={key:1},lk=["type","disabled"],sk={key:1};function ak(e,t,n,r,i,l){var m,u,p,f,h,y,g,B;const s=z,a=J,d=j,c=Ge;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",$b,[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(s,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(a,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:l.username,"onUpdate:modelValue":t[0]||(t[0]=S=>l.username=S)},l.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=S=>l.checkValidationStatus(S,"username"))}),null,16,["modelValue"]),o.createVNode(a,o.mergeProps({element:"input",type:"password",modelValue:l.password,"onUpdate:modelValue":t[2]||(t[2]=S=>l.password=S)},l.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=S=>l.checkValidationStatus(S,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",vb,[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((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["prevent"]))},[(m=n.options.forgotPassword.icon)!=null&&m.show&&((u=n.options.forgotPassword.icon)!=null&&u.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",ek,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),l.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...S)=>l.onClick&&l.onClick(...S)),disabled:l.buttonLoginDisabled},[l.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:l.buttonLoginOptions.icon.iconClass,type:l.buttonLoginOptions.icon.iconType,title:l.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),l.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",nk,o.toDisplayString(l.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,tk)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",ok,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=S=>l.checkValidationStatus(S,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=S=>i.sendLoginMail=S)},l.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",rk,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["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",ik,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonSendLoginOptions.primary}]),disabled:l.buttonSendLoginDisabled},[(y=l.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(g=l.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(B=l.buttonSendLoginOptions.icon)==null?void 0:B.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",sk,o.toDisplayString(l.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,lk)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const ck=N(Yb,[["render",ak]]),dk={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 Je(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})}}},mk={key:0,class:"close-nav"},uk=["href","title","target","onClick"],fk={key:1},hk={key:1},pk=["aria-expanded"],gk=["href","title","target","onClick"],yk={key:1},bk={key:1},kk=["aria-expanded"],Ck=["href","title","target","onClick"],wk={key:1},xk={key:1};function Bk(e,t,n,r,i,l){const s=j,a=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",mk,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(s,{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 m,u,p;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(m=d==null?void 0:d.subentries)==null?void 0:m.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>l.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>l.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>l.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",fk,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(u=d==null?void 0:d.subentries)!=null&&u.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,uk)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",hk,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=>l.executeLink(g,f,h,1),onMouseover:t[3]||(t[3]=g=>l.closeAllSubentries(1)),onFocus:t[4]||(t[4]=g=>l.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",yk,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,gk)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",bk,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,B)=>(o.openBlock(),o.createElementBlock("li",{key:B},[g.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:S=>l.executeLink(S,g)},[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",wk,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,Ck)):o.createCommentVNode("",!0),g.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(g),target:g.target},{default:o.withCtx(()=>[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",xk,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,kk)):o.createCommentVNode("",!0)],2)}),128))],8,pk)):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)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(s,{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 jl=N(dk,[["render",Bk]]),_k={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 Je(e)}}},Ek={key:0,class:"number"},Sk={key:2};function Tk(e,t,n,r,i,l){const s=j,a=Ge;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(a,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(m=>l.clickedStep(m,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",Ek,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(s,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",Sk,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 Ok=N(_k,[["render",Tk]]),Nk={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}}},Vk={class:"cmd-newsletter-subscription flex-container"},Fk={class:"button-wrapper"};function Lk(e,t,n,r,i,l){const s=Rl,a=J;return o.openBlock(),o.createElementBlock("fieldset",Vk,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(s,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>l.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(a,{element:"input",type:"email",placeholder:n.cmdFormElementEmail.placeholder,labelText:n.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:n.cmdFormElementEmail.required,useCustomTooltip:n.cmdFormElementEmail.useCustomTooltip,modelValue:l.email,"onUpdate:modelValue":t[1]||(t[1]=d=>l.email=d),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",Fk,[o.createVNode(a,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const Pk=N(Nk,[["render",Lk]]);function ql(e,t,n,r=!0,i=!0){function l(s,a){return a&&s<10?"0"+s:s}return(s,a)=>{if(n){let d=s,c=t;return d>12&&(i||(d-=12),c=n),l(d,r)+e+l(a,!0)+c}return l(s,r)+e+l(a,!0)+t}}const Ak={name:"CmdOpeningHoursItem",mixins:[Z],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):ql(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return K(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=ql(":","","",!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}}},Ik={class:"cmd-opening-hours-item"},Mk={key:0,class:"am"},Dk={key:1,class:"pm"},Rk={class:"flex-container no-flex"},jk={class:"flex-container no-flex am-wrapper"},qk={key:1,class:"input-wrapper"},zk=["title"],Hk={class:"flex-container no-flex pm-wrapper"},Uk={key:1,class:"input-wrapper"},Wk=["title"];function Gk(e,t,n,r,i,l){const s=J;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.createVNode(s,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":t[0]||(t[0]=a=>i.editableDay.day=a)},null,8,["modelValue"])]),o.createElementVNode("dd",Rk,[o.createElementVNode("div",jk,[i.editableDay.amClosed?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":t[1]||(t[1]=a=>i.editableDay.amDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",qk,[o.createVNode(s,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":t[2]||(t[2]=a=>i.editableDay.amFrom=a)},null,8,["modelValue"]),o.createVNode(s,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":t[3]||(t[3]=a=>i.editableDay.amTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(a=>l.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,zk)]),o.createElementVNode("div",Hk,[i.editableDay.pmClosed?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":t[5]||(t[5]=a=>i.editableDay.pmDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Uk,[o.createVNode(s,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":t[6]||(t[6]=a=>i.editableDay.pmFrom=a)},null,8,["modelValue"]),o.createVNode(s,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":t[7]||(t[7]=a=>i.editableDay.pmTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(a=>l.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,Wk)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",Ik,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",Mk,[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(l.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",Dk,[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(l.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Jk=N(Ak,[["render",Gk]]);function Kk(e,t,n,r=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>i(l,r)+e+i(s,!0)+t}const Zk={name:"CmdOpeningHours",mixins:[Z],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(/[:.]/),l=this.openingHours[t].pm.fromTime.split(/[:.]/),s=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(l[0]),mins:parseInt(l[1])},n.pm.tillTime={hours:parseInt(s[0]),mins:parseInt(s[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 l=new Date;if(l.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Be(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):Kk(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return K(this,{update(l,s){l.openingHours=e,l.textOpen=t,l.textClosed=n,l.textHolidays=r,l.textMiscInfo=i;const a=s==null?void 0:s.find(d=>d.name==="CmdHeadline");a&&(l.cmdHeadline=l.cmdHeadline||{},a.update(l.cmdHeadline))}})}}},Xk={class:"cmd-opening-hours"},Qk={key:2,class:"flex-container"},Yk={key:3},$k=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],vk={class:"edit-mode-opening-hours-item"},e0={key:5},t0={key:0},n0={key:1},o0={key:6,class:"flex-container vertical"};function r0(e,t,n,r,i,l){var u,p;const s=z,a=Ge,d=J,c=Jk,m=_e;return o.openBlock(),o.createElementBlock("div",Xk,[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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(a,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:l.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:l.isClosed})},o.toDisplayString(l.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Qk,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>l.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>l.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[l.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>l.onAddItem&&l.onAddItem(...f))},$k)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(l.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(m,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",vk,[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",Yk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.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",e0,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",t0,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",n0,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",o0,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>l.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>l.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const i0=N(Zk,[["render",r0]]),l0={name:"CmdPagination",mixins:[X,{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)}}},s0={class:"cmd-pagination"},a0=["href","title"],c0={key:0},d0={class:"page-index"},m0={class:"flex-container"},u0=["href","title","onClick"],f0=["href","title"],h0={key:0};function p0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("div",s0,[o.createElementVNode("a",{href:l.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.previousPage&&l.previousPage(...a),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(s,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",c0,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,a0),o.createElementVNode("div",d0,[o.createElementVNode("div",m0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(a,d)=>(o.openBlock(),o.createElementBlock("a",{href:l.getHref(a),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=>l.showPage(a),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,u0))),128))])]),o.createElementVNode("a",{href:l.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.nextPage&&l.nextPage(...a),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",h0,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,f0)])}const g0=N(l0,[["render",p0]]),y0={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=Ue(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return K(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},b0={class:"cmd-social-networks-item"},k0=["id","href","title"],C0={key:1};function w0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("li",b0,[(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:l.getUrl(n.network),onClick:t[0]||(t[0]=(...a)=>l.preventOnDisabled&&l.preventOnDisabled(...a)),target:"_blank",title:l.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(s,{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",C0,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,k0))])}const x0=N(y0,[["render",w0]]),B0={name:"CmdSocialNetworks",mixins:[Z],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(Be(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)}}}}},_0=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function E0(e,t,n,r,i,l){var m,u;const s=z,a=J,d=x0,c=_e;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},l.alignment])},[(m=n.cmdHeadline)!=null&&m.headlineText||(u=e.editModeContext)!=null&&u.editing?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(a,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),l.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(l.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(l.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)=>l.onAddItem&&l.onAddItem(...p))},_0))],2)}const zl=N(B0,[["render",E0]]),S0={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")],Fe({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})}}},T0={class:"button-wrapper"},O0=["title"],N0={key:1};function V0(e,t,n,r,i,l){var a,d,c,m;const s=zl;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(s,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",T0,[o.renderSlot(e.$slots,"default"),(a=l.buttonPrintViewOptions)!=null&&a.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:l.buttonPrintViewOptions.primary}]),title:l.buttonPrintViewOptions.text?(d=l.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...u)=>l.showFancyBox&&l.showFancyBox(...u))},[(c=l.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((m=l.buttonPrintViewOptions.icon)==null?void 0:m.iconClass)},null,2)):o.createCommentVNode("",!0),l.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",N0,o.toDisplayString(l.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,O0)):o.createCommentVNode("",!0)])],2)}const F0=N(S0,[["render",V0]]),L0={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},P0={key:0,class:"cmd-page-header flex-container"},A0={key:0,class:"headline-wrapper flex-container vertical"};function I0(e,t,n,r,i,l){const s=Nl,a=z;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",P0,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",A0,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,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 M0=N(L0,[["render",I0]]),D0={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}}},R0=["for"],j0={class:"progressbar"},q0={key:0},z0=["id","value"];function H0(e,t,n,r,i,l){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",j0,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",q0,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,z0)])],8,R0)}const U0=N(D0,[["render",H0]]),W0={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}}},G0={class:"inner-sidebar-wrapper"},J0={key:1,class:"open-slot-wrapper"},K0={key:2,class:"closed-slot-wrapper"},Z0=["title"];function X0(e,t,n,r,i,l){var a;const s=z;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",G0,[(a=n.cmdHeadline)!=null&&a.headlineText&&i.open?(o.openBlock(),o.createBlock(s,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",J0,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",K0,[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)=>l.toggleSidebar&&l.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,Z0)):o.createCommentVNode("",!0)],2)}const Q0=N(W0,[["render",X0]]),Y0={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},$0={class:"cmd-site-footer site-footer"};function v0(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",$0,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const eC=N(Y0,[["render",v0]]),tC={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}}},nC={key:0,class:"top-header"};function oC(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g;const s=Vl,a=jl;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",nC,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:m.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=(u=n.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:l.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(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.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(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const rC=N(tC,[["render",oC]]),iC={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[X,{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}}},lC={class:"cmd-box-site-search flex-container"},sC={class:"flex-container align-bottom"},aC={class:"input-wrapper align-bottom"},cC={key:0},dC={key:1},mC={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function uC(e,t,n,r,i,l){var u,p,f,h,y,g,B,S;const s=z,a=J,d=j,c=Fl,m=Ll;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",lC,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",sC,[o.createVNode(a,{element:"input",type:n.cmdFormElementInput1.type,"show-label":n.cmdFormElementInput1.showLabel,labelText:n.cmdFormElementInput1.labelText,placeholder:n.cmdFormElementInput1.placeholder,required:n.cmdFormElementInput1.required,showSearchButton:n.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=_=>l.searchValue1=_)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",aC,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:n.cmdFormElementInput2.type,"show-label":n.cmdFormElementInput2.showLabel,labelText:n.cmdFormElementInput2.labelText,placeholder:n.cmdFormElementInput2.placeholder,required:n.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=_=>l.searchValue2=_)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),l.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":t[2]||(t[2]=_=>l.radius=_)},l.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(a,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",{class:"filter-options",href:"#",onClick:t[3]||(t[3]=o.withModifiers(_=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(p=(u=n.cmdIcon)==null?void 0:u.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(S=(B=n.cmdIcon)==null?void 0:B.hideFilters)==null?void 0:S.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",cC,o.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",dC,o.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var _,O,L,b,E;return[i.showFilters&&((_=n.cmdFakeSelect)!=null&&_.selectData.length)?(o.openBlock(),o.createElementBlock("div",mC,[o.createVNode(c,{role:"option",selectData:(O=n.cmdFakeSelect)==null?void 0:O.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>l.searchFilters=F),defaultOptionName:(L=n.cmdFakeSelect)==null?void 0:L.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(E=n.cmdFakeSelect)==null?void 0:E.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=_=>l.searchFilters=_),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const fC=N(iC,[["render",uC]]),hC={name:"CmdSlideshow",mixins:[Z],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(Be(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)})}}},pC=["href","title"],gC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],yC={key:2},bC=["onClick","aria-label","title"],kC={key:3,class:"item-counter"};function CC(e,t,n,r,i,l){const s=it,a=Ce;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(s,o.mergeProps({key:0,onClick:o.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,m,u,p,f,h,y,g,B,S,_;return[l.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("+l.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(a,{key:1,image:(S=l.currentItem)==null?void 0:S.image,figcaption:(_=l.currentItem)==null?void 0:_.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=l.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(f=(p=l.currentItem)==null?void 0:p.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:(h=l.currentItem)==null?void 0:h.image,figcaption:(y=l.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,pC)):(o.openBlock(),o.createBlock(a,{key:1,image:(g=l.currentItem)==null?void 0:g.image,figcaption:(B=l.currentItem)==null?void 0:B.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...O)=>l.onAddItem&&l.onAddItem(...O))},gC)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(s,o.mergeProps({key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",yC,[(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(m=>l.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,bC)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",kC,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const wC=N(hC,[["render",CC]]),xC=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"})),BC={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return Je(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(xC[t].default)})},immediate:!0,deep:!0}}},_C={class:"cmd-switch-language"},EC=["href","title","onClick"],SC=["src","alt"],TC=["src","alt"];function OC(e,t,n,r,i,l){const s=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",_C,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[a.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:a.link.path,class:o.normalizeClass(["flag",a.iso2,{active:l.activeLanguage(a)}]),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,SC)],10,EC)):(o.openBlock(),o.createBlock(s,{key:1,class:o.normalizeClass(["flag",a.iso2]),to:l.getRoute(a),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,TC)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const NC=N(BC,[["render",OC]]),VC={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,l=n.scrollLeft;console.log("parentRect",r),e.style.left=`${l}px`,t.style.left=`${i}px`,l===0?e.style.display="none":e.style.display="flex",l===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},FC={key:0,class:"button-wrapper"},LC=["title"],PC=["title"],AC={"aria-expanded":"true"},IC={key:0,"aria-expanded":"true"};function MC(e,t,n,r,i,l){var d,c,m,u;const s=j,a=it;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",FC,[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(s,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,LC)):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(s,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,PC)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...p)=>l.updatePosition&&l.updatePosition(...p))},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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:l.hideCaption})},o.toDisplayString(((m=n.caption)==null?void 0:m.text)||((u=n.tableData.caption)==null?void 0:u.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",AC,[(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",IC,[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(a,{key:1,onClick:o.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const DC=N(VC,[["render",MC]]);Ki({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 tn=(O,o,Oe)=>pP(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}),Go=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 Go)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 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"?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!!Ko(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 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"],an=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?an.push(gt.shift()):an.push(gt.pop());Yo[""]=Qo({resources:["https://api.iconify.design"].concat(an)});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"?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(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 ln={local:!0,session:!0},Ea={local:new Set,session:new Set};let rr=!1;function Th(e){rr=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=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 ln)_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 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){rr||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=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 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 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=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: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={...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 La(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),La({...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 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 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:[$,ar,lr,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.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){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),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 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,L,Be,Ee,Se,_e,Te,P,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},[(L=e.fancyboxOptions.submitButtons.cancel)!=null&&L.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:(P=e.fancyboxOptions.submitButtons.cancel)==null?void 0:P.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],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,$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),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:($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":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((en=n.configuration.city)==null?void 0:en.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ue=n.configuration.city)==null?void 0:ue.required,name:((Df=n.configuration.city)==null?void 0:Df.name)||"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,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.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:[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:[ar,lr,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.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})}}},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=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
|
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 RC={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}}},jC={class:"cmd-tabs"},qC=["onClick","title"],zC={key:1},HC={key:1,"aria-live":"assertive"},UC=["innerHTML"];function WC(e,t,n,r,i,l){const s=j,a=z;return o.openBlock(),o.createElementBlock("div",jC,[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(m=>l.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",zC,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,qC)],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",HC,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,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,UC)]))])}const GC=N(RC,[["render",WC]]),JC={name:"CmdTextImageBlock",mixins:[Z],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,K(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},KC=["innerHTML"],ZC=["innerHTML"],XC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function QC(e,t,n,r,i,l){var c,m,u,p;const s=z,a=Ce,d=_e;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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(a,{key:1,image:(m=n.cmdImage)==null?void 0:m.image,figcaption:(u=n.cmdImage)==null?void 0:u.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",l.setInnerClass])},[((p=n.cmdHeadline)!=null&&p.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(s,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,KC)):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:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",l.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(l.textAlign)},null,10,ZC)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>l.onAddItem&&l.onAddItem(...h))},XC))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const YC=N(JC,[["render",QC]]),$C={name:"ToggleDarkMode",mixins:[Z],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 K(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}}},vC={key:0};function ew(e,t,n,r,i,l){const s=j,a=J;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(a,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>l.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>l.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)=>l.toggleColorScheme&&l.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",vC,o.toDisplayString(l.labelText),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:l.iconClass,type:l.iconType,tooltip:n.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),l.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const tw=N($C,[["render",ew]]),nw={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 Hl(e,t){return function(){return e.apply(t,arguments)}}const{toString:ow}=Object.prototype,{getPrototypeOf:Ao}=Object,Jt=(e=>t=>{const n=ow.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),le=e=>(e=e.toLowerCase(),t=>Jt(t)===e),Kt=e=>t=>typeof t===e,{isArray:Ke}=Array,lt=Kt("undefined");function rw(e){return e!==null&&!lt(e)&&e.constructor!==null&&!lt(e.constructor)&&ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ul=le("ArrayBuffer");function iw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ul(e.buffer),t}const lw=Kt("string"),ee=Kt("function"),Wl=Kt("number"),Zt=e=>e!==null&&typeof e=="object",sw=e=>e===!0||e===!1,Xt=e=>{if(Jt(e)!=="object")return!1;const t=Ao(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},aw=le("Date"),cw=le("File"),dw=le("Blob"),mw=le("FileList"),uw=e=>Zt(e)&&ee(e.pipe),fw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ee(e.append)&&((t=Jt(e))==="formdata"||t==="object"&&ee(e.toString)&&e.toString()==="[object FormData]"))},hw=le("URLSearchParams"),[pw,gw,yw,bw]=["ReadableStream","Request","Response","Headers"].map(le),kw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function st(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ke(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function Gl(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 Jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kl=e=>!lt(e)&&e!==Jl;function Io(){const{caseless:e}=Kl(this)&&this||{},t={},n=(r,i)=>{const l=e&&Gl(t,i)||i;Xt(t[l])&&Xt(r)?t[l]=Io(t[l],r):Xt(r)?t[l]=Io({},r):Ke(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&st(arguments[r],n);return t}const Cw=(e,t,n,{allOwnKeys:r}={})=>(st(t,(i,l)=>{n&&ee(i)?e[l]=Hl(i,n):e[l]=i},{allOwnKeys:r}),e),ww=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xw=(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)},Bw=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ao(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},Ew=e=>{if(!e)return null;if(Ke(e))return e;let t=e.length;if(!Wl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Sw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ao(Uint8Array)),Tw=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Ow=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Nw=le("HTMLFormElement"),Vw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Zl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Fw=le("RegExp"),Xl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};st(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},Lw=e=>{Xl(e,(t,n)=>{if(ee(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ee(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+"'")})}})},Pw=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ke(e)?r(e):r(String(e).split(t)),n},Aw=()=>{},Iw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Mo="abcdefghijklmnopqrstuvwxyz",Ql="0123456789",Yl={DIGIT:Ql,ALPHA:Mo,ALPHA_DIGIT:Mo+Mo.toUpperCase()+Ql},Mw=(e=16,t=Yl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Dw(e){return!!(e&&ee(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Rw=e=>{const t=new Array(10),n=(r,i)=>{if(Zt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ke(r)?[]:{};return st(r,(s,a)=>{const d=n(s,i+1);!lt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},jw=le("AsyncFunction"),k={isArray:Ke,isArrayBuffer:Ul,isBuffer:rw,isFormData:fw,isArrayBufferView:iw,isString:lw,isNumber:Wl,isBoolean:sw,isObject:Zt,isPlainObject:Xt,isReadableStream:pw,isRequest:gw,isResponse:yw,isHeaders:bw,isUndefined:lt,isDate:aw,isFile:cw,isBlob:dw,isRegExp:Fw,isFunction:ee,isStream:uw,isURLSearchParams:hw,isTypedArray:Sw,isFileList:mw,forEach:st,merge:Io,extend:Cw,trim:kw,stripBOM:ww,inherits:xw,toFlatObject:Bw,kindOf:Jt,kindOfTest:le,endsWith:_w,toArray:Ew,forEachEntry:Tw,matchAll:Ow,isHTMLForm:Nw,hasOwnProperty:Zl,hasOwnProp:Zl,reduceDescriptors:Xl,freezeMethods:Lw,toObjectSet:Pw,toCamelCase:Vw,noop:Aw,toFiniteNumber:Iw,findKey:Gl,global:Jl,isContextDefined:Kl,ALPHABET:Yl,generateString:Mw,isSpecCompliantForm:Dw,toJSONObject:Rw,isAsyncFn:jw,isThenable:e=>e&&(Zt(e)||ee(e))&&ee(e.then)&&ee(e.catch)};function A(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)}k.inherits(A,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $l=A.prototype,vl={};["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=>{vl[e]={value:e}}),Object.defineProperties(A,vl),Object.defineProperty($l,"isAxiosError",{value:!0}),A.from=(e,t,n,r,i,l)=>{const s=Object.create($l);return k.toFlatObject(e,s,function(d){return d!==Error.prototype},a=>a!=="isAxiosError"),A.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const qw=null;function Do(e){return k.isPlainObject(e)||k.isArray(e)}function es(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function ts(e,t,n){return e?e.concat(t).map(function(i,l){return i=es(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function zw(e){return k.isArray(e)&&!e.some(Do)}const Hw=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!k.isUndefined(g[y])});const r=n.metaTokens,i=n.visitor||m,l=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(k.isDate(h))return h.toISOString();if(!d&&k.isBlob(h))throw new A("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(h)||k.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,y,g){let B=h;if(h&&!g&&typeof h=="object"){if(k.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(k.isArray(h)&&zw(h)||(k.isFileList(h)||k.endsWith(y,"[]"))&&(B=k.toArray(h)))return y=es(y),B.forEach(function(_,O){!(k.isUndefined(_)||_===null)&&t.append(s===!0?ts([y],O,l):s===null?y:y+"[]",c(_))}),!1}return Do(h)?!0:(t.append(ts(g,y,l),c(h)),!1)}const u=[],p=Object.assign(Hw,{defaultVisitor:m,convertValue:c,isVisitable:Do});function f(h,y){if(!k.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));u.push(h),k.forEach(h,function(B,S){(!(k.isUndefined(B)||B===null)&&i.call(t,B,k.isString(S)?S.trim():S,y,p))===!0&&f(B,y?y.concat(S):[S])}),u.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return f(e),t}function ns(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ro(e,t){this._pairs=[],e&&Qt(e,this,t)}const os=Ro.prototype;os.append=function(t,n){this._pairs.push([t,n])},os.toString=function(t){const n=t?function(r){return t.call(this,r,ns)}:ns;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rs(e,t,n){if(!t)return e;const r=n&&n.encode||Uw,i=n&&n.serialize;let l;if(i?l=i(t,n):l=k.isURLSearchParams(t)?t.toString():new Ro(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class is{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){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ls={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ww={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ro,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},jo=typeof window<"u"&&typeof document<"u",Gw=(e=>jo&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Jw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kw=jo&&window.location.href||"http://localhost",se={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jo,hasStandardBrowserEnv:Gw,hasStandardBrowserWebWorkerEnv:Jw,origin:Kw},Symbol.toStringTag,{value:"Module"})),...Ww};function Zw(e,t){return Qt(e,new se.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return se.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Xw(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qw(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function ss(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&k.isArray(i)?i.length:s,d?(k.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!k.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&k.isArray(i[s])&&(i[s]=Qw(i[s])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(Xw(r),i,n,0)}),n}return null}function Yw(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const at={transitional:ls,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=k.isObject(t);if(l&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(ss(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Zw(t,this.formSerializer).toString();if((a=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Qt(a?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),Yw(t)):t}],transformResponse:[function(t){const n=this.transitional||at.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:se.classes.FormData,Blob:se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{at.headers[e]={}});const $w=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vw=e=>{const t={};let n,r,i;return e&&e.split(`
|
5
|
-
`).forEach(function(
|
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[as]=this[as]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=ct(s);r[a]||(ox(i,s),r[a]=!0)}return k.isArray(t)?t.forEach(l):l(t),this}}Q.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(Q.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),k.freezeMethods(Q);function zo(e,t){const n=this||at,r=t||n,i=Q.from(r.headers);let l=r.data;return k.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function cs(e){return!!(e&&e.__CANCEL__)}function Ze(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Ze,A,{__CANCEL__:!0});function ds(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function rx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ix(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),m=r[l];s||(s=c),n[i]=d,r[i]=c;let u=l,p=0;for(;u!==i;)p+=n[u++],u=u%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s<t)return;const f=m&&c-m;return f?Math.round(p*1e3/f):void 0}}function lx(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 $t=(e,t,n=3)=>{let r=0;const i=ix(50,250);return lx(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},sx=se.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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(s){const a=k.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),ax=se.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),k.isString(r)&&s.push("path="+r),k.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.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 cx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ms(e,t){return e&&!cx(t)?dx(e,t):t}const us=e=>e instanceof Q?{...e}:e;function Le(e,t){t=t||{};const n={};function r(c,m,u){return k.isPlainObject(c)&&k.isPlainObject(m)?k.merge.call({caseless:u},c,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function i(c,m,u){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!k.isUndefined(m))return r(void 0,m)}function s(c,m){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(us(c),us(m),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(m){const u=d[m]||i,p=u(e[m],t[m],m);k.isUndefined(p)&&u!==a||(n[m]=p)}),n}const fs=e=>{const t=Le({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Q.from(s),t.url=rs(ms(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(k.isFormData(n)){if(se.hasStandardBrowserEnv||se.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(se.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&sx(t.url))){const c=i&&l&&ax.read(l);c&&s.set(i,c)}return t},mx=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=fs(e);let l=i.data;const s=Q.from(i.headers).normalize();let{responseType:a}=i,d;function c(){i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function u(){if(!m)return;const f=Q.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:f,config:e,request:m};ds(function(B){n(B),c()},function(B){r(B),c()},y),m=null}"onloadend"in m?m.onloadend=u:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(u)},m.onabort=function(){m&&(r(new A("Request aborted",A.ECONNABORTED,i,m)),m=null)},m.onerror=function(){r(new A("Network Error",A.ERR_NETWORK,i,m)),m=null},m.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const y=i.transitional||ls;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new A(h,y.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,i,m)),m=null},l===void 0&&s.setContentType(null),"setRequestHeader"in m&&k.forEach(s.toJSON(),function(h,y){m.setRequestHeader(y,h)}),k.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),a&&a!=="json"&&(m.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&m.addEventListener("progress",$t(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",$t(i.onUploadProgress)),(i.cancelToken||i.signal)&&(d=f=>{m&&(r(!f||f.type?new Ze(null,e,m):f),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const p=rx(i.url);if(p&&se.protocols.indexOf(p)===-1){r(new A("Unsupported protocol "+p+":",A.ERR_BAD_REQUEST,e));return}m.send(l||null)})},ux=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof A?c:new Ze(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new A(`timeout ${t} of ms exceeded`,A.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=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:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},fx=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},hx=async function*(e,t,n){for await(const r of e)yield*fx(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hs=(e,t,n,r,i)=>{const l=hx(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},ps=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},vt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gs=vt&&typeof ReadableStream=="function",Ho=vt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),px=gs&&(()=>{let e=!1;const t=new Request(se.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),ys=64*1024,Uo=gs&&!!(()=>{try{return k.isReadableStream(new Response("").body)}catch{}})(),en={stream:Uo&&(e=>e.body)};vt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!en[t]&&(en[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new A(`Response type '${t}' is not supported`,A.ERR_NOT_SUPPORT,r)})})})(new Response);const gx=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(k.isArrayBufferView(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await Ho(e)).byteLength},yx=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??gx(t)},Wo={http:qw,xhr:mx,fetch:vt&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=fs(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?ux([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&px&&n!=="get"&&n!=="head"&&(S=await yx(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;k.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=hs(b.body,ys,ps(S,$t(d)),null,Ho))}k.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Uo&&(c==="stream"||c==="response");if(Uo&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=k.toFiniteNumber(_.headers.get("content-length"));_=new Response(hs(_.body,ys,a&&ps(E,$t(a,!0)),O&&B,Ho),b)}c=c||"text";let L=await en[k.findKey(en,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{ds(b,E,{data:L,headers:Q.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new A("Network Error",A.ERR_NETWORK,e,g),{cause:_.cause||_}):A.from(_,_&&_.code,e,g)}})};k.forEach(Wo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bs=e=>`- ${e}`,bx=e=>k.isFunction(e)||e===null||e===!1,ks={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!bx(n)&&(r=Wo[(s=String(n)).toLowerCase()],r===void 0))throw new A(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
|
7
|
-
`+
|
8
|
-
`):" "+
|
9
|
-
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Le(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Ko.assertOptions(r,{silentJSONParsing:Ee.transitional(Ee.boolean),forcedJSONParsing:Ee.transitional(Ee.boolean),clarifyTimeoutError:Ee.transitional(Ee.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Ko.assertOptions(i,{encode:Ee.function,serialize:Ee.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&k.merge(l.common,l[n.method]);l&&k.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Q.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let m,u=0,p;if(!d){const h=[Cs.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Cs.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Le(this.defaults,t);const n=ms(t.baseURL,t.url);return rs(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Pe.prototype[t]=function(n,r){return this.request(Le(r||{},{method:t,url:n,data:(r||{}).data}))}}),k.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(Le(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}Pe.prototype[t]=n(),Pe.prototype[t+"Form"]=n(!0)});class Zo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new Ze(l,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 Zo(function(i){t=i}),cancel:t}}}function Cx(e){return function(n){return e.apply(null,n)}}function wx(e){return k.isObject(e)&&e.isAxiosError===!0}const Xo={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(Xo).forEach(([e,t])=>{Xo[t]=e});function Bs(e){const t=new Pe(e),n=Hl(Pe.prototype.request,t);return k.extend(n,Pe.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bs(Le(e,i))},n}const H=Bs(at);H.Axios=Pe,H.CanceledError=Ze,H.CancelToken=Zo,H.isCancel=cs,H.VERSION=ws,H.toFormData=Qt,H.AxiosError=A,H.Cancel=H.CanceledError,H.all=function(t){return Promise.all(t)},H.spread=Cx,H.isAxiosError=wx,H.mergeConfig=Le,H.AxiosHeaders=Q,H.formToJSON=e=>ss(k.isHTMLForm(e)?new FormData(e):e),H.getAdapter=ks.getAdapter,H.HttpStatusCode=Xo,H.default=H;const xx={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[X,nw],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 We(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(We(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,We(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,We(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(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let 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),H.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]}}}},Bx={key:0},_x={key:1,class:"flex-container vertical"},Ex={key:0,class:"flex-container vertical list-files-wrapper"},Sx={key:0,class:"list-of-files total-files"},Tx={class:"flex-container no-flex"},Ox=["title"],Nx={key:0,class:"progressbar"},Vx=["value","title"],Fx=o.createElementVNode("hr",null,null,-1),Lx={class:"flex-container vertical list-files-wrapper"},Px={class:"list-of-files"},Ax=["title","onClick"],Ix={key:0,class:"progressbar"},Mx=["value","title"],Dx=["title"],Rx=o.createElementVNode("hr",null,null,-1),jx={class:"upload-conditions"},qx={class:"small"},zx=["title"],Hx={key:0,class:"list-of-file-extensions"},Ux={class:"flex-container vertical no-gap"},Wx=["disabled"],Gx={key:0},Jx={key:1},Kx={class:"button-wrapper no-flex"},Zx=["disabled"],Xx={key:0},Qx={key:1},Yx={key:0,class:"progressbar"},$x=["value","title"];function vx(e,t,n,r,i,l){const s=z,a=Lo,d=j,c=J;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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):o.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(o.openBlock(),o.createBlock(a,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:e.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[l.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",Bx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.allSystemMessages,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u},o.toDisplayString(m),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(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(o.openBlock(),o.createElementBlock("div",_x,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",Ex,[o.createVNode(s,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",Sx,[o.createElementVNode("li",Tx,[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:t[0]||(t[0]=o.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,Ox),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&&l.totalSize>n.maxTotalUploadSize}])}," ("+o.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Nx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Vx)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),Fx])):o.createCommentVNode("",!0),o.createElementVNode("div",Lx,[o.createVNode(s,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",Px,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listOfFiles,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:"flex-container no-flex"},[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:o.withModifiers(p=>l.removeFile(u),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,Ax),o.createElementVNode("span",{class:o.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[o.createTextVNode(o.toDisplayString(m.file.name)+" ",1),o.createElementVNode("small",null,"("+o.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(o.openBlock(),o.createElementBlock("span",Ix,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(m.progress)),1),o.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,Mx)])):o.createCommentVNode("",!0)]))),128))]),l.failedUpload?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:e.getMessage("cmduploadform.all_files_will_be_removed")},o.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,Dx)):o.createCommentVNode("",!0),Rx])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.allowMultipleFileUploads?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):o.createCommentVNode("",!0)],64)),o.createElementVNode("div",jx,[n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(s,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(s,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",qx,[n.maxTotalUploadSize>0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",{class:o.normalizeClass({error:l.totalSize>n.maxTotalUploadSize})},o.toDisplayString(e.getMessage("cmduploadform.max_total_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:l.totalSize>n.maxTotalUploadSize}])},o.toDisplayString(l.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(l.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(m=>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,zx),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",Hx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.allowedFileExtensions,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(m),3))),128))])):o.createCommentVNode("",!0)]),_:1},8,["name"])])])]),o.createElementVNode("div",Ux,[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:t[3]||(t[3]=m=>l.selectFiles())},[o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",Gx,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",Jx,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,Wx),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]=m=>i.comment=m),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",Kx,[o.createElementVNode("button",{class:o.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated,onClick:t[5]||(t[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconUpload)),null,16),i.listOfFiles.length===1||!n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",Xx,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",Qx,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,Zx),o.createElementVNode("button",{class:o.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:t[6]||(t[6]=(...m)=>l.cancel&&l.cancel(...m))},[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((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Yx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,$x)])):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},[l.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(l.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:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const eB=N(xx,[["render",vx]]),tB={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}}},nB=["id"],oB=["id"];function rB(e,t,n,r,i,l){const s=z;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(l.setInnerClass),id:n.anchorId},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(l.setInnerClass)},[o.renderSlot(e.$slots,"default")],2))],10,nB)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,oB)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const iB=N(tB,[["render",rB]]),lB={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"]}}},sB={key:1,class:"flex-container"},aB={class:"flex-container vertical"};function cB(e,t,n,r,i,l){const s=Bl,a=bl,d=Il;return l.contactFormOnly?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.basicForm)),null,16)):(o.openBlock(),o.createElementBlock("div",sB,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",aB,[n.cmdAddressData?(o.openBlock(),o.createBlock(a,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 dB=N(lB,[["render",cB]]),mB={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},uB={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function fB(e,t,n,r,i,l){const s=Vo,a=Ol;return o.openBlock(),o.createElementBlock("div",uB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(d)),{default:o.withCtx(m=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.boxes,(u,p)=>(o.openBlock(),o.createBlock(s,o.mergeProps({"use-slots":["box-body"],key:p},u,{rowView:m.rowView}),{default:o.withCtx(()=>[o.createTextVNode(" box "+o.toDisplayString(u),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),o.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const hB=N(mB,[["render",fB]]),pB={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},gB={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function yB(e,t,n,r,i,l){const s=Oo;return o.openBlock(),o.createElementBlock("div",gB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(a,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:d},[o.createVNode(s,{links:a.links,orientation:a.orientation,largeIcons:a.largeIcons,cmdHeadline:a.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),o.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const bB=N(pB,[["render",yB]]),kB={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!")}}},CB={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 wB=Object.defineProperty,xB=(e,t,n)=>t in e?wB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tn=(e,t,n)=>xB(e,typeof t!="symbol"?t+"":t,n);const dt=/^[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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!on(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!on(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!on(a,n)?null:a}return null},on=(e,t)=>e?!!((e.provider===""||e.provider.match(dt))&&(t&&e.prefix===""||e.prefix.match(dt))&&e.name.match(dt)):!1,_s=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ln=Object.freeze({..._s,...rn}),Qo=Object.freeze({...ln,body:"",hidden:!1});function BB(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 Es(e,t){const n=BB(e,t);for(const r in Qo)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 _B(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function EB(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Es(r[a]||i[a],l)}return s(t),n.forEach(s),Es(e,l)}function Ss(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=_B(e);for(const i in r){const l=r[i];l&&(t(i,EB(e,i,l)),n.push(i))}return n}const SB={provider:"",aliases:{},not_found:{},..._s};function Yo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ts(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Yo(e,SB))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(dt)||typeof l.body!="string"||!Yo(l,Qo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(dt)||typeof s!="string"||!n[s]&&!r[s]||!Yo(l,Qo))return null}return t}const Os=Object.create(null);function TB(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ae(e,t){const n=Os[e]||(Os[e]=Object.create(null));return n[t]||(n[t]=TB(e,t))}function $o(e,t){return Ts(t)?Ss(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function OB(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mt=!1;function Ns(e){return typeof e=="boolean"&&(mt=e),mt}function NB(e){const t=typeof e=="string"?nn(e,!0,mt):e;if(t){const n=Ae(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function VB(e,t){const n=nn(e,!0,mt);if(!n)return!1;const r=Ae(n.provider,n.prefix);return OB(r,n.name,t)}function Vs(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mt&&!t&&!e.prefix){let i=!1;return Ts(e)&&(e.prefix="",Ss(e,(l,s)=>{s&&VB(l,s)&&(i=!0)})),i}const n=e.prefix;if(!on({provider:t,prefix:n,name:"a"}))return!1;const r=Ae(t,n);return!!$o(r,e)}const Fs=Object.freeze({width:null,height:null}),Ls=Object.freeze({...Fs,...rn}),FB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,LB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ps(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(FB);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=LB.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function PB(e,t){const n={...ln,...e},r={...Ls,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=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 B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Ps(u,d/c)):(m=s==="auto"?d:s,u=a===null?Ps(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const AB=/\sid="(\S+)"/g,IB="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let MB=0;function DB(e,t=IB){const n=[];let r;for(;r=AB.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(MB++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const vo=Object.create(null);function RB(e,t){vo[e]=t}function er(e){return vo[e]||vo[""]}function tr(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 nr=Object.create(null),sn=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;sn.length>0;)sn.length===1||Math.random()>.5?or.push(sn.shift()):or.push(sn.pop());nr[""]=tr({resources:["https://api.iconify.design"].concat(or)});function jB(e,t){const n=tr(t);return n===null?!1:(nr[e]=n,!0)}function rr(e){return nr[e]}let As=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function qB(e,t){const n=rr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function zB(e){return e===404}const HB=(e,t,n)=>{const r=[],i=qB(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function UB(e){if(typeof e=="string"){const t=rr(e);if(t)return t.path}return"/"}const WB=(e,t,n)=>{if(!As){n("abort",424);return}let r=UB(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;As(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(zB(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},GB={prepare:HB,send:WB};function JB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ae(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Is(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function KB(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Is([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let ZB=0;function XB(e,t,n){const r=ZB++,i=Is.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function QB(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?nn(i,t,n):i;l&&r.push(l)}),r}var YB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function $B(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?L():S());return}if(h(),_(),!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 L(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(L,e.rotate),n(b,t,E.callback)}return setTimeout(L),B}function Ms(e){const t={...YB,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=$B(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Ds(){}const ir=Object.create(null);function vB(e){if(!ir[e]){const t=rr(e);if(!t)return;const n=Ms(t),r={config:t,redundancy:n};ir[e]=r}return ir[e]}function e1(e,t,n){let r,i;if(typeof e=="string"){const l=er(e);if(!l)return n(void 0,424),Ds;i=l.send;const s=vB(e);s&&(r=s.redundancy)}else{const l=tr(e);if(l){r=Ms(l);const s=e.resources?e.resources[0]:"",a=er(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),Ds):r.query(t,i,n)().abort}const Rs="iconify2",ut="iconify",js=ut+"-count",qs=ut+"-version",zs=36e5,t1=168;function lr(e,t){try{return e.getItem(t)}catch{}}function sr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hs(e,t){try{e.removeItem(t)}catch{}}function ar(e,t){return sr(e,js,t.toString())}function cr(e){return parseInt(lr(e,js))||0}const an={local:!0,session:!0},Us={local:new Set,session:new Set};let dr=!1;function n1(e){dr=e}let cn=typeof window>"u"?{}:window;function Ws(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}an[e]=!1}function Gs(e,t){const n=Ws(e);if(!n)return;const r=lr(n,qs);if(r!==Rs){if(r){const a=cr(n);for(let d=0;d<a;d++)Hs(n,ut+d.toString())}sr(n,qs,Rs),ar(n,0);return}const i=Math.floor(Date.now()/zs)-t1,l=a=>{const d=ut+a.toString(),c=lr(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}Hs(n,d)}};let s=cr(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,ar(n,s)):Us[e].add(a))}function Js(){if(!dr){n1(!0);for(const e in an)Gs(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ae(r,i);if(!$o(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function o1(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in an)Gs(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function r1(e,t){dr||Js();function n(r){let i;if(!an[r]||!(i=Ws(r)))return;const l=Us[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=cr(i),!ar(i,s+1))return;const a={cached:Math.floor(Date.now()/zs),provider:e.provider,data:t};return sr(i,ut+s.toString(),JSON.stringify(a))}t.lastModified&&!o1(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ks(){}function i1(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,KB(e)}))}function l1(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 l;!i||!(l=er(n))||l.prepare(n,r,i).forEach(s=>{e1(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=$o(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),r1(e,a)}catch(c){console.error(c)}i1(e)})})}))}const s1=(e,t)=>{const n=QB(e,!0,Ns()),r=JB(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ks)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ae(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ae(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&l1(d,i[c][m])}),t?XB(t,r,l):Ks};function a1(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Fs?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const c1=/[\s,]+/;function d1(e,t){t.split(c1).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function m1(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function u1(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 f1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function h1(e){return'url("data:image/svg+xml,'+f1(e)+'")'}const Zs={...Ls,inline:!1},p1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},g1={display:"inline-block"},mr={backgroundColor:"currentColor"},Xs={backgroundColor:"transparent"},Qs={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ys={webkitMask:mr,mask:mr,background:Xs};for(const e in Ys){const t=Ys[e];for(const n in Qs)t[e+n]=Qs[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 $s(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const vs=(e,t)=>{const n=a1(Zs,t),r={...p1},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&d1(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=m1(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=dn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):Zs[y]===void 0&&(r[y]=g)}}}const d=PB(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=DB(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=u1(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":h1(h),width:$s(c.width),height:$s(c.height),...g1,...f?mr:Xs,...a},o.h("span",r)};if(Ns(!0),RB("",GB),typeof document<"u"&&typeof window<"u"){Js();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"||!Vs(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;jB(n,i)||console.error(r)}catch{console.error(r)}}}}const y1={...ln,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=nn(e,!1,!0))===null)return this.abortLoading(),null;const r=NB(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:s1([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 vs(y1,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),vs({...ln,...t.data},n)}});function b1(){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 k1(){return"cmd-"+b1()}const C1={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||k1()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ur=class oo{constructor(t){tn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,oo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,oo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,oo.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(ur,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),tn(ur,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),tn(ur,"PATTERN_MESSAGE",/^.{2,500}$/);const w1=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(x1,{...e,show:!0}).mount(t)},x1=o.defineComponent({name:"CmdFancyBox",mixins:[C1],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 B1(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 B1(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Vs({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
4
|
+
<path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const 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,Ct=fn("undefined");function L1(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=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 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;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]&&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(hn(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:L1,isFormData:U1,isArrayBufferView:I1,isString:M1,isNumber:ll,isBoolean:R1,isObject:hn,isPlainObject:pn,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: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 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 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||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 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=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]=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=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]=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=Bt(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||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 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
|
+
`+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},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(xt);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 Et=/^[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(Et))&&(t&&e.prefix===""||e.prefix.match(Et))&&e.name.match(Et)):!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(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"?xn(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=xn(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(!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",_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 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,_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 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,_t+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 ea(e,t){return function(){return e.apply(t,arguments)}}const{toString:_1}=Object.prototype,{getPrototypeOf:fr}=Object,mn=(e=>t=>{const n=_1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ae=e=>(e=e.toLowerCase(),t=>mn(t)===e),un=e=>t=>typeof t===e,{isArray:Xe}=Array,ft=un("undefined");function E1(e){return e!==null&&!ft(e)&&e.constructor!==null&&!ft(e.constructor)&&te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ta=ae("ArrayBuffer");function S1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ta(e.buffer),t}const T1=un("string"),te=un("function"),na=un("number"),fn=e=>e!==null&&typeof e=="object",O1=e=>e===!0||e===!1,hn=e=>{if(mn(e)!=="object")return!1;const t=fr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},N1=ae("Date"),V1=ae("File"),F1=ae("Blob"),L1=ae("FileList"),P1=e=>fn(e)&&te(e.pipe),A1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||te(e.append)&&((t=mn(e))==="formdata"||t==="object"&&te(e.toString)&&e.toString()==="[object FormData]"))},I1=ae("URLSearchParams"),[M1,D1,R1,j1]=["ReadableStream","Request","Response","Headers"].map(ae),q1=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]),Xe(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function oa(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 ra=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ia=e=>!ft(e)&&e!==ra;function hr(){const{caseless:e}=ia(this)&&this||{},t={},n=(r,i)=>{const l=e&&oa(t,i)||i;hn(t[l])&&hn(r)?t[l]=hr(t[l],r):hn(r)?t[l]=hr({},r):Xe(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ht(arguments[r],n);return t}const z1=(e,t,n,{allOwnKeys:r}={})=>(ht(t,(i,l)=>{n&&te(i)?e[l]=ea(i,n):e[l]=i},{allOwnKeys:r}),e),H1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),U1=(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)},W1=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&fr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},G1=(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},J1=e=>{if(!e)return null;if(Xe(e))return e;let t=e.length;if(!na(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},K1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fr(Uint8Array)),Z1=(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])}},X1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Q1=ae("HTMLFormElement"),Y1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),la=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$1=ae("RegExp"),sa=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ht(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},v1=e=>{sa(e,(t,n)=>{if(te(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(te(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+"'")})}})},e_=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Xe(e)?r(e):r(String(e).split(t)),n},t_=()=>{},n_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pr="abcdefghijklmnopqrstuvwxyz",aa="0123456789",ca={DIGIT:aa,ALPHA:pr,ALPHA_DIGIT:pr+pr.toUpperCase()+aa},o_=(e=16,t=ca.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function r_(e){return!!(e&&te(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const i_=e=>{const t=new Array(10),n=(r,i)=>{if(fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Xe(r)?[]:{};return ht(r,(s,a)=>{const d=n(s,i+1);!ft(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},l_=ae("AsyncFunction"),s_=e=>e&&(fn(e)||te(e))&&te(e.then)&&te(e.catch),C={isArray:Xe,isArrayBuffer:ta,isBuffer:E1,isFormData:A1,isArrayBufferView:S1,isString:T1,isNumber:na,isBoolean:O1,isObject:fn,isPlainObject:hn,isReadableStream:M1,isRequest:D1,isResponse:R1,isHeaders:j1,isUndefined:ft,isDate:N1,isFile:V1,isBlob:F1,isRegExp:$1,isFunction:te,isStream:P1,isURLSearchParams:I1,isTypedArray:K1,isFileList:L1,forEach:ht,merge:hr,extend:z1,trim:q1,stripBOM:H1,inherits:U1,toFlatObject:W1,kindOf:mn,kindOfTest:ae,endsWith:G1,toArray:J1,forEachEntry:Z1,matchAll:X1,isHTMLForm:Q1,hasOwnProperty:la,hasOwnProp:la,reduceDescriptors:sa,freezeMethods:v1,toObjectSet:e_,toCamelCase:Y1,noop:t_,toFiniteNumber:n_,findKey:oa,global:ra,isContextDefined:ia,ALPHABET:ca,generateString:o_,isSpecCompliantForm:r_,toJSONObject:i_,isAsyncFn:l_,isThenable:s_};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)}C.inherits(I,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const da=I.prototype,ma={};["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=>{ma[e]={value:e}}),Object.defineProperties(I,ma),Object.defineProperty(da,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,l)=>{const s=Object.create(da);return C.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),I.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const a_=null;function gr(e){return C.isPlainObject(e)||C.isArray(e)}function ua(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function fa(e,t,n){return e?e.concat(t).map(function(r,i){return r=ua(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function c_(e){return C.isArray(e)&&!e.some(gr)}const d_=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function pn(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!C.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(C.isDate(f))return f.toISOString();if(!a&&C.isBlob(f))throw new I("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(f)||C.isTypedArray(f)?a&&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(C.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(C.isArray(f)&&c_(f)||(C.isFileList(f)||C.endsWith(h,"[]"))&&(g=C.toArray(f)))return h=ua(h),g.forEach(function(B,S){!(C.isUndefined(B)||B===null)&&t.append(s===!0?fa([h],S,l):s===null?h:h+"[]",d(B))}),!1}return gr(f)?!0:(t.append(fa(y,h,l),d(f)),!1)}const m=[],u=Object.assign(d_,{defaultVisitor:c,convertValue:d,isVisitable:gr});function p(f,h){if(!C.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),C.forEach(f,function(y,g){(!(C.isUndefined(y)||y===null)&&i.call(t,y,C.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ha(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function yr(e,t){this._pairs=[],e&&pn(e,this,t)}const pa=yr.prototype;pa.append=function(e,t){this._pairs.push([e,t])},pa.toString=function(e){const t=e?function(n){return e.call(this,n,ha)}:ha;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function m_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ga(e,t,n){if(!t)return e;const r=n&&n.encode||m_,i=n&&n.serialize;let l;if(i?l=i(t,n):l=C.isURLSearchParams(t)?t.toString():new yr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ya{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){C.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u_=typeof URLSearchParams<"u"?URLSearchParams:yr,f_=typeof FormData<"u"?FormData:null,h_=typeof Blob<"u"?Blob:null,p_={isBrowser:!0,classes:{URLSearchParams:u_,FormData:f_,Blob:h_},protocols:["http","https","file","blob","url","data"]},br=typeof window<"u"&&typeof document<"u",g_=(e=>br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),y_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",b_=br&&window.location.href||"http://localhost",k_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:br,hasStandardBrowserEnv:g_,hasStandardBrowserWebWorkerEnv:y_,origin:b_},Symbol.toStringTag,{value:"Module"})),ce={...k_,...p_};function C_(e,t){return pn(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ce.isNode&&C.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function w_(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function x_(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function ka(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&C.isArray(i)?i.length:s,d?(C.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!C.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&C.isArray(i[s])&&(i[s]=x_(i[s])),!a)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(r,i)=>{t(w_(r),i,n,0)}),n}return null}function B_(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const pt={transitional:ba,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=C.isObject(e);if(i&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return r?JSON.stringify(ka(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return C_(e,this.formSerializer).toString();if((l=C.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return pn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),B_(e)):e}],transformResponse:[function(e){const t=this.transitional||pt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?I.from(l,I.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData: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}}};C.forEach(["delete","get","head","post","put","patch"],e=>{pt.headers[e]={}});const __=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),E_=e=>{const t={};let n,r,i;return e&&e.split(`
|
13
|
-
`).forEach(function(
|
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[Ca]=this[Ca]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=gt(l);n[s]||(N_(r,l),n[s]=!0)}return C.isArray(t)?t.forEach(i):i(t),this}}Y.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(Y.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),C.freezeMethods(Y);function Cr(e,t){const n=this||pt,r=t||n,i=Y.from(r.headers);let l=r.data;return C.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function wa(e){return!!(e&&e.__CANCEL__)}function Qe(e,t,n){I.call(this,e??"canceled",I.ERR_CANCELED,t,n),this.name="CanceledError"}C.inherits(Qe,I,{__CANCEL__:!0});function xa(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 V_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function F_(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function L_(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const yn=(e,t,n=3)=>{let r=0;const i=F_(50,250);return L_(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},P_=ce.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{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 l=C.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),A_=ce.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];C.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),C.isString(r)&&s.push("path="+r),C.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.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 I_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ba(e,t){return e&&!I_(t)?M_(e,t):t}const _a=e=>e instanceof Y?{...e}:e;function Ie(e,t){t=t||{};const n={};function r(c,m,u){return C.isPlainObject(c)&&C.isPlainObject(m)?C.merge.call({caseless:u},c,m):C.isPlainObject(m)?C.merge({},m):C.isArray(m)?m.slice():m}function i(c,m,u){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!C.isUndefined(m))return r(void 0,m)}function s(c,m){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(_a(c),_a(m),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);C.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Ea=e=>{const t=Ie({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Y.from(s),t.url=ga(Ba(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(C.isFormData(n)){if(ce.hasStandardBrowserEnv||ce.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(ce.hasStandardBrowserEnv&&(r&&C.isFunction(r)&&(r=r(t)),r||r!==!1&&P_(t.url))){const c=i&&l&&A_.read(l);c&&s.set(i,c)}return t},D_=typeof XMLHttpRequest<"u",R_=D_&&function(e){return new Promise(function(t,n){const r=Ea(e);let i=r.data;const l=Y.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=Y.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};xa(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new I("Request aborted",I.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new I("Network Error",I.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||ba;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new I(p,f.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&C.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),C.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",yn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",yn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new Qe(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=V_(r.url);if(u&&ce.protocols.indexOf(u)===-1){n(new I("Unsupported protocol "+u+":",I.ERR_BAD_REQUEST,e));return}c.send(i||null)})},j_=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof I?c:new Qe(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new I(`timeout ${t} of ms exceeded`,I.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=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:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},q_=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},z_=async function*(e,t,n){for await(const r of e)yield*q_(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Sa=(e,t,n,r,i)=>{const l=z_(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Ta=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},bn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oa=bn&&typeof ReadableStream=="function",wr=bn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),H_=Oa&&(()=>{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})(),Na=64*1024,xr=Oa&&!!(()=>{try{return C.isReadableStream(new Response("").body)}catch{}})(),kn={stream:xr&&(e=>e.body)};bn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kn[t]&&(kn[t]=C.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 U_=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(C.isArrayBufferView(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await wr(e)).byteLength},W_=async(e,t)=>C.toFiniteNumber(e.getContentLength())??U_(t),G_=bn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Ea(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?j_([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&H_&&n!=="get"&&n!=="head"&&(S=await W_(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;C.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Sa(b.body,Na,Ta(S,yn(d)),null,wr))}C.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=xr&&(c==="stream"||c==="response");if(xr&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=C.toFiniteNumber(_.headers.get("content-length"));_=new Response(Sa(_.body,Na,a&&Ta(E,yn(a,!0)),O&&B,wr),b)}c=c||"text";let L=await kn[C.findKey(kn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{xa(b,E,{data:L,headers:Y.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:_.cause||_}):I.from(_,_&&_.code,e,g)}}),Br={http:a_,xhr:R_,fetch:G_};C.forEach(Br,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Va=e=>`- ${e}`,J_=e=>C.isFunction(e)||e===null||e===!1,Fa={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!J_(n)&&(r=Br[(s=String(n)).toLowerCase()],r===void 0))throw new I(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
|
15
|
-
`+
|
16
|
-
`):" "+
|
17
|
-
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ie(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Sr.assertOptions(r,{silentJSONParsing:Se.transitional(Se.boolean),forcedJSONParsing:Se.transitional(Se.boolean),clarifyTimeoutError:Se.transitional(Se.boolean)},!1),i!=null&&(C.isFunction(i)?n.paramsSerializer={serialize:i}:Sr.assertOptions(i,{encode:Se.function,serialize:Se.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&C.merge(l.common,l[n.method]);l&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Y.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[La.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=La.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Ie(this.defaults,t);const n=Ba(t.baseURL,t.url);return ga(n,t.params,t.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(t,n){return this.request(Ie(n||{},{method:e,url:t,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Ie(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Me.prototype[e]=t(),Me.prototype[e+"Form"]=t(!0)});class Tr{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 l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new Qe(i,l,s),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 Tr(function(n){t=n}),cancel:t}}}function Z_(e){return function(t){return e.apply(null,t)}}function X_(e){return C.isObject(e)&&e.isAxiosError===!0}const Or={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(Or).forEach(([e,t])=>{Or[t]=e});function Ia(e){const t=new Me(e),n=ea(Me.prototype.request,t);return C.extend(n,Me.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ia(Ie(e,r))},n}const U=Ia(pt);U.Axios=Me,U.CanceledError=Qe,U.CancelToken=Tr,U.isCancel=wa,U.VERSION=Pa,U.toFormData=pn,U.AxiosError=I,U.Cancel=U.CanceledError,U.all=function(e){return Promise.all(e)},U.spread=Z_,U.isAxiosError=X_,U.mergeConfig=Ie,U.AxiosHeaders=Y,U.formToJSON=e=>ka(C.isHTMLForm(e)?new FormData(e):e),U.getAdapter=Fa.getAdapter,U.HttpStatusCode=Or,U.default=U;var Q_=Object.defineProperty,Y_=(e,t,n)=>t in e?Q_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t,n)=>Y_(e,typeof t!="symbol"?t+"":t,n);const yt=/^[a-z0-9]+(-[a-z0-9]+)*$/,wn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!xn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!xn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!xn(a,n)?null:a}return null},xn=(e,t)=>e?!!((e.provider===""||e.provider.match(yt))&&(t&&e.prefix===""||e.prefix.match(yt))&&e.name.match(yt)):!1,Ma=Object.freeze({left:0,top:0,width:16,height:16}),Bn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_n=Object.freeze({...Ma,...Bn}),Nr=Object.freeze({..._n,body:"",hidden:!1});function $_(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 Da(e,t){const n=$_(e,t);for(const r in Nr)r in Bn?r in e&&!(r in n)&&(n[r]=Bn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function v_(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function eE(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Da(r[a]||i[a],l)}return s(t),n.forEach(s),Da(e,l)}function Ra(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=v_(e);for(const i in r){const l=r[i];l&&(t(i,eE(e,i,l)),n.push(i))}return n}const tE={provider:"",aliases:{},not_found:{},...Ma};function Vr(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ja(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Vr(e,tE))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(yt)||typeof l.body!="string"||!Vr(l,Nr))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(yt)||typeof s!="string"||!n[s]&&!r[s]||!Vr(l,Nr))return null}return t}const qa=Object.create(null);function nE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function De(e,t){const n=qa[e]||(qa[e]=Object.create(null));return n[t]||(n[t]=nE(e,t))}function Fr(e,t){return ja(t)?Ra(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function oE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let bt=!1;function za(e){return typeof e=="boolean"&&(bt=e),bt}function rE(e){const t=typeof e=="string"?wn(e,!0,bt):e;if(t){const n=De(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function iE(e,t){const n=wn(e,!0,bt);if(!n)return!1;const r=De(n.provider,n.prefix);return oE(r,n.name,t)}function Ha(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),bt&&!t&&!e.prefix){let i=!1;return ja(e)&&(e.prefix="",Ra(e,(l,s)=>{s&&iE(l,s)&&(i=!0)})),i}const n=e.prefix;if(!xn({provider:t,prefix:n,name:"a"}))return!1;const r=De(t,n);return!!Fr(r,e)}const Ua=Object.freeze({width:null,height:null}),Wa=Object.freeze({...Ua,...Bn}),lE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ga(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(lE);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=sE.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function aE(e,t){const n={..._n,...e},r={...Wa,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=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 B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Ga(u,d/c)):(m=s==="auto"?d:s,u=a===null?Ga(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const cE=/\sid="(\S+)"/g,dE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let mE=0;function uE(e,t=dE){const n=[];let r;for(;r=cE.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(mE++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const Lr=Object.create(null);function fE(e,t){Lr[e]=t}function Pr(e){return Lr[e]||Lr[""]}function Ar(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 Ir=Object.create(null),En=["https://api.simplesvg.com","https://api.unisvg.com"],Mr=[];for(;En.length>0;)En.length===1||Math.random()>.5?Mr.push(En.shift()):Mr.push(En.pop());Ir[""]=Ar({resources:["https://api.iconify.design"].concat(Mr)});function hE(e,t){const n=Ar(t);return n===null?!1:(Ir[e]=n,!0)}function Dr(e){return Ir[e]}let Ja=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function pE(e,t){const n=Dr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function gE(e){return e===404}const yE=(e,t,n)=>{const r=[],i=pE(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function bE(e){if(typeof e=="string"){const t=Dr(e);if(t)return t.path}return"/"}const kE=(e,t,n)=>{if(!Ja){n("abort",424);return}let r=bE(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Ja(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(gE(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},CE={prepare:yE,send:kE};function wE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=De(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Ka(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function xE(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Ka([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let BE=0;function _E(e,t,n){const r=BE++,i=Ka.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function EE(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?wn(i,t,n):i;l&&r.push(l)}),r}var SE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function TE(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?L():S());return}if(h(),_(),!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 L(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(L,e.rotate),n(b,t,E.callback)}return setTimeout(L),B}function Za(e){const t={...SE,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=TE(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Xa(){}const Rr=Object.create(null);function OE(e){if(!Rr[e]){const t=Dr(e);if(!t)return;const n=Za(t),r={config:t,redundancy:n};Rr[e]=r}return Rr[e]}function NE(e,t,n){let r,i;if(typeof e=="string"){const l=Pr(e);if(!l)return n(void 0,424),Xa;i=l.send;const s=OE(e);s&&(r=s.redundancy)}else{const l=Ar(e);if(l){r=Za(l);const s=e.resources?e.resources[0]:"",a=Pr(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),Xa):r.query(t,i,n)().abort}const Qa="iconify2",kt="iconify",Ya=kt+"-count",$a=kt+"-version",va=36e5,VE=168;function jr(e,t){try{return e.getItem(t)}catch{}}function qr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ec(e,t){try{e.removeItem(t)}catch{}}function zr(e,t){return qr(e,Ya,t.toString())}function Hr(e){return parseInt(jr(e,Ya))||0}const Sn={local:!0,session:!0},tc={local:new Set,session:new Set};let Ur=!1;function FE(e){Ur=e}let Tn=typeof window>"u"?{}:window;function nc(e){const t=e+"Storage";try{if(Tn&&Tn[t]&&typeof Tn[t].length=="number")return Tn[t]}catch{}Sn[e]=!1}function oc(e,t){const n=nc(e);if(!n)return;const r=jr(n,$a);if(r!==Qa){if(r){const a=Hr(n);for(let d=0;d<a;d++)ec(n,kt+d.toString())}qr(n,$a,Qa),zr(n,0);return}const i=Math.floor(Date.now()/va)-VE,l=a=>{const d=kt+a.toString(),c=jr(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}ec(n,d)}};let s=Hr(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,zr(n,s)):tc[e].add(a))}function rc(){if(!Ur){FE(!0);for(const e in Sn)oc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=De(r,i);if(!Fr(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function LE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Sn)oc(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function PE(e,t){Ur||rc();function n(r){let i;if(!Sn[r]||!(i=nc(r)))return;const l=tc[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=Hr(i),!zr(i,s+1))return;const a={cached:Math.floor(Date.now()/va),provider:e.provider,data:t};return qr(i,kt+s.toString(),JSON.stringify(a))}t.lastModified&&!LE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function ic(){}function AE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,xE(e)}))}function IE(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 l;!i||!(l=Pr(n))||l.prepare(n,r,i).forEach(s=>{NE(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Fr(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),PE(e,a)}catch(c){console.error(c)}AE(e)})})}))}const ME=(e,t)=>{const n=EE(e,!0,za()),r=wE(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,ic)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(De(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=De(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&IE(d,i[c][m])}),t?_E(t,r,l):ic};function DE(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Ua?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const RE=/[\s,]+/;function jE(e,t){t.split(RE).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function qE(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function zE(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function HE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function UE(e){return'url("data:image/svg+xml,'+HE(e)+'")'}const lc={...Wa,inline:!1},WE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},GE={display:"inline-block"},Wr={backgroundColor:"currentColor"},sc={backgroundColor:"transparent"},ac={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cc={webkitMask:Wr,mask:Wr,background:sc};for(const e in cc){const t=cc[e];for(const n in ac)t[e+n]=ac[n]}const On={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";On[e+"-flip"]=t,On[e.slice(0,1)+"-flip"]=t,On[e+"Flip"]=t});function dc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const mc=(e,t)=>{const n=DE(lc,t),r={...WE},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&jE(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=qE(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=On[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):lc[y]===void 0&&(r[y]=g)}}}const d=aE(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=uE(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=zE(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":UE(h),width:dc(c.width),height:dc(c.height),...GE,...f?Wr:sc,...a},o.h("span",r)};if(za(!0),fE("",CE),typeof document<"u"&&typeof window<"u"){rc();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"||!Ha(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;hE(n,i)||console.error(r)}catch{console.error(r)}}}}const JE={..._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=wn(e,!1,!0))===null)return this.abortLoading(),null;const r=rE(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:ME([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 mc(JE,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),mc({..._n,...t.data},n)}});function KE(){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 ZE(){return"cmd-"+KE()}const XE={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||ZE()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Gr=class ro{constructor(t){Cn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,ro.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,ro.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,ro.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,""]}};Cn(Gr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Cn(Gr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Cn(Gr,"PATTERN_MESSAGE",/^.{2,500}$/);const QE=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(YE,{...e,show:!0}).mount(t)},YE=o.defineComponent({name:"CmdFancyBox",mixins:[XE],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 $E(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 $E(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Ha({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
12
|
+
<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,Tt=Fn("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_=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 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},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 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&&(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: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: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 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 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||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 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=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]=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=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]=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=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 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
|
+
`+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},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(Nt);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 Ft=/^[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(Ft))&&(t&&e.prefix===""||e.prefix.match(Ft))&&e.name.match(Ft)):!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(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 PT(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 LT(e){const t=typeof e=="string"?qn(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=qn(e,!0,At);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||""),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(!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",Pt="iconify",pd=Pt+"-count",gd=Pt+"-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,Pt+d.toString())}Si(n,gd,hd),_i(n,0);return}const i=Math.floor(Date.now()/yd)-s2,s=l=>{const d=Pt+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,Pt+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 uc(e,t){return function(){return e.apply(t,arguments)}}const{toString:vE}=Object.prototype,{getPrototypeOf:Jr}=Object,Nn=(e=>t=>{const n=vE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),de=e=>(e=e.toLowerCase(),t=>Nn(t)===e),Vn=e=>t=>typeof t===e,{isArray:Ye}=Array,Ct=Vn("undefined");function eS(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fc=de("ArrayBuffer");function tS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fc(e.buffer),t}const nS=Vn("string"),ne=Vn("function"),hc=Vn("number"),Fn=e=>e!==null&&typeof e=="object",oS=e=>e===!0||e===!1,Ln=e=>{if(Nn(e)!=="object")return!1;const t=Jr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rS=de("Date"),iS=de("File"),lS=de("Blob"),sS=de("FileList"),aS=e=>Fn(e)&&ne(e.pipe),cS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ne(e.append)&&((t=Nn(e))==="formdata"||t==="object"&&ne(e.toString)&&e.toString()==="[object FormData]"))},dS=de("URLSearchParams"),[mS,uS,fS,hS]=["ReadableStream","Request","Response","Headers"].map(de),pS=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]),Ye(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function pc(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 gc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yc=e=>!Ct(e)&&e!==gc;function Kr(){const{caseless:e}=yc(this)&&this||{},t={},n=(r,i)=>{const l=e&&pc(t,i)||i;Ln(t[l])&&Ln(r)?t[l]=Kr(t[l],r):Ln(r)?t[l]=Kr({},r):Ye(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wt(arguments[r],n);return t}const gS=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,l)=>{n&&ne(i)?e[l]=uc(i,n):e[l]=i},{allOwnKeys:r}),e),yS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bS=(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)},kS=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Jr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},CS=(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},wS=e=>{if(!e)return null;if(Ye(e))return e;let t=e.length;if(!hc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Jr(Uint8Array)),BS=(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},ES=de("HTMLFormElement"),SS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),bc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),TS=de("RegExp"),kc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wt(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},OS=e=>{kc(e,(t,n)=>{if(ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ne(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+"'")})}})},NS=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ye(e)?r(e):r(String(e).split(t)),n},VS=()=>{},FS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Zr="abcdefghijklmnopqrstuvwxyz",Cc="0123456789",wc={DIGIT:Cc,ALPHA:Zr,ALPHA_DIGIT:Zr+Zr.toUpperCase()+Cc},LS=(e=16,t=wc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function PS(e){return!!(e&&ne(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AS=e=>{const t=new Array(10),n=(r,i)=>{if(Fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ye(r)?[]:{};return wt(r,(s,a)=>{const d=n(s,i+1);!Ct(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},IS=de("AsyncFunction"),MS=e=>e&&(Fn(e)||ne(e))&&ne(e.then)&&ne(e.catch),w={isArray:Ye,isArrayBuffer:fc,isBuffer:eS,isFormData:cS,isArrayBufferView:tS,isString:nS,isNumber:hc,isBoolean:oS,isObject:Fn,isPlainObject:Ln,isReadableStream:mS,isRequest:uS,isResponse:fS,isHeaders:hS,isUndefined:Ct,isDate:rS,isFile:iS,isBlob:lS,isRegExp:TS,isFunction:ne,isStream:aS,isURLSearchParams:dS,isTypedArray:xS,isFileList:sS,forEach:wt,merge:Kr,extend:gS,trim:pS,stripBOM:yS,inherits:bS,toFlatObject:kS,kindOf:Nn,kindOfTest:de,endsWith:CS,toArray:wS,forEachEntry:BS,matchAll:_S,isHTMLForm:ES,hasOwnProperty:bc,hasOwnProp:bc,reduceDescriptors:kc,freezeMethods:OS,toObjectSet:NS,toCamelCase:SS,noop:VS,toFiniteNumber:FS,findKey:pc,global:gc,isContextDefined:yc,ALPHABET:wc,generateString:LS,isSpecCompliantForm:PS,toJSONObject:AS,isAsyncFn:IS,isThenable:MS};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)}w.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:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const xc=M.prototype,Bc={};["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=>{Bc[e]={value:e}}),Object.defineProperties(M,Bc),Object.defineProperty(xc,"isAxiosError",{value:!0}),M.from=(e,t,n,r,i,l)=>{const s=Object.create(xc);return w.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),M.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const DS=null;function Xr(e){return w.isPlainObject(e)||w.isArray(e)}function _c(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Ec(e,t,n){return e?e.concat(t).map(function(r,i){return r=_c(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function RS(e){return w.isArray(e)&&!e.some(Xr)}const jS=w.toFlatObject(w,{},null,function(e){return/^is[A-Z]/.test(e)});function Pn(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(f,h){return!w.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(w.isDate(f))return f.toISOString();if(!a&&w.isBlob(f))throw new M("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(f)||w.isTypedArray(f)?a&&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(w.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(w.isArray(f)&&RS(f)||(w.isFileList(f)||w.endsWith(h,"[]"))&&(g=w.toArray(f)))return h=_c(h),g.forEach(function(B,S){!(w.isUndefined(B)||B===null)&&t.append(s===!0?Ec([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Xr(f)?!0:(t.append(Ec(y,h,l),d(f)),!1)}const m=[],u=Object.assign(jS,{defaultVisitor:c,convertValue:d,isVisitable:Xr});function p(f,h){if(!w.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),w.forEach(f,function(y,g){(!(w.isUndefined(y)||y===null)&&i.call(t,y,w.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Sc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Qr(e,t){this._pairs=[],e&&Pn(e,this,t)}const Tc=Qr.prototype;Tc.append=function(e,t){this._pairs.push([e,t])},Tc.toString=function(e){const t=e?function(n){return e.call(this,n,Sc)}:Sc;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function qS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Oc(e,t,n){if(!t)return e;const r=n&&n.encode||qS,i=n&&n.serialize;let l;if(i?l=i(t,n):l=w.isURLSearchParams(t)?t.toString():new Qr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Nc{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(n){n!==null&&t(n)})}}const Vc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zS=typeof URLSearchParams<"u"?URLSearchParams:Qr,HS=typeof FormData<"u"?FormData:null,US=typeof Blob<"u"?Blob:null,WS={isBrowser:!0,classes:{URLSearchParams:zS,FormData:HS,Blob:US},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",GS=(e=>Yr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),JS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",KS=Yr&&window.location.href||"http://localhost",ZS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:GS,hasStandardBrowserWebWorkerEnv:JS,origin:KS},Symbol.toStringTag,{value:"Module"})),me={...ZS,...WS};function XS(e,t){return Pn(e,new me.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return me.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function QS(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function YS(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function Fc(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&w.isArray(i)?i.length:s,d?(w.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!w.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&w.isArray(i[s])&&(i[s]=YS(i[s])),!a)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(QS(r),i,n,0)}),n}return null}function $S(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(0,JSON.stringify)(e)}const xt={transitional:Vc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=w.isObject(e);if(i&&w.isHTMLForm(e)&&(e=new FormData(e)),w.isFormData(e))return r?JSON.stringify(Fc(e)):e;if(w.isArrayBuffer(e)||w.isBuffer(e)||w.isStream(e)||w.isFile(e)||w.isBlob(e)||w.isReadableStream(e))return e;if(w.isArrayBufferView(e))return e.buffer;if(w.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return XS(e,this.formSerializer).toString();if((l=w.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Pn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),$S(e)):e}],transformResponse:[function(e){const t=this.transitional||xt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(w.isResponse(e)||w.isReadableStream(e))return e;if(e&&w.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<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 vS=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"]),e2=e=>{const t={};let n,r,i;return e&&e.split(`
|
21
|
-
`).forEach(function(
|
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[Lc]=this[Lc]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Bt(l);n[s]||(r2(r,l),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods($);function vr(e,t){const n=this||xt,r=t||n,i=$.from(r.headers);let l=r.data;return w.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Pc(e){return!!(e&&e.__CANCEL__)}function $e(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits($e,M,{__CANCEL__:!0});function Ac(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 i2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function s2(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const In=(e,t,n=3)=>{let r=0;const i=l2(50,250);return s2(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},a2=me.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{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 l=w.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),c2=me.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),w.isString(r)&&s.push("path="+r),w.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.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 d2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function m2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ic(e,t){return e&&!d2(t)?m2(e,t):t}const Mc=e=>e instanceof $?{...e}:e;function Re(e,t){t=t||{};const n={};function r(c,m,u){return w.isPlainObject(c)&&w.isPlainObject(m)?w.merge.call({caseless:u},c,m):w.isPlainObject(m)?w.merge({},m):w.isArray(m)?m.slice():m}function i(c,m,u){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!w.isUndefined(m))return r(void 0,m)}function s(c,m){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Mc(c),Mc(m),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);w.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Dc=e=>{const t=Re({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=$.from(s),t.url=Oc(Ic(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(w.isFormData(n)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(me.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&a2(t.url))){const c=i&&l&&c2.read(l);c&&s.set(i,c)}return t},u2=typeof XMLHttpRequest<"u",f2=u2&&function(e){return new Promise(function(t,n){const r=Dc(e);let i=r.data;const l=$.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=$.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Ac(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},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||Vc;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new M(p,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&w.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),w.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",In(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",In(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new $e(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=i2(r.url);if(u&&me.protocols.indexOf(u)===-1){n(new M("Unsupported protocol "+u+":",M.ERR_BAD_REQUEST,e));return}c.send(i||null)})},h2=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof M?c:new $e(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new M(`timeout ${t} of ms exceeded`,M.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=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:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},p2=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},g2=async function*(e,t,n){for await(const r of e)yield*p2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Rc=(e,t,n,r,i)=>{const l=g2(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},jc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Mn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qc=Mn&&typeof ReadableStream=="function",ei=Mn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),y2=qc&&(()=>{let e=!1;const t=new Request(me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),zc=64*1024,ti=qc&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),Dn={stream:ti&&(e=>e.body)};Mn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Dn[t]&&(Dn[t]=w.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 b2=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 ei(e)).byteLength},k2=async(e,t)=>w.toFiniteNumber(e.getContentLength())??b2(t),C2=Mn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Dc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?h2([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&y2&&n!=="get"&&n!=="head"&&(S=await k2(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;w.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Rc(b.body,zc,jc(S,In(d)),null,ei))}w.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=ti&&(c==="stream"||c==="response");if(ti&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=w.toFiniteNumber(_.headers.get("content-length"));_=new Response(Rc(_.body,zc,a&&jc(E,In(a,!0)),O&&B,ei),b)}c=c||"text";let L=await Dn[w.findKey(Dn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Ac(b,E,{data:L,headers:$.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,g),{cause:_.cause||_}):M.from(_,_&&_.code,e,g)}}),ni={http:DS,xhr:f2,fetch:C2};w.forEach(ni,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hc=e=>`- ${e}`,w2=e=>w.isFunction(e)||e===null||e===!1,Uc={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!w2(n)&&(r=ni[(s=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
|
23
|
-
`+
|
24
|
-
`):" "+
|
25
|
-
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Re(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ii.assertOptions(r,{silentJSONParsing:Te.transitional(Te.boolean),forcedJSONParsing:Te.transitional(Te.boolean),clarifyTimeoutError:Te.transitional(Te.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:ii.assertOptions(i,{encode:Te.function,serialize:Te.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&w.merge(l.common,l[n.method]);l&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=$.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[Wc.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Wc.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Re(this.defaults,t);const n=Ic(t.baseURL,t.url);return Oc(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(e){je.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}}),w.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Re(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}je.prototype[e]=t(),je.prototype[e+"Form"]=t(!0)});class li{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 l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new $e(i,l,s),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 li(function(n){t=n}),cancel:t}}}function B2(e){return function(t){return e.apply(null,t)}}function _2(e){return w.isObject(e)&&e.isAxiosError===!0}const si={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(si).forEach(([e,t])=>{si[t]=e});function Kc(e){const t=new je(e),n=uc(je.prototype.request,t);return w.extend(n,je.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Kc(Re(e,r))},n}const W=Kc(xt);W.Axios=je,W.CanceledError=$e,W.CancelToken=li,W.isCancel=Pc,W.VERSION=Gc,W.toFormData=Pn,W.AxiosError=M,W.Cancel=W.CanceledError,W.all=function(e){return Promise.all(e)},W.spread=B2,W.isAxiosError=_2,W.mergeConfig=Re,W.AxiosHeaders=$,W.formToJSON=e=>Fc(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Uc.getAdapter,W.HttpStatusCode=si,W.default=W;var E2=Object.defineProperty,S2=(e,t,n)=>t in e?E2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t,n)=>S2(e,typeof t!="symbol"?t+"":t,n);const _t=/^[a-z0-9]+(-[a-z0-9]+)*$/,jn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!qn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!qn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!qn(a,n)?null:a}return null},qn=(e,t)=>e?!!((e.provider===""||e.provider.match(_t))&&(t&&e.prefix===""||e.prefix.match(_t))&&e.name.match(_t)):!1,Zc=Object.freeze({left:0,top:0,width:16,height:16}),zn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Hn=Object.freeze({...Zc,...zn}),ai=Object.freeze({...Hn,body:"",hidden:!1});function T2(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 Xc(e,t){const n=T2(e,t);for(const r in ai)r in zn?r in e&&!(r in n)&&(n[r]=zn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function O2(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function N2(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Xc(r[a]||i[a],l)}return s(t),n.forEach(s),Xc(e,l)}function Qc(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=O2(e);for(const i in r){const l=r[i];l&&(t(i,N2(e,i,l)),n.push(i))}return n}const V2={provider:"",aliases:{},not_found:{},...Zc};function ci(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Yc(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ci(e,V2))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(_t)||typeof l.body!="string"||!ci(l,ai))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(_t)||typeof s!="string"||!n[s]&&!r[s]||!ci(l,ai))return null}return t}const $c=Object.create(null);function F2(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function qe(e,t){const n=$c[e]||($c[e]=Object.create(null));return n[t]||(n[t]=F2(e,t))}function di(e,t){return Yc(t)?Qc(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function L2(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Et=!1;function vc(e){return typeof e=="boolean"&&(Et=e),Et}function P2(e){const t=typeof e=="string"?jn(e,!0,Et):e;if(t){const n=qe(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function A2(e,t){const n=jn(e,!0,Et);if(!n)return!1;const r=qe(n.provider,n.prefix);return L2(r,n.name,t)}function ed(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Et&&!t&&!e.prefix){let i=!1;return Yc(e)&&(e.prefix="",Qc(e,(l,s)=>{s&&A2(l,s)&&(i=!0)})),i}const n=e.prefix;if(!qn({provider:t,prefix:n,name:"a"}))return!1;const r=qe(t,n);return!!di(r,e)}const td=Object.freeze({width:null,height:null}),nd=Object.freeze({...td,...zn}),I2=/(-?[0-9.]*[0-9]+[0-9.]*)/g,M2=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function od(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(I2);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=M2.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function D2(e,t){const n={...Hn,...e},r={...nd,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=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 B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=od(u,d/c)):(m=s==="auto"?d:s,u=a===null?od(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const R2=/\sid="(\S+)"/g,j2="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let q2=0;function z2(e,t=j2){const n=[];let r;for(;r=R2.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(q2++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const mi=Object.create(null);function H2(e,t){mi[e]=t}function ui(e){return mi[e]||mi[""]}function fi(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 hi=Object.create(null),Un=["https://api.simplesvg.com","https://api.unisvg.com"],pi=[];for(;Un.length>0;)Un.length===1||Math.random()>.5?pi.push(Un.shift()):pi.push(Un.pop());hi[""]=fi({resources:["https://api.iconify.design"].concat(pi)});function U2(e,t){const n=fi(t);return n===null?!1:(hi[e]=n,!0)}function gi(e){return hi[e]}let rd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function W2(e,t){const n=gi(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function G2(e){return e===404}const J2=(e,t,n)=>{const r=[],i=W2(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function K2(e){if(typeof e=="string"){const t=gi(e);if(t)return t.path}return"/"}const Z2=(e,t,n)=>{if(!rd){n("abort",424);return}let r=K2(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;rd(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(G2(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},X2={prepare:J2,send:Z2};function Q2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=qe(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function id(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function Y2(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||id([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let $2=0;function v2(e,t,n){const r=$2++,i=id.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function eT(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?jn(i,t,n):i;l&&r.push(l)}),r}var tT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function nT(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(P=>P!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?L():S());return}if(h(),_(),!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 L(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(L,e.rotate),n(b,t,E.callback)}return setTimeout(L),B}function ld(e){const t={...tT,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=nT(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function sd(){}const yi=Object.create(null);function oT(e){if(!yi[e]){const t=gi(e);if(!t)return;const n=ld(t),r={config:t,redundancy:n};yi[e]=r}return yi[e]}function rT(e,t,n){let r,i;if(typeof e=="string"){const l=ui(e);if(!l)return n(void 0,424),sd;i=l.send;const s=oT(e);s&&(r=s.redundancy)}else{const l=fi(e);if(l){r=ld(l);const s=e.resources?e.resources[0]:"",a=ui(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),sd):r.query(t,i,n)().abort}const ad="iconify2",St="iconify",cd=St+"-count",dd=St+"-version",md=36e5,iT=168;function bi(e,t){try{return e.getItem(t)}catch{}}function ki(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ud(e,t){try{e.removeItem(t)}catch{}}function Ci(e,t){return ki(e,cd,t.toString())}function wi(e){return parseInt(bi(e,cd))||0}const Wn={local:!0,session:!0},fd={local:new Set,session:new Set};let xi=!1;function lT(e){xi=e}let Gn=typeof window>"u"?{}:window;function hd(e){const t=e+"Storage";try{if(Gn&&Gn[t]&&typeof Gn[t].length=="number")return Gn[t]}catch{}Wn[e]=!1}function pd(e,t){const n=hd(e);if(!n)return;const r=bi(n,dd);if(r!==ad){if(r){const a=wi(n);for(let d=0;d<a;d++)ud(n,St+d.toString())}ki(n,dd,ad),Ci(n,0);return}const i=Math.floor(Date.now()/md)-iT,l=a=>{const d=St+a.toString(),c=bi(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}ud(n,d)}};let s=wi(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,Ci(n,s)):fd[e].add(a))}function gd(){if(!xi){lT(!0);for(const e in Wn)pd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=qe(r,i);if(!di(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function sT(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Wn)pd(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function aT(e,t){xi||gd();function n(r){let i;if(!Wn[r]||!(i=hd(r)))return;const l=fd[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=wi(i),!Ci(i,s+1))return;const a={cached:Math.floor(Date.now()/md),provider:e.provider,data:t};return ki(i,St+s.toString(),JSON.stringify(a))}t.lastModified&&!sT(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function yd(){}function cT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Y2(e)}))}function dT(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 l;!i||!(l=ui(n))||l.prepare(n,r,i).forEach(s=>{rT(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=di(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),aT(e,a)}catch(c){console.error(c)}cT(e)})})}))}const mT=(e,t)=>{const n=eT(e,!0,vc()),r=Q2(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,yd)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(qe(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=qe(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&dT(d,i[c][m])}),t?v2(t,r,l):yd};function uT(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in td?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const fT=/[\s,]+/;function hT(e,t){t.split(fT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pT(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function gT(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 yT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function bT(e){return'url("data:image/svg+xml,'+yT(e)+'")'}const bd={...nd,inline:!1},kT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},CT={display:"inline-block"},Bi={backgroundColor:"currentColor"},kd={backgroundColor:"transparent"},Cd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},wd={webkitMask:Bi,mask:Bi,background:kd};for(const e in wd){const t=wd[e];for(const n in Cd)t[e+n]=Cd[n]}const Jn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Jn[e+"-flip"]=t,Jn[e.slice(0,1)+"-flip"]=t,Jn[e+"Flip"]=t});function xd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Bd=(e,t)=>{const n=uT(bd,t),r={...kT},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};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"&&hT(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=pT(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Jn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):bd[y]===void 0&&(r[y]=g)}}}const d=D2(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=z2(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=gT(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":bT(h),width:xd(c.width),height:xd(c.height),...CT,...f?Bi:kd,...a},o.h("span",r)};if(vc(!0),H2("",X2),typeof document<"u"&&typeof window<"u"){gd();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"||!ed(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;U2(n,i)||console.error(r)}catch{console.error(r)}}}}const wT={...Hn,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=jn(e,!1,!0))===null)return this.abortLoading(),null;const r=P2(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:mT([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 Bd(wT,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Bd({...Hn,...t.data},n)}});function xT(){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 BT(){return"cmd-"+xT()}const _T={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||BT()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},_i=class io{constructor(t){Rn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,io.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,io.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,io.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,""]}};Rn(_i,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Rn(_i,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Rn(_i,"PATTERN_MESSAGE",/^.{2,500}$/);const ET=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(ST,{...e,show:!0}).mount(t)},ST=o.defineComponent({name:"CmdFancyBox",mixins:[_T],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 TT(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 TT(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}ed({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
20
|
+
<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,Lt=Xn("undefined");function V2(e){return e!==null&&!Lt(e)&&e.constructor!==null&&!Lt(e.constructor)&&ae(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fd=ye("ArrayBuffer");function 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 It(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ct(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function Pd(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Ld=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Id=e=>!Lt(e)&&e!==Ld;function 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]&&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,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 It(r,(a,l)=>{const d=n(a,i+1);!Lt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},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:Lt,isDate:L2,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: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 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 $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||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 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=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]=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=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]=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=Rt(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||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 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
|
+
`+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=$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 Dt=/^[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(Dt))&&(t&&e.prefix===""||e.prefix.match(Dt))&&e.name.match(Dt)):!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(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"?ro(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=ro(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(!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",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 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,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 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,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=>{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 _d(e,t){return function(){return e.apply(t,arguments)}}const{toString:OT}=Object.prototype,{getPrototypeOf:Ei}=Object,Kn=(e=>t=>{const n=OT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ue=e=>(e=e.toLowerCase(),t=>Kn(t)===e),Zn=e=>t=>typeof t===e,{isArray:ve}=Array,Tt=Zn("undefined");function NT(e){return e!==null&&!Tt(e)&&e.constructor!==null&&!Tt(e.constructor)&&oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ed=ue("ArrayBuffer");function VT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ed(e.buffer),t}const FT=Zn("string"),oe=Zn("function"),Sd=Zn("number"),Xn=e=>e!==null&&typeof e=="object",LT=e=>e===!0||e===!1,Qn=e=>{if(Kn(e)!=="object")return!1;const t=Ei(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},PT=ue("Date"),AT=ue("File"),IT=ue("Blob"),MT=ue("FileList"),DT=e=>Xn(e)&&oe(e.pipe),RT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||oe(e.append)&&((t=Kn(e))==="formdata"||t==="object"&&oe(e.toString)&&e.toString()==="[object FormData]"))},jT=ue("URLSearchParams"),[qT,zT,HT,UT]=["ReadableStream","Request","Response","Headers"].map(ue),WT=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]),ve(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function Td(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 Od=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Nd=e=>!Tt(e)&&e!==Od;function Si(){const{caseless:e}=Nd(this)&&this||{},t={},n=(r,i)=>{const l=e&&Td(t,i)||i;Qn(t[l])&&Qn(r)?t[l]=Si(t[l],r):Qn(r)?t[l]=Si({},r):ve(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ot(arguments[r],n);return t}const GT=(e,t,n,{allOwnKeys:r}={})=>(Ot(t,(i,l)=>{n&&oe(i)?e[l]=_d(i,n):e[l]=i},{allOwnKeys:r}),e),JT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),KT=(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)},ZT=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},XT=(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},QT=e=>{if(!e)return null;if(ve(e))return e;let t=e.length;if(!Sd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},YT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ei(Uint8Array)),$T=(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])}},vT=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},eO=ue("HTMLFormElement"),tO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Vd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),nO=ue("RegExp"),Fd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ot(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},oO=e=>{Fd(e,(t,n)=>{if(oe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(oe(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+"'")})}})},rO=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return ve(e)?r(e):r(String(e).split(t)),n},iO=()=>{},lO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ti="abcdefghijklmnopqrstuvwxyz",Ld="0123456789",Pd={DIGIT:Ld,ALPHA:Ti,ALPHA_DIGIT:Ti+Ti.toUpperCase()+Ld},sO=(e=16,t=Pd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function aO(e){return!!(e&&oe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cO=e=>{const t=new Array(10),n=(r,i)=>{if(Xn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=ve(r)?[]:{};return Ot(r,(s,a)=>{const d=n(s,i+1);!Tt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},dO=ue("AsyncFunction"),mO=e=>e&&(Xn(e)||oe(e))&&oe(e.then)&&oe(e.catch),x={isArray:ve,isArrayBuffer:Ed,isBuffer:NT,isFormData:RT,isArrayBufferView:VT,isString:FT,isNumber:Sd,isBoolean:LT,isObject:Xn,isPlainObject:Qn,isReadableStream:qT,isRequest:zT,isResponse:HT,isHeaders:UT,isUndefined:Tt,isDate:PT,isFile:AT,isBlob:IT,isRegExp:nO,isFunction:oe,isStream:DT,isURLSearchParams:jT,isTypedArray:YT,isFileList:MT,forEach:Ot,merge:Si,extend:GT,trim:WT,stripBOM:JT,inherits:KT,toFlatObject:ZT,kindOf:Kn,kindOfTest:ue,endsWith:XT,toArray:QT,forEachEntry:$T,matchAll:vT,isHTMLForm:eO,hasOwnProperty:Vd,hasOwnProp:Vd,reduceDescriptors:Fd,freezeMethods:oO,toObjectSet:rO,toCamelCase:tO,noop:iO,toFiniteNumber:lO,findKey:Td,global:Od,isContextDefined:Nd,ALPHABET:Pd,generateString:sO,isSpecCompliantForm:aO,toJSONObject:cO,isAsyncFn:dO,isThenable:mO};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)}x.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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ad=D.prototype,Id={};["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=>{Id[e]={value:e}}),Object.defineProperties(D,Id),Object.defineProperty(Ad,"isAxiosError",{value:!0}),D.from=(e,t,n,r,i,l)=>{const s=Object.create(Ad);return x.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),D.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const uO=null;function Oi(e){return x.isPlainObject(e)||x.isArray(e)}function Md(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Dd(e,t,n){return e?e.concat(t).map(function(r,i){return r=Md(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function fO(e){return x.isArray(e)&&!e.some(Oi)}const hO=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function Yn(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,l=n.dots,s=n.indexes,a=(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(!a&&x.isBlob(f))throw new D("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(f)||x.isTypedArray(f)?a&&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)&&fO(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(g=x.toArray(f)))return h=Md(h),g.forEach(function(B,S){!(x.isUndefined(B)||B===null)&&t.append(s===!0?Dd([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Oi(f)?!0:(t.append(Dd(y,h,l),d(f)),!1)}const m=[],u=Object.assign(hO,{defaultVisitor:c,convertValue:d,isVisitable:Oi});function p(f,h){if(!x.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),x.forEach(f,function(y,g){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Rd(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&&Yn(e,this,t)}const jd=Ni.prototype;jd.append=function(e,t){this._pairs.push([e,t])},jd.toString=function(e){const t=e?function(n){return e.call(this,n,Rd)}:Rd;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function pO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qd(e,t,n){if(!t)return e;const r=n&&n.encode||pO,i=n&&n.serialize;let l;if(i?l=i(t,n):l=x.isURLSearchParams(t)?t.toString():new Ni(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class zd{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 Hd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gO=typeof URLSearchParams<"u"?URLSearchParams:Ni,yO=typeof FormData<"u"?FormData:null,bO=typeof Blob<"u"?Blob:null,kO={isBrowser:!0,classes:{URLSearchParams:gO,FormData:yO,Blob:bO},protocols:["http","https","file","blob","url","data"]},Vi=typeof window<"u"&&typeof document<"u",CO=(e=>Vi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),wO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xO=Vi&&window.location.href||"http://localhost",BO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vi,hasStandardBrowserEnv:CO,hasStandardBrowserWebWorkerEnv:wO,origin:xO},Symbol.toStringTag,{value:"Module"})),fe={...BO,...kO};function _O(e,t){return Yn(e,new fe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return fe.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function EO(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function SO(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function Ud(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&x.isArray(i)?i.length:s,d?(x.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!x.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&x.isArray(i[s])&&(i[s]=SO(i[s])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(EO(r),i,n,0)}),n}return null}function TO(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:Hd,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(Ud(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 l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return _O(e,this.formSerializer).toString();if((l=x.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Yn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),TO(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(l){if(i)throw l.name==="SyntaxError"?D.from(l,D.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.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 OO=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"]),NO=e=>{const t={};let n,r,i;return e&&e.split(`
|
29
|
-
`).forEach(function(
|
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[Wd]=this[Wd]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Vt(l);n[s]||(PO(r,l),n[s]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(v);function Li(e,t){const n=this||Nt,r=t||n,i=v.from(r.headers);let l=r.data;return x.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Gd(e){return!!(e&&e.__CANCEL__)}function et(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(et,D,{__CANCEL__:!0});function Jd(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 AO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function IO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function MO(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const vn=(e,t,n=3)=>{let r=0;const i=IO(50,250);return MO(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},DO=fe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{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 l=x.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),RO=fe.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),x.isString(r)&&s.push("path="+r),x.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kd(e,t){return e&&!jO(t)?qO(e,t):t}const Zd=e=>e instanceof v?{...e}:e;function ze(e,t){t=t||{};const n={};function r(c,m,u){return x.isPlainObject(c)&&x.isPlainObject(m)?x.merge.call({caseless:u},c,m):x.isPlainObject(m)?x.merge({},m):x.isArray(m)?m.slice():m}function i(c,m,u){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!x.isUndefined(m))return r(void 0,m)}function s(c,m){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Zd(c),Zd(m),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);x.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Xd=e=>{const t=ze({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=v.from(s),t.url=qd(Kd(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(x.isFormData(n)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(fe.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&DO(t.url))){const c=i&&l&&RO.read(l);c&&s.set(i,c)}return t},zO=typeof XMLHttpRequest<"u",HO=zO&&function(e){return new Promise(function(t,n){const r=Xd(e);let i=r.data;const l=v.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=v.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Jd(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},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||Hd;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new D(p,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&x.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",vn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",vn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new et(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=AO(r.url);if(u&&fe.protocols.indexOf(u)===-1){n(new D("Unsupported protocol "+u+":",D.ERR_BAD_REQUEST,e));return}c.send(i||null)})},UO=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof D?c:new et(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new D(`timeout ${t} of ms exceeded`,D.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=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:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},WO=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},GO=async function*(e,t,n){for await(const r of e)yield*WO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Qd=(e,t,n,r,i)=>{const l=GO(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Yd=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},eo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$d=eo&&typeof ReadableStream=="function",Pi=eo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),JO=$d&&(()=>{let e=!1;const t=new Request(fe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),vd=64*1024,Ai=$d&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),to={stream:Ai&&(e=>e.body)};eo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!to[t]&&(to[t]=x.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 KO=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 Pi(e)).byteLength},ZO=async(e,t)=>x.toFiniteNumber(e.getContentLength())??KO(t),XO=eo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Xd(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?UO([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&JO&&n!=="get"&&n!=="head"&&(S=await ZO(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;x.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Qd(b.body,vd,Yd(S,vn(d)),null,Pi))}x.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Ai&&(c==="stream"||c==="response");if(Ai&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=x.toFiniteNumber(_.headers.get("content-length"));_=new Response(Qd(_.body,vd,a&&Yd(E,vn(a,!0)),O&&B,Pi),b)}c=c||"text";let L=await to[x.findKey(to,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Jd(b,E,{data:L,headers:v.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,g),{cause:_.cause||_}):D.from(_,_&&_.code,e,g)}}),Ii={http:uO,xhr:HO,fetch:XO};x.forEach(Ii,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const em=e=>`- ${e}`,QO=e=>x.isFunction(e)||e===null||e===!1,tm={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!QO(n)&&(r=Ii[(s=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
|
31
|
-
`+
|
32
|
-
`):" "+
|
33
|
-
`+l):r.stack=l}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:l}=n;r!==void 0&&Ri.assertOptions(r,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:Ri.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&x.merge(l.common,l[n.method]);l&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=v.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[nm.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=nm.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=ze(this.defaults,t);const n=Kd(t.baseURL,t.url);return qd(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(e){He.prototype[e]=function(t,n){return this.request(ze(n||{},{method:e,url:t,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(ze(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}He.prototype[e]=t(),He.prototype[e+"Form"]=t(!0)});class ji{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 l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new et(i,l,s),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 ji(function(n){t=n}),cancel:t}}}function $O(e){return function(t){return e.apply(null,t)}}function vO(e){return x.isObject(e)&&e.isAxiosError===!0}const qi={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(qi).forEach(([e,t])=>{qi[t]=e});function im(e){const t=new He(e),n=_d(He.prototype.request,t);return x.extend(n,He.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return im(ze(e,r))},n}const G=im(Nt);G.Axios=He,G.CanceledError=et,G.CancelToken=ji,G.isCancel=Gd,G.VERSION=om,G.toFormData=Yn,G.AxiosError=D,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=$O,G.isAxiosError=vO,G.mergeConfig=ze,G.AxiosHeaders=v,G.formToJSON=e=>Ud(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=tm.getAdapter,G.HttpStatusCode=qi,G.default=G;function eN(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),ET({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(tN);function tN(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&&eN(t)}function nN(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),QE({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(oN);function oN(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&&nN(t)}function lm(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),w1({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const no=new MutationObserver(rN);function rN(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&&lm(t)}const iN=e=>{const t=e.querySelectorAll(".fancybox");lm(t),no==null||no.disconnect(),no.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function lN(){const e={};o.onBeforeUpdate(r);function t(i="defaultSequence"){const l=e[i]||0;return e[i]=l+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}}T.CmdAddressData=bl,T.CmdBackToTopButton=Mh,T.CmdBankAccountData=Uh,T.CmdBasicForm=Bl,T.CmdBox=Vo,T.CmdBoxWrapper=Ol,T.CmdBreadcrumbs=Nl,T.CmdCompanyLogo=Vl,T.CmdContainer=xy,T.CmdCookieDisclaimer=Ry,T.CmdCopyrightInformation=Uy,T.CmdFakeSelect=Fl,T.CmdFancyBox=Hp,T.CmdForm=kl,T.CmdFormElement=J,T.CmdFormFilters=Ll,T.CmdGoogleMaps=Il,T.CmdHeadline=z,T.CmdIcon=j,T.CmdImage=Ce,T.CmdImageGallery=Lb,T.CmdImageZoom=jb,T.CmdInputGroup=Rl,T.CmdLink=Ge,T.CmdListOfLinks=Oo,T.CmdLoginForm=ck,T.CmdMainNavigation=jl,T.CmdMultistepFormProgressBar=Ok,T.CmdNewsletterSubscription=Pk,T.CmdOpeningHours=i0,T.CmdPageFooter=F0,T.CmdPageHeader=M0,T.CmdPagination=g0,T.CmdProgressBar=U0,T.CmdSidebar=Q0,T.CmdSiteFooter=eC,T.CmdSiteHeader=rC,T.CmdSiteSearch=fC,T.CmdSlideButton=it,T.CmdSlideshow=wC,T.CmdSocialNetworks=zl,T.CmdSwitchLanguage=NC,T.CmdSystemMessage=Lo,T.CmdTable=DC,T.CmdTabs=GC,T.CmdTextImageBlock=YC,T.CmdThumbnailScroller=wl,T.CmdToggleDarkMode=tw,T.CmdTooltip=yl,T.CmdUploadForm=eB,T.CmdWidthLimitationWrapper=iB,T.ContactInformation=dB,T.DirFancybox=iN,T.DirFocus=kB,T.DirTelephone=CB,T.EditComponentWrapper=_e,T.I18n=X,T.MultipleBoxWrapper=hB,T.MultipleListsOfLinks=bB,T.createHtmlId=_o,T.createUuid=Ue,T.getCookieDisclaimerCookie=Po,T.getFileExtension=We,T.openFancyBox=Fe,T.setCookieDisclaimerCookie=Al,T.useSequence=lN,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|
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,zt=ho("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=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 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;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]&&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)},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 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&&(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: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: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 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 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||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 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=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]=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=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]=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=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 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
|
+
`+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=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 Gt=/^[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(Gt))&&(t&&e.prefix===""||e.prefix.match(Gt))&&e.name.match(Gt)):!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(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"?Bo(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=Bo(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(!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",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 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,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 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,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 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
|
+
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
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: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,Zt=Ao("undefined");function LF(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=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 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;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]&&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:LF,isFormData:UF,isArrayBufferView:IF,isString:MF,isNumber:nf,isBoolean:RF,isObject:Po,isPlainObject:Lo,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: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 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 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||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 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 Yt(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=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]=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=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]=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=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 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
|
+
`+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 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||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 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(Qt);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=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=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"})});
|