/*! third party licenses: js/vendor.LICENSE.txt */ import{g as Ia}from"./_commonjsHelpers-BdswosdL.chunk.mjs";const uo=globalThis||void 0||self;var Ra={},ut=Object.freeze({}),$=Array.isArray;function O(t){return t==null}function p(t){return t!=null}function W(t){return t===!0}function La(t){return t===!1}function Fe(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function j(t){return typeof t=="function"}function et(t){return t!==null&&typeof t=="object"}var Tr=Object.prototype.toString;function at(t){return Tr.call(t)==="[object Object]"}function Ma(t){return Tr.call(t)==="[object RegExp]"}function gi(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Zn(t){return p(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Pa(t){return t==null?"":Array.isArray(t)||at(t)&&t.toString===Tr?JSON.stringify(t,ja,2):String(t)}function ja(t,e){return e&&e.__v_isRef?e.value:e}function Ie(t){var e=parseFloat(t);return isNaN(e)?t:e}function Ot(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var za=Object.prototype.hasOwnProperty;function it(t,e){return za.call(t,e)}function ee(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var Ua=/-(\w)/g,Qt=ee(function(t){return t.replace(Ua,function(e,n){return n?n.toUpperCase():""})}),Ha=ee(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ba=/\B([A-Z])/g,ze=ee(function(t){return t.replace(Ba,"-$1").toLowerCase()});function Wa(t,e){function n(r){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return n._length=t.length,n}function Ga(t,e){return t.bind(e)}var _i=Function.prototype.bind?Ga:Wa;function Jn(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function z(t,e){for(var n in e)t[n]=e[n];return t}function yi(t){for(var e={},n=0;n0,Oi=yt&&yt.indexOf("edge/")>0;yt&&yt.indexOf("android")>0;var Xa=yt&&/iphone|ipad|ipod|ios/.test(yt),fo=yt&&yt.match(/firefox\/(\d+)/),er={}.watch,xi=!1;if(lt)try{var po={};Object.defineProperty(po,"passive",{get:function(){xi=!0}}),window.addEventListener("test-passive",null,po)}catch{}var Je,Ht=function(){return Je===void 0&&(!lt&&typeof uo<"u"?Je=uo.process&&Ra.VUE_ENV==="server":Je=!1),Je},gn=lt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function de(t){return typeof t=="function"&&/native code/.test(t.toString())}var Ue=typeof Symbol<"u"&&de(Symbol)&&typeof Reflect<"u"&&de(Reflect.ownKeys),Re;typeof Set<"u"&&de(Set)?Re=Set:Re=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=null;function Nl(){return ft&&{proxy:ft}}function jt(t){t===void 0&&(t=null),t||ft&&ft._scope.off(),ft=t,t&&t._scope.on()}var dt=function(){function t(e,n,r,o,i,a,s,u){this.tag=e,this.data=n,this.children=r,this.text=o,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),ve=function(t){t===void 0&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function le(t){return new dt(void 0,void 0,void 0,String(t))}function nr(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Qa=0,un=[],Za=function(){for(var t=0;t0&&(o=Li(o,"".concat(e||"","_").concat(r)),Te(o[0])&&Te(a)&&(n[i]=le(a.text+o[0].text),o.shift()),n.push.apply(n,o)):Fe(o)?Te(a)?n[i]=le(a.text+o):o!==""&&n.push(le(o)):Te(o)&&Te(a)?n[i]=le(a.text+o.text):(W(t._isVList)&&p(o.tag)&&O(o.key)&&p(e)&&(o.key="__vlist".concat(e,"_").concat(r,"__")),n.push(o)));return n}function ds(t,e){var n=null,r,o,i,a;if($(t)||typeof t=="string")for(n=new Array(t.length),r=0,o=t.length;r0,a=e?!!e.$stable:!i,s=e&&e.$key;if(!e)o={};else{if(e._normalized)return e._normalized;if(a&&r&&r!==ut&&s===r.$key&&!i&&!r.$hasNormal)return r;o={};for(var u in e)e[u]&&u[0]!=="$"&&(o[u]=Os(t,n,u,e[u]))}for(var d in n)d in o||(o[d]=xs(n,d));return e&&Object.isExtensible(e)&&(e._normalized=o),K(o,"$stable",a),K(o,"$key",s),K(o,"$hasNormal",i),o}function Os(t,e,n,r){var o=function(){var i=ft;jt(t);var a=arguments.length?r.apply(null,arguments):r({});a=a&&typeof a=="object"&&!$(a)?[a]:Sr(a);var s=a&&a[0];return jt(i),a&&(!s||a.length===1&&s.isComment&&!Le(s))?void 0:a};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function xs(t,e){return function(){return t[e]}}function Ss(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=ks(t);jt(t),_e();var o=Rt(n,null,[t._props||$i({}),r],t,"setup");if(ye(),jt(),j(o))e.render=o;else if(et(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)a!=="__sfc"&&or(i,o,a)}else for(var a in o)Ti(a)||or(t,o,a)}}function ks(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),yn(e,t.$attrs,ut,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};yn(e,t.$listeners,ut,t,"$listeners")}return t._listenersProxy},get slots(){return As(t)},emit:_i(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return or(t,e,n)})}}}function yn(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Es(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Es(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function As(t){return t._slotsProxy||Fi(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Fi(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function $s(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=kr(e._renderChildren,r),t.$scopedSlots=n?De(t.$parent,n.data.scopedSlots,t.$slots):ut,t._c=function(i,a,s,u){return bn(t,i,a,s,u,!1)},t.$createElement=function(i,a,s,u){return bn(t,i,a,s,u,!0)};var o=n&&n.data;zt(t,"$attrs",o&&o.attrs||ut,null,!0),zt(t,"$listeners",e._parentListeners||ut,null,!0)}var pn=null;function Ns(t){ji(t.prototype),t.prototype.$nextTick=function(e){return Er(e,this)},t.prototype._render=function(){var e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=De(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Fi(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;var i=ft,a=pn,s;try{jt(e),pn=e,s=r.call(e._renderProxy,e.$createElement)}catch(u){Jt(u,e,"render"),s=e._vnode}finally{pn=a,jt(i)}return $(s)&&s.length===1&&(s=s[0]),s instanceof dt||(s=ve()),s.parent=o,s}}function jn(t,e){return(t.__esModule||Ue&&t[Symbol.toStringTag]==="Module")&&(t=t.default),et(t)?e.extend(t):t}function Ds(t,e,n,r,o){var i=ve();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Is(t,e){if(W(t.error)&&p(t.errorComp))return t.errorComp;if(p(t.resolved))return t.resolved;var n=pn;if(n&&p(t.owners)&&t.owners.indexOf(n)===-1&&t.owners.push(n),W(t.loading)&&p(t.loadingComp))return t.loadingComp;if(n&&!p(t.owners)){var r=t.owners=[n],o=!0,i=null,a=null;n.$on("hook:destroyed",function(){return Ut(r,n)});var s=function(_){for(var b=0,T=r.length;b1?Jn(o):o;for(var i=Jn(arguments,1),a='event handler for "'.concat(n,'"'),s=0,u=o.length;sdocument.createEvent("Event").timeStamp&&(lr=function(){return Fn.now()})}var Zs=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Js(){qi=lr(),Dr=!0;var t,e;for(Nt.sort(Zs),fe=0;fefe&&Nt[n].id>t.id;)n--;Nt.splice(n+1,0,t)}ur||(ur=!0,Er(Js))}}function rc(t){var e=t.$options.provide;if(e){var n=j(e)?e.call(t):e;if(!et(n))return;for(var r=ls(t),o=Ue?Reflect.ownKeys(n):Object.keys(n),i=0;i-1){if(i&&!it(o,"default"))a=!1;else if(a===""||a===ze(t)){var u=Io(String,o.type);(u<0||s-1)return this;var r=Jn(arguments,1);return r.unshift(this),j(e.install)?e.install.apply(e,r):j(e)&&e.apply(null,r),n.push(e),this}}function Ic(t){t.mixin=function(e){return this.options=te(this.options,e),this}}function Rc(t){t.cid=0;var e=1;t.extend=function(n){n=n||{};var r=this,o=r.cid,i=n._Ctor||(n._Ctor={});if(i[o])return i[o];var a=Cn(n)||Cn(r.options),s=function(u){this._init(u)};return s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.cid=e++,s.options=te(r.options,n),s.super=r,s.options.props&&Lc(s),s.options.computed&&Mc(s),s.extend=r.extend,s.mixin=r.mixin,s.use=r.use,kn.forEach(function(u){s[u]=r[u]}),a&&(s.options.components[a]=s),s.superOptions=r.options,s.extendOptions=n,s.sealedOptions=z({},s.options),i[o]=s,s}}function Lc(t){var e=t.options.props;for(var n in e)Mr(t.prototype,"_props",n)}function Mc(t){var e=t.options.computed;for(var n in e)Xi(t.prototype,n,e[n])}function Pc(t){kn.forEach(function(e){t[e]=function(n,r){return r?(e==="component"&&at(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),e==="directive"&&j(r)&&(r={bind:r,update:r}),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Mo(t){return t&&(Cn(t.Ctor.options)||t.tag)}function nn(t,e){return $(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Ma(t)?t.test(e):!1}function Po(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var u=s.name;u&&!e(u)&&vr(n,a,r,o)}}i.componentOptions.children=void 0}function vr(t,e,n,r){var o=t[e];o&&(!r||o.tag!==r.tag)&&o.componentInstance.$destroy(),t[e]=null,Ut(n,e)}var jo=[String,RegExp,Array],jc={name:"keep-alive",abstract:!0,props:{include:jo,exclude:jo,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:Mo(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&vr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)vr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Po(t,function(n){return nn(e,n)})}),this.$watch("exclude",function(e){Po(t,function(n){return!nn(e,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=zi(t),n=e&&e.componentOptions;if(n){var r=Mo(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!nn(i,r))||a&&r&&nn(a,r))return e;var s=this,u=s.cache,d=s.keys,v=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;u[v]?(e.componentInstance=u[v].componentInstance,Ut(d,v),d.push(v)):(this.vnodeToCache=e,this.keyToCache=v),e.data.keepAlive=!0}return e||t&&t[0]}},Fc={KeepAlive:jc};function zc(t){var e={};e.get=function(){return _t},Object.defineProperty(t,"config",e),t.util={warn:lc,extend:z,mergeOptions:te,defineReactive:zt},t.set=xr,t.delete=Ei,t.nextTick=Er,t.observable=function(n){return It(n),n},t.options=Object.create(null),kn.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,z(t.options.components,Fc),Dc(t),Ic(t),Rc(t),Pc(t)}zc(Y),Object.defineProperty(Y.prototype,"$isServer",{get:Ht}),Object.defineProperty(Y.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Y,"FunctionalRenderContext",{value:Ir}),Y.version=zs;var Uc=Ot("style,class"),Hc=Ot("input,textarea,option,select,progress"),Bc=function(t,e,n){return n==="value"&&Hc(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},Qi=Ot("contenteditable,draggable,spellcheck"),Wc=Ot("events,caret,typing,plaintext-only"),Gc=function(t,e){return On(e)||e==="false"?"false":t==="contenteditable"&&Wc(e)?e:"true"},Vc=Ot("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),mr="http://www.w3.org/1999/xlink",jr=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},Zi=function(t){return jr(t)?t.slice(6,t.length):""},On=function(t){return t==null||t===!1};function qc(t){for(var e=t.data,n=t,r=t;p(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(e=Fo(r.data,e));for(;p(n=n.parent);)n&&n.data&&(e=Fo(e,n.data));return Yc(e.staticClass,e.class)}function Fo(t,e){return{staticClass:Fr(t.staticClass,e.staticClass),class:p(t.class)?[t.class,e.class]:e.class}}function Yc(t,e){return p(t)||p(e)?Fr(t,zr(e)):""}function Fr(t,e){return t?e?t+" "+e:t:e||""}function zr(t){return Array.isArray(t)?Kc(t):et(t)?Xc(t):typeof t=="string"?t:""}function Kc(t){for(var e="",n,r=0,o=t.length;r-1?rn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:rn[t]=/HTMLUnknownElement/.test(e.toString())}var hr=Ot("text,number,password,search,email,tel,url");function eu(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function nu(t,e){var n=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function ru(t,e){return document.createElementNS(Qc[t],e)}function ou(t){return document.createTextNode(t)}function iu(t){return document.createComment(t)}function au(t,e,n){t.insertBefore(e,n)}function su(t,e){t.removeChild(e)}function cu(t,e){t.appendChild(e)}function uu(t){return t.parentNode}function lu(t){return t.nextSibling}function fu(t){return t.tagName}function pu(t,e){t.textContent=e}function du(t,e){t.setAttribute(e,"")}var vu=Object.freeze({__proto__:null,createElement:nu,createElementNS:ru,createTextNode:ou,createComment:iu,insertBefore:au,removeChild:su,appendChild:cu,parentNode:uu,nextSibling:lu,tagName:fu,setTextContent:pu,setStyleScope:du}),mu={create:function(t,e){pe(e)},update:function(t,e){t.data.ref!==e.data.ref&&(pe(t,!0),pe(e))},destroy:function(t){pe(t,!0)}};function pe(t,e){var n=t.data.ref;if(p(n)){var r=t.context,o=t.componentInstance||t.elm,i=e?null:o,a=e?void 0:o;if(j(n)){Rt(n,r,[i],r,"template ref function");return}var s=t.data.refInFor,u=typeof n=="string"||typeof n=="number",d=tt(n),v=r.$refs;if(u||d){if(s){var _=u?v[n]:n.value;e?$(_)&&Ut(_,o):$(_)?_.includes(o)||_.push(o):u?(v[n]=[o],zo(r,n,v[n])):n.value=[o]}else if(u){if(e&&v[n]!==o)return;v[n]=a,zo(r,n,i)}else if(d){if(e&&n.value!==o)return;n.value=i}}}}function zo(t,e,n){var r=t._setupState;r&&it(r,e)&&(tt(r[e])?r[e].value=n:r[e]=n)}var Pt=new dt("",{},[]),Oe=["create","activate","update","remove","destroy"];function qt(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&p(t.data)===p(e.data)&&hu(t,e)||W(t.isAsyncPlaceholder)&&O(e.asyncFactory.error))}function hu(t,e){if(t.tag!=="input")return!0;var n,r=p(n=t.data)&&p(n=n.attrs)&&n.type,o=p(n=e.data)&&p(n=n.attrs)&&n.type;return r===o||hr(r)&&hr(o)}function gu(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,p(o)&&(i[o]=r);return i}function _u(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;eS?(be=O(m[F+1])?null:m[F+1].elm,E(l,be,m,x,F,y)):x>F&&L(f,k,S)}function vt(l,f,m,y){for(var C=m;C-1?Wo(t,e,n):Vc(e)?On(n)?t.removeAttribute(e):(n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,n)):Qi(e)?t.setAttribute(e,Gc(e,n)):jr(e)?On(n)?t.removeAttributeNS(mr,Zi(e)):t.setAttributeNS(mr,e,n):Wo(t,e,n)}function Wo(t,e,n){if(On(n))t.removeAttribute(e);else{if(he&&!ge&&t.tagName==="TEXTAREA"&&e==="placeholder"&&n!==""&&!t.__ieph){var r=function(o){o.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ou={create:Ho,update:Ho};function Go(t,e){var n=e.elm,r=e.data,o=t.data;if(!(O(r.staticClass)&&O(r.class)&&(O(o)||O(o.staticClass)&&O(o.class)))){var i=qc(e),a=n._transitionClasses;p(a)&&(i=Fr(i,zr(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var xu={create:Go,update:Go},Un="__r",Hn="__c";function Su(t){if(p(t[Un])){var e=he?"change":"input";t[e]=[].concat(t[Un],t[e]||[]),delete t[Un]}p(t[Hn])&&(t.change=[].concat(t[Hn],t.change||[]),delete t[Hn])}var je;function ku(t,e,n){var r=je;return function o(){var i=e.apply(null,arguments);i!==null&&ta(t,o,n,r)}}var Eu=ar&&!(fo&&Number(fo[1])<=53);function Au(t,e,n,r){if(Eu){var o=qi,i=e;e=i._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=o||a.timeStamp<=0||a.target.ownerDocument!==document)return i.apply(this,arguments)}}je.addEventListener(t,e,xi?{capture:n,passive:r}:n)}function ta(t,e,n,r){(r||je).removeEventListener(t,e._wrapper||e,n)}function Bn(t,e){if(!(O(t.data.on)&&O(e.data.on))){var n=e.data.on||{},r=t.data.on||{};je=e.elm||t.elm,Su(n),Ri(n,r,Au,ta,ku,e.context),je=void 0}}var $u={create:Bn,update:Bn,destroy:function(t){return Bn(t,Pt)}},on;function Vo(t,e){if(!(O(t.data.domProps)&&O(e.data.domProps))){var n,r,o=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};(p(a.__ob__)||W(a._v_attr_proxy))&&(a=e.data.domProps=z({},a));for(n in i)n in a||(o[n]="");for(n in a){if(r=a[n],n==="textContent"||n==="innerHTML"){if(e.children&&(e.children.length=0),r===i[n])continue;o.childNodes.length===1&&o.removeChild(o.childNodes[0])}if(n==="value"&&o.tagName!=="PROGRESS"){o._value=r;var s=O(r)?"":String(r);Nu(o,s)&&(o.value=s)}else if(n==="innerHTML"&&Ur(o.tagName)&&O(o.innerHTML)){on=on||document.createElement("div"),on.innerHTML="".concat(r,"");for(var u=on.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==i[n])try{o[n]=r}catch{}}}}function Nu(t,e){return!t.composing&&(t.tagName==="OPTION"||Du(t,e)||Iu(t,e))}function Du(t,e){var n=!0;try{n=document.activeElement!==t}catch{}return n&&t.value!==e}function Iu(t,e){var n=t.value,r=t._vModifiers;if(p(r)){if(r.number)return Ie(n)!==Ie(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Ru={create:Vo,update:Vo},Lu=ee(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(o){if(o){var i=o.split(r);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function Wn(t){var e=ea(t.style);return t.staticStyle?z(t.staticStyle,e):e}function ea(t){return Array.isArray(t)?yi(t):typeof t=="string"?Lu(t):t}function Mu(t,e){for(var n={},r,o=t;o.componentInstance;)o=o.componentInstance._vnode,o&&o.data&&(r=Wn(o.data))&&z(n,r);(r=Wn(t.data))&&z(n,r);for(var i=t;i=i.parent;)i.data&&(r=Wn(i.data))&&z(n,r);return n}var Pu=/^--/,qo=/\s*!important$/,Yo=function(t,e,n){if(Pu.test(e))t.style.setProperty(e,n);else if(qo.test(n))t.style.setProperty(ze(e),n.replace(qo,""),"important");else{var r=ju(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(na).forEach(function(r){return t.classList.add(r)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function oa(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(na).forEach(function(o){return t.classList.remove(o)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ia(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&z(e,Qo(t.name||"v")),z(e,t),e}else if(typeof t=="string")return Qo(t)}}var Qo=ee(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),aa=lt&&!ge,ue="transition",Gn="animation",vn="transition",xn="transitionend",gr="animation",sa="animationend";aa&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(vn="WebkitTransition",xn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(gr="WebkitAnimation",sa="webkitAnimationEnd"));var Zo=lt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ca(t){Zo(function(){Zo(t)})}function Xt(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ra(t,e))}function Dt(t,e){t._transitionClasses&&Ut(t._transitionClasses,e),oa(t,e)}function ua(t,e,n){var r=la(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ue?xn:sa,u=0,d=function(){t.removeEventListener(s,v),n()},v=function(_){_.target===t&&++u>=a&&d()};setTimeout(function(){u0&&(d=ue,v=i,_=o.length):e===Gn?u>0&&(d=Gn,v=u,_=s.length):(v=Math.max(i,u),d=v>0?i>u?ue:Gn:null,_=d?d===ue?o.length:s.length:0);var b=d===ue&&zu.test(n[vn+"Property"]);return{type:d,timeout:v,propCount:_,hasTransform:b}}function Jo(t,e){for(;t.length1}function ei(t,e){e.data.show!==!0&&_r(e)}var Uu=lt?{create:ei,activate:ei,remove:function(t,e){t.data.show!==!0?fa(t,e):e()}}:{},Hu=[Ou,xu,$u,Ru,Fu,Uu],Bu=Hu.concat(Tu),Wu=_u({nodeOps:vu,modules:Bu});ge&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Br(t,"input")});var da={inserted:function(t,e,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?Mt(n,"postpatch",function(){da.componentUpdated(t,e,n)}):ni(t,e,n.context),t._vOptions=[].map.call(t.options,Sn)):(n.tag==="textarea"||hr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Gu),t.addEventListener("compositionend",ii),t.addEventListener("change",ii),ge&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if(n.tag==="select"){ni(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Sn);if(o.some(function(a,s){return!Zt(a,r[s])})){var i=t.multiple?e.value.some(function(a){return oi(a,o)}):e.value!==e.oldValue&&oi(e.value,o);i&&Br(t,"change")}}}};function ni(t,e,n){ri(t,e),(he||Oi)&&setTimeout(function(){ri(t,e)},0)}function ri(t,e,n){var r=e.value,o=t.multiple;if(!(o&&!Array.isArray(r))){for(var i,a,s=0,u=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(Zt(Sn(a),r)){t.selectedIndex!==s&&(t.selectedIndex=s);return}o||(t.selectedIndex=-1)}}function oi(t,e){return e.every(function(n){return!Zt(n,t)})}function Sn(t){return"_value"in t?t._value:t.value}function Gu(t){t.target.composing=!0}function ii(t){t.target.composing&&(t.target.composing=!1,Br(t.target,"input"))}function Br(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function yr(t){return t.componentInstance&&(!t.data||!t.data.transition)?yr(t.componentInstance._vnode):t}var Vu={bind:function(t,e,n){var r=e.value;n=yr(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;r&&o?(n.data.show=!0,_r(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!=!o){n=yr(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?_r(n,function(){t.style.display=t.__vOriginalDisplay}):fa(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},qu={model:da,show:Vu},va={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function br(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?br(zi(e.children)):t}function ma(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[Qt(r)]=o[r];return e}function ai(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Yu(t){for(;t=t.parent;)if(t.data.transition)return!0}function Ku(t,e){return e.key===t.key&&e.tag===t.tag}var Xu=function(t){return t.tag||Le(t)},Qu=function(t){return t.name==="show"},Zu={name:"transition",props:va,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Xu),!!n.length)){var r=this.mode,o=n[0];if(Yu(this.$vnode))return o;var i=br(o);if(!i)return o;if(this._leaving)return ai(t,o);var a="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?a+"comment":a+i.tag:Fe(i.key)?String(i.key).indexOf(a)===0?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=ma(this),u=this._vnode,d=br(u);if(i.data.directives&&i.data.directives.some(Qu)&&(i.data.show=!0),d&&d.data&&!Ku(i,d)&&!Le(d)&&!(d.componentInstance&&d.componentInstance._vnode.isComment)){var v=d.data.transition=z({},s);if(r==="out-in")return this._leaving=!0,Mt(v,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),ai(t,o);if(r==="in-out"){if(Le(i))return u;var _,b=function(){_()};Mt(s,"afterEnter",b),Mt(s,"enterCancelled",b),Mt(v,"delayLeave",function(T){_=T})}}return o}}},ha=z({tag:String,moveClass:String},va);delete ha.mode;var Ju={props:ha,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Wi(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ma(this),s=0;s1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:mn;si&&si(t,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){const i=n(o);i!==o&&(ol(e)||(e[r]=i),o=i)}t[o]=!0}return t}function pl(t){for(let e=0;e/gm),gl=bt(/\$\{[\w\W]*/gm),_l=bt(/^data-[\-\w.\u00B7-\uFFFF]+$/),yl=bt(/^aria-[\-\w]+$/),ya=bt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bl=bt(/^(?:\w+script|data):/i),wl=bt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ba=bt(/^html$/i),Cl=bt(/^[a-z][.\w]*(-[.\w]+)+$/i);var vi=Object.freeze({__proto__:null,ARIA_ATTR:yl,ATTR_WHITESPACE:wl,CUSTOM_ELEMENT:Cl,DATA_ATTR:_l,DOCTYPE_NAME:ba,ERB_EXPR:hl,IS_ALLOWED_URI:ya,IS_SCRIPT_OR_DATA:bl,MUSTACHE_EXPR:ml,TMPLIT_EXPR:gl});const $e={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tl=function(){return typeof window>"u"?null:window},Ol=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},mi=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function wa(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tl();const e=c=>wa(c);if(e.version="3.2.4",e.removed=[],!t||!t.document||t.document.nodeType!==$e.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:s,Element:u,NodeFilter:d,NamedNodeMap:v=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:_,DOMParser:b,trustedTypes:T}=t,N=u.prototype,H=Ae(N,"cloneNode"),R=Ae(N,"remove"),G=Ae(N,"nextSibling"),E=Ae(N,"childNodes"),U=Ae(N,"parentNode");if(typeof a=="function"){const c=n.createElement("template");c.content&&c.content.ownerDocument&&(n=c.content.ownerDocument)}let L,Z="";const{implementation:wt,createNodeIterator:vt,createDocumentFragment:mt,getElementsByTagName:Bt}=n,{importNode:ne}=r;let V=mi();e.isSupported=typeof ga=="function"&&typeof U=="function"&&wt&&wt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:l,ERB_EXPR:f,TMPLIT_EXPR:m,DATA_ATTR:y,ARIA_ATTR:C,IS_SCRIPT_OR_DATA:k,ATTR_WHITESPACE:x,CUSTOM_ELEMENT:S}=vi;let{IS_ALLOWED_URI:I}=vi,w=null;const F=D({},[...li,...qn,...Yn,...Kn,...fi]);let A=null;const nt=D({},[...pi,...Xn,...di,...cn]);let P=Object.seal(_a(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}})),pt=null,ht=null,be=!0,Wt=!0,Wr=!1,Gr=!0,re=!1,An=!0,Gt=!1,$n=!1,Nn=!1,oe=!1,Ge=!1,Ve=!1,Vr=!0,qr=!1;const Oa="user-content-";let Dn=!0,we=!1,ie={},ae=null;const Yr=D({},["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 Kr=null;const Xr=D({},["audio","video","img","source","image","track"]);let In=null;const Qr=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Et="http://www.w3.org/1999/xhtml";let se=Et,Rn=!1,Ln=null;const xa=D({},[qe,Ye,Et],Vn);let Ke=D({},["mi","mo","mn","ms","mtext"]),Xe=D({},["annotation-xml"]);const Sa=D({},["title","style","font","a","script"]);let Ce=null;const ka=["application/xhtml+xml","text/html"],Ea="text/html";let X=null,ce=null;const Aa=n.createElement("form"),Zr=function(c){return c instanceof RegExp||c instanceof Function},Mn=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ce&&ce===c)){if((!c||typeof c!="object")&&(c={}),c=Yt(c),Ce=ka.indexOf(c.PARSER_MEDIA_TYPE)===-1?Ea:c.PARSER_MEDIA_TYPE,X=Ce==="application/xhtml+xml"?Vn:mn,w=Ct(c,"ALLOWED_TAGS")?D({},c.ALLOWED_TAGS,X):F,A=Ct(c,"ALLOWED_ATTR")?D({},c.ALLOWED_ATTR,X):nt,Ln=Ct(c,"ALLOWED_NAMESPACES")?D({},c.ALLOWED_NAMESPACES,Vn):xa,In=Ct(c,"ADD_URI_SAFE_ATTR")?D(Yt(Qr),c.ADD_URI_SAFE_ATTR,X):Qr,Kr=Ct(c,"ADD_DATA_URI_TAGS")?D(Yt(Xr),c.ADD_DATA_URI_TAGS,X):Xr,ae=Ct(c,"FORBID_CONTENTS")?D({},c.FORBID_CONTENTS,X):Yr,pt=Ct(c,"FORBID_TAGS")?D({},c.FORBID_TAGS,X):{},ht=Ct(c,"FORBID_ATTR")?D({},c.FORBID_ATTR,X):{},ie=Ct(c,"USE_PROFILES")?c.USE_PROFILES:!1,be=c.ALLOW_ARIA_ATTR!==!1,Wt=c.ALLOW_DATA_ATTR!==!1,Wr=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Gr=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,re=c.SAFE_FOR_TEMPLATES||!1,An=c.SAFE_FOR_XML!==!1,Gt=c.WHOLE_DOCUMENT||!1,oe=c.RETURN_DOM||!1,Ge=c.RETURN_DOM_FRAGMENT||!1,Ve=c.RETURN_TRUSTED_TYPE||!1,Nn=c.FORCE_BODY||!1,Vr=c.SANITIZE_DOM!==!1,qr=c.SANITIZE_NAMED_PROPS||!1,Dn=c.KEEP_CONTENT!==!1,we=c.IN_PLACE||!1,I=c.ALLOWED_URI_REGEXP||ya,se=c.NAMESPACE||Et,Ke=c.MATHML_TEXT_INTEGRATION_POINTS||Ke,Xe=c.HTML_INTEGRATION_POINTS||Xe,P=c.CUSTOM_ELEMENT_HANDLING||{},c.CUSTOM_ELEMENT_HANDLING&&Zr(c.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(P.tagNameCheck=c.CUSTOM_ELEMENT_HANDLING.tagNameCheck),c.CUSTOM_ELEMENT_HANDLING&&Zr(c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(P.attributeNameCheck=c.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(P.allowCustomizedBuiltInElements=c.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),re&&(Wt=!1),Ge&&(oe=!0),ie&&(w=D({},fi),A=[],ie.html===!0&&(D(w,li),D(A,pi)),ie.svg===!0&&(D(w,qn),D(A,Xn),D(A,cn)),ie.svgFilters===!0&&(D(w,Yn),D(A,Xn),D(A,cn)),ie.mathMl===!0&&(D(w,Kn),D(A,di),D(A,cn))),c.ADD_TAGS&&(w===F&&(w=Yt(w)),D(w,c.ADD_TAGS,X)),c.ADD_ATTR&&(A===nt&&(A=Yt(A)),D(A,c.ADD_ATTR,X)),c.ADD_URI_SAFE_ATTR&&D(In,c.ADD_URI_SAFE_ATTR,X),c.FORBID_CONTENTS&&(ae===Yr&&(ae=Yt(ae)),D(ae,c.FORBID_CONTENTS,X)),Dn&&(w["#text"]=!0),Gt&&D(w,["html","head","body"]),w.table&&(D(w,["tbody"]),delete pt.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ee('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ee('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');L=c.TRUSTED_TYPES_POLICY,Z=L.createHTML("")}else L===void 0&&(L=Ol(T,o)),L!==null&&typeof Z=="string"&&(Z=L.createHTML(""));st&&st(c),ce=c}},Jr=D({},[...qn,...Yn,...dl]),to=D({},[...Kn,...vl]),$a=function(c){let g=U(c);(!g||!g.tagName)&&(g={namespaceURI:se,tagName:"template"});const h=mn(c.tagName),M=mn(g.tagName);return Ln[c.namespaceURI]?c.namespaceURI===Ye?g.namespaceURI===Et?h==="svg":g.namespaceURI===qe?h==="svg"&&(M==="annotation-xml"||Ke[M]):!!Jr[h]:c.namespaceURI===qe?g.namespaceURI===Et?h==="math":g.namespaceURI===Ye?h==="math"&&Xe[M]:!!to[h]:c.namespaceURI===Et?g.namespaceURI===Ye&&!Xe[M]||g.namespaceURI===qe&&!Ke[M]?!1:!to[h]&&(Sa[h]||!Jr[h]):!!(Ce==="application/xhtml+xml"&&Ln[c.namespaceURI]):!1},Vt=function(c){Se(e.removed,{element:c});try{U(c).removeChild(c)}catch{R(c)}},Qe=function(c,g){try{Se(e.removed,{attribute:g.getAttributeNode(c),from:g})}catch{Se(e.removed,{attribute:null,from:g})}if(g.removeAttribute(c),c==="is")if(oe||Ge)try{Vt(g)}catch{}else try{g.setAttribute(c,"")}catch{}},eo=function(c){let g=null,h=null;if(Nn)c=""+c;else{const q=ui(c,/^[\r\n\t ]+/);h=q&&q[0]}Ce==="application/xhtml+xml"&&se===Et&&(c=''+c+"");const M=L?L.createHTML(c):c;if(se===Et)try{g=new b().parseFromString(M,Ce)}catch{}if(!g||!g.documentElement){g=wt.createDocument(se,"template",null);try{g.documentElement.innerHTML=Rn?Z:M}catch{}}const Q=g.body||g.documentElement;return c&&h&&Q.insertBefore(n.createTextNode(h),Q.childNodes[0]||null),se===Et?Bt.call(g,Gt?"html":"body")[0]:Gt?g.documentElement:Q},no=function(c){return vt.call(c.ownerDocument||c,c,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Pn=function(c){return c instanceof _&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof v)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},ro=function(c){return typeof s=="function"&&c instanceof s};function At(c,g,h){sn(c,M=>{M.call(e,g,h,ce)})}const oo=function(c){let g=null;if(At(V.beforeSanitizeElements,c,null),Pn(c))return Vt(c),!0;const h=X(c.nodeName);if(At(V.uponSanitizeElement,c,{tagName:h,allowedTags:w}),c.hasChildNodes()&&!ro(c.firstElementChild)&&ot(/<[/\w]/g,c.innerHTML)&&ot(/<[/\w]/g,c.textContent)||c.nodeType===$e.progressingInstruction||An&&c.nodeType===$e.comment&&ot(/<[/\w]/g,c.data))return Vt(c),!0;if(!w[h]||pt[h]){if(!pt[h]&&ao(h)&&(P.tagNameCheck instanceof RegExp&&ot(P.tagNameCheck,h)||P.tagNameCheck instanceof Function&&P.tagNameCheck(h)))return!1;if(Dn&&!ae[h]){const M=U(c)||c.parentNode,Q=E(c)||c.childNodes;if(Q&&M){const q=Q.length;for(let $t=q-1;$t>=0;--$t){const gt=H(Q[$t],!0);gt.__removalCount=(c.__removalCount||0)+1,M.insertBefore(gt,G(c))}}}return Vt(c),!0}return c instanceof u&&!$a(c)||(h==="noscript"||h==="noembed"||h==="noframes")&&ot(/<\/no(script|embed|frames)/i,c.innerHTML)?(Vt(c),!0):(re&&c.nodeType===$e.text&&(g=c.textContent,sn([l,f,m],M=>{g=ke(g,M," ")}),c.textContent!==g&&(Se(e.removed,{element:c.cloneNode()}),c.textContent=g)),At(V.afterSanitizeElements,c,null),!1)},io=function(c,g,h){if(Vr&&(g==="id"||g==="name")&&(h in n||h in Aa))return!1;if(!(Wt&&!ht[g]&&ot(y,g))&&!(be&&ot(C,g))){if(!A[g]||ht[g]){if(!(ao(c)&&(P.tagNameCheck instanceof RegExp&&ot(P.tagNameCheck,c)||P.tagNameCheck instanceof Function&&P.tagNameCheck(c))&&(P.attributeNameCheck instanceof RegExp&&ot(P.attributeNameCheck,g)||P.attributeNameCheck instanceof Function&&P.attributeNameCheck(g))||g==="is"&&P.allowCustomizedBuiltInElements&&(P.tagNameCheck instanceof RegExp&&ot(P.tagNameCheck,h)||P.tagNameCheck instanceof Function&&P.tagNameCheck(h))))return!1}else if(!In[g]&&!ot(I,ke(h,x,""))&&!((g==="src"||g==="xlink:href"||g==="href")&&c!=="script"&&ul(h,"data:")===0&&Kr[c])&&!(Wr&&!ot(k,ke(h,x,"")))&&h)return!1}return!0},ao=function(c){return c!=="annotation-xml"&&ui(c,S)},so=function(c){At(V.beforeSanitizeAttributes,c,null);const{attributes:g}=c;if(!g||Pn(c))return;const h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let M=g.length;for(;M--;){const Q=g[M],{name:q,namespaceURI:$t,value:gt}=Q,xt=X(q);let rt=q==="value"?gt:ll(gt);if(h.attrName=xt,h.attrValue=rt,h.keepAttr=!0,h.forceKeepAttr=void 0,At(V.uponSanitizeAttribute,c,h),rt=h.attrValue,qr&&(xt==="id"||xt==="name")&&(Qe(q,c),rt=Oa+rt),An&&ot(/((--!?|])>)|<\/(style|title)/i,rt)){Qe(q,c);continue}if(h.forceKeepAttr||(Qe(q,c),!h.keepAttr))continue;if(!Gr&&ot(/\/>/i,rt)){Qe(q,c);continue}re&&sn([l,f,m],Da=>{rt=ke(rt,Da," ")});const co=X(c.nodeName);if(io(co,xt,rt)){if(L&&typeof T=="object"&&typeof T.getAttributeType=="function"&&!$t)switch(T.getAttributeType(co,xt)){case"TrustedHTML":{rt=L.createHTML(rt);break}case"TrustedScriptURL":{rt=L.createScriptURL(rt);break}}try{$t?c.setAttributeNS($t,q,rt):c.setAttribute(q,rt),Pn(c)?Vt(c):ci(e.removed)}catch{}}}At(V.afterSanitizeAttributes,c,null)},Na=function c(g){let h=null;const M=no(g);for(At(V.beforeSanitizeShadowDOM,g,null);h=M.nextNode();)At(V.uponSanitizeShadowNode,h,null),oo(h),so(h),h.content instanceof i&&c(h.content);At(V.afterSanitizeShadowDOM,g,null)};return e.sanitize=function(c){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=null,M=null,Q=null,q=null;if(Rn=!c,Rn&&(c=""),typeof c!="string"&&!ro(c))if(typeof c.toString=="function"){if(c=c.toString(),typeof c!="string")throw Ee("dirty is not a string, aborting")}else throw Ee("toString is not a function");if(!e.isSupported)return c;if($n||Mn(g),e.removed=[],typeof c=="string"&&(we=!1),we){if(c.nodeName){const xt=X(c.nodeName);if(!w[xt]||pt[xt])throw Ee("root node is forbidden and cannot be sanitized in-place")}}else if(c instanceof s)h=eo(""),M=h.ownerDocument.importNode(c,!0),M.nodeType===$e.element&&M.nodeName==="BODY"||M.nodeName==="HTML"?h=M:h.appendChild(M);else{if(!oe&&!re&&!Gt&&c.indexOf("<")===-1)return L&&Ve?L.createHTML(c):c;if(h=eo(c),!h)return oe?null:Ve?Z:""}h&&Nn&&Vt(h.firstChild);const $t=no(we?c:h);for(;Q=$t.nextNode();)oo(Q),so(Q),Q.content instanceof i&&Na(Q.content);if(we)return c;if(oe){if(Ge)for(q=mt.call(h.ownerDocument);h.firstChild;)q.appendChild(h.firstChild);else q=h;return(A.shadowroot||A.shadowrootmode)&&(q=ne.call(r,q,!0)),q}let gt=Gt?h.outerHTML:h.innerHTML;return Gt&&w["!doctype"]&&h.ownerDocument&&h.ownerDocument.doctype&&h.ownerDocument.doctype.name&&ot(ba,h.ownerDocument.doctype.name)&&(gt=" `+gt),re&&sn([l,f,m],xt=>{gt=ke(gt,xt," ")}),L&&Ve?L.createHTML(gt):gt},e.setConfig=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Mn(c),$n=!0},e.clearConfig=function(){ce=null,$n=!1},e.isValidAttribute=function(c,g,h){ce||Mn({});const M=X(c),Q=X(g);return io(M,Q,h)},e.addHook=function(c,g){typeof g=="function"&&Se(V[c],g)},e.removeHook=function(c,g){if(g!==void 0){const h=sl(V[c],g);return h===-1?void 0:cl(V[c],h,1)[0]}return ci(V[c])},e.removeHooks=function(c){V[c]=[]},e.removeAllHooks=function(){V=mi()},e}var xl=wa(),Sl=/["'&<>]/,kl=El;function El(t){var e=""+t,n=Sl.exec(e);if(!n)return e;var r,o="",i=0,a=0;for(i=n.index;ie)}}function Qn(t,e,n,r,o){const i=typeof n=="object"?n:void 0,a=typeof r=="number"?r:typeof n=="number"?n:void 0,s={escape:!0,sanitize:!0,...typeof o=="object"?o:typeof r=="object"?r:{}},u=N=>N,d=s.sanitize?xl.sanitize:u,v=s.escape?hi:u,_=N=>typeof N=="string"||typeof N=="number",b=(N,H,R)=>N.replace(/%n/g,""+R).replace(/{([^{}]*)}/g,(G,E)=>{if(H===void 0||!(E in H))return v(G);const U=H[E];return _(U)?v(`${U}`):typeof U=="object"&&_(U.value)?(U.escape!==!1?hi:u)(`${U.value}`):v(G)});let T=(o?.bundle??Ta(t)).translations[e]||e;return T=Array.isArray(T)?T[0]:T,d(typeof i=="object"||a!==void 0?b(T,i,a):T)}function Yl(t,e,n,r,o,i){const a="_"+e+"_::_"+n+"_",s=i?.bundle??Ta(t),u=s.translations[a];if(typeof u<"u"){const d=u;if(Array.isArray(d)){const v=s.pluralFunction(r);return Qn(t,d[v],o,r,i)}}return r===1?Qn(t,e,o,r,i):Qn(t,n,o,r,i)}function Kl(t,e=Ca()){switch(e==="pt-BR"&&(e="xbr"),e.length>3&&(e=e.substring(0,e.lastIndexOf("-"))),e){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}export{Kl as A,Ul as B,Y as V,tt as a,us as b,Pl as c,Gl as d,zl as e,Il as f,Nl as g,Fl as h,ql as i,Yl as j,uo as k,Bl as l,rs as m,Er as n,Hl as o,xl as p,Ml as q,Dl as r,$i as s,Qn as t,Rl as u,Ll as v,jl as w,Vl as x,Ca as y,Wl as z}; //# sourceMappingURL=translation-CD_FiYBO-CsihNwbo.chunk.mjs.map