aloha-vue 2.33.0 → 2.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@
7
7
  ---
8
8
  # Versions
9
9
 
10
+ ## 2.33.1
11
+
12
+ - Add `alertParentClassLocal` to `AAlert` component
13
+
10
14
  ## 2.33.0
11
15
 
12
16
  - Add customizable button class props to `AFilterCenter` and `AFilterCenterItem` components, refactor `AFilters` to use `filtersPluginOptions` defaults, and update plugin configuration for button styles.
@@ -2701,9 +2701,10 @@ function YB(e) {
2701
2701
  };
2702
2702
  }
2703
2703
  function BB(e) {
2704
- const t = u(e, "type");
2704
+ const t = u(e, "type"), _ = E(() => `a_alert a_alert_${t.value}`), n = E(() => `a_alert__parent_${t.value}`);
2705
2705
  return {
2706
- alertClassLocal: E(() => `a_alert a_alert_${t.value}`)
2706
+ alertClassLocal: _,
2707
+ alertParentClassLocal: n
2707
2708
  };
2708
2709
  }
2709
2710
  function VB(e, { emit: t }) {
@@ -2870,32 +2871,35 @@ const oc = {
2870
2871
  const {
2871
2872
  expose: _
2872
2873
  } = t, {
2873
- alertClassLocal: n
2874
+ alertClassLocal: n,
2875
+ alertParentClassLocal: r
2874
2876
  } = BB(e), {
2875
- close: r,
2876
- isHidden: s
2877
+ close: s,
2878
+ isHidden: l
2877
2879
  } = VB(e, t), {
2878
- iconLocal: l
2880
+ iconLocal: o
2879
2881
  } = wB(e), {
2880
- ariaAtomicLocal: o,
2881
- roleLocal: c
2882
+ ariaAtomicLocal: c,
2883
+ roleLocal: S
2882
2884
  } = YB(e);
2883
2885
  return _({
2884
- close: r,
2885
- isHidden: s
2886
+ close: s,
2887
+ isHidden: l
2886
2888
  }), {
2887
2889
  alertClassLocal: n,
2888
- ariaAtomicLocal: o,
2889
- close: r,
2890
- iconLocal: l,
2891
- isHidden: s,
2892
- roleLocal: c
2890
+ alertParentClassLocal: r,
2891
+ ariaAtomicLocal: c,
2892
+ close: s,
2893
+ iconLocal: o,
2894
+ isHidden: l,
2895
+ roleLocal: S
2893
2896
  };
2894
2897
  },
2895
2898
  render() {
2896
2899
  return this.isHidden ? null : d("div", {
2897
2900
  class: [
2898
2901
  "a_alert__parent",
2902
+ this.alertParentClassLocal,
2899
2903
  {
2900
2904
  a_alert__parent_closable: this.closable
2901
2905
  }
@@ -1,5 +1,5 @@
1
1
  (function(Y,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("moment")):typeof define=="function"&&define.amd?define(["exports","vue","moment"],e):(Y=typeof globalThis<"u"?globalThis:Y||self,e(Y.AlohaVue={},Y.Vue,Y.moment))})(this,function(Y,e,bt){"use strict";var JT=typeof global=="object"&&global&&global.Object===Object&&global,dp=typeof self=="object"&&self&&self.Object===Object&&self,qt=JT||dp||Function("return this")(),Wt=qt.Symbol,ZT=Object.prototype,cp=ZT.hasOwnProperty,fp=ZT.toString,kr=Wt?Wt.toStringTag:void 0;function Cp(_){var t=cp.call(_,kr),n=_[kr];try{_[kr]=void 0;var E=!0}catch{}var r=fp.call(_);return E&&(t?_[kr]=n:delete _[kr]),r}var Rp=Object.prototype,hp=Rp.toString;function pp(_){return hp.call(_)}var Ip="[object Null]",Op="[object Undefined]",QT=Wt?Wt.toStringTag:void 0;function kn(_){return _==null?_===void 0?Op:Ip:QT&&QT in Object(_)?Cp(_):pp(_)}function kt(_){return _!=null&&typeof _=="object"}var Up="[object Symbol]";function Ca(_){return typeof _=="symbol"||kt(_)&&kn(_)==Up}function er(_,t){for(var n=-1,E=_==null?0:_.length,r=Array(E);++n<E;)r[n]=t(_[n],n,_);return r}var c_=Array.isArray,mp=1/0,_A=Wt?Wt.prototype:void 0,eA=_A?_A.toString:void 0;function Xr(_){if(typeof _=="string")return _;if(c_(_))return er(_,Xr)+"";if(Ca(_))return eA?eA.call(_):"";var t=_+"";return t=="0"&&1/_==-mp?"-0":t}var Np=/\s/;function bp(_){for(var t=_.length;t--&&Np.test(_.charAt(t)););return t}var gp=/^\s+/;function Yp(_){return _&&_.slice(0,bp(_)+1).replace(gp,"")}function gt(_){var t=typeof _;return _!=null&&(t=="object"||t=="function")}var tA=NaN,Pp=/^[-+]0x[0-9a-f]+$/i,Vp=/^0b[01]+$/i,Bp=/^0o[0-7]+$/i,Dp=parseInt;function tr(_){if(typeof _=="number")return _;if(Ca(_))return tA;if(gt(_)){var t=typeof _.valueOf=="function"?_.valueOf():_;_=gt(t)?t+"":t}if(typeof _!="string")return _===0?_:+_;_=Yp(_);var n=Vp.test(_);return n||Bp.test(_)?Dp(_.slice(2),n?2:8):Pp.test(_)?tA:+_}var nA=1/0,yp=17976931348623157e292;function ho(_){if(!_)return _===0?_:0;if(_=tr(_),_===nA||_===-nA){var t=_<0?-1:1;return t*yp}return _===_?_:0}function In(_){var t=ho(_),n=t%1;return t===t?n?t-n:t:0}function Ra(_){return _}var $p="[object AsyncFunction]",Mp="[object Function]",Fp="[object GeneratorFunction]",Gp="[object Proxy]";function Y_(_){if(!gt(_))return!1;var t=kn(_);return t==Mp||t==Fp||t==$p||t==Gp}var $l=qt["__core-js_shared__"],EA=function(){var _=/[^.]+$/.exec($l&&$l.keys&&$l.keys.IE_PROTO||"");return _?"Symbol(src)_1."+_:""}();function vp(_){return!!EA&&EA in _}var wp=Function.prototype,xp=wp.toString;function ha(_){if(_!=null){try{return xp.call(_)}catch{}try{return _+""}catch{}}return""}var Hp=/[\\^$.*+?()[\]{}|]/g,qp=/^\[object .+?Constructor\]$/,Wp=Function.prototype,kp=Object.prototype,Xp=Wp.toString,Kp=kp.hasOwnProperty,jp=RegExp("^"+Xp.call(Kp).replace(Hp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function zp(_){if(!gt(_)||vp(_))return!1;var t=Y_(_)?jp:qp;return t.test(ha(_))}function Jp(_,t){return _==null?void 0:_[t]}function pa(_,t){var n=Jp(_,t);return zp(n)?n:void 0}var Ml=pa(qt,"WeakMap"),aA=Object.create,Zp=function(){function _(){}return function(t){if(!gt(t))return{};if(aA)return aA(t);_.prototype=t;var n=new _;return _.prototype=void 0,n}}();function Qp(_,t,n){switch(n.length){case 0:return _.call(t);case 1:return _.call(t,n[0]);case 2:return _.call(t,n[0],n[1]);case 3:return _.call(t,n[0],n[1],n[2])}return _.apply(t,n)}function _I(){}function eI(_,t){var n=-1,E=_.length;for(t||(t=Array(E));++n<E;)t[n]=_[n];return t}var tI=800,nI=16,EI=Date.now;function aI(_){var t=0,n=0;return function(){var E=EI(),r=nI-(E-n);if(n=E,r>0){if(++t>=tI)return arguments[0]}else t=0;return _.apply(void 0,arguments)}}function rI(_){return function(){return _}}var po=function(){try{var _=pa(Object,"defineProperty");return _({},"",{}),_}catch{}}(),sI=po?function(_,t){return po(_,"toString",{configurable:!0,enumerable:!1,value:rI(t),writable:!0})}:Ra,oI=aI(sI);function rA(_,t){for(var n=-1,E=_==null?0:_.length;++n<E&&t(_[n],n,_)!==!1;);return _}function sA(_,t,n,E){for(var r=_.length,s=n+-1;++s<r;)if(t(_[s],s,_))return s;return-1}function iI(_){return _!==_}function lI(_,t,n){for(var E=n-1,r=_.length;++E<r;)if(_[E]===t)return E;return-1}function oA(_,t,n){return t===t?lI(_,t,n):sA(_,iI,n)}function iA(_,t){var n=_==null?0:_.length;return!!n&&oA(_,t,0)>-1}var LI=9007199254740991,SI=/^(?:0|[1-9]\d*)$/;function Io(_,t){var n=typeof _;return t=t??LI,!!t&&(n=="number"||n!="symbol"&&SI.test(_))&&_>-1&&_%1==0&&_<t}function Fl(_,t,n){t=="__proto__"&&po?po(_,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):_[t]=n}function Oo(_,t){return _===t||_!==_&&t!==t}var TI=Object.prototype,AI=TI.hasOwnProperty;function Uo(_,t,n){var E=_[t];(!(AI.call(_,t)&&Oo(E,n))||n===void 0&&!(t in _))&&Fl(_,t,n)}function Kr(_,t,n,E){var r=!n;n||(n={});for(var s=-1,i=t.length;++s<i;){var l=t[s],L=void 0;L===void 0&&(L=_[l]),r?Fl(n,l,L):Uo(n,l,L)}return n}var lA=Math.max;function uI(_,t,n){return t=lA(t===void 0?_.length-1:t,0),function(){for(var E=arguments,r=-1,s=lA(E.length-t,0),i=Array(s);++r<s;)i[r]=E[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=E[r];return l[t]=n(i),Qp(_,this,l)}}function mo(_,t){return oI(uI(_,t,Ra),_+"")}var dI=9007199254740991;function Gl(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=dI}function Ln(_){return _!=null&&Gl(_.length)&&!Y_(_)}function No(_,t,n){if(!gt(n))return!1;var E=typeof t;return(E=="number"?Ln(n)&&Io(t,n.length):E=="string"&&t in n)?Oo(n[t],_):!1}function cI(_){return mo(function(t,n){var E=-1,r=n.length,s=r>1?n[r-1]:void 0,i=r>2?n[2]:void 0;for(s=_.length>3&&typeof s=="function"?(r--,s):void 0,i&&No(n[0],n[1],i)&&(s=r<3?void 0:s,r=1),t=Object(t);++E<r;){var l=n[E];l&&_(t,l,E,s)}return t})}var fI=Object.prototype;function jr(_){var t=_&&_.constructor,n=typeof t=="function"&&t.prototype||fI;return _===n}function LA(_,t){for(var n=-1,E=Array(_);++n<_;)E[n]=t(n);return E}var CI="[object Arguments]";function SA(_){return kt(_)&&kn(_)==CI}var TA=Object.prototype,RI=TA.hasOwnProperty,hI=TA.propertyIsEnumerable,bo=SA(function(){return arguments}())?SA:function(_){return kt(_)&&RI.call(_,"callee")&&!hI.call(_,"callee")};function pI(){return!1}var AA=typeof Y=="object"&&Y&&!Y.nodeType&&Y,uA=AA&&typeof module=="object"&&module&&!module.nodeType&&module,II=uA&&uA.exports===AA,dA=II?qt.Buffer:void 0,OI=dA?dA.isBuffer:void 0,zr=OI||pI,UI="[object Arguments]",mI="[object Array]",NI="[object Boolean]",bI="[object Date]",gI="[object Error]",YI="[object Function]",PI="[object Map]",VI="[object Number]",BI="[object Object]",DI="[object RegExp]",yI="[object Set]",$I="[object String]",MI="[object WeakMap]",FI="[object ArrayBuffer]",GI="[object DataView]",vI="[object Float32Array]",wI="[object Float64Array]",xI="[object Int8Array]",HI="[object Int16Array]",qI="[object Int32Array]",WI="[object Uint8Array]",kI="[object Uint8ClampedArray]",XI="[object Uint16Array]",KI="[object Uint32Array]",he={};he[vI]=he[wI]=he[xI]=he[HI]=he[qI]=he[WI]=he[kI]=he[XI]=he[KI]=!0,he[UI]=he[mI]=he[FI]=he[NI]=he[GI]=he[bI]=he[gI]=he[YI]=he[PI]=he[VI]=he[BI]=he[DI]=he[yI]=he[$I]=he[MI]=!1;function jI(_){return kt(_)&&Gl(_.length)&&!!he[kn(_)]}function go(_){return function(t){return _(t)}}var cA=typeof Y=="object"&&Y&&!Y.nodeType&&Y,Jr=cA&&typeof module=="object"&&module&&!module.nodeType&&module,zI=Jr&&Jr.exports===cA,vl=zI&&JT.process,nr=function(){try{var _=Jr&&Jr.require&&Jr.require("util").types;return _||vl&&vl.binding&&vl.binding("util")}catch{}}(),fA=nr&&nr.isTypedArray,wl=fA?go(fA):jI,JI=Object.prototype,ZI=JI.hasOwnProperty;function CA(_,t){var n=c_(_),E=!n&&bo(_),r=!n&&!E&&zr(_),s=!n&&!E&&!r&&wl(_),i=n||E||r||s,l=i?LA(_.length,String):[],L=l.length;for(var S in _)(t||ZI.call(_,S))&&!(i&&(S=="length"||r&&(S=="offset"||S=="parent")||s&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||Io(S,L)))&&l.push(S);return l}function RA(_,t){return function(n){return _(t(n))}}var QI=RA(Object.keys,Object),_O=Object.prototype,eO=_O.hasOwnProperty;function xl(_){if(!jr(_))return QI(_);var t=[];for(var n in Object(_))eO.call(_,n)&&n!="constructor"&&t.push(n);return t}function Xn(_){return Ln(_)?CA(_):xl(_)}var tO=Object.prototype,nO=tO.hasOwnProperty,Hl=cI(function(_,t){if(jr(t)||Ln(t)){Kr(t,Xn(t),_);return}for(var n in t)nO.call(t,n)&&Uo(_,n,t[n])});function EO(_){var t=[];if(_!=null)for(var n in Object(_))t.push(n);return t}var aO=Object.prototype,rO=aO.hasOwnProperty;function sO(_){if(!gt(_))return EO(_);var t=jr(_),n=[];for(var E in _)E=="constructor"&&(t||!rO.call(_,E))||n.push(E);return n}function ql(_){return Ln(_)?CA(_,!0):sO(_)}var oO=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,iO=/^\w*$/;function Wl(_,t){if(c_(_))return!1;var n=typeof _;return n=="number"||n=="symbol"||n=="boolean"||_==null||Ca(_)?!0:iO.test(_)||!oO.test(_)||t!=null&&_ in Object(t)}var Zr=pa(Object,"create");function lO(){this.__data__=Zr?Zr(null):{},this.size=0}function LO(_){var t=this.has(_)&&delete this.__data__[_];return this.size-=t?1:0,t}var SO="__lodash_hash_undefined__",TO=Object.prototype,AO=TO.hasOwnProperty;function uO(_){var t=this.__data__;if(Zr){var n=t[_];return n===SO?void 0:n}return AO.call(t,_)?t[_]:void 0}var dO=Object.prototype,cO=dO.hasOwnProperty;function fO(_){var t=this.__data__;return Zr?t[_]!==void 0:cO.call(t,_)}var CO="__lodash_hash_undefined__";function RO(_,t){var n=this.__data__;return this.size+=this.has(_)?0:1,n[_]=Zr&&t===void 0?CO:t,this}function Ia(_){var t=-1,n=_==null?0:_.length;for(this.clear();++t<n;){var E=_[t];this.set(E[0],E[1])}}Ia.prototype.clear=lO,Ia.prototype.delete=LO,Ia.prototype.get=uO,Ia.prototype.has=fO,Ia.prototype.set=RO;function hO(){this.__data__=[],this.size=0}function Yo(_,t){for(var n=_.length;n--;)if(Oo(_[n][0],t))return n;return-1}var pO=Array.prototype,IO=pO.splice;function OO(_){var t=this.__data__,n=Yo(t,_);if(n<0)return!1;var E=t.length-1;return n==E?t.pop():IO.call(t,n,1),--this.size,!0}function UO(_){var t=this.__data__,n=Yo(t,_);return n<0?void 0:t[n][1]}function mO(_){return Yo(this.__data__,_)>-1}function NO(_,t){var n=this.__data__,E=Yo(n,_);return E<0?(++this.size,n.push([_,t])):n[E][1]=t,this}function Kn(_){var t=-1,n=_==null?0:_.length;for(this.clear();++t<n;){var E=_[t];this.set(E[0],E[1])}}Kn.prototype.clear=hO,Kn.prototype.delete=OO,Kn.prototype.get=UO,Kn.prototype.has=mO,Kn.prototype.set=NO;var Qr=pa(qt,"Map");function bO(){this.size=0,this.__data__={hash:new Ia,map:new(Qr||Kn),string:new Ia}}function gO(_){var t=typeof _;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?_!=="__proto__":_===null}function Po(_,t){var n=_.__data__;return gO(t)?n[typeof t=="string"?"string":"hash"]:n.map}function YO(_){var t=Po(this,_).delete(_);return this.size-=t?1:0,t}function PO(_){return Po(this,_).get(_)}function VO(_){return Po(this,_).has(_)}function BO(_,t){var n=Po(this,_),E=n.size;return n.set(_,t),this.size+=n.size==E?0:1,this}function jn(_){var t=-1,n=_==null?0:_.length;for(this.clear();++t<n;){var E=_[t];this.set(E[0],E[1])}}jn.prototype.clear=bO,jn.prototype.delete=YO,jn.prototype.get=PO,jn.prototype.has=VO,jn.prototype.set=BO;var DO="Expected a function";function kl(_,t){if(typeof _!="function"||t!=null&&typeof t!="function")throw new TypeError(DO);var n=function(){var E=arguments,r=t?t.apply(this,E):E[0],s=n.cache;if(s.has(r))return s.get(r);var i=_.apply(this,E);return n.cache=s.set(r,i)||s,i};return n.cache=new(kl.Cache||jn),n}kl.Cache=jn;var yO=500;function $O(_){var t=kl(_,function(E){return n.size===yO&&n.clear(),E}),n=t.cache;return t}var MO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,FO=/\\(\\)?/g,GO=$O(function(_){var t=[];return _.charCodeAt(0)===46&&t.push(""),_.replace(MO,function(n,E,r,s){t.push(r?s.replace(FO,"$1"):E||n)}),t});function He(_){return _==null?"":Xr(_)}function Vo(_,t){return c_(_)?_:Wl(_,t)?[_]:GO(He(_))}var vO=1/0;function Er(_){if(typeof _=="string"||Ca(_))return _;var t=_+"";return t=="0"&&1/_==-vO?"-0":t}function Bo(_,t){t=Vo(t,_);for(var n=0,E=t.length;_!=null&&n<E;)_=_[Er(t[n++])];return n&&n==E?_:void 0}function o_(_,t,n){var E=_==null?void 0:Bo(_,t);return E===void 0?n:E}function Xl(_,t){for(var n=-1,E=t.length,r=_.length;++n<E;)_[r+n]=t[n];return _}var hA=Wt?Wt.isConcatSpreadable:void 0;function wO(_){return c_(_)||bo(_)||!!(hA&&_&&_[hA])}function Kl(_,t,n,E,r){var s=-1,i=_.length;for(n||(n=wO),r||(r=[]);++s<i;){var l=_[s];n(l)?Xl(r,l):E||(r[r.length]=l)}return r}var jl=RA(Object.getPrototypeOf,Object),xO="[object Object]",HO=Function.prototype,qO=Object.prototype,pA=HO.toString,WO=qO.hasOwnProperty,kO=pA.call(Object);function Q_(_){if(!kt(_)||kn(_)!=xO)return!1;var t=jl(_);if(t===null)return!0;var n=WO.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&pA.call(n)==kO}function zl(_,t,n){var E=-1,r=_.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(r);++E<r;)s[E]=_[E+t];return s}function IA(_,t,n){var E=_.length;return n=n===void 0?E:n,!t&&n>=E?_:zl(_,t,n)}var XO="\\ud800-\\udfff",KO="\\u0300-\\u036f",jO="\\ufe20-\\ufe2f",zO="\\u20d0-\\u20ff",JO=KO+jO+zO,ZO="\\ufe0e\\ufe0f",QO="\\u200d",_U=RegExp("["+QO+XO+JO+ZO+"]");function Do(_){return _U.test(_)}function eU(_){return _.split("")}var OA="\\ud800-\\udfff",tU="\\u0300-\\u036f",nU="\\ufe20-\\ufe2f",EU="\\u20d0-\\u20ff",aU=tU+nU+EU,rU="\\ufe0e\\ufe0f",sU="["+OA+"]",Jl="["+aU+"]",Zl="\\ud83c[\\udffb-\\udfff]",oU="(?:"+Jl+"|"+Zl+")",UA="[^"+OA+"]",mA="(?:\\ud83c[\\udde6-\\uddff]){2}",NA="[\\ud800-\\udbff][\\udc00-\\udfff]",iU="\\u200d",bA=oU+"?",gA="["+rU+"]?",lU="(?:"+iU+"(?:"+[UA,mA,NA].join("|")+")"+gA+bA+")*",LU=gA+bA+lU,SU="(?:"+[UA+Jl+"?",Jl,mA,NA,sU].join("|")+")",TU=RegExp(Zl+"(?="+Zl+")|"+SU+LU,"g");function AU(_){return _.match(TU)||[]}function YA(_){return Do(_)?AU(_):eU(_)}function uU(_){return function(t){t=He(t);var n=Do(t)?YA(t):void 0,E=n?n[0]:t.charAt(0),r=n?IA(n,1).join(""):t.slice(1);return E[_]()+r}}var PA=uU("toUpperCase");function dU(_){return PA(He(_).toLowerCase())}function cU(_,t,n,E){var r=-1,s=_==null?0:_.length;for(E&&s&&(n=_[++r]);++r<s;)n=t(n,_[r],r,_);return n}function VA(){if(!arguments.length)return[];var _=arguments[0];return c_(_)?_:[_]}var fU=qt.isFinite,CU=Math.min;function BA(_){var t=Math[_];return function(n,E){if(n=tr(n),E=E==null?0:CU(In(E),292),E&&fU(n)){var r=(He(n)+"e").split("e"),s=t(r[0]+"e"+(+r[1]+E));return r=(He(s)+"e").split("e"),+(r[0]+"e"+(+r[1]-E))}return t(n)}}var RU=BA("ceil");function DA(_,t,n){return _===_&&(n!==void 0&&(_=_<=n?_:n),_=_>=t?_:t),_}function hU(){this.__data__=new Kn,this.size=0}function pU(_){var t=this.__data__,n=t.delete(_);return this.size=t.size,n}function IU(_){return this.__data__.get(_)}function OU(_){return this.__data__.has(_)}var UU=200;function mU(_,t){var n=this.__data__;if(n instanceof Kn){var E=n.__data__;if(!Qr||E.length<UU-1)return E.push([_,t]),this.size=++n.size,this;n=this.__data__=new jn(E)}return n.set(_,t),this.size=n.size,this}function On(_){var t=this.__data__=new Kn(_);this.size=t.size}On.prototype.clear=hU,On.prototype.delete=pU,On.prototype.get=IU,On.prototype.has=OU,On.prototype.set=mU;function NU(_,t){return _&&Kr(t,Xn(t),_)}function bU(_,t){return _&&Kr(t,ql(t),_)}var yA=typeof Y=="object"&&Y&&!Y.nodeType&&Y,$A=yA&&typeof module=="object"&&module&&!module.nodeType&&module,gU=$A&&$A.exports===yA,MA=gU?qt.Buffer:void 0,FA=MA?MA.allocUnsafe:void 0;function YU(_,t){if(t)return _.slice();var n=_.length,E=FA?FA(n):new _.constructor(n);return _.copy(E),E}function GA(_,t){for(var n=-1,E=_==null?0:_.length,r=0,s=[];++n<E;){var i=_[n];t(i,n,_)&&(s[r++]=i)}return s}function vA(){return[]}var PU=Object.prototype,VU=PU.propertyIsEnumerable,wA=Object.getOwnPropertySymbols,Ql=wA?function(_){return _==null?[]:(_=Object(_),GA(wA(_),function(t){return VU.call(_,t)}))}:vA;function BU(_,t){return Kr(_,Ql(_),t)}var DU=Object.getOwnPropertySymbols,xA=DU?function(_){for(var t=[];_;)Xl(t,Ql(_)),_=jl(_);return t}:vA;function yU(_,t){return Kr(_,xA(_),t)}function HA(_,t,n){var E=t(_);return c_(_)?E:Xl(E,n(_))}function _L(_){return HA(_,Xn,Ql)}function $U(_){return HA(_,ql,xA)}var eL=pa(qt,"DataView"),tL=pa(qt,"Promise"),ar=pa(qt,"Set"),qA="[object Map]",MU="[object Object]",WA="[object Promise]",kA="[object Set]",XA="[object WeakMap]",KA="[object DataView]",FU=ha(eL),GU=ha(Qr),vU=ha(tL),wU=ha(ar),xU=ha(Ml),Yt=kn;(eL&&Yt(new eL(new ArrayBuffer(1)))!=KA||Qr&&Yt(new Qr)!=qA||tL&&Yt(tL.resolve())!=WA||ar&&Yt(new ar)!=kA||Ml&&Yt(new Ml)!=XA)&&(Yt=function(_){var t=kn(_),n=t==MU?_.constructor:void 0,E=n?ha(n):"";if(E)switch(E){case FU:return KA;case GU:return qA;case vU:return WA;case wU:return kA;case xU:return XA}return t});var HU=Object.prototype,qU=HU.hasOwnProperty;function WU(_){var t=_.length,n=new _.constructor(t);return t&&typeof _[0]=="string"&&qU.call(_,"index")&&(n.index=_.index,n.input=_.input),n}var yo=qt.Uint8Array;function nL(_){var t=new _.constructor(_.byteLength);return new yo(t).set(new yo(_)),t}function kU(_,t){var n=t?nL(_.buffer):_.buffer;return new _.constructor(n,_.byteOffset,_.byteLength)}var XU=/\w*$/;function KU(_){var t=new _.constructor(_.source,XU.exec(_));return t.lastIndex=_.lastIndex,t}var jA=Wt?Wt.prototype:void 0,zA=jA?jA.valueOf:void 0;function jU(_){return zA?Object(zA.call(_)):{}}function zU(_,t){var n=t?nL(_.buffer):_.buffer;return new _.constructor(n,_.byteOffset,_.length)}var JU="[object Boolean]",ZU="[object Date]",QU="[object Map]",_m="[object Number]",em="[object RegExp]",tm="[object Set]",nm="[object String]",Em="[object Symbol]",am="[object ArrayBuffer]",rm="[object DataView]",sm="[object Float32Array]",om="[object Float64Array]",im="[object Int8Array]",lm="[object Int16Array]",Lm="[object Int32Array]",Sm="[object Uint8Array]",Tm="[object Uint8ClampedArray]",Am="[object Uint16Array]",um="[object Uint32Array]";function dm(_,t,n){var E=_.constructor;switch(t){case am:return nL(_);case JU:case ZU:return new E(+_);case rm:return kU(_,n);case sm:case om:case im:case lm:case Lm:case Sm:case Tm:case Am:case um:return zU(_,n);case QU:return new E;case _m:case nm:return new E(_);case em:return KU(_);case tm:return new E;case Em:return jU(_)}}function cm(_){return typeof _.constructor=="function"&&!jr(_)?Zp(jl(_)):{}}var fm="[object Map]";function Cm(_){return kt(_)&&Yt(_)==fm}var JA=nr&&nr.isMap,Rm=JA?go(JA):Cm,hm="[object Set]";function pm(_){return kt(_)&&Yt(_)==hm}var ZA=nr&&nr.isSet,Im=ZA?go(ZA):pm,Om=1,Um=2,mm=4,QA="[object Arguments]",Nm="[object Array]",bm="[object Boolean]",gm="[object Date]",Ym="[object Error]",_u="[object Function]",Pm="[object GeneratorFunction]",Vm="[object Map]",Bm="[object Number]",eu="[object Object]",Dm="[object RegExp]",ym="[object Set]",$m="[object String]",Mm="[object Symbol]",Fm="[object WeakMap]",Gm="[object ArrayBuffer]",vm="[object DataView]",wm="[object Float32Array]",xm="[object Float64Array]",Hm="[object Int8Array]",qm="[object Int16Array]",Wm="[object Int32Array]",km="[object Uint8Array]",Xm="[object Uint8ClampedArray]",Km="[object Uint16Array]",jm="[object Uint32Array]",Ce={};Ce[QA]=Ce[Nm]=Ce[Gm]=Ce[vm]=Ce[bm]=Ce[gm]=Ce[wm]=Ce[xm]=Ce[Hm]=Ce[qm]=Ce[Wm]=Ce[Vm]=Ce[Bm]=Ce[eu]=Ce[Dm]=Ce[ym]=Ce[$m]=Ce[Mm]=Ce[km]=Ce[Xm]=Ce[Km]=Ce[jm]=!0,Ce[Ym]=Ce[_u]=Ce[Fm]=!1;function _s(_,t,n,E,r,s){var i,l=t&Om,L=t&Um,S=t&mm;if(i!==void 0)return i;if(!gt(_))return _;var A=c_(_);if(A){if(i=WU(_),!l)return eI(_,i)}else{var u=Yt(_),d=u==_u||u==Pm;if(zr(_))return YU(_,l);if(u==eu||u==QA||d&&!r){if(i=L||d?{}:cm(_),!l)return L?yU(_,bU(i,_)):BU(_,NU(i,_))}else{if(!Ce[u])return r?_:{};i=dm(_,u,l)}}s||(s=new On);var c=s.get(_);if(c)return c;s.set(_,i),Im(_)?_.forEach(function(p){i.add(_s(p,t,n,p,_,s))}):Rm(_)&&_.forEach(function(p,h){i.set(h,_s(p,t,n,h,_,s))});var f=S?L?$U:_L:L?ql:Xn,C=A?void 0:f(_);return rA(C||_,function(p,h){C&&(h=p,p=_[h]),Uo(i,h,_s(p,t,n,h,_,s))}),i}var zm=4;function tu(_){return _s(_,zm)}var Jm=1,Zm=4;function __(_){return _s(_,Jm|Zm)}var Qm="__lodash_hash_undefined__";function _N(_){return this.__data__.set(_,Qm),this}function eN(_){return this.__data__.has(_)}function rr(_){var t=-1,n=_==null?0:_.length;for(this.__data__=new jn;++t<n;)this.add(_[t])}rr.prototype.add=rr.prototype.push=_N,rr.prototype.has=eN;function nu(_,t){for(var n=-1,E=_==null?0:_.length;++n<E;)if(t(_[n],n,_))return!0;return!1}function EL(_,t){return _.has(t)}var tN=1,nN=2;function Eu(_,t,n,E,r,s){var i=n&tN,l=_.length,L=t.length;if(l!=L&&!(i&&L>l))return!1;var S=s.get(_),A=s.get(t);if(S&&A)return S==t&&A==_;var u=-1,d=!0,c=n&nN?new rr:void 0;for(s.set(_,t),s.set(t,_);++u<l;){var f=_[u],C=t[u];if(E)var p=i?E(C,f,u,t,_,s):E(f,C,u,_,t,s);if(p!==void 0){if(p)continue;d=!1;break}if(c){if(!nu(t,function(h,I){if(!EL(c,I)&&(f===h||r(f,h,n,E,s)))return c.push(I)})){d=!1;break}}else if(!(f===C||r(f,C,n,E,s))){d=!1;break}}return s.delete(_),s.delete(t),d}function EN(_){var t=-1,n=Array(_.size);return _.forEach(function(E,r){n[++t]=[r,E]}),n}function aL(_){var t=-1,n=Array(_.size);return _.forEach(function(E){n[++t]=E}),n}var aN=1,rN=2,sN="[object Boolean]",oN="[object Date]",iN="[object Error]",lN="[object Map]",LN="[object Number]",SN="[object RegExp]",TN="[object Set]",AN="[object String]",uN="[object Symbol]",dN="[object ArrayBuffer]",cN="[object DataView]",au=Wt?Wt.prototype:void 0,rL=au?au.valueOf:void 0;function fN(_,t,n,E,r,s,i){switch(n){case cN:if(_.byteLength!=t.byteLength||_.byteOffset!=t.byteOffset)return!1;_=_.buffer,t=t.buffer;case dN:return!(_.byteLength!=t.byteLength||!s(new yo(_),new yo(t)));case sN:case oN:case LN:return Oo(+_,+t);case iN:return _.name==t.name&&_.message==t.message;case SN:case AN:return _==t+"";case lN:var l=EN;case TN:var L=E&aN;if(l||(l=aL),_.size!=t.size&&!L)return!1;var S=i.get(_);if(S)return S==t;E|=rN,i.set(_,t);var A=Eu(l(_),l(t),E,r,s,i);return i.delete(_),A;case uN:if(rL)return rL.call(_)==rL.call(t)}return!1}var CN=1,RN=Object.prototype,hN=RN.hasOwnProperty;function pN(_,t,n,E,r,s){var i=n&CN,l=_L(_),L=l.length,S=_L(t),A=S.length;if(L!=A&&!i)return!1;for(var u=L;u--;){var d=l[u];if(!(i?d in t:hN.call(t,d)))return!1}var c=s.get(_),f=s.get(t);if(c&&f)return c==t&&f==_;var C=!0;s.set(_,t),s.set(t,_);for(var p=i;++u<L;){d=l[u];var h=_[d],I=t[d];if(E)var O=i?E(I,h,d,t,_,s):E(h,I,d,_,t,s);if(!(O===void 0?h===I||r(h,I,n,E,s):O)){C=!1;break}p||(p=d=="constructor")}if(C&&!p){var m=_.constructor,P=t.constructor;m!=P&&"constructor"in _&&"constructor"in t&&!(typeof m=="function"&&m instanceof m&&typeof P=="function"&&P instanceof P)&&(C=!1)}return s.delete(_),s.delete(t),C}var IN=1,ru="[object Arguments]",su="[object Array]",$o="[object Object]",ON=Object.prototype,ou=ON.hasOwnProperty;function UN(_,t,n,E,r,s){var i=c_(_),l=c_(t),L=i?su:Yt(_),S=l?su:Yt(t);L=L==ru?$o:L,S=S==ru?$o:S;var A=L==$o,u=S==$o,d=L==S;if(d&&zr(_)){if(!zr(t))return!1;i=!0,A=!1}if(d&&!A)return s||(s=new On),i||wl(_)?Eu(_,t,n,E,r,s):fN(_,t,L,n,E,r,s);if(!(n&IN)){var c=A&&ou.call(_,"__wrapped__"),f=u&&ou.call(t,"__wrapped__");if(c||f){var C=c?_.value():_,p=f?t.value():t;return s||(s=new On),r(C,p,n,E,s)}}return d?(s||(s=new On),pN(_,t,n,E,r,s)):!1}function Mo(_,t,n,E,r){return _===t?!0:_==null||t==null||!kt(_)&&!kt(t)?_!==_&&t!==t:UN(_,t,n,E,Mo,r)}var mN=1,NN=2;function bN(_,t,n,E){var r=n.length,s=r;if(_==null)return!s;for(_=Object(_);r--;){var i=n[r];if(i[2]?i[1]!==_[i[0]]:!(i[0]in _))return!1}for(;++r<s;){i=n[r];var l=i[0],L=_[l],S=i[1];if(i[2]){if(L===void 0&&!(l in _))return!1}else{var A=new On,u;if(!(u===void 0?Mo(S,L,mN|NN,E,A):u))return!1}}return!0}function iu(_){return _===_&&!gt(_)}function gN(_){for(var t=Xn(_),n=t.length;n--;){var E=t[n],r=_[E];t[n]=[E,r,iu(r)]}return t}function lu(_,t){return function(n){return n==null?!1:n[_]===t&&(t!==void 0||_ in Object(n))}}function YN(_){var t=gN(_);return t.length==1&&t[0][2]?lu(t[0][0],t[0][1]):function(n){return n===_||bN(n,_,t)}}function PN(_,t){return _!=null&&t in Object(_)}function VN(_,t,n){t=Vo(t,_);for(var E=-1,r=t.length,s=!1;++E<r;){var i=Er(t[E]);if(!(s=_!=null&&n(_,i)))break;_=_[i]}return s||++E!=r?s:(r=_==null?0:_.length,!!r&&Gl(r)&&Io(i,r)&&(c_(_)||bo(_)))}function BN(_,t){return _!=null&&VN(_,t,PN)}var DN=1,yN=2;function $N(_,t){return Wl(_)&&iu(t)?lu(Er(_),t):function(n){var E=o_(n,_);return E===void 0&&E===t?BN(n,_):Mo(t,E,DN|yN)}}function Lu(_){return function(t){return t==null?void 0:t[_]}}function MN(_){return function(t){return Bo(t,_)}}function FN(_){return Wl(_)?Lu(Er(_)):MN(_)}function Un(_){return typeof _=="function"?_:_==null?Ra:typeof _=="object"?c_(_)?$N(_[0],_[1]):YN(_):FN(_)}function GN(_,t,n,E){for(var r=-1,s=_==null?0:_.length;++r<s;){var i=_[r];t(E,i,n(i),_)}return E}function Su(_){return function(t,n,E){for(var r=-1,s=Object(t),i=E(t),l=i.length;l--;){var L=i[_?l:++r];if(n(s[L],L,s)===!1)break}return t}}var vN=Su();function wN(_,t){return _&&vN(_,t,Xn)}function Tu(_,t){return function(n,E){if(n==null)return n;if(!Ln(n))return _(n,E);for(var r=n.length,s=t?r:-1,i=Object(n);(t?s--:++s<r)&&E(i[s],s,i)!==!1;);return n}}var Oa=Tu(wN);function xN(_,t,n,E){return Oa(_,function(r,s,i){t(E,r,n(r),i)}),E}function HN(_,t){return function(n,E){var r=c_(n)?GN:xN,s={};return r(n,_,Un(E),s)}}var sL=function(){return qt.Date.now()},qN="Expected a function",WN=Math.max,kN=Math.min;function es(_,t,n){var E,r,s,i,l,L,S=0,A=!1,u=!1,d=!0;if(typeof _!="function")throw new TypeError(qN);t=tr(t)||0,gt(n)&&(A=!!n.leading,u="maxWait"in n,s=u?WN(tr(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function c(y){var V=E,$=r;return E=r=void 0,S=y,i=_.apply($,V),i}function f(y){return S=y,l=setTimeout(h,t),A?c(y):i}function C(y){var V=y-L,$=y-S,N=t-V;return u?kN(N,s-$):N}function p(y){var V=y-L,$=y-S;return L===void 0||V>=t||V<0||u&&$>=s}function h(){var y=sL();if(p(y))return I(y);l=setTimeout(h,C(y))}function I(y){return l=void 0,d&&E?c(y):(E=r=void 0,i)}function O(){l!==void 0&&clearTimeout(l),S=0,E=L=r=l=void 0}function m(){return l===void 0?i:I(sL())}function P(){var y=sL(),V=p(y);if(E=arguments,r=this,L=y,V){if(l===void 0)return f(L);if(u)return clearTimeout(l),l=setTimeout(h,t),c(L)}return l===void 0&&(l=setTimeout(h,t)),i}return P.cancel=O,P.flush=m,P}function oL(_){return kt(_)&&Ln(_)}var XN=200;function KN(_,t,n,E){var r=-1,s=iA,i=!0,l=_.length,L=[],S=t.length;if(!l)return L;t.length>=XN&&(s=EL,i=!1,t=new rr(t));_:for(;++r<l;){var A=_[r],u=A;if(A=A!==0?A:0,i&&u===u){for(var d=S;d--;)if(t[d]===u)continue _;L.push(A)}else s(t,u,E)||L.push(A)}return L}var jN=mo(function(_,t){return oL(_)?KN(_,Kl(t,1,oL,!0)):[]});function Ua(_){var t=_==null?0:_.length;return t?_[t-1]:void 0}function iL(_){return typeof _=="function"?_:Ra}function q(_,t){var n=c_(_)?rA:Oa;return n(_,iL(t))}function zN(_,t){for(var n=_==null?0:_.length;n--&&t(_[n],n,_)!==!1;);return _}var JN=Su(!0);function ZN(_,t){return _&&JN(_,t,Xn)}var QN=Tu(ZN,!0);function _b(_,t){var n=c_(_)?zN:QN;return n(_,iL(t))}function eb(_,t,n){_=He(_),t=Xr(t);var E=_.length;n=n===void 0?E:DA(In(n),0,E);var r=n;return n-=t.length,n>=0&&_.slice(n,r)==t}var Au=/[\\^$.*+?()[\]{}|]/g,tb=RegExp(Au.source);function Fo(_){return _=He(_),_&&tb.test(_)?_.replace(Au,"\\$&"):_}function nb(_,t){for(var n=-1,E=_==null?0:_.length;++n<E;)if(!t(_[n],n,_))return!1;return!0}function Eb(_,t){var n=!0;return Oa(_,function(E,r,s){return n=!!t(E,r,s),n}),n}function lL(_,t,n){var E=c_(_)?nb:Eb;return E(_,Un(t))}function ab(_,t){var n=[];return Oa(_,function(E,r,s){t(E,r,s)&&n.push(E)}),n}function le(_,t){var n=c_(_)?GA:ab;return n(_,Un(t))}function rb(_){return function(t,n,E){var r=Object(t);if(!Ln(t)){var s=Un(n);t=Xn(t),n=function(l){return s(r[l],l,r)}}var i=_(t,n,E);return i>-1?r[s?t[i]:i]:void 0}}var sb=Math.max;function zn(_,t,n){var E=_==null?0:_.length;if(!E)return-1;var r=n==null?0:In(n);return r<0&&(r=sb(E+r,0)),sA(_,Un(t),r)}var Go=rb(zn);function uu(_,t){var n=-1,E=Ln(_)?Array(_.length):[];return Oa(_,function(r,s,i){E[++n]=t(r,s,i)}),E}function Pt(_,t){var n=c_(_)?er:uu;return n(_,Un(t))}function ob(_,t){return _>t}var ib="[object String]";function Ee(_){return typeof _=="string"||!c_(_)&&kt(_)&&kn(_)==ib}function lb(_,t){return er(t,function(n){return _[n]})}function LL(_){return _==null?[]:lb(_,Xn(_))}var Lb=Math.max;function ts(_,t,n,E){_=Ln(_)?_:LL(_),n=n&&!E?In(n):0;var r=_.length;return n<0&&(n=Lb(r+n,0)),Ee(_)?n<=r&&_.indexOf(t,n)>-1:!!r&&oA(_,t,n)>-1}function Sb(_,t){return t.length<2?_:Bo(_,zl(t,0,-1))}var Tb="[object Map]",Ab="[object Set]",ub=Object.prototype,db=ub.hasOwnProperty;function qe(_){if(_==null)return!0;if(Ln(_)&&(c_(_)||typeof _=="string"||typeof _.splice=="function"||zr(_)||wl(_)||bo(_)))return!_.length;var t=Yt(_);if(t==Tb||t==Ab)return!_.size;if(jr(_))return!xl(_).length;for(var n in _)if(db.call(_,n))return!1;return!0}function SL(_,t){return Mo(_,t)}function Jn(_){return typeof _=="number"&&_==In(_)}var cb="[object Number]";function Tt(_){return typeof _=="number"||kt(_)&&kn(_)==cb}function fb(_){return Tt(_)&&_!=+_}function E_(_){return _==null}function V_(_){return _===void 0}var zE=HN(function(_,t,n){Fl(_,n,t)});function Cb(_,t){return _<t}function du(_,t,n){for(var E=-1,r=_.length;++E<r;){var s=_[E],i=t(s);if(i!=null&&(l===void 0?i===i&&!Ca(i):n(i,l)))var l=i,L=s}return L}function Rb(_){return _.length?du(_,Ra,ob):void 0}function cu(_){return _&&_.length?du(_,Ra,Cb):void 0}function hb(_,t){return t=Vo(t,_),_=Sb(_,t),_==null||delete _[Er(Ua(t))]}function pb(_,t,n,E){if(!gt(_))return _;t=Vo(t,_);for(var r=-1,s=t.length,i=s-1,l=_;l!=null&&++r<s;){var L=Er(t[r]),S=n;if(L==="__proto__"||L==="constructor"||L==="prototype")return _;if(r!=i){var A=l[L];S=void 0,S===void 0&&(S=gt(A)?A:Io(t[r+1])?[]:{})}Uo(l,L,S),l=l[L]}return _}function Ib(_,t){var n=_.length;for(_.sort(t);n--;)_[n]=_[n].value;return _}function Ob(_,t){if(_!==t){var n=_!==void 0,E=_===null,r=_===_,s=Ca(_),i=t!==void 0,l=t===null,L=t===t,S=Ca(t);if(!l&&!S&&!s&&_>t||s&&i&&L&&!l&&!S||E&&i&&L||!n&&L||!r)return 1;if(!E&&!s&&!S&&_<t||S&&n&&r&&!E&&!s||l&&n&&r||!i&&r||!L)return-1}return 0}function Ub(_,t,n){for(var E=-1,r=_.criteria,s=t.criteria,i=r.length,l=n.length;++E<i;){var L=Ob(r[E],s[E]);if(L){if(E>=l)return L;var S=n[E];return L*(S=="desc"?-1:1)}}return _.index-t.index}function fu(_,t,n){t.length?t=er(t,function(s){return c_(s)?function(i){return Bo(i,s.length===1?s[0]:s)}:s}):t=[Ra];var E=-1;t=er(t,go(Un));var r=uu(_,function(s,i,l){var L=er(t,function(S){return S(s)});return{criteria:L,index:++E,value:s}});return Ib(r,function(s,i){return Ub(s,i,n)})}function TL(_,t,n,E){return _==null?[]:(c_(t)||(t=t==null?[]:[t]),n=n,c_(n)||(n=n==null?[]:[n]),fu(_,t,n))}var mb=9007199254740991,Nb=Math.floor;function AL(_,t){var n="";if(!_||t<1||t>mb)return n;do t%2&&(n+=_),t=Nb(t/2),t&&(_+=_);while(t);return n}var bb=Lu("length"),Cu="\\ud800-\\udfff",gb="\\u0300-\\u036f",Yb="\\ufe20-\\ufe2f",Pb="\\u20d0-\\u20ff",Vb=gb+Yb+Pb,Bb="\\ufe0e\\ufe0f",Db="["+Cu+"]",uL="["+Vb+"]",dL="\\ud83c[\\udffb-\\udfff]",yb="(?:"+uL+"|"+dL+")",Ru="[^"+Cu+"]",hu="(?:\\ud83c[\\udde6-\\uddff]){2}",pu="[\\ud800-\\udbff][\\udc00-\\udfff]",$b="\\u200d",Iu=yb+"?",Ou="["+Bb+"]?",Mb="(?:"+$b+"(?:"+[Ru,hu,pu].join("|")+")"+Ou+Iu+")*",Fb=Ou+Iu+Mb,Gb="(?:"+[Ru+uL+"?",uL,hu,pu,Db].join("|")+")",Uu=RegExp(dL+"(?="+dL+")|"+Gb+Fb,"g");function vb(_){for(var t=Uu.lastIndex=0;Uu.test(_);)++t;return t}function cL(_){return Do(_)?vb(_):bb(_)}var wb=Math.ceil;function xb(_,t){t=t===void 0?" ":Xr(t);var n=t.length;if(n<2)return n?AL(t,_):t;var E=AL(t,wb(_/cL(t)));return Do(t)?IA(YA(E),0,_).join(""):E.slice(0,_)}function Hb(_,t,n){_=He(_),t=In(t);var E=t?cL(_):0;return t&&E<t?xb(t-E,n)+_:_}var qb=Math.ceil,Wb=Math.max;function kb(_,t,n,E){for(var r=-1,s=Wb(qb((t-_)/(n||1)),0),i=Array(s);s--;)i[++r]=_,_+=n;return i}function Xb(_){return function(t,n,E){return E&&typeof E!="number"&&No(t,n,E)&&(n=E=void 0),t=ho(t),n===void 0?(n=t,t=0):n=ho(n),E=E===void 0?t<n?1:-1:ho(E),kb(t,n,E)}}var vo=Xb();function Kb(_,t,n,E,r){return r(_,function(s,i,l){n=E?(E=!1,s):t(n,s,i,l)}),n}function jb(_,t,n){var E=c_(_)?cU:Kb,r=arguments.length<3;return E(_,Un(t),n,r,Oa)}function zb(_,t,n){return t===void 0?t=1:t=In(t),AL(He(_),t)}var mu=BA("round");function ns(_,t,n){return _==null?_:pb(_,t,n)}var Jb="[object Map]",Zb="[object Set]";function JE(_){if(_==null)return 0;if(Ln(_))return Ee(_)?cL(_):_.length;var t=Yt(_);return t==Jb||t==Zb?_.size:xl(_).length}function Qb(_,t){var n;return Oa(_,function(E,r,s){return n=t(E,r,s),!n}),!!n}function Nu(_,t,n){var E=c_(_)?nu:Qb;return E(_,Un(t))}var wo=mo(function(_,t){if(_==null)return[];var n=t.length;return n>1&&No(_,t[0],t[1])?t=[]:n>2&&No(t[0],t[1],t[2])&&(t=[t[0]]),fu(_,Kl(t),[])});function fL(_,t,n){return _=He(_),n=n==null?0:DA(In(n),0,_.length),t=Xr(t),_.slice(n,n+t.length)==t}function bu(_,t,n){return _&&_.length?(t=t===void 0?1:In(t),zl(_,0,t<0?0:t)):[]}var _g=9007199254740991,CL=4294967295,eg=Math.min;function Xt(_,t){if(_=In(_),_<1||_>_g)return[];var n=CL,E=eg(_,CL);t=iL(t),_-=CL;for(var r=LA(E,t);++n<_;)t(n);return r}function gu(_){return He(_).toLowerCase()}function Yu(_){return He(_).toUpperCase()}var tg=1/0,ng=ar&&1/aL(new ar([,-0]))[1]==tg?function(_){return new ar(_)}:_I,Eg=200;function RL(_,t,n){var E=-1,r=iA,s=_.length,i=!0,l=[],L=l;if(s>=Eg){var S=t?null:ng(_);if(S)return aL(S);i=!1,r=EL,L=new rr}else L=t?[]:l;_:for(;++E<s;){var A=_[E],u=t?t(A):A;if(A=A!==0?A:0,i&&u===u){for(var d=L.length;d--;)if(L[d]===u)continue _;t&&L.push(u),l.push(A)}else r(L,u,n)||(L!==l&&L.push(u),l.push(A))}return l}var ag=mo(function(_){return RL(Kl(_,1,oL,!0))});function rg(_){return _&&_.length?RL(_):[]}function Pu(_,t){return _&&_.length?RL(_,Un(t)):[]}var sg=0;function z_(_){var t=++sg;return He(_)+t}function og(_,t){return _==null?!0:hb(_,t)}function ig(_,{classButtonLocal:t=e.computed(()=>{}),isOpen:n=e.computed(()=>!1),toggleLocal:E=()=>{},currentId:r=e.computed(()=>"")}){const s=e.toRef(_,"item"),i=e.inject("classButton"),l=e.inject("disabled"),L=e.inject("id"),S=e.inject("isCaret"),A=e.inject("keyContent"),u=e.inject("keyLabel"),d=e.inject("readonly"),c=e.inject("withGap"),f=e.computed(()=>!!(l.value||s.value.disabled)),C=e.computed(()=>V_(s.value.isCaret)?S.value:s.value.isCaret),p=e.computed(()=>d.value||s.value.readonly),h=e.computed(()=>`${L.value}_${r.value}`),I=e.computed(()=>p.value?"div":"a"),O=e.computed(()=>{const y={class:["a_accordion__button",i.value,t.value,{a_accordion__button_collapsed:!n.value,a_accordion__button_has_not_caret:!C.value,a_accordion__button_with_gap:c.value,readonly:p.value}],id:s.value.id};return p.value||(y.ariaExpanded=n.value,y["aria-controls"]=h.value,y.rolw="button",y.tabindex=0,y.disabled=f.value,y.onClick=E),y}),m=e.computed(()=>u.value?o_(s.value,u.value):""),P=e.computed(()=>A.value?o_(s.value,A.value):"");return{buttonAttributes:O,buttonTag:I,contentLocal:P,idForCollapse:h,labelLocal:m}}function lg(_){const t=e.toRef(_,"item"),n=e.inject("keyChildren"),E=e.computed(()=>o_(t.value,n.value,[])||[]),r=e.computed(()=>E.value.length!==0);return{children:E,hasChildren:r}}function Lg(_){const t=e.toRef(_,"item"),n=e.inject("keyClassBody"),E=e.inject("keyClassHeader"),r=e.inject("keyClassButton"),s=e.computed(()=>{if(n.value)return o_(t.value,n.value)}),i=e.computed(()=>{if(E.value)return o_(t.value,E.value)}),l=e.computed(()=>{if(r.value)return o_(t.value,r.value)});return{classBodyLocal:s,classButtonLocal:l,classHeaderLocal:i}}const Vt="_a_children",Sg="_a_hide",C_="_a_id",Es="_a_index",se="_a_label",ma="_a_label_search",as="_a_link",sr="_a_parent",Tg="_a_type";function Ag(_){const t=e.toRef(_,"isParentOpen"),n=e.toRef(_,"item"),E=e.toRef(_,"itemIndex"),r=e.toRef(_,"keyId"),s=e.toRef(_,"parentsIds"),i=e.toRef(_,"parentIndexes"),l=e.inject("idsForOpen"),L=e.inject("toggle"),S=e.computed(()=>n.value[C_]),A=e.computed(()=>t.value?l.value.indexOf(S.value)!==-1:!1),u=e.computed(()=>{const h=__(s.value);return h.push(`${S.value}`),h}),d=e.computed(()=>i.value.join(".")),c=e.computed(()=>d.value?`${d.value}.${E.value}`:`${E.value}`),f=e.computed(()=>{const h=__(i.value);return h.push(`${c.value}`),h}),C=h=>{L({$event:h,parentsIds:s.value,isOpen:A.value,item:n.value,itemIndex:E.value})};return{closeItemIfOpen:()=>{A.value&&r.value&&C()},currentId:S,isOpen:A,parentIndexesForChild:f,parentsIdsForChild:u,toggleLocal:C}}function ug(_){const t=e.toRef(_,"item"),n=e.inject("keyIsRender"),E=e.inject("keyIsRenderBodyByFirstOpen"),r=e.ref(!1),s=e.computed(()=>{if(E.value)return o_(t.value,E.value)}),i=e.computed(()=>s.value?r.value:!0),l=e.computed(()=>n.value?!!o_(t.value,n.value,!0):!0);return{isBodyVisible:i,isOpenFirst:r,isRender:l}}/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */const{entries:Vu,setPrototypeOf:Bu,isFrozen:dg,getPrototypeOf:cg,getOwnPropertyDescriptor:fg}=Object;let{freeze:At,seal:Kt,create:Du}=Object,{apply:hL,construct:pL}=typeof Reflect<"u"&&Reflect;At||(At=function(t){return t}),Kt||(Kt=function(t){return t}),hL||(hL=function(t,n,E){return t.apply(n,E)}),pL||(pL=function(t,n){return new t(...n)});const xo=Bt(Array.prototype.forEach),yu=Bt(Array.prototype.pop),rs=Bt(Array.prototype.push),Ho=Bt(String.prototype.toLowerCase),IL=Bt(String.prototype.toString),$u=Bt(String.prototype.match),ss=Bt(String.prototype.replace),Cg=Bt(String.prototype.indexOf),Rg=Bt(String.prototype.trim),Sn=Bt(Object.prototype.hasOwnProperty),ut=Bt(RegExp.prototype.test),os=hg(TypeError);function Bt(_){return function(t){for(var n=arguments.length,E=new Array(n>1?n-1:0),r=1;r<n;r++)E[r-1]=arguments[r];return hL(_,t,E)}}function hg(_){return function(){for(var t=arguments.length,n=new Array(t),E=0;E<t;E++)n[E]=arguments[E];return pL(_,n)}}function J_(_,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ho;Bu&&Bu(_,null);let E=t.length;for(;E--;){let r=t[E];if(typeof r=="string"){const s=n(r);s!==r&&(dg(t)||(t[E]=s),r=s)}_[r]=!0}return _}function pg(_){for(let t=0;t<_.length;t++)Sn(_,t)||(_[t]=null);return _}function Na(_){const t=Du(null);for(const[n,E]of Vu(_))Sn(_,n)&&(Array.isArray(E)?t[n]=pg(E):E&&typeof E=="object"&&E.constructor===Object?t[n]=Na(E):t[n]=E);return t}function is(_,t){for(;_!==null;){const E=fg(_,t);if(E){if(E.get)return Bt(E.get);if(typeof E.value=="function")return Bt(E.value)}_=cg(_)}function n(){return null}return n}const Mu=At(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),OL=At(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),UL=At(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ig=At(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mL=At(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Og=At(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fu=At(["#text"]),Gu=At(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),NL=At(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),vu=At(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),qo=At(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ug=Kt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mg=Kt(/<%[\w\W]*|[\w\W]*%>/gm),Ng=Kt(/\$\{[\w\W]*}/gm),bg=Kt(/^data-[\-\w.\u00B7-\uFFFF]+$/),gg=Kt(/^aria-[\-\w]+$/),wu=Kt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Yg=Kt(/^(?:\w+script|data):/i),Pg=Kt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xu=Kt(/^html$/i),Vg=Kt(/^[a-z][.\w]*(-[.\w]+)+$/i);var Hu=Object.freeze({__proto__:null,ARIA_ATTR:gg,ATTR_WHITESPACE:Pg,CUSTOM_ELEMENT:Vg,DATA_ATTR:bg,DOCTYPE_NAME:xu,ERB_EXPR:mg,IS_ALLOWED_URI:wu,IS_SCRIPT_OR_DATA:Yg,MUSTACHE_EXPR:Ug,TMPLIT_EXPR:Ng});const ls={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Bg=function(){return typeof window>"u"?null:window},Dg=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let E=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(E=n.getAttribute(r));const s="dompurify"+(E?"#"+E:"");try{return t.createPolicy(s,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},qu=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Wu(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bg();const t=g_=>Wu(g_);if(t.version="3.2.3",t.removed=[],!_||!_.document||_.document.nodeType!==ls.document)return t.isSupported=!1,t;let{document:n}=_;const E=n,r=E.currentScript,{DocumentFragment:s,HTMLTemplateElement:i,Node:l,Element:L,NodeFilter:S,NamedNodeMap:A=_.NamedNodeMap||_.MozNamedAttrMap,HTMLFormElement:u,DOMParser:d,trustedTypes:c}=_,f=L.prototype,C=is(f,"cloneNode"),p=is(f,"remove"),h=is(f,"nextSibling"),I=is(f,"childNodes"),O=is(f,"parentNode");if(typeof i=="function"){const g_=n.createElement("template");g_.content&&g_.content.ownerDocument&&(n=g_.content.ownerDocument)}let m,P="";const{implementation:y,createNodeIterator:V,createDocumentFragment:$,getElementsByTagName:N}=n,{importNode:B}=E;let M=qu();t.isSupported=typeof Vu=="function"&&typeof O=="function"&&y&&y.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:v,ERB_EXPR:z,TMPLIT_EXPR:e_,DATA_ATTR:l_,ARIA_ATTR:a_,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:S_,CUSTOM_ELEMENT:B_}=Hu;let{IS_ALLOWED_URI:D_}=Hu,s_=null;const h_=J_({},[...Mu,...OL,...UL,...mL,...Fu]);let p_=null;const H_=J_({},[...Gu,...NL,...vu,...qo]);let f_=Object.seal(Du(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,n_=null,O_=!0,W=!0,T_=!1,A_=!0,I_=!1,P_=!0,U_=!1,q_=!1,K_=!1,G_=!1,ne=!1,Oe=!1,te=!0,j_=!1;const oe="user-content-";let Te=!0,ce=!1,me={},xe=null;const je=J_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ze=null;const $n=J_({},["audio","video","img","source","image","track"]);let dn=null;const Mn=J_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Jt="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let It=et,cn=!1,fn=null;const Ga=J_({},[Jt,Zt,et],IL);let Fn=J_({},["mi","mo","mn","ms","mtext"]),Gn=J_({},["annotation-xml"]);const vn=J_({},["title","style","font","a","script"]);let Qt=null;const va=["application/xhtml+xml","text/html"],wa="text/html";let Ne=null,_n=null;const sa=n.createElement("form"),oa=function(G){return G instanceof RegExp||G instanceof Function},wn=function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(_n&&_n===G)){if((!G||typeof G!="object")&&(G={}),G=Na(G),Qt=va.indexOf(G.PARSER_MEDIA_TYPE)===-1?wa:G.PARSER_MEDIA_TYPE,Ne=Qt==="application/xhtml+xml"?IL:Ho,s_=Sn(G,"ALLOWED_TAGS")?J_({},G.ALLOWED_TAGS,Ne):h_,p_=Sn(G,"ALLOWED_ATTR")?J_({},G.ALLOWED_ATTR,Ne):H_,fn=Sn(G,"ALLOWED_NAMESPACES")?J_({},G.ALLOWED_NAMESPACES,IL):Ga,dn=Sn(G,"ADD_URI_SAFE_ATTR")?J_(Na(Mn),G.ADD_URI_SAFE_ATTR,Ne):Mn,ze=Sn(G,"ADD_DATA_URI_TAGS")?J_(Na($n),G.ADD_DATA_URI_TAGS,Ne):$n,xe=Sn(G,"FORBID_CONTENTS")?J_({},G.FORBID_CONTENTS,Ne):je,X=Sn(G,"FORBID_TAGS")?J_({},G.FORBID_TAGS,Ne):{},n_=Sn(G,"FORBID_ATTR")?J_({},G.FORBID_ATTR,Ne):{},me=Sn(G,"USE_PROFILES")?G.USE_PROFILES:!1,O_=G.ALLOW_ARIA_ATTR!==!1,W=G.ALLOW_DATA_ATTR!==!1,T_=G.ALLOW_UNKNOWN_PROTOCOLS||!1,A_=G.ALLOW_SELF_CLOSE_IN_ATTR!==!1,I_=G.SAFE_FOR_TEMPLATES||!1,P_=G.SAFE_FOR_XML!==!1,U_=G.WHOLE_DOCUMENT||!1,G_=G.RETURN_DOM||!1,ne=G.RETURN_DOM_FRAGMENT||!1,Oe=G.RETURN_TRUSTED_TYPE||!1,K_=G.FORCE_BODY||!1,te=G.SANITIZE_DOM!==!1,j_=G.SANITIZE_NAMED_PROPS||!1,Te=G.KEEP_CONTENT!==!1,ce=G.IN_PLACE||!1,D_=G.ALLOWED_URI_REGEXP||wu,It=G.NAMESPACE||et,Fn=G.MATHML_TEXT_INTEGRATION_POINTS||Fn,Gn=G.HTML_INTEGRATION_POINTS||Gn,f_=G.CUSTOM_ELEMENT_HANDLING||{},G.CUSTOM_ELEMENT_HANDLING&&oa(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f_.tagNameCheck=G.CUSTOM_ELEMENT_HANDLING.tagNameCheck),G.CUSTOM_ELEMENT_HANDLING&&oa(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f_.attributeNameCheck=G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),G.CUSTOM_ELEMENT_HANDLING&&typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f_.allowCustomizedBuiltInElements=G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),I_&&(W=!1),ne&&(G_=!0),me&&(s_=J_({},Fu),p_=[],me.html===!0&&(J_(s_,Mu),J_(p_,Gu)),me.svg===!0&&(J_(s_,OL),J_(p_,NL),J_(p_,qo)),me.svgFilters===!0&&(J_(s_,UL),J_(p_,NL),J_(p_,qo)),me.mathMl===!0&&(J_(s_,mL),J_(p_,vu),J_(p_,qo))),G.ADD_TAGS&&(s_===h_&&(s_=Na(s_)),J_(s_,G.ADD_TAGS,Ne)),G.ADD_ATTR&&(p_===H_&&(p_=Na(p_)),J_(p_,G.ADD_ATTR,Ne)),G.ADD_URI_SAFE_ATTR&&J_(dn,G.ADD_URI_SAFE_ATTR,Ne),G.FORBID_CONTENTS&&(xe===je&&(xe=Na(xe)),J_(xe,G.FORBID_CONTENTS,Ne)),Te&&(s_["#text"]=!0),U_&&J_(s_,["html","head","body"]),s_.table&&(J_(s_,["tbody"]),delete X.tbody),G.TRUSTED_TYPES_POLICY){if(typeof G.TRUSTED_TYPES_POLICY.createHTML!="function")throw os('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof G.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw os('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');m=G.TRUSTED_TYPES_POLICY,P=m.createHTML("")}else m===void 0&&(m=Dg(c,r)),m!==null&&typeof P=="string"&&(P=m.createHTML(""));At&&At(G),_n=G}},ia=J_({},[...OL,...UL,...Ig]),xn=J_({},[...mL,...Og]),xa=function(G){let r_=O(G);(!r_||!r_.tagName)&&(r_={namespaceURI:It,tagName:"template"});const m_=Ho(G.tagName),Ae=Ho(r_.tagName);return fn[G.namespaceURI]?G.namespaceURI===Zt?r_.namespaceURI===et?m_==="svg":r_.namespaceURI===Jt?m_==="svg"&&(Ae==="annotation-xml"||Fn[Ae]):!!ia[m_]:G.namespaceURI===Jt?r_.namespaceURI===et?m_==="math":r_.namespaceURI===Zt?m_==="math"&&Gn[Ae]:!!xn[m_]:G.namespaceURI===et?r_.namespaceURI===Zt&&!Gn[Ae]||r_.namespaceURI===Jt&&!Fn[Ae]?!1:!xn[m_]&&(vn[m_]||!ia[m_]):!!(Qt==="application/xhtml+xml"&&fn[G.namespaceURI]):!1},it=function(G){rs(t.removed,{element:G});try{O(G).removeChild(G)}catch{p(G)}},GE=function(G,r_){try{rs(t.removed,{attribute:r_.getAttributeNode(G),from:r_})}catch{rs(t.removed,{attribute:null,from:r_})}if(r_.removeAttribute(G),G==="is")if(G_||ne)try{it(r_)}catch{}else try{r_.setAttribute(G,"")}catch{}},mr=function(G){let r_=null,m_=null;if(K_)G="<remove></remove>"+G;else{const Ye=$u(G,/^[\r\n\t ]+/);m_=Ye&&Ye[0]}Qt==="application/xhtml+xml"&&It===et&&(G='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+G+"</body></html>");const Ae=m?m.createHTML(G):G;if(It===et)try{r_=new d().parseFromString(Ae,Qt)}catch{}if(!r_||!r_.documentElement){r_=y.createDocument(It,"template",null);try{r_.documentElement.innerHTML=cn?P:Ae}catch{}}const Je=r_.body||r_.documentElement;return G&&m_&&Je.insertBefore(n.createTextNode(m_),Je.childNodes[0]||null),It===et?N.call(r_,U_?"html":"body")[0]:U_?r_.documentElement:Je},Nr=function(G){return V.call(G.ownerDocument||G,G,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT|S.SHOW_PROCESSING_INSTRUCTION|S.SHOW_CDATA_SECTION,null)},Ha=function(G){return G instanceof u&&(typeof G.nodeName!="string"||typeof G.textContent!="string"||typeof G.removeChild!="function"||!(G.attributes instanceof A)||typeof G.removeAttribute!="function"||typeof G.setAttribute!="function"||typeof G.namespaceURI!="string"||typeof G.insertBefore!="function"||typeof G.hasChildNodes!="function")},br=function(G){return typeof l=="function"&&G instanceof l};function Mt(g_,G,r_){xo(g_,m_=>{m_.call(t,G,r_,_n)})}const gr=function(G){let r_=null;if(Mt(M.beforeSanitizeElements,G,null),Ha(G))return it(G),!0;const m_=Ne(G.nodeName);if(Mt(M.uponSanitizeElement,G,{tagName:m_,allowedTags:s_}),G.hasChildNodes()&&!br(G.firstElementChild)&&ut(/<[/\w]/g,G.innerHTML)&&ut(/<[/\w]/g,G.textContent)||G.nodeType===ls.progressingInstruction||P_&&G.nodeType===ls.comment&&ut(/<[/\w]/g,G.data))return it(G),!0;if(!s_[m_]||X[m_]){if(!X[m_]&&qa(m_)&&(f_.tagNameCheck instanceof RegExp&&ut(f_.tagNameCheck,m_)||f_.tagNameCheck instanceof Function&&f_.tagNameCheck(m_)))return!1;if(Te&&!xe[m_]){const Ae=O(G)||G.parentNode,Je=I(G)||G.childNodes;if(Je&&Ae){const Ye=Je.length;for(let lt=Ye-1;lt>=0;--lt){const en=C(Je[lt],!0);en.__removalCount=(G.__removalCount||0)+1,Ae.insertBefore(en,h(G))}}}return it(G),!0}return G instanceof L&&!xa(G)||(m_==="noscript"||m_==="noembed"||m_==="noframes")&&ut(/<\/no(script|embed|frames)/i,G.innerHTML)?(it(G),!0):(I_&&G.nodeType===ls.text&&(r_=G.textContent,xo([v,z,e_],Ae=>{r_=ss(r_,Ae," ")}),G.textContent!==r_&&(rs(t.removed,{element:G.cloneNode()}),G.textContent=r_)),Mt(M.afterSanitizeElements,G,null),!1)},Yr=function(G,r_,m_){if(te&&(r_==="id"||r_==="name")&&(m_ in n||m_ in sa))return!1;if(!(W&&!n_[r_]&&ut(l_,r_))){if(!(O_&&ut(a_,r_))){if(!p_[r_]||n_[r_]){if(!(qa(G)&&(f_.tagNameCheck instanceof RegExp&&ut(f_.tagNameCheck,G)||f_.tagNameCheck instanceof Function&&f_.tagNameCheck(G))&&(f_.attributeNameCheck instanceof RegExp&&ut(f_.attributeNameCheck,r_)||f_.attributeNameCheck instanceof Function&&f_.attributeNameCheck(r_))||r_==="is"&&f_.allowCustomizedBuiltInElements&&(f_.tagNameCheck instanceof RegExp&&ut(f_.tagNameCheck,m_)||f_.tagNameCheck instanceof Function&&f_.tagNameCheck(m_))))return!1}else if(!dn[r_]){if(!ut(D_,ss(m_,S_,""))){if(!((r_==="src"||r_==="xlink:href"||r_==="href")&&G!=="script"&&Cg(m_,"data:")===0&&ze[G])){if(!(T_&&!ut(Q,ss(m_,S_,"")))){if(m_)return!1}}}}}}return!0},qa=function(G){return G!=="annotation-xml"&&$u(G,B_)},Pr=function(G){Mt(M.beforeSanitizeAttributes,G,null);const{attributes:r_}=G;if(!r_||Ha(G))return;const m_={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p_,forceKeepAttr:void 0};let Ae=r_.length;for(;Ae--;){const Je=r_[Ae],{name:Ye,namespaceURI:lt,value:en}=Je,Wa=Ne(Ye);let Ze=Ye==="value"?en:Rg(en);if(m_.attrName=Wa,m_.attrValue=Ze,m_.keepAttr=!0,m_.forceKeepAttr=void 0,Mt(M.uponSanitizeAttribute,G,m_),Ze=m_.attrValue,j_&&(Wa==="id"||Wa==="name")&&(GE(Ye,G),Ze=oe+Ze),P_&&ut(/((--!?|])>)|<\/(style|title)/i,Ze)){GE(Ye,G);continue}if(m_.forceKeepAttr||(GE(Ye,G),!m_.keepAttr))continue;if(!A_&&ut(/\/>/i,Ze)){GE(Ye,G);continue}I_&&xo([v,z,e_],Eo=>{Ze=ss(Ze,Eo," ")});const no=Ne(G.nodeName);if(Yr(no,Wa,Ze)){if(m&&typeof c=="object"&&typeof c.getAttributeType=="function"&&!lt)switch(c.getAttributeType(no,Wa)){case"TrustedHTML":{Ze=m.createHTML(Ze);break}case"TrustedScriptURL":{Ze=m.createScriptURL(Ze);break}}try{lt?G.setAttributeNS(lt,Ye,Ze):G.setAttribute(Ye,Ze),Ha(G)?it(G):yu(t.removed)}catch{}}}Mt(M.afterSanitizeAttributes,G,null)},vE=function g_(G){let r_=null;const m_=Nr(G);for(Mt(M.beforeSanitizeShadowDOM,G,null);r_=m_.nextNode();)Mt(M.uponSanitizeShadowNode,r_,null),gr(r_),Pr(r_),r_.content instanceof s&&g_(r_.content);Mt(M.afterSanitizeShadowDOM,G,null)};return t.sanitize=function(g_){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r_=null,m_=null,Ae=null,Je=null;if(cn=!g_,cn&&(g_="<!-->"),typeof g_!="string"&&!br(g_))if(typeof g_.toString=="function"){if(g_=g_.toString(),typeof g_!="string")throw os("dirty is not a string, aborting")}else throw os("toString is not a function");if(!t.isSupported)return g_;if(q_||wn(G),t.removed=[],typeof g_=="string"&&(ce=!1),ce){if(g_.nodeName){const en=Ne(g_.nodeName);if(!s_[en]||X[en])throw os("root node is forbidden and cannot be sanitized in-place")}}else if(g_ instanceof l)r_=mr("<!---->"),m_=r_.ownerDocument.importNode(g_,!0),m_.nodeType===ls.element&&m_.nodeName==="BODY"||m_.nodeName==="HTML"?r_=m_:r_.appendChild(m_);else{if(!G_&&!I_&&!U_&&g_.indexOf("<")===-1)return m&&Oe?m.createHTML(g_):g_;if(r_=mr(g_),!r_)return G_?null:Oe?P:""}r_&&K_&&it(r_.firstChild);const Ye=Nr(ce?g_:r_);for(;Ae=Ye.nextNode();)gr(Ae),Pr(Ae),Ae.content instanceof s&&vE(Ae.content);if(ce)return g_;if(G_){if(ne)for(Je=$.call(r_.ownerDocument);r_.firstChild;)Je.appendChild(r_.firstChild);else Je=r_;return(p_.shadowroot||p_.shadowrootmode)&&(Je=B.call(E,Je,!0)),Je}let lt=U_?r_.outerHTML:r_.innerHTML;return U_&&s_["!doctype"]&&r_.ownerDocument&&r_.ownerDocument.doctype&&r_.ownerDocument.doctype.name&&ut(xu,r_.ownerDocument.doctype.name)&&(lt="<!DOCTYPE "+r_.ownerDocument.doctype.name+`>
2
- `+lt),I_&&xo([v,z,e_],en=>{lt=ss(lt,en," ")}),m&&Oe?m.createHTML(lt):lt},t.setConfig=function(){let g_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};wn(g_),q_=!0},t.clearConfig=function(){_n=null,q_=!1},t.isValidAttribute=function(g_,G,r_){_n||wn({});const m_=Ne(g_),Ae=Ne(G);return Yr(m_,Ae,r_)},t.addHook=function(g_,G){typeof G=="function"&&rs(M[g_],G)},t.removeHook=function(g_){return yu(M[g_])},t.removeHooks=function(g_){M[g_]=[]},t.removeAllHooks=function(){M=qu()},t}var bL=Wu();const yg=bL,$g=bL.sanitize;function Ls(_){return bL.sanitize(Mg(_),{ADD_ATTR:["target"]})}function Mg(_){return Tt(_)?He(_):_}function Fg(_){return!c_(_)||!_.length?!1:lL(_,Ee)}function ku(_){return!c_(_)||!_.length?!1:lL(_,c_)}function Gg(_){const t=Object.keys(_);return t.length===0?"":`<ul class="a_list_without_styles">${t.map(E=>`<li>${_[E]}</li>`).join("")}</ul>`}function Xu({array:_,keyChildren:t}){return Ku({array:_,keyChildren:t,count:0})}function Ku({array:_,keyChildren:t,count:n=0}){return c_(_)&&q(_,E=>{n++;const r=o_(E,t);n=Ku({array:r,keyChildren:t,count:n})}),n}function Wo(_){return new DOMParser().parseFromString(_,"text/html").body.textContent||""}const $e={beforeMount(_,t){_.innerHTML=E_(t.value)||t.value===""?"":Ls(t.value)},updated(_,t){_.innerHTML=E_(t.value)||t.value===""?"":Ls(t.value)}},vg={name:"AAccordionItem",props:{isParentOpen:{type:Boolean,required:!0},item:{type:Object,required:!0},itemIndex:{type:Number,required:!0},keyId:{type:String,required:!1,default:void 0},parentsIds:{type:Array,required:!1,default:()=>[]},parentIndexes:{type:Array,required:!1,default:()=>[]}},inject:["classBody","classHeader","id","withGap"],setup(_){const{closeItemIfOpen:t,currentId:n,isOpen:E,parentIndexesForChild:r,parentsIdsForChild:s,toggleLocal:i}=Ag(_),{children:l,hasChildren:L}=lg(_),{classBodyLocal:S,classButtonLocal:A,classHeaderLocal:u}=Lg(_),{isBodyVisible:d,isOpenFirst:c,isRender:f}=ug(_),{buttonAttributes:C,buttonTag:p,contentLocal:h,idForCollapse:I,labelLocal:O}=ig(_,{classButtonLocal:A,isOpen:E,toggleLocal:i,currentId:n});return e.watch(E,m=>{m&&!c.value&&(c.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>{t()}),{buttonAttributes:C,buttonTag:p,children:l,classBodyLocal:S,classButtonLocal:A,classHeaderLocal:u,contentLocal:h,currentId:n,hasChildren:L,idForCollapse:I,isBodyVisible:d,isOpen:E,isRender:f,labelLocal:O,parentIndexesForChild:r,parentsIdsForChild:s}},render(){let _=[];return this.isBodyVisible&&(_=[this.item.slotContent&&this.$slots[this.item.slotContent]?this.$slots[this.item.slotContent]({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.$slots.accordionContent?this.$slots.accordionContent({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.contentLocal&&e.withDirectives(e.h("div"),[[$e,this.contentLocal]]),this.hasChildren&&e.h("div",{class:["a_accordion"]},[this.children.map((t,n)=>e.h(e.resolveComponent("AAccordionItem"),{key:t[C_],item:t,itemIndex:n,isParentOpen:this.isOpen,parentsIds:this.parentsIdsForChild,parentIndexes:this.parentIndexesForChild,keyId:this.keyId},this.$slots))])]),this.isRender&&e.h("div",{class:["a_accordion__item",{a_accordion__item_with_gap:this.withGap}]},[e.h("div",{class:["a_accordion__header",this.classHeader,this.classHeaderLocal]},[e.h(this.buttonTag,this.buttonAttributes,[this.item.slotButton&&this.$slots[this.item.slotButton]?this.$slots[this.item.slotButton]({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.$slots.accordionButton&&this.$slots.accordionButton({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}),this.labelLocal&&e.withDirectives(e.h("span"),[[$e,this.labelLocal]])])]),e.h("div",{id:this.idForCollapse,class:["a_accordion__collapse_box",{a_accordion__collapse_box_show:this.isOpen}]},[e.h("div",{class:["a_accordion__body",this.classBody,this.classBodyLocal]},_)])])}};function wg(_){const t=e.toRef(_,"data"),n=e.toRef(_,"keyId"),E=e.toRef(_,"keyChildren"),r=({items:i,parentIds:l=""})=>{q(i,(L,S)=>{const A=o_(L,n.value);let u;E_(A)?u=`${l}${S}`:u=`${l}${A}`,L[C_]=u;const d=L[E.value];d&&d.length&&r({items:d,parentIds:`${u}_`})})};return{dataWithIds:e.computed(()=>{const i=__(t.value);return r({items:i}),i})}}function xg(_,{idsForOpen:t=e.computed(()=>[]),dataWithIds:n=e.computed(()=>[])}){const E=e.toRef(_,"indexesForOpen"),r=e.toRef(_,"keyChildren"),s=({indexForOpen:L})=>{let S=`${L}`.replaceAll(".",`.${r.value}.`);return S+=`.${C_}`,S},i=({isInit:L}={})=>{if(L&&!E.value.length)return;const S=[];r.value?q(E.value,A=>{const u=o_(n.value,s({indexForOpen:A}));E_(u)||S.push(u)}):q(E.value,A=>{const u=o_(n.value,`${A}.${C_}`);E_(u)||S.push(u)}),t.value=S},l=()=>{i({isInit:!0})};return e.watch(E,()=>{i()}),{initIdsFromIndexesForOpen:l}}function Hg(_,{emit:t}){const n=e.toRef(_,"alwaysOpen"),E=e.toRef(_,"disabled"),r=e.toRef(_,"idsForOpenDefault"),s=e.toRef(_,"prevent"),i=e.toRef(_,"stop"),l=e.ref(void 0),L=()=>{l.value=r.value},S=({currentId:d,isOpen:c})=>{if(c){const f=d.split("__")[0];l.value=le(l.value,C=>!fL(C,f))}else l.value.push(d)},A=({currentId:d,parentsIds:c,isOpen:f})=>{f?l.value=c:l.value=[...c,d]},u=({item:d,parentsIds:c,isOpen:f,$event:C})=>{if(E.value)return;const p=__(c),h=d[C_];n.value?S({item:d,currentId:h,isOpen:f}):A({parentsIds:p,currentId:h,isOpen:f}),t("toggle",{idsForOpen:l.value,currentId:h,parentsIds:p,isOpen:f,$event:C,item:d}),i.value&&C&&C.stopPropagation(),s.value&&C&&C.preventDefault()};return e.watch(r,d=>{SL(d,l.value)||(l.value=__(d))}),{idsForOpen:l,initIdsForOpen:L,toggleLocal:u}}const qg={name:"AAccordion",provide(){return{classBody:e.computed(()=>this.classBody),classButton:e.computed(()=>this.classButton),classHeader:e.computed(()=>this.classHeader),disabled:e.computed(()=>this.disabled),id:e.computed(()=>this.id),idsForOpen:e.computed(()=>this.idsForOpen),isCaret:e.computed(()=>this.isCaret),keyChildren:e.computed(()=>this.keyChildren),keyClassBody:e.computed(()=>this.keyClassBody),keyClassButton:e.computed(()=>this.keyClassButton),keyClassHeader:e.computed(()=>this.keyClassHeader),keyContent:e.computed(()=>this.keyContent),keyIsRender:e.computed(()=>this.keyIsRender),keyIsRenderBodyByFirstOpen:e.computed(()=>this.keyIsRenderBodyByFirstOpen),keyLabel:e.computed(()=>this.keyLabel),readonly:e.computed(()=>this.readonly),withGap:e.computed(()=>this.withGap),toggle:this.toggleLocal}},props:{alwaysOpen:{type:Boolean,required:!1},classBody:{type:[String,Object],required:!1,default:""},classButton:{type:[String,Object],required:!1,default:void 0},classHeader:{type:[String,Object],required:!1,default:""},disabled:{type:Boolean,required:!1},id:{type:String,required:!1,default:z_("accordion_")},idsForOpenDefault:{type:Array,required:!1,default:()=>[]},isCaret:{type:Boolean,required:!1,default:!0},data:{type:Array,required:!0},keyClassBody:{type:String,required:!1,default:"classBody"},keyClassButton:{type:String,required:!1,default:"classButton"},keyClassHeader:{type:String,required:!1,default:"classHeader"},keyContent:{type:String,required:!1,default:"content"},keyId:{type:String,required:!1,default:void 0},keyIsRender:{type:String,required:!1,default:"isRender"},keyIsRenderBodyByFirstOpen:{type:String,required:!1,default:"isRenderBodyByFirstOpen"},keyLabel:{type:String,required:!1,default:"label"},keyChildren:{type:String,required:!1,default:"children"},prevent:{type:Boolean,required:!1},readonly:{type:Boolean,required:!1},stop:{type:Boolean,required:!1},withGap:{type:Boolean,required:!1},indexesForOpen:{type:Array,required:!1,default:()=>[]}},emits:["toggle"],setup(_,t){const{idsForOpen:n,initIdsForOpen:E,toggleLocal:r}=Hg(_,t),{dataWithIds:s}=wg(_),{initIdsFromIndexesForOpen:i}=xg(_,{idsForOpen:n,dataWithIds:s});return E(),i(),{dataWithIds:s,idsForOpen:n,toggleLocal:r}},render(){return e.h("div",{class:["a_accordion"]},[this.dataWithIds.map((_,t)=>e.h(vg,{key:_[C_],item:_,itemIndex:t,isParentOpen:!0,keyId:this.keyId},this.$slots))])}};function Wg(_){const t=e.toRef(_,"ariaAtomic"),n=e.toRef(_,"role"),E=e.computed(()=>{if(t.value)return!0}),r=e.computed(()=>{if(n.value)return n.value});return{ariaAtomicLocal:E,roleLocal:r}}function kg(_){const t=e.toRef(_,"type");return{alertClassLocal:e.computed(()=>`a_alert a_alert_${t.value}`)}}function Xg(_,{emit:t}){const n=e.toRef(_,"closable"),E=e.toRef(_,"removeAlertOnClose"),r=e.ref(!1);return{close:()=>{n.value&&(E.value&&(r.value=!0),t("close"))},isHidden:r}}const Kg=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle-fill" viewBox="0 0 16 16">
2
+ `+lt),I_&&xo([v,z,e_],en=>{lt=ss(lt,en," ")}),m&&Oe?m.createHTML(lt):lt},t.setConfig=function(){let g_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};wn(g_),q_=!0},t.clearConfig=function(){_n=null,q_=!1},t.isValidAttribute=function(g_,G,r_){_n||wn({});const m_=Ne(g_),Ae=Ne(G);return Yr(m_,Ae,r_)},t.addHook=function(g_,G){typeof G=="function"&&rs(M[g_],G)},t.removeHook=function(g_){return yu(M[g_])},t.removeHooks=function(g_){M[g_]=[]},t.removeAllHooks=function(){M=qu()},t}var bL=Wu();const yg=bL,$g=bL.sanitize;function Ls(_){return bL.sanitize(Mg(_),{ADD_ATTR:["target"]})}function Mg(_){return Tt(_)?He(_):_}function Fg(_){return!c_(_)||!_.length?!1:lL(_,Ee)}function ku(_){return!c_(_)||!_.length?!1:lL(_,c_)}function Gg(_){const t=Object.keys(_);return t.length===0?"":`<ul class="a_list_without_styles">${t.map(E=>`<li>${_[E]}</li>`).join("")}</ul>`}function Xu({array:_,keyChildren:t}){return Ku({array:_,keyChildren:t,count:0})}function Ku({array:_,keyChildren:t,count:n=0}){return c_(_)&&q(_,E=>{n++;const r=o_(E,t);n=Ku({array:r,keyChildren:t,count:n})}),n}function Wo(_){return new DOMParser().parseFromString(_,"text/html").body.textContent||""}const $e={beforeMount(_,t){_.innerHTML=E_(t.value)||t.value===""?"":Ls(t.value)},updated(_,t){_.innerHTML=E_(t.value)||t.value===""?"":Ls(t.value)}},vg={name:"AAccordionItem",props:{isParentOpen:{type:Boolean,required:!0},item:{type:Object,required:!0},itemIndex:{type:Number,required:!0},keyId:{type:String,required:!1,default:void 0},parentsIds:{type:Array,required:!1,default:()=>[]},parentIndexes:{type:Array,required:!1,default:()=>[]}},inject:["classBody","classHeader","id","withGap"],setup(_){const{closeItemIfOpen:t,currentId:n,isOpen:E,parentIndexesForChild:r,parentsIdsForChild:s,toggleLocal:i}=Ag(_),{children:l,hasChildren:L}=lg(_),{classBodyLocal:S,classButtonLocal:A,classHeaderLocal:u}=Lg(_),{isBodyVisible:d,isOpenFirst:c,isRender:f}=ug(_),{buttonAttributes:C,buttonTag:p,contentLocal:h,idForCollapse:I,labelLocal:O}=ig(_,{classButtonLocal:A,isOpen:E,toggleLocal:i,currentId:n});return e.watch(E,m=>{m&&!c.value&&(c.value=!0)},{immediate:!0}),e.onBeforeUnmount(()=>{t()}),{buttonAttributes:C,buttonTag:p,children:l,classBodyLocal:S,classButtonLocal:A,classHeaderLocal:u,contentLocal:h,currentId:n,hasChildren:L,idForCollapse:I,isBodyVisible:d,isOpen:E,isRender:f,labelLocal:O,parentIndexesForChild:r,parentsIdsForChild:s}},render(){let _=[];return this.isBodyVisible&&(_=[this.item.slotContent&&this.$slots[this.item.slotContent]?this.$slots[this.item.slotContent]({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.$slots.accordionContent?this.$slots.accordionContent({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.contentLocal&&e.withDirectives(e.h("div"),[[$e,this.contentLocal]]),this.hasChildren&&e.h("div",{class:["a_accordion"]},[this.children.map((t,n)=>e.h(e.resolveComponent("AAccordionItem"),{key:t[C_],item:t,itemIndex:n,isParentOpen:this.isOpen,parentsIds:this.parentsIdsForChild,parentIndexes:this.parentIndexesForChild,keyId:this.keyId},this.$slots))])]),this.isRender&&e.h("div",{class:["a_accordion__item",{a_accordion__item_with_gap:this.withGap}]},[e.h("div",{class:["a_accordion__header",this.classHeader,this.classHeaderLocal]},[e.h(this.buttonTag,this.buttonAttributes,[this.item.slotButton&&this.$slots[this.item.slotButton]?this.$slots[this.item.slotButton]({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}):this.$slots.accordionButton&&this.$slots.accordionButton({item:this.item,itemIndex:this.itemIndex,parentsIds:this.parentsIds,parentIndexes:this.parentIndexes,id:this.id,currentId:this.currentId}),this.labelLocal&&e.withDirectives(e.h("span"),[[$e,this.labelLocal]])])]),e.h("div",{id:this.idForCollapse,class:["a_accordion__collapse_box",{a_accordion__collapse_box_show:this.isOpen}]},[e.h("div",{class:["a_accordion__body",this.classBody,this.classBodyLocal]},_)])])}};function wg(_){const t=e.toRef(_,"data"),n=e.toRef(_,"keyId"),E=e.toRef(_,"keyChildren"),r=({items:i,parentIds:l=""})=>{q(i,(L,S)=>{const A=o_(L,n.value);let u;E_(A)?u=`${l}${S}`:u=`${l}${A}`,L[C_]=u;const d=L[E.value];d&&d.length&&r({items:d,parentIds:`${u}_`})})};return{dataWithIds:e.computed(()=>{const i=__(t.value);return r({items:i}),i})}}function xg(_,{idsForOpen:t=e.computed(()=>[]),dataWithIds:n=e.computed(()=>[])}){const E=e.toRef(_,"indexesForOpen"),r=e.toRef(_,"keyChildren"),s=({indexForOpen:L})=>{let S=`${L}`.replaceAll(".",`.${r.value}.`);return S+=`.${C_}`,S},i=({isInit:L}={})=>{if(L&&!E.value.length)return;const S=[];r.value?q(E.value,A=>{const u=o_(n.value,s({indexForOpen:A}));E_(u)||S.push(u)}):q(E.value,A=>{const u=o_(n.value,`${A}.${C_}`);E_(u)||S.push(u)}),t.value=S},l=()=>{i({isInit:!0})};return e.watch(E,()=>{i()}),{initIdsFromIndexesForOpen:l}}function Hg(_,{emit:t}){const n=e.toRef(_,"alwaysOpen"),E=e.toRef(_,"disabled"),r=e.toRef(_,"idsForOpenDefault"),s=e.toRef(_,"prevent"),i=e.toRef(_,"stop"),l=e.ref(void 0),L=()=>{l.value=r.value},S=({currentId:d,isOpen:c})=>{if(c){const f=d.split("__")[0];l.value=le(l.value,C=>!fL(C,f))}else l.value.push(d)},A=({currentId:d,parentsIds:c,isOpen:f})=>{f?l.value=c:l.value=[...c,d]},u=({item:d,parentsIds:c,isOpen:f,$event:C})=>{if(E.value)return;const p=__(c),h=d[C_];n.value?S({item:d,currentId:h,isOpen:f}):A({parentsIds:p,currentId:h,isOpen:f}),t("toggle",{idsForOpen:l.value,currentId:h,parentsIds:p,isOpen:f,$event:C,item:d}),i.value&&C&&C.stopPropagation(),s.value&&C&&C.preventDefault()};return e.watch(r,d=>{SL(d,l.value)||(l.value=__(d))}),{idsForOpen:l,initIdsForOpen:L,toggleLocal:u}}const qg={name:"AAccordion",provide(){return{classBody:e.computed(()=>this.classBody),classButton:e.computed(()=>this.classButton),classHeader:e.computed(()=>this.classHeader),disabled:e.computed(()=>this.disabled),id:e.computed(()=>this.id),idsForOpen:e.computed(()=>this.idsForOpen),isCaret:e.computed(()=>this.isCaret),keyChildren:e.computed(()=>this.keyChildren),keyClassBody:e.computed(()=>this.keyClassBody),keyClassButton:e.computed(()=>this.keyClassButton),keyClassHeader:e.computed(()=>this.keyClassHeader),keyContent:e.computed(()=>this.keyContent),keyIsRender:e.computed(()=>this.keyIsRender),keyIsRenderBodyByFirstOpen:e.computed(()=>this.keyIsRenderBodyByFirstOpen),keyLabel:e.computed(()=>this.keyLabel),readonly:e.computed(()=>this.readonly),withGap:e.computed(()=>this.withGap),toggle:this.toggleLocal}},props:{alwaysOpen:{type:Boolean,required:!1},classBody:{type:[String,Object],required:!1,default:""},classButton:{type:[String,Object],required:!1,default:void 0},classHeader:{type:[String,Object],required:!1,default:""},disabled:{type:Boolean,required:!1},id:{type:String,required:!1,default:z_("accordion_")},idsForOpenDefault:{type:Array,required:!1,default:()=>[]},isCaret:{type:Boolean,required:!1,default:!0},data:{type:Array,required:!0},keyClassBody:{type:String,required:!1,default:"classBody"},keyClassButton:{type:String,required:!1,default:"classButton"},keyClassHeader:{type:String,required:!1,default:"classHeader"},keyContent:{type:String,required:!1,default:"content"},keyId:{type:String,required:!1,default:void 0},keyIsRender:{type:String,required:!1,default:"isRender"},keyIsRenderBodyByFirstOpen:{type:String,required:!1,default:"isRenderBodyByFirstOpen"},keyLabel:{type:String,required:!1,default:"label"},keyChildren:{type:String,required:!1,default:"children"},prevent:{type:Boolean,required:!1},readonly:{type:Boolean,required:!1},stop:{type:Boolean,required:!1},withGap:{type:Boolean,required:!1},indexesForOpen:{type:Array,required:!1,default:()=>[]}},emits:["toggle"],setup(_,t){const{idsForOpen:n,initIdsForOpen:E,toggleLocal:r}=Hg(_,t),{dataWithIds:s}=wg(_),{initIdsFromIndexesForOpen:i}=xg(_,{idsForOpen:n,dataWithIds:s});return E(),i(),{dataWithIds:s,idsForOpen:n,toggleLocal:r}},render(){return e.h("div",{class:["a_accordion"]},[this.dataWithIds.map((_,t)=>e.h(vg,{key:_[C_],item:_,itemIndex:t,isParentOpen:!0,keyId:this.keyId},this.$slots))])}};function Wg(_){const t=e.toRef(_,"ariaAtomic"),n=e.toRef(_,"role"),E=e.computed(()=>{if(t.value)return!0}),r=e.computed(()=>{if(n.value)return n.value});return{ariaAtomicLocal:E,roleLocal:r}}function kg(_){const t=e.toRef(_,"type"),n=e.computed(()=>`a_alert a_alert_${t.value}`),E=e.computed(()=>`a_alert__parent_${t.value}`);return{alertClassLocal:n,alertParentClassLocal:E}}function Xg(_,{emit:t}){const n=e.toRef(_,"closable"),E=e.toRef(_,"removeAlertOnClose"),r=e.ref(!1);return{close:()=>{n.value&&(E.value&&(r.value=!0),t("close"))},isHidden:r}}const Kg=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check-circle-fill" viewBox="0 0 16 16">
3
3
  <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
4
4
  </svg>`,ko=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-circle-fill" viewBox="0 0 16 16">
5
5
  <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4m.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/>
@@ -7,7 +7,7 @@
7
7
  <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/>
8
8
  </svg>`,Xo=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
9
9
  <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z"/>
10
- </svg>`,Me=e.ref({propsDefault:{alertClass:void 0,alertContentClass:void 0,btnCloseAttributes:{},closable:!1,extra:void 0,html:void 0,icon:void 0,iconClass:void 0,isVisible:!1,removeAlertOnClose:!1,safeHtml:void 0,showIcon:!1,text:void 0,textClose:"_A_ALERT_CLOSE_",type:"danger"},icons:{success:Kg,danger:Xo,info:jg,warning:ko}}),zg={install:(_,{propsDefault:t={},icons:n={}}={})=>{Me.value.propsDefault={...Me.value.propsDefault,...t},Me.value.icons={...Me.value.icons,...n}}};function Jg(_){const t=e.toRef(_,"icon"),n=e.toRef(_,"showIcon"),E=e.toRef(_,"type");return{iconLocal:e.computed(()=>{if(n.value)return t.value?t.value:Me.value.icons[E.value]})}}const Ko={name:"AAlert",props:{alertClass:{type:[String,Object],required:!1,default:()=>Me.value.propsDefault.alertClass},alertContentClass:{type:[String,Object],required:!1,default:()=>Me.value.propsDefault.alertContentClass},alwaysTranslate:{type:Boolean,required:!1},ariaAtomic:{type:Boolean,required:!1,default:!0},btnCloseAttributes:{type:Object,required:!1,default:()=>Me.value.propsDefault.btnCloseAttributes},closable:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.closable},extra:{type:Object,required:!1,default:()=>Me.value.propsDefault.extra},html:{type:String,required:!1,default:()=>Me.value.propsDefault.html},icon:{type:String,required:!1,default:()=>Me.value.propsDefault.icon},iconClass:{type:String,required:!1,default:()=>Me.value.propsDefault.iconClass},isVisible:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.isVisible},removeAlertOnClose:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.removeAlertOnClose},role:{type:String,required:!1,default:"alert"},safeHtml:{type:String,required:!1,default:()=>Me.value.propsDefault.safeHtml},showIcon:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.showIcon},text:{type:String,required:!1,default:()=>Me.value.propsDefault.text},textClose:{type:String,required:!1,default:()=>Me.value.propsDefault.textClose},type:{type:String,required:!1,default:()=>Me.value.propsDefault.type}},emits:["close"],setup(_,t){const{expose:n}=t,{alertClassLocal:E}=kg(_),{close:r,isHidden:s}=Xg(_,t),{iconLocal:i}=Jg(_),{ariaAtomicLocal:l,roleLocal:L}=Wg(_);return n({close:r,isHidden:s}),{alertClassLocal:E,ariaAtomicLocal:l,close:r,iconLocal:i,isHidden:s,roleLocal:L}},render(){return this.isHidden?null:e.h("div",{class:["a_alert__parent",{a_alert__parent_closable:this.closable}]},[e.h("div",{role:this.roleLocal,ariaAtomic:this.ariaAtomicLocal},[this.isVisible&&e.h("div",{class:[this.alertClass,this.alertClassLocal]},[this.iconLocal&&e.h(ae,{icon:this.iconLocal,class:["a_alert__icon",this.iconClass]}),e.h("div",{class:["a_alert__content",this.alertContentClass]},[(this.html||this.text||this.safeHtml)&&e.h(u_,{alwaysTranslate:this.alwaysTranslate,extra:this.extra,html:this.html,safeHtml:this.safeHtml,text:this.text}),this.$slots.default&&this.$slots.default()])])]),this.isVisible&&this.closable&&e.h(Le,{alwaysTranslate:this.alwaysTranslate,class:"a_btn_close",textScreenReader:this.textClose,title:this.textClose,type:"button",...this.btnCloseAttributes,onClick:this.close})])}};function ju(_,{emit:t}){return{clickEmit:E=>{t("click",E)}}}const dt=["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Le={name:"AButton",inheritAttrs:!1,props:{alwaysTranslate:{type:Boolean,required:!1},ariaDisabled:{type:Boolean,required:!1,default:void 0},ariaLabel:{type:[String,Number,Object],required:!1,default:void 0},attributes:{type:Object,required:!1,default:()=>({})},class:{type:[String,Object],required:!1,default:void 0},classDefault:{type:String,required:!1,default:"aloha_element"},classDefaultHidden:{type:String,required:!1,default:"aloha_element__hidden"},classDisabled:{type:String,required:!1,default:"disabled"},disabled:{type:Boolean,required:!1,default:void 0},excludeRenderAttributes:{type:Array,required:!1,default:()=>[]},extra:{type:Object,required:!1,default:void 0},extraData:{type:[String,Number,Boolean,Array,Object,Date,Function,Symbol,null,void 0],required:!1,default:void 0},html:{type:[String,Number,Object,Array],required:!1,default:void 0},htmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},iconAttributes:{type:Object,required:!1,default:()=>({})},iconClass:{type:[String,Object],required:!1,default:void 0},iconLeft:{type:[String,Object],required:!1,default:void 0},iconRight:{type:[String,Object],required:!1,default:void 0},iconTag:{type:String,required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_btn_")},isSwitch:{type:Boolean,required:!1,default:void 0},isTitleHtml:{type:Boolean,required:!1,default:void 0},loading:{type:Boolean,required:!1,default:!1},loadingAlign:{type:String,required:!1,default:"right",validator:_=>["right","left"].indexOf(_)!==-1},loadingClass:{type:[String,Object],required:!1,default:"a_spinner_small"},modelSwitch:{type:Boolean,required:!1,default:void 0},prevent:{type:Boolean,required:!1,default:void 0},safeHtml:{type:[String,Number,Object,Array],required:!1,default:void 0},safeHtmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},stop:{type:Boolean,required:!1,default:void 0},tabindex:{type:[Number,String],required:!1,default:void 0},tag:{type:String,required:!1,default:void 0},text:{type:[String,Number,Object,Array],required:!1,default:void 0},textAfter:{type:[String,Number,Object],required:!1,default:void 0},textAriaHidden:{type:Boolean,required:!1,default:void 0},textBefore:{type:[String,Number,Object],required:!1,default:void 0},textClass:{type:String,required:!1,default:void 0},textScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},textTag:{type:String,required:!1,default:"span"},title:{type:[String,Number,Object,Array],required:!1,default:void 0},titleAttributes:{type:Object,required:!1,default:()=>({})},titlePlacement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},titleZIndex:{type:[Number,String],required:!1,default:"auto",validator:_=>Ee(_)?_==="auto":Jn(_)},type:{type:String,required:!1,default:"button",validator:_=>["button","submit","reset"].indexOf(_)!==-1}},emits:["click"],setup(_,t){const{clickEmit:n}=ju(_,t);return{clickEmit:n}},render(){return e.h(L_,{...this.$attrs,...this.$props,onClick:this.clickEmit},this.$slots)}};var jo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zg(_){return _&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_}var zo={exports:{}},zu;function Qg(){if(zu)return zo.exports;zu=1;function _(){}return _.prototype={on:function(t,n,E){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:n,ctx:E}),this},once:function(t,n,E){var r=this;function s(){r.off(t,s),n.apply(E,arguments)}return s._=n,this.on(t,s,E)},emit:function(t){var n=[].slice.call(arguments,1),E=((this.e||(this.e={}))[t]||[]).slice(),r=0,s=E.length;for(r;r<s;r++)E[r].fn.apply(E[r].ctx,n);return this},off:function(t,n){var E=this.e||(this.e={}),r=E[t],s=[];if(r&&n)for(var i=0,l=r.length;i<l;i++)r[i].fn!==n&&r[i].fn._!==n&&s.push(r[i]);return s.length?E[t]=s:delete E[t],this}},zo.exports=_,zo.exports.TinyEmitter=_,zo.exports}var gL,Ju;function _Y(){if(Ju)return gL;Ju=1;var _=Qg();return gL=new _,gL}var eY=_Y();const Jo=Zg(eY),pe={$on:(..._)=>Jo.on(..._),$once:(..._)=>Jo.once(..._),$off:(..._)=>Jo.off(..._),$emit:(..._)=>Jo.emit(..._)},Ss=e.ref(void 0),Ts=e.ref(void 0);function As(_){Ss.value=_,pe.$emit("updateViewOnResize",_),_?document.body.classList.add("a_mobile"):document.body.classList.remove("a_mobile")}function Et(){return{isMobileWidth:Ss,mobileBreakpoint:Ts,setIsMobileWidth:As}}const Zo=e.ref("de");Y.i18n={};const Zu=e.ref(new Date),Qo=e.ref(new Date);Y.translation={};const ba=e.ref(!0),tY=e.computed(()=>[Zo.value,Zu.value,ba.value]);e.watch(tY,()=>{nY()},{immediate:!0});function or(){return{isTranslate:ba,language:Zo,setI18n:YL,setLanguage:PL,toggleTranslate:ed,translationChanges:Qo,updateI18n:Qu,updateI18nForLanguage:_d,updateTranslation:VL}}function YL(_={}){Y.i18n=_}function Qu(_={}){Y.i18n={...Y.i18n,..._}}function _d({i18n:_={},language:t}){Y.i18n[t]=Y.i18n[t]||{},Y.i18n[t]={...Y.i18n[t]||{},..._}}function PL(_=""){Zo.value=_}function ed(_){V_(_)?ba.value=!ba.value:ba.value=!!_}function nY(){Y.translation=Y.i18n[Zo.value],Qo.value=new Date}function VL(){Zu.value=new Date}const BL=e.ref({replaceText:void 0}),EY=(_={})=>{Y_(_==null?void 0:_.replaceText)&&(BL.value.replaceText=_==null?void 0:_.replaceText)},aY={install:(_,t,n,E={})=>{YL(t),PL(n),VL(),EY(E)}};function ga(){return{getTranslatedAttributes:us,getTranslatedText:de,getTranslationAttributes:_i,isPlaceholderTranslate:mn,replaceText:td,spliceString:nd}}function mn(_=""){return!(!Ee(_)||_[0]!=="_"||_[_.length-1]!=="_")}function de({placeholder:_,translationObj:t=Y.translation,extra:n,alwaysTranslate:E=!1}){if(!t||!Qo.value)return _;let r;return!E&&!ba.value?r=_:r=E_(t[_])?_:t[_],n?td({text:r,object:n}):r}function td({text:_="",object:t}){var r,s;if(Y_((r=BL.value)==null?void 0:r.replaceText))return(s=BL.value)==null?void 0:s.replaceText({text:_,object:t});if(!Q_(t))return _;let n=_,E=0;for(;;){const i=n.indexOf("{{",E),l=n.indexOf("}}",E);if(i===-1||l===-1)break;const L=n.slice(i+2,l).trim(),S=o_(t,L);n=nd({text:n,replaceText:S,firstIndex:i,lastindex:l+2}),E=i+`${S}`.length}return n}function nd({text:_="",replaceText:t="",firstIndex:n,lastindex:E}){return`${_.slice(0,n)}${t}${_.slice(E,_.length)}`}function _i({attr:_="",value:t="",translation:n="",isTranslate:E=!0}){const r={};return E_(n)||(r[_]=n),E&&(r[`data-translate-${_}`]=t),r}function us({attr:_="",placeholder:t="",extra:n,translationObj:E=Y.translation}){const r=mn(t),s=de({placeholder:t,extra:n,translationObj:E,alwaysTranslate:!0});return _i({attr:_,value:t,translation:s,isTranslate:r})}function DL(_){const t=e.toRef(_,"alwaysTranslate"),n=e.toRef(_,"ariaLabel"),E=e.toRef(_,"extra"),{translationChanges:r}=or(),{isPlaceholderTranslate:s,getTranslatedText:i,getTranslationAttributes:l}=ga(),{isMobileWidth:L}=Et(),S=e.computed(()=>Q_(n.value)?L.value?n.value.mobile:n.value.desktop:n.value),A=e.computed(()=>!V_(S.value)),u=e.computed(()=>!(!A.value||!s(S.value))),d=e.computed(()=>{if(r.value)return u.value?i({placeholder:S.value,extra:E.value,alwaysTranslate:t.value}):S.value});return{ariaLabelAttributes:e.computed(()=>A.value?l({attr:"aria-label",translation:d.value,value:S.value,isTranslate:u.value}):{}),hasAriaLabel:A}}const rY={button:!0,submit:!0,reset:!0};function sY(_,{isRouterLink:t=e.computed(()=>!1),tagLocal:n=e.computed(()=>"")}){const E=e.toRef(_,"disabled"),r=e.toRef(_,"href"),s=e.toRef(_,"target"),i=e.toRef(_,"to"),l=e.toRef(_,"type"),L=e.computed(()=>{if(n.value==="button"&&rY[l.value])return l.value});return{toHrefAttributes:e.computed(()=>t.value?{target:s.value,to:i.value}:E.value?{}:{href:r.value,target:s.value}),typeAttribut:L}}function oY(_,{emit:t}){const n=e.toRef(_,"prevent"),E=e.toRef(_,"stop"),r=e.toRef(_,"disabled"),s=e.toRef(_,"ariaDisabled");return{onClick:l=>{n.value&&l.preventDefault(),E.value&&l.stopPropagation(),!(r.value||s.value)&&t("click",{props:_,$event:l})}}}function iY(_,{isTitleVisible:t=e.ref(!1)}){const n=e.toRef(_,"id"),E=e.toRef(_,"minWidth"),r=e.toRef(_,"width"),s=e.toRef(_,"maxWidth"),i=e.toRef(_,"withoutAriaDescribedby"),l=e.computed(()=>{if(!i.value&&t.value)return`${n.value}_title`}),L=e.computed(()=>{const S={};return E_(E.value)||(S["min-width"]=`${E.value}px`),E_(r.value)||(S.width=`${r.value}px`),E_(s.value)||(S["max-width"]=`${s.value}px`),S});return{ariaDescribedby:l,tooltipStyles:L}}const lY=["top","right","bottom","left"],Ed=["start","end"],ad=lY.reduce((_,t)=>_.concat(t,t+"-"+Ed[0],t+"-"+Ed[1]),[]),ir=Math.min,Ya=Math.max,ei=Math.round,ti=Math.floor,ZE=_=>({x:_,y:_}),LY={left:"right",right:"left",bottom:"top",top:"bottom"},SY={start:"end",end:"start"};function yL(_,t,n){return Ya(_,ir(t,n))}function QE(_,t){return typeof _=="function"?_(t):_}function Nn(_){return _.split("-")[0]}function bn(_){return _.split("-")[1]}function $L(_){return _==="x"?"y":"x"}function ML(_){return _==="y"?"height":"width"}function ds(_){return["top","bottom"].includes(Nn(_))?"y":"x"}function FL(_){return $L(ds(_))}function rd(_,t,n){n===void 0&&(n=!1);const E=bn(_),r=FL(_),s=ML(r);let i=r==="x"?E===(n?"end":"start")?"right":"left":E==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ei(i)),[i,Ei(i)]}function TY(_){const t=Ei(_);return[ni(_),t,ni(t)]}function ni(_){return _.replace(/start|end/g,t=>SY[t])}function AY(_,t,n){const E=["left","right"],r=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(_){case"top":case"bottom":return n?t?r:E:t?E:r;case"left":case"right":return t?s:i;default:return[]}}function uY(_,t,n,E){const r=bn(_);let s=AY(Nn(_),n==="start",E);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(ni)))),s}function Ei(_){return _.replace(/left|right|bottom|top/g,t=>LY[t])}function dY(_){return{top:0,right:0,bottom:0,left:0,..._}}function sd(_){return typeof _!="number"?dY(_):{top:_,right:_,bottom:_,left:_}}function ai(_){const{x:t,y:n,width:E,height:r}=_;return{width:E,height:r,top:n,left:t,right:t+E,bottom:n+r,x:t,y:n}}function od(_,t,n){let{reference:E,floating:r}=_;const s=ds(t),i=FL(t),l=ML(i),L=Nn(t),S=s==="y",A=E.x+E.width/2-r.width/2,u=E.y+E.height/2-r.height/2,d=E[l]/2-r[l]/2;let c;switch(L){case"top":c={x:A,y:E.y-r.height};break;case"bottom":c={x:A,y:E.y+E.height};break;case"right":c={x:E.x+E.width,y:u};break;case"left":c={x:E.x-r.width,y:u};break;default:c={x:E.x,y:E.y}}switch(bn(t)){case"start":c[i]-=d*(n&&S?-1:1);break;case"end":c[i]+=d*(n&&S?-1:1);break}return c}const cY=async(_,t,n)=>{const{placement:E="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),L=await(i.isRTL==null?void 0:i.isRTL(t));let S=await i.getElementRects({reference:_,floating:t,strategy:r}),{x:A,y:u}=od(S,E,L),d=E,c={},f=0;for(let C=0;C<l.length;C++){const{name:p,fn:h}=l[C],{x:I,y:O,data:m,reset:P}=await h({x:A,y:u,initialPlacement:E,placement:d,strategy:r,middlewareData:c,rects:S,platform:i,elements:{reference:_,floating:t}});A=I??A,u=O??u,c={...c,[p]:{...c[p],...m}},P&&f<=50&&(f++,typeof P=="object"&&(P.placement&&(d=P.placement),P.rects&&(S=P.rects===!0?await i.getElementRects({reference:_,floating:t,strategy:r}):P.rects),{x:A,y:u}=od(S,d,L)),C=-1)}return{x:A,y:u,placement:d,strategy:r,middlewareData:c}};async function GL(_,t){var n;t===void 0&&(t={});const{x:E,y:r,platform:s,rects:i,elements:l,strategy:L}=_,{boundary:S="clippingAncestors",rootBoundary:A="viewport",elementContext:u="floating",altBoundary:d=!1,padding:c=0}=QE(t,_),f=sd(c),p=l[d?u==="floating"?"reference":"floating":u],h=ai(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:S,rootBoundary:A,strategy:L})),I=u==="floating"?{...i.floating,x:E,y:r}:i.reference,O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),m=await(s.isElement==null?void 0:s.isElement(O))?await(s.getScale==null?void 0:s.getScale(O))||{x:1,y:1}:{x:1,y:1},P=ai(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:O,strategy:L}):I);return{top:(h.top-P.top+f.top)/m.y,bottom:(P.bottom-h.bottom+f.bottom)/m.y,left:(h.left-P.left+f.left)/m.x,right:(P.right-h.right+f.right)/m.x}}const fY=_=>({name:"arrow",options:_,async fn(t){const{x:n,y:E,placement:r,rects:s,platform:i,elements:l,middlewareData:L}=t,{element:S,padding:A=0}=QE(_,t)||{};if(S==null)return{};const u=sd(A),d={x:n,y:E},c=FL(r),f=ML(c),C=await i.getDimensions(S),p=c==="y",h=p?"top":"left",I=p?"bottom":"right",O=p?"clientHeight":"clientWidth",m=s.reference[f]+s.reference[c]-d[c]-s.floating[f],P=d[c]-s.reference[c],y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(S));let V=y?y[O]:0;(!V||!await(i.isElement==null?void 0:i.isElement(y)))&&(V=l.floating[O]||s.floating[f]);const $=m/2-P/2,N=V/2-C[f]/2-1,B=ir(u[h],N),M=ir(u[I],N),v=B,z=V-C[f]-M,e_=V/2-C[f]/2+$,l_=yL(v,e_,z),a_=!L.arrow&&bn(r)!=null&&e_!==l_&&s.reference[f]/2-(e_<v?B:M)-C[f]/2<0,Q=a_?e_<v?e_-v:e_-z:0;return{[c]:d[c]+Q,data:{[c]:l_,centerOffset:e_-l_-Q,...a_&&{alignmentOffset:Q}},reset:a_}}});function CY(_,t,n){return(_?[...n.filter(r=>bn(r)===_),...n.filter(r=>bn(r)!==_)]:n.filter(r=>Nn(r)===r)).filter(r=>_?bn(r)===_||(t?ni(r)!==r:!1):!0)}const RY=function(_){return _===void 0&&(_={}),{name:"autoPlacement",options:_,async fn(t){var n,E,r;const{rects:s,middlewareData:i,placement:l,platform:L,elements:S}=t,{crossAxis:A=!1,alignment:u,allowedPlacements:d=ad,autoAlignment:c=!0,...f}=QE(_,t),C=u!==void 0||d===ad?CY(u||null,c,d):d,p=await GL(t,f),h=((n=i.autoPlacement)==null?void 0:n.index)||0,I=C[h];if(I==null)return{};const O=rd(I,s,await(L.isRTL==null?void 0:L.isRTL(S.floating)));if(l!==I)return{reset:{placement:C[0]}};const m=[p[Nn(I)],p[O[0]],p[O[1]]],P=[...((E=i.autoPlacement)==null?void 0:E.overflows)||[],{placement:I,overflows:m}],y=C[h+1];if(y)return{data:{index:h+1,overflows:P},reset:{placement:y}};const V=P.map(B=>{const M=bn(B.placement);return[B.placement,M&&A?B.overflows.slice(0,2).reduce((v,z)=>v+z,0):B.overflows[0],B.overflows]}).sort((B,M)=>B[1]-M[1]),N=((r=V.filter(B=>B[2].slice(0,bn(B[0])?2:3).every(M=>M<=0))[0])==null?void 0:r[0])||V[0][0];return N!==l?{data:{index:h+1,overflows:P},reset:{placement:N}}:{}}}},hY=function(_){return _===void 0&&(_={}),{name:"flip",options:_,async fn(t){var n,E;const{placement:r,middlewareData:s,rects:i,initialPlacement:l,platform:L,elements:S}=t,{mainAxis:A=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:c="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:C=!0,...p}=QE(_,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const h=Nn(r),I=Nn(l)===l,O=await(L.isRTL==null?void 0:L.isRTL(S.floating)),m=d||(I||!C?[Ei(l)]:TY(l));!d&&f!=="none"&&m.push(...uY(l,C,f,O));const P=[l,...m],y=await GL(t,p),V=[];let $=((E=s.flip)==null?void 0:E.overflows)||[];if(A&&V.push(y[h]),u){const v=rd(r,i,O);V.push(y[v[0]],y[v[1]])}if($=[...$,{placement:r,overflows:V}],!V.every(v=>v<=0)){var N,B;const v=(((N=s.flip)==null?void 0:N.index)||0)+1,z=P[v];if(z)return{data:{index:v,overflows:$},reset:{placement:z}};let e_=(B=$.filter(l_=>l_.overflows[0]<=0).sort((l_,a_)=>l_.overflows[1]-a_.overflows[1])[0])==null?void 0:B.placement;if(!e_)switch(c){case"bestFit":{var M;const l_=(M=$.map(a_=>[a_.placement,a_.overflows.filter(Q=>Q>0).reduce((Q,S_)=>Q+S_,0)]).sort((a_,Q)=>a_[1]-Q[1])[0])==null?void 0:M[0];l_&&(e_=l_);break}case"initialPlacement":e_=l;break}if(r!==e_)return{reset:{placement:e_}}}return{}}}};async function pY(_,t){const{placement:n,platform:E,elements:r}=_,s=await(E.isRTL==null?void 0:E.isRTL(r.floating)),i=Nn(n),l=bn(n),L=ds(n)==="y",S=["left","top"].includes(i)?-1:1,A=s&&L?-1:1,u=QE(t,_);let{mainAxis:d,crossAxis:c,alignmentAxis:f}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof f=="number"&&(c=l==="end"?f*-1:f),L?{x:c*A,y:d*S}:{x:d*S,y:c*A}}const IY=function(_){return _===void 0&&(_=0),{name:"offset",options:_,async fn(t){var n,E;const{x:r,y:s,placement:i,middlewareData:l}=t,L=await pY(t,_);return i===((n=l.offset)==null?void 0:n.placement)&&(E=l.arrow)!=null&&E.alignmentOffset?{}:{x:r+L.x,y:s+L.y,data:{...L,placement:i}}}}},OY=function(_){return _===void 0&&(_={}),{name:"shift",options:_,async fn(t){const{x:n,y:E,placement:r}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:p=>{let{x:h,y:I}=p;return{x:h,y:I}}},...L}=QE(_,t),S={x:n,y:E},A=await GL(t,L),u=ds(Nn(r)),d=$L(u);let c=S[d],f=S[u];if(s){const p=d==="y"?"top":"left",h=d==="y"?"bottom":"right",I=c+A[p],O=c-A[h];c=yL(I,c,O)}if(i){const p=u==="y"?"top":"left",h=u==="y"?"bottom":"right",I=f+A[p],O=f-A[h];f=yL(I,f,O)}const C=l.fn({...t,[d]:c,[u]:f});return{...C,data:{x:C.x-n,y:C.y-E}}}}},UY=function(_){return _===void 0&&(_={}),{options:_,fn(t){const{x:n,y:E,placement:r,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:L=!0,crossAxis:S=!0}=QE(_,t),A={x:n,y:E},u=ds(r),d=$L(u);let c=A[d],f=A[u];const C=QE(l,t),p=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(L){const O=d==="y"?"height":"width",m=s.reference[d]-s.floating[O]+p.mainAxis,P=s.reference[d]+s.reference[O]-p.mainAxis;c<m?c=m:c>P&&(c=P)}if(S){var h,I;const O=d==="y"?"width":"height",m=["top","left"].includes(Nn(r)),P=s.reference[u]-s.floating[O]+(m&&((h=i.offset)==null?void 0:h[u])||0)+(m?0:p.crossAxis),y=s.reference[u]+s.reference[O]+(m?0:((I=i.offset)==null?void 0:I[u])||0)-(m?p.crossAxis:0);f<P?f=P:f>y&&(f=y)}return{[d]:c,[u]:f}}}};function ri(){return typeof window<"u"}function Zn(_){return vL(_)?(_.nodeName||"").toLowerCase():"#document"}function Dt(_){var t;return(_==null||(t=_.ownerDocument)==null?void 0:t.defaultView)||window}function Qn(_){var t;return(t=(vL(_)?_.ownerDocument:_.document)||window.document)==null?void 0:t.documentElement}function vL(_){return ri()?_ instanceof Node||_ instanceof Dt(_).Node:!1}function gn(_){return ri()?_ instanceof Element||_ instanceof Dt(_).Element:!1}function Yn(_){return ri()?_ instanceof HTMLElement||_ instanceof Dt(_).HTMLElement:!1}function id(_){return!ri()||typeof ShadowRoot>"u"?!1:_ instanceof ShadowRoot||_ instanceof Dt(_).ShadowRoot}function cs(_){const{overflow:t,overflowX:n,overflowY:E,display:r}=jt(_);return/auto|scroll|overlay|hidden|clip/.test(t+E+n)&&!["inline","contents"].includes(r)}function mY(_){return["table","td","th"].includes(Zn(_))}function NY(_){return[":popover-open",":modal"].some(t=>{try{return _.matches(t)}catch{return!1}})}function wL(_){const t=xL(),n=gn(_)?jt(_):_;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(E=>(n.willChange||"").includes(E))||["paint","layout","strict","content"].some(E=>(n.contain||"").includes(E))}function bY(_){let t=lr(_);for(;Yn(t)&&!si(t);){if(wL(t))return t;if(NY(t))return null;t=lr(t)}return null}function xL(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function si(_){return["html","body","#document"].includes(Zn(_))}function jt(_){return Dt(_).getComputedStyle(_)}function oi(_){return gn(_)?{scrollLeft:_.scrollLeft,scrollTop:_.scrollTop}:{scrollLeft:_.scrollX,scrollTop:_.scrollY}}function lr(_){if(Zn(_)==="html")return _;const t=_.assignedSlot||_.parentNode||id(_)&&_.host||Qn(_);return id(t)?t.host:t}function ld(_){const t=lr(_);return si(t)?_.ownerDocument?_.ownerDocument.body:_.body:Yn(t)&&cs(t)?t:ld(t)}function fs(_,t,n){var E;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ld(_),s=r===((E=_.ownerDocument)==null?void 0:E.body),i=Dt(r);if(s){const l=gY(i);return t.concat(i,i.visualViewport||[],cs(r)?r:[],l&&n?fs(l):[])}return t.concat(r,fs(r,[],n))}function gY(_){return _.parent&&Object.getPrototypeOf(_.parent)?_.frameElement:null}function Ld(_){const t=jt(_);let n=parseFloat(t.width)||0,E=parseFloat(t.height)||0;const r=Yn(_),s=r?_.offsetWidth:n,i=r?_.offsetHeight:E,l=ei(n)!==s||ei(E)!==i;return l&&(n=s,E=i),{width:n,height:E,$:l}}function HL(_){return gn(_)?_:_.contextElement}function Lr(_){const t=HL(_);if(!Yn(t))return ZE(1);const n=t.getBoundingClientRect(),{width:E,height:r,$:s}=Ld(t);let i=(s?ei(n.width):n.width)/E,l=(s?ei(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const YY=ZE(0);function Sd(_){const t=Dt(_);return!xL()||!t.visualViewport?YY:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function PY(_,t,n){return t===void 0&&(t=!1),!n||t&&n!==Dt(_)?!1:t}function Pa(_,t,n,E){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=_.getBoundingClientRect(),s=HL(_);let i=ZE(1);t&&(E?gn(E)&&(i=Lr(E)):i=Lr(_));const l=PY(s,n,E)?Sd(s):ZE(0);let L=(r.left+l.x)/i.x,S=(r.top+l.y)/i.y,A=r.width/i.x,u=r.height/i.y;if(s){const d=Dt(s),c=E&&gn(E)?Dt(E):E;let f=d,C=f.frameElement;for(;C&&E&&c!==f;){const p=Lr(C),h=C.getBoundingClientRect(),I=jt(C),O=h.left+(C.clientLeft+parseFloat(I.paddingLeft))*p.x,m=h.top+(C.clientTop+parseFloat(I.paddingTop))*p.y;L*=p.x,S*=p.y,A*=p.x,u*=p.y,L+=O,S+=m,f=Dt(C),C=f.frameElement}}return ai({width:A,height:u,x:L,y:S})}const VY=[":popover-open",":modal"];function Td(_){return VY.some(t=>{try{return _.matches(t)}catch{return!1}})}function BY(_){let{elements:t,rect:n,offsetParent:E,strategy:r}=_;const s=r==="fixed",i=Qn(E),l=t?Td(t.floating):!1;if(E===i||l&&s)return n;let L={scrollLeft:0,scrollTop:0},S=ZE(1);const A=ZE(0),u=Yn(E);if((u||!u&&!s)&&((Zn(E)!=="body"||cs(i))&&(L=oi(E)),Yn(E))){const d=Pa(E);S=Lr(E),A.x=d.x+E.clientLeft,A.y=d.y+E.clientTop}return{width:n.width*S.x,height:n.height*S.y,x:n.x*S.x-L.scrollLeft*S.x+A.x,y:n.y*S.y-L.scrollTop*S.y+A.y}}function DY(_){return Array.from(_.getClientRects())}function Ad(_){return Pa(Qn(_)).left+oi(_).scrollLeft}function yY(_){const t=Qn(_),n=oi(_),E=_.ownerDocument.body,r=Ya(t.scrollWidth,t.clientWidth,E.scrollWidth,E.clientWidth),s=Ya(t.scrollHeight,t.clientHeight,E.scrollHeight,E.clientHeight);let i=-n.scrollLeft+Ad(_);const l=-n.scrollTop;return jt(E).direction==="rtl"&&(i+=Ya(t.clientWidth,E.clientWidth)-r),{width:r,height:s,x:i,y:l}}function $Y(_,t){const n=Dt(_),E=Qn(_),r=n.visualViewport;let s=E.clientWidth,i=E.clientHeight,l=0,L=0;if(r){s=r.width,i=r.height;const S=xL();(!S||S&&t==="fixed")&&(l=r.offsetLeft,L=r.offsetTop)}return{width:s,height:i,x:l,y:L}}function MY(_,t){const n=Pa(_,!0,t==="fixed"),E=n.top+_.clientTop,r=n.left+_.clientLeft,s=Yn(_)?Lr(_):ZE(1),i=_.clientWidth*s.x,l=_.clientHeight*s.y,L=r*s.x,S=E*s.y;return{width:i,height:l,x:L,y:S}}function ud(_,t,n){let E;if(t==="viewport")E=$Y(_,n);else if(t==="document")E=yY(Qn(_));else if(gn(t))E=MY(t,n);else{const r=Sd(_);E={...t,x:t.x-r.x,y:t.y-r.y}}return ai(E)}function dd(_,t){const n=lr(_);return n===t||!gn(n)||si(n)?!1:jt(n).position==="fixed"||dd(n,t)}function FY(_,t){const n=t.get(_);if(n)return n;let E=fs(_,[],!1).filter(l=>gn(l)&&Zn(l)!=="body"),r=null;const s=jt(_).position==="fixed";let i=s?lr(_):_;for(;gn(i)&&!si(i);){const l=jt(i),L=wL(i);!L&&l.position==="fixed"&&(r=null),(s?!L&&!r:!L&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||cs(i)&&!L&&dd(_,i))?E=E.filter(A=>A!==i):r=l,i=lr(i)}return t.set(_,E),E}function GY(_){let{element:t,boundary:n,rootBoundary:E,strategy:r}=_;const i=[...n==="clippingAncestors"?FY(t,this._c):[].concat(n),E],l=i[0],L=i.reduce((S,A)=>{const u=ud(t,A,r);return S.top=Ya(u.top,S.top),S.right=ir(u.right,S.right),S.bottom=ir(u.bottom,S.bottom),S.left=Ya(u.left,S.left),S},ud(t,l,r));return{width:L.right-L.left,height:L.bottom-L.top,x:L.left,y:L.top}}function vY(_){const{width:t,height:n}=Ld(_);return{width:t,height:n}}function wY(_,t,n){const E=Yn(t),r=Qn(t),s=n==="fixed",i=Pa(_,!0,s,t);let l={scrollLeft:0,scrollTop:0};const L=ZE(0);if(E||!E&&!s)if((Zn(t)!=="body"||cs(r))&&(l=oi(t)),E){const u=Pa(t,!0,s,t);L.x=u.x+t.clientLeft,L.y=u.y+t.clientTop}else r&&(L.x=Ad(r));const S=i.left+l.scrollLeft-L.x,A=i.top+l.scrollTop-L.y;return{x:S,y:A,width:i.width,height:i.height}}function cd(_,t){return!Yn(_)||jt(_).position==="fixed"?null:t?t(_):_.offsetParent}function fd(_,t){const n=Dt(_);if(!Yn(_)||Td(_))return n;let E=cd(_,t);for(;E&&mY(E)&&jt(E).position==="static";)E=cd(E,t);return E&&(Zn(E)==="html"||Zn(E)==="body"&&jt(E).position==="static"&&!wL(E))?n:E||bY(_)||n}const xY=async function(_){const t=this.getOffsetParent||fd,n=this.getDimensions;return{reference:wY(_.reference,await t(_.floating),_.strategy),floating:{x:0,y:0,...await n(_.floating)}}};function HY(_){return jt(_).direction==="rtl"}const qY={convertOffsetParentRelativeRectToViewportRelativeRect:BY,getDocumentElement:Qn,getClippingRect:GY,getOffsetParent:fd,getElementRects:xY,getClientRects:DY,getDimensions:vY,getScale:Lr,isElement:gn,isRTL:HY};function WY(_,t){let n=null,E;const r=Qn(_);function s(){var l;clearTimeout(E),(l=n)==null||l.disconnect(),n=null}function i(l,L){l===void 0&&(l=!1),L===void 0&&(L=1),s();const{left:S,top:A,width:u,height:d}=_.getBoundingClientRect();if(l||t(),!u||!d)return;const c=ti(A),f=ti(r.clientWidth-(S+u)),C=ti(r.clientHeight-(A+d)),p=ti(S),I={rootMargin:-c+"px "+-f+"px "+-C+"px "+-p+"px",threshold:Ya(0,ir(1,L))||1};let O=!0;function m(P){const y=P[0].intersectionRatio;if(y!==L){if(!O)return i();y?i(!1,y):E=setTimeout(()=>{i(!1,1e-7)},100)}O=!1}try{n=new IntersectionObserver(m,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(m,I)}n.observe(_)}return i(!0),s}function Cs(_,t,n,E){E===void 0&&(E={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:L=!1}=E,S=HL(_),A=r||s?[...S?fs(S):[],...fs(t)]:[];A.forEach(h=>{r&&h.addEventListener("scroll",n,{passive:!0}),s&&h.addEventListener("resize",n)});const u=S&&l?WY(S,n):null;let d=-1,c=null;i&&(c=new ResizeObserver(h=>{let[I]=h;I&&I.target===S&&c&&(c.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var O;(O=c)==null||O.observe(t)})),n()}),S&&!L&&c.observe(S),c.observe(t));let f,C=L?Pa(_):null;L&&p();function p(){const h=Pa(_);C&&(h.x!==C.x||h.y!==C.y||h.width!==C.width||h.height!==C.height)&&n(),C=h,f=requestAnimationFrame(p)}return n(),()=>{var h;A.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),u==null||u(),(h=c)==null||h.disconnect(),c=null,L&&cancelAnimationFrame(f)}}const kY=RY,Rs=OY,hs=hY,XY=fY,ii=UY,ps=(_,t,n)=>{const E=new Map,r={platform:qY,...n},s={...r.platform,_c:E};return cY(_,t,{...r,platform:s})};function KY(_){return _!=null&&typeof _=="object"&&"$el"in _}function jY(_){if(KY(_)){const t=_.$el;return vL(t)&&Zn(t)==="#comment"?null:t}return _}function zY(_){return typeof _=="function"?_():e.unref(_)}function JY(_){return{name:"arrow",options:_,fn(t){const n=jY(zY(_.element));return n==null?{}:XY({element:n,padding:_.padding}).fn(t)}}}const j={arrowDown:40,arrowLeft:37,arrowRight:39,arrowUp:38,e:69,enter:13,escape:27,minus:189,numMinus:109,numPlus:107,plus:187,space:32,tab:9,backspace:8,del:46,home:36,end:35};function ZY(_){const t=e.toRef(_,"id"),n=e.toRef(_,"offsetDistance"),E=e.toRef(_,"offsetSkidding"),r=e.toRef(_,"placement"),s=e.toRef(_,"timeClose"),i=e.ref(void 0),l=e.ref(void 0),L=e.ref(!1),S=e.ref(void 0),A=e.ref(void 0),u=e.ref(void 0),d=e.computed(()=>document.getElementById(t.value)),c=e.computed(()=>r.value&&r.value.includes("auto")),f=e.computed(()=>[IY({mainAxis:n.value||0,crossAxis:E.value||0,alignmentAxis:null}),c.value?kY():hs(),Rs({limiter:ii()}),A.value&&JY({element:A.value,padding:5})]),C=M=>{M.keyCode===j.escape&&B()},p=()=>{document.addEventListener("keydown",C)},h=()=>{document.removeEventListener("keydown",C)},I=()=>{pe.$on("closeHtmlTitle",B)},O=()=>{pe.$off("closeHtmlTitle",B)},m=()=>{i.value&&(i.value(),i.value=void 0)},P=()=>{S.value=setTimeout(()=>{B()},s.value)},y=()=>{if(L.value){clearTimeout(S.value);return}L.value=!0},V=()=>{i.value||!d.value||!u.value||(i.value=Cs(d.value,u.value,()=>{!d.value||!u.value||ps(d.value,u.value,{placement:r.value,middleware:f.value}).then(({x:M,y:v,middlewareData:z,placement:e_})=>{Object.assign(u.value.style,{left:`${M}px`,top:`${v}px`});const l_=e_.split("-")[0],a_={top:"bottom",right:"left",bottom:"top",left:"right"}[l_];if(z.arrow){const{x:Q,y:S_}=z.arrow;Object.assign(A.value.style,{left:E_(Q)?"":`${Q}px`,top:E_(S_)?"":`${S_}px`,[a_]:`${-A.value.offsetWidth/2}px`})}})}),pe.$emit("closeHtmlTitle"),I(),p())},$=()=>{clearTimeout(S.value)},N=()=>{P()};function B(){clearTimeout(S.value),m(),O(),h(),L.value=!1}return{closeTitle:B,closeTitleWithTimer:P,componentRef:l,isTitleVisible:L,mouseEnterTooltip:$,mouseLeaveTooltip:N,showTitle:y,startPopper:V,titleArrowRef:A,titleRef:u}}function qL(_){const t=e.toRef(_,"popperContainerId"),n=e.computed(()=>`#${t.value}`);return{addPopperContainerInBody:({className:r="a_popup_container"}={})=>{if(!document.getElementById(t.value)){const i=document.createElement("div");i.id=t.value,i.className=r,document.body.prepend(i)}},popperContainerIdSelector:n}}const QY=["RouterLink","router-link"];function _P(_){const t=e.toRef(_,"tag");return{tagLocal:e.computed(()=>QY.indexOf(t.value)!==-1?e.resolveComponent(t.value):t.value)}}function eP(_,{showTitle:t=()=>{},closeTitle:n=()=>{},closeTitleWithTimer:E=()=>{}}){const r=e.toRef(_,"isHide");return{onBlur:()=>{n()},onFocus:()=>{r.value||t()},onMouseenter:()=>{r.value||t()},onMouseleave:()=>{E()}}}const Sr={created(_,t){var n;Y_((n=t.value)==null?void 0:n.created)&&t.value.created(_,t)},beforeMount(_,t){var n;Y_((n=t.value)==null?void 0:n.beforeMount)&&t.value.beforeMount(_,t)},mounted(_,t){var n;Y_((n=t.value)==null?void 0:n.mounted)&&t.value.mounted(_,t)},beforeUnmount(_,t){var n;Y_((n=t.value)==null?void 0:n.beforeUnmount)&&t.value.beforeUnmount(_,t)},unmounted(_,t){var n;Y_((n=t.value)==null?void 0:n.unmounted)&&t.value.unmounted(_,t)}},Cd={name:"ATooltip",props:{arrowPadding:{type:[Number,Function],required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_tooltip_")},isHide:{type:Boolean,required:!1},maxWidth:{type:Number,required:!1,default:void 0},minWidth:{type:Number,required:!1,default:void 0},offsetDistance:{type:Number,required:!1,default:6},offsetSkidding:{type:Number,required:!1,default:0},placement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},popperContainerId:{type:String,required:!1,default:"a_tooltip_container"},showArrow:{type:Boolean,required:!1,default:!0},tag:{type:String,required:!1,default:"span"},timeClose:{type:Number,required:!1,default:100,validator:_=>_>=0},width:{type:Number,required:!1,default:void 0},withoutAriaDescribedby:{type:Boolean,required:!1}},setup(_){const{closeTitle:t,closeTitleWithTimer:n,componentRef:E,isTitleVisible:r,mouseEnterTooltip:s,mouseLeaveTooltip:i,showTitle:l,startPopper:L,titleArrowRef:S,titleRef:A}=ZY(_),{onBlur:u,onFocus:d,onMouseenter:c,onMouseleave:f}=eP(_,{showTitle:l,closeTitle:t,closeTitleWithTimer:n}),{tagLocal:C}=_P(_),{ariaDescribedby:p,tooltipStyles:h}=iY(_,{isTitleVisible:r}),{addPopperContainerInBody:I,popperContainerIdSelector:O}=qL(_);return I(),e.onBeforeUnmount(()=>{t()}),{ariaDescribedby:p,closeTitle:t,componentRef:E,isTitleVisible:r,mouseEnterTooltip:s,mouseLeaveTooltip:i,onBlur:u,onFocus:d,onMouseenter:c,onMouseleave:f,showTitle:l,popperContainerIdSelector:O,startPopper:L,tagLocal:C,titleArrowRef:S,titleRef:A,tooltipStyles:h}},render(){return e.h(this.tagLocal,{ref:"componentRef",id:this.id,"aria-describedby":this.ariaDescribedby,onFocus:this.onFocus,onBlur:this.onBlur,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},{default:()=>[this.$slots.default&&this.$slots.default(),!this.isHide&&e.h(e.Teleport,{to:this.popperContainerIdSelector},[!!(this.$slots.title&&this.isTitleVisible)&&e.withDirectives(e.h("div",{ref:"titleRef",class:"a_tooltip__container",style:this.tooltipStyles,onMouseenter:this.mouseEnterTooltip,onMouseleave:this.mouseLeaveTooltip},[this.showArrow&&e.h("div",{ref:"titleArrowRef","data-popper-arrow":!0,class:"a_tooltip__arrow"}),e.h("div",{id:this.ariaDescribedby,class:"a_tooltip__wrapper"},this.$slots.title&&this.$slots.title())]),[[Sr,{mounted:this.startPopper}]])])]})}};function tP(_,{tagLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"isTitleHtml");return{componentLocal:e.computed(()=>n.value?Cd:t.value)}}function nP(_){const t=e.toRef(_,"type"),n=e.toRef(_,"disabled");return{disabledLocal:e.computed(()=>{if(["button","submit","reset"].indexOf(t.value)!==-1&&n.value)return!0})}}function EP(_,{tagLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"isTitleHtml"),E=e.toRef(_,"titleAttributes"),r=e.toRef(_,"titlePlacement"),s=e.ref(void 0),i=e.computed(()=>n.value?{tag:t.value,placement:r.value,withoutAriaDescribedby:!0,...E.value}:{});return{elementRef:s,htmlTitleAttributes:i}}function aP(_){const t=e.toRef(_,"loading"),n=e.toRef(_,"loadingAlign"),E=e.computed(()=>t.value&&n.value==="left"),r=e.computed(()=>t.value&&n.value==="right");return{isLoadingLeft:E,isLoadingRight:r}}function rP(_){const t=e.toRef(_,"disabled"),n=e.toRef(_,"to"),E=e.toRef(_,"type");return{isRouterLink:e.computed(()=>E.value==="link"&&!!n.value&&!t.value)}}const Rd="a_btn a_btn_switch";function sP(_){const t=e.toRef(_,"isSwitch"),n=e.toRef(_,"modelSwitch"),E=e.computed(()=>{if(t.value)return!!n.value}),r=e.computed(()=>{if(t.value)return n.value?`${Rd} a_btn_switch_active`:Rd});return{isSwitchActive:E,switchClass:r}}const oP={button:"button",submit:"button",reset:"button",link:"a",text:"span"};function iP(_,{isRouterLink:t=e.computed(()=>!1)}){const n=e.toRef(_,"tag"),E=e.toRef(_,"type");return{tagLocal:e.computed(()=>n.value?n.value:t.value?e.resolveComponent("RouterLink"):oP[E.value]||"span")}}function lP(_){const t=e.toRef(_,"html"),n=e.toRef(_,"htmlScreenReader"),E=e.toRef(_,"safeHtml"),r=e.toRef(_,"safeHtmlScreenReader"),s=e.toRef(_,"text"),i=e.toRef(_,"textScreenReader"),l=e.computed(()=>Q_(s.value)?!qe(s.value):!E_(s.value)&&s.value!==""),L=e.computed(()=>Q_(E.value)?!qe(E.value):!E_(E.value)&&E.value!==""),S=e.computed(()=>Q_(t.value)?!qe(t.value):!E_(t.value)&&t.value!==""),A=e.computed(()=>l.value||L.value||S.value),u=e.computed(()=>Q_(i.value)?!qe(i.value):!E_(i.value)&&i.value!==""),d=e.computed(()=>Q_(r.value)?!qe(r.value):!E_(r.value)&&r.value!==""),c=e.computed(()=>Q_(n.value)?!qe(n.value):!E_(n.value)&&n.value!==""),f=e.computed(()=>u.value||d.value||c.value);return{isTextOrHtmlVisible:A,isTextOrHtmlScreenReaderVisible:f}}function LP(_){const t=e.toRef(_,"title");return{isTitleVisible:e.computed(()=>c_(t.value)&&t.value.length>0?!0:Q_(t.value)?!qe(t.value):!V_(t.value))}}function Ie(_){const t=e.toRef(_,"excludeRenderAttributes");return{attributesToExcludeFromRender:e.computed(()=>{const E={};return q(t.value,r=>{E[r]=void 0}),E})}}const L_={name:"AElement",inheritAttrs:!1,props:{alwaysTranslate:{type:Boolean,required:!1},ariaDisabled:{type:Boolean,required:!1,default:void 0},ariaLabel:{type:[String,Number,Object],required:!1,default:void 0},attributes:{type:Object,required:!1,default:()=>({})},class:{type:[String,Object],required:!1,default:void 0},classDefault:{type:String,required:!1,default:"aloha_element"},classDefaultHidden:{type:String,required:!1,default:"aloha_element__hidden"},classDisabled:{type:String,required:!1,default:"disabled"},disabled:{type:Boolean,required:!1,default:void 0},excludeRenderAttributes:{type:Array,required:!1,default:()=>[]},extra:{type:Object,required:!1,default:void 0},extraData:{type:[String,Number,Boolean,Array,Object,Date,Function,Symbol,null,void 0],required:!1,default:void 0},href:{type:String,required:!1,default:void 0},html:{type:[String,Number,Object,Array],required:!1,default:void 0},htmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},iconAttributes:{type:Object,required:!1,default:()=>({})},iconClass:{type:[String,Object],required:!1,default:void 0},iconLeft:{type:[String,Object],required:!1,default:void 0},iconRight:{type:[String,Object],required:!1,default:void 0},iconTag:{type:String,required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_element_")},isSwitch:{type:Boolean,required:!1,default:void 0},isTitleHtml:{type:Boolean,required:!1,default:void 0},loading:{type:Boolean,required:!1,default:!1},loadingAlign:{type:String,required:!1,default:"right",validator:_=>["right","left"].indexOf(_)!==-1},loadingClass:{type:[String,Object],required:!1,default:"a_spinner_small"},modelSwitch:{type:Boolean,required:!1,default:void 0},prevent:{type:Boolean,required:!1,default:void 0},safeHtml:{type:[String,Number,Object,Array],required:!1,default:void 0},safeHtmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},stop:{type:Boolean,required:!1,default:void 0},tabindex:{type:[Number,String],required:!1,default:void 0},tag:{type:String,required:!1,default:void 0},target:{type:String,required:!1,default:void 0},text:{type:[String,Number,Object,Array],required:!1,default:void 0},textAfter:{type:[String,Number,Object],required:!1,default:void 0},textAriaHidden:{type:Boolean,required:!1,default:void 0},textBefore:{type:[String,Number,Object],required:!1,default:void 0},textClass:{type:String,required:!1,default:void 0},textScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},textTag:{type:String,required:!1,default:"span"},title:{type:[String,Number,Object,Array],required:!1,default:void 0},titleAttributes:{type:Object,required:!1,default:()=>({})},titlePlacement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},titleZIndex:{type:[Number,String],required:!1,default:"auto",validator:_=>Ee(_)?_==="auto":Jn(_)},to:{type:[Object,String],required:!1,default:void 0},type:{type:String,required:!0,default:"text",validator:_=>["button","submit","reset","link","text"].indexOf(_)!==-1}},emits:["click"],setup(_,t){const{attributesToExcludeFromRender:n}=Ie(_),{isRouterLink:E}=rP(_),{disabledLocal:r}=nP(_),{tagLocal:s}=iP(_,{isRouterLink:E}),{toHrefAttributes:i,typeAttribut:l}=sY(_,{isRouterLink:E,tagLocal:s}),{isTitleVisible:L}=LP(_),{isLoadingLeft:S,isLoadingRight:A}=aP(_),{isTextOrHtmlVisible:u,isTextOrHtmlScreenReaderVisible:d}=lP(_),{onClick:c}=oY(_,t),{componentLocal:f}=tP(_,{tagLocal:s}),{elementRef:C,htmlTitleAttributes:p}=EP(_,{tagLocal:s}),{ariaLabelAttributes:h}=DL(_),{isSwitchActive:I,switchClass:O}=sP(_);return{ariaLabelAttributes:h,attributesToExcludeFromRender:n,componentLocal:f,disabledLocal:r,elementRef:C,htmlTitleAttributes:p,isLoadingLeft:S,isLoadingRight:A,isSwitchActive:I,isTextOrHtmlScreenReaderVisible:d,isTextOrHtmlVisible:u,isTitleVisible:L,onClick:c,switchClass:O,tagLocal:s,toHrefAttributes:i,typeAttribut:l}},render(){return e.h(this.componentLocal,{...this.$attrs,...this.htmlTitleAttributes,...this.ariaLabelAttributes,...this.toHrefAttributes,ref:"elementRef",id:this.id,class:[this.classDefault,this.switchClass,this.class,{[this.classDisabled]:this.ariaDisabled}],type:this.typeAttribut,tabindex:this.tabindex,disabled:this.disabledLocal,ariaDisabled:this.ariaDisabled,"aria-pressed":this.isSwitchActive,isAllRowsSelected:void 0,onClick:this.onClick,...this.attributes,...this.attributesToExcludeFromRender},{default:()=>[!this.isTitleHtml&&this.isTitleVisible?e.h(u_,{tag:"span",alwaysTranslate:this.alwaysTranslate,ariaHidden:!0,class:["a_position_absolute_all",this.classDefaultHidden],title:this.title,extra:this.extra,style:{zIndex:this.titleZIndex},...this.titleAttributes}):"",this.isTextOrHtmlScreenReaderVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,class:["a_sr_only",this.classDefaultHidden],tag:"span",text:this.textScreenReader,html:this.htmlScreenReader,safeHtml:this.safeHtmlScreenReader,extra:this.extra}):"",this.$slots.buttonPrepend?this.$slots.buttonPrepend({extraData:this.extraData}):"",this.isLoadingLeft?e.h(hr,{class:["aloha_btn__spinner_left",this.loadingClass]}):"",e.h(ae,{icon:this.iconLeft,iconTag:this.iconTag,class:["aloha_btn__icon_left",this.iconClass],...this.iconAttributes}),this.$slots.default?this.$slots.default({extraData:this.extraData}):"",this.isTextOrHtmlVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,ariaHidden:this.textAriaHidden,class:this.textClass,extra:this.extra,html:this.html,safeHtml:this.safeHtml,tag:this.textTag,text:this.text,textAfter:this.textAfter,textBefore:this.textBefore}):"",e.h(ae,{icon:this.iconRight,iconTag:this.iconTag,class:["aloha_btn__icon_right",this.iconClass],...this.iconAttributes}),this.isLoadingRight?e.h(hr,{class:["aloha_btn__spinner_right",this.loadingClass]}):"",this.$slots.buttonAppend?this.$slots.buttonAppend({extraData:this.extraData}):""],title:!this.isTitleHtml||!this.title&&!this.$slots.buttonTitle?()=>"":()=>[this.isTitleVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,html:this.title,tag:"span",extra:this.extra}):"",this.$slots.buttonTitle?this.$slots.buttonTitle({extraData:this.extraData}):""]})}};function hd(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"isButtonGroup"),E=e.toRef(_,"classButtonGroupDefault");return{classButton:e.computed(()=>{if(n.value)return t.value.classButton||E.value})}}function SP(_,{valueLocal:t=e.computed(()=>{})}){const n=e.toRef(_,"modelValue");return{isChecked:e.computed(()=>n.value&&n.value.indexOf(t.value)!==-1)}}function TP(_,{emit:t},{disabledElement:n=e.computed(()=>{}),isChecked:E=e.computed(()=>!1),valueLocal:r=e.computed(()=>{})}){const s=e.toRef(_,"dataItem"),i=e.toRef(_,"modelValue"),l=S=>{if(n.value){S.preventDefault(),S.stopPropagation();return}const A=__(i.value)||[];if(E.value){const u=A.indexOf(r.value);A.splice(u,1)}else A.push(r.value);t("changeModelValue",{model:A,item:s.value,$event:S}),S.preventDefault(),S.stopPropagation()};return{onClick:l,onKeydown:S=>{(S.key==="Enter"||S.keyCode===j.space)&&(l(S),S.stopPropagation(),S.preventDefault())}}}function WL(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"id"),E=e.toRef(_,"idSuffix"),r=e.toRef(_,"itemIndex"),s=e.computed(()=>t.value[C_]),i=e.computed(()=>t.value[se]),l=e.computed(()=>E.value?`_${E.value}`:"");return{idLocal:e.computed(()=>`${n.value}_${r.value}${l.value}`),labelLocal:i,valueLocal:s}}function kL(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"disabled"),E=e.toRef(_,"keyDisabled"),r=e.toRef(_,"keyDisabledCallback");return{disabledElement:e.computed(()=>{if(n.value||Y_(r.value)&&r.value({item:t.value})||E.value&&o_(t.value,E.value))return!0})}}function pd(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"keyTitle"),E=e.toRef(_,"keyTitleCallback");return{titleLocal:e.computed(()=>{if(E.value)return E.value({item:t.value});if(n.value)return o_(t.value,n.value)})}}function Id(_,{trueValue:t="_YES_",falseValue:n="_NO_",useNil:E=!0}={}){return E&&E_(_)?"":de(_?{placeholder:t}:{placeholder:n})}function Od(_){return dU(_)}function Tr(_,{suffix:t="",digits:n=2,digitGrouping:E=!0}={}){if(E_(_))return"";let r=He(_);if(r.split(",").length-1>1)return _;r=r.replace(",",".").replace(/[.](?=.*[.])/g,"");let i=tr(r);if(i===0)return`0${n>0?",":""}${zb("0",n)}${t?` ${t}`:""}`;if(!i)return _;i=mu(i,n),r=He(i);const l=r.split(".");let L="";if(l[1])for(let c=0;c<n;c++){const f=V_(l[1][c])?"0":l[1][c];L=`${L}${f}`}else L=Hb("",n,"0");let S=He(l[0]||"0"),A=!1;S.startsWith("-")&&(S=S.substring(1),A=!0);let u=0,d="";return _b(S,c=>{u>0&&u%3===0&&E&&(d+="."),u++,d+=c}),`${A?"-":""}${d.split("").reverse().join("")}${JE(L)>0?",":""}${L}${t?` ${t}`:""}`}function Ud(_,{suffix:t="€",digits:n=2,digitGrouping:E=!0}={}){return Tr(_,{suffix:t,digits:n,digitGrouping:E})}bt.suppressDeprecationWarnings=!0;const md={date:()=>"DD.MM.YYYY",datetime:()=>"DD.MM.YYYY HH:mm",fullDate:()=>"dddd, DD. MMMM YYYY, HH:mm",time:()=>"HH:mm",timeWithSeconds:()=>"HH:mm:ss"};function Nd(_,{format:t="date"}={}){if(E_(_)||_==="")return"";const n=bt(String(_));return n.isValid()?(Y_(md[t])&&(t=md[t]()),n.format(t)):_}function bd(_,{emptyValue:t="-"}={}){return E_(_)||_===""?t:_}function gd(_,{linkClass:t}={}){if(E_(_)||_===""||!Ee(_)||!/^\S+@\S+\.\S+$/.test(_))return"";let n="";return t&&(n=` class="${t}"`),`<a href="mailto:${_}"${n}>${_}</a>`}function Yd(_){const t=document.createElement("div");return t.textContent=_,t.innerHTML}function Pd(_,{units:t="kb",sourceUnits:n="b",digits:E=2}={}){const s=["b","kb","mb","gb","tb","pb","eb","zb","yb"],i=tr(_);if(fb(i))return"";const l=s.indexOf(n);let L=s.indexOf(t);if(l===-1)return"";const S=i*Math.pow(1024,l);L===-1&&(L=Math.floor(Math.log(S)/Math.log(1024)),L<0&&(L=0),t=s[L]);const A=de({placeholder:`_A_FILE_SIZE_${Yu(t)}_`});if(i===0)return Tr(0,{suffix:A,digits:E});if(l===L)return Tr(i,{suffix:A,digits:E});const u=S/Math.pow(1024,Math.abs(L));return Tr(u,{suffix:A,digits:E})}function Vd(_,{replacer:t,space:n=2,isHtml:E=!1,jsonClass:r="a_code_content",tag:s="pre"}={}){if(E_(_))return"";try{const i=JSON.stringify(_,t,n);if(E){const l=r?` class="${r}"`:"";return`<${s}${l}>${i}</${s}>`}return i}catch{return""}}function Bd(_){return _?jb(_,(t,n,E)=>`${t}${t?", ":""}${E}: ${n}`,""):""}function Dd(_,{limit:t=30,maxThreeDots:n=!0}={}){if(E_(_))return"";const E=He(_);if(E.length<=t)return E;if(n){const r=E.slice(0,t).trimEnd();let s="...",i=!0;for(let l=r.length-1;l>r.length-4&&r[l]===".";l--){if(i)s=s.slice(0,-1);else break;i=!0}return`${r}${s}`}return`${E.substring(0,t)}...`}function yd(_,{linkText:t="",protocol:n="https://",target:E="",linkClass:r=""}={}){if(E_(_)||!Ee(_))return"";let s=n;(_.startsWith("https://")||_.startsWith("http://"))&&(s="");const i=E?` target="${E}"`:"",l=r?` class="${r}"`:"";return`<a href="${s}${_}"${i}${l}>${t||_}</a>`}function Is(_,{defaultValue:t="",isChild:n=!1,isHtml:E=!0,isSimpleArray:r=!1,keyChildren:s="",keyLabel:i="",keyLabelCallback:l,lastSeparator:L,listClass:S="",separator:A,separatorHtml:u="",tag:d="ul"}={}){if(!c_(_)||!_.length)return t;let c="";return E===!1||E==="false"?(V_(A)&&(A=", "),q(_,(f,C)=>{let p=$d({keyLabel:i,keyLabelCallback:l,index:C,item:f,isSimpleArray:r}),h;if(r){if(c_(p)){let I="";q(p,O=>{c_(O)?h=O:I=O}),p=I}}else s&&(h=o_(f,s));!V_(L)&&C===_.length-1?c+=`${C!==0||n?L:""}${p}`:c+=`${C!==0||n?A:""}${p}`,h!=null&&h.length&&(c+=Is(h,{isChild:!0,isHtml:E,isSimpleArray:r,keyChildren:s,keyLabel:i,keyLabelCallback:l,separator:A}))}),c):(q(_,(f,C)=>{const p=_.length===C+1,h=$d({keyLabel:i,keyLabelCallback:l,index:C,item:f,isSimpleArray:r});let I,O=h;r?c_(h)&&q(h,m=>{c_(m)?I=m:O=m}):s&&(I=o_(f,s)),A&&!p&&(O+=A),I!=null&&I.length&&(O+=Is(I,{isChild:!0,isHtml:E,isSimpleArray:r,keyChildren:s,keyLabel:i,keyLabelCallback:l,listClass:S,tag:d})),u&&!p&&(O+=u),c+=`<li>${O}</li>`}),`<${d}${AP({listClass:S})}>${c}</${d}>`)}function $d({keyLabel:_,keyLabelCallback:t,index:n,item:E,isSimpleArray:r}){let s;return r?s=E:Y_(t)?s=t({item:E,itemIndex:n}):s=_?o_(E,_):E,V_(s)&&(s=""),s}function AP({listClass:_}){return _?` class="${_}"`:""}function Md(_){return gu(_)}function Fd(_,{chars:t=4,mask:n="*"}={}){if(E_(_))return"";const E=He(_);if(E.length<=t)return E;const r=Rb([t,0]),s=n.repeat(E.length-r),i=r===0?"":E.slice(-r);return`${s}${i}`}function Gd(_,{mapping:t={},defaultValue:n=""}={}){return`${_}`in t?t[_]:n}function vd(_,{searchModel:t="",searchClass:n="a_search_highlight",tag:E="mark",attributes:r=[],caseSensitive:s=!1,isHtml:i=!1}={}){if(!_)return"";if(t===""||E_(t))return _;const l=s?"g":"gi",L=new RegExp(Fo(t),l),S=r.length?` ${r.join(" ")}`:"";if(!i)return _.replace(L,d=>wd({value:d,tag:E,searchClass:n,attributesString:S}));const u=new DOMParser().parseFromString(_,"text/html");return xd({node:u.body,tag:E,searchClass:n,re:L,attributesString:S}),u.body.innerHTML}function wd({value:_,tag:t,searchClass:n,attributesString:E}){return`<${t} class="${n}"${E}>${_}</${t}>`}function xd({node:_,re:t,tag:n,searchClass:E,attributesString:r}){if(_.nodeType===Node.TEXT_NODE){if(_.nodeValue.match(t)){const i=_.parentNode,l=_.nodeValue.replace(t,S=>wd({value:S,tag:n,searchClass:E,attributesString:r})),L=document.createElement("span");for(L.innerHTML=l;L.firstChild;)i.insertBefore(L.firstChild,_);i.removeChild(_)}}else _.nodeType===Node.ELEMENT_NODE&&Array.from(_.childNodes).forEach(s=>xd({node:s,re:t,tag:n,searchClass:E,attributesString:r}))}function Hd(_){return Yu(_)}const qd=e.ref({});function ht(){return{filterBoolean:(O,{trueValue:m="_YES_",falseValue:P="_NO_",useNil:y=!0}={})=>Id(O,{trueValue:m,falseValue:P,useNil:y}),filterCapitalize:O=>Od(O),filterCurrency:(O,{suffix:m="€",digits:P=2,digitGrouping:y=!0}={})=>Ud(O,{suffix:m,digits:P,digitGrouping:y}),filterDate:(O,{format:m="date"}={})=>Nd(O,{format:m}),filterDefaultForEmpty:(O,{emptyValue:m="-"}={})=>bd(O,{emptyValue:m}),filterEmail:(O,{linkClass:m}={})=>gd(O,{linkClass:m}),filterEscapeHtml:O=>Yd(O),filterFileSize:(O,{units:m="kb",sourceUnits:P="b",digits:y=2}={})=>Pd(O,{units:m,sourceUnits:P,digits:y}),filterFloat:(O,{suffix:m="",digits:P=2,digitGrouping:y=!0}={})=>Tr(O,{suffix:m,digits:P,digitGrouping:y}),filterJson:(O,{replacer:m,space:P=2,isHtml:y=!1,jsonClass:V="a_code_content",tag:$="pre"}={})=>Vd(O,{replacer:m,space:P,isHtml:y,jsonClass:V,tag:$}),filterKeyValue:O=>Bd(O),filterLimitTo:(O,{limit:m=30,maxThreeDots:P=!0}={})=>Dd(O,{limit:m,maxThreeDots:P}),filterLink:(O,{linkText:m="",protocol:P="https://",target:y="",linkClass:V=""}={})=>yd(O,{linkText:m,protocol:P,target:y,linkClass:V}),filterList:(O,{isHtml:m=!0,isSimpleArray:P=!1,keyChildren:y="",keyLabel:V="",keyLabelCallback:$,listClass:N="",separator:B=", ",tag:M="ul"}={})=>Is(O,{isHtml:m,listClass:N,keyLabel:V,keyLabelCallback:$,keyChildren:y,isSimpleArray:P,separator:B,tag:M}),filterLowerCase:O=>Md(O),filterMask:(O,{chars:m=4,mask:P="*"}={})=>Fd(O,{chars:m,mask:P}),filterPropertyByValue:(O,{mapping:m={},defaultValue:P=""}={})=>Gd(O,{mapping:m,defaultValue:P}),filterSearchHighlight:(O,{searchModel:m="",searchClass:P="a_search_highlight",tag:y="mark",attributes:V=[],caseSensitive:$=!1,isHtml:N=!1}={})=>vd(O,{searchModel:m,searchClass:P,tag:y,attributes:V,caseSensitive:$,isHtml:N}),filterUpperCase:O=>Hd(O),...qd.value}}function XL(_,{labelLocal:t=e.computed(()=>""),valueLocal:n=e.computed(()=>"")}){const E=e.toRef(_,"isHiddenWithSearch"),r=e.toRef(_,"modelSearch"),s=e.toRef(_,"searching"),i=e.toRef(_,"searchingElements"),l=e.toRef(_,"searchTextInHtml"),L=e.toRef(_,"showElementWennGroupFound"),{filterSearchHighlight:S}=ht(),A=e.computed(()=>!!(E.value||s.value&&!L.value&&!i.value[n.value])),u=e.computed(()=>A.value?t.value:S(t.value,{searchModel:r.value,isHtml:l.value})),d=e.computed(()=>A.value?"display: none;":void 0),c=e.computed(()=>A.value?!0:void 0);return{currentLabelFiltered:u,dataHideWithSearch:c,styleWithSearch:d}}const li={name:"ACheckboxItem",props:{alwaysTranslate:{type:Boolean,required:!1},classButtonGroupDefault:{type:[String,Object,Array],required:!1,default:void 0},dataItem:{type:Object,required:!0},disabled:{type:Boolean,required:!1},id:{type:String,required:!0},idSuffix:{type:String,required:!1,default:void 0},isButtonGroup:{type:Boolean,required:!1},isErrors:{type:Boolean,required:!1},isHiddenWithSearch:{type:Boolean,required:!1},isWidthAuto:{type:Boolean,required:!1},itemIndex:{type:Number,required:!0},keyDisabled:{type:String,required:!1,default:void 0},keyDisabledCallback:{type:Function,required:!1,default:void 0},keyTitle:{type:String,required:!1,default:void 0},keyTitleCallback:{type:Function,required:!1,default:void 0},modelSearch:{type:String,required:!1,default:""},modelValue:{type:Array,required:!1},readonly:{type:Boolean,required:!1},searching:{type:Boolean,required:!1},searchingElements:{type:Object,required:!1,default:()=>({})},searchTextInHtml:{type:Boolean,required:!1},showElementWennGroupFound:{type:Boolean,required:!1},slotAppendName:{type:String,required:!1,default:void 0},slotName:{type:String,required:!1,default:void 0},type:{type:String,required:!1}},emits:["changeModelValue"],setup(_,t){const{idLocal:n,labelLocal:E,valueLocal:r}=WL(_),{classButton:s}=hd(_),{isChecked:i}=SP(_,{valueLocal:r}),{disabledElement:l}=kL(_),{onClick:L,onKeydown:S}=TP(_,t,{isChecked:i,valueLocal:r}),{currentLabelFiltered:A,styleWithSearch:u}=XL(_,{labelLocal:E,valueLocal:r}),{titleLocal:d}=pd(_);return{classButton:s,currentLabelFiltered:A,disabledElement:l,idLocal:n,isChecked:i,labelLocal:E,onClick:L,onKeydown:S,styleWithSearch:u,titleLocal:d,valueLocal:r}},render(){return this.readonly?e.h(L_,{alwaysTranslate:this.alwaysTranslate,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},tag:"li",title:this.titleLocal,type:"text"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])]):this.isButtonGroup?[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_btn_check",disabled:this.disabledElement,name:this.id,style:this.styleWithSearch,type:"checkbox",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:this.classButton,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{}),[[$e,this.currentLabelFiltered]])])]:[e.h("div",{class:["a_custom_control a_custom_checkbox",{a_custom_control_invalid:this.isErrors}],style:this.styleWithSearch},[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_custom_control_input",disabled:this.disabledElement,name:this.id,type:"checkbox",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:{a_custom_control_label:!0,a_custom_control_label_width_auto:this.isWidthAuto},classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])])]),this.slotAppendName&&this.$slots[this.slotAppendName]?this.$slots[this.slotAppendName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,isChecked:this.isChecked,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):""]}};function uP(_){const t=e.toRef(_,"data"),n=e.toRef(_,"modelValueObj"),E=e.computed(()=>{const i={indeterminate:void 0,checkedAll:!1,checkedSome:!1,uncheckedSome:!1};return qe(n.value)||(q(t.value,l=>{const L=l[C_];if(n.value[L]?i.checkedSome=!0:i.uncheckedSome=!0,i.checkedSome&&i.uncheckedSome)return i.indeterminate=!0,!1}),i.checkedSome&&!i.uncheckedSome&&(i.checkedAll=!0)),i}),r=e.computed(()=>E.value.checkedAll),s=e.computed(()=>E.value.indeterminate);return{isCheckedAll:r,isIndeterminate:s}}function dP(_,{emit:t},{isCheckedAll:n=e.computed(()=>!1),isIndeterminate:E=e.computed(()=>{})}){const r=e.toRef(_,"data"),s=e.toRef(_,"dataKeyByKeyId"),i=e.toRef(_,"modelValue"),l=()=>le(i.value||[],d=>!s.value[d]),L=({model:d})=>(q(r.value,c=>{const f=c[C_];d.push(f)}),d),S=d=>{let c=l();(E.value||!n.value)&&(c=L({model:c})),t("changeModelValue",{$event:d,model:c})},A=d=>{d.stopPropagation(),d.preventDefault(),S(d)};return{onClick:A,onKeydown:d=>{(d.keyCode===j.enter||d.keyCode===j.space)&&(A(d),d.stopPropagation(),d.preventDefault())}}}function cP(_){const t=e.toRef(_,"id"),n=e.computed(()=>`${t.value}_legend`);return{idGroup:e.computed(()=>`${t.value}_group`),idLocal:n}}function fP(_){const t=e.toRef(_,"label"),n=e.toRef(_,"modelSearch"),E=e.toRef(_,"showSearchHighlight"),{filterSearchHighlight:r}=ht();return{labelSearchHighlight:e.computed(()=>E.value?r(t.value,{searchModel:n.value}):t.value)}}const Wd={name:"ACheckboxLegend",props:{alwaysTranslate:{type:Boolean,required:!1},data:{type:Array,required:!1,default:()=>[]},dataKeyByKeyId:{type:Object,required:!1,default:()=>({})},disabled:{type:Boolean,required:!1},hasControlCheckbox:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},isErrors:{type:Boolean,required:!1},label:{type:String,required:!1,default:void 0},legendClass:{type:[String,Object],required:!1,default:void 0},labelScreenReader:{type:[String,Number],required:!1,default:void 0},main:{type:Boolean,required:!1},modelSearch:{type:String,required:!1,default:void 0},modelValue:{type:[String,Number,Boolean,Array],required:!1,default:()=>[]},modelValueObj:{type:Object,required:!1,default:()=>({})},showSearchHighlight:{type:Boolean,required:!1,default:void 0},textAfterLabel:{type:String,required:!1,default:void 0}},emits:["changeModelValue"],setup(_,t){const{idGroup:n,idLocal:E}=cP(_),{isCheckedAll:r,isIndeterminate:s}=uP(_),{onClick:i,onKeydown:l}=dP(_,t,{isCheckedAll:r,isIndeterminate:s}),{labelSearchHighlight:L}=fP(_);return{idGroup:n,idLocal:E,isCheckedAll:r,isIndeterminate:s,labelSearchHighlight:L,onClick:i,onKeydown:l}},render(){return this.hasControlCheckbox?e.h("legend",{class:["a_legend",{a_legend_invalid:this.isErrors},this.legendClass]},[e.h("div",{class:["a_custom_control a_custom_checkbox",{a_custom_control_invalid:this.isErrors}]},[e.h("input",{id:this.idLocal,"aria-controls":this.idGroup,checked:this.isCheckedAll,class:"a_custom_control_input",disabled:this.disabled,indeterminate:this.isIndeterminate,type:"checkbox",onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:"a_custom_control_label a_custom_control_label_width_auto",classDefault:"",for:this.idLocal,html:this.labelSearchHighlight,textScreenReader:this.labelScreenReader,tag:"label",textAfter:this.textAfterLabel,textClass:"a_custom_control_label__text",type:"text"})])]):e.h(L_,{id:this.idLocal,class:["a_legend",{a_legend_invalid:this.isErrors},this.legendClass],html:this.labelSearchHighlight,tag:"legend",textAfter:this.textAfterLabel,textScreenReader:this.labelScreenReader,type:"text"})}};function KL(_,{htmlIdLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"label"),E=e.computed(()=>`${t.value}_group`);return{groupAriaLabelledby:e.computed(()=>{if(n.value)return`${t.value}_legend`}),groupId:E}}function CP(_,{changeModel:t=()=>{}}){const n=e.toRef(_,"disabled");return{onChangeModelValue:({model:r,$event:s})=>{n.value||setTimeout(()=>{t({model:r,$event:s})})}}}function RP(_,{dataKeyByKeyIdLocal:t=e.computed(()=>({}))}){const n=e.toRef(_,"modelValue"),E=e.computed(()=>{const i={};return q(n.value||[],l=>{i[l]=!0}),i}),r=e.computed(()=>n.value?le(n.value,i=>t.value[i]):[]);return{isModelValue:e.computed(()=>r.value.length>0),modelValueFiltered:r,modelValueObj:E}}const Os=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
10
+ </svg>`,Me=e.ref({propsDefault:{alertClass:void 0,alertContentClass:void 0,btnCloseAttributes:{},closable:!1,extra:void 0,html:void 0,icon:void 0,iconClass:void 0,isVisible:!1,removeAlertOnClose:!1,safeHtml:void 0,showIcon:!1,text:void 0,textClose:"_A_ALERT_CLOSE_",type:"danger"},icons:{success:Kg,danger:Xo,info:jg,warning:ko}}),zg={install:(_,{propsDefault:t={},icons:n={}}={})=>{Me.value.propsDefault={...Me.value.propsDefault,...t},Me.value.icons={...Me.value.icons,...n}}};function Jg(_){const t=e.toRef(_,"icon"),n=e.toRef(_,"showIcon"),E=e.toRef(_,"type");return{iconLocal:e.computed(()=>{if(n.value)return t.value?t.value:Me.value.icons[E.value]})}}const Ko={name:"AAlert",props:{alertClass:{type:[String,Object],required:!1,default:()=>Me.value.propsDefault.alertClass},alertContentClass:{type:[String,Object],required:!1,default:()=>Me.value.propsDefault.alertContentClass},alwaysTranslate:{type:Boolean,required:!1},ariaAtomic:{type:Boolean,required:!1,default:!0},btnCloseAttributes:{type:Object,required:!1,default:()=>Me.value.propsDefault.btnCloseAttributes},closable:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.closable},extra:{type:Object,required:!1,default:()=>Me.value.propsDefault.extra},html:{type:String,required:!1,default:()=>Me.value.propsDefault.html},icon:{type:String,required:!1,default:()=>Me.value.propsDefault.icon},iconClass:{type:String,required:!1,default:()=>Me.value.propsDefault.iconClass},isVisible:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.isVisible},removeAlertOnClose:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.removeAlertOnClose},role:{type:String,required:!1,default:"alert"},safeHtml:{type:String,required:!1,default:()=>Me.value.propsDefault.safeHtml},showIcon:{type:Boolean,required:!1,default:()=>Me.value.propsDefault.showIcon},text:{type:String,required:!1,default:()=>Me.value.propsDefault.text},textClose:{type:String,required:!1,default:()=>Me.value.propsDefault.textClose},type:{type:String,required:!1,default:()=>Me.value.propsDefault.type}},emits:["close"],setup(_,t){const{expose:n}=t,{alertClassLocal:E,alertParentClassLocal:r}=kg(_),{close:s,isHidden:i}=Xg(_,t),{iconLocal:l}=Jg(_),{ariaAtomicLocal:L,roleLocal:S}=Wg(_);return n({close:s,isHidden:i}),{alertClassLocal:E,alertParentClassLocal:r,ariaAtomicLocal:L,close:s,iconLocal:l,isHidden:i,roleLocal:S}},render(){return this.isHidden?null:e.h("div",{class:["a_alert__parent",this.alertParentClassLocal,{a_alert__parent_closable:this.closable}]},[e.h("div",{role:this.roleLocal,ariaAtomic:this.ariaAtomicLocal},[this.isVisible&&e.h("div",{class:[this.alertClass,this.alertClassLocal]},[this.iconLocal&&e.h(ae,{icon:this.iconLocal,class:["a_alert__icon",this.iconClass]}),e.h("div",{class:["a_alert__content",this.alertContentClass]},[(this.html||this.text||this.safeHtml)&&e.h(u_,{alwaysTranslate:this.alwaysTranslate,extra:this.extra,html:this.html,safeHtml:this.safeHtml,text:this.text}),this.$slots.default&&this.$slots.default()])])]),this.isVisible&&this.closable&&e.h(Le,{alwaysTranslate:this.alwaysTranslate,class:"a_btn_close",textScreenReader:this.textClose,title:this.textClose,type:"button",...this.btnCloseAttributes,onClick:this.close})])}};function ju(_,{emit:t}){return{clickEmit:E=>{t("click",E)}}}const dt=["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Le={name:"AButton",inheritAttrs:!1,props:{alwaysTranslate:{type:Boolean,required:!1},ariaDisabled:{type:Boolean,required:!1,default:void 0},ariaLabel:{type:[String,Number,Object],required:!1,default:void 0},attributes:{type:Object,required:!1,default:()=>({})},class:{type:[String,Object],required:!1,default:void 0},classDefault:{type:String,required:!1,default:"aloha_element"},classDefaultHidden:{type:String,required:!1,default:"aloha_element__hidden"},classDisabled:{type:String,required:!1,default:"disabled"},disabled:{type:Boolean,required:!1,default:void 0},excludeRenderAttributes:{type:Array,required:!1,default:()=>[]},extra:{type:Object,required:!1,default:void 0},extraData:{type:[String,Number,Boolean,Array,Object,Date,Function,Symbol,null,void 0],required:!1,default:void 0},html:{type:[String,Number,Object,Array],required:!1,default:void 0},htmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},iconAttributes:{type:Object,required:!1,default:()=>({})},iconClass:{type:[String,Object],required:!1,default:void 0},iconLeft:{type:[String,Object],required:!1,default:void 0},iconRight:{type:[String,Object],required:!1,default:void 0},iconTag:{type:String,required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_btn_")},isSwitch:{type:Boolean,required:!1,default:void 0},isTitleHtml:{type:Boolean,required:!1,default:void 0},loading:{type:Boolean,required:!1,default:!1},loadingAlign:{type:String,required:!1,default:"right",validator:_=>["right","left"].indexOf(_)!==-1},loadingClass:{type:[String,Object],required:!1,default:"a_spinner_small"},modelSwitch:{type:Boolean,required:!1,default:void 0},prevent:{type:Boolean,required:!1,default:void 0},safeHtml:{type:[String,Number,Object,Array],required:!1,default:void 0},safeHtmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},stop:{type:Boolean,required:!1,default:void 0},tabindex:{type:[Number,String],required:!1,default:void 0},tag:{type:String,required:!1,default:void 0},text:{type:[String,Number,Object,Array],required:!1,default:void 0},textAfter:{type:[String,Number,Object],required:!1,default:void 0},textAriaHidden:{type:Boolean,required:!1,default:void 0},textBefore:{type:[String,Number,Object],required:!1,default:void 0},textClass:{type:String,required:!1,default:void 0},textScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},textTag:{type:String,required:!1,default:"span"},title:{type:[String,Number,Object,Array],required:!1,default:void 0},titleAttributes:{type:Object,required:!1,default:()=>({})},titlePlacement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},titleZIndex:{type:[Number,String],required:!1,default:"auto",validator:_=>Ee(_)?_==="auto":Jn(_)},type:{type:String,required:!1,default:"button",validator:_=>["button","submit","reset"].indexOf(_)!==-1}},emits:["click"],setup(_,t){const{clickEmit:n}=ju(_,t);return{clickEmit:n}},render(){return e.h(L_,{...this.$attrs,...this.$props,onClick:this.clickEmit},this.$slots)}};var jo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zg(_){return _&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_}var zo={exports:{}},zu;function Qg(){if(zu)return zo.exports;zu=1;function _(){}return _.prototype={on:function(t,n,E){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:n,ctx:E}),this},once:function(t,n,E){var r=this;function s(){r.off(t,s),n.apply(E,arguments)}return s._=n,this.on(t,s,E)},emit:function(t){var n=[].slice.call(arguments,1),E=((this.e||(this.e={}))[t]||[]).slice(),r=0,s=E.length;for(r;r<s;r++)E[r].fn.apply(E[r].ctx,n);return this},off:function(t,n){var E=this.e||(this.e={}),r=E[t],s=[];if(r&&n)for(var i=0,l=r.length;i<l;i++)r[i].fn!==n&&r[i].fn._!==n&&s.push(r[i]);return s.length?E[t]=s:delete E[t],this}},zo.exports=_,zo.exports.TinyEmitter=_,zo.exports}var gL,Ju;function _Y(){if(Ju)return gL;Ju=1;var _=Qg();return gL=new _,gL}var eY=_Y();const Jo=Zg(eY),pe={$on:(..._)=>Jo.on(..._),$once:(..._)=>Jo.once(..._),$off:(..._)=>Jo.off(..._),$emit:(..._)=>Jo.emit(..._)},Ss=e.ref(void 0),Ts=e.ref(void 0);function As(_){Ss.value=_,pe.$emit("updateViewOnResize",_),_?document.body.classList.add("a_mobile"):document.body.classList.remove("a_mobile")}function Et(){return{isMobileWidth:Ss,mobileBreakpoint:Ts,setIsMobileWidth:As}}const Zo=e.ref("de");Y.i18n={};const Zu=e.ref(new Date),Qo=e.ref(new Date);Y.translation={};const ba=e.ref(!0),tY=e.computed(()=>[Zo.value,Zu.value,ba.value]);e.watch(tY,()=>{nY()},{immediate:!0});function or(){return{isTranslate:ba,language:Zo,setI18n:YL,setLanguage:PL,toggleTranslate:ed,translationChanges:Qo,updateI18n:Qu,updateI18nForLanguage:_d,updateTranslation:VL}}function YL(_={}){Y.i18n=_}function Qu(_={}){Y.i18n={...Y.i18n,..._}}function _d({i18n:_={},language:t}){Y.i18n[t]=Y.i18n[t]||{},Y.i18n[t]={...Y.i18n[t]||{},..._}}function PL(_=""){Zo.value=_}function ed(_){V_(_)?ba.value=!ba.value:ba.value=!!_}function nY(){Y.translation=Y.i18n[Zo.value],Qo.value=new Date}function VL(){Zu.value=new Date}const BL=e.ref({replaceText:void 0}),EY=(_={})=>{Y_(_==null?void 0:_.replaceText)&&(BL.value.replaceText=_==null?void 0:_.replaceText)},aY={install:(_,t,n,E={})=>{YL(t),PL(n),VL(),EY(E)}};function ga(){return{getTranslatedAttributes:us,getTranslatedText:de,getTranslationAttributes:_i,isPlaceholderTranslate:mn,replaceText:td,spliceString:nd}}function mn(_=""){return!(!Ee(_)||_[0]!=="_"||_[_.length-1]!=="_")}function de({placeholder:_,translationObj:t=Y.translation,extra:n,alwaysTranslate:E=!1}){if(!t||!Qo.value)return _;let r;return!E&&!ba.value?r=_:r=E_(t[_])?_:t[_],n?td({text:r,object:n}):r}function td({text:_="",object:t}){var r,s;if(Y_((r=BL.value)==null?void 0:r.replaceText))return(s=BL.value)==null?void 0:s.replaceText({text:_,object:t});if(!Q_(t))return _;let n=_,E=0;for(;;){const i=n.indexOf("{{",E),l=n.indexOf("}}",E);if(i===-1||l===-1)break;const L=n.slice(i+2,l).trim(),S=o_(t,L);n=nd({text:n,replaceText:S,firstIndex:i,lastindex:l+2}),E=i+`${S}`.length}return n}function nd({text:_="",replaceText:t="",firstIndex:n,lastindex:E}){return`${_.slice(0,n)}${t}${_.slice(E,_.length)}`}function _i({attr:_="",value:t="",translation:n="",isTranslate:E=!0}){const r={};return E_(n)||(r[_]=n),E&&(r[`data-translate-${_}`]=t),r}function us({attr:_="",placeholder:t="",extra:n,translationObj:E=Y.translation}){const r=mn(t),s=de({placeholder:t,extra:n,translationObj:E,alwaysTranslate:!0});return _i({attr:_,value:t,translation:s,isTranslate:r})}function DL(_){const t=e.toRef(_,"alwaysTranslate"),n=e.toRef(_,"ariaLabel"),E=e.toRef(_,"extra"),{translationChanges:r}=or(),{isPlaceholderTranslate:s,getTranslatedText:i,getTranslationAttributes:l}=ga(),{isMobileWidth:L}=Et(),S=e.computed(()=>Q_(n.value)?L.value?n.value.mobile:n.value.desktop:n.value),A=e.computed(()=>!V_(S.value)),u=e.computed(()=>!(!A.value||!s(S.value))),d=e.computed(()=>{if(r.value)return u.value?i({placeholder:S.value,extra:E.value,alwaysTranslate:t.value}):S.value});return{ariaLabelAttributes:e.computed(()=>A.value?l({attr:"aria-label",translation:d.value,value:S.value,isTranslate:u.value}):{}),hasAriaLabel:A}}const rY={button:!0,submit:!0,reset:!0};function sY(_,{isRouterLink:t=e.computed(()=>!1),tagLocal:n=e.computed(()=>"")}){const E=e.toRef(_,"disabled"),r=e.toRef(_,"href"),s=e.toRef(_,"target"),i=e.toRef(_,"to"),l=e.toRef(_,"type"),L=e.computed(()=>{if(n.value==="button"&&rY[l.value])return l.value});return{toHrefAttributes:e.computed(()=>t.value?{target:s.value,to:i.value}:E.value?{}:{href:r.value,target:s.value}),typeAttribut:L}}function oY(_,{emit:t}){const n=e.toRef(_,"prevent"),E=e.toRef(_,"stop"),r=e.toRef(_,"disabled"),s=e.toRef(_,"ariaDisabled");return{onClick:l=>{n.value&&l.preventDefault(),E.value&&l.stopPropagation(),!(r.value||s.value)&&t("click",{props:_,$event:l})}}}function iY(_,{isTitleVisible:t=e.ref(!1)}){const n=e.toRef(_,"id"),E=e.toRef(_,"minWidth"),r=e.toRef(_,"width"),s=e.toRef(_,"maxWidth"),i=e.toRef(_,"withoutAriaDescribedby"),l=e.computed(()=>{if(!i.value&&t.value)return`${n.value}_title`}),L=e.computed(()=>{const S={};return E_(E.value)||(S["min-width"]=`${E.value}px`),E_(r.value)||(S.width=`${r.value}px`),E_(s.value)||(S["max-width"]=`${s.value}px`),S});return{ariaDescribedby:l,tooltipStyles:L}}const lY=["top","right","bottom","left"],Ed=["start","end"],ad=lY.reduce((_,t)=>_.concat(t,t+"-"+Ed[0],t+"-"+Ed[1]),[]),ir=Math.min,Ya=Math.max,ei=Math.round,ti=Math.floor,ZE=_=>({x:_,y:_}),LY={left:"right",right:"left",bottom:"top",top:"bottom"},SY={start:"end",end:"start"};function yL(_,t,n){return Ya(_,ir(t,n))}function QE(_,t){return typeof _=="function"?_(t):_}function Nn(_){return _.split("-")[0]}function bn(_){return _.split("-")[1]}function $L(_){return _==="x"?"y":"x"}function ML(_){return _==="y"?"height":"width"}function ds(_){return["top","bottom"].includes(Nn(_))?"y":"x"}function FL(_){return $L(ds(_))}function rd(_,t,n){n===void 0&&(n=!1);const E=bn(_),r=FL(_),s=ML(r);let i=r==="x"?E===(n?"end":"start")?"right":"left":E==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ei(i)),[i,Ei(i)]}function TY(_){const t=Ei(_);return[ni(_),t,ni(t)]}function ni(_){return _.replace(/start|end/g,t=>SY[t])}function AY(_,t,n){const E=["left","right"],r=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(_){case"top":case"bottom":return n?t?r:E:t?E:r;case"left":case"right":return t?s:i;default:return[]}}function uY(_,t,n,E){const r=bn(_);let s=AY(Nn(_),n==="start",E);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(ni)))),s}function Ei(_){return _.replace(/left|right|bottom|top/g,t=>LY[t])}function dY(_){return{top:0,right:0,bottom:0,left:0,..._}}function sd(_){return typeof _!="number"?dY(_):{top:_,right:_,bottom:_,left:_}}function ai(_){const{x:t,y:n,width:E,height:r}=_;return{width:E,height:r,top:n,left:t,right:t+E,bottom:n+r,x:t,y:n}}function od(_,t,n){let{reference:E,floating:r}=_;const s=ds(t),i=FL(t),l=ML(i),L=Nn(t),S=s==="y",A=E.x+E.width/2-r.width/2,u=E.y+E.height/2-r.height/2,d=E[l]/2-r[l]/2;let c;switch(L){case"top":c={x:A,y:E.y-r.height};break;case"bottom":c={x:A,y:E.y+E.height};break;case"right":c={x:E.x+E.width,y:u};break;case"left":c={x:E.x-r.width,y:u};break;default:c={x:E.x,y:E.y}}switch(bn(t)){case"start":c[i]-=d*(n&&S?-1:1);break;case"end":c[i]+=d*(n&&S?-1:1);break}return c}const cY=async(_,t,n)=>{const{placement:E="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),L=await(i.isRTL==null?void 0:i.isRTL(t));let S=await i.getElementRects({reference:_,floating:t,strategy:r}),{x:A,y:u}=od(S,E,L),d=E,c={},f=0;for(let C=0;C<l.length;C++){const{name:p,fn:h}=l[C],{x:I,y:O,data:m,reset:P}=await h({x:A,y:u,initialPlacement:E,placement:d,strategy:r,middlewareData:c,rects:S,platform:i,elements:{reference:_,floating:t}});A=I??A,u=O??u,c={...c,[p]:{...c[p],...m}},P&&f<=50&&(f++,typeof P=="object"&&(P.placement&&(d=P.placement),P.rects&&(S=P.rects===!0?await i.getElementRects({reference:_,floating:t,strategy:r}):P.rects),{x:A,y:u}=od(S,d,L)),C=-1)}return{x:A,y:u,placement:d,strategy:r,middlewareData:c}};async function GL(_,t){var n;t===void 0&&(t={});const{x:E,y:r,platform:s,rects:i,elements:l,strategy:L}=_,{boundary:S="clippingAncestors",rootBoundary:A="viewport",elementContext:u="floating",altBoundary:d=!1,padding:c=0}=QE(t,_),f=sd(c),p=l[d?u==="floating"?"reference":"floating":u],h=ai(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:S,rootBoundary:A,strategy:L})),I=u==="floating"?{...i.floating,x:E,y:r}:i.reference,O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),m=await(s.isElement==null?void 0:s.isElement(O))?await(s.getScale==null?void 0:s.getScale(O))||{x:1,y:1}:{x:1,y:1},P=ai(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:I,offsetParent:O,strategy:L}):I);return{top:(h.top-P.top+f.top)/m.y,bottom:(P.bottom-h.bottom+f.bottom)/m.y,left:(h.left-P.left+f.left)/m.x,right:(P.right-h.right+f.right)/m.x}}const fY=_=>({name:"arrow",options:_,async fn(t){const{x:n,y:E,placement:r,rects:s,platform:i,elements:l,middlewareData:L}=t,{element:S,padding:A=0}=QE(_,t)||{};if(S==null)return{};const u=sd(A),d={x:n,y:E},c=FL(r),f=ML(c),C=await i.getDimensions(S),p=c==="y",h=p?"top":"left",I=p?"bottom":"right",O=p?"clientHeight":"clientWidth",m=s.reference[f]+s.reference[c]-d[c]-s.floating[f],P=d[c]-s.reference[c],y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(S));let V=y?y[O]:0;(!V||!await(i.isElement==null?void 0:i.isElement(y)))&&(V=l.floating[O]||s.floating[f]);const $=m/2-P/2,N=V/2-C[f]/2-1,B=ir(u[h],N),M=ir(u[I],N),v=B,z=V-C[f]-M,e_=V/2-C[f]/2+$,l_=yL(v,e_,z),a_=!L.arrow&&bn(r)!=null&&e_!==l_&&s.reference[f]/2-(e_<v?B:M)-C[f]/2<0,Q=a_?e_<v?e_-v:e_-z:0;return{[c]:d[c]+Q,data:{[c]:l_,centerOffset:e_-l_-Q,...a_&&{alignmentOffset:Q}},reset:a_}}});function CY(_,t,n){return(_?[...n.filter(r=>bn(r)===_),...n.filter(r=>bn(r)!==_)]:n.filter(r=>Nn(r)===r)).filter(r=>_?bn(r)===_||(t?ni(r)!==r:!1):!0)}const RY=function(_){return _===void 0&&(_={}),{name:"autoPlacement",options:_,async fn(t){var n,E,r;const{rects:s,middlewareData:i,placement:l,platform:L,elements:S}=t,{crossAxis:A=!1,alignment:u,allowedPlacements:d=ad,autoAlignment:c=!0,...f}=QE(_,t),C=u!==void 0||d===ad?CY(u||null,c,d):d,p=await GL(t,f),h=((n=i.autoPlacement)==null?void 0:n.index)||0,I=C[h];if(I==null)return{};const O=rd(I,s,await(L.isRTL==null?void 0:L.isRTL(S.floating)));if(l!==I)return{reset:{placement:C[0]}};const m=[p[Nn(I)],p[O[0]],p[O[1]]],P=[...((E=i.autoPlacement)==null?void 0:E.overflows)||[],{placement:I,overflows:m}],y=C[h+1];if(y)return{data:{index:h+1,overflows:P},reset:{placement:y}};const V=P.map(B=>{const M=bn(B.placement);return[B.placement,M&&A?B.overflows.slice(0,2).reduce((v,z)=>v+z,0):B.overflows[0],B.overflows]}).sort((B,M)=>B[1]-M[1]),N=((r=V.filter(B=>B[2].slice(0,bn(B[0])?2:3).every(M=>M<=0))[0])==null?void 0:r[0])||V[0][0];return N!==l?{data:{index:h+1,overflows:P},reset:{placement:N}}:{}}}},hY=function(_){return _===void 0&&(_={}),{name:"flip",options:_,async fn(t){var n,E;const{placement:r,middlewareData:s,rects:i,initialPlacement:l,platform:L,elements:S}=t,{mainAxis:A=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:c="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:C=!0,...p}=QE(_,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const h=Nn(r),I=Nn(l)===l,O=await(L.isRTL==null?void 0:L.isRTL(S.floating)),m=d||(I||!C?[Ei(l)]:TY(l));!d&&f!=="none"&&m.push(...uY(l,C,f,O));const P=[l,...m],y=await GL(t,p),V=[];let $=((E=s.flip)==null?void 0:E.overflows)||[];if(A&&V.push(y[h]),u){const v=rd(r,i,O);V.push(y[v[0]],y[v[1]])}if($=[...$,{placement:r,overflows:V}],!V.every(v=>v<=0)){var N,B;const v=(((N=s.flip)==null?void 0:N.index)||0)+1,z=P[v];if(z)return{data:{index:v,overflows:$},reset:{placement:z}};let e_=(B=$.filter(l_=>l_.overflows[0]<=0).sort((l_,a_)=>l_.overflows[1]-a_.overflows[1])[0])==null?void 0:B.placement;if(!e_)switch(c){case"bestFit":{var M;const l_=(M=$.map(a_=>[a_.placement,a_.overflows.filter(Q=>Q>0).reduce((Q,S_)=>Q+S_,0)]).sort((a_,Q)=>a_[1]-Q[1])[0])==null?void 0:M[0];l_&&(e_=l_);break}case"initialPlacement":e_=l;break}if(r!==e_)return{reset:{placement:e_}}}return{}}}};async function pY(_,t){const{placement:n,platform:E,elements:r}=_,s=await(E.isRTL==null?void 0:E.isRTL(r.floating)),i=Nn(n),l=bn(n),L=ds(n)==="y",S=["left","top"].includes(i)?-1:1,A=s&&L?-1:1,u=QE(t,_);let{mainAxis:d,crossAxis:c,alignmentAxis:f}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&typeof f=="number"&&(c=l==="end"?f*-1:f),L?{x:c*A,y:d*S}:{x:d*S,y:c*A}}const IY=function(_){return _===void 0&&(_=0),{name:"offset",options:_,async fn(t){var n,E;const{x:r,y:s,placement:i,middlewareData:l}=t,L=await pY(t,_);return i===((n=l.offset)==null?void 0:n.placement)&&(E=l.arrow)!=null&&E.alignmentOffset?{}:{x:r+L.x,y:s+L.y,data:{...L,placement:i}}}}},OY=function(_){return _===void 0&&(_={}),{name:"shift",options:_,async fn(t){const{x:n,y:E,placement:r}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:p=>{let{x:h,y:I}=p;return{x:h,y:I}}},...L}=QE(_,t),S={x:n,y:E},A=await GL(t,L),u=ds(Nn(r)),d=$L(u);let c=S[d],f=S[u];if(s){const p=d==="y"?"top":"left",h=d==="y"?"bottom":"right",I=c+A[p],O=c-A[h];c=yL(I,c,O)}if(i){const p=u==="y"?"top":"left",h=u==="y"?"bottom":"right",I=f+A[p],O=f-A[h];f=yL(I,f,O)}const C=l.fn({...t,[d]:c,[u]:f});return{...C,data:{x:C.x-n,y:C.y-E}}}}},UY=function(_){return _===void 0&&(_={}),{options:_,fn(t){const{x:n,y:E,placement:r,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:L=!0,crossAxis:S=!0}=QE(_,t),A={x:n,y:E},u=ds(r),d=$L(u);let c=A[d],f=A[u];const C=QE(l,t),p=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(L){const O=d==="y"?"height":"width",m=s.reference[d]-s.floating[O]+p.mainAxis,P=s.reference[d]+s.reference[O]-p.mainAxis;c<m?c=m:c>P&&(c=P)}if(S){var h,I;const O=d==="y"?"width":"height",m=["top","left"].includes(Nn(r)),P=s.reference[u]-s.floating[O]+(m&&((h=i.offset)==null?void 0:h[u])||0)+(m?0:p.crossAxis),y=s.reference[u]+s.reference[O]+(m?0:((I=i.offset)==null?void 0:I[u])||0)-(m?p.crossAxis:0);f<P?f=P:f>y&&(f=y)}return{[d]:c,[u]:f}}}};function ri(){return typeof window<"u"}function Zn(_){return vL(_)?(_.nodeName||"").toLowerCase():"#document"}function Dt(_){var t;return(_==null||(t=_.ownerDocument)==null?void 0:t.defaultView)||window}function Qn(_){var t;return(t=(vL(_)?_.ownerDocument:_.document)||window.document)==null?void 0:t.documentElement}function vL(_){return ri()?_ instanceof Node||_ instanceof Dt(_).Node:!1}function gn(_){return ri()?_ instanceof Element||_ instanceof Dt(_).Element:!1}function Yn(_){return ri()?_ instanceof HTMLElement||_ instanceof Dt(_).HTMLElement:!1}function id(_){return!ri()||typeof ShadowRoot>"u"?!1:_ instanceof ShadowRoot||_ instanceof Dt(_).ShadowRoot}function cs(_){const{overflow:t,overflowX:n,overflowY:E,display:r}=jt(_);return/auto|scroll|overlay|hidden|clip/.test(t+E+n)&&!["inline","contents"].includes(r)}function mY(_){return["table","td","th"].includes(Zn(_))}function NY(_){return[":popover-open",":modal"].some(t=>{try{return _.matches(t)}catch{return!1}})}function wL(_){const t=xL(),n=gn(_)?jt(_):_;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(E=>(n.willChange||"").includes(E))||["paint","layout","strict","content"].some(E=>(n.contain||"").includes(E))}function bY(_){let t=lr(_);for(;Yn(t)&&!si(t);){if(wL(t))return t;if(NY(t))return null;t=lr(t)}return null}function xL(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function si(_){return["html","body","#document"].includes(Zn(_))}function jt(_){return Dt(_).getComputedStyle(_)}function oi(_){return gn(_)?{scrollLeft:_.scrollLeft,scrollTop:_.scrollTop}:{scrollLeft:_.scrollX,scrollTop:_.scrollY}}function lr(_){if(Zn(_)==="html")return _;const t=_.assignedSlot||_.parentNode||id(_)&&_.host||Qn(_);return id(t)?t.host:t}function ld(_){const t=lr(_);return si(t)?_.ownerDocument?_.ownerDocument.body:_.body:Yn(t)&&cs(t)?t:ld(t)}function fs(_,t,n){var E;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ld(_),s=r===((E=_.ownerDocument)==null?void 0:E.body),i=Dt(r);if(s){const l=gY(i);return t.concat(i,i.visualViewport||[],cs(r)?r:[],l&&n?fs(l):[])}return t.concat(r,fs(r,[],n))}function gY(_){return _.parent&&Object.getPrototypeOf(_.parent)?_.frameElement:null}function Ld(_){const t=jt(_);let n=parseFloat(t.width)||0,E=parseFloat(t.height)||0;const r=Yn(_),s=r?_.offsetWidth:n,i=r?_.offsetHeight:E,l=ei(n)!==s||ei(E)!==i;return l&&(n=s,E=i),{width:n,height:E,$:l}}function HL(_){return gn(_)?_:_.contextElement}function Lr(_){const t=HL(_);if(!Yn(t))return ZE(1);const n=t.getBoundingClientRect(),{width:E,height:r,$:s}=Ld(t);let i=(s?ei(n.width):n.width)/E,l=(s?ei(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const YY=ZE(0);function Sd(_){const t=Dt(_);return!xL()||!t.visualViewport?YY:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function PY(_,t,n){return t===void 0&&(t=!1),!n||t&&n!==Dt(_)?!1:t}function Pa(_,t,n,E){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=_.getBoundingClientRect(),s=HL(_);let i=ZE(1);t&&(E?gn(E)&&(i=Lr(E)):i=Lr(_));const l=PY(s,n,E)?Sd(s):ZE(0);let L=(r.left+l.x)/i.x,S=(r.top+l.y)/i.y,A=r.width/i.x,u=r.height/i.y;if(s){const d=Dt(s),c=E&&gn(E)?Dt(E):E;let f=d,C=f.frameElement;for(;C&&E&&c!==f;){const p=Lr(C),h=C.getBoundingClientRect(),I=jt(C),O=h.left+(C.clientLeft+parseFloat(I.paddingLeft))*p.x,m=h.top+(C.clientTop+parseFloat(I.paddingTop))*p.y;L*=p.x,S*=p.y,A*=p.x,u*=p.y,L+=O,S+=m,f=Dt(C),C=f.frameElement}}return ai({width:A,height:u,x:L,y:S})}const VY=[":popover-open",":modal"];function Td(_){return VY.some(t=>{try{return _.matches(t)}catch{return!1}})}function BY(_){let{elements:t,rect:n,offsetParent:E,strategy:r}=_;const s=r==="fixed",i=Qn(E),l=t?Td(t.floating):!1;if(E===i||l&&s)return n;let L={scrollLeft:0,scrollTop:0},S=ZE(1);const A=ZE(0),u=Yn(E);if((u||!u&&!s)&&((Zn(E)!=="body"||cs(i))&&(L=oi(E)),Yn(E))){const d=Pa(E);S=Lr(E),A.x=d.x+E.clientLeft,A.y=d.y+E.clientTop}return{width:n.width*S.x,height:n.height*S.y,x:n.x*S.x-L.scrollLeft*S.x+A.x,y:n.y*S.y-L.scrollTop*S.y+A.y}}function DY(_){return Array.from(_.getClientRects())}function Ad(_){return Pa(Qn(_)).left+oi(_).scrollLeft}function yY(_){const t=Qn(_),n=oi(_),E=_.ownerDocument.body,r=Ya(t.scrollWidth,t.clientWidth,E.scrollWidth,E.clientWidth),s=Ya(t.scrollHeight,t.clientHeight,E.scrollHeight,E.clientHeight);let i=-n.scrollLeft+Ad(_);const l=-n.scrollTop;return jt(E).direction==="rtl"&&(i+=Ya(t.clientWidth,E.clientWidth)-r),{width:r,height:s,x:i,y:l}}function $Y(_,t){const n=Dt(_),E=Qn(_),r=n.visualViewport;let s=E.clientWidth,i=E.clientHeight,l=0,L=0;if(r){s=r.width,i=r.height;const S=xL();(!S||S&&t==="fixed")&&(l=r.offsetLeft,L=r.offsetTop)}return{width:s,height:i,x:l,y:L}}function MY(_,t){const n=Pa(_,!0,t==="fixed"),E=n.top+_.clientTop,r=n.left+_.clientLeft,s=Yn(_)?Lr(_):ZE(1),i=_.clientWidth*s.x,l=_.clientHeight*s.y,L=r*s.x,S=E*s.y;return{width:i,height:l,x:L,y:S}}function ud(_,t,n){let E;if(t==="viewport")E=$Y(_,n);else if(t==="document")E=yY(Qn(_));else if(gn(t))E=MY(t,n);else{const r=Sd(_);E={...t,x:t.x-r.x,y:t.y-r.y}}return ai(E)}function dd(_,t){const n=lr(_);return n===t||!gn(n)||si(n)?!1:jt(n).position==="fixed"||dd(n,t)}function FY(_,t){const n=t.get(_);if(n)return n;let E=fs(_,[],!1).filter(l=>gn(l)&&Zn(l)!=="body"),r=null;const s=jt(_).position==="fixed";let i=s?lr(_):_;for(;gn(i)&&!si(i);){const l=jt(i),L=wL(i);!L&&l.position==="fixed"&&(r=null),(s?!L&&!r:!L&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||cs(i)&&!L&&dd(_,i))?E=E.filter(A=>A!==i):r=l,i=lr(i)}return t.set(_,E),E}function GY(_){let{element:t,boundary:n,rootBoundary:E,strategy:r}=_;const i=[...n==="clippingAncestors"?FY(t,this._c):[].concat(n),E],l=i[0],L=i.reduce((S,A)=>{const u=ud(t,A,r);return S.top=Ya(u.top,S.top),S.right=ir(u.right,S.right),S.bottom=ir(u.bottom,S.bottom),S.left=Ya(u.left,S.left),S},ud(t,l,r));return{width:L.right-L.left,height:L.bottom-L.top,x:L.left,y:L.top}}function vY(_){const{width:t,height:n}=Ld(_);return{width:t,height:n}}function wY(_,t,n){const E=Yn(t),r=Qn(t),s=n==="fixed",i=Pa(_,!0,s,t);let l={scrollLeft:0,scrollTop:0};const L=ZE(0);if(E||!E&&!s)if((Zn(t)!=="body"||cs(r))&&(l=oi(t)),E){const u=Pa(t,!0,s,t);L.x=u.x+t.clientLeft,L.y=u.y+t.clientTop}else r&&(L.x=Ad(r));const S=i.left+l.scrollLeft-L.x,A=i.top+l.scrollTop-L.y;return{x:S,y:A,width:i.width,height:i.height}}function cd(_,t){return!Yn(_)||jt(_).position==="fixed"?null:t?t(_):_.offsetParent}function fd(_,t){const n=Dt(_);if(!Yn(_)||Td(_))return n;let E=cd(_,t);for(;E&&mY(E)&&jt(E).position==="static";)E=cd(E,t);return E&&(Zn(E)==="html"||Zn(E)==="body"&&jt(E).position==="static"&&!wL(E))?n:E||bY(_)||n}const xY=async function(_){const t=this.getOffsetParent||fd,n=this.getDimensions;return{reference:wY(_.reference,await t(_.floating),_.strategy),floating:{x:0,y:0,...await n(_.floating)}}};function HY(_){return jt(_).direction==="rtl"}const qY={convertOffsetParentRelativeRectToViewportRelativeRect:BY,getDocumentElement:Qn,getClippingRect:GY,getOffsetParent:fd,getElementRects:xY,getClientRects:DY,getDimensions:vY,getScale:Lr,isElement:gn,isRTL:HY};function WY(_,t){let n=null,E;const r=Qn(_);function s(){var l;clearTimeout(E),(l=n)==null||l.disconnect(),n=null}function i(l,L){l===void 0&&(l=!1),L===void 0&&(L=1),s();const{left:S,top:A,width:u,height:d}=_.getBoundingClientRect();if(l||t(),!u||!d)return;const c=ti(A),f=ti(r.clientWidth-(S+u)),C=ti(r.clientHeight-(A+d)),p=ti(S),I={rootMargin:-c+"px "+-f+"px "+-C+"px "+-p+"px",threshold:Ya(0,ir(1,L))||1};let O=!0;function m(P){const y=P[0].intersectionRatio;if(y!==L){if(!O)return i();y?i(!1,y):E=setTimeout(()=>{i(!1,1e-7)},100)}O=!1}try{n=new IntersectionObserver(m,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(m,I)}n.observe(_)}return i(!0),s}function Cs(_,t,n,E){E===void 0&&(E={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:L=!1}=E,S=HL(_),A=r||s?[...S?fs(S):[],...fs(t)]:[];A.forEach(h=>{r&&h.addEventListener("scroll",n,{passive:!0}),s&&h.addEventListener("resize",n)});const u=S&&l?WY(S,n):null;let d=-1,c=null;i&&(c=new ResizeObserver(h=>{let[I]=h;I&&I.target===S&&c&&(c.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var O;(O=c)==null||O.observe(t)})),n()}),S&&!L&&c.observe(S),c.observe(t));let f,C=L?Pa(_):null;L&&p();function p(){const h=Pa(_);C&&(h.x!==C.x||h.y!==C.y||h.width!==C.width||h.height!==C.height)&&n(),C=h,f=requestAnimationFrame(p)}return n(),()=>{var h;A.forEach(I=>{r&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),u==null||u(),(h=c)==null||h.disconnect(),c=null,L&&cancelAnimationFrame(f)}}const kY=RY,Rs=OY,hs=hY,XY=fY,ii=UY,ps=(_,t,n)=>{const E=new Map,r={platform:qY,...n},s={...r.platform,_c:E};return cY(_,t,{...r,platform:s})};function KY(_){return _!=null&&typeof _=="object"&&"$el"in _}function jY(_){if(KY(_)){const t=_.$el;return vL(t)&&Zn(t)==="#comment"?null:t}return _}function zY(_){return typeof _=="function"?_():e.unref(_)}function JY(_){return{name:"arrow",options:_,fn(t){const n=jY(zY(_.element));return n==null?{}:XY({element:n,padding:_.padding}).fn(t)}}}const j={arrowDown:40,arrowLeft:37,arrowRight:39,arrowUp:38,e:69,enter:13,escape:27,minus:189,numMinus:109,numPlus:107,plus:187,space:32,tab:9,backspace:8,del:46,home:36,end:35};function ZY(_){const t=e.toRef(_,"id"),n=e.toRef(_,"offsetDistance"),E=e.toRef(_,"offsetSkidding"),r=e.toRef(_,"placement"),s=e.toRef(_,"timeClose"),i=e.ref(void 0),l=e.ref(void 0),L=e.ref(!1),S=e.ref(void 0),A=e.ref(void 0),u=e.ref(void 0),d=e.computed(()=>document.getElementById(t.value)),c=e.computed(()=>r.value&&r.value.includes("auto")),f=e.computed(()=>[IY({mainAxis:n.value||0,crossAxis:E.value||0,alignmentAxis:null}),c.value?kY():hs(),Rs({limiter:ii()}),A.value&&JY({element:A.value,padding:5})]),C=M=>{M.keyCode===j.escape&&B()},p=()=>{document.addEventListener("keydown",C)},h=()=>{document.removeEventListener("keydown",C)},I=()=>{pe.$on("closeHtmlTitle",B)},O=()=>{pe.$off("closeHtmlTitle",B)},m=()=>{i.value&&(i.value(),i.value=void 0)},P=()=>{S.value=setTimeout(()=>{B()},s.value)},y=()=>{if(L.value){clearTimeout(S.value);return}L.value=!0},V=()=>{i.value||!d.value||!u.value||(i.value=Cs(d.value,u.value,()=>{!d.value||!u.value||ps(d.value,u.value,{placement:r.value,middleware:f.value}).then(({x:M,y:v,middlewareData:z,placement:e_})=>{Object.assign(u.value.style,{left:`${M}px`,top:`${v}px`});const l_=e_.split("-")[0],a_={top:"bottom",right:"left",bottom:"top",left:"right"}[l_];if(z.arrow){const{x:Q,y:S_}=z.arrow;Object.assign(A.value.style,{left:E_(Q)?"":`${Q}px`,top:E_(S_)?"":`${S_}px`,[a_]:`${-A.value.offsetWidth/2}px`})}})}),pe.$emit("closeHtmlTitle"),I(),p())},$=()=>{clearTimeout(S.value)},N=()=>{P()};function B(){clearTimeout(S.value),m(),O(),h(),L.value=!1}return{closeTitle:B,closeTitleWithTimer:P,componentRef:l,isTitleVisible:L,mouseEnterTooltip:$,mouseLeaveTooltip:N,showTitle:y,startPopper:V,titleArrowRef:A,titleRef:u}}function qL(_){const t=e.toRef(_,"popperContainerId"),n=e.computed(()=>`#${t.value}`);return{addPopperContainerInBody:({className:r="a_popup_container"}={})=>{if(!document.getElementById(t.value)){const i=document.createElement("div");i.id=t.value,i.className=r,document.body.prepend(i)}},popperContainerIdSelector:n}}const QY=["RouterLink","router-link"];function _P(_){const t=e.toRef(_,"tag");return{tagLocal:e.computed(()=>QY.indexOf(t.value)!==-1?e.resolveComponent(t.value):t.value)}}function eP(_,{showTitle:t=()=>{},closeTitle:n=()=>{},closeTitleWithTimer:E=()=>{}}){const r=e.toRef(_,"isHide");return{onBlur:()=>{n()},onFocus:()=>{r.value||t()},onMouseenter:()=>{r.value||t()},onMouseleave:()=>{E()}}}const Sr={created(_,t){var n;Y_((n=t.value)==null?void 0:n.created)&&t.value.created(_,t)},beforeMount(_,t){var n;Y_((n=t.value)==null?void 0:n.beforeMount)&&t.value.beforeMount(_,t)},mounted(_,t){var n;Y_((n=t.value)==null?void 0:n.mounted)&&t.value.mounted(_,t)},beforeUnmount(_,t){var n;Y_((n=t.value)==null?void 0:n.beforeUnmount)&&t.value.beforeUnmount(_,t)},unmounted(_,t){var n;Y_((n=t.value)==null?void 0:n.unmounted)&&t.value.unmounted(_,t)}},Cd={name:"ATooltip",props:{arrowPadding:{type:[Number,Function],required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_tooltip_")},isHide:{type:Boolean,required:!1},maxWidth:{type:Number,required:!1,default:void 0},minWidth:{type:Number,required:!1,default:void 0},offsetDistance:{type:Number,required:!1,default:6},offsetSkidding:{type:Number,required:!1,default:0},placement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},popperContainerId:{type:String,required:!1,default:"a_tooltip_container"},showArrow:{type:Boolean,required:!1,default:!0},tag:{type:String,required:!1,default:"span"},timeClose:{type:Number,required:!1,default:100,validator:_=>_>=0},width:{type:Number,required:!1,default:void 0},withoutAriaDescribedby:{type:Boolean,required:!1}},setup(_){const{closeTitle:t,closeTitleWithTimer:n,componentRef:E,isTitleVisible:r,mouseEnterTooltip:s,mouseLeaveTooltip:i,showTitle:l,startPopper:L,titleArrowRef:S,titleRef:A}=ZY(_),{onBlur:u,onFocus:d,onMouseenter:c,onMouseleave:f}=eP(_,{showTitle:l,closeTitle:t,closeTitleWithTimer:n}),{tagLocal:C}=_P(_),{ariaDescribedby:p,tooltipStyles:h}=iY(_,{isTitleVisible:r}),{addPopperContainerInBody:I,popperContainerIdSelector:O}=qL(_);return I(),e.onBeforeUnmount(()=>{t()}),{ariaDescribedby:p,closeTitle:t,componentRef:E,isTitleVisible:r,mouseEnterTooltip:s,mouseLeaveTooltip:i,onBlur:u,onFocus:d,onMouseenter:c,onMouseleave:f,showTitle:l,popperContainerIdSelector:O,startPopper:L,tagLocal:C,titleArrowRef:S,titleRef:A,tooltipStyles:h}},render(){return e.h(this.tagLocal,{ref:"componentRef",id:this.id,"aria-describedby":this.ariaDescribedby,onFocus:this.onFocus,onBlur:this.onBlur,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},{default:()=>[this.$slots.default&&this.$slots.default(),!this.isHide&&e.h(e.Teleport,{to:this.popperContainerIdSelector},[!!(this.$slots.title&&this.isTitleVisible)&&e.withDirectives(e.h("div",{ref:"titleRef",class:"a_tooltip__container",style:this.tooltipStyles,onMouseenter:this.mouseEnterTooltip,onMouseleave:this.mouseLeaveTooltip},[this.showArrow&&e.h("div",{ref:"titleArrowRef","data-popper-arrow":!0,class:"a_tooltip__arrow"}),e.h("div",{id:this.ariaDescribedby,class:"a_tooltip__wrapper"},this.$slots.title&&this.$slots.title())]),[[Sr,{mounted:this.startPopper}]])])]})}};function tP(_,{tagLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"isTitleHtml");return{componentLocal:e.computed(()=>n.value?Cd:t.value)}}function nP(_){const t=e.toRef(_,"type"),n=e.toRef(_,"disabled");return{disabledLocal:e.computed(()=>{if(["button","submit","reset"].indexOf(t.value)!==-1&&n.value)return!0})}}function EP(_,{tagLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"isTitleHtml"),E=e.toRef(_,"titleAttributes"),r=e.toRef(_,"titlePlacement"),s=e.ref(void 0),i=e.computed(()=>n.value?{tag:t.value,placement:r.value,withoutAriaDescribedby:!0,...E.value}:{});return{elementRef:s,htmlTitleAttributes:i}}function aP(_){const t=e.toRef(_,"loading"),n=e.toRef(_,"loadingAlign"),E=e.computed(()=>t.value&&n.value==="left"),r=e.computed(()=>t.value&&n.value==="right");return{isLoadingLeft:E,isLoadingRight:r}}function rP(_){const t=e.toRef(_,"disabled"),n=e.toRef(_,"to"),E=e.toRef(_,"type");return{isRouterLink:e.computed(()=>E.value==="link"&&!!n.value&&!t.value)}}const Rd="a_btn a_btn_switch";function sP(_){const t=e.toRef(_,"isSwitch"),n=e.toRef(_,"modelSwitch"),E=e.computed(()=>{if(t.value)return!!n.value}),r=e.computed(()=>{if(t.value)return n.value?`${Rd} a_btn_switch_active`:Rd});return{isSwitchActive:E,switchClass:r}}const oP={button:"button",submit:"button",reset:"button",link:"a",text:"span"};function iP(_,{isRouterLink:t=e.computed(()=>!1)}){const n=e.toRef(_,"tag"),E=e.toRef(_,"type");return{tagLocal:e.computed(()=>n.value?n.value:t.value?e.resolveComponent("RouterLink"):oP[E.value]||"span")}}function lP(_){const t=e.toRef(_,"html"),n=e.toRef(_,"htmlScreenReader"),E=e.toRef(_,"safeHtml"),r=e.toRef(_,"safeHtmlScreenReader"),s=e.toRef(_,"text"),i=e.toRef(_,"textScreenReader"),l=e.computed(()=>Q_(s.value)?!qe(s.value):!E_(s.value)&&s.value!==""),L=e.computed(()=>Q_(E.value)?!qe(E.value):!E_(E.value)&&E.value!==""),S=e.computed(()=>Q_(t.value)?!qe(t.value):!E_(t.value)&&t.value!==""),A=e.computed(()=>l.value||L.value||S.value),u=e.computed(()=>Q_(i.value)?!qe(i.value):!E_(i.value)&&i.value!==""),d=e.computed(()=>Q_(r.value)?!qe(r.value):!E_(r.value)&&r.value!==""),c=e.computed(()=>Q_(n.value)?!qe(n.value):!E_(n.value)&&n.value!==""),f=e.computed(()=>u.value||d.value||c.value);return{isTextOrHtmlVisible:A,isTextOrHtmlScreenReaderVisible:f}}function LP(_){const t=e.toRef(_,"title");return{isTitleVisible:e.computed(()=>c_(t.value)&&t.value.length>0?!0:Q_(t.value)?!qe(t.value):!V_(t.value))}}function Ie(_){const t=e.toRef(_,"excludeRenderAttributes");return{attributesToExcludeFromRender:e.computed(()=>{const E={};return q(t.value,r=>{E[r]=void 0}),E})}}const L_={name:"AElement",inheritAttrs:!1,props:{alwaysTranslate:{type:Boolean,required:!1},ariaDisabled:{type:Boolean,required:!1,default:void 0},ariaLabel:{type:[String,Number,Object],required:!1,default:void 0},attributes:{type:Object,required:!1,default:()=>({})},class:{type:[String,Object],required:!1,default:void 0},classDefault:{type:String,required:!1,default:"aloha_element"},classDefaultHidden:{type:String,required:!1,default:"aloha_element__hidden"},classDisabled:{type:String,required:!1,default:"disabled"},disabled:{type:Boolean,required:!1,default:void 0},excludeRenderAttributes:{type:Array,required:!1,default:()=>[]},extra:{type:Object,required:!1,default:void 0},extraData:{type:[String,Number,Boolean,Array,Object,Date,Function,Symbol,null,void 0],required:!1,default:void 0},href:{type:String,required:!1,default:void 0},html:{type:[String,Number,Object,Array],required:!1,default:void 0},htmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},iconAttributes:{type:Object,required:!1,default:()=>({})},iconClass:{type:[String,Object],required:!1,default:void 0},iconLeft:{type:[String,Object],required:!1,default:void 0},iconRight:{type:[String,Object],required:!1,default:void 0},iconTag:{type:String,required:!1,default:void 0},id:{type:String,required:!1,default:()=>z_("a_element_")},isSwitch:{type:Boolean,required:!1,default:void 0},isTitleHtml:{type:Boolean,required:!1,default:void 0},loading:{type:Boolean,required:!1,default:!1},loadingAlign:{type:String,required:!1,default:"right",validator:_=>["right","left"].indexOf(_)!==-1},loadingClass:{type:[String,Object],required:!1,default:"a_spinner_small"},modelSwitch:{type:Boolean,required:!1,default:void 0},prevent:{type:Boolean,required:!1,default:void 0},safeHtml:{type:[String,Number,Object,Array],required:!1,default:void 0},safeHtmlScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},stop:{type:Boolean,required:!1,default:void 0},tabindex:{type:[Number,String],required:!1,default:void 0},tag:{type:String,required:!1,default:void 0},target:{type:String,required:!1,default:void 0},text:{type:[String,Number,Object,Array],required:!1,default:void 0},textAfter:{type:[String,Number,Object],required:!1,default:void 0},textAriaHidden:{type:Boolean,required:!1,default:void 0},textBefore:{type:[String,Number,Object],required:!1,default:void 0},textClass:{type:String,required:!1,default:void 0},textScreenReader:{type:[String,Number,Object,Array],required:!1,default:void 0},textTag:{type:String,required:!1,default:"span"},title:{type:[String,Number,Object,Array],required:!1,default:void 0},titleAttributes:{type:Object,required:!1,default:()=>({})},titlePlacement:{type:String,required:!1,default:"top",validator:_=>dt.indexOf(_)!==-1},titleZIndex:{type:[Number,String],required:!1,default:"auto",validator:_=>Ee(_)?_==="auto":Jn(_)},to:{type:[Object,String],required:!1,default:void 0},type:{type:String,required:!0,default:"text",validator:_=>["button","submit","reset","link","text"].indexOf(_)!==-1}},emits:["click"],setup(_,t){const{attributesToExcludeFromRender:n}=Ie(_),{isRouterLink:E}=rP(_),{disabledLocal:r}=nP(_),{tagLocal:s}=iP(_,{isRouterLink:E}),{toHrefAttributes:i,typeAttribut:l}=sY(_,{isRouterLink:E,tagLocal:s}),{isTitleVisible:L}=LP(_),{isLoadingLeft:S,isLoadingRight:A}=aP(_),{isTextOrHtmlVisible:u,isTextOrHtmlScreenReaderVisible:d}=lP(_),{onClick:c}=oY(_,t),{componentLocal:f}=tP(_,{tagLocal:s}),{elementRef:C,htmlTitleAttributes:p}=EP(_,{tagLocal:s}),{ariaLabelAttributes:h}=DL(_),{isSwitchActive:I,switchClass:O}=sP(_);return{ariaLabelAttributes:h,attributesToExcludeFromRender:n,componentLocal:f,disabledLocal:r,elementRef:C,htmlTitleAttributes:p,isLoadingLeft:S,isLoadingRight:A,isSwitchActive:I,isTextOrHtmlScreenReaderVisible:d,isTextOrHtmlVisible:u,isTitleVisible:L,onClick:c,switchClass:O,tagLocal:s,toHrefAttributes:i,typeAttribut:l}},render(){return e.h(this.componentLocal,{...this.$attrs,...this.htmlTitleAttributes,...this.ariaLabelAttributes,...this.toHrefAttributes,ref:"elementRef",id:this.id,class:[this.classDefault,this.switchClass,this.class,{[this.classDisabled]:this.ariaDisabled}],type:this.typeAttribut,tabindex:this.tabindex,disabled:this.disabledLocal,ariaDisabled:this.ariaDisabled,"aria-pressed":this.isSwitchActive,isAllRowsSelected:void 0,onClick:this.onClick,...this.attributes,...this.attributesToExcludeFromRender},{default:()=>[!this.isTitleHtml&&this.isTitleVisible?e.h(u_,{tag:"span",alwaysTranslate:this.alwaysTranslate,ariaHidden:!0,class:["a_position_absolute_all",this.classDefaultHidden],title:this.title,extra:this.extra,style:{zIndex:this.titleZIndex},...this.titleAttributes}):"",this.isTextOrHtmlScreenReaderVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,class:["a_sr_only",this.classDefaultHidden],tag:"span",text:this.textScreenReader,html:this.htmlScreenReader,safeHtml:this.safeHtmlScreenReader,extra:this.extra}):"",this.$slots.buttonPrepend?this.$slots.buttonPrepend({extraData:this.extraData}):"",this.isLoadingLeft?e.h(hr,{class:["aloha_btn__spinner_left",this.loadingClass]}):"",e.h(ae,{icon:this.iconLeft,iconTag:this.iconTag,class:["aloha_btn__icon_left",this.iconClass],...this.iconAttributes}),this.$slots.default?this.$slots.default({extraData:this.extraData}):"",this.isTextOrHtmlVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,ariaHidden:this.textAriaHidden,class:this.textClass,extra:this.extra,html:this.html,safeHtml:this.safeHtml,tag:this.textTag,text:this.text,textAfter:this.textAfter,textBefore:this.textBefore}):"",e.h(ae,{icon:this.iconRight,iconTag:this.iconTag,class:["aloha_btn__icon_right",this.iconClass],...this.iconAttributes}),this.isLoadingRight?e.h(hr,{class:["aloha_btn__spinner_right",this.loadingClass]}):"",this.$slots.buttonAppend?this.$slots.buttonAppend({extraData:this.extraData}):""],title:!this.isTitleHtml||!this.title&&!this.$slots.buttonTitle?()=>"":()=>[this.isTitleVisible?e.h(u_,{alwaysTranslate:this.alwaysTranslate,html:this.title,tag:"span",extra:this.extra}):"",this.$slots.buttonTitle?this.$slots.buttonTitle({extraData:this.extraData}):""]})}};function hd(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"isButtonGroup"),E=e.toRef(_,"classButtonGroupDefault");return{classButton:e.computed(()=>{if(n.value)return t.value.classButton||E.value})}}function SP(_,{valueLocal:t=e.computed(()=>{})}){const n=e.toRef(_,"modelValue");return{isChecked:e.computed(()=>n.value&&n.value.indexOf(t.value)!==-1)}}function TP(_,{emit:t},{disabledElement:n=e.computed(()=>{}),isChecked:E=e.computed(()=>!1),valueLocal:r=e.computed(()=>{})}){const s=e.toRef(_,"dataItem"),i=e.toRef(_,"modelValue"),l=S=>{if(n.value){S.preventDefault(),S.stopPropagation();return}const A=__(i.value)||[];if(E.value){const u=A.indexOf(r.value);A.splice(u,1)}else A.push(r.value);t("changeModelValue",{model:A,item:s.value,$event:S}),S.preventDefault(),S.stopPropagation()};return{onClick:l,onKeydown:S=>{(S.key==="Enter"||S.keyCode===j.space)&&(l(S),S.stopPropagation(),S.preventDefault())}}}function WL(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"id"),E=e.toRef(_,"idSuffix"),r=e.toRef(_,"itemIndex"),s=e.computed(()=>t.value[C_]),i=e.computed(()=>t.value[se]),l=e.computed(()=>E.value?`_${E.value}`:"");return{idLocal:e.computed(()=>`${n.value}_${r.value}${l.value}`),labelLocal:i,valueLocal:s}}function kL(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"disabled"),E=e.toRef(_,"keyDisabled"),r=e.toRef(_,"keyDisabledCallback");return{disabledElement:e.computed(()=>{if(n.value||Y_(r.value)&&r.value({item:t.value})||E.value&&o_(t.value,E.value))return!0})}}function pd(_){const t=e.toRef(_,"dataItem"),n=e.toRef(_,"keyTitle"),E=e.toRef(_,"keyTitleCallback");return{titleLocal:e.computed(()=>{if(E.value)return E.value({item:t.value});if(n.value)return o_(t.value,n.value)})}}function Id(_,{trueValue:t="_YES_",falseValue:n="_NO_",useNil:E=!0}={}){return E&&E_(_)?"":de(_?{placeholder:t}:{placeholder:n})}function Od(_){return dU(_)}function Tr(_,{suffix:t="",digits:n=2,digitGrouping:E=!0}={}){if(E_(_))return"";let r=He(_);if(r.split(",").length-1>1)return _;r=r.replace(",",".").replace(/[.](?=.*[.])/g,"");let i=tr(r);if(i===0)return`0${n>0?",":""}${zb("0",n)}${t?` ${t}`:""}`;if(!i)return _;i=mu(i,n),r=He(i);const l=r.split(".");let L="";if(l[1])for(let c=0;c<n;c++){const f=V_(l[1][c])?"0":l[1][c];L=`${L}${f}`}else L=Hb("",n,"0");let S=He(l[0]||"0"),A=!1;S.startsWith("-")&&(S=S.substring(1),A=!0);let u=0,d="";return _b(S,c=>{u>0&&u%3===0&&E&&(d+="."),u++,d+=c}),`${A?"-":""}${d.split("").reverse().join("")}${JE(L)>0?",":""}${L}${t?` ${t}`:""}`}function Ud(_,{suffix:t="€",digits:n=2,digitGrouping:E=!0}={}){return Tr(_,{suffix:t,digits:n,digitGrouping:E})}bt.suppressDeprecationWarnings=!0;const md={date:()=>"DD.MM.YYYY",datetime:()=>"DD.MM.YYYY HH:mm",fullDate:()=>"dddd, DD. MMMM YYYY, HH:mm",time:()=>"HH:mm",timeWithSeconds:()=>"HH:mm:ss"};function Nd(_,{format:t="date"}={}){if(E_(_)||_==="")return"";const n=bt(String(_));return n.isValid()?(Y_(md[t])&&(t=md[t]()),n.format(t)):_}function bd(_,{emptyValue:t="-"}={}){return E_(_)||_===""?t:_}function gd(_,{linkClass:t}={}){if(E_(_)||_===""||!Ee(_)||!/^\S+@\S+\.\S+$/.test(_))return"";let n="";return t&&(n=` class="${t}"`),`<a href="mailto:${_}"${n}>${_}</a>`}function Yd(_){const t=document.createElement("div");return t.textContent=_,t.innerHTML}function Pd(_,{units:t="kb",sourceUnits:n="b",digits:E=2}={}){const s=["b","kb","mb","gb","tb","pb","eb","zb","yb"],i=tr(_);if(fb(i))return"";const l=s.indexOf(n);let L=s.indexOf(t);if(l===-1)return"";const S=i*Math.pow(1024,l);L===-1&&(L=Math.floor(Math.log(S)/Math.log(1024)),L<0&&(L=0),t=s[L]);const A=de({placeholder:`_A_FILE_SIZE_${Yu(t)}_`});if(i===0)return Tr(0,{suffix:A,digits:E});if(l===L)return Tr(i,{suffix:A,digits:E});const u=S/Math.pow(1024,Math.abs(L));return Tr(u,{suffix:A,digits:E})}function Vd(_,{replacer:t,space:n=2,isHtml:E=!1,jsonClass:r="a_code_content",tag:s="pre"}={}){if(E_(_))return"";try{const i=JSON.stringify(_,t,n);if(E){const l=r?` class="${r}"`:"";return`<${s}${l}>${i}</${s}>`}return i}catch{return""}}function Bd(_){return _?jb(_,(t,n,E)=>`${t}${t?", ":""}${E}: ${n}`,""):""}function Dd(_,{limit:t=30,maxThreeDots:n=!0}={}){if(E_(_))return"";const E=He(_);if(E.length<=t)return E;if(n){const r=E.slice(0,t).trimEnd();let s="...",i=!0;for(let l=r.length-1;l>r.length-4&&r[l]===".";l--){if(i)s=s.slice(0,-1);else break;i=!0}return`${r}${s}`}return`${E.substring(0,t)}...`}function yd(_,{linkText:t="",protocol:n="https://",target:E="",linkClass:r=""}={}){if(E_(_)||!Ee(_))return"";let s=n;(_.startsWith("https://")||_.startsWith("http://"))&&(s="");const i=E?` target="${E}"`:"",l=r?` class="${r}"`:"";return`<a href="${s}${_}"${i}${l}>${t||_}</a>`}function Is(_,{defaultValue:t="",isChild:n=!1,isHtml:E=!0,isSimpleArray:r=!1,keyChildren:s="",keyLabel:i="",keyLabelCallback:l,lastSeparator:L,listClass:S="",separator:A,separatorHtml:u="",tag:d="ul"}={}){if(!c_(_)||!_.length)return t;let c="";return E===!1||E==="false"?(V_(A)&&(A=", "),q(_,(f,C)=>{let p=$d({keyLabel:i,keyLabelCallback:l,index:C,item:f,isSimpleArray:r}),h;if(r){if(c_(p)){let I="";q(p,O=>{c_(O)?h=O:I=O}),p=I}}else s&&(h=o_(f,s));!V_(L)&&C===_.length-1?c+=`${C!==0||n?L:""}${p}`:c+=`${C!==0||n?A:""}${p}`,h!=null&&h.length&&(c+=Is(h,{isChild:!0,isHtml:E,isSimpleArray:r,keyChildren:s,keyLabel:i,keyLabelCallback:l,separator:A}))}),c):(q(_,(f,C)=>{const p=_.length===C+1,h=$d({keyLabel:i,keyLabelCallback:l,index:C,item:f,isSimpleArray:r});let I,O=h;r?c_(h)&&q(h,m=>{c_(m)?I=m:O=m}):s&&(I=o_(f,s)),A&&!p&&(O+=A),I!=null&&I.length&&(O+=Is(I,{isChild:!0,isHtml:E,isSimpleArray:r,keyChildren:s,keyLabel:i,keyLabelCallback:l,listClass:S,tag:d})),u&&!p&&(O+=u),c+=`<li>${O}</li>`}),`<${d}${AP({listClass:S})}>${c}</${d}>`)}function $d({keyLabel:_,keyLabelCallback:t,index:n,item:E,isSimpleArray:r}){let s;return r?s=E:Y_(t)?s=t({item:E,itemIndex:n}):s=_?o_(E,_):E,V_(s)&&(s=""),s}function AP({listClass:_}){return _?` class="${_}"`:""}function Md(_){return gu(_)}function Fd(_,{chars:t=4,mask:n="*"}={}){if(E_(_))return"";const E=He(_);if(E.length<=t)return E;const r=Rb([t,0]),s=n.repeat(E.length-r),i=r===0?"":E.slice(-r);return`${s}${i}`}function Gd(_,{mapping:t={},defaultValue:n=""}={}){return`${_}`in t?t[_]:n}function vd(_,{searchModel:t="",searchClass:n="a_search_highlight",tag:E="mark",attributes:r=[],caseSensitive:s=!1,isHtml:i=!1}={}){if(!_)return"";if(t===""||E_(t))return _;const l=s?"g":"gi",L=new RegExp(Fo(t),l),S=r.length?` ${r.join(" ")}`:"";if(!i)return _.replace(L,d=>wd({value:d,tag:E,searchClass:n,attributesString:S}));const u=new DOMParser().parseFromString(_,"text/html");return xd({node:u.body,tag:E,searchClass:n,re:L,attributesString:S}),u.body.innerHTML}function wd({value:_,tag:t,searchClass:n,attributesString:E}){return`<${t} class="${n}"${E}>${_}</${t}>`}function xd({node:_,re:t,tag:n,searchClass:E,attributesString:r}){if(_.nodeType===Node.TEXT_NODE){if(_.nodeValue.match(t)){const i=_.parentNode,l=_.nodeValue.replace(t,S=>wd({value:S,tag:n,searchClass:E,attributesString:r})),L=document.createElement("span");for(L.innerHTML=l;L.firstChild;)i.insertBefore(L.firstChild,_);i.removeChild(_)}}else _.nodeType===Node.ELEMENT_NODE&&Array.from(_.childNodes).forEach(s=>xd({node:s,re:t,tag:n,searchClass:E,attributesString:r}))}function Hd(_){return Yu(_)}const qd=e.ref({});function ht(){return{filterBoolean:(O,{trueValue:m="_YES_",falseValue:P="_NO_",useNil:y=!0}={})=>Id(O,{trueValue:m,falseValue:P,useNil:y}),filterCapitalize:O=>Od(O),filterCurrency:(O,{suffix:m="€",digits:P=2,digitGrouping:y=!0}={})=>Ud(O,{suffix:m,digits:P,digitGrouping:y}),filterDate:(O,{format:m="date"}={})=>Nd(O,{format:m}),filterDefaultForEmpty:(O,{emptyValue:m="-"}={})=>bd(O,{emptyValue:m}),filterEmail:(O,{linkClass:m}={})=>gd(O,{linkClass:m}),filterEscapeHtml:O=>Yd(O),filterFileSize:(O,{units:m="kb",sourceUnits:P="b",digits:y=2}={})=>Pd(O,{units:m,sourceUnits:P,digits:y}),filterFloat:(O,{suffix:m="",digits:P=2,digitGrouping:y=!0}={})=>Tr(O,{suffix:m,digits:P,digitGrouping:y}),filterJson:(O,{replacer:m,space:P=2,isHtml:y=!1,jsonClass:V="a_code_content",tag:$="pre"}={})=>Vd(O,{replacer:m,space:P,isHtml:y,jsonClass:V,tag:$}),filterKeyValue:O=>Bd(O),filterLimitTo:(O,{limit:m=30,maxThreeDots:P=!0}={})=>Dd(O,{limit:m,maxThreeDots:P}),filterLink:(O,{linkText:m="",protocol:P="https://",target:y="",linkClass:V=""}={})=>yd(O,{linkText:m,protocol:P,target:y,linkClass:V}),filterList:(O,{isHtml:m=!0,isSimpleArray:P=!1,keyChildren:y="",keyLabel:V="",keyLabelCallback:$,listClass:N="",separator:B=", ",tag:M="ul"}={})=>Is(O,{isHtml:m,listClass:N,keyLabel:V,keyLabelCallback:$,keyChildren:y,isSimpleArray:P,separator:B,tag:M}),filterLowerCase:O=>Md(O),filterMask:(O,{chars:m=4,mask:P="*"}={})=>Fd(O,{chars:m,mask:P}),filterPropertyByValue:(O,{mapping:m={},defaultValue:P=""}={})=>Gd(O,{mapping:m,defaultValue:P}),filterSearchHighlight:(O,{searchModel:m="",searchClass:P="a_search_highlight",tag:y="mark",attributes:V=[],caseSensitive:$=!1,isHtml:N=!1}={})=>vd(O,{searchModel:m,searchClass:P,tag:y,attributes:V,caseSensitive:$,isHtml:N}),filterUpperCase:O=>Hd(O),...qd.value}}function XL(_,{labelLocal:t=e.computed(()=>""),valueLocal:n=e.computed(()=>"")}){const E=e.toRef(_,"isHiddenWithSearch"),r=e.toRef(_,"modelSearch"),s=e.toRef(_,"searching"),i=e.toRef(_,"searchingElements"),l=e.toRef(_,"searchTextInHtml"),L=e.toRef(_,"showElementWennGroupFound"),{filterSearchHighlight:S}=ht(),A=e.computed(()=>!!(E.value||s.value&&!L.value&&!i.value[n.value])),u=e.computed(()=>A.value?t.value:S(t.value,{searchModel:r.value,isHtml:l.value})),d=e.computed(()=>A.value?"display: none;":void 0),c=e.computed(()=>A.value?!0:void 0);return{currentLabelFiltered:u,dataHideWithSearch:c,styleWithSearch:d}}const li={name:"ACheckboxItem",props:{alwaysTranslate:{type:Boolean,required:!1},classButtonGroupDefault:{type:[String,Object,Array],required:!1,default:void 0},dataItem:{type:Object,required:!0},disabled:{type:Boolean,required:!1},id:{type:String,required:!0},idSuffix:{type:String,required:!1,default:void 0},isButtonGroup:{type:Boolean,required:!1},isErrors:{type:Boolean,required:!1},isHiddenWithSearch:{type:Boolean,required:!1},isWidthAuto:{type:Boolean,required:!1},itemIndex:{type:Number,required:!0},keyDisabled:{type:String,required:!1,default:void 0},keyDisabledCallback:{type:Function,required:!1,default:void 0},keyTitle:{type:String,required:!1,default:void 0},keyTitleCallback:{type:Function,required:!1,default:void 0},modelSearch:{type:String,required:!1,default:""},modelValue:{type:Array,required:!1},readonly:{type:Boolean,required:!1},searching:{type:Boolean,required:!1},searchingElements:{type:Object,required:!1,default:()=>({})},searchTextInHtml:{type:Boolean,required:!1},showElementWennGroupFound:{type:Boolean,required:!1},slotAppendName:{type:String,required:!1,default:void 0},slotName:{type:String,required:!1,default:void 0},type:{type:String,required:!1}},emits:["changeModelValue"],setup(_,t){const{idLocal:n,labelLocal:E,valueLocal:r}=WL(_),{classButton:s}=hd(_),{isChecked:i}=SP(_,{valueLocal:r}),{disabledElement:l}=kL(_),{onClick:L,onKeydown:S}=TP(_,t,{isChecked:i,valueLocal:r}),{currentLabelFiltered:A,styleWithSearch:u}=XL(_,{labelLocal:E,valueLocal:r}),{titleLocal:d}=pd(_);return{classButton:s,currentLabelFiltered:A,disabledElement:l,idLocal:n,isChecked:i,labelLocal:E,onClick:L,onKeydown:S,styleWithSearch:u,titleLocal:d,valueLocal:r}},render(){return this.readonly?e.h(L_,{alwaysTranslate:this.alwaysTranslate,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},tag:"li",title:this.titleLocal,type:"text"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])]):this.isButtonGroup?[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_btn_check",disabled:this.disabledElement,name:this.id,style:this.styleWithSearch,type:"checkbox",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:this.classButton,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{}),[[$e,this.currentLabelFiltered]])])]:[e.h("div",{class:["a_custom_control a_custom_checkbox",{a_custom_control_invalid:this.isErrors}],style:this.styleWithSearch},[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_custom_control_input",disabled:this.disabledElement,name:this.id,type:"checkbox",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:{a_custom_control_label:!0,a_custom_control_label_width_auto:this.isWidthAuto},classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])])]),this.slotAppendName&&this.$slots[this.slotAppendName]?this.$slots[this.slotAppendName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,isChecked:this.isChecked,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):""]}};function uP(_){const t=e.toRef(_,"data"),n=e.toRef(_,"modelValueObj"),E=e.computed(()=>{const i={indeterminate:void 0,checkedAll:!1,checkedSome:!1,uncheckedSome:!1};return qe(n.value)||(q(t.value,l=>{const L=l[C_];if(n.value[L]?i.checkedSome=!0:i.uncheckedSome=!0,i.checkedSome&&i.uncheckedSome)return i.indeterminate=!0,!1}),i.checkedSome&&!i.uncheckedSome&&(i.checkedAll=!0)),i}),r=e.computed(()=>E.value.checkedAll),s=e.computed(()=>E.value.indeterminate);return{isCheckedAll:r,isIndeterminate:s}}function dP(_,{emit:t},{isCheckedAll:n=e.computed(()=>!1),isIndeterminate:E=e.computed(()=>{})}){const r=e.toRef(_,"data"),s=e.toRef(_,"dataKeyByKeyId"),i=e.toRef(_,"modelValue"),l=()=>le(i.value||[],d=>!s.value[d]),L=({model:d})=>(q(r.value,c=>{const f=c[C_];d.push(f)}),d),S=d=>{let c=l();(E.value||!n.value)&&(c=L({model:c})),t("changeModelValue",{$event:d,model:c})},A=d=>{d.stopPropagation(),d.preventDefault(),S(d)};return{onClick:A,onKeydown:d=>{(d.keyCode===j.enter||d.keyCode===j.space)&&(A(d),d.stopPropagation(),d.preventDefault())}}}function cP(_){const t=e.toRef(_,"id"),n=e.computed(()=>`${t.value}_legend`);return{idGroup:e.computed(()=>`${t.value}_group`),idLocal:n}}function fP(_){const t=e.toRef(_,"label"),n=e.toRef(_,"modelSearch"),E=e.toRef(_,"showSearchHighlight"),{filterSearchHighlight:r}=ht();return{labelSearchHighlight:e.computed(()=>E.value?r(t.value,{searchModel:n.value}):t.value)}}const Wd={name:"ACheckboxLegend",props:{alwaysTranslate:{type:Boolean,required:!1},data:{type:Array,required:!1,default:()=>[]},dataKeyByKeyId:{type:Object,required:!1,default:()=>({})},disabled:{type:Boolean,required:!1},hasControlCheckbox:{type:Boolean,required:!1,default:!1},id:{type:String,required:!0},isErrors:{type:Boolean,required:!1},label:{type:String,required:!1,default:void 0},legendClass:{type:[String,Object],required:!1,default:void 0},labelScreenReader:{type:[String,Number],required:!1,default:void 0},main:{type:Boolean,required:!1},modelSearch:{type:String,required:!1,default:void 0},modelValue:{type:[String,Number,Boolean,Array],required:!1,default:()=>[]},modelValueObj:{type:Object,required:!1,default:()=>({})},showSearchHighlight:{type:Boolean,required:!1,default:void 0},textAfterLabel:{type:String,required:!1,default:void 0}},emits:["changeModelValue"],setup(_,t){const{idGroup:n,idLocal:E}=cP(_),{isCheckedAll:r,isIndeterminate:s}=uP(_),{onClick:i,onKeydown:l}=dP(_,t,{isCheckedAll:r,isIndeterminate:s}),{labelSearchHighlight:L}=fP(_);return{idGroup:n,idLocal:E,isCheckedAll:r,isIndeterminate:s,labelSearchHighlight:L,onClick:i,onKeydown:l}},render(){return this.hasControlCheckbox?e.h("legend",{class:["a_legend",{a_legend_invalid:this.isErrors},this.legendClass]},[e.h("div",{class:["a_custom_control a_custom_checkbox",{a_custom_control_invalid:this.isErrors}]},[e.h("input",{id:this.idLocal,"aria-controls":this.idGroup,checked:this.isCheckedAll,class:"a_custom_control_input",disabled:this.disabled,indeterminate:this.isIndeterminate,type:"checkbox",onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:"a_custom_control_label a_custom_control_label_width_auto",classDefault:"",for:this.idLocal,html:this.labelSearchHighlight,textScreenReader:this.labelScreenReader,tag:"label",textAfter:this.textAfterLabel,textClass:"a_custom_control_label__text",type:"text"})])]):e.h(L_,{id:this.idLocal,class:["a_legend",{a_legend_invalid:this.isErrors},this.legendClass],html:this.labelSearchHighlight,tag:"legend",textAfter:this.textAfterLabel,textScreenReader:this.labelScreenReader,type:"text"})}};function KL(_,{htmlIdLocal:t=e.computed(()=>"")}){const n=e.toRef(_,"label"),E=e.computed(()=>`${t.value}_group`);return{groupAriaLabelledby:e.computed(()=>{if(n.value)return`${t.value}_legend`}),groupId:E}}function CP(_,{changeModel:t=()=>{}}){const n=e.toRef(_,"disabled");return{onChangeModelValue:({model:r,$event:s})=>{n.value||setTimeout(()=>{t({model:r,$event:s})})}}}function RP(_,{dataKeyByKeyIdLocal:t=e.computed(()=>({}))}){const n=e.toRef(_,"modelValue"),E=e.computed(()=>{const i={};return q(n.value||[],l=>{i[l]=!0}),i}),r=e.computed(()=>n.value?le(n.value,i=>t.value[i]):[]);return{isModelValue:e.computed(()=>r.value.length>0),modelValueFiltered:r,modelValueObj:E}}const Os=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
11
11
  <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/>
12
12
  </svg>`,kd={name:"ACheckbox",inheritAttrs:!1,props:{alwaysTranslate:{type:Boolean,required:!1,default:void 0},apiSaveId:{type:String,required:!1,default:void 0},attributesFieldset:{type:Object,required:!1,default:()=>({})},change:{type:Function,required:!1,default:()=>{}},classButtonGroupDefault:{type:[String,Object,Array],required:!1,default:"a_btn a_btn_outline_primary"},classDataParent:{type:[String,Object],required:!1,default:void 0},classFieldset:{type:[String,Object],required:!1,default:void 0},collapsible:{type:Boolean,required:!1,default:void 0},data:{type:Array,required:!1,default:void 0},dataExtra:{type:Array,required:!1,default:()=>[]},dependencies:{type:[Array,Object],required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},errors:{type:[String,Array],required:!1,default:void 0},excludeRenderAttributes:{type:Array,required:!1,default:()=>[]},extra:{type:Object,required:!1,default:void 0},hasBorder:{type:Boolean,required:!1,default:!0},hasControlCheckbox:{type:Boolean,required:!1,default:void 0},helpText:{type:String,required:!1},htmlId:{type:String,required:!1,default:void 0},id:{type:[String,Number],required:!1,default:()=>z_("a_checkbox_")},idPrefix:{type:String,required:!1,default:void 0},inline:{type:Boolean,required:!1,default:void 0},isButtonGroup:{type:Boolean,required:!1,default:void 0},isCollapsed:{type:Boolean,required:!1,default:void 0},isDataSimpleArray:{type:Boolean,required:!1,default:void 0},isHide:{type:Boolean,required:!1,default:void 0},isRender:{type:Boolean,required:!1,default:!0},isWidthAuto:{type:Boolean,required:!1,default:void 0},keyDisabled:{type:String,required:!1,default:void 0},keyDisabledCallback:{type:Function,required:!1,default:void 0},keyGroup:{type:[String,Number,Array],required:!1,default:void 0},keyGroupLabelCallback:{type:Function,required:!1,default:void 0},keyId:{type:String,required:!1,default:"value"},keyLabel:{type:String,required:!1,default:"label"},keyLabelCallback:{type:Function,required:!1,default:void 0},keyTitle:{type:String,required:!1,default:void 0},keyTitleCallback:{type:Function,required:!1,default:void 0},label:{type:[String,Number],required:!1,default:void 0},labelClass:{type:[String,Object],required:!1,default:void 0},labelDescription:{type:String,required:!1,default:void 0},labelScreenReader:{type:[String,Number],required:!1,default:void 0},loading:{type:Boolean,required:!1,default:void 0},modelDependencies:{type:Object,required:!1,default:()=>({})},modelValue:{type:Array,required:!1,default:void 0},readonly:{type:Boolean,required:!1},readonlyDefault:{type:String,required:!1,default:""},required:{type:Boolean,required:!1,default:void 0},search:{type:Boolean,required:!1,default:void 0},searchApi:{type:Boolean,required:!1,default:void 0},searchApiKey:{type:String,required:!1,default:void 0},searchInGroup:{type:Boolean,required:!1,default:void 0},searchOutside:{type:Boolean,required:!1,default:void 0},searchTextInHtml:{type:Boolean,required:!1},searchTimeout:{type:Number,required:!1,default:0,validator:_=>_>=0},slotAppendName:{type:String,required:!1,default:void 0},slotName:{type:String,required:!1,default:void 0},sortOrder:{type:String,required:!1,default:void 0,validator:_=>["asc","desc"].indexOf(_)!==-1},sortOrderGroup:{type:String,required:!1,default:void 0,validator:_=>["asc","desc"].indexOf(_)!==-1},texts:{type:Object,required:!1,default:()=>({collapseClose:"_A_FIELDSET_COLLAPSE_CLOSE_",collapseOpen:"_A_FIELDSET_COLLAPSE_OPEN_",notElementsWithSearch:"_A_CHECKBOX_HAS_NOT_ELEMENTS_WITH_SEARCH_",search:"_A_CHECKBOX_SEARCH_"})},translateData:{type:Boolean,required:!1,default:void 0},url:{type:String,required:!1,default:void 0},urlParams:{type:Object,required:!1,default:void 0}},emits:["focusin","focusout","onSearchOutside","toggleCollapse","updateData","update:modelValue"],setup(_,t){const{attributesToExcludeFromRender:n}=Ie(_),{componentStyleHide:E}=we(_),{ariaDescribedbyLocal:r,changeModel:s,errorsId:i,helpTextId:l,htmlIdLocal:L,isErrors:S,labelDescriptionId:A,onFocusin:u,onFocusout:d,rootRef:c}=Ge(_,t),{textAfterLabel:f}=to(_),{dataAll:C,dataFromServer:p,dataExtraLocal:h,dataKeyByKeyIdLocal:I,dataLocal:O,hasDataExtra:m}=_o(_),{loadDataFromServer:P,loadDataFromServerForSearchAPI:y,loadingDataFromServer:V,loadingSearchApi:$,onSearchInApi:N,searchApiLocal:B,updateUrlPropsComputed:M,urlPropsComputed:v}=Js(_,{changeModel:s,dataExtraLocal:h,dataFromServer:p}),{loadingLocal:z}=eo(_,{loadingDataFromServer:V});Qs(t,{dataKeyByKeyIdLocal:I,dataLocal:O});const{dataSort:e_}=Zs(_,{data:O}),{dataGrouped:l_,groupsForLever:a_,hasKeyGroup:Q,keyGroupArray:S_}=ki(_,{data:e_}),{hasNotElementsExtraWithSearch:B_,hasNotElementsWithSearch:D_,idForButtonSearchOutside:s_,modelSearch:h_,modelSearchLowerCase:p_,modelSearchOutside:H_,onSearchOutside:f_,searching:X,searchingElements:n_,searchingElementsExtra:O_,searchingGroups:W,searchingGroupsWithSearchInGroup:T_,searchOutsideOrApi:A_,searchOutsideRef:I_,updateModelSearch:P_,updateModelSearchOutside:U_}=Ki(_,t,{data:e_,dataExtra:h,groupsForLever:a_,htmlIdLocal:L,hasKeyGroup:Q,keyGroupArray:S_,searchApiLocal:B,onSearchInApi:N}),{onChangeModelValue:q_}=CP(_,{changeModel:s}),{iconCollapse:K_,initIsCollapsedLocal:G_,isCollapsedLocal:ne,titleCollapse:Oe,toggleCollapse:te}=Xi(_,t),{isModelValue:j_,modelValueFiltered:oe,modelValueObj:Te}=RP(_,{dataKeyByKeyIdLocal:I}),{groupId:ce}=KL(_,{htmlIdLocal:L});return e.watch(v,M,{deep:!0}),G_(),P(),y(),{ariaDescribedbyLocal:r,attributesToExcludeFromRender:n,componentStyleHide:E,dataAll:C,dataExtraLocal:h,dataGrouped:l_,dataKeyByKeyIdLocal:I,dataSort:e_,errorsId:i,groupId:ce,groupsForLever:a_,hasDataExtra:m,hasKeyGroup:Q,hasNotElementsExtraWithSearch:B_,hasNotElementsWithSearch:D_,helpTextId:l,htmlIdLocal:L,iconCollapse:K_,idForButtonSearchOutside:s_,isCollapsedLocal:ne,isErrors:S,isModelValue:j_,labelDescriptionId:A,loadingLocal:z,loadingSearchApi:$,modelSearch:h_,modelSearchLowerCase:p_,modelSearchOutside:H_,modelValueFiltered:oe,modelValueObj:Te,onChangeModelValue:q_,onFocusin:u,onFocusout:d,onSearchOutside:f_,rootRef:c,searching:X,searchingElements:n_,searchingElementsExtra:O_,searchingGroups:W,searchingGroupsWithSearchInGroup:T_,searchOutsideOrApi:A_,searchOutsideRef:I_,textAfterLabel:f,titleCollapse:Oe,toggleCollapse:te,updateModelSearch:P_,updateModelSearchOutside:U_}},render(){var _,t,n;return this.isRender?this.readonly?e.h(rt,{...this.$attrs,id:this.htmlIdLocal,alwaysTranslate:this.alwaysTranslate,excludeRenderAttributes:this.excludeRenderAttributes,extra:this.extra,helpText:this.helpText,label:this.label,labelClass:this.labelClass,labelScreenReader:this.labelScreenReader,modelValue:void 0,readonlyDefault:this.readonlyDefault,required:this.required,style:this.componentStyleHide,type:"checkbox"},this.isModelValue?()=>[e.h("ul",{},[this.modelValueFiltered.map((E,r)=>e.h(li,{key:r,id:this.htmlIdLocal,alwaysTranslate:this.alwaysTranslate,dataItem:this.dataKeyByKeyIdLocal[E]||{},isButtonGroup:this.isButtonGroup,itemIndex:r,readonly:!0,slotName:this.slotName},this.$slots))])]:""):e.h("div",{ref:"rootRef",...this.$attrs,style:this.componentStyleHide,type:void 0,onFocusin:this.onFocusin,onFocusout:this.onFocusout,...this.attributesToExcludeFromRender},[e.h("div",{class:["a_form_element__parent",{a_checkbox_inline:this.inline,a_checkbox_control:this.hasControlCheckbox}]},[e.h("div",{class:"a_form_element"},[e.h("fieldset",{id:this.htmlIdLocal,tabindex:-1,class:["a_fieldset",this.classFieldset,{a_fieldset_no_border:!this.hasBorder,a_fieldset_invalid:this.isErrors,a_fieldset_collapsed:this.isCollapsedLocal}],"aria-describedby":this.ariaDescribedbyLocal,...this.attributesFieldset},[this.label||this.labelScreenReader?e.h(Wd,{id:this.htmlIdLocal,alwaysTranslate:this.alwaysTranslate,data:this.dataAll,dataKeyByKeyId:this.dataKeyByKeyIdLocal,disabled:this.disabled,hasControlCheckbox:this.hasControlCheckbox,isErrors:this.isErrors,label:this.label,legendClass:this.labelClass,labelScreenReader:this.labelScreenReader,main:!0,modelValue:this.modelValue,modelValueObj:this.modelValueObj,textAfter:this.textAfterLabel,onChangeModelValue:this.onChangeModelValue}):"",this.collapsible?e.h(L_,{"aria-controls":this.groupId,"aria-expanded":!this.isCollapsedLocal,alwaysTranslate:this.alwaysTranslate,class:"a_fieldset__btn_collapse a_btn a_btn_transparent_secondary",iconLeft:this.iconCollapse,title:this.titleCollapse,textScreenReader:this.titleCollapse,type:"button",onClick:this.toggleCollapse}):"",e.h("div",{id:this.groupId,class:"a_fieldset__content"},[e.h(at,{id:this.labelDescriptionId,alwaysTranslate:this.alwaysTranslate,html:this.labelDescription,extra:this.extra}),this.searchOutsideOrApi?e.h("div",{class:"a_fieldset__search"},[e.h("form",{onSubmit:this.onSearchOutside},[e.h("div",{class:"input-group"},[e.h(ct,{alwaysTranslate:this.alwaysTranslate,label:((_=this.texts)==null?void 0:_.search)||"_A_CHECKBOX_SEARCH_",inputClass:"a_select__element_clickable",modelValue:this.modelSearchOutside,modelUndefined:"","onUpdate:modelValue":this.updateModelSearchOutside}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,ariaDisabled:this.loadingSearchApi,disabled:this.disabled,class:"a_btn a_btn_primary",type:"submit",iconLeft:Os})])])]):"",this.search?e.h(ct,{alwaysTranslate:this.alwaysTranslate,label:((t=this.texts)==null?void 0:t.search)||"_A_CHECKBOX_SEARCH_",class:"a_fieldset__search",modelValue:this.modelSearch,modelUndefined:"","onUpdate:modelValue":this.updateModelSearch}):"",this.loadingLocal?e.h(Ar):"",this.hasDataExtra?e.h("div",{class:"a_checkbox__data_extra"},[...this.dataExtraLocal.map((E,r)=>e.h(li,{key:r,id:this.htmlIdLocal,alwaysTranslate:this.alwaysTranslate,idSuffix:"extra",classButtonGroupDefault:this.classButtonGroupDefault,dataItem:E,disabled:this.disabled,isButtonGroup:this.isButtonGroup,isErrors:this.isErrors,isWidthAuto:this.isWidthAuto,itemIndex:r,keyDisabled:this.keyDisabled,keyTitle:this.keyTitle,keyTitleCallback:this.keyTitleCallback,modelSearch:this.modelSearchLowerCase,modelValue:this.modelValue,searching:this.searching,searchingElements:this.searchingElementsExtra,searchTextInHtml:this.searchTextInHtml,slotAppendName:this.slotAppendName,slotName:this.slotName,onChangeModelValue:this.onChangeModelValue},this.$slots)),this.hasNotElementsExtraWithSearch?"":e.h("div",{class:"a_divider",ariaHidden:!0})]):"",e.h("div",{},this.hasKeyGroup?[e.h(Ti,{id:`${this.htmlIdLocal}_lev_0`,alwaysTranslate:this.alwaysTranslate,classButtonGroupDefault:this.classButtonGroupDefault,dataGrouped:this.dataGrouped,disabled:this.disabled,hasControlCheckbox:this.hasControlCheckbox,groupsForLever:this.groupsForLever,isButtonGroup:this.isButtonGroup,isErrors:this.isErrors,isWidthAuto:this.isWidthAuto,keyDisabled:this.keyDisabled,keyTitle:this.keyTitle,keyTitleCallback:this.keyTitleCallback,levelIndex:0,modelSearch:this.modelSearchLowerCase,modelValue:this.modelValue,modelValueObj:this.modelValueObj,searching:this.searching,searchingElements:this.searchingElements,searchingGroups:this.searchingGroups,searchingGroupsWithSearchInGroup:this.searchingGroupsWithSearchInGroup,searchTextInHtml:this.searchTextInHtml,slotAppendName:this.slotAppendName,slotName:this.slotName,type:"checkbox",onChangeModelValue:this.onChangeModelValue},this.$slots)]:[e.h("div",{class:["a_checkbox_data",{a_btn_group:this.isButtonGroup},this.classDataParent]},[...this.dataSort.map((E,r)=>e.h(li,{key:r,id:this.htmlIdLocal,alwaysTranslate:this.alwaysTranslate,classButtonGroupDefault:this.classButtonGroupDefault,dataItem:E,disabled:this.disabled,isButtonGroup:this.isButtonGroup,isErrors:this.isErrors,isWidthAuto:this.isWidthAuto,itemIndex:r,keyDisabled:this.keyDisabled,keyTitle:this.keyTitle,keyTitleCallback:this.keyTitleCallback,modelSearch:this.modelSearchLowerCase,modelValue:this.modelValue,searching:this.searching,searchingElements:this.searchingElements,searchTextInHtml:this.searchTextInHtml,slotAppendName:this.slotAppendName,slotName:this.slotName,onChangeModelValue:this.onChangeModelValue},this.$slots))])]),!this.dataSort.length||this.hasNotElementsWithSearch?e.h(u_,{alwaysTranslate:this.alwaysTranslate,class:"a_form__not_elements",text:((n=this.texts)==null?void 0:n.notElementsWithSearch)||"_A_CHECKBOX_HAS_NOT_ELEMENTS_WITH_SEARCH_"}):""])])]),e.h(We,{id:this.helpTextId,alwaysTranslate:this.alwaysTranslate,html:this.helpText,extra:this.extra}),this.isErrors&&e.h(ve,{id:this.errorsId,alwaysTranslate:this.alwaysTranslate,errors:this.errors})])]):null}};function hP({emit:_}){return{onChangeModelValue:n=>{_("changeModelValue",n)}}}function pP(_,{valueLocal:t=e.computed(()=>{})}){const n=e.toRef(_,"modelValue");return{isChecked:e.computed(()=>c_(n.value)?n.value.indexOf(t.value)!==-1:n.value===t.value)}}function IP(_,{emit:t},{disabledElement:n=e.computed(()=>{}),isChecked:E=e.computed(()=>!1),valueLocal:r=e.computed(()=>{})}){const s=e.toRef(_,"dataItem"),i=L=>{if(n.value||E.value){L.preventDefault(),L.stopPropagation();return}t("changeModelValue",{model:r.value,item:s.value,$event:L}),L.preventDefault(),L.stopPropagation()};return{onClick:i,onKeydown:L=>{(L.key==="Enter"||L.keyCode===j.space)&&(i(L),L.stopPropagation(),L.preventDefault())}}}const Li={name:"ARadioItem",props:{alwaysTranslate:{type:Boolean,required:!1},classButtonGroupDefault:{type:[String,Object,Array],required:!1,default:void 0},dataItem:{type:Object,required:!0},disabled:{type:Boolean,required:!1},id:{type:String,required:!0},idSuffix:{type:String,required:!1,default:void 0},isButtonGroup:{type:Boolean,required:!1},isErrors:{type:Boolean,required:!1},isHiddenWithSearch:{type:Boolean,required:!1},isWidthAuto:{type:Boolean,required:!1},itemIndex:{type:Number,required:!0},keyDisabled:{type:String,required:!1,default:void 0},keyDisabledCallback:{type:Function,required:!1,default:void 0},keyTitle:{type:String,required:!1,default:void 0},keyTitleCallback:{type:Function,required:!1,default:void 0},modelSearch:{type:String,required:!1,default:""},modelValue:{type:[String,Number,Boolean,Array],required:!1},readonly:{type:Boolean,required:!1},searching:{type:Boolean,required:!1},searchingElements:{type:Object,required:!1,default:()=>({})},searchTextInHtml:{type:Boolean,required:!1},showElementWennGroupFound:{type:Boolean,required:!1},slotAppendName:{type:String,required:!1,default:void 0},slotName:{type:String,required:!1,default:void 0},type:{type:String,required:!1}},emits:["changeModelValue"],setup(_,t){const{idLocal:n,labelLocal:E,valueLocal:r}=WL(_),{classButton:s}=hd(_),{isChecked:i}=pP(_,{valueLocal:r}),{disabledElement:l}=kL(_),{onClick:L,onKeydown:S}=IP(_,t,{disabledElement:l,isChecked:i,valueLocal:r}),{currentLabelFiltered:A,styleWithSearch:u}=XL(_,{labelLocal:E,valueLocal:r}),{titleLocal:d}=pd(_);return{classButton:s,currentLabelFiltered:A,disabledElement:l,idLocal:n,isChecked:i,labelLocal:E,onClick:L,onKeydown:S,styleWithSearch:u,titleLocal:d,valueLocal:r}},render(){return this.readonly?e.h(L_,{alwaysTranslate:this.alwaysTranslate,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},tag:"span",title:this.titleLocal,type:"text"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])]):this.isButtonGroup?[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_btn_check",disabled:this.disabledElement,name:this.id,style:this.styleWithSearch,type:"radio",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:this.classButton,classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{}),[[$e,this.currentLabelFiltered]])])]:[e.h("div",{class:["a_custom_control a_custom_radio",{a_custom_control_invalid:this.isErrors}],style:this.styleWithSearch},[e.h("input",{id:this.idLocal,checked:this.isChecked,class:"a_custom_control_input",disabled:this.disabledElement,name:this.id,type:"radio",value:this.valueLocal,onClick:this.onClick,onKeydown:this.onKeydown}),e.h(L_,{alwaysTranslate:this.alwaysTranslate,class:{a_custom_control_label:!0,a_custom_control_label_width_auto:this.isWidthAuto},classDefault:"",extra:{label:this.labelLocal,labelFiltered:this.currentLabelFiltered},for:this.idLocal,tag:"label",title:this.titleLocal,type:"button"},()=>[this.slotName&&this.$slots[this.slotName]?this.$slots[this.slotName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):this.labelLocal&&e.withDirectives(e.h("span",{class:"a_custom_control_label__text"}),[[$e,this.currentLabelFiltered]])])]),this.slotAppendName&&this.$slots[this.slotAppendName]?this.$slots[this.slotAppendName]({id:this.id,item:this.dataItem,itemIndex:this.itemIndex,isChecked:this.isChecked,label:this.labelLocal,labelFiltered:this.currentLabelFiltered}):""]}};function OP(_){const t=e.toRef(_,"ariLabel");return{attributesAriaLabelHidden:e.computed(()=>t.value?{ariaLabel:t.value}:{ariaHidden:!0})}}function UP(_,{isIconSvg:t=e.computed(()=>!1)}){const n=e.toRef(_,"icon");return{iconClass:e.computed(()=>{if(!t.value)return`a_icon_${n.value||"_NoImage"}`})}}const Us=e.ref({icons:{_NoImage:`<svg
13
13
  xmlns="http://www.w3.org/2000/svg"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "Aloha-vue is a JavaScript library that provides a wide range of accessible components and directives for Vue.js. Accessibility is of paramount importance to us, and we have designed all our components to meet accessibility compliance criteria. This library is a valuable tool for frontend developers and has already been used in three projects, including two large-scale ones",
5
5
  "keywords": [
6
6
  "accessibility compliance criteria",
@@ -119,6 +119,7 @@ export default {
119
119
 
120
120
  const {
121
121
  alertClassLocal,
122
+ alertParentClassLocal,
122
123
  } = ClassAPI(props);
123
124
 
124
125
  const {
@@ -142,6 +143,7 @@ export default {
142
143
 
143
144
  return {
144
145
  alertClassLocal,
146
+ alertParentClassLocal,
145
147
  ariaAtomicLocal,
146
148
  close,
147
149
  iconLocal,
@@ -153,9 +155,11 @@ export default {
153
155
  if (this.isHidden) {
154
156
  return null;
155
157
  }
158
+
156
159
  return h("div", {
157
160
  class: [
158
161
  "a_alert__parent",
162
+ this.alertParentClassLocal,
159
163
  {
160
164
  a_alert__parent_closable: this.closable,
161
165
  },
@@ -10,7 +10,12 @@ export default function ClassAPI(props) {
10
10
  return `a_alert a_alert_${ type.value }`;
11
11
  });
12
12
 
13
+ const alertParentClassLocal = computed(() => {
14
+ return `a_alert__parent_${ type.value }`;
15
+ });
16
+
13
17
  return {
14
18
  alertClassLocal,
19
+ alertParentClassLocal,
15
20
  };
16
21
  }