bootstrap-vue-wrapper 2.0.0 → 2.0.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
@@ -1,23 +1,21 @@
1
1
  # Changelog
2
2
 
3
3
  ## [2.0.0] - 2024-02-01
4
-
5
- Version 2.0 Changelog
6
- Major Changes:
4
+ **Major Changes**
7
5
  - Codebase Rewrite: The entire codebase has been rewritten in TypeScript, providing stronger type guarantees, improved maintainability, and enhanced developer experience.
8
6
  - `BsTable` template `item` property renamed to `value`
9
7
  - `hideValidationMessage` property has been removed. Instead, use the `validatorEnabled` property to disable validation.
10
8
 
11
- New Features:
9
+ **New Features:**
12
10
  - Development Support Enhancements: Introduced a dedicated examples directory within the development (dev) folder, offering a comprehensive suite of examples to assist developers in understanding and utilizing the library's capabilities more effectively.
13
11
 
14
- Improvements:
12
+ **Improvements:**
15
13
  - Validator Component Overhaul: Rethought and redesigned the validator component. It is no longer implemented as a mixin. Instead, it is now a standalone component utilizing the Composition API, aligning with modern Vue.js best practices and improving its reusability and composability in applications.
16
14
 
17
- Fixes:
15
+ **Fixes:**
18
16
  - Bug Fixes: Addressed various bugs and issues identified in the previous versions, enhancing the stability and reliability of the library.
19
17
 
20
- Migrate from 1.x to 2.x:
18
+ **Migrate from 1.x to 2.x:**
21
19
 
22
20
  If you want to display the validation message elsewhere, not directly below the input, this could previously be achieved as follows:
23
21
  ```
package/README.md CHANGED
@@ -14,3 +14,19 @@
14
14
  ```bash
15
15
  npm install bootstrap-vue-wrapper
16
16
  ```
17
+
18
+ or
19
+
20
+ ```bash
21
+ yarn add bootstrap-vue-wrapper
22
+ ```
23
+
24
+ ## Dev:
25
+ ``` bash
26
+ yarn install
27
+ yarn dev
28
+ ```
29
+
30
+ ## Examples
31
+
32
+ There are examples of each component in [this file](https://github.com/zemkogabor/bootstrap-vue-wrapper/blob/main/dev/pages/Home.vue).
@@ -7399,5 +7399,6 @@ export {
7399
7399
  Ym as BsSelect,
7400
7400
  Wm as BsTable,
7401
7401
  Um as BsTextarea,
7402
- xm as BsToast
7402
+ xm as BsToast,
7403
+ En as useValidator
7403
7404
  };
@@ -13,13 +13,13 @@
13
13
  * core-base v9.9.0
14
14
  * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function Ra(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ge().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ge().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ge().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const nt=[];nt[0]={w:[0],i:[3,0],"[":[4],o:[7]},nt[1]={w:[1],".":[2],"[":[4],o:[7]},nt[2]={w:[2],i:[3,0],0:[3,0]},nt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},nt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},nt[5]={"'":[4,0],o:8,l:[5,0]},nt[6]={'"':[4,0],o:8,l:[6,0]};const Ma=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Va(t){return Ma.test(t)}function Fa(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function Ba(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ua(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Va(e)?Fa(e):"*"+e}function Ha(t){const e=[];let n=-1,r=0,s=0,i,o,a,c,_,f,v;const E=[];E[0]=()=>{o===void 0?o=a:o+=a},E[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},E[2]=()=>{E[0](),s++},E[3]=()=>{if(s>0)s--,r=4,E[0]();else{if(s=0,o===void 0||(o=Ua(o),o===!1))return!1;E[1]()}};function N(){const k=t[n+1];if(r===5&&k==="'"||r===6&&k==='"')return n++,a="\\"+k,E[0](),!0}for(;r!==null;)if(n++,i=t[n],!(i==="\\"&&N())){if(c=Ba(i),v=nt[r],_=v[c]||v.l||8,_===8||(r=_[0],_[1]!==void 0&&(f=E[_[1]],f&&(a=i,f()===!1))))return;if(r===7)return e}}const us=new Map;function Wa(t,e){return W(t)?t[e]:null}function xa(t,e){if(!W(t))return null;let n=us.get(e);if(n||(n=Ha(e),n&&us.set(e,n)),!n)return null;const r=n.length;let s=t,i=0;for(;i<r;){const o=s[n[i]];if(o===void 0||G(s))return null;s=o,i++}return s}const Ya=t=>t,Ka=t=>"",ja="text",Ga=t=>t.length===0?"":ea(t),Xa=Zo;function ds(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function qa(t){const e=re(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(re(t.named.count)||re(t.named.n))?re(t.named.count)?t.named.count:re(t.named.n)?t.named.n:e:e}function za(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Qa(t={}){const e=t.locale,n=qa(t),r=W(t.pluralRules)&&P(e)&&G(t.pluralRules[e])?t.pluralRules[e]:ds,s=W(t.pluralRules)&&P(e)&&G(t.pluralRules[e])?ds:void 0,i=m=>m[r(n,m.length,s)],o=t.list||[],a=m=>o[m],c=t.named||{};re(t.pluralIndex)&&za(n,c);const _=m=>c[m];function f(m){const p=G(t.messages)?t.messages(m):W(t.messages)?t.messages[m]:!1;return p||(t.parent?t.parent.message(m):Ka)}const v=m=>t.modifiers?t.modifiers[m]:Ya,E=B(t.processor)&&G(t.processor.normalize)?t.processor.normalize:Ga,N=B(t.processor)&&G(t.processor.interpolate)?t.processor.interpolate:Xa,k=B(t.processor)&&P(t.processor.type)?t.processor.type:ja,I={list:a,named:_,plural:i,linked:(m,...p)=>{const[T,h]=p;let C="text",y="";p.length===1?W(T)?(y=T.modifier||y,C=T.type||C):P(T)&&(y=T||y):p.length===2&&(P(T)&&(y=T||y),P(h)&&(C=h||C));const D=f(m)(I),O=C==="vnode"&&J(D)&&y?D[0]:D;return y?v(y)(O,C):O},message:f,type:k,interpolate:N,normalize:E,values:se({},o,c)};return I}let zt=null;function Ja(t){zt=t}function Za(t,e,n){zt&&zt.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const el=tl("function:translate");function tl(t){return e=>zt&&zt.emit(t,e)}const oe={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},nl={[oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function _t(t,...e){return Kn(nl[t],...e)}const fs=R.__EXTEND_POINT__,mt=jn(fs),ee={INVALID_ARGUMENT:fs,INVALID_DATE_ARGUMENT:mt(),INVALID_ISO_DATE_ARGUMENT:mt(),NOT_SUPPORT_NON_STRING_MESSAGE:mt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:mt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:mt(),NOT_SUPPORT_LOCALE_TYPE:mt(),__EXTEND_POINT__:mt()};function Me(t){return Lt(t,null,process.env.NODE_ENV!=="production"?{messages:rl}:void 0)}const rl={[ee.INVALID_ARGUMENT]:"Invalid arguments",[ee.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ee.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ee.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ee.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function qn(t,e){return e.locale!=null?_s(e.locale):_s(t.locale)}let zn;function _s(t){if(P(t))return t;if(G(t)){if(t.resolvedOnce&&zn!=null)return zn;if(t.constructor.name==="Function"){const e=t();if(Jo(e))throw Me(ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zn=e}else throw Me(ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Me(ee.NOT_SUPPORT_LOCALE_TYPE)}function sl(t,e,n){return[...new Set([n,...J(e)?e:W(e)?Object.keys(e):P(e)?[e]:[n]])]}function ms(t,e,n){const r=P(n)?n:Qt,s=t;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;J(o);)o=hs(i,o,e);const a=J(e)||!B(e)?e:e.default?e.default:null;o=P(a)?[a]:a,J(o)&&hs(i,o,!1),s.__localeChainCache.set(r,i)}return i}function hs(t,e,n){let r=!0;for(let s=0;s<e.length&&j(r);s++){const i=e[s];P(i)&&(r=il(t,e[s],n))}return r}function il(t,e,n){let r;const s=e.split("-");do{const i=s.join("-");r=ol(t,i,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function ol(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const s=e.replace(/!/g,"");t.push(s),(J(n)||B(n))&&n[s]&&(r=n[s])}return r}const al="9.9.0",En=-1,Qt="en-US",gn="",ps=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function ll(){return{upper:(t,e)=>e==="text"&&P(t)?t.toUpperCase():e==="vnode"&&W(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&P(t)?t.toLowerCase():e==="vnode"&&W(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&P(t)?ps(t):e==="vnode"&&W(t)&&"__v_isVNode"in t?ps(t.children):t}}let Es;function gs(t){Es=t}let bs;function cl(t){bs=t}let vs;function ul(t){vs=t}let Ts=null;const dl=t=>{Ts=t},fl=()=>Ts;let Ns=null;const As=t=>{Ns=t},_l=()=>Ns;let ys=0;function ml(t={}){const e=G(t.onWarn)?t.onWarn:et,n=P(t.version)?t.version:al,r=P(t.locale)||G(t.locale)?t.locale:Qt,s=G(r)?Qt:r,i=J(t.fallbackLocale)||B(t.fallbackLocale)||P(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s,o=B(t.messages)?t.messages:{[s]:{}},a=B(t.datetimeFormats)?t.datetimeFormats:{[s]:{}},c=B(t.numberFormats)?t.numberFormats:{[s]:{}},_=se({},t.modifiers||{},ll()),f=t.pluralRules||{},v=G(t.missing)?t.missing:null,E=j(t.missingWarn)||Ct(t.missingWarn)?t.missingWarn:!0,N=j(t.fallbackWarn)||Ct(t.fallbackWarn)?t.fallbackWarn:!0,k=!!t.fallbackFormat,L=!!t.unresolving,I=G(t.postTranslation)?t.postTranslation:null,m=B(t.processor)?t.processor:null,p=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter,h=G(t.messageCompiler)?t.messageCompiler:Es;process.env.NODE_ENV!=="production"&&G(t.messageCompiler)&&na(_t(oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const C=G(t.messageResolver)?t.messageResolver:bs||Wa,y=G(t.localeFallbacker)?t.localeFallbacker:vs||sl,D=W(t.fallbackContext)?t.fallbackContext:void 0,O=t,M=W(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,F=W(O.__numberFormatters)?O.__numberFormatters:new Map,Y=W(O.__meta)?O.__meta:{};ys++;const x={version:n,cid:ys,locale:r,fallbackLocale:i,messages:o,modifiers:_,pluralRules:f,missing:v,missingWarn:E,fallbackWarn:N,fallbackFormat:k,unresolving:L,postTranslation:I,processor:m,warnHtmlMessage:p,escapeParameter:T,messageCompiler:h,messageResolver:C,localeFallbacker:y,fallbackContext:D,onWarn:e,__meta:Y};return x.datetimeFormats=a,x.numberFormats=c,x.__datetimeFormatters=M,x.__numberFormatters=F,process.env.NODE_ENV!=="production"&&(x.__v_emitter=O.__v_emitter!=null?O.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Za(x,n,Y),x}function bn(t,e){return t instanceof RegExp?t.test(e):t}function Os(t,e){return t instanceof RegExp?t.test(e):t}function Qn(t,e,n,r,s){const{missing:i,onWarn:o}=t;if(process.env.NODE_ENV!=="production"){const a=t.__v_emitter;a&&a.emit("missing",{locale:n,key:e,type:s,groupId:`${s}:${e}`})}if(i!==null){const a=i(t,n,e,s);return P(a)?a:e}else return process.env.NODE_ENV!=="production"&&Os(r,e)&&o(_t(oe.NOT_FOUND_KEY,{key:e,locale:n})),e}function Jt(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Jn(t){return n=>hl(n,t)}function hl(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return t.plural(s.reduce((i,o)=>[...i,Cs(t,o)],[]))}else return Cs(t,n)}function Cs(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const r=(e.i||e.items).reduce((s,i)=>[...s,Zn(t,i)],[]);return t.normalize(r)}}function Zn(t,e){const n=e.t||e.type;switch(n){case 3:const r=e;return r.v||r.value;case 9:const s=e;return s.v||s.value;case 4:const i=e;return t.interpolate(t.named(i.k||i.key));case 5:const o=e;return t.interpolate(t.list(o.i!=null?o.i:o.index));case 6:const a=e,c=a.m||a.modifier;return t.linked(Zn(t,a.k||a.key),c?Zn(t,c):void 0,t.type);case 7:const _=e;return _.v||_.value;case 8:const f=e;return f.v||f.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const pl="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ls(t,e){e&&da(t)&&et(Kn(pl,{source:t}))}const Is=t=>t;let Dt=Object.create(null);const ht=t=>W(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Ss(t,e={}){let n=!1;const r=e.onError||ca;return e.onError=s=>{n=!0,r(s)},{...$a(t,e),detectError:n}}const El=(t,e)=>{if(!P(t))throw Me(ee.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ls(t,n);const s=(e.onCacheKey||Is)(t),i=Dt[s];if(i)return i;const{code:o,detectError:a}=Ss(t,e),c=new Function(`return ${o}`)();return a?c:Dt[s]=c}};function gl(t,e){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&P(t)){const n=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ls(t,n);const s=(e.onCacheKey||Is)(t),i=Dt[s];if(i)return i;const{ast:o,detectError:a}=Ss(t,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),c=Jn(o);return a?c:Dt[s]=c}else{if(process.env.NODE_ENV!=="production"&&!ht(t))return et(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const r=Dt[n];return r||(Dt[n]=Jn(t))}else return Jn(t)}}const Ds=()=>"",Ae=t=>G(t);function ks(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:a}=t,[c,_]=er(...e),f=j(_.missingWarn)?_.missingWarn:t.missingWarn,v=j(_.fallbackWarn)?_.fallbackWarn:t.fallbackWarn,E=j(_.escapeParameter)?_.escapeParameter:t.escapeParameter,N=!!_.resolvedMessage,k=P(_.default)||j(_.default)?j(_.default)?i?c:()=>c:_.default:n?i?c:()=>c:"",L=n||k!=="",I=qn(t,_);E&&bl(_);let[m,p,T]=N?[c,I,a[I]||{}]:ws(t,c,I,o,v,f),h=m,C=c;if(!N&&!(P(h)||ht(h)||Ae(h))&&L&&(h=k,C=h),!N&&(!(P(h)||ht(h)||Ae(h))||!P(p)))return s?En:c;if(process.env.NODE_ENV!=="production"&&P(h)&&t.messageCompiler==null)return et(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let y=!1;const D=()=>{y=!0},O=Ae(h)?h:Ps(t,c,p,h,C,D);if(y)return h;const M=Al(t,p,T,_),F=Qa(M),Y=vl(t,O,F),x=r?r(Y,c):Y;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(c)?c:Ae(h)?h.key:"",locale:p||(Ae(h)?h.locale:""),format:P(h)?h:Ae(h)?h.source:"",message:x};K.meta=se({},t.__meta,fl()||{}),el(K)}return x}function bl(t){J(t.list)?t.list=t.list.map(e=>P(e)?Zr(e):e):W(t.named)&&Object.keys(t.named).forEach(e=>{P(t.named[e])&&(t.named[e]=Zr(t.named[e]))})}function ws(t,e,n,r,s,i){const{messages:o,onWarn:a,messageResolver:c,localeFallbacker:_}=t,f=_(t,r,n);let v={},E,N=null,k=n,L=null;const I="translate";for(let m=0;m<f.length;m++){if(E=L=f[m],process.env.NODE_ENV!=="production"&&n!==E&&bn(s,e)&&a(_t(oe.FALLBACK_TO_TRANSLATE,{key:e,target:E})),process.env.NODE_ENV!=="production"&&n!==E){const y=t.__v_emitter;y&&y.emit("fallback",{type:I,key:e,from:k,to:L,groupId:`${I}:${e}`})}v=o[E]||{};let p=null,T,h;if(process.env.NODE_ENV!=="production"&&Ke&&(p=window.performance.now(),T="intlify-message-resolve-start",h="intlify-message-resolve-end",pe&&pe(T)),(N=c(v,e))===null&&(N=v[e]),process.env.NODE_ENV!=="production"&&Ke){const y=window.performance.now(),D=t.__v_emitter;D&&p&&N&&D.emit("message-resolve",{type:"message-resolve",key:e,message:N,time:y-p,groupId:`${I}:${e}`}),T&&h&&pe&&ft&&(pe(h),ft("intlify message resolve",T,h))}if(P(N)||ht(N)||Ae(N))break;const C=Qn(t,e,E,i,I);C!==e&&(N=C),k=L}return[N,E,v]}function Ps(t,e,n,r,s,i){const{messageCompiler:o,warnHtmlMessage:a}=t;if(Ae(r)){const E=r;return E.locale=E.locale||n,E.key=E.key||e,E}if(o==null){const E=()=>r;return E.locale=n,E.key=e,E}let c=null,_,f;process.env.NODE_ENV!=="production"&&Ke&&(c=window.performance.now(),_="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(_));const v=o(r,Tl(t,n,s,r,a,i));if(process.env.NODE_ENV!=="production"&&Ke){const E=window.performance.now(),N=t.__v_emitter;N&&c&&N.emit("message-compilation",{type:"message-compilation",message:r,time:E-c,groupId:`translate:${e}`}),_&&f&&pe&&ft&&(pe(f),ft("intlify message compilation",_,f))}return v.locale=n,v.key=e,v.source=r,v}function vl(t,e,n){let r=null,s,i;process.env.NODE_ENV!=="production"&&Ke&&(r=window.performance.now(),s="intlify-message-evaluation-start",i="intlify-message-evaluation-end",pe&&pe(s));const o=e(n);if(process.env.NODE_ENV!=="production"&&Ke){const a=window.performance.now(),c=t.__v_emitter;c&&r&&c.emit("message-evaluation",{type:"message-evaluation",value:o,time:a-r,groupId:`translate:${e.key}`}),s&&i&&pe&&ft&&(pe(i),ft("intlify message evaluation",s,i))}return o}function er(...t){const[e,n,r]=t,s={};if(!P(e)&&!re(e)&&!Ae(e)&&!ht(e))throw Me(ee.INVALID_ARGUMENT);const i=re(e)?String(e):(Ae(e),e);return re(n)?s.plural=n:P(n)?s.default=n:B(n)&&!_n(n)?s.named=n:J(n)&&(s.list=n),re(r)?s.plural=r:P(r)?s.default=r:B(r)&&se(s,r),[i,s]}function Tl(t,e,n,r,s,i){return{locale:e,key:n,warnHtmlMessage:s,onError:o=>{if(i&&i(o),process.env.NODE_ENV!=="production"){const a=Nl(r),c=`Message compilation error: ${o.message}`,_=o.location&&a&&ta(a,o.location.start.offset,o.location.end.offset),f=t.__v_emitter;f&&a&&f.emit("compile-error",{message:a,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${n}`}),console.error(_?`${c}
16
+ */function Ra(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ge().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ge().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ge().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const nt=[];nt[0]={w:[0],i:[3,0],"[":[4],o:[7]},nt[1]={w:[1],".":[2],"[":[4],o:[7]},nt[2]={w:[2],i:[3,0],0:[3,0]},nt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},nt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},nt[5]={"'":[4,0],o:8,l:[5,0]},nt[6]={'"':[4,0],o:8,l:[6,0]};const Ma=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Va(t){return Ma.test(t)}function Fa(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function Ba(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ua(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Va(e)?Fa(e):"*"+e}function Ha(t){const e=[];let n=-1,r=0,s=0,i,o,a,c,_,f,v;const E=[];E[0]=()=>{o===void 0?o=a:o+=a},E[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},E[2]=()=>{E[0](),s++},E[3]=()=>{if(s>0)s--,r=4,E[0]();else{if(s=0,o===void 0||(o=Ua(o),o===!1))return!1;E[1]()}};function N(){const k=t[n+1];if(r===5&&k==="'"||r===6&&k==='"')return n++,a="\\"+k,E[0](),!0}for(;r!==null;)if(n++,i=t[n],!(i==="\\"&&N())){if(c=Ba(i),v=nt[r],_=v[c]||v.l||8,_===8||(r=_[0],_[1]!==void 0&&(f=E[_[1]],f&&(a=i,f()===!1))))return;if(r===7)return e}}const us=new Map;function Wa(t,e){return W(t)?t[e]:null}function xa(t,e){if(!W(t))return null;let n=us.get(e);if(n||(n=Ha(e),n&&us.set(e,n)),!n)return null;const r=n.length;let s=t,i=0;for(;i<r;){const o=s[n[i]];if(o===void 0||G(s))return null;s=o,i++}return s}const Ya=t=>t,Ka=t=>"",ja="text",Ga=t=>t.length===0?"":ea(t),Xa=Zo;function ds(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function qa(t){const e=re(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(re(t.named.count)||re(t.named.n))?re(t.named.count)?t.named.count:re(t.named.n)?t.named.n:e:e}function za(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Qa(t={}){const e=t.locale,n=qa(t),r=W(t.pluralRules)&&P(e)&&G(t.pluralRules[e])?t.pluralRules[e]:ds,s=W(t.pluralRules)&&P(e)&&G(t.pluralRules[e])?ds:void 0,i=m=>m[r(n,m.length,s)],o=t.list||[],a=m=>o[m],c=t.named||{};re(t.pluralIndex)&&za(n,c);const _=m=>c[m];function f(m){const p=G(t.messages)?t.messages(m):W(t.messages)?t.messages[m]:!1;return p||(t.parent?t.parent.message(m):Ka)}const v=m=>t.modifiers?t.modifiers[m]:Ya,E=B(t.processor)&&G(t.processor.normalize)?t.processor.normalize:Ga,N=B(t.processor)&&G(t.processor.interpolate)?t.processor.interpolate:Xa,k=B(t.processor)&&P(t.processor.type)?t.processor.type:ja,I={list:a,named:_,plural:i,linked:(m,...p)=>{const[T,h]=p;let C="text",y="";p.length===1?W(T)?(y=T.modifier||y,C=T.type||C):P(T)&&(y=T||y):p.length===2&&(P(T)&&(y=T||y),P(h)&&(C=h||C));const D=f(m)(I),O=C==="vnode"&&J(D)&&y?D[0]:D;return y?v(y)(O,C):O},message:f,type:k,interpolate:N,normalize:E,values:se({},o,c)};return I}let Qt=null;function Ja(t){Qt=t}function Za(t,e,n){Qt&&Qt.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const el=tl("function:translate");function tl(t){return e=>Qt&&Qt.emit(t,e)}const oe={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},nl={[oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function _t(t,...e){return Kn(nl[t],...e)}const fs=R.__EXTEND_POINT__,mt=jn(fs),ee={INVALID_ARGUMENT:fs,INVALID_DATE_ARGUMENT:mt(),INVALID_ISO_DATE_ARGUMENT:mt(),NOT_SUPPORT_NON_STRING_MESSAGE:mt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:mt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:mt(),NOT_SUPPORT_LOCALE_TYPE:mt(),__EXTEND_POINT__:mt()};function Me(t){return Lt(t,null,process.env.NODE_ENV!=="production"?{messages:rl}:void 0)}const rl={[ee.INVALID_ARGUMENT]:"Invalid arguments",[ee.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ee.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ee.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ee.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function qn(t,e){return e.locale!=null?_s(e.locale):_s(t.locale)}let zn;function _s(t){if(P(t))return t;if(G(t)){if(t.resolvedOnce&&zn!=null)return zn;if(t.constructor.name==="Function"){const e=t();if(Jo(e))throw Me(ee.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zn=e}else throw Me(ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Me(ee.NOT_SUPPORT_LOCALE_TYPE)}function sl(t,e,n){return[...new Set([n,...J(e)?e:W(e)?Object.keys(e):P(e)?[e]:[n]])]}function ms(t,e,n){const r=P(n)?n:Jt,s=t;s.__localeChainCache||(s.__localeChainCache=new Map);let i=s.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;J(o);)o=hs(i,o,e);const a=J(e)||!B(e)?e:e.default?e.default:null;o=P(a)?[a]:a,J(o)&&hs(i,o,!1),s.__localeChainCache.set(r,i)}return i}function hs(t,e,n){let r=!0;for(let s=0;s<e.length&&j(r);s++){const i=e[s];P(i)&&(r=il(t,e[s],n))}return r}function il(t,e,n){let r;const s=e.split("-");do{const i=s.join("-");r=ol(t,i,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function ol(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const s=e.replace(/!/g,"");t.push(s),(J(n)||B(n))&&n[s]&&(r=n[s])}return r}const al="9.9.0",En=-1,Jt="en-US",gn="",ps=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function ll(){return{upper:(t,e)=>e==="text"&&P(t)?t.toUpperCase():e==="vnode"&&W(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&P(t)?t.toLowerCase():e==="vnode"&&W(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&P(t)?ps(t):e==="vnode"&&W(t)&&"__v_isVNode"in t?ps(t.children):t}}let Es;function gs(t){Es=t}let bs;function cl(t){bs=t}let vs;function ul(t){vs=t}let Ts=null;const dl=t=>{Ts=t},fl=()=>Ts;let Ns=null;const As=t=>{Ns=t},_l=()=>Ns;let ys=0;function ml(t={}){const e=G(t.onWarn)?t.onWarn:et,n=P(t.version)?t.version:al,r=P(t.locale)||G(t.locale)?t.locale:Jt,s=G(r)?Jt:r,i=J(t.fallbackLocale)||B(t.fallbackLocale)||P(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s,o=B(t.messages)?t.messages:{[s]:{}},a=B(t.datetimeFormats)?t.datetimeFormats:{[s]:{}},c=B(t.numberFormats)?t.numberFormats:{[s]:{}},_=se({},t.modifiers||{},ll()),f=t.pluralRules||{},v=G(t.missing)?t.missing:null,E=j(t.missingWarn)||Ct(t.missingWarn)?t.missingWarn:!0,N=j(t.fallbackWarn)||Ct(t.fallbackWarn)?t.fallbackWarn:!0,k=!!t.fallbackFormat,L=!!t.unresolving,I=G(t.postTranslation)?t.postTranslation:null,m=B(t.processor)?t.processor:null,p=j(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter,h=G(t.messageCompiler)?t.messageCompiler:Es;process.env.NODE_ENV!=="production"&&G(t.messageCompiler)&&na(_t(oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const C=G(t.messageResolver)?t.messageResolver:bs||Wa,y=G(t.localeFallbacker)?t.localeFallbacker:vs||sl,D=W(t.fallbackContext)?t.fallbackContext:void 0,O=t,M=W(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,F=W(O.__numberFormatters)?O.__numberFormatters:new Map,Y=W(O.__meta)?O.__meta:{};ys++;const x={version:n,cid:ys,locale:r,fallbackLocale:i,messages:o,modifiers:_,pluralRules:f,missing:v,missingWarn:E,fallbackWarn:N,fallbackFormat:k,unresolving:L,postTranslation:I,processor:m,warnHtmlMessage:p,escapeParameter:T,messageCompiler:h,messageResolver:C,localeFallbacker:y,fallbackContext:D,onWarn:e,__meta:Y};return x.datetimeFormats=a,x.numberFormats=c,x.__datetimeFormatters=M,x.__numberFormatters=F,process.env.NODE_ENV!=="production"&&(x.__v_emitter=O.__v_emitter!=null?O.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Za(x,n,Y),x}function bn(t,e){return t instanceof RegExp?t.test(e):t}function Os(t,e){return t instanceof RegExp?t.test(e):t}function Qn(t,e,n,r,s){const{missing:i,onWarn:o}=t;if(process.env.NODE_ENV!=="production"){const a=t.__v_emitter;a&&a.emit("missing",{locale:n,key:e,type:s,groupId:`${s}:${e}`})}if(i!==null){const a=i(t,n,e,s);return P(a)?a:e}else return process.env.NODE_ENV!=="production"&&Os(r,e)&&o(_t(oe.NOT_FOUND_KEY,{key:e,locale:n})),e}function Zt(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Jn(t){return n=>hl(n,t)}function hl(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return t.plural(s.reduce((i,o)=>[...i,Cs(t,o)],[]))}else return Cs(t,n)}function Cs(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const r=(e.i||e.items).reduce((s,i)=>[...s,Zn(t,i)],[]);return t.normalize(r)}}function Zn(t,e){const n=e.t||e.type;switch(n){case 3:const r=e;return r.v||r.value;case 9:const s=e;return s.v||s.value;case 4:const i=e;return t.interpolate(t.named(i.k||i.key));case 5:const o=e;return t.interpolate(t.list(o.i!=null?o.i:o.index));case 6:const a=e,c=a.m||a.modifier;return t.linked(Zn(t,a.k||a.key),c?Zn(t,c):void 0,t.type);case 7:const _=e;return _.v||_.value;case 8:const f=e;return f.v||f.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const pl="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ls(t,e){e&&da(t)&&et(Kn(pl,{source:t}))}const Is=t=>t;let Dt=Object.create(null);const ht=t=>W(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Ss(t,e={}){let n=!1;const r=e.onError||ca;return e.onError=s=>{n=!0,r(s)},{...$a(t,e),detectError:n}}const El=(t,e)=>{if(!P(t))throw Me(ee.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ls(t,n);const s=(e.onCacheKey||Is)(t),i=Dt[s];if(i)return i;const{code:o,detectError:a}=Ss(t,e),c=new Function(`return ${o}`)();return a?c:Dt[s]=c}};function gl(t,e){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&P(t)){const n=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ls(t,n);const s=(e.onCacheKey||Is)(t),i=Dt[s];if(i)return i;const{ast:o,detectError:a}=Ss(t,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),c=Jn(o);return a?c:Dt[s]=c}else{if(process.env.NODE_ENV!=="production"&&!ht(t))return et(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const r=Dt[n];return r||(Dt[n]=Jn(t))}else return Jn(t)}}const Ds=()=>"",Ae=t=>G(t);function ks(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:i,fallbackLocale:o,messages:a}=t,[c,_]=er(...e),f=j(_.missingWarn)?_.missingWarn:t.missingWarn,v=j(_.fallbackWarn)?_.fallbackWarn:t.fallbackWarn,E=j(_.escapeParameter)?_.escapeParameter:t.escapeParameter,N=!!_.resolvedMessage,k=P(_.default)||j(_.default)?j(_.default)?i?c:()=>c:_.default:n?i?c:()=>c:"",L=n||k!=="",I=qn(t,_);E&&bl(_);let[m,p,T]=N?[c,I,a[I]||{}]:ws(t,c,I,o,v,f),h=m,C=c;if(!N&&!(P(h)||ht(h)||Ae(h))&&L&&(h=k,C=h),!N&&(!(P(h)||ht(h)||Ae(h))||!P(p)))return s?En:c;if(process.env.NODE_ENV!=="production"&&P(h)&&t.messageCompiler==null)return et(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let y=!1;const D=()=>{y=!0},O=Ae(h)?h:Ps(t,c,p,h,C,D);if(y)return h;const M=Al(t,p,T,_),F=Qa(M),Y=vl(t,O,F),x=r?r(Y,c):Y;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(c)?c:Ae(h)?h.key:"",locale:p||(Ae(h)?h.locale:""),format:P(h)?h:Ae(h)?h.source:"",message:x};K.meta=se({},t.__meta,fl()||{}),el(K)}return x}function bl(t){J(t.list)?t.list=t.list.map(e=>P(e)?Zr(e):e):W(t.named)&&Object.keys(t.named).forEach(e=>{P(t.named[e])&&(t.named[e]=Zr(t.named[e]))})}function ws(t,e,n,r,s,i){const{messages:o,onWarn:a,messageResolver:c,localeFallbacker:_}=t,f=_(t,r,n);let v={},E,N=null,k=n,L=null;const I="translate";for(let m=0;m<f.length;m++){if(E=L=f[m],process.env.NODE_ENV!=="production"&&n!==E&&bn(s,e)&&a(_t(oe.FALLBACK_TO_TRANSLATE,{key:e,target:E})),process.env.NODE_ENV!=="production"&&n!==E){const y=t.__v_emitter;y&&y.emit("fallback",{type:I,key:e,from:k,to:L,groupId:`${I}:${e}`})}v=o[E]||{};let p=null,T,h;if(process.env.NODE_ENV!=="production"&&Ke&&(p=window.performance.now(),T="intlify-message-resolve-start",h="intlify-message-resolve-end",pe&&pe(T)),(N=c(v,e))===null&&(N=v[e]),process.env.NODE_ENV!=="production"&&Ke){const y=window.performance.now(),D=t.__v_emitter;D&&p&&N&&D.emit("message-resolve",{type:"message-resolve",key:e,message:N,time:y-p,groupId:`${I}:${e}`}),T&&h&&pe&&ft&&(pe(h),ft("intlify message resolve",T,h))}if(P(N)||ht(N)||Ae(N))break;const C=Qn(t,e,E,i,I);C!==e&&(N=C),k=L}return[N,E,v]}function Ps(t,e,n,r,s,i){const{messageCompiler:o,warnHtmlMessage:a}=t;if(Ae(r)){const E=r;return E.locale=E.locale||n,E.key=E.key||e,E}if(o==null){const E=()=>r;return E.locale=n,E.key=e,E}let c=null,_,f;process.env.NODE_ENV!=="production"&&Ke&&(c=window.performance.now(),_="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(_));const v=o(r,Tl(t,n,s,r,a,i));if(process.env.NODE_ENV!=="production"&&Ke){const E=window.performance.now(),N=t.__v_emitter;N&&c&&N.emit("message-compilation",{type:"message-compilation",message:r,time:E-c,groupId:`translate:${e}`}),_&&f&&pe&&ft&&(pe(f),ft("intlify message compilation",_,f))}return v.locale=n,v.key=e,v.source=r,v}function vl(t,e,n){let r=null,s,i;process.env.NODE_ENV!=="production"&&Ke&&(r=window.performance.now(),s="intlify-message-evaluation-start",i="intlify-message-evaluation-end",pe&&pe(s));const o=e(n);if(process.env.NODE_ENV!=="production"&&Ke){const a=window.performance.now(),c=t.__v_emitter;c&&r&&c.emit("message-evaluation",{type:"message-evaluation",value:o,time:a-r,groupId:`translate:${e.key}`}),s&&i&&pe&&ft&&(pe(i),ft("intlify message evaluation",s,i))}return o}function er(...t){const[e,n,r]=t,s={};if(!P(e)&&!re(e)&&!Ae(e)&&!ht(e))throw Me(ee.INVALID_ARGUMENT);const i=re(e)?String(e):(Ae(e),e);return re(n)?s.plural=n:P(n)?s.default=n:B(n)&&!_n(n)?s.named=n:J(n)&&(s.list=n),re(r)?s.plural=r:P(r)?s.default=r:B(r)&&se(s,r),[i,s]}function Tl(t,e,n,r,s,i){return{locale:e,key:n,warnHtmlMessage:s,onError:o=>{if(i&&i(o),process.env.NODE_ENV!=="production"){const a=Nl(r),c=`Message compilation error: ${o.message}`,_=o.location&&a&&ta(a,o.location.start.offset,o.location.end.offset),f=t.__v_emitter;f&&a&&f.emit("compile-error",{message:a,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${n}`}),console.error(_?`${c}
17
17
  ${_}`:c)}else throw o},onCacheKey:o=>Xo(e,n,o)}}function Nl(t){if(P(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function Al(t,e,n,r){const{modifiers:s,pluralRules:i,messageResolver:o,fallbackLocale:a,fallbackWarn:c,missingWarn:_,fallbackContext:f}=t,E={locale:e,modifiers:s,pluralRules:i,messages:N=>{let k=o(n,N);if(k==null&&f){const[,,L]=ws(f,N,e,a,c,_);k=o(L,N)}if(P(k)||ht(k)){let L=!1;const m=Ps(t,N,e,k,N,()=>{L=!0});return L?Ds:m}else return Ae(k)?k:Ds}};return t.processor&&(E.processor=t.processor),r.list&&(E.list=r.list),r.named&&(E.named=r.named),re(r.plural)&&(E.pluralIndex=r.plural),E}const $s=typeof Intl<"u",Rs={dateTimeFormat:$s&&typeof Intl.DateTimeFormat<"u",numberFormat:$s&&typeof Intl.NumberFormat<"u"};function Ms(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=t,{__datetimeFormatters:a}=t;if(process.env.NODE_ENV!=="production"&&!Rs.dateTimeFormat)return i(_t(oe.CANNOT_FORMAT_DATE)),gn;const[c,_,f,v]=tr(...e),E=j(f.missingWarn)?f.missingWarn:t.missingWarn,N=j(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,k=!!f.part,L=qn(t,f),I=o(t,s,L);if(!P(c)||c==="")return new Intl.DateTimeFormat(L,v).format(_);let m={},p,T=null,h=L,C=null;const y="datetime format";for(let M=0;M<I.length;M++){if(p=C=I[M],process.env.NODE_ENV!=="production"&&L!==p&&bn(N,c)&&i(_t(oe.FALLBACK_TO_DATE_FORMAT,{key:c,target:p})),process.env.NODE_ENV!=="production"&&L!==p){const F=t.__v_emitter;F&&F.emit("fallback",{type:y,key:c,from:h,to:C,groupId:`${y}:${c}`})}if(m=n[p]||{},T=m[c],B(T))break;Qn(t,c,p,E,y),h=C}if(!B(T)||!P(p))return r?En:c;let D=`${p}__${c}`;_n(v)||(D=`${D}__${JSON.stringify(v)}`);let O=a.get(D);return O||(O=new Intl.DateTimeFormat(p,se({},T,v)),a.set(D,O)),k?O.formatToParts(_):O.format(_)}const Vs=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tr(...t){const[e,n,r,s]=t,i={};let o={},a;if(P(e)){const c=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Me(ee.INVALID_ISO_DATE_ARGUMENT);const _=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();a=new Date(_);try{a.toISOString()}catch{throw Me(ee.INVALID_ISO_DATE_ARGUMENT)}}else if(zo(e)){if(isNaN(e.getTime()))throw Me(ee.INVALID_DATE_ARGUMENT);a=e}else if(re(e))a=e;else throw Me(ee.INVALID_ARGUMENT);return P(n)?i.key=n:B(n)&&Object.keys(n).forEach(c=>{Vs.includes(c)?o[c]=n[c]:i[c]=n[c]}),P(r)?i.locale=r:B(r)&&(o=r),B(s)&&(o=s),[i.key||"",a,i,o]}function Fs(t,e,n){const r=t;for(const s in n){const i=`${e}__${s}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Bs(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i,localeFallbacker:o}=t,{__numberFormatters:a}=t;if(process.env.NODE_ENV!=="production"&&!Rs.numberFormat)return i(_t(oe.CANNOT_FORMAT_NUMBER)),gn;const[c,_,f,v]=nr(...e),E=j(f.missingWarn)?f.missingWarn:t.missingWarn,N=j(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,k=!!f.part,L=qn(t,f),I=o(t,s,L);if(!P(c)||c==="")return new Intl.NumberFormat(L,v).format(_);let m={},p,T=null,h=L,C=null;const y="number format";for(let M=0;M<I.length;M++){if(p=C=I[M],process.env.NODE_ENV!=="production"&&L!==p&&bn(N,c)&&i(_t(oe.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:p})),process.env.NODE_ENV!=="production"&&L!==p){const F=t.__v_emitter;F&&F.emit("fallback",{type:y,key:c,from:h,to:C,groupId:`${y}:${c}`})}if(m=n[p]||{},T=m[c],B(T))break;Qn(t,c,p,E,y),h=C}if(!B(T)||!P(p))return r?En:c;let D=`${p}__${c}`;_n(v)||(D=`${D}__${JSON.stringify(v)}`);let O=a.get(D);return O||(O=new Intl.NumberFormat(p,se({},T,v)),a.set(D,O)),k?O.formatToParts(_):O.format(_)}const Us=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nr(...t){const[e,n,r,s]=t,i={};let o={};if(!re(e))throw Me(ee.INVALID_ARGUMENT);const a=e;return P(n)?i.key=n:B(n)&&Object.keys(n).forEach(c=>{Us.includes(c)?o[c]=n[c]:i[c]=n[c]}),P(r)?i.locale=r:B(r)&&(o=r),B(s)&&(o=s),[i.key||"",a,i,o]}function Hs(t,e,n){const r=t;for(const s in n){const i=`${e}__${s}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}Ra();/*!
18
18
  * vue-i18n v9.9.0
19
19
  * (c) 2024 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const yl="9.9.0";function Ol(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ge().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ge().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ge().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ge().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ge().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ws=oe.__EXTEND_POINT__,rt=jn(Ws),ye={FALLBACK_TO_ROOT:Ws,NOT_SUPPORTED_PRESERVE:rt(),NOT_SUPPORTED_FORMATTER:rt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:rt(),NOT_SUPPORTED_GET_CHOICE_INDEX:rt(),COMPONENT_NAME_LEGACY_COMPATIBLE:rt(),NOT_FOUND_PARENT_SCOPE:rt(),IGNORE_OBJ_FLATTEN:rt(),NOTICE_DROP_ALLOW_COMPOSITION:rt()},Cl={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ye.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ye.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function rr(t,...e){return Kn(Cl[t],...e)}const xs=ee.__EXTEND_POINT__,de=jn(xs),q={UNEXPECTED_RETURN_TYPE:xs,INVALID_ARGUMENT:de(),MUST_BE_CALL_SETUP_TOP:de(),NOT_INSTALLED:de(),NOT_AVAILABLE_IN_LEGACY_MODE:de(),REQUIRED_VALUE:de(),INVALID_VALUE:de(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:de(),NOT_INSTALLED_WITH_PROVIDE:de(),UNEXPECTED_ERROR:de(),NOT_COMPATIBLE_LEGACY_VUE_I18N:de(),BRIDGE_SUPPORT_VUE_2_ONLY:de(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:de(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:de(),__EXTEND_POINT__:de()};function st(t,...e){return Lt(t,null,process.env.NODE_ENV!=="production"?{messages:Ll,args:e}:void 0)}const Ll={[q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[q.INVALID_ARGUMENT]:"Invalid argument",[q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[q.NOT_INSTALLED]:"Need to install with `app.use` function",[q.UNEXPECTED_ERROR]:"Unexpected error",[q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[q.REQUIRED_VALUE]:"Required in value: {0}",[q.INVALID_VALUE]:"Invalid value",[q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},sr=je("__translateVNode"),ir=je("__datetimeParts"),or=je("__numberParts"),ar=je("__enableEmitter"),lr=je("__disableEmitter"),Il=je("__setPluralRules"),Ys=je("__injectWithOption"),cr=je("__dispose");function Zt(t){if(!W(t))return t;for(const e in t)if(mn(t,e))if(!e.includes("."))W(t[e])&&Zt(t[e]);else{const n=e.split("."),r=n.length-1;let s=t,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]={}),!W(s[n[o]])){process.env.NODE_ENV!=="production"&&et(rr(ye.IGNORE_OBJ_FLATTEN,{key:n[o]})),i=!0;break}s=s[n[o]]}i||(s[n[r]]=t[e],delete t[e]),W(s[n[r]])&&Zt(s[n[r]])}return t}function ur(t,e){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=e,o=B(n)?n:J(r)?{}:{[t]:{}};if(J(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:_}=a;c?(o[c]=o[c]||{},pn(_,o[c])):pn(_,o)}else P(a)&&pn(JSON.parse(a),o)}),s==null&&i)for(const a in o)mn(o,a)&&Zt(o[a]);return o}function Ks(t){return t.type}function Sl(t,e,n){let r=W(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=ur(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{t.mergeLocaleMessage(i,r[i])});{if(W(e.datetimeFormats)){const i=Object.keys(e.datetimeFormats);i.length&&i.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(W(e.numberFormats)){const i=Object.keys(e.numberFormats);i.length&&i.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function js(t){return l.createVNode(l.Text,null,t,0)}const Gs="__INTLIFY_META__",Xs=()=>[],Dl=()=>!1;let qs=0;function zs(t){return(e,n,r,s)=>t(n,r,l.getCurrentInstance()||void 0,s)}const kl=()=>{const t=l.getCurrentInstance();let e=null;return t&&(e=Ks(t)[Gs])?{[Gs]:e}:null};function wl(t={},e){const{__root:n,__injectWithOption:r}=t,s=n===void 0,i=t.flatJson,o=Ke?l.ref:l.shallowRef;let a=j(t.inheritLocale)?t.inheritLocale:!0;const c=o(n&&a?n.locale.value:P(t.locale)?t.locale:Qt),_=o(n&&a?n.fallbackLocale.value:P(t.fallbackLocale)||J(t.fallbackLocale)||B(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),f=o(ur(c.value,t)),v=o(B(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),E=o(B(t.numberFormats)?t.numberFormats:{[c.value]:{}});let N=n?n.missingWarn:j(t.missingWarn)||Ct(t.missingWarn)?t.missingWarn:!0,k=n?n.fallbackWarn:j(t.fallbackWarn)||Ct(t.fallbackWarn)?t.fallbackWarn:!0,L=n?n.fallbackRoot:j(t.fallbackRoot)?t.fallbackRoot:!0,I=!!t.fallbackFormat,m=G(t.missing)?t.missing:null,p=G(t.missing)?zs(t.missing):null,T=G(t.postTranslation)?t.postTranslation:null,h=n?n.warnHtmlMessage:j(t.warnHtmlMessage)?t.warnHtmlMessage:!0,C=!!t.escapeParameter;const y=n?n.modifiers:B(t.modifiers)?t.modifiers:{};let D=t.pluralRules||n&&n.pluralRules,O;O=(()=>{s&&As(null);const b={version:yl,locale:c.value,fallbackLocale:_.value,messages:f.value,modifiers:y,pluralRules:D,missing:p===null?void 0:p,missingWarn:N,fallbackWarn:k,fallbackFormat:I,unresolving:!0,postTranslation:T===null?void 0:T,warnHtmlMessage:h,escapeParameter:C,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=v.value,b.numberFormats=E.value,b.__datetimeFormatters=B(O)?O.__datetimeFormatters:void 0,b.__numberFormatters=B(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(b.__v_emitter=B(O)?O.__v_emitter:void 0);const S=ml(b);return s&&As(S),S})(),Jt(O,c.value,_.value);function F(){return[c.value,_.value,f.value,v.value,E.value]}const Y=l.computed({get:()=>c.value,set:b=>{c.value=b,O.locale=c.value}}),x=l.computed({get:()=>_.value,set:b=>{_.value=b,O.fallbackLocale=_.value,Jt(O,c.value,b)}}),K=l.computed(()=>f.value),_e=l.computed(()=>v.value),ve=l.computed(()=>E.value);function X(){return G(T)?T:null}function te(b){T=b,O.postTranslation=b}function He(){return m}function me(b){b!==null&&(p=zs(b)),m=b,O.missing=p}function We(b,S){return b!=="translate"||!S.resolvedMessage}const ce=(b,S,U,Q,yt,Yn)=>{F();let qt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=n?_l():void 0),qt=b(O)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(U!=="translate exists"&&re(qt)&&qt===En||U==="translate exists"&&!qt){const[Ot,nh]=S();if(process.env.NODE_ENV!=="production"&&n&&P(Ot)&&We(U,nh)&&(L&&(bn(k,Ot)||Os(N,Ot))&&et(rr(ye.FALLBACK_TO_ROOT,{key:Ot,type:U})),process.env.NODE_ENV!=="production")){const{__v_emitter:Vo}=O;Vo&&L&&Vo.emit("fallback",{type:U,key:Ot,to:"global",groupId:`${U}:${Ot}`})}return n&&L?Q(n):yt(Ot)}else{if(Yn(qt))return qt;throw st(q.UNEXPECTED_RETURN_TYPE)}};function Se(...b){return ce(S=>Reflect.apply(ks,null,[S,...b]),()=>er(...b),"translate",S=>Reflect.apply(S.t,S,[...b]),S=>S,S=>P(S))}function xe(...b){const[S,U,Q]=b;if(Q&&!W(Q))throw st(q.INVALID_ARGUMENT);return Se(S,U,se({resolvedMessage:!0},Q||{}))}function Te(...b){return ce(S=>Reflect.apply(Ms,null,[S,...b]),()=>tr(...b),"datetime format",S=>Reflect.apply(S.d,S,[...b]),()=>gn,S=>P(S))}function he(...b){return ce(S=>Reflect.apply(Bs,null,[S,...b]),()=>nr(...b),"number format",S=>Reflect.apply(S.n,S,[...b]),()=>gn,S=>P(S))}function we(b){return b.map(S=>P(S)||re(S)||j(S)?js(String(S)):S)}const ue={normalize:we,interpolate:b=>b,type:"vnode"};function Pe(...b){return ce(S=>{let U;const Q=S;try{Q.processor=ue,U=Reflect.apply(ks,null,[Q,...b])}finally{Q.processor=null}return U},()=>er(...b),"translate",S=>S[sr](...b),S=>[js(S)],S=>J(S))}function Ye(...b){return ce(S=>Reflect.apply(Bs,null,[S,...b]),()=>nr(...b),"number format",S=>S[or](...b),Xs,S=>P(S)||J(S))}function $e(...b){return ce(S=>Reflect.apply(Ms,null,[S,...b]),()=>tr(...b),"datetime format",S=>S[ir](...b),Xs,S=>P(S)||J(S))}function At(b){D=b,O.pluralRules=D}function d(b,S){return ce(()=>{if(!b)return!1;const U=P(S)?S:c.value,Q=w(U),yt=O.messageResolver(Q,b);return ht(yt)||Ae(yt)||P(yt)},()=>[b],"translate exists",U=>Reflect.apply(U.te,U,[b,S]),Dl,U=>j(U))}function u(b){let S=null;const U=ms(O,_.value,c.value);for(let Q=0;Q<U.length;Q++){const yt=f.value[U[Q]]||{},Yn=O.messageResolver(yt,b);if(Yn!=null){S=Yn;break}}return S}function g(b){const S=u(b);return S??(n?n.tm(b)||{}:{})}function w(b){return f.value[b]||{}}function V(b,S){if(i){const U={[b]:S};for(const Q in U)mn(U,Q)&&Zt(U[Q]);S=U[b]}f.value[b]=S,O.messages=f.value}function H(b,S){f.value[b]=f.value[b]||{};const U={[b]:S};for(const Q in U)mn(U,Q)&&Zt(U[Q]);S=U[b],pn(S,f.value[b]),O.messages=f.value}function De(b){return v.value[b]||{}}function ne(b,S){v.value[b]=S,O.datetimeFormats=v.value,Fs(O,b,S)}function Xt(b,S){v.value[b]=se(v.value[b]||{},S),O.datetimeFormats=v.value,Fs(O,b,S)}function Wn(b){return E.value[b]||{}}function xn(b,S){E.value[b]=S,O.numberFormats=E.value,Hs(O,b,S)}function fn(b,S){E.value[b]=se(E.value[b]||{},S),O.numberFormats=E.value,Hs(O,b,S)}qs++,n&&Ke&&(l.watch(n.locale,b=>{a&&(c.value=b,O.locale=b,Jt(O,c.value,_.value))}),l.watch(n.fallbackLocale,b=>{a&&(_.value=b,O.fallbackLocale=b,Jt(O,c.value,_.value))}));const z={id:qs,locale:Y,fallbackLocale:x,get inheritLocale(){return a},set inheritLocale(b){a=b,b&&n&&(c.value=n.locale.value,_.value=n.fallbackLocale.value,Jt(O,c.value,_.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:K,get modifiers(){return y},get pluralRules(){return D||{}},get isGlobal(){return s},get missingWarn(){return N},set missingWarn(b){N=b,O.missingWarn=N},get fallbackWarn(){return k},set fallbackWarn(b){k=b,O.fallbackWarn=k},get fallbackRoot(){return L},set fallbackRoot(b){L=b},get fallbackFormat(){return I},set fallbackFormat(b){I=b,O.fallbackFormat=I},get warnHtmlMessage(){return h},set warnHtmlMessage(b){h=b,O.warnHtmlMessage=b},get escapeParameter(){return C},set escapeParameter(b){C=b,O.escapeParameter=b},t:Se,getLocaleMessage:w,setLocaleMessage:V,mergeLocaleMessage:H,getPostTranslationHandler:X,setPostTranslationHandler:te,getMissingHandler:He,setMissingHandler:me,[Il]:At};return z.datetimeFormats=_e,z.numberFormats=ve,z.rt=xe,z.te=d,z.tm=g,z.d=Te,z.n=he,z.getDateTimeFormat=De,z.setDateTimeFormat=ne,z.mergeDateTimeFormat=Xt,z.getNumberFormat=Wn,z.setNumberFormat=xn,z.mergeNumberFormat=fn,z[Ys]=r,z[sr]=Pe,z[ir]=$e,z[or]=Ye,process.env.NODE_ENV!=="production"&&(z[ar]=b=>{O.__v_emitter=b},z[lr]=()=>{O.__v_emitter=void 0}),z}const dr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Pl({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,s)=>[...r,...s.type===l.Fragment?s.children:[s]],[]):e.reduce((n,r)=>{const s=t[r];return s&&(n[r]=s()),n},{})}function Qs(t){return l.Fragment}se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>re(t)||!isNaN(t)}},dr);function $l(t){return J(t)&&!P(t[0])}function Js(t,e,n,r){const{slots:s,attrs:i}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),P(t.format)?o.key=t.format:W(t.format)&&(P(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((E,N)=>n.includes(N)?se({},E,{[N]:t.format[N]}):E,{}));const c=r(t.value,o,a);let _=[o.key];J(c)?_=c.map((E,N)=>{const k=s[E.type],L=k?k({[E.type]:E.value,index:N,parts:c}):[E.value];return $l(L)&&(L[0].key=`${E.type}-${N}`),L}):P(c)&&(_=[c]);const f=se({},i),v=P(t.tag)||W(t.tag)?t.tag:Qs();return l.h(v,f,_)}}se({value:{type:Number,required:!0},format:{type:[String,Object]}},dr),se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},dr);function Zs(t,e){}const Rl=je("global-vue-i18n");function vn(t={}){const e=l.getCurrentInstance();if(e==null)throw st(q.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw st(q.NOT_INSTALLED);const n=Ml(e),r=Fl(n),s=Ks(e),i=Vl(t,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw st(q.NOT_AVAILABLE_IN_LEGACY_MODE);return Wl(e,i,r,t)}if(i==="global")return Sl(r,t,s),r;if(i==="parent"){let c=Bl(n,e,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&et(rr(ye.NOT_FOUND_PARENT_SCOPE)),c=r),c}const o=n;let a=o.__getInstance(e);if(a==null){const c=se({},t);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),a=wl(c),o.__composerExtend&&(a[cr]=o.__composerExtend(a)),Hl(o,e,a),o.__setInstance(e,a)}return a}function Ml(t){{const e=l.inject(t.isCE?Rl:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw st(t.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return e}}function Vl(t,e){return _n(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Fl(t){return t.mode==="composition"?t.global:t.global.__composer}function Bl(t,e,n=!1){let r=null;const s=e.root;let i=Ul(e,n);for(;i!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Ys]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function Ul(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Hl(t,e,n){let r=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,r=ra();const s=n;s[ar]&&s[ar](r),r.on("*",Zs)}},e),l.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",Zs),s[lr]&&s[lr](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const i=s[cr];i&&(i(),delete s[cr])},e)}function Wl(t,e,n,r={}){const s=e==="local",i=l.shallowRef(null);if(s&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw st(q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=j(r.inheritLocale)?r.inheritLocale:!P(r.locale),a=l.ref(!s||o?n.locale.value:P(r.locale)?r.locale:Qt),c=l.ref(!s||o?n.fallbackLocale.value:P(r.fallbackLocale)||J(r.fallbackLocale)||B(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),_=l.ref(ur(a.value,r)),f=l.ref(B(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),v=l.ref(B(r.numberFormats)?r.numberFormats:{[a.value]:{}}),E=s?n.missingWarn:j(r.missingWarn)||Ct(r.missingWarn)?r.missingWarn:!0,N=s?n.fallbackWarn:j(r.fallbackWarn)||Ct(r.fallbackWarn)?r.fallbackWarn:!0,k=s?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,L=!!r.fallbackFormat,I=G(r.missing)?r.missing:null,m=G(r.postTranslation)?r.postTranslation:null,p=s?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,T=!!r.escapeParameter,h=s?n.modifiers:B(r.modifiers)?r.modifiers:{},C=r.pluralRules||s&&n.pluralRules;function y(){return[a.value,c.value,_.value,f.value,v.value]}const D=l.computed({get:()=>i.value?i.value.locale.value:a.value,set:u=>{i.value&&(i.value.locale.value=u),a.value=u}}),O=l.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:u=>{i.value&&(i.value.fallbackLocale.value=u),c.value=u}}),M=l.computed(()=>i.value?i.value.messages.value:_.value),F=l.computed(()=>f.value),Y=l.computed(()=>v.value);function x(){return i.value?i.value.getPostTranslationHandler():m}function K(u){i.value&&i.value.setPostTranslationHandler(u)}function _e(){return i.value?i.value.getMissingHandler():I}function ve(u){i.value&&i.value.setMissingHandler(u)}function X(u){return y(),u()}function te(...u){return i.value?X(()=>Reflect.apply(i.value.t,null,[...u])):X(()=>"")}function He(...u){return i.value?Reflect.apply(i.value.rt,null,[...u]):""}function me(...u){return i.value?X(()=>Reflect.apply(i.value.d,null,[...u])):X(()=>"")}function We(...u){return i.value?X(()=>Reflect.apply(i.value.n,null,[...u])):X(()=>"")}function ce(u){return i.value?i.value.tm(u):{}}function Se(u,g){return i.value?i.value.te(u,g):!1}function xe(u){return i.value?i.value.getLocaleMessage(u):{}}function Te(u,g){i.value&&(i.value.setLocaleMessage(u,g),_.value[u]=g)}function he(u,g){i.value&&i.value.mergeLocaleMessage(u,g)}function we(u){return i.value?i.value.getDateTimeFormat(u):{}}function Ze(u,g){i.value&&(i.value.setDateTimeFormat(u,g),f.value[u]=g)}function ue(u,g){i.value&&i.value.mergeDateTimeFormat(u,g)}function Pe(u){return i.value?i.value.getNumberFormat(u):{}}function Ye(u,g){i.value&&(i.value.setNumberFormat(u,g),v.value[u]=g)}function $e(u,g){i.value&&i.value.mergeNumberFormat(u,g)}const At={get id(){return i.value?i.value.id:-1},locale:D,fallbackLocale:O,messages:M,datetimeFormats:F,numberFormats:Y,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(u){i.value&&(i.value.inheritLocale=u)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(_.value)},get modifiers(){return i.value?i.value.modifiers:h},get pluralRules(){return i.value?i.value.pluralRules:C},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:E},set missingWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackWarn(){return i.value?i.value.fallbackWarn:N},set fallbackWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackRoot(){return i.value?i.value.fallbackRoot:k},set fallbackRoot(u){i.value&&(i.value.fallbackRoot=u)},get fallbackFormat(){return i.value?i.value.fallbackFormat:L},set fallbackFormat(u){i.value&&(i.value.fallbackFormat=u)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:p},set warnHtmlMessage(u){i.value&&(i.value.warnHtmlMessage=u)},get escapeParameter(){return i.value?i.value.escapeParameter:T},set escapeParameter(u){i.value&&(i.value.escapeParameter=u)},t:te,getPostTranslationHandler:x,setPostTranslationHandler:K,getMissingHandler:_e,setMissingHandler:ve,rt:He,d:me,n:We,tm:ce,te:Se,getLocaleMessage:xe,setLocaleMessage:Te,mergeLocaleMessage:he,getDateTimeFormat:we,setDateTimeFormat:Ze,mergeDateTimeFormat:ue,getNumberFormat:Pe,setNumberFormat:Ye,mergeNumberFormat:$e};function d(u){u.locale.value=a.value,u.fallbackLocale.value=c.value,Object.keys(_.value).forEach(g=>{u.mergeLocaleMessage(g,_.value[g])}),Object.keys(f.value).forEach(g=>{u.mergeDateTimeFormat(g,f.value[g])}),Object.keys(v.value).forEach(g=>{u.mergeNumberFormat(g,v.value[g])}),u.escapeParameter=T,u.fallbackFormat=L,u.fallbackRoot=k,u.fallbackWarn=N,u.missingWarn=E,u.warnHtmlMessage=p}return l.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw st(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=i.value=t.proxy.$i18n.__composer;e==="global"?(a.value=u.locale.value,c.value=u.fallbackLocale.value,_.value=u.messages.value,f.value=u.datetimeFormats.value,v.value=u.numberFormats.value):s&&d(u)}),At}if(Ol(),__INTLIFY_JIT_COMPILATION__?gs(gl):gs(El),cl(xa),ul(ms),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ge();t.__INTLIFY__=!0,Ja(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function en(t){const{t:e}=vn(),n=l.ref(null);function r(a){const c=t.value;c!==null&&(a!==null?c.setCustomValidity(a):c.setCustomValidity(""),n.value=s(c))}function s(a){if(a.validity.valueMissing)return e("validator.error.value_missing");if(a.validity.tooShort)return e("validator.error.too_short",[a.minLength]);if(a.validity.tooLong)return e("validator.error.too_long",[a.maxLength]);if(a.validity.rangeUnderflow)return e("validator.error.range_underflow",[a.min]);if(a.validity.rangeOverflow)return e("validator.error.range_overflow",[a.max]);if(a.validity.typeMismatch){if(a.type==="email")return e("validator.error.type_mismatch.email");if(a.type==="url")return e("validator.error.type_mismatch.url")}if(a.validity.badInput){if(a.type==="number")return e("validator.error.bad_input.number");if(a.type==="date")return e("validator.error.bad_input.date")}if(a.validity.patternMismatch)return e("validator.error.pattern_mismatch");if(a.validity.stepMismatch){const c=Math.floor(Number(a.value)/Number(a.step))*Number(a.step),_=Math.ceil(Number(a.value)/Number(a.step))*Number(a.step);return e("validator.error.step_mismatch",[c,_])}return a.validity.customError?a.validationMessage:null}function i(a){a.target!==null&&(n.value=s(a.target))}function o(){return n.value}return{onInvalid:i,getInvalidMessage:o,setCustomError:r}}const xl=l.defineComponent({name:"BsInput",props:{modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:en(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Yl=["for","textContent"],Kl=["id","value","aria-describedby"],jl=["textContent"],Gl=["id","textContent"];function Xl(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,Yl)):l.createCommentVNode("",!0),l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue,class:"form-control"},t.$attrs,{"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Kl),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,jl)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Gl)):l.createCommentVNode("",!0)],64)}const ql=Ne(xl,[["render",Xl]]),zl=l.defineComponent({name:"BsCheckbox",props:{value:{type:String,default:null},modelValue:{type:[Array,Boolean],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},classContainer:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:en(t)}},computed:{isChecked(){return this.modelValue instanceof Array?this.modelValue.includes(this.value):this.modelValue===!0}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const n=t.target.checked;if(this.modelValue instanceof Array){const r=[...this.modelValue];n?r.push(this.value):r.splice(r.indexOf(this.value),1),this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",n)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Ql=["id","value","checked","aria-describedby"],Jl=["for","textContent"],Zl=["textContent"],ec=["id","textContent"];function tc(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["form-check",t.classContainer])},[l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{type:"checkbox",class:"form-check-input",checked:t.isChecked,"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Ql),t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-check-label",textContent:l.toDisplayString(t.label)},null,8,Jl)):l.createCommentVNode("",!0),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Zl)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,ec)):l.createCommentVNode("",!0)],2)}const nc=Ne(zl,[["render",tc]]),rc=l.defineComponent({name:"BsTextarea",props:{modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:en(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),sc=["for","textContent"],ic=["id","value","aria-describedby"],oc=["textContent"],ac=["id","textContent"];function lc(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,sc)):l.createCommentVNode("",!0),l.createElementVNode("textarea",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{class:"form-control","aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,ic),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,oc)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,ac)):l.createCommentVNode("",!0)],64)}const cc=Ne(rc,[["render",lc]]),uc=l.defineComponent({name:"BsPaginator",props:{totalCount:{type:Number,required:!0},pageSize:{type:Number,required:!0},currentPage:{type:Number,required:!0},maxVisiblePage:{type:Number,default:5},firstPageLabel:{type:String,default:"«"},previousPageLabel:{type:String,default:"‹"},nextPageLabel:{type:String,default:"›"},lastPageLabel:{type:String,default:"»"}},emits:["pageChanged"],methods:{getPageCount(){return Math.ceil(this.totalCount/this.pageSize)},getVisiblePages(){const t=[],e=this.getPageRange();for(let n=e.beginPage;n<=e.endPage;n+=1)t.push(n+1);return t},isPageActive(t){return t===this.currentPage},onPageClick(t){this.isPageActive(t)||this.$emit("pageChanged",t)},getPageRange(){let t=Math.max(0,this.currentPage-this.maxVisiblePage/2),e=t+this.maxVisiblePage-1;return e>=this.getPageCount()&&(e=this.getPageCount()-1,t=Math.max(0,e-this.maxVisiblePage+1)),{beginPage:Math.floor(t),endPage:Math.floor(e)}}}}),dc={class:"pagination"},fc=["textContent"],_c=["textContent"],mc=["onClick","textContent"],hc=["textContent"],pc=["textContent"];function Ec(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("nav",null,[l.createElementVNode("ul",dc,[l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-first",{disabled:t.isPageActive(1)}])},[l.createElementVNode("div",{class:"page-link",onClick:e[0]||(e[0]=o=>t.onPageClick(1)),textContent:l.toDisplayString(t.firstPageLabel)},null,8,fc)],2),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-previous",{disabled:t.isPageActive(1)}])},[l.createElementVNode("div",{class:"page-link",onClick:e[1]||(e[1]=o=>t.onPageClick(t.currentPage-1)),textContent:l.toDisplayString(t.previousPageLabel)},null,8,_c)],2),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.getVisiblePages(),(o,a)=>(l.openBlock(),l.createElementBlock("li",{key:a,class:l.normalizeClass(["page-item page-item-number",{active:t.isPageActive(o)}])},[l.createElementVNode("div",{class:"page-link",onClick:c=>t.onPageClick(o),textContent:l.toDisplayString(o)},null,8,mc)],2))),128)),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-next",{disabled:t.isPageActive(t.getPageCount())}])},[l.createElementVNode("div",{class:"page-link",onClick:e[2]||(e[2]=o=>t.onPageClick(t.currentPage+1)),textContent:l.toDisplayString(t.nextPageLabel)},null,8,hc)],2),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-last",{disabled:t.isPageActive(t.getPageCount())}])},[l.createElementVNode("div",{class:"page-link",onClick:e[3]||(e[3]=o=>t.onPageClick(t.getPageCount())),textContent:l.toDisplayString(t.lastPageLabel)},null,8,pc)],2)])])}const gc=Ne(uc,[["render",Ec],["__scopeId","data-v-ff85ae67"]]),bc=l.defineComponent({name:"BsTable",props:{fields:{type:Array,required:!0},items:{type:Array,required:!0},isLoading:{type:Boolean,default:!1},orderBy:{type:String,default:void 0},sortDesc:{type:Boolean,default:void 0},thClass:{type:String,default:void 0},tdClass:{type:String,default:void 0}},emits:["orderChanged"],methods:{isActiveOrderBy(t){return t===this.orderBy},isSortableField(t){return t.sort===void 0||t.sort},getSortIconClass(){if(this.sortDesc===void 0)throw new Error("Sort desc value is null, cannot calculate the sort icon!");return this.sortDesc?"bi bi-caret-up-fill":"bi bi-caret-down-fill"},calcSortDesc(t){return this.sortDesc===void 0?null:this.isOrderByChanged(t)?!1:!this.sortDesc},isOrderByChanged(t){return this.orderBy!==t},onHeadClick(t){this.isSortableField(t)&&this.$emit("orderChanged",{sortDesc:this.calcSortDesc(t.key),orderBy:t.key})}}}),vc=t=>(l.pushScopeId("data-v-e8d4b4dc"),t=t(),l.popScopeId(),t),Tc={class:"table"},Nc=["onClick"],Ac={key:0},yc=["colspan"],Oc=vc(()=>l.createElementVNode("div",{class:"d-flex justify-content-center p-2"},[l.createElementVNode("div",{class:"spinner-border spinner-border-sm"})],-1)),Cc={key:1},Lc=["colspan"],Ic={class:"text-center text-muted small"};function Sc(t,e,n,r,s,i){const o=l.resolveDirective("t");return l.openBlock(),l.createElementBlock("table",Tc,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.fields,a=>(l.openBlock(),l.createElementBlock("th",{key:a.key,class:l.normalizeClass({"cursor-pointer":t.isSortableField(a),"text-decoration-underline":t.isActiveOrderBy(a.key),thClass:t.thClass}),onClick:c=>t.onHeadClick(a)},[l.renderSlot(t.$slots,"tr",{},()=>[l.createTextVNode(l.toDisplayString(a.label)+" ",1),t.isActiveOrderBy(a.key)&&t.sortDesc!==void 0?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(t.getSortIconClass())},null,2)):l.createCommentVNode("",!0)],!0)],10,Nc))),128))])]),l.createElementVNode("tbody",null,[t.isLoading?(l.openBlock(),l.createElementBlock("tr",Ac,[l.createElementVNode("td",{colspan:t.fields.length},[l.renderSlot(t.$slots,"loading",{},()=>[Oc],!0)],8,yc)])):t.items.length===0?(l.openBlock(),l.createElementBlock("tr",Cc,[l.createElementVNode("td",{colspan:t.fields.length},[l.renderSlot(t.$slots,"empty",{},()=>[l.withDirectives(l.createElementVNode("div",Ic,null,512),[[o,"table.empty_text"]])],!0)],8,Lc)])):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:2},l.renderList(t.items,(a,c)=>(l.openBlock(),l.createElementBlock("tr",{key:c,class:l.normalizeClass(a.trClass)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.fields,_=>(l.openBlock(),l.createElementBlock("td",{key:_.key,class:l.normalizeClass(t.tdClass)},[l.renderSlot(t.$slots,"td",{key:c,field:_.key,row:a,value:_.key in a?a[_.key]:null},()=>[l.createTextVNode(l.toDisplayString(a[_.key]),1)],!0)],2))),128))],2))),128))])])}const Dc=Ne(bc,[["render",Sc],["__scopeId","data-v-e8d4b4dc"]]);var ae="top",Ee="bottom",ge="right",le="left",Tn="auto",kt=[ae,Ee,ge,le],pt="start",wt="end",ei="clippingParents",fr="viewport",Pt="popper",ti="reference",_r=kt.reduce(function(t,e){return t.concat([e+"-"+pt,e+"-"+wt])},[]),mr=[].concat(kt,[Tn]).reduce(function(t,e){return t.concat([e,e+"-"+pt,e+"-"+wt])},[]),ni="beforeRead",ri="read",si="afterRead",ii="beforeMain",oi="main",ai="afterMain",li="beforeWrite",ci="write",ui="afterWrite",di=[ni,ri,si,ii,oi,ai,li,ci,ui];function Ve(t){return t?(t.nodeName||"").toLowerCase():null}function be(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Et(t){var e=be(t).Element;return t instanceof e||t instanceof Element}function Oe(t){var e=be(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function hr(t){if(typeof ShadowRoot>"u")return!1;var e=be(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function kc(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},s=e.attributes[n]||{},i=e.elements[n];!Oe(i)||!Ve(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function wc(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var s=e.elements[r],i=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(c,_){return c[_]="",c},{});!Oe(s)||!Ve(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(c){s.removeAttribute(c)}))})}}const pr={name:"applyStyles",enabled:!0,phase:"write",fn:kc,effect:wc,requires:["computeStyles"]};function Fe(t){return t.split("-")[0]}var gt=Math.max,Nn=Math.min,$t=Math.round;function Er(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function fi(){return!/^((?!chrome|android).)*safari/i.test(Er())}function Rt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),s=1,i=1;e&&Oe(t)&&(s=t.offsetWidth>0&&$t(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&$t(r.height)/t.offsetHeight||1);var o=Et(t)?be(t):window,a=o.visualViewport,c=!fi()&&n,_=(r.left+(c&&a?a.offsetLeft:0))/s,f=(r.top+(c&&a?a.offsetTop:0))/i,v=r.width/s,E=r.height/i;return{width:v,height:E,top:f,right:_+v,bottom:f+E,left:_,x:_,y:f}}function gr(t){var e=Rt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function _i(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&hr(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qe(t){return be(t).getComputedStyle(t)}function Pc(t){return["table","td","th"].indexOf(Ve(t))>=0}function it(t){return((Et(t)?t.ownerDocument:t.document)||window.document).documentElement}function An(t){return Ve(t)==="html"?t:t.assignedSlot||t.parentNode||(hr(t)?t.host:null)||it(t)}function mi(t){return!Oe(t)||qe(t).position==="fixed"?null:t.offsetParent}function $c(t){var e=/firefox/i.test(Er()),n=/Trident/i.test(Er());if(n&&Oe(t)){var r=qe(t);if(r.position==="fixed")return null}var s=An(t);for(hr(s)&&(s=s.host);Oe(s)&&["html","body"].indexOf(Ve(s))<0;){var i=qe(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function tn(t){for(var e=be(t),n=mi(t);n&&Pc(n)&&qe(n).position==="static";)n=mi(n);return n&&(Ve(n)==="html"||Ve(n)==="body"&&qe(n).position==="static")?e:n||$c(t)||e}function br(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function nn(t,e,n){return gt(t,Nn(e,n))}function Rc(t,e,n){var r=nn(t,e,n);return r>n?n:r}function hi(){return{top:0,right:0,bottom:0,left:0}}function pi(t){return Object.assign({},hi(),t)}function Ei(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Mc=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,pi(typeof e!="number"?e:Ei(e,kt))};function Vc(t){var e,n=t.state,r=t.name,s=t.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Fe(n.placement),c=br(a),_=[le,ge].indexOf(a)>=0,f=_?"height":"width";if(!(!i||!o)){var v=Mc(s.padding,n),E=gr(i),N=c==="y"?ae:le,k=c==="y"?Ee:ge,L=n.rects.reference[f]+n.rects.reference[c]-o[c]-n.rects.popper[f],I=o[c]-n.rects.reference[c],m=tn(i),p=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,T=L/2-I/2,h=v[N],C=p-E[f]-v[k],y=p/2-E[f]/2+T,D=nn(h,y,C),O=c;n.modifiersData[r]=(e={},e[O]=D,e.centerOffset=D-y,e)}}function Fc(t){var e=t.state,n=t.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||_i(e.elements.popper,s)&&(e.elements.arrow=s))}const gi={name:"arrow",enabled:!0,phase:"main",fn:Vc,effect:Fc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mt(t){return t.split("-")[1]}var Bc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Uc(t,e){var n=t.x,r=t.y,s=e.devicePixelRatio||1;return{x:$t(n*s)/s||0,y:$t(r*s)/s||0}}function bi(t){var e,n=t.popper,r=t.popperRect,s=t.placement,i=t.variation,o=t.offsets,a=t.position,c=t.gpuAcceleration,_=t.adaptive,f=t.roundOffsets,v=t.isFixed,E=o.x,N=E===void 0?0:E,k=o.y,L=k===void 0?0:k,I=typeof f=="function"?f({x:N,y:L}):{x:N,y:L};N=I.x,L=I.y;var m=o.hasOwnProperty("x"),p=o.hasOwnProperty("y"),T=le,h=ae,C=window;if(_){var y=tn(n),D="clientHeight",O="clientWidth";if(y===be(n)&&(y=it(n),qe(y).position!=="static"&&a==="absolute"&&(D="scrollHeight",O="scrollWidth")),y=y,s===ae||(s===le||s===ge)&&i===wt){h=Ee;var M=v&&y===C&&C.visualViewport?C.visualViewport.height:y[D];L-=M-r.height,L*=c?1:-1}if(s===le||(s===ae||s===Ee)&&i===wt){T=ge;var F=v&&y===C&&C.visualViewport?C.visualViewport.width:y[O];N-=F-r.width,N*=c?1:-1}}var Y=Object.assign({position:a},_&&Bc),x=f===!0?Uc({x:N,y:L},be(n)):{x:N,y:L};if(N=x.x,L=x.y,c){var K;return Object.assign({},Y,(K={},K[h]=p?"0":"",K[T]=m?"0":"",K.transform=(C.devicePixelRatio||1)<=1?"translate("+N+"px, "+L+"px)":"translate3d("+N+"px, "+L+"px, 0)",K))}return Object.assign({},Y,(e={},e[h]=p?L+"px":"",e[T]=m?N+"px":"",e.transform="",e))}function Hc(t){var e=t.state,n=t.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,c=a===void 0?!0:a,_={placement:Fe(e.placement),variation:Mt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,bi(Object.assign({},_,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,bi(Object.assign({},_,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const vr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hc,data:{}};var yn={passive:!0};function Wc(t){var e=t.state,n=t.instance,r=t.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,c=be(e.elements.popper),_=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&_.forEach(function(f){f.addEventListener("scroll",n.update,yn)}),a&&c.addEventListener("resize",n.update,yn),function(){i&&_.forEach(function(f){f.removeEventListener("scroll",n.update,yn)}),a&&c.removeEventListener("resize",n.update,yn)}}const Tr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Wc,data:{}};var xc={left:"right",right:"left",bottom:"top",top:"bottom"};function On(t){return t.replace(/left|right|bottom|top/g,function(e){return xc[e]})}var Yc={start:"end",end:"start"};function vi(t){return t.replace(/start|end/g,function(e){return Yc[e]})}function Nr(t){var e=be(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ar(t){return Rt(it(t)).left+Nr(t).scrollLeft}function Kc(t,e){var n=be(t),r=it(t),s=n.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,c=0;if(s){i=s.width,o=s.height;var _=fi();(_||!_&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:a+Ar(t),y:c}}function jc(t){var e,n=it(t),r=Nr(t),s=(e=t.ownerDocument)==null?void 0:e.body,i=gt(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=gt(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Ar(t),c=-r.scrollTop;return qe(s||n).direction==="rtl"&&(a+=gt(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:c}}function yr(t){var e=qe(t),n=e.overflow,r=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Ti(t){return["html","body","#document"].indexOf(Ve(t))>=0?t.ownerDocument.body:Oe(t)&&yr(t)?t:Ti(An(t))}function rn(t,e){var n;e===void 0&&(e=[]);var r=Ti(t),s=r===((n=t.ownerDocument)==null?void 0:n.body),i=be(r),o=s?[i].concat(i.visualViewport||[],yr(r)?r:[]):r,a=e.concat(o);return s?a:a.concat(rn(An(o)))}function Or(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Gc(t,e){var n=Rt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ni(t,e,n){return e===fr?Or(Kc(t,n)):Et(e)?Gc(e,n):Or(jc(it(t)))}function Xc(t){var e=rn(An(t)),n=["absolute","fixed"].indexOf(qe(t).position)>=0,r=n&&Oe(t)?tn(t):t;return Et(r)?e.filter(function(s){return Et(s)&&_i(s,r)&&Ve(s)!=="body"}):[]}function qc(t,e,n,r){var s=e==="clippingParents"?Xc(t):[].concat(e),i=[].concat(s,[n]),o=i[0],a=i.reduce(function(c,_){var f=Ni(t,_,r);return c.top=gt(f.top,c.top),c.right=Nn(f.right,c.right),c.bottom=Nn(f.bottom,c.bottom),c.left=gt(f.left,c.left),c},Ni(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ai(t){var e=t.reference,n=t.element,r=t.placement,s=r?Fe(r):null,i=r?Mt(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,c;switch(s){case ae:c={x:o,y:e.y-n.height};break;case Ee:c={x:o,y:e.y+e.height};break;case ge:c={x:e.x+e.width,y:a};break;case le:c={x:e.x-n.width,y:a};break;default:c={x:e.x,y:e.y}}var _=s?br(s):null;if(_!=null){var f=_==="y"?"height":"width";switch(i){case pt:c[_]=c[_]-(e[f]/2-n[f]/2);break;case wt:c[_]=c[_]+(e[f]/2-n[f]/2);break}}return c}function Vt(t,e){e===void 0&&(e={});var n=e,r=n.placement,s=r===void 0?t.placement:r,i=n.strategy,o=i===void 0?t.strategy:i,a=n.boundary,c=a===void 0?ei:a,_=n.rootBoundary,f=_===void 0?fr:_,v=n.elementContext,E=v===void 0?Pt:v,N=n.altBoundary,k=N===void 0?!1:N,L=n.padding,I=L===void 0?0:L,m=pi(typeof I!="number"?I:Ei(I,kt)),p=E===Pt?ti:Pt,T=t.rects.popper,h=t.elements[k?p:E],C=qc(Et(h)?h:h.contextElement||it(t.elements.popper),c,f,o),y=Rt(t.elements.reference),D=Ai({reference:y,element:T,strategy:"absolute",placement:s}),O=Or(Object.assign({},T,D)),M=E===Pt?O:y,F={top:C.top-M.top+m.top,bottom:M.bottom-C.bottom+m.bottom,left:C.left-M.left+m.left,right:M.right-C.right+m.right},Y=t.modifiersData.offset;if(E===Pt&&Y){var x=Y[s];Object.keys(F).forEach(function(K){var _e=[ge,Ee].indexOf(K)>=0?1:-1,ve=[ae,Ee].indexOf(K)>=0?"y":"x";F[K]+=x[ve]*_e})}return F}function zc(t,e){e===void 0&&(e={});var n=e,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,_=c===void 0?mr:c,f=Mt(r),v=f?a?_r:_r.filter(function(k){return Mt(k)===f}):kt,E=v.filter(function(k){return _.indexOf(k)>=0});E.length===0&&(E=v);var N=E.reduce(function(k,L){return k[L]=Vt(t,{placement:L,boundary:s,rootBoundary:i,padding:o})[Fe(L)],k},{});return Object.keys(N).sort(function(k,L){return N[k]-N[L]})}function Qc(t){if(Fe(t)===Tn)return[];var e=On(t);return[vi(t),e,vi(e)]}function Jc(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,c=n.fallbackPlacements,_=n.padding,f=n.boundary,v=n.rootBoundary,E=n.altBoundary,N=n.flipVariations,k=N===void 0?!0:N,L=n.allowedAutoPlacements,I=e.options.placement,m=Fe(I),p=m===I,T=c||(p||!k?[On(I)]:Qc(I)),h=[I].concat(T).reduce(function(Te,he){return Te.concat(Fe(he)===Tn?zc(e,{placement:he,boundary:f,rootBoundary:v,padding:_,flipVariations:k,allowedAutoPlacements:L}):he)},[]),C=e.rects.reference,y=e.rects.popper,D=new Map,O=!0,M=h[0],F=0;F<h.length;F++){var Y=h[F],x=Fe(Y),K=Mt(Y)===pt,_e=[ae,Ee].indexOf(x)>=0,ve=_e?"width":"height",X=Vt(e,{placement:Y,boundary:f,rootBoundary:v,altBoundary:E,padding:_}),te=_e?K?ge:le:K?Ee:ae;C[ve]>y[ve]&&(te=On(te));var He=On(te),me=[];if(i&&me.push(X[x]<=0),a&&me.push(X[te]<=0,X[He]<=0),me.every(function(Te){return Te})){M=Y,O=!1;break}D.set(Y,me)}if(O)for(var We=k?3:1,ce=function(he){var we=h.find(function(Ze){var ue=D.get(Ze);if(ue)return ue.slice(0,he).every(function(Pe){return Pe})});if(we)return M=we,"break"},Se=We;Se>0;Se--){var xe=ce(Se);if(xe==="break")break}e.placement!==M&&(e.modifiersData[r]._skip=!0,e.placement=M,e.reset=!0)}}const yi={name:"flip",enabled:!0,phase:"main",fn:Jc,requiresIfExists:["offset"],data:{_skip:!1}};function Oi(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ci(t){return[ae,ge,Ee,le].some(function(e){return t[e]>=0})}function Zc(t){var e=t.state,n=t.name,r=e.rects.reference,s=e.rects.popper,i=e.modifiersData.preventOverflow,o=Vt(e,{elementContext:"reference"}),a=Vt(e,{altBoundary:!0}),c=Oi(o,r),_=Oi(a,s,i),f=Ci(c),v=Ci(_);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:_,isReferenceHidden:f,hasPopperEscaped:v},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const Li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zc};function eu(t,e,n){var r=Fe(t),s=[le,ae].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[le,ge].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function tu(t){var e=t.state,n=t.options,r=t.name,s=n.offset,i=s===void 0?[0,0]:s,o=mr.reduce(function(f,v){return f[v]=eu(v,e.rects,i),f},{}),a=o[e.placement],c=a.x,_=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=_),e.modifiersData[r]=o}const Ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tu};function nu(t){var e=t.state,n=t.name;e.modifiersData[n]=Ai({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Cr={name:"popperOffsets",enabled:!0,phase:"read",fn:nu,data:{}};function ru(t){return t==="x"?"y":"x"}function su(t){var e=t.state,n=t.options,r=t.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,c=n.boundary,_=n.rootBoundary,f=n.altBoundary,v=n.padding,E=n.tether,N=E===void 0?!0:E,k=n.tetherOffset,L=k===void 0?0:k,I=Vt(e,{boundary:c,rootBoundary:_,padding:v,altBoundary:f}),m=Fe(e.placement),p=Mt(e.placement),T=!p,h=br(m),C=ru(h),y=e.modifiersData.popperOffsets,D=e.rects.reference,O=e.rects.popper,M=typeof L=="function"?L(Object.assign({},e.rects,{placement:e.placement})):L,F=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),Y=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,x={x:0,y:0};if(y){if(i){var K,_e=h==="y"?ae:le,ve=h==="y"?Ee:ge,X=h==="y"?"height":"width",te=y[h],He=te+I[_e],me=te-I[ve],We=N?-O[X]/2:0,ce=p===pt?D[X]:O[X],Se=p===pt?-O[X]:-D[X],xe=e.elements.arrow,Te=N&&xe?gr(xe):{width:0,height:0},he=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:hi(),we=he[_e],Ze=he[ve],ue=nn(0,D[X],Te[X]),Pe=T?D[X]/2-We-ue-we-F.mainAxis:ce-ue-we-F.mainAxis,Ye=T?-D[X]/2+We+ue+Ze+F.mainAxis:Se+ue+Ze+F.mainAxis,$e=e.elements.arrow&&tn(e.elements.arrow),At=$e?h==="y"?$e.clientTop||0:$e.clientLeft||0:0,d=(K=Y==null?void 0:Y[h])!=null?K:0,u=te+Pe-d-At,g=te+Ye-d,w=nn(N?Nn(He,u):He,te,N?gt(me,g):me);y[h]=w,x[h]=w-te}if(a){var V,H=h==="x"?ae:le,De=h==="x"?Ee:ge,ne=y[C],Xt=C==="y"?"height":"width",Wn=ne+I[H],xn=ne-I[De],fn=[ae,le].indexOf(m)!==-1,z=(V=Y==null?void 0:Y[C])!=null?V:0,b=fn?Wn:ne-D[Xt]-O[Xt]-z+F.altAxis,S=fn?ne+D[Xt]+O[Xt]-z-F.altAxis:xn,U=N&&fn?Rc(b,ne,S):nn(N?b:Wn,ne,N?S:xn);y[C]=U,x[C]=U-ne}e.modifiersData[r]=x}}const Si={name:"preventOverflow",enabled:!0,phase:"main",fn:su,requiresIfExists:["offset"]};function iu(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ou(t){return t===be(t)||!Oe(t)?Nr(t):iu(t)}function au(t){var e=t.getBoundingClientRect(),n=$t(e.width)/t.offsetWidth||1,r=$t(e.height)/t.offsetHeight||1;return n!==1||r!==1}function lu(t,e,n){n===void 0&&(n=!1);var r=Oe(e),s=Oe(e)&&au(e),i=it(e),o=Rt(t,s,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Ve(e)!=="body"||yr(i))&&(a=ou(e)),Oe(e)?(c=Rt(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):i&&(c.x=Ar(i))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function cu(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var c=e.get(a);c&&s(c)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||s(i)}),r}function uu(t){var e=cu(t);return di.reduce(function(n,r){return n.concat(e.filter(function(s){return s.phase===r}))},[])}function du(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function fu(t){var e=t.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Di={placement:"bottom",modifiers:[],strategy:"absolute"};function ki(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Cn(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,s=e.defaultOptions,i=s===void 0?Di:s;return function(a,c,_){_===void 0&&(_=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Di,i),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},v=[],E=!1,N={state:f,setOptions:function(m){var p=typeof m=="function"?m(f.options):m;L(),f.options=Object.assign({},i,f.options,p),f.scrollParents={reference:Et(a)?rn(a):a.contextElement?rn(a.contextElement):[],popper:rn(c)};var T=uu(fu([].concat(r,f.options.modifiers)));return f.orderedModifiers=T.filter(function(h){return h.enabled}),k(),N.update()},forceUpdate:function(){if(!E){var m=f.elements,p=m.reference,T=m.popper;if(ki(p,T)){f.rects={reference:lu(p,tn(T),f.options.strategy==="fixed"),popper:gr(T)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(F){return f.modifiersData[F.name]=Object.assign({},F.data)});for(var h=0;h<f.orderedModifiers.length;h++){if(f.reset===!0){f.reset=!1,h=-1;continue}var C=f.orderedModifiers[h],y=C.fn,D=C.options,O=D===void 0?{}:D,M=C.name;typeof y=="function"&&(f=y({state:f,options:O,name:M,instance:N})||f)}}}},update:du(function(){return new Promise(function(I){N.forceUpdate(),I(f)})}),destroy:function(){L(),E=!0}};if(!ki(a,c))return N;N.setOptions(_).then(function(I){!E&&_.onFirstUpdate&&_.onFirstUpdate(I)});function k(){f.orderedModifiers.forEach(function(I){var m=I.name,p=I.options,T=p===void 0?{}:p,h=I.effect;if(typeof h=="function"){var C=h({state:f,name:m,instance:N,options:T}),y=function(){};v.push(C||y)}})}function L(){v.forEach(function(I){return I()}),v=[]}return N}}var _u=Cn(),mu=[Tr,Cr,vr,pr],hu=Cn({defaultModifiers:mu}),pu=[Tr,Cr,vr,pr,Ii,yi,Si,gi,Li],Lr=Cn({defaultModifiers:pu});const wi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ai,afterRead:si,afterWrite:ui,applyStyles:pr,arrow:gi,auto:Tn,basePlacements:kt,beforeMain:ii,beforeRead:ni,beforeWrite:li,bottom:Ee,clippingParents:ei,computeStyles:vr,createPopper:Lr,createPopperBase:_u,createPopperLite:hu,detectOverflow:Vt,end:wt,eventListeners:Tr,flip:yi,hide:Li,left:le,main:oi,modifierPhases:di,offset:Ii,placements:mr,popper:Pt,popperGenerator:Cn,popperOffsets:Cr,preventOverflow:Si,read:ri,reference:ti,right:ge,start:pt,top:ae,variationPlacements:_r,viewport:fr,write:ci},Symbol.toStringTag,{value:"Module"}));/*!
21
+ */const yl="9.9.0";function Ol(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ge().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ge().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ge().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ge().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ge().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ws=oe.__EXTEND_POINT__,rt=jn(Ws),ye={FALLBACK_TO_ROOT:Ws,NOT_SUPPORTED_PRESERVE:rt(),NOT_SUPPORTED_FORMATTER:rt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:rt(),NOT_SUPPORTED_GET_CHOICE_INDEX:rt(),COMPONENT_NAME_LEGACY_COMPATIBLE:rt(),NOT_FOUND_PARENT_SCOPE:rt(),IGNORE_OBJ_FLATTEN:rt(),NOTICE_DROP_ALLOW_COMPOSITION:rt()},Cl={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ye.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ye.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze"};function rr(t,...e){return Kn(Cl[t],...e)}const xs=ee.__EXTEND_POINT__,de=jn(xs),q={UNEXPECTED_RETURN_TYPE:xs,INVALID_ARGUMENT:de(),MUST_BE_CALL_SETUP_TOP:de(),NOT_INSTALLED:de(),NOT_AVAILABLE_IN_LEGACY_MODE:de(),REQUIRED_VALUE:de(),INVALID_VALUE:de(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:de(),NOT_INSTALLED_WITH_PROVIDE:de(),UNEXPECTED_ERROR:de(),NOT_COMPATIBLE_LEGACY_VUE_I18N:de(),BRIDGE_SUPPORT_VUE_2_ONLY:de(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:de(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:de(),__EXTEND_POINT__:de()};function st(t,...e){return Lt(t,null,process.env.NODE_ENV!=="production"?{messages:Ll,args:e}:void 0)}const Ll={[q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[q.INVALID_ARGUMENT]:"Invalid argument",[q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[q.NOT_INSTALLED]:"Need to install with `app.use` function",[q.UNEXPECTED_ERROR]:"Unexpected error",[q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[q.REQUIRED_VALUE]:"Required in value: {0}",[q.INVALID_VALUE]:"Invalid value",[q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},sr=je("__translateVNode"),ir=je("__datetimeParts"),or=je("__numberParts"),ar=je("__enableEmitter"),lr=je("__disableEmitter"),Il=je("__setPluralRules"),Ys=je("__injectWithOption"),cr=je("__dispose");function en(t){if(!W(t))return t;for(const e in t)if(mn(t,e))if(!e.includes("."))W(t[e])&&en(t[e]);else{const n=e.split("."),r=n.length-1;let s=t,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]={}),!W(s[n[o]])){process.env.NODE_ENV!=="production"&&et(rr(ye.IGNORE_OBJ_FLATTEN,{key:n[o]})),i=!0;break}s=s[n[o]]}i||(s[n[r]]=t[e],delete t[e]),W(s[n[r]])&&en(s[n[r]])}return t}function ur(t,e){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=e,o=B(n)?n:J(r)?{}:{[t]:{}};if(J(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:_}=a;c?(o[c]=o[c]||{},pn(_,o[c])):pn(_,o)}else P(a)&&pn(JSON.parse(a),o)}),s==null&&i)for(const a in o)mn(o,a)&&en(o[a]);return o}function Ks(t){return t.type}function Sl(t,e,n){let r=W(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=ur(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{t.mergeLocaleMessage(i,r[i])});{if(W(e.datetimeFormats)){const i=Object.keys(e.datetimeFormats);i.length&&i.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(W(e.numberFormats)){const i=Object.keys(e.numberFormats);i.length&&i.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function js(t){return l.createVNode(l.Text,null,t,0)}const Gs="__INTLIFY_META__",Xs=()=>[],Dl=()=>!1;let qs=0;function zs(t){return(e,n,r,s)=>t(n,r,l.getCurrentInstance()||void 0,s)}const kl=()=>{const t=l.getCurrentInstance();let e=null;return t&&(e=Ks(t)[Gs])?{[Gs]:e}:null};function wl(t={},e){const{__root:n,__injectWithOption:r}=t,s=n===void 0,i=t.flatJson,o=Ke?l.ref:l.shallowRef;let a=j(t.inheritLocale)?t.inheritLocale:!0;const c=o(n&&a?n.locale.value:P(t.locale)?t.locale:Jt),_=o(n&&a?n.fallbackLocale.value:P(t.fallbackLocale)||J(t.fallbackLocale)||B(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),f=o(ur(c.value,t)),v=o(B(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),E=o(B(t.numberFormats)?t.numberFormats:{[c.value]:{}});let N=n?n.missingWarn:j(t.missingWarn)||Ct(t.missingWarn)?t.missingWarn:!0,k=n?n.fallbackWarn:j(t.fallbackWarn)||Ct(t.fallbackWarn)?t.fallbackWarn:!0,L=n?n.fallbackRoot:j(t.fallbackRoot)?t.fallbackRoot:!0,I=!!t.fallbackFormat,m=G(t.missing)?t.missing:null,p=G(t.missing)?zs(t.missing):null,T=G(t.postTranslation)?t.postTranslation:null,h=n?n.warnHtmlMessage:j(t.warnHtmlMessage)?t.warnHtmlMessage:!0,C=!!t.escapeParameter;const y=n?n.modifiers:B(t.modifiers)?t.modifiers:{};let D=t.pluralRules||n&&n.pluralRules,O;O=(()=>{s&&As(null);const b={version:yl,locale:c.value,fallbackLocale:_.value,messages:f.value,modifiers:y,pluralRules:D,missing:p===null?void 0:p,missingWarn:N,fallbackWarn:k,fallbackFormat:I,unresolving:!0,postTranslation:T===null?void 0:T,warnHtmlMessage:h,escapeParameter:C,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};b.datetimeFormats=v.value,b.numberFormats=E.value,b.__datetimeFormatters=B(O)?O.__datetimeFormatters:void 0,b.__numberFormatters=B(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(b.__v_emitter=B(O)?O.__v_emitter:void 0);const S=ml(b);return s&&As(S),S})(),Zt(O,c.value,_.value);function F(){return[c.value,_.value,f.value,v.value,E.value]}const Y=l.computed({get:()=>c.value,set:b=>{c.value=b,O.locale=c.value}}),x=l.computed({get:()=>_.value,set:b=>{_.value=b,O.fallbackLocale=_.value,Zt(O,c.value,b)}}),K=l.computed(()=>f.value),_e=l.computed(()=>v.value),ve=l.computed(()=>E.value);function X(){return G(T)?T:null}function te(b){T=b,O.postTranslation=b}function He(){return m}function me(b){b!==null&&(p=zs(b)),m=b,O.missing=p}function We(b,S){return b!=="translate"||!S.resolvedMessage}const ce=(b,S,U,Q,yt,Yn)=>{F();let zt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=n?_l():void 0),zt=b(O)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(U!=="translate exists"&&re(zt)&&zt===En||U==="translate exists"&&!zt){const[Ot,nh]=S();if(process.env.NODE_ENV!=="production"&&n&&P(Ot)&&We(U,nh)&&(L&&(bn(k,Ot)||Os(N,Ot))&&et(rr(ye.FALLBACK_TO_ROOT,{key:Ot,type:U})),process.env.NODE_ENV!=="production")){const{__v_emitter:Vo}=O;Vo&&L&&Vo.emit("fallback",{type:U,key:Ot,to:"global",groupId:`${U}:${Ot}`})}return n&&L?Q(n):yt(Ot)}else{if(Yn(zt))return zt;throw st(q.UNEXPECTED_RETURN_TYPE)}};function Se(...b){return ce(S=>Reflect.apply(ks,null,[S,...b]),()=>er(...b),"translate",S=>Reflect.apply(S.t,S,[...b]),S=>S,S=>P(S))}function xe(...b){const[S,U,Q]=b;if(Q&&!W(Q))throw st(q.INVALID_ARGUMENT);return Se(S,U,se({resolvedMessage:!0},Q||{}))}function Te(...b){return ce(S=>Reflect.apply(Ms,null,[S,...b]),()=>tr(...b),"datetime format",S=>Reflect.apply(S.d,S,[...b]),()=>gn,S=>P(S))}function he(...b){return ce(S=>Reflect.apply(Bs,null,[S,...b]),()=>nr(...b),"number format",S=>Reflect.apply(S.n,S,[...b]),()=>gn,S=>P(S))}function we(b){return b.map(S=>P(S)||re(S)||j(S)?js(String(S)):S)}const ue={normalize:we,interpolate:b=>b,type:"vnode"};function Pe(...b){return ce(S=>{let U;const Q=S;try{Q.processor=ue,U=Reflect.apply(ks,null,[Q,...b])}finally{Q.processor=null}return U},()=>er(...b),"translate",S=>S[sr](...b),S=>[js(S)],S=>J(S))}function Ye(...b){return ce(S=>Reflect.apply(Bs,null,[S,...b]),()=>nr(...b),"number format",S=>S[or](...b),Xs,S=>P(S)||J(S))}function $e(...b){return ce(S=>Reflect.apply(Ms,null,[S,...b]),()=>tr(...b),"datetime format",S=>S[ir](...b),Xs,S=>P(S)||J(S))}function At(b){D=b,O.pluralRules=D}function d(b,S){return ce(()=>{if(!b)return!1;const U=P(S)?S:c.value,Q=w(U),yt=O.messageResolver(Q,b);return ht(yt)||Ae(yt)||P(yt)},()=>[b],"translate exists",U=>Reflect.apply(U.te,U,[b,S]),Dl,U=>j(U))}function u(b){let S=null;const U=ms(O,_.value,c.value);for(let Q=0;Q<U.length;Q++){const yt=f.value[U[Q]]||{},Yn=O.messageResolver(yt,b);if(Yn!=null){S=Yn;break}}return S}function g(b){const S=u(b);return S??(n?n.tm(b)||{}:{})}function w(b){return f.value[b]||{}}function V(b,S){if(i){const U={[b]:S};for(const Q in U)mn(U,Q)&&en(U[Q]);S=U[b]}f.value[b]=S,O.messages=f.value}function H(b,S){f.value[b]=f.value[b]||{};const U={[b]:S};for(const Q in U)mn(U,Q)&&en(U[Q]);S=U[b],pn(S,f.value[b]),O.messages=f.value}function De(b){return v.value[b]||{}}function ne(b,S){v.value[b]=S,O.datetimeFormats=v.value,Fs(O,b,S)}function qt(b,S){v.value[b]=se(v.value[b]||{},S),O.datetimeFormats=v.value,Fs(O,b,S)}function Wn(b){return E.value[b]||{}}function xn(b,S){E.value[b]=S,O.numberFormats=E.value,Hs(O,b,S)}function fn(b,S){E.value[b]=se(E.value[b]||{},S),O.numberFormats=E.value,Hs(O,b,S)}qs++,n&&Ke&&(l.watch(n.locale,b=>{a&&(c.value=b,O.locale=b,Zt(O,c.value,_.value))}),l.watch(n.fallbackLocale,b=>{a&&(_.value=b,O.fallbackLocale=b,Zt(O,c.value,_.value))}));const z={id:qs,locale:Y,fallbackLocale:x,get inheritLocale(){return a},set inheritLocale(b){a=b,b&&n&&(c.value=n.locale.value,_.value=n.fallbackLocale.value,Zt(O,c.value,_.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:K,get modifiers(){return y},get pluralRules(){return D||{}},get isGlobal(){return s},get missingWarn(){return N},set missingWarn(b){N=b,O.missingWarn=N},get fallbackWarn(){return k},set fallbackWarn(b){k=b,O.fallbackWarn=k},get fallbackRoot(){return L},set fallbackRoot(b){L=b},get fallbackFormat(){return I},set fallbackFormat(b){I=b,O.fallbackFormat=I},get warnHtmlMessage(){return h},set warnHtmlMessage(b){h=b,O.warnHtmlMessage=b},get escapeParameter(){return C},set escapeParameter(b){C=b,O.escapeParameter=b},t:Se,getLocaleMessage:w,setLocaleMessage:V,mergeLocaleMessage:H,getPostTranslationHandler:X,setPostTranslationHandler:te,getMissingHandler:He,setMissingHandler:me,[Il]:At};return z.datetimeFormats=_e,z.numberFormats=ve,z.rt=xe,z.te=d,z.tm=g,z.d=Te,z.n=he,z.getDateTimeFormat=De,z.setDateTimeFormat=ne,z.mergeDateTimeFormat=qt,z.getNumberFormat=Wn,z.setNumberFormat=xn,z.mergeNumberFormat=fn,z[Ys]=r,z[sr]=Pe,z[ir]=$e,z[or]=Ye,process.env.NODE_ENV!=="production"&&(z[ar]=b=>{O.__v_emitter=b},z[lr]=()=>{O.__v_emitter=void 0}),z}const dr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Pl({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,s)=>[...r,...s.type===l.Fragment?s.children:[s]],[]):e.reduce((n,r)=>{const s=t[r];return s&&(n[r]=s()),n},{})}function Qs(t){return l.Fragment}se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>re(t)||!isNaN(t)}},dr);function $l(t){return J(t)&&!P(t[0])}function Js(t,e,n,r){const{slots:s,attrs:i}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),P(t.format)?o.key=t.format:W(t.format)&&(P(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((E,N)=>n.includes(N)?se({},E,{[N]:t.format[N]}):E,{}));const c=r(t.value,o,a);let _=[o.key];J(c)?_=c.map((E,N)=>{const k=s[E.type],L=k?k({[E.type]:E.value,index:N,parts:c}):[E.value];return $l(L)&&(L[0].key=`${E.type}-${N}`),L}):P(c)&&(_=[c]);const f=se({},i),v=P(t.tag)||W(t.tag)?t.tag:Qs();return l.h(v,f,_)}}se({value:{type:Number,required:!0},format:{type:[String,Object]}},dr),se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},dr);function Zs(t,e){}const Rl=je("global-vue-i18n");function vn(t={}){const e=l.getCurrentInstance();if(e==null)throw st(q.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw st(q.NOT_INSTALLED);const n=Ml(e),r=Fl(n),s=Ks(e),i=Vl(t,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw st(q.NOT_AVAILABLE_IN_LEGACY_MODE);return Wl(e,i,r,t)}if(i==="global")return Sl(r,t,s),r;if(i==="parent"){let c=Bl(n,e,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&et(rr(ye.NOT_FOUND_PARENT_SCOPE)),c=r),c}const o=n;let a=o.__getInstance(e);if(a==null){const c=se({},t);"__i18n"in s&&(c.__i18n=s.__i18n),r&&(c.__root=r),a=wl(c),o.__composerExtend&&(a[cr]=o.__composerExtend(a)),Hl(o,e,a),o.__setInstance(e,a)}return a}function Ml(t){{const e=l.inject(t.isCE?Rl:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw st(t.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return e}}function Vl(t,e){return _n(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Fl(t){return t.mode==="composition"?t.global:t.global.__composer}function Bl(t,e,n=!1){let r=null;const s=e.root;let i=Ul(e,n);for(;i!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Ys]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function Ul(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Hl(t,e,n){let r=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,r=ra();const s=n;s[ar]&&s[ar](r),r.on("*",Zs)}},e),l.onUnmounted(()=>{const s=n;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",Zs),s[lr]&&s[lr](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const i=s[cr];i&&(i(),delete s[cr])},e)}function Wl(t,e,n,r={}){const s=e==="local",i=l.shallowRef(null);if(s&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw st(q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=j(r.inheritLocale)?r.inheritLocale:!P(r.locale),a=l.ref(!s||o?n.locale.value:P(r.locale)?r.locale:Jt),c=l.ref(!s||o?n.fallbackLocale.value:P(r.fallbackLocale)||J(r.fallbackLocale)||B(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),_=l.ref(ur(a.value,r)),f=l.ref(B(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),v=l.ref(B(r.numberFormats)?r.numberFormats:{[a.value]:{}}),E=s?n.missingWarn:j(r.missingWarn)||Ct(r.missingWarn)?r.missingWarn:!0,N=s?n.fallbackWarn:j(r.fallbackWarn)||Ct(r.fallbackWarn)?r.fallbackWarn:!0,k=s?n.fallbackRoot:j(r.fallbackRoot)?r.fallbackRoot:!0,L=!!r.fallbackFormat,I=G(r.missing)?r.missing:null,m=G(r.postTranslation)?r.postTranslation:null,p=s?n.warnHtmlMessage:j(r.warnHtmlMessage)?r.warnHtmlMessage:!0,T=!!r.escapeParameter,h=s?n.modifiers:B(r.modifiers)?r.modifiers:{},C=r.pluralRules||s&&n.pluralRules;function y(){return[a.value,c.value,_.value,f.value,v.value]}const D=l.computed({get:()=>i.value?i.value.locale.value:a.value,set:u=>{i.value&&(i.value.locale.value=u),a.value=u}}),O=l.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:u=>{i.value&&(i.value.fallbackLocale.value=u),c.value=u}}),M=l.computed(()=>i.value?i.value.messages.value:_.value),F=l.computed(()=>f.value),Y=l.computed(()=>v.value);function x(){return i.value?i.value.getPostTranslationHandler():m}function K(u){i.value&&i.value.setPostTranslationHandler(u)}function _e(){return i.value?i.value.getMissingHandler():I}function ve(u){i.value&&i.value.setMissingHandler(u)}function X(u){return y(),u()}function te(...u){return i.value?X(()=>Reflect.apply(i.value.t,null,[...u])):X(()=>"")}function He(...u){return i.value?Reflect.apply(i.value.rt,null,[...u]):""}function me(...u){return i.value?X(()=>Reflect.apply(i.value.d,null,[...u])):X(()=>"")}function We(...u){return i.value?X(()=>Reflect.apply(i.value.n,null,[...u])):X(()=>"")}function ce(u){return i.value?i.value.tm(u):{}}function Se(u,g){return i.value?i.value.te(u,g):!1}function xe(u){return i.value?i.value.getLocaleMessage(u):{}}function Te(u,g){i.value&&(i.value.setLocaleMessage(u,g),_.value[u]=g)}function he(u,g){i.value&&i.value.mergeLocaleMessage(u,g)}function we(u){return i.value?i.value.getDateTimeFormat(u):{}}function Ze(u,g){i.value&&(i.value.setDateTimeFormat(u,g),f.value[u]=g)}function ue(u,g){i.value&&i.value.mergeDateTimeFormat(u,g)}function Pe(u){return i.value?i.value.getNumberFormat(u):{}}function Ye(u,g){i.value&&(i.value.setNumberFormat(u,g),v.value[u]=g)}function $e(u,g){i.value&&i.value.mergeNumberFormat(u,g)}const At={get id(){return i.value?i.value.id:-1},locale:D,fallbackLocale:O,messages:M,datetimeFormats:F,numberFormats:Y,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(u){i.value&&(i.value.inheritLocale=u)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(_.value)},get modifiers(){return i.value?i.value.modifiers:h},get pluralRules(){return i.value?i.value.pluralRules:C},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:E},set missingWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackWarn(){return i.value?i.value.fallbackWarn:N},set fallbackWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackRoot(){return i.value?i.value.fallbackRoot:k},set fallbackRoot(u){i.value&&(i.value.fallbackRoot=u)},get fallbackFormat(){return i.value?i.value.fallbackFormat:L},set fallbackFormat(u){i.value&&(i.value.fallbackFormat=u)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:p},set warnHtmlMessage(u){i.value&&(i.value.warnHtmlMessage=u)},get escapeParameter(){return i.value?i.value.escapeParameter:T},set escapeParameter(u){i.value&&(i.value.escapeParameter=u)},t:te,getPostTranslationHandler:x,setPostTranslationHandler:K,getMissingHandler:_e,setMissingHandler:ve,rt:He,d:me,n:We,tm:ce,te:Se,getLocaleMessage:xe,setLocaleMessage:Te,mergeLocaleMessage:he,getDateTimeFormat:we,setDateTimeFormat:Ze,mergeDateTimeFormat:ue,getNumberFormat:Pe,setNumberFormat:Ye,mergeNumberFormat:$e};function d(u){u.locale.value=a.value,u.fallbackLocale.value=c.value,Object.keys(_.value).forEach(g=>{u.mergeLocaleMessage(g,_.value[g])}),Object.keys(f.value).forEach(g=>{u.mergeDateTimeFormat(g,f.value[g])}),Object.keys(v.value).forEach(g=>{u.mergeNumberFormat(g,v.value[g])}),u.escapeParameter=T,u.fallbackFormat=L,u.fallbackRoot=k,u.fallbackWarn=N,u.missingWarn=E,u.warnHtmlMessage=p}return l.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw st(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=i.value=t.proxy.$i18n.__composer;e==="global"?(a.value=u.locale.value,c.value=u.fallbackLocale.value,_.value=u.messages.value,f.value=u.datetimeFormats.value,v.value=u.numberFormats.value):s&&d(u)}),At}if(Ol(),__INTLIFY_JIT_COMPILATION__?gs(gl):gs(El),cl(xa),ul(ms),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ge();t.__INTLIFY__=!0,Ja(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function kt(t){const{t:e}=vn(),n=l.ref(null);function r(a){const c=t.value;c!==null&&(a!==null?c.setCustomValidity(a):c.setCustomValidity(""),n.value=s(c))}function s(a){if(a.validity.valueMissing)return e("validator.error.value_missing");if(a.validity.tooShort)return e("validator.error.too_short",[a.minLength]);if(a.validity.tooLong)return e("validator.error.too_long",[a.maxLength]);if(a.validity.rangeUnderflow)return e("validator.error.range_underflow",[a.min]);if(a.validity.rangeOverflow)return e("validator.error.range_overflow",[a.max]);if(a.validity.typeMismatch){if(a.type==="email")return e("validator.error.type_mismatch.email");if(a.type==="url")return e("validator.error.type_mismatch.url")}if(a.validity.badInput){if(a.type==="number")return e("validator.error.bad_input.number");if(a.type==="date")return e("validator.error.bad_input.date")}if(a.validity.patternMismatch)return e("validator.error.pattern_mismatch");if(a.validity.stepMismatch){const c=Math.floor(Number(a.value)/Number(a.step))*Number(a.step),_=Math.ceil(Number(a.value)/Number(a.step))*Number(a.step);return e("validator.error.step_mismatch",[c,_])}return a.validity.customError?a.validationMessage:null}function i(a){a.target!==null&&(n.value=s(a.target))}function o(){return n.value}return{onInvalid:i,getInvalidMessage:o,setCustomError:r}}const xl=l.defineComponent({name:"BsInput",props:{modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:kt(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Yl=["for","textContent"],Kl=["id","value","aria-describedby"],jl=["textContent"],Gl=["id","textContent"];function Xl(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,Yl)):l.createCommentVNode("",!0),l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue,class:"form-control"},t.$attrs,{"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Kl),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,jl)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Gl)):l.createCommentVNode("",!0)],64)}const ql=Ne(xl,[["render",Xl]]),zl=l.defineComponent({name:"BsCheckbox",props:{value:{type:String,default:null},modelValue:{type:[Array,Boolean],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},classContainer:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:kt(t)}},computed:{isChecked(){return this.modelValue instanceof Array?this.modelValue.includes(this.value):this.modelValue===!0}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const n=t.target.checked;if(this.modelValue instanceof Array){const r=[...this.modelValue];n?r.push(this.value):r.splice(r.indexOf(this.value),1),this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",n)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Ql=["id","value","checked","aria-describedby"],Jl=["for","textContent"],Zl=["textContent"],ec=["id","textContent"];function tc(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["form-check",t.classContainer])},[l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{type:"checkbox",class:"form-check-input",checked:t.isChecked,"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Ql),t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-check-label",textContent:l.toDisplayString(t.label)},null,8,Jl)):l.createCommentVNode("",!0),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Zl)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,ec)):l.createCommentVNode("",!0)],2)}const nc=Ne(zl,[["render",tc]]),rc=l.defineComponent({name:"BsTextarea",props:{modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:kt(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),sc=["for","textContent"],ic=["id","value","aria-describedby"],oc=["textContent"],ac=["id","textContent"];function lc(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,sc)):l.createCommentVNode("",!0),l.createElementVNode("textarea",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{class:"form-control","aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,ic),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,oc)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,ac)):l.createCommentVNode("",!0)],64)}const cc=Ne(rc,[["render",lc]]),uc=l.defineComponent({name:"BsPaginator",props:{totalCount:{type:Number,required:!0},pageSize:{type:Number,required:!0},currentPage:{type:Number,required:!0},maxVisiblePage:{type:Number,default:5},firstPageLabel:{type:String,default:"«"},previousPageLabel:{type:String,default:"‹"},nextPageLabel:{type:String,default:"›"},lastPageLabel:{type:String,default:"»"}},emits:["pageChanged"],methods:{getPageCount(){return Math.ceil(this.totalCount/this.pageSize)},getVisiblePages(){const t=[],e=this.getPageRange();for(let n=e.beginPage;n<=e.endPage;n+=1)t.push(n+1);return t},isPageActive(t){return t===this.currentPage},onPageClick(t){this.isPageActive(t)||this.$emit("pageChanged",t)},getPageRange(){let t=Math.max(0,this.currentPage-this.maxVisiblePage/2),e=t+this.maxVisiblePage-1;return e>=this.getPageCount()&&(e=this.getPageCount()-1,t=Math.max(0,e-this.maxVisiblePage+1)),{beginPage:Math.floor(t),endPage:Math.floor(e)}}}}),dc={class:"pagination"},fc=["textContent"],_c=["textContent"],mc=["onClick","textContent"],hc=["textContent"],pc=["textContent"];function Ec(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("nav",null,[l.createElementVNode("ul",dc,[l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-first",{disabled:t.isPageActive(1)}])},[l.createElementVNode("div",{class:"page-link",onClick:e[0]||(e[0]=o=>t.onPageClick(1)),textContent:l.toDisplayString(t.firstPageLabel)},null,8,fc)],2),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-previous",{disabled:t.isPageActive(1)}])},[l.createElementVNode("div",{class:"page-link",onClick:e[1]||(e[1]=o=>t.onPageClick(t.currentPage-1)),textContent:l.toDisplayString(t.previousPageLabel)},null,8,_c)],2),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.getVisiblePages(),(o,a)=>(l.openBlock(),l.createElementBlock("li",{key:a,class:l.normalizeClass(["page-item page-item-number",{active:t.isPageActive(o)}])},[l.createElementVNode("div",{class:"page-link",onClick:c=>t.onPageClick(o),textContent:l.toDisplayString(o)},null,8,mc)],2))),128)),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-next",{disabled:t.isPageActive(t.getPageCount())}])},[l.createElementVNode("div",{class:"page-link",onClick:e[2]||(e[2]=o=>t.onPageClick(t.currentPage+1)),textContent:l.toDisplayString(t.nextPageLabel)},null,8,hc)],2),l.createElementVNode("li",{class:l.normalizeClass(["page-item page-item-last",{disabled:t.isPageActive(t.getPageCount())}])},[l.createElementVNode("div",{class:"page-link",onClick:e[3]||(e[3]=o=>t.onPageClick(t.getPageCount())),textContent:l.toDisplayString(t.lastPageLabel)},null,8,pc)],2)])])}const gc=Ne(uc,[["render",Ec],["__scopeId","data-v-ff85ae67"]]),bc=l.defineComponent({name:"BsTable",props:{fields:{type:Array,required:!0},items:{type:Array,required:!0},isLoading:{type:Boolean,default:!1},orderBy:{type:String,default:void 0},sortDesc:{type:Boolean,default:void 0},thClass:{type:String,default:void 0},tdClass:{type:String,default:void 0}},emits:["orderChanged"],methods:{isActiveOrderBy(t){return t===this.orderBy},isSortableField(t){return t.sort===void 0||t.sort},getSortIconClass(){if(this.sortDesc===void 0)throw new Error("Sort desc value is null, cannot calculate the sort icon!");return this.sortDesc?"bi bi-caret-up-fill":"bi bi-caret-down-fill"},calcSortDesc(t){return this.sortDesc===void 0?null:this.isOrderByChanged(t)?!1:!this.sortDesc},isOrderByChanged(t){return this.orderBy!==t},onHeadClick(t){this.isSortableField(t)&&this.$emit("orderChanged",{sortDesc:this.calcSortDesc(t.key),orderBy:t.key})}}}),vc=t=>(l.pushScopeId("data-v-e8d4b4dc"),t=t(),l.popScopeId(),t),Tc={class:"table"},Nc=["onClick"],Ac={key:0},yc=["colspan"],Oc=vc(()=>l.createElementVNode("div",{class:"d-flex justify-content-center p-2"},[l.createElementVNode("div",{class:"spinner-border spinner-border-sm"})],-1)),Cc={key:1},Lc=["colspan"],Ic={class:"text-center text-muted small"};function Sc(t,e,n,r,s,i){const o=l.resolveDirective("t");return l.openBlock(),l.createElementBlock("table",Tc,[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.fields,a=>(l.openBlock(),l.createElementBlock("th",{key:a.key,class:l.normalizeClass({"cursor-pointer":t.isSortableField(a),"text-decoration-underline":t.isActiveOrderBy(a.key),thClass:t.thClass}),onClick:c=>t.onHeadClick(a)},[l.renderSlot(t.$slots,"tr",{},()=>[l.createTextVNode(l.toDisplayString(a.label)+" ",1),t.isActiveOrderBy(a.key)&&t.sortDesc!==void 0?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(t.getSortIconClass())},null,2)):l.createCommentVNode("",!0)],!0)],10,Nc))),128))])]),l.createElementVNode("tbody",null,[t.isLoading?(l.openBlock(),l.createElementBlock("tr",Ac,[l.createElementVNode("td",{colspan:t.fields.length},[l.renderSlot(t.$slots,"loading",{},()=>[Oc],!0)],8,yc)])):t.items.length===0?(l.openBlock(),l.createElementBlock("tr",Cc,[l.createElementVNode("td",{colspan:t.fields.length},[l.renderSlot(t.$slots,"empty",{},()=>[l.withDirectives(l.createElementVNode("div",Ic,null,512),[[o,"table.empty_text"]])],!0)],8,Lc)])):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:2},l.renderList(t.items,(a,c)=>(l.openBlock(),l.createElementBlock("tr",{key:c,class:l.normalizeClass(a.trClass)},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.fields,_=>(l.openBlock(),l.createElementBlock("td",{key:_.key,class:l.normalizeClass(t.tdClass)},[l.renderSlot(t.$slots,"td",{key:c,field:_.key,row:a,value:_.key in a?a[_.key]:null},()=>[l.createTextVNode(l.toDisplayString(a[_.key]),1)],!0)],2))),128))],2))),128))])])}const Dc=Ne(bc,[["render",Sc],["__scopeId","data-v-e8d4b4dc"]]);var ae="top",Ee="bottom",ge="right",le="left",Tn="auto",wt=[ae,Ee,ge,le],pt="start",Pt="end",ei="clippingParents",fr="viewport",$t="popper",ti="reference",_r=wt.reduce(function(t,e){return t.concat([e+"-"+pt,e+"-"+Pt])},[]),mr=[].concat(wt,[Tn]).reduce(function(t,e){return t.concat([e,e+"-"+pt,e+"-"+Pt])},[]),ni="beforeRead",ri="read",si="afterRead",ii="beforeMain",oi="main",ai="afterMain",li="beforeWrite",ci="write",ui="afterWrite",di=[ni,ri,si,ii,oi,ai,li,ci,ui];function Ve(t){return t?(t.nodeName||"").toLowerCase():null}function be(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Et(t){var e=be(t).Element;return t instanceof e||t instanceof Element}function Oe(t){var e=be(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function hr(t){if(typeof ShadowRoot>"u")return!1;var e=be(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function kc(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},s=e.attributes[n]||{},i=e.elements[n];!Oe(i)||!Ve(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function wc(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var s=e.elements[r],i=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(c,_){return c[_]="",c},{});!Oe(s)||!Ve(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(c){s.removeAttribute(c)}))})}}const pr={name:"applyStyles",enabled:!0,phase:"write",fn:kc,effect:wc,requires:["computeStyles"]};function Fe(t){return t.split("-")[0]}var gt=Math.max,Nn=Math.min,Rt=Math.round;function Er(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function fi(){return!/^((?!chrome|android).)*safari/i.test(Er())}function Mt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),s=1,i=1;e&&Oe(t)&&(s=t.offsetWidth>0&&Rt(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Rt(r.height)/t.offsetHeight||1);var o=Et(t)?be(t):window,a=o.visualViewport,c=!fi()&&n,_=(r.left+(c&&a?a.offsetLeft:0))/s,f=(r.top+(c&&a?a.offsetTop:0))/i,v=r.width/s,E=r.height/i;return{width:v,height:E,top:f,right:_+v,bottom:f+E,left:_,x:_,y:f}}function gr(t){var e=Mt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function _i(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&hr(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qe(t){return be(t).getComputedStyle(t)}function Pc(t){return["table","td","th"].indexOf(Ve(t))>=0}function it(t){return((Et(t)?t.ownerDocument:t.document)||window.document).documentElement}function An(t){return Ve(t)==="html"?t:t.assignedSlot||t.parentNode||(hr(t)?t.host:null)||it(t)}function mi(t){return!Oe(t)||qe(t).position==="fixed"?null:t.offsetParent}function $c(t){var e=/firefox/i.test(Er()),n=/Trident/i.test(Er());if(n&&Oe(t)){var r=qe(t);if(r.position==="fixed")return null}var s=An(t);for(hr(s)&&(s=s.host);Oe(s)&&["html","body"].indexOf(Ve(s))<0;){var i=qe(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function tn(t){for(var e=be(t),n=mi(t);n&&Pc(n)&&qe(n).position==="static";)n=mi(n);return n&&(Ve(n)==="html"||Ve(n)==="body"&&qe(n).position==="static")?e:n||$c(t)||e}function br(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function nn(t,e,n){return gt(t,Nn(e,n))}function Rc(t,e,n){var r=nn(t,e,n);return r>n?n:r}function hi(){return{top:0,right:0,bottom:0,left:0}}function pi(t){return Object.assign({},hi(),t)}function Ei(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Mc=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,pi(typeof e!="number"?e:Ei(e,wt))};function Vc(t){var e,n=t.state,r=t.name,s=t.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Fe(n.placement),c=br(a),_=[le,ge].indexOf(a)>=0,f=_?"height":"width";if(!(!i||!o)){var v=Mc(s.padding,n),E=gr(i),N=c==="y"?ae:le,k=c==="y"?Ee:ge,L=n.rects.reference[f]+n.rects.reference[c]-o[c]-n.rects.popper[f],I=o[c]-n.rects.reference[c],m=tn(i),p=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,T=L/2-I/2,h=v[N],C=p-E[f]-v[k],y=p/2-E[f]/2+T,D=nn(h,y,C),O=c;n.modifiersData[r]=(e={},e[O]=D,e.centerOffset=D-y,e)}}function Fc(t){var e=t.state,n=t.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=e.elements.popper.querySelector(s),!s)||_i(e.elements.popper,s)&&(e.elements.arrow=s))}const gi={name:"arrow",enabled:!0,phase:"main",fn:Vc,effect:Fc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Vt(t){return t.split("-")[1]}var Bc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Uc(t,e){var n=t.x,r=t.y,s=e.devicePixelRatio||1;return{x:Rt(n*s)/s||0,y:Rt(r*s)/s||0}}function bi(t){var e,n=t.popper,r=t.popperRect,s=t.placement,i=t.variation,o=t.offsets,a=t.position,c=t.gpuAcceleration,_=t.adaptive,f=t.roundOffsets,v=t.isFixed,E=o.x,N=E===void 0?0:E,k=o.y,L=k===void 0?0:k,I=typeof f=="function"?f({x:N,y:L}):{x:N,y:L};N=I.x,L=I.y;var m=o.hasOwnProperty("x"),p=o.hasOwnProperty("y"),T=le,h=ae,C=window;if(_){var y=tn(n),D="clientHeight",O="clientWidth";if(y===be(n)&&(y=it(n),qe(y).position!=="static"&&a==="absolute"&&(D="scrollHeight",O="scrollWidth")),y=y,s===ae||(s===le||s===ge)&&i===Pt){h=Ee;var M=v&&y===C&&C.visualViewport?C.visualViewport.height:y[D];L-=M-r.height,L*=c?1:-1}if(s===le||(s===ae||s===Ee)&&i===Pt){T=ge;var F=v&&y===C&&C.visualViewport?C.visualViewport.width:y[O];N-=F-r.width,N*=c?1:-1}}var Y=Object.assign({position:a},_&&Bc),x=f===!0?Uc({x:N,y:L},be(n)):{x:N,y:L};if(N=x.x,L=x.y,c){var K;return Object.assign({},Y,(K={},K[h]=p?"0":"",K[T]=m?"0":"",K.transform=(C.devicePixelRatio||1)<=1?"translate("+N+"px, "+L+"px)":"translate3d("+N+"px, "+L+"px, 0)",K))}return Object.assign({},Y,(e={},e[h]=p?L+"px":"",e[T]=m?N+"px":"",e.transform="",e))}function Hc(t){var e=t.state,n=t.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,c=a===void 0?!0:a,_={placement:Fe(e.placement),variation:Vt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,bi(Object.assign({},_,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,bi(Object.assign({},_,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const vr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hc,data:{}};var yn={passive:!0};function Wc(t){var e=t.state,n=t.instance,r=t.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,c=be(e.elements.popper),_=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&_.forEach(function(f){f.addEventListener("scroll",n.update,yn)}),a&&c.addEventListener("resize",n.update,yn),function(){i&&_.forEach(function(f){f.removeEventListener("scroll",n.update,yn)}),a&&c.removeEventListener("resize",n.update,yn)}}const Tr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Wc,data:{}};var xc={left:"right",right:"left",bottom:"top",top:"bottom"};function On(t){return t.replace(/left|right|bottom|top/g,function(e){return xc[e]})}var Yc={start:"end",end:"start"};function vi(t){return t.replace(/start|end/g,function(e){return Yc[e]})}function Nr(t){var e=be(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ar(t){return Mt(it(t)).left+Nr(t).scrollLeft}function Kc(t,e){var n=be(t),r=it(t),s=n.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,c=0;if(s){i=s.width,o=s.height;var _=fi();(_||!_&&e==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:a+Ar(t),y:c}}function jc(t){var e,n=it(t),r=Nr(t),s=(e=t.ownerDocument)==null?void 0:e.body,i=gt(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=gt(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Ar(t),c=-r.scrollTop;return qe(s||n).direction==="rtl"&&(a+=gt(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:c}}function yr(t){var e=qe(t),n=e.overflow,r=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Ti(t){return["html","body","#document"].indexOf(Ve(t))>=0?t.ownerDocument.body:Oe(t)&&yr(t)?t:Ti(An(t))}function rn(t,e){var n;e===void 0&&(e=[]);var r=Ti(t),s=r===((n=t.ownerDocument)==null?void 0:n.body),i=be(r),o=s?[i].concat(i.visualViewport||[],yr(r)?r:[]):r,a=e.concat(o);return s?a:a.concat(rn(An(o)))}function Or(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Gc(t,e){var n=Mt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ni(t,e,n){return e===fr?Or(Kc(t,n)):Et(e)?Gc(e,n):Or(jc(it(t)))}function Xc(t){var e=rn(An(t)),n=["absolute","fixed"].indexOf(qe(t).position)>=0,r=n&&Oe(t)?tn(t):t;return Et(r)?e.filter(function(s){return Et(s)&&_i(s,r)&&Ve(s)!=="body"}):[]}function qc(t,e,n,r){var s=e==="clippingParents"?Xc(t):[].concat(e),i=[].concat(s,[n]),o=i[0],a=i.reduce(function(c,_){var f=Ni(t,_,r);return c.top=gt(f.top,c.top),c.right=Nn(f.right,c.right),c.bottom=Nn(f.bottom,c.bottom),c.left=gt(f.left,c.left),c},Ni(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ai(t){var e=t.reference,n=t.element,r=t.placement,s=r?Fe(r):null,i=r?Vt(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,c;switch(s){case ae:c={x:o,y:e.y-n.height};break;case Ee:c={x:o,y:e.y+e.height};break;case ge:c={x:e.x+e.width,y:a};break;case le:c={x:e.x-n.width,y:a};break;default:c={x:e.x,y:e.y}}var _=s?br(s):null;if(_!=null){var f=_==="y"?"height":"width";switch(i){case pt:c[_]=c[_]-(e[f]/2-n[f]/2);break;case Pt:c[_]=c[_]+(e[f]/2-n[f]/2);break}}return c}function Ft(t,e){e===void 0&&(e={});var n=e,r=n.placement,s=r===void 0?t.placement:r,i=n.strategy,o=i===void 0?t.strategy:i,a=n.boundary,c=a===void 0?ei:a,_=n.rootBoundary,f=_===void 0?fr:_,v=n.elementContext,E=v===void 0?$t:v,N=n.altBoundary,k=N===void 0?!1:N,L=n.padding,I=L===void 0?0:L,m=pi(typeof I!="number"?I:Ei(I,wt)),p=E===$t?ti:$t,T=t.rects.popper,h=t.elements[k?p:E],C=qc(Et(h)?h:h.contextElement||it(t.elements.popper),c,f,o),y=Mt(t.elements.reference),D=Ai({reference:y,element:T,strategy:"absolute",placement:s}),O=Or(Object.assign({},T,D)),M=E===$t?O:y,F={top:C.top-M.top+m.top,bottom:M.bottom-C.bottom+m.bottom,left:C.left-M.left+m.left,right:M.right-C.right+m.right},Y=t.modifiersData.offset;if(E===$t&&Y){var x=Y[s];Object.keys(F).forEach(function(K){var _e=[ge,Ee].indexOf(K)>=0?1:-1,ve=[ae,Ee].indexOf(K)>=0?"y":"x";F[K]+=x[ve]*_e})}return F}function zc(t,e){e===void 0&&(e={});var n=e,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,_=c===void 0?mr:c,f=Vt(r),v=f?a?_r:_r.filter(function(k){return Vt(k)===f}):wt,E=v.filter(function(k){return _.indexOf(k)>=0});E.length===0&&(E=v);var N=E.reduce(function(k,L){return k[L]=Ft(t,{placement:L,boundary:s,rootBoundary:i,padding:o})[Fe(L)],k},{});return Object.keys(N).sort(function(k,L){return N[k]-N[L]})}function Qc(t){if(Fe(t)===Tn)return[];var e=On(t);return[vi(t),e,vi(e)]}function Jc(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,c=n.fallbackPlacements,_=n.padding,f=n.boundary,v=n.rootBoundary,E=n.altBoundary,N=n.flipVariations,k=N===void 0?!0:N,L=n.allowedAutoPlacements,I=e.options.placement,m=Fe(I),p=m===I,T=c||(p||!k?[On(I)]:Qc(I)),h=[I].concat(T).reduce(function(Te,he){return Te.concat(Fe(he)===Tn?zc(e,{placement:he,boundary:f,rootBoundary:v,padding:_,flipVariations:k,allowedAutoPlacements:L}):he)},[]),C=e.rects.reference,y=e.rects.popper,D=new Map,O=!0,M=h[0],F=0;F<h.length;F++){var Y=h[F],x=Fe(Y),K=Vt(Y)===pt,_e=[ae,Ee].indexOf(x)>=0,ve=_e?"width":"height",X=Ft(e,{placement:Y,boundary:f,rootBoundary:v,altBoundary:E,padding:_}),te=_e?K?ge:le:K?Ee:ae;C[ve]>y[ve]&&(te=On(te));var He=On(te),me=[];if(i&&me.push(X[x]<=0),a&&me.push(X[te]<=0,X[He]<=0),me.every(function(Te){return Te})){M=Y,O=!1;break}D.set(Y,me)}if(O)for(var We=k?3:1,ce=function(he){var we=h.find(function(Ze){var ue=D.get(Ze);if(ue)return ue.slice(0,he).every(function(Pe){return Pe})});if(we)return M=we,"break"},Se=We;Se>0;Se--){var xe=ce(Se);if(xe==="break")break}e.placement!==M&&(e.modifiersData[r]._skip=!0,e.placement=M,e.reset=!0)}}const yi={name:"flip",enabled:!0,phase:"main",fn:Jc,requiresIfExists:["offset"],data:{_skip:!1}};function Oi(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ci(t){return[ae,ge,Ee,le].some(function(e){return t[e]>=0})}function Zc(t){var e=t.state,n=t.name,r=e.rects.reference,s=e.rects.popper,i=e.modifiersData.preventOverflow,o=Ft(e,{elementContext:"reference"}),a=Ft(e,{altBoundary:!0}),c=Oi(o,r),_=Oi(a,s,i),f=Ci(c),v=Ci(_);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:_,isReferenceHidden:f,hasPopperEscaped:v},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const Li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zc};function eu(t,e,n){var r=Fe(t),s=[le,ae].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[le,ge].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function tu(t){var e=t.state,n=t.options,r=t.name,s=n.offset,i=s===void 0?[0,0]:s,o=mr.reduce(function(f,v){return f[v]=eu(v,e.rects,i),f},{}),a=o[e.placement],c=a.x,_=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=_),e.modifiersData[r]=o}const Ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tu};function nu(t){var e=t.state,n=t.name;e.modifiersData[n]=Ai({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Cr={name:"popperOffsets",enabled:!0,phase:"read",fn:nu,data:{}};function ru(t){return t==="x"?"y":"x"}function su(t){var e=t.state,n=t.options,r=t.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,c=n.boundary,_=n.rootBoundary,f=n.altBoundary,v=n.padding,E=n.tether,N=E===void 0?!0:E,k=n.tetherOffset,L=k===void 0?0:k,I=Ft(e,{boundary:c,rootBoundary:_,padding:v,altBoundary:f}),m=Fe(e.placement),p=Vt(e.placement),T=!p,h=br(m),C=ru(h),y=e.modifiersData.popperOffsets,D=e.rects.reference,O=e.rects.popper,M=typeof L=="function"?L(Object.assign({},e.rects,{placement:e.placement})):L,F=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),Y=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,x={x:0,y:0};if(y){if(i){var K,_e=h==="y"?ae:le,ve=h==="y"?Ee:ge,X=h==="y"?"height":"width",te=y[h],He=te+I[_e],me=te-I[ve],We=N?-O[X]/2:0,ce=p===pt?D[X]:O[X],Se=p===pt?-O[X]:-D[X],xe=e.elements.arrow,Te=N&&xe?gr(xe):{width:0,height:0},he=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:hi(),we=he[_e],Ze=he[ve],ue=nn(0,D[X],Te[X]),Pe=T?D[X]/2-We-ue-we-F.mainAxis:ce-ue-we-F.mainAxis,Ye=T?-D[X]/2+We+ue+Ze+F.mainAxis:Se+ue+Ze+F.mainAxis,$e=e.elements.arrow&&tn(e.elements.arrow),At=$e?h==="y"?$e.clientTop||0:$e.clientLeft||0:0,d=(K=Y==null?void 0:Y[h])!=null?K:0,u=te+Pe-d-At,g=te+Ye-d,w=nn(N?Nn(He,u):He,te,N?gt(me,g):me);y[h]=w,x[h]=w-te}if(a){var V,H=h==="x"?ae:le,De=h==="x"?Ee:ge,ne=y[C],qt=C==="y"?"height":"width",Wn=ne+I[H],xn=ne-I[De],fn=[ae,le].indexOf(m)!==-1,z=(V=Y==null?void 0:Y[C])!=null?V:0,b=fn?Wn:ne-D[qt]-O[qt]-z+F.altAxis,S=fn?ne+D[qt]+O[qt]-z-F.altAxis:xn,U=N&&fn?Rc(b,ne,S):nn(N?b:Wn,ne,N?S:xn);y[C]=U,x[C]=U-ne}e.modifiersData[r]=x}}const Si={name:"preventOverflow",enabled:!0,phase:"main",fn:su,requiresIfExists:["offset"]};function iu(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function ou(t){return t===be(t)||!Oe(t)?Nr(t):iu(t)}function au(t){var e=t.getBoundingClientRect(),n=Rt(e.width)/t.offsetWidth||1,r=Rt(e.height)/t.offsetHeight||1;return n!==1||r!==1}function lu(t,e,n){n===void 0&&(n=!1);var r=Oe(e),s=Oe(e)&&au(e),i=it(e),o=Mt(t,s,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Ve(e)!=="body"||yr(i))&&(a=ou(e)),Oe(e)?(c=Mt(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):i&&(c.x=Ar(i))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function cu(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var c=e.get(a);c&&s(c)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||s(i)}),r}function uu(t){var e=cu(t);return di.reduce(function(n,r){return n.concat(e.filter(function(s){return s.phase===r}))},[])}function du(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function fu(t){var e=t.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Di={placement:"bottom",modifiers:[],strategy:"absolute"};function ki(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Cn(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,s=e.defaultOptions,i=s===void 0?Di:s;return function(a,c,_){_===void 0&&(_=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Di,i),modifiersData:{},elements:{reference:a,popper:c},attributes:{},styles:{}},v=[],E=!1,N={state:f,setOptions:function(m){var p=typeof m=="function"?m(f.options):m;L(),f.options=Object.assign({},i,f.options,p),f.scrollParents={reference:Et(a)?rn(a):a.contextElement?rn(a.contextElement):[],popper:rn(c)};var T=uu(fu([].concat(r,f.options.modifiers)));return f.orderedModifiers=T.filter(function(h){return h.enabled}),k(),N.update()},forceUpdate:function(){if(!E){var m=f.elements,p=m.reference,T=m.popper;if(ki(p,T)){f.rects={reference:lu(p,tn(T),f.options.strategy==="fixed"),popper:gr(T)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(F){return f.modifiersData[F.name]=Object.assign({},F.data)});for(var h=0;h<f.orderedModifiers.length;h++){if(f.reset===!0){f.reset=!1,h=-1;continue}var C=f.orderedModifiers[h],y=C.fn,D=C.options,O=D===void 0?{}:D,M=C.name;typeof y=="function"&&(f=y({state:f,options:O,name:M,instance:N})||f)}}}},update:du(function(){return new Promise(function(I){N.forceUpdate(),I(f)})}),destroy:function(){L(),E=!0}};if(!ki(a,c))return N;N.setOptions(_).then(function(I){!E&&_.onFirstUpdate&&_.onFirstUpdate(I)});function k(){f.orderedModifiers.forEach(function(I){var m=I.name,p=I.options,T=p===void 0?{}:p,h=I.effect;if(typeof h=="function"){var C=h({state:f,name:m,instance:N,options:T}),y=function(){};v.push(C||y)}})}function L(){v.forEach(function(I){return I()}),v=[]}return N}}var _u=Cn(),mu=[Tr,Cr,vr,pr],hu=Cn({defaultModifiers:mu}),pu=[Tr,Cr,vr,pr,Ii,yi,Si,gi,Li],Lr=Cn({defaultModifiers:pu});const wi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ai,afterRead:si,afterWrite:ui,applyStyles:pr,arrow:gi,auto:Tn,basePlacements:wt,beforeMain:ii,beforeRead:ni,beforeWrite:li,bottom:Ee,clippingParents:ei,computeStyles:vr,createPopper:Lr,createPopperBase:_u,createPopperLite:hu,detectOverflow:Ft,end:Pt,eventListeners:Tr,flip:yi,hide:Li,left:le,main:oi,modifierPhases:di,offset:Ii,placements:mr,popper:$t,popperGenerator:Cn,popperOffsets:Cr,preventOverflow:Si,read:ri,reference:ti,right:ge,start:pt,top:ae,variationPlacements:_r,viewport:fr,write:ci},Symbol.toStringTag,{value:"Module"}));/*!
22
22
  * Bootstrap v5.3.2 (https://getbootstrap.com/)
23
23
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
24
24
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
25
- */const ot=new Map,Ir={set(t,e,n){ot.has(t)||ot.set(t,new Map);const r=ot.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return ot.has(t)&&ot.get(t).get(e)||null},remove(t,e){if(!ot.has(t))return;const n=ot.get(t);n.delete(e),n.size===0&&ot.delete(t)}},Eu=1e6,gu=1e3,Sr="transitionend",Pi=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),bu=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),vu=t=>{do t+=Math.floor(Math.random()*Eu);while(document.getElementById(t));return t},Tu=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),s=Number.parseFloat(n);return!r&&!s?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*gu)},$i=t=>{t.dispatchEvent(new Event(Sr))},ze=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),at=t=>ze(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(Pi(t)):null,Ft=t=>{if(!ze(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},lt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",Ri=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Ri(t.parentNode):null},Ln=()=>{},sn=t=>{t.offsetHeight},Mi=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Dr=[],Nu=t=>{document.readyState==="loading"?(Dr.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Dr)e()}),Dr.push(t)):t()},Ce=()=>document.documentElement.dir==="rtl",Le=t=>{Nu(()=>{const e=Mi();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},fe=(t,e=[],n=t)=>typeof t=="function"?t(...e):n,Vi=(t,e,n=!0)=>{if(!n){fe(t);return}const s=Tu(e)+5;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(Sr,o),fe(t))};e.addEventListener(Sr,o),setTimeout(()=>{i||$i(e)},s)},kr=(t,e,n,r)=>{const s=t.length;let i=t.indexOf(e);return i===-1?!n&&r?t[s-1]:t[0]:(i+=n?1:-1,r&&(i=(i+s)%s),t[Math.max(0,Math.min(i,s-1))])},Au=/[^.]*(?=\..*)\.|.*/,yu=/\..*/,Ou=/::\d+$/,wr={};let Fi=1;const Bi={mouseenter:"mouseover",mouseleave:"mouseout"},Cu=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ui(t,e){return e&&`${e}::${Fi++}`||t.uidEvent||Fi++}function Hi(t){const e=Ui(t);return t.uidEvent=e,wr[e]=wr[e]||{},wr[e]}function Lu(t,e){return function n(r){return $r(r,{delegateTarget:t}),n.oneOff&&A.off(t,r.type,e),e.apply(t,[r])}}function Iu(t,e,n){return function r(s){const i=t.querySelectorAll(e);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return $r(s,{delegateTarget:o}),r.oneOff&&A.off(t,s.type,e,n),n.apply(o,[s])}}function Wi(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function xi(t,e,n){const r=typeof e=="string",s=r?n:e||n;let i=Ki(t);return Cu.has(i)||(i=t),[r,s,i]}function Yi(t,e,n,r,s){if(typeof e!="string"||!t)return;let[i,o,a]=xi(e,n,r);e in Bi&&(o=(k=>function(L){if(!L.relatedTarget||L.relatedTarget!==L.delegateTarget&&!L.delegateTarget.contains(L.relatedTarget))return k.call(this,L)})(o));const c=Hi(t),_=c[a]||(c[a]={}),f=Wi(_,o,i?n:null);if(f){f.oneOff=f.oneOff&&s;return}const v=Ui(o,e.replace(Au,"")),E=i?Iu(t,n,o):Lu(t,o);E.delegationSelector=i?n:null,E.callable=o,E.oneOff=s,E.uidEvent=v,_[v]=E,t.addEventListener(a,E,i)}function Pr(t,e,n,r,s){const i=Wi(e[n],r,s);i&&(t.removeEventListener(n,i,!!s),delete e[n][i.uidEvent])}function Su(t,e,n,r){const s=e[n]||{};for(const[i,o]of Object.entries(s))i.includes(r)&&Pr(t,e,n,o.callable,o.delegationSelector)}function Ki(t){return t=t.replace(yu,""),Bi[t]||t}const A={on(t,e,n,r){Yi(t,e,n,r,!1)},one(t,e,n,r){Yi(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[s,i,o]=xi(e,n,r),a=o!==e,c=Hi(t),_=c[o]||{},f=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(_).length)return;Pr(t,c,o,i,s?n:null);return}if(f)for(const v of Object.keys(c))Su(t,c,v,e.slice(1));for(const[v,E]of Object.entries(_)){const N=v.replace(Ou,"");(!a||e.includes(N))&&Pr(t,c,o,E.callable,E.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=Mi(),s=Ki(e),i=e!==s;let o=null,a=!0,c=!0,_=!1;i&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),_=o.isDefaultPrevented());const f=$r(new Event(e,{bubbles:a,cancelable:!0}),n);return _&&f.preventDefault(),c&&t.dispatchEvent(f),f.defaultPrevented&&o&&o.preventDefault(),f}};function $r(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}function ji(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Rr(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Qe={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Rr(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Rr(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=ji(t.dataset[r])}return e},getDataAttribute(t,e){return ji(t.getAttribute(`data-bs-${Rr(e)}`))}};class on{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=ze(n)?Qe.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...ze(n)?Qe.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[r,s]of Object.entries(n)){const i=e[r],o=ze(i)?"element":bu(i);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`)}}}const Du="5.3.2";class ke extends on{constructor(e,n){super(),e=at(e),e&&(this._element=e,this._config=this._getConfig(n),Ir.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ir.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){Vi(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ir.get(at(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return Du}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Mr=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?Pi(n.trim()):null}return e},$={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!lt(n)&&Ft(n))},getSelectorFromElement(t){const e=Mr(t);return e&&$.findOne(e)?e:null},getElementFromSelector(t){const e=Mr(t);return e?$.findOne(e):null},getMultipleElementsFromSelector(t){const e=Mr(t);return e?$.find(e):[]}},In=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;A.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),lt(this))return;const i=$.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(i)[e]()})},ku="alert",Gi=".bs.alert",wu=`close${Gi}`,Pu=`closed${Gi}`,$u="fade",Ru="show";class Sn extends ke{static get NAME(){return ku}close(){if(A.trigger(this._element,wu).defaultPrevented)return;this._element.classList.remove(Ru);const n=this._element.classList.contains($u);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),A.trigger(this._element,Pu),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}In(Sn,"close"),Le(Sn);const Mu="button",Vu=".bs.button",Fu=".data-api",Bu="active",Xi='[data-bs-toggle="button"]',Uu=`click${Vu}${Fu}`;class Dn extends ke{static get NAME(){return Mu}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Bu))}static jQueryInterface(e){return this.each(function(){const n=Dn.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}A.on(document,Uu,Xi,t=>{t.preventDefault();const e=t.target.closest(Xi);Dn.getOrCreateInstance(e).toggle()}),Le(Dn);const Hu="swipe",Bt=".bs.swipe",Wu=`touchstart${Bt}`,xu=`touchmove${Bt}`,Yu=`touchend${Bt}`,Ku=`pointerdown${Bt}`,ju=`pointerup${Bt}`,Gu="touch",Xu="pen",qu="pointer-event",zu=40,Qu={endCallback:null,leftCallback:null,rightCallback:null},Ju={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class kn extends on{constructor(e,n){super(),this._element=e,!(!e||!kn.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Qu}static get DefaultType(){return Ju}static get NAME(){return Hu}dispose(){A.off(this._element,Bt)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),fe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=zu)return;const n=e/this._deltaX;this._deltaX=0,n&&fe(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,Ku,e=>this._start(e)),A.on(this._element,ju,e=>this._end(e)),this._element.classList.add(qu)):(A.on(this._element,Wu,e=>this._start(e)),A.on(this._element,xu,e=>this._move(e)),A.on(this._element,Yu,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Xu||e.pointerType===Gu)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Zu="carousel",ct=".bs.carousel",qi=".data-api",ed="ArrowLeft",td="ArrowRight",nd=500,an="next",Ut="prev",Ht="left",wn="right",rd=`slide${ct}`,Vr=`slid${ct}`,sd=`keydown${ct}`,id=`mouseenter${ct}`,od=`mouseleave${ct}`,ad=`dragstart${ct}`,ld=`load${ct}${qi}`,cd=`click${ct}${qi}`,zi="carousel",Pn="active",ud="slide",dd="carousel-item-end",fd="carousel-item-start",_d="carousel-item-next",md="carousel-item-prev",Qi=".active",Ji=".carousel-item",hd=Qi+Ji,pd=".carousel-item img",Ed=".carousel-indicators",gd="[data-bs-slide], [data-bs-slide-to]",bd='[data-bs-ride="carousel"]',vd={[ed]:wn,[td]:Ht},Td={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Nd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ln extends ke{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(Ed,this._element),this._addEventListeners(),this._config.ride===zi&&this.cycle()}static get Default(){return Td}static get DefaultType(){return Nd}static get NAME(){return Zu}next(){this._slide(an)}nextWhenVisible(){!document.hidden&&Ft(this._element)&&this.next()}prev(){this._slide(Ut)}pause(){this._isSliding&&$i(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){A.one(this._element,Vr,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){A.one(this._element,Vr,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const s=e>r?an:Ut;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&A.on(this._element,sd,e=>this._keydown(e)),this._config.pause==="hover"&&(A.on(this._element,id,()=>this.pause()),A.on(this._element,od,()=>this._maybeEnableCycle())),this._config.touch&&kn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of $.find(pd,this._element))A.on(r,ad,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Ht)),rightCallback:()=>this._slide(this._directionToOrder(wn)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),nd+this._config.interval))}};this._swipeHelper=new kn(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=vd[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=$.findOne(Qi,this._indicatorsElement);n.classList.remove(Pn),n.removeAttribute("aria-current");const r=$.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Pn),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),s=e===an,i=n||kr(this._getItems(),r,s,this._config.wrap);if(i===r)return;const o=this._getItemIndex(i),a=N=>A.trigger(this._element,N,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(rd).defaultPrevented||!r||!i)return;const _=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const f=s?fd:dd,v=s?_d:md;i.classList.add(v),sn(i),r.classList.add(f),i.classList.add(f);const E=()=>{i.classList.remove(f,v),i.classList.add(Pn),r.classList.remove(Pn,v,f),this._isSliding=!1,a(Vr)};this._queueCallback(E,r,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains(ud)}_getActive(){return $.findOne(hd,this._element)}_getItems(){return $.find(Ji,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ce()?e===Ht?Ut:an:e===Ht?an:Ut}_orderToDirection(e){return Ce()?e===Ut?Ht:wn:e===Ut?wn:Ht}static jQueryInterface(e){return this.each(function(){const n=ln.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(document,cd,gd,function(t){const e=$.getElementFromSelector(this);if(!e||!e.classList.contains(zi))return;t.preventDefault();const n=ln.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(Qe.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),A.on(window,ld,()=>{const t=$.find(bd);for(const e of t)ln.getOrCreateInstance(e)}),Le(ln);const Ad="collapse",cn=".bs.collapse",yd=".data-api",Od=`show${cn}`,Cd=`shown${cn}`,Ld=`hide${cn}`,Id=`hidden${cn}`,Sd=`click${cn}${yd}`,Fr="show",Wt="collapse",$n="collapsing",Dd="collapsed",kd=`:scope .${Wt} .${Wt}`,wd="collapse-horizontal",Pd="width",$d="height",Rd=".collapse.show, .collapse.collapsing",Br='[data-bs-toggle="collapse"]',Md={parent:null,toggle:!0},Vd={parent:"(null|element)",toggle:"boolean"};class un extends ke{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=$.find(Br);for(const s of r){const i=$.getSelectorFromElement(s),o=$.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Md}static get DefaultType(){return Vd}static get NAME(){return Ad}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Rd).filter(a=>a!==this._element).map(a=>un.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||A.trigger(this._element,Od).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(Wt),this._element.classList.add($n),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove($n),this._element.classList.add(Wt,Fr),this._element.style[r]="",A.trigger(this._element,Cd)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,Ld).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,sn(this._element),this._element.classList.add($n),this._element.classList.remove(Wt,Fr);for(const s of this._triggerArray){const i=$.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove($n),this._element.classList.add(Wt),A.trigger(this._element,Id)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Fr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=at(e.parent),e}_getDimension(){return this._element.classList.contains(wd)?Pd:$d}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Br);for(const n of e){const r=$.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=$.find(kd,this._config.parent);return $.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const r of e)r.classList.toggle(Dd,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=un.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}A.on(document,Sd,Br,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of $.getMultipleElementsFromSelector(this))un.getOrCreateInstance(e,{toggle:!1}).toggle()}),Le(un);const Zi="dropdown",bt=".bs.dropdown",Ur=".data-api",Fd="Escape",eo="Tab",Bd="ArrowUp",to="ArrowDown",Ud=2,Hd=`hide${bt}`,Wd=`hidden${bt}`,xd=`show${bt}`,Yd=`shown${bt}`,no=`click${bt}${Ur}`,ro=`keydown${bt}${Ur}`,Kd=`keyup${bt}${Ur}`,xt="show",jd="dropup",Gd="dropend",Xd="dropstart",qd="dropup-center",zd="dropdown-center",vt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Qd=`${vt}.${xt}`,Rn=".dropdown-menu",Jd=".navbar",Zd=".navbar-nav",ef=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",tf=Ce()?"top-end":"top-start",nf=Ce()?"top-start":"top-end",rf=Ce()?"bottom-end":"bottom-start",sf=Ce()?"bottom-start":"bottom-end",of=Ce()?"left-start":"right-start",af=Ce()?"right-start":"left-start",lf="top",cf="bottom",uf={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},df={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Be extends ke{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=$.next(this._element,Rn)[0]||$.prev(this._element,Rn)[0]||$.findOne(Rn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return uf}static get DefaultType(){return df}static get NAME(){return Zi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(lt(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!A.trigger(this._element,xd,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Zd))for(const r of[].concat(...document.body.children))A.on(r,"mouseover",Ln);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(xt),this._element.classList.add(xt),A.trigger(this._element,Yd,e)}}hide(){if(lt(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!A.trigger(this._element,Hd,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))A.off(r,"mouseover",Ln);this._popper&&this._popper.destroy(),this._menu.classList.remove(xt),this._element.classList.remove(xt),this._element.setAttribute("aria-expanded","false"),Qe.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,Wd,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!ze(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Zi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof wi>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:ze(this._config.reference)?e=at(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=Lr(e,this._menu,n)}_isShown(){return this._menu.classList.contains(xt)}_getPlacement(){const e=this._parent;if(e.classList.contains(Gd))return of;if(e.classList.contains(Xd))return af;if(e.classList.contains(qd))return lf;if(e.classList.contains(zd))return cf;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(jd)?n?nf:tf:n?sf:rf}_detectNavbar(){return this._element.closest(Jd)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qe.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...fe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const r=$.find(ef,this._menu).filter(s=>Ft(s));r.length&&kr(r,n,e===to,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Be.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Ud||e.type==="keyup"&&e.key!==eo)return;const n=$.find(Qd);for(const r of n){const s=Be.getInstance(r);if(!s||s._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!o||s._config.autoClose==="outside"&&o||s._menu.contains(e.target)&&(e.type==="keyup"&&e.key===eo||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:s._element};e.type==="click"&&(a.clickEvent=e),s._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===Fd,s=[Bd,to].includes(e.key);if(!s&&!r||n&&!r)return;e.preventDefault();const i=this.matches(vt)?this:$.prev(this,vt)[0]||$.next(this,vt)[0]||$.findOne(vt,e.delegateTarget.parentNode),o=Be.getOrCreateInstance(i);if(s){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}A.on(document,ro,vt,Be.dataApiKeydownHandler),A.on(document,ro,Rn,Be.dataApiKeydownHandler),A.on(document,no,Be.clearMenus),A.on(document,Kd,Be.clearMenus),A.on(document,no,vt,function(t){t.preventDefault(),Be.getOrCreateInstance(this).toggle()}),Le(Be);const so="backdrop",ff="fade",io="show",oo=`mousedown.bs.${so}`,_f={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},mf={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ao extends on{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return _f}static get DefaultType(){return mf}static get NAME(){return so}show(e){if(!this._config.isVisible){fe(e);return}this._append();const n=this._getElement();this._config.isAnimated&&sn(n),n.classList.add(io),this._emulateAnimation(()=>{fe(e)})}hide(e){if(!this._config.isVisible){fe(e);return}this._getElement().classList.remove(io),this._emulateAnimation(()=>{this.dispose(),fe(e)})}dispose(){this._isAppended&&(A.off(this._element,oo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(ff),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=at(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),A.on(e,oo,()=>{fe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Vi(e,this._getElement(),this._config.isAnimated)}}const hf="focustrap",Mn=".bs.focustrap",pf=`focusin${Mn}`,Ef=`keydown.tab${Mn}`,gf="Tab",bf="forward",lo="backward",vf={autofocus:!0,trapElement:null},Tf={autofocus:"boolean",trapElement:"element"};class co extends on{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return vf}static get DefaultType(){return Tf}static get NAME(){return hf}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,Mn),A.on(document,pf,e=>this._handleFocusin(e)),A.on(document,Ef,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,Mn))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=$.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===lo?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===gf&&(this._lastTabNavDirection=e.shiftKey?lo:bf)}}const uo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fo=".sticky-top",Vn="padding-right",_o="margin-right";class Hr{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Vn,n=>n+e),this._setElementAttributes(uo,Vn,n=>n+e),this._setElementAttributes(fo,_o,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Vn),this._resetElementAttributes(uo,Vn),this._resetElementAttributes(fo,_o)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&Qe.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=s=>{const i=Qe.getDataAttribute(s,n);if(i===null){s.style.removeProperty(n);return}Qe.removeDataAttribute(s,n),s.style.setProperty(n,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(ze(e)){n(e);return}for(const r of $.find(e,this._element))n(r)}}const Nf="modal",Ie=".bs.modal",Af=".data-api",yf="Escape",Of=`hide${Ie}`,Cf=`hidePrevented${Ie}`,mo=`hidden${Ie}`,ho=`show${Ie}`,Lf=`shown${Ie}`,If=`resize${Ie}`,Sf=`click.dismiss${Ie}`,Df=`mousedown.dismiss${Ie}`,kf=`keydown.dismiss${Ie}`,wf=`click${Ie}${Af}`,po="modal-open",Pf="fade",Eo="show",Wr="modal-static",$f=".modal.show",Rf=".modal-dialog",Mf=".modal-body",Vf='[data-bs-toggle="modal"]',Ff={backdrop:!0,focus:!0,keyboard:!0},Bf={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ut extends ke{constructor(e,n){super(e,n),this._dialog=$.findOne(Rf,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Hr,this._addEventListeners()}static get Default(){return Ff}static get DefaultType(){return Bf}static get NAME(){return Nf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||A.trigger(this._element,ho,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(po),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||A.trigger(this._element,Of).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Eo),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){A.off(window,Ie),A.off(this._dialog,Ie),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ao({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new co({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=$.findOne(Mf,this._dialog);n&&(n.scrollTop=0),sn(this._element),this._element.classList.add(Eo);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,Lf,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,kf,e=>{if(e.key===yf){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),A.on(window,If,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,Df,e=>{A.one(this._element,Sf,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(po),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,mo)})}_isAnimated(){return this._element.classList.contains(Pf)}_triggerBackdropTransition(){if(A.trigger(this._element,Cf).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Wr)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Wr),this._queueCallback(()=>{this._element.classList.remove(Wr),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const s=Ce()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!r&&e){const s=Ce()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=ut.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}A.on(document,wf,Vf,function(t){const e=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),A.one(e,ho,s=>{s.defaultPrevented||A.one(e,mo,()=>{Ft(this)&&this.focus()})});const n=$.findOne($f);n&&ut.getInstance(n).hide(),ut.getOrCreateInstance(e).toggle(this)}),In(ut),Le(ut);const Uf="offcanvas",Je=".bs.offcanvas",go=".data-api",Hf=`load${Je}${go}`,Wf="Escape",bo="show",vo="showing",To="hiding",xf="offcanvas-backdrop",No=".offcanvas.show",Yf=`show${Je}`,Kf=`shown${Je}`,jf=`hide${Je}`,Ao=`hidePrevented${Je}`,yo=`hidden${Je}`,Gf=`resize${Je}`,Xf=`click${Je}${go}`,qf=`keydown.dismiss${Je}`,zf='[data-bs-toggle="offcanvas"]',Qf={backdrop:!0,keyboard:!0,scroll:!1},Jf={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ue extends ke{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qf}static get DefaultType(){return Jf}static get NAME(){return Uf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||A.trigger(this._element,Yf,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Hr().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(vo);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(bo),this._element.classList.remove(vo),A.trigger(this._element,Kf,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||A.trigger(this._element,jf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(To),this._backdrop.hide();const n=()=>{this._element.classList.remove(bo,To),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Hr().reset(),A.trigger(this._element,yo)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){A.trigger(this._element,Ao);return}this.hide()},n=!!this._config.backdrop;return new ao({className:xf,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new co({trapElement:this._element})}_addEventListeners(){A.on(this._element,qf,e=>{if(e.key===Wf){if(this._config.keyboard){this.hide();return}A.trigger(this._element,Ao)}})}static jQueryInterface(e){return this.each(function(){const n=Ue.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}A.on(document,Xf,zf,function(t){const e=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),lt(this))return;A.one(e,yo,()=>{Ft(this)&&this.focus()});const n=$.findOne(No);n&&n!==e&&Ue.getInstance(n).hide(),Ue.getOrCreateInstance(e).toggle(this)}),A.on(window,Hf,()=>{for(const t of $.find(No))Ue.getOrCreateInstance(t).show()}),A.on(window,Gf,()=>{for(const t of $.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Ue.getOrCreateInstance(t).hide()}),In(Ue),Le(Ue);const Oo={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Zf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),e_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,t_=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?Zf.has(n)?!!e_.test(t.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function n_(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const s=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const c=[].concat(...o.attributes),_=[].concat(e["*"]||[],e[a]||[]);for(const f of c)t_(f,_)||o.removeAttribute(f.nodeName)}return s.body.innerHTML}const r_="TemplateFactory",s_={allowList:Oo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},i_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},o_={entry:"(string|element|function|null)",selector:"(string|element)"};class a_ extends on{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return s_}static get DefaultType(){return i_}static get NAME(){return r_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[s,i]of Object.entries(this._config.content))this._setContent(e,i,s);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},o_)}_setContent(e,n,r){const s=$.findOne(r,e);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(ze(n)){this._putElementInTemplate(at(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(e){return this._config.sanitize?n_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return fe(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const l_="tooltip",c_=new Set(["sanitize","allowList","sanitizeFn"]),xr="fade",u_="modal",Fn="show",d_=".tooltip-inner",Co=`.${u_}`,Lo="hide.bs.modal",dn="hover",Yr="focus",f_="click",__="manual",m_="hide",h_="hidden",p_="show",E_="shown",g_="inserted",b_="click",v_="focusin",T_="focusout",N_="mouseenter",A_="mouseleave",y_={AUTO:"auto",TOP:"top",RIGHT:Ce()?"left":"right",BOTTOM:"bottom",LEFT:Ce()?"right":"left"},O_={allowList:Oo,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},C_={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Yt extends ke{constructor(e,n){if(typeof wi>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return O_}static get DefaultType(){return C_}static get NAME(){return l_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(Co),Lo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=A.trigger(this._element,this.constructor.eventName(p_)),r=(Ri(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),A.trigger(this._element,this.constructor.eventName(g_))),this._popper=this._createPopper(s),s.classList.add(Fn),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))A.on(a,"mouseover",Ln);const o=()=>{A.trigger(this._element,this.constructor.eventName(E_)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||A.trigger(this._element,this.constructor.eventName(m_)).defaultPrevented)return;if(this._getTipElement().classList.remove(Fn),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))A.off(s,"mouseover",Ln);this._activeTrigger[f_]=!1,this._activeTrigger[Yr]=!1,this._activeTrigger[dn]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.eventName(h_)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(xr,Fn),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=vu(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(xr),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new a_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[d_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xr)}_isShown(){return this.tip&&this.tip.classList.contains(Fn)}_createPopper(e){const n=fe(this._config.placement,[this,e,this._element]),r=y_[n.toUpperCase()];return Lr(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return fe(e,[this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...fe(this._config.popperConfig,[n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")A.on(this._element,this.constructor.eventName(b_),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==__){const r=n===dn?this.constructor.eventName(N_):this.constructor.eventName(v_),s=n===dn?this.constructor.eventName(A_):this.constructor.eventName(T_);A.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Yr:dn]=!0,o._enter()}),A.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Yr:dn]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(Co),Lo,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Qe.getDataAttributes(this._element);for(const r of Object.keys(n))c_.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:at(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(e[n]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=Yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Le(Yt);const L_="popover",I_=".popover-header",S_=".popover-body",D_={...Yt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},k_={...Yt.DefaultType,content:"(null|string|element|function)"};class Kr extends Yt{static get Default(){return D_}static get DefaultType(){return k_}static get NAME(){return L_}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[I_]:this._getTitle(),[S_]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=Kr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Le(Kr);const w_="scrollspy",jr=".bs.scrollspy",P_=".data-api",$_=`activate${jr}`,Io=`click${jr}`,R_=`load${jr}${P_}`,M_="dropdown-item",Kt="active",V_='[data-bs-spy="scroll"]',Gr="[href]",F_=".nav, .list-group",So=".nav-link",B_=`${So}, .nav-item > ${So}, .list-group-item`,U_=".dropdown",H_=".dropdown-toggle",W_={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},x_={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Bn extends ke{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return W_}static get DefaultType(){return x_}static get NAME(){return w_}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=at(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(A.off(this._config.target,Io),A.on(this._config.target,Io,Gr,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:s,behavior:"smooth"});return}r.scrollTop=s}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(r(o),!s)return;continue}!i&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=$.find(Gr,this._config.target);for(const n of e){if(!n.hash||lt(n))continue;const r=$.findOne(decodeURI(n.hash),this._element);Ft(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Kt),this._activateParents(e),A.trigger(this._element,$_,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(M_)){$.findOne(H_,e.closest(U_)).classList.add(Kt);return}for(const n of $.parents(e,F_))for(const r of $.prev(n,B_))r.classList.add(Kt)}_clearActiveClass(e){e.classList.remove(Kt);const n=$.find(`${Gr}.${Kt}`,e);for(const r of n)r.classList.remove(Kt)}static jQueryInterface(e){return this.each(function(){const n=Bn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(window,R_,()=>{for(const t of $.find(V_))Bn.getOrCreateInstance(t)}),Le(Bn);const Y_="tab",Tt=".bs.tab",K_=`hide${Tt}`,j_=`hidden${Tt}`,G_=`show${Tt}`,X_=`shown${Tt}`,q_=`click${Tt}`,z_=`keydown${Tt}`,Q_=`load${Tt}`,J_="ArrowLeft",Do="ArrowRight",Z_="ArrowUp",ko="ArrowDown",Xr="Home",wo="End",Nt="active",Po="fade",qr="show",em="dropdown",$o=".dropdown-toggle",tm=".dropdown-menu",zr=`:not(${$o})`,nm='.list-group, .nav, [role="tablist"]',rm=".nav-item, .list-group-item",sm=`.nav-link${zr}, .list-group-item${zr}, [role="tab"]${zr}`,Ro='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Qr=`${sm}, ${Ro}`,im=`.${Nt}[data-bs-toggle="tab"], .${Nt}[data-bs-toggle="pill"], .${Nt}[data-bs-toggle="list"]`;class jt extends ke{constructor(e){super(e),this._parent=this._element.closest(nm),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),A.on(this._element,z_,n=>this._keydown(n)))}static get NAME(){return Y_}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?A.trigger(n,K_,{relatedTarget:e}):null;A.trigger(e,G_,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Nt),this._activate($.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(qr);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),A.trigger(e,X_,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(Po))}_deactivate(e,n){if(!e)return;e.classList.remove(Nt),e.blur(),this._deactivate($.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(qr);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),A.trigger(e,j_,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(Po))}_keydown(e){if(![J_,Do,Z_,ko,Xr,wo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(s=>!lt(s));let r;if([Xr,wo].includes(e.key))r=n[e.key===Xr?0:n.length-1];else{const s=[Do,ko].includes(e.key);r=kr(n,e.target,s,!0)}r&&(r.focus({preventScroll:!0}),jt.getOrCreateInstance(r).show())}_getChildren(){return $.find(Qr,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=$.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(em))return;const s=(i,o)=>{const a=$.findOne(i,r);a&&a.classList.toggle(o,n)};s($o,Nt),s(tm,qr),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Nt)}_getInnerElement(e){return e.matches(Qr)?e:$.findOne(Qr,e)}_getOuterElement(e){return e.closest(rm)||e}static jQueryInterface(e){return this.each(function(){const n=jt.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(document,q_,Ro,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!lt(this)&&jt.getOrCreateInstance(this).show()}),A.on(window,Q_,()=>{for(const t of $.find(im))jt.getOrCreateInstance(t)}),Le(jt);const om="toast",dt=".bs.toast",am=`mouseover${dt}`,lm=`mouseout${dt}`,cm=`focusin${dt}`,um=`focusout${dt}`,dm=`hide${dt}`,fm=`hidden${dt}`,_m=`show${dt}`,mm=`shown${dt}`,hm="fade",Mo="hide",Un="show",Hn="showing",pm={animation:"boolean",autohide:"boolean",delay:"number"},Em={animation:!0,autohide:!0,delay:5e3};class Gt extends ke{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Em}static get DefaultType(){return pm}static get NAME(){return om}show(){if(A.trigger(this._element,_m).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(hm);const n=()=>{this._element.classList.remove(Hn),A.trigger(this._element,mm),this._maybeScheduleHide()};this._element.classList.remove(Mo),sn(this._element),this._element.classList.add(Un,Hn),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||A.trigger(this._element,dm).defaultPrevented)return;const n=()=>{this._element.classList.add(Mo),this._element.classList.remove(Hn,Un),A.trigger(this._element,fm)};this._element.classList.add(Hn),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Un),super.dispose()}isShown(){return this._element.classList.contains(Un)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,am,e=>this._onInteraction(e,!0)),A.on(this._element,lm,e=>this._onInteraction(e,!1)),A.on(this._element,cm,e=>this._onInteraction(e,!0)),A.on(this._element,um,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=Gt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}In(Gt),Le(Gt);const gm=l.defineComponent({name:"BsToast",emits:["shown","hidden"],mounted(){const t=this.$refs.toastRef;Gt.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.toast",this.onShown),t.addEventListener("hidden.bs.toast",this.onHidden)},methods:{hide(){Gt.getOrCreateInstance(this.$refs.toastRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),bm={ref:"toastRef",class:"toast hide",role:"alert","aria-live":"assertive","aria-atomic":"true"};function vm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",bm,[l.renderSlot(t.$slots,"default")],512)}const Tm=Ne(gm,[["render",vm]]),Nm=l.defineComponent({name:"BsModal",props:{title:{type:String,required:!0},classDialog:{type:[String,Object],default:null},hideHeader:{type:Boolean,default:!1},hideBody:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1}},emits:["shown","hidden"],mounted(){const t=this.$refs.modalRef;ut.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.modal",this.onShown),t.addEventListener("hidden.bs.modal",this.onHidden)},methods:{hide(){ut.getOrCreateInstance(this.$refs.modalRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),Am={ref:"modalRef",class:"modal fade",tabindex:"-1","aria-hidden":"true"},ym={class:"modal-content"},Om={key:0,class:"modal-header"},Cm=["textContent"],Lm=l.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal"},null,-1),Im={key:1,class:"modal-body"},Sm={key:2,class:"modal-footer"};function Dm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",Am,[l.createElementVNode("div",{class:l.normalizeClass(["modal-dialog",t.classDialog])},[l.createElementVNode("div",ym,[t.hideHeader?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Om,[l.renderSlot(t.$slots,"header",{},()=>[l.createElementVNode("div",{class:"h5 modal-title",textContent:l.toDisplayString(t.title)},null,8,Cm),Lm])])),t.hideBody?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Im,[l.renderSlot(t.$slots,"body")])),t.hideFooter?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Sm,[l.renderSlot(t.$slots,"footer")]))])],2)],512)}const km=Ne(Nm,[["render",Dm]]),wm=l.defineComponent({name:"BsSelect",props:{modelValue:{type:[String,Number,Array],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},options:{type:Array,required:!0},placeholder:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:en(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Pm=["for","textContent"],$m=["id","value","aria-labelledby"],Rm={key:0,value:"",disabled:"",hidden:""},Mm=["value"],Vm=["textContent"],Fm=["id","textContent"];function Bm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,Pm)):l.createCommentVNode("",!0),l.createElementVNode("select",l.mergeProps({id:t.id,ref:"inputRef",class:"form-select",value:t.modelValue,"aria-labelledby":t.hint!==void 0?t.getHintId():null},t.$attrs,{onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),[t.placeholder!==void 0?(l.openBlock(),l.createElementBlock("option",Rm,l.toDisplayString(t.placeholder),1)):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.options,(o,a)=>(l.openBlock(),l.createElementBlock("option",{key:a,value:o.value},l.toDisplayString(o.text),9,Mm))),128))],16,$m),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Vm)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Fm)):l.createCommentVNode("",!0)],64)}const Um=Ne(wm,[["render",Bm]]),Hm=l.defineComponent({name:"BsRadio",props:{value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},classContainer:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:en(t)}},computed:{isChecked(){return this.modelValue===this.value}},methods:{getHintId(){return this.id+"Hint"},onInput(){this.$emit("update:modelValue",this.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Wm=["id","value","checked","aria-describedby"],xm=["for","textContent"],Ym=["textContent"],Km=["id","textContent"];function jm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["form-check",t.classContainer])},[l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{type:"radio",class:"form-check-input",checked:t.isChecked,"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Wm),t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-check-label",textContent:l.toDisplayString(t.label)},null,8,xm)):l.createCommentVNode("",!0),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Ym)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Km)):l.createCommentVNode("",!0)],2)}const Gm=Ne(Hm,[["render",jm]]),Xm=l.defineComponent({name:"BsOffcanvas",props:{title:{type:String,required:!0}},emits:["shown","hidden"],mounted(){const t=this.$refs.offcanvasRef;Ue.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.offcanvas",this.onShown),t.addEventListener("hidden.bs.offcanvas",this.onHidden)},methods:{hide(){Ue.getOrCreateInstance(this.$refs.offcanvasRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),qm={ref:"offcanvasRef",class:"offcanvas",tabindex:"-1","aria-labelledby":"offcanvasTitle"},zm={class:"offcanvas-header"},Qm=["textContent"],Jm=l.createElementVNode("button",{type:"button",class:"btn-close text-reset","data-bs-dismiss":"offcanvas"},null,-1),Zm={class:"offcanvas-body"};function eh(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",qm,[l.createElementVNode("div",zm,[l.renderSlot(t.$slots,"header",{},()=>[l.createElementVNode("div",{id:"offcanvasTitle",class:"h5 mb-0",textContent:l.toDisplayString(t.title)},null,8,Qm),Jm])]),l.createElementVNode("div",Zm,[l.renderSlot(t.$slots,"body")])],512)}const th=Ne(Xm,[["render",eh]]);Z.BsBreadcrumb=xo,Z.BsCheckbox=nc,Z.BsForm=jo,Z.BsInput=ql,Z.BsModal=km,Z.BsOffcanvas=th,Z.BsPaginator=gc,Z.BsRadio=Gm,Z.BsSelect=Um,Z.BsTable=Dc,Z.BsTextarea=cc,Z.BsToast=Tm,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
25
+ */const ot=new Map,Ir={set(t,e,n){ot.has(t)||ot.set(t,new Map);const r=ot.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return ot.has(t)&&ot.get(t).get(e)||null},remove(t,e){if(!ot.has(t))return;const n=ot.get(t);n.delete(e),n.size===0&&ot.delete(t)}},Eu=1e6,gu=1e3,Sr="transitionend",Pi=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),bu=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),vu=t=>{do t+=Math.floor(Math.random()*Eu);while(document.getElementById(t));return t},Tu=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),s=Number.parseFloat(n);return!r&&!s?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*gu)},$i=t=>{t.dispatchEvent(new Event(Sr))},ze=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),at=t=>ze(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(Pi(t)):null,Bt=t=>{if(!ze(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},lt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",Ri=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Ri(t.parentNode):null},Ln=()=>{},sn=t=>{t.offsetHeight},Mi=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Dr=[],Nu=t=>{document.readyState==="loading"?(Dr.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Dr)e()}),Dr.push(t)):t()},Ce=()=>document.documentElement.dir==="rtl",Le=t=>{Nu(()=>{const e=Mi();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},fe=(t,e=[],n=t)=>typeof t=="function"?t(...e):n,Vi=(t,e,n=!0)=>{if(!n){fe(t);return}const s=Tu(e)+5;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(Sr,o),fe(t))};e.addEventListener(Sr,o),setTimeout(()=>{i||$i(e)},s)},kr=(t,e,n,r)=>{const s=t.length;let i=t.indexOf(e);return i===-1?!n&&r?t[s-1]:t[0]:(i+=n?1:-1,r&&(i=(i+s)%s),t[Math.max(0,Math.min(i,s-1))])},Au=/[^.]*(?=\..*)\.|.*/,yu=/\..*/,Ou=/::\d+$/,wr={};let Fi=1;const Bi={mouseenter:"mouseover",mouseleave:"mouseout"},Cu=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ui(t,e){return e&&`${e}::${Fi++}`||t.uidEvent||Fi++}function Hi(t){const e=Ui(t);return t.uidEvent=e,wr[e]=wr[e]||{},wr[e]}function Lu(t,e){return function n(r){return $r(r,{delegateTarget:t}),n.oneOff&&A.off(t,r.type,e),e.apply(t,[r])}}function Iu(t,e,n){return function r(s){const i=t.querySelectorAll(e);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return $r(s,{delegateTarget:o}),r.oneOff&&A.off(t,s.type,e,n),n.apply(o,[s])}}function Wi(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function xi(t,e,n){const r=typeof e=="string",s=r?n:e||n;let i=Ki(t);return Cu.has(i)||(i=t),[r,s,i]}function Yi(t,e,n,r,s){if(typeof e!="string"||!t)return;let[i,o,a]=xi(e,n,r);e in Bi&&(o=(k=>function(L){if(!L.relatedTarget||L.relatedTarget!==L.delegateTarget&&!L.delegateTarget.contains(L.relatedTarget))return k.call(this,L)})(o));const c=Hi(t),_=c[a]||(c[a]={}),f=Wi(_,o,i?n:null);if(f){f.oneOff=f.oneOff&&s;return}const v=Ui(o,e.replace(Au,"")),E=i?Iu(t,n,o):Lu(t,o);E.delegationSelector=i?n:null,E.callable=o,E.oneOff=s,E.uidEvent=v,_[v]=E,t.addEventListener(a,E,i)}function Pr(t,e,n,r,s){const i=Wi(e[n],r,s);i&&(t.removeEventListener(n,i,!!s),delete e[n][i.uidEvent])}function Su(t,e,n,r){const s=e[n]||{};for(const[i,o]of Object.entries(s))i.includes(r)&&Pr(t,e,n,o.callable,o.delegationSelector)}function Ki(t){return t=t.replace(yu,""),Bi[t]||t}const A={on(t,e,n,r){Yi(t,e,n,r,!1)},one(t,e,n,r){Yi(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[s,i,o]=xi(e,n,r),a=o!==e,c=Hi(t),_=c[o]||{},f=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(_).length)return;Pr(t,c,o,i,s?n:null);return}if(f)for(const v of Object.keys(c))Su(t,c,v,e.slice(1));for(const[v,E]of Object.entries(_)){const N=v.replace(Ou,"");(!a||e.includes(N))&&Pr(t,c,o,E.callable,E.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=Mi(),s=Ki(e),i=e!==s;let o=null,a=!0,c=!0,_=!1;i&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),_=o.isDefaultPrevented());const f=$r(new Event(e,{bubbles:a,cancelable:!0}),n);return _&&f.preventDefault(),c&&t.dispatchEvent(f),f.defaultPrevented&&o&&o.preventDefault(),f}};function $r(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}function ji(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Rr(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Qe={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Rr(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Rr(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=ji(t.dataset[r])}return e},getDataAttribute(t,e){return ji(t.getAttribute(`data-bs-${Rr(e)}`))}};class on{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=ze(n)?Qe.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...ze(n)?Qe.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[r,s]of Object.entries(n)){const i=e[r],o=ze(i)?"element":bu(i);if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`)}}}const Du="5.3.2";class ke extends on{constructor(e,n){super(),e=at(e),e&&(this._element=e,this._config=this._getConfig(n),Ir.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ir.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){Vi(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ir.get(at(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return Du}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Mr=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?Pi(n.trim()):null}return e},$={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!lt(n)&&Bt(n))},getSelectorFromElement(t){const e=Mr(t);return e&&$.findOne(e)?e:null},getElementFromSelector(t){const e=Mr(t);return e?$.findOne(e):null},getMultipleElementsFromSelector(t){const e=Mr(t);return e?$.find(e):[]}},In=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;A.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),lt(this))return;const i=$.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(i)[e]()})},ku="alert",Gi=".bs.alert",wu=`close${Gi}`,Pu=`closed${Gi}`,$u="fade",Ru="show";class Sn extends ke{static get NAME(){return ku}close(){if(A.trigger(this._element,wu).defaultPrevented)return;this._element.classList.remove(Ru);const n=this._element.classList.contains($u);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),A.trigger(this._element,Pu),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}In(Sn,"close"),Le(Sn);const Mu="button",Vu=".bs.button",Fu=".data-api",Bu="active",Xi='[data-bs-toggle="button"]',Uu=`click${Vu}${Fu}`;class Dn extends ke{static get NAME(){return Mu}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Bu))}static jQueryInterface(e){return this.each(function(){const n=Dn.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}A.on(document,Uu,Xi,t=>{t.preventDefault();const e=t.target.closest(Xi);Dn.getOrCreateInstance(e).toggle()}),Le(Dn);const Hu="swipe",Ut=".bs.swipe",Wu=`touchstart${Ut}`,xu=`touchmove${Ut}`,Yu=`touchend${Ut}`,Ku=`pointerdown${Ut}`,ju=`pointerup${Ut}`,Gu="touch",Xu="pen",qu="pointer-event",zu=40,Qu={endCallback:null,leftCallback:null,rightCallback:null},Ju={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class kn extends on{constructor(e,n){super(),this._element=e,!(!e||!kn.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Qu}static get DefaultType(){return Ju}static get NAME(){return Hu}dispose(){A.off(this._element,Ut)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),fe(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=zu)return;const n=e/this._deltaX;this._deltaX=0,n&&fe(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,Ku,e=>this._start(e)),A.on(this._element,ju,e=>this._end(e)),this._element.classList.add(qu)):(A.on(this._element,Wu,e=>this._start(e)),A.on(this._element,xu,e=>this._move(e)),A.on(this._element,Yu,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Xu||e.pointerType===Gu)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Zu="carousel",ct=".bs.carousel",qi=".data-api",ed="ArrowLeft",td="ArrowRight",nd=500,an="next",Ht="prev",Wt="left",wn="right",rd=`slide${ct}`,Vr=`slid${ct}`,sd=`keydown${ct}`,id=`mouseenter${ct}`,od=`mouseleave${ct}`,ad=`dragstart${ct}`,ld=`load${ct}${qi}`,cd=`click${ct}${qi}`,zi="carousel",Pn="active",ud="slide",dd="carousel-item-end",fd="carousel-item-start",_d="carousel-item-next",md="carousel-item-prev",Qi=".active",Ji=".carousel-item",hd=Qi+Ji,pd=".carousel-item img",Ed=".carousel-indicators",gd="[data-bs-slide], [data-bs-slide-to]",bd='[data-bs-ride="carousel"]',vd={[ed]:wn,[td]:Wt},Td={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Nd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ln extends ke{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(Ed,this._element),this._addEventListeners(),this._config.ride===zi&&this.cycle()}static get Default(){return Td}static get DefaultType(){return Nd}static get NAME(){return Zu}next(){this._slide(an)}nextWhenVisible(){!document.hidden&&Bt(this._element)&&this.next()}prev(){this._slide(Ht)}pause(){this._isSliding&&$i(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){A.one(this._element,Vr,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){A.one(this._element,Vr,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const s=e>r?an:Ht;this._slide(s,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&A.on(this._element,sd,e=>this._keydown(e)),this._config.pause==="hover"&&(A.on(this._element,id,()=>this.pause()),A.on(this._element,od,()=>this._maybeEnableCycle())),this._config.touch&&kn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of $.find(pd,this._element))A.on(r,ad,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Wt)),rightCallback:()=>this._slide(this._directionToOrder(wn)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),nd+this._config.interval))}};this._swipeHelper=new kn(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=vd[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=$.findOne(Qi,this._indicatorsElement);n.classList.remove(Pn),n.removeAttribute("aria-current");const r=$.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Pn),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),s=e===an,i=n||kr(this._getItems(),r,s,this._config.wrap);if(i===r)return;const o=this._getItemIndex(i),a=N=>A.trigger(this._element,N,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(rd).defaultPrevented||!r||!i)return;const _=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const f=s?fd:dd,v=s?_d:md;i.classList.add(v),sn(i),r.classList.add(f),i.classList.add(f);const E=()=>{i.classList.remove(f,v),i.classList.add(Pn),r.classList.remove(Pn,v,f),this._isSliding=!1,a(Vr)};this._queueCallback(E,r,this._isAnimated()),_&&this.cycle()}_isAnimated(){return this._element.classList.contains(ud)}_getActive(){return $.findOne(hd,this._element)}_getItems(){return $.find(Ji,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Ce()?e===Wt?Ht:an:e===Wt?an:Ht}_orderToDirection(e){return Ce()?e===Ht?Wt:wn:e===Ht?wn:Wt}static jQueryInterface(e){return this.each(function(){const n=ln.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(document,cd,gd,function(t){const e=$.getElementFromSelector(this);if(!e||!e.classList.contains(zi))return;t.preventDefault();const n=ln.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(Qe.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),A.on(window,ld,()=>{const t=$.find(bd);for(const e of t)ln.getOrCreateInstance(e)}),Le(ln);const Ad="collapse",cn=".bs.collapse",yd=".data-api",Od=`show${cn}`,Cd=`shown${cn}`,Ld=`hide${cn}`,Id=`hidden${cn}`,Sd=`click${cn}${yd}`,Fr="show",xt="collapse",$n="collapsing",Dd="collapsed",kd=`:scope .${xt} .${xt}`,wd="collapse-horizontal",Pd="width",$d="height",Rd=".collapse.show, .collapse.collapsing",Br='[data-bs-toggle="collapse"]',Md={parent:null,toggle:!0},Vd={parent:"(null|element)",toggle:"boolean"};class un extends ke{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=$.find(Br);for(const s of r){const i=$.getSelectorFromElement(s),o=$.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Md}static get DefaultType(){return Vd}static get NAME(){return Ad}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Rd).filter(a=>a!==this._element).map(a=>un.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||A.trigger(this._element,Od).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(xt),this._element.classList.add($n),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove($n),this._element.classList.add(xt,Fr),this._element.style[r]="",A.trigger(this._element,Cd)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,Ld).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,sn(this._element),this._element.classList.add($n),this._element.classList.remove(xt,Fr);for(const s of this._triggerArray){const i=$.getElementFromSelector(s);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove($n),this._element.classList.add(xt),A.trigger(this._element,Id)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Fr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=at(e.parent),e}_getDimension(){return this._element.classList.contains(wd)?Pd:$d}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Br);for(const n of e){const r=$.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=$.find(kd,this._config.parent);return $.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const r of e)r.classList.toggle(Dd,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=un.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}A.on(document,Sd,Br,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of $.getMultipleElementsFromSelector(this))un.getOrCreateInstance(e,{toggle:!1}).toggle()}),Le(un);const Zi="dropdown",bt=".bs.dropdown",Ur=".data-api",Fd="Escape",eo="Tab",Bd="ArrowUp",to="ArrowDown",Ud=2,Hd=`hide${bt}`,Wd=`hidden${bt}`,xd=`show${bt}`,Yd=`shown${bt}`,no=`click${bt}${Ur}`,ro=`keydown${bt}${Ur}`,Kd=`keyup${bt}${Ur}`,Yt="show",jd="dropup",Gd="dropend",Xd="dropstart",qd="dropup-center",zd="dropdown-center",vt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Qd=`${vt}.${Yt}`,Rn=".dropdown-menu",Jd=".navbar",Zd=".navbar-nav",ef=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",tf=Ce()?"top-end":"top-start",nf=Ce()?"top-start":"top-end",rf=Ce()?"bottom-end":"bottom-start",sf=Ce()?"bottom-start":"bottom-end",of=Ce()?"left-start":"right-start",af=Ce()?"right-start":"left-start",lf="top",cf="bottom",uf={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},df={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Be extends ke{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=$.next(this._element,Rn)[0]||$.prev(this._element,Rn)[0]||$.findOne(Rn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return uf}static get DefaultType(){return df}static get NAME(){return Zi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(lt(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!A.trigger(this._element,xd,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Zd))for(const r of[].concat(...document.body.children))A.on(r,"mouseover",Ln);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yt),this._element.classList.add(Yt),A.trigger(this._element,Yd,e)}}hide(){if(lt(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!A.trigger(this._element,Hd,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))A.off(r,"mouseover",Ln);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yt),this._element.classList.remove(Yt),this._element.setAttribute("aria-expanded","false"),Qe.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,Wd,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!ze(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Zi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof wi>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:ze(this._config.reference)?e=at(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=Lr(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Yt)}_getPlacement(){const e=this._parent;if(e.classList.contains(Gd))return of;if(e.classList.contains(Xd))return af;if(e.classList.contains(qd))return lf;if(e.classList.contains(zd))return cf;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(jd)?n?nf:tf:n?sf:rf}_detectNavbar(){return this._element.closest(Jd)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qe.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...fe(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const r=$.find(ef,this._menu).filter(s=>Bt(s));r.length&&kr(r,n,e===to,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Be.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Ud||e.type==="keyup"&&e.key!==eo)return;const n=$.find(Qd);for(const r of n){const s=Be.getInstance(r);if(!s||s._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(s._menu);if(i.includes(s._element)||s._config.autoClose==="inside"&&!o||s._config.autoClose==="outside"&&o||s._menu.contains(e.target)&&(e.type==="keyup"&&e.key===eo||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:s._element};e.type==="click"&&(a.clickEvent=e),s._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===Fd,s=[Bd,to].includes(e.key);if(!s&&!r||n&&!r)return;e.preventDefault();const i=this.matches(vt)?this:$.prev(this,vt)[0]||$.next(this,vt)[0]||$.findOne(vt,e.delegateTarget.parentNode),o=Be.getOrCreateInstance(i);if(s){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}A.on(document,ro,vt,Be.dataApiKeydownHandler),A.on(document,ro,Rn,Be.dataApiKeydownHandler),A.on(document,no,Be.clearMenus),A.on(document,Kd,Be.clearMenus),A.on(document,no,vt,function(t){t.preventDefault(),Be.getOrCreateInstance(this).toggle()}),Le(Be);const so="backdrop",ff="fade",io="show",oo=`mousedown.bs.${so}`,_f={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},mf={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ao extends on{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return _f}static get DefaultType(){return mf}static get NAME(){return so}show(e){if(!this._config.isVisible){fe(e);return}this._append();const n=this._getElement();this._config.isAnimated&&sn(n),n.classList.add(io),this._emulateAnimation(()=>{fe(e)})}hide(e){if(!this._config.isVisible){fe(e);return}this._getElement().classList.remove(io),this._emulateAnimation(()=>{this.dispose(),fe(e)})}dispose(){this._isAppended&&(A.off(this._element,oo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(ff),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=at(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),A.on(e,oo,()=>{fe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Vi(e,this._getElement(),this._config.isAnimated)}}const hf="focustrap",Mn=".bs.focustrap",pf=`focusin${Mn}`,Ef=`keydown.tab${Mn}`,gf="Tab",bf="forward",lo="backward",vf={autofocus:!0,trapElement:null},Tf={autofocus:"boolean",trapElement:"element"};class co extends on{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return vf}static get DefaultType(){return Tf}static get NAME(){return hf}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,Mn),A.on(document,pf,e=>this._handleFocusin(e)),A.on(document,Ef,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,Mn))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=$.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===lo?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===gf&&(this._lastTabNavDirection=e.shiftKey?lo:bf)}}const uo=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fo=".sticky-top",Vn="padding-right",_o="margin-right";class Hr{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Vn,n=>n+e),this._setElementAttributes(uo,Vn,n=>n+e),this._setElementAttributes(fo,_o,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Vn),this._resetElementAttributes(uo,Vn),this._resetElementAttributes(fo,_o)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&Qe.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=s=>{const i=Qe.getDataAttribute(s,n);if(i===null){s.style.removeProperty(n);return}Qe.removeDataAttribute(s,n),s.style.setProperty(n,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(ze(e)){n(e);return}for(const r of $.find(e,this._element))n(r)}}const Nf="modal",Ie=".bs.modal",Af=".data-api",yf="Escape",Of=`hide${Ie}`,Cf=`hidePrevented${Ie}`,mo=`hidden${Ie}`,ho=`show${Ie}`,Lf=`shown${Ie}`,If=`resize${Ie}`,Sf=`click.dismiss${Ie}`,Df=`mousedown.dismiss${Ie}`,kf=`keydown.dismiss${Ie}`,wf=`click${Ie}${Af}`,po="modal-open",Pf="fade",Eo="show",Wr="modal-static",$f=".modal.show",Rf=".modal-dialog",Mf=".modal-body",Vf='[data-bs-toggle="modal"]',Ff={backdrop:!0,focus:!0,keyboard:!0},Bf={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ut extends ke{constructor(e,n){super(e,n),this._dialog=$.findOne(Rf,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Hr,this._addEventListeners()}static get Default(){return Ff}static get DefaultType(){return Bf}static get NAME(){return Nf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||A.trigger(this._element,ho,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(po),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||A.trigger(this._element,Of).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Eo),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){A.off(window,Ie),A.off(this._dialog,Ie),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ao({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new co({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=$.findOne(Mf,this._dialog);n&&(n.scrollTop=0),sn(this._element),this._element.classList.add(Eo);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,Lf,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,kf,e=>{if(e.key===yf){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),A.on(window,If,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,Df,e=>{A.one(this._element,Sf,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(po),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,mo)})}_isAnimated(){return this._element.classList.contains(Pf)}_triggerBackdropTransition(){if(A.trigger(this._element,Cf).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Wr)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Wr),this._queueCallback(()=>{this._element.classList.remove(Wr),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const s=Ce()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!r&&e){const s=Ce()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=ut.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}A.on(document,wf,Vf,function(t){const e=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),A.one(e,ho,s=>{s.defaultPrevented||A.one(e,mo,()=>{Bt(this)&&this.focus()})});const n=$.findOne($f);n&&ut.getInstance(n).hide(),ut.getOrCreateInstance(e).toggle(this)}),In(ut),Le(ut);const Uf="offcanvas",Je=".bs.offcanvas",go=".data-api",Hf=`load${Je}${go}`,Wf="Escape",bo="show",vo="showing",To="hiding",xf="offcanvas-backdrop",No=".offcanvas.show",Yf=`show${Je}`,Kf=`shown${Je}`,jf=`hide${Je}`,Ao=`hidePrevented${Je}`,yo=`hidden${Je}`,Gf=`resize${Je}`,Xf=`click${Je}${go}`,qf=`keydown.dismiss${Je}`,zf='[data-bs-toggle="offcanvas"]',Qf={backdrop:!0,keyboard:!0,scroll:!1},Jf={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ue extends ke{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qf}static get DefaultType(){return Jf}static get NAME(){return Uf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||A.trigger(this._element,Yf,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Hr().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(vo);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(bo),this._element.classList.remove(vo),A.trigger(this._element,Kf,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||A.trigger(this._element,jf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(To),this._backdrop.hide();const n=()=>{this._element.classList.remove(bo,To),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Hr().reset(),A.trigger(this._element,yo)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){A.trigger(this._element,Ao);return}this.hide()},n=!!this._config.backdrop;return new ao({className:xf,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new co({trapElement:this._element})}_addEventListeners(){A.on(this._element,qf,e=>{if(e.key===Wf){if(this._config.keyboard){this.hide();return}A.trigger(this._element,Ao)}})}static jQueryInterface(e){return this.each(function(){const n=Ue.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}A.on(document,Xf,zf,function(t){const e=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),lt(this))return;A.one(e,yo,()=>{Bt(this)&&this.focus()});const n=$.findOne(No);n&&n!==e&&Ue.getInstance(n).hide(),Ue.getOrCreateInstance(e).toggle(this)}),A.on(window,Hf,()=>{for(const t of $.find(No))Ue.getOrCreateInstance(t).show()}),A.on(window,Gf,()=>{for(const t of $.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&Ue.getOrCreateInstance(t).hide()}),In(Ue),Le(Ue);const Oo={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Zf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),e_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,t_=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?Zf.has(n)?!!e_.test(t.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function n_(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const s=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const c=[].concat(...o.attributes),_=[].concat(e["*"]||[],e[a]||[]);for(const f of c)t_(f,_)||o.removeAttribute(f.nodeName)}return s.body.innerHTML}const r_="TemplateFactory",s_={allowList:Oo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},i_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},o_={entry:"(string|element|function|null)",selector:"(string|element)"};class a_ extends on{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return s_}static get DefaultType(){return i_}static get NAME(){return r_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[s,i]of Object.entries(this._config.content))this._setContent(e,i,s);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},o_)}_setContent(e,n,r){const s=$.findOne(r,e);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(ze(n)){this._putElementInTemplate(at(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(e){return this._config.sanitize?n_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return fe(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const l_="tooltip",c_=new Set(["sanitize","allowList","sanitizeFn"]),xr="fade",u_="modal",Fn="show",d_=".tooltip-inner",Co=`.${u_}`,Lo="hide.bs.modal",dn="hover",Yr="focus",f_="click",__="manual",m_="hide",h_="hidden",p_="show",E_="shown",g_="inserted",b_="click",v_="focusin",T_="focusout",N_="mouseenter",A_="mouseleave",y_={AUTO:"auto",TOP:"top",RIGHT:Ce()?"left":"right",BOTTOM:"bottom",LEFT:Ce()?"right":"left"},O_={allowList:Oo,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},C_={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Kt extends ke{constructor(e,n){if(typeof wi>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return O_}static get DefaultType(){return C_}static get NAME(){return l_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(Co),Lo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=A.trigger(this._element,this.constructor.eventName(p_)),r=(Ri(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),A.trigger(this._element,this.constructor.eventName(g_))),this._popper=this._createPopper(s),s.classList.add(Fn),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))A.on(a,"mouseover",Ln);const o=()=>{A.trigger(this._element,this.constructor.eventName(E_)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||A.trigger(this._element,this.constructor.eventName(m_)).defaultPrevented)return;if(this._getTipElement().classList.remove(Fn),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))A.off(s,"mouseover",Ln);this._activeTrigger[f_]=!1,this._activeTrigger[Yr]=!1,this._activeTrigger[dn]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.eventName(h_)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(xr,Fn),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=vu(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(xr),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new a_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[d_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(xr)}_isShown(){return this.tip&&this.tip.classList.contains(Fn)}_createPopper(e){const n=fe(this._config.placement,[this,e,this._element]),r=y_[n.toUpperCase()];return Lr(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return fe(e,[this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...fe(this._config.popperConfig,[n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")A.on(this._element,this.constructor.eventName(b_),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==__){const r=n===dn?this.constructor.eventName(N_):this.constructor.eventName(v_),s=n===dn?this.constructor.eventName(A_):this.constructor.eventName(T_);A.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Yr:dn]=!0,o._enter()}),A.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Yr:dn]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(Co),Lo,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Qe.getDataAttributes(this._element);for(const r of Object.keys(n))c_.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:at(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(e[n]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=Kt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Le(Kt);const L_="popover",I_=".popover-header",S_=".popover-body",D_={...Kt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},k_={...Kt.DefaultType,content:"(null|string|element|function)"};class Kr extends Kt{static get Default(){return D_}static get DefaultType(){return k_}static get NAME(){return L_}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[I_]:this._getTitle(),[S_]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=Kr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Le(Kr);const w_="scrollspy",jr=".bs.scrollspy",P_=".data-api",$_=`activate${jr}`,Io=`click${jr}`,R_=`load${jr}${P_}`,M_="dropdown-item",jt="active",V_='[data-bs-spy="scroll"]',Gr="[href]",F_=".nav, .list-group",So=".nav-link",B_=`${So}, .nav-item > ${So}, .list-group-item`,U_=".dropdown",H_=".dropdown-toggle",W_={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},x_={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Bn extends ke{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return W_}static get DefaultType(){return x_}static get NAME(){return w_}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=at(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(A.off(this._config.target,Io),A.on(this._config.target,Io,Gr,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:s,behavior:"smooth"});return}r.scrollTop=s}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},s=(this._rootElement||document.documentElement).scrollTop,i=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(r(o),!s)return;continue}!i&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=$.find(Gr,this._config.target);for(const n of e){if(!n.hash||lt(n))continue;const r=$.findOne(decodeURI(n.hash),this._element);Bt(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(jt),this._activateParents(e),A.trigger(this._element,$_,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(M_)){$.findOne(H_,e.closest(U_)).classList.add(jt);return}for(const n of $.parents(e,F_))for(const r of $.prev(n,B_))r.classList.add(jt)}_clearActiveClass(e){e.classList.remove(jt);const n=$.find(`${Gr}.${jt}`,e);for(const r of n)r.classList.remove(jt)}static jQueryInterface(e){return this.each(function(){const n=Bn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(window,R_,()=>{for(const t of $.find(V_))Bn.getOrCreateInstance(t)}),Le(Bn);const Y_="tab",Tt=".bs.tab",K_=`hide${Tt}`,j_=`hidden${Tt}`,G_=`show${Tt}`,X_=`shown${Tt}`,q_=`click${Tt}`,z_=`keydown${Tt}`,Q_=`load${Tt}`,J_="ArrowLeft",Do="ArrowRight",Z_="ArrowUp",ko="ArrowDown",Xr="Home",wo="End",Nt="active",Po="fade",qr="show",em="dropdown",$o=".dropdown-toggle",tm=".dropdown-menu",zr=`:not(${$o})`,nm='.list-group, .nav, [role="tablist"]',rm=".nav-item, .list-group-item",sm=`.nav-link${zr}, .list-group-item${zr}, [role="tab"]${zr}`,Ro='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Qr=`${sm}, ${Ro}`,im=`.${Nt}[data-bs-toggle="tab"], .${Nt}[data-bs-toggle="pill"], .${Nt}[data-bs-toggle="list"]`;class Gt extends ke{constructor(e){super(e),this._parent=this._element.closest(nm),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),A.on(this._element,z_,n=>this._keydown(n)))}static get NAME(){return Y_}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?A.trigger(n,K_,{relatedTarget:e}):null;A.trigger(e,G_,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Nt),this._activate($.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(qr);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),A.trigger(e,X_,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(Po))}_deactivate(e,n){if(!e)return;e.classList.remove(Nt),e.blur(),this._deactivate($.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(qr);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),A.trigger(e,j_,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(Po))}_keydown(e){if(![J_,Do,Z_,ko,Xr,wo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(s=>!lt(s));let r;if([Xr,wo].includes(e.key))r=n[e.key===Xr?0:n.length-1];else{const s=[Do,ko].includes(e.key);r=kr(n,e.target,s,!0)}r&&(r.focus({preventScroll:!0}),Gt.getOrCreateInstance(r).show())}_getChildren(){return $.find(Qr,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=$.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(em))return;const s=(i,o)=>{const a=$.findOne(i,r);a&&a.classList.toggle(o,n)};s($o,Nt),s(tm,qr),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Nt)}_getInnerElement(e){return e.matches(Qr)?e:$.findOne(Qr,e)}_getOuterElement(e){return e.closest(rm)||e}static jQueryInterface(e){return this.each(function(){const n=Gt.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}A.on(document,q_,Ro,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!lt(this)&&Gt.getOrCreateInstance(this).show()}),A.on(window,Q_,()=>{for(const t of $.find(im))Gt.getOrCreateInstance(t)}),Le(Gt);const om="toast",dt=".bs.toast",am=`mouseover${dt}`,lm=`mouseout${dt}`,cm=`focusin${dt}`,um=`focusout${dt}`,dm=`hide${dt}`,fm=`hidden${dt}`,_m=`show${dt}`,mm=`shown${dt}`,hm="fade",Mo="hide",Un="show",Hn="showing",pm={animation:"boolean",autohide:"boolean",delay:"number"},Em={animation:!0,autohide:!0,delay:5e3};class Xt extends ke{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Em}static get DefaultType(){return pm}static get NAME(){return om}show(){if(A.trigger(this._element,_m).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(hm);const n=()=>{this._element.classList.remove(Hn),A.trigger(this._element,mm),this._maybeScheduleHide()};this._element.classList.remove(Mo),sn(this._element),this._element.classList.add(Un,Hn),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||A.trigger(this._element,dm).defaultPrevented)return;const n=()=>{this._element.classList.add(Mo),this._element.classList.remove(Hn,Un),A.trigger(this._element,fm)};this._element.classList.add(Hn),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Un),super.dispose()}isShown(){return this._element.classList.contains(Un)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,am,e=>this._onInteraction(e,!0)),A.on(this._element,lm,e=>this._onInteraction(e,!1)),A.on(this._element,cm,e=>this._onInteraction(e,!0)),A.on(this._element,um,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=Xt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}In(Xt),Le(Xt);const gm=l.defineComponent({name:"BsToast",emits:["shown","hidden"],mounted(){const t=this.$refs.toastRef;Xt.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.toast",this.onShown),t.addEventListener("hidden.bs.toast",this.onHidden)},methods:{hide(){Xt.getOrCreateInstance(this.$refs.toastRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),bm={ref:"toastRef",class:"toast hide",role:"alert","aria-live":"assertive","aria-atomic":"true"};function vm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",bm,[l.renderSlot(t.$slots,"default")],512)}const Tm=Ne(gm,[["render",vm]]),Nm=l.defineComponent({name:"BsModal",props:{title:{type:String,required:!0},classDialog:{type:[String,Object],default:null},hideHeader:{type:Boolean,default:!1},hideBody:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1}},emits:["shown","hidden"],mounted(){const t=this.$refs.modalRef;ut.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.modal",this.onShown),t.addEventListener("hidden.bs.modal",this.onHidden)},methods:{hide(){ut.getOrCreateInstance(this.$refs.modalRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),Am={ref:"modalRef",class:"modal fade",tabindex:"-1","aria-hidden":"true"},ym={class:"modal-content"},Om={key:0,class:"modal-header"},Cm=["textContent"],Lm=l.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal"},null,-1),Im={key:1,class:"modal-body"},Sm={key:2,class:"modal-footer"};function Dm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",Am,[l.createElementVNode("div",{class:l.normalizeClass(["modal-dialog",t.classDialog])},[l.createElementVNode("div",ym,[t.hideHeader?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Om,[l.renderSlot(t.$slots,"header",{},()=>[l.createElementVNode("div",{class:"h5 modal-title",textContent:l.toDisplayString(t.title)},null,8,Cm),Lm])])),t.hideBody?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Im,[l.renderSlot(t.$slots,"body")])),t.hideFooter?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",Sm,[l.renderSlot(t.$slots,"footer")]))])],2)],512)}const km=Ne(Nm,[["render",Dm]]),wm=l.defineComponent({name:"BsSelect",props:{modelValue:{type:[String,Number,Array],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},options:{type:Array,required:!0},placeholder:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:kt(t)}},methods:{getHintId(){return this.id+"Hint"},onInput(t){const e=t.target;this.$emit("update:modelValue",e.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Pm=["for","textContent"],$m=["id","value","aria-labelledby"],Rm={key:0,value:"",disabled:"",hidden:""},Mm=["value"],Vm=["textContent"],Fm=["id","textContent"];function Bm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock(l.Fragment,null,[t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-label",textContent:l.toDisplayString(t.label)},null,8,Pm)):l.createCommentVNode("",!0),l.createElementVNode("select",l.mergeProps({id:t.id,ref:"inputRef",class:"form-select",value:t.modelValue,"aria-labelledby":t.hint!==void 0?t.getHintId():null},t.$attrs,{onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),[t.placeholder!==void 0?(l.openBlock(),l.createElementBlock("option",Rm,l.toDisplayString(t.placeholder),1)):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.options,(o,a)=>(l.openBlock(),l.createElementBlock("option",{key:a,value:o.value},l.toDisplayString(o.text),9,Mm))),128))],16,$m),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Vm)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Fm)):l.createCommentVNode("",!0)],64)}const Um=Ne(wm,[["render",Bm]]),Hm=l.defineComponent({name:"BsRadio",props:{value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:null},id:{type:String,required:!0},label:{type:String,default:void 0},hint:{type:String,default:void 0},classContainer:{type:String,default:void 0},validatorEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(){const t=l.ref(null);return{inputRef:t,validator:kt(t)}},computed:{isChecked(){return this.modelValue===this.value}},methods:{getHintId(){return this.id+"Hint"},onInput(){this.$emit("update:modelValue",this.value)},onInvalid(t){this.validatorEnabled&&this.validator.onInvalid(t)}}}),Wm=["id","value","checked","aria-describedby"],xm=["for","textContent"],Ym=["textContent"],Km=["id","textContent"];function jm(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["form-check",t.classContainer])},[l.createElementVNode("input",l.mergeProps({id:t.id,ref:"inputRef",value:t.modelValue},t.$attrs,{type:"radio",class:"form-check-input",checked:t.isChecked,"aria-describedby":t.hint!==void 0?t.getHintId():null,onInput:e[0]||(e[0]=(...o)=>t.onInput&&t.onInput(...o)),onInvalid:e[1]||(e[1]=(...o)=>t.onInvalid&&t.onInvalid(...o))}),null,16,Wm),t.label!==void 0?(l.openBlock(),l.createElementBlock("label",{key:0,for:t.id,class:"form-check-label",textContent:l.toDisplayString(t.label)},null,8,xm)):l.createCommentVNode("",!0),t.validatorEnabled&&t.validator.getInvalidMessage()!==null?(l.openBlock(),l.createElementBlock("div",{key:1,class:"invalid-feedback",textContent:l.toDisplayString(t.validator.getInvalidMessage())},null,8,Ym)):l.createCommentVNode("",!0),t.hint!==void 0?(l.openBlock(),l.createElementBlock("div",{key:2,id:t.getHintId(),class:"form-text",textContent:l.toDisplayString(t.hint)},null,8,Km)):l.createCommentVNode("",!0)],2)}const Gm=Ne(Hm,[["render",jm]]),Xm=l.defineComponent({name:"BsOffcanvas",props:{title:{type:String,required:!0}},emits:["shown","hidden"],mounted(){const t=this.$refs.offcanvasRef;Ue.getOrCreateInstance(t).show(),t.addEventListener("shown.bs.offcanvas",this.onShown),t.addEventListener("hidden.bs.offcanvas",this.onHidden)},methods:{hide(){Ue.getOrCreateInstance(this.$refs.offcanvasRef).hide()},onShown(){this.$emit("shown")},onHidden(){this.$emit("hidden")}}}),qm={ref:"offcanvasRef",class:"offcanvas",tabindex:"-1","aria-labelledby":"offcanvasTitle"},zm={class:"offcanvas-header"},Qm=["textContent"],Jm=l.createElementVNode("button",{type:"button",class:"btn-close text-reset","data-bs-dismiss":"offcanvas"},null,-1),Zm={class:"offcanvas-body"};function eh(t,e,n,r,s,i){return l.openBlock(),l.createElementBlock("div",qm,[l.createElementVNode("div",zm,[l.renderSlot(t.$slots,"header",{},()=>[l.createElementVNode("div",{id:"offcanvasTitle",class:"h5 mb-0",textContent:l.toDisplayString(t.title)},null,8,Qm),Jm])]),l.createElementVNode("div",Zm,[l.renderSlot(t.$slots,"body")])],512)}const th=Ne(Xm,[["render",eh]]);Z.BsBreadcrumb=xo,Z.BsCheckbox=nc,Z.BsForm=jo,Z.BsInput=ql,Z.BsModal=km,Z.BsOffcanvas=th,Z.BsPaginator=gc,Z.BsRadio=Gm,Z.BsSelect=Um,Z.BsTable=Dc,Z.BsTextarea=cc,Z.BsToast=Tm,Z.useValidator=kt,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
package/dist/index.d.ts CHANGED
@@ -10,4 +10,5 @@ import BsModal from './components/bs-modal/BsModal.vue';
10
10
  import BsSelect from './components/bs-select/BsSelect.vue';
11
11
  import BsRadio from './components/bs-radio/BsRadio.vue';
12
12
  import BsOffcanvas from './components/bs-offcanvas/BsOffcanvas.vue';
13
- export { BsBreadcrumb, BsForm, BsInput, BsCheckbox, BsTextarea, BsPaginator, BsTable, BsToast, BsModal, BsSelect, BsRadio, BsOffcanvas, };
13
+ import { useValidator } from './components/validator/Validator.ts';
14
+ export { BsBreadcrumb, BsForm, BsInput, BsCheckbox, BsTextarea, BsPaginator, BsTable, BsToast, BsModal, BsSelect, BsRadio, BsOffcanvas, useValidator, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-vue-wrapper",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Bootstrap 5 components in Vue3 wrapper.",
5
5
  "main": "./dist/bootstrap-vue-wrapper.umd.js",
6
6
  "module": "./dist/bootstrap-vue-wrapper.mjs",