const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SettingsEdit-DgjPeKUA.js","assets/SettingsEdit-BgtTacc5.css","assets/SettingsSummary-hZpSAE8c.js","assets/SettingsSummary-BwYFzYgL.css","assets/SettingsEditMultiEnv-CP5uamY6.js","assets/SettingsEditMultiEnv-Ctpe8__a.css","assets/SettingsSummary-Bwt2BW4L.js","assets/SettingsSummary-wcQAjlyG.css","assets/SettingsSummary-DF6p-bs4.js","assets/SettingsSummary-Cm0OHHAk.css","assets/CollectionEdit-OANg1Mi4.js","assets/CollectionEdit-Bl8J7CUG.css","assets/CollectionSummary-aniINvmv.js","assets/CollectionSummary-D5XahOIp.css","assets/SettingsEditMultiEnv-DAS36xri.js","assets/SettingsEditMultiEnv-BxY50KEf.css","assets/SettingsSummary-BpCVcAIe.js","assets/SettingsSummary-CUzWcT1W.css","assets/SettingsEdit-4jneBWBh.js","assets/SettingsEdit-DL4PdK4A.css","assets/SettingsSummary-3bKCQHkD.js","assets/SettingsSummary-Bc3GgLhi.css","assets/0442b891-d679-4ed9-a9e8-82abf86b4cd8-DVS_gNES.js","assets/wwElement-CIffNYMW.js","assets/wwElement-memUvnf_.css","assets/wwElement-DQHs103p.js","assets/wwElement-4ao1x56W.css","assets/wwElement-exvplXEl.js","assets/wwElement-c8y35hYU.css","assets/wwElement-DWiiT5l6.js","assets/wwElement-BtqAPxkt.css","assets/wwElement-BEVi-Tbw.js","assets/wwElement-CaUjD0F4.css","assets/leaflet-src-BRgqcJ1x.js","assets/wwSection-CQpGyXbr.js","assets/wwSection-CigbNmVO.css","assets/0442b891-d679-4ed9-a9e8-82abf86b4cd8-C_JYvk0I.css","assets/leaflet-lDzrbhio.css","assets/1eb91c93-048d-482c-8c42-002b01c87f13-BCm6P281.js","assets/wwElement-CFx5kM1c.js","assets/wwElement-B4FRjKnQ.css","assets/wwElement-CpfxDO-s.js","assets/wwElement-j41i-GOA.css","assets/wwSection-vUVf7uFY.js","assets/wwSection-DWpdsXcd.css","assets/wwElement-CTd_QNq_.js","assets/wwElement-Z4yvQZKp.css","assets/wwElement-Dpq-6M0l.js","assets/wwElement-BDc5QMOk.css","assets/wwElement-C56uw5ge.js","assets/wwElement-BNHoE5uH.css","assets/26a09076-762d-47c6-beb4-cae754857627-C7N1xYN7.js","assets/26a09076-762d-47c6-beb4-cae754857627-B3l_H1ze.css","assets/5ac4d67e-27cc-4b02-a955-c80c82b6b066-DyQ9WLYt.js","assets/83669f75-69d5-4838-94c5-4a50ac105bb4-CXKKP5ld.js","assets/83669f75-69d5-4838-94c5-4a50ac105bb4-DDv8l0wV.css","assets/982b9ce3-f154-4042-a2f0-1e547d7e2a38-DTr4h7T9.js","assets/987c0494-9092-48c6-b2d5-4506ee111de5-HSfHukjL.js","assets/9bcb7715-2478-42d6-bcaa-26e5cd1d82ef-Cb_iYfnB.js","assets/bb86f66c-730f-4645-a3d5-9c6664df8b3e-Bk0XHYZy.js","assets/c13a3b05-f5c9-4a44-b952-927fb8c1f0c3-CPg1BpcY.js","assets/dd90a037-3b7a-4383-aec5-e4430d0f0831-Da2E8WRD.js","assets/faee4099-7bb5-49d1-922e-a30d24dcd720-BudjlQ9v.js","assets/ffbcb97f-cd7f-4b27-83c2-c936222ec070-Di5GWoMY.js"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const n of i.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&o(n)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();const yn=globalThis||void 0||self;/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Tb(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const It={},Yi=[],Bo=()=>{},N8=()=>!1,cg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ab=e=>e.startsWith("onUpdate:"),lr=Object.assign,Lb=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},F8=Object.prototype.hasOwnProperty,Lt=(e,t)=>F8.call(e,t),Qe=Array.isArray,Ui=e=>xs(e)==="[object Map]",mg=e=>xs(e)==="[object Set]",V1=e=>xs(e)==="[object Date]",it=e=>typeof e=="function",Vt=e=>typeof e=="string",ko=e=>typeof e=="symbol",Bt=e=>e!==null&&typeof e=="object",D2=e=>(Bt(e)||it(e))&&it(e.then)&&it(e.catch),k2=Object.prototype.toString,xs=e=>k2.call(e),R8=e=>xs(e).slice(8,-1),G2=e=>xs(e)==="[object Object]",$b=e=>Vt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yl=Tb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gg=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},V8=/-(\w)/g,yo=gg(e=>e.replace(V8,(t,r)=>r?r.toUpperCase():"")),H8=/\B([A-Z])/g,ta=gg(e=>e.replace(H8,"-$1").toLowerCase()),fg=gg(e=>e.charAt(0).toUpperCase()+e.slice(1)),tp=gg(e=>e?`on${fg(e)}`:""),Zn=(e,t)=>!Object.is(e,t),Ud=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:r})},Vm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Y8=e=>{const t=Vt(e)?Number(e):NaN;return isNaN(t)?e:t};let H1;const pg=()=>H1||(H1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof yn<"u"?yn:{});function Tn(e){if(Qe(e)){const t={};for(let r=0;r{if(r){const o=r.split(X8);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ka(e){let t="";if(Vt(e))t=e;else if(Qe(e))for(let r=0;rbg(r,t))}const R2=e=>!!(e&&e.__v_isRef===!0),Q8=e=>Vt(e)?e:e==null?"":Qe(e)||Bt(e)&&(e.toString===k2||!it(e.toString))?R2(e)?Q8(e.value):JSON.stringify(e,V2,2):String(e),V2=(e,t)=>R2(t)?V2(e,t.value):Ui(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,a],i)=>(r[rp(o,i)+" =>"]=a,r),{})}:mg(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>rp(r))}:ko(t)?rp(t):Bt(t)&&!Qe(t)&&!G2(t)?String(t):t,rp=(e,t="")=>{var r;return ko(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Cr;class H2{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Cr,!t&&Cr&&(this.index=(Cr.scopes||(Cr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0)return;if(Xl){let t=Xl;for(Xl=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Ul;){let t=Ul;for(Ul=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=r}}if(e)throw e}function j2(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function K2(e){let t,r=e.depsTail,o=r;for(;o;){const a=o.prevDep;o.version===-1?(o===r&&(r=a),Eb(o),e7(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=a}e.deps=t,e.depsTail=r}function P0(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(z2(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function z2(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===is))return;e.globalVersion=is;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!P0(e)){e.flags&=-3;return}const r=Nt,o=Do;Nt=e,Do=!0;try{j2(e);const a=e.fn(e._value);(t.version===0||Zn(a,e._value))&&(e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Nt=r,Do=o,K2(e),e.flags&=-3}}function Eb(e,t=!1){const{dep:r,prevSub:o,nextSub:a}=e;if(o&&(o.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=o,e.nextSub=void 0),r.subs===e&&(r.subs=o,!o&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Eb(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function e7(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Do=!0;const q2=[];function ra(){q2.push(Do),Do=!1}function oa(){const e=q2.pop();Do=e===void 0?!0:e}function Y1(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=Nt;Nt=void 0;try{t()}finally{Nt=r}}}let is=0;class t7{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xg{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Nt||!Do||Nt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Nt)r=this.activeLink=new t7(Nt,this),Nt.deps?(r.prevDep=Nt.depsTail,Nt.depsTail.nextDep=r,Nt.depsTail=r):Nt.deps=Nt.depsTail=r,Z2(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const o=r.nextDep;o.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=o),r.prevDep=Nt.depsTail,r.nextDep=void 0,Nt.depsTail.nextDep=r,Nt.depsTail=r,Nt.deps===r&&(Nt.deps=o)}return r}trigger(t){this.version++,is++,this.notify(t)}notify(t){Pb();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Cb()}}}function Z2(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Z2(o)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Hm=new WeakMap,$a=Symbol(""),C0=Symbol(""),ls=Symbol("");function Sr(e,t,r){if(Do&&Nt){let o=Hm.get(e);o||Hm.set(e,o=new Map);let a=o.get(r);a||(o.set(r,a=new xg),a.map=o,a.key=r),a.track()}}function xn(e,t,r,o,a,i){const n=Hm.get(e);if(!n){is++;return}const s=d=>{d&&d.trigger()};if(Pb(),t==="clear")n.forEach(s);else{const d=Qe(e),c=d&&$b(r);if(d&&r==="length"){const m=Number(o);n.forEach((f,b)=>{(b==="length"||b===ls||!ko(b)&&b>=m)&&s(f)})}else switch((r!==void 0||n.has(void 0))&&s(n.get(r)),c&&s(n.get(ls)),t){case"add":d?c&&s(n.get("length")):(s(n.get($a)),Ui(e)&&s(n.get(C0)));break;case"delete":d||(s(n.get($a)),Ui(e)&&s(n.get(C0)));break;case"set":Ui(e)&&s(n.get($a));break}}Cb()}function r7(e,t){const r=Hm.get(e);return r&&r.get(t)}function ni(e){const t=ht(e);return t===e?t:(Sr(t,"iterate",ls),vo(e)?t:t.map(wr))}function _g(e){return Sr(e=ht(e),"iterate",ls),e}const o7={__proto__:null,[Symbol.iterator](){return np(this,Symbol.iterator,wr)},concat(...e){return ni(this).concat(...e.map(t=>Qe(t)?ni(t):t))},entries(){return np(this,"entries",e=>(e[1]=wr(e[1]),e))},every(e,t){return gn(this,"every",e,t,void 0,arguments)},filter(e,t){return gn(this,"filter",e,t,r=>r.map(wr),arguments)},find(e,t){return gn(this,"find",e,t,wr,arguments)},findIndex(e,t){return gn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gn(this,"findLast",e,t,wr,arguments)},findLastIndex(e,t){return gn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ap(this,"includes",e)},indexOf(...e){return ap(this,"indexOf",e)},join(e){return ni(this).join(e)},lastIndexOf(...e){return ap(this,"lastIndexOf",e)},map(e,t){return gn(this,"map",e,t,void 0,arguments)},pop(){return Tl(this,"pop")},push(...e){return Tl(this,"push",e)},reduce(e,...t){return U1(this,"reduce",e,t)},reduceRight(e,...t){return U1(this,"reduceRight",e,t)},shift(){return Tl(this,"shift")},some(e,t){return gn(this,"some",e,t,void 0,arguments)},splice(...e){return Tl(this,"splice",e)},toReversed(){return ni(this).toReversed()},toSorted(e){return ni(this).toSorted(e)},toSpliced(...e){return ni(this).toSpliced(...e)},unshift(...e){return Tl(this,"unshift",e)},values(){return np(this,"values",wr)}};function np(e,t,r){const o=_g(e),a=o[t]();return o!==e&&!vo(e)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.value&&(i.value=r(i.value)),i}),a}const n7=Array.prototype;function gn(e,t,r,o,a,i){const n=_g(e),s=n!==e&&!vo(e),d=n[t];if(d!==n7[t]){const f=d.apply(e,i);return s?wr(f):f}let c=r;n!==e&&(s?c=function(f,b){return r.call(this,wr(f),b,e)}:r.length>2&&(c=function(f,b){return r.call(this,f,b,e)}));const m=d.call(n,c,o);return s&&a?a(m):m}function U1(e,t,r,o){const a=_g(e);let i=r;return a!==e&&(vo(e)?r.length>3&&(i=function(n,s,d){return r.call(this,n,s,d,e)}):i=function(n,s,d){return r.call(this,n,wr(s),d,e)}),a[t](i,...o)}function ap(e,t,r){const o=ht(e);Sr(o,"iterate",ls);const a=o[t](...r);return(a===-1||a===!1)&&Bb(r[0])?(r[0]=ht(r[0]),o[t](...r)):a}function Tl(e,t,r=[]){ra(),Pb();const o=ht(e)[t].apply(e,r);return Cb(),oa(),o}const a7=Tb("__proto__,__v_isRef,__isVue"),Q2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ko));function i7(e){ko(e)||(e=String(e));const t=ht(this);return Sr(t,"has",e),t.hasOwnProperty(e)}class J2{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,o){if(r==="__v_skip")return t.__v_skip;const a=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return i;if(r==="__v_raw")return o===(a?i?b7:o5:i?r5:t5).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const n=Qe(t);if(!a){let d;if(n&&(d=o7[r]))return d;if(r==="hasOwnProperty")return i7}const s=Reflect.get(t,r,jt(t)?t:o);return(ko(r)?Q2.has(r):a7(r))||(a||Sr(t,"get",r),i)?s:jt(s)?n&&$b(r)?s:s.value:Bt(s)?a?Ym(s):yt(s):s}}class e5 extends J2{constructor(t=!1){super(!1,t)}set(t,r,o,a){let i=t[r];if(!this._isShallow){const d=Oa(i);if(!vo(o)&&!Oa(o)&&(i=ht(i),o=ht(o)),!Qe(t)&&jt(i)&&!jt(o))return d?!1:(i.value=o,!0)}const n=Qe(t)&&$b(r)?Number(r)e,hd=e=>Reflect.getPrototypeOf(e);function c7(e,t,r){return function(...o){const a=this.__v_raw,i=ht(a),n=Ui(i),s=e==="entries"||e===Symbol.iterator&&n,d=e==="keys"&&n,c=a[e](...o),m=r?E0:t?O0:wr;return!t&&Sr(i,"iterate",d?C0:$a),{next(){const{value:f,done:b}=c.next();return b?{value:f,done:b}:{value:s?[m(f[0]),m(f[1])]:m(f),done:b}},[Symbol.iterator](){return this}}}}function xd(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function m7(e,t){const r={get(a){const i=this.__v_raw,n=ht(i),s=ht(a);e||(Zn(a,s)&&Sr(n,"get",a),Sr(n,"get",s));const{has:d}=hd(n),c=t?E0:e?O0:wr;if(d.call(n,a))return c(i.get(a));if(d.call(n,s))return c(i.get(s));i!==n&&i.get(a)},get size(){const a=this.__v_raw;return!e&&Sr(ht(a),"iterate",$a),Reflect.get(a,"size",a)},has(a){const i=this.__v_raw,n=ht(i),s=ht(a);return e||(Zn(a,s)&&Sr(n,"has",a),Sr(n,"has",s)),a===s?i.has(a):i.has(a)||i.has(s)},forEach(a,i){const n=this,s=n.__v_raw,d=ht(s),c=t?E0:e?O0:wr;return!e&&Sr(d,"iterate",$a),s.forEach((m,f)=>a.call(i,c(m),c(f),n))}};return lr(r,e?{add:xd("add"),set:xd("set"),delete:xd("delete"),clear:xd("clear")}:{add(a){!t&&!vo(a)&&!Oa(a)&&(a=ht(a));const i=ht(this);return hd(i).has.call(i,a)||(i.add(a),xn(i,"add",a,a)),this},set(a,i){!t&&!vo(i)&&!Oa(i)&&(i=ht(i));const n=ht(this),{has:s,get:d}=hd(n);let c=s.call(n,a);c||(a=ht(a),c=s.call(n,a));const m=d.call(n,a);return n.set(a,i),c?Zn(i,m)&&xn(n,"set",a,i):xn(n,"add",a,i),this},delete(a){const i=ht(this),{has:n,get:s}=hd(i);let d=n.call(i,a);d||(a=ht(a),d=n.call(i,a)),s&&s.call(i,a);const c=i.delete(a);return d&&xn(i,"delete",a,void 0),c},clear(){const a=ht(this),i=a.size!==0,n=a.clear();return i&&xn(a,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(a=>{r[a]=c7(a,e,t)}),r}function Ob(e,t){const r=m7(e,t);return(o,a,i)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?o:Reflect.get(Lt(r,a)&&a in o?r:o,a,i)}const g7={get:Ob(!1,!1)},f7={get:Ob(!1,!0)},p7={get:Ob(!0,!1)};const t5=new WeakMap,r5=new WeakMap,o5=new WeakMap,b7=new WeakMap;function h7(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function x7(e){return e.__v_skip||!Object.isExtensible(e)?0:h7(R8(e))}function yt(e){return Oa(e)?e:Ib(e,!1,s7,g7,t5)}function ss(e){return Ib(e,!1,u7,f7,r5)}function Ym(e){return Ib(e,!0,d7,p7,o5)}function Ib(e,t,r,o,a){if(!Bt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const n=x7(e);if(n===0)return e;const s=new Proxy(e,n===2?o:r);return a.set(e,s),s}function Qn(e){return Oa(e)?Qn(e.__v_raw):!!(e&&e.__v_isReactive)}function Oa(e){return!!(e&&e.__v_isReadonly)}function vo(e){return!!(e&&e.__v_isShallow)}function Bb(e){return e?!!e.__v_raw:!1}function ht(e){const t=e&&e.__v_raw;return t?ht(t):e}function vg(e){return!Lt(e,"__v_skip")&&Object.isExtensible(e)&&N2(e,"__v_skip",!0),e}const wr=e=>Bt(e)?yt(e):e,O0=e=>Bt(e)?Ym(e):e;function jt(e){return e?e.__v_isRef===!0:!1}function Pt(e){return n5(e,!1)}function ds(e){return n5(e,!0)}function n5(e,t){return jt(e)?e:new _7(e,t)}class _7{constructor(t,r){this.dep=new xg,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:ht(t),this._value=r?t:wr(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,o=this.__v_isShallow||vo(t)||Oa(t);t=o?t:ht(t),Zn(t,r)&&(this._rawValue=t,this._value=o?t:wr(t),this.dep.trigger())}}function er(e){return jt(e)?e.value:e}const v7={get:(e,t,r)=>t==="__v_raw"?e:er(Reflect.get(e,t,r)),set:(e,t,r,o)=>{const a=e[t];return jt(a)&&!jt(r)?(a.value=r,!0):Reflect.set(e,t,r,o)}};function a5(e){return Qn(e)?e:new Proxy(e,v7)}class y7{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new xg,{get:o,set:a}=t(r.track.bind(r),r.trigger.bind(r));this._get=o,this._set=a}get value(){return this._value=this._get()}set value(t){this._set(t)}}function bSe(e){return new y7(e)}function S7(e){const t=Qe(e)?new Array(e.length):{};for(const r in e)t[r]=i5(e,r);return t}class w7{constructor(t,r,o){this._object=t,this._key=r,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return r7(ht(this._object),this._key)}}class M7{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Jo(e,t,r){return jt(e)?e:it(e)?new M7(e):Bt(e)&&arguments.length>1?i5(e,t,r):Pt(e)}function i5(e,t,r){const o=e[t];return jt(o)?o:new w7(e,t,r)}class T7{constructor(t,r,o){this.fn=t,this.setter=r,this._value=void 0,this.dep=new xg(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Nt!==this)return W2(this,!0),!0}get value(){const t=this.dep.track();return z2(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function A7(e,t,r=!1){let o,a;return it(e)?o=e:(o=e.get,a=e.set),new T7(o,a,r)}const _d={},Um=new WeakMap;let va;function L7(e,t=!1,r=va){if(r){let o=Um.get(r);o||Um.set(r,o=[]),o.push(e)}}function $7(e,t,r=It){const{immediate:o,deep:a,once:i,scheduler:n,augmentJob:s,call:d}=r,c=C=>a?C:vo(C)||a===!1||a===0?_n(C,1):_n(C);let m,f,b,g,h=!1,y=!1;if(jt(e)?(f=()=>e.value,h=vo(e)):Qn(e)?(f=()=>c(e),h=!0):Qe(e)?(y=!0,h=e.some(C=>Qn(C)||vo(C)),f=()=>e.map(C=>{if(jt(C))return C.value;if(Qn(C))return c(C);if(it(C))return d?d(C,2):C()})):it(e)?t?f=d?()=>d(e,2):e:f=()=>{if(b){ra();try{b()}finally{oa()}}const C=va;va=m;try{return d?d(e,3,[g]):e(g)}finally{va=C}}:f=Bo,t&&a){const C=f,I=a===!0?1/0:a;f=()=>_n(C(),I)}const w=Y2(),M=()=>{m.stop(),w&&w.active&&Lb(w.effects,m)};if(i&&t){const C=t;t=(...I)=>{C(...I),M()}}let A=y?new Array(e.length).fill(_d):_d;const L=C=>{if(!(!(m.flags&1)||!m.dirty&&!C))if(t){const I=m.run();if(a||h||(y?I.some((F,R)=>Zn(F,A[R])):Zn(I,A))){b&&b();const F=va;va=m;try{const R=[I,A===_d?void 0:y&&A[0]===_d?[]:A,g];d?d(t,3,R):t(...R),A=I}finally{va=F}}}else m.run()};return s&&s(L),m=new U2(f),m.scheduler=n?()=>n(L,!1):L,g=C=>L7(C,!1,m),b=m.onStop=()=>{const C=Um.get(m);if(C){if(d)d(C,4);else for(const I of C)I();Um.delete(m)}},t?o?L(!0):A=m.run():n?n(L.bind(null,!0),!0):m.run(),M.pause=m.pause.bind(m),M.resume=m.resume.bind(m),M.stop=M,M}function _n(e,t=1/0,r){if(t<=0||!Bt(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,jt(e))_n(e.value,t,r);else if(Qe(e))for(let o=0;o{_n(o,t,r)});else if(G2(e)){for(const o in e)_n(e[o],t,r);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&_n(e[o],t,r)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function _s(e,t,r,o){try{return o?e(...o):e()}catch(a){yg(a,t,r)}}function Go(e,t,r,o){if(it(e)){const a=_s(e,t,r,o);return a&&D2(a)&&a.catch(i=>{yg(i,t,r)}),a}if(Qe(e)){const a=[];for(let i=0;i>>1,a=Er[o],i=us(a);i=us(r)?Er.push(e):Er.splice(C7(t),0,e),e.flags|=1,s5()}}function s5(){Xm||(Xm=l5.then(c5))}function d5(e){Qe(e)?Xi.push(...e):Un&&e.id===-1?Un.splice(Fi+1,0,e):e.flags&1||(Xi.push(e),e.flags|=1),s5()}function X1(e,t,r=Ko+1){for(;rus(r)-us(o));if(Xi.length=0,Un){Un.push(...t);return}for(Un=t,Fi=0;Fie.id==null?e.flags&2?-1:1/0:e.id;function c5(e){try{for(Ko=0;Ko{o._d&&a_(-1);const i=Wm(t);let n;try{n=e(...a)}finally{Wm(i),o._d&&a_(1)}return n};return o._n=!0,o._c=!0,o._d=!0,o}function hSe(e,t){if(ir===null)return e;const r=Ag(ir),o=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,Wl=e=>e&&(e.disabled||e.disabled===""),W1=e=>e&&(e.defer||e.defer===""),j1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,K1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,I0=(e,t)=>{const r=e&&e.to;return Vt(r)?t?t(r):null:r},p5={name:"Teleport",__isTeleport:!0,process(e,t,r,o,a,i,n,s,d,c){const{mc:m,pc:f,pbc:b,o:{insert:g,querySelector:h,createText:y,createComment:w}}=c,M=Wl(t.props);let{shapeFlag:A,children:L,dynamicChildren:C}=t;if(e==null){const I=t.el=y(""),F=t.anchor=y("");g(I,r,o),g(F,r,o);const R=(W,K)=>{A&16&&(a&&a.isCE&&(a.ce._teleportTarget=W),m(L,W,K,a,i,n,s,d))},q=()=>{const W=t.target=I0(t.props,h),K=b5(W,t,y,g);W&&(n!=="svg"&&j1(W)?n="svg":n!=="mathml"&&K1(W)&&(n="mathml"),M||(R(W,K),Xd(t,!1)))};M&&(R(r,F),Xd(t,!0)),W1(t.props)?Pr(()=>{q(),t.el.__isMounted=!0},i):q()}else{if(W1(t.props)&&!e.el.__isMounted){Pr(()=>{p5.process(e,t,r,o,a,i,n,s,d,c),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,F=t.target=e.target,R=t.targetAnchor=e.targetAnchor,q=Wl(e.props),W=q?r:F,K=q?I:R;if(n==="svg"||j1(F)?n="svg":(n==="mathml"||K1(F))&&(n="mathml"),C?(b(e.dynamicChildren,C,W,a,i,n,s),Nb(e,t,!0)):d||f(e,t,W,K,a,i,n,s,!1),M)q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vd(t,r,I,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=I0(t.props,h);N&&vd(t,N,null,c,0)}else q&&vd(t,F,R,c,1);Xd(t,M)}},remove(e,t,r,{um:o,o:{remove:a}},i){const{shapeFlag:n,children:s,anchor:d,targetStart:c,targetAnchor:m,target:f,props:b}=e;if(f&&(a(c),a(m)),i&&a(d),n&16){const g=i||!Wl(b);for(let h=0;h{e.isMounted=!0}),ys(()=>{e.isUnmounting=!0}),e}const bo=[Function,Array],x5={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bo,onEnter:bo,onAfterEnter:bo,onEnterCancelled:bo,onBeforeLeave:bo,onLeave:bo,onAfterLeave:bo,onLeaveCancelled:bo,onBeforeAppear:bo,onAppear:bo,onAfterAppear:bo,onAppearCancelled:bo},_5=e=>{const t=e.subTree;return t.component?_5(t.component):t},O7={name:"BaseTransition",props:x5,setup(e,{slots:t}){const r=ol(),o=h5();return()=>{const a=t.default&&kb(t.default(),!0);if(!a||!a.length)return;const i=v5(a),n=ht(e),{mode:s}=n;if(o.isLeaving)return ip(i);const d=z1(i);if(!d)return ip(i);let c=cs(d,n,o,r,f=>c=f);d.type!==Ir&&Ia(d,c);let m=r.subTree&&z1(r.subTree);if(m&&m.type!==Ir&&!Sa(d,m)&&_5(r).type!==Ir){let f=cs(m,n,o,r);if(Ia(m,f),s==="out-in"&&d.type!==Ir)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,r.job.flags&8||r.update(),delete f.afterLeave,m=void 0},ip(i);s==="in-out"&&d.type!==Ir?f.delayLeave=(b,g,h)=>{const y=y5(o,m);y[String(m.key)]=m,b[Xn]=()=>{g(),b[Xn]=void 0,delete c.delayedLeave,m=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,m=void 0}}:m=void 0}else m&&(m=void 0);return i}}};function v5(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Ir){t=r;break}}return t}const I7=O7;function y5(e,t){const{leavingVNodes:r}=e;let o=r.get(t.type);return o||(o=Object.create(null),r.set(t.type,o)),o}function cs(e,t,r,o,a){const{appear:i,mode:n,persisted:s=!1,onBeforeEnter:d,onEnter:c,onAfterEnter:m,onEnterCancelled:f,onBeforeLeave:b,onLeave:g,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:w,onAppear:M,onAfterAppear:A,onAppearCancelled:L}=t,C=String(e.key),I=y5(r,e),F=(W,K)=>{W&&Go(W,o,9,K)},R=(W,K)=>{const N=K[1];F(W,K),Qe(W)?W.every(V=>V.length<=1)&&N():W.length<=1&&N()},q={mode:n,persisted:s,beforeEnter(W){let K=d;if(!r.isMounted)if(i)K=w||d;else return;W[Xn]&&W[Xn](!0);const N=I[C];N&&Sa(e,N)&&N.el[Xn]&&N.el[Xn](),F(K,[W])},enter(W){let K=c,N=m,V=f;if(!r.isMounted)if(i)K=M||c,N=A||m,V=L||f;else return;let J=!1;const ee=W[yd]=Z=>{J||(J=!0,Z?F(V,[W]):F(N,[W]),q.delayedLeave&&q.delayedLeave(),W[yd]=void 0)};K?R(K,[W,ee]):ee()},leave(W,K){const N=String(e.key);if(W[yd]&&W[yd](!0),r.isUnmounting)return K();F(b,[W]);let V=!1;const J=W[Xn]=ee=>{V||(V=!0,K(),ee?F(y,[W]):F(h,[W]),W[Xn]=void 0,I[N]===e&&delete I[N])};I[N]=e,g?R(g,[W,J]):J()},clone(W){const K=cs(W,t,r,o,a);return a&&a(K),K}};return q}function ip(e){if(Sg(e))return e=Jn(e),e.children=null,e}function z1(e){if(!Sg(e))return f5(e.type)&&e.children?v5(e.children):e;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&it(r.default))return r.default()}}function Ia(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ia(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function kb(e,t=!1,r){let o=[],a=0;for(let i=0;i1)for(let i=0;ir.value,set:i=>r.value=i})}return r}function jm(e,t,r,o,a=!1){if(Qe(e)){e.forEach((h,y)=>jm(h,t&&(Qe(t)?t[y]:t),r,o,a));return}if(Wi(o)&&!a){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&jm(e,t,r,o.component.subTree);return}const i=o.shapeFlag&4?Ag(o.component):o.el,n=a?null:i,{i:s,r:d}=e,c=t&&t.r,m=s.refs===It?s.refs={}:s.refs,f=s.setupState,b=ht(f),g=f===It?()=>!1:h=>Lt(b,h);if(c!=null&&c!==d&&(Vt(c)?(m[c]=null,g(c)&&(f[c]=null)):jt(c)&&(c.value=null)),it(d))_s(d,s,12,[n,m]);else{const h=Vt(d),y=jt(d);if(h||y){const w=()=>{if(e.f){const M=h?g(d)?f[d]:m[d]:d.value;a?Qe(M)&&Lb(M,i):Qe(M)?M.includes(i)||M.push(i):h?(m[d]=[i],g(d)&&(f[d]=m[d])):(d.value=[i],e.k&&(m[e.k]=d.value))}else h?(m[d]=n,g(d)&&(f[d]=n)):y&&(d.value=n,e.k&&(m[e.k]=n))};n?(w.id=-1,Pr(w,r)):w()}}}pg().requestIdleCallback;pg().cancelIdleCallback;const Wi=e=>!!e.type.__asyncLoader,Sg=e=>e.type.__isKeepAlive;function M5(e,t){A5(e,"a",t)}function T5(e,t){A5(e,"da",t)}function A5(e,t,r=fr){const o=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(wg(t,o,r),r){let a=r.parent;for(;a&&a.parent;)Sg(a.parent.vnode)&&B7(o,t,r,a),a=a.parent}}function B7(e,t,r,o){const a=wg(t,e,o,!0);Ga(()=>{Lb(o[t],a)},r)}function wg(e,t,r=fr,o=!1){if(r){const a=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...n)=>{ra();const s=ws(r),d=Go(t,r,e,n);return s(),oa(),d});return o?a.unshift(i):a.push(i),i}}const An=e=>(t,r=fr)=>{(!fs||e==="sp")&&wg(e,(...o)=>t(...o),r)},D7=An("bm"),vs=An("m"),L5=An("bu"),$5=An("u"),ys=An("bum"),Ga=An("um"),k7=An("sp"),G7=An("rtg"),N7=An("rtc");function F7(e,t=fr){wg("ec",e,t)}const P5="components";function ar(e,t){return E5(P5,e,!0,t)||e}const C5=Symbol.for("v-ndc");function Ss(e){return Vt(e)?E5(P5,e,!1)||e:e||C5}function E5(e,t,r=!0,o=!1){const a=ir||fr;if(a){const i=a.type;{const s=LE(i,!1);if(s&&(s===t||s===yo(t)||s===fg(yo(t))))return i}const n=q1(a[e]||i[e],t)||q1(a.appContext[e],t);return!n&&o?i:n}}function q1(e,t){return e&&(e[t]||e[yo(t)]||e[fg(yo(t))])}function Fl(e,t,r,o){let a;const i=r,n=Qe(e);if(n||Vt(e)){const s=n&&Qn(e);let d=!1;s&&(d=!vo(e),e=_g(e)),a=new Array(e.length);for(let c=0,m=e.length;ct(s,d,void 0,i));else{const s=Object.keys(e);a=new Array(s.length);for(let d=0,c=s.length;d{const i=o.fn(...a);return i&&(i.key=o.key),i}:o.fn)}return e}function Sn(e,t,r={},o,a){if(ir.ce||ir.parent&&Wi(ir.parent)&&ir.parent.ce)return t!=="default"&&(r.name=t),wt(),Xt(Ut,null,[Wt("slot",r,o&&o())],64);let i=e[t];i&&i._c&&(i._d=!1),wt();const n=i&&O5(i(r)),s=r.key||n&&n.key,d=Xt(Ut,{key:(s&&!ko(s)?s:`_${t}`)+(!n&&o?"_fb":"")},n||(o?o():[]),n&&e._===1?64:-2);return!a&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),i&&i._c&&(i._d=!0),d}function O5(e){return e.some(t=>gs(t)?!(t.type===Ir||t.type===Ut&&!O5(t.children)):!0)?e:null}const B0=e=>e?Z5(e)?Ag(e):B0(e.parent):null,jl=lr(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>B0(e.parent),$root:e=>B0(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>B5(e),$forceUpdate:e=>e.f||(e.f=()=>{Db(e.update)}),$nextTick:e=>e.n||(e.n=rl.bind(e.proxy)),$watch:e=>dE.bind(e)}),lp=(e,t)=>e!==It&&!e.__isScriptSetup&&Lt(e,t),R7={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:o,data:a,props:i,accessCache:n,type:s,appContext:d}=e;let c;if(t[0]!=="$"){const g=n[t];if(g!==void 0)switch(g){case 1:return o[t];case 2:return a[t];case 4:return r[t];case 3:return i[t]}else{if(lp(o,t))return n[t]=1,o[t];if(a!==It&&Lt(a,t))return n[t]=2,a[t];if((c=e.propsOptions[0])&&Lt(c,t))return n[t]=3,i[t];if(r!==It&&Lt(r,t))return n[t]=4,r[t];D0&&(n[t]=0)}}const m=jl[t];let f,b;if(m)return t==="$attrs"&&Sr(e.attrs,"get",""),m(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(r!==It&&Lt(r,t))return n[t]=4,r[t];if(b=d.config.globalProperties,Lt(b,t))return b[t]},set({_:e},t,r){const{data:o,setupState:a,ctx:i}=e;return lp(a,t)?(a[t]=r,!0):o!==It&&Lt(o,t)?(o[t]=r,!0):Lt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:o,appContext:a,propsOptions:i}},n){let s;return!!r[n]||e!==It&&Lt(e,n)||lp(t,n)||(s=i[0])&&Lt(s,n)||Lt(o,n)||Lt(jl,n)||Lt(a.config.globalProperties,n)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Lt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function ySe(){return V7().slots}function V7(){const e=ol();return e.setupContext||(e.setupContext=J5(e))}function Z1(e){return Qe(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let D0=!0;function H7(e){const t=B5(e),r=e.proxy,o=e.ctx;D0=!1,t.beforeCreate&&Q1(t.beforeCreate,e,"bc");const{data:a,computed:i,methods:n,watch:s,provide:d,inject:c,created:m,beforeMount:f,mounted:b,beforeUpdate:g,updated:h,activated:y,deactivated:w,beforeDestroy:M,beforeUnmount:A,destroyed:L,unmounted:C,render:I,renderTracked:F,renderTriggered:R,errorCaptured:q,serverPrefetch:W,expose:K,inheritAttrs:N,components:V,directives:J,filters:ee}=t;if(c&&Y7(c,o,null),n)for(const X in n){const oe=n[X];it(oe)&&(o[X]=oe.bind(r))}if(a){const X=a.call(r,r);Bt(X)&&(e.data=yt(X))}if(D0=!0,i)for(const X in i){const oe=i[X],ve=it(oe)?oe.bind(r,r):it(oe.get)?oe.get.bind(r,r):Bo,De=!it(oe)&&it(oe.set)?oe.set.bind(r):Bo,Oe=ye({get:ve,set:De});Object.defineProperty(o,X,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:Ie=>Oe.value=Ie})}if(s)for(const X in s)I5(s[X],o,r,X);if(d){const X=it(d)?d.call(r):d;Reflect.ownKeys(X).forEach(oe=>{nt(oe,X[oe])})}m&&Q1(m,e,"c");function re(X,oe){Qe(oe)?oe.forEach(ve=>X(ve.bind(r))):oe&&X(oe.bind(r))}if(re(D7,f),re(vs,b),re(L5,g),re($5,h),re(M5,y),re(T5,w),re(F7,q),re(N7,F),re(G7,R),re(ys,A),re(Ga,C),re(k7,W),Qe(K))if(K.length){const X=e.exposed||(e.exposed={});K.forEach(oe=>{Object.defineProperty(X,oe,{get:()=>r[oe],set:ve=>r[oe]=ve})})}else e.exposed||(e.exposed={});I&&e.render===Bo&&(e.render=I),N!=null&&(e.inheritAttrs=N),V&&(e.components=V),J&&(e.directives=J),W&&w5(e)}function Y7(e,t,r=Bo){Qe(e)&&(e=k0(e));for(const o in e){const a=e[o];let i;Bt(a)?"default"in a?i=Ce(a.from||o,a.default,!0):i=Ce(a.from||o):i=Ce(a),jt(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:n=>i.value=n}):t[o]=i}}function Q1(e,t,r){Go(Qe(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function I5(e,t,r,o){let a=o.includes(".")?W5(r,o):()=>r[o];if(Vt(e)){const i=t[e];it(i)&&Kt(a,i)}else if(it(e))Kt(a,e.bind(r));else if(Bt(e))if(Qe(e))e.forEach(i=>I5(i,t,r,o));else{const i=it(e.handler)?e.handler.bind(r):t[e.handler];it(i)&&Kt(a,i,e)}}function B5(e){const t=e.type,{mixins:r,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:n}}=e.appContext,s=i.get(t);let d;return s?d=s:!a.length&&!r&&!o?d=t:(d={},a.length&&a.forEach(c=>Km(d,c,n,!0)),Km(d,t,n)),Bt(t)&&i.set(t,d),d}function Km(e,t,r,o=!1){const{mixins:a,extends:i}=t;i&&Km(e,i,r,!0),a&&a.forEach(n=>Km(e,n,r,!0));for(const n in t)if(!(o&&n==="expose")){const s=U7[n]||r&&r[n];e[n]=s?s(e[n],t[n]):t[n]}return e}const U7={data:J1,props:e_,emits:e_,methods:Rl,computed:Rl,beforeCreate:$r,created:$r,beforeMount:$r,mounted:$r,beforeUpdate:$r,updated:$r,beforeDestroy:$r,beforeUnmount:$r,destroyed:$r,unmounted:$r,activated:$r,deactivated:$r,errorCaptured:$r,serverPrefetch:$r,components:Rl,directives:Rl,watch:W7,provide:J1,inject:X7};function J1(e,t){return t?e?function(){return lr(it(e)?e.call(this,this):e,it(t)?t.call(this,this):t)}:t:e}function X7(e,t){return Rl(k0(e),k0(t))}function k0(e){if(Qe(e)){const t={};for(let r=0;r1)return r&&it(t)?t.call(o&&o.proxy):t}}function z7(){return!!(fr||ir||Pa)}const k5={},G5=()=>Object.create(k5),N5=e=>Object.getPrototypeOf(e)===k5;function q7(e,t,r,o=!1){const a={},i=G5();e.propsDefaults=Object.create(null),F5(e,t,a,i);for(const n in e.propsOptions[0])n in a||(a[n]=void 0);r?e.props=o?a:ss(a):e.type.props?e.props=a:e.props=i,e.attrs=i}function Z7(e,t,r,o){const{props:a,attrs:i,vnode:{patchFlag:n}}=e,s=ht(a),[d]=e.propsOptions;let c=!1;if((o||n>0)&&!(n&16)){if(n&8){const m=e.vnode.dynamicProps;for(let f=0;f{d=!0;const[b,g]=R5(f,t,!0);lr(n,b),g&&s.push(...g)};!r&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!i&&!d)return Bt(e)&&o.set(e,Yi),Yi;if(Qe(i))for(let m=0;me[0]==="_"||e==="$stable",Gb=e=>Qe(e)?e.map(Zo):[Zo(e)],J7=(e,t,r)=>{if(t._n)return t;const o=en((...a)=>Gb(t(...a)),r);return o._c=!1,o},H5=(e,t,r)=>{const o=e._ctx;for(const a in e){if(V5(a))continue;const i=e[a];if(it(i))t[a]=J7(a,i,o);else if(i!=null){const n=Gb(i);t[a]=()=>n}}},Y5=(e,t)=>{const r=Gb(t);e.slots.default=()=>r},U5=(e,t,r)=>{for(const o in t)(r||o!=="_")&&(e[o]=t[o])},eE=(e,t,r)=>{const o=e.slots=G5();if(e.vnode.shapeFlag&32){const a=t._;a?(U5(o,t,r),r&&N2(o,"_",a,!0)):H5(t,o)}else t&&Y5(e,t)},tE=(e,t,r)=>{const{vnode:o,slots:a}=e;let i=!0,n=It;if(o.shapeFlag&32){const s=t._;s?r&&s===1?i=!1:U5(a,t,r):(i=!t.$stable,H5(t,a)),n=t}else t&&(Y5(e,t),n={default:1});if(i)for(const s in a)!V5(s)&&n[s]==null&&delete a[s]},Pr=bE;function rE(e){return oE(e)}function oE(e,t){const r=pg();r.__VUE__=!0;const{insert:o,remove:a,patchProp:i,createElement:n,createText:s,createComment:d,setText:c,setElementText:m,parentNode:f,nextSibling:b,setScopeId:g=Bo,insertStaticContent:h}=e,y=(O,k,Y,ie=null,me=null,le=null,Te=void 0,Ae=null,we=!!k.dynamicChildren)=>{if(O===k)return;O&&!Sa(O,k)&&(ie=ne(O),Ie(O,me,le,!0),O=null),k.patchFlag===-2&&(we=!1,k.dynamicChildren=null);const{type:be,ref:Fe,shapeFlag:Le}=k;switch(be){case Tg:w(O,k,Y,ie);break;case Ir:M(O,k,Y,ie);break;case Kl:O==null&&A(k,Y,ie,Te);break;case Ut:V(O,k,Y,ie,me,le,Te,Ae,we);break;default:Le&1?I(O,k,Y,ie,me,le,Te,Ae,we):Le&6?J(O,k,Y,ie,me,le,Te,Ae,we):(Le&64||Le&128)&&be.process(O,k,Y,ie,me,le,Te,Ae,we,pe)}Fe!=null&&me&&jm(Fe,O&&O.ref,le,k||O,!k)},w=(O,k,Y,ie)=>{if(O==null)o(k.el=s(k.children),Y,ie);else{const me=k.el=O.el;k.children!==O.children&&c(me,k.children)}},M=(O,k,Y,ie)=>{O==null?o(k.el=d(k.children||""),Y,ie):k.el=O.el},A=(O,k,Y,ie)=>{[O.el,O.anchor]=h(O.children,k,Y,ie,O.el,O.anchor)},L=({el:O,anchor:k},Y,ie)=>{let me;for(;O&&O!==k;)me=b(O),o(O,Y,ie),O=me;o(k,Y,ie)},C=({el:O,anchor:k})=>{let Y;for(;O&&O!==k;)Y=b(O),a(O),O=Y;a(k)},I=(O,k,Y,ie,me,le,Te,Ae,we)=>{k.type==="svg"?Te="svg":k.type==="math"&&(Te="mathml"),O==null?F(k,Y,ie,me,le,Te,Ae,we):W(O,k,me,le,Te,Ae,we)},F=(O,k,Y,ie,me,le,Te,Ae)=>{let we,be;const{props:Fe,shapeFlag:Le,transition:Ge,dirs:Re}=O;if(we=O.el=n(O.type,le,Fe&&Fe.is,Fe),Le&8?m(we,O.children):Le&16&&q(O.children,we,null,ie,me,sp(O,le),Te,Ae),Re&&fa(O,null,ie,"created"),R(we,O,O.scopeId,Te,ie),Fe){for(const ft in Fe)ft!=="value"&&!Yl(ft)&&i(we,ft,null,Fe[ft],le,ie);"value"in Fe&&i(we,"value",null,Fe.value,le),(be=Fe.onVnodeBeforeMount)&&Uo(be,ie,O)}Re&&fa(O,null,ie,"beforeMount");const at=nE(me,Ge);at&&Ge.beforeEnter(we),o(we,k,Y),((be=Fe&&Fe.onVnodeMounted)||at||Re)&&Pr(()=>{be&&Uo(be,ie,O),at&&Ge.enter(we),Re&&fa(O,null,ie,"mounted")},me)},R=(O,k,Y,ie,me)=>{if(Y&&g(O,Y),ie)for(let le=0;le{for(let be=we;be{const Ae=k.el=O.el;let{patchFlag:we,dynamicChildren:be,dirs:Fe}=k;we|=O.patchFlag&16;const Le=O.props||It,Ge=k.props||It;let Re;if(Y&&pa(Y,!1),(Re=Ge.onVnodeBeforeUpdate)&&Uo(Re,Y,k,O),Fe&&fa(k,O,Y,"beforeUpdate"),Y&&pa(Y,!0),(Le.innerHTML&&Ge.innerHTML==null||Le.textContent&&Ge.textContent==null)&&m(Ae,""),be?K(O.dynamicChildren,be,Ae,Y,ie,sp(k,me),le):Te||oe(O,k,Ae,null,Y,ie,sp(k,me),le,!1),we>0){if(we&16)N(Ae,Le,Ge,Y,me);else if(we&2&&Le.class!==Ge.class&&i(Ae,"class",null,Ge.class,me),we&4&&i(Ae,"style",Le.style,Ge.style,me),we&8){const at=k.dynamicProps;for(let ft=0;ft{Re&&Uo(Re,Y,k,O),Fe&&fa(k,O,Y,"updated")},ie)},K=(O,k,Y,ie,me,le,Te)=>{for(let Ae=0;Ae{if(k!==Y){if(k!==It)for(const le in k)!Yl(le)&&!(le in Y)&&i(O,le,k[le],null,me,ie);for(const le in Y){if(Yl(le))continue;const Te=Y[le],Ae=k[le];Te!==Ae&&le!=="value"&&i(O,le,Ae,Te,me,ie)}"value"in Y&&i(O,"value",k.value,Y.value,me)}},V=(O,k,Y,ie,me,le,Te,Ae,we)=>{const be=k.el=O?O.el:s(""),Fe=k.anchor=O?O.anchor:s("");let{patchFlag:Le,dynamicChildren:Ge,slotScopeIds:Re}=k;Re&&(Ae=Ae?Ae.concat(Re):Re),O==null?(o(be,Y,ie),o(Fe,Y,ie),q(k.children||[],Y,Fe,me,le,Te,Ae,we)):Le>0&&Le&64&&Ge&&O.dynamicChildren?(K(O.dynamicChildren,Ge,Y,me,le,Te,Ae),(k.key!=null||me&&k===me.subTree)&&Nb(O,k,!0)):oe(O,k,Y,Fe,me,le,Te,Ae,we)},J=(O,k,Y,ie,me,le,Te,Ae,we)=>{k.slotScopeIds=Ae,O==null?k.shapeFlag&512?me.ctx.activate(k,Y,ie,Te,we):ee(k,Y,ie,me,le,Te,we):Z(O,k,we)},ee=(O,k,Y,ie,me,le,Te)=>{const Ae=O.component=wE(O,ie,me);if(Sg(O)&&(Ae.ctx.renderer=pe),ME(Ae,!1,Te),Ae.asyncDep){if(me&&me.registerDep(Ae,re,Te),!O.el){const we=Ae.subTree=Wt(Ir);M(null,we,k,Y)}}else re(Ae,O,k,Y,me,le,Te)},Z=(O,k,Y)=>{const ie=k.component=O.component;if(fE(O,k,Y))if(ie.asyncDep&&!ie.asyncResolved){X(ie,k,Y);return}else ie.next=k,ie.update();else k.el=O.el,ie.vnode=k},re=(O,k,Y,ie,me,le,Te)=>{const Ae=()=>{if(O.isMounted){let{next:Le,bu:Ge,u:Re,parent:at,vnode:ft}=O;{const S=X5(O);if(S){Le&&(Le.el=ft.el,X(O,Le,Te)),S.asyncDep.then(()=>{O.isUnmounted||Ae()});return}}let et=Le,Et;pa(O,!1),Le?(Le.el=ft.el,X(O,Le,Te)):Le=ft,Ge&&Ud(Ge),(Et=Le.props&&Le.props.onVnodeBeforeUpdate)&&Uo(Et,at,Le,ft),pa(O,!0);const $=o_(O),x=O.subTree;O.subTree=$,y(x,$,f(x.el),ne(x),O,me,le),Le.el=$.el,et===null&&pE(O,$.el),Re&&Pr(Re,me),(Et=Le.props&&Le.props.onVnodeUpdated)&&Pr(()=>Uo(Et,at,Le,ft),me)}else{let Le;const{el:Ge,props:Re}=k,{bm:at,m:ft,parent:et,root:Et,type:$}=O,x=Wi(k);pa(O,!1),at&&Ud(at),!x&&(Le=Re&&Re.onVnodeBeforeMount)&&Uo(Le,et,k),pa(O,!0);{Et.ce&&Et.ce._injectChildStyle($);const S=O.subTree=o_(O);y(null,S,Y,ie,O,me,le),k.el=S.el}if(ft&&Pr(ft,me),!x&&(Le=Re&&Re.onVnodeMounted)){const S=k;Pr(()=>Uo(Le,et,S),me)}(k.shapeFlag&256||et&&Wi(et.vnode)&&et.vnode.shapeFlag&256)&&O.a&&Pr(O.a,me),O.isMounted=!0,k=Y=ie=null}};O.scope.on();const we=O.effect=new U2(Ae);O.scope.off();const be=O.update=we.run.bind(we),Fe=O.job=we.runIfDirty.bind(we);Fe.i=O,Fe.id=O.uid,we.scheduler=()=>Db(Fe),pa(O,!0),be()},X=(O,k,Y)=>{k.component=O;const ie=O.vnode.props;O.vnode=k,O.next=null,Z7(O,k.props,ie,Y),tE(O,k.children,Y),ra(),X1(O),oa()},oe=(O,k,Y,ie,me,le,Te,Ae,we=!1)=>{const be=O&&O.children,Fe=O?O.shapeFlag:0,Le=k.children,{patchFlag:Ge,shapeFlag:Re}=k;if(Ge>0){if(Ge&128){De(be,Le,Y,ie,me,le,Te,Ae,we);return}else if(Ge&256){ve(be,Le,Y,ie,me,le,Te,Ae,we);return}}Re&8?(Fe&16&&Ye(be,me,le),Le!==be&&m(Y,Le)):Fe&16?Re&16?De(be,Le,Y,ie,me,le,Te,Ae,we):Ye(be,me,le,!0):(Fe&8&&m(Y,""),Re&16&&q(Le,Y,ie,me,le,Te,Ae,we))},ve=(O,k,Y,ie,me,le,Te,Ae,we)=>{O=O||Yi,k=k||Yi;const be=O.length,Fe=k.length,Le=Math.min(be,Fe);let Ge;for(Ge=0;GeFe?Ye(O,me,le,!0,!1,Le):q(k,Y,ie,me,le,Te,Ae,we,Le)},De=(O,k,Y,ie,me,le,Te,Ae,we)=>{let be=0;const Fe=k.length;let Le=O.length-1,Ge=Fe-1;for(;be<=Le&&be<=Ge;){const Re=O[be],at=k[be]=we?Wn(k[be]):Zo(k[be]);if(Sa(Re,at))y(Re,at,Y,null,me,le,Te,Ae,we);else break;be++}for(;be<=Le&&be<=Ge;){const Re=O[Le],at=k[Ge]=we?Wn(k[Ge]):Zo(k[Ge]);if(Sa(Re,at))y(Re,at,Y,null,me,le,Te,Ae,we);else break;Le--,Ge--}if(be>Le){if(be<=Ge){const Re=Ge+1,at=ReGe)for(;be<=Le;)Ie(O[be],me,le,!0),be++;else{const Re=be,at=be,ft=new Map;for(be=at;be<=Ge;be++){const te=k[be]=we?Wn(k[be]):Zo(k[be]);te.key!=null&&ft.set(te.key,be)}let et,Et=0;const $=Ge-at+1;let x=!1,S=0;const B=new Array($);for(be=0;be<$;be++)B[be]=0;for(be=Re;be<=Le;be++){const te=O[be];if(Et>=$){Ie(te,me,le,!0);continue}let D;if(te.key!=null)D=ft.get(te.key);else for(et=at;et<=Ge;et++)if(B[et-at]===0&&Sa(te,k[et])){D=et;break}D===void 0?Ie(te,me,le,!0):(B[D-at]=be+1,D>=S?S=D:x=!0,y(te,k[D],Y,null,me,le,Te,Ae,we),Et++)}const U=x?aE(B):Yi;for(et=U.length-1,be=$-1;be>=0;be--){const te=at+be,D=k[te],j=te+1{const{el:le,type:Te,transition:Ae,children:we,shapeFlag:be}=O;if(be&6){Oe(O.component.subTree,k,Y,ie);return}if(be&128){O.suspense.move(k,Y,ie);return}if(be&64){Te.move(O,k,Y,pe);return}if(Te===Ut){o(le,k,Y);for(let Le=0;LeAe.enter(le),me);else{const{leave:Le,delayLeave:Ge,afterLeave:Re}=Ae,at=()=>o(le,k,Y),ft=()=>{Le(le,()=>{at(),Re&&Re()})};Ge?Ge(le,at,ft):ft()}else o(le,k,Y)},Ie=(O,k,Y,ie=!1,me=!1)=>{const{type:le,props:Te,ref:Ae,children:we,dynamicChildren:be,shapeFlag:Fe,patchFlag:Le,dirs:Ge,cacheIndex:Re}=O;if(Le===-2&&(me=!1),Ae!=null&&jm(Ae,null,Y,O,!0),Re!=null&&(k.renderCache[Re]=void 0),Fe&256){k.ctx.deactivate(O);return}const at=Fe&1&&Ge,ft=!Wi(O);let et;if(ft&&(et=Te&&Te.onVnodeBeforeUnmount)&&Uo(et,k,O),Fe&6)Ke(O.component,Y,ie);else{if(Fe&128){O.suspense.unmount(Y,ie);return}at&&fa(O,null,k,"beforeUnmount"),Fe&64?O.type.remove(O,k,Y,pe,ie):be&&!be.hasOnce&&(le!==Ut||Le>0&&Le&64)?Ye(be,k,Y,!1,!0):(le===Ut&&Le&384||!me&&Fe&16)&&Ye(we,k,Y),ie&&ot(O)}(ft&&(et=Te&&Te.onVnodeUnmounted)||at)&&Pr(()=>{et&&Uo(et,k,O),at&&fa(O,null,k,"unmounted")},Y)},ot=O=>{const{type:k,el:Y,anchor:ie,transition:me}=O;if(k===Ut){je(Y,ie);return}if(k===Kl){C(O);return}const le=()=>{a(Y),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(O.shapeFlag&1&&me&&!me.persisted){const{leave:Te,delayLeave:Ae}=me,we=()=>Te(Y,le);Ae?Ae(O.el,le,we):we()}else le()},je=(O,k)=>{let Y;for(;O!==k;)Y=b(O),a(O),O=Y;a(k)},Ke=(O,k,Y)=>{const{bum:ie,scope:me,job:le,subTree:Te,um:Ae,m:we,a:be}=O;r_(we),r_(be),ie&&Ud(ie),me.stop(),le&&(le.flags|=8,Ie(Te,O,k,Y)),Ae&&Pr(Ae,k),Pr(()=>{O.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},Ye=(O,k,Y,ie=!1,me=!1,le=0)=>{for(let Te=le;Te{if(O.shapeFlag&6)return ne(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const k=b(O.anchor||O.el),Y=k&&k[g5];return Y?b(Y):k};let _e=!1;const ce=(O,k,Y)=>{O==null?k._vnode&&Ie(k._vnode,null,null,!0):y(k._vnode||null,O,k,null,null,null,Y),k._vnode=O,_e||(_e=!0,X1(),u5(),_e=!1)},pe={p:y,um:Ie,m:Oe,r:ot,mt:ee,mc:q,pc:oe,pbc:K,n:ne,o:e};return{render:ce,hydrate:void 0,createApp:K7(ce)}}function sp({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function pa({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function nE(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Nb(e,t,r=!1){const o=e.children,a=t.children;if(Qe(o)&&Qe(a))for(let i=0;i>1,e[r[s]]0&&(t[o]=r[i-1]),r[i]=o)}}for(i=r.length,n=r[i-1];i-- >0;)r[i]=n,n=t[n];return r}function X5(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:X5(t)}function r_(e){if(e)for(let t=0;tCe(iE);function sE(e,t){return Fb(e,null,t)}function Kt(e,t,r){return Fb(e,t,r)}function Fb(e,t,r=It){const{immediate:o,deep:a,flush:i,once:n}=r,s=lr({},r),d=t&&o||!t&&i!=="post";let c;if(fs){if(i==="sync"){const g=lE();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!d){const g=()=>{};return g.stop=Bo,g.resume=Bo,g.pause=Bo,g}}const m=fr;s.call=(g,h,y)=>Go(g,m,h,y);let f=!1;i==="post"?s.scheduler=g=>{Pr(g,m&&m.suspense)}:i!=="sync"&&(f=!0,s.scheduler=(g,h)=>{h?g():Db(g)}),s.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,m&&(g.id=m.uid,g.i=m))};const b=$7(e,t,s);return fs&&(c?c.push(b):d&&b()),b}function dE(e,t,r){const o=this.proxy,a=Vt(e)?e.includes(".")?W5(o,e):()=>o[e]:e.bind(o,o);let i;it(t)?i=t:(i=t.handler,r=t);const n=ws(this),s=Fb(a,i.bind(o),r);return n(),s}function W5(e,t){const r=t.split(".");return()=>{let o=e;for(let a=0;at==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yo(t)}Modifiers`]||e[`${ta(t)}Modifiers`];function cE(e,t,...r){if(e.isUnmounted)return;const o=e.vnode.props||It;let a=r;const i=t.startsWith("update:"),n=i&&uE(o,t.slice(7));n&&(n.trim&&(a=r.map(m=>Vt(m)?m.trim():m)),n.number&&(a=r.map(Vm)));let s,d=o[s=tp(t)]||o[s=tp(yo(t))];!d&&i&&(d=o[s=tp(ta(t))]),d&&Go(d,e,6,a);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Go(c,e,6,a)}}function j5(e,t,r=!1){const o=t.emitsCache,a=o.get(e);if(a!==void 0)return a;const i=e.emits;let n={},s=!1;if(!it(e)){const d=c=>{const m=j5(c,t,!0);m&&(s=!0,lr(n,m))};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!i&&!s?(Bt(e)&&o.set(e,null),null):(Qe(i)?i.forEach(d=>n[d]=null):lr(n,i),Bt(e)&&o.set(e,n),n)}function Mg(e,t){return!e||!cg(t)?!1:(t=t.slice(2).replace(/Once$/,""),Lt(e,t[0].toLowerCase()+t.slice(1))||Lt(e,ta(t))||Lt(e,t))}function o_(e){const{type:t,vnode:r,proxy:o,withProxy:a,propsOptions:[i],slots:n,attrs:s,emit:d,render:c,renderCache:m,props:f,data:b,setupState:g,ctx:h,inheritAttrs:y}=e,w=Wm(e);let M,A;try{if(r.shapeFlag&4){const C=a||o,I=C;M=Zo(c.call(I,C,m,f,g,b,h)),A=s}else{const C=t;M=Zo(C.length>1?C(f,{attrs:s,slots:n,emit:d}):C(f,null)),A=t.props?s:mE(s)}}catch(C){zl.length=0,yg(C,e,1),M=Wt(Ir)}let L=M;if(A&&y!==!1){const C=Object.keys(A),{shapeFlag:I}=L;C.length&&I&7&&(i&&C.some(Ab)&&(A=gE(A,i)),L=Jn(L,A,!1,!0))}return r.dirs&&(L=Jn(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(r.dirs):r.dirs),r.transition&&Ia(L,r.transition),M=L,Wm(w),M}const mE=e=>{let t;for(const r in e)(r==="class"||r==="style"||cg(r))&&((t||(t={}))[r]=e[r]);return t},gE=(e,t)=>{const r={};for(const o in e)(!Ab(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function fE(e,t,r){const{props:o,children:a,component:i}=e,{props:n,children:s,patchFlag:d}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return o?n_(o,n,c):!!n;if(d&8){const m=t.dynamicProps;for(let f=0;fe.__isSuspense;function bE(e,t){t&&t.pendingBranch?Qe(e)?t.effects.push(...e):t.effects.push(e):d5(e)}const Ut=Symbol.for("v-fgt"),Tg=Symbol.for("v-txt"),Ir=Symbol.for("v-cmt"),Kl=Symbol.for("v-stc"),zl=[];let ro=null;function wt(e=!1){zl.push(ro=e?null:[])}function hE(){zl.pop(),ro=zl[zl.length-1]||null}let ms=1;function a_(e,t=!1){ms+=e,e<0&&ro&&t&&(ro.hasOnce=!0)}function z5(e){return e.dynamicChildren=ms>0?ro||Yi:null,hE(),ms>0&&ro&&ro.push(e),e}function to(e,t,r,o,a,i){return z5(wn(e,t,r,o,a,i,!0))}function Xt(e,t,r,o,a){return z5(Wt(e,t,r,o,a,!0))}function gs(e){return e?e.__v_isVNode===!0:!1}function Sa(e,t){return e.type===t.type&&e.key===t.key}const q5=({key:e})=>e??null,Wd=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Vt(e)||jt(e)||it(e)?{i:ir,r:e,k:t,f:!!r}:e:null);function wn(e,t=null,r=null,o=0,a=null,i=e===Ut?0:1,n=!1,s=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&q5(t),ref:t&&Wd(t),scopeId:m5,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ir};return s?(Rb(d,r),i&128&&e.normalize(d)):r&&(d.shapeFlag|=Vt(r)?8:16),ms>0&&!n&&ro&&(d.patchFlag>0||i&6)&&d.patchFlag!==32&&ro.push(d),d}const Wt=xE;function xE(e,t=null,r=null,o=0,a=null,i=!1){if((!e||e===C5)&&(e=Ir),gs(e)){const s=Jn(e,t,!0);return r&&Rb(s,r),ms>0&&!i&&ro&&(s.shapeFlag&6?ro[ro.indexOf(e)]=s:ro.push(s)),s.patchFlag=-2,s}if($E(e)&&(e=e.__vccOpts),t){t=_E(t);let{class:s,style:d}=t;s&&!Vt(s)&&(t.class=ka(s)),Bt(d)&&(Bb(d)&&!Qe(d)&&(d=lr({},d)),t.style=Tn(d))}const n=Vt(e)?1:K5(e)?128:f5(e)?64:Bt(e)?4:it(e)?2:0;return wn(e,t,r,o,a,n,i,!0)}function _E(e){return e?Bb(e)||N5(e)?lr({},e):e:null}function Jn(e,t,r=!1,o=!1){const{props:a,ref:i,patchFlag:n,children:s,transition:d}=e,c=t?oo(a||{},t):a,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&q5(c),ref:t&&t.ref?r&&i?Qe(i)?i.concat(Wd(t)):[i,Wd(t)]:Wd(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ut?n===-1?16:n|16:n,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&o&&Ia(m,d.clone(m)),m}function vE(e=" ",t=0){return Wt(Tg,null,e,t)}function SSe(e,t){const r=Wt(Kl,null,e);return r.staticCount=t,r}function ea(e="",t=!1){return t?(wt(),Xt(Ir,null,e)):Wt(Ir,null,e)}function Zo(e){return e==null||typeof e=="boolean"?Wt(Ir):Qe(e)?Wt(Ut,null,e.slice()):gs(e)?Wn(e):Wt(Tg,null,String(e))}function Wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function Rb(e,t){let r=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Qe(t))r=16;else if(typeof t=="object")if(o&65){const a=t.default;a&&(a._c&&(a._d=!1),Rb(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=t._;!a&&!N5(t)?t._ctx=ir:a===3&&ir&&(ir.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else it(t)?(t={default:t,_ctx:ir},r=32):(t=String(t),o&64?(r=16,t=[vE(t)]):r=8);e.children=t,e.shapeFlag|=r}function oo(...e){const t={};for(let r=0;rfr||ir;let zm,N0;{const e=pg(),t=(r,o)=>{let a;return(a=e[r])||(a=e[r]=[]),a.push(o),i=>{a.length>1?a.forEach(n=>n(i)):a[0](i)}};zm=t("__VUE_INSTANCE_SETTERS__",r=>fr=r),N0=t("__VUE_SSR_SETTERS__",r=>fs=r)}const ws=e=>{const t=fr;return zm(e),e.scope.on(),()=>{e.scope.off(),zm(t)}},i_=()=>{fr&&fr.scope.off(),zm(null)};function Z5(e){return e.vnode.shapeFlag&4}let fs=!1;function ME(e,t=!1,r=!1){t&&N0(t);const{props:o,children:a}=e.vnode,i=Z5(e);q7(e,o,i,t),eE(e,a,r);const n=i?TE(e,t):void 0;return t&&N0(!1),n}function TE(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,R7);const{setup:o}=r;if(o){ra();const a=e.setupContext=o.length>1?J5(e):null,i=ws(e),n=_s(o,e,0,[e.props,a]),s=D2(n);if(oa(),i(),(s||e.sp)&&!Wi(e)&&w5(e),s){if(n.then(i_,i_),t)return n.then(d=>{l_(e,d)}).catch(d=>{yg(d,e,0)});e.asyncDep=n}else l_(e,n)}else Q5(e)}function l_(e,t,r){it(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Bt(t)&&(e.setupState=a5(t)),Q5(e)}function Q5(e,t,r){const o=e.type;e.render||(e.render=o.render||Bo);{const a=ws(e);ra();try{H7(e)}finally{oa(),a()}}}const AE={get(e,t){return Sr(e,"get",""),e[t]}};function J5(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,AE),slots:e.slots,emit:e.emit,expose:t}}function Ag(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(a5(vg(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in jl)return jl[r](e)},has(t,r){return r in t||r in jl}})):e.proxy}function LE(e,t=!0){return it(e)?e.displayName||e.name:e.name||t&&e.__name}function $E(e){return it(e)&&"__vccOpts"in e}const ye=(e,t)=>A7(e,t,fs);function zi(e,t,r){const o=arguments.length;return o===2?Bt(t)&&!Qe(t)?gs(t)?Wt(e,null,[t]):Wt(e,t):Wt(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&gs(r)&&(r=[r]),Wt(e,t,r))}const eT="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let F0;const s_=typeof window<"u"&&window.trustedTypes;if(s_)try{F0=s_.createPolicy("vue",{createHTML:e=>e})}catch{}const tT=F0?e=>F0.createHTML(e):e=>e,PE="http://www.w3.org/2000/svg",CE="http://www.w3.org/1998/Math/MathML",bn=typeof document<"u"?document:null,d_=bn&&bn.createElement("template"),EE={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,o)=>{const a=t==="svg"?bn.createElementNS(PE,e):t==="mathml"?bn.createElementNS(CE,e):r?bn.createElement(e,{is:r}):bn.createElement(e);return e==="select"&&o&&o.multiple!=null&&a.setAttribute("multiple",o.multiple),a},createText:e=>bn.createTextNode(e),createComment:e=>bn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,o,a,i){const n=r?r.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===i||!(a=a.nextSibling)););else{d_.innerHTML=tT(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const s=d_.content;if(o==="svg"||o==="mathml"){const d=s.firstChild;for(;d.firstChild;)s.appendChild(d.firstChild);s.removeChild(d)}t.insertBefore(s,r)}return[n?n.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Gn="transition",Al="animation",qi=Symbol("_vtc"),rT={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},oT=lr({},x5,rT),OE=e=>(e.displayName="Transition",e.props=oT,e),IE=OE((e,{slots:t})=>zi(I7,nT(e),t)),ba=(e,t=[])=>{Qe(e)?e.forEach(r=>r(...t)):e&&e(...t)},u_=e=>e?Qe(e)?e.some(t=>t.length>1):e.length>1:!1;function nT(e){const t={};for(const V in e)V in rT||(t[V]=e[V]);if(e.css===!1)return t;const{name:r="v",type:o,duration:a,enterFromClass:i=`${r}-enter-from`,enterActiveClass:n=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:d=i,appearActiveClass:c=n,appearToClass:m=s,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:b=`${r}-leave-active`,leaveToClass:g=`${r}-leave-to`}=e,h=BE(a),y=h&&h[0],w=h&&h[1],{onBeforeEnter:M,onEnter:A,onEnterCancelled:L,onLeave:C,onLeaveCancelled:I,onBeforeAppear:F=M,onAppear:R=A,onAppearCancelled:q=L}=t,W=(V,J,ee,Z)=>{V._enterCancelled=Z,Vn(V,J?m:s),Vn(V,J?c:n),ee&&ee()},K=(V,J)=>{V._isLeaving=!1,Vn(V,f),Vn(V,g),Vn(V,b),J&&J()},N=V=>(J,ee)=>{const Z=V?R:A,re=()=>W(J,V,ee);ba(Z,[J,re]),c_(()=>{Vn(J,V?d:i),jo(J,V?m:s),u_(Z)||m_(J,o,y,re)})};return lr(t,{onBeforeEnter(V){ba(M,[V]),jo(V,i),jo(V,n)},onBeforeAppear(V){ba(F,[V]),jo(V,d),jo(V,c)},onEnter:N(!1),onAppear:N(!0),onLeave(V,J){V._isLeaving=!0;const ee=()=>K(V,J);jo(V,f),V._enterCancelled?(jo(V,b),R0()):(R0(),jo(V,b)),c_(()=>{V._isLeaving&&(Vn(V,f),jo(V,g),u_(C)||m_(V,o,w,ee))}),ba(C,[V,ee])},onEnterCancelled(V){W(V,!1,void 0,!0),ba(L,[V])},onAppearCancelled(V){W(V,!0,void 0,!0),ba(q,[V])},onLeaveCancelled(V){K(V),ba(I,[V])}})}function BE(e){if(e==null)return null;if(Bt(e))return[dp(e.enter),dp(e.leave)];{const t=dp(e);return[t,t]}}function dp(e){return Y8(e)}function jo(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[qi]||(e[qi]=new Set)).add(t)}function Vn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const r=e[qi];r&&(r.delete(t),r.size||(e[qi]=void 0))}function c_(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let DE=0;function m_(e,t,r,o){const a=e._endId=++DE,i=()=>{a===e._endId&&o()};if(r!=null)return setTimeout(i,r);const{type:n,timeout:s,propCount:d}=aT(e,t);if(!n)return o();const c=n+"end";let m=0;const f=()=>{e.removeEventListener(c,b),i()},b=g=>{g.target===e&&++m>=d&&f()};setTimeout(()=>{m(r[h]||"").split(", "),a=o(`${Gn}Delay`),i=o(`${Gn}Duration`),n=g_(a,i),s=o(`${Al}Delay`),d=o(`${Al}Duration`),c=g_(s,d);let m=null,f=0,b=0;t===Gn?n>0&&(m=Gn,f=n,b=i.length):t===Al?c>0&&(m=Al,f=c,b=d.length):(f=Math.max(n,c),m=f>0?n>c?Gn:Al:null,b=m?m===Gn?i.length:d.length:0);const g=m===Gn&&/\b(transform|all)(,|$)/.test(o(`${Gn}Property`).toString());return{type:m,timeout:f,propCount:b,hasTransform:g}}function g_(e,t){for(;e.lengthf_(r)+f_(e[o])))}function f_(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function R0(){return document.body.offsetHeight}function kE(e,t,r){const o=e[qi];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const qm=Symbol("_vod"),iT=Symbol("_vsh"),wSe={beforeMount(e,{value:t},{transition:r}){e[qm]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ll(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:o}){!t!=!r&&(o?t?(o.beforeEnter(e),Ll(e,!0),o.enter(e)):o.leave(e,()=>{Ll(e,!1)}):Ll(e,t))},beforeUnmount(e,{value:t}){Ll(e,t)}};function Ll(e,t){e.style.display=t?e[qm]:"none",e[iT]=!t}const lT=Symbol("");function MSe(e){const t=ol();if(!t)return;const r=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Zm(i,a))},o=()=>{const a=e(t.proxy);t.ce?Zm(t.ce,a):V0(t.subTree,a),r(a)};L5(()=>{d5(o)}),vs(()=>{Kt(o,Bo,{flush:"post"});const a=new MutationObserver(o);a.observe(t.subTree.el.parentNode,{childList:!0}),Ga(()=>a.disconnect())})}function V0(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{V0(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Zm(e.el,t);else if(e.type===Ut)e.children.forEach(r=>V0(r,t));else if(e.type===Kl){let{el:r,anchor:o}=e;for(;r&&(Zm(r,t),r!==o);)r=r.nextSibling}}function Zm(e,t){if(e.nodeType===1){const r=e.style;let o="";for(const a in t)r.setProperty(`--${a}`,t[a]),o+=`--${a}: ${t[a]};`;r[lT]=o}}const GE=/(^|;)\s*display\s*:/;function NE(e,t,r){const o=e.style,a=Vt(r);let i=!1;if(r&&!a){if(t)if(Vt(t))for(const n of t.split(";")){const s=n.slice(0,n.indexOf(":")).trim();r[s]==null&&jd(o,s,"")}else for(const n in t)r[n]==null&&jd(o,n,"");for(const n in r)n==="display"&&(i=!0),jd(o,n,r[n])}else if(a){if(t!==r){const n=o[lT];n&&(r+=";"+n),o.cssText=r,i=GE.test(r)}}else t&&e.removeAttribute("style");qm in e&&(e[qm]=i?o.display:"",e[iT]&&(o.display="none"))}const p_=/\s*!important$/;function jd(e,t,r){if(Qe(r))r.forEach(o=>jd(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const o=FE(e,t);p_.test(r)?e.setProperty(ta(o),r.replace(p_,""),"important"):e[o]=r}}const b_=["Webkit","Moz","ms"],up={};function FE(e,t){const r=up[t];if(r)return r;let o=yo(t);if(o!=="filter"&&o in e)return up[t]=o;o=fg(o);for(let a=0;acp||(YE.then(()=>cp=0),cp=Date.now());function XE(e,t){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;Go(WE(o,r.value),t,5,[o])};return r.value=e,r.attached=UE(),r}function WE(e,t){if(Qe(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(o=>a=>!a._stopped&&o&&o(a))}else return t}const S_=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jE=(e,t,r,o,a,i)=>{const n=a==="svg";t==="class"?kE(e,o,n):t==="style"?NE(e,r,o):cg(t)?Ab(t)||VE(e,t,r,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):KE(e,t,o,n))?(__(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&x_(e,t,o,n,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Vt(o))?__(e,yo(t),o,i,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),x_(e,t,o,n))};function KE(e,t,r,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&S_(t)&&it(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return S_(t)&&Vt(r)?!1:t in e}const sT=new WeakMap,dT=new WeakMap,Qm=Symbol("_moveCb"),w_=Symbol("_enterCb"),zE=e=>(delete e.props.mode,e),qE=zE({name:"TransitionGroup",props:lr({},oT,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=ol(),o=h5();let a,i;return $5(()=>{if(!a.length)return;const n=e.moveClass||`${e.name||"v"}-move`;if(!eO(a[0].el,r.vnode.el,n))return;a.forEach(ZE),a.forEach(QE);const s=a.filter(JE);R0(),s.forEach(d=>{const c=d.el,m=c.style;jo(c,n),m.transform=m.webkitTransform=m.transitionDuration="";const f=c[Qm]=b=>{b&&b.target!==c||(!b||/transform$/.test(b.propertyName))&&(c.removeEventListener("transitionend",f),c[Qm]=null,Vn(c,n))};c.addEventListener("transitionend",f)})}),()=>{const n=ht(e),s=nT(n);let d=n.tag||Ut;if(a=[],i)for(let c=0;c{s.split(/\s+/).forEach(d=>d&&o.classList.remove(d))}),r.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:n}=aT(o);return i.removeChild(o),n}const Jm=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Qe(t)?r=>Ud(t,r):t};function tO(e){e.target.composing=!0}function M_(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ji=Symbol("_assign"),ASe={created(e,{modifiers:{lazy:t,trim:r,number:o}},a){e[ji]=Jm(a);const i=o||a.props&&a.props.type==="number";wa(e,t?"change":"input",n=>{if(n.target.composing)return;let s=e.value;r&&(s=s.trim()),i&&(s=Vm(s)),e[ji](s)}),r&&wa(e,"change",()=>{e.value=e.value.trim()}),t||(wa(e,"compositionstart",tO),wa(e,"compositionend",M_),wa(e,"change",M_))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:o,trim:a,number:i}},n){if(e[ji]=Jm(n),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?Vm(e.value):e.value,d=t??"";s!==d&&(document.activeElement===e&&e.type!=="range"&&(o&&t===r||a&&e.value.trim()===d)||(e.value=d))}},LSe={deep:!0,created(e,{value:t,modifiers:{number:r}},o){const a=mg(t);wa(e,"change",()=>{const i=Array.prototype.filter.call(e.options,n=>n.selected).map(n=>r?Vm(eg(n)):eg(n));e[ji](e.multiple?a?new Set(i):i:i[0]),e._assigning=!0,rl(()=>{e._assigning=!1})}),e[ji]=Jm(o)},mounted(e,{value:t}){T_(e,t)},beforeUpdate(e,t,r){e[ji]=Jm(r)},updated(e,{value:t}){e._assigning||T_(e,t)}};function T_(e,t){const r=e.multiple,o=Qe(t);if(!(r&&!o&&!mg(t))){for(let a=0,i=e.options.length;aString(c)===String(s)):n.selected=Z8(t,s)>-1}else n.selected=t.has(s);else if(bg(eg(n),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function eg(e){return"_value"in e?e._value:e.value}const rO=["ctrl","shift","alt","meta"],oO={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>rO.some(r=>e[`${r}Key`]&&!t.includes(r))},$Se=(e,t)=>{const r=e._withMods||(e._withMods={}),o=t.join(".");return r[o]||(r[o]=(a,...i)=>{for(let n=0;n{const r=e._withKeys||(e._withKeys={}),o=t.join(".");return r[o]||(r[o]=a=>{if(!("key"in a))return;const i=ta(a.key);if(t.some(n=>n===i||nO[n]===i))return e(a)})},aO=lr({patchProp:jE},EE);let A_;function uT(){return A_||(A_=rE(aO))}const CSe=(...e)=>{uT().render(...e)},iO=(...e)=>{const t=uT().createApp(...e),{mount:r}=t;return t.mount=o=>{const a=sO(o);if(!a)return;const i=t._component;!it(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const n=r(a,!1,lO(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),n},t};function lO(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sO(e){return Vt(e)?document.querySelector(e):e}function dO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cT={exports:{}},Qt=cT.exports={},zo,qo;function H0(){throw new Error("setTimeout has not been defined")}function Y0(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zo=setTimeout:zo=H0}catch{zo=H0}try{typeof clearTimeout=="function"?qo=clearTimeout:qo=Y0}catch{qo=Y0}})();function mT(e){if(zo===setTimeout)return setTimeout(e,0);if((zo===H0||!zo)&&setTimeout)return zo=setTimeout,setTimeout(e,0);try{return zo(e,0)}catch{try{return zo.call(null,e,0)}catch{return zo.call(this,e,0)}}}function uO(e){if(qo===clearTimeout)return clearTimeout(e);if((qo===Y0||!qo)&&clearTimeout)return qo=clearTimeout,clearTimeout(e);try{return qo(e)}catch{try{return qo.call(null,e)}catch{return qo.call(this,e)}}}var vn=[],Ki=!1,Ta,Kd=-1;function cO(){!Ki||!Ta||(Ki=!1,Ta.length?vn=Ta.concat(vn):Kd=-1,vn.length&&gT())}function gT(){if(!Ki){var e=mT(cO);Ki=!0;for(var t=vn.length;t;){for(Ta=vn,vn=[];++Kd1)for(var r=1;rt=>{const r=gO.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Fo=e=>(e=e.toLowerCase(),t=>$g(t)===e),Pg=e=>t=>typeof t===e,{isArray:nl}=Array,Zi=Pg("undefined");function Ms(e){return e!==null&&!Zi(e)&&e.constructor!==null&&!Zi(e.constructor)&&Yr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const hT=Fo("ArrayBuffer");function fO(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&hT(e.buffer),t}const pO=Pg("string"),Yr=Pg("function"),xT=Pg("number"),Ts=e=>e!==null&&typeof e=="object",bO=e=>e===!0||e===!1,zd=e=>{if($g(e)!=="object")return!1;const t=Vb(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(bT in e)&&!(Lg in e)},hO=e=>{if(!Ts(e)||Ms(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},xO=Fo("Date"),_O=Fo("File"),vO=Fo("Blob"),yO=Fo("FileList"),SO=e=>Ts(e)&&Yr(e.pipe),wO=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Yr(e.append)&&((t=$g(e))==="formdata"||t==="object"&&Yr(e.toString)&&e.toString()==="[object FormData]"))},MO=Fo("URLSearchParams"),[TO,AO,LO,$O]=["ReadableStream","Request","Response","Headers"].map(Fo),PO=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function As(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,a;if(typeof e!="object"&&(e=[e]),nl(e))for(o=0,a=e.length;o0;)if(a=r[o],t===a.toLowerCase())return a;return null}const Aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:yn,vT=e=>!Zi(e)&&e!==Aa;function U0(){const{caseless:e,skipUndefined:t}=vT(this)&&this||{},r={},o=(a,i)=>{const n=e&&_T(r,i)||i;zd(r[n])&&zd(a)?r[n]=U0(r[n],a):zd(a)?r[n]=U0({},a):nl(a)?r[n]=a.slice():(!t||!Zi(a))&&(r[n]=a)};for(let a=0,i=arguments.length;a(As(t,(a,i)=>{r&&Yr(a)?e[i]=pT(a,r):e[i]=a},{allOwnKeys:o}),e),EO=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),OO=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},IO=(e,t,r,o)=>{let a,i,n;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)n=a[i],(!o||o(n,e,t))&&!s[n]&&(t[n]=e[n],s[n]=!0);e=r!==!1&&Vb(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},BO=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return o!==-1&&o===r},DO=e=>{if(!e)return null;if(nl(e))return e;let t=e.length;if(!xT(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},kO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Vb(Uint8Array)),GO=(e,t)=>{const o=(e&&e[Lg]).call(e);let a;for(;(a=o.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},NO=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},FO=Fo("HTMLFormElement"),RO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,a){return o.toUpperCase()+a}),$_=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),VO=Fo("RegExp"),yT=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};As(r,(a,i)=>{let n;(n=t(a,i,e))!==!1&&(o[i]=n||a)}),Object.defineProperties(e,o)},HO=e=>{yT(e,(t,r)=>{if(Yr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(Yr(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},YO=(e,t)=>{const r={},o=a=>{a.forEach(i=>{r[i]=!0})};return nl(e)?o(e):o(String(e).split(t)),r},UO=()=>{},XO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function WO(e){return!!(e&&Yr(e.append)&&e[bT]==="FormData"&&e[Lg])}const jO=e=>{const t=new Array(10),r=(o,a)=>{if(Ts(o)){if(t.indexOf(o)>=0)return;if(Ms(o))return o;if(!("toJSON"in o)){t[a]=o;const i=nl(o)?[]:{};return As(o,(n,s)=>{const d=r(n,a+1);!Zi(d)&&(i[s]=d)}),t[a]=void 0,i}}return o};return r(e,0)},KO=Fo("AsyncFunction"),zO=e=>e&&(Ts(e)||Yr(e))&&Yr(e.then)&&Yr(e.catch),ST=((e,t)=>e?setImmediate:t?((r,o)=>(Aa.addEventListener("message",({source:a,data:i})=>{a===Aa&&i===r&&o.length&&o.shift()()},!1),a=>{o.push(a),Aa.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Yr(Aa.postMessage)),qO=typeof queueMicrotask<"u"?queueMicrotask.bind(Aa):typeof L_<"u"&&L_.nextTick||ST,ZO=e=>e!=null&&Yr(e[Lg]),se={isArray:nl,isArrayBuffer:hT,isBuffer:Ms,isFormData:wO,isArrayBufferView:fO,isString:pO,isNumber:xT,isBoolean:bO,isObject:Ts,isPlainObject:zd,isEmptyObject:hO,isReadableStream:TO,isRequest:AO,isResponse:LO,isHeaders:$O,isUndefined:Zi,isDate:xO,isFile:_O,isBlob:vO,isRegExp:VO,isFunction:Yr,isStream:SO,isURLSearchParams:MO,isTypedArray:kO,isFileList:yO,forEach:As,merge:U0,extend:CO,trim:PO,stripBOM:EO,inherits:OO,toFlatObject:IO,kindOf:$g,kindOfTest:Fo,endsWith:BO,toArray:DO,forEachEntry:GO,matchAll:NO,isHTMLForm:FO,hasOwnProperty:$_,hasOwnProp:$_,reduceDescriptors:yT,freezeMethods:HO,toObjectSet:YO,toCamelCase:RO,noop:UO,toFiniteNumber:XO,findKey:_T,global:Aa,isContextDefined:vT,isSpecCompliantForm:WO,toJSONObject:jO,isAsyncFn:KO,isThenable:zO,setImmediate:ST,asap:qO,isIterable:ZO};var wT={},Cg={};Cg.byteLength=e6;Cg.toByteArray=r6;Cg.fromByteArray=a6;var Qo=[],xo=[],QO=typeof Uint8Array<"u"?Uint8Array:Array,mp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var ai=0,JO=mp.length;ai0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function e6(e){var t=MT(e),r=t[0],o=t[1];return(r+o)*3/4-o}function t6(e,t,r){return(t+r)*3/4-r}function r6(e){var t,r=MT(e),o=r[0],a=r[1],i=new QO(t6(e,o,a)),n=0,s=a>0?o-4:o,d;for(d=0;d>16&255,i[n++]=t>>8&255,i[n++]=t&255;return a===2&&(t=xo[e.charCodeAt(d)]<<2|xo[e.charCodeAt(d+1)]>>4,i[n++]=t&255),a===1&&(t=xo[e.charCodeAt(d)]<<10|xo[e.charCodeAt(d+1)]<<4|xo[e.charCodeAt(d+2)]>>2,i[n++]=t>>8&255,i[n++]=t&255),i}function o6(e){return Qo[e>>18&63]+Qo[e>>12&63]+Qo[e>>6&63]+Qo[e&63]}function n6(e,t,r){for(var o,a=[],i=t;is?s:n+i));return o===1?(t=e[r-1],a.push(Qo[t>>2]+Qo[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],a.push(Qo[t>>10]+Qo[t>>4&63]+Qo[t<<2&63]+"=")),a.join("")}var Hb={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Hb.read=function(e,t,r,o,a){var i,n,s=a*8-o-1,d=(1<>1,m=-7,f=r?a-1:0,b=r?-1:1,g=e[t+f];for(f+=b,i=g&(1<<-m)-1,g>>=-m,m+=s;m>0;i=i*256+e[t+f],f+=b,m-=8);for(n=i&(1<<-m)-1,i>>=-m,m+=o;m>0;n=n*256+e[t+f],f+=b,m-=8);if(i===0)i=1-c;else{if(i===d)return n?NaN:(g?-1:1)*(1/0);n=n+Math.pow(2,o),i=i-c}return(g?-1:1)*n*Math.pow(2,i-o)};Hb.write=function(e,t,r,o,a,i){var n,s,d,c=i*8-a-1,m=(1<>1,b=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=o?0:i-1,h=o?1:-1,y=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,n=m):(n=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-n))<1&&(n--,d*=2),n+f>=1?t+=b/d:t+=b*Math.pow(2,1-f),t*d>=2&&(n++,d/=2),n+f>=m?(s=0,n=m):n+f>=1?(s=(t*d-1)*Math.pow(2,a),n=n+f):(s=t*Math.pow(2,f-1)*Math.pow(2,a),n=0));a>=8;e[r+g]=s&255,g+=h,s/=256,a-=8);for(n=n<0;e[r+g]=n&255,g+=h,n/=256,c-=8);e[r+g-h]|=y*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */(function(e){const t=Cg,r=Hb,o=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=m,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:i,ArrayBuffer:n,SharedArrayBuffer:s}=globalThis;m.TYPED_ARRAY_SUPPORT=d(),!m.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function d(){try{const $=new i(1),x={foo:function(){return 42}};return Object.setPrototypeOf(x,i.prototype),Object.setPrototypeOf($,x),$.foo()===42}catch{return!1}}Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}});function c($){if($>a)throw new RangeError('The value "'+$+'" is invalid for option "size"');const x=new i($);return Object.setPrototypeOf(x,m.prototype),x}function m($,x,S){if(typeof $=="number"){if(typeof x=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h($)}return f($,x,S)}m.poolSize=8192;function f($,x,S){if(typeof $=="string")return y($,x);if(n.isView($))return M($);if($==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);if(Re($,n)||$&&Re($.buffer,n)||typeof s<"u"&&(Re($,s)||$&&Re($.buffer,s)))return A($,x,S);if(typeof $=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const B=$.valueOf&&$.valueOf();if(B!=null&&B!==$)return m.from(B,x,S);const U=L($);if(U)return U;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof $[Symbol.toPrimitive]=="function")return m.from($[Symbol.toPrimitive]("string"),x,S);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $)}m.from=function($,x,S){return f($,x,S)},Object.setPrototypeOf(m.prototype,i.prototype),Object.setPrototypeOf(m,i);function b($){if(typeof $!="number")throw new TypeError('"size" argument must be of type number');if($<0)throw new RangeError('The value "'+$+'" is invalid for option "size"')}function g($,x,S){return b($),$<=0?c($):x!==void 0?typeof S=="string"?c($).fill(x,S):c($).fill(x):c($)}m.alloc=function($,x,S){return g($,x,S)};function h($){return b($),c($<0?0:C($)|0)}m.allocUnsafe=function($){return h($)},m.allocUnsafeSlow=function($){return h($)};function y($,x){if((typeof x!="string"||x==="")&&(x="utf8"),!m.isEncoding(x))throw new TypeError("Unknown encoding: "+x);const S=F($,x)|0;let B=c(S);const U=B.write($,x);return U!==S&&(B=B.slice(0,U)),B}function w($){const x=$.length<0?0:C($.length)|0,S=c(x);for(let B=0;B=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return $|0}function I($){return+$!=$&&($=0),m.alloc(+$)}m.isBuffer=function(x){return x!=null&&x._isBuffer===!0&&x!==m.prototype},m.compare=function(x,S){if(Re(x,i)&&(x=m.from(x,x.offset,x.byteLength)),Re(S,i)&&(S=m.from(S,S.offset,S.byteLength)),!m.isBuffer(x)||!m.isBuffer(S))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(x===S)return 0;let B=x.length,U=S.length;for(let te=0,D=Math.min(B,U);teU.length?(m.isBuffer(D)||(D=m.from(D)),D.copy(U,te)):i.prototype.set.call(U,D,te);else if(m.isBuffer(D))D.copy(U,te);else throw new TypeError('"list" argument must be an Array of Buffers');te+=D.length}return U};function F($,x){if(m.isBuffer($))return $.length;if(n.isView($)||Re($,n))return $.byteLength;if(typeof $!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof $);const S=$.length,B=arguments.length>2&&arguments[2]===!0;if(!B&&S===0)return 0;let U=!1;for(;;)switch(x){case"ascii":case"latin1":case"binary":return S;case"utf8":case"utf-8":return we($).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S*2;case"hex":return S>>>1;case"base64":return Le($).length;default:if(U)return B?-1:we($).length;x=(""+x).toLowerCase(),U=!0}}m.byteLength=F;function R($,x,S){let B=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((S===void 0||S>this.length)&&(S=this.length),S<=0)||(S>>>=0,x>>>=0,S<=x))return"";for($||($="utf8");;)switch($){case"hex":return Ie(this,x,S);case"utf8":case"utf-8":return X(this,x,S);case"ascii":return De(this,x,S);case"latin1":case"binary":return Oe(this,x,S);case"base64":return re(this,x,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,x,S);default:if(B)throw new TypeError("Unknown encoding: "+$);$=($+"").toLowerCase(),B=!0}}m.prototype._isBuffer=!0;function q($,x,S){const B=$[x];$[x]=$[S],$[S]=B}m.prototype.swap16=function(){const x=this.length;if(x%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let S=0;SS&&(x+=" ... "),""},o&&(m.prototype[o]=m.prototype.inspect),m.prototype.compare=function(x,S,B,U,te){if(Re(x,i)&&(x=m.from(x,x.offset,x.byteLength)),!m.isBuffer(x))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof x);if(S===void 0&&(S=0),B===void 0&&(B=x?x.length:0),U===void 0&&(U=0),te===void 0&&(te=this.length),S<0||B>x.length||U<0||te>this.length)throw new RangeError("out of range index");if(U>=te&&S>=B)return 0;if(U>=te)return-1;if(S>=B)return 1;if(S>>>=0,B>>>=0,U>>>=0,te>>>=0,this===x)return 0;let D=te-U,j=B-S;const Xe=Math.min(D,j),ze=this.slice(U,te),qe=x.slice(S,B);for(let ke=0;ke2147483647?S=2147483647:S<-2147483648&&(S=-2147483648),S=+S,at(S)&&(S=U?0:$.length-1),S<0&&(S=$.length+S),S>=$.length){if(U)return-1;S=$.length-1}else if(S<0)if(U)S=0;else return-1;if(typeof x=="string"&&(x=m.from(x,B)),m.isBuffer(x))return x.length===0?-1:K($,x,S,B,U);if(typeof x=="number")return x=x&255,typeof i.prototype.indexOf=="function"?U?i.prototype.indexOf.call($,x,S):i.prototype.lastIndexOf.call($,x,S):K($,[x],S,B,U);throw new TypeError("val must be string, number or Buffer")}function K($,x,S,B,U){let te=1,D=$.length,j=x.length;if(B!==void 0&&(B=String(B).toLowerCase(),B==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if($.length<2||x.length<2)return-1;te=2,D/=2,j/=2,S/=2}function Xe(qe,ke){return te===1?qe[ke]:qe.readUInt16BE(ke*te)}let ze;if(U){let qe=-1;for(ze=S;zeD&&(S=D-j),ze=S;ze>=0;ze--){let qe=!0;for(let ke=0;keU&&(B=U)):B=U;const te=x.length;B>te/2&&(B=te/2);let D;for(D=0;D>>0,isFinite(B)?(B=B>>>0,U===void 0&&(U="utf8")):(U=B,B=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const te=this.length-S;if((B===void 0||B>te)&&(B=te),x.length>0&&(B<0||S<0)||S>this.length)throw new RangeError("Attempt to write outside buffer bounds");U||(U="utf8");let D=!1;for(;;)switch(U){case"hex":return N(this,x,S,B);case"utf8":case"utf-8":return V(this,x,S,B);case"ascii":case"latin1":case"binary":return J(this,x,S,B);case"base64":return ee(this,x,S,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,x,S,B);default:if(D)throw new TypeError("Unknown encoding: "+U);U=(""+U).toLowerCase(),D=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re($,x,S){return x===0&&S===$.length?t.fromByteArray($):t.fromByteArray($.slice(x,S))}function X($,x,S){S=Math.min($.length,S);const B=[];let U=x;for(;U239?4:te>223?3:te>191?2:1;if(U+j<=S){let Xe,ze,qe,ke;switch(j){case 1:te<128&&(D=te);break;case 2:Xe=$[U+1],(Xe&192)===128&&(ke=(te&31)<<6|Xe&63,ke>127&&(D=ke));break;case 3:Xe=$[U+1],ze=$[U+2],(Xe&192)===128&&(ze&192)===128&&(ke=(te&15)<<12|(Xe&63)<<6|ze&63,ke>2047&&(ke<55296||ke>57343)&&(D=ke));break;case 4:Xe=$[U+1],ze=$[U+2],qe=$[U+3],(Xe&192)===128&&(ze&192)===128&&(qe&192)===128&&(ke=(te&15)<<18|(Xe&63)<<12|(ze&63)<<6|qe&63,ke>65535&&ke<1114112&&(D=ke))}}D===null?(D=65533,j=1):D>65535&&(D-=65536,B.push(D>>>10&1023|55296),D=56320|D&1023),B.push(D),U+=j}return ve(B)}const oe=4096;function ve($){const x=$.length;if(x<=oe)return String.fromCharCode.apply(String,$);let S="",B=0;for(;BB)&&(S=B);let U="";for(let te=x;teB&&(x=B),S<0?(S+=B,S<0&&(S=0)):S>B&&(S=B),SS)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUintLE=m.prototype.readUIntLE=function(x,S,B){x=x>>>0,S=S>>>0,B||je(x,S,this.length);let U=this[x],te=1,D=0;for(;++D>>0,S=S>>>0,B||je(x,S,this.length);let U=this[x+--S],te=1;for(;S>0&&(te*=256);)U+=this[x+--S]*te;return U},m.prototype.readUint8=m.prototype.readUInt8=function(x,S){return x=x>>>0,S||je(x,1,this.length),this[x]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(x,S){return x=x>>>0,S||je(x,2,this.length),this[x]|this[x+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(x,S){return x=x>>>0,S||je(x,2,this.length),this[x]<<8|this[x+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(x,S){return x=x>>>0,S||je(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+this[x+3]*16777216},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(x,S){return x=x>>>0,S||je(x,4,this.length),this[x]*16777216+(this[x+1]<<16|this[x+2]<<8|this[x+3])},m.prototype.readBigUInt64LE=et(function(x){x=x>>>0,me(x,"offset");const S=this[x],B=this[x+7];(S===void 0||B===void 0)&&le(x,this.length-8);const U=S+this[++x]*2**8+this[++x]*2**16+this[++x]*2**24,te=this[++x]+this[++x]*2**8+this[++x]*2**16+B*2**24;return BigInt(U)+(BigInt(te)<>>0,me(x,"offset");const S=this[x],B=this[x+7];(S===void 0||B===void 0)&&le(x,this.length-8);const U=S*2**24+this[++x]*2**16+this[++x]*2**8+this[++x],te=this[++x]*2**24+this[++x]*2**16+this[++x]*2**8+B;return(BigInt(U)<>>0,S=S>>>0,B||je(x,S,this.length);let U=this[x],te=1,D=0;for(;++D=te&&(U-=Math.pow(2,8*S)),U},m.prototype.readIntBE=function(x,S,B){x=x>>>0,S=S>>>0,B||je(x,S,this.length);let U=S,te=1,D=this[x+--U];for(;U>0&&(te*=256);)D+=this[x+--U]*te;return te*=128,D>=te&&(D-=Math.pow(2,8*S)),D},m.prototype.readInt8=function(x,S){return x=x>>>0,S||je(x,1,this.length),this[x]&128?(255-this[x]+1)*-1:this[x]},m.prototype.readInt16LE=function(x,S){x=x>>>0,S||je(x,2,this.length);const B=this[x]|this[x+1]<<8;return B&32768?B|4294901760:B},m.prototype.readInt16BE=function(x,S){x=x>>>0,S||je(x,2,this.length);const B=this[x+1]|this[x]<<8;return B&32768?B|4294901760:B},m.prototype.readInt32LE=function(x,S){return x=x>>>0,S||je(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},m.prototype.readInt32BE=function(x,S){return x=x>>>0,S||je(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},m.prototype.readBigInt64LE=et(function(x){x=x>>>0,me(x,"offset");const S=this[x],B=this[x+7];(S===void 0||B===void 0)&&le(x,this.length-8);const U=this[x+4]+this[x+5]*2**8+this[x+6]*2**16+(B<<24);return(BigInt(U)<>>0,me(x,"offset");const S=this[x],B=this[x+7];(S===void 0||B===void 0)&&le(x,this.length-8);const U=(S<<24)+this[++x]*2**16+this[++x]*2**8+this[++x];return(BigInt(U)<>>0,S||je(x,4,this.length),r.read(this,x,!0,23,4)},m.prototype.readFloatBE=function(x,S){return x=x>>>0,S||je(x,4,this.length),r.read(this,x,!1,23,4)},m.prototype.readDoubleLE=function(x,S){return x=x>>>0,S||je(x,8,this.length),r.read(this,x,!0,52,8)},m.prototype.readDoubleBE=function(x,S){return x=x>>>0,S||je(x,8,this.length),r.read(this,x,!1,52,8)};function Ke($,x,S,B,U,te){if(!m.isBuffer($))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>U||x$.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(x,S,B,U){if(x=+x,S=S>>>0,B=B>>>0,!U){const j=Math.pow(2,8*B)-1;Ke(this,x,S,B,j,0)}let te=1,D=0;for(this[S]=x&255;++D>>0,B=B>>>0,!U){const j=Math.pow(2,8*B)-1;Ke(this,x,S,B,j,0)}let te=B-1,D=1;for(this[S+te]=x&255;--te>=0&&(D*=256);)this[S+te]=x/D&255;return S+B},m.prototype.writeUint8=m.prototype.writeUInt8=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,1,255,0),this[S]=x&255,S+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,2,65535,0),this[S]=x&255,this[S+1]=x>>>8,S+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,2,65535,0),this[S]=x>>>8,this[S+1]=x&255,S+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,4,4294967295,0),this[S+3]=x>>>24,this[S+2]=x>>>16,this[S+1]=x>>>8,this[S]=x&255,S+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,4,4294967295,0),this[S]=x>>>24,this[S+1]=x>>>16,this[S+2]=x>>>8,this[S+3]=x&255,S+4};function Ye($,x,S,B,U){ie(x,B,U,$,S,7);let te=Number(x&BigInt(4294967295));$[S++]=te,te=te>>8,$[S++]=te,te=te>>8,$[S++]=te,te=te>>8,$[S++]=te;let D=Number(x>>BigInt(32)&BigInt(4294967295));return $[S++]=D,D=D>>8,$[S++]=D,D=D>>8,$[S++]=D,D=D>>8,$[S++]=D,S}function ne($,x,S,B,U){ie(x,B,U,$,S,7);let te=Number(x&BigInt(4294967295));$[S+7]=te,te=te>>8,$[S+6]=te,te=te>>8,$[S+5]=te,te=te>>8,$[S+4]=te;let D=Number(x>>BigInt(32)&BigInt(4294967295));return $[S+3]=D,D=D>>8,$[S+2]=D,D=D>>8,$[S+1]=D,D=D>>8,$[S]=D,S+8}m.prototype.writeBigUInt64LE=et(function(x,S=0){return Ye(this,x,S,BigInt(0),BigInt("0xffffffffffffffff"))}),m.prototype.writeBigUInt64BE=et(function(x,S=0){return ne(this,x,S,BigInt(0),BigInt("0xffffffffffffffff"))}),m.prototype.writeIntLE=function(x,S,B,U){if(x=+x,S=S>>>0,!U){const Xe=Math.pow(2,8*B-1);Ke(this,x,S,B,Xe-1,-Xe)}let te=0,D=1,j=0;for(this[S]=x&255;++te>0)-j&255;return S+B},m.prototype.writeIntBE=function(x,S,B,U){if(x=+x,S=S>>>0,!U){const Xe=Math.pow(2,8*B-1);Ke(this,x,S,B,Xe-1,-Xe)}let te=B-1,D=1,j=0;for(this[S+te]=x&255;--te>=0&&(D*=256);)x<0&&j===0&&this[S+te+1]!==0&&(j=1),this[S+te]=(x/D>>0)-j&255;return S+B},m.prototype.writeInt8=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,1,127,-128),x<0&&(x=255+x+1),this[S]=x&255,S+1},m.prototype.writeInt16LE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,2,32767,-32768),this[S]=x&255,this[S+1]=x>>>8,S+2},m.prototype.writeInt16BE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,2,32767,-32768),this[S]=x>>>8,this[S+1]=x&255,S+2},m.prototype.writeInt32LE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,4,2147483647,-2147483648),this[S]=x&255,this[S+1]=x>>>8,this[S+2]=x>>>16,this[S+3]=x>>>24,S+4},m.prototype.writeInt32BE=function(x,S,B){return x=+x,S=S>>>0,B||Ke(this,x,S,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),this[S]=x>>>24,this[S+1]=x>>>16,this[S+2]=x>>>8,this[S+3]=x&255,S+4},m.prototype.writeBigInt64LE=et(function(x,S=0){return Ye(this,x,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),m.prototype.writeBigInt64BE=et(function(x,S=0){return ne(this,x,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function _e($,x,S,B,U,te){if(S+B>$.length)throw new RangeError("Index out of range");if(S<0)throw new RangeError("Index out of range")}function ce($,x,S,B,U){return x=+x,S=S>>>0,U||_e($,x,S,4),r.write($,x,S,B,23,4),S+4}m.prototype.writeFloatLE=function(x,S,B){return ce(this,x,S,!0,B)},m.prototype.writeFloatBE=function(x,S,B){return ce(this,x,S,!1,B)};function pe($,x,S,B,U){return x=+x,S=S>>>0,U||_e($,x,S,8),r.write($,x,S,B,52,8),S+8}m.prototype.writeDoubleLE=function(x,S,B){return pe(this,x,S,!0,B)},m.prototype.writeDoubleBE=function(x,S,B){return pe(this,x,S,!1,B)},m.prototype.copy=function(x,S,B,U){if(!m.isBuffer(x))throw new TypeError("argument should be a Buffer");if(B||(B=0),!U&&U!==0&&(U=this.length),S>=x.length&&(S=x.length),S||(S=0),U>0&&U=this.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("sourceEnd out of bounds");U>this.length&&(U=this.length),x.length-S>>0,B=B===void 0?this.length:B>>>0,x||(x=0);let te;if(typeof x=="number")for(te=S;te2**32?U=k(String(S)):typeof S=="bigint"&&(U=String(S),(S>BigInt(2)**BigInt(32)||S<-(BigInt(2)**BigInt(32)))&&(U=k(U)),U+="n"),B+=` It must be ${x}. Received ${U}`,B},RangeError);function k($){let x="",S=$.length;const B=$[0]==="-"?1:0;for(;S>=B+4;S-=3)x=`_${$.slice(S-3,S)}${x}`;return`${$.slice(0,S)}${x}`}function Y($,x,S){me(x,"offset"),($[x]===void 0||$[x+S]===void 0)&&le(x,$.length-(S+1))}function ie($,x,S,B,U,te){if($>S||$= 0${D} and < 2${D} ** ${(te+1)*8}${D}`:j=`>= -(2${D} ** ${(te+1)*8-1}${D}) and < 2 ** ${(te+1)*8-1}${D}`,new $e.ERR_OUT_OF_RANGE("value",j,$)}Y(B,U,te)}function me($,x){if(typeof $!="number")throw new $e.ERR_INVALID_ARG_TYPE(x,"number",$)}function le($,x,S){throw Math.floor($)!==$?(me($,S),new $e.ERR_OUT_OF_RANGE("offset","an integer",$)):x<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${x}`,$)}const Te=/[^+/0-9A-Za-z-_]/g;function Ae($){if($=$.split("=")[0],$=$.trim().replace(Te,""),$.length<2)return"";for(;$.length%4!==0;)$=$+"=";return $}function we($,x){x=x||1/0;let S;const B=$.length;let U=null;const te=[];for(let D=0;D55295&&S<57344){if(!U){if(S>56319){(x-=3)>-1&&te.push(239,191,189);continue}else if(D+1===B){(x-=3)>-1&&te.push(239,191,189);continue}U=S;continue}if(S<56320){(x-=3)>-1&&te.push(239,191,189),U=S;continue}S=(U-55296<<10|S-56320)+65536}else U&&(x-=3)>-1&&te.push(239,191,189);if(U=null,S<128){if((x-=1)<0)break;te.push(S)}else if(S<2048){if((x-=2)<0)break;te.push(S>>6|192,S&63|128)}else if(S<65536){if((x-=3)<0)break;te.push(S>>12|224,S>>6&63|128,S&63|128)}else if(S<1114112){if((x-=4)<0)break;te.push(S>>18|240,S>>12&63|128,S>>6&63|128,S&63|128)}else throw new Error("Invalid code point")}return te}function be($){const x=[];for(let S=0;S<$.length;++S)x.push($.charCodeAt(S)&255);return x}function Fe($,x){let S,B,U;const te=[];for(let D=0;D<$.length&&!((x-=2)<0);++D)S=$.charCodeAt(D),B=S>>8,U=S%256,te.push(U),te.push(B);return te}function Le($){return t.toByteArray(Ae($))}function Ge($,x,S,B){let U;for(U=0;U=x.length||U>=$.length);++U)x[U+S]=$[U];return U}function Re($,x){return $ instanceof x||$!=null&&$.constructor!=null&&$.constructor.name!=null&&$.constructor.name===x.name}function at($){return $!==$}const ft=(function(){const $="0123456789abcdef",x=new Array(256);for(let S=0;S<16;++S){const B=S*16;for(let U=0;U<16;++U)x[B+U]=$[S]+$[U]}return x})();function et($){return typeof BigInt>"u"?Et:$}function Et(){throw new Error("BigInt not supported")}})(wT);const X0=wT.Buffer;function ct(e,t,r,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),a&&(this.response=a,this.status=a.status?a.status:null)}se.inherits(ct,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:se.toJSONObject(this.config),code:this.code,status:this.status}}});const TT=ct.prototype,AT={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{AT[e]={value:e}});Object.defineProperties(ct,AT);Object.defineProperty(TT,"isAxiosError",{value:!0});ct.from=(e,t,r,o,a,i)=>{const n=Object.create(TT);se.toFlatObject(e,n,function(m){return m!==Error.prototype},c=>c!=="isAxiosError");const s=e&&e.message?e.message:"Error",d=t==null&&e?e.code:t;return ct.call(n,s,d,r,o,a),e&&n.cause==null&&Object.defineProperty(n,"cause",{value:e,configurable:!0}),n.name=e&&e.name||"Error",i&&Object.assign(n,i),n};const i6=null;function W0(e){return se.isPlainObject(e)||se.isArray(e)}function LT(e){return se.endsWith(e,"[]")?e.slice(0,-2):e}function P_(e,t,r){return e?e.concat(t).map(function(a,i){return a=LT(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function l6(e){return se.isArray(e)&&!e.some(W0)}const s6=se.toFlatObject(se,{},null,function(t){return/^is[A-Z]/.test(t)});function Eg(e,t,r){if(!se.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=se.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!se.isUndefined(w[y])});const o=r.metaTokens,a=r.visitor||m,i=r.dots,n=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&se.isSpecCompliantForm(t);if(!se.isFunction(a))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(se.isDate(h))return h.toISOString();if(se.isBoolean(h))return h.toString();if(!d&&se.isBlob(h))throw new ct("Blob is not supported. Use a Buffer instead.");return se.isArrayBuffer(h)||se.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):X0.from(h):h}function m(h,y,w){let M=h;if(h&&!w&&typeof h=="object"){if(se.endsWith(y,"{}"))y=o?y:y.slice(0,-2),h=JSON.stringify(h);else if(se.isArray(h)&&l6(h)||(se.isFileList(h)||se.endsWith(y,"[]"))&&(M=se.toArray(h)))return y=LT(y),M.forEach(function(L,C){!(se.isUndefined(L)||L===null)&&t.append(n===!0?P_([y],C,i):n===null?y:y+"[]",c(L))}),!1}return W0(h)?!0:(t.append(P_(w,y,i),c(h)),!1)}const f=[],b=Object.assign(s6,{defaultVisitor:m,convertValue:c,isVisitable:W0});function g(h,y){if(!se.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(h),se.forEach(h,function(M,A){(!(se.isUndefined(M)||M===null)&&a.call(t,M,se.isString(A)?A.trim():A,y,b))===!0&&g(M,y?y.concat(A):[A])}),f.pop()}}if(!se.isObject(e))throw new TypeError("data must be an object");return g(e),t}function C_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Yb(e,t){this._pairs=[],e&&Eg(e,this,t)}const $T=Yb.prototype;$T.append=function(t,r){this._pairs.push([t,r])};$T.toString=function(t){const r=t?function(o){return t.call(this,o,C_)}:C_;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function d6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function PT(e,t,r){if(!t)return e;const o=r&&r.encode||d6;se.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=se.isURLSearchParams(t)?t.toString():new Yb(t,r).toString(o),i){const n=e.indexOf("#");n!==-1&&(e=e.slice(0,n)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class E_{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){se.forEach(this.handlers,function(o){o!==null&&t(o)})}}const CT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u6=typeof URLSearchParams<"u"?URLSearchParams:Yb,c6=typeof FormData<"u"?FormData:null,m6=typeof Blob<"u"?Blob:null,g6={isBrowser:!0,classes:{URLSearchParams:u6,FormData:c6,Blob:m6},protocols:["http","https","file","blob","url","data"]},Ub=typeof window<"u"&&typeof document<"u",j0=typeof navigator=="object"&&navigator||void 0,f6=Ub&&(!j0||["ReactNative","NativeScript","NS"].indexOf(j0.product)<0),p6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",b6=Ub&&window.location.href||"http://localhost",h6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ub,hasStandardBrowserEnv:f6,hasStandardBrowserWebWorkerEnv:p6,navigator:j0,origin:b6},Symbol.toStringTag,{value:"Module"})),Mr={...h6,...g6};function x6(e,t){return Eg(e,new Mr.classes.URLSearchParams,{visitor:function(r,o,a,i){return Mr.isNode&&se.isBuffer(r)?(this.append(o,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function _6(e){return se.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function v6(e){const t={},r=Object.keys(e);let o;const a=r.length;let i;for(o=0;o=r.length;return n=!n&&se.isArray(a)?a.length:n,d?(se.hasOwnProp(a,n)?a[n]=[a[n],o]:a[n]=o,!s):((!a[n]||!se.isObject(a[n]))&&(a[n]=[]),t(r,o,a[n],i)&&se.isArray(a[n])&&(a[n]=v6(a[n])),!s)}if(se.isFormData(e)&&se.isFunction(e.entries)){const r={};return se.forEachEntry(e,(o,a)=>{t(_6(o),a,r,0)}),r}return null}function y6(e,t,r){if(se.isString(e))try{return(t||JSON.parse)(e),se.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const Ls={transitional:CT,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",a=o.indexOf("application/json")>-1,i=se.isObject(t);if(i&&se.isHTMLForm(t)&&(t=new FormData(t)),se.isFormData(t))return a?JSON.stringify(ET(t)):t;if(se.isArrayBuffer(t)||se.isBuffer(t)||se.isStream(t)||se.isFile(t)||se.isBlob(t)||se.isReadableStream(t))return t;if(se.isArrayBufferView(t))return t.buffer;if(se.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return x6(t,this.formSerializer).toString();if((s=se.isFileList(t))||o.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Eg(s?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),y6(t)):t}],transformResponse:[function(t){const r=this.transitional||Ls.transitional,o=r&&r.forcedJSONParsing,a=this.responseType==="json";if(se.isResponse(t)||se.isReadableStream(t))return t;if(t&&se.isString(t)&&(o&&!this.responseType||a)){const n=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(s){if(n)throw s.name==="SyntaxError"?ct.from(s,ct.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mr.classes.FormData,Blob:Mr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};se.forEach(["delete","get","head","post","put","patch"],e=>{Ls.headers[e]={}});const S6=se.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),w6=e=>{const t={};let r,o,a;return e&&e.split(` `).forEach(function(n){a=n.indexOf(":"),r=n.substring(0,a).trim().toLowerCase(),o=n.substring(a+1).trim(),!(!r||t[r]&&S6[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},O_=Symbol("internals");function $l(e){return e&&String(e).trim().toLowerCase()}function qd(e){return e===!1||e==null?e:se.isArray(e)?e.map(qd):String(e)}function M6(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}const T6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gp(e,t,r,o,a){if(se.isFunction(o))return o.call(this,t,r);if(a&&(t=r),!!se.isString(t)){if(se.isString(o))return t.indexOf(o)!==-1;if(se.isRegExp(o))return o.test(t)}}function A6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function L6(e,t){const r=se.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(a,i,n){return this[o].call(this,t,a,i,n)},configurable:!0})})}let Ur=class{constructor(t){t&&this.set(t)}set(t,r,o){const a=this;function i(s,d,c){const m=$l(d);if(!m)throw new Error("header name must be a non-empty string");const f=se.findKey(a,m);(!f||a[f]===void 0||c===!0||c===void 0&&a[f]!==!1)&&(a[f||d]=qd(s))}const n=(s,d)=>se.forEach(s,(c,m)=>i(c,m,d));if(se.isPlainObject(t)||t instanceof this.constructor)n(t,r);else if(se.isString(t)&&(t=t.trim())&&!T6(t))n(w6(t),r);else if(se.isObject(t)&&se.isIterable(t)){let s={},d,c;for(const m of t){if(!se.isArray(m))throw TypeError("Object iterator must return a key-value pair");s[c=m[0]]=(d=s[c])?se.isArray(d)?[...d,m[1]]:[d,m[1]]:m[1]}n(s,r)}else t!=null&&i(r,t,o);return this}get(t,r){if(t=$l(t),t){const o=se.findKey(this,t);if(o){const a=this[o];if(!r)return a;if(r===!0)return M6(a);if(se.isFunction(r))return r.call(this,a,o);if(se.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=$l(t),t){const o=se.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||gp(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let a=!1;function i(n){if(n=$l(n),n){const s=se.findKey(o,n);s&&(!r||gp(o,o[s],s,r))&&(delete o[s],a=!0)}}return se.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let o=r.length,a=!1;for(;o--;){const i=r[o];(!t||gp(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,o={};return se.forEach(this,(a,i)=>{const n=se.findKey(o,i);if(n){r[n]=qd(a),delete r[i];return}const s=t?A6(i):String(i).trim();s!==i&&delete r[i],r[s]=qd(a),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return se.forEach(this,(o,a)=>{o!=null&&o!==!1&&(r[a]=t&&se.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(a=>o.set(a)),o}static accessor(t){const o=(this[O_]=this[O_]={accessors:{}}).accessors,a=this.prototype;function i(n){const s=$l(n);o[s]||(L6(a,n),o[s]=!0)}return se.isArray(t)?t.forEach(i):i(t),this}};Ur.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.reduceDescriptors(Ur.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});se.freezeMethods(Ur);function fp(e,t){const r=this||Ls,o=t||r,a=Ur.from(o.headers);let i=o.data;return se.forEach(e,function(s){i=s.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function OT(e){return!!(e&&e.__CANCEL__)}function al(e,t,r){ct.call(this,e??"canceled",ct.ERR_CANCELED,t,r),this.name="CanceledError"}se.inherits(al,ct,{__CANCEL__:!0});function IT(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new ct("Request failed with status code "+r.status,[ct.ERR_BAD_REQUEST,ct.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function P6(e,t){e=e||10;const r=new Array(e),o=new Array(e);let a=0,i=0,n;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),m=o[i];n||(n=c),r[a]=d,o[a]=c;let f=i,b=0;for(;f!==a;)b+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),c-n{r=m,a=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const m=Date.now(),f=m-r;f>=o?n(c,m):(a=c,i||(i=setTimeout(()=>{i=null,n(a)},o-f)))},()=>a&&n(a)]}const tg=(e,t,r=3)=>{let o=0;const a=P6(50,250);return C6(i=>{const n=i.loaded,s=i.lengthComputable?i.total:void 0,d=n-o,c=a(d),m=n<=s;o=n;const f={loaded:n,total:s,progress:s?n/s:void 0,bytes:d,rate:c||void 0,estimated:c&&s&&m?(s-n)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},r)},I_=(e,t)=>{const r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},B_=e=>(...t)=>se.asap(()=>e(...t)),E6=Mr.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Mr.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Mr.origin),Mr.navigator&&/(msie|trident)/i.test(Mr.navigator.userAgent)):()=>!0,O6=Mr.hasStandardBrowserEnv?{write(e,t,r,o,a,i){const n=[e+"="+encodeURIComponent(t)];se.isNumber(r)&&n.push("expires="+new Date(r).toGMTString()),se.isString(o)&&n.push("path="+o),se.isString(a)&&n.push("domain="+a),i===!0&&n.push("secure"),document.cookie=n.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function I6(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function B6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function BT(e,t,r){let o=!I6(t);return e&&(o||r==!1)?B6(e,t):t}const D_=e=>e instanceof Ur?{...e}:e;function Ba(e,t){t=t||{};const r={};function o(c,m,f,b){return se.isPlainObject(c)&&se.isPlainObject(m)?se.merge.call({caseless:b},c,m):se.isPlainObject(m)?se.merge({},m):se.isArray(m)?m.slice():m}function a(c,m,f,b){if(se.isUndefined(m)){if(!se.isUndefined(c))return o(void 0,c,f,b)}else return o(c,m,f,b)}function i(c,m){if(!se.isUndefined(m))return o(void 0,m)}function n(c,m){if(se.isUndefined(m)){if(!se.isUndefined(c))return o(void 0,c)}else return o(void 0,m)}function s(c,m,f){if(f in t)return o(c,m);if(f in e)return o(void 0,c)}const d={url:i,method:i,data:i,baseURL:n,transformRequest:n,transformResponse:n,paramsSerializer:n,timeout:n,timeoutMessage:n,withCredentials:n,withXSRFToken:n,adapter:n,responseType:n,xsrfCookieName:n,xsrfHeaderName:n,onUploadProgress:n,onDownloadProgress:n,decompress:n,maxContentLength:n,maxBodyLength:n,beforeRedirect:n,transport:n,httpAgent:n,httpsAgent:n,cancelToken:n,socketPath:n,responseEncoding:n,validateStatus:s,headers:(c,m,f)=>a(D_(c),D_(m),f,!0)};return se.forEach(Object.keys({...e,...t}),function(m){const f=d[m]||a,b=f(e[m],t[m],m);se.isUndefined(b)&&f!==s||(r[m]=b)}),r}const DT=e=>{const t=Ba({},e);let{data:r,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:i,headers:n,auth:s}=t;if(t.headers=n=Ur.from(n),t.url=PT(BT(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&n.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),se.isFormData(r)){if(Mr.hasStandardBrowserEnv||Mr.hasStandardBrowserWebWorkerEnv)n.setContentType(void 0);else if(se.isFunction(r.getHeaders)){const d=r.getHeaders(),c=["content-type","content-length"];Object.entries(d).forEach(([m,f])=>{c.includes(m.toLowerCase())&&n.set(m,f)})}}if(Mr.hasStandardBrowserEnv&&(o&&se.isFunction(o)&&(o=o(t)),o||o!==!1&&E6(t.url))){const d=a&&i&&O6.read(i);d&&n.set(a,d)}return t},D6=typeof XMLHttpRequest<"u",k6=D6&&function(e){return new Promise(function(r,o){const a=DT(e);let i=a.data;const n=Ur.from(a.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:c}=a,m,f,b,g,h;function y(){g&&g(),h&&h(),a.cancelToken&&a.cancelToken.unsubscribe(m),a.signal&&a.signal.removeEventListener("abort",m)}let w=new XMLHttpRequest;w.open(a.method.toUpperCase(),a.url,!0),w.timeout=a.timeout;function M(){if(!w)return;const L=Ur.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),I={data:!s||s==="text"||s==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:L,config:e,request:w};IT(function(R){r(R),y()},function(R){o(R),y()},I),w=null}"onloadend"in w?w.onloadend=M:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(M)},w.onabort=function(){w&&(o(new ct("Request aborted",ct.ECONNABORTED,e,w)),w=null)},w.onerror=function(C){const I=C&&C.message?C.message:"Network Error",F=new ct(I,ct.ERR_NETWORK,e,w);F.event=C||null,o(F),w=null},w.ontimeout=function(){let C=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const I=a.transitional||CT;a.timeoutErrorMessage&&(C=a.timeoutErrorMessage),o(new ct(C,I.clarifyTimeoutError?ct.ETIMEDOUT:ct.ECONNABORTED,e,w)),w=null},i===void 0&&n.setContentType(null),"setRequestHeader"in w&&se.forEach(n.toJSON(),function(C,I){w.setRequestHeader(I,C)}),se.isUndefined(a.withCredentials)||(w.withCredentials=!!a.withCredentials),s&&s!=="json"&&(w.responseType=a.responseType),c&&([b,h]=tg(c,!0),w.addEventListener("progress",b)),d&&w.upload&&([f,g]=tg(d),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",g)),(a.cancelToken||a.signal)&&(m=L=>{w&&(o(!L||L.type?new al(null,e,w):L),w.abort(),w=null)},a.cancelToken&&a.cancelToken.subscribe(m),a.signal&&(a.signal.aborted?m():a.signal.addEventListener("abort",m)));const A=$6(a.url);if(A&&Mr.protocols.indexOf(A)===-1){o(new ct("Unsupported protocol "+A+":",ct.ERR_BAD_REQUEST,e));return}w.send(i||null)})},G6=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let o=new AbortController,a;const i=function(c){if(!a){a=!0,s();const m=c instanceof Error?c:this.reason;o.abort(m instanceof ct?m:new al(m instanceof Error?m.message:m))}};let n=t&&setTimeout(()=>{n=null,i(new ct(`timeout ${t} of ms exceeded`,ct.ETIMEDOUT))},t);const s=()=>{e&&(n&&clearTimeout(n),n=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:d}=o;return d.unsubscribe=()=>se.asap(s),d}},N6=function*(e,t){let r=e.byteLength;if(r{const a=F6(e,t);let i=0,n,s=d=>{n||(n=!0,o&&o(d))};return new ReadableStream({async pull(d){try{const{done:c,value:m}=await a.next();if(c){s(),d.close();return}let f=m.byteLength;if(r){let b=i+=f;r(b)}d.enqueue(new Uint8Array(m))}catch(c){throw s(c),c}},cancel(d){return s(d),a.return()}},{highWaterMark:2})},G_=64*1024,{isFunction:Sd}=se,V6=(({Request:e,Response:t})=>({Request:e,Response:t}))(se.global),{ReadableStream:N_,TextEncoder:F_}=se.global,R_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},H6=e=>{e=se.merge.call({skipUndefined:!0},V6,e);const{fetch:t,Request:r,Response:o}=e,a=t?Sd(t):typeof fetch=="function",i=Sd(r),n=Sd(o);if(!a)return!1;const s=a&&Sd(N_),d=a&&(typeof F_=="function"?(h=>y=>h.encode(y))(new F_):async h=>new Uint8Array(await new r(h).arrayBuffer())),c=i&&s&&R_(()=>{let h=!1;const y=new r(Mr.origin,{body:new N_,method:"POST",get duplex(){return h=!0,"half"}}).headers.has("Content-Type");return h&&!y}),m=n&&s&&R_(()=>se.isReadableStream(new o("").body)),f={stream:m&&(h=>h.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!f[h]&&(f[h]=(y,w)=>{let M=y&&y[h];if(M)return M.call(y);throw new ct(`Response type '${h}' is not supported`,ct.ERR_NOT_SUPPORT,w)})});const b=async h=>{if(h==null)return 0;if(se.isBlob(h))return h.size;if(se.isSpecCompliantForm(h))return(await new r(Mr.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(se.isArrayBufferView(h)||se.isArrayBuffer(h))return h.byteLength;if(se.isURLSearchParams(h)&&(h=h+""),se.isString(h))return(await d(h)).byteLength},g=async(h,y)=>{const w=se.toFiniteNumber(h.getContentLength());return w??b(y)};return async h=>{let{url:y,method:w,data:M,signal:A,cancelToken:L,timeout:C,onDownloadProgress:I,onUploadProgress:F,responseType:R,headers:q,withCredentials:W="same-origin",fetchOptions:K}=DT(h),N=t||fetch;R=R?(R+"").toLowerCase():"text";let V=G6([A,L&&L.toAbortSignal()],C),J=null;const ee=V&&V.unsubscribe&&(()=>{V.unsubscribe()});let Z;try{if(F&&c&&w!=="get"&&w!=="head"&&(Z=await g(q,M))!==0){let Oe=new r(y,{method:"POST",body:M,duplex:"half"}),Ie;if(se.isFormData(M)&&(Ie=Oe.headers.get("content-type"))&&q.setContentType(Ie),Oe.body){const[ot,je]=I_(Z,tg(B_(F)));M=k_(Oe.body,G_,ot,je)}}se.isString(W)||(W=W?"include":"omit");const re=i&&"credentials"in r.prototype,X={...K,signal:V,method:w.toUpperCase(),headers:q.normalize().toJSON(),body:M,duplex:"half",credentials:re?W:void 0};J=i&&new r(y,X);let oe=await(i?N(J,K):N(y,X));const ve=m&&(R==="stream"||R==="response");if(m&&(I||ve&&ee)){const Oe={};["status","statusText","headers"].forEach(Ke=>{Oe[Ke]=oe[Ke]});const Ie=se.toFiniteNumber(oe.headers.get("content-length")),[ot,je]=I&&I_(Ie,tg(B_(I),!0))||[];oe=new o(k_(oe.body,G_,ot,()=>{je&&je(),ee&&ee()}),Oe)}R=R||"text";let De=await f[se.findKey(f,R)||"text"](oe,h);return!ve&&ee&&ee(),await new Promise((Oe,Ie)=>{IT(Oe,Ie,{data:De,headers:Ur.from(oe.headers),status:oe.status,statusText:oe.statusText,config:h,request:J})})}catch(re){throw ee&&ee(),re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)?Object.assign(new ct("Network Error",ct.ERR_NETWORK,h,J),{cause:re.cause||re}):ct.from(re,re&&re.code,h,J)}}},Y6=new Map,kT=e=>{let t=e?e.env:{};const{fetch:r,Request:o,Response:a}=t,i=[o,a,r];let n=i.length,s=n,d,c,m=Y6;for(;s--;)d=i[s],c=m.get(d),c===void 0&&m.set(d,c=s?new Map:H6(t)),m=c;return c};kT();const K0={http:i6,xhr:k6,fetch:{get:kT}};se.forEach(K0,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const V_=e=>`- ${e}`,U6=e=>se.isFunction(e)||e===null||e===!1,GT={getAdapter:(e,t)=>{e=se.isArray(e)?e:[e];const{length:r}=e;let o,a;const i={};for(let n=0;n`adapter ${d} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=r?n.length>1?`since : `+n.map(V_).join(` `):" "+V_(n[0]):"as no adapter specified";throw new ct("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return a},adapters:K0};function pp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new al(null,e)}function H_(e){return pp(e),e.headers=Ur.from(e.headers),e.data=fp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),GT.getAdapter(e.adapter||Ls.adapter,e)(e).then(function(o){return pp(e),o.data=fp.call(e,e.transformResponse,o),o.headers=Ur.from(o.headers),o},function(o){return OT(o)||(pp(e),o&&o.response&&(o.response.data=fp.call(e,e.transformResponse,o.response),o.response.headers=Ur.from(o.response.headers))),Promise.reject(o)})}const NT="1.12.2",Og={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Og[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Y_={};Og.transitional=function(t,r,o){function a(i,n){return"[Axios v"+NT+"] Transitional option '"+i+"'"+n+(o?". "+o:"")}return(i,n,s)=>{if(t===!1)throw new ct(a(n," has been removed"+(r?" in "+r:"")),ct.ERR_DEPRECATED);return r&&!Y_[n]&&(Y_[n]=!0,console.warn(a(n," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,n,s):!0}};Og.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function X6(e,t,r){if(typeof e!="object")throw new ct("options must be an object",ct.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const i=o[a],n=t[i];if(n){const s=e[i],d=s===void 0||n(s,i,e);if(d!==!0)throw new ct("option "+i+" must be "+d,ct.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ct("Unknown option "+i,ct.ERR_BAD_OPTION)}}const Zd={assertOptions:X6,validators:Og},Xo=Zd.validators;let Ca=class{constructor(t){this.defaults=t||{},this.interceptors={request:new E_,response:new E_}}async request(t,r){try{return await this._request(t,r)}catch(o){if(o instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=` `+i):o.stack=i}catch{}}throw o}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ba(this.defaults,r);const{transitional:o,paramsSerializer:a,headers:i}=r;o!==void 0&&Zd.assertOptions(o,{silentJSONParsing:Xo.transitional(Xo.boolean),forcedJSONParsing:Xo.transitional(Xo.boolean),clarifyTimeoutError:Xo.transitional(Xo.boolean)},!1),a!=null&&(se.isFunction(a)?r.paramsSerializer={serialize:a}:Zd.assertOptions(a,{encode:Xo.function,serialize:Xo.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Zd.assertOptions(r,{baseUrl:Xo.spelling("baseURL"),withXsrfToken:Xo.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let n=i&&se.merge(i.common,i[r.method]);i&&se.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=Ur.concat(n,i);const s=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(d=d&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let m,f=0,b;if(!d){const h=[H_.bind(this),void 0];for(h.unshift(...s),h.push(...c),b=h.length,m=Promise.resolve(r);f{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](a);o._listeners=null}),this.promise.then=a=>{let i;const n=new Promise(s=>{o.subscribe(s),i=s}).then(a);return n.cancel=function(){o.unsubscribe(i)},n},t(function(i,n,s){o.reason||(o.reason=new al(i,n,s),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=o=>{t.abort(o)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new FT(function(a){t=a}),cancel:t}}};function j6(e){return function(r){return e.apply(null,r)}}function K6(e){return se.isObject(e)&&e.isAxiosError===!0}const z0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(z0).forEach(([e,t])=>{z0[t]=e});function RT(e){const t=new Ca(e),r=pT(Ca.prototype.request,t);return se.extend(r,Ca.prototype,t,{allOwnKeys:!0}),se.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return RT(Ba(e,a))},r}const Zt=RT(Ls);Zt.Axios=Ca;Zt.CanceledError=al;Zt.CancelToken=W6;Zt.isCancel=OT;Zt.VERSION=NT;Zt.toFormData=Eg;Zt.AxiosError=ct;Zt.Cancel=Zt.CanceledError;Zt.all=function(t){return Promise.all(t)};Zt.spread=j6;Zt.isAxiosError=K6;Zt.mergeConfig=Ba;Zt.AxiosHeaders=Ur;Zt.formToJSON=e=>ET(se.isHTMLForm(e)?new FormData(e):e);Zt.getAdapter=GT.getAdapter;Zt.HttpStatusCode=z0;Zt.default=Zt;const{Axios:BSe,AxiosError:DSe,CanceledError:kSe,isCancel:GSe,CancelToken:NSe,VERSION:FSe,all:RSe,Cancel:VSe,isAxiosError:HSe,spread:YSe,toFormData:USe,AxiosHeaders:XSe,HttpStatusCode:WSe,formToJSON:jSe,getAdapter:KSe,mergeConfig:zSe}=Zt;/*! * vue-cookie-next v1.3.0 * (c) 2021 Anish George * @license MIT */const ho={expire:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax"},VT={install:function(e){e.config.globalProperties.$cookie=this,e.provide("cookie",this)},config:function(e){const{expire:t,path:r,domain:o,secure:a,sameSite:i}=e;ho.expire=t||"1d",ho.path=r?"; path="+r:"; path=/",ho.domain=o?"; domain="+o:"",ho.secure=a?"; Secure":"",ho.sameSite=i?"; SameSite="+i:"; SameSite=Lax"},getCookie:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&t.substring(0,1)==="{"&&t.substring(t.length-1,t.length)==="}")try{t=JSON.parse(t)}catch{return t}return t},setCookie:function(e,t,r){let{expire:o,path:a,domain:i,secure:n,sameSite:s}=r||{};if(e){if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie key name illegality, Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: '+e)}else throw new Error("Cookie name is not find in first argument.");t&&t.constructor===Object&&(t=JSON.stringify(t));var d="";if(o=o===void 0?ho.expire:o,o&&o!=0)switch(o.constructor){case Number:o===1/0||o===-1?d="; expires=Fri, 31 Dec 9999 23:59:59 GMT":d="; max-age="+o;break;case String:let m=o.toString();if(/^(?:\d+(y|m|d|h|min|s))$/i.test(m)){var c=m.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(m.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":d="; max-age="+ +c*2592e3;break;case"d":d="; max-age="+ +c*86400;break;case"h":d="; max-age="+ +c*3600;break;case"min":d="; max-age="+ +c*60;break;case"s":d="; max-age="+c;break;case"y":d="; max-age="+ +c*31104e3;break}}else d="; expires="+o;break;case Date:d="; expires="+o.toUTCString();break}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+d+(i?"; domain="+i:ho.domain)+(a?"; path="+a:ho.path)+(n===void 0?ho.secure:n?"; Secure":"")+(s===void 0?ho.sameSite:s?"; SameSite="+s:""),this},removeCookie:function(e,t){const{path:r,domain:o}=t||{};return!e||!this.isCookieAvailable(e)?!1:(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(o?"; domain="+o:ho.domain)+(r?"; path="+r:ho.path)+"; SameSite=Lax",this)},isCookieAvailable:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var z6=Vl.exports,U_;function q6(){return U_||(U_=1,(function(e,t){(function(){var r,o="4.17.21",a=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",s="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",c=500,m="__lodash_placeholder__",f=1,b=2,g=4,h=1,y=2,w=1,M=2,A=4,L=8,C=16,I=32,F=64,R=128,q=256,W=512,K=30,N="...",V=800,J=16,ee=1,Z=2,re=3,X=1/0,oe=9007199254740991,ve=17976931348623157e292,De=NaN,Oe=4294967295,Ie=Oe-1,ot=Oe>>>1,je=[["ary",R],["bind",w],["bindKey",M],["curry",L],["curryRight",C],["flip",W],["partial",I],["partialRight",F],["rearg",q]],Ke="[object Arguments]",Ye="[object Array]",ne="[object AsyncFunction]",_e="[object Boolean]",ce="[object Date]",pe="[object DOMException]",$e="[object Error]",O="[object Function]",k="[object GeneratorFunction]",Y="[object Map]",ie="[object Number]",me="[object Null]",le="[object Object]",Te="[object Promise]",Ae="[object Proxy]",we="[object RegExp]",be="[object Set]",Fe="[object String]",Le="[object Symbol]",Ge="[object Undefined]",Re="[object WeakMap]",at="[object WeakSet]",ft="[object ArrayBuffer]",et="[object DataView]",Et="[object Float32Array]",$="[object Float64Array]",x="[object Int8Array]",S="[object Int16Array]",B="[object Int32Array]",U="[object Uint8Array]",te="[object Uint8ClampedArray]",D="[object Uint16Array]",j="[object Uint32Array]",Xe=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,qe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,Br=/[&<>"']/g,no=RegExp(ke.source),sr=RegExp(Br.source),ge=/<%-([\s\S]+?)%>/g,Me=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ze=/^\w*$/,mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ot=/[\\^$.*+?()[\]{}|]/g,ao=RegExp(Ot.source),io=/^\s+/,So=/\s/,jr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wo=/\{\n\/\* \[wrapped with (.+)\] \*/,Va=/,? & /,tn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,dr=/\\(\\)?/g,Kr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mo=/\w*$/,To=/^[-+]0x[0-9a-f]+$/i,Ao=/^0b[01]+$/i,Lo=/^\[object .+?Constructor\]$/,rn=/^0o[0-7]+$/i,Ha=/^(?:0|[1-9]\d*)$/,Ya=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dl=/($^)/,Ps=/['\n\r\u2028\u2029\\]/g,Cs="\\ud800-\\udfff",EL="\\u0300-\\u036f",OL="\\ufe20-\\ufe2f",IL="\\u20d0-\\u20ff",bh=EL+OL+IL,hh="\\u2700-\\u27bf",xh="a-z\\xdf-\\xf6\\xf8-\\xff",BL="\\xac\\xb1\\xd7\\xf7",DL="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",kL="\\u2000-\\u206f",GL=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",_h="A-Z\\xc0-\\xd6\\xd8-\\xde",vh="\\ufe0e\\ufe0f",yh=BL+DL+kL+GL,Ug="['’]",NL="["+Cs+"]",Sh="["+yh+"]",Es="["+bh+"]",wh="\\d+",FL="["+hh+"]",Mh="["+xh+"]",Th="[^"+Cs+yh+wh+hh+xh+_h+"]",Xg="\\ud83c[\\udffb-\\udfff]",RL="(?:"+Es+"|"+Xg+")",Ah="[^"+Cs+"]",Wg="(?:\\ud83c[\\udde6-\\uddff]){2}",jg="[\\ud800-\\udbff][\\udc00-\\udfff]",Ua="["+_h+"]",Lh="\\u200d",$h="(?:"+Mh+"|"+Th+")",VL="(?:"+Ua+"|"+Th+")",Ph="(?:"+Ug+"(?:d|ll|m|re|s|t|ve))?",Ch="(?:"+Ug+"(?:D|LL|M|RE|S|T|VE))?",Eh=RL+"?",Oh="["+vh+"]?",HL="(?:"+Lh+"(?:"+[Ah,Wg,jg].join("|")+")"+Oh+Eh+")*",YL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",UL="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ih=Oh+Eh+HL,XL="(?:"+[FL,Wg,jg].join("|")+")"+Ih,WL="(?:"+[Ah+Es+"?",Es,Wg,jg,NL].join("|")+")",jL=RegExp(Ug,"g"),KL=RegExp(Es,"g"),Kg=RegExp(Xg+"(?="+Xg+")|"+WL+Ih,"g"),zL=RegExp([Ua+"?"+Mh+"+"+Ph+"(?="+[Sh,Ua,"$"].join("|")+")",VL+"+"+Ch+"(?="+[Sh,Ua+$h,"$"].join("|")+")",Ua+"?"+$h+"+"+Ph,Ua+"+"+Ch,UL,YL,wh,XL].join("|"),"g"),qL=RegExp("["+Lh+Cs+bh+vh+"]"),ZL=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,QL=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],JL=-1,Ft={};Ft[Et]=Ft[$]=Ft[x]=Ft[S]=Ft[B]=Ft[U]=Ft[te]=Ft[D]=Ft[j]=!0,Ft[Ke]=Ft[Ye]=Ft[ft]=Ft[_e]=Ft[et]=Ft[ce]=Ft[$e]=Ft[O]=Ft[Y]=Ft[ie]=Ft[le]=Ft[we]=Ft[be]=Ft[Fe]=Ft[Re]=!1;var kt={};kt[Ke]=kt[Ye]=kt[ft]=kt[et]=kt[_e]=kt[ce]=kt[Et]=kt[$]=kt[x]=kt[S]=kt[B]=kt[Y]=kt[ie]=kt[le]=kt[we]=kt[be]=kt[Fe]=kt[Le]=kt[U]=kt[te]=kt[D]=kt[j]=!0,kt[$e]=kt[O]=kt[Re]=!1;var e4={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},t4={"&":"&","<":"<",">":">",'"':""","'":"'"},r4={"&":"&","<":"<",">":">",""":'"',"'":"'"},o4={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n4=parseFloat,a4=parseInt,Bh=typeof Hi=="object"&&Hi&&Hi.Object===Object&&Hi,i4=typeof self=="object"&&self&&self.Object===Object&&self,pr=Bh||i4||Function("return this")(),zg=t&&!t.nodeType&&t,aa=zg&&!0&&e&&!e.nodeType&&e,Dh=aa&&aa.exports===zg,qg=Dh&&Bh.process,lo=(function(){try{var z=aa&&aa.require&&aa.require("util").types;return z||qg&&qg.binding&&qg.binding("util")}catch{}})(),kh=lo&&lo.isArrayBuffer,Gh=lo&&lo.isDate,Nh=lo&&lo.isMap,Fh=lo&&lo.isRegExp,Rh=lo&&lo.isSet,Vh=lo&&lo.isTypedArray;function zr(z,fe,ue){switch(ue.length){case 0:return z.call(fe);case 1:return z.call(fe,ue[0]);case 2:return z.call(fe,ue[0],ue[1]);case 3:return z.call(fe,ue[0],ue[1],ue[2])}return z.apply(fe,ue)}function l4(z,fe,ue,Ve){for(var lt=-1,Mt=z==null?0:z.length;++lt-1}function Zg(z,fe,ue){for(var Ve=-1,lt=z==null?0:z.length;++Ve-1;);return ue}function zh(z,fe){for(var ue=z.length;ue--&&Xa(fe,z[ue],0)>-1;);return ue}function b4(z,fe){for(var ue=z.length,Ve=0;ue--;)z[ue]===fe&&++Ve;return Ve}var h4=tf(e4),x4=tf(t4);function _4(z){return"\\"+o4[z]}function v4(z,fe){return z==null?r:z[fe]}function Wa(z){return qL.test(z)}function y4(z){return ZL.test(z)}function S4(z){for(var fe,ue=[];!(fe=z.next()).done;)ue.push(fe.value);return ue}function af(z){var fe=-1,ue=Array(z.size);return z.forEach(function(Ve,lt){ue[++fe]=[lt,Ve]}),ue}function qh(z,fe){return function(ue){return z(fe(ue))}}function Cn(z,fe){for(var ue=-1,Ve=z.length,lt=0,Mt=[];++ue-1}function d$(l,u){var p=this.__data__,v=zs(p,l);return v<0?(++this.size,p.push([l,u])):p[v][1]=u,this}on.prototype.clear=a$,on.prototype.delete=i$,on.prototype.get=l$,on.prototype.has=s$,on.prototype.set=d$;function nn(l){var u=-1,p=l==null?0:l.length;for(this.clear();++u=u?l:u)),l}function mo(l,u,p,v,T,E){var G,H=u&f,Q=u&b,he=u&g;if(p&&(G=T?p(l,v,T,E):p(l)),G!==r)return G;if(!Ht(l))return l;var xe=dt(l);if(xe){if(G=gP(l),!H)return Dr(l,G)}else{var Se=vr(l),Be=Se==O||Se==k;if(kn(l))return Ox(l,H);if(Se==le||Se==Ke||Be&&!T){if(G=Q||Be?{}:Zx(l),!H)return Q?rP(l,T$(G,l)):tP(l,sx(G,l))}else{if(!kt[Se])return T?l:{};G=fP(l,Se,H)}}E||(E=new Po);var Ue=E.get(l);if(Ue)return Ue;E.set(l,G),A1(l)?l.forEach(function(rt){G.add(mo(rt,u,p,rt,l,E))}):M1(l)&&l.forEach(function(rt,xt){G.set(xt,mo(rt,u,p,xt,l,E))});var tt=he?Q?Of:Ef:Q?Gr:ur,pt=xe?r:tt(l);return so(pt||l,function(rt,xt){pt&&(xt=rt,rt=l[xt]),bl(G,xt,mo(rt,u,p,xt,l,E))}),G}function A$(l){var u=ur(l);return function(p){return dx(p,l,u)}}function dx(l,u,p){var v=p.length;if(l==null)return!v;for(l=Dt(l);v--;){var T=p[v],E=u[T],G=l[T];if(G===r&&!(T in l)||!E(G))return!1}return!0}function ux(l,u,p){if(typeof l!="function")throw new uo(n);return wl(function(){l.apply(r,p)},u)}function hl(l,u,p,v){var T=-1,E=Os,G=!0,H=l.length,Q=[],he=u.length;if(!H)return Q;p&&(u=Rt(u,qr(p))),v?(E=Zg,G=!1):u.length>=a&&(E=ul,G=!1,u=new sa(u));e:for(;++TT?0:T+p),v=v===r||v>T?T:gt(v),v<0&&(v+=T),v=p>v?0:$1(v);p0&&p(H)?u>1?br(H,u-1,p,v,T):Pn(T,H):v||(T[T.length]=H)}return T}var gf=Nx(),gx=Nx(!0);function Vo(l,u){return l&&gf(l,u,ur)}function ff(l,u){return l&&gx(l,u,ur)}function Zs(l,u){return $n(u,function(p){return un(l[p])})}function ua(l,u){u=Bn(u,l);for(var p=0,v=u.length;l!=null&&pu}function P$(l,u){return l!=null&&Ct.call(l,u)}function C$(l,u){return l!=null&&u in Dt(l)}function E$(l,u,p){return l>=_r(u,p)&&l=120&&xe.length>=120)?new sa(G&&xe):r}xe=l[0];var Se=-1,Be=H[0];e:for(;++Se-1;)H!==l&&Hs.call(H,Q,1),Hs.call(l,Q,1);return l}function Mx(l,u){for(var p=l?u.length:0,v=p-1;p--;){var T=u[p];if(p==v||T!==E){var E=T;dn(T)?Hs.call(l,T,1):Mf(l,T)}}return l}function yf(l,u){return l+Xs(nx()*(u-l+1))}function U$(l,u,p,v){for(var T=-1,E=or(Us((u-l)/(p||1)),0),G=ue(E);E--;)G[v?E:++T]=l,l+=p;return G}function Sf(l,u){var p="";if(!l||u<1||u>oe)return p;do u%2&&(p+=l),u=Xs(u/2),u&&(l+=l);while(u);return p}function bt(l,u){return Ff(e1(l,u,Nr),l+"")}function X$(l){return lx(oi(l))}function W$(l,u){var p=oi(l);return sd(p,da(u,0,p.length))}function vl(l,u,p,v){if(!Ht(l))return l;u=Bn(u,l);for(var T=-1,E=u.length,G=E-1,H=l;H!=null&&++TT?0:T+u),p=p>T?T:p,p<0&&(p+=T),T=u>p?0:p-u>>>0,u>>>=0;for(var E=ue(T);++v>>1,G=l[E];G!==null&&!Qr(G)&&(p?G<=u:G=a){var he=u?null:iP(l);if(he)return Bs(he);G=!1,T=ul,Q=new sa}else Q=u?[]:H;e:for(;++v=v?l:go(l,u,p)}var Ex=G4||function(l){return pr.clearTimeout(l)};function Ox(l,u){if(u)return l.slice();var p=l.length,v=Jh?Jh(p):new l.constructor(p);return l.copy(v),v}function $f(l){var u=new l.constructor(l.byteLength);return new Rs(u).set(new Rs(l)),u}function Z$(l,u){var p=u?$f(l.buffer):l.buffer;return new l.constructor(p,l.byteOffset,l.byteLength)}function Q$(l){var u=new l.constructor(l.source,Mo.exec(l));return u.lastIndex=l.lastIndex,u}function J$(l){return pl?Dt(pl.call(l)):{}}function Ix(l,u){var p=u?$f(l.buffer):l.buffer;return new l.constructor(p,l.byteOffset,l.length)}function Bx(l,u){if(l!==u){var p=l!==r,v=l===null,T=l===l,E=Qr(l),G=u!==r,H=u===null,Q=u===u,he=Qr(u);if(!H&&!he&&!E&&l>u||E&&G&&Q&&!H&&!he||v&&G&&Q||!p&&Q||!T)return 1;if(!v&&!E&&!he&&l=H)return Q;var he=p[v];return Q*(he=="desc"?-1:1)}}return l.index-u.index}function Dx(l,u,p,v){for(var T=-1,E=l.length,G=p.length,H=-1,Q=u.length,he=or(E-G,0),xe=ue(Q+he),Se=!v;++H1?p[T-1]:r,G=T>2?p[2]:r;for(E=l.length>3&&typeof E=="function"?(T--,E):r,G&&Ar(p[0],p[1],G)&&(E=T<3?r:E,T=1),u=Dt(u);++v-1?T[E?u[G]:G]:r}}function Vx(l){return sn(function(u){var p=u.length,v=p,T=co.prototype.thru;for(l&&u.reverse();v--;){var E=u[v];if(typeof E!="function")throw new uo(n);if(T&&!G&&id(E)=="wrapper")var G=new co([],!0)}for(v=G?v:p;++v1&&St.reverse(),xe&&QH))return!1;var he=E.get(l),xe=E.get(u);if(he&&xe)return he==u&&xe==l;var Se=-1,Be=!0,Ue=p&y?new sa:r;for(E.set(l,u),E.set(u,l);++Se1?"& ":"")+u[v],u=u.join(p>2?", ":" "),l.replace(jr,`{ /* [wrapped with `+u+`] */ `)}function bP(l){return dt(l)||ga(l)||!!(rx&&l&&l[rx])}function dn(l,u){var p=typeof l;return u=u??oe,!!u&&(p=="number"||p!="symbol"&&Ha.test(l))&&l>-1&&l%1==0&&l0){if(++u>=V)return arguments[0]}else u=0;return l.apply(r,arguments)}}function sd(l,u){var p=-1,v=l.length,T=v-1;for(u=u===r?v:u;++p1?l[u-1]:r;return p=typeof p=="function"?(l.pop(),p):r,m1(l,p)});function g1(l){var u=P(l);return u.__chain__=!0,u}function L3(l,u){return u(l),l}function dd(l,u){return u(l)}var $3=sn(function(l){var u=l.length,p=u?l[0]:0,v=this.__wrapped__,T=function(E){return mf(E,l)};return u>1||this.__actions__.length||!(v instanceof vt)||!dn(p)?this.thru(T):(v=v.slice(p,+p+(u?1:0)),v.__actions__.push({func:dd,args:[T],thisArg:r}),new co(v,this.__chain__).thru(function(E){return u&&!E.length&&E.push(r),E}))});function P3(){return g1(this)}function C3(){return new co(this.value(),this.__chain__)}function E3(){this.__values__===r&&(this.__values__=L1(this.value()));var l=this.__index__>=this.__values__.length,u=l?r:this.__values__[this.__index__++];return{done:l,value:u}}function O3(){return this}function I3(l){for(var u,p=this;p instanceof Ks;){var v=i1(p);v.__index__=0,v.__values__=r,u?T.__wrapped__=v:u=v;var T=v;p=p.__wrapped__}return T.__wrapped__=l,u}function B3(){var l=this.__wrapped__;if(l instanceof vt){var u=l;return this.__actions__.length&&(u=new vt(this)),u=u.reverse(),u.__actions__.push({func:dd,args:[Rf],thisArg:r}),new co(u,this.__chain__)}return this.thru(Rf)}function D3(){return Px(this.__wrapped__,this.__actions__)}var k3=td(function(l,u,p){Ct.call(l,p)?++l[p]:an(l,p,1)});function G3(l,u,p){var v=dt(l)?Hh:L$;return p&&Ar(l,u,p)&&(u=r),v(l,Je(u,3))}function N3(l,u){var p=dt(l)?$n:mx;return p(l,Je(u,3))}var F3=Rx(l1),R3=Rx(s1);function V3(l,u){return br(ud(l,u),1)}function H3(l,u){return br(ud(l,u),X)}function Y3(l,u,p){return p=p===r?1:gt(p),br(ud(l,u),p)}function f1(l,u){var p=dt(l)?so:On;return p(l,Je(u,3))}function p1(l,u){var p=dt(l)?s4:cx;return p(l,Je(u,3))}var U3=td(function(l,u,p){Ct.call(l,p)?l[p].push(u):an(l,p,[u])});function X3(l,u,p,v){l=kr(l)?l:oi(l),p=p&&!v?gt(p):0;var T=l.length;return p<0&&(p=or(T+p,0)),pd(l)?p<=T&&l.indexOf(u,p)>-1:!!T&&Xa(l,u,p)>-1}var W3=bt(function(l,u,p){var v=-1,T=typeof u=="function",E=kr(l)?ue(l.length):[];return On(l,function(G){E[++v]=T?zr(u,G,p):xl(G,u,p)}),E}),j3=td(function(l,u,p){an(l,p,u)});function ud(l,u){var p=dt(l)?Rt:xx;return p(l,Je(u,3))}function K3(l,u,p,v){return l==null?[]:(dt(u)||(u=u==null?[]:[u]),p=v?r:p,dt(p)||(p=p==null?[]:[p]),Sx(l,u,p))}var z3=td(function(l,u,p){l[p?0:1].push(u)},function(){return[[],[]]});function q3(l,u,p){var v=dt(l)?Qg:Wh,T=arguments.length<3;return v(l,Je(u,4),p,T,On)}function Z3(l,u,p){var v=dt(l)?d4:Wh,T=arguments.length<3;return v(l,Je(u,4),p,T,cx)}function Q3(l,u){var p=dt(l)?$n:mx;return p(l,gd(Je(u,3)))}function J3(l){var u=dt(l)?lx:X$;return u(l)}function eC(l,u,p){(p?Ar(l,u,p):u===r)?u=1:u=gt(u);var v=dt(l)?S$:W$;return v(l,u)}function tC(l){var u=dt(l)?w$:K$;return u(l)}function rC(l){if(l==null)return 0;if(kr(l))return pd(l)?ja(l):l.length;var u=vr(l);return u==Y||u==be?l.size:xf(l).length}function oC(l,u,p){var v=dt(l)?Jg:z$;return p&&Ar(l,u,p)&&(u=r),v(l,Je(u,3))}var nC=bt(function(l,u){if(l==null)return[];var p=u.length;return p>1&&Ar(l,u[0],u[1])?u=[]:p>2&&Ar(u[0],u[1],u[2])&&(u=[u[0]]),Sx(l,br(u,1),[])}),cd=N4||function(){return pr.Date.now()};function aC(l,u){if(typeof u!="function")throw new uo(n);return l=gt(l),function(){if(--l<1)return u.apply(this,arguments)}}function b1(l,u,p){return u=p?r:u,u=l&&u==null?l.length:u,ln(l,R,r,r,r,r,u)}function h1(l,u){var p;if(typeof u!="function")throw new uo(n);return l=gt(l),function(){return--l>0&&(p=u.apply(this,arguments)),l<=1&&(u=r),p}}var Hf=bt(function(l,u,p){var v=w;if(p.length){var T=Cn(p,ti(Hf));v|=I}return ln(l,v,u,p,T)}),x1=bt(function(l,u,p){var v=w|M;if(p.length){var T=Cn(p,ti(x1));v|=I}return ln(u,v,l,p,T)});function _1(l,u,p){u=p?r:u;var v=ln(l,L,r,r,r,r,r,u);return v.placeholder=_1.placeholder,v}function v1(l,u,p){u=p?r:u;var v=ln(l,C,r,r,r,r,r,u);return v.placeholder=v1.placeholder,v}function y1(l,u,p){var v,T,E,G,H,Q,he=0,xe=!1,Se=!1,Be=!0;if(typeof l!="function")throw new uo(n);u=po(u)||0,Ht(p)&&(xe=!!p.leading,Se="maxWait"in p,E=Se?or(po(p.maxWait)||0,u):E,Be="trailing"in p?!!p.trailing:Be);function Ue(qt){var Eo=v,mn=T;return v=T=r,he=qt,G=l.apply(mn,Eo),G}function tt(qt){return he=qt,H=wl(xt,u),xe?Ue(qt):G}function pt(qt){var Eo=qt-Q,mn=qt-he,R1=u-Eo;return Se?_r(R1,E-mn):R1}function rt(qt){var Eo=qt-Q,mn=qt-he;return Q===r||Eo>=u||Eo<0||Se&&mn>=E}function xt(){var qt=cd();if(rt(qt))return St(qt);H=wl(xt,pt(qt))}function St(qt){return H=r,Be&&v?Ue(qt):(v=T=r,G)}function Jr(){H!==r&&Ex(H),he=0,v=Q=T=H=r}function Lr(){return H===r?G:St(cd())}function eo(){var qt=cd(),Eo=rt(qt);if(v=arguments,T=this,Q=qt,Eo){if(H===r)return tt(Q);if(Se)return Ex(H),H=wl(xt,u),Ue(Q)}return H===r&&(H=wl(xt,u)),G}return eo.cancel=Jr,eo.flush=Lr,eo}var iC=bt(function(l,u){return ux(l,1,u)}),lC=bt(function(l,u,p){return ux(l,po(u)||0,p)});function sC(l){return ln(l,W)}function md(l,u){if(typeof l!="function"||u!=null&&typeof u!="function")throw new uo(n);var p=function(){var v=arguments,T=u?u.apply(this,v):v[0],E=p.cache;if(E.has(T))return E.get(T);var G=l.apply(this,v);return p.cache=E.set(T,G)||E,G};return p.cache=new(md.Cache||nn),p}md.Cache=nn;function gd(l){if(typeof l!="function")throw new uo(n);return function(){var u=arguments;switch(u.length){case 0:return!l.call(this);case 1:return!l.call(this,u[0]);case 2:return!l.call(this,u[0],u[1]);case 3:return!l.call(this,u[0],u[1],u[2])}return!l.apply(this,u)}}function dC(l){return h1(2,l)}var uC=q$(function(l,u){u=u.length==1&&dt(u[0])?Rt(u[0],qr(Je())):Rt(br(u,1),qr(Je()));var p=u.length;return bt(function(v){for(var T=-1,E=_r(v.length,p);++T=u}),ga=px((function(){return arguments})())?px:function(l){return Yt(l)&&Ct.call(l,"callee")&&!tx.call(l,"callee")},dt=ue.isArray,TC=kh?qr(kh):I$;function kr(l){return l!=null&&fd(l.length)&&!un(l)}function zt(l){return Yt(l)&&kr(l)}function AC(l){return l===!0||l===!1||Yt(l)&&Tr(l)==_e}var kn=R4||ep,LC=Gh?qr(Gh):B$;function $C(l){return Yt(l)&&l.nodeType===1&&!Ml(l)}function PC(l){if(l==null)return!0;if(kr(l)&&(dt(l)||typeof l=="string"||typeof l.splice=="function"||kn(l)||ri(l)||ga(l)))return!l.length;var u=vr(l);if(u==Y||u==be)return!l.size;if(Sl(l))return!xf(l).length;for(var p in l)if(Ct.call(l,p))return!1;return!0}function CC(l,u){return _l(l,u)}function EC(l,u,p){p=typeof p=="function"?p:r;var v=p?p(l,u):r;return v===r?_l(l,u,r,p):!!v}function Uf(l){if(!Yt(l))return!1;var u=Tr(l);return u==$e||u==pe||typeof l.message=="string"&&typeof l.name=="string"&&!Ml(l)}function OC(l){return typeof l=="number"&&ox(l)}function un(l){if(!Ht(l))return!1;var u=Tr(l);return u==O||u==k||u==ne||u==Ae}function w1(l){return typeof l=="number"&&l==gt(l)}function fd(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=oe}function Ht(l){var u=typeof l;return l!=null&&(u=="object"||u=="function")}function Yt(l){return l!=null&&typeof l=="object"}var M1=Nh?qr(Nh):k$;function IC(l,u){return l===u||hf(l,u,Bf(u))}function BC(l,u,p){return p=typeof p=="function"?p:r,hf(l,u,Bf(u),p)}function DC(l){return T1(l)&&l!=+l}function kC(l){if(_P(l))throw new lt(i);return bx(l)}function GC(l){return l===null}function NC(l){return l==null}function T1(l){return typeof l=="number"||Yt(l)&&Tr(l)==ie}function Ml(l){if(!Yt(l)||Tr(l)!=le)return!1;var u=Vs(l);if(u===null)return!0;var p=Ct.call(u,"constructor")&&u.constructor;return typeof p=="function"&&p instanceof p&&Gs.call(p)==B4}var Xf=Fh?qr(Fh):G$;function FC(l){return w1(l)&&l>=-oe&&l<=oe}var A1=Rh?qr(Rh):N$;function pd(l){return typeof l=="string"||!dt(l)&&Yt(l)&&Tr(l)==Fe}function Qr(l){return typeof l=="symbol"||Yt(l)&&Tr(l)==Le}var ri=Vh?qr(Vh):F$;function RC(l){return l===r}function VC(l){return Yt(l)&&vr(l)==Re}function HC(l){return Yt(l)&&Tr(l)==at}var YC=ad(_f),UC=ad(function(l,u){return l<=u});function L1(l){if(!l)return[];if(kr(l))return pd(l)?$o(l):Dr(l);if(cl&&l[cl])return S4(l[cl]());var u=vr(l),p=u==Y?af:u==be?Bs:oi;return p(l)}function cn(l){if(!l)return l===0?l:0;if(l=po(l),l===X||l===-X){var u=l<0?-1:1;return u*ve}return l===l?l:0}function gt(l){var u=cn(l),p=u%1;return u===u?p?u-p:u:0}function $1(l){return l?da(gt(l),0,Oe):0}function po(l){if(typeof l=="number")return l;if(Qr(l))return De;if(Ht(l)){var u=typeof l.valueOf=="function"?l.valueOf():l;l=Ht(u)?u+"":u}if(typeof l!="string")return l===0?l:+l;l=jh(l);var p=Ao.test(l);return p||rn.test(l)?a4(l.slice(2),p?2:8):To.test(l)?De:+l}function P1(l){return Ho(l,Gr(l))}function XC(l){return l?da(gt(l),-oe,oe):l===0?l:0}function Tt(l){return l==null?"":Zr(l)}var WC=Ja(function(l,u){if(Sl(u)||kr(u)){Ho(u,ur(u),l);return}for(var p in u)Ct.call(u,p)&&bl(l,p,u[p])}),C1=Ja(function(l,u){Ho(u,Gr(u),l)}),bd=Ja(function(l,u,p,v){Ho(u,Gr(u),l,v)}),jC=Ja(function(l,u,p,v){Ho(u,ur(u),l,v)}),KC=sn(mf);function zC(l,u){var p=Qa(l);return u==null?p:sx(p,u)}var qC=bt(function(l,u){l=Dt(l);var p=-1,v=u.length,T=v>2?u[2]:r;for(T&&Ar(u[0],u[1],T)&&(v=1);++p1),E}),Ho(l,Of(l),p),v&&(p=mo(p,f|b|g,lP));for(var T=u.length;T--;)Mf(p,u[T]);return p});function f9(l,u){return O1(l,gd(Je(u)))}var p9=sn(function(l,u){return l==null?{}:H$(l,u)});function O1(l,u){if(l==null)return{};var p=Rt(Of(l),function(v){return[v]});return u=Je(u),wx(l,p,function(v,T){return u(v,T[0])})}function b9(l,u,p){u=Bn(u,l);var v=-1,T=u.length;for(T||(T=1,l=r);++vu){var v=l;l=u,u=v}if(p||l%1||u%1){var T=nx();return _r(l+T*(u-l+n4("1e-"+((T+"").length-1))),u)}return yf(l,u)}var L9=ei(function(l,u,p){return u=u.toLowerCase(),l+(p?D1(u):u)});function D1(l){return Kf(Tt(l).toLowerCase())}function k1(l){return l=Tt(l),l&&l.replace(Ya,h4).replace(KL,"")}function $9(l,u,p){l=Tt(l),u=Zr(u);var v=l.length;p=p===r?v:da(gt(p),0,v);var T=p;return p-=u.length,p>=0&&l.slice(p,T)==u}function P9(l){return l=Tt(l),l&&sr.test(l)?l.replace(Br,x4):l}function C9(l){return l=Tt(l),l&&ao.test(l)?l.replace(Ot,"\\$&"):l}var E9=ei(function(l,u,p){return l+(p?"-":"")+u.toLowerCase()}),O9=ei(function(l,u,p){return l+(p?" ":"")+u.toLowerCase()}),I9=Fx("toLowerCase");function B9(l,u,p){l=Tt(l),u=gt(u);var v=u?ja(l):0;if(!u||v>=u)return l;var T=(u-v)/2;return nd(Xs(T),p)+l+nd(Us(T),p)}function D9(l,u,p){l=Tt(l),u=gt(u);var v=u?ja(l):0;return u&&v>>0,p?(l=Tt(l),l&&(typeof u=="string"||u!=null&&!Xf(u))&&(u=Zr(u),!u&&Wa(l))?Dn($o(l),0,p):l.split(u,p)):[]}var H9=ei(function(l,u,p){return l+(p?" ":"")+Kf(u)});function Y9(l,u,p){return l=Tt(l),p=p==null?0:da(gt(p),0,l.length),u=Zr(u),l.slice(p,p+u.length)==u}function U9(l,u,p){var v=P.templateSettings;p&&Ar(l,u,p)&&(u=r),l=Tt(l),u=bd({},u,v,Wx);var T=bd({},u.imports,v.imports,Wx),E=ur(T),G=nf(T,E),H,Q,he=0,xe=u.interpolate||dl,Se="__p += '",Be=lf((u.escape||dl).source+"|"+xe.source+"|"+(xe===Pe?Kr:dl).source+"|"+(u.evaluate||dl).source+"|$","g"),Ue="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++JL+"]")+` `;l.replace(Be,function(rt,xt,St,Jr,Lr,eo){return St||(St=Jr),Se+=l.slice(he,eo).replace(Ps,_4),xt&&(H=!0,Se+=`' + __e(`+xt+`) + '`),Lr&&(Q=!0,Se+=`'; `+Lr+`; __p += '`),St&&(Se+=`' + ((__t = (`+St+`)) == null ? '' : __t) + '`),he=eo+rt.length,rt}),Se+=`'; `;var tt=Ct.call(u,"variable")&&u.variable;if(!tt)Se=`with (obj) { `+Se+` } `;else if(Jt.test(tt))throw new lt(s);Se=(Q?Se.replace(Xe,""):Se).replace(ze,"$1").replace(qe,"$1;"),Se="function("+(tt||"obj")+`) { `+(tt?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(H?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+Se+`return __p }`;var pt=N1(function(){return Mt(E,Ue+"return "+Se).apply(r,G)});if(pt.source=Se,Uf(pt))throw pt;return pt}function X9(l){return Tt(l).toLowerCase()}function W9(l){return Tt(l).toUpperCase()}function j9(l,u,p){if(l=Tt(l),l&&(p||u===r))return jh(l);if(!l||!(u=Zr(u)))return l;var v=$o(l),T=$o(u),E=Kh(v,T),G=zh(v,T)+1;return Dn(v,E,G).join("")}function K9(l,u,p){if(l=Tt(l),l&&(p||u===r))return l.slice(0,Zh(l)+1);if(!l||!(u=Zr(u)))return l;var v=$o(l),T=zh(v,$o(u))+1;return Dn(v,0,T).join("")}function z9(l,u,p){if(l=Tt(l),l&&(p||u===r))return l.replace(io,"");if(!l||!(u=Zr(u)))return l;var v=$o(l),T=Kh(v,$o(u));return Dn(v,T).join("")}function q9(l,u){var p=K,v=N;if(Ht(u)){var T="separator"in u?u.separator:T;p="length"in u?gt(u.length):p,v="omission"in u?Zr(u.omission):v}l=Tt(l);var E=l.length;if(Wa(l)){var G=$o(l);E=G.length}if(p>=E)return l;var H=p-ja(v);if(H<1)return v;var Q=G?Dn(G,0,H).join(""):l.slice(0,H);if(T===r)return Q+v;if(G&&(H+=Q.length-H),Xf(T)){if(l.slice(H).search(T)){var he,xe=Q;for(T.global||(T=lf(T.source,Tt(Mo.exec(T))+"g")),T.lastIndex=0;he=T.exec(xe);)var Se=he.index;Q=Q.slice(0,Se===r?H:Se)}}else if(l.indexOf(Zr(T),H)!=H){var Be=Q.lastIndexOf(T);Be>-1&&(Q=Q.slice(0,Be))}return Q+v}function Z9(l){return l=Tt(l),l&&no.test(l)?l.replace(ke,A4):l}var Q9=ei(function(l,u,p){return l+(p?" ":"")+u.toUpperCase()}),Kf=Fx("toUpperCase");function G1(l,u,p){return l=Tt(l),u=p?r:u,u===r?y4(l)?P4(l):m4(l):l.match(u)||[]}var N1=bt(function(l,u){try{return zr(l,r,u)}catch(p){return Uf(p)?p:new lt(p)}}),J9=sn(function(l,u){return so(u,function(p){p=Yo(p),an(l,p,Hf(l[p],l))}),l});function e8(l){var u=l==null?0:l.length,p=Je();return l=u?Rt(l,function(v){if(typeof v[1]!="function")throw new uo(n);return[p(v[0]),v[1]]}):[],bt(function(v){for(var T=-1;++Toe)return[];var p=Oe,v=_r(l,Oe);u=Je(u),l-=Oe;for(var T=of(v,u);++p0||u<0)?new vt(p):(l<0?p=p.takeRight(-l):l&&(p=p.drop(l)),u!==r&&(u=gt(u),p=u<0?p.dropRight(-u):p.take(u-l)),p)},vt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},vt.prototype.toArray=function(){return this.take(Oe)},Vo(vt.prototype,function(l,u){var p=/^(?:filter|find|map|reject)|While$/.test(u),v=/^(?:head|last)$/.test(u),T=P[v?"take"+(u=="last"?"Right":""):u],E=v||/^find/.test(u);T&&(P.prototype[u]=function(){var G=this.__wrapped__,H=v?[1]:arguments,Q=G instanceof vt,he=H[0],xe=Q||dt(G),Se=function(xt){var St=T.apply(P,Pn([xt],H));return v&&Be?St[0]:St};xe&&p&&typeof he=="function"&&he.length!=1&&(Q=xe=!1);var Be=this.__chain__,Ue=!!this.__actions__.length,tt=E&&!Be,pt=Q&&!Ue;if(!E&&xe){G=pt?G:new vt(this);var rt=l.apply(G,H);return rt.__actions__.push({func:dd,args:[Se],thisArg:r}),new co(rt,Be)}return tt&&pt?l.apply(this,H):(rt=this.thru(Se),tt?v?rt.value()[0]:rt.value():rt)})}),so(["pop","push","shift","sort","splice","unshift"],function(l){var u=Ds[l],p=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",v=/^(?:pop|shift)$/.test(l);P.prototype[l]=function(){var T=arguments;if(v&&!this.__chain__){var E=this.value();return u.apply(dt(E)?E:[],T)}return this[p](function(G){return u.apply(dt(G)?G:[],T)})}}),Vo(vt.prototype,function(l,u){var p=P[u];if(p){var v=p.name+"";Ct.call(Za,v)||(Za[v]=[]),Za[v].push({name:u,func:p})}}),Za[rd(r,M).name]=[{name:"wrapper",func:r}],vt.prototype.clone=Z4,vt.prototype.reverse=Q4,vt.prototype.value=J4,P.prototype.at=$3,P.prototype.chain=P3,P.prototype.commit=C3,P.prototype.next=E3,P.prototype.plant=I3,P.prototype.reverse=B3,P.prototype.toJSON=P.prototype.valueOf=P.prototype.value=D3,P.prototype.first=P.prototype.head,cl&&(P.prototype[cl]=O3),P}),Ka=C4();aa?((aa.exports=Ka)._=Ka,zg._=Ka):pr._=Ka}).call(z6)})(Vl,Vl.exports)),Vl.exports}var We=q6();const Z6=new Set(["title","titleTemplate","script","style","noscript"]),Qd=new Set(["base","meta","link","style","script","noscript"]),Q6=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),J6=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),YT=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),eI=typeof window<"u";function rg(e){let t=9;for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function q0(e){if(e._h)return e._h;if(e._d)return rg(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const r in e.props)t+=`${r}:${String(e.props[r])},`;return rg(t)}function tI(e,t){return e instanceof Promise?e.then(t):t(e)}function Z0(e,t,r,o){const a=o||XT(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(a instanceof Promise)return a.then(n=>Z0(e,t,r,n));const i={tag:e,props:a};for(const n of YT){const s=i.props[n]!==void 0?i.props[n]:r[n];s!==void 0&&((!(n==="innerHTML"||n==="textContent"||n==="children")||Z6.has(i.tag))&&(i[n==="children"?"innerHTML":n]=s),delete i.props[n])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(n=>({...i,props:{...i.props,content:n}})):i}function rI(e,t){var o;const r=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,a])=>a).map(([a,i])=>e==="style"?`${a}:${i}`:a)),(o=String(Array.isArray(t)?t.join(r):t))==null?void 0:o.split(r).filter(a=>!!a.trim()).join(r)}function UT(e,t,r,o){for(let a=o;a(e[i]=n,UT(e,t,r,a)));if(!t&&!YT.has(i)){const n=String(e[i]),s=i.startsWith("data-");n==="true"||n===""?e[i]=s?"true":!0:e[i]||(s&&n==="false"?e[i]="false":delete e[i])}}}function XT(e,t=!1){const r=UT(e,t,Object.keys(e),0);return r instanceof Promise?r.then(()=>e):e}const oI=10;function WT(e,t,r){for(let o=r;o(t[o]=i,WT(e,t,o)));Array.isArray(a)?e.push(...a):e.push(a)}}function nI(e){const t=[],r=e.resolvedInput;for(const a in r){if(!Object.prototype.hasOwnProperty.call(r,a))continue;const i=r[a];if(!(i===void 0||!Q6.has(a))){if(Array.isArray(i)){for(const n of i)t.push(Z0(a,n,e));continue}t.push(Z0(a,i,e))}}if(t.length===0)return[];const o=[];return tI(WT(o,t,0),()=>o.map((a,i)=>(a._e=e._i,e.mode&&(a._m=e.mode),a._p=(e._i<{if(s===jn||!i.includes(s))return s;const d=lI(t,s.slice(1),o);return d!==void 0?d:s}).trim(),n&&(e.endsWith(jn)&&(e=e.slice(0,-jn.length)),e.startsWith(jn)&&(e=e.slice(jn.length)),e=e.replace(sI,r).trim()),e}function K_(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function dI(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async a=>{var f;const i=(await e.resolveTags()).map(b=>({tag:b,id:Qd.has(b.tag)?q0(b):b.tag,shouldRender:!0}));let n=e._dom;if(!n){n={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};const b=new Set;for(const g of["body","head"]){const h=(f=r[g])==null?void 0:f.children;for(const y of h){const w=y.tagName.toLowerCase();if(!Qd.has(w))continue;const M={tag:w,props:await XT(y.getAttributeNames().reduce((I,F)=>({...I,[F]:y.getAttribute(F)}),{})),innerHTML:y.innerHTML},A=jT(M);let L=A,C=1;for(;L&&b.has(L);)L=`${A}:${C++}`;L&&(M._d=L,b.add(L)),n.elMap[y.getAttribute("data-hid")||q0(M)]=y}}}n.pendingSideEffects={...n.sideEffects},n.sideEffects={};function s(b,g,h){const y=`${b}:${g}`;n.sideEffects[y]=h,delete n.pendingSideEffects[y]}function d({id:b,$el:g,tag:h}){const y=h.tag.endsWith("Attrs");if(n.elMap[b]=g,y||(h.textContent&&h.textContent!==g.textContent&&(g.textContent=h.textContent),h.innerHTML&&h.innerHTML!==g.innerHTML&&(g.innerHTML=h.innerHTML),s(b,"el",()=>{var w;(w=n.elMap[b])==null||w.remove(),delete n.elMap[b]})),h._eventHandlers)for(const w in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,w)&&g.getAttribute(`data-${w}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:g).addEventListener(w.substring(2),h._eventHandlers[w].bind(g)),g.setAttribute(`data-${w}`,""));for(const w in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,w))continue;const M=h.props[w],A=`attr:${w}`;if(w==="class"){if(!M)continue;for(const L of M.split(" "))y&&s(b,`${A}:${L}`,()=>g.classList.remove(L)),!g.classList.contains(L)&&g.classList.add(L)}else if(w==="style"){if(!M)continue;for(const L of M.split(";")){const C=L.indexOf(":"),I=L.substring(0,C).trim(),F=L.substring(C+1).trim();s(b,`${A}:${I}`,()=>{g.style.removeProperty(I)}),g.style.setProperty(I,F)}}else g.getAttribute(w)!==M&&g.setAttribute(w,M===!0?"":String(M)),y&&s(b,A,()=>g.removeAttribute(w))}}const c=[],m={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const b of i){const{tag:g,shouldRender:h,id:y}=b;if(h){if(g.tag==="title"){r.title=g.textContent;continue}b.$el=b.$el||n.elMap[y],b.$el?d(b):Qd.has(g.tag)&&c.push(b)}}for(const b of c){const g=b.tag.tagPosition||"head";b.$el=r.createElement(b.tag.tag),d(b),m[g]=m[g]||r.createDocumentFragment(),m[g].appendChild(b.$el)}for(const b of i)await e.hooks.callHook("dom:renderTag",b,r,s);m.head&&r.head.appendChild(m.head),m.bodyOpen&&r.body.insertBefore(m.bodyOpen,r.body.firstChild),m.bodyClose&&r.body.appendChild(m.bodyClose);for(const b in n.pendingSideEffects)n.pendingSideEffects[b]();e._dom=n,await e.hooks.callHook("dom:rendered",{renders:i}),a()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function uI(e,t={}){const r=t.delayFn||(o=>setTimeout(o,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(o=>r(()=>dI(e,t).then(()=>{delete e._domDebouncedUpdatePromise,o()})))}function cI(e){return t=>{var o,a;const r=((a=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return r&&t.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":i=>{uI(i,e)}}}}}function Q0(e,t={},r){for(const o in e){const a=e[o],i=r?`${r}:${o}`:o;typeof a=="object"&&a!==null?Q0(a,t,i):typeof a=="function"&&(t[i]=a)}return t}const mI={run:e=>e()},gI=()=>mI,KT=typeof console.createTask<"u"?console.createTask:gI;function fI(e,t){const r=t.shift(),o=KT(r);return e.reduce((a,i)=>a.then(()=>o.run(()=>i(...t))),Promise.resolve())}function pI(e,t){const r=t.shift(),o=KT(r);return Promise.all(e.map(a=>o.run(()=>a(...t))))}function bp(e,t){for(const r of[...e])r(t)}class bI{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,o={}){if(!t||typeof r!="function")return()=>{};const a=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!o.allowDeprecated){let n=i.message;n||(n=`${a} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(n)||(console.warn(n),this._deprecatedMessages.add(n))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let o,a=(...i)=>(typeof o=="function"&&o(),o=void 0,a=void 0,r(...i));return o=this.hook(t,a),o}removeHook(t,r){if(this._hooks[t]){const o=this._hooks[t].indexOf(r);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const o=this._hooks[t]||[];delete this._hooks[t];for(const a of o)this.hook(t,a)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=Q0(t),o=Object.keys(r).map(a=>this.hook(a,r[a]));return()=>{for(const a of o.splice(0,o.length))a()}}removeHooks(t){const r=Q0(t);for(const o in r)this.removeHook(o,r[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(fI,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(pI,t,...r)}callHookWith(t,r,...o){const a=this._before||this._after?{name:r,args:o,context:{}}:void 0;this._before&&bp(this._before,a);const i=t(r in this._hooks?[...this._hooks[r]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&a&&bp(this._after,a)}):(this._after&&a&&bp(this._after,a),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function hI(){return new bI}const xI=new Set(["templateParams","htmlAttrs","bodyAttrs"]),_I={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=jT(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const r=t||(e.key?`${e.tag}:${e.key}`:!1);r&&(e._d=r)},"tags:resolve":e=>{const t=Object.create(null);for(const o of e.tags){const a=(o.key?`${o.tag}:${o.key}`:o._d)||q0(o),i=t[a];if(i){let s=o==null?void 0:o.tagDuplicateStrategy;if(!s&&xI.has(o.tag)&&(s="merge"),s==="merge"){const d=i.props;d.style&&o.props.style&&(d.style[d.style.length-1]!==";"&&(d.style+=";"),o.props.style=`${d.style} ${o.props.style}`),d.class&&o.props.class?o.props.class=`${d.class} ${o.props.class}`:d.class&&(o.props.class=d.class),t[a].props={...d,...o.props};continue}else if(o._e===i._e){i._duped=i._duped||[],o._d=`${i._d}:${i._duped.length+1}`,i._duped.push(o);continue}else if(og(o)>og(i))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&Qd.has(o.tag)){delete t[a];continue}t[a]=o}const r=[];for(const o in t){const a=t[o],i=a._duped;r.push(a),i&&(delete a._duped,r.push(...i))}e.tags=r,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},vI=new Set(["script","link","bodyAttrs"]),yI=e=>({hooks:{"tags:resolve":t=>{for(const r of t.tags){if(!vI.has(r.tag))continue;const o=r.props;for(const a in o){if(a[0]!=="o"||a[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,a))continue;const i=o[a];typeof i=="function"&&(e.ssr&&X_.has(a)?o[a]=`this.dataset.${a}fired = true`:delete o[a],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[a]=i)}e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||rg(r.props.src||r.props.href))}},"dom:renderTag":({$el:t,tag:r})=>{var a,i;const o=t==null?void 0:t.dataset;if(o)for(const n in o){if(!n.endsWith("fired"))continue;const s=n.slice(0,-5);X_.has(s)&&((i=(a=r._eventHandlers)==null?void 0:a[s])==null||i.call(t,new Event(s.substring(2))))}}}}),SI=new Set(["link","style","script","noscript"]),wI={hooks:{"tag:normalise":({tag:e})=>{e.key&&SI.has(e.tag)&&(e.props["data-hid"]=e._h=rg(e.key))}}},MI={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let r=!1;for(const o of e.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(t[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,r=!0);r&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},TI={hooks:{"tags:resolve":e=>{var t;for(const r of e.tags)if(typeof r.tagPriority=="string")for(const{prefix:o,offset:a}of aI){if(!r.tagPriority.startsWith(o))continue;const i=r.tagPriority.substring(o.length),n=(t=e.tags.find(s=>s._d===i))==null?void 0:t._p;if(n!==void 0){r._p=n+a;break}}e.tags.sort((r,o)=>{const a=og(r),i=og(o);return ai?1:r._p-o._p})}}},AI={meta:"content",link:"href",htmlAttrs:"lang"},LI=["innerHTML","textContent"],$I=e=>({hooks:{"tags:resolve":t=>{var n;const{tags:r}=t;let o;for(let s=0;ss.tag==="title"))==null?void 0:n.textContent)||"",a,i);for(const s of r){if(s.processTemplateParams===!1)continue;const d=AI[s.tag];if(d&&typeof s.props[d]=="string")s.props[d]=wd(s.props[d],a,i);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const c of LI)typeof s[c]=="string"&&(s[c]=wd(s[c],a,i,s.tag==="script"&&s.props.type.endsWith("json")))}e._templateParams=a,e._separator=i},"tags:afterResolve":({tags:t})=>{let r;for(let o=0;o{const{tags:t}=e;let r,o;for(let a=0;a{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,i=[];const n=[],s={plugins:n,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(d){const c=typeof d=="function"?d(s):d;(!c.key||!n.some(m=>m.key===c.key))&&(n.push(c),z_(c.mode,r)&&t.addHooks(c.hooks||{}))},push(d,c){c==null||delete c.head;const m={_i:a++,input:d,...c};return z_(m.mode,r)&&(i.push(m),o()),{dispose(){i=i.filter(f=>f._i!==m._i),o()},patch(f){for(const b of i)b._i===m._i&&(b.input=m.input=f);o()}}},async resolveTags(){const d={tags:[],entries:[...i]};await t.callHook("entries:resolve",d);for(const c of d.entries){const m=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(m):m),c.resolvedInput)for(const f of await nI(c)){const b={tag:f,entry:c,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",b),d.tags.push(b.tag)}}return await t.callHook("tags:beforeResolve",d),await t.callHook("tags:resolve",d),await t.callHook("tags:afterResolve",d),d.tags},ssr:r};return[_I,MI,yI,wI,TI,$I,PI,CI,...(e==null?void 0:e.plugins)||[]].forEach(d=>s.use(d)),s.hooks.callHook("init",s),s}function II(){return zT}const BI=eT[0]==="3";function DI(e){return typeof e=="function"?e():er(e)}function ng(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=DI(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(r=>ng(r));if(typeof t=="object"){const r={};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){r[o]=er(t[o]);continue}r[o]=ng(t[o])}return r}return t}const kI={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=ng(t.input)}}},qT="usehead";function GI(e){return{install(r){BI&&(r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(qT,e))}}.install}function NI(e={}){e.domDelayFn=e.domDelayFn||(r=>rl(()=>setTimeout(()=>r(),0)));const t=EI(e);return t.use(kI),t.install=GI(t),t}const q_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof yn<"u"?yn:typeof self<"u"?self:{},Z_="__unhead_injection_handler__";function FI(){return Z_ in q_?q_[Z_]():Ce(qT)||II()}function ZT(e,t={}){const r=t.head||FI();if(r)return r.ssr?r.push(e,t):RI(r,e,t)}function RI(e,t,r={}){const o=Pt(!1),a=Pt({});sE(()=>{a.value=o.value?{}:ng(t)});const i=e.push(a.value,r);return Kt(a,s=>{i.patch(s)}),ol()&&(ys(()=>{i.dispose()}),T5(()=>{o.value=!0}),M5(()=>{o.value=!1})),i}function VI(e){const t=e;return t.headTags=e.resolveTags,t.addEntry=e.push,t.addHeadObjs=e.push,t.addReactiveEntry=(r,o)=>{const a=ZT(r,o);return a!==void 0?a.dispose:()=>{}},t.removeHeadObjs=()=>{},t.updateDOM=()=>{e.hooks.callHook("entries:updated",e)},t.unhead=e,t}function HI(e,t){const r=NI({});return VI(r)}const tr=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r},YI={setup(){const e=yt({lang:ye(()=>wwLib.$store.getters["front/getLang"]),pageId:ye(()=>wwLib.$store.getters["websiteData/getPageId"]),screenSize:ye(()=>wwLib.$store.getters["front/getScreenSize"]),screenSizes:ye(()=>wwLib.$store.getters["front/getScreenSizes"])});nt("wwFrontState",e)}};function UI(e,t,r,o,a,i){const n=ar("router-view");return wt(),Xt(n)}const XI=tr(YI,[["render",UI]]),WI="modulepreload",jI=function(e){return"/"+e},Q_={},$t=function(t,r,o){let a=Promise.resolve();if(r&&r.length>0){let n=function(c){return Promise.all(c.map(m=>Promise.resolve(m).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));a=n(r.map(c=>{if(c=jI(c),c in Q_)return;Q_[c]=!0;const m=c.endsWith(".css"),f=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const b=document.createElement("link");if(b.rel=m?"stylesheet":WI,m||(b.as="script"),b.crossOrigin="",b.href=c,d&&b.setAttribute("nonce",d),document.head.appendChild(b),m)return new Promise((g,h)=>{b.addEventListener("load",g),b.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(n){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=n,window.dispatchEvent(s),!s.defaultPrevented)throw n}return a.then(n=>{for(const s of n||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},KI=(e,t,r)=>{const o=e[t];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((a,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ri=typeof document<"u";function QT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&QT(e.default)}const At=Object.assign;function hp(e,t){const r={};for(const o in t){const a=t[o];r[o]=No(a)?a.map(e):e(a)}return r}const ql=()=>{},No=Array.isArray,JT=/#/g,qI=/&/g,ZI=/\//g,QI=/=/g,JI=/\?/g,eA=/\+/g,eB=/%5B/g,tB=/%5D/g,tA=/%5E/g,rB=/%60/g,rA=/%7B/g,oB=/%7C/g,oA=/%7D/g,nB=/%20/g;function Xb(e){return encodeURI(""+e).replace(oB,"|").replace(eB,"[").replace(tB,"]")}function aB(e){return Xb(e).replace(rA,"{").replace(oA,"}").replace(tA,"^")}function J0(e){return Xb(e).replace(eA,"%2B").replace(nB,"+").replace(JT,"%23").replace(qI,"%26").replace(rB,"`").replace(rA,"{").replace(oA,"}").replace(tA,"^")}function iB(e){return J0(e).replace(QI,"%3D")}function lB(e){return Xb(e).replace(JT,"%23").replace(JI,"%3F")}function sB(e){return e==null?"":lB(e).replace(ZI,"%2F")}function ps(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const dB=/\/$/,uB=e=>e.replace(dB,"");function xp(e,t,r="/"){let o,a={},i="",n="";const s=t.indexOf("#");let d=t.indexOf("?");return s=0&&(d=-1),d>-1&&(o=t.slice(0,d),i=t.slice(d+1,s>-1?s:t.length),a=e(i)),s>-1&&(o=o||t.slice(0,s),n=t.slice(s,t.length)),o=fB(o??t,r),{fullPath:o+(i&&"?")+i+n,path:o,query:a,hash:ps(n)}}function cB(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function J_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mB(e,t,r){const o=t.matched.length-1,a=r.matched.length-1;return o>-1&&o===a&&Qi(t.matched[o],r.matched[a])&&nA(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Qi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function nA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!gB(e[r],t[r]))return!1;return!0}function gB(e,t){return No(e)?ev(e,t):No(t)?ev(t,e):e===t}function ev(e,t){return No(t)?e.length===t.length&&e.every((r,o)=>r===t[o]):e.length===1&&e[0]===t}function fB(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),o=e.split("/"),a=o[o.length-1];(a===".."||a===".")&&o.push("");let i=r.length-1,n,s;for(n=0;n1&&i--;else break;return r.slice(0,i).join("/")+"/"+o.slice(n).join("/")}const Nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var bs;(function(e){e.pop="pop",e.push="push"})(bs||(bs={}));var Zl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zl||(Zl={}));function pB(e){if(!e)if(Ri){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),uB(e)}const bB=/^[^#]+#/;function hB(e,t){return e.replace(bB,"#")+t}function xB(e,t){const r=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-r.left-(t.left||0),top:o.top-r.top-(t.top||0)}}const Ig=()=>({left:window.scrollX,top:window.scrollY});function _B(e){let t;if("el"in e){const r=e.el,o=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?o?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;t=xB(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function tv(e,t){return(history.state?history.state.position-t:-1)+e}const eb=new Map;function vB(e,t){eb.set(e,t)}function yB(e){const t=eb.get(e);return eb.delete(e),t}let SB=()=>location.protocol+"//"+location.host;function aA(e,t){const{pathname:r,search:o,hash:a}=t,i=e.indexOf("#");if(i>-1){let s=a.includes(e.slice(i))?e.slice(i).length:1,d=a.slice(s);return d[0]!=="/"&&(d="/"+d),J_(d,"")}return J_(r,e)+o+a}function wB(e,t,r,o){let a=[],i=[],n=null;const s=({state:b})=>{const g=aA(e,location),h=r.value,y=t.value;let w=0;if(b){if(r.value=g,t.value=b,n&&n===h){n=null;return}w=y?b.position-y.position:0}else o(g);a.forEach(M=>{M(r.value,h,{delta:w,type:bs.pop,direction:w?w>0?Zl.forward:Zl.back:Zl.unknown})})};function d(){n=r.value}function c(b){a.push(b);const g=()=>{const h=a.indexOf(b);h>-1&&a.splice(h,1)};return i.push(g),g}function m(){const{history:b}=window;b.state&&b.replaceState(At({},b.state,{scroll:Ig()}),"")}function f(){for(const b of i)b();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:d,listen:c,destroy:f}}function rv(e,t,r,o=!1,a=!1){return{back:e,current:t,forward:r,replaced:o,position:window.history.length,scroll:a?Ig():null}}function MB(e){const{history:t,location:r}=window,o={value:aA(e,r)},a={value:t.state};a.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(d,c,m){const f=e.indexOf("#"),b=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+d:SB()+e+d;try{t[m?"replaceState":"pushState"](c,"",b),a.value=c}catch(g){console.error(g),r[m?"replace":"assign"](b)}}function n(d,c){const m=At({},t.state,rv(a.value.back,d,a.value.forward,!0),c,{position:a.value.position});i(d,m,!0),o.value=d}function s(d,c){const m=At({},a.value,t.state,{forward:d,scroll:Ig()});i(m.current,m,!0);const f=At({},rv(o.value,d,null),{position:m.position+1},c);i(d,f,!1),o.value=d}return{location:o,state:a,push:s,replace:n}}function tb(e){e=pB(e);const t=MB(e),r=wB(e,t.state,t.location,t.replace);function o(i,n=!0){n||r.pauseListeners(),history.go(i)}const a=At({location:"",base:e,go:o,createHref:hB.bind(null,e)},t,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function TB(e){return typeof e=="string"||e&&typeof e=="object"}function iA(e){return typeof e=="string"||typeof e=="symbol"}const lA=Symbol("");var ov;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ov||(ov={}));function Ji(e,t){return At(new Error,{type:e,[lA]:!0},t)}function fn(e,t){return e instanceof Error&&lA in e&&(t==null||!!(e.type&t))}const nv="[^/]+?",AB={sensitive:!1,strict:!1,start:!0,end:!0},LB=/[.+*?^${}()[\]/\\]/g;function $B(e,t){const r=At({},AB,t),o=[];let a=r.start?"^":"";const i=[];for(const c of e){const m=c.length?[]:[90];r.strict&&!c.length&&(a+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function sA(e,t){let r=0;const o=e.score,a=t.score;for(;r0&&t[t.length-1]<0}const CB={type:0,value:""},EB=/[a-zA-Z0-9_]/;function OB(e){if(!e)return[[]];if(e==="/")return[[CB]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${r})/"${c}": ${g}`)}let r=0,o=r;const a=[];let i;function n(){i&&a.push(i),i=[]}let s=0,d,c="",m="";function f(){c&&(r===0?i.push({type:0,value:c}):r===1||r===2||r===3?(i.length>1&&(d==="*"||d==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:m,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):t("Invalid state to consume buffer"),c="")}function b(){c+=d}for(;s{n(L)}:ql}function n(f){if(iA(f)){const b=o.get(f);b&&(o.delete(f),r.splice(r.indexOf(b),1),b.children.forEach(n),b.alias.forEach(n))}else{const b=r.indexOf(f);b>-1&&(r.splice(b,1),f.record.name&&o.delete(f.record.name),f.children.forEach(n),f.alias.forEach(n))}}function s(){return r}function d(f){const b=GB(f,r);r.splice(b,0,f),f.record.name&&!sv(f)&&o.set(f.record.name,f)}function c(f,b){let g,h={},y,w;if("name"in f&&f.name){if(g=o.get(f.name),!g)throw Ji(1,{location:f});w=g.record.name,h=At(iv(b.params,g.keys.filter(L=>!L.optional).concat(g.parent?g.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),f.params&&iv(f.params,g.keys.map(L=>L.name))),y=g.stringify(h)}else if(f.path!=null)y=f.path,g=r.find(L=>L.re.test(y)),g&&(h=g.parse(y),w=g.record.name);else{if(g=b.name?o.get(b.name):r.find(L=>L.re.test(b.path)),!g)throw Ji(1,{location:f,currentLocation:b});w=g.record.name,h=At({},b.params,f.params),y=g.stringify(h)}const M=[];let A=g;for(;A;)M.unshift(A.record),A=A.parent;return{name:w,path:y,params:h,matched:M,meta:kB(M)}}e.forEach(f=>i(f));function m(){r.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:n,clearRoutes:m,getRoutes:s,getRecordMatcher:a}}function iv(e,t){const r={};for(const o of t)o in e&&(r[o]=e[o]);return r}function lv(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:DB(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function DB(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const o in e.components)t[o]=typeof r=="object"?r[o]:r;return t}function sv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function kB(e){return e.reduce((t,r)=>At(t,r.meta),{})}function dv(e,t){const r={};for(const o in e)r[o]=o in t?t[o]:e[o];return r}function GB(e,t){let r=0,o=t.length;for(;r!==o;){const i=r+o>>1;sA(e,t[i])<0?o=i:r=i+1}const a=NB(e);return a&&(o=t.lastIndexOf(a,o-1)),o}function NB(e){let t=e;for(;t=t.parent;)if(dA(t)&&sA(e,t)===0)return t}function dA({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function FB(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;ai&&J0(i)):[o&&J0(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+r,i!=null&&(t+="="+i))})}return t}function RB(e){const t={};for(const r in e){const o=e[r];o!==void 0&&(t[r]=No(o)?o.map(a=>a==null?null:""+a):o==null?o:""+o)}return t}const VB=Symbol(""),cv=Symbol(""),Wb=Symbol(""),jb=Symbol(""),rb=Symbol("");function Pl(){let e=[];function t(o){return e.push(o),()=>{const a=e.indexOf(o);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function Kn(e,t,r,o,a,i=n=>n()){const n=o&&(o.enterCallbacks[a]=o.enterCallbacks[a]||[]);return()=>new Promise((s,d)=>{const c=b=>{b===!1?d(Ji(4,{from:r,to:t})):b instanceof Error?d(b):TB(b)?d(Ji(2,{from:t,to:b})):(n&&o.enterCallbacks[a]===n&&typeof b=="function"&&n.push(b),s())},m=i(()=>e.call(o&&o.instances[a],t,r,c));let f=Promise.resolve(m);e.length<3&&(f=f.then(c)),f.catch(b=>d(b))})}function _p(e,t,r,o,a=i=>i()){const i=[];for(const n of e)for(const s in n.components){let d=n.components[s];if(!(t!=="beforeRouteEnter"&&!n.instances[s]))if(QT(d)){const m=(d.__vccOpts||d)[t];m&&i.push(Kn(m,r,o,n,s,a))}else{let c=d();i.push(()=>c.then(m=>{if(!m)throw new Error(`Couldn't resolve component "${s}" at "${n.path}"`);const f=zI(m)?m.default:m;n.mods[s]=m,n.components[s]=f;const g=(f.__vccOpts||f)[t];return g&&Kn(g,r,o,n,s,a)()}))}}return i}function mv(e){const t=Ce(Wb),r=Ce(jb),o=ye(()=>{const d=er(e.to);return t.resolve(d)}),a=ye(()=>{const{matched:d}=o.value,{length:c}=d,m=d[c-1],f=r.matched;if(!m||!f.length)return-1;const b=f.findIndex(Qi.bind(null,m));if(b>-1)return b;const g=gv(d[c-2]);return c>1&&gv(m)===g&&f[f.length-1].path!==g?f.findIndex(Qi.bind(null,d[c-2])):b}),i=ye(()=>a.value>-1&&WB(r.params,o.value.params)),n=ye(()=>a.value>-1&&a.value===r.matched.length-1&&nA(r.params,o.value.params));function s(d={}){if(XB(d)){const c=t[er(e.replace)?"replace":"push"](er(e.to)).catch(ql);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:ye(()=>o.value.href),isActive:i,isExactActive:n,navigate:s}}function HB(e){return e.length===1?e[0]:e}const YB=S5({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:mv,setup(e,{slots:t}){const r=yt(mv(e)),{options:o}=Ce(Wb),a=ye(()=>({[fv(e.activeClass,o.linkActiveClass,"router-link-active")]:r.isActive,[fv(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&HB(t.default(r));return e.custom?i:zi("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},i)}}}),UB=YB;function XB(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function WB(e,t){for(const r in t){const o=t[r],a=e[r];if(typeof o=="string"){if(o!==a)return!1}else if(!No(a)||a.length!==o.length||o.some((i,n)=>i!==a[n]))return!1}return!0}function gv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fv=(e,t,r)=>e??t??r,jB=S5({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const o=Ce(rb),a=ye(()=>e.route||o.value),i=Ce(cv,0),n=ye(()=>{let c=er(i);const{matched:m}=a.value;let f;for(;(f=m[c])&&!f.components;)c++;return c}),s=ye(()=>a.value.matched[n.value]);nt(cv,ye(()=>n.value+1)),nt(VB,s),nt(rb,a);const d=Pt();return Kt(()=>[d.value,s.value,e.name],([c,m,f],[b,g,h])=>{m&&(m.instances[f]=c,g&&g!==m&&c&&c===b&&(m.leaveGuards.size||(m.leaveGuards=g.leaveGuards),m.updateGuards.size||(m.updateGuards=g.updateGuards))),c&&m&&(!g||!Qi(m,g)||!b)&&(m.enterCallbacks[f]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=a.value,m=e.name,f=s.value,b=f&&f.components[m];if(!b)return pv(r.default,{Component:b,route:c});const g=f.props[m],h=g?g===!0?c.params:typeof g=="function"?g(c):g:null,w=zi(b,At({},h,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(f.instances[m]=null)},ref:d}));return pv(r.default,{Component:w,route:c})||w}}});function pv(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const KB=jB;function uA(e){const t=BB(e.routes,e),r=e.parseQuery||FB,o=e.stringifyQuery||uv,a=e.history,i=Pl(),n=Pl(),s=Pl(),d=ds(Nn);let c=Nn;Ri&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=hp.bind(null,ne=>""+ne),f=hp.bind(null,sB),b=hp.bind(null,ps);function g(ne,_e){let ce,pe;return iA(ne)?(ce=t.getRecordMatcher(ne),pe=_e):pe=ne,t.addRoute(pe,ce)}function h(ne){const _e=t.getRecordMatcher(ne);_e&&t.removeRoute(_e)}function y(){return t.getRoutes().map(ne=>ne.record)}function w(ne){return!!t.getRecordMatcher(ne)}function M(ne,_e){if(_e=At({},_e||d.value),typeof ne=="string"){const Y=xp(r,ne,_e.path),ie=t.resolve({path:Y.path},_e),me=a.createHref(Y.fullPath);return At(Y,ie,{params:b(ie.params),hash:ps(Y.hash),redirectedFrom:void 0,href:me})}let ce;if(ne.path!=null)ce=At({},ne,{path:xp(r,ne.path,_e.path).path});else{const Y=At({},ne.params);for(const ie in Y)Y[ie]==null&&delete Y[ie];ce=At({},ne,{params:f(Y)}),_e.params=f(_e.params)}const pe=t.resolve(ce,_e),$e=ne.hash||"";pe.params=m(b(pe.params));const O=cB(o,At({},ne,{hash:aB($e),path:pe.path})),k=a.createHref(O);return At({fullPath:O,hash:$e,query:o===uv?RB(ne.query):ne.query||{}},pe,{redirectedFrom:void 0,href:k})}function A(ne){return typeof ne=="string"?xp(r,ne,d.value.path):At({},ne)}function L(ne,_e){if(c!==ne)return Ji(8,{from:_e,to:ne})}function C(ne){return R(ne)}function I(ne){return C(At(A(ne),{replace:!0}))}function F(ne){const _e=ne.matched[ne.matched.length-1];if(_e&&_e.redirect){const{redirect:ce}=_e;let pe=typeof ce=="function"?ce(ne):ce;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=A(pe):{path:pe},pe.params={}),At({query:ne.query,hash:ne.hash,params:pe.path!=null?{}:ne.params},pe)}}function R(ne,_e){const ce=c=M(ne),pe=d.value,$e=ne.state,O=ne.force,k=ne.replace===!0,Y=F(ce);if(Y)return R(At(A(Y),{state:typeof Y=="object"?At({},$e,Y.state):$e,force:O,replace:k}),_e||ce);const ie=ce;ie.redirectedFrom=_e;let me;return!O&&mB(o,pe,ce)&&(me=Ji(16,{to:ie,from:pe}),Oe(pe,pe,!0,!1)),(me?Promise.resolve(me):K(ie,pe)).catch(le=>fn(le)?fn(le,2)?le:De(le):oe(le,ie,pe)).then(le=>{if(le){if(fn(le,2))return R(At({replace:k},A(le.to),{state:typeof le.to=="object"?At({},$e,le.to.state):$e,force:O}),_e||ie)}else le=V(ie,pe,!0,k,$e);return N(ie,pe,le),le})}function q(ne,_e){const ce=L(ne,_e);return ce?Promise.reject(ce):Promise.resolve()}function W(ne){const _e=je.values().next().value;return _e&&typeof _e.runWithContext=="function"?_e.runWithContext(ne):ne()}function K(ne,_e){let ce;const[pe,$e,O]=zB(ne,_e);ce=_p(pe.reverse(),"beforeRouteLeave",ne,_e);for(const Y of pe)Y.leaveGuards.forEach(ie=>{ce.push(Kn(ie,ne,_e))});const k=q.bind(null,ne,_e);return ce.push(k),Ye(ce).then(()=>{ce=[];for(const Y of i.list())ce.push(Kn(Y,ne,_e));return ce.push(k),Ye(ce)}).then(()=>{ce=_p($e,"beforeRouteUpdate",ne,_e);for(const Y of $e)Y.updateGuards.forEach(ie=>{ce.push(Kn(ie,ne,_e))});return ce.push(k),Ye(ce)}).then(()=>{ce=[];for(const Y of O)if(Y.beforeEnter)if(No(Y.beforeEnter))for(const ie of Y.beforeEnter)ce.push(Kn(ie,ne,_e));else ce.push(Kn(Y.beforeEnter,ne,_e));return ce.push(k),Ye(ce)}).then(()=>(ne.matched.forEach(Y=>Y.enterCallbacks={}),ce=_p(O,"beforeRouteEnter",ne,_e,W),ce.push(k),Ye(ce))).then(()=>{ce=[];for(const Y of n.list())ce.push(Kn(Y,ne,_e));return ce.push(k),Ye(ce)}).catch(Y=>fn(Y,8)?Y:Promise.reject(Y))}function N(ne,_e,ce){s.list().forEach(pe=>W(()=>pe(ne,_e,ce)))}function V(ne,_e,ce,pe,$e){const O=L(ne,_e);if(O)return O;const k=_e===Nn,Y=Ri?history.state:{};ce&&(pe||k?a.replace(ne.fullPath,At({scroll:k&&Y&&Y.scroll},$e)):a.push(ne.fullPath,$e)),d.value=ne,Oe(ne,_e,ce,k),De()}let J;function ee(){J||(J=a.listen((ne,_e,ce)=>{if(!Ke.listening)return;const pe=M(ne),$e=F(pe);if($e){R(At($e,{replace:!0,force:!0}),pe).catch(ql);return}c=pe;const O=d.value;Ri&&vB(tv(O.fullPath,ce.delta),Ig()),K(pe,O).catch(k=>fn(k,12)?k:fn(k,2)?(R(At(A(k.to),{force:!0}),pe).then(Y=>{fn(Y,20)&&!ce.delta&&ce.type===bs.pop&&a.go(-1,!1)}).catch(ql),Promise.reject()):(ce.delta&&a.go(-ce.delta,!1),oe(k,pe,O))).then(k=>{k=k||V(pe,O,!1),k&&(ce.delta&&!fn(k,8)?a.go(-ce.delta,!1):ce.type===bs.pop&&fn(k,20)&&a.go(-1,!1)),N(pe,O,k)}).catch(ql)}))}let Z=Pl(),re=Pl(),X;function oe(ne,_e,ce){De(ne);const pe=re.list();return pe.length?pe.forEach($e=>$e(ne,_e,ce)):console.error(ne),Promise.reject(ne)}function ve(){return X&&d.value!==Nn?Promise.resolve():new Promise((ne,_e)=>{Z.add([ne,_e])})}function De(ne){return X||(X=!ne,ee(),Z.list().forEach(([_e,ce])=>ne?ce(ne):_e()),Z.reset()),ne}function Oe(ne,_e,ce,pe){const{scrollBehavior:$e}=e;if(!Ri||!$e)return Promise.resolve();const O=!ce&&yB(tv(ne.fullPath,0))||(pe||!ce)&&history.state&&history.state.scroll||null;return rl().then(()=>$e(ne,_e,O)).then(k=>k&&_B(k)).catch(k=>oe(k,ne,_e))}const Ie=ne=>a.go(ne);let ot;const je=new Set,Ke={currentRoute:d,listening:!0,addRoute:g,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:y,resolve:M,options:e,push:C,replace:I,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:i.add,beforeResolve:n.add,afterEach:s.add,onError:re.add,isReady:ve,install(ne){const _e=this;ne.component("RouterLink",UB),ne.component("RouterView",KB),ne.config.globalProperties.$router=_e,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>er(d)}),Ri&&!ot&&d.value===Nn&&(ot=!0,C(a.location).catch($e=>{}));const ce={};for(const $e in Nn)Object.defineProperty(ce,$e,{get:()=>d.value[$e],enumerable:!0});ne.provide(Wb,_e),ne.provide(jb,ss(ce)),ne.provide(rb,d);const pe=ne.unmount;je.add(ne),ne.unmount=function(){je.delete(ne),je.size<1&&(c=Nn,J&&J(),J=null,d.value=Nn,ot=!1,X=!1),pe()}}};function Ye(ne){return ne.reduce((_e,ce)=>_e.then(()=>W(ce)),Promise.resolve())}return Ke}function zB(e,t){const r=[],o=[],a=[],i=Math.max(t.matched.length,e.matched.length);for(let n=0;nQi(c,s))?o.push(s):r.push(s));const d=e.matched[n];d&&(t.matched.find(c=>Qi(c,d))||a.push(d))}return[r,o,a]}function qB(e){return Ce(jb)}function ZB(){return cA().__VUE_DEVTOOLS_GLOBAL_HOOK__}function cA(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const QB=typeof Proxy=="function",JB="devtools-plugin:setup",eD="plugin:settings:set";let ii,ob;function tD(){var e;return ii!==void 0||(typeof window<"u"&&window.performance?(ii=!0,ob=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(ii=!0,ob=globalThis.perf_hooks.performance):ii=!1),ii}function rD(){return tD()?ob.now():Date.now()}class oD{constructor(t,r){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=r;const o={};if(t.settings)for(const n in t.settings){const s=t.settings[n];o[n]=s.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},o);try{const n=localStorage.getItem(a),s=JSON.parse(n);Object.assign(i,s)}catch{}this.fallbacks={getSettings(){return i},setSettings(n){try{localStorage.setItem(a,JSON.stringify(n))}catch{}i=n},now(){return rD()}},r&&r.on(eD,(n,s)=>{n===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(n,s)=>this.target?this.target.on[s]:(...d)=>{this.onQueue.push({method:s,args:d})}}),this.proxiedTarget=new Proxy({},{get:(n,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...d)=>(this.targetQueue.push({method:s,args:d,resolve:()=>{}}),this.fallbacks[s](...d)):(...d)=>new Promise(c=>{this.targetQueue.push({method:s,args:d,resolve:c})})})}async setRealTarget(t){this.target=t;for(const r of this.onQueue)this.target.on[r.method](...r.args);for(const r of this.targetQueue)r.resolve(await this.target[r.method](...r.args))}}function nD(e,t){const r=e,o=cA(),a=ZB(),i=QB&&r.enableEarlyProxy;if(a&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))a.emit(JB,e,t);else{const n=i?new oD(r,a):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:n}),n&&t(n.proxiedTarget)}}/*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT */var mA="store";function aD(e){return e===void 0&&(e=null),Ce(e!==null?e:mA)}function il(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function gA(e){return e!==null&&typeof e=="object"}function iD(e){return e&&typeof e.then=="function"}function lD(e,t){return function(){return e(t)}}function fA(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}}function pA(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;Bg(e,r,[],e._modules.root,!0),Kb(e,r,t)}function Kb(e,t,r){var o=e._state,a=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,n={},s={},d=hg(!0);d.run(function(){il(i,function(c,m){n[m]=lD(c,e),s[m]=ye(function(){return n[m]()}),Object.defineProperty(e.getters,m,{get:function(){return s[m].value},enumerable:!0})})}),e._state=yt({data:t}),e._scope=d,e.strict&&mD(e),o&&r&&e._withCommit(function(){o.data=null}),a&&a.stop()}function Bg(e,t,r,o,a){var i=!r.length,n=e._modules.getNamespace(r);if(o.namespaced&&(e._modulesNamespaceMap[n],e._modulesNamespaceMap[n]=o),!i&&!a){var s=zb(t,r.slice(0,-1)),d=r[r.length-1];e._withCommit(function(){s[d]=o.state})}var c=o.context=sD(e,n,r);o.forEachMutation(function(m,f){var b=n+f;dD(e,b,m,c)}),o.forEachAction(function(m,f){var b=m.root?f:n+f,g=m.handler||m;uD(e,b,g,c)}),o.forEachGetter(function(m,f){var b=n+f;cD(e,b,m,c)}),o.forEachChild(function(m,f){Bg(e,t,r.concat(f),m,a)})}function sD(e,t,r){var o=t==="",a={dispatch:o?e.dispatch:function(i,n,s){var d=ag(i,n,s),c=d.payload,m=d.options,f=d.type;return(!m||!m.root)&&(f=t+f),e.dispatch(f,c)},commit:o?e.commit:function(i,n,s){var d=ag(i,n,s),c=d.payload,m=d.options,f=d.type;(!m||!m.root)&&(f=t+f),e.commit(f,c,m)}};return Object.defineProperties(a,{getters:{get:o?function(){return e.getters}:function(){return bA(e,t)}},state:{get:function(){return zb(e.state,r)}}}),a}function bA(e,t){if(!e._makeLocalGettersCache[t]){var r={},o=t.length;Object.keys(e.getters).forEach(function(a){if(a.slice(0,o)===t){var i=a.slice(o);Object.defineProperty(r,i,{get:function(){return e.getters[a]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function dD(e,t,r,o){var a=e._mutations[t]||(e._mutations[t]=[]);a.push(function(n){r.call(e,o.state,n)})}function uD(e,t,r,o){var a=e._actions[t]||(e._actions[t]=[]);a.push(function(n){var s=r.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},n);return iD(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(d){throw e._devtoolHook.emit("vuex:error",d),d}):s})}function cD(e,t,r,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(i){return r(o.state,o.getters,i.state,i.getters)})}function mD(e){Kt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function zb(e,t){return t.reduce(function(r,o){return r[o]},e)}function ag(e,t,r){return gA(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}var gD="vuex bindings",bv="vuex:mutations",vp="vuex:actions",li="vuex",fD=0;function pD(e,t){nD({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[gD]},function(r){r.addTimelineLayer({id:bv,label:"Vuex Mutations",color:hv}),r.addTimelineLayer({id:vp,label:"Vuex Actions",color:hv}),r.addInspector({id:li,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree(function(o){if(o.app===e&&o.inspectorId===li)if(o.filter){var a=[];vA(a,t._modules.root,o.filter,""),o.rootNodes=a}else o.rootNodes=[_A(t._modules.root,"")]}),r.on.getInspectorState(function(o){if(o.app===e&&o.inspectorId===li){var a=o.nodeId;bA(t,a),o.state=xD(vD(t._modules,a),a==="root"?t.getters:t._makeLocalGettersCache,a)}}),r.on.editInspectorState(function(o){if(o.app===e&&o.inspectorId===li){var a=o.nodeId,i=o.path;a!=="root"&&(i=a.split("/").filter(Boolean).concat(i)),t._withCommit(function(){o.set(t._state.data,i,o.state.value)})}}),t.subscribe(function(o,a){var i={};o.payload&&(i.payload=o.payload),i.state=a,r.notifyComponentUpdate(),r.sendInspectorTree(li),r.sendInspectorState(li),r.addTimelineEvent({layerId:bv,event:{time:Date.now(),title:o.type,data:i}})}),t.subscribeAction({before:function(o,a){var i={};o.payload&&(i.payload=o.payload),o._id=fD++,o._time=Date.now(),i.state=a,r.addTimelineEvent({layerId:vp,event:{time:o._time,title:o.type,groupId:o._id,subtitle:"start",data:i}})},after:function(o,a){var i={},n=Date.now()-o._time;i.duration={_custom:{type:"duration",display:n+"ms",tooltip:"Action duration",value:n}},o.payload&&(i.payload=o.payload),i.state=a,r.addTimelineEvent({layerId:vp,event:{time:Date.now(),title:o.type,groupId:o._id,subtitle:"end",data:i}})}})})}var hv=8702998,bD=6710886,hD=16777215,hA={label:"namespaced",textColor:hD,backgroundColor:bD};function xA(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function _A(e,t){return{id:t||"root",label:xA(t),tags:e.namespaced?[hA]:[],children:Object.keys(e._children).map(function(r){return _A(e._children[r],t+r+"/")})}}function vA(e,t,r,o){o.includes(r)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[hA]:[]}),Object.keys(t._children).forEach(function(a){vA(e,t._children[a],r,o+a+"/")})}function xD(e,t,r){t=r==="root"?t:t[r];var o=Object.keys(t),a={state:Object.keys(e.state).map(function(n){return{key:n,editable:!0,value:e.state[n]}})};if(o.length){var i=_D(t);a.getters=Object.keys(i).map(function(n){return{key:n.endsWith("/")?xA(n):n,editable:!1,value:nb(function(){return i[n]})}})}return a}function _D(e){var t={};return Object.keys(e).forEach(function(r){var o=r.split("/");if(o.length>1){var a=t,i=o.pop();o.forEach(function(n){a[n]||(a[n]={_custom:{value:{},display:n,tooltip:"Module",abstract:!0}}),a=a[n]._custom.value}),a[i]=nb(function(){return e[r]})}else t[r]=nb(function(){return e[r]})}),t}function vD(e,t){var r=t.split("/").filter(function(o){return o});return r.reduce(function(o,a,i){var n=o[a];if(!n)throw new Error('Missing module "'+a+'" for path "'+t+'".');return i===r.length-1?n:n._children},t==="root"?e:e.root._children)}function nb(e){try{return e()}catch(t){return t}}var Ro=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var o=t.state;this.state=(typeof o=="function"?o():o)||{}},yA={namespaced:{configurable:!0}};yA.namespaced.get=function(){return!!this._rawModule.namespaced};Ro.prototype.addChild=function(t,r){this._children[t]=r};Ro.prototype.removeChild=function(t){delete this._children[t]};Ro.prototype.getChild=function(t){return this._children[t]};Ro.prototype.hasChild=function(t){return t in this._children};Ro.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Ro.prototype.forEachChild=function(t){il(this._children,t)};Ro.prototype.forEachGetter=function(t){this._rawModule.getters&&il(this._rawModule.getters,t)};Ro.prototype.forEachAction=function(t){this._rawModule.actions&&il(this._rawModule.actions,t)};Ro.prototype.forEachMutation=function(t){this._rawModule.mutations&&il(this._rawModule.mutations,t)};Object.defineProperties(Ro.prototype,yA);var Na=function(t){this.register([],t,!1)};Na.prototype.get=function(t){return t.reduce(function(r,o){return r.getChild(o)},this.root)};Na.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(o,a){return r=r.getChild(a),o+(r.namespaced?a+"/":"")},"")};Na.prototype.update=function(t){SA([],this.root,t)};Na.prototype.register=function(t,r,o){var a=this;o===void 0&&(o=!0);var i=new Ro(r,o);if(t.length===0)this.root=i;else{var n=this.get(t.slice(0,-1));n.addChild(t[t.length-1],i)}r.modules&&il(r.modules,function(s,d){a.register(t.concat(d),s,o)})};Na.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),o=t[t.length-1],a=r.getChild(o);a&&a.runtime&&r.removeChild(o)};Na.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),o=t[t.length-1];return r?r.hasChild(o):!1};function SA(e,t,r){if(t.update(r),r.modules)for(var o in r.modules){if(!t.getChild(o))return;SA(e.concat(o),t.getChild(o),r.modules[o])}}function yD(e){return new Xr(e)}var Xr=function(t){var r=this;t===void 0&&(t={});var o=t.plugins;o===void 0&&(o=[]);var a=t.strict;a===void 0&&(a=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Na(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var n=this,s=this,d=s.dispatch,c=s.commit;this.dispatch=function(b,g){return d.call(n,b,g)},this.commit=function(b,g,h){return c.call(n,b,g,h)},this.strict=a;var m=this._modules.root.state;Bg(this,m,[],this._modules.root),Kb(this,m),o.forEach(function(f){return f(r)})},qb={state:{configurable:!0}};Xr.prototype.install=function(t,r){t.provide(r||mA,this),t.config.globalProperties.$store=this;var o=this._devtools!==void 0?this._devtools:!1;o&&pD(t,this)};qb.state.get=function(){return this._state.data};qb.state.set=function(e){};Xr.prototype.commit=function(t,r,o){var a=this,i=ag(t,r,o),n=i.type,s=i.payload,d={type:n,payload:s},c=this._mutations[n];c&&(this._withCommit(function(){c.forEach(function(f){f(s)})}),this._subscribers.slice().forEach(function(m){return m(d,a.state)}))};Xr.prototype.dispatch=function(t,r){var o=this,a=ag(t,r),i=a.type,n=a.payload,s={type:i,payload:n},d=this._actions[i];if(d){try{this._actionSubscribers.slice().filter(function(m){return m.before}).forEach(function(m){return m.before(s,o.state)})}catch{}var c=d.length>1?Promise.all(d.map(function(m){return m(n)})):d[0](n);return new Promise(function(m,f){c.then(function(b){try{o._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(s,o.state)})}catch{}m(b)},function(b){try{o._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(s,o.state,b)})}catch{}f(b)})})}};Xr.prototype.subscribe=function(t,r){return fA(t,this._subscribers,r)};Xr.prototype.subscribeAction=function(t,r){var o=typeof t=="function"?{before:t}:t;return fA(o,this._actionSubscribers,r)};Xr.prototype.watch=function(t,r,o){var a=this;return Kt(function(){return t(a.state,a.getters)},r,Object.assign({},o))};Xr.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._state.data=t})};Xr.prototype.registerModule=function(t,r,o){o===void 0&&(o={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),Bg(this,this.state,t,this._modules.get(t),o.preserveState),Kb(this,this.state)};Xr.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var o=zb(r.state,t.slice(0,-1));delete o[t[t.length-1]]}),pA(this)};Xr.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Xr.prototype.hotUpdate=function(t){this._modules.update(t),pA(this,!0)};Xr.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(Xr.prototype,qb);var wA=MD(function(e,t){var r={};return SD(t).forEach(function(o){var a=o.key,i=o.val;i=e+i,r[a]=function(){if(!(e&&!TD(this.$store,"mapGetters",e)))return this.$store.getters[i]},r[a].vuex=!0}),r});function SD(e){return wD(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function wD(e){return Array.isArray(e)||gA(e)}function MD(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function TD(e,t,r){var o=e._modulesNamespaceMap[r];return o}const AD={data(){return{pageLoadProgress:0,isProgressing:!1,pageLoadProgressColor:"blue"}},computed:{...wA({showPageLoadProgress:"front/showPageLoadProgress"})},watch:{showPageLoadProgress(){this.showPageLoadProgress?(this.pageLoadProgressColor=this.showPageLoadProgress.color||"#000000",this.pageLoadProgress=10,this.isProgressing=!0,setTimeout(this.runPageLoadProgress,300)):this.isProgressing=!1}},methods:{runPageLoadProgress(){if(!this.isProgressing){this.pageLoadProgress=0;return}this.pageLoadProgress=this.pageLoadProgress+(100-this.pageLoadProgress)/5,setTimeout(this.runPageLoadProgress,300)}}};function LD(e,t,r,o,a,i){return wt(),to("div",{class:ka(["ww-page-load-progress",{display:e.showPageLoadProgress}])},[wn("div",{class:"progress",style:Tn({width:a.pageLoadProgress+"%",background:a.pageLoadProgressColor})},null,4)],2)}const $D=tr(AD,[["render",LD],["__scopeId","data-v-2857ebbc"]]);function Zb(e){let t;e.backgroundImage&&(e.backgroundImage.startsWith("url(")?t=e.backgroundImage:(e.backgroundImage.startsWith("https://")||e.backgroundImage.startsWith("http://")||e.backgroundImage.startsWith("data:image")||e.backgroundImage.startsWith("blob:"),t=wwLib.wwUtils.formatBgImgUrl(e.backgroundImage)));const r=(e.backgroundOrder||"grad,img,col").split(","),o=r[2]==="col";let a="";for(let i of r)switch(i){case"grad":e.backgroundGradient&&(a.length&&(a+=", "),a+=e.backgroundGradient);break;case"col":e.backgroundColor&&(a.length&&(a+=", "),o?a+=e.backgroundColor:a+=`linear-gradient(0deg, ${e.backgroundColor}, ${e.backgroundColor})`);break;case"img":if(t){a.length&&(a+=", "),a+=t;let n=e.backgroundPositionX==="auto"?"center":e.backgroundPositionX,s=e.backgroundPositionY==="auto"?"center":e.backgroundPositionY;a+=` ${n||"center"} ${s||"center"}`,a+=` / ${e.backgroundSize||"cover"}`,a+=` ${e.backgroundRepeat||"no-repeat"}`;let d=e.backgroundAttachment==="unset"?null:e.backgroundAttachment;a+=` ${d||"scroll"}`}break}return a.length?a:"none"}let MA;const Dg=e=>MA=e,TA=Symbol();function ab(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ql;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ql||(Ql={}));function PD(){const e=hg(!0),t=e.run(()=>Pt({}));let r=[],o=[];const a=vg({install(i){Dg(a),a._a=i,i.provide(TA,a),i.config.globalProperties.$pinia=a,o.forEach(n=>r.push(n)),o=[]},use(i){return this._a?r.push(i):o.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return a}const AA=()=>{};function xv(e,t,r,o=AA){e.push(t);const a=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!r&&Y2()&&J8(a),a}function si(e,...t){e.slice().forEach(r=>{r(...t)})}const CD=e=>e(),_v=Symbol(),yp=Symbol();function ib(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,o)=>e.set(o,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const o=t[r],a=e[r];ab(a)&&ab(o)&&e.hasOwnProperty(r)&&!jt(o)&&!Qn(o)?e[r]=ib(a,o):e[r]=o}return e}const ED=Symbol();function OD(e){return!ab(e)||!Object.prototype.hasOwnProperty.call(e,ED)}const{assign:Hn}=Object;function ID(e){return!!(jt(e)&&e.effect)}function BD(e,t,r,o){const{state:a,actions:i,getters:n}=t,s=r.state.value[e];let d;function c(){s||(r.state.value[e]=a?a():{});const m=S7(r.state.value[e]);return Hn(m,i,Object.keys(n||{}).reduce((f,b)=>(f[b]=vg(ye(()=>{Dg(r);const g=r._s.get(e);return n[b].call(g,g)})),f),{}))}return d=LA(e,c,t,r,o,!0),d}function LA(e,t,r={},o,a,i){let n;const s=Hn({actions:{}},r),d={deep:!0};let c,m,f=[],b=[],g;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),Pt({});let y;function w(q){let W;c=m=!1,typeof q=="function"?(q(o.state.value[e]),W={type:Ql.patchFunction,storeId:e,events:g}):(ib(o.state.value[e],q),W={type:Ql.patchObject,payload:q,storeId:e,events:g});const K=y=Symbol();rl().then(()=>{y===K&&(c=!0)}),m=!0,si(f,W,o.state.value[e])}const M=i?function(){const{state:W}=r,K=W?W():{};this.$patch(N=>{Hn(N,K)})}:AA;function A(){n.stop(),f=[],b=[],o._s.delete(e)}const L=(q,W="")=>{if(_v in q)return q[yp]=W,q;const K=function(){Dg(o);const N=Array.from(arguments),V=[],J=[];function ee(X){V.push(X)}function Z(X){J.push(X)}si(b,{args:N,name:K[yp],store:I,after:ee,onError:Z});let re;try{re=q.apply(this&&this.$id===e?this:I,N)}catch(X){throw si(J,X),X}return re instanceof Promise?re.then(X=>(si(V,X),X)).catch(X=>(si(J,X),Promise.reject(X))):(si(V,re),re)};return K[_v]=!0,K[yp]=W,K},C={_p:o,$id:e,$onAction:xv.bind(null,b),$patch:w,$reset:M,$subscribe(q,W={}){const K=xv(f,q,W.detached,()=>N()),N=n.run(()=>Kt(()=>o.state.value[e],V=>{(W.flush==="sync"?m:c)&&q({storeId:e,type:Ql.direct,events:g},V)},Hn({},d,W)));return K},$dispose:A},I=yt(C);o._s.set(e,I);const R=(o._a&&o._a.runWithContext||CD)(()=>o._e.run(()=>(n=hg()).run(()=>t({action:L}))));for(const q in R){const W=R[q];if(jt(W)&&!ID(W)||Qn(W))i||(h&&OD(W)&&(jt(W)?W.value=h[q]:ib(W,h[q])),o.state.value[e][q]=W);else if(typeof W=="function"){const K=L(W,q);R[q]=K,s.actions[q]=W}}return Hn(I,R),Hn(ht(I),R),Object.defineProperty(I,"$state",{get:()=>o.state.value[e],set:q=>{w(W=>{Hn(W,q)})}}),o._p.forEach(q=>{Hn(I,n.run(()=>q({store:I,app:o._a,pinia:o,options:s})))}),h&&i&&r.hydrate&&r.hydrate(I.$state,h),c=!0,m=!0,I}/*! #__NO_SIDE_EFFECTS__ */function kg(e,t,r){let o;const a=typeof t=="function";o=a?r:t;function i(n,s){const d=z7();return n=n||(d?Ce(TA,null):null),n&&Dg(n),n=MA,n._s.has(e)||(a?LA(e,t,o,n):BD(e,o,n)),n._s.get(e)}return i.$id=e,i}var Sp={exports:{}},vv;function DD(){return vv||(vv=1,(function(e){var t=(()=>{var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,d=(C,I,F)=>I in C?r(C,I,{enumerable:!0,configurable:!0,writable:!0,value:F}):C[I]=F,c=(C,I)=>{for(var F in I||(I={}))n.call(I,F)&&d(C,F,I[F]);if(i)for(var F of i(I))s.call(I,F)&&d(C,F,I[F]);return C},m=(C,I)=>{for(var F in I)r(C,F,{get:I[F],enumerable:!0})},f=(C,I,F,R)=>{if(I&&typeof I=="object"||typeof I=="function")for(let q of a(I))!n.call(C,q)&&q!==F&&r(C,q,{get:()=>I[q],enumerable:!(R=o(I,q))||R.enumerable});return C},b=C=>f(r({},"__esModule",{value:!0}),C),g=(C,I,F)=>d(C,typeof I!="symbol"?I+"":I,F),h={};m(h,{DEFAULT_OPTIONS:()=>M,DEFAULT_UUID_LENGTH:()=>w,default:()=>L});var y="5.3.2",w=6,M={dictionary:"alphanum",shuffle:!0,debug:!1,length:w,counter:0},A=class{constructor(I={}){g(this,"counter"),g(this,"debug"),g(this,"dict"),g(this,"version"),g(this,"dictIndex",0),g(this,"dictRange",[]),g(this,"lowerBound",0),g(this,"upperBound",0),g(this,"dictLength",0),g(this,"uuidLength"),g(this,"_digit_first_ascii",48),g(this,"_digit_last_ascii",58),g(this,"_alpha_lower_first_ascii",97),g(this,"_alpha_lower_last_ascii",123),g(this,"_hex_last_ascii",103),g(this,"_alpha_upper_first_ascii",65),g(this,"_alpha_upper_last_ascii",91),g(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),g(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),g(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),g(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),g(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),g(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),g(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),g(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),g(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),g(this,"log",(...N)=>{const V=[...N];if(V[0]="[short-unique-id] ".concat(N[0]),this.debug===!0&&typeof console<"u"&&console!==null){console.log(...V);return}}),g(this,"_normalizeDictionary",(N,V)=>{let J;if(N&&Array.isArray(N)&&N.length>1)J=N;else{J=[],this.dictIndex=0;const ee="_".concat(N,"_dict_ranges"),Z=this._dict_ranges[ee];let re=0;for(const[,oe]of Object.entries(Z)){const[ve,De]=oe;re+=Math.abs(De-ve)}J=new Array(re);let X=0;for(const[,oe]of Object.entries(Z)){this.dictRange=oe,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const ve=this.lowerBound<=this.upperBound,De=this.lowerBound,Oe=this.upperBound;if(ve)for(let Ie=De;IeOe;Ie--)J[X++]=String.fromCharCode(Ie),this.dictIndex=Ie}J.length=X}if(V){const ee=J.length;for(let Z=ee-1;Z>0;Z--){const re=Math.floor(Math.random()*(Z+1));[J[Z],J[re]]=[J[re],J[Z]]}}return J}),g(this,"setDictionary",(N,V)=>{this.dict=this._normalizeDictionary(N,V),this.dictLength=this.dict.length,this.setCounter(0)}),g(this,"seq",()=>this.sequentialUUID()),g(this,"sequentialUUID",()=>{const N=this.dictLength,V=this.dict;let J=this.counter;const ee=[];do{const re=J%N;J=Math.trunc(J/N),ee.push(V[re])}while(J!==0);const Z=ee.join("");return this.counter+=1,Z}),g(this,"rnd",(N=this.uuidLength||w)=>this.randomUUID(N)),g(this,"randomUUID",(N=this.uuidLength||w)=>{if(N===null||typeof N>"u"||N<1)throw new Error("Invalid UUID Length Provided");const V=new Array(N),J=this.dictLength,ee=this.dict;for(let Z=0;Zthis.formattedUUID(N,V)),g(this,"formattedUUID",(N,V)=>{const J={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return N.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Z=>{const re=Z.slice(0,2),X=Number.parseInt(Z.slice(2),10);return re==="$s"?J[re]().padStart(X,"0"):re==="$t"&&V?J[re](X,V):J[re](X)})}),g(this,"availableUUIDs",(N=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**N).toFixed(0))),g(this,"_collisionCache",new Map),g(this,"approxMaxBeforeCollision",(N=this.availableUUIDs(this.uuidLength))=>{const V=N,J=this._collisionCache.get(V);if(J!==void 0)return J;const ee=Number.parseFloat(Math.sqrt(Math.PI/2*N).toFixed(20));return this._collisionCache.set(V,ee),ee}),g(this,"collisionProbability",(N=this.availableUUIDs(this.uuidLength),V=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(N)/this.availableUUIDs(V)).toFixed(20))),g(this,"uniqueness",(N=this.availableUUIDs(this.uuidLength))=>{const V=Number.parseFloat((1-this.approxMaxBeforeCollision(N)/N).toFixed(20));return V>1?1:V<0?0:V}),g(this,"getVersion",()=>this.version),g(this,"stamp",(N,V)=>{const J=Math.floor(+(V||new Date)/1e3).toString(16);if(typeof N=="number"&&N===0)return J;if(typeof N!="number"||N<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join(` `));const ee=N-9,Z=Math.round(Math.random()*(ee>15?15:ee)),re=this.randomUUID(ee);return"".concat(re.substring(0,Z)).concat(J).concat(re.substring(Z)).concat(Z.toString(16))}),g(this,"parseStamp",(N,V)=>{if(V&&!/t0|t[1-9]\d{1,}/.test(V))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const J=V?V.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,Z=>{const re={$r:ve=>[...Array(ve)].map(()=>"r").join(""),$s:ve=>[...Array(ve)].map(()=>"s").join(""),$t:ve=>[...Array(ve)].map(()=>"t").join("")},X=Z.slice(0,2),oe=Number.parseInt(Z.slice(2),10);return re[X](oe)}).replace(/^(.*?)(t{8,})(.*)$/g,(Z,re,X)=>N.substring(re.length,re.length+X.length)):N;if(J.length===8)return new Date(Number.parseInt(J,16)*1e3);if(J.length<10)throw new Error("Stamp length invalid");const ee=Number.parseInt(J.substring(J.length-1),16);return new Date(Number.parseInt(J.substring(ee,ee+8),16)*1e3)}),g(this,"setCounter",N=>{this.counter=N}),g(this,"validate",(N,V)=>{const J=V?this._normalizeDictionary(V):this.dict;return N.split("").every(ee=>J.includes(ee))});const F=c(c({},M),I);this.counter=0,this.debug=!1,this.dict=[],this.version=y;const{dictionary:R,shuffle:q,length:W,counter:K}=F;this.uuidLength=W,this.setDictionary(R,q),this.setCounter(K),this.debug=F.debug,this.log(this.dict),this.log("Generator instantiated with Dictionary Size ".concat(this.dictLength," and counter set to ").concat(this.counter)),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this)}};g(A,"default",A);var L=A;return b(h)})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(Sp)),Sp.exports}var kD=DD();const GD=ae(kD),ND=new GD,Da=kg("popups",()=>{const e=ye(()=>{const n=wwLib.$store.getters["libraries/getLibrary"].id;return Object.values(wwLib.$store.getters["libraries/getComponents"]).filter(s=>s.type==="modal"&&s.libraryId===n).map(s=>({name:s.name,libraryComponentBaseId:s.id,libraryId:n}))}),t={},r=Pt({});async function o(n,s,{waitClosing:d=!1}={}){const c=`popup-${ND.rnd()}`;return r.value[c]={uid:c,libraryComponentBaseId:n,content:s},d?new Promise(m=>{t[c]=m}):Promise.resolve(c)}function a(n,s){delete r.value[n],t[n]&&(t[n](s),delete t[n])}function i(n){Object.keys(r.value).forEach(s=>{r.value[s].libraryComponentBaseId===n&&a(s)})}return{availablePopups:e,open:o,close:a,closeAll:i,instances:r,stackedPopupUids:ye(()=>{const n={};return Object.values(r.value).forEach(s=>{var m,f,b,g,h,y,w,M,A;if(!(((b=(f=(m=wwLib.$store.getters["libraries/getComponents"][s.libraryComponentBaseId])==null?void 0:m.configuration)==null?void 0:f.popup)==null?void 0:b.isStacked)&&((y=(h=(g=wwLib.$store.getters["libraries/getComponents"][s.libraryComponentBaseId])==null?void 0:g.configuration)==null?void 0:h.popup)==null?void 0:y.containerUid)))return;const c=(A=(M=(w=wwLib.$store.getters["libraries/getComponents"][s.libraryComponentBaseId])==null?void 0:w.configuration)==null?void 0:M.popup)==null?void 0:A.containerUid;n[c]||(n[c]=[]),n[c].push(s.uid)}),n}),singlePopupUids:ye(()=>Object.keys(r.value).filter(n=>{var d,c,m;const s=r.value[n];return!((m=(c=(d=wwLib.$store.getters["libraries/getComponents"][s.libraryComponentBaseId])==null?void 0:d.configuration)==null?void 0:c.popup)!=null&&m.isStacked)}))}}),yv={properties:{"_ww-text_text":{label:"Text",type:"Info",category:"text",options:{text:"Click text to edit"},bindable:!0,multiLang:!0,defaultValue:"New text",hidden:(e,t,r,o)=>!!(o&&o.text)},"_ww-text_sanitize":{label:"Sanitize",type:"OnOff",bindable:!0,category:"text",bindingValidation:{type:"boolean",markdown:"sanitize"}},"_ww-text_font":{label:"Typography",type:"Typography",category:"text",options:(e,t,r)=>({initialValue:{fontSize:e["_ww-text_fontSize"],fontFamily:e["_ww-text_fontFamily"],fontWeight:e["_ww-text_fontWeight"],fontStyle:e["_ww-text_fontStyle"],lineHeight:e["_ww-text_lineHeight"]},creationDisabled:r["_ww-text_fontSize"]||r["_ww-text_fontFamily"]||r["_ww-text_fontWeight"]||r["_ww-text_fontStyle"]||r["_ww-text_lineHeight"],creationDisabledMessage:"Cannot create typography from bound properties"}),bindable:!0,responsive:!0,states:!0,classes:!0,isStyle:!0},"_ww-text_fontSize":{label:"Size",type:"Length",category:"text",options:{unitChoices:[{value:"px",label:"px",min:1,max:100,default:!0},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1}],noRange:!0},responsive:!0,states:!0,classes:!0,bindable:!0,hidden:(e,t,r)=>e["_ww-text_font"]||r["_ww-text_font"],bindingValidation:{markdown:"font-size",type:"string",cssSupports:"font-size"},isStyle:!0},"_ww-text_fontFamily":{label:"Font family",type:"FontFamily",category:"text",responsive:!0,states:!0,classes:!0,bindable:!0,hidden:(e,t,r)=>e["_ww-text_font"]||r["_ww-text_font"],bindingValidation:{markdown:"font-family",type:"string",cssSupports:"font-family"},isStyle:!0},"_ww-text_fontWeight":{label:"Font weight",type:"TextSelect",category:"text",options:{options:[{value:null,label:"Default",default:!0},{value:100,label:"100 - Thin"},{value:200,label:"200 - Extra Light"},{value:300,label:"300 - Light"},{value:400,label:"400 - Normal"},{value:500,label:"500 - Medium"},{value:600,label:"600 - Semi Bold"},{value:700,label:"700 - Bold"},{value:800,label:"800 - Extra Bold"},{value:900,label:"900 - Black"}]},responsive:!0,states:!0,classes:!0,bindable:!0,hidden:(e,t,r)=>e["_ww-text_font"]||r["_ww-text_font"],bindingValidation:{markdown:"font-weight",type:"string",cssSupports:"font-weight"},isStyle:!0},"_ww-text_fontStyle":{label:"Font Style",type:"TextRadioGroup",category:"text",options:{choices:[{value:null,title:"Default",icon:"typo-default",default:!0},{value:"italic",title:"Italic",icon:"typo-italic"}]},responsive:!0,states:!0,bindable:!0,classes:!0,hidden:(e,t,r)=>e["_ww-text_font"]||r["_ww-text_font"],bindingValidation:{markdown:"font-style",type:"string",cssSupports:"font-style"},isStyle:!0},"_ww-text_lineHeight":{label:"Line height",type:"Length",category:"text",options:{unitChoices:[{value:"normal",label:"auto",default:!0},{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1},{value:"unset",label:"none"}],noRange:!0},responsive:!0,states:!0,classes:!0,bindable:!0,hidden:(e,t,r)=>e["_ww-text_font"]||r["_ww-text_font"],bindingValidation:{markdown:"line-height",type:"string",cssSupports:"line-height"},isStyle:!0},"_ww-text_textAlign":{label:"Alignment",type:"TextRadioGroup",category:"text",options:{choices:[{value:"left",default:!0,title:"Left",icon:"menu-alt-2"},{value:"center",title:"Center",icon:"text-middle"},{value:"right",title:"Right",icon:"menu-alt-3"},{value:"justify",title:"Justify",icon:"menu"}]},responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"text-align",type:"string",cssSupports:"text-align"},isStyle:!0},"_ww-text_color":{label:"Text color",type:"Color",category:"text",options:{nullable:!0},bindable:!0,bindingValidation:{markdown:"color",type:"string",cssSupports:"color"},responsive:!0,states:!0,classes:!0,isStyle:!0},"_ww-text_textDecoration":{label:"Decoration",type:"TextRadioGroup",category:"text",options:{choices:[{value:"none",title:"None",icon:"x",default:!0},{value:"underline",title:"Underline",icon:"typo-underline"},{value:"overline",title:"Overline",icon:"typo-overline"},{value:"line-through",title:"Line-through",icon:"typo-strikethrough"}]},bindable:!0,responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"text-decoration",type:"string",cssSupports:"text-decoration"},isStyle:!0},"_ww-text_textDecorationStyle":{label:"Decoration style",type:"TextSelect",category:"text",options:{options:[{value:"solid",label:"Solid",default:!0},{value:"double",label:"Double"},{value:"dotted",label:"Dotted"},{value:"dashed",label:"Dashed"},{value:"wavy",label:"Wavy"}]},responsive:!0,bindable:!0,states:!0,classes:!0,hidden:e=>e["_ww-text_textDecoration"]==="none"||!e["_ww-text_textDecoration"],bindingValidation:{markdown:"text-decoration-style",type:"string",cssSupports:"text-decoration-style"},isStyle:!0},"_ww-text_textDecorationColor":{label:"Decoration color",type:"Color",category:"text",options:{nullable:!0},responsive:!0,bindable:!0,bindingValidation:{markdown:"color",type:"string",cssSupports:"color"},states:!0,classes:!0,hidden:e=>e["_ww-text_textDecoration"]==="none"||!e["_ww-text_textDecoration"],isStyle:!0},"_ww-text_nowrap":{label:"No-wrap",type:"OnOff",category:"text",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{type:"boolean",markdown:"no-wrap"},isStyle:!0},"_ww-text_ellipsis":{hidden:e=>!e["_ww-text_nowrap"],label:"Ellipsis",type:"OnOff",category:"text",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{type:"boolean",markdown:"ellipsis"},isStyle:!0},"_ww-text_textTransform":{label:"Character case",type:"TextSelect",category:"text",options:{options:[{value:null,label:"None",default:!0},{value:"capitalize",label:"Capitalize"},{value:"uppercase",label:"UPPERCASE"},{value:"lowercase",label:"lowercase"}]},responsive:!0,bindable:!0,bindingValidation:{markdown:"text-transform",type:"string",cssSupports:"text-transform"},states:!0,classes:!0,isStyle:!0},"_ww-text_textShadow":{label:"Text Shadows",type:"Shadows",category:"text",options:{isText:!0},responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"text-shadow",type:"string",cssSupports:"text-shadow"},isStyle:!0},"_ww-text_letterSpacing":{label:"Letter spacing",type:"Length",category:"text",options:{unitChoices:[{value:"px",label:"px",min:-100,max:100},{value:"em",label:"em",min:-10,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:-10,max:10,digits:3,step:.1}],noRange:!0},responsive:!0,states:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"letter-spacing",type:"string",cssSupports:"letter-spacing"},isStyle:!0},"_ww-text_wordSpacing":{label:"Word spacing",type:"Length",category:"text",options:{unitChoices:[{value:"px",label:"px",min:0,max:100}],noRange:!0},responsive:!0,states:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"word-spacing",type:"string",cssSupports:"word-spacing"},isStyle:!0},"_ww-text_links":{hidden:!0}}},Jl={properties:{"_ww-layout_flexDirection":{label:"Direction",type:"TextRadioGroup",category:"layout",options:{choices:[{title:"Vertical",value:"column",label:"Vertical"},{title:"Horizontal",value:"row",label:"Horizontal",default:!0}]},bindable:!0,bindingValidation:{markdown:"flex-direction",type:"string",cssSupports:"flex-direction"},responsive:!0,classes:!0},"_ww-layout_rowGap":{label:"Row gap",type:"Length",category:"layout",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100,digits:2,step:1},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1}],useVar:!0,noRange:!0},bindable:!0,bindingValidation:{markdown:"row-gap",type:"string",cssSupports:"row-gap"},states:!0,classes:!0,responsive:!0},"_ww-layout_columnGap":{label:"Column gap",type:"Length",category:"layout",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100,digits:2,step:1},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1}],useVar:!0,noRange:!0},bindable:!0,bindingValidation:{markdown:"column-gap",type:"string",cssSupports:"column-gap"},states:!0,responsive:!0,classes:!0},"_ww-layout_justifyContent":{label:"Justify",type:"TextRadioGroup",category:"layout",options:e=>e["_ww-layout_flexDirection"]==="column"?{choices:[{value:"flex-start",title:"Start",icon:"align-x-start-vertical",default:!0},{value:"center",title:"Center",icon:"align-x-center-vertical"},{value:"flex-end",title:"End",icon:"align-x-end-vertical"},{value:"space-around",title:"Space around",icon:"align-x-space-around-vertical"},{value:"space-between",title:"Space between",icon:"align-x-space-between-vertical"}],compact:!0}:{choices:[{value:"flex-start",title:"Start",icon:"align-x-start",default:!0},{value:"center",title:"Center",icon:"align-x-center"},{value:"flex-end",title:"End",icon:"align-x-end"},{value:"space-around",title:"Space around",icon:"align-x-space-around"},{value:"space-between",title:"Space between",icon:"align-x-space-between"}],compact:!0},responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"justify-content",type:"string",cssSupports:"justify-content"}},"_ww-layout_alignItems":{label:"Alignment",type:"TextRadioGroup",category:"layout",options:e=>e["_ww-layout_flexDirection"]==="column"?{choices:[{value:"flex-start",title:"Start",icon:"align-x-start"},{value:"center",title:"Center",icon:"align-x-center"},{value:"flex-end",title:"End",icon:"align-x-end"},{value:"stretch",title:"Stretch",icon:"align-x-stretch",default:!0}],compact:!0}:{choices:[{value:"flex-start",title:"Start",icon:"align-y-start"},{value:"center",title:"Center",icon:"align-y-center"},{value:"flex-end",title:"End",icon:"align-y-end"},{value:"stretch",title:"Stretch",icon:"align-y-stretch",default:!0},{value:"baseline",title:"Baseline",icon:"align-y-baseline"}],compact:!0},responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"align-items",type:"string",cssSupports:"align-items"}},"_ww-layout_flexWrap":{label:"Wrap elements",type:"OnOff",category:"layout",hidden:e=>e["_ww-layout_flexDirection"]==="column",responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"flex-wrap",type:"boolean"}},"_ww-layout_alignContent":{label:"Content Alignment",type:"TextRadioGroup",category:"layout",options:e=>e["_ww-layout_flexDirection"]==="column"?{choices:[{value:"flex-start",title:"Start",icon:"y-align-content-start"},{value:"center",title:"Center",icon:"y-align-content-center"},{value:"flex-end",title:"End",icon:"y-align-content-end"},{value:"stretch",title:"Stretch",icon:"y-align-content-stretch",default:!0},{value:"space-between",title:"Space between",icon:"y-align-content-space-between"},{value:"space-around",title:"Space around",icon:"y-align-content-space-around"}],compact:!0}:{choices:[{value:"flex-start",title:"Start",icon:"x-align-content-start"},{value:"center",title:"Center",icon:"x-align-content-center"},{value:"flex-end",title:"End",icon:"x-align-content-end"},{value:"stretch",title:"Stretch",icon:"x-align-content-stretch",default:!0},{value:"space-between",title:"Space between",icon:"x-align-content-space-between"},{value:"space-around",title:"Space around",icon:"x-align-content-space-around"}],compact:!0},hidden:e=>!e["_ww-layout_flexWrap"],responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"align-content",type:"string",cssSupports:"align-content"}},"_ww-layout_reverse":{label:"Reverse",type:"OnOff",category:"layout",responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"layout-reverse",type:"boolean"}},"_ww-layout_pushLast":{label:"Last to the end",type:"OnOff",category:"layout",responsive:!0,classes:!0,bindable:!0,bindingValidation:{markdown:"layout-push-last",type:"boolean"}}}},Sv={properties:{"_ww-grid_flowDirection":{label:"Direction",type:"TextRadioGroup",category:"grid",options:{choices:[{title:"Row",value:"row",label:"Row",default:!0},{title:"Column",value:"column",label:"Column"}]},bindable:!0,responsive:!0,classes:!0,bindingValidation:{markdown:"grid-flow-direction",type:"string"}},"_ww-grid_columns":{label:"Columns",type:"ArrayCompact",options:{item:{label:e=>`Column ${e.index+1}`,type:"Length",options:wv("fr","px","%","auto"),defaultValue:"1fr",bindable:!0,responsive:!0},placeholder:{icon:"columns",text:"Columns auto-generated"}},defaultValue:void 0,category:"grid",bindable:!0,responsive:!0,classes:!0,bindingValidation:{markdown:"grid-columns",type:"array"}},"_ww-grid_rows":{label:"Rows",type:"ArrayCompact",options:{item:{label:e=>`Row ${e.index+1}`,type:"Length",options:wv("fr","px","%","auto"),defaultValue:"1fr",bindable:!0,responsive:!0},placeholder:{icon:"rows",text:"Rows auto-generated"}},defaultValue:void 0,category:"grid",bindable:!0,responsive:!0,classes:!0,bindingValidation:{markdown:"grid-rows",type:"array"}},"_ww-grid_columnGap":{...Jl.properties["_ww-layout_columnGap"],category:"grid"},"_ww-grid_rowGap":{...Jl.properties["_ww-layout_rowGap"],category:"grid"}}},FD={properties:{"_ww-backgroundVideo":{label:"Video",type:"Video",options:{nullable:!0},responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"background.video",type:"string"}},"_ww-backgroundVideoPoster":{label:"Poster",type:"Image",options:{nullable:!0},responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"background.video.poster",type:"string"}},"_ww-backgroundVideoSize":{label:"Size",type:"TextSelect",options:{options:[{value:"cover",default:!0,label:{en:"Cover",fr:"Couvrir"}},{value:"contain",label:{en:"Contain",fr:"Contenir"}}]},responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"background.video.size",type:"string"}},"_ww-backgroundVideoLoop":{label:"Loop",type:"OnOff",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"background.video.loop",type:"boolean"}},"_ww-backgroundVideoPreload":{label:"Preload",type:"OnOff",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"background.video.preload",type:"boolean"}}}};function wv(...e){return{unitChoices:[{value:"auto",label:"auto",default:!0},{value:"px",label:"px",min:0,max:100},{value:"fr",label:"fr",min:0,max:100,digits:2,step:1},{value:"%",label:"%",min:0,max:100,digits:2,step:1},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1}].filter(r=>!e||e.includes(r.value)),useVar:!0,noRange:!0}}function es(e,t){return e.inherit===t?!0:e.inherit&&e.inherit.type===t?e.inherit:Array.isArray(e.inherit)?e.inherit.find(r=>r===t||r&&r.type===t):!1}function He(e){const t=es(e,"ww-text");if(t)if(!Array.isArray(t.exclude))e={...e,properties:{...e.properties||{},...yv.properties}};else{e={...e,properties:{...e.properties||{}}};for(const[a,i]of Object.entries(yv.properties))t.exclude.some(n=>`_ww-text_${n}`===a)||(e.properties[a]=i)}es(e,"ww-background-video")&&(e={...e,properties:{...e.properties||{},...FD.properties}});const o=es(e,"ww-layout");if(o)if(!Array.isArray(o.exclude))e={...e,properties:{...e.properties||{},...Jl.properties,...Sv.properties}};else{e={...e,properties:{...e.properties||{},...Jl.properties,...Sv.properties}};for(const[a,i]of Object.entries(Jl.properties))o.exclude.some(n=>`_ww-layout_${n}`===a)||(e.properties[a]=i)}return e}const RD={formulas:[{name:"dateISO",arrity:0,deprecated:!0},{name:"date",arrity:0},{name:"dateRealtime",arrity:0},{name:"toDateISO",arrity:1},{name:"formatDate",arrity:1,parameters:[{name:"Date",type:"string"},{name:"Format",type:"string"},{name:"Locale",type:"string"}]},{name:"toTime",arrity:1,parameters:[{name:"Date",type:"string"},{name:"WithoutSuffix",type:"boolean"},{name:"Locale",type:"string"}]},{name:"fromTime",arrity:1,parameters:[{name:"Date",type:"string"},{name:"WithoutSuffix",type:"boolean"},{name:"Locale",type:"string"}]},{name:"compareDate",arrity:3,parameters:[{name:"Date1",type:"string"},{name:"Date1",type:"string"},{name:"Precision",type:"string"},{name:"Float",type:"boolean"}]},{name:"getSecond",arrity:0},{name:"getMinute",arrity:0},{name:"getHour",arrity:0},{name:"getDay",arrity:0},{name:"getDayOfWeek",arrity:0},{name:"getMonth",arrity:0},{name:"getYear",arrity:0},{name:"getDayOfYear",arrity:0,parameters:[{name:"Date",type:"string"}]},{name:"getWeekOfYear",arrity:0,parameters:[{name:"Date",type:"string"}]},{name:"addSeconds",arrity:2},{name:"addMinutes",arrity:2},{name:"addHours",arrity:2},{name:"addDays",arrity:2},{name:"addMonths",arrity:2},{name:"addYears",arrity:2},{name:"setSecond",arrity:2},{name:"setMinute",arrity:2},{name:"setHour",arrity:2},{name:"setDay",arrity:2},{name:"setDayOfWeek",arrity:2},{name:"setMonth",arrity:2},{name:"setYear",arrity:2},{name:"toTimestamp",arrity:1},{name:"getBrowserTimezone",arrity:0},{name:"convertDateTimezone",arrity:2,parameters:[{name:"Date",type:"string"},{name:"Timezone",type:"string"},{name:"Preserve",type:"boolean"}]},{name:"formatDateTimezone",arrity:3,parameters:[{name:"Date",type:"string"},{name:"Format",type:"string"},{name:"Timezone",type:"string"},{name:"Locale",type:"string"}]}]},VD={editor:{settings:{icon:"npm",edit:()=>$t(()=>import("./SettingsEdit-DgjPeKUA.js"),__vite__mapDeps([0,1])),summary:()=>$t(()=>import("./SettingsSummary-hZpSAE8c.js"),__vite__mapDeps([2,3])),getIsValid(e){return!!e.publicData.packages&&!e.publicData.packages.some(t=>!t.name||!t.version)},onSave:"reloadPackages"}},variables:e=>{var t;return(((t=e==null?void 0:e.publicData)==null?void 0:t.packages)||[]).map(r=>({name:r.name,version:r.version,value:{},type:"any",defaultValue:null}))}},HD={editor:{designSystemId:'"2158285b-a489-44b6-be61-5cab2bec46fb"'},variables:[{name:"network",value:"network",type:"object",defaultValue:null},{name:"battery",value:"battery",type:"object",defaultValue:null},{name:"pageVisibility",value:"pageVisibility",type:"boolean",defaultValue:!1},{name:"deviceMotion",value:"deviceMotion",type:"object",defaultValue:{acceleration:{x:-1,y:-1,z:-1},accelerationIncludingGravity:{x:-1,y:-1,z:-1},rotationRate:{alpha:-1,beta:-1,gamma:-1},interval:-1,supported:!1}},{name:"deviceInfo",value:"deviceInfo",type:"object",defaultValue:null}],actions:[{name:"Add To Home Screen",code:"installPwa",isAsync:!0},{name:"Geolocate",code:"geolocation",isAsync:!0,keywords:["Android","iOS"]},{name:"Share",code:"share",isAsync:!0},{name:"Vibrate",code:"vibrate",isAsync:!1},{name:"Show Notification",code:"showNotification",isAsync:!0},{name:"Request Motion Permission",code:"requestDeviceMotionPermission",isAsync:!0},{name:"Listen Device Motion",code:"listenDeviceMotion",isAsync:!0}]},YD={features:{datasource:!0},actions:[{name:"REST API Request",code:"apiRequest",isAsync:!0}]},UD={features:{datasource:!0},editor:{settings:[{label:"Configuration",icon:"advanced",edit:()=>$t(()=>import("./SettingsEditMultiEnv-CP5uamY6.js"),__vite__mapDeps([4,5])),summary:()=>$t(()=>import("./SettingsSummary-Bwt2BW4L.js"),__vite__mapDeps([6,7])),getIsValid(e){var t,r,o,a;return(t=e.privateData)!=null&&t._isBranchChanging?!1:(r=e.publicData)!=null&&r.environments?!!((o=e.publicData.environments.production)!=null&&o.projectUrl&&((a=e.publicData.environments.production)!=null&&a.apiKey)):!!e.publicData.projectUrl&&!!e.publicData.apiKey},onSave:"onSave"},{label:"Realtime collections",icon:"data",edit:()=>$t(()=>import("./SettingsEdit-OI1-5GwB.js"),[]),summary:()=>$t(()=>import("./SettingsSummary-DF6p-bs4.js"),__vite__mapDeps([8,9])),getIsValid(e){return!!e.publicData.realtimeTables}}],collection:{edit:()=>$t(()=>import("./CollectionEdit-OANg1Mi4.js"),__vite__mapDeps([10,11])),summary:()=>$t(()=>import("./CollectionSummary-aniINvmv.js"),__vite__mapDeps([12,13])),getIsValid({table:e}){return!!e},modes:["dynamic"],queryConfig:{hasNativePagination:!0,hasNativeSort:!0,hasNativeFilter:!0,filterOperators:[{label:"Is",value:"$eq",acceptedTypes:["string","boolean"]},{label:"Is not",value:"$ne",acceptedTypes:["string","boolean"]},{label:"=",value:"$eq",acceptedTypes:["number"]},{label:"≠",value:"$ne",acceptedTypes:["number"]},{label:"<",value:"$lt",acceptedTypes:["number","string"]},{label:">",value:"$gt",acceptedTypes:["number","string"]},{label:"≤",value:"$lte",acceptedTypes:["number","string"]},{label:"≥",value:"$gte",acceptedTypes:["number","string"]},{label:"Contains",value:"$iLike:contains",acceptedTypes:["string"],defaultValue:""},{label:"Does not contains",value:"$notILike:contains",acceptedTypes:["string"],defaultValue:""},{label:"Starts with",value:"$iLike:startsWith",acceptedTypes:["string"],defaultValue:"start"},{label:"Ends with",value:"$iLike:endsWith",acceptedTypes:["string"],defaultValue:"end"},{label:"Is exactly",value:"$eq",acceptedTypes:["array","object"]},{label:"Is empty",value:"$eq:null",acceptedTypes:["string","number","array","object"]},{label:"Is not empty",value:"$ne:null",acceptedTypes:["string","number","array","object"]},{label:"Is in",value:"$in",acceptedTypes:["string","number"],defaultValue:[]},{label:"Is not in",value:"$notIn",acceptedTypes:["string","number"],defaultValue:[]},{label:"Has any of",value:"$overlap",acceptedTypes:["array"],defaultValue:[]},{label:"Has none of",value:"$notOverlap",acceptedTypes:["array"],defaultValue:[]},{label:"Has all of",value:"$contains",acceptedTypes:["array"],defaultValue:[]}],typeDefaultOperator:{string:"$iLike:contains",number:"$eq",object:"$has",array:"$contains",boolean:"$eq"}}}},triggers:[{label:"On realtime database changes",value:"realtime:postgres_changes",event:{channel:"",data:{schema:"public",table:"My Table",commit_timestamp:"2024-08-01T20:17:03.216Z",eventType:"INSERT | UPDATE | DELETE",errors:null,new:{},old:{}}},conditions:[{name:"Channel name",key:"channel",placeholder:"Default: All channels",type:"Text"},{name:"Event type",key:"event",placeholder:"Default: All events",type:"TextSelect",options:[{label:"All events",value:null},{label:"INSERT",value:"INSERT"},{label:"UPDATE",value:"UPDATE"},{label:"DELETE",value:"DELETE"}]}]},{label:"On realtime presence",value:"realtime:presence",event:{channel:"",data:{event:"join",key:"9fe543c6-4530-11ef-a6c3-0a58a9feac02",currentPresences:[],leftPresences:[],newPresences:[]}},conditions:[{name:"Channel name",key:"channel",placeholder:"Default: All channels",type:"Text"},{name:"Event type",key:"event",placeholder:"Default: All events",type:"TextSelect",options:[{label:"All events",value:null},{label:"Sync",value:"sync"},{label:"Join",value:"join"},{label:"Leave",value:"leave"}]}]},{label:"On realtime broadcast",value:"realtime:broadcast",event:{channel:"",data:{event:"",payload:""}},conditions:[{name:"Channel name",key:"channel",placeholder:"Default: All channels",type:"Text"},{name:"Event name",placeholder:"Default: All events",key:"event",type:"Text"}]}],actions:[{name:"Database | Select",code:"select",parameters:[],isAsync:!0},{name:"Database | Insert",code:"insert",parameters:[{name:"data",type:"object"}],isAsync:!0},{name:"Database | Update",code:"update",parameters:[{name:"primaryData",type:"object"},{name:"data",type:"object"}],isAsync:!0},{name:"Database | Upsert",code:"upsert",parameters:[{name:"data",type:"object"}],isAsync:!0},{name:"Database | Delete",code:"delete",parameters:[{name:"primaryData",type:"object"}],isAsync:!0},{name:"Storage | List all files",code:"listFiles",getIsValid({bucket:e}){return!!e},isAsync:!0},{name:"Storage | Upload a file",code:"uploadFile",getIsValid({bucket:e,path:t,file:r}){return!!e&&!!t&&!!r},isAsync:!0},{name:"Storage | Replace a file",code:"updateFile",getIsValid({bucket:e,path:t,file:r}){return!!e&&!!t&&!!r},isAsync:!0},{name:"Storage | Move a file",code:"moveFile",getIsValid({bucket:e,path:t,newPath:r}){return!!e&&!!t&&!!r},isAsync:!0},{name:"Storage | Copy a file",code:"copyFile",getIsValid({bucket:e,path:t,newPath:r}){return!!e&&!!t&&!!r},isAsync:!0},{name:"Storage | Delete files",code:"deleteFiles",getIsValid({paths:e}){return!!e},isAsync:!0},{name:"Storage | Create signed URL",code:"createSignedUrl",getIsValid({bucket:e,path:t,expiresIn:r}){return!!e&&!!t&&!!r},isAsync:!0},{name:"Storage | Retrieve public URL",code:"getPublicUrl",getIsValid({bucket:e,path:t}){return!!e&&!!t},isAsync:!1},{name:"Realtime | Subscribe to channel",code:"subscribeToChannel",getIsValid({channel:e,type:t}){return!!e&&!!t},isAsync:!0},{name:"Realtime | Unsubscribe from channel",code:"unsubscribeFromChannel",getIsValid({channel:e}){return!!e},isAsync:!0},{name:"Realtime | Broadcast a message",code:"sendMessageToChannel",getIsValid({channel:e,event:t}){return!!e&&!!t},isAsync:!0},{name:"Realtime | Update presence state",code:"updateChannelState",getIsValid({channel:e,state:t}){return!!e&&!!t},isAsync:!0},{name:"Call a Postgres function",code:"callPostgresFunction",getIsValid({functionName:e}){return!!e},isAsync:!0},{name:"Invoke an Edge function",code:"invokeEdgeFunction",getIsValid({functionName:e}){return!!e},isAsync:!0}]},XD={features:{auth:!0},editor:{settings:[{label:"Configuration",icon:"advanced",edit:()=>$t(()=>import("./SettingsEditMultiEnv-DAS36xri.js"),__vite__mapDeps([14,15])),summary:()=>$t(()=>import("./SettingsSummary-BpCVcAIe.js"),__vite__mapDeps([16,17])),getIsValid(e){var t,r,o,a;return(t=e.privateData)!=null&&t._isBranchChanging?!1:(r=e.publicData)!=null&&r.environments?!!((o=e.publicData.environments.production)!=null&&o.projectUrl&&((a=e.publicData.environments.production)!=null&&a.apiKey)):!!e.publicData.projectUrl&&!!e.publicData.apiKey},onSave:"onSave"},{label:"Roles tables (optional)",icon:"data",edit:()=>$t(()=>import("./SettingsEdit-4jneBWBh.js"),__vite__mapDeps([18,19])),summary:()=>$t(()=>import("./SettingsSummary-3bKCQHkD.js"),__vite__mapDeps([20,21])),getIsValid(){return!0}}],designSystemId:"290de5c1-a7fb-49a7-88bb-6acd08576c07"},variables:[{name:"user",value:"user",type:"object",defaultValue:null},{name:"isAuthenticated",value:"isAuthenticated",type:"boolean",defaultValue:!1}],actions:[{name:"Sign Up",code:"signUp",isAsync:!0},{name:"Sign Out",code:"signOut",isAsync:!0},{name:"Sign In | Email and Password",code:"signInEmail",isAsync:!0},{name:"Sign In | Phone and Password",code:"signInPhone",isAsync:!0},{name:"Sign In | OAuth Provider",code:"signInProvider",isAsync:!0},{name:"Sign In | One-Time Password",code:"signInOTP",isAsync:!0},{name:"Sign In | Magic Link",code:"signInMagicLink",isAsync:!0},{name:"Sign In | OIDC Token",code:"signInOIDC",isAsync:!0},{name:"Sign In | SAML 2.0 SSO",code:"signInSSO",isAsync:!0},{name:"Verify OTP",code:"verifyOTP",isAsync:!0},{name:"Resend OTP",code:"resendOTP",isAsync:!0},{name:"Fetch User",code:"fetchUser"},{name:"Update User",code:"updateUserMeta",isAsync:!0},{name:"Change Password",code:"updateUserPassword",isAsync:!0},{name:"Forgot Password",code:"resetPasswordForEmail",isAsync:!0},{name:"Confirm Password",code:"confirmPassword",isAsync:!0},{name:"Refresh session",code:"refreshSession",isAsync:!0}]},WD={options:{displayAllowedValues:["flex","block","grid"]},inherit:[{type:"ww-layout"},{type:"ww-background-video"}],editor:{label:{en:"Base"}},properties:{wwObjects:{hidden:!0,defaultValue:[]}}},jD={editor:{label:{en:"Modal"},excludedSections:["sizing","spacing","positioning","background","styling","advanced-style","customCss"]},triggerEvents:[{name:"backdropClick",label:{en:"On backdrop click"}}],options:{forceHydration:!0},properties:{display:{type:"OnOff",label:{en:"Display",fr:"Afficher"},bindable:!0,responsive:!0,defaultValue:!0},displayInEditor:{type:"OnOff",label:{en:"Force display in editor",fr:"Forcer l'affichage dans l'éditeur"},editorOnly:!0,hidden:(e,t,r)=>!r.display,defaultValue:!1},animation:{type:"TextSelect",label:{en:"Animation",fr:"Animation"},options:{options:[{value:"fade",label:{en:"Fade",fr:"Fondu"}},{value:"fromTop",label:{en:"Appears from top",fr:"Apparait par le haut"}},{value:"fromRight",label:{en:"Appears from right",fr:"Apparait par la droite"}},{value:"fromLeft",label:{en:"Appears from left",fr:"Apparait par la gauche"}},{value:"fromBottom",label:{en:"Appears from bottom",fr:"Apparait par le bas"}},{value:"zoomIn",label:{en:"Zoom in",fr:"Zoom arrière"}},{value:"zoomOut",label:{en:"Zoom out",fr:"Zoom avant"}}]},responsive:!0,states:!0,classes:!0,defaultValue:"fade"},position:{type:"TextSelect",label:{en:"Position",fr:"Position"},options:{options:[{value:"topLeft",label:{en:"On top left",fr:"En haut à gauche"}},{value:"topMiddle",label:{en:"On top middle",fr:"En haut au milieu"}},{value:"topRight",label:{en:"On top right",fr:"En haut à droite"}},{value:"middleLeft",label:{en:"On middle left",fr:"Au milieu à gauche"}},{value:"middle",label:{en:"On middle",fr:"Au milieu"}},{value:"middleRight",label:{en:"On middle right",fr:"Au milieu à droite"}},{value:"bottomLeft",label:{en:"On bottom left",fr:"En bas à gauche"}},{value:"bottomMiddle",label:{en:"On bottom middle",fr:"En bas au milieu"}},{value:"bottomRight",label:{en:"On bottom right",fr:"En bas à droite"}},{value:"custom",label:{en:"Custom",fr:"Personnalisé"}}]},defaultValue:"middle",responsive:!0,states:!0,classes:!0,bindable:!0},positionLeft:{hidden:e=>e.position!=="custom",label:{en:"Horizontal",fr:"Horizontal"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",responsive:!0,bindable:!0,states:!0,classes:!0},positionTop:{hidden:e=>e.position!=="custom",label:{en:"Vertical",fr:"Vertical"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",responsive:!0,bindable:!0,states:!0,classes:!0},zIndex:{label:{en:"Z axis"},type:"Number",options:{min:0,max:100},responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"z-index",type:"string",cssSupports:"z-index"}},backdrop:{type:"OnOff",label:{en:"Backdrop",fr:"Fond"},bindable:!0,defaultValue:!0,responsive:!0,states:!0,classes:!0},backdropColor:{type:"Color",label:{en:"Backdrop color",fr:"Couleur du fond"},bindable:!0,defaultValue:void 0,responsive:!0,states:!0,classes:!0,hidden:e=>!e.backdrop},transition:{type:"Transitions",label:{en:"Transition",fr:"Transition"},options:{enforcedTransitionProperty:"all"},bindable:!0,defaultValue:"all .3s ease",responsive:!0,classes:!0},modalContent:{defaultValue:[{isWwObject:!0,type:"ww-flexbox"}]}}},KD={editor:{label:{en:"External Tooltip"},icon:"chat"},properties:{targetSelector:{label:{en:"Target Selector"},type:"Text",section:"settings",bindable:!0,defaultValue:".mi-elemento"},tooltipContent:{label:{en:"Tooltip Content"},type:"Text",section:"settings",bindable:!0,defaultValue:"This is a tooltip"},position:{label:{en:"Preferred Position"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"auto",options:{options:[{value:"auto",label:"Auto (Best fit)"},{value:"top",label:"Top"},{value:"bottom",label:"Bottom"},{value:"left",label:"Left"},{value:"right",label:"Right"}]}},offset:{label:{en:"Distance from Target"},type:"Number",section:"settings",bindable:!0,defaultValue:10,options:{min:0,max:50,step:1}},backgroundColor:{label:{en:"Background Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#333333"},textColor:{label:{en:"Text Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},padding:{label:{en:"Padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px"},fontSize:{label:{en:"Font Size"},type:"Length",section:"style",bindable:!0,defaultValue:"14px"},icon:{label:{en:"Icon"},type:"SystemIcon",section:"settings",bindable:!0,defaultValue:null},showIcon:{label:{en:"Show Icon"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},iconSize:{label:{en:"Icon Size"},type:"Length",section:"settings",bindable:!0,defaultValue:"16px"},iconPosition:{label:{en:"Icon Position"},type:"TextRadioGroup",section:"settings",bindable:!0,defaultValue:"start",options:{choices:[{value:"start",title:"Start",icon:"align-left"},{value:"end",title:"End",icon:"align-right"}]}}}},zD={editor:{label:{en:"Cron Schedule Builder",es:"Constructor de Programación Cron"},icon:"calendar"},properties:{value:{label:{en:"Initial value",es:"Valor inicial"},type:"Object",section:"settings",bindable:!0,defaultValue:{mode:"Daily",time:"00:00",daysOfWeek:[1,2,3,4,5],day:"1",month:"1",everyN:{n:1,unit:"days"},cronExpression:""}},timezone:{label:{en:"Timezone",es:"Zona horaria"},type:"Text",section:"settings",bindable:!0,defaultValue:"America/New_York"},disabled:{label:{en:"Disabled",es:"Deshabilitado"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1}},triggerEvents:[{name:"change",label:{en:"On change",es:"Al cambiar"},event:{value:{}}},{name:"validityChange",label:{en:"On validity change",es:"Al cambiar validez"},event:{isValid:!0,errors:{}}}]},qD={editor:{label:{en:"Phone Input"},icon:"phone"},properties:{initialValue:{label:{en:"Initial value"},type:"Text",bindable:!0,section:"settings",defaultValue:""},disabled:{label:{en:"Disabled"},type:"OnOff",bindable:!0,section:"settings",defaultValue:!1},placeholder:{label:{en:"Placeholder"},type:"Text",bindable:!0,section:"settings",defaultValue:"Enter phone number"},fontSize:{label:{en:"Text Size"},type:"Length",section:"style",bindable:!0,defaultValue:"1rem",options:{unitChoices:[{value:"px",label:"px",min:8,max:100},{value:"rem",label:"rem",min:.5,max:6}]}},textAlign:{label:{en:"Text Alignment"},type:"TextRadioGroup",section:"style",bindable:!0,defaultValue:"left",options:{choices:[{value:"left",title:"Left",icon:"align-left"},{value:"center",title:"Center",icon:"align-center"},{value:"right",title:"Right",icon:"align-right"}]}}},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"focus",label:{en:"On focus"},event:{value:""}},{name:"blur",label:{en:"On blur"},event:{value:""}},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}]},ZD={editor:{label:{en:"Input multiselect",fr:"Champs sélection multiple"},icon:"select",customStylePropertiesOrder:[["tagsDefaultBgColor","tagsDefaultTextColor"],["dropdownBackgroundColor","optionBackgroundPointed","optionBackgroundSelected","optionBackgroundSelectedPointed","dropdownBorderWidth","dropdownBorderColor","dropdownBorderRadius","dropdownMaxHeight"],["searchFontFamily","searchFontSize","searchFontColor"]],customSettingsPropertiesOrder:["isOpen","openInEditor","layoutType","required","readonly","disabled","initialValue","mode","multipleLabel",["options","hintFields","labelField","valueField","textColorField","bgColorField"],["placeholder","noResultsText","noOptionsText"],["advanced","searchable","allowCreation","hideSelected","closeOnSelect","maxSelection","max","infiniteScroll","loadingRingColor","limitedOptions","limit"],["clearIcon","caretIcon"]]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:[]},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],options:{displayAllowedValues:["flex","inline-flex"]},properties:{openInEditor:{type:"OnOff",label:{en:"Force open in editor"},editorOnly:!0,defaultValue:!1,section:"settings",hidden:e=>e.readonly||e.disabled},layoutType:{label:{en:"Layout type"},type:"TextSelect",options:{options:[{value:"text",label:{en:"Text"},default:!0},{value:"free",label:{en:"Free layout"}}]},defaultValue:"text",section:"settings"},placeholder:{label:{en:"Placeholder",fr:"Texte par défaut"},type:"Text",defaultValue:{en:"placeholder"},section:"settings",bindable:!0,multiLang:!0},noOptionsText:{label:{en:"No options text",fr:"No options text"},type:"Text",section:"settings",multiLang:!0,bindable:!0},noResultsText:{label:{en:"No results text",fr:"No results text"},type:"Text",section:"settings",multiLang:!0,bindable:!0},disabled:{label:{en:"Disabled",fr:"Désactivé"},type:"OnOff",defaultValue:!1,section:"settings",bindable:!0},required:{type:"OnOff",label:{en:"Required",fr:"Required"},defaultValue:!1,bindable:!0,section:"settings"},readonly:{label:{en:"Read Only",fr:"Read Only"},type:"OnOff",defaultValue:!1,section:"settings",bindable:!0,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},mode:{label:{en:"Mode",fr:"Mode"},type:"TextSelect",defaultValue:"tags",options:{options:[{label:"Tags",value:"tags"},{label:"Counter",value:"multiple"}]},section:"settings",bindable:!0},multipleLabel:{label:{en:"Selected options text",fr:"Selected options text"},type:"Text",section:"settings",options:{placeholder:"{count} selected"},propertyHelp:{tooltip:"Use `{count}` in your text to display the number of selected options."},bindable:!0,multiLang:!0,hidden:e=>e.mode!=="multiple"},advanced:{type:"OnOff",label:{en:"Display advanced options"},defaultValue:!1,bindable:!0,section:"settings"},allowCreation:{hidden:e=>!e.advanced,label:{en:"Allow to create option",fr:"Permettre la création d'option"},type:"OnOff",defaultValue:!1,section:"settings",bindable:!0},hideSelected:{hidden:e=>!e.advanced,label:{en:"Hide selected elements",fr:"Cacher les éléments sélectionnés"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},searchable:{hidden:e=>!e.advanced,label:{en:"Searchable",fr:"Recherche"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},searchFontFamily:{label:{en:"Search font family"},type:"FontFamily",responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},searchFontSize:{label:{en:"Search font size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:100},{value:"em",label:"em",min:1,max:10,digits:2},{value:"rem",label:"rem",min:1,max:10,digits:2}]},responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},searchFontColor:{label:{en:"Search font color"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},closeOnSelect:{hidden:e=>!e.advanced,label:{en:"Close on select",fr:"Ferme à la sélection"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},infiniteScroll:{hidden:e=>!e.advanced,label:{en:"Infinite scroll",fr:"Scroll infini"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},loadingRingColor:{hidden:e=>!e.advanced||!e.infiniteScroll,label:{en:"Loading ring color"},type:"Color",defaultValue:"#099af2",bindable:!0,section:"settings",classes:!0,states:!0,responsive:!0},limitedOptions:{hidden:e=>!e.advanced,label:{en:"Limited options",fr:"Options limitées"},type:"OnOff",defaultValue:!1,section:"settings"},limit:{hidden:e=>!e.advanced||!e.limitedOptions,type:"Number",label:{en:"Limit",fr:"Limite"},options:{min:10,max:50,step:1},defaultValue:20,bindable:!0,section:"settings"},maxSelection:{hidden:e=>!e.advanced,label:{en:"Max selection",fr:"Max selection"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},max:{hidden:e=>!e.advanced||!e.maxSelection,type:"Number",label:{en:"Max",fr:"Max"},options:{min:0,max:50,step:1},defaultValue:1,section:"settings",bindable:!0,bindable:!0},clearIcon:{label:{en:"Clear icon"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},caretIcon:{label:{en:"Caret icon"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},initialValue:{label:{en:"Initial value",fr:"Valeur initiale"},type:"Array",options:{item:{type:"Generic"}},bindable:!0,section:"settings"},options:{label:{en:"Options",fr:"Options"},type:"Array",section:"settings",options:{item:{type:"Object",defaultValue:{label:"New option",value:""},options:{item:{label:{label:{en:"Label"},type:"Text",options:{placeholder:"Label"},multiLang:!0},value:{label:{en:"Value"},type:"Text",options:{placeholder:"Value"}}}}}},defaultValue:[{value:"option",label:{en:"option - 1"}},{value:"option2",label:{en:"option - 2"}}],bindable:!0},hintFields:{hidden:(e,t,r)=>!r.options||e.options,label:{en:"Options fields",fr:"Champs des options"},type:"Info",options:{text:{en:"Please provide at least one option to configure fields"}},editorOnly:!0,section:"settings"},labelField:{hidden:(e,t,r)=>!r.options||!e.options,label:{en:"Label field",fr:"Label field"},type:"ObjectPropertyPath",options:e=>!e.options.length||typeof e.options[0]!="object"?null:{object:e.options[0]},defaultValue:null,section:"settings",multiLang:!0},valueField:{hidden:(e,t,r)=>!r.options||!e.options,label:{en:"Value field",fr:"Value field"},type:"ObjectPropertyPath",options:e=>!e.options.length||typeof e.options[0]!="object"?null:{object:e.options[0]},defaultValue:null,section:"settings"},placeholderElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Placeholder text",style:{default:{color:"#D1D5DB",padding:"0px 0px 0px 12px"}}}},navigator:{group:"Multiselect"}},tagElementSelected:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Text - selected",style:{default:{padding:"4px",borderRadius:"4px"}}}},navigator:{group:"Option",hidden:e=>e.layoutType==="free"||e.mode!=="tags"}},tagElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Text"}},navigator:{group:"Option",hidden:e=>e.layoutType==="free"||e.mode!=="tags"}},flexboxElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",state:{name:"Option container",style:{default:{width:"100%"}}}},navigator:{group:"Option",hidden:e=>e.layoutType!=="free"||e.mode!=="tags"}},selectedFlexboxElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",state:{name:"Option container",style:{default:{width:"100%"}}}},navigator:{group:"Option - Selected",hidden:e=>e.layoutType!=="free"||e.mode!=="tags"}},removeTagIconElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",state:{name:"Delete icon",style:{default:{padding:"4px",borderRadius:"4px"}}},content:{default:{icon:"wwi wwi-cross",color:"#FFFFFF",fontSize:"16"}}},navigator:{group:"Option - Selected",hidden:e=>e.layoutType==="free"||e.mode!=="tags"}},caretIconElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",state:{name:"Caret icon",style:{default:{padding:"12px"}}},content:{default:{icon:"fas fa-caret-down",color:"#9CA3AF",fontSize:"16"}}},navigator:{group:"Multiselect"}},clearIconElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",state:{name:"Clear icon",style:{default:{padding:"12px"}}},content:{default:{icon:"wwi wwi-cross",color:"#9CA3AF",fontSize:"14"}}},navigator:{group:"Multiselect"}},tagsDefaultBgColor:{label:{en:"Default option background"},type:"Color",defaultValue:"#099AF2",classes:!0,states:!0,responsive:!0,bindable:!0},tagsDefaultTextColor:{label:{en:"Default option text color"},type:"Color",defaultValue:"#FFFFFF",classes:!0,states:!0,responsive:!0,bindable:!0},optionBackgroundPointed:{label:{en:"Option hover color"},type:"Color",defaultValue:"#d1d5db",classes:!0,states:!0,responsive:!0,bindable:!0},optionBackgroundSelected:{label:{en:"Option selected color"},type:"Color",defaultValue:"#10B981",classes:!0,states:!0,responsive:!0,bindable:!0},optionBackgroundSelectedPointed:{label:{en:"Option hover selected color"},type:"Color",defaultValue:"#10B981",classes:!0,states:!0,responsive:!0,bindable:!0},dropdownBackgroundColor:{label:{en:"Dropdown background color"},type:"Color",defaultValue:"#ffffff",classes:!0,states:!0,responsive:!0,bindable:!0},dropdownBorderWidth:{type:"Length",label:{en:"Dropdown border width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},defaultValue:"1px",classes:!0,states:!0,responsive:!0,bindable:!0},dropdownBorderColor:{label:{en:"Dropdown border color"},type:"Color",defaultValue:"#d1d5db",classes:!0,states:!0,responsive:!0,bindable:!0},dropdownBorderRadius:{type:"Length",label:{en:"Dropdown border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},defaultValue:"4px",classes:!0,states:!0,responsive:!0,bindable:!0},dropdownMaxHeight:{label:{en:"Dropdown max height"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:500}]},classes:!0,states:!0,responsive:!0,bindable:!0,defaultValue:"150px"}}},QD={inherit:{type:"ww-text",exclude:["text"]},editor:{label:{en:"Form Input",fr:"Entrée de Formulaire"},icon:"text-input",customSettingsPropertiesOrder:["value",["placeholder"],["readonly","required"],["debounce","debounceDelay"]],customStylePropertiesOrder:["type",["precision","min","max","minDate","maxDate","step","timePrecision","hideArrows","displayPassword","rows","resize"],"placeholderColor","advancedPlaceholder","forceAnimation",["animationTrigger","placeholderPosition","placeholderScaling","positioningAjustment","transition","timingFunction"]]},states:["focus","readonly"],actions:[{label:"Focus element",action:"focusInput"}],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"onEnterKey",label:{en:"On enter key"},event:{value:""}},{name:"focus",label:{en:"On focus"},event:null},{name:"blur",label:{en:"On blur"},event:null}],properties:{placeholderColor:{label:{en:"Placeholder color"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,hidden:e=>e.advancedPlaceholder},advancedPlaceholder:{label:"Advanced placeholder",type:"OnOff",defaultValue:!1,classes:!0},forceAnimation:{label:{en:"Force animation"},type:"OnOff",defaultValue:!1,classes:!0,hidden:e=>!e.advancedPlaceholder},animationTrigger:{label:{en:"Trigger on"},type:"TextSelect",options:{options:[{value:"focus",label:{en:"Focus"}},{value:"input",label:{en:"Input"}}]},responsive:!0,classes:!0,defaultValue:"input",hidden:e=>!e.advancedPlaceholder},placeholderPosition:{label:{en:"Active position"},type:"TextSelect",options:{options:[{value:"inside",label:{en:"Inside"}},{value:"outside",label:{en:"Outside"}}]},responsive:!0,classes:!0,defaultValue:"outside",hidden:e=>!e.advancedPlaceholder},placeholderScaling:{label:{en:"Active size"},type:"Number",options:{min:0,max:1,step:.1},responsive:!0,classes:!0,defaultValue:.8,hidden:e=>!e.advancedPlaceholder},positioningAjustment:{type:"Length",label:{en:"Active margin"},options:{unitChoices:[{value:"px",label:"px",min:0,max:500}]},responsive:!0,defaultValue:"0px",classes:!0,hidden:e=>!e.advancedPlaceholder},transition:{type:"Length",label:{en:"Transition"},options:{unitChoices:[{value:"ms",label:"ms",min:0,max:2e3}]},responsive:!0,defaultValue:"400ms",classes:!0,hidden:e=>!e.advancedPlaceholder},timingFunction:{label:{en:"Timing function"},type:"TextSelect",options:{options:[{value:"cubic-bezier(0, 1.08, 0.76, 1)",label:{en:"auto"}},{value:"ease",label:{en:"ease"}},{value:"ease-in",label:{en:"ease-in"}},{value:"ease-out",label:{en:"ease-out"}},{value:"ease-in-out",label:{en:"ease-in-out"}},{value:"linear",label:{en:"linear"}}]},defaultValue:"cubic-bezier(0, 1.08, 0.76, 1)",classes:!0,hidden:e=>!e.advancedPlaceholder},value:{label:{en:"Init value"},type:"Text",section:"settings",bindable:!0,defaultValue:""},type:{label:{en:"Input type",fr:"Input type"},type:"TextSelect",options:{options:[{value:"text",label:{en:"Short answer",fr:"Texte"}},{value:"textarea",label:{en:"Long answer",fr:"Texte"}},{value:"email",label:{en:"Email",fr:"Email"}},{value:"search",label:{en:"Search",fr:"Recherche"}},{value:"password",label:{en:"Password",fr:"Mot de passe"}},{value:"number",label:{en:"Number",fr:"Nombre"}},{value:"decimal",label:{en:"Decimal",fr:"Decimal"}},{value:"date",label:{en:"Date",fr:"Date"}},{value:"time",label:{en:"Time",fr:"Heure"}},{value:"tel",label:{en:"Phone",fr:"Téléphone"}},{value:"color",label:{en:"Color",fr:"Couleur"}}]},defaultValue:"text"},displayPassword:{label:{en:"Display password"},type:"OnOff",bindable:!0,defaultValue:!1,classes:!0,hidden:e=>e.type!=="password"},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},required:{label:{en:"Required",fr:"Requis"},type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},precision:{label:{en:"Precision",fr:"Precision"},type:"TextSelect",options:{options:[{value:"0.1",label:{en:"1.0"}},{value:"0.01",label:{en:"1.00"}},{value:"0.001",label:{en:"1.000"}},{value:"0.0001",label:{en:"1.0000"}},{value:"0.00001",label:{en:"1.00000"}},{value:"0.000001",label:{en:"1.000000"}},{value:"0.0000001",label:{en:"1.0000000"}},{value:"0.00000001",label:{en:"1.00000000"}}]},hidden:e=>e.type!=="decimal",defaultValue:"0.1"},step:{label:{en:"Step",fr:"Step"},type:"Number",options:e=>e.type==="decimal"?{min:0,max:10*parseFloat(e.precision),step:parseFloat(e.precision)}:{min:1,max:100,step:1},defaultValue:1,bindable:!0,hidden:e=>e.type!=="decimal"&&e.type!=="number"},timePrecision:{label:{en:"Time precision",fr:"Time precision"},type:"TextSelect",options:{options:[{value:3600,label:{en:"hh"}},{value:60,label:{en:"hh:mm"}},{value:1,label:{en:"hh:mm:ss"}},{value:.1,label:{en:"hh:mm:ss.s"}}]},bindable:!0,hidden:e=>e.type!=="time",defaultValue:1},placeholder:{label:{en:"Placeholder",fr:"Placeholder"},type:"Text",options:{placeholder:"Type text"},section:"settings",hidden:e=>e.type==="date"||e.type==="time",multiLang:!0,bindable:!0,defaultValue:{}},rows:{label:{en:"Rows",fr:"Rows"},type:"Number",options:{min:1,max:25},hidden:e=>e.type!=="textarea",bindable:!0,defaultValue:4,classes:!0},resize:{label:{en:"Resize",fr:"Resize"},type:"OnOff",hidden:e=>e.type!=="textarea",defaultValue:!1,classes:!0},min:{label:{en:"Min number",fr:"Min number"},type:"Number",options:{min:0,max:100},hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:"0",bindable:!0},max:{label:{en:"Max number",fr:"Max number"},type:"Number",options:{min:0,max:1e4},hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:"10000",bindable:!0},minDate:{label:{en:"Min date"},type:"Text",hidden:e=>e.type!=="date",defaultValue:"",bindable:!0},maxDate:{label:{en:"Max date"},type:"Text",hidden:e=>e.type!=="date",defaultValue:"",bindable:!0},hideArrows:{label:{en:"Hide arrows",fr:"Masquer les flèches"},type:"OnOff",hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:!1,classes:!0},debounce:{label:{en:"Debounce"},type:"OnOff",section:"settings",defaultValue:!1},debounceDelay:{type:"Length",label:{en:"Delay"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},section:"settings",defaultValue:"500ms",responsive:!0,hidden:e=>!e.debounce},autocomplete:{label:{en:"Autocomplete",fr:"Autocomplétion"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},placeholderElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Placeholder"}}}}},wp=[{name:"filename.png",size:100}],JD={editor:{label:"Input File Drop",icon:"upload",bubble:{icon:"upload"}},states:["drop"],triggerEvents:[{name:"change",label:"On change",event:{value:wp},default:!0},{name:"initValueChange",label:"On init value change",event:{value:wp}},{name:"invalidFile",label:"On invalid file drop",event:{value:wp}}],options:{displayAllowedValues:["flex","inline-flex"]},properties:{layout:{hidden:!0,defaultValue:[]},multiple:{label:"Multiple",type:"OnOff",section:"settings",defaultValue:!1},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},accept:{label:"Extensions",type:"TextSelect",options:{options:[{label:"Any",value:"any"},{label:"Image",value:"image"},{label:"Video",value:"video"},{label:"Audio",value:"audio"},{label:"PDF",value:"pdf"},{label:"CSV",value:"csv"},{label:"Excel file",value:"xls"},{label:"Word file",value:"doc"},{label:"JSON",value:"json"},{label:"Custom",value:"custom"}]},section:"settings",defaultValue:"any"},acceptCustom:{type:"Text",options:{placeholder:".html, .xml, .pt"},section:"settings",hidden:e=>e.accept!=="custom",defaultValue:""}}};function Mv(e){return e?Array.isArray(e)?e[0]||{}:{}:{}}const ek={editor:{label:"Form Radio",icon:"radio"},options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:"On Change",event:{value:""},default:!0},{name:"initValueChange",label:"On Init value change",event:{value:""}}],customStylePropertiesOrder:["direction",["rowGap","columnGap"],["justifyContent","alignItems"],"flexWrap"],properties:{options:{label:"Choices values",type:"Array",section:"settings",options:{item:{type:"Object",options:{item:{label:{label:"Label",type:"Text",options:{placeholder:"Label"}},value:{label:"Value",type:"Text",options:{placeholder:"Value"}}}}}},defaultValue:[{value:"first value",label:"first label"},{value:"second value",label:"second label"}],multilang:!0,bindable:!0},value:{label:{en:"Init value"},type:"Text",section:"settings",bindable:!0,defaultValue:""},labelField:{hidden:(e,t,r)=>{const o=wwLib.wwCollection.getCollectionData(e.options);return!r.options||!o||o&&typeof o[0]!="object"},label:"Label field",type:"ObjectPropertyPath",options:e=>({object:Mv(wwLib.wwCollection.getCollectionData(e.options))}),defaultValue:null,section:"settings"},valueField:{hidden:(e,t,r)=>{const o=wwLib.wwCollection.getCollectionData(e.options);return!r.options||!o||o&&typeof o[0]!="object"},label:"Value field",type:"ObjectPropertyPath",options:e=>({object:Mv(wwLib.wwCollection.getCollectionData(e.options))}),defaultValue:null,section:"settings"},choicesElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text"}},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},direction:{label:"Direction",type:"BigIconRadioGroup",options:{choices:[{icon:"arrow-down",value:"column",label:"Vertical"},{icon:"arrow-right",value:"row",label:"Horizontal"}]},responsive:!0,states:!0,classes:!0,defaultValue:"column"},rowGap:{label:"Rows gap",type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100,digits:2},{value:"em",label:"em",min:0,max:10,digits:2},{value:"rem",label:"rem",min:0,max:10,digits:2}]},responsive:!0,states:!0,classes:!0},columnGap:{label:"Columns gap",type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100,digits:2},{value:"em",label:"em",min:0,max:10,digits:2},{value:"rem",label:"rem",min:0,max:10,digits:2}]},responsive:!0,states:!0,classes:!0},justifyContent:{label:"Justify",type:"TextRadioGroup",options:e=>e.direction==="row"?{choices:[{value:"flex-start",title:"Start",icon:"align-x-start"},{value:"center",title:"Center",icon:"align-x-center"},{value:"flex-end",title:"End",icon:"align-x-end"},{value:"space-around",title:"Space around",icon:"align-x-space-around"},{value:"space-between",title:"Space between",icon:"align-x-space-between"}]}:{choices:[{value:"flex-start",title:"Start",icon:"align-x-start-vertical"},{value:"center",title:"Center",icon:"align-x-center-vertical"},{value:"flex-end",title:"End",icon:"align-x-end-vertical"},{value:"space-around",title:"Space around",icon:"align-x-space-around-vertical"},{value:"space-between",title:"Space between",icon:"align-x-space-between-vertical"}]},responsive:!0,states:!0,classes:!0,defaultValue:"center"},alignItems:{label:"Alignment",type:"TextRadioGroup",options:e=>e.direction==="row"?{choices:[{value:"flex-start",title:"Start",icon:"align-y-start"},{value:"center",title:"Center",icon:"align-y-center"},{value:"flex-end",title:"End",icon:"align-y-end"},{value:"stretch",title:"Stretch",icon:"align-y-stretch"},{value:"baseline",title:"Baseline",icon:"align-y-baseline"}]}:{choices:[{value:"flex-start",title:"Start",icon:"align-x-start"},{value:"center",title:"Center",icon:"align-x-center"},{value:"flex-end",title:"End",icon:"align-x-end"},{value:"stretch",title:"Stretch",icon:"align-x-stretch"}]},responsive:!0,states:!0,classes:!0,defaultValue:"flex-start"},flexWrap:{label:"Wrap elements",type:"OnOff",hidden:e=>e.direction!=="row",responsive:!0,states:!0,classes:!0,defaultValue:!0}}},tk={inherit:{type:"ww-text",exclude:["text"]},editor:{label:{en:"Number"},icon:"number",bubble:{icon:"number"},customSettingsPropertiesOrder:["value","locale",["style","currency","currencyDisplay","notation","signDisplay","unit","unitDisplay"],["minimumIntegerDigits","fractionDigits","thousandsSeparator","convertion"]]},properties:{value:{label:{en:"Value"},type:"Text",bindable:!0,defaultValue:3.14159,section:"settings"},locale:{label:{en:"Locale",fr:"Locale"},type:"TextSelect",defaultValue:"ww-project-lang",section:"settings",bindable:!0,bindingValidation:{type:"string",tooltip:'A string that defines the locale code: `"en" | "es" | "fr"` of `"ww-project-lang"` for the current page '}},style:{label:{en:"Style",fr:"Style"},type:"TextSelect",options:{options:[{value:"decimal",label:"Decimal"},{value:"currency",label:"Currency"},{value:"percent",label:"Percent"},{value:"unit",label:"Unit"}]},defaultValue:"currency",section:"settings"},currency:{hidden:e=>e.style!=="currency",label:{en:"Currency",fr:"Currency"},type:"TextSelect",defaultValue:"USD",section:"settings",bindable:!0},currencyDisplay:{hidden:e=>e.style!=="currency",label:{en:"Currency display",fr:"Currency display"},type:"TextSelect",options:{options:[{value:"narrowSymbol",label:"Symbol"},{value:"code",label:"Code"},{value:"name",label:"Name"}]},defaultValue:"narrowSymbol",section:"settings"},notation:{label:{en:"Notation",fr:"Notation"},type:"TextSelect",options:{options:[{value:"standard",label:"Standard"},{value:"scientific",label:"Scientific"},{value:"compact",label:"Compact"}]},defaultValue:"standard",section:"settings"},unit:{hidden:e=>e.style!=="unit",label:{en:"Unit",fr:"Unit"},type:"TextSelect",defaultValue:"celsius",section:"settings",bindable:!0},unitDisplay:{hidden:e=>e.style!=="unit",label:{en:"Unit dysplay",fr:"Unit dysplay"},type:"TextSelect",options:{options:[{value:"long",label:"Long"},{value:"short",label:"Short"},{value:"narrow",label:"Narrow"}]},defaultValue:"short",section:"settings"},minimumIntegerDigits:{type:"Number",label:{en:"Minimum integer digits",fr:"Minimum integer digits"},options:{min:1,max:21},defaultValue:1,section:"settings",bindable:!0},fractionDigits:{type:"Number",label:{en:"Decimal places",fr:"Decimal places"},options:{min:0,max:20},defaultValue:2,section:"settings",bindable:!0},thousandsSeparator:{label:{en:"1000 separator",fr:"1000 separator"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"}}},rk={options:{autoByContent:!0},editor:{label:{en:"Hover dropdown"},icon:"chevron-down",bubble:{icon:"chevron-down"},customStylePropertiesOrder:["internalDisplay",["trigger","closeOnClick"],["appearAnimation","slideOrigin","rotationAngle","animationDuration","animationTimingFunction"],["alignement"],["isMenuBreakpoint","menuBreakpoint"]]},properties:{internalDisplay:{label:{en:"Init display"},type:"OnOff",defaultValue:!0,bindable:!0},trigger:{label:{en:"Show on",fr:"Show on"},type:"TextSelect",options:{options:[{value:"mouseenter",label:{en:"Hover",fr:"Hover"}},{value:"click",label:{en:"Click"}}]},defaultValue:"click"},closeOnClick:{label:{en:"Close on click",fr:"Fermeture au click"},type:"TextSelect",options:{options:[{value:"always",label:{en:"Always",fr:"Toujours"}},{value:"outside",label:{en:"Outside only",fr:"En dehors uniquement"}}]},defaultValue:"always"},appearAnimation:{label:{en:"Appear animation",fr:"Animation d'apparition"},type:"TextSelect",options:{options:[{value:"fade",label:{en:"Fade",fr:"Fade"}},{value:"slideY",label:{en:"Slide Y",fr:"Slide Y"}},{value:"slideX",label:{en:"Slide X",fr:"Slide X"}},{value:"scale",label:{en:"Scale",fr:"Scale"}},{value:"rotate",label:{en:"Rotate",fr:"Rotate"}}]},defaultValue:"fade"},slideOrigin:{type:"Length",label:{en:"Slide origin",fr:"Slide origin"},hidden:e=>!["slideX","slideY"].includes(e.appearAnimation),options:{unitChoices:[{value:"px",label:"px",min:-300,max:300}]},defaultValue:"20px"},rotationAngle:{type:"Length",label:{en:"Rotation angle",fr:"Rotation angle"},hidden:e=>e.appearAnimation!=="rotate",options:{unitChoices:[{value:"deg",label:"deg",min:-180,max:180}]},defaultValue:"-35deg"},animationDuration:{type:"Length",label:{en:"Animation duration",fr:"Durée de l'animation"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},defaultValue:"300ms"},animationTimingFunction:{label:{en:"Animation timing function",fr:"Animation timing function"},type:"TextSelect",options:{options:[{value:"ease",label:{en:"ease",fr:"ease"}},{value:"ease-in",label:{en:"ease-in",fr:"ease-in"}},{value:"ease-out",label:{en:"ease-out",fr:"ease-out"}},{value:"ease-in-out",label:{en:"ease-in-out",fr:"ease-in-out"}},{value:"linear",label:{en:"linear",fr:"linear"}}]},defaultValue:"ease"},alignement:{label:{en:"Alignement"},type:"TextRadioGroup",options:{choices:[{value:"align-left",title:{en:"Left",fr:"Gauche"},icon:"align-left"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"align-center"},{value:"align-right",title:{en:"Right",fr:"Droite"},icon:"align-right"}]},defaultValue:"center"},isMenuBreakpoint:{label:{en:"Mobile view"},type:"OnOff",defaultValue:!0},menuBreakpoint:{hidden:e=>!e.isMenuBreakpoint,label:{en:"Mobile view starting at"},type:"TextRadioGroup",options:{choices:[{value:"laptop",title:{en:"Laptop"},icon:"monitor"},{value:"tablet",title:{en:"Tablet"},icon:"tablet"},{value:"mobile",title:{en:"Mobile"},icon:"mobile"}]},defaultValue:"mobile"},dropdown:{hidden:!0,defaultValue:[],navigator:{group:"Trigger"}},dropdownContent:{hidden:!0,defaultValue:[],navigator:{group:"Content"}}}},ok={editor:{label:{en:"Input select",fr:"Champs sélection"},icon:"select",customStylePropertiesOrder:[["dropdownBorderWidth","dropdownBorderColor","dropdownBorderRadius","dropdownMaxHeight"],["searchFontFamily","searchFontSize","searchFontColor"]],customSettingsPropertiesOrder:["openInEditor","layoutType","required","readonly","disabled","initialValue",["placeholder","noResultsText","noOptionsText"],["options"],["hintFields","labelField","valueField"],["advanced","searchable","closeOnSelect","canDeselect","infiniteScroll","loadingRingColor","limitedOptions","limit"],["clearIcon","caretIcon"]]},options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],inherit:{type:"ww-text",exclude:["text"]},properties:{layoutType:{label:{en:"Layout type"},type:"TextSelect",options:{options:[{value:"text",label:{en:"Text"}},{value:"free",label:{en:"Free layout"}}]},defaultValue:"text",section:"settings"},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},openInEditor:{type:"OnOff",label:{en:"Force open in editor"},editorOnly:!0,defaultValue:!1,section:"settings",hidden:e=>e.readonly||e.disabled},required:{type:"OnOff",label:{en:"Required",fr:"Required"},defaultValue:!1,bindable:!0,section:"settings"},placeholder:{label:{en:"Placeholder",fr:"Texte par défaut"},type:"Text",defaultValue:{en:"Placeholder"},section:"settings",bindable:!0,multiLang:!0},noOptionsText:{label:{en:"No options text",fr:"No options text"},type:"Text",section:"settings",multiLang:!0,bindable:!0},noResultsText:{label:{en:"No results text",fr:"No results text"},type:"Text",section:"settings",multiLang:!0,bindable:!0},disabled:{label:{en:"Disabled",fr:"Désactivé"},type:"OnOff",defaultValue:!1,section:"settings",bindable:!0},advanced:{type:"OnOff",label:{en:"Display advanced options"},defaultValue:!1,bindable:!0,section:"settings"},canDeselect:{hidden:e=>!e.advanced,label:{en:"Can unselect"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},searchable:{hidden:e=>!e.advanced,label:{en:"Searchable",fr:"Recherche"},bindable:!0,type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},searchFontFamily:{label:{en:"Search font family"},type:"FontFamily",responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},searchFontSize:{label:{en:"Search font size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:100},{value:"em",label:"em",min:1,max:10,digits:2},{value:"rem",label:"rem",min:1,max:10,digits:2}]},responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},searchFontColor:{label:{en:"Search font color"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,classes:!0,hidden:e=>!e.searchable},closeOnSelect:{hidden:e=>!e.advanced,label:{en:"Close on select",fr:"Ferme à la sélection"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},infiniteScroll:{hidden:e=>!e.advanced,label:{en:"Infinite scroll",fr:"Scroll infini"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},loadingRingColor:{hidden:e=>!e.advanced||!e.infiniteScroll,label:{en:"Loading ring color"},type:"Color",defaultValue:"#099af2",bindable:!0,section:"settings",classes:!0,states:!0,responsive:!0},limitedOptions:{hidden:e=>!e.advanced,label:{en:"Limited options",fr:"Options limitées"},type:"OnOff",defaultValue:!1,section:"settings"},limit:{hidden:e=>!e.advanced||!e.limitedOptions,type:"Number",label:{en:"Limit",fr:"Limite"},options:{min:10,max:50,step:1},defaultValue:20,bindable:!0,section:"settings"},clearIcon:{label:{en:"Clear icon"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},caretIcon:{label:{en:"Caret icon"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},initialValue:{label:{en:"Initial value",fr:"Valeur initiale"},type:"Text",bindable:!0,section:"settings"},options:{label:{en:"Options",fr:"Options"},type:"Array",section:"settings",options:{item:{type:"Object",defaultValue:{label:{en:"New option"},value:""},options:{item:{label:{label:{en:"Label"},type:"Text",options:{placeholder:"Label"},multiLang:!0},value:{label:{en:"Value"},type:"Text",options:{placeholder:"Value"}},image:{hidden:e=>e.layoutType!=="imageText",label:{en:"Image"},type:"Text",options:{placeholder:"Image link"}}}}}},defaultValue:[{value:"option",label:{en:"option - 1"}},{value:"option2",label:{en:"option - 2"}}],bindable:!0},hintFields:{hidden:(e,t,r)=>!r.options||e.options,label:{en:"Options fields",fr:"Champs des options"},type:"Info",options:{text:{en:"Please provide at least one option to configure fields"}},editorOnly:!0,section:"settings"},labelField:{hidden:(e,t,r)=>!r.options||!e.options,label:{en:"Label field",fr:"Label field"},type:"ObjectPropertyPath",options:e=>!e.options.length||typeof e.options[0]!="object"?null:{object:e.options[0]},defaultValue:"",section:"settings",multiLang:!0},valueField:{hidden:(e,t,r)=>!r.options||!e.options,label:{en:"Value field",fr:"Value field"},type:"ObjectPropertyPath",options:e=>!e.options.length||typeof e.options[0]!="object"?null:{object:e.options[0]},defaultValue:"",section:"settings"},placeholderElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Placeholder text",style:{default:{color:"#D1D5DB"}}}},navigator:{group:"Select"}},textElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text",state:{name:"Option text",style:{default:{color:"#BD0F0F",width:"100%"}}}},navigator:{group:"Option",hidden:e=>e.layoutType==="free"}},flexboxElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",state:{name:"Option container",style:{default:{width:"100%"}}}},navigator:{group:"Option",hidden:e=>e.layoutType!=="free"}},caretIconElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",state:{name:"Caret icon",style:{default:{padding:"0px 12px"}}},content:{default:{icon:"fas fa-caret-down",color:"#9CA3AF",fontSize:"16"}}},navigator:{group:"Select"}},clearIconElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",state:{name:"Clear icon",style:{default:{padding:"12px"}}},content:{default:{icon:"wwi wwi-cross",color:"#9CA3AF",fontSize:"14"}}},navigator:{group:"Select"}},dropdownBorderWidth:{type:"Length",label:{en:"Dropdown border width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},dropdownBorderColor:{label:{en:"Dropdown border color"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},dropdownBorderRadius:{type:"Length",label:{en:"Dropdown border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},dropdownMaxHeight:{label:{en:"Dropdown max height"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:500}]},responsive:!0,states:!0,defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0}}},nk={options:{displayAllowedValues:["flex","block","inline-block","inline-flex"]},inherit:{type:"ww-layout"},editor:{label:{fr:"Conteneur de formulaire",en:"Form Container"},icon:"pencil",bubble:{icon:"pencil"},workflowHint:()=>{const e=wwLib.wwUtils.getSelectedComponent();return!e||e.querySelector('[data-ww-flag="btn-submit"]')?!1:{type:"warning",header:{en:"Submit button missing!",fr:"Bouton de soumission manquant !"},text:{en:'A form container require a button with type submit to use the "on submit" trigger.',fr:"Un conteneur de formulaire à besoin d'un bouton avec le type submit pour délencher l'évènement de soumission."}}}},triggerEvents:[{name:"submit",label:{en:"On submit"},default:!0}],properties:{formContent:{hidden:!0,defaultValue:[]},autocomplete:{section:"settings",label:{en:"Autocomplete",fr:"Autocomplétion"},type:"OnOff",defaultValue:!0}}},ak={editor:{label:{en:"Icon",fr:"Icône"},icon:"star"},options:{displayAllowedValues:["flex","inline-flex"],linkable:!0},properties:{fontSize:{label:{en:"Size",fr:"Taille"},type:"Number",bindable:!0,responsive:!0,states:!0,classes:!0},color:{label:{en:"Color",fr:"Couleur"},type:"Color",bindable:!0,responsive:!0,states:!0,classes:!0},icon:{label:{en:"Icon",fr:"Icône"},type:"Icon",bindable:!0,states:!0,defaultValue:"wwi wwi-icon"}}},ik={editor:{label:{en:"Checkbox",fr:"Checkbox"},icon:"check"},options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],properties:{value:{label:{en:"Init value"},type:"OnOff",section:"settings",bindable:!0},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},isEmbeddedContainer:{type:"OnOff",label:{en:"Embedded container",fr:"Embedded container"},section:"settings",responsive:!0,defaultValue:!1},containerPosition:{hidden:e=>!e.isEmbeddedContainer,label:{en:"Container position",fr:"Position du container"},type:"TextSelect",options:{options:[{value:"right",label:{en:"Right"}},{value:"left",label:{en:"Left"}},{value:"top",label:{en:"Top"}},{value:"bottom",label:{en:"Bottom"}}]},section:"settings",responsive:!0,states:!0,classes:!0,defaultValue:"right"},embeddedContainer:{hidden:!0,defaultValue:null},checkbox:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-checkbox",content:{color:"#FFFFFF",fontSize:10,icon:"fas fa-check"},state:{states:[{id:"checked",label:"checked"}],style:{default:{backgroundColor:"#FFFFFF",border:"1px solid #767676",borderRadius:"4px",cursor:"pointer",height:"auto",padding:"2px",width:"auto"},checked_default:{backgroundColor:"#767676"}}}}}}},lk={editor:{label:{en:"Checkbox",fr:"Checkbox"},icon:"check"},options:{displayAllowedValues:["flex","inline-flex"]},properties:{fontSize:{label:{en:"Size",fr:"Taille"},type:"Number",bindable:!0,responsive:!0,states:!0,classes:!0},color:{label:{en:"Color",fr:"Couleur"},type:"Color",bindable:!0,responsive:!0,states:!0,classes:!0},icon:{label:{en:"Icon",fr:"Icône"},type:"Icon",bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"wwi wwi-check"}}},Tv={submit:"sub",reset:"rst",button:"btn"},sk={inherit:"ww-text",options:{autoByContent:!0,displayAllowedValues:["flex","inline-flex"],linkable:!0},editor:{label:{en:"Button",fr:"Bouton"},icon:"cursor-click",infoTags:e=>e.buttonType&&Tv[e.buttonType]?{color:"var(--ww-color-blue-500)",backgroundColor:"var(--ww-color-blue-100)",text:Tv[e.buttonType].toUpperCase(),action:()=>{wwLib.wwSearchBar.executeAction({actions:wwLib.wwSearchBar.getEditSidebarActions("settings","custom-0")})}}:[],workflowHint:e=>e.buttonType!=="submit"?!1:{type:"warning",header:{en:"You probably shouldn’t trigger workflows on submit buttons.",fr:"Vous ne devriez pas déclencher un workflow depuis un bouton submit"},text:{en:"For your users to benefit from automatic form field validation, you should trigger submit workflows on the form container. Unless you are 100% sure of what you’re doing and want to bypass this behavior.",fr:"Pour que vos utilisateurs bénéficient de la validation automatique des champs de formulaire, vous devez déclencher des workflows de soumission sur le conteneur de formulaire. À moins que vous ne soyez sûr à 100 % de ce que vous faites et que vous souhaitiez contourner ce comportement."},button:{text:{en:"Select form container",fr:"Selectionnez le form container"},action:"selectParentFormContainer"}}},states:["focus","disabled"],triggerEvents:[{name:"focus",label:{en:"On focus"},event:null},{name:"blur",label:{en:"On blur"},event:null}],properties:{backgroundColor:{label:{en:"Text Background",fr:"Background du Texte"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,classes:!0},buttonType:{label:{en:"Type",fr:"Type"},type:"TextSelect",section:"settings",options:{options:[{value:null,label:"none"},{value:"button",label:"Button"},{value:"submit",label:"Submit Button"}]},defaultValue:"button",bindable:!0,bindingValidation:{type:"string",tooltip:'A string that defines the button type: `"button" | "submit"`'}},disabled:{label:{en:"Disabled"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},hasLeftIcon:{label:{en:"Left icon",fr:"Icône gauche"},section:"settings",type:"OnOff"},leftIcon:{hidden:!0},hasRightIcon:{label:{en:"Right icon",fr:"Icône droite"},type:"OnOff",section:"settings"},rightIcon:{hidden:!0}}},dk={editor:{label:{en:"Paginator",fr:"Paginateur"},icon:"dots-horizontal",bubble:{icon:"dots-horizontal"}},triggerEvents:[{name:"change",label:{en:"On change"},event:{context:{page:0,offset:0,limit:0,total:0}}}],properties:{useCustomPagination:{label:{en:"Custom pagination",fr:"Pagination personnalisée"},type:"OnOff",defaultValue:!1},collectionId:{hidden:e=>e.useCustomPagination,label:{en:"Collection",fr:"Collection"},type:"Collection",options:{paginated:!0},defaultValue:null},paginatorText:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text"}},paginatorPrev:{hidden:!0,defaultValue:{isWwObject:!0,type:"83d890fb-84f9-4386-b459-fb4be89a8e15",content:{icon:"fas fa-angle-left"}}},paginatorNext:{hidden:!0,defaultValue:{isWwObject:!0,type:"83d890fb-84f9-4386-b459-fb4be89a8e15",content:{icon:"fas fa-angle-right"}}},paginatorTotal:{hidden:e=>!e.useCustomPagination,label:{en:"Total items",fr:"Total items"},type:"Number",defaultValue:10,bindable:!0},paginatorLimit:{hidden:e=>!e.useCustomPagination,label:{en:"Items per page",fr:"Items per page"},type:"Number",defaultValue:5,bindable:!0},paginatorOffset:{hidden:e=>!e.useCustomPagination,label:{en:"Offset",fr:"Offset"},type:"Number",defaultValue:0,bindable:!0}}};function Av(e){return typeof e=="object"&&"type"in e&&e.type==="collection"&&e.data?e.limit!==null?e.data.slice(e.offset,e.offset+e.limit):e.data:Array.isArray(e)?e.filter(t=>t!==void 0):[]}const uk={editor:{label:{en:"Slider"},icon:"slider",bubble:{icon:"slider"},customSettingsPropertiesOrder:[["mainLayoutContent","slideIndex"],["slidesPerView","spaceBetween","effect","transitionDuration"],"navigation","pagination","loop","automatic",["automaticTiming","linearTransition"],"mousewheel",["mousewheelForceToAxis","mousewheelInvert","mousewheelSensitivity"]]},properties:{mainLayoutContent:{label:{en:"Bind slides"},bindable:"repeatable",type:"Info",options:{text:" "},section:"settings",defaultValue:[{isWwObject:!0,type:"ww-flexbox"},{isWwObject:!0,type:"ww-flexbox"},{isWwObject:!0,type:"ww-flexbox"}],navigator:{group:"Slides"}},slideIndex:{label:{en:"Slides",fr:"Slides"},type:"Tabs",editorOnly:!0,options:(e,t,r)=>{const o=!!r.mainLayoutContent,a=Av(e.mainLayoutContent);return{labels:a.map((i,n)=>({label:`slide ${n+1}`})),prefixLabel:"Slide",nbTabs:a.length,add:"addSlide",remove:"removeSlide",fixed:o}},section:"settings",defaultValue:0},slidesPerView:{type:"Number",label:{en:"Slides per view",fr:"Slides per view"},options:e=>({min:1,max:Av(e.mainLayoutContent).length,step:1}),responsive:!0,states:!0,bindable:!0,classes:!0,defaultValue:1,section:"settings"},spaceBetween:{type:"Length",label:{en:"Space between",fr:"Space between"},options:{unitChoices:[{value:"px",label:"px"}]},responsive:!0,states:!0,bindable:!0,classes:!0,section:"settings"},effect:{label:{en:"Effect",fr:"Effect"},type:"TextSelect",options:{options:[{value:"slide",label:{en:"slide"}},{value:"fade",label:{en:"fade"}},{value:"coverflow",label:{en:"coverflow"}},{value:"flip",label:{en:"flip"}},{value:"cards",label:{en:"cards"}}]},responsive:!0,states:!0,bindable:!0,classes:!0,section:"settings"},transitionDuration:{type:"Length",label:{en:"Transition duration",fr:"Transition duration"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:2e4}]},section:"settings",responsive:!0,states:!0,bindable:!0,classes:!0},navigation:{type:"OnOff",label:{en:"Navigation",fr:"Navigation"},defaultValue:!0,section:"settings"},pagination:{type:"OnOff",label:{en:"Pagination",fr:"Pagination"},defaultValue:!1,section:"settings"},loop:{type:"OnOff",label:{en:"Loop",fr:"Loop"},defaultValue:!1,section:"settings"},automatic:{type:"OnOff",label:{en:"Autoplay",fr:"Autoplay"},defaultValue:!1,section:"settings"},automaticTiming:{hidden:e=>!e.automatic,type:"Length",label:{en:"Timing",fr:"Timing"},options:{unitChoices:[{value:"s",label:"s",min:0,max:20}]},defaultValue:"3s",section:"settings"},linearTransition:{hidden:e=>!e.automatic,type:"OnOff",label:{en:"Linear transition",fr:"Linear transition"},defaultValue:!1,section:"settings"},mousewheel:{type:"OnOff",label:{en:"Mousewheel control",fr:"Mousewheel control"},defaultValue:!1,section:"settings"},mousewheelForceToAxis:{hidden:e=>!e.mousewheel,type:"OnOff",label:{en:"Force to axis",fr:"Force to axis"},defaultValue:!1,section:"settings"},mousewheelInvert:{hidden:e=>!e.mousewheel,type:"OnOff",label:{en:"Invert direction",fr:"Invert direction"},defaultValue:!1,section:"settings"},mousewheelSensitivity:{hidden:e=>!e.mousewheel,type:"Number",label:{en:"Sensitivity",fr:"Sensitivity"},defaultValue:1,section:"settings"},slidesContainer:{hidden:!0,defaultValue:[]},navigationIcons:{hidden:!0,defaultValue:[{isWwObject:!0,type:"83d890fb-84f9-4386-b459-fb4be89a8e15"},{isWwObject:!0,type:"83d890fb-84f9-4386-b459-fb4be89a8e15"}]},bulletsIcons:{hidden:!0,defaultValue:{isWwObject:!0,type:"83d890fb-84f9-4386-b459-fb4be89a8e15"}}}},ck={editor:{label:{en:"Dialog",fr:"Dialog"},icon:"cursor-click",hint:()=>[{type:"brand",text:"Open the dialog externally by using workflow action 'Execute component action' with the correct dialog name",icon:"16/circle-info"},{type:"brand",text:"When working with Z-index, apply it to both Content and Overlay elements",icon:"16/circle-info"}]},inherit:{type:"ww-layout"},options:{displayAllowedValues:["flex","grid","inline-flex","inline-grid"]},states:["focus","disabled"],triggerEvents:[{name:"change",label:{en:"On open status change",fr:"Changement de valeur"},event:{value:!0}},{name:"open",label:{en:"On open",fr:"À l'ouverture"}},{name:"close",label:{en:"On close",fr:"À la fermeture"}}],actions:[{label:"Toggle",action:"toggleDialog"},{label:"Open",action:"openDialog"},{label:"Close",action:"closeDialog"}],properties:{toggleDialog:{type:"Button",editorOnly:!0,options:{text:{en:"Toggle"},action:"toggleDialog"}},type:{label:{en:"Type",fr:"Type"},type:"TextSelect",section:"style",options:{options:[{value:"none",label:{en:"None",fr:"Aucun"}},{value:"modal",label:{en:"Modal",fr:"Modal"}},{value:"sheet",label:{en:"Sheet",fr:"Sheet"}}]},bindable:!0,defaultValue:"modal",propertyHelp:{tooltip:'If set to "none", the dialog will be unpositioned. If set to "modal", the dialog will be displayed as a modal which can be placed in various positions. If set to "sheet", the dialog will be displayed as a full width or height element on a side of the screen.'}},sideModal:{label:{en:"Side",fr:"Positionnement"},type:"TextSelect",section:"style",options:{options:[{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"center",label:{en:"Center",fr:"Centre"}},{value:"right",label:{en:"Right",fr:"Droite"}},{value:"custom",label:{en:"Custom",fr:"Personnalisé"}}]},defaultValue:"center",hidden:e=>e.type!=="modal",bindable:!0},customPositionX:{hidden:e=>e.sideModal!=="custom"||e.type!=="modal",label:{en:"Horizontal",fr:"Horizontal"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",bindable:!0},sideSheet:{label:{en:"Side",fr:"Positionnement"},type:"TextSelect",section:"style",options:{options:[{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"top",label:{en:"Top",fr:"Haut"}},{value:"right",label:{en:"Right",fr:"Droite"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}}]},hidden:e=>e.type!=="sheet",defaultValue:"top",bindable:!0},align:{hidden:e=>e.type!=="modal",label:{en:"Align",fr:"Alignement"},type:"TextSelect",section:"style",options:{options:[{value:"top",label:{en:"Top",fr:"Haut"}},{value:"center",label:{en:"Center",fr:"Centre"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}},{value:"custom",label:{en:"Custom",fr:"Personnalisé"}}]},defaultValue:"center",bindable:!0},customPositionY:{hidden:e=>e.align!=="custom"||e.type!=="modal",label:{en:"Vertical",fr:"Vertical"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",bindable:!0},animation:{label:{en:"Animation",fr:"Animation"},section:"style",type:"TextSelect",options:{options:[{value:null,label:{en:"None",fr:"Aucune"}},{value:"fade",label:{en:"Fade",fr:"Fondu"}},{value:"slide-in",label:{en:"Slide in",fr:"Diapositive"}},{value:"zoom",label:{en:"Zoom",fr:"Zoom"}}]},defaultValue:null,bindable:!0},slideInDirection:{hidden:e=>e.animation!=="slide-in"||e.animation===null,label:{en:"Direction",fr:"Direction"},type:"TextSelect",section:"style",options:{options:[{value:"top",label:{en:"Top",fr:"Haut"}},{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}},{value:"right",label:{en:"Right",fr:"Droite"}}]},defaultValue:"top",bindable:!0},animationDuration:{label:{en:"Animation duration (ms)",fr:"Durée de l'animation (ms)"},section:"style",type:"Number",defaultValue:300,options:{min:0,max:1e4},bindable:!0,hidden:e=>e.animation===null},animationEasing:{label:{en:"Animation easing",fr:"Animation easing"},section:"style",type:"TextSelect",options:{options:[{value:"linear",label:{en:"Linear",fr:"Linéaire"}},{value:"ease",label:{en:"Ease",fr:"Acceleration"}},{value:"ease-in",label:{en:"Ease in",fr:"Acceleration progressive"}},{value:"ease-out",label:{en:"Ease out",fr:"Deceleration"}},{value:"ease-in-out",label:{en:"Ease in out",fr:"Acceleration et déclinaison"}}]},defaultValue:"linear",bindable:!0,hidden:e=>e.animation===null},preventScroll:{label:{en:"Prevent Scrolling",fr:"Désactiver le scroll"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"Whether users can scroll the page when the dialog is open."}},escClose:{label:{en:"Escape key to close",fr:"La touche échap pour fermer"},type:"OnOff",defaultValue:!1,bindable:!0,propertyHelp:{tooltip:"Whether the dialog should be closed when the escape key is pressed."}},trigger:{label:{en:"Trigger",fr:"Déclencheur"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"Whether the trigger component is present."}},triggerClickOpens:{type:"OnOff",label:{en:"Trigger click opens",fr:"Ouverture au clic"},defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"You can disable the whole trigger to open the Dialog. For example, if you want to open it with a smaller icon or button inside the trigger."},hidden:e=>!e.trigger},overlay:{label:{en:"Overlay",fr:"Overlay"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"Whether you want to display an overlay behind your dialog."}},clickOutsideCloses:{label:{en:"Click outside to close",fr:"Fermeture au clic"},type:"OnOff",defaultValue:!1,bindable:!0,propertyHelp:{tooltip:"Whether the dialog should be closed when the user clicks outside the dialog."},hidden:e=>e.overlay},overlayClickCloses:{type:"OnOff",label:{en:"Overlay click closes",fr:"Fermeture au clic"},defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"You can prevent the dialog from closing when the user clicks the overlay."},hidden:e=>!e.overlay},preventInteractionsOutside:{hidden:e=>e.overlay||e.clickOutsideCloses,label:{en:"Prevent interaction outside"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"If this is true, all interactions are disabled outside the dialog content. If you have this off, but have an overlay, you won't be able to interact with outside elements."}},triggerElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",name:"Trigger"},navigator:{hidden:e=>!e.trigger}},contentElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",name:"Content"}},overlayElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",name:"Overlay"},navigator:{hidden:e=>!e.overlay}}}},mk={editor:{label:{en:"Paginator",fr:"Paginateur"},icon:"dots-horizontal",bubble:{icon:"dots-horizontal"}},triggerEvents:[{name:"change",label:{en:"On change"},event:{context:{page:0,offset:0,limit:0,total:0}}}],properties:{useCustomPagination:{label:{en:"Custom pagination",fr:"Pagination personnalisée"},type:"OnOff",defaultValue:!1},collectionId:{hidden:e=>e.useCustomPagination,label:{en:"Collection",fr:"Collection"},type:"Collection",options:{paginated:!0},defaultValue:null},paginatorText:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-text"}},paginatorPrev:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",content:{icon:"fas fa-angle-left"}}},paginatorNext:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-icon",content:{icon:"fas fa-angle-right"}}},paginatorTotal:{hidden:e=>!e.useCustomPagination,label:{en:"Total items",fr:"Total items"},type:"Number",defaultValue:10,bindable:!0},paginatorLimit:{hidden:e=>!e.useCustomPagination,label:{en:"Items per page",fr:"Items per page"},type:"Number",defaultValue:5,bindable:!0},paginatorOffset:{hidden:e=>!e.useCustomPagination,label:{en:"Offset",fr:"Offset"},type:"Number",defaultValue:0,bindable:!0}}},gk={inherit:["ww-text"],editor:{label:{en:"Text",fr:"Texte"},icon:"text",infoTag:e=>({color:"var(--ww-color-blue-500)",backgroundColor:"var(--ww-color-blue-100)",text:e.tag==="button"?"BTN":e.tag&&e.tag.toUpperCase(),action:()=>{wwLib.wwSearchBar.executeAction({actions:wwLib.wwSearchBar.getEditSidebarActions("settings","custom-0")})}})},options:{linkable:!0},properties:{tag:{label:{en:"Html tag",fr:"Tag html"},section:"settings",type:"TextSelect",options:{options:[{value:"p",label:"P"},{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"button",label:"Button"},{value:"div",label:"Div"}]},defaultValue:"p"}}},fk={editor:{label:"Donut progress bar",customSettingsPropertiesOrder:["value"],customStylePropertiesOrder:["style",["fillInfo","thickness","fillColor"],["emptyInfo","emptyThickness","emptyColor"],["animationInfo","animationDuration","animationDelay"]]},options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:"On change",event:{value:""}}],properties:{value:{type:"Number",label:"Value",defaultValue:65,bindable:!0,section:"settings"},style:{label:"Style",type:"TextSelect",options:{options:[{value:"center",label:"Center"},{value:"out",label:"Out"},{value:"out-over",label:"Out over"},{value:"in",label:"In"},{value:"in-over",label:"In over"}]},defaultValue:"center",states:!0,responsive:!0,classes:!0},offset:{hidden:e=>e.style!=="out"&&e.style!=="in",type:"Length",label:"Line offset",options:{unitChoices:[{value:"px",label:"px",min:0,max:50}]},states:!0,responsive:!0,classes:!0},fillInfo:{type:"Info",label:"Fill"},thickness:{type:"Length",label:"Thickness",options:{unitChoices:[{value:"px",label:"px",min:1,max:50}]},states:!0,responsive:!0,classes:!0},emptyInfo:{type:"Info",label:"Empty"},emptyThickness:{type:"Length",label:"Thickness",options:{unitChoices:[{value:"px",label:"px",min:1,max:50}]},states:!0,responsive:!0,classes:!0},fillColor:{type:"Color",label:"Color",options:{nullable:!0},states:!0,responsive:!0,classes:!0,bindable:!0},emptyColor:{type:"Color",label:"Color",options:{nullable:!0},states:!0,responsive:!0,classes:!0,bindable:!0},animationInfo:{type:"Info",label:"Animation"},animationDuration:{type:"Length",label:"Duration",options:{unitChoices:[{value:"ms",label:"ms",min:1,max:999}]},states:!0,responsive:!0,classes:!0},animationDelay:{type:"Length",label:"Delay",options:{unitChoices:[{value:"ms",label:"ms",min:1,max:999}]},states:!0,responsive:!0,classes:!0},container:{hidden:!0,defaultValue:[]}}},pk={editor:{deprecated:"Use the input file from the Elements panel instead of this one.",label:"Input File",icon:"upload",bubble:{icon:"upload"}},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],options:{displayAllowedValues:["flex","inline-flex"]},properties:{button:{defaultValue:{isWwObject:!0,type:"ww-button"},hidden:!0},text:{defaultValue:{isWwObject:!0,type:"ww-text"},hidden:!0},multiple:{label:"Multiple",type:"OnOff",section:"settings",defaultValue:!1},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},accept:{label:"Extensions",type:"TextSelect",options:{options:[{label:"Any",value:"any"},{label:"Image",value:"image"},{label:"Video",value:"video"},{label:"Audio",value:"audio"},{label:"PDF",value:"pdf"},{label:"CSV",value:"csv"},{label:"Excel file",value:"xls"},{label:"Word file",value:"doc"},{label:"JSON",value:"json"},{label:"Custom",value:"custom"}]},section:"settings",defaultValue:"any"},acceptCustom:{type:"Text",options:{placeholder:".html, .xml, .pt"},section:"settings",hidden:e=>e.accept!=="custom",defaultValue:""}}},bk={editor:{label:{en:"PDF viewer"},icon:"document-report"},properties:{pdf:{label:{en:"PDF Url",fr:"PDF Url"},type:"Text",options:{placeholder:"PDF url"},defaultValue:"https://weweb-staging.s3.amazonaws.com/designs/1fb3c298-9f4f-4b49-9661-35a8eee7941b/files/Focussurcatnat.pdf",bindable:!0}}},hk={editor:{label:{en:"Loader"},icon:"loader"},options:{displayAllowedValues:["flex","inline-flex"]},properties:{spinner:{label:{en:"Loader",fr:"Loader"},type:"TextSelect",options:{options:[{value:"plane",label:{en:"Plane"}},{value:"chase",label:{en:"Chase"}},{value:"bounce",label:{en:"Bounce"}},{value:"wave",label:{en:"Wave"}},{value:"pulse",label:{en:"Pulse"}},{value:"flow",label:{en:"Flow"}},{value:"swing",label:{en:"Swing"}},{value:"circle",label:{en:"Circle"}},{value:"circle-fade",label:{en:"Circle Fade"}},{value:"grid",label:{en:"Grid"}},{value:"fold",label:{en:"Fold"}},{value:"wander",label:{en:"Wander"}}]},defaultValue:"plane"},color:{label:{en:"Color"},type:"Color",bindable:!0,responsive:!0,states:!0,classes:!0},size:{label:{en:"Size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:2e3}]},bindable:!0,responsive:!0,states:!0,classes:!0}}},xk={editor:{label:{en:"Editable List"},icon:"collection"},properties:{initialItems:{label:{en:"Initial items"},type:"Array",section:"settings",bindable:!0,defaultValue:[{en:"Item 1"},{en:"Item 2"},{en:"Item 3"}],options:{expandable:!0,getItemLabel(e,t){return e||`Item ${t+1}`},item:{type:"Text"}}},isObjectItems:{label:{en:"Use object items"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},displayField:{label:{en:"Display field property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.initialItems)==null?void 0:t[0])||{}}},defaultValue:{en:"text"},hidden:e=>!e.isObjectItems},emptyMessage:{label:{en:"Empty list message"},type:"Text",multiLang:!0,section:"settings",bindable:!0,defaultValue:{en:"No items in the list"}},showAddField:{label:{en:"Show add field"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},addPlaceholder:{label:{en:"Add field placeholder"},type:"Text",multiLang:!0,section:"settings",bindable:!0,defaultValue:{en:"Add new item..."},hidden:e=>!e.showAddField},addIcon:{label:{en:"Add button icon"},type:"SystemIcon",section:"settings",bindable:!0,defaultValue:"plus-circle",hidden:e=>!e.showAddField},showRemoveButton:{label:{en:"Show remove buttons"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},removeIcon:{label:{en:"Remove button icon"},type:"SystemIcon",section:"settings",bindable:!0,defaultValue:"trash",hidden:e=>!e.showRemoveButton},listBackgroundColor:{label:{en:"List background color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},showBorder:{label:{en:"Show list border"},type:"OnOff",section:"style",bindable:!0,defaultValue:!0},borderColor:{label:{en:"Border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd",hidden:e=>!e.showBorder},borderRadius:{label:{en:"Border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px"},maxHeight:{label:{en:"Max height"},type:"Length",section:"style",bindable:!0,defaultValue:""},itemBackgroundColor:{label:{en:"Item background color"},type:"Color",section:"style",bindable:!0,defaultValue:"transparent"},itemTextColor:{label:{en:"Item text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#333333"},selectedItemBackgroundColor:{label:{en:"Selected item background"},type:"Color",section:"style",bindable:!0,defaultValue:"rgba(0, 123, 255, 0.1)"},selectedItemTextColor:{label:{en:"Selected item text color"},type:"Color",section:"style",bindable:!0,defaultValue:""},emptyMessageColor:{label:{en:"Empty message color"},type:"Color",section:"style",bindable:!0,defaultValue:"#999999"},itemPadding:{label:{en:"Item padding"},type:"Length",section:"style",bindable:!0,defaultValue:"10px"},showItemDividers:{label:{en:"Show item dividers"},type:"OnOff",section:"style",bindable:!0,defaultValue:!0},dividerColor:{label:{en:"Divider color"},type:"Color",section:"style",bindable:!0,defaultValue:"#eeeeee",hidden:e=>!e.showItemDividers},addSectionSpacing:{label:{en:"Add section spacing"},type:"Length",section:"style",bindable:!0,defaultValue:"10px",hidden:e=>!e.showAddField},inputBackgroundColor:{label:{en:"Input background color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff",hidden:e=>!e.showAddField},inputTextColor:{label:{en:"Input text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#333333",hidden:e=>!e.showAddField},inputBorderColor:{label:{en:"Input border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd",hidden:e=>!e.showAddField},inputPadding:{label:{en:"Input padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px",hidden:e=>!e.showAddField},inputBorderRadius:{label:{en:"Input border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px",hidden:e=>!e.showAddField},addButtonColor:{label:{en:"Add button color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4CAF50",hidden:e=>!e.showAddField},addButtonTextColor:{label:{en:"Add button icon color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff",hidden:e=>!e.showAddField},removeButtonColor:{label:{en:"Remove button color"},type:"Color",section:"style",bindable:!0,defaultValue:"#f44336",hidden:e=>!e.showRemoveButton},removeButtonTextColor:{label:{en:"Remove button icon color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff",hidden:e=>!e.showRemoveButton},buttonPadding:{label:{en:"Button padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px",hidden:e=>!e.showAddField&&!e.showRemoveButton},buttonBorderRadius:{label:{en:"Button border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px",hidden:e=>!e.showAddField&&!e.showRemoveButton},buttonMargin:{label:{en:"Add button spacing"},type:"Length",section:"style",bindable:!0,defaultValue:"8px",hidden:e=>!e.showAddField&&!e.showRemoveButton},inputFocusBoxShadow:{label:{en:"Input focus shadow"},type:"Shadows",section:"style",bindable:!0,defaultValue:"0 0 0 3px rgba(0, 123, 255, 0.25)",hidden:e=>!e.showAddField}},triggerEvents:[{name:"change",label:{en:"On list change"},event:{value:[]},default:!0},{name:"itemAdded",label:{en:"On item added"},event:{value:null}},{name:"itemRemoved",label:{en:"On item removed"},event:{value:null}},{name:"selectionChange",label:{en:"On selection change"},event:{value:null,index:-1}},{name:"initItemsChange",label:{en:"On initial items change"},event:{value:[]}}],actions:[{action:"addItem",label:{en:"Add item"},args:[{name:"text",type:"string",label:{en:"Item text"}}]},{action:"removeItem",label:{en:"Remove item"},args:[{name:"index",type:"number",label:{en:"Item index"}}]},{action:"selectItem",label:{en:"Select item"},args:[{name:"index",type:"number",label:{en:"Item index"}}]},{action:"clearItems",label:{en:"Clear all items"}}]},_k={type:"wwObject",options:{sizable:!0,ignoredStyleProperties:["overflow"],linkable:!0},editor:{label:{fr:"Image",en:"Image"},icon:"photograph"},properties:{url:{label:{en:"Image",fr:"Image"},type:"Image",bindable:!0,defaultValue:"https://cdn.weweb.app/public/images/no_image_selected.png"},objectFit:{label:{en:"Fit"},type:"TextSelect",options:{options:[{value:null,default:!0,label:{en:"Fill"}},{value:"cover",label:{en:"Cover"}},{value:"contain",label:{en:"Contain"}}]},responsive:!0,states:!0,classes:!0,defaultValue:null},overlay:{type:"Color",label:{en:"Overlay"},options:{nullable:!0,gradient:!0},responsive:!0,states:!0,bindable:!0,classes:!0},filter:{type:"CssFilters",label:{en:"Filters"},responsive:!0,states:!0,bindable:!0,classes:!0},alt:{section:"settings",label:{en:"Alt",fr:"Alt"},type:"Text",multiLang:!0,bindable:!0,options:{placeholder:"Image description"},defaultValue:{en:""}},loading:{section:"settings",label:{en:"Loading"},type:"TextSelect",options:{options:[{value:"lazy",label:{en:"Lazy"},default:!0},{value:"eager",label:{en:"Eager"}}]},defaultValue:"lazy"}}},vk={options:{lazyHydrate:!0,displayAllowedValues:(e,t)=>(t==null?void 0:t.overrideDisplayValues)??["flex","block","grid","table-cell","table-row","table-header-group","inline-flex","inline-block","inline-grid"],linkable:!0},inherit:[{type:"ww-layout"},{type:"ww-background-video"}],editor:{label:{en:"Flexbox"},icon:"border",bubble:{icon:"border"},customStylePropertiesOrder:["children"]},properties:{children:{label:{en:"Items",fr:"Items"},type:"Repeat",options:{text:{en:"Elements to repeat"}},hidden:(e,t,r,o)=>!!(o&&o.isFixed)||o.noDropzone,bindable:"repeatable",defaultValue:[]}}},yk={editor:{label:{en:"Skeleton Loader"},icon:"loader"},properties:{animationType:{label:{en:"Animation Type"},type:"TextSelect",bindable:!0,defaultValue:"wave",section:"settings",options:{options:[{value:"wave",label:{en:"Wave"},icon:"animation"},{value:"pulse",label:{en:"Pulse"},icon:"animation"},{value:"shimmer",label:{en:"Shimmer"},icon:"animation"}]}}}},Sk={editor:{label:{en:"Accordion",fr:"Accordion"},icon:"view-grid"},properties:{value:{label:{en:"Init value"},type:"OnOff",section:"settings",bindable:!0},toggleLayout:{hidden:!0,defaultValue:[]},activeToggleLayout:{hidden:!0,defaultValue:[]},contentLayout:{hidden:!0,defaultValue:[]},toggleEdit:{type:"Button",section:"settings",editorOnly:!0,options:{text:{en:"Toggle edition",fr:"Toggle edition"},color:"blue",action:"toggleEdit"}}}},wk={editor:{label:"Select",icon:"select",deprecated:"Use a select input from the Elements panel instead of this one.",customStylePropertiesOrder:[["selectedTitle","selectedFontFamily","selectedFontSize","selectedFontWeight","selectedFontColor","selectedPadding","selectedTextAlign"],["placeholderTitle","placeholderFontFamily","placeholderFontSize","placeholderFontWeight","placeholderFontColor","placeholderTextAlign"],["chipStylesTitle","chipFontFamily","chipFontSize","chipFontWeight","chipFontColor","chipPadding","chipBgColor","chipBorder","chipBorderAll","chipBorderTop","chipBorderRight","chipBorderBottom","chipBorderLeft","chipBorderRadius","chipIconUnselect","chipIconColor","chipIconSize"],["triggerStylesTitle","triggerHeight","triggerBorder","triggerBorderAll","triggerBorderTop","triggerBorderRight","triggerBorderBottom","triggerBorderLeft","triggerBorderRadius","triggerBgColor","triggerShadows","triggerPadding","triggerMargin","triggerIconClose","triggerIconOpen","triggerIconSize","triggerIconColor"],["dropdownStylesTitle","side","align","offsetX","offsetY","boundOffset","dropdownWidth","dropdownMaxHeight","dropdownBorder","dropdownBorderAll","dropdownBorderTop","dropdownBorderRight","dropdownBorderBottom","dropdownBorderLeft","dropdownBorderRadius","dropdownBgColor","dropdownShadows","dropdownPadding","zIndexOpen"],["optionStylesTitle","optionFontFamily","optionFontSize","optionFontWeight","optionFontColor","optionSpacing","optionPadding","optionBorder","optionBorderRadius","optionBgColor","optionBgColorFocused","optionBgColorHover","optionCursor","optionIcon","optionIconSize","optionIconColor"],["emptyStateStylesTitle","emptyStateFontFamily","emptyStateFontSize","emptyStateFontWeight","emptyStateFontColor","emptyStatePadding","emptyStateTextAlign"],["searchStylesTitle","searchWidth","searchHeight","searchBorder","searchBorderAll","searchBorderTop","searchBorderRight","searchBorderBottom","searchBorderLeft","searchBorderRadius","searchPadding","searchMargin","searchOutline","searchOutlineOffset","searchBgColor","searchFontFamily","searchFontSize","searchFontWeight","searchFontColor","searchPlaceholderColor"]],customSettingsPropertiesOrder:["forceOpenInEditor","showEmptyStateInEditor","choices","mappingLabel","mappingValue","mappingDisabled","initValueSingle","initValueMulti","allowScrollingWhenOpen",["triggerTitle","placeholder","emptyStateText","searchPlaceholder","initialState","selectType","selectTypeWarning"],["optionsTitle","disabled","required","readonly","limit","unselectOnClick","closeOnSelect","closeOnClickOutside","manualTrigger","selectOnClick","virtualScrollBuffer","virtualScrollMinItemSize"],["searchTitle","showSearch","searchBy","autoFocus"],"formInfobox",["fieldName","customValidation","validation"]]},options:{autoByContent:!0,displayAllowedValues:["block"]},states:["readonly"],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],actions:[{label:"Open",action:"actionOpenDropdown",args:[]},{label:"Close",action:"actionCloseDropdown",args:[]},{label:"Toggle",action:"actionToggleDropdown",args:[]},{label:"Set value",action:"actionUpdateValue",args:[{name:"Value",type:"any",required:!0}]},{label:"Reset value",action:"actionResetValue",args:[]},{label:"Remove specific value (multiselect)",action:"actionRemoveSpecificValue",args:[{name:"Value",type:"any",required:!0}]},{label:"Reset search",action:"actionResetSearch",args:[]}],properties:{choices:{label:{en:"Options"},type:"ObjectList",options:{useSchema:!0},bindable:!0,defaultValue:{__wwtype:"f",code:'[{"label":"Option 1","value":"option1"},{"label":"Option 2","value":"option2"}]'},section:"settings"},mappingLabel:{label:"Label per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['label']"},section:"settings"},mappingValue:{label:"Value per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['value']"},section:"settings"},mappingDisabled:{label:"Disabled condition per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"false"},section:"settings"},initValueSingle:{type:"Text",label:"Initial value (single)",bindable:!0,defaultValue:null,section:"settings",hidden:e=>e.selectType!=="single"},initValueMulti:{type:"Array",label:"Initial value (Multi)",bindable:!0,options:{movable:!0,expandable:!0,item:{type:"Text",defaultValue:""}},section:"settings",hidden:e=>e.selectType!=="multiple"},selectType:{label:"Type",type:"TextSelect",options:{options:[{value:"single",label:"Single"},{value:"multiple",label:"Multiple"}]},bindable:!0,defaultValue:"single",section:"settings"},disabled:{label:{en:"Disabled"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},required:{label:{en:"Required"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},readonly:{label:{en:"Read-only"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},forceOpenInEditor:{label:{en:"Force open in editor"},type:"OnOff",defaultValue:!1,editorOnly:!0,section:"settings"},initialState:{label:{en:"Initial state"},type:"TextSelect",options:{options:[{value:"closed",label:"Closed"},{value:"open",label:"Open"}]},bindable:!0,responsive:!0,states:!0,defaultValue:"closed",section:"settings"},closeOnSelect:{label:{en:"Close on select"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},manualTrigger:{label:{en:"Manual trigger"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,section:"settings"},closeOnClickOutside:{label:{en:"Close on click outside"},type:"OnOff",defaultValue:!0,states:!0,bindable:!0,responsive:!0,section:"settings"},triggerTitle:{section:"settings",hidden:e=>e.customMenu,type:"Title",label:{en:"Trigger"},editorOnly:!0},placeholder:{label:{en:"Placeholder",fr:"Texte par défaut"},type:"Text",defaultValue:{en:"Select a value"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},emptyStateText:{label:{en:"No results text",fr:"Texte aucun résultat"},type:"Text",defaultValue:{en:"No results found",fr:"Aucun résultat trouvé"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},searchPlaceholder:{label:{en:"Search placeholder",fr:"Placeholder recherche"},type:"Text",defaultValue:{en:"Search",fr:"Rechercher"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},side:{label:{en:"Side"},type:"TextSelect",options:{options:[{value:"bottom",label:"Bottom"},{value:"left",label:"Left"},{value:"top",label:"Top"},{value:"right",label:"Right"}]},defaultValue:"bottom",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!0},align:{label:{en:"Align"},type:"TextSelect",options:{options:[{value:"start",label:"Start"},{value:"center",label:"Center"},{value:"end",label:"End"}]},defaultValue:"start",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!0},offsetX:{label:{en:"Offset X"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:-100,max:100},{value:"%",label:"%",min:-100,max:100}]},defaultValue:"0px",states:!0,classes:!0,bindable:!0,responsive:!0},offsetY:{label:{en:"Offset Y"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:-100,max:100},{value:"%",label:"%",min:-100,max:100}]},defaultValue:"8px",states:!0,classes:!0,bindable:!0,responsive:!0},zIndexOpen:{label:{en:"Z-index when open"},type:"Number",defaultValue:2,states:!0,classes:!0,bindable:!0,responsive:!0},boundOffset:{label:{en:"Edge offset"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100}]},defaultValue:"0px",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:!0},optionsTitle:{section:"settings",hidden:e=>e.customMenu,type:"Title",label:{en:"Options"},editorOnly:!0},virtualScrollBuffer:{label:{en:"Buffer"},type:"Number",defaultValue:600,states:!0,bindable:!0,responsive:!0,section:"settings"},virtualScrollMinItemSize:{label:{en:"Min item size"},type:"Number",defaultValue:40,states:!0,bindable:!0,responsive:!0,section:"settings"},showEmptyStateInEditor:{label:{en:"Show empty state in editor"},type:"OnOff",defaultValue:!1,editorOnly:!0,section:"settings"},allowScrollingWhenOpen:{label:{en:"Allow scrolling when open"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,propertyHelp:{tooltip:"This should be disabled in some edge cases like in popups, datagrid, etc."},bindingValidation:{type:"boolean",tooltip:"This should be disabled in some edge cases like in popups, datagrid, etc. A boolean value: \n\n`true` or `false`"},section:"settings"},optionProperties:{hidden:!0,editorOnly:!0},selectOnClick:{label:{en:"Select on click"},type:"OnOff",states:!0,bindable:!0,responsive:!0,defaultValue:!0,section:"settings"},unselectOnClick:{label:{en:"Unselect on click"},type:"OnOff",states:!0,bindable:!0,responsive:!0,defaultValue:!1},searchTitle:{section:"settings",hidden:e=>e.customMenu,type:"Title",label:{en:"Search"},editorOnly:!0},showSearch:{label:{en:"Search"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,section:"settings"},searchBy:{label:"Search by",section:"settings",states:!0,bindable:!0,responsive:!0,type:"Array",options:(e,t)=>({item:{type:"Object",options:{item:{filter:{type:"ObjectPropertyPath",options:{object:t.optionProperties||{}},defaultValue:""}}}}})},autoFocus:{label:"Auto focus",section:"settings",type:"OnOff",defaultValue:!0,states:!0,bindable:!0,responsive:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",states:!0,bindable:!0,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",states:!0,bindable:!0,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}},selectedTitle:{type:"Title",label:{en:"Selected"},hidden:e=>e.selectType!=="single"},selectedFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType!=="single"},selectedFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px",hidden:e=>e.selectType!=="single"},selectedFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",states:!0,classes:!0,bindable:!0,responsive:!0,options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,hidden:e=>e.selectType!=="single"},selectedFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"#333",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType!=="single"},selectedTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"left",hidden:e=>e.selectType!=="single"},placeholderTitle:{type:"Title",label:{en:"Placeholder"}},placeholderFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},placeholderFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},placeholderFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},placeholderFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"#333",states:!0,classes:!0,bindable:!0,responsive:!0},placeholderTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"left",hidden:e=>e.selectType!=="single"},chipStylesTitle:{type:"Title",label:{en:"Chip"},editorOnly:!0,hidden:e=>e.selectType=="single"},chipFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px",hidden:e=>e.selectType=="single"},chipFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"2px 8px",hidden:e=>e.selectType=="single"},chipBgColor:{label:{en:"background color"},type:"Color",defaultValue:"#363636",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipBorder:{type:"Border",label:{en:"border"},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:{__wwtype:"f",code:'[{"label":"Option 1","value":"opt1"},{"label":"Option 2","value":"opt2"}]'},hidden:e=>e.selectType=="single"},chipBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>e.chipBorder||e.selectType=="single"},chipBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipIconUnselect:{label:{en:"Unselect icon",fr:"Icône désélection"},type:"Icon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"wwi wwi-cross",hidden:e=>e.selectType=="single"},chipIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"14px",hidden:e=>e.selectType=="single"},triggerStylesTitle:{type:"Title",label:{en:"Trigger"},editorOnly:!0},triggerHeight:{type:"Length",label:{en:"Height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0},triggerBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1},triggerBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #B0B0B0",hidden:e=>e.triggerBorder},triggerBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0},triggerBgColor:{label:{en:"background color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0},triggerShadows:{type:"Shadows",label:{en:"Shadows"},options:{nullable:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:""},triggerPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px 16px"},triggerMargin:{type:"Spacing",label:{en:"Margin"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px"},triggerIconOpen:{label:{en:"Open icon",fr:"Icône ouverte"},type:"Icon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"fas fa-angle-up"},triggerIconClose:{label:{en:"Close icon",fr:"Icône fermée"},type:"Icon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"fas fa-angle-down"},triggerIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},triggerIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"16px"},dropdownStylesTitle:{type:"Title",label:{en:"Dropdown"},editorOnly:!0},dropdownWidth:{type:"Length",label:{en:"Width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:{__wwtype:"f",code:"context.local.data?.['select']?.['select']?.['utils']?.['triggerWidth']+'px'"}},dropdownMaxHeight:{type:"Length",label:{en:"Max-height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,bindable:!0},dropdownBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1},dropdownBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #B0B0B0",hidden:e=>e.dropdownBorder},dropdownBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderRadius:{type:"Spacing",label:{en:"Border Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"4px"},dropdownBgColor:{label:{en:"Border Dropdown background color"},type:"Color",defaultValue:"#FFFFFF",states:!0,classes:!0,bindable:!0,responsive:!0},dropdownShadows:{type:"Shadows",label:{en:"Shadows"},options:{nullable:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:""},dropdownPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px"},optionStylesTitle:{type:"Title",label:{en:"Option"},editorOnly:!0},optionFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},optionFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},optionFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},optionFontColor:{label:{en:"Text color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},optionSpacing:{type:"Length",label:{en:"Spacing"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px"},optionPadding:{type:"Spacing",label:{en:"padding"},defaultValue:"8px",states:!0,classes:!0,responsive:!0,bindable:!0},optionBorder:{type:"Border",label:{en:"Border"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #B0B0B0"},optionBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0},optionBgColor:{label:{en:"background color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0},optionBgColorFocused:{label:{en:"Focus background"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"#f5f5f5"},optionBgColorHover:{label:{en:"Hover background"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"#f5f5f5"},optionCursor:{label:{en:"cursor"},type:"TextSelect",options:{options:[{value:"auto",label:"Auto"},{value:"default",label:"Default"},{value:"pointer",label:"Pointer"},{value:"none",label:"None"},{value:"not-allowed",label:"Not allowed"},{value:"help",label:"Help"},{value:"text",label:"Text"},{value:"move",label:"Move"},{value:"grab",label:"Grab"},{value:"grabbing",label:"Grabbing",default:!0},{value:"n-resize",label:"Arrow up"},{value:"s-resize",label:"Arrow down"},{value:"w-resize",label:"Arrow left"},{value:"e-resize",label:"Arrow right"},{value:"ne-resize",label:"Arrow top-right"},{value:"nw-resize",label:"Arrow top-left"},{value:"se-resize",label:"Arrow bottom-right"},{value:"sw-resize",label:"Arrow bottom-left"},{value:"ew-resize",label:"Arrow left-right"},{value:"ns-resize",label:"Arrow up-down"},{value:"nesw-resize",label:"Arrow top-right to bottom-left"},{value:"nwse-resize",label:"Arrow top-left to bottom-right"},{value:"zoom-in",label:"Zoom in"},{value:"zoom-out",label:"Zoom out"},{value:"col-resize",label:"Column resize"},{value:"row-resize",label:"Row resize"},{value:"all-scroll",label:"All-scroll"},{value:"context-menu",label:"Context menu"},{value:"cell",label:"Cell"},{value:"crosshair",label:"Crosshair"},{value:"vertical-text",label:"Vertical text"},{value:"alias",label:"Alias"},{value:"copy",label:"Copy"},{value:"progress",label:"Progress"},{value:"wait",label:"Wait"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"pointer"},optionIcon:{label:{en:"Checked icon",fr:"Icône check"},type:"Icon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"fas fa-check"},optionIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},optionIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"12px"},emptyStateStylesTitle:{type:"Title",label:{en:"Empty state"},editorOnly:!0},emptyStateFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},emptyStateFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},emptyStateFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},emptyStateFontColor:{label:{en:"Text color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},emptyStatePadding:{type:"Spacing",label:{en:"padding"},defaultValue:"0px",states:!0,classes:!0,responsive:!0,bindable:!0},emptyStateTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"center"},searchStylesTitle:{type:"Title",label:{en:"Search"},editorOnly:!0,hidden:e=>!e.showSearch},searchWidth:{type:"Length",label:{en:"Width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"100%",hidden:e=>!e.showSearch},searchHeight:{type:"Length",label:{en:"Height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBorder:{type:"Border",label:{en:"border"},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1,hidden:e=>!e.showSearch},searchBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #A3A3A3",hidden:e=>e.searchBorder||!e.showSearch},searchBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"4px",hidden:e=>!e.showSearch},searchPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px 12px",hidden:e=>!e.showSearch},searchMargin:{type:"Spacing",label:{en:"Margin"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px 0px 8px 0px",hidden:e=>!e.showSearch},searchOutline:{type:"Border",label:{en:"Outline"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.showSearch},searchOutlineOffset:{type:"Length",label:{en:"Outline offset"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontSize:{label:{en:"Font size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},classes:!0,states:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBgColor:{label:{en:"background color"},type:"Color",defaultValue:"#FAFAFA",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchPlaceholderColor:{label:{en:"Placeholder color"},type:"Color",defaultValue:"#737373",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch}}},Mk={editor:{label:{en:"Interactive Map"},icon:"map"},properties:{mapProvider:{label:{en:"Map Provider"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"osm",options:{options:[{value:"osm",label:"OpenStreetMap (Free)"},{value:"2gis",label:"2GIS (API Key Required)"},{value:"yandex",label:"Yandex Maps (API Key Required)"}]}},apiKey2GIS:{label:{en:"2GIS API Key"},type:"Text",section:"settings",bindable:!0,defaultValue:"",hidden:e=>e.mapProvider!=="2gis"},apiKeyYandex:{label:{en:"Yandex API Key"},type:"Text",section:"settings",bindable:!0,defaultValue:"",hidden:e=>e.mapProvider!=="yandex"},initialZoom:{label:{en:"Initial Zoom Level"},type:"Number",section:"settings",bindable:!0,defaultValue:10,options:{min:1,max:18,step:1}},initialCenterLat:{label:{en:"Initial Center Latitude"},type:"Number",section:"settings",bindable:!0,defaultValue:48.85,options:{min:-90,max:90,step:1e-5}},initialCenterLng:{label:{en:"Initial Center Longitude"},type:"Number",section:"settings",bindable:!0,defaultValue:2.35,options:{min:-180,max:180,step:1e-5}},defaultMarkerColor:{label:{en:"Default Marker Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#3388ff"},defaultMarkerIcon:{label:{en:"Default Marker Icon"},type:"SystemIcon",section:"style",bindable:!0,defaultValue:"location-marker"},enableClustering:{label:{en:"Enable Marker Clustering"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},places:{label:{en:"Places"},type:"Array",section:"settings",bindable:!0,defaultValue:[{label:"Eiffel Tower",lat:48.8584,lng:2.2945,description:"Famous landmark in Paris",icon:"location-marker",color:"#3388ff"},{label:"Louvre Museum",lat:48.8606,lng:2.3376,description:"World's largest art museum",icon:"location-marker",color:"#ff4433"}],options:{expandable:!0,getItemLabel(e){return e.label||`Place ${e.lat}, ${e.lng}`},item:{type:"Object",defaultValue:{label:"New Place",lat:48.85,lng:2.35,description:"",icon:"",color:""},options:{item:{label:{label:{en:"Label"},type:"Text",options:{placeholder:"Enter place name"}},lat:{label:{en:"Latitude"},type:"Number",options:{min:-90,max:90,step:1e-5}},lng:{label:{en:"Longitude"},type:"Number",options:{min:-180,max:180,step:1e-5}},description:{label:{en:"Description"},type:"Text",options:{placeholder:"Enter description"}},icon:{label:{en:"Icon"},type:"SystemIcon"},color:{label:{en:"Color"},type:"Color"}}}}}},popupContentElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",name:"Popup Content"}}},triggerEvents:[{name:"mapReady",label:{en:"On map ready"},event:{}},{name:"popupOpen",label:{en:"On popup open"},event:{place:{}}},{name:"flyTo",label:{en:"On fly to location"},event:{lat:0,lng:0,zoom:10}},{name:"fitBounds",label:{en:"On fit bounds"},event:{}},{name:"openPopup",label:{en:"On open popup"},event:{index:0,place:{}}}],actions:[{label:{en:"Fly to location"},action:"flyTo",args:[{name:"lat",type:"number",label:{en:"Latitude"}},{name:"lng",type:"number",label:{en:"Longitude"}},{name:"zoom",type:"number",label:{en:"Zoom level"}}]},{label:{en:"Fit bounds to show all markers"},action:"fitBounds"},{label:{en:"Open popup by index"},action:"openPopupByIndex",args:[{name:"index",type:"number",label:{en:"Marker index"}}]}]},Tk={editor:{label:{en:"Stack"},icon:"inbox-in",customSettingsPropertiesOrder:["group","items","sortable","readonly","customDragHandle",["handleClass"]]},states:["readonly"],triggerEvents:[{name:"item:moved",label:{en:"On item moved"},event:{item:{},oldIndex:0,newIndex:1,updatedList:[]}},{name:"item:added",label:{en:"On item added"},event:{item:{},newIndex:1,updatedList:[]}},{name:"item:removed",label:{en:"On item removed"},event:{item:{},oldIndex:0,updatedList:[]}}],properties:{group:{hidden:(e,t,r,o)=>!!(o&&o.group),label:{en:"Group"},type:"Text",bindable:!0,defaultValue:"common",section:"settings"},items:{hidden:(e,t,r,o)=>!!(o&&o.items),label:{en:"Items"},type:"Info",options:{text:{en:"Bind your data"}},bindable:!0,defaultValue:[],section:"settings"},sortable:{hidden:(e,t,r,o)=>!!(o&&o.sortable),label:{en:"Sortable"},type:"OnOff",defaultValue:!0,section:"settings"},itemElement:{hidden:!0,defaultValue:[{isWwObject:!0,type:"ww-flexbox"}],navigator:{group:"Item"}},headerElement:{hidden:!0,defaultValue:[{isWwObject:!0,type:"ww-text"}],navigator:{group:"Header"}},footerElement:{hidden:!0,defaultValue:[],navigator:{group:"Footer"}},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},customDragHandle:{label:"Custom drag",type:"OnOff",section:"settings",defaultValue:!1,propertyHelp:{tooltip:`By default, dragging is triggered when a user clicks anywhere on a Kanban item. To trigger the dragging behavior on click of a specific element inside the item: * Enable this option * Go to that element’s Settings > HTML attributes * Add the class you choose to its Class attribute (default: 'draggable'))`},hidden:(e,t,r,o)=>{var a;return(a=o==null?void 0:o.handle)==null?void 0:a.length}},handleClass:{label:"Class name",type:"Text",bindable:!0,section:"settings",defaultValue:"draggable",propertyHelp:{tooltip:"This class must be added on elements to trigger the drag&drop. (Settings > HTML attributes > Class)"},options:{placeholder:"draggable"},hidden:(e,t,r,o)=>{var a;return!e.customDragHandle||((a=o==null?void 0:o.handle)==null?void 0:a.length)}}}},Ak={options:{sizable:!0},editor:{label:{en:"HTML",fr:"HTML"},icon:"code"},properties:{source:{label:{en:"HTML"},type:"Text",options:{code:!0,language:"html"},bindable:!0,defaultValue:""},refreshOnResize:{type:"OnOff",label:{en:"Refresh on resize"},defaultValue:!1}}},Lk={editor:{label:{en:"Icon",fr:"Icône"},icon:"star"},options:{displayAllowedValues:["flex","inline-flex"],linkable:!0},properties:{icon:{label:{en:"Icon",fr:"Icône"},type:"SystemIcon",bindable:!0,states:!0},color:{label:{en:"Color",fr:"Couleur"},type:"Color",bindable:!0,states:!0,classes:!0,responsive:!0,options:{nullable:!0},hidden:(e,t,r,o)=>!!(o&&o.color)}}},$k={editor:{label:{en:"Checkbox",fr:"Checkbox"},icon:"check"},states:["checked","readonly"],options:{displayAllowedValues:["flex","inline-flex"]},properties:{color:{label:{en:"Color",fr:"Couleur"},type:"Color",bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"#00000000"},icon:{label:{en:"Icon",fr:"Icône"},type:"SystemIcon",bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"lucide/check"}}},Pk={editor:{label:{en:"Checkbox",fr:"Checkbox"},icon:"check",customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"value","readonly","required","isEmbeddedContainer","containerPosition"]},states:["checked","readonly"],options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],properties:{value:{label:{en:"Init value"},type:"OnOff",section:"settings",bindable:!0},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},isEmbeddedContainer:{type:"OnOff",label:{en:"Embedded container",fr:"Embedded container"},section:"settings",responsive:!0,defaultValue:!1},containerPosition:{hidden:e=>!e.isEmbeddedContainer,label:{en:"Container position",fr:"Position du container"},type:"TextSelect",options:{options:[{value:"right",label:{en:"Right"}},{value:"left",label:{en:"Left"}},{value:"top",label:{en:"Top"}},{value:"bottom",label:{en:"Bottom"}}]},section:"settings",responsive:!0,states:!0,classes:!0,defaultValue:"right"},containerGap:{hidden:e=>!e.isEmbeddedContainer,label:{en:"Container gap",fr:"Espacement du container"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"em",label:"em",min:0,max:10,digits:3,step:.1},{value:"rem",label:"rem",min:0,max:10,digits:3,step:.1}]},responsive:!0,states:!0,classes:!0,bindable:!0,defaultValue:"0px"},embeddedContainer:{hidden:!0,defaultValue:null},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}},checkbox:{hidden:!0,defaultValue:{isWwObject:!0,type:"97a63460-5c25-4d74-ac1f-86693c2e4a08",content:{color:"#FFFFFF",fontSize:10,icon:"lucide/check"},state:{states:[{id:"checked",label:"checked"}],style:{default:{backgroundColor:"#FFFFFF",border:"1px solid #767676",borderRadius:"4px",cursor:"pointer",height:"auto",padding:"2px",width:"auto"},checked_default:{backgroundColor:"#767676"}}}}}}},Cl={fontSize:{type:"Length",label:{en:"Size",fr:"Taille"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0},fontFamily:{type:"FontFamily",label:{en:"Font family",fr:"Font"},responsive:!0},fontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default",fr:"Par défaut"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},responsive:!0},textAlign:{type:"TextRadioGroup",options:{choices:[{value:"left",default:!0,title:{en:"Left",fr:"Gauche"},icon:"menu-alt-2"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"text-middle"},{value:"right",title:{en:"Right",fr:"Droite"},icon:"menu-alt-3"},{value:"justify",title:{en:"Justify",fr:"Justifié"},icon:"menu"}]},label:{en:"Alignment",fr:"Alignement"},responsive:!0,bindable:!0},color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},responsive:!0,bindable:!0,options:{nullable:!0}},lineHeight:{label:{en:"Line height",fr:"Hauteur de ligne"},responsive:!0,type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"auto",label:"auto"}]},bindable:!0},marginTop:{type:"Length",responsive:!0,label:{en:"Margin top",fr:"Margin top"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},bindable:!0},marginBottom:{type:"Length",responsive:!0,label:{en:"Margin bottom",fr:"Margin bottom"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},bindable:!0}},Ck={editor:{label:{en:"Rich text",fr:"Rich texte"},icon:"menu-alt-2"},properties:{selectedTag:{label:{en:"Tag to edit",fr:"Tag à éditer"},type:"TextSelect",editorOnly:!0,options:{options:[{value:"h1",label:{en:"h1"}},{value:"h2",label:{en:"h2"}},{value:"h3",label:{en:"h3"}},{value:"h4",label:{en:"h4"}},{value:"p",label:{en:"p"}},{value:"a",label:{en:"a"}},{value:"blockquote",label:{en:"blockquote"}},{value:"img",label:{en:"image"}},{value:"iframe",label:{en:"iframe & video"}}]},defaultValue:"p"},text:{type:"Textarea",section:"settings",label:{en:"Content",fr:"Contenu"},bindable:!0,multiLang:!0,options:{row:20},defaultValue:{en:""}},h1:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h1",options:{item:Cl},defaultValue:{fontSize:"32px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},responsive:!0},h2:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h2",options:{item:Cl},defaultValue:{fontSize:"24px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},responsive:!0},h3:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h3",options:{item:Cl},defaultValue:{fontSize:"19px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},responsive:!0},h4:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h4",options:{item:Cl},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},responsive:!0},p:{type:"Object",hidden:(e,t)=>t.selectedTag!=="p",options:{item:Cl},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},responsive:!0},a:{type:"Object",hidden:(e,t)=>t.selectedTag!=="a",options:{item:{fontSize:{type:"Length",label:{en:"Size",fr:"Taille"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},bindable:!0,responsive:!0},fontFamily:{type:"FontFamily",label:{en:"Font family",fr:"Font"},bindable:!0,responsive:!0},color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0},responsive:!0},isUnderline:{type:"OnOff",label:{en:"Underline",fr:"Soulingé"},bindable:!0}}},defaultValue:{fontSize:"16px",fontFamily:"",color:"",isUnderline:!0}},blockquote:{type:"Object",hidden:(e,t)=>t.selectedTag!=="blockquote",options:{item:{color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0},responsive:!0},borderColor:{type:"Color",label:{en:"Blockquote color",fr:"Couleur de la bordure"},bindable:!0,options:{nullable:!0},responsive:!0},marginTop:{type:"Length",label:{en:"Margin top",fr:"Margin top"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0},marginBottom:{type:"Length",label:{en:"Margin bottom",fr:"Margin bottom"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0}}},defaultValue:{color:"rgb(153, 153, 153)",borderColor:"rgb(223, 226, 229)",marginTop:"6px",marginBottom:"6px"}},img:{type:"Object",hidden:(e,t)=>t.selectedTag!=="img",responsive:!0,options:{item:{width:{type:"Length",label:{en:"Size",fr:"Taille"},options:{unitChoices:[{value:"%",label:"%",min:1,max:100},{value:"px",label:"px",min:1},{value:"auto",label:"auto"}]},bindable:!0,responsive:!0},zoomEffect:{type:"OnOff",label:{en:"Lightbox on click",fr:"Lightbox au click"},bindable:!0,responsive:!0},marginTop:{type:"Length",label:{en:"Margin top",fr:"Margin top"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0},marginBottom:{type:"Length",label:{en:"Margin bottom",fr:"Margin bottom"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0}}},defaultValue:{width:"100%",zoomEffect:!1,marginTop:"6px",marginBottom:"6px"}},zoomMargin:{type:"Length",hidden:e=>!(e.img&&e.img.zoomEffect),label:{en:"Lightbox spacing",fr:"Lightbox spacing"},options:{unitChoices:[{value:"px",label:"px",min:0,max:200}]},defaultValue:"24px"},zoomBackgroundColor:{type:"Color",hidden:e=>!(e.img&&e.img.zoomEffect),label:{en:"Lightbox background color",fr:"Lightbox background color"},defaultValue:"rgba(0, 0, 0, 0.6)"},iframe:{type:"Object",hidden:(e,t)=>t.selectedTag!=="iframe",responsive:!0,options:{item:{width:{type:"Length",label:{en:"Width",fr:"Largeur"},options:{unitChoices:[{value:"%",label:"%",min:1,max:100},{value:"px",label:"px",min:1}]},bindable:!0,responsive:!0},height:{type:"Length",label:{en:"Height",fr:"Hauteur"},options:{unitChoices:[{value:"%",label:"%",min:1,max:100},{value:"px",label:"px",min:1}]},bindable:!0,responsive:!0},marginTop:{type:"Length",label:{en:"Margin top",fr:"Margin top"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0},marginBottom:{type:"Length",label:{en:"Margin bottom",fr:"Margin bottom"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}]},responsive:!0}}},defaultValue:{width:"100%",height:"400px",marginTop:"6px",marginBottom:"6px"}}}},Lv={submit:"sub",reset:"rst",button:"btn"},Ek={inherit:"ww-text",options:{autoByContent:!0,displayAllowedValues:["flex","inline-flex"],linkable:!0},editor:{label:{en:"Button",fr:"Bouton"},icon:"cursor-click",infoTags:e=>e.buttonType&&Lv[e.buttonType]?{color:"var(--ww-color-blue-500)",backgroundColor:"var(--ww-color-blue-100)",text:Lv[e.buttonType].toUpperCase(),action:()=>{wwLib.wwSearchBar.executeAction({actions:wwLib.wwSearchBar.getEditSidebarActions("settings","custom-0")})}}:[],workflowHint:e=>e.buttonType!=="submit"?!1:{type:"warning",header:{en:"You probably shouldn’t trigger workflows on submit buttons.",fr:"Vous ne devriez pas déclencher un workflow depuis un bouton submit"},text:{en:"For your users to benefit from automatic form field validation, you should trigger submit workflows on the form container. Unless you are 100% sure of what you’re doing and want to bypass this behavior.",fr:"Pour que vos utilisateurs bénéficient de la validation automatique des champs de formulaire, vous devez déclencher des workflows de soumission sur le conteneur de formulaire. À moins que vous ne soyez sûr à 100 % de ce que vous faites et que vous souhaitiez contourner ce comportement."},button:{text:{en:"Select form container",fr:"Selectionnez le form container"},action:"selectParentFormContainer"}}},states:["focus","disabled","active"],triggerEvents:[{name:"focus",label:{en:"On focus"},event:null},{name:"blur",label:{en:"On blur"},event:null},{name:"keydown",label:{en:"On key down"},event:null},{name:"keyup",label:{en:"On key up"},event:null}],properties:{backgroundColor:{label:{en:"Text Background",fr:"Background du Texte"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,classes:!0},buttonType:{label:{en:"Type",fr:"Type"},type:"TextSelect",section:"settings",options:{options:[{value:null,label:"none"},{value:"button",label:"Button"},{value:"submit",label:"Submit Button"}]},defaultValue:"button",bindable:!0,bindingValidation:{type:"string",tooltip:'A string that defines the button type: `"button" | "submit"`'}},disabled:{label:{en:"Disabled"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},hasLeftIcon:{label:{en:"Left icon",fr:"Icône gauche"},section:"settings",type:"OnOff"},leftIcon:{hidden:!0,isArray:!1},hasRightIcon:{label:{en:"Right icon",fr:"Icône droite"},type:"OnOff",section:"settings"},rightIcon:{hidden:!0,isArray:!1}}},Ok={editor:{label:{en:"Tabs",fr:"Onglets"},icon:"collection",bubble:{icon:"collection"},navigator:{groups:["Headers","Contents"]},customStylePropertiesOrder:["tabsPosition",["horizontalAlignment","verticalAlignment"],["transition","transitionDuration"]]},options:{displayAllowedValues:["flex","inline-flex"]},actions:[{action:"addTab",label:{en:"Add tab"}},{action:"removeTab",label:{en:"Remove tab"},args:[{name:"index",type:"number",label:{en:"Tab index"}}]},{action:"moveTabUp",label:{en:"Move tab up"},args:[{name:"index",type:"number",label:{en:"Tab index"}}]},{action:"moveTabDown",label:{en:"Move tab down"},args:[{name:"index",type:"number",label:{en:"Tab index"}}]},{action:"updateTabLabel",label:{en:"Update tab label"},args:[{name:"payload",type:"object",label:{en:"Tab data"},options:{item:{index:{type:"number",label:{en:"Tab index"}},label:{type:"string",label:{en:"New label"}}}}}]}],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""}},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],properties:{tabIndex:{label:{en:"Tabs",fr:"Tabs"},type:"Tabs",editorOnly:!0,options:e=>({labels:e.tabsList.map((t,r)=>{var o;return{label:((o=e.tabLabels)==null?void 0:o[r])||`Tab ${r}`,customizable:!0}}),nbTabs:e.tabsList.length,add:"addTab",remove:"removeTab",orderable:!0,moveUp:"moveTabUp",moveDown:"moveTabDown",updateLabel:"updateTabLabel"}),section:"settings",defaultValue:0},tabsPosition:{label:{en:"Tabs position",fr:"Position des tabs"},type:"TextSelect",options:{options:[{value:"top",label:"Top"},{value:"bottom",label:"Bottom"},{value:"left",label:"Left"},{value:"right",label:"Right"}]},responsive:!0,states:!0,bindable:!0,classes:!0,defaultValue:"top"},horizontalAlignment:{label:{en:"Hor. Align."},type:"TextRadioGroup",options:e=>e.tabsPosition==="top"||e.tabsPosition==="bottom"?{choices:[{value:"flex-start",title:{en:"Start",fr:"Début"},icon:"align-x-start"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"align-x-center"},{value:"flex-end",title:{en:"End",fr:"Fin"},icon:"align-x-end"},{value:"space-around",title:{en:"Space around",fr:"Space around"},icon:"align-x-space-around"},{value:"space-between",title:{en:"Space between",fr:"Space between"},icon:"align-x-space-between"}]}:{choices:[{value:"start",title:{en:"Start",fr:"Début"},icon:"align-left"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"align-center"},{value:"end",title:{en:"End",fr:"Fin"},icon:"align-right"}]},states:!0,bindable:!0,classes:!0,defaultValue:"center"},verticalAlignment:{label:{en:"Vert. Align"},type:"TextRadioGroup",options:e=>e.tabsPosition==="top"||e.tabsPosition==="bottom"?{choices:[{value:"start",title:{en:"Start",fr:"Début"},icon:"align-top"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"align-middle"},{value:"end",title:{en:"End",fr:"Fin"},icon:"align-bottom"}]}:{choices:[{value:"flex-start",title:{en:"Start",fr:"Début"},icon:"align-x-start-vertical"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"align-x-center-vertical"},{value:"flex-end",title:{en:"End",fr:"Fin"},icon:"align-x-end-vertical"},{value:"space-around",title:{en:"Space around",fr:"Space around"},icon:"align-x-space-around-vertical"},{value:"space-between",title:{en:"Space between",fr:"Space between"},icon:"align-x-space-between-vertical"}]},states:!0,bindable:!0,classes:!0,defaultValue:"center"},transition:{label:{en:"Transition",fr:"Transition"},type:"TextSelect",options:{options:[{value:"none",label:{en:"None",fr:"Aucune"}},{value:"fade",label:{en:"Fade",fr:"Fade"}},{value:"fadeTopBottom",label:{en:"Fade top / bottom",fr:"Fade top / bottom"}},{value:"fadeLeftRight",label:{en:"Fade right / left",fr:"Fade right / left"}}]},defaultValue:"fade",states:!0,bindable:!0,classes:!0},transitionDuration:{type:"Number",label:{en:"Transition duration",fr:"Durée de la transition"},options:{min:0,max:5,step:.1},defaultValue:.4,states:!0,bindable:!0,classes:!0},tabsList:{hidden:!0,defaultValue:[],navigator:{group:"Headers"}},tabsContent:{hidden:!0,defaultValue:[],navigator:{group:"Contents"}},tabLabels:{hidden:!0,defaultValue:[]},value:{label:{en:"Active tab index"},type:"Number",options:e=>({min:0,max:Math.max(0,e.tabsList.length-1)}),section:"settings",bindable:!0}}},Ik=["maskType","pattern","options","placeholderVisible","placeholderChar"],Bk={pattern:{label:{en:"Pattern"},type:"Text",section:"settings",bindable:!0,defaultValue:"{8}000000"},placeholderVisible:{label:{en:"Mask placeholder"},type:"OnOff",section:"settings",defaultValue:!1},placeholderChar:{label:{en:"Placeholder character"},type:"Text",section:"settings",bindable:!0,defaultValue:"_",hidden:e=>e.placeholderVisible!==!0}},Dk={inherit:{type:"ww-text",exclude:["text"]},editor:{label:{en:"Mask Input"},icon:"text-input",customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"value",["placeholder"],["readonly","required"],["debounce","debounceDelay"],[...Ik]],customStylePropertiesOrder:["placeholderColor","advancedPlaceholder","forceAnimation",["animationTrigger","placeholderPosition","placeholderScaling","positioningAjustment","transition","timingFunction"]]},states:["focus","readonly"],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""}},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"onEnterKey",label:{en:"On enter key"},event:{value:""}},{name:"characterAccept",label:{en:"On character accepted"},event:{value:"",character:""}},{name:"characterReject",label:{en:"On character rejected"},event:{value:"",character:""},default:!0},{name:"maskComplete",label:{en:"On mask completed"},event:{value:""}},{name:"focus",label:{en:"On focus"},event:null},{name:"blur",label:{en:"On blur"},event:null}],properties:{placeholderColor:{label:{en:"Placeholder color"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,states:!0,defaultValue:"#000000ad",hidden:e=>e.advancedPlaceholder},advancedPlaceholder:{label:"Advanced placeholder",type:"OnOff",defaultValue:!1},forceAnimation:{label:{en:"Force animation"},type:"OnOff",defaultValue:!1,hidden:e=>!e.advancedPlaceholder},animationTrigger:{label:{en:"Trigger on"},type:"TextSelect",options:{options:[{value:"focus",label:{en:"Focus"}},{value:"input",label:{en:"Input"}}]},responsive:!0,defaultValue:"input",hidden:e=>!e.advancedPlaceholder},placeholderPosition:{label:{en:"Active position"},type:"TextSelect",options:{options:[{value:"inside",label:{en:"Inside"}},{value:"outside",label:{en:"Outside"}}]},responsive:!0,defaultValue:"outside",hidden:e=>!e.advancedPlaceholder},placeholderScaling:{label:{en:"Active size"},type:"Number",options:{min:0,max:1,step:.1},responsive:!0,defaultValue:.8,hidden:e=>!e.advancedPlaceholder},positioningAjustment:{type:"Length",label:{en:"Active margin"},options:{unitChoices:[{value:"px",label:"px",min:0,max:500}]},responsive:!0,defaultValue:"0px",hidden:e=>!e.advancedPlaceholder},transition:{type:"Length",label:{en:"Transition"},options:{unitChoices:[{value:"ms",label:"ms",min:0,max:2e3}]},responsive:!0,defaultValue:"400ms",hidden:e=>!e.advancedPlaceholder},timingFunction:{label:{en:"Timing function"},type:"TextSelect",options:{options:[{value:"cubic-bezier(0, 1.08, 0.76, 1)",label:{en:"auto"}},{value:"ease",label:{en:"ease"}},{value:"ease-in",label:{en:"ease-in"}},{value:"ease-out",label:{en:"ease-out"}},{value:"ease-in-out",label:{en:"ease-in-out"}},{value:"linear",label:{en:"linear"}}]},defaultValue:"cubic-bezier(0, 1.08, 0.76, 1)",hidden:e=>!e.advancedPlaceholder},value:{label:{en:"Init value"},type:"Text",section:"settings",bindable:!0,defaultValue:""},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},required:{label:{en:"Required",fr:"Requis"},type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},placeholder:{label:{en:"Placeholder",fr:"Placeholder"},type:"Text",options:{placeholder:"Type text"},section:"settings",multiLang:!0,bindable:!0,defaultValue:{}},rows:{label:{en:"Rows",fr:"Rows"},type:"Number",options:{min:1,max:25},section:"settings",hidden:e=>e.type!=="textarea",defaultValue:4},resize:{label:{en:"Resize",fr:"Resize"},type:"OnOff",hidden:e=>e.type!=="textarea",defaultValue:!1},min:{label:{en:"Min number",fr:"Min number"},type:"Number",options:{min:0,max:100},section:"settings",hidden:e=>e.type!=="number",defaultValue:"0",bindable:!0},max:{label:{en:"Max number",fr:"Max number"},type:"Number",options:{min:0,max:1e4},section:"settings",hidden:e=>e.type!=="number",defaultValue:"10000",bindable:!0},hideArrows:{label:{en:"Hide arrows",fr:"Masquer les flèches"},type:"OnOff",section:"settings",hidden:e=>e.type!=="number",defaultValue:!1},debounce:{label:{en:"Debounce"},type:"OnOff",section:"settings",defaultValue:!1},debounceDelay:{type:"Length",label:{en:"Delay"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},section:"settings",defaultValue:"500ms",responsive:!0,hidden:e=>!e.debounce},placeholderElement:{hidden:!0,defaultValue:null},...Bk,fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},kk={editor:{label:"QR Code Reader",icon:"eye",customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"cameraSelection","cameraId","required"]},triggerEvents:[{name:"scan",label:"On scan",event:{code:""},default:!0}],properties:{cameraSelection:{label:"Camera Selection",type:"TextSelect",options:{options:[{value:"environment",label:"Prefer environment facing"},{value:"user",label:"Prefer user facing"},{value:"custom",label:"Custom"}]},defaultValue:"environment",section:"settings",bindable:!0},cameraName:{label:"Camera Name",type:"Text",defaultValue:"",section:"settings",bindable:!0,hidden:e=>e.cameraSelection!=="custom"},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},required:{label:{en:"Required",fr:"Requis"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},Gk={editor:{label:{en:"Toggle",fr:"Toggle"},icon:"toggle",customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"value","readonly","required"]},options:{ignoredStyleProperties:["background"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}}],properties:{value:{label:{en:"Init value"},type:"OnOff",section:"settings",bindable:!0},required:{label:"Required",type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},selectorSize:{type:"Length",label:{en:"Selector size",fr:"Taille du selecteur"},options:{unitChoices:[{value:"%",label:"%",min:10,max:100}]},defaultValue:"100%",states:!0,classes:!0,responsive:!0,bindable:!0},selectorColorOff:{type:"Color",label:{en:"Selector color (off)",fr:"Couleur du selecteur (off)"},options:{nullable:!0},states:!0,classes:!0,responsive:!0,bindable:!0},selectorColorOn:{type:"Color",label:{en:"Selector color (on)",fr:"Couleur du selecteur (on)"},options:{nullable:!0},states:!0,classes:!0,responsive:!0,bindable:!0},backgroundColorOff:{type:"Color",label:{en:"Background color (off)",fr:"Couleur de fond (off)"},options:{nullable:!0},states:!0,classes:!0,responsive:!0,bindable:!0},backgroundColorOn:{type:"Color",label:{en:"Background color (on)",fr:"Couleur de fond (on)"},options:{nullable:!0},states:!0,classes:!0,responsive:!0,bindable:!0},toggleState:{type:"Button",options:{text:{en:"Toggle state",fr:"Toggle state"},color:"blue",action:"toggleValue"},editorOnly:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},Nk={editor:{label:{en:"Telegram Handler"},icon:"telegram"},properties:{devMode:{label:{en:"Development Mode"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1}},triggerEvents:[{name:"onLoad",label:{en:"On Telegram WebApp loaded"},event:{version:"",platform:""}},{name:"error",label:{en:"On error"},event:{error:""}},{name:"backButtonClicked",label:{en:"On back button clicked"},event:{}},{name:"settingsButtonClicked",label:{en:"On settings button clicked"},event:{}},{name:"bottomButtonClicked",label:{en:"On bottom button clicked"},event:{}},{name:"secondaryButtonClicked",label:{en:"On secondary button clicked"},event:{}},{name:"popupClosed",label:{en:"On popup closed"},event:{button_id:""}},{name:"qrTextReceived",label:{en:"On QR text received"},event:{text:""}},{name:"scanQrPopupClosed",label:{en:"On scan QR popup closed"},event:{}},{name:"clipboardTextReceived",label:{en:"On clipboard text received"},event:{text:""}},{name:"shareMessageSent",label:{en:"On share message sent"},event:{}},{name:"shareMessageFailed",label:{en:"On share message failed"},event:{}},{name:"fileDownloadRequested",label:{en:"On file download requested"},event:{status:""}},{name:"invoiceClosed",label:{en:"On invoice closed"},event:{status:""}},{name:"writeAccessRequested",label:{en:"On write access requested"},event:{result:!1}},{name:"contactRequested",label:{en:"On contact requested"},event:{result:!1}},{name:"fullscreenChanged",label:{en:"On fullscreen changed"},event:{isFullscreen:!1}},{name:"fullscreenFailed",label:{en:"On fullscreen failed"},event:{}},{name:"safeAreaChanged",label:{en:"On safe area changed"},event:{}},{name:"contentSafeAreaChanged",label:{en:"On content safe area changed"},event:{}},{name:"viewportChanged",label:{en:"On viewport changed"},event:{}},{name:"accelerometer_changed",label:{en:"On accelerometer changed"},event:{}},{name:"accelerometer_failed",label:{en:"On accelerometer failed"},event:{error:""}},{name:"accelerometer_started",label:{en:"On accelerometer started"},event:{}},{name:"accelerometer_stopped",label:{en:"On accelerometer stopped"},event:{}},{name:"deviceOrientationChanged",label:{en:"On device orientation changed"},event:{}},{name:"deviceOrientationFailed",label:{en:"On device orientation failed"},event:{error:""}},{name:"deviceOrientationStarted",label:{en:"On device orientation started"},event:{}},{name:"deviceOrientationStopped",label:{en:"On device orientation stopped"},event:{}},{name:"gyroscopeChanged",label:{en:"On gyroscope changed"},event:{}},{name:"gyroscopeFailed",label:{en:"On gyroscope failed"},event:{error:""}},{name:"gyroscopeStarted",label:{en:"On gyroscope started"},event:{}},{name:"gyroscopeStopped",label:{en:"On gyroscope stopped"},event:{}},{name:"locationManagerUpdated",label:{en:"On location manager updated"},event:{}},{name:"locationRequested",label:{en:"On location requested"},event:{result:!1}},{name:"biometry_info_received",label:{en:"On biometry info received"},event:{}},{name:"biometry_auth_requested",label:{en:"On biometry auth requested"},event:{result:!1}},{name:"biometry_token_updated",label:{en:"On biometry token updated"},event:{token:""}},{name:"emojiStatusSet",label:{en:"On emoji status set"},event:{result:!1}},{name:"emojiStatusAccessRequested",label:{en:"On emoji status access requested"},event:{result:!1}},{name:"homeScreenAdded",label:{en:"On home screen added"},event:{result:!1}},{name:"homeScreenChecked",label:{en:"On home screen checked"},event:{result:!1}},{name:"payment_form_submit",label:{en:"On payment form submit"},event:{}},{name:"share_score",label:{en:"On share score"},event:{}},{name:"share_game",label:{en:"On share game"},event:{}},{name:"web_app_close",label:{en:"On web app close"},event:{}},{name:"addToHomeScreenRequested",label:{en:"On add to home screen requested"},event:{result:!1}}],actions:[{action:"ready",label:{en:"Ready"}},{action:"isVersionAtLeast",label:{en:"Check version"},args:[{name:"version",type:"string",label:{en:"Version (e.g. 6.1)"}}]},{action:"expand",label:{en:"Expand WebApp"}},{action:"close",label:{en:"Close WebApp"}},{action:"requestFullscreen",label:{en:"Request fullscreen"}},{action:"exitFullscreen",label:{en:"Exit fullscreen"}},{action:"lockOrientation",label:{en:"Lock orientation"},args:[{name:"orientation",type:"string",label:{en:"Orientation (portrait/landscape)"}}]},{action:"unlockOrientation",label:{en:"Unlock orientation"}},{action:"openLink",label:{en:"Open link"},args:[{name:"url",type:"string",label:{en:"URL"}}]},{action:"openTelegramLink",label:{en:"Open Telegram link"},args:[{name:"url",type:"string",label:{en:"URL"}}]},{action:"switchInlineQuery",label:{en:"Switch inline query"},args:[{name:"query",type:"string",label:{en:"Query"}},{name:"chatTypes",type:"string",label:{en:"Chat types (comma-separated)"}}]},{action:"disableVerticalSwipes",label:{en:"Disable vertical swipes"}},{action:"enableVerticalSwipes",label:{en:"Enable vertical swipes"}},{action:"enableClosingConfirmation",label:{en:"Enable closing confirmation"}},{action:"disableClosingConfirmation",label:{en:"Disable closing confirmation"}},{action:"setHeaderColor",label:{en:"Set header color"},args:[{name:"color",type:"string",label:{en:"Color"}}]},{action:"setBackgroundColor",label:{en:"Set background color"},args:[{name:"color",type:"string",label:{en:"Color"}}]},{action:"setBottomBarColor",label:{en:"Set bottom bar color"},args:[{name:"color",type:"string",label:{en:"Color"}}]},{action:"showAlert",label:{en:"Show alert"},args:[{name:"message",type:"string",label:{en:"Message"}}]},{action:"showConfirm",label:{en:"Show confirm"},args:[{name:"message",type:"string",label:{en:"Message"}}]},{action:"showPopup",label:{en:"Show popup"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"showScanQrPopup",label:{en:"Show scan QR popup"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"closeScanQrPopup",label:{en:"Close scan QR popup"}},{action:"openInvoice",label:{en:"Open invoice"},args:[{name:"url",type:"string",label:{en:"URL"}}]},{action:"shareMessage",label:{en:"Share message"},args:[{name:"text",type:"string",label:{en:"Text"}}]},{action:"shareToStory",label:{en:"Share to story"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"downloadFile",label:{en:"Download file"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"readTextFromClipboard",label:{en:"Read text from clipboard"}},{action:"requestWriteAccess",label:{en:"Request write access"}},{action:"requestContact",label:{en:"Request contact"}},{action:"hideKeyboard",label:{en:"Hide keyboard"}},{action:"cloudStorageSetItem",label:{en:"Cloud Storage: Set item"},args:[{name:"key",type:"string",label:{en:"Key"}},{name:"value",type:"string",label:{en:"Value"}}]},{action:"cloudStorageGetItem",label:{en:"Cloud Storage: Get item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"cloudStorageRemoveItem",label:{en:"Cloud Storage: Remove item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"cloudStorageGetItems",label:{en:"Cloud Storage: Get items"},args:[{name:"keys",type:"string",label:{en:"Keys (comma-separated)"}}]},{action:"cloudStorageGetKeys",label:{en:"Cloud Storage: Get keys"}},{action:"deviceStorageSetItem",label:{en:"Device Storage: Set item"},args:[{name:"key",type:"string",label:{en:"Key"}},{name:"value",type:"string",label:{en:"Value"}}]},{action:"deviceStorageGetItem",label:{en:"Device Storage: Get item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"deviceStorageRemoveItem",label:{en:"Device Storage: Remove item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"deviceStorageClear",label:{en:"Device Storage: Clear"}},{action:"secureStorageSetItem",label:{en:"Secure Storage: Set item"},args:[{name:"key",type:"string",label:{en:"Key"}},{name:"value",type:"string",label:{en:"Value"}}]},{action:"secureStorageGetItem",label:{en:"Secure Storage: Get item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"secureStorageRestoreItem",label:{en:"Secure Storage: Restore item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"secureStorageRemoveItem",label:{en:"Secure Storage: Remove item"},args:[{name:"key",type:"string",label:{en:"Key"}}]},{action:"secureStorageClear",label:{en:"Secure Storage: Clear"}},{action:"accelerometerStart",label:{en:"Accelerometer: Start"}},{action:"accelerometerStop",label:{en:"Accelerometer: Stop"}},{action:"deviceOrientationStart",label:{en:"Device Orientation: Start"}},{action:"deviceOrientationStop",label:{en:"Device Orientation: Stop"}},{action:"gyroscopeStart",label:{en:"Gyroscope: Start"}},{action:"gyroscopeStop",label:{en:"Gyroscope: Stop"}},{action:"locationManagerInit",label:{en:"Location Manager: Init"}},{action:"locationManagerGetLocation",label:{en:"Location Manager: Get location"}},{action:"locationManagerOpenSettings",label:{en:"Location Manager: Open settings"}},{action:"biometricManagerInit",label:{en:"Biometric Manager: Init"}},{action:"biometricManagerRequestAccess",label:{en:"Biometric Manager: Request access"}},{action:"biometricManagerAuthenticate",label:{en:"Biometric Manager: Authenticate"}},{action:"biometricManagerUpdateToken",label:{en:"Biometric Manager: Update token"},args:[{name:"token",type:"string",label:{en:"Token"}}]},{action:"biometricManagerOpenSettings",label:{en:"Biometric Manager: Open settings"}},{action:"hapticImpactOccurred",label:{en:"Haptic: Impact occurred"},args:[{name:"style",type:"string",label:{en:"Style"}}]},{action:"hapticNotificationOccurred",label:{en:"Haptic: Notification occurred"},args:[{name:"type",type:"string",label:{en:"Type"}}]},{action:"hapticSelectionChanged",label:{en:"Haptic: Selection changed"}},{action:"emojiStatusSet",label:{en:"Emoji Status: Set"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"emojiStatusRequestAccess",label:{en:"Emoji Status: Request access"}},{action:"homeScreenAddShortcut",label:{en:"Home Screen: Add shortcut"},args:[{name:"params",type:"string",label:{en:"Params (JSON string)"}}]},{action:"homeScreenCheckShortcutStatus",label:{en:"Home Screen: Check shortcut status"}}]},Fk={editor:{label:{en:"QR Code Scanner"},icon:"camera"},properties:{autoStart:{label:{en:"Auto start scanning"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},shutdownAfterScan:{label:{en:"Shutdown camera after scan"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},continuousScan:{label:{en:"Continuous scanning"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},formats:{label:{en:"Barcode formats"},type:"Array",section:"settings",bindable:!0,defaultValue:["QR_CODE"],options:{expandable:!0,getItemLabel(e){return e||"Format"},item:{type:"TextSelect",options:{options:[{value:"QR_CODE",label:"QR Code"},{value:"DATA_MATRIX",label:"Data Matrix"},{value:"CODE_39",label:"Code 39"},{value:"CODE_128",label:"Code 128"},{value:"EAN_13",label:"EAN-13"},{value:"EAN_8",label:"EAN-8"},{value:"ITF",label:"ITF"},{value:"UPC_A",label:"UPC-A"},{value:"UPC_E",label:"UPC-E"},{value:"PDF_417",label:"PDF 417"},{value:"AZTEC",label:"Aztec"}]}}}},scanFrequency:{label:{en:"Scan frequency (ms)"},type:"Number",section:"settings",bindable:!0,defaultValue:500,options:{min:100,max:2e3,step:100}},showScanArea:{label:{en:"Show scan area"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},scanAreaSize:{label:{en:"Scan area size"},type:"Length",section:"style",bindable:!0,defaultValue:"200px",hidden:e=>e.showScanArea===!1},scanAreaColor:{label:{en:"Scan area border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#00FF00",hidden:e=>e.showScanArea===!1},scanAreaOverlay:{label:{en:"Scan area overlay"},type:"Color",section:"style",bindable:!0,defaultValue:"rgba(0, 0, 0, 0.5)",hidden:e=>e.showScanArea===!1,options:{nullable:!0}},scanAreaBorderRadius:{label:{en:"Scan area border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"10px",hidden:e=>e.showScanArea===!1},showLastResult:{label:{en:"Show last result"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},permissionMessage:{label:{en:"Permission message"},type:"Text",section:"settings",bindable:!0,defaultValue:"Camera access is required to scan codes"},backgroundColor:{label:{en:"Background color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},objectFit:{label:{en:"Video fit"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"cover",options:{options:[{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"fill",label:"Fill"}]}}},triggerEvents:[{name:"scan",label:{en:"On code scan"},event:{value:""},default:!0}],actions:[{action:"startScanning",label:{en:"Start scanning"}},{action:"stopScanning",label:{en:"Stop scanning"}},{action:"toggleCamera",label:{en:"Toggle camera"}},{action:"toggleTorch",label:{en:"Toggle torch/flashlight"}}],variables:[{name:"currentCameraName",type:"string",defaultValue:"",label:{en:"Current Camera Name"}},{name:"cameraList",type:"array",defaultValue:[],label:{en:"Camera List"}},{name:"torchEnabled",type:"boolean",defaultValue:!1,label:{en:"Torch Enabled"}}]},Rk={inherit:{type:"ww-text",exclude:["text"]},editor:{label:{en:"Form Input",fr:"Entrée de Formulaire"},icon:"text-input",customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"type","value","placeholder","readonly","required","autocomplete","debounce","debounceDelay"],customStylePropertiesOrder:["placeholderColor",["precision","min","max","minDate","maxDate","step","timePrecision","hideArrows","displayPassword","rows","resize","currencyShowSymbol","currencySymbol","currencySymbolPosition","currencyDecimalPlaces","currencyThousandsSeparator","currencyDecimalSeparator","currencySymbolColor","currencySymbolFontSize","currencySymbolPadding"]],hint:(e,t)=>{if(!t.parentSelection)return null;const{header:r,text:o,button:a,args:i}=t.parentSelection;return["style","settings"].map(s=>({section:s,header:r,text:o,button:{text:a,action:"selectParent",args:i}}))}},states:["focus","readonly"],actions:[{label:"Focus element",action:"focusInput"}],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"onEnterKey",label:{en:"On enter key"},event:{value:""}},{name:"focus",label:{en:"On focus"},event:null},{name:"blur",label:{en:"On blur"},event:null}],properties:{placeholderColor:{label:{en:"Placeholder color"},type:"Color",options:{nullable:!0},bindable:!0,responsive:!0,classes:!0,states:!0,hidden:e=>e.advancedPlaceholder},value:{label:{en:"Init value"},type:"Text",section:"settings",bindable:!0,defaultValue:""},type:{label:{en:"Input type",fr:"Input type"},type:"TextSelect",options:{options:[{value:"text",label:{en:"Short answer",fr:"Texte"}},{value:"textarea",label:{en:"Long answer",fr:"Texte"}},{value:"email",label:{en:"Email",fr:"Email"}},{value:"search",label:{en:"Search",fr:"Recherche"}},{value:"password",label:{en:"Password",fr:"Mot de passe"}},{value:"number",label:{en:"Number",fr:"Nombre"}},{value:"decimal",label:{en:"Decimal",fr:"Decimal"}},{value:"date",label:{en:"Date",fr:"Date"}},{value:"time",label:{en:"Time",fr:"Heure"}},{value:"tel",label:{en:"Phone",fr:"Téléphone"}},{value:"color",label:{en:"Color",fr:"Couleur"}},{value:"currency",label:{en:"Currency",fr:"Devise"}}]},defaultValue:"text"},displayPassword:{label:{en:"Display password"},type:"OnOff",bindable:!0,defaultValue:!1,classes:!0,hidden:e=>e.type!=="password"},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},required:{label:{en:"Required",fr:"Requis"},type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},precision:{label:{en:"Precision",fr:"Precision"},type:"TextSelect",options:{options:[{value:"0.1",label:{en:"1.0"}},{value:"0.01",label:{en:"1.00"}},{value:"0.001",label:{en:"1.000"}},{value:"0.0001",label:{en:"1.0000"}},{value:"0.00001",label:{en:"1.00000"}},{value:"0.000001",label:{en:"1.000000"}},{value:"0.0000001",label:{en:"1.0000000"}},{value:"0.00000001",label:{en:"1.00000000"}}]},hidden:e=>e.type!=="decimal",defaultValue:"0.1"},step:{label:{en:"Step",fr:"Step"},type:"Number",options:e=>e.type==="decimal"?{min:0,max:10*parseFloat(e.precision),step:parseFloat(e.precision)}:{min:1,max:100,step:1},defaultValue:1,bindable:!0,hidden:e=>e.type!=="decimal"&&e.type!=="number"},timePrecision:{label:{en:"Time precision",fr:"Time precision"},type:"TextSelect",options:{options:[{value:3600,label:{en:"hh"}},{value:60,label:{en:"hh:mm"}},{value:1,label:{en:"hh:mm:ss"}},{value:.1,label:{en:"hh:mm:ss.s"}}]},bindable:!0,hidden:e=>e.type!=="time",defaultValue:1},placeholder:{label:{en:"Placeholder",fr:"Placeholder"},type:"Text",options:{placeholder:"Type text"},section:"settings",hidden:e=>e.type==="date"||e.type==="time",multiLang:!0,bindable:!0,defaultValue:{}},rows:{label:{en:"Rows",fr:"Rows"},type:"Number",options:{min:1,max:25},hidden:e=>e.type!=="textarea",bindable:!0,defaultValue:4,classes:!0},resize:{label:{en:"Resize",fr:"Resize"},type:"OnOff",hidden:e=>e.type!=="textarea",defaultValue:!1,classes:!0},min:{label:{en:"Min number",fr:"Min number"},type:"Number",options:{min:0,max:100},hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:"0",bindable:!0},max:{label:{en:"Max number",fr:"Max number"},type:"Number",options:{min:0,max:1e4},hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:"10000",bindable:!0},minDate:{label:{en:"Min date"},type:"Text",hidden:e=>e.type!=="date",defaultValue:"",bindable:!0},maxDate:{label:{en:"Max date"},type:"Text",hidden:e=>e.type!=="date",defaultValue:"",bindable:!0},hideArrows:{label:{en:"Hide arrows",fr:"Masquer les flèches"},type:"OnOff",hidden:e=>e.type!=="number"&&e.type!=="decimal",defaultValue:!1,classes:!0},debounce:{label:{en:"Debounce"},type:"OnOff",section:"settings",defaultValue:!1},debounceDelay:{type:"Length",label:{en:"Delay"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},section:"settings",defaultValue:"500ms",responsive:!0,hidden:e=>!e.debounce},autocomplete:{label:{en:"Autocomplete",fr:"Autocomplétion"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}},currencyShowSymbol:{label:{en:"Show currency symbol"},type:"OnOff",bindable:!0,defaultValue:!0,hidden:e=>e.type!=="currency"},currencySymbol:{label:{en:"Currency symbol"},type:"Text",bindable:!0,defaultValue:"$",hidden:e=>!e.currencyShowSymbol||e.type!=="currency"},currencySymbolPosition:{label:{en:"Symbol position"},type:"TextRadioGroup",bindable:!0,defaultValue:"prefix",options:{choices:[{value:"prefix",title:"Before",icon:"align-left"},{value:"suffix",title:"After",icon:"align-right"}]},hidden:e=>!e.currencyShowSymbol||e.type!=="currency"},currencyDecimalPlaces:{label:{en:"Decimal places"},type:"Number",bindable:!0,defaultValue:2,options:{min:0,max:10,step:1},hidden:e=>e.type!=="currency"},currencyThousandsSeparator:{label:{en:"Thousands separator"},type:"TextSelect",bindable:!0,defaultValue:",",options:{options:[{value:",",label:"Comma (,)"},{value:".",label:"Dot (.)"},{value:" ",label:"Space ( )"},{value:"'",label:"Apostrophe (')"},{value:"",label:"None"}]},hidden:e=>e.type!=="currency"},currencyDecimalSeparator:{label:{en:"Decimal separator"},type:"TextSelect",bindable:!0,defaultValue:".",options:{options:[{value:".",label:"Dot (.)"},{value:",",label:"Comma (,)"}]},hidden:e=>e.type!=="currency"},currencySymbolColor:{label:{en:"Symbol color"},type:"Color",classes:!0,bindable:!0,responsive:!0,states:!0,defaultValue:"#666666",hidden:e=>e.type!=="currency"},currencySymbolFontSize:{label:{en:"Symbol font size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"em",label:"em",min:0,max:10},{value:"%",label:"%",min:0,max:100}]},classes:!0,bindable:!0,responsive:!0,states:!0,defaultValue:"1em",responsive:!0,hidden:e=>e.type!=="currency"},currencySymbolPadding:{label:{en:"Symbol padding"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"em",label:"em",min:0,max:10},{value:"%",label:"%",min:0,max:100}]},classes:!0,bindable:!0,responsive:!0,states:!0,defaultValue:"4px",responsive:!0,hidden:e=>e.type!=="currency"}}},Vk={editor:{label:{en:"Dropdown with Search"},icon:"filter"},properties:{options:{label:{en:"Options"},type:"Array",section:"settings",bindable:!0,defaultValue:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}],options:{expandable:!0,getItemLabel(e){return e.label||`Option ${e.value}`},item:{type:"Object",defaultValue:{label:"New Option",value:"new-option",icon:null},options:{item:{label:{label:"Label",type:"Text",options:{placeholder:"Option label"}},value:{label:"Value",type:"Text",options:{placeholder:"Option value"}},icon:{label:"Icon",type:"SystemIcon",options:{nullable:!0}}}}}}},showHierarchy:{label:{en:"Show hierarchy"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},parentPropertyPath:{label:{en:"Parent ID property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!e.showHierarchy||!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},labelPropertyPath:{label:{en:"Label property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},valuePropertyPath:{label:{en:"Value property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},iconPropertyPath:{label:{en:"Icon property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options||!e.enableIcons}},enableIcons:{label:{en:"Enable icons"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},enableSearch:{label:{en:"Enable search"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},enableNoValue:{label:{en:"Enable 'No Value' option"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},searchPlaceholder:{label:{en:"Search placeholder"},type:"Text",section:"settings",bindable:!0,defaultValue:"Search..."},noResultsText:{label:{en:"No results text"},type:"Text",section:"settings",bindable:!0,defaultValue:"No options found"},noValueLabel:{label:{en:"No value label"},type:"Text",section:"settings",bindable:!0,defaultValue:"Not selected",hidden:e=>!e.enableNoValue},initialValue:{label:{en:"Initial value"},type:"Object",section:"settings",bindable:!0,defaultValue:null},placeholder:{label:{en:"Placeholder"},type:"Text",section:"settings",bindable:!0,defaultValue:"Select an option"},disabled:{label:{en:"Disabled"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},triggerPadding:{label:{en:"Trigger padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px"},optionPadding:{label:{en:"Option padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px"},triggerBackgroundColor:{label:{en:"Trigger background"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},triggerTextColor:{label:{en:"Trigger text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},placeholderColor:{label:{en:"Placeholder color"},type:"Color",section:"style",bindable:!0,defaultValue:"#999999"},menuBackgroundColor:{label:{en:"Menu background"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},optionTextColor:{label:{en:"Option text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},optionHoverColor:{label:{en:"Hover background"},type:"Color",section:"style",bindable:!0,defaultValue:"#f5f5f5"},optionHoverTextColor:{label:{en:"Hover text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},optionHoverFontWeight:{label:{en:"Option hover weight"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"bold",label:"Bold"},{value:"100",label:"100 - Thin"},{value:"200",label:"200 - Extra Light"},{value:"300",label:"300 - Light"},{value:"400",label:"400 - Normal"},{value:"500",label:"500 - Medium"},{value:"600",label:"600 - Semi Bold"},{value:"700",label:"700 - Bold"},{value:"800",label:"800 - Extra Bold"},{value:"900",label:"900 - Black"}]}},selectedOptionBgColor:{label:{en:"Selected background"},type:"Color",section:"style",bindable:!0,defaultValue:"#e6f0fd"},selectedOptionTextColor:{label:{en:"Selected text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4a90e2"},borderColor:{label:{en:"Border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd"},focusBorderColor:{label:{en:"Focus border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4a90e2"},inputBorderRadius:{label:{en:"Input border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px"},menuBorderRadius:{label:{en:"Menu border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px"},menuBorderColor:{label:{en:"Menu border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd"},menuShadow:{label:{en:"Menu shadow"},type:"Shadows",section:"style",bindable:!0,defaultValue:"0 2px 10px rgba(0, 0, 0, 0.1)"},fontSize:{label:{en:"Font size"},type:"Length",section:"style",bindable:!0,defaultValue:"14px"},fontFamily:{label:{en:"Font family"},type:"FontFamily",section:"style",bindable:!0,defaultValue:"inherit"},fontWeight:{label:{en:"Font weight"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"bold",label:"Bold"},{value:"100",label:"100 - Thin"},{value:"200",label:"200 - Extra Light"},{value:"300",label:"300 - Light"},{value:"400",label:"400 - Normal"},{value:"500",label:"500 - Medium"},{value:"600",label:"600 - Semi Bold"},{value:"700",label:"700 - Bold"},{value:"800",label:"800 - Extra Bold"},{value:"900",label:"900 - Black"}]}},placeholderFontStyle:{label:{en:"Placeholder font style"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"italic",label:"Italic"}]}},caretIconSize:{label:{en:"Caret icon size"},type:"Length",section:"style",bindable:!0,defaultValue:"16px"},focusShadow:{label:{en:"Focus shadow"},type:"Shadows",section:"style",bindable:!0,defaultValue:"0 0 1px #4a90e2"}},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:null},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:null}}]},Fr={fontSize:{type:"Length",label:{en:"Size",fr:"Taille"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},responsive:!0},fontFamily:{type:"FontFamily",label:{en:"Font family",fr:"Font"},responsive:!0},fontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default",fr:"Par défaut"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},responsive:!0},textAlign:{type:"TextRadioGroup",options:{choices:[{value:"left",default:!0,title:{en:"Left",fr:"Gauche"},icon:"menu-alt-2"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"text-middle"},{value:"right",title:{en:"Right",fr:"Droite"},icon:"menu-alt-3"},{value:"justify",title:{en:"Justify",fr:"Justifié"},icon:"menu"}]},label:{en:"Alignment",fr:"Alignement"},responsive:!0,bindable:!0},color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},responsive:!0,bindable:!0,options:{nullable:!0}},lineHeight:{label:{en:"Line height",fr:"Hauteur de ligne"},responsive:!0,type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100}],noRange:!0},bindable:!0},marginTop:{type:"Length",responsive:!0,label:{en:"Margin top",fr:"Margin top"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},bindable:!0},marginBottom:{type:"Length",responsive:!0,label:{en:"Margin bottom",fr:"Margin bottom"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},bindable:!0}};function $v(e,{content:t,boundProps:r}){return r[e]&&t[e]&&typeof wwLib.wwCollection.getCollectionData(t[e])[0]=="object"}function Pv(e,{content:t}){const r=wwLib.wwCollection.getCollectionData(t[e]);return!r.length||typeof r[0]!="object"?null:{object:r[0]}}const Hk={editor:{label:{en:"Rich text"},customStylePropertiesOrder:["customMenu","menuColor",["selectedTag","h1","h2","h3","h4","h5","h6","p","mention","a","blockquote","code","img","checkbox","table"]],customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"readonly","editable","hideMenu","wrapMenu","initialValue","output","placeholder","debounce","debounceDelay","autofocus","enableMention",["mentionChar","mentionAllowSpaces","mentionListLength","mentionList","mentionIdPath","mentionLabelPath"],["parameterTitle","parameterTextType","parameterBold","parameterItalic","parameterUnderline","parameterStrike","parameterAlignLeft","parameterAlignCenter","parameterAlignRight","parameterAlignJustify","parameterTextColor","parameterBulletList","parameterOrderedList","parameterTaskList","parameterTable","parameterLink","parameterImage","parameterCodeBlock","parameterQuote","parameterInlineMath","parameterBlockMath","parameterUndo","parameterRedo"]]},options:{displayAllowedValues:["flex","inline-flex"],icons:["lucide/bold","lucide/italic","lucide/underline","lucide/strikethrough","lucide/align-left","lucide/align-center","lucide/align-right","lucide/align-justify","lucide/palette","lucide/list","lucide/list-ordered","lucide/list-checks","lucide/link","lucide/image","lucide/code","lucide/quote","lucide/square-function","lucide/sigma","lucide/undo","lucide/redo"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""}},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"mention:click",label:{en:"On mention click"},event:{mention:{id:"",label:""}}},{name:"focus",label:{en:"On focus"},event:{value:""}},{name:"blur",label:{en:"On blur"},event:{value:""}}],actions:[{label:"Focus Rich text",action:"focusEditor"},{label:"Set Link",action:"setLink",args:[{name:"URL",type:"Text"}]},{label:"Set Image",action:"setImage",args:[{name:"Source",type:"Text"},{name:"Alt",type:"Text"},{name:"Title",type:"Text"}]},{label:"Set Tag",action:"setTag",args:[{name:"Tag",type:"select",options:[{value:0,label:{en:"p"}},{value:1,label:{en:"h1"}},{value:2,label:{en:"h2"}},{value:3,label:{en:"h3"}},{value:4,label:{en:"h4"}},{value:5,label:{en:"h5"}},{value:6,label:{en:"h6"}}]}]},{label:"Toggle Bold",action:"toggleBold"},{label:"Toggle Italic",action:"toggleItalic"},{label:"Toggle Underline",action:"toggleUnderline"},{label:"Toggle Strike",action:"toggleStrike"},{label:"Set Text Align",action:"setTextAlign",args:[{name:"Alignment",type:"select",options:[{value:"left",label:{en:"left"}},{value:"center",label:{en:"center"}},{value:"right",label:{en:"right"}},{value:"justify",label:{en:"justify"}}]}]},{label:"Set Color",action:"setColor",args:[{name:"Color",type:"color"}]},{label:"Toggle Bullet List",action:"toggleBulletList"},{label:"Toggle Ordered List",action:"toggleOrderedList"},{label:"Toggle Check List",action:"toggleTaskList"},{label:"Toggle Code Block",action:"toggleCodeBlock"},{label:"Toggle Blockquote",action:"toggleBlockquote"},{label:"Insert Inline Math",action:"insertInlineMath",args:[{name:"Inline LaTeX Expression",type:"Text"}]},{label:"Insert Block Math",action:"insertBlockMath",args:[{name:"Block LaTeX Expression",type:"Text"}]},{label:"Undo",action:"undo"},{label:"Redo",action:"redo"},{label:"Insert Table",action:"insertTable"},{label:"Insert Row",action:"insertRow",args:[{name:"Position",type:"select",options:[{value:"before",label:{en:"Before"}},{value:"after",label:{en:"After"}}]}]},{label:"Insert Column",action:"insertColumn",args:[{name:"Position",type:"select",options:[{value:"before",label:{en:"Before"}},{value:"after",label:{en:"After"}}]}]},{label:"Delete Row",action:"deleteRow"},{label:"Delete Column",action:"deleteColumn"},{label:"Delete Table",action:"deleteTable"}],properties:{readonly:{section:"settings",label:{en:"Read only"},type:"OnOff",defaultValue:!1,bindable:!0},customMenu:{label:{en:"Custom menu"},type:"OnOff",defaultValue:!1,bindable:!0},initialValue:{section:"settings",label:{en:"Init value"},type:"Textarea",defaultValue:"",bindable:!0},output:{label:{en:"Output",fr:"Output"},type:"TextSelect",options:{options:[{value:"html",label:{en:"html"}},{value:"markdown",label:{en:"markdown"}}]},section:"settings",defaultValue:"html"},debounce:{label:{en:"Debounce"},type:"OnOff",section:"settings",defaultValue:!1},debounceDelay:{type:"Length",label:{en:"Delay"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},section:"settings",defaultValue:"500ms",responsive:!0,hidden:e=>!e.debounce},placeholder:{section:"settings",label:{en:"Placeholder"},type:"Textarea",defaultValue:"Type here...",bindable:!0},enableMention:{section:"settings",label:{en:"Mentions"},type:"OnOff",defaultValue:!1},mentionList:{section:"settings",label:{en:"Mentions List"},hidden:e=>!e.enableMention,type:"Array",options:{item:{type:"Object",defaultValue:{id:"",label:""},options:{item:{id:{label:{en:"Id"},type:"Text"},label:{label:{en:"Label"},type:"Text"}}}}},defaultValue:[],bindable:!0},mentionIdPath:{hidden:(e,t,r)=>!$v("mentionList",{content:e,boundProps:r}),label:{en:"Id property"},type:"ObjectPropertyPath",options:e=>Pv("mentionList",{content:e}),defaultValue:null,section:"settings"},mentionLabelPath:{hidden:(e,t,r)=>!$v("mentionList",{content:e,boundProps:r}),label:{en:"Label property"},type:"ObjectPropertyPath",options:e=>Pv("mentionList",{content:e}),defaultValue:null,section:"settings"},mentionAllowSpaces:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Allow spaces"},type:"OnOff",defaultValue:!1},mentionChar:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Char trigger"},type:"Text",defaultValue:"@"},mentionListLength:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Numbers of suggestion"},type:"Number",options:{min:1,max:20,step:1},bindable:!0,defaultValue:5},autofocus:{section:"settings",label:{en:"Autofocus"},type:"OnOff",defaultValue:!1},editable:{section:"settings",label:{en:"Editable"},type:"OnOff",defaultValue:!0,bindable:!0},hideMenu:{section:"settings",label:{en:"Hide menu"},type:"OnOff",defaultValue:!1,bindable:!0,hidden:e=>e.customMenu},wrapMenu:{section:"settings",label:{en:"Wrap menu"},type:"OnOff",defaultValue:!1,bindable:!0,hidden:e=>e.customMenu},menuColor:{label:{en:"Menu color"},type:"Color",defaultValue:"#000000ad",states:!0,classes:!0,responsive:!0,hidden:e=>e.customMenu},selectedTag:{label:{en:"Tag to edit",fr:"Tag à éditer"},type:"TextSelect",editorOnly:!0,options:{options:[{value:"h1",label:{en:"h1"}},{value:"h2",label:{en:"h2"}},{value:"h3",label:{en:"h3"}},{value:"h4",label:{en:"h4"}},{value:"h5",label:{en:"h5"}},{value:"h6",label:{en:"h6"}},{value:"p",label:{en:"p"}},{value:"a",label:{en:"a"}},{value:"img",label:{en:"image"}},{value:"blockquote",label:{en:"blockquote"}},{value:"code",label:{en:"code"}},{value:"mention",label:{en:"mention"}},{value:"checkbox",label:{en:"checkbox"}},{value:"table",label:{en:"table"}}]},defaultValue:null},h1:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h1",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"32px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h2:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h2",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"24px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h3:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h3",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"19px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h4:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h4",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h5:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h5",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h6:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h6",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},p:{type:"Object",hidden:(e,t)=>t.selectedTag!=="p",options:{item:Fr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},mention:{type:"Object",hidden:(e,t)=>t.selectedTag!=="mention",options:{item:{fontSize:Fr.fontSize,fontFamily:Fr.fontFamily,fontWeight:Fr.fontWeight,color:Fr.color,borderSize:{type:"Length",label:{en:"Border",fr:"Bordure"},options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},bindable:!0},borderRadius:{type:"Length",label:{en:"Border radius",fr:"Border radius"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontFWeight:"",color:"#099AF2",borderSize:"1px",borderRadius:"6px"},states:!0,classes:!0,responsive:!0},a:{type:"Object",hidden:(e,t)=>t.selectedTag!=="a",options:{item:{fontSize:Fr.fontSize,fontFamily:Fr.fontFamily,color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},isUnderline:{type:"OnOff",label:{en:"Underline",fr:"Soulingé"},bindable:!0}},singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",color:"",isUnderline:!0},states:!0,classes:!0,responsive:!0},blockquote:{type:"Object",hidden:(e,t)=>t.selectedTag!=="blockquote",options:{item:{color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},borderColor:{type:"Color",label:{en:"Blockquote color",fr:"Couleur de la bordure"},bindable:!0,options:{nullable:!0}},marginTop:{type:"Length",label:{en:"Margin top",fr:"Margin top"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}},marginBottom:{type:"Length",label:{en:"Margin bottom",fr:"Margin bottom"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{color:"rgb(153, 153, 153)",borderColor:"rgb(223, 226, 229)",marginTop:"6px",marginBottom:"6px"},states:!0,classes:!0,responsive:!0},code:{type:"Object",hidden:(e,t)=>t.selectedTag!=="code",options:{item:{fontSize:Fr.fontSize,color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},bgColor:{type:"Color",label:{en:"Blockquote color",fr:"Couleur de la bordure"},bindable:!0,options:{nullable:!0}},borderRadius:{type:"Length",label:{en:"Border radius",fr:"Border radius"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0}},paddingX:{type:"Length",label:{en:"Padding X",fr:"Padding X"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}},paddingY:{type:"Length",label:{en:"Padding Y",fr:"Padding Y"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{color:"#FFF",bgColor:"#0D0D0D",borderRadius:"8px",paddingX:"16px",paddingY:"12px",fontSize:"13px"},states:!0,classes:!0,responsive:!0},img:{type:"Object",hidden:(e,t)=>t.selectedTag!=="img",options:{item:{maxWidth:{type:"Length",label:{en:"Max width",fr:"Max width"},bindable:!0,options:{unitChoices:[{value:"auto",label:"auto",default:!0},{value:"px",label:"px",min:1,max:300}],noRange:!0,useVar:!0}},maxHeight:{type:"Length",label:{en:"Max height",fr:"Max height"},bindable:!0,options:{unitChoices:[{value:"auto",label:"auto",default:!0},{value:"px",label:"px",min:1,max:300}],noRange:!0,useVar:!0}},inline:{type:"OnOff",label:{en:"Inline",fr:"Inline"}}},singleLine:!0},defaultValue:{maxWidth:"auto",maxHeight:"auto",inline:!1},states:!0,classes:!0,responsive:!0},checkbox:{type:"Object",hidden:(e,t)=>t.selectedTag!=="checkbox",options:{item:{color:{type:"Color",label:{en:"Accent color"},bindable:!0,options:{nullable:!0}}},singleLine:!0},defaultValue:{color:"#000"},states:!0,classes:!0,responsive:!0},customMenuElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",state:{name:"Custom menu container",style:{default:{width:"100%"}}}},navigator:{hidden:e=>!e.customMenu}},table:{type:"Object",hidden:(e,t)=>t.selectedTag!=="table",options:{item:{borderColor:{type:"Color",label:{en:"Border color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0,defaultValue:"#099af2"},borderWidth:{type:"Length",label:{en:"Border width"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0,defaultValue:"1px"},headerBgColor:{type:"Color",label:{en:"Header background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},headerColor:{type:"Color",label:{en:"Header text color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},pairCellBgColor:{type:"Color",label:{en:"Pair row background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},oddCellBgColor:{type:"Color",label:{en:"Impair row background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},cellColor:{type:"Color",label:{en:"Cell text color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},cellPaddingY:{type:"Length",label:{en:"Cell padding Y"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0},cellPaddingX:{type:"Length",label:{en:"Cell padding X"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0}},singleLine:!0},defaultValue:{borderColor:"#C7C7C7",borderWidth:"1px",headerBgColor:"#f5f5f5",headerColor:"#000",pairCellBgColor:"#fff",oddCellBgColor:"#FDFDFD",cellColor:"#000",cellPaddingY:"6px",cellPaddingX:"8px"},states:!0,classes:!0,responsive:!0},parameterTitle:{section:"settings",hidden:e=>e.customMenu,type:"Title",label:{en:"Parameters"},editorOnly:!0},parameterTextType:{section:"settings",hidden:e=>e.customMenu,label:{en:"Text type"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterBold:{section:"settings",hidden:e=>e.customMenu,label:{en:"Bold"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterItalic:{section:"settings",hidden:e=>e.customMenu,label:{en:"Italic"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterUnderline:{section:"settings",hidden:e=>e.customMenu,label:{en:"Underline"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterStrike:{section:"settings",hidden:e=>e.customMenu,label:{en:"Strike"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterAlignLeft:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align left"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignCenter:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align center"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignRight:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align right"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignJustify:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align justify"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterTextColor:{section:"settings",hidden:e=>e.customMenu,label:{en:"Text color"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterBulletList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Bullet list"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterOrderedList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Ordered list"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterTaskList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Check list"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{default:!0,value:!1,label:"Hide"}]},defaultValue:!1},parameterTable:{section:"settings",hidden:e=>e.customMenu,label:{en:"Table"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,label:"Hide",default:!0}]},defaultValue:!0},parameterLink:{section:"settings",hidden:e=>e.customMenu,label:{en:"Link"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterImage:{section:"settings",hidden:e=>e.customMenu,label:{en:"Image"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterCodeBlock:{section:"settings",hidden:e=>e.customMenu,label:{en:"Code block"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterQuote:{section:"settings",hidden:e=>e.customMenu,label:{en:"Quote"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterInlineMath:{section:"settings",hidden:e=>e.customMenu,label:{en:"Inline math"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterBlockMath:{section:"settings",hidden:e=>e.customMenu,label:{en:"Block math"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterUndo:{section:"settings",hidden:e=>e.customMenu,label:{en:"Undo"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterRedo:{section:"settings",hidden:e=>e.customMenu,label:{en:"Redo"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},Rr={fontSize:{type:"Length",label:{en:"Size",fr:"Taille"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},responsive:!0},fontFamily:{type:"FontFamily",label:{en:"Font family",fr:"Font"},responsive:!0},fontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default",fr:"Par défaut"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},responsive:!0},textAlign:{type:"TextRadioGroup",options:{choices:[{value:"left",default:!0,title:{en:"Left",fr:"Gauche"},icon:"menu-alt-2"},{value:"center",title:{en:"Center",fr:"Milieu"},icon:"text-middle"},{value:"right",title:{en:"Right",fr:"Droite"},icon:"menu-alt-3"},{value:"justify",title:{en:"Justify",fr:"Justifié"},icon:"menu"}]},label:{en:"Alignment",fr:"Alignement"},responsive:!0,bindable:!0},color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},responsive:!0,bindable:!0,options:{nullable:!0}},lineHeight:{label:{en:"Line height",fr:"Hauteur de ligne"},responsive:!0,type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100}],noRange:!0},bindable:!0},marginTop:{type:"Length",responsive:!0,label:{en:"Margin top",fr:"Margin top"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},bindable:!0},marginBottom:{type:"Length",responsive:!0,label:{en:"Margin bottom",fr:"Margin bottom"},options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0},bindable:!0}};function Cv(e,{content:t,boundProps:r}){return r[e]&&t[e]&&typeof wwLib.wwCollection.getCollectionData(t[e])[0]=="object"}function Ev(e,{content:t}){const r=wwLib.wwCollection.getCollectionData(t[e]);return!r.length||typeof r[0]!="object"?null:{object:r[0]}}const Yk={editor:{deprecated:"Use a rich text from the Elements panel instead of this one.",label:{en:"Rich text"},customStylePropertiesOrder:["customMenu","menuColor",["selectedTag","h1","h2","h3","h4","h5","h6","p","mention","a","blockquote","code","img","checkbox","table"]],customSettingsPropertiesOrder:["formInfobox",["fieldName","customValidation","validation"],"readonly","editable","hideMenu","wrapMenu","initialValue","output","placeholder","debounce","debounceDelay","autofocus","enableMention",["mentionChar","mentionAllowSpaces","mentionListLength","mentionList","mentionIdPath","mentionLabelPath"],["parameterTitle","parameterTextType","parameterBold","parameterItalic","parameterUnderline","parameterStrike","parameterAlignLeft","parameterAlignCenter","parameterAlignRight","parameterAlignJustify","parameterTextColor","parameterBulletList","parameterOrderedList","parameterTaskList","parameterTable","parameterLink","parameterImage","parameterCodeBlock","parameterQuote","parameterInlineMath","parameterBlockMath","parameterUndo","parameterRedo"]]},options:{displayAllowedValues:["flex","inline-flex"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""}},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"mention:click",label:{en:"On mention click"},event:{mention:{id:"",label:""}}},{name:"focus",label:{en:"On focus"},event:{value:""}},{name:"blur",label:{en:"On blur"},event:{value:""}}],actions:[{label:"Focus Rich text",action:"focusEditor"},{label:"Set Link",action:"setLink",args:[{name:"URL",type:"Text"}]},{label:"Set Image",action:"setImage",args:[{name:"Source",type:"Text"},{name:"Alt",type:"Text"},{name:"Title",type:"Text"}]},{label:"Set Tag",action:"setTag",args:[{name:"Tag",type:"select",options:[{value:0,label:{en:"p"}},{value:1,label:{en:"h1"}},{value:2,label:{en:"h2"}},{value:3,label:{en:"h3"}},{value:4,label:{en:"h4"}},{value:5,label:{en:"h5"}},{value:6,label:{en:"h6"}}]}]},{label:"Toggle Bold",action:"toggleBold"},{label:"Toggle Italic",action:"toggleItalic"},{label:"Toggle Underline",action:"toggleUnderline"},{label:"Toggle Strike",action:"toggleStrike"},{label:"Set Text Align",action:"setTextAlign",args:[{name:"Alignment",type:"select",options:[{value:"left",label:{en:"left"}},{value:"center",label:{en:"center"}},{value:"right",label:{en:"right"}},{value:"justify",label:{en:"justify"}}]}]},{label:"Set Color",action:"setColor",args:[{name:"Color",type:"color"}]},{label:"Toggle Bullet List",action:"toggleBulletList"},{label:"Toggle Ordered List",action:"toggleOrderedList"},{label:"Toggle Check List",action:"toggleTaskList"},{label:"Toggle Code Block",action:"toggleCodeBlock"},{label:"Toggle Blockquote",action:"toggleBlockquote"},{label:"Insert Inline Math",action:"insertInlineMath",args:[{name:"Inline LaTeX Expression",type:"Text"}]},{label:"Insert Block Math",action:"insertBlockMath",args:[{name:"Block LaTeX Expression",type:"Text"}]},{label:"Undo",action:"undo"},{label:"Redo",action:"redo"},{label:"Insert Table",action:"insertTable"},{label:"Insert Row",action:"insertRow",args:[{name:"Position",type:"select",options:[{value:"before",label:{en:"Before"}},{value:"after",label:{en:"After"}}]}]},{label:"Insert Column",action:"insertColumn",args:[{name:"Position",type:"select",options:[{value:"before",label:{en:"Before"}},{value:"after",label:{en:"After"}}]}]},{label:"Delete Row",action:"deleteRow"},{label:"Delete Column",action:"deleteColumn"},{label:"Delete Table",action:"deleteTable"}],properties:{readonly:{section:"settings",label:{en:"Read only"},type:"OnOff",defaultValue:!1,bindable:!0},customMenu:{label:{en:"Custom menu"},type:"OnOff",defaultValue:!1,bindable:!0},initialValue:{section:"settings",label:{en:"Init value"},type:"Textarea",defaultValue:"",bindable:!0},output:{label:{en:"Output",fr:"Output"},type:"TextSelect",options:{options:[{value:"html",label:{en:"html"}},{value:"markdown",label:{en:"markdown"}}]},section:"settings",defaultValue:"html"},debounce:{label:{en:"Debounce"},type:"OnOff",section:"settings",defaultValue:!1},debounceDelay:{type:"Length",label:{en:"Delay"},options:{unitChoices:[{value:"ms",label:"ms",min:1,max:5e3}]},section:"settings",defaultValue:"500ms",responsive:!0,hidden:e=>!e.debounce},placeholder:{section:"settings",label:{en:"Placeholder"},type:"Textarea",defaultValue:"Type here...",bindable:!0},enableMention:{section:"settings",label:{en:"Mentions"},type:"OnOff",defaultValue:!1},mentionList:{section:"settings",label:{en:"Mentions List"},hidden:e=>!e.enableMention,type:"Array",options:{item:{type:"Object",defaultValue:{id:"",label:""},options:{item:{id:{label:{en:"Id"},type:"Text"},label:{label:{en:"Label"},type:"Text"}}}}},defaultValue:[],bindable:!0},mentionIdPath:{hidden:(e,t,r)=>!Cv("mentionList",{content:e,boundProps:r}),label:{en:"Id property"},type:"ObjectPropertyPath",options:e=>Ev("mentionList",{content:e}),defaultValue:null,section:"settings"},mentionLabelPath:{hidden:(e,t,r)=>!Cv("mentionList",{content:e,boundProps:r}),label:{en:"Label property"},type:"ObjectPropertyPath",options:e=>Ev("mentionList",{content:e}),defaultValue:null,section:"settings"},mentionAllowSpaces:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Allow spaces"},type:"OnOff",defaultValue:!1},mentionChar:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Char trigger"},type:"Text",defaultValue:"@"},mentionListLength:{section:"settings",hidden:e=>!e.enableMention,label:{en:"Numbers of suggestion"},type:"Number",options:{min:1,max:20,step:1},bindable:!0,defaultValue:5},autofocus:{section:"settings",label:{en:"Autofocus"},type:"OnOff",defaultValue:!1},editable:{section:"settings",label:{en:"Editable"},type:"OnOff",defaultValue:!0,bindable:!0},hideMenu:{section:"settings",label:{en:"Hide menu"},type:"OnOff",defaultValue:!1,bindable:!0,hidden:e=>e.customMenu},wrapMenu:{section:"settings",label:{en:"Wrap menu"},type:"OnOff",defaultValue:!1,bindable:!0,hidden:e=>e.customMenu},menuColor:{label:{en:"Menu color"},type:"Color",defaultValue:"#000000ad",states:!0,classes:!0,responsive:!0,hidden:e=>e.customMenu},selectedTag:{label:{en:"Tag to edit",fr:"Tag à éditer"},type:"TextSelect",editorOnly:!0,options:{options:[{value:"h1",label:{en:"h1"}},{value:"h2",label:{en:"h2"}},{value:"h3",label:{en:"h3"}},{value:"h4",label:{en:"h4"}},{value:"h5",label:{en:"h5"}},{value:"h6",label:{en:"h6"}},{value:"p",label:{en:"p"}},{value:"a",label:{en:"a"}},{value:"img",label:{en:"image"}},{value:"blockquote",label:{en:"blockquote"}},{value:"code",label:{en:"code"}},{value:"mention",label:{en:"mention"}},{value:"checkbox",label:{en:"checkbox"}},{value:"table",label:{en:"table"}}]},defaultValue:null},h1:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h1",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"32px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h2:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h2",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"24px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h3:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h3",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"19px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h4:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h4",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h5:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h5",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},h6:{type:"Object",hidden:(e,t)=>t.selectedTag!=="h6",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},p:{type:"Object",hidden:(e,t)=>t.selectedTag!=="p",options:{item:Rr,singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontWeight:"",textAlign:"",color:"",lineHeight:"",marginTop:"",marginBottom:""},states:!0,classes:!0,responsive:!0},mention:{type:"Object",hidden:(e,t)=>t.selectedTag!=="mention",options:{item:{fontSize:Rr.fontSize,fontFamily:Rr.fontFamily,fontWeight:Rr.fontWeight,color:Rr.color,borderSize:{type:"Length",label:{en:"Border",fr:"Bordure"},options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},bindable:!0},borderRadius:{type:"Length",label:{en:"Border radius",fr:"Border radius"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",fontFWeight:"",color:"#099AF2",borderSize:"1px",borderRadius:"6px"},states:!0,classes:!0,responsive:!0},a:{type:"Object",hidden:(e,t)=>t.selectedTag!=="a",options:{item:{fontSize:Rr.fontSize,fontFamily:Rr.fontFamily,color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},isUnderline:{type:"OnOff",label:{en:"Underline",fr:"Soulingé"},bindable:!0}},singleLine:!0},defaultValue:{fontSize:"16px",fontFamily:"",color:"",isUnderline:!0},states:!0,classes:!0,responsive:!0},blockquote:{type:"Object",hidden:(e,t)=>t.selectedTag!=="blockquote",options:{item:{color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},borderColor:{type:"Color",label:{en:"Blockquote color",fr:"Couleur de la bordure"},bindable:!0,options:{nullable:!0}},marginTop:{type:"Length",label:{en:"Margin top",fr:"Margin top"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}},marginBottom:{type:"Length",label:{en:"Margin bottom",fr:"Margin bottom"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{color:"rgb(153, 153, 153)",borderColor:"rgb(223, 226, 229)",marginTop:"6px",marginBottom:"6px"},states:!0,classes:!0,responsive:!0},code:{type:"Object",hidden:(e,t)=>t.selectedTag!=="code",options:{item:{fontSize:Rr.fontSize,color:{type:"Color",label:{en:"Text color",fr:"Couleur du texte"},bindable:!0,options:{nullable:!0}},bgColor:{type:"Color",label:{en:"Blockquote color",fr:"Couleur de la bordure"},bindable:!0,options:{nullable:!0}},borderRadius:{type:"Length",label:{en:"Border radius",fr:"Border radius"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0}},paddingX:{type:"Length",label:{en:"Padding X",fr:"Padding X"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}},paddingY:{type:"Length",label:{en:"Padding Y",fr:"Padding Y"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:100}],noRange:!0,useVar:!0}}},singleLine:!0},defaultValue:{color:"#FFF",bgColor:"#0D0D0D",borderRadius:"8px",paddingX:"16px",paddingY:"12px",fontSize:"13px"},states:!0,classes:!0,responsive:!0},img:{type:"Object",hidden:(e,t)=>t.selectedTag!=="img",options:{item:{maxWidth:{type:"Length",label:{en:"Max width",fr:"Max width"},bindable:!0,options:{unitChoices:[{value:"auto",label:"auto",default:!0},{value:"px",label:"px",min:1,max:300}],noRange:!0,useVar:!0}},maxHeight:{type:"Length",label:{en:"Max height",fr:"Max height"},bindable:!0,options:{unitChoices:[{value:"auto",label:"auto",default:!0},{value:"px",label:"px",min:1,max:300}],noRange:!0,useVar:!0}},inline:{type:"OnOff",label:{en:"Inline",fr:"Inline"}}},singleLine:!0},defaultValue:{maxWidth:"auto",maxHeight:"auto",inline:!1},states:!0,classes:!0,responsive:!0},checkbox:{type:"Object",hidden:(e,t)=>t.selectedTag!=="checkbox",options:{item:{color:{type:"Color",label:{en:"Accent color"},bindable:!0,options:{nullable:!0}}},singleLine:!0},defaultValue:{color:"#000"},states:!0,classes:!0,responsive:!0},customMenuElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-flexbox",state:{name:"Custom menu container",style:{default:{width:"100%"}}}},navigator:{hidden:e=>!e.customMenu}},table:{type:"Object",hidden:(e,t)=>t.selectedTag!=="table",options:{item:{borderColor:{type:"Color",label:{en:"Border color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0,defaultValue:"#099af2"},borderWidth:{type:"Length",label:{en:"Border width"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0,defaultValue:"1px"},headerBgColor:{type:"Color",label:{en:"Header background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},headerColor:{type:"Color",label:{en:"Header text color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},pairCellBgColor:{type:"Color",label:{en:"Pair row background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},oddCellBgColor:{type:"Color",label:{en:"Impair row background color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},cellColor:{type:"Color",label:{en:"Cell text color"},bindable:!0,options:{nullable:!0},classes:!0,states:!0},cellPaddingY:{type:"Length",label:{en:"Cell padding Y"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0},cellPaddingX:{type:"Length",label:{en:"Cell padding X"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:10}],noRange:!0,useVar:!0},classes:!0,states:!0}},singleLine:!0},defaultValue:{borderColor:"#C7C7C7",borderWidth:"1px",headerBgColor:"#f5f5f5",headerColor:"#000",pairCellBgColor:"#fff",oddCellBgColor:"#FDFDFD",cellColor:"#000",cellPaddingY:"6px",cellPaddingX:"8px"},states:!0,classes:!0,responsive:!0},parameterTitle:{section:"settings",hidden:e=>e.customMenu,type:"Title",label:{en:"Parameters"},editorOnly:!0},parameterTextType:{section:"settings",hidden:e=>e.customMenu,label:{en:"Text type"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterBold:{section:"settings",hidden:e=>e.customMenu,label:{en:"Bold"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterItalic:{section:"settings",hidden:e=>e.customMenu,label:{en:"Italic"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterUnderline:{section:"settings",hidden:e=>e.customMenu,label:{en:"Underline"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterStrike:{section:"settings",hidden:e=>e.customMenu,label:{en:"Strike"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterAlignLeft:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align left"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignCenter:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align center"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignRight:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align right"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterAlignJustify:{section:"settings",hidden:e=>e.customMenu,label:{en:"Align justify"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterTextColor:{section:"settings",hidden:e=>e.customMenu,label:{en:"Text color"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterBulletList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Bullet list"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterOrderedList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Ordered list"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterTaskList:{section:"settings",hidden:e=>e.customMenu,label:{en:"Check list"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{default:!0,value:!1,label:"Hide"}]},defaultValue:!1},parameterTable:{section:"settings",hidden:e=>e.customMenu,label:{en:"Table"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,label:"Hide",default:!0}]},defaultValue:!0},parameterLink:{section:"settings",hidden:e=>e.customMenu,label:{en:"Link"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterImage:{section:"settings",hidden:e=>e.customMenu,label:{en:"Image"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterCodeBlock:{section:"settings",hidden:e=>e.customMenu,label:{en:"Code block"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterQuote:{section:"settings",hidden:e=>e.customMenu,label:{en:"Quote"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterInlineMath:{section:"settings",hidden:e=>e.customMenu,label:{en:"Inline math"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterBlockMath:{section:"settings",hidden:e=>e.customMenu,label:{en:"Block math"},type:"TextRadioGroup",options:{choices:[{value:!0,label:"Show"},{value:!1,default:!0,label:"Hide"}]},defaultValue:!1},parameterUndo:{section:"settings",hidden:e=>e.customMenu,label:{en:"Undo"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},parameterRedo:{section:"settings",hidden:e=>e.customMenu,label:{en:"Redo"},type:"TextRadioGroup",options:{choices:[{value:!0,default:!0,label:"Show"},{value:!1,label:"Hide"}]},defaultValue:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},Uk={editor:{label:{en:"Base Popup",fr:"Base Popup"},icon:"popup",excludedSections:["sizing","spacing","positioning","background","styling","advanced-style","customCss","animation"]},options:{displayAllowedValues:["flex"],ignoredStyleProperties:["position","overflow","background"]},properties:{type:{label:{en:"Type",fr:"Type"},type:"TextSelect",section:"style",options:{options:[{value:"modal",label:{en:"Modal",fr:"Modal"}},{value:"sheet",label:{en:"Sheet",fr:"Sheet"}}]},bindable:!0,defaultValue:"modal",propertyHelp:{tooltip:'If set to "none", the dialog will be unpositioned. If set to "modal", the dialog will be displayed as a modal which can be placed in various positions. If set to "sheet", the dialog will be displayed as a full width or height element on a side of the screen.'}},sideModal:{label:{en:"Side",fr:"Positionnement"},type:"TextSelect",section:"style",options:{options:[{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"center",label:{en:"Center",fr:"Centre"}},{value:"right",label:{en:"Right",fr:"Droite"}},{value:"custom",label:{en:"Custom",fr:"Personnalisé"}}]},defaultValue:"center",bindable:!0},customPositionX:{label:{en:"Horizontal",fr:"Horizontal"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",bindable:!0},sideSheet:{label:{en:"Side",fr:"Positionnement"},type:"TextSelect",section:"style",options:{options:[{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"top",label:{en:"Top",fr:"Haut"}},{value:"right",label:{en:"Right",fr:"Droite"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}}]},hidden:(e,t)=>e.type!=="sheet"||(t==null?void 0:t.isStacked),defaultValue:"top",bindable:!0},align:{label:{en:"Align",fr:"Alignement"},type:"TextSelect",section:"style",options:{options:[{value:"top",label:{en:"Top",fr:"Haut"}},{value:"center",label:{en:"Center",fr:"Centre"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}},{value:"custom",label:{en:"Custom",fr:"Personnalisé"}}]},defaultValue:"center",bindable:!0},customPositionY:{label:{en:"Vertical",fr:"Vertical"},type:"Length",options:{unitChoices:[{value:"%",label:"%",min:0,max:100},{value:"px",label:"px",min:0,max:1e3}]},defaultValue:"0%",bindable:!0},animation:{label:{en:"Animation",fr:"Animation"},section:"style",type:"TextSelect",options:{options:[{value:null,label:{en:"None",fr:"Aucune"}},{value:"fade",label:{en:"Fade",fr:"Fondu"}},{value:"slide-in",label:{en:"Slide in",fr:"Diapositive"}},{value:"zoom",label:{en:"Zoom",fr:"Zoom"}}]},defaultValue:null,bindable:!0},slideInDirection:{hidden:(e,t)=>e.animation!=="slide-in"||e.animation===null||(t==null?void 0:t.isStacked),label:{en:"Direction",fr:"Direction"},type:"TextSelect",section:"style",options:{options:[{value:"top",label:{en:"Top",fr:"Haut"}},{value:"left",label:{en:"Left",fr:"Gauche"}},{value:"bottom",label:{en:"Bottom",fr:"Bas"}},{value:"right",label:{en:"Right",fr:"Droite"}}]},defaultValue:"top",bindable:!0},animationDuration:{label:{en:"Animation duration (ms)",fr:"Durée de l'animation (ms)"},section:"style",type:"Number",defaultValue:300,options:{min:0,max:1e4},bindable:!0,hidden:(e,t)=>e.animation===null||(t==null?void 0:t.isStacked)},animationEasing:{label:{en:"Animation easing",fr:"Animation easing"},section:"style",type:"TextSelect",options:{options:[{value:"linear",label:{en:"Linear",fr:"Linéaire"}},{value:"ease",label:{en:"Ease",fr:"Acceleration"}},{value:"ease-in",label:{en:"Ease in",fr:"Acceleration progressive"}},{value:"ease-out",label:{en:"Ease out",fr:"Deceleration"}},{value:"ease-in-out",label:{en:"Ease in out",fr:"Acceleration et déclinaison"}}]},defaultValue:"linear",bindable:!0,hidden:(e,t)=>e.animation===null||(t==null?void 0:t.isStacked)},preventScroll:{label:{en:"Prevent Scrolling",fr:"Désactiver le scroll"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"Whether users can scroll the page when the dialog is open."}},escClose:{label:{en:"Escape key to close",fr:"La touche échap pour fermer"},type:"OnOff",defaultValue:!1,bindable:!0,propertyHelp:{tooltip:"Whether the dialog should be closed when the escape key is pressed."}},overlay:{label:{en:"Overlay",fr:"Overlay"},type:"OnOff",defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"Whether you want to display an overlay behind your dialog."}},clickOutsideCloses:{label:{en:"Click outside to close",fr:"Fermeture au clic"},type:"OnOff",defaultValue:!1,bindable:!0,propertyHelp:{tooltip:"Whether the dialog should be closed when the user clicks outside the dialog."}},overlayClickCloses:{type:"OnOff",label:{en:"Overlay click closes",fr:"Fermeture au clic"},defaultValue:!0,bindable:!0,propertyHelp:{tooltip:"You can prevent the dialog from closing when the user clicks the overlay."}},overlayBackgroundColor:{label:{en:"Overlay background color",fr:"Couleur de fond de l'overlay"},type:"Color",defaultValue:"rgba(0, 0, 0, 0.5)",bindable:!0,responsive:!0,classes:!0,hidden:(e,t)=>!e.overlay||(t==null?void 0:t.isStacked),options:{nullable:!0}},children:{defaultValue:[],hidden:!0}}},Xk={editor:{label:{en:"QR Code"},icon:"qrcode"},properties:{value:{label:{en:"QR Code Value"},type:"Text",section:"settings",bindable:!0,defaultValue:"https://weweb.io"},width:{label:{en:"Width"},type:"Number",section:"settings",bindable:!0,defaultValue:300},height:{label:{en:"Height"},type:"Number",section:"settings",bindable:!0,defaultValue:300},type:{label:{en:"Render Type"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"svg",options:{options:[{value:"svg",label:"SVG"},{value:"canvas",label:"Canvas"}]}},margin:{label:{en:"Margin"},type:"Number",section:"settings",bindable:!0,defaultValue:10},shape:{label:{en:"Shape"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"square",options:{options:[{value:"square",label:"Square"},{value:"circle",label:"Circle"}]}},errorCorrectionLevel:{label:{en:"Error Correction"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"Q",options:{options:[{value:"L",label:"Low (7%)"},{value:"M",label:"Medium (15%)"},{value:"Q",label:"Quartile (25%)"},{value:"H",label:"High (30%)"}]}},backgroundColor:{label:{en:"Background Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},dotsColor:{label:{en:"Dots Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},dotsType:{label:{en:"Dots Style"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"square",options:{options:[{value:"square",label:"Square"},{value:"dots",label:"Dots"},{value:"rounded",label:"Rounded"},{value:"classy",label:"Classy"},{value:"classy-rounded",label:"Classy Rounded"},{value:"extra-rounded",label:"Extra Rounded"}]}},useGradient:{label:{en:"Use Gradient"},type:"OnOff",section:"style",bindable:!0,defaultValue:!1},gradientType:{label:{en:"Gradient Type"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"linear",options:{options:[{value:"linear",label:"Linear"},{value:"radial",label:"Radial"}]},hidden:e=>!e.useGradient},gradientRotation:{label:{en:"Gradient Rotation"},type:"Number",section:"style",bindable:!0,defaultValue:0,options:{min:0,max:360,step:1},hidden:e=>!e.useGradient||e.gradientType!=="linear"},gradientStartColor:{label:{en:"Gradient Start Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#6a1a4c",hidden:e=>!e.useGradient},gradientEndColor:{label:{en:"Gradient End Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#2f0e3d",hidden:e=>!e.useGradient},cornerSquaresColor:{label:{en:"Corner Squares Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},cornerSquaresType:{label:{en:"Corner Squares Style"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"square",options:{options:[{value:"square",label:"Square"},{value:"dot",label:"Dot"},{value:"extra-rounded",label:"Extra Rounded"}]}},cornerDotsColor:{label:{en:"Corner Dots Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},cornerDotsType:{label:{en:"Corner Dots Style"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"square",options:{options:[{value:"square",label:"Square"},{value:"dot",label:"Dot"}]}},image:{label:{en:"Center Image"},type:"Image",section:"image",bindable:!0,defaultValue:""},imageSize:{label:{en:"Image Size"},type:"Number",section:"image",bindable:!0,defaultValue:.4,options:{min:.1,max:.9,step:.05},hidden:e=>!e.image},imageMargin:{label:{en:"Image Margin"},type:"Number",section:"image",bindable:!0,defaultValue:0,options:{min:0,max:10,step:1},hidden:e=>!e.image},hideBackgroundDots:{label:{en:"Hide Background Dots"},type:"OnOff",section:"image",bindable:!0,defaultValue:!0,hidden:e=>!e.image}},triggerEvents:[],actions:[{label:{en:"Download QR Code"},action:"downloadQrCode",args:[{name:"fileName",type:"string",label:{en:"File Name"},defaultValue:"qrcode"},{name:"extension",type:"string",label:{en:"File Extension"},defaultValue:"png"}]}]},Wk={editor:{label:{en:"Toast Notifications"},icon:"bell"},properties:{showDemoButtons:{label:{en:"Show demo buttons"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},position:{label:{en:"Position"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"top-right",options:{options:[{value:"top-right",label:"Top Right"},{value:"top-center",label:"Top Center"},{value:"top-left",label:"Top Left"},{value:"bottom-right",label:"Bottom Right"},{value:"bottom-center",label:"Bottom Center"},{value:"bottom-left",label:"Bottom Left"}]}},edgeOffset:{label:{en:"Edge offset (px)"},type:"Number",section:"settings",bindable:!0,defaultValue:8,options:{min:0,max:100,step:1}},theme:{label:{en:"Theme"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"light",options:{options:[{value:"light",label:"Light"},{value:"dark",label:"Dark"},{value:"colored",label:"Colored"}]}},transition:{label:{en:"Transition"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"bounce",options:{options:[{value:"bounce",label:"Bounce"},{value:"flip",label:"Flip"},{value:"slide",label:"Slide"},{value:"zoom",label:"Zoom"}]}},autoClose:{label:{en:"Auto close (ms)"},type:"Number",section:"settings",bindable:!0,defaultValue:3e3,options:{min:0,max:1e4,step:100}},hideProgressBar:{label:{en:"Hide progress bar"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},closeOnClick:{label:{en:"Close on click"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},pauseOnHover:{label:{en:"Pause on hover"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},draggable:{label:{en:"Draggable"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},rtl:{label:{en:"Right to left"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},closeButton:{label:{en:"Show close button"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},customClass:{label:{en:"Custom CSS class"},type:"Text",section:"settings",bindable:!0,defaultValue:""},lightBackgroundColor:{label:{en:"Light theme background"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},darkBackgroundColor:{label:{en:"Dark theme background"},type:"Color",section:"style",bindable:!0,defaultValue:"#333333"},successMessage:{label:{en:"Success message"},type:"Text",section:"settings",bindable:!0,defaultValue:"Success! Your action was completed."},errorMessage:{label:{en:"Error message"},type:"Text",section:"settings",bindable:!0,defaultValue:"Error! Something went wrong."},infoMessage:{label:{en:"Info message"},type:"Text",section:"settings",bindable:!0,defaultValue:"Info: Here is some information."},warningMessage:{label:{en:"Warning message"},type:"Text",section:"settings",bindable:!0,defaultValue:"Warning! Please be careful."},successColor:{label:{en:"Success color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4caf50"},errorColor:{label:{en:"Error color"},type:"Color",section:"style",bindable:!0,defaultValue:"#f44336"},infoColor:{label:{en:"Info color"},type:"Color",section:"style",bindable:!0,defaultValue:"#2196f3"},warningColor:{label:{en:"Warning color"},type:"Color",section:"style",bindable:!0,defaultValue:"#ff9800"}},triggerEvents:[{name:"toast-shown",label:{en:"On toast shown"},event:{type:"",message:"",id:""}},{name:"toast-dismissed",label:{en:"On toast dismissed"},event:{id:""}},{name:"all-toasts-dismissed",label:{en:"On all toasts dismissed"},event:{}}],actions:[{action:"showToast",label:{en:"Show toast"},args:[{name:"type",type:"string",label:{en:"Type"},options:{options:[{value:"success",label:"Success"},{value:"error",label:"Error"},{value:"info",label:"Info"},{value:"warning",label:"Warning"}]}},{name:"message",type:"string",label:{en:"Message"}},{name:"position",type:"string",label:{en:"Position (optional)"},options:{options:[{value:"",label:"Default"},{value:"top-right",label:"Top Right"},{value:"top-center",label:"Top Center"},{value:"top-left",label:"Top Left"},{value:"bottom-right",label:"Bottom Right"},{value:"bottom-center",label:"Bottom Center"},{value:"bottom-left",label:"Bottom Left"}]}},{name:"autoClose",type:"number",label:{en:"Auto close (ms, optional)"}},{name:"hideProgressBar",type:"boolean",label:{en:"Hide progress bar (optional)"},options:{options:[{value:!0,label:"Yes"},{value:!1,label:"No"}]}},{name:"closeOnClick",type:"boolean",label:{en:"Close on click (optional)"},options:{options:[{value:!0,label:"Yes"},{value:!1,label:"No"}]}},{name:"pauseOnHover",type:"boolean",label:{en:"Pause on hover (optional)"},options:{options:[{value:!0,label:"Yes"},{value:!1,label:"No"}]}}]},{action:"dismissToast",label:{en:"Dismiss toast"},args:[{name:"id",type:"string",label:{en:"Toast ID"}}]},{action:"dismissAllToasts",label:{en:"Dismiss all toasts"}}]},jk={editor:{label:{en:"Leaflet Map"},icon:"map"},properties:{centerLat:{label:{en:"Center Latitude"},type:"Number",section:"settings",bindable:!0,defaultValue:48.8566,options:{min:-90,max:90,step:1e-4}},centerLng:{label:{en:"Center Longitude"},type:"Number",section:"settings",bindable:!0,defaultValue:2.3522,options:{min:-180,max:180,step:1e-4}},zoom:{label:{en:"Zoom Level"},type:"Number",section:"settings",bindable:!0,defaultValue:13,options:{min:1,max:18,step:1}},minZoom:{label:{en:"Minimum Zoom"},type:"Number",section:"settings",bindable:!0,defaultValue:1,options:{min:1,max:18,step:1}},maxZoom:{label:{en:"Maximum Zoom"},type:"Number",section:"settings",bindable:!0,defaultValue:18,options:{min:1,max:18,step:1}},tileProvider:{label:{en:"Map Style"},type:"TextSelect",section:"settings",bindable:!0,defaultValue:"openstreetmap",options:{options:[{value:"openstreetmap",label:"OpenStreetMap"},{value:"satellite",label:"Satellite"},{value:"terrain",label:"Terrain"},{value:"dark",label:"Dark"},{value:"light",label:"Light"}]}},markers:{label:{en:"Markers"},type:"Array",section:"settings",bindable:!0,defaultValue:[{lat:48.8566,lng:2.3522,title:"Paris",details:"

The capital of France

",iconUrl:"",iconSize:[25,41],iconAnchor:[12,41]},{lat:48.8606,lng:2.3376,title:"Eiffel Tower",details:"

Iconic iron lattice tower

",iconUrl:"",iconSize:[25,41],iconAnchor:[12,41]}],options:{expandable:!0,getItemLabel(e,t){return(e==null?void 0:e.title)||`Marker ${t+1}`},item:{type:"Object",defaultValue:{lat:48.8566,lng:2.3522,title:"New Marker",details:"",iconUrl:"",iconSize:[25,41],iconAnchor:[12,41]},options:{item:{lat:{label:{en:"Latitude"},type:"Number",bindable:!0,options:{min:-90,max:90,step:1e-4}},lng:{label:{en:"Longitude"},type:"Number",bindable:!0,options:{min:-180,max:180,step:1e-4}},title:{label:{en:"Title"},type:"Text",bindable:!0,options:{placeholder:"Marker title"}},details:{label:{en:"Details (HTML)"},type:"Textarea",bindable:!0,options:{placeholder:"HTML content for popup"}},iconUrl:{label:{en:"Custom Icon URL"},type:"Text",bindable:!0,options:{placeholder:"Leave empty for default marker"}},iconSize:{label:{en:"Icon Size [width, height]"},type:"Array",bindable:!0,options:{expandable:!1,item:{type:"Number",defaultValue:25}}},iconAnchor:{label:{en:"Icon Anchor [x, y]"},type:"Array",bindable:!0,options:{expandable:!1,item:{type:"Number",defaultValue:12}}}}}}}},geoJsonData:{label:{en:"GeoJSON Data"},type:"Textarea",section:"settings",bindable:!0,defaultValue:null,options:{placeholder:"Paste GeoJSON data or bind to a variable"}},pathColor:{label:{en:"Path Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#3388ff",options:{nullable:!1}},pathWeight:{label:{en:"Path Weight"},type:"Number",section:"style",bindable:!0,defaultValue:3,options:{min:1,max:20,step:1}},pathOpacity:{label:{en:"Path Opacity"},type:"Number",section:"style",bindable:!0,defaultValue:.7,options:{min:0,max:1,step:.1}},pathFillColor:{label:{en:"Path Fill Color"},type:"Color",section:"style",bindable:!0,defaultValue:"#3388ff",options:{nullable:!1}},pathFillOpacity:{label:{en:"Path Fill Opacity"},type:"Number",section:"style",bindable:!0,defaultValue:.2,options:{min:0,max:1,step:.1}}},triggerEvents:[{name:"markerClick",label:{en:"On marker click"},event:{value:null,index:0,lat:0,lng:0}},{name:"pathClick",label:{en:"On path click"},event:{value:null,properties:{}}}],actions:[{label:{en:"Set center"},action:"setCenter",args:[{name:"latitude",type:"number"},{name:"longitude",type:"number"},{name:"zoom",type:"number"}]},{label:{en:"Set zoom"},action:"setZoom",args:[{name:"zoom",type:"number"}]},{label:{en:"Fit bounds to markers"},action:"fitBounds"},{label:{en:"Fly to location"},action:"flyTo",args:[{name:"latitude",type:"number"},{name:"longitude",type:"number"},{name:"zoom",type:"number"}]}]},Kk={editor:{label:{en:"Dropdown"},icon:"navigator-dropdown",navigator:{groups:["Trigger","Dropdown"]}},actions:[{label:"Close dropdown",action:"closeDropdown"}],properties:{triggerType:{label:{en:"Trigger"},type:"TextSelect",defaultValue:"click",options:{options:[{value:"click",label:{en:"Click"}},{value:"hover",label:{en:"Hover"}},{value:"right-click",label:{en:"Right click"}}]},bindable:!0,classes:!0,states:!0,bindingValidation:{type:"string",tooltip:"A string that defines the trigger type of the dropdown. Possible values are click, hover, and right-click."}},position:{label:{en:"Position"},type:"TextSelect",defaultValue:"bottom",options:{options:[{value:"top",label:{en:"Top"}},{value:"right",label:{en:"Right"}},{value:"bottom",label:{en:"Bottom"}},{value:"left",label:{en:"Left"}}]},bindable:!0,classes:!0,states:!0,responsive:!0,bindingValidation:{type:"string",tooltip:"A string that defines the position of the dropdown. Possible values are top, right, bottom, and left."}},alignment:{label:{en:"Align"},type:"TextRadioGroup",options:e=>e.position==="top"||e.position==="bottom"?{choices:[{value:"start",title:{en:"Start"},icon:"align-left"},{value:"center",title:{en:"Center"},icon:"align-center"},{value:"end",title:{en:"End"},icon:"align-right"}]}:{choices:[{value:"start",title:{en:"Start"},icon:"align-y-start"},{value:"center",title:{en:"Center"},icon:"align-y-center"},{value:"end",title:{en:"End"},icon:"align-y-end"}]},defaultValue:"start",bindable:!0,classes:!0,states:!0,responsive:!0,bindingValidation:{type:"string",tooltip:"A string that defines the alignment of the dropdown. Possible values are start, center, and end."}},offsetX:{type:"Length",label:{en:"Offset (x)",fr:"Taille"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:1e3},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},bindingValidation:{type:"string",tooltip:"A string that defines size of offset in px or %"}},offsetY:{type:"Length",label:{en:"Offset (y)",fr:"Taille"},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:1e3},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},bindingValidation:{type:"string",tooltip:"A string that defines size of offset in px or %"}},triggerLayout:{hidden:!0,defaultValue:[],navigator:{group:"Trigger"}},dropdownLayout:{hidden:!0,defaultValue:[],navigator:{group:"Dropdown"}},dropdownZIndex:{label:"Dropdown z-index",type:"Number",options:{min:0,max:100},responsive:!0,states:!0,classes:!0,bindable:!0},disabled:{type:"OnOff",label:{en:"Disabled"},bindable:!0},animated:{type:"OnOff",label:{en:"Animated"},bindable:!0},forceDisplayEditor:{type:"OnOff",label:{en:"Force display in editor"}}}},zk={editor:{label:"File Upload",icon:"upload",bubble:{icon:"upload"},customSettingsPropertiesOrder:["type","reorder","drop","maxFileSize","minFileSize","maxTotalFileSize","maxFiles","required","readonly","extensions","customExtensions","exposeBase64","exposeBinary",["formInfobox","fieldName","customValidation","validation"]],customStylePropertiesOrder:[{label:"Dropzone",isCollapsible:!0,properties:["dropzoneBorderColor","dropzoneBorderStyle","dropzoneBorderWidth","dropzoneBorderRadius","dropzoneBackground","dropzoneBackgroundHover","dropzoneBackgroundDragging","dropzonePadding","dropzoneMinHeight"]},{label:"Icon",isCollapsible:!0,properties:["showUploadIcon","uploadIcon","uploadIconColor","uploadIconSize","uploadIconMargin","uploadIconPosition"]},{label:"Label",isCollapsible:!0,properties:["labelMessage","labelFontFamily","labelFontSize","labelFontWeight","labelColor","labelMargin"]},{label:"Info messages",isCollapsible:!0,properties:["extensionsMessage","extensionsMessageFontFamily","extensionsMessageFontSize","extensionsMessageFontWeight","extensionsMessageColor","extensionsMessageMargin","maxFileMessage","maxFileMessageFontFamily","maxFileMessageFontSize","maxFileMessageFontWeight","maxFileMessageColor","maxFileMessageMargin"]},{label:"File list",isCollapsible:!0,properties:["fileListTitle","fileItemBackground","fileItemBorderColor","fileItemBorderRadius","fileItemPadding","fileItemMargin","fileItemShadow","progressBarColor","progressBarColorWarning"]},{label:"File item hover states",isCollapsible:!0,properties:["fileItemHoverBorderColor","fileItemHoverBackground","fileItemHoverShadow"]},{label:"File name",isCollapsible:!0,properties:["fileNameFontFamily","fileNameFontSize","fileNameFontWeight","fileNameColor"]},{label:"File details",isCollapsible:!0,properties:["showFileInfo","fileDetailsFontFamily","fileDetailsFontSize","fileDetailsFontWeight","fileDetailsColor"]},{label:"Remove buttons",isCollapsible:!0,properties:["actionButtonSize","actionButtonBackground","actionButtonHoverBackground","actionButtonColor","actionButtonBorderColor","actionButtonHoverBorderColor","actionButtonBorderRadius","actionButtonMargin"]},{label:"Drag & drop animation",isCollapsible:!0,properties:["enableCircleAnimation","circleSize","circleColor","circleOpacity","animationSpeed"]}],hint:(e,t)=>{if(!t.parentSelection)return null;const{header:r,text:o,button:a,args:i}=t.parentSelection;return["style","settings"].map(s=>({section:s,header:r,text:o,button:{text:a,action:"selectParent",args:i}}))}},options:{displayAllowedValues:["flex","inline-flex","block"],icons:["lucide/trash"]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:[]},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:[]}},{name:"error",label:{en:"On error"},event:{code:"VALIDATION_ERROR",data:{message:"File validation failed"}}}],actions:[{label:{en:"Clear Files"},action:"clearFiles",args:[]}],properties:{type:{label:{en:"Upload type"},type:"TextSelect",options:{options:[{value:"single",label:{en:"Single file"}},{value:"multi",label:{en:"Multiple files"}}]},section:"settings",defaultValue:"single",bindable:!0},drop:{label:{en:"Allow drag & drop"},type:"OnOff",section:"settings",defaultValue:!0,bindable:!0},maxFileSize:{label:{en:"Max file size (MB)"},type:"Number",options:{min:0},section:"settings",defaultValue:10,bindable:!0},minFileSize:{label:{en:"Min file size (MB)"},type:"Number",options:{min:0},section:"settings",defaultValue:0,bindable:!0},maxTotalFileSize:{label:{en:"Max total size (MB)"},type:"Number",options:{min:0},section:"settings",defaultValue:50,hidden:e=>e.type!=="multi",bindable:!0},maxFiles:{label:{en:"Max number of files"},type:"Number",options:{min:1},section:"settings",defaultValue:10,hidden:e=>e.type!=="multi",bindable:!0},showFileInfo:{label:{en:"Show file details"},type:"OnOff",defaultValue:!0,bindable:!0},required:{label:{en:"Required"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},readonly:{label:{en:"Read only"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},extensions:{label:{en:"Allowed file types"},type:"TextSelect",options:{options:[{value:"any",label:{en:"Any"}},{value:"image",label:{en:"Image"}},{value:"video",label:{en:"Video"}},{value:"audio",label:{en:"Audio"}},{value:"pdf",label:{en:"PDF"}},{value:"csv",label:{en:"CSV"}},{value:"excel",label:{en:"Excel"}},{value:"word",label:{en:"Word"}},{value:"json",label:{en:"JSON"}},{value:"custom",label:{en:"Custom"}}]},section:"settings",defaultValue:"any",bindable:!0},customExtensions:{type:"Text",options:{placeholder:".html, .xml, .pt"},section:"settings",hidden:e=>e.extensions!=="custom",defaultValue:"",bindable:!0},exposeBase64:{label:{en:"Expose as Base64"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},exposeBinary:{label:{en:"Expose as Binary"},type:"OnOff",section:"settings",defaultValue:!1,bindable:!0},dropzoneBorderColor:{label:{en:"Border color"},type:"Color",section:"style",defaultValue:"#CCCCCC",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBorderStyle:{label:{en:"Border style"},type:"TextSelect",section:"style",options:{options:[{value:"solid",label:"Solid"},{value:"dashed",label:"Dashed"},{value:"dotted",label:"Dotted"},{value:"none",label:"None"}]},defaultValue:"dashed",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBorderWidth:{label:{en:"Border width"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:0,max:10}]},defaultValue:"2px",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBorderRadius:{label:{en:"Border radius"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:50}]},defaultValue:"8px",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBackground:{label:{en:"Background color"},type:"Color",section:"style",defaultValue:"rgba(0, 0, 0, 0.01)",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBackgroundHover:{label:{en:"Background color hover"},type:"Color",section:"style",defaultValue:"rgba(0, 0, 0, 0.01)",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneBackgroundDragging:{label:{en:"Background color dragging"},type:"Color",section:"style",defaultValue:"rgba(0, 0, 0, 0.05)",classes:!0,states:!0,responsive:!0,bindable:!0},dropzonePadding:{label:{en:"Padding"},type:"Spacing",section:"style",defaultValue:"20px",classes:!0,states:!0,responsive:!0,bindable:!0},dropzoneMinHeight:{label:{en:"Min height"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:0,max:500},{value:"vh",label:"vh",min:0,max:100}]},defaultValue:"120px",classes:!0,states:!0,responsive:!0,bindable:!0},showUploadIcon:{label:{en:"Show upload icon"},type:"OnOff",section:"icon",defaultValue:!0,bindable:!0},uploadIcon:{label:{en:"Upload icon"},type:"SystemIcon",section:"icon",defaultValue:"upload",bindable:!0,hidden:e=>!e.showUploadIcon},uploadIconPosition:{label:{en:"Icon position"},type:"TextSelect",options:{options:[{value:"top",label:{en:"Top"}},{value:"right",label:{en:"Right"}},{value:"bottom",label:{en:"Bottom"}},{value:"left",label:{en:"Left"}}]},section:"icon",defaultValue:"top",hidden:e=>!e.showUploadIcon,bindable:!0},uploadIconColor:{label:{en:"Icon color"},type:"Color",section:"icon",defaultValue:"#666666",bindable:!0,hidden:e=>!e.showUploadIcon,options:{nullable:!0}},uploadIconSize:{label:{en:"Size"},type:"Length",section:"icon",options:{unitChoices:[{value:"px",label:"px",min:12,max:100},{value:"em",label:"em",min:.5,max:6},{value:"rem",label:"rem",min:.5,max:6}]},defaultValue:"24px",classes:!0,states:!0,responsive:!0,hidden:e=>!e.showUploadIcon,bindable:!0},uploadIconMargin:{label:{en:"Margin"},type:"Spacing",section:"icon",defaultValue:"8px",classes:!0,states:!0,responsive:!0,hidden:e=>!e.showUploadIcon,bindable:!0},labelMessage:{label:{en:"Label"},type:"Text",defaultValue:"Drop files here or click to upload",bindable:!0},labelFontFamily:{label:{en:"Font family"},type:"FontFamily",section:"style",defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},labelFontSize:{label:{en:"Font size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:8,max:64},{value:"em",label:"em",min:.5,max:4},{value:"rem",label:"rem",min:.5,max:4}]},defaultValue:"16px",classes:!0,states:!0,responsive:!0,bindable:!0},labelFontWeight:{label:{en:"Font weight"},type:"TextSelect",section:"style",options:{options:[{value:null,label:{en:"Default"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Regular"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}}]},defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},labelColor:{label:{en:"Color"},type:"Color",section:"style",defaultValue:"#333333",classes:!0,states:!0,responsive:!0,bindable:!0},labelMargin:{label:{en:"Margin"},type:"Spacing",section:"style",defaultValue:"0 0 4px 0",classes:!0,states:!0,responsive:!0,bindable:!0},extensionsMessage:{label:{en:"Extensions message"},type:"Text",defaultValue:"Allowed file types: {extensions}",bindable:!0},extensionsMessageFontFamily:{label:{en:"Extensions message font family"},type:"FontFamily",section:"style",defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},extensionsMessageFontSize:{label:{en:"Extensions message font size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:8,max:64},{value:"em",label:"em",min:.5,max:4},{value:"rem",label:"rem",min:.5,max:4}]},defaultValue:"12px",classes:!0,states:!0,responsive:!0,bindable:!0},extensionsMessageFontWeight:{label:{en:"Extensions message font weight"},type:"TextSelect",section:"style",options:{options:[{value:null,label:{en:"Default"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Regular"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}}]},defaultValue:400,classes:!0,states:!0,responsive:!0,bindable:!0},extensionsMessageColor:{label:{en:"Extensions message color"},type:"Color",section:"style",defaultValue:"#888888",classes:!0,states:!0,responsive:!0,bindable:!0},extensionsMessageMargin:{label:{en:"Extensions message margin"},type:"Spacing",section:"style",defaultValue:"0 0 4px 0",classes:!0,states:!0,responsive:!0,bindable:!0},maxFileMessage:{label:{en:"Max file message"},type:"Text",defaultValue:"Max file size: {maxFileSize} MB",bindable:!0},maxFileMessageFontFamily:{label:{en:"Max file message font family"},type:"FontFamily",section:"style",defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},maxFileMessageFontSize:{label:{en:"Max file message font size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:8,max:64},{value:"em",label:"em",min:.5,max:4},{value:"rem",label:"rem",min:.5,max:4}]},defaultValue:"12px",classes:!0,states:!0,responsive:!0,bindable:!0},maxFileMessageFontWeight:{label:{en:"Max file message font weight"},type:"TextSelect",section:"style",options:{options:[{value:null,label:{en:"Default"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Regular"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}}]},defaultValue:400,classes:!0,states:!0,responsive:!0,bindable:!0},maxFileMessageColor:{label:{en:"Max file message color"},type:"Color",section:"style",defaultValue:"#888888",classes:!0,states:!0,responsive:!0,bindable:!0},maxFileMessageMargin:{label:{en:"Max file message margin"},type:"Spacing",section:"style",defaultValue:"0 0 4px 0",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemBackground:{label:{en:"Background color"},type:"Color",section:"style",defaultValue:"#FFFFFF",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemBorderColor:{label:{en:"Border color"},type:"Color",section:"style",defaultValue:"#EEEEEE",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemBorderRadius:{label:{en:"Border radius"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:50}]},defaultValue:"6px",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemPadding:{label:{en:"Padding"},type:"Spacing",section:"style",defaultValue:"12px",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemMargin:{label:{en:"Margin"},type:"Spacing",section:"style",defaultValue:"0 0 8px 0",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemShadow:{label:{en:"Shadow"},type:"Shadows",section:"style",defaultValue:"0 2px 4px rgba(0, 0, 0, 0.05)",classes:!0,states:!0,responsive:!0,bindable:!0},progressBarColor:{label:{en:"Progress bar color"},type:"Color",section:"style",defaultValue:"#4CAF50",classes:!0,states:!0,responsive:!0,bindable:!0},progressBarColorWarning:{type:"InfoBox",options:{variant:"warning",content:"The progress bar is only compatible with the WeWeb's upload file action."},editorOnly:!0},fileItemHoverBorderColor:{label:{en:"Hover border color"},type:"Color",section:"style",defaultValue:"#DDDDDD",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemHoverBackground:{label:{en:"Hover background color"},type:"Color",section:"style",defaultValue:"#FFFFFF",classes:!0,states:!0,responsive:!0,bindable:!0},fileItemHoverShadow:{label:{en:"Hover shadow"},type:"Shadows",section:"style",defaultValue:"0 2px 4px rgba(0, 0, 0, 0.05)",classes:!0,states:!0,responsive:!0,bindable:!0},fileNameFontFamily:{label:{en:"Font family"},type:"FontFamily",section:"style",defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},fileNameFontSize:{label:{en:"Font size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:8,max:64},{value:"em",label:"em",min:.5,max:4},{value:"rem",label:"rem",min:.5,max:4}]},defaultValue:"14px",classes:!0,states:!0,responsive:!0,bindable:!0},fileNameFontWeight:{label:{en:"Font weight"},type:"TextSelect",section:"style",options:{options:[{value:null,label:{en:"Default"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Regular"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}}]},defaultValue:500,classes:!0,states:!0,responsive:!0,bindable:!0},fileNameColor:{label:{en:"Color"},type:"Color",section:"style",defaultValue:"#333333",classes:!0,states:!0,responsive:!0,bindable:!0},fileDetailsFontFamily:{label:{en:"Font family"},type:"FontFamily",section:"style",defaultValue:null,classes:!0,states:!0,responsive:!0,bindable:!0},fileDetailsFontSize:{label:{en:"Font size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:8,max:64},{value:"em",label:"em",min:.5,max:4},{value:"rem",label:"rem",min:.5,max:4}]},defaultValue:"12px",classes:!0,states:!0,responsive:!0,bindable:!0},fileDetailsFontWeight:{label:{en:"Font weight"},type:"TextSelect",section:"style",options:{options:[{value:null,label:{en:"Default"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Regular"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}}]},defaultValue:400,classes:!0,states:!0,responsive:!0,bindable:!0},fileDetailsColor:{label:{en:"Color"},type:"Color",section:"style",defaultValue:"#888888",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonSize:{label:{en:"Size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:16,max:64},{value:"em",label:"em",min:1,max:4},{value:"rem",label:"rem",min:1,max:4}]},defaultValue:"28px",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonBackground:{label:{en:"Background color"},type:"Color",section:"style",defaultValue:"#FFFFFF",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonHoverBackground:{label:{en:"Hover background color"},type:"Color",section:"style",defaultValue:"#F8F8F8",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonColor:{label:{en:"Icon color"},type:"Color",section:"style",defaultValue:"#666666",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonBorderColor:{label:{en:"Border color"},type:"Color",section:"style",defaultValue:"#EEEEEE",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonHoverBorderColor:{label:{en:"Hover border color"},type:"Color",section:"style",defaultValue:"#DDDDDD",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonBorderRadius:{label:{en:"Border radius"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:50}]},defaultValue:"4px",classes:!0,states:!0,responsive:!0,bindable:!0},actionButtonMargin:{label:{en:"Margin"},type:"Spacing",section:"style",defaultValue:"0 0 0 4px",classes:!0,states:!0,responsive:!0,bindable:!0},enableCircleAnimation:{label:{en:"Enable circle animation"},type:"OnOff",section:"style",defaultValue:!0,bindable:!0},circleSize:{label:{en:"Circle size"},type:"Length",section:"style",options:{unitChoices:[{value:"px",label:"px",min:20,max:500}]},defaultValue:"180px",hidden:e=>!e.enableCircleAnimation,classes:!0,states:!0,responsive:!0,bindable:!0},circleColor:{label:{en:"Circle color"},type:"Color",section:"style",defaultValue:"#EEEEEE",hidden:e=>!e.enableCircleAnimation,classes:!0,states:!0,responsive:!0},circleOpacity:{label:{en:"Circle opacity"},type:"Number",options:{min:0,max:1,step:.1},section:"style",defaultValue:.5,hidden:e=>!e.enableCircleAnimation,classes:!0,states:!0,responsive:!0,bindable:!0},animationSpeed:{label:{en:"Animation speed"},type:"Number",options:{min:.1,max:2,step:.1},section:"style",defaultValue:.5,hidden:e=>!e.enableCircleAnimation,classes:!0,states:!0,responsive:!0,bindable:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,bindable:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",bindable:!1,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}}}},qk={editor:{label:{en:"Date picker"},icon:"calendar",bubble:{icon:"calendar"},customStylePropertiesOrder:["lang","format","customFormat",{label:"Display",isCollapsible:!0,properties:["orientation","menuPosition","enableCalendarOnly","stickedDatePicker","calendarOnlyFit","enableLeftSidebar","enableRightSidebar","enableMultiCalendars","multiCalendars","multiCalendarsSolo"]},{label:"Style",isCollapsible:!0,properties:["themeFontFamily","themeFontSize","themeTimeFontSize","advancedStyles","themePreviewFontSize","themeBorderRadius","themeCellBorderRadius","themeCellSize","themeCellPadding","themeMenuMinWidth"]},{label:"Colors",isCollapsible:!0,properties:["themePrimaryColor","themeSecondaryColor","themeBackgroundColor","themeTextColor","themePrimaryTextColor","themeHoverColor","themeDisabledColor","advancedColors","themeHoverTextColor","themeHoverIconColor","themeBorderColor","themeMenuBorderColor","themeBorderHoverColor","themeScrollBarBackgroundColor","themeScrollBarColor","themeSuccessColor","themeSuccessDisabledColor","themeIconColor","themeDangerColor","themeHighlightColor"]}],customSettingsPropertiesOrder:["readonly","required",{label:"Selection",isCollapsible:!0,properties:["selectionMode","initValueSingle","initValueRangeStart","initValueRangeEnd","initValueMulti","multiDatesLimit","rangeMode","autoRange","enablePartialRange","minRange","maxRange","noDisabledRange"]},{label:"Behavior",isCollapsible:!0,properties:["autoApply","closeOnAutoApply"]},{label:"Time",isCollapsible:!0,properties:["dateMode","timezone","use24","enableSeconds"]},{label:"Dates",isCollapsible:!0,properties:["startDate","minDate","maxDate","advancedDates","preventMinMaxNavigation","ignoreTimeValidation","allowedDates","disabledDates","disabledWeekDays"]},{label:"Weeks / Months",isCollapsible:!0,properties:["weekStart","weekNumbers","hideOffsetDates","disableMonthYearSelect"]},{label:"Flow",isCollapsible:!0,properties:["enableFlow","flowHint","flowSteps"]}]},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:"2023-03-02T14:54:54.727Z"}},{name:"initValueChange",label:{en:"On init value change"},event:{value:"2023-03-02T14:54:54.727Z"}},{name:"onFlowStep",label:{en:"On flow step"},event:{value:1}}],actions:[{label:"Clear",action:"clearValue"},{label:"Open Menu",action:"openMenu"},{label:"Close Menu",action:"closeMenu"}],properties:{initValueSingle:{label:{en:"Init value"},type:"Text",defaultValue:null,bindable:!0,section:"settings",hidden:e=>e.selectionMode!=="single"},initValueRangeStart:{label:{en:"Init value start"},type:"Text",defaultValue:null,bindable:!0,section:"settings",hidden:e=>e.selectionMode!=="range"},initValueRangeEnd:{label:{en:"Init value end"},type:"Text",defaultValue:null,bindable:!0,section:"settings",hidden:e=>e.selectionMode!=="range"},initValueMulti:{label:{en:"Init value"},type:"Array",defaultValue:null,bindable:!0,section:"settings",hidden:e=>e.selectionMode!=="multi"},advancedColors:{label:{en:"Advanced"},section:"style",defaultValue:!1,type:"TextRadioGroup",options:{choices:[{value:!0,label:{en:"Show"}},{value:!1,label:{en:"Hide"}}]}},advancedStyles:{label:{en:"Advanced"},section:"style",defaultValue:!1,type:"TextRadioGroup",options:{choices:[{value:!0,label:{en:"Show"}},{value:!1,label:{en:"Hide"}}]}},advancedDates:{label:{en:"Advanced"},section:"settings",defaultValue:!1,type:"TextRadioGroup",options:{choices:[{value:!0,label:{en:"Show"}},{value:!1,label:{en:"Hide"}}]}},enableCalendarOnly:{label:{en:"Calendar only",fr:"Calendrier seul"},type:"OnOff",defaultValue:!1,states:!0,classes:!0},stickedDatePicker:{label:{en:"Sticked date picker",fr:"Date picker fixé"},type:"OnOff",defaultValue:!1,states:!0,classes:!0,bindable:!0,propertyHelp:{tooltip:"If set to `true`, the date picker will be rendered at trigger button level and not above all elements. This may be useful in the case of a date picker in a pop-up."}},calendarOnlyFit:{label:{en:"Fit"},section:"style",defaultValue:"stretch",type:"TextRadioGroup",options:{choices:[{value:"stretch",label:{en:"Stretch"}},{value:"center",label:{en:"Center"}}]},states:!0,classes:!0,hidden:e=>!e.enableCalendarOnly},enableLeftSidebar:{label:{en:"Left sidebar"},type:"OnOff",defaultValue:!1,hidden:e=>e.enableCalendarOnly},enableRightSidebar:{label:{en:"Right sidebar"},type:"OnOff",defaultValue:!1,hidden:e=>e.enableCalendarOnly},menuPosition:{label:{en:"Menu position",fr:"Menu position"},type:"TextSelect",options:{options:[{value:"center",label:{en:"Center"},default:!0},{value:"left",label:{en:"Left"}},{value:"right",label:{en:"Right"}}]},states:!0,classes:!0,responsive:!0,defaultValue:"center"},selectionMode:{label:{en:"Mode",fr:"Mode"},type:"TextSelect",section:"settings",options:{options:[{value:"single",label:{en:"Single"}},{value:"range",label:{en:"Range"}},{value:"multi",label:{en:"Multi dates"}}]},defaultValue:"single"},dateMode:{label:{en:"Mode",fr:"Mode"},type:"TextSelect",section:"settings",options:e=>({options:[{value:"datetime",label:{en:"Datetime"},support:["single","range","multi"]},{value:"date",label:{en:"Date"},support:["single","range","multi"]},{value:"time",label:{en:"Time"},support:["single","range"]},{value:"month",label:{en:"Month"},support:["single","range"]},{value:"year",label:{en:"Year"},support:["single","range"]}].filter(t=>t.support.includes(e.selectionMode))}),defaultValue:"datetime"},enableSeconds:{label:{en:"Enable seconds",fr:"Activer les secondes"},type:"OnOff",section:"settings",defaultValue:!1,hidden:e=>!["datetime","time"].includes(e.dateMode)},use24:{label:{en:"24h mode",fr:"Mode 24h"},type:"OnOff",section:"settings",defaultValue:!1,states:!0,classes:!0,responsive:!0,hidden:e=>!["datetime","time"].includes(e.dateMode)},multiDatesLimit:{label:{en:"Multi dates limit"},type:"Number",section:"settings",defaultValue:0,hidden:e=>e.selectionMode!=="multi"},enableMultiCalendars:{label:{en:"Multi calendars",fr:"Calendriers multiple"},type:"OnOff",section:"style",defaultValue:!1,hidden:e=>e.selectionMode!=="range"||!["datetime","date","week"].includes(e.dateMode)},multiCalendars:{label:{en:"Calendars number"},type:"Number",section:"style",defaultValue:2,options:{min:2,max:4,step:1},hidden:e=>e.selectionMode!=="range"||!["datetime","date","week"].includes(e.dateMode)||!e.enableMultiCalendars},multiCalendarsSolo:{label:{en:"Independant calendars",fr:"Calendriers indépendants"},type:"OnOff",section:"style",defaultValue:!1,hidden:e=>e.selectionMode!=="range"||!["datetime","date","week"].includes(e.dateMode)||!e.enableMultiCalendars},rangeMode:{label:{en:"Range mode",fr:"Range mode"},type:"TextSelect",section:"settings",options:{options:[{value:"free",label:{en:"Free"}},{value:"auto",label:{en:"Auto"}},{value:"minmax",label:{en:"Min Max"}}]},bindable:!0,defaultValue:"free",hidden:e=>e.selectionMode!=="range"},enablePartialRange:{label:{en:"Partial range",fr:"Range partiel"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0,hidden:e=>e.selectionMode!=="range"||e.rangeMode!=="free"||e.rangeMode==="free"&&e.enableCalendarOnly},autoRange:{label:{en:"Auto range days"},type:"Number",section:"settings",bindable:!0,defaultValue:1,hidden:e=>e.selectionMode!=="range"||e.rangeMode!=="auto"},minRange:{label:{en:"Min range days"},type:"Number",section:"settings",bindable:!0,defaultValue:2,hidden:e=>e.selectionMode!=="range"||e.rangeMode!=="minmax"},maxRange:{label:{en:"Max range days"},type:"Number",section:"settings",bindable:!0,defaultValue:7,hidden:e=>e.selectionMode!=="range"||e.rangeMode!=="minmax"},orientation:{label:{en:"Orientation",fr:"Orientation"},type:"TextSelect",options:{options:[{value:"horizontal",label:{en:"Horizontal"},default:!0},{value:"vertical",label:{en:"Vertical"}}]},states:!0,classes:!0,responsive:!0},timezone:{label:{en:"Timezone",fr:"Fuseau horaire"},type:"TextSelect",section:"settings",options:{options:[{value:"locale",label:{en:"Locale"}},{value:"Pacific/Midway",label:{en:"Pacific/Midway"}},{value:"America/Adak",label:{en:"America/Adak"}},{value:"Pacific/Gambier",label:{en:"Pacific/Gambier"}},{value:"America/Los_Angeles",label:{en:"America/Los_Angeles"}},{value:"America/Denver",label:{en:"America/Denver"}},{value:"America/Chicago",label:{en:"America/Chicago"}},{value:"America/New_York",label:{en:"America/New_York"}},{value:"America/Santiago",label:{en:"America/Santiago"}},{value:"America/Sao_Paulo",label:{en:"America/Sao_Paulo"}},{value:"America/Noronha",label:{en:"America/Noronha"}},{value:"Atlantic/Cape_Verde",label:{en:"Atlantic/Cape_Verde"}},{value:"UTC",label:{en:"UTC"}},{value:"Europe/Brussels",label:{en:"Europe/Brussels"}},{value:"Africa/Cairo",label:{en:"Africa/Cairo"}},{value:"Europe/Minsk",label:{en:"Europe/Minsk"}},{value:"Europe/Moscow",label:{en:"Europe/Moscow"}},{value:"Asia/Tashkent",label:{en:"Asia/Tashkent"}},{value:"Asia/Dhaka",label:{en:"Asia/Dhaka"}},{value:"Asia/Novosibirsk",label:{en:"Asia/Novosibirsk"}},{value:"Australia/Perth",label:{en:"Australia/Perth"}},{value:"Asia/Tokyo",label:{en:"Asia/Tokyo"}},{value:"Australia/Hobart",label:{en:"Australia/Hobart"}},{value:"Asia/Vladivostok",label:{en:"Asia/Vladivostok"}},{value:"Pacific/Auckland",label:{en:"Pacific/Auckland"}}]},defaultValue:"locale",bindable:!0,hidden:e=>!["datetime"].includes(e.dateMode)},enableFlow:{label:{en:"Flow",fr:"Flow"},type:"OnOff",bindable:!0,section:"settings",defaultValue:!1,hidden:e=>e.enableMultiCalendars},flowHint:{label:{en:"Hint",fr:"Hint"},type:"Info",options:{text:{en:"Order the flow steps"}},section:"settings",editorOnly:!0,hidden:e=>!e.enableFlow},flowSteps:{label:{en:"Steps",fr:"Steps"},type:"Array",section:"settings",options:{item:{type:"TextSelect",options:{options:[{value:"month",label:{en:"Month"}},{value:"year",label:{en:"Year"}},{value:"calendar",label:{en:"Calendar"}},{value:"time",label:{en:"Time"}},{value:"minutes",label:{en:"Minutes"}},{value:"hours",label:{en:"Hours"}},{value:"seconds",label:{en:"Seconds"}}]}},movable:!0,getItemLabel(e,t){return`Step ${t+1}`}},defaultValue:["month","year","calendar","time","minutes","hours","seconds"],hidden:e=>!e.enableFlow},readonly:{label:{en:"Read only",fr:"Lecture seule"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:(e,t,r,o)=>!!(o&&o.readonly!==void 0)},required:{label:{en:"Required",fr:"Requis"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},lang:{label:{en:"Lang",fr:"Lang"},type:"TextSelect",options:()=>{const e=wwLib.wwWebsiteData.getCurrentPage().langs.map(t=>({value:t,label:{en:t}}));return e.unshift({value:"pageLang",label:"Page lang"}),{options:e}},defaultValue:"pageLang",bindable:!0},format:{label:{en:"Format",fr:"Format"},type:"TextSelect",options:{options:[{value:"DD/MM/YYYY",label:{en:"DD/MM/YYYY"}},{value:"MMMM D, YYYY",label:{en:"MMMM D, YYYY"}},{value:"MMM D, YYYY",label:{en:"MMM D, YYYY"}},{value:"h:mm A",label:{en:"h:mm A"}},{value:"h:mm:ss A",label:{en:"h:mm:ss A"}},{value:"MMM D, YYYY h:mm A",label:{en:"MMM D, YYYY h:mm A"}},{value:"custom",label:{en:"Custom"}}]},defaultValue:"DD/MM/YYYY"},customFormat:{label:{en:"Custom Format",fr:"Custom Format"},type:"Text",options:{placeholder:"MMMM D, YYYY h:mm A"},bindable:!0,defaultValue:"",hidden:e=>e.format!=="custom"},autoApply:{label:{en:"Auto apply"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:e=>e.dateMode==="time"},closeOnAutoApply:{label:{en:"Close on auto apply"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0,hidden:e=>!e.autoApply||e.dateMode==="time"},weekNumbers:{label:{en:"Week numbers"},type:"TextSelect",section:"settings",options:{options:[{value:"none",label:{en:"None"}},{value:"local",label:{en:"Local"}},{value:"iso",label:{en:"ISO"}}]},bindable:!0,defaultValue:"none"},weekStart:{label:{en:"Week start"},type:"TextSelect",section:"settings",options:{options:[{value:"0",label:{en:"Sunday"}},{value:"1",label:{en:"Monday"}},{value:"2",label:{en:"Tuesday"}},{value:"3",label:{en:"Wednesday"}},{value:"4",label:{en:"Thursday"}},{value:"5",label:{en:"Friday"}},{value:"6",label:{en:"Saturday"}}]},bindable:!0,defaultValue:"1"},hideOffsetDates:{label:{en:"Hide offset dates"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},minDate:{label:{en:"Min date"},type:"Text",section:"settings",bindable:!0,defaultValue:null},maxDate:{label:{en:"Max date"},type:"Text",section:"settings",bindable:!0,defaultValue:null},preventMinMaxNavigation:{label:{en:"Prevent min/max navigation"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:e=>!e.advancedDates},ignoreTimeValidation:{label:{en:"Ignore time validation"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:e=>!e.advancedDates},startDate:{label:{en:"Start date"},type:"Text",section:"settings",bindable:!0,defaultValue:null},disableMonthYearSelect:{label:{en:"Disable month/year select"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},allowedDates:{label:{en:"Allowed dates"},type:"Array",section:"settings",options:{item:{type:"Text",defaultValue:"2023-03-06"}},bindable:!0,defaultValue:[],hidden:e=>!e.advancedDates},disabledDates:{label:{en:"Disabled dates"},type:"Array",section:"settings",options:{item:{type:"Text",defaultValue:"2023-03-06"}},bindable:!0,defaultValue:[],hidden:e=>!e.advancedDates},disabledWeekDays:{label:{en:"Disabled week days"},type:"Array",section:"settings",options:{item:{type:"TextSelect",options:{options:[{value:"0",label:{en:"Sunday"}},{value:"1",label:{en:"Monday"}},{value:"2",label:{en:"Tuesday"}},{value:"3",label:{en:"Wednesday"}},{value:"4",label:{en:"Thursday"}},{value:"5",label:{en:"Friday"}},{value:"6",label:{en:"Saturday"}}]}}},bindable:!0,defaultValue:[],hidden:e=>!e.advancedDates},noDisabledRange:{label:{en:"No disabled range"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1,hidden:e=>e.selectionMode!=="range"},themeFontFamily:{type:"FontFamily",label:{en:"Font family"},responsive:!0,states:!0,classes:!0},themeFontSize:Fn("Font size",16,48),themeTimeFontSize:Fn("Time font size",32,48),themeBorderRadius:Fn("Border radius",4,20,!0),themeCellBorderRadius:Fn("Cell border radius",4,20,!0),themePreviewFontSize:Fn("Preview font size",13,48,!0),themeMenuMinWidth:Fn("Menu min width",250,300,!0),themeCellSize:Fn("Cell size",35,100,!0),themeCellPadding:Fn("Cell padding",5,32,!0),themePrimaryColor:nr("Primary Color","#1976d2"),themeSecondaryColor:nr("Secondary Color","#c0c4cc"),themeBackgroundColor:nr("Background Color","#ffffff"),themeTextColor:nr("Text Color","#212121"),themePrimaryTextColor:nr("Primary Text Color","#f8f5f5"),themeHoverColor:nr("Hover Color","#f3f3f3"),themeDisabledColor:nr("Disabled Color","#f6f6f6"),themeHoverTextColor:nr("Hover Text Color","#212121",!0),themeHoverIconColor:nr("Hover Icon Color","#959595",!0),themeBorderColor:nr("Border Color","#ddd",!0),themeMenuBorderColor:nr("Menu Border Color","#ddd",!0),themeBorderHoverColor:nr("Border Hover Color","#aaaeb7",!0),themeScrollBarBackgroundColor:nr("Scrollbar background Color","#f3f3f3",!0),themeScrollBarColor:nr("Scrollbar Color","#959595",!0),themeSuccessColor:nr("Success Color","#76d275",!0),themeSuccessDisabledColor:nr("Success Disabled Color","#a3d9b1",!0),themeIconColor:nr("Icon Color","#959595",!0),themeDangerColor:nr("Danger Color","#ff6f60",!0),themeHighlightColor:nr("Highlight Color","#1976d219",!0),triggerZone:{hidden:!0,defaultValue:[{isWwObject:!0,type:"ww-text",state:{name:"Date input"}}],navigator:{group:"Trigger"}},leftSidebarZone:{hidden:!0,defaultValue:[],navigator:{group:"Left Sidebar"}},rightSidebarZone:{hidden:!0,defaultValue:[],navigator:{group:"Right Sidebar"}},actionSelectElement:{hidden:!0,defaultValue:{isWwObject:!0,type:"ww-button",state:{name:"Select button"},content:{default:{text:"Select"}}},navigator:{group:"Actions"}}}};function nr(e,t,r){return{label:{en:e},type:"Color",defaultValue:t,bindable:!0,responsive:!0,states:!0,classes:!0,hidden:r?o=>!o.advancedColors:void 0}}function Fn(e,t,r,o){return{type:"Length",label:{en:e},bindable:!0,options:{unitChoices:[{value:"px",label:"px",min:1,max:r}]},responsive:!0,classes:!0,states:!0,defaultValue:t+"px",hidden:o?a=>!a.advancedStyles:void 0}}const Zk={editor:{label:"Select",icon:"select",customStylePropertiesOrder:[{label:"Selected",isCollapsible:!0,properties:["selectedFontFamily","selectedFontSize","selectedFontWeight","selectedFontColor","selectedPadding","selectedTextAlign"]},{label:"Placeholder",isCollapsible:!0,properties:["placeholderFontFamily","placeholderFontSize","placeholderFontWeight","placeholderFontColor","placeholderTextAlign"]},{label:"Chip",isCollapsible:!0,properties:["chipFontFamily","chipFontSize","chipFontWeight","chipFontColor","chipPadding","chipBgColor","chipBorder","chipBorderAll","chipBorderTop","chipBorderRight","chipBorderBottom","chipBorderLeft","chipBorderRadius","chipIconUnselect","chipIconColor","chipIconSize","chipImageSize","chipImageRadius"]},{label:"Trigger",isCollapsible:!0,properties:["triggerHeight","triggerBorder","triggerBorderAll","triggerBorderTop","triggerBorderRight","triggerBorderBottom","triggerBorderLeft","triggerBorderRadius","triggerBgColor","triggerShadows","triggerPadding","triggerMargin","triggerIconClose","triggerIconOpen","triggerIconSize","triggerIconColor","triggerImageSize","triggerImageRadius"]},{label:"Dropdown",isCollapsible:!0,properties:["side","align","offsetX","offsetY","boundOffset","dropdownWidth","dropdownMaxHeight","noMaxHeightInfobox","dropdownBorder","dropdownBorderAll","dropdownBorderTop","dropdownBorderRight","dropdownBorderBottom","dropdownBorderLeft","dropdownBorderRadius","dropdownBgColor","dropdownShadows","dropdownPadding","zIndexOpen"]},{label:"Option",isCollapsible:!0,properties:["optionFontFamily","optionFontSize","optionFontWeight","optionFontColor","optionSpacing","optionPadding","optionBorder","optionBorderRadius","optionBgColor","optionBgColorFocused","optionBgColorHover","optionCursor","optionIcon","optionIconSize","optionIconColor","optionImageSize","optionImageRadius"]},{label:"Empty state",isCollapsible:!0,properties:["emptyStateFontFamily","emptyStateFontSize","emptyStateFontWeight","emptyStateFontColor","emptyStatePadding","emptyStateTextAlign"]},{label:"Search",isCollapsible:!0,properties:["searchWidth","searchHeight","searchBorder","searchBorderAll","searchBorderTop","searchBorderRight","searchBorderBottom","searchBorderLeft","searchBorderRadius","searchPadding","searchMargin","searchOutline","searchOutlineOffset","searchBgColor","searchFontFamily","searchFontSize","searchFontWeight","searchFontColor","searchPlaceholderColor"]}],customSettingsPropertiesOrder:["forceOpenInEditor","showEmptyStateInEditor","optionType","choices","mappingLabel","mappingIcon","mappingImage","mappingValue","mappingDisabled","initValueSingle","initValueMulti","allowScrollingWhenOpen",{label:"Trigger",isCollapsible:!0,properties:["placeholder","emptyStateText","searchPlaceholder","initialState","selectType","selectTypeWarning"]},{label:"Options",isCollapsible:!0,properties:["disabled","required","readonly","limit","unselectOnClick","closeOnSelect","closeOnClickOutside","manualTrigger","selectOnClick","virtualScroll","virtualScrollBuffer","virtualScrollMinItemSize","heavyMode","heavyModeInfobox","itemSize"]},{label:"Search",isCollapsible:!0,properties:["searchTitle","showSearch","searchBy","autoFocus"]},"formInfobox",["fieldName","customValidation","validation"]]},options:{autoByContent:!0,displayAllowedValues:["block"]},states:["focus","readonly"],triggerEvents:[{name:"change",label:{en:"On change"},event:{value:""},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:""}},{name:"focus",label:{en:"On focus"},event:{value:""}},{name:"blur",label:{en:"On blur"},event:{value:""}}],actions:[{label:"Open",action:"actionOpenDropdown",args:[]},{label:"Close",action:"actionCloseDropdown",args:[]},{label:"Toggle",action:"actionToggleDropdown",args:[]},{label:"Set value",action:"actionUpdateValue",args:[{name:"Value",type:"any",required:!0}]},{label:"Reset value",action:"actionResetValue",args:[]},{label:"Remove specific value (multiselect)",action:"actionRemoveSpecificValue",args:[{name:"Value",type:"any",required:!0}]},{label:"Reset search",action:"actionResetSearch",args:[]},{label:"Focus",action:"actionFocusInput",args:[]}],properties:{optionType:{label:{en:"Option type"},type:"TextSelect",options:{options:[{value:"text",label:"Text"},{value:"iconText",label:"Icon + Text"},{value:"imageText",label:"Image + Text"}]},defaultValue:"text",bindable:!0,responsive:!0,states:!0,section:"settings"},choices:{label:{en:"Options"},type:"ObjectList",options:{useSchema:!0},bindable:!0,defaultValue:{__wwtype:"f",code:'[{"label":"Option 1","value":"option1"},{"label":"Option 2","value":"option2"}]'},section:"settings"},mappingLabel:{label:"Label per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['label'] || context.mapping"},section:"settings"},mappingIcon:{label:"Icon per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['icon'] || null"},section:"settings",hidden:e=>e.optionType!=="iconText"},mappingImage:{label:"Image per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['image'] || null"},section:"settings",hidden:e=>e.optionType!=="imageText"},mappingValue:{label:"Value per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"context.mapping?.['value'] || context.mapping"},section:"settings"},mappingDisabled:{label:"Disabled condition per item",type:"Formula",options:e=>({template:Array.isArray(e.choices)?e.choices[0]:null}),defaultValue:{type:"f",code:"false"},section:"settings"},initValueSingle:{type:"Text",label:"Initial value (single)",bindable:!0,defaultValue:null,section:"settings",hidden:e=>e.selectType!=="single"},initValueMulti:{type:"Array",label:"Initial value (Multi)",bindable:!0,options:{movable:!0,expandable:!0,item:{type:"Text",defaultValue:""}},section:"settings",hidden:e=>e.selectType!=="multiple"},selectType:{label:"Type",type:"TextSelect",options:{options:[{value:"single",label:"Single"},{value:"multiple",label:"Multiple"}]},bindable:!0,defaultValue:"single",section:"settings"},disabled:{label:{en:"Disabled"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},required:{label:{en:"Required"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},readonly:{label:{en:"Read-only"},type:"OnOff",defaultValue:!1,bindable:!0,section:"settings"},forceOpenInEditor:{label:{en:"Force open in editor"},type:"OnOff",defaultValue:!1,editorOnly:!0,section:"settings"},initialState:{label:{en:"Initial state"},type:"TextSelect",options:{options:[{value:"closed",label:"Closed"},{value:"open",label:"Open"}]},bindable:!0,responsive:!0,states:!0,defaultValue:"closed",section:"settings"},closeOnSelect:{label:{en:"Close on select"},type:"OnOff",defaultValue:!0,bindable:!0,section:"settings"},manualTrigger:{label:{en:"Manual trigger"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,section:"settings"},closeOnClickOutside:{label:{en:"Close on click outside"},type:"OnOff",defaultValue:!0,states:!0,bindable:!0,responsive:!0,section:"settings"},placeholder:{label:{en:"Placeholder",fr:"Texte par défaut"},type:"Text",defaultValue:{en:"Select a value"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},emptyStateText:{label:{en:"No results text",fr:"Texte aucun résultat"},type:"Text",defaultValue:{en:"No results found",fr:"Aucun résultat trouvé"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},searchPlaceholder:{label:{en:"Search placeholder",fr:"Placeholder recherche"},type:"Text",defaultValue:{en:"Search",fr:"Rechercher"},section:"settings",states:!0,bindable:!0,responsive:!0,multiLang:!0},side:{label:{en:"Side"},type:"TextSelect",options:{options:[{value:"bottom",label:"Bottom"},{value:"left",label:"Left"},{value:"top",label:"Top"},{value:"right",label:"Right"}]},defaultValue:"bottom",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!0},align:{label:{en:"Align"},type:"TextSelect",options:{options:[{value:"start",label:"Start"},{value:"center",label:"Center"},{value:"end",label:"End"}]},defaultValue:"start",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!0},offsetX:{label:{en:"Offset X"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:-100,max:100},{value:"%",label:"%",min:-100,max:100}]},defaultValue:"0px",states:!0,classes:!0,bindable:!0,responsive:!0},offsetY:{label:{en:"Offset Y"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:-100,max:100},{value:"%",label:"%",min:-100,max:100}]},defaultValue:"8px",states:!0,classes:!0,bindable:!0,responsive:!0},zIndexOpen:{label:{en:"Z-index when open"},type:"Number",defaultValue:2,states:!0,classes:!0,bindable:!0,responsive:!0},boundOffset:{label:{en:"Edge offset"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:0,max:100},{value:"%",label:"%",min:0,max:100}]},defaultValue:"0px",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:!0},virtualScrollBuffer:{label:{en:"Buffer"},type:"Number",defaultValue:200,states:!0,bindable:!0,responsive:!0,section:"settings"},virtualScrollMinItemSize:{label:{en:"Min item size"},type:"Number",defaultValue:40,states:!0,bindable:!0,responsive:!0,section:"settings",hidden:e=>e.heavyMode},heavyMode:{label:{en:"Heavy mode"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,section:"settings"},heavyModeInfobox:{type:"InfoBox",section:"settings",editorOnly:!0,options:{variant:"warning",icon:"warning",title:"Dropdown max-height required",content:'Heavy mode requires a fixed max-height on the dropdown to work properly. Please set the "Max-height" property in the Dropdown section.'},hidden:e=>!e.heavyMode||!!e.dropdownMaxHeight},itemSize:{label:{en:"Item size"},type:"Number",defaultValue:40,states:!0,bindable:!0,responsive:!0,section:"settings",hidden:e=>!e.heavyMode},showEmptyStateInEditor:{label:{en:"Show empty state in editor"},type:"OnOff",defaultValue:!1,editorOnly:!0,section:"settings"},allowScrollingWhenOpen:{label:{en:"Allow scrolling when open"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,propertyHelp:{tooltip:"This should be disabled in some edge cases like in popups, datagrid, etc."},bindingValidation:{type:"boolean",tooltip:"This should be disabled in some edge cases like in popups, datagrid, etc. A boolean value: \n\n`true` or `false`"},section:"settings"},optionProperties:{hidden:!0,editorOnly:!0},selectOnClick:{label:{en:"Select on click"},type:"OnOff",states:!0,bindable:!0,responsive:!0,defaultValue:!0,section:"settings"},unselectOnClick:{label:{en:"Unselect on click"},type:"OnOff",states:!0,bindable:!0,responsive:!0,defaultValue:!1},showSearch:{label:{en:"Search"},type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,section:"settings"},searchBy:{label:"Search by",section:"settings",states:!0,bindable:!0,responsive:!0,type:"Array",options:(e,t)=>({item:{type:"Object",options:{item:{filter:{type:"ObjectPropertyPath",options:{object:t.optionProperties||{}},defaultValue:""}}}}})},autoFocus:{label:"Auto focus",section:"settings",type:"OnOff",defaultValue:!0,states:!0,bindable:!0,responsive:!0},fieldName:{label:"Field name",section:"settings",type:"Text",defaultValue:"",states:!0,bindable:!0,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},customValidation:{label:"Custom validation",section:"settings",type:"OnOff",defaultValue:!1,states:!0,bindable:!0,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)}},validation:{label:"Validation",section:"settings",type:"Formula",defaultValue:"",states:!0,bindable:!1,responsive:!0,hidden:(e,t)=>{var r;return!((r=t.form)!=null&&r.uid)||!e.customValidation}},selectedFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType!=="single"},selectedFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px",hidden:e=>e.selectType!=="single"},selectedFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",states:!0,classes:!0,bindable:!0,responsive:!0,options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,hidden:e=>e.selectType!=="single"},selectedFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"#333",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType!=="single"},selectedTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"left",hidden:e=>e.selectType!=="single"},placeholderFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},placeholderFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},placeholderFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},placeholderFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"#333",states:!0,classes:!0,bindable:!0,responsive:!0},placeholderTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"left",hidden:e=>e.selectType!=="single"},chipFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px",hidden:e=>e.selectType=="single"},chipFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"2px 8px",hidden:e=>e.selectType=="single"},chipBgColor:{label:{en:"background color"},type:"Color",defaultValue:"#363636",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipBorder:{type:"Border",label:{en:"border"},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:{__wwtype:"f",code:'[{"label":"Option 1","value":"opt1"},{"label":"Option 2","value":"opt2"}]'},hidden:e=>e.selectType=="single"},chipBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>e.chipBorder||e.selectType=="single"},chipBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.chipBorder||e.selectType=="single"},chipBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipIconUnselect:{label:{en:"Unselect icon",fr:"Icône désélection"},type:"SystemIcon",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>e.selectType=="single"},chipIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"14px",hidden:e=>e.selectType=="single"},chipImageSize:{type:"Length",label:{en:"Image size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"14px",hidden:e=>e.selectType=="single"||e.optionType!=="imageText"},chipImageRadius:{type:"Spacing",label:{en:"Image radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:0,max:100}],isCorner:!0,noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"4px",hidden:e=>e.selectType=="single"||e.optionType!=="imageText"},triggerHeight:{type:"Length",label:{en:"Height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0},triggerBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1},triggerBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #B0B0B0",hidden:e=>e.triggerBorder},triggerBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.triggerBorder},triggerBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0},triggerBgColor:{label:{en:"background color"},type:"Color",defaultValue:"white",states:!0,classes:!0,bindable:!0,responsive:!0},triggerShadows:{type:"Shadows",label:{en:"Shadows"},options:{nullable:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:""},triggerPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px 16px"},triggerMargin:{type:"Spacing",label:{en:"Margin"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px"},triggerIconOpen:{label:{en:"Open icon",fr:"Icône ouverte"},type:"SystemIcon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},triggerIconClose:{label:{en:"Close icon",fr:"Icône fermée"},type:"SystemIcon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},triggerIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},triggerIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"16px"},triggerImageSize:{type:"Length",label:{en:"Image size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"16px",hidden:e=>e.selectType==="multiple"||e.optionType!=="imageText"},triggerImageRadius:{type:"Spacing",label:{en:"Image radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:0,max:100}],isCorner:!0,noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"4px",hidden:e=>e.selectType==="multiple"||e.optionType!=="imageText"},dropdownWidth:{type:"Length",label:{en:"Width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:{__wwtype:"f",code:"context.local.data?.['select']?.['select']?.['utils']?.['triggerWidth']+'px'"}},dropdownMaxHeight:{type:"Length",label:{en:"Max-height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,bindable:!0},noMaxHeightInfobox:{type:"InfoBox",editorOnly:!0,options:e=>{var t;return{variant:"warning",icon:"warning",title:"Many options detected",content:`You have ${((t=e.choices)==null?void 0:t.length)||0} options and no max-height has been set. A default max-height of 500px has been applied to the dropdown to prevent performance issues.`}},hidden:e=>{var t;return!!e.dropdownMaxHeight||!((t=e.choices)!=null&&t.length)||e.choices.length<=100}},dropdownBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1},dropdownBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #B0B0B0",hidden:e=>e.dropdownBorder},dropdownBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.dropdownBorder},dropdownBorderRadius:{type:"Spacing",label:{en:"Border Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"4px"},dropdownBgColor:{label:{en:"Border Dropdown background color"},type:"Color",defaultValue:"#FFFFFF",states:!0,classes:!0,bindable:!0,responsive:!0},dropdownShadows:{type:"Shadows",label:{en:"Shadows"},options:{nullable:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:""},dropdownPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px"},optionFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},optionFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},optionFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},optionFontColor:{label:{en:"Text color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},optionSpacing:{type:"Length",label:{en:"Spacing"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px"},optionPadding:{type:"Spacing",label:{en:"padding"},defaultValue:"8px",states:!0,classes:!0,responsive:!0,bindable:!0},optionBorder:{type:"Border",label:{en:"Border"},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},optionBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},defaultValue:"4px",states:!0,classes:!0,bindable:!0,responsive:!0},optionBgColor:{label:{en:"background color"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},optionBgColorFocused:{label:{en:"Focus background"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"#f5f5f5"},optionBgColorHover:{label:{en:"Hover background"},type:"Color",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"#f5f5f5"},optionCursor:{label:{en:"cursor"},type:"TextSelect",options:{options:[{value:"auto",label:"Auto"},{value:"default",label:"Default"},{value:"pointer",label:"Pointer"},{value:"none",label:"None"},{value:"not-allowed",label:"Not allowed"},{value:"help",label:"Help"},{value:"text",label:"Text"},{value:"move",label:"Move"},{value:"grab",label:"Grab"},{value:"grabbing",label:"Grabbing",default:!0},{value:"n-resize",label:"Arrow up"},{value:"s-resize",label:"Arrow down"},{value:"w-resize",label:"Arrow left"},{value:"e-resize",label:"Arrow right"},{value:"ne-resize",label:"Arrow top-right"},{value:"nw-resize",label:"Arrow top-left"},{value:"se-resize",label:"Arrow bottom-right"},{value:"sw-resize",label:"Arrow bottom-left"},{value:"ew-resize",label:"Arrow left-right"},{value:"ns-resize",label:"Arrow up-down"},{value:"nesw-resize",label:"Arrow top-right to bottom-left"},{value:"nwse-resize",label:"Arrow top-left to bottom-right"},{value:"zoom-in",label:"Zoom in"},{value:"zoom-out",label:"Zoom out"},{value:"col-resize",label:"Column resize"},{value:"row-resize",label:"Row resize"},{value:"all-scroll",label:"All-scroll"},{value:"context-menu",label:"Context menu"},{value:"cell",label:"Cell"},{value:"crosshair",label:"Crosshair"},{value:"vertical-text",label:"Vertical text"},{value:"alias",label:"Alias"},{value:"copy",label:"Copy"},{value:"progress",label:"Progress"},{value:"wait",label:"Wait"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"pointer"},optionIcon:{label:{en:"Checked icon",fr:"Icône check"},type:"SystemIcon",states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},optionIconColor:{label:{en:"Icon color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},optionIconSize:{type:"Length",label:{en:"Icon size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"12px"},optionImageSize:{type:"Length",label:{en:"Image size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"16px",hidden:e=>e.optionType!=="imageText"},optionImageRadius:{type:"Spacing",label:{en:"Image radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:0,max:100}],isCorner:!0,noRange:!0,useVar:!0},bindable:!0,responsive:!0,states:!0,classes:!0,defaultValue:"4px",hidden:e=>e.optionType!=="imageText"},emptyStateFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0},emptyStateFontSize:{type:"Length",label:{en:"Font size"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"14px"},emptyStateFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:null},emptyStateFontColor:{label:{en:"Text color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0},emptyStatePadding:{type:"Spacing",label:{en:"padding"},defaultValue:"0px",states:!0,classes:!0,responsive:!0,bindable:!0},emptyStateTextAlign:{label:{en:"Text align"},type:"TextSelect",options:{options:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"center"},searchWidth:{type:"Length",label:{en:"Width"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"100%",hidden:e=>!e.showSearch},searchHeight:{type:"Length",label:{en:"Height"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500},{value:"%",label:"%",min:1,max:100}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBorder:{type:"Border",label:{en:"border"},defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBorder:{type:"TextRadioGroup",label:{en:"Borders"},options:{choices:[{value:!1,title:{en:"All",fr:"Tout"},icon:"border"},{value:!0,title:{en:"Split",fr:"Split"},icon:"border-split"}]},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:!1,hidden:e=>!e.showSearch},searchBorderAll:{type:"Border",label:{en:""},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"1px solid #A3A3A3",hidden:e=>e.searchBorder||!e.showSearch},searchBorderTop:{type:"Border",label:{en:"Border Top"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderRight:{type:"Border",label:{en:"Border Right"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderBottom:{type:"Border",label:{en:"Border Bottom"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderLeft:{type:"Border",label:{en:"Border Left"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.searchBorder||!e.showSearch},searchBorderRadius:{type:"Spacing",label:{en:"Border radius"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],isCorner:!0,noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"4px",hidden:e=>!e.showSearch},searchPadding:{type:"Spacing",label:{en:"Padding"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"8px 12px",hidden:e=>!e.showSearch},searchMargin:{type:"Spacing",label:{en:"Margin"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:"0px 0px 8px 0px",hidden:e=>!e.showSearch},searchOutline:{type:"Border",label:{en:"Outline"},states:!0,classes:!0,bindable:!0,responsive:!0,defaultValue:void 0,hidden:e=>!e.showSearch},searchOutlineOffset:{type:"Length",label:{en:"Outline offset"},options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontFamily:{label:{en:"Font family"},type:"FontFamily",defaultValue:void 0,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontSize:{label:{en:"Font size"},type:"Length",options:{unitChoices:[{value:"px",label:"px",min:1,max:500}],noRange:!0,useVar:!0},classes:!0,states:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontWeight:{label:{en:"Font weight",fr:"Graisse"},type:"TextSelect",options:{options:[{value:null,label:{en:"Default"}},{value:100,label:{en:"100 - Thin"}},{value:200,label:{en:"200 - Extra Light"}},{value:300,label:{en:"300 - Light"}},{value:400,label:{en:"400 - Normal"}},{value:500,label:{en:"500 - Medium"}},{value:600,label:{en:"600 - Semi Bold"}},{value:700,label:{en:"700 - Bold"}},{value:800,label:{en:"800 - Extra Bold"}},{value:900,label:{en:"900 - Black"}}]},defaultValue:null,states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchFontColor:{label:{en:"Font color"},type:"Color",defaultValue:"black",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchBgColor:{label:{en:"background color"},type:"Color",defaultValue:"#FAFAFA",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch},searchPlaceholderColor:{label:{en:"Placeholder color"},type:"Color",defaultValue:"#737373",states:!0,classes:!0,bindable:!0,responsive:!0,hidden:e=>!e.showSearch}}},Qk={editor:{label:{en:"Dropdown with Search"},icon:"filter"},properties:{options:{label:{en:"Options"},type:"Array",section:"settings",bindable:!0,defaultValue:[{label:"Option 1",value:"option1"},{label:"Option 2",value:"option2"},{label:"Option 3",value:"option3"}],options:{expandable:!0,getItemLabel(e){return e.label||`Option ${e.value}`},item:{type:"Object",defaultValue:{label:"New Option",value:"new-option",icon:null},options:{item:{label:{label:"Label",type:"Text",options:{placeholder:"Option label"}},value:{label:"Value",type:"Text",options:{placeholder:"Option value"}},icon:{label:"Icon",type:"SystemIcon",options:{nullable:!0}}}}}}},initialValue:{label:{en:"Initial value"},type:"Object",section:"settings",bindable:!0,defaultValue:null},showHierarchy:{label:{en:"Show hierarchy"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},parentPropertyPath:{label:{en:"Parent ID property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!e.showHierarchy||!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},labelPropertyPath:{label:{en:"Label property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},valuePropertyPath:{label:{en:"Value property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options}},iconPropertyPath:{label:{en:"Icon property path"},type:"ObjectPropertyPath",section:"settings",bindable:!0,options:e=>{var t;return{object:((t=e.options)==null?void 0:t[0])||{}}},defaultValue:"",hidden:(e,t,r)=>{var o;return!Array.isArray(e.options)||!((o=e.options)!=null&&o.length)||!r.options||!e.enableIcons}},enableIcons:{label:{en:"Enable icons"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},enableSearch:{label:{en:"Enable search"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!0},enableNoValue:{label:{en:"Enable 'No Value' option"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},searchPlaceholder:{label:{en:"Search placeholder"},type:"Text",section:"settings",bindable:!0,defaultValue:"Search...",multiLang:!0},noResultsText:{label:{en:"No results text"},type:"Text",section:"settings",bindable:!0,defaultValue:"No options found",multiLang:!0},noValueLabel:{label:{en:"No value label"},type:"Text",section:"settings",bindable:!0,defaultValue:"Not selected",hidden:e=>!e.enableNoValue,multiLang:!0},placeholder:{label:{en:"Placeholder"},type:"Text",section:"settings",bindable:!0,defaultValue:"Select an option",multiLang:!0},disabled:{label:{en:"Disabled"},type:"OnOff",section:"settings",bindable:!0,defaultValue:!1},triggerPadding:{label:{en:"Trigger padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px"},optionPadding:{label:{en:"Option padding"},type:"Length",section:"style",bindable:!0,defaultValue:"8px 12px"},triggerBackgroundColor:{label:{en:"Trigger background"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},triggerTextColor:{label:{en:"Trigger text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},placeholderColor:{label:{en:"Placeholder color"},type:"Color",section:"style",bindable:!0,defaultValue:"#999999"},menuBackgroundColor:{label:{en:"Menu background"},type:"Color",section:"style",bindable:!0,defaultValue:"#ffffff"},optionTextColor:{label:{en:"Option text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},optionHoverColor:{label:{en:"Hover background"},type:"Color",section:"style",bindable:!0,defaultValue:"#f5f5f5"},optionHoverTextColor:{label:{en:"Hover text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#000000"},optionHoverFontWeight:{label:{en:"Option hover weight"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"bold",label:"Bold"},{value:"100",label:"100 - Thin"},{value:"200",label:"200 - Extra Light"},{value:"300",label:"300 - Light"},{value:"400",label:"400 - Normal"},{value:"500",label:"500 - Medium"},{value:"600",label:"600 - Semi Bold"},{value:"700",label:"700 - Bold"},{value:"800",label:"800 - Extra Bold"},{value:"900",label:"900 - Black"}]}},selectedOptionBgColor:{label:{en:"Selected background"},type:"Color",section:"style",bindable:!0,defaultValue:"#e6f0fd"},selectedOptionTextColor:{label:{en:"Selected text color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4a90e2"},borderColor:{label:{en:"Border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd"},focusBorderColor:{label:{en:"Focus border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#4a90e2"},inputBorderRadius:{label:{en:"Input border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px"},menuBorderRadius:{label:{en:"Menu border radius"},type:"Length",section:"style",bindable:!0,defaultValue:"4px"},menuBorderColor:{label:{en:"Menu border color"},type:"Color",section:"style",bindable:!0,defaultValue:"#dddddd"},menuShadow:{label:{en:"Menu shadow"},type:"Shadows",section:"style",bindable:!0,defaultValue:"0 2px 10px rgba(0, 0, 0, 0.1)"},fontSize:{label:{en:"Font size"},type:"Length",section:"style",bindable:!0,defaultValue:"14px"},fontFamily:{label:{en:"Font family"},type:"FontFamily",section:"style",bindable:!0,defaultValue:"inherit"},fontWeight:{label:{en:"Font weight"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"bold",label:"Bold"},{value:"100",label:"100 - Thin"},{value:"200",label:"200 - Extra Light"},{value:"300",label:"300 - Light"},{value:"400",label:"400 - Normal"},{value:"500",label:"500 - Medium"},{value:"600",label:"600 - Semi Bold"},{value:"700",label:"700 - Bold"},{value:"800",label:"800 - Extra Bold"},{value:"900",label:"900 - Black"}]}},placeholderFontStyle:{label:{en:"Placeholder font style"},type:"TextSelect",section:"style",bindable:!0,defaultValue:"normal",options:{options:[{value:"normal",label:"Normal"},{value:"italic",label:"Italic"}]}},caretIconSize:{label:{en:"Caret icon size"},type:"Length",section:"style",bindable:!0,defaultValue:"16px"},focusShadow:{label:{en:"Focus shadow"},type:"Shadows",section:"style",bindable:!0,defaultValue:"0 0 1px #4a90e2"}},triggerEvents:[{name:"change",label:{en:"On change"},event:{value:null},default:!0},{name:"initValueChange",label:{en:"On init value change"},event:{value:null}}]},Gg=kg("componentBases",()=>{let e;return e={"plugin-832d6f7a-42c3-43f1-a3ce-9a678272f811":He({...RD,name:"plugin-832d6f7a-42c3-43f1-a3ce-9a678272f811"}),"plugin-69d4a5bb-09a3-4f3d-a94e-667c21c057eb":He({...VD,name:"plugin-69d4a5bb-09a3-4f3d-a94e-667c21c057eb"}),"plugin-66a79c98-70e7-4bc4-8859-20776b024ec2":He({...HD,name:"plugin-66a79c98-70e7-4bc4-8859-20776b024ec2"}),"plugin-2bd1c688-31c5-443e-ae25-59aa5b6431fb":He({...YD,name:"plugin-2bd1c688-31c5-443e-ae25-59aa5b6431fb"}),"plugin-f9ef41c3-1c53-4857-855b-f2f6a40b7186":He({...UD,name:"plugin-f9ef41c3-1c53-4857-855b-f2f6a40b7186"}),"plugin-1fa0dd68-5069-436c-9a7d-3b54c340f1fa":He({...XD,name:"plugin-1fa0dd68-5069-436c-9a7d-3b54c340f1fa"}),"section-99586bd3-2b15-4d6b-a025-6a50d07ca845":He({...WD,name:"section-99586bd3-2b15-4d6b-a025-6a50d07ca845"}),"section-ef0ecc71-9a59-4eab-94b0-b36d66d3d61d":He({...jD,name:"section-ef0ecc71-9a59-4eab-94b0-b36d66d3d61d"}),"wwobject-e4de0cd8-7324-47ee-a0c3-cf4114a9f952":He({...KD,name:"wwobject-e4de0cd8-7324-47ee-a0c3-cf4114a9f952"}),"wwobject-8bd1da25-2746-4314-80b9-4271ee6bd644":He({...zD,name:"wwobject-8bd1da25-2746-4314-80b9-4271ee6bd644"}),"wwobject-5e1b9eca-9711-48f0-9de9-6610247cae37":He({...qD,name:"wwobject-5e1b9eca-9711-48f0-9de9-6610247cae37"}),"wwobject-2d18ef4c-e9e5-4dc6-a29d-01d9f797be5e":He({...ZD,name:"wwobject-2d18ef4c-e9e5-4dc6-a29d-01d9f797be5e"}),"wwobject-aeb78b9a-6fb6-4c49-931d-faedcfad67ba":He({...QD,name:"wwobject-aeb78b9a-6fb6-4c49-931d-faedcfad67ba"}),"wwobject-fd8c482f-532c-4aeb-a7ae-6904a6b62a1b":He({...JD,name:"wwobject-fd8c482f-532c-4aeb-a7ae-6904a6b62a1b"}),"wwobject-70a53858-53ca-40a5-ad88-c1cd33b5cc9f":He({...ek,name:"wwobject-70a53858-53ca-40a5-ad88-c1cd33b5cc9f"}),"wwobject-99ea5bf7-b91e-43ea-8ec3-dbaf2b171e34":He({...tk,name:"wwobject-99ea5bf7-b91e-43ea-8ec3-dbaf2b171e34"}),"wwobject-0dc461bb-103e-4b2e-80e0-846ec3c30a6e":He({...rk,name:"wwobject-0dc461bb-103e-4b2e-80e0-846ec3c30a6e"}),"wwobject-0d3e75d1-9e77-44cb-a272-8b0825fbc5da":He({...ok,name:"wwobject-0d3e75d1-9e77-44cb-a272-8b0825fbc5da"}),"wwobject-69d0b3ef-b265-494c-8cd1-874da4aa1834":He({...nk,name:"wwobject-69d0b3ef-b265-494c-8cd1-874da4aa1834"}),"wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15":He({...ak,name:"wwobject-83d890fb-84f9-4386-b459-fb4be89a8e15"}),"wwobject-6ba133b6-a444-414f-93a5-25cd237dd398":He({...ik,name:"wwobject-6ba133b6-a444-414f-93a5-25cd237dd398"}),"wwobject-af811adf-94d9-49dd-ab22-e2f29ae30299":He({...lk,name:"wwobject-af811adf-94d9-49dd-ab22-e2f29ae30299"}),"wwobject-6f8796b1-8273-498d-95fc-7013b7c63214":He({...sk,name:"wwobject-6f8796b1-8273-498d-95fc-7013b7c63214"}),"wwobject-88ef76b6-46d5-4685-878f-2f1fa0d54cb8":He({...dk,name:"wwobject-88ef76b6-46d5-4685-878f-2f1fa0d54cb8"}),"wwobject-73a13eff-bdc7-4021-bdc6-413c97fe91c1":He({...uk,name:"wwobject-73a13eff-bdc7-4021-bdc6-413c97fe91c1"}),"wwobject-9256b033-f4e8-4ab4-adce-dac3a940d7f5":He({...ck,name:"wwobject-9256b033-f4e8-4ab4-adce-dac3a940d7f5"}),"wwobject-61825dc3-96de-46e1-a8c4-b091289d8448":He({...mk,name:"wwobject-61825dc3-96de-46e1-a8c4-b091289d8448"}),"wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad":He({...gk,name:"wwobject-d7904e9d-fc9a-4d80-9e32-728e097879ad"}),"wwobject-7179ba70-c5d7-49a5-9828-f85704fd1efc":He({...fk,name:"wwobject-7179ba70-c5d7-49a5-9828-f85704fd1efc"}),"wwobject-9202d35c-2813-45bc-a7f3-0adb85f83e5e":He({...pk,name:"wwobject-9202d35c-2813-45bc-a7f3-0adb85f83e5e"}),"wwobject-2fd375f8-f5c7-4d81-881d-dacd40bc0ad3":He({...bk,name:"wwobject-2fd375f8-f5c7-4d81-881d-dacd40bc0ad3"}),"wwobject-aa27b26f-0686-4c29-98c5-8217044045b7":He({...hk,name:"wwobject-aa27b26f-0686-4c29-98c5-8217044045b7"}),"wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3":He({...xk,name:"wwobject-3620efe0-33e1-4f35-aff9-e7e81645e0a3"}),"wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63":He({..._k,name:"wwobject-3a7d6379-12d3-4387-98ff-b332bb492a63"}),"wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1":He({...vk,name:"wwobject-b783dc65-d528-4f74-8c14-e27c934c39b1"}),"wwobject-f4c24d06-bc88-4b62-add3-4d1f8b42221c":He({...yk,name:"wwobject-f4c24d06-bc88-4b62-add3-4d1f8b42221c"}),"wwobject-53401515-b694-4c79-a88d-abeecb1de562":He({...Sk,name:"wwobject-53401515-b694-4c79-a88d-abeecb1de562"}),"wwobject-c8199d0d-b61f-4640-98e0-c4be9ea254e0":He({...wk,name:"wwobject-c8199d0d-b61f-4640-98e0-c4be9ea254e0"}),"wwobject-b50837c5-bb16-43b2-828b-4ed5b5b18b95":He({...Mk,name:"wwobject-b50837c5-bb16-43b2-828b-4ed5b5b18b95"}),"wwobject-5a88036f-22ea-4f8d-b4a5-bc226ef95061":He({...Tk,name:"wwobject-5a88036f-22ea-4f8d-b4a5-bc226ef95061"}),"wwobject-6d692ca2-6cdc-4805-aa0c-211102f335d0":He({...Ak,name:"wwobject-6d692ca2-6cdc-4805-aa0c-211102f335d0"}),"wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340":He({...Lk,name:"wwobject-1b1e2173-9b78-42cc-a8ee-a6167caea340"}),"wwobject-97a63460-5c25-4d74-ac1f-86693c2e4a08":He({...$k,name:"wwobject-97a63460-5c25-4d74-ac1f-86693c2e4a08"}),"wwobject-aa29a661-07ce-484e-8abb-456186211282":He({...Pk,name:"wwobject-aa29a661-07ce-484e-8abb-456186211282"}),"wwobject-57831abf-83ad-49ad-ba97-3bd30b035710":He({...Ck,name:"wwobject-57831abf-83ad-49ad-ba97-3bd30b035710"}),"wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82":He({...Ek,name:"wwobject-59dca300-db78-42e4-a7a6-0cbf22d3cc82"}),"wwobject-a6cb6a4d-6af7-4cd6-b530-a15d9ec64488":He({...Ok,name:"wwobject-a6cb6a4d-6af7-4cd6-b530-a15d9ec64488"}),"wwobject-e2962a22-03b3-4421-b85e-906177d2303f":He({...Dk,name:"wwobject-e2962a22-03b3-4421-b85e-906177d2303f"}),"wwobject-84f5dd60-5f67-403a-ad92-bfd62e90ccb3":He({...kk,name:"wwobject-84f5dd60-5f67-403a-ad92-bfd62e90ccb3"}),"wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65":He({...Gk,name:"wwobject-1ba25bdf-dee9-4e0e-a0b8-b3f3128c3b65"}),"wwobject-09576109-3662-4091-91f7-3e5466277049":He({...Nk,name:"wwobject-09576109-3662-4091-91f7-3e5466277049"}),"wwobject-98564d3b-2371-4cc4-92bc-95ca77a94f6f":He({...Fk,name:"wwobject-98564d3b-2371-4cc4-92bc-95ca77a94f6f"}),"wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0":He({...Rk,name:"wwobject-deb10a01-5eef-4aa1-9017-1b51c2ad6fd0"}),"wwobject-537c88ea-5165-4131-9824-cc192f472ace":He({...Vk,name:"wwobject-537c88ea-5165-4131-9824-cc192f472ace"}),"wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4":He({...Hk,name:"wwobject-bf59c8e7-14c9-4c03-a739-8bd7d14031a4"}),"wwobject-9ae1fce8-2e31-4bfd-a4d2-0450235bdfd5":He({...Yk,name:"wwobject-9ae1fce8-2e31-4bfd-a4d2-0450235bdfd5"}),"wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e":He({...Uk,name:"wwobject-c6c0c00e-49fd-4cb9-bd78-5bc09945721e"}),"wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450":He({...Xk,name:"wwobject-7868ccd8-4b9c-4e8d-ac78-a26844c19450"}),"wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298":He({...Wk,name:"wwobject-4ec75f01-3e03-4d63-afe6-ec83bc966298"}),"wwobject-82374601-4666-40c0-b21e-b78c4d0aa2bc":He({...jk,name:"wwobject-82374601-4666-40c0-b21e-b78c4d0aa2bc"}),"wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7":He({...Kk,name:"wwobject-14723a21-0178-4d92-a7e9-d1dfeaec29a7"}),"wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a":He({...zk,name:"wwobject-a823467c-bdc7-4cec-a38c-71875c4c214a"}),"wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d":He({...qk,name:"wwobject-985570fc-b3c0-4566-8004-82ab3b30a11d"}),"wwobject-6145eb60-0af8-4e52-bcc6-dc0f6743654e":He({...Zk,name:"wwobject-6145eb60-0af8-4e52-bcc6-dc0f6743654e"}),"wwobject-96f754da-593a-4c00-8309-517daa09f5b0":He({...Qk,name:"wwobject-96f754da-593a-4c00-8309-517daa09f5b0"})},{configurations:e}});function Qb(e,t,r=!1){const o=el(e,t,r);return $A(e,o)}function $A(e,t){return t?e==="element"?`wwobject-${t}`:e==="section"?`section-${t}`:null:null}function el(e,t,r=!1){var o,a,i,n;if(t!=null&&t.startsWith("popup-"))return(o=Da(wwLib.$pinia).instances[t])==null?void 0:o.libraryComponentBaseId;if(e==="element")return(a=wwLib.$store.getters["websiteData/getWwObjects"][t])==null?void 0:a.wwObjectBaseId;if(e==="libraryComponent")return(i=wwLib.$store.getters["websiteData/getWwObjects"][t])==null?void 0:i.libraryComponentBaseId;if(e==="section"){const s=(n=wwLib.$store.getters["websiteData/getSections"][t])==null?void 0:n.sectionBaseId;return s||(r||wwLib.wwLog.error(`Component base not found : ${e} / ${t}`),null)}return null}function PA(e){return Gg(wwLib.$pinia).configurations[e]||{}}function Jb(e,t,r=!1){var a;if(e==="libraryComponent"){const i=el(e,t,r);return((a=wwLib.$store.getters["libraries/getComponents"][i])==null?void 0:a.configuration)||{}}const o=Qb(e,t,r);return PA(o)}function Jk(e,t){var o;if(e==="libraryComponent")return((o=wwLib.$store.getters["libraries/getComponents"][t])==null?void 0:o.configuration)||{};const r=$A(e,t);return PA(r)}function CA(e,t){if(!e)return"";const{label:r,deprecated:o}=t.editor||{};let a="";return e==="section"?wwLib.wwManagerLang?a=wwLib.wwManagerLang.getText(r)||"Section":a=r&&r.en?r.en:"Section":wwLib.wwManagerLang?a=wwLib.wwManagerLang.getText(r)||"Element":a=r&&r.en?r.en:"Element",`${a}${o?" - Deprecated":""}`}function eG(e,t){var o;if(e==="libraryComponent"){const i=(((o=wwLib.$store.getters["libraries/getComponents"][t])==null?void 0:o.name)||"Component").split("/");return i[i.length-1]}const r=Jk(e,t);return CA(e,r)}function Ng(e,t){if(!e)return"";const r=nG(e,t);if(r)return r;if(e==="libraryComponent"){const a=el(e,t);return eG(e,a)}const o=Jb(e,t);return CA(e,o)}const Ov=["none","false",!1,null,void 0];function tG(e){return typeof e=="string"?!Ov.includes(e.toLowerCase()):!Ov.includes(e)}const rG=["block","inline-block"];function oG(e,t){var r,o,a;return typeof((r=e==null?void 0:e.options)==null?void 0:r.displayAllowedValues)=="function"?(o=e==null?void 0:e.options)==null?void 0:o.displayAllowedValues(t==null?void 0:t.content,t==null?void 0:t.wwProps):((a=e==null?void 0:e.options)==null?void 0:a.displayAllowedValues)||rG}function Fg(e,t,r){if(!tG(e))return"none";const a=oG(t,r);return typeof e=="string"&&a.includes(e.toLowerCase())?e.toLowerCase():a[0]}function Hr(e,t="unset"){return!e||e==="auto"?t:e}function nG(e,t){if(!e)return"";if(t!=null&&t.startsWith("popup-"))return null;if(e==="section"){const{sectionTitle:r}=wwLib.$store.getters["websiteData/getSections"][t]||{};return r}else{const{name:r}=wwLib.$store.getters["websiteData/getWwObjects"][t]||{name:"Element undefined"};return r}}const Rn={backgroundOrder:{label:"Order",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{type:"string",markdown:"background.order"}},backgroundColor:{label:"Color",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.color",type:"string",cssSupports:"color"}},backgroundGradient:{label:"Gradient",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background",type:"string",cssSupports:"background"}},backgroundImage:{label:"Image",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.image",type:"string",cssSupports:"backgroundImage"}},backgroundSize:{label:"Size",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.size",type:"string",cssSupports:"backgroundSize"}},backgroundRepeat:{label:"Repeat",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.repeat",type:"string",cssSupports:"backgroundRepeat"}},backgroundAttachment:{label:"Attachment",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.attachment",type:"string",cssSupports:"backgroundAttachment"}},backgroundPositionX:{label:"Position X",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.position.x",type:"string",cssSupports:"backgroundPositionX"}},backgroundPositionY:{label:"Position Y",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",bindingValidation:{markdown:"background.position.y",type:"string",cssSupports:"backgroundPositionY"}},backgroundVideo:{label:"Video",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",componentType:"section",bindingValidation:{markdown:"background.video",type:"string"}},backgroundVideoPoster:{label:"Poster",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",componentType:"section",bindingValidation:{markdown:"background.video.poster",type:"string"}},backgroundVideoSize:{label:"Size",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",componentType:"section",bindingValidation:{markdown:"background.video.size",type:"string"}},backgroundVideoLoop:{label:"Loop",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",componentType:"section",bindingValidation:{markdown:"background.video.loop",type:"boolean"}},backgroundVideoPreload:{label:"Preload",responsive:!0,bindable:!0,states:!0,classes:!0,category:"background",componentType:"section",bindingValidation:{markdown:"background.video.preload",type:"boolean"}},align:{label:"Alignement",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"align",type:"string",cssSupports:"align"}},columnSpan:{label:"Column span",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"column-span",type:"string",cssSupports:"column-span"}},rowSpan:{label:"Row span",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"row-span",type:"string",cssSupports:"row-span"}},gridColumn:{label:"Column position",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"column-position",type:"string",cssSupports:"column-position"}},gridRow:{label:"Row position",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"row-position",type:"string",cssSupports:"row-position"}},zIndex:{label:"Z index",responsive:!0,category:"advanced",bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"z-index",type:"string",cssSupports:"z-index"}},overflow:{label:"Overflow",category:"advanced",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"overflow",type:"string",cssSupports:"overflow"}},position:{label:"Position",category:"advanced",responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"position",type:"string",cssSupports:"position"}},anchor:{label:"Anchor",category:"advanced",responsive:!0,states:!0,classes:!0},top:{label:"Top",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"top",type:"string",cssSupports:"top"}},bottom:{label:"Bottom",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"bottom",type:"string",cssSupports:"bottom"}},left:{label:"Left",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"left",type:"string",cssSupports:"left"}},right:{label:"Right",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"right",type:"string",cssSupports:"right"}},height:{label:"Height",category:"sizing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"height",type:"string",cssSupports:"height"}},aspectRatio:{label:"Aspect ratio",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"aspectRatio",type:"string",cssSupports:"aspect-ratio"}},minHeight:{label:"Min height",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"min-height",type:"string",cssSupports:"min-height"}},maxHeight:{label:"Max height",category:"sizing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"max-height",type:"string",cssSupports:"max-height"}},width:{label:"Width",category:"sizing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"width",type:"string",cssSupports:"width"}},minWidth:{label:"Min width",category:"sizing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"min-width",type:"string",cssSupports:"min-width"}},maxWidth:{label:"Max width",category:"sizing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"max-width",type:"string",cssSupports:"max-width"}},padding:{label:"Padding",category:"spacing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"padding",type:"string",cssSupports:"padding"}},margin:{label:"Margin",category:"spacing",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"margin",type:"string",cssSupports:"margin"}},border:{label:"Border",category:"borders-shadows",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"border",type:"string",cssSupports:"border"}},borderTop:{label:"Border top",category:"borders-shadows",bindable:!0,responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"border-top",type:"string",cssSupports:"border-top"}},borderBottom:{label:"Border bottom",category:"borders-shadows",bindable:!0,responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"border-bottom",type:"string",cssSupports:"border-bottom"}},borderRight:{label:"Border right",category:"borders-shadows",bindable:!0,responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"border-right",type:"string",cssSupports:"border-right"}},borderLeft:{label:"Border left",category:"borders-shadows",bindable:!0,responsive:!0,states:!0,classes:!0,bindingValidation:{markdown:"border-left",type:"string",cssSupports:"border-left"}},outline:{label:"Outline",category:"borders-outline",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"outline",type:"string",cssSupports:"outline"}},outlineOffset:{label:"Outline Offset",category:"borders-outline",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"outline-offset",type:"string",cssSupports:"outline-offset"}},borderRadius:{label:"Border radius",category:"borders-shadows",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"border-radius",type:"string",cssSupports:"border-radius"}},boxShadow:{label:"Shadow",category:"borders-shadows",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"box-shadow",type:"string",cssSupports:"box-shadow"}},cursor:{label:"Cursor",category:"advanced",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"cursor",type:"string",cssSupports:"cursor"}},textAlign:{label:"Text align",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,bindingValidation:{markdown:"text-align",type:"string",cssSupports:"text-align"}},display:{label:"Display",category:"display",responsive:!0,bindable:!0,states:!0,classes:!0,defaultUndefined:!0,bindingValidation:{markdown:"display",validations:[{type:"string",cssSupports:"display"},{type:"boolean"}]}},customCss:{label:"Custom CSS",category:"custom-css",responsive:!0,states:!0,classes:!0},transform:{label:"Transform",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"transform",type:"string",cssSupports:"transform"}},perspective:{label:"Perspective",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"perspective",type:"string",cssSupports:"perspective"}},opacity:{label:"Opacity",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"opacity",type:"number",cssSupports:"opacity"}},transition:{label:"Transition",category:"advanced",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"transition",type:"string",cssSupports:"transition"}},flex:{label:"Flex",category:"display",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"flex",type:"string",cssSupports:"flex"}},animationDuration:{label:"Duration",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-duration",type:"string",cssSupports:"animation-duration"}},animationTimingFunction:{label:"Transition",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-timing-function",type:"string",cssSupports:"animation-timing-function"}},animationDelay:{label:"Delay",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-delay",type:"string",cssSupports:"animation-delay"}},animationIterationCount:{label:"Iterations",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-iteration-count",validations:[{type:"string",cssSupports:"animation-iteration-count"},{type:"number",cssSupports:"animation-iteration-count"}]}},animationDirection:{label:"Alternate",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-direction",type:"string",cssSupports:"animation-direction"}},animationPlayState:{label:"Run animation",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-play-state",type:"string",cssSupports:"animation-play-state"}},animationFillMode:{label:"Fill mode",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"animation-fill-mode",type:"string",cssSupports:"animation-fill-mode"}},animationKeyframes:{label:"Keyframes",category:"animation",responsive:!0,states:!0,bindable:!0,classes:!0,bindingValidation:{markdown:"keyframes",type:"string"}},conditionalRendering:{label:"Conditional rendering",bindable:!0,defaultUndefined:!0,responsive:!0,states:!0,canReset:!0,bindingValidation:{validations:[{type:"boolean"}]}}},di={id:{label:"Id",bindable:!0,category:"attributes"},class:{label:"Class",bindable:!0,classes:!0,category:"attributes"},attributes:{label:"Attributes",type:"Array",category:"attributes",options:{item:{type:"Object",defaultValue:{name:"",value:""},options:{item:{name:{type:"Text",options:{placeholder:"Name",prevent:[/ /g]},bindable:!0},value:{type:"Text",options:{placeholder:"Value"},bindable:!0}}}}},bindable:!0,classes:!0},link:{type:"Object",options:{item:{type:{},pageId:{bindable:!0},parameters:{bindable:!0},sectionId:{bindable:!0},href:{bindable:!0},file:{bindable:!0},targetBlank:{bindable:!0},background:{bindable:!0},content:{},query:{type:"Array",options:{item:{type:"Object",options:{item:{name:{type:"Text",options:{placeholder:"Name"}},value:{type:"Text",bindable:!0,options:{placeholder:"Value"}}}}}}}}},bindable:!0},watchScrollPosition:{category:"advancedInteractions"},interactions:{noRootMerge:!0},hydrate:{},forceRendering:{editorOnly:!0},states:{noRootMerge:!0},libraryComponentInjected:{noRootMerge:!0},dropzoneContext:{noRootMerge:!0,bindable:!0}},{replace:aG}="",iG=/[&<>'"]/g,lG={"&":"&","<":"<",">":">","'":"'",'"':"""},sG=e=>lG[e],EA=e=>aG.call(e,iG,sG);function ha(e){return!(!e||Array.isArray(e)||typeof e!="object")}const dG=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,eh={if(e,t,r){return e?t:r},ifEmpty(e,t){return wwLib.wwUtils.isEmpty(e)?t:e},ifempty(e,t){return wwLib.wwLog.error("ifempty is deprecated. Please use ifEmpty instead"),this.ifEmpty(e,t)},not(e){return!e},compare(e,t){return We.isEqual(e,t)},switch(e,t,r,...o){const a=[t,r,...o].filter((s,d)=>d%2===0),i=[t,r,...o].filter((s,d)=>d%2===1),n=a.findIndex(s=>s===e);return n===-1?a.length>i.length?a[i.length]:void 0:i[n]},average(e,...t){return Array.isArray(e)||(e=[e,...t]),e.length===0?0:e.reduce((r,o)=>r+o,0)/e.length},sum(e,...t){return Array.isArray(e)||(e=[e,...t]),e.reduce((r,o)=>r+o,0)},round(e,t=0){const r=Math.pow(10,t);return Math.round(e*r)/r},length(e){if(typeof e=="string")return e.length;if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection) or a string";return e.length},keys(e){if(!ha(e))throw"First parameter must be an object";return Object.keys(e)},values(e){if(!ha(e))throw"First parameter must be an object";return Object.values(e)},objectToArray(e){if(!ha(e))throw"First parameter must be an object";return Object.entries(e)},slice(e,t,r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return e.slice(t,r)},merge(...e){const t=e.map(r=>{const o=wwLib.wwUtils.getDataFromCollection(r);if(!Array.isArray(o))throw"All parameters must be arrays (or collections)";return o});return[].concat(...t)},contains(e,t){if(!e&&e!=="")return!1;if(typeof e=="string")return e.includes(t);if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection) or a string";return e.includes(t)},map(e,t,...r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return r.length===0?e.map(o=>o&&_.get(o,t)):(r=[t,...r],e.map(o=>{if(o){const a={};for(let i of r)a[i]=o[i];return a}else return{}}))},reverse(e){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return[...e].reverse()},distinct(e){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return e.reduce((t,r)=>(t.some(o=>_.isEqual(r,o))||t.push(r),t),[])},groupBy(e,t){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";const r={};for(let o of e){const a=_.get(o,t);o&&(r[a]?r[a].push(o):r[a]=[o])}return r},rollupSum(e,t){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return e.reduce((r,o)=>o&&_.get(o,t)?r+parseFloat(_.get(o,t)):r,0)},rollupCount(e,t){return wwLib.wwLog.error("rollupCount is deprecated. Please use rollupSum instead"),this.rollupSum(e,t)},sort(e,t="asc",r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";const o=t==="asc"?1:-1,a=t==="asc"?-1:1;return r?[...e].sort((i,n)=>(i&&_.get(i,r)||"")>(n&&_.get(n,r)||"")?o:a):[...e].sort((i,n)=>(i||"")>(n||"")?o:a)},flat(e){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return e.flat()},concatenate(...e){return`${e.join("")}`},split(e,t){if(!e||typeof e!="string")throw"First parameter must be a text";return e.split(t)},lower(e){if(!e||typeof e!="string")throw"First parameter must be a text";return e.toLowerCase()},lowercase(e){if(!e||typeof e!="string")throw"First parameter must be a text";return e.toLowerCase()},capitalize(e){if(!e||typeof e!="string")throw"First parameter must be a text";let t="";for(let r=0;r!_.isEqual(r,t))},filterByKey(e,t,r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return r===void 0?e.filter(o=>_.get(o,t)):Array.isArray(r)?e.filter(o=>r.includes(_.get(o,t))):e.filter(o=>_.get(o,t)===r)},removeByKey(e,t,r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return r===void 0?e.filter(o=>!_.get(o,t)):Array.isArray(r)?e.filter(o=>!r.includes(_.get(o,t))):e.filter(o=>_.get(o,t)!==r)},removeByIndex(e,t){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";const r=parseInt(t);if(isNaN(r))throw"Second parameter must be a number";if(r<0||r>=e.length)return e;const o=[...e];return o.splice(r,1),o},getKeyValue(e,t){if(!ha(e))throw"First parameter must be an object";return _.get(e,t)},getByKey(e,t){return wwLib.wwLog.error("getByKey is deprecated. Please use getKeyValue instead"),this.getKeyValue(e,t)},setKeyValue(e,t,r){if(!ha(e))throw"First parameter must be an object";return{...e,[t]:r}},setByKey(e,t,r){return wwLib.wwLog.error("setByKey is deprecated. Please use setKeyValue instead"),this.setKeyValue(e,t,r)},toText(e){return`${e}`},trim(e){return`${e}`.trim()},trimStart(e){return`${e}`.trimStart()},trimEnd(e){return`${e}`.trimEnd()},toNumber(e){return parseFloat(e)},createObject(...e){const t=[...e].filter((a,i)=>i%2===0),r=[...e].filter((a,i)=>i%2===1),o={};return t.forEach((a,i)=>{if(!a||Array.isArray(a)||typeof a=="object")throw`${a} is an invalid key`;o[`${a}`]=r[i]}),o},toObject(...e){return wwLib.wwLog.error("toObject is deprecated. Please use createObject instead"),this.createObject(...e)},createArray(...e){return[...e]},toList(...e){return wwLib.wwLog.error("toList is deprecated. Please use createArray instead"),this.createArray(...e)},pick(e,...t){if(!ha(e))throw"First parameter must be an object";return[...t].reduce((o,a)=>(o[a]=_.get(e,a),o),{})},omit(e,...t){if(!ha(e))throw"First parameter must be an object";return Object.keys(e).filter(o=>!t.includes(o)).reduce((o,a)=>(o[a]=_.get(e,a),o),{})},now(){wwLib.wwLog.error("now is deprecated. Please use date from the date plugin instead");const e=new Date().getTimezoneOffset()*6e4;return new Date(Date.now()-e).toISOString()},timestamp(){wwLib.wwLog.error("timestamp is deprecated. Please use toTimestamp from the date plugin instead");const e=new Date().getTimezoneOffset()*6e4;return new Date(Date.now()-e).getTime()},join(e,t=","){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";if(typeof t!="string")throw"Second parameter must be a text";return e.join(t)},getByIndex(e,t){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";const r=parseInt(t);if(isNaN(r))throw"Second parameter must be a number";return e[r]},fileToUrl(e,t=""){return e?URL.createObjectURL(e):t},toBool(e){return!!e},lookup(e,t,r="id"){if(t=wwLib.wwUtils.getDataFromCollection(t),!Array.isArray(t))throw"Second parameter must be an array (or collection)";return t.filter(o=>_.get(o,r)===e).shift()},lookupArray(e,t,r="id"){if(t=wwLib.wwUtils.getDataFromCollection(t),e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";if(!Array.isArray(t))throw"Second parameter must be an array (or collection)";return t.filter(o=>e.includes(_.get(o,r)))},rollup(e,t,r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";const o=e.reduce((a,i)=>{const n=_.get(i,t);return n==null?a:a.concat(n)},[]);return r?this.distinct(o):o},findIndex(e,t){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";return e.findIndex(r=>_.isEqual(r,t))},findIndexByKey(e,t,r){if(e=wwLib.wwUtils.getDataFromCollection(e),!Array.isArray(e))throw"First parameter must be an array (or collection)";if(typeof t!="string")throw"Second parameter must be a text";return e.findIndex(o=>_.isEqual(_.get(o,t),r))},textLength(e){if(typeof e!="string")throw"First parameter must be a text";return e.length},subText(e,t,r){if(typeof e!="string")throw"First parameter must be a text";if(t=parseInt(t),isNaN(t))throw"Second parameter must be a number";if(r!==void 0&&(r=parseInt(r),isNaN(r)))throw"Third parameter must be a number";return e.substring(t,r)},sanitize(e){if(e=`${e}`,typeof e!="string")throw"First parameter cannot be converted to a text";return EA(e)},translate(e){return wwLib.wwLang.getText(e)},isEmail(e){return!e||typeof e!="string"?!1:dG.test(e)}};function uG({uid:e,componentId:t,repeatIndex:r},{context:o,executionContext:a}){var f,b;const i=el("libraryComponent",e);function n(g,h){var w,M;const y=(M=(w=wwLib.$store.getters["libraries/getComponents"][i])==null?void 0:w.inner)==null?void 0:M.workflows[g];return Mn(y,{context:{...o,...a,parameters:h}})}function s(){var g,h,y,w;o!=null&&o.component?(h=(g=o.component.localComponentActionsFn.libraryComponents)==null?void 0:g[e])!=null&&h[t]&&(delete o.component.localComponentActionsFn.libraryComponents[e][t],Object.keys(o.component.localComponentActionsFn.libraryComponents[e]).length===0&&delete o.component.localComponentActionsFn.libraryComponents[e]):(w=(y=wwLib.globalVariables.globalComponentActionsFn.libraryComponents)==null?void 0:y[e])!=null&&w[t]&&(delete wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e][t],Object.keys(wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e]).length===0&&delete wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e])}function d(){o!=null&&o.component?(o.component.localComponentActionsFn.libraryComponents[e]||(o.component.localComponentActionsFn.libraryComponents[e]={}),o.component.localComponentActionsFn.libraryComponents[e][t]={repeatIndex:r,executeFunction:n}):(wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e]||(wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e]={}),wwLib.globalVariables.globalComponentActionsFn.libraryComponents[e][t]={repeatIndex:r,executeFunction:n})}let c;const m=((b=(f=wwLib.$store.getters["libraries/getComponents"][i])==null?void 0:f.inner)==null?void 0:b.workflows)||{};c={value:Object.values(m).some(g=>g.isExternal)},c.value&&d(),Ga(()=>{s()})}function OA({uid:e,componentId:t,type:r,repeatIndex:o},{configuration:a,componentRef:i,context:n}){if(!a.actions)return;function s(d,c){var m;if(typeof((m=i.value)==null?void 0:m[d])=="function")return i.value[d](...c)}r==="section"?wwLib.globalVariables.globalComponentActionsFn.sections[e]=s:n!=null&&n.component?(n.component.localComponentActionsFn.elements[e]||(n.component.localComponentActionsFn.elements[e]={}),n.component.localComponentActionsFn.elements[e][t]={repeatIndex:o,executeFunction:s}):(wwLib.globalVariables.globalComponentActionsFn.elements[e]||(wwLib.globalVariables.globalComponentActionsFn.elements[e]={}),wwLib.globalVariables.globalComponentActionsFn.elements[e][t]={repeatIndex:o,executeFunction:s}),Ga(()=>{if(r==="section"){delete wwLib.globalVariables.globalComponentActionsFn.sections[e];return}if(n!=null&&n.component){delete n.component.localComponentActionsFn.elements[e][t],Object.keys(n.component.localComponentActionsFn.elements[e]).length===0&&delete n.component.localComponentActionsFn.elements[e];return}else delete wwLib.globalVariables.globalComponentActionsFn.elements[e][t],Object.keys(wwLib.globalVariables.globalComponentActionsFn.elements[e]).length===0&&delete wwLib.globalVariables.globalComponentActionsFn.elements[e]})}function cG(e,{context:t},r=[]){var n,s,d;if(!e.uid)return null;e.category=e.category||"elements";const o=((d=(s=(n=t==null?void 0:t.component)==null?void 0:n.localComponentActionsFn)==null?void 0:s[e.category])==null?void 0:d[e.uid])||wwLib.globalVariables.globalComponentActionsFn[e.category][e.uid];if(!o)return null;typeof o=="function"&&o[e.id](e.name,r);const a=Object.keys(o);let i=null;if(a.length&&e.repeatIndex){for(const c in o)if(o[c].repeatIndex===e.repeatIndex){i=o[c].executeFunction;break}}return i||(i=o[a[0]].executeFunction),i(e.actionName,r)||null}const Iv=3;function mG(e){if(e.lengtho===t).length>=Iv}const Or=kg("variables",()=>{const e=ss({}),t=ss({}),r=yt({}),o=Pt({}),a={};function i(b,g){const h=Object.values(this.website);for(const y of h){if(!g&&y.type!=="query"&&y.isPersistentOnNav)continue;let w=y.defaultValue;y.isLocalStorage&&(w=IA(y)),y.type==="query"&&(w=gG(y,b)),this.setValue(y.id,w,{ignoreQuery:!0})}wwLib.$store.dispatch("data/setPageParameterVariables")}function n(b){return this.website[b]||this.components[b]||this.plugins[b]||wwLib.$store.getters["data/getPageParameterVariables"][b]}function s(b,g,h,{partialUpdate:y=!1}={}){const w=this.getConfiguration(g),M=w==null?void 0:w.name,A=!!w;if(y)Object.assign(w,h);else{let F="website";switch(b){case"website":break;case"plugin":F="plugins";break;case"component":F="components";break}this[F][g]=h}if(A&&(M===h.name||["plugin","component"].includes(b)))return;const L=this;function C(){return L.values[g]}function I(F){L.setValue(g,F)}a[g]=hg(!0),a[g].run(()=>{wwLib.globalVariables.customCodeVariables[g]===void 0&&(wwLib.globalVariables.customCodeVariables[g]=ye({get:C,set:I})),!(b==="plugin"||b==="component"||!h.name||h.name===M)&&wwLib.globalVariables.customCodeVariables[h==null?void 0:h.name]===void 0&&(wwLib.globalVariables.customCodeVariables[h==null?void 0:h.name]=ye({get:C,set:I}))}),M&&delete wwLib.globalVariables.customCodeVariables[M]}function d(b,g,{ignoreQuery:h,path:y,index:w,arrayUpdateType:M,workflowContext:A,silent:L}={}){const C=this.getConfiguration(b);if(C){if(typeof g=="string")switch(C.type){case"query":{if(!h){let I;I=wwLib.getFrontRouter();const F=I.currentRoute._value.path,R=I.currentRoute._value.query,q=g!==C.defaultValue?g:void 0;if(R[C.queryName||C.name]!==q){const W={...R};for(const K in this.website)this.website[K].type==="query"&&(W[this.website[K].queryName||this.website[K].name]=this.values[K]===""?void 0:this.values[K]);W[C.queryName||C.name]=q,I.replace({path:F,query:W})}}break}case"number":try{g=parseFloat(g)}catch{g=0,wwLib.wwLog.error(`Unable to set variable ${b} value.`),wwLib.wwLog.error("Expected value of type number, got :",g)}break;case"object":case"array":if(!(y||M))try{g=JSON.parse(g)}catch{g=C.type==="object"?{}:[],wwLib.wwLog.error(`Unable to set variable ${b} value.`),wwLib.wwLog.error(`Expected value of type ${C.type}, got:`,g)}break}else g&&typeof g=="object"&&["object","array"].includes(C.type)&&!C.preserveReference&&(g=_.cloneDeep(g));if(C.type==="object"&&y)this.values[b]=this.values[b]||{},We.set(this.values[b],y,g),L||wwLib.logStore.verbose(`Variable _wwVariable(${b}) update`,{preview:this.values[b],workflowContext:A,type:A?"action":null});else if(C.type==="array"&&M)switch(this.values[b]=this.values[b]||[],w=w||0,M){case"update":{let I=`[${w}]`;y&&(I=`${I}.${y}`),We.set(this.values[b],I,g),L||wwLib.logStore.verbose(`Updating partially array variable _wwVariable(${b}) `,{preview:g,workflowContext:A,type:A?"action":null});break}case"delete":this.values[b].splice(w,1),L||wwLib.logStore.verbose(`Deleting item ${w} from array _wwVariable(${b})`,{workflowContext:A,type:A?"action":null});break;case"insert":this.values[b].splice(w,0,g),L||wwLib.logStore.verbose(`Inserting value into array variable at index ${w} _wwVariable(${b}) `,{preview:g,workflowContext:A,type:A?"action":null});break;case"unshift":this.values[b].unshift(g),L||wwLib.logStore.verbose(`Removing first element from array variable _wwVariable(${b}) `,{workflowContext:A,type:A?"action":null});break;case"push":this.values[b].push(g),L||wwLib.logStore.verbose(`Adding value at the end of the array variable _wwVariable(${b}) `,{preview:g,workflowContext:A,type:A?"action":null});break;case"shift":this.values[b].shift(g),L||wwLib.logStore.verbose(`Adding value at the start of the array variable _wwVariable(${b}) `,{preview:g,workflowContext:A,type:A?"action":null});break;case"pop":this.values[b].pop(g),L||wwLib.logStore.verbose(`Removing last value of the array variable _wwVariable(${b})`,{workflowContext:A,type:A?"action":null});break}else this.values[b]=g,L||wwLib.logStore.verbose(`Setting value for _wwVariable(${b}) `,{preview:_.cloneDeep(g),workflowContext:A,type:A?"action":null});if(C.isLocalStorage&&window.localStorage)switch(L||wwLib.logStore.verbose(`Updating localStorage to synchronize with _wwVariable(${b})`),C.type){case"query":case"string":window.localStorage.setItem(`variable-${b}`,g);break;case"number":case"object":case"array":case"boolean":window.localStorage.setItem(`variable-${b}`,JSON.stringify(this.values[b]));break}}}function c(b){var h;const g=this.getConfiguration(b);g&&(delete this.values[b],delete this.website[b],delete this.components[b],delete this.plugins[b],(h=a[b])==null||h.stop(),delete a[b],delete wwLib.globalVariables.customCodeVariables[g.id],g.name&&delete wwLib.globalVariables.customCodeVariables[g.name])}function m(b){for(const g of Object.values(this.components))b.includes(g.sectionId)||this.remove(g.id)}function f(b){for(const g of b)this.website[g.id]&&this.add("website",g.id,{...this.website[g.id],folder:g.folder})}return{website:e,plugins:t,components:r,values:o,resetVariables:i,getConfiguration:n,setValue:d,add:s,remove:c,cleanComponent:m,renameFolder:f}});function IA(e){var r,o;let t;switch(e.type){case"query":case"string":{const a=(r=window.localStorage)==null?void 0:r.getItem(`variable-${e.id}`);t=a!==null?a:e.defaultValue;break}case"number":case"object":case"array":case"boolean":try{const a=(o=window.localStorage)==null?void 0:o.getItem(`variable-${e.id}`);t=a!==null?JSON.parse(a):e.defaultValue}catch{t=e.defaultValue,wwLib.wwLog.error("Invalid localStorage value for variable id:",e.id)}break}return t}function gG(e,t){let r;const o=t?t.query:{};return Object.keys(o).forEach(a=>{e.name.toLowerCase()===a.toLowerCase()&&(r=o[a])}),r===void 0&&e.isLocalStorage&&(r=IA(e)),r||e.defaultValue}const fG=["loop","while-loop","if","filter","switch"];async function Mn(e,{context:t={},event:r={},callstack:o=[],isError:a,executionContext:i,internal:n}={}){let s,d;if(!e)return{};if(o=[...o,e.id],mG(o))return wwLib.logStore.info("Possible infinity loop detected! Workflow was stopped.",{workflowContext:{workflow:e,executionContext:i},type:"action"}),{};if(!a){switch(i==null?void 0:i.type){case"p":wwLib.logStore.info(`Start page workflow _wwWorkflow(${e.id},p,${i.pageId})`,{type:"action",workflowContext:{workflow:e,executionContext:i}});break;case"a":wwLib.logStore.info(`Start application workflow _wwWorkflow(${e.id},a)`,{type:"action",workflowContext:{workflow:e,executionContext:i}});break;case"e":wwLib.logStore.info(`Start element workflow _wwWorkflow(${e.id},e,${i.uid})`,{type:"action",workflowContext:{workflow:e,executionContext:i}});break;case"c":wwLib.logStore.info(`Start component _wwWorkflow(${e.id},c)`,{type:"action",workflowContext:{workflow:e,executionContext:i}});break;case"s":wwLib.logStore.info(`Start section workflow _wwWorkflow(${e.id},s,${i.uid})`,{type:"action",workflowContext:{workflow:e,executionContext:i}});break;default:wwLib.logStore.info(`Start workflow _wwWorkflow(${e.id},${n?"c":"g"})`,{type:"action",workflowContext:{workflow:e,executionContext:i}})}({error:s,result:d}=await Ea(e,e.firstAction,{context:t,event:r,callstack:o,isError:!1,executionContext:i,internal:n}))}if(s&&(wwLib.logStore.error("Workflow triggered an error",{type:"action",workflowContext:{workflow:e,executionContext:i},error:s}),n?We.set(t.component,`workflowsResults.${e.id}.error`,lb(s)):await wwLib.$store.dispatch("data/setWorkflowError",{workflowId:e.id,value:lb(s)})),a||s){wwLib.logStore.info("Start error branch",{workflowContext:{workflow:e,executionContext:i},type:"action"});const{result:c}=await Ea(e,e.firstErrorAction,{context:t,event:r,callstack:o,isError:!0,executionContext:i,internal:n});return wwLib.logStore.info("Error branch done!",{workflowContext:{workflow:e,executionContext:i},type:"action"}),{error:s,result:c}}return wwLib.logStore.info("Workflow done!",{workflowContext:{workflow:e,executionContext:i},type:"action"}),{error:s,result:d}}async function Ea(e,t,{context:r,event:o,callstack:a=[],isError:i,queue:n=[],executionContext:s,internal:d}){var c,m;try{if(!e||!t)return{};const f=e.actions[t];if(!f)return{};let b={...r,workflow:d?(m=(c=r==null?void 0:r.component)==null?void 0:c.workflowsResults)==null?void 0:m[e.id]:wwLib.$store.getters["data/getWorkflowResults"](e.id)};const{result:g,stop:h,breakLoop:y}=await BA(e,t,{context:b,event:o,callstack:a,isError:i,standalone:!1,executionContext:s,internal:d});if(h||y)return{result:g,breakLoop:y};let w=(f.branches||[]).find(({value:M})=>M===g);return w||(w=(f.branches||[]).find(({isDefault:M})=>M)),w&&w.id&&!f.disabled?await Ea(e,w.id,{context:b,event:o,callstack:a,isError:i,queue:f.next?[f.next,...n]:n,executionContext:s,internal:d}):f.next?await Ea(e,f.next,{context:b,event:o,callstack:a,isError:i,queue:n,executionContext:s,internal:d}):n.length?await Ea(e,n[0],{context:b,event:o,callstack:a,isError:i,queue:n.slice(1),executionContext:s,internal:d}):{result:g}}catch(f){return{error:f}}}async function BA(e,t,{context:r={},event:o={},callstack:a=[],isError:i,standalone:n=!0,executionContext:s,internal:d,fromFunction:c=!1}){var M,A,L,C,I,F,R,q,W,K,N,V,J,ee,Z,re,X,oe,ve,De,Oe,Ie,ot,je,Ke,Ye,ne,_e,ce,pe,$e,O,k,Y,ie,me,le,Te,Ae,we,be,Fe,Le,Ge,Re,at,ft,et,Et,$,x,S,B,U,te,D,j,Xe,ze,qe,ke,Br,no,sr;let m,f,b;if(!e||!t)return{result:m};Object.keys(r).includes("workflow")||(r={...r,workflow:d?(M=r==null?void 0:r.component)==null?void 0:M.workflowsResults[e.id]:wwLib.$store.getters["data/getWorkflowResults"](e.id)});const g=e.actions[t];if(!g)return{result:m};function h(ge,Me,Pe={}){c||wwLib.logStore.log(ge,Me,{workflowContext:{workflow:e,actionId:g.id,executionContext:s},type:"action",...Pe})}if(!c&&!n&&g.disabled)return{result:m};const y={log:h},w=g.type.includes(":")?g.type.split(":")[0]:g.type;try{switch(w){case"custom-js":{if(!g.code)throw new Error("No custom code defined.");m=await xG(g.code,r,o,y),h("info","Executing custom Javascript");break}case"variable":{if(!g.varId)throw new Error("No variable selected.");const ge=Ne(g.varValue,r,{event:o,recursive:!1}),Me=g.usePath?Ne(g.path||"",r,{event:o,recursive:!1}):null,Pe=Ne(g.index||0,r,{event:o,recursive:!1}),Ee=Or(wwLib.$pinia),Ze=((C=(L=wwLib.$store.getters["libraries/getComponents"][(A=r==null?void 0:r.component)==null?void 0:A.baseUid])==null?void 0:L.inner)==null?void 0:C.variables)||{},mt=((I=r==null?void 0:r.component)==null?void 0:I.componentVariablesConfiguration)||{};Ze[g.varId]||mt[g.varId]?m=(R=(F=r==null?void 0:r.component)==null?void 0:F.methods)==null?void 0:R.updateVariable(g.varId,ge,{path:Me,index:Pe,arrayUpdateType:g.arrayUpdateType,workflowContext:{workflow:e,actionId:g.id,executionContext:s}}):Ee.getConfiguration(g.varId)&&(m=wwLib.wwVariable.updateValue(g.varId,ge,{path:Me,index:Pe,arrayUpdateType:g.arrayUpdateType,workflowContext:{workflow:e,actionId:g.id,executionContext:s}}));break}case"reset-variables":{const ge=Or(wwLib.$pinia),Me=((K=(W=wwLib.$store.getters["libraries/getComponents"][(q=r==null?void 0:r.component)==null?void 0:q.baseUid])==null?void 0:W.inner)==null?void 0:K.variables)||{},Pe=((N=r==null?void 0:r.component)==null?void 0:N.componentVariablesConfiguration)||{};for(const Ee of g.varsId||[]){if(!Ee)continue;const Ze=ge.getConfiguration(Ee);Ze?wwLib.wwVariable.updateValue(Ee,Ze.defaultValue===void 0?null:er(Ze.defaultValue),{workflowContext:{workflow:e,actionId:g.id,executionContext:s}}):Me[Ee]?(J=(V=r==null?void 0:r.component)==null?void 0:V.methods)==null||J.updateVariable(Ee,Me[Ee].defaultValue===void 0?null:er(Me[Ee].defaultValue),{workflowContext:{workflow:e,actionId:g.id,executionContext:s}}):Pe[Ee]&&((Z=(ee=r==null?void 0:r.component)==null?void 0:ee.methods)==null||Z.updateVariable(Ee,Pe[Ee].defaultValue===void 0?null:er(Pe[Ee].defaultValue),{workflowContext:{workflow:e,actionId:g.id,executionContext:s}}))}break}case"fetch-collection":{if(!g.collectionId)throw new Error("No collection selected.");const ge=wwLib.$store.getters["data/getCollections"][g.collectionId];if(!ge)throw new Error("Collection not found.");if(await wwLib.wwCollection.fetchCollection(g.collectionId,{},{workflowContext:{workflow:e,actionId:g.id,executionContext:s}}),ge.error)throw ge.error.message?{name:"Error",...ge.error}:new Error("Error while fetching the collection");break}case"fetch-collections":{if(!g.collectionsId.length)throw new Error("No collection selected.");const ge=wwLib.$store.getters["data/getCollections"];await Promise.all(g.collectionsId.filter(Me=>!!Me).map(async Me=>{const Pe=ge[Me];if(!Pe)throw new Error("Collection not found.");if(await wwLib.wwCollection.fetchCollection(Me,{},{workflowContext:{workflow:e,actionId:g.id,executionContext:s}}),Pe.error)throw Pe.error.message?{name:"Error",...Pe.error}:new Error(`Error while fetching the collection ${Pe.name}`)}));break}case"update-collection":{if(!g.collectionId)throw new Error("No collection selected.");if(!wwLib.$store.getters["data/getCollections"][g.collectionId])throw new Error("Collection not found.");await wwLib.wwCollection.updateCollection(g.collectionId,Ne(g.data,r,{event:o}),{updateType:g.updateType,updateIndex:Ne(g.updateIndex,r,{event:o}),updateBy:g.updateBy,idKey:Ne(g.idKey,r,{event:o}),idValue:Ne(g.idValue,r,{event:o}),merge:Ne(g.merge,r,{event:o}),refreshFilter:Ne(g.refreshFilter,r,{event:o}),refreshSort:Ne(g.refreshSort,r,{event:o})});break}case"change-page":{if(g.navigateMode==="external"){const mt=Ne(g.externalUrl,r,{event:o});g.openInNewTab?wwLib.getFrontWindow().open(mt,"_blank"):wwLib.getFrontWindow().open(mt,"_self"),h("info","Navigate to",{preview:mt||"Undefined"});break}let ge,Me={};if(g.mode==="path"){let mt=Ne(g.path,r,{event:o});mt!=="/"&&mt.endsWith("/")&&(mt=mt.replace(/\/$/,"")),ge=mt}else{if(!g.pageId)throw new Error("No page selected.");const mt=Ne(g.pageId,r,{event:o}),Ot=typeof mt=="object"?mt.id:mt;if(!wwLib.$store.getters["websiteData/getPageById"](Ot))throw new Error("Page not found.");ge=wwLib.wwPageHelper.getPagePath(Ot);const io=Object.keys(g.parameters||{}).reduce((jr,wo)=>({...jr,[wo]:Ne(g.parameters[wo],r,{event:o})}),{}),So=wwLib.$store.getters["data/getPageParameterVariablesFromId"](Ot);for(const jr of So)ge=ge.replace(`{{${jr.id}|${jr.defaultValue||""}}}`,io[jr.id])}const Pe=Ne(g.queries,r,{event:o});Pe&&(Array.isArray(Pe)&&Pe.length?Me=Pe.reduce((mt,Ot)=>(mt[Ot.name]=Ot.value,mt),Me):typeof Pe=="object"&&(Me={...Me,...Pe})),g.loadProgress&&g.loadProgressColor&&wwLib.$store.dispatch("front/showPageLoadProgress",{color:g.loadProgressColor});const Ee=Ne(g.section,r,{event:o}),Ze=wwLib.wwUtils.sanitize(wwLib.$store.getters["websiteData/getSectionTitle"](Ee)||Ee);wwLib.wwApp.goTo(ge,Me,{openInNewTab:g.openInNewTab,hash:Ze?`#${Ze}`:null});break}case"previous-page":{let ge;if(ge=!wwLib.getFrontRouter().options.history.state.back,ge){let Me;if(!g.pageId)throw new Error("No page selected.");const Pe=Ne(g.pageId,r,{event:o}),Ee=typeof Pe=="object"?Pe.id:Pe;if(!wwLib.$store.getters["websiteData/getPageById"](Ee))throw new Error("Page not found.");Me=wwLib.wwPageHelper.getPagePath(Ee),wwLib.wwApp.goTo(Me);break}wwLib.getFrontRouter().go(-1);break}case"page-loader":{g.show?(wwLib.$store.dispatch("front/showPageLoadProgress",{color:g.color||"blue"}),h("info","Setting page loader progress bar",{preview:g.color||"blue"})):(wwLib.$store.dispatch("front/showPageLoadProgress",!1),h("info","Disable page loader progress bar"));break}case"upload-file":{const ge=Or(wwLib.$pinia);if(!g.varId)throw new Error("No file variable selected.");const Me=typeof g.varId=="string",Pe=Me&&((X=(re=r==null?void 0:r.component)==null?void 0:re.componentVariablesConfiguration)==null?void 0:X[g.varId]),Ee=Me?Pe?(ve=(oe=r==null?void 0:r.component)==null?void 0:oe.componentVariablesConfiguration)==null?void 0:ve[g.varId]:ge.components[g.varId]:null,Ze=Me?Pe?(De=r==null?void 0:r.component)==null?void 0:De.variables[g.varId]:ge.values[g.varId]:Ne(g.varId,r,{event:o});if(Me){if(!Ee)throw new Error("File variable not found.");if(!Ze)throw new Error("No file selected. Please create a true / false split to manage the case when there is no file.")}else{if(!Ze)throw new Error("File not found.");if(typeof Ze!="object")throw new Error("Not a file object.")}const mt=Me?Pe?(Ie=(Oe=r==null?void 0:r.component)==null?void 0:Oe.componentVariablesConfiguration)==null?void 0:Ie[`${Ee.componentUid}-progress`]:ge.components[`${Ee.componentUid}-progress`]:null,Ot=Me?Pe?(je=(ot=r==null?void 0:r.component)==null?void 0:ot.componentVariablesConfiguration)==null?void 0:je[`${Ee.componentUid}-status`]:ge.components[`${Ee.componentUid}-status`]:null,ao=Me?wwLib.$store.getters["websiteData/getWwObjects"][Ee.componentUid]||{}:null,io=Me?((Ye=(Ke=ao==null?void 0:ao.content)==null?void 0:Ke.default)==null?void 0:Ye.multiple)||Ot:Array.isArray(Ze),So=Jt=>{var dr,Kr;mt&&(Pe?(Kr=(dr=r==null?void 0:r.component)==null?void 0:dr.methods)==null||Kr.updateVariable(`${Ee.componentUid}-progress`,Jt):ge.setValue(mt.id,Jt))},jr=()=>{var Kr,Mo,To;if(!Ot)return;const dr={...Pe?((Kr=r==null?void 0:r.component)==null?void 0:Kr.variables[`${Ee.componentUid}-status`])||{}:ge.values[Ot.id]||{}};for(const Ao of tn)Ao&&Ao.name&&(dr[Ao.name]={uploadProgress:100,isUploading:!1,isUploaded:!0});Pe?(To=(Mo=r==null?void 0:r.component)==null?void 0:Mo.methods)==null||To.updateVariable(`${Ee.componentUid}-status`,dr):ge.setValue(Ot.id,dr)};let wo=0;m=[];const Va=wwLib.$store.getters["websiteData/getDesignInfo"].id,tn=io?Ze:[Ze];for(const Jt of tn){if(!Jt||!Jt.name)continue;const{data:dr}=await axios.post(`${wwLib.wwApiRequests._getApiUrl()}/designs/${Va}/user-files`,{name:Jt.name.replace(/[#!@$%^&*()+=\[\]{};':"\\|,<>\? \/]/g,"_"),type:Jt.type||Jt.mimeType,size:Jt.size,tag:`${Ne(g.fileTag,r,{event:o,recursive:!1})||""}`}),Kr=Mo=>{var Lo,rn,Ha;const To=Mo.loaded/Mo.total*100,Ao=wo+To/tn.length;if(So(Ao),Ot){const Ya=Jt.name,Ps={...Pe?((Lo=r==null?void 0:r.component)==null?void 0:Lo.variables[`${Ee.componentUid}-status`])||{}:ge.values[Ot.id]||{},[Ya]:{uploadProgress:To,isUploading:To<100,isUploaded:To>=100}};Pe?(Ha=(rn=r==null?void 0:r.component)==null?void 0:rn.methods)==null||Ha.updateVariable(`${Ee.componentUid}-status`,Ps):ge.setValue(Ot.id,Ps)}};await axios.put(dr.signedRequest,Jt,{headers:{Accept:"*/*","Content-Type":Jt.type||Jt.mimeType},skipAuthorization:!0,onUploadProgress:Kr}),m.push({url:dr.url,name:dr.name,ext:dr.ext,tag:dr.tag,size:dr.size}),wo+=100/tn.length}io||(m=m[0]),So(100),jr(),h("info","File upload completed",{preview:m});break}case"execute-inner-workflow":{const ge=((ne=g.type.split(":"))==null?void 0:ne[1])??g.workflowId;if(!ge)throw new Error("No workflow selected.");const Me=($e=(pe=(ce=wwLib.$store.getters["libraries/getComponents"][(_e=r==null?void 0:r.component)==null?void 0:_e.baseUid])==null?void 0:ce.inner)==null?void 0:pe.workflows)==null?void 0:$e[ge],Pe={libraryComponentIdentifier:s==null?void 0:s.libraryComponentIdentifier};if(!Me)throw new Error("Workflow not found.");h("info",`Starting an other workflow (${Me.name})`);const Ee={};Object.keys(g.parameters||{}).forEach(mt=>{Ee[mt]=Ne(g.parameters[mt],r,{event:o})});const Ze=await Mn(Me,{context:{...r,parameters:Ee,workflow:((k=(O=r==null?void 0:r.component)==null?void 0:O.workflowsResults)==null?void 0:k[ge])||{}},event:o,callstack:a,internal:!0,executionContext:Pe});if(m=Ze.result,Ze.error)throw Ze.error;break}case"execute-workflow":{const ge=((Y=g.type.split(":"))==null?void 0:Y[1])??g.workflowId;if(!ge)throw new Error("No workflow selected.");let Me,Pe;if(g.internal?(Me=(Te=(le=(me=wwLib.$store.getters["libraries/getComponents"][(ie=r==null?void 0:r.component)==null?void 0:ie.baseUid])==null?void 0:me.inner)==null?void 0:le.workflows)==null?void 0:Te[ge],Pe={libraryComponentIdentifier:s==null?void 0:s.libraryComponentIdentifier}):Me=wwLib.$store.getters["data/getGlobalWorkflows"][ge],!Me)throw new Error("Workflow not found.");h("info",`Starting an other workflow (${Me.name})`);const Ee={};Object.keys(g.parameters||{}).forEach(mt=>{Ee[mt]=Ne(g.parameters[mt],r,{event:o})});const Ze=await Mn(Me,{context:{...r,parameters:Ee,workflow:g.internal?((we=(Ae=r==null?void 0:r.component)==null?void 0:Ae.workflowsResults)==null?void 0:we[ge])||{}:wwLib.$store.getters["data/getWorkflowResults"](ge)},event:o,callstack:a,internal:g.internal,executionContext:Pe});if(m=Ze.result,Ze.error)throw Ze.error;break}case"trigger-event":{if(!g.triggerId)throw new Error("No trigger selected.");const ge=(Ge=(Le=(Fe=wwLib.$store.getters["libraries/getComponents"][(be=r==null?void 0:r.component)==null?void 0:be.baseUid])==null?void 0:Fe.configuration)==null?void 0:Le.triggers)==null?void 0:Ge[g.triggerId],Me=Ne(g.event,r,{event:o,recursive:!1});h("info",`Emiting an event (${ge==null?void 0:ge.label})`),(at=(Re=r==null?void 0:r.component)==null?void 0:Re.methods)==null||at.triggerEvent(g.triggerId,Me);break}case"component-action":{if(!g.actionName)throw new Error("No actions selected.");const ge=Ne(g.args,r,{event:o,recursive:!0});h("info",`${g.actionName} triggered on ${Ng(g.type,g.uid)}`),m=cG({...g,repeatIndex:((ft=r==null?void 0:r.item)==null?void 0:ft.repeatIndex)||null},{context:r},ge);break}case"execute-dropzone-workflow":{if(!g.workflowId)throw new Error("No workflow selected.");const ge=Ne(g.parameters,r,{event:o}),Me=await((Et=(et=r==null?void 0:r.dropzone)==null?void 0:et.methods)==null?void 0:Et.executeWorkflow(g.workflowId,ge));if(m=Me.result,Me.error)throw Me.error;break}case"return":{m=Ne(g.value,r,{event:o}),h("info","Returning value",{preview:m});break}case"if":{m=!!Ne(g.value,r,{event:o}),h("info",`Branching for ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - ${m?"True":"False"}`);break}case"switch":{m=Ne(g.value,r,{event:o}),h("info",`Branching for ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - ${JSON.stringify(m)}`);break}case"filter":{m=!!Ne(g.value,r,{event:o}),f=!m,f&&h("info",`Filter ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - Stop`);break}case"wait":{if(g.value===void 0&&g.duration===void 0)throw new Error("No time delay defined.");const ge=Ne(g.value||g.duration,r,{event:o});h("info",`Waiting ${ge}ms ⏳`),await new Promise(Me=>setTimeout(Me,ge)),h("info","⌛ Stop waiting");break}case"user-location":{if(!("geolocation"in navigator))throw h("error","Geolocation is not available."),new Error("Geolocation is not available.");try{const ge=await new Promise((Me,Pe)=>{navigator.geolocation.getCurrentPosition(Me,Pe)});m={coords:{accuracy:ge.coords.accuracy,altitude:ge.coords.altitude,altitudeAccurary:ge.coords.altitudeAccurary,heading:ge.coords.heading,latitude:ge.coords.latitude,longitude:ge.coords.longitude,speed:ge.coords.speed},timestamp:ge.timestamp}}catch{throw h("error","Error while geolocation."),new Error("Error while geolocation.")}break}case"print-pdf":{wwLib.getFrontWindow().print();break}case"loop":{let ge=Ne(g.value,r,{event:o});if(Array.isArray(ge))ge.length?h("info",`${g.name?g.name+": ":""} Starting looping on ${ge.length} items`):h("info",`${g.name?g.name+": ":""} Skipping loop as items to parse is empty`);else throw new Error("Fail to start loop, as items to parse is not iterable");for(const[Me,Pe]of ge.entries()){d?We.set(r.component,`workflowsResults.${e.id}.${t}.loop`,{index:Me,item:Pe,items:ge}):wwLib.$store.dispatch("data/setWorkflowActionLoop",{workflowId:e.id,actionId:t,loop:{index:Me,item:Pe,items:ge}}),h("info",`Loop ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - Iteration ${Me+1}/${ge.length}`);const{error:Ee,result:Ze,breakLoop:mt}=await Ea(e,g.loop,{isError:i,context:r,event:o,callstack:a,executionContext:s,internal:d});if(Ee)throw Ee;if(m=Ze,mt)break}h("info",`Loop ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - End`);break}case"while-loop":{h("info",`${g.name?g.name+": ":""} Start while loop`);let ge=Ne(g.value,r,{event:o});for(;ge;){const{error:Me,result:Pe,breakLoop:Ee}=await Ea(e,g.loop,{isError:i,context:r,event:o,callstack:a,executionContext:s,internal:d});if(m=Pe,Me)throw Me;if(Ee)break;let Ze={...r,workflow:d?(x=($=r==null?void 0:r.component)==null?void 0:$.workflowsResults)==null?void 0:x[e.id]:wwLib.$store.getters["data/getWorkflowResults"](e.id)};ge=Ne(g.value,Ze,{event:o})}h("info",`While ${i?"Error ":""}Action ${g.name?`| ${g.name}`:""} - End`);break}case"continue-loop":{m=f=Ne(g.value,r,{event:o});break}case"break-loop":{m=b=Ne(g.value,r,{event:o});break}case"change-lang":{if(!g.lang)throw new Error("No language selected.");const ge=Ne(g.lang,r,{event:o});if(h("info",`Changing language to "${ge}"`),!wwLib.wwLang.setLang(ge))throw new Error(`Page does not contain the lang "${ge}"`);break}case"log":{if(!g.message)throw new Error("No message defined.");const ge=Ne(g.message,r,{event:o});if(typeof ge!="string")throw new Error("Message must be a string.");const Me=Ne(g.preview,r,{event:o});h(g.level||"info",ge,{preview:Me});break}case"copy-clipboard":{m=Ne(g.value,r,{event:o}),h("info","Copying value to clipboard",{preview:m}),await navigator.clipboard.writeText(`${m}`);break}case"stop-click":{(S=o==null?void 0:o.stopPropagation)==null||S.call(o),(B=o==null?void 0:o.preventDefault)==null||B.call(o);break}case"file-create-url":{const ge=Ne(g.fileString,r,{event:o}),Me=atob(ge.startsWith("data:")?ge.split("base64,")[1]:ge),Pe=new ArrayBuffer(Me.length),Ee=new Uint8Array(Pe);for(let Ot=0;Ot{const Ee=new FileReader;Ee.onload=()=>Pe(g.output==="base64"?Ee.result.split(",")[1]:Ee.result),Ee.readAsDataURL(Me)}),!m)throw new Error("Cannot encode the file. Your file may be too big to be encoded to base64 in a browser (Chrome-like=512mb;Firefox=32mb).");h("info","Generate Base64 encoded file",{preview:Bv(m,20)});break}case"file-download-url":{const ge=await fetch(Ne(g.fileUrl,r,{event:o}));if(!ge.ok){const Ze=await ge.text();throw new Error("File could not be fetch",{cause:Ze})}const Me=await ge.blob(),Pe=URL.createObjectURL(Me);let Ee=Ne(g.fileName,r,{event:o})||"";if(Ee=Ee.replace(/[^\w\s.-]/gi,""),Pe.startsWith("blob:")){const Ze=wwLib.getFrontDocument().createElement("a");Ze.href=Pe,Ze.download=Ee,Ze.click()}else throw new Error("Invalid blob URL");URL.revokeObjectURL(Pe),h("info","Download file from URL");break}case"change-theme":{const ge=Ne(g.theme,r,{event:o})||"light";wwLib.$store.dispatch("front/setTheme",ge),h("info",`Changed to ${ge} theme`);break}case"open-popup":{const ge=JSON.parse(JSON.stringify(g)),Me=Da(wwLib.$pinia),Pe=(j=wwLib.$store.getters["libraries/getComponents"])==null?void 0:j[ge.libraryComponentBaseId],Ee=((Xe=Pe==null?void 0:Pe.configuration)==null?void 0:Xe.properties)||{};for(const Ze in((ze=ge.content)==null?void 0:ze.default)||{})if(!Object.keys(Ee).includes(Ze)){const mt=Object.values(Ee).find(Ot=>Ot.label===Ze);mt&&(ge.content.default[mt.id]=ge.content.default[Ze])}m=await Me.open(ge.libraryComponentBaseId,Ne(ge.content,r,{event:o}),{waitClosing:ge.waitClosing});break}case"close-popup":{await((qe=r.local)==null?void 0:qe.methods.popup.close.method(Ne(g.data,r,{event:o})));break}case"close-all-popup":{Da(wwLib.$pinia).closeAll(g.libraryComponentBaseId);break}default:{if(g.type.startsWith("_wwLocalMethod_")){const ge=g.type.match(/_wwLocalMethod_(.+)\.(.+)/);if(ge){const[,Me,Pe]=ge,Ee=(sr=(no=(Br=(ke=r.local)==null?void 0:ke.methods)==null?void 0:Br[Me])==null?void 0:no[Pe])==null?void 0:sr.method;if(typeof Ee=="function"){const Ze=(g.args||[]).map(mt=>Ne(mt,r,{event:o}));m=Ee(...Ze),h("info",`Executing local method: ${Me}.${Pe}`)}else h("error",`Local method not found or not a function: ${Me}.${Pe}`)}else h("error","Invalid local method format")}else{const Me=wwLib.$store.getters["data/getPluginActions"][g.type];if(!Me)break;const Pe=Me.pluginId&&wwLib.$store.getters["websiteData/getPluginById"](Me.pluginId);if(!Pe)break;const Ee=Ne(g.args||[],r,{event:o});h("info",`Action ${Me.name}`);try{const Ze=wwLib.wwPlugins[Pe.namespace][Me.code](Ee,y);m=Me.isAsync?await Ze:Ze}catch(Ze){throw wwLib.wwLog.error(Ze),Ze}}break}}if(!c&&(d?(We.set(r.component,`workflowsResults.${e.id}.${t}.result`,m),We.set(r.component,`workflowsResults.${e.id}.${t}.error`,null)):wwLib.$store.dispatch("data/setWorkflowActionResult",{workflowId:e.id,actionId:t,result:m,error:null}),!fG.includes(g.type)))switch(g.type){case"file-encode-base64":h("info","Succeeded 🎉",{preview:Bv(m,20)});break;default:h("info","Succeeded 🎉",{preview:m})}}catch(ge){const Me=lb(ge);throw c||(d?(We.set(r.component,`workflowsResults.${e.id}.${t}.error`,Me),We.set(r.component,`workflowsResults.${e.id}.${t}.result`,m)):wwLib.$store.dispatch("data/setWorkflowActionResult",{workflowId:e.id,actionId:t,error:Me,result:m}),ge&&wwLib.logStore.error("An error happened during the execution of the workflow",{type:"action",error:ge,workflowContext:{workflow:e,executionContext:s}})),ge}return{result:m,stop:f,breakLoop:b}}async function cr(e,t={},r={}){const o={id:"wf_id",firstActionId:"action_id",trigger:null,actions:{action_id:{id:"action_id",type:e,next:null,...t}}},{result:a}=await BA(o,"action_id",{context:r,fromFunction:!0});return a}const pG={resetVariablesValues:async e=>await cr("reset-variables",{varIds:e}),fetchCollection:async e=>await cr("fetch-collection",{collectionId:e}),fetchCollectionsInParallel:async e=>await cr("fetch-collections",{collectionsId:e}),goToPage:async(e,{mode:t,pageId:r,path:o,externalUrl:a,section:i,openInNewTab:n,queries:s,loadProgress:d,loadProgressColor:c})=>await cr("change-page",{navigateMode:e,mode:t,pageId:r,path:o,externalUrl:a,section:i,openInNewTab:n,queries:s,loadProgress:d,loadProgressColor:c}),goToPreviousPage:async e=>await cr("previous-page",{pageId:e}),setPageLoader:async(e,t)=>await cr("page-loader",{show:e,color:t}),setTheme:async e=>await cr("change-theme",{theme:e}),setLang:async e=>await cr("change-lang",{lang:e}),printPdf:async()=>await cr("print-pdf"),createUrlFromBase64:async e=>await cr("file-create-url",{fileString:e}),encodeFileBase64:async(e,t)=>await cr("file-encode-base64",{file:e,output:t}),downloadFileFromUrl:async(e,t)=>await cr("file-download-url",{fileUrl:e,fileName:t}),uploadFileToWeWeb:async(e,t)=>await cr("upload-file",{varId:e,fileTag:t}),openPopup:async(e,t)=>{var o;const r=(o=wwLib.$store.getters["websiteData/getWwObjects"])==null?void 0:o[e];return r!=null&&r.parentLibraryComponentId&&(e=r.parentLibraryComponentId),await cr("open-popup",{libraryComponentBaseId:e,content:{default:t}})},closePopup:async(e,t)=>await e.local.methods.popup.close.method(t),executeGlobalFunction:new Proxy({},{get(e,t){return async(...r)=>{var i;const o=wwLib.$store.getters["data/getGlobalWorkflows"][t];if(!o)throw wwLib.logStore.error(`Global workflow "${t}" not found.`),new Error(`Global workflow "${t}" not found.`);o.parameters;const a={};for(const n in r)(i=o.parameters[n])!=null&&i.name&&(a[o.parameters[n].name]=r[n]);return await cr("execute-workflow",{workflowId:t,parameters:a})}}}),executePopupFunction:e=>new Proxy({},{get(t,r){return async(...o)=>{var s,d,c;const a=(s=Object.values(wwLib.$store.getters["libraries/getComponents"]))==null?void 0:s.find(m=>m.id==e.component.baseUid&&m.type=="modal");if(!a)throw new Error(`Library component "${e.component.baseUid}" not found.`);const i=(d=a.inner.workflows)==null?void 0:d[r];if(!i)throw wwLib.logStore.error(`Popup workflow "${r}" not found.`),new Error(`Popup workflow "${r}" not found.`);const n={};for(const m in o)(c=i.parameters[m])!=null&&c.name&&(n[i.parameters[m].name]=o[m]);return await cr("execute-workflow",{workflowId:r,parameters:n,internal:!0},e)}}}),executeElementAction:async(e,t,r)=>await cr("component-action",{uid:e,actionName:t,args:r}),executePluginFunction:async(e,t,r)=>await cr(`${e}-${t}`,{args:r})};function lb(e){const t=["name",...Object.getOwnPropertyNames(e)];let r={};for(const o of t)r[o]=e[o];return r}function Bv(e,t){return e.length>t?e.substring(0,t)+"...":e}const bG=(async function(){}).constructor,hG={UNEXPECTED_END_OF_FORMULA:"Unexpected token ';'"},th=ye(()=>{const e=wwLib.$store.getters["data/getCollections"];return Object.keys(e).reduce((t,r)=>{const o=e[r];return t[o.name]=o,t[r]=o,t},{})}),rh=ye(()=>Object.values(wwLib.$store.getters["data/getFormulas"]).reduce((e,t)=>(e[t.name]=e[t.id]=(...r)=>{const o=(t.parameters||[]).map(n=>n.name||""),a=["getValue","__wwItem","args",...o],i=[Ne,t,r,...r];return new Function(...a,`return getValue( {...__wwItem, __wwtype: __wwItem.type}, {}, { recursive: false, args: {names: '${o.join(", ")}', value: args } } );`)(...i)},e),{})),oh=ye(()=>Object.values(wwLib.$store.getters["data/getPluginFormulas"]).reduce((e,t)=>{e[t.pluginId]||(e[t.pluginId]={});const r=wwLib.wwPlugins[t.pluginId];return e[t.pluginId][t.name]=(...o)=>r[t.name].call(r,...o),e},{}));function sb({code:e,filter:t,sort:r,__wwmap:o},a,i,n){try{const s=new Function("plugins","collections","formulas","pluginFormulas","wwFormulas","variables","pluginVariables","globalContext","context","event",...((n==null?void 0:n.names)||"").split(", "),e)(wwLib.wwPlugins,th.value,rh.value,oh.value,eh,wwLib.globalVariables.customCodeVariables,wwLib.wwPlugins,wwLib.globalContext,a,i,...(n==null?void 0:n.value)||[]);return DA(s,t,r,o,a,i,n)}catch(s){return{error:s}}}async function xG(e,t,r,o){try{return await new bG("plugins","collections","formulas","pluginFormulas","wwFormulas","variables","pluginVariables","globalContext","utilsFunctions","context","event","wwUtils",e)(wwLib.wwPlugins,th.value,rh.value,oh.value,eh,wwLib.globalVariables.customCodeVariables,wwLib.wwPlugins,wwLib.globalContext,pG,t,r,o)}catch(a){throw wwLib.wwLog.error(a),delete a.stack,a}}function db({code:e,filter:t,sort:r,__wwmap:o},a,i,n){try{const s=new Function("plugins","collections","formulas","pluginFormulas","wwFormulas","variables","pluginVariables","globalContext","context","event",...((n==null?void 0:n.names)||"").split(", "),`return ${e} ;`)(wwLib.wwPlugins,th.value,rh.value,oh.value,eh,wwLib.globalVariables.customCodeVariables,wwLib.wwPlugins,wwLib.globalContext,a,i,...(n==null?void 0:n.value)||[]);return DA(s,t,r,o,a,i,n)}catch(s){if(s.message){let d=s.message;switch(s.message){case hG.UNEXPECTED_END_OF_FORMULA:d="Unexpected end of formula"}return{error:d}}else return{error:s}}}function DA(e,t,r,o,a,i,n){let s=e;if(Array.isArray(s)){let d=s;return t&&(d=lg(d,t,a,i,n)),r&&(d=ig([...d],r,a,i,n)),o&&(d=Dv(d,o,a,i,n)),{value:d,rawValue:e}}else if(We.isObject(s)&&Array.isArray(s.data)&&s.type==="collection"){let d=s.data;return t&&(d=lg(d,t,a,i,n)),r&&(d=ig([...d],r,a,i,n)),o&&(d=Dv(d,o,a,i,n)),{value:{...s,data:d,total:d.length},rawValue:e}}return{value:s,rawValue:e}}function _G({code:e,filter:t,sort:r,__wwmap:o},a,i,n){const{value:s}=sb({code:e,filter:t,sort:r,__wwmap:o},a,i,n);return s}function vG({code:e,filter:t,sort:r,__wwmap:o},a,i,n){const{value:s}=db({code:e,filter:t,sort:r,__wwmap:o},a,i,n);return s}function ig(e,t,r,o,a){if(!Array.isArray(e))return e;const i=Ne(t,r,{event:o,args:a});return e.sort((n,s)=>{for(const d of i){let c=0;const m=n==null?void 0:n[d.key],f=s==null?void 0:s[d.key];switch(m==null?f===null?"undefined":typeof f:typeof m){case"boolean":c=m==f?0:m?1:-1;break;case"string":c=(m||"").localeCompare(f||"");break;case"number":c=(m||0)>(f||0)?1:(m||0)<(f||0)?-1:0;break;case"object":c=JSON.stringify(m||{}).localeCompare(JSON.stringify(f||{}));break;case"undefined":m===f?c=0:m===void 0?c=-1:c=1;break}if(d.direction==="DESC"&&c&&(c*=-1),c)return c}return 0}),e}function kA(e,t){var a,i;if(!We.isObject(t))return!0;if(t.if===!1||!t.conditions||!t.conditions.length)return null;if(!e)return!1;const r=t.conditions.filter(n=>!(n.isEmptyIgnored&&wwLib.wwUtils.isEmpty(n.value)));let o=null;for(const n of r){let s=null;if(n.link)s=kA(e,n);else switch(n.operator){case"$eq":s=e[n.field]===n.value;break;case"$ne":s=e[n.field]!==n.value;break;case"$lt":s=e[n.field]n.value;break;case"$lte":s=e[n.field]<=n.value;break;case"$gte":s=e[n.field]>=n.value;break;case"$iLike:contains":typeof e[n.field]!="string"&&typeof n.value=="string"?s=JSON.stringify(e[n.field]||"").toLowerCase().includes(n.value.toLowerCase()):typeof n.value=="string"?s=e[n.field].toLowerCase().includes(n.value.toLowerCase()):s=!1;break;case"$notILike:contains":typeof e[n.field]!="string"&&typeof n.value=="string"?s=!JSON.stringify(e[n.field]||"").toLowerCase().includes(n.value.toLowerCase()):typeof n.value=="string"?s=!e[n.field].toLowerCase().includes(n.value.toLowerCase()):s=!1;break;case"$iLike:startsWith":s=typeof e[n.field]=="string"&&typeof n.value=="string"?e[n.field].toLowerCase().startsWith(n.value.toLowerCase()):!1;break;case"$iLike:endsWith":s=typeof e[n.field]=="string"&&typeof n.value=="string"?e[n.field].toLowerCase().endsWith(n.value.toLowerCase()):!1;break;case"$eq:null":s=e[n.field]==null||e[n.field]===""||We.isObject(e[n.field])&&!Object.keys(e[n.field]).length||Array.isArray(e[n.field])&&!e[n.field].length;break;case"$ne:null":s=e[n.field]!=null&&e[n.field]!==""&&(!We.isObject(e[n.field])||!!Object.keys(e[n.field]).length)&&(!Array.isArray(e[n.field])||!!e[n.field].length);break;case"$in":s=Array.isArray(n.value)&&n.value.includes(e[n.field]);break;case"$notIn":s=Array.isArray(n.value)&&!n.value.includes(e[n.field]);break;case"$overlap":s=Array.isArray(n.value)&&Array.isArray(e[n.field])&&n.value.some(d=>e[n.field].includes(d));break;case"$notOverlap":s=Array.isArray(n.value)&&Array.isArray(e[n.field])&&!n.value.some(d=>e[n.field].includes(d));break;case"$contains":s=Array.isArray(n.value)&&Array.isArray(e[n.field])&&n.value.every(d=>e[n.field].includes(d));break;case"$has":s=((a=e[n.field])==null?void 0:a[n.value])!=null;break;case"$hasNot":s=((i=e[n.field])==null?void 0:i[n.value])==null;break;case"$match":s=Md(n.value)&&Md(n.value).test(e[n.field]);break;case"$notMatch":s=Md(n.value)&&!Md(n.value).test(e[n.field]);break}s!==null&&(o===null?o=s:o=t.link==="$or"?o||s:o&&s)}return o}function Md(e){if(!e)return;const t=e.match(/\/(.+)\/.*/)&&e.match(/\/(.+)\/.*/)[1]?e.match(/\/(.+)\/.*/)[1]:"",r=e.match(/\/.+\/(.*)/)&&e.match(/\/.+\/(.*)/)[1]?e.match(/\/.+\/(.*)/)[1]:"";return new RegExp(t,r)}function lg(e,t,r,o,a){if(!Array.isArray(e))return e;const i=Ne(t,r,{event:o,args:a});return e.filter(n=>{const s=kA(n,i);return s===null||s})}function Dv(e,t,r,o,a){return Array.isArray(e)?e.map((i,n)=>{const s={};return Object.keys(t).forEach(d=>{s[d]=Ne(t[d],{...r,mapping:{value:i,index:n}},{event:o,args:a})}),s}):e}function Ne(e,t,{event:r,recursive:o=!0,defaultUndefined:a,args:i}={}){if(e===void 0)return _.cloneDeep(a);if(!e)return e;if(e.__wwtype==="d")return e.data.map(n=>Ne(n,t,{event:r,args:i}));if(e.__wwtype==="f")return vG({code:e.code,filter:e.filter,sort:e.sort,__wwmap:e.__wwmap},t||{},r,i);if(e.__wwtype==="js")return _G({code:e.code,filter:e.filter,sort:e.sort,__wwmap:e.__wwmap},t||{},r,i);if(Array.isArray(e)&&o)return e.map(n=>Ne(n,t,{event:r,args:i}));if(typeof e=="object"&&o){const n={};return Object.keys(e).forEach(s=>{n[s]=Ne(e[s],t,{event:r,args:i})}),n}else return e}const yG=ye(()=>wG()),SG=ye(()=>{const e=wwLib.$store.getters["front/getScreenSize"],t=wwLib.$store.getters["front/getScreenSizes"][e].order,r=wwLib.$store.getters["front/getScreenSizes"];return yG.value.filter(o=>r[o].order<=t)});function ub({dataRef:e,data:t,prefix:r,suffix:o,propertyConfiguration:a,statesRef:i,states:n,libraryComponentData:s,libraryComponentDataRef:d,breakpoint:c,noClasses:m,layers:f}){var L,C,I,F,R,q,W,K,N,V,J,ee,Z,re,X,oe,ve,De,Oe,Ie,ot,je,Ke;a=a||{};const b=!m&&a.classes;t=(e?e.value:t)||{},s=(d?d.value:s)||{};let g,h=ui([r,o]),y=h;if(h.startsWith("_state.style")&&(h=h.replace("_state.style","style"),y=y.replace("_state.style","rawStyle")),h.startsWith("_state")&&(h=h.replace("_state","state"),y=y.replace("_state","rawState")),!a.noRootMerge){const Ye=We.get(s,y),ne=We.get(s,h);if(Ye!==void 0&&ne!==void 0)return ne}if(We.get((L=t==null?void 0:t._state)==null?void 0:L.libraryComponentInjected,h)){const Ye=t==null?void 0:t.parentLibraryComponentId;t=(F=(I=(C=f==null?void 0:f[Ye])==null?void 0:C.childrenData)==null?void 0:I.value)==null?void 0:F[t==null?void 0:t.uid]}const M=((q=(R=t==null?void 0:t._state)==null?void 0:R.classes)==null?void 0:q.default)||[];if(!a.states&&!a.responsive){const Ye=ui([r,r==="_state"?"":"default",o]);if(b)for(const _e of M){const ce=Td(_e,Ye);ce!==void 0&&(g=ce);for(const pe of((N=(K=(W=t==null?void 0:t._state)==null?void 0:W.subClasses)==null?void 0:K.default)==null?void 0:N[_e])||[]){const $e=El(_e,pe,Ye);$e!==void 0&&(g=$e)}}const ne=We.get(t,Ye);return ne!==void 0&&(g=ne),g}const A=c?[c]:SG.value;if(a.responsive&&!a.states){for(const Ye of A){const ne=ui([r,Ye,o]);if(b)for(const ce of M){const pe=Td(ce,ne);pe!==void 0&&(g=pe);for(const $e of((ee=(J=(V=t==null?void 0:t._state)==null?void 0:V.subClasses)==null?void 0:J.default)==null?void 0:ee[ce])||[]){const O=El(ce,$e,ne);O!==void 0&&(g=O)}}const _e=We.get(t,ne);_e!==void 0&&(g=_e)}return g}n=(i?i.value:n)||[];for(const Ye of A){const ne=ui([r,Ye,o]);if(b)for(const ce of M){const pe=Td(ce,ne);pe!==void 0&&(g=pe);const $e=((X=(re=(Z=t==null?void 0:t._state)==null?void 0:Z.subClasses)==null?void 0:re.default)==null?void 0:X[ce])||[];for(const O of $e){const k=El(ce,O,ne);k!==void 0&&(g=k)}for(const O of n){if(O==="default")continue;const k=((De=(ve=(oe=t==null?void 0:t._state)==null?void 0:oe.subClasses)==null?void 0:ve[O])==null?void 0:De[ce])||[];for(const Y of k){const ie=El(ce,Y,ne);ie!==void 0&&(g=ie)}}}const _e=We.get(t,ne);_e!==void 0&&(g=_e)}for(const Ye of n){if(Ye==="default")continue;const ne=((Ie=(Oe=t==null?void 0:t._state)==null?void 0:Oe.classes)==null?void 0:Ie[Ye])||[];for(const _e of A){const ce=ui([r,_e,o]);if(b)for(const $e of ne){const O=Td($e,ce);O!==void 0&&(g=O);const k=((Ke=(je=(ot=t==null?void 0:t._state)==null?void 0:ot.subClasses)==null?void 0:je[Ye])==null?void 0:Ke[$e])||[];for(const Y of k){const ie=El($e,Y,ce);ie!==void 0&&(g=ie)}}const pe=We.get(t,ui([r,`${Ye}_${_e}`,o]));pe!==void 0&&(g=pe)}}return g}function ui(e){return e.filter(t=>t&&t.length).join(".")}function Td(e,t){const r=wwLib.$store.getters["libraries/getClasses"][e];return We.get(r,t)}function El(e,t,r){const o=wwLib.$store.getters["libraries/getClasses"][e];return We.get(o,`subClasses.${t}.${r}`)}function wG(){const e=wwLib.$store.getters["front/getScreenSizes"];return Object.keys(e).sort((t,r)=>e[t].order-e[r].order)}function nh({type:e,uid:t,componentId:r,currentStates:o,context:a={},libraryComponentDataRef:i,wwProps:n={}}){let s={},d={};yt({content:{},_state:{style:{}}});let c={},m={},f={},b={};const g=Da(),h=Jb(e,t),y=ye(()=>e==="section"?wwLib.$store.getters["websiteData/getSections"][t]:t.startsWith("popup-")?g.instances[t]:wwLib.$store.getters["websiteData/getWwObjects"][t]),w=Ce("_wwLibraryComponentLayers",{});for(let M in h.properties){const A=h.properties[M];A.editorOnly||AG(M,A,{component:y,currentStates:o,libraryComponentDataRef:i,context:a,content:s,rawContent:d,layers:w})}for(let M in Rn)if(!(Rn[M].componentType&&Rn[M].componentType!==e)&&!Rn[M].editorOnly){const A=ye(()=>ub({dataRef:y,prefix:"_state.style",suffix:M,propertyConfiguration:Rn[M],statesRef:o,libraryComponentDataRef:i})),L=ye(()=>Ne(A.value,a,{defaultUndefined:Rn[M].fallbackToDefault?Rn[M].defaultValue:Rn[M].defaultUndefined}));c[M]=L,m[M]=A}for(const M in di)if(M==="interactions"){const A=ye(()=>{var L,C;return(C=(L=y.value)==null?void 0:L._state)==null?void 0:C.interactions});b.interactions=A,f.interactions=A}else if(!di[M].editorOnly){const A=ye(()=>ub({dataRef:y,prefix:"_state",suffix:M,propertyConfiguration:di[M],statesRef:o,libraryComponentDataRef:i})),L=ye(()=>Ne(A.value,a,{defaultUndefined:di[M].fallbackToDefault?di[M].defaultValue:di[M].defaultUndefined}));b[M]=L,f[M]=A}if(e==="libraryComponent"){const M=ye(()=>{var A,L,C;return((C=(L=(A=y.value)==null?void 0:A.content)==null?void 0:L.default)==null?void 0:C.childrenData)||{}});s.childrenData=M,d.childrenData=M}return s=yt(s),c=yt(c),d=yt(d),m=yt(m),f=yt(f),b=yt(b),e==="libraryComponent"||(nt("componentContent",s),nt("componentState",b),nt("componentStyle",c),nt("componentRawContent",d),nt("componentConfiguration",h),nt("componentData",y),nt("componentWwProps",n)),{content:s,style:c,state:b,rawContent:d,rawStyle:m,rawState:f,name:ye(()=>y.value&&y.value.name),configuration:h}}function MG(e){const t=Ce("componentContent"),r=Ce("componentRawContent");return{property:ye(()=>We.get(t,e.value)),rawProperty:ye(()=>We.get(r,e.value))}}const cb={section:"s",element:"e",libraryComponent:"c"};function ah({state:e,componentIdentifier:t,triggerLibraryComponentEvent:r,triggerParentEvent:o,parentInteractionsRef:a,isRenderingRef:i,rootElementRef:n,extraListeners:s={}},d={}){Ce("componentData",Pt({}));function c(g,h={}){(e.interactions||[]).filter(({trigger:w})=>w===g).forEach(w=>{Mn(w,{context:d,event:h,executionContext:{type:cb[t.type],uid:t.uid}})})}if(t.type==="libraryComponent")return{triggerEvent:c};const m=ye(()=>{const g=[...new Set([...e.interactions||[],...(a==null?void 0:a.value)||[]].map(({trigger:w})=>w))],h=g.filter((w,M)=>w&&g.indexOf(w)===M).filter(w=>["click","dblclick","contextmenu","mousedown","mouseup","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchend","touchcancel","scroll"].includes(w)),y={};for(const w of h)y[`on${w[0].toUpperCase()}${w.substr(1)}`]=M=>{w==="contextmenu"&&(M.ctrlKey&&M.altKey||M.metaKey&&M.altKey||M.preventDefault()),o&&o(w,M),c(w,M)};for(const[w,M]of Object.entries(s)){const A=y[w];y[w]=L=>{M(L),A==null||A(L)}}return y});function f(g){r&&r(g,{}),o&&o(g,{}),c(g,{})}Kt(i,(g,h)=>{g&&!h?rl(()=>f("_wwOnMounted")):!g&&h&&f("_wwOnBeforeUnmount")});const b=g=>{c("scroll",g)};return n&&Kt(n,()=>{var g;(g=n==null?void 0:n.value)!=null&&g.$el&&(n.value.$el.removeEventListener("scroll",b),n.value.$el.addEventListener("scroll",b))}),f("_wwOnCreated"),vs(()=>{i.value&&f("_wwOnMounted")}),ys(()=>{var g,h;i.value&&f("_wwOnBeforeUnmount"),(g=n==null?void 0:n.value)!=null&&g.$el&&((h=n==null?void 0:n.value)==null||h.$el.removeEventListener("scroll",b))}),{triggerEvent:c,listeners:m}}function TG({baseUid:e,componentIdentifier:t},r={}){var n,s;function o(d,c={},m){var b,g;Object.values(((g=(b=wwLib.$store.getters["libraries/getComponents"][e])==null?void 0:b.inner)==null?void 0:g.workflows)||{}).filter(({trigger:h,triggerProperty:y})=>h===d&&(!m||m===y)).forEach(h=>{Mn(h,{context:r,event:c,internal:!0,executionContext:{type:cb[t.type],uid:t.uid}})})}function a(d,c){var f,b,g;const m=(g=(b=(f=wwLib.$store.getters["libraries/getComponents"][e])==null?void 0:f.inner)==null?void 0:b.workflows)==null?void 0:g[d];if(!m){console.error(`Workflow with id ${d} not found`);return}return Mn(m,{context:{...r,parameters:c},internal:!0,executionContext:{type:cb[t.type],uid:t.uid}})}let i;i=[...new Set(Object.values(((s=(n=wwLib.$store.getters["libraries/getComponents"][e])==null?void 0:n.inner)==null?void 0:s.workflows)||{}).filter(({trigger:d})=>d==="_wwOnPropertyChange").map(({triggerProperty:d})=>d))];for(const d of i)Kt(()=>{var c,m;return(m=(c=r==null?void 0:r.component)==null?void 0:c.props)==null?void 0:m[d]},(c,m)=>{o("_wwOnPropertyChange",{newValue:c,oldValue:m},d)},{immediate:!0});return{triggerLibraryComponentEvent:o,executeLibraryComponentWorkflow:a}}function AG(e,t,{component:r,currentStates:o,libraryComponentDataRef:a,useEditorKeyframesRef:i,context:n,content:s,rawContent:d,boundProps:c,layers:m}){const f=ye(()=>ub({dataRef:r,prefix:"content",suffix:e,propertyConfiguration:t,statesRef:o,libraryComponentDataRef:a,layers:m})),b=ye(()=>Ne(f.value,n,{defaultUndefined:t.fallbackToDefault?t.defaultValue:t.defaultUndefined}));s[e]=b,d[e]=f}function ih({uid:e,type:t},{context:r={},propsState:o=[],isSelected:a=!1}){const i=ye(()=>wwLib.$store.getters["websiteData/getComponentRawStates"]({uid:e,type:t})),n=yt(new Set),s=ye(()=>i.value.filter(f=>Ne(f.condition,r)).map(({id:f})=>f)),d=Ce("activeStates",Pt([])),c=Pt([]);Kt(()=>i.value.filter(({id:f,label:b})=>n.has(f)||n.has(b)||(er(o)||[]).includes(b)||s.value.includes(f)||d.value.includes(f)).map(f=>f.id),f=>{JSON.stringify(f)!==JSON.stringify(c.value)&&(c.value=f)},{immediate:!0});const m=Pt([]);return Kt(()=>{const f=c.value.filter(g=>g.startsWith("_wwParent_")),b=i.value.filter(g=>c.value.includes(g.id)).map(g=>`_wwParent_${e}_${g.id}`);return[...f,...b,...d.value]},f=>{JSON.stringify(f)!==JSON.stringify(m.value)&&(m.value=f)},{immediate:!0}),nt("activeStates",m),{currentStates:c,addInternalState(f,b){n.add(f)},removeInternalState(f,b){n.delete(f)},toggleInternalState(f,b){n.has(f)?n.delete(f):n.add(f)}}}function LG(e,t){e&&(Kt(t,(r,o)=>{r!==o&&(r!=null&&r.length?$G(e,t.value):kv(e))},{immediate:!0}),Ga(()=>{kv(e)}))}function $G(e,t){let r=wwLib.getFrontDocument().getElementById(e);return r||(r=wwLib.getFrontDocument().createElement("style"),r.setAttribute("id",e),wwLib.getFrontDocument().head.append(r)),r.innerText=t,r}function kv(e){let t=wwLib.getFrontDocument().getElementById(e);t&&t.remove()}function PG({componentId:e,style:t,isEditing:r,isSelected:o}){const a=`ww-keyframes-${e}`,i=ye(()=>(t==null?void 0:t.animationKeyframes)&&`${t==null?void 0:t.animationKeyframes}`.replace(/^(@keyframes\s*)[^\s{]*(\s*{)/gi,`$1${a}$2`));return LG(a,i),{animationStyle:ye(()=>{if(!t.animationDuration)return{};let n=Gv(t.animationPlayState===void 0?!0:t.animationPlayState,"running","paused");return{animationName:a,animationPlayState:n,animationDuration:t.animationDuration,animationTimingFunction:t.animationTimingFunction||"ease",animationDelay:t.animationDelay||"0s",animationIterationCount:t.animationIterationCount||"infinite",animationFillMode:t.animationFillMode||"none",animationDirection:Gv(t.animationDirection,"alternate","normal")}})}}function Gv(e,t,r){return e===t||e===r?e:e?t:r}function GA(e,t){Kt(()=>e==null?void 0:e.id,(r,o)=>{r!==o&&(o&&delete wwLib.scrollStore.componentPositionInfo.value[o],r&&(e!=null&&e.watchScrollPosition)&&(wwLib.scrollStore.componentPositionInfo.value[r]={pageId:t}))}),Kt(()=>e==null?void 0:e.watchScrollPosition,(r,o)=>{r!==o&&(o&&(e!=null&&e.id)&&delete wwLib.scrollStore.componentPositionInfo.value[e.id],r&&(e!=null&&e.id)&&(wwLib.scrollStore.componentPositionInfo.value[e.id]={pageId:t}))},{immediate:!0}),vs(()=>{var r;e!=null&&e.id&&(e!=null&&e.watchScrollPosition)&&!((r=wwLib.scrollStore.componentPositionInfo.value)!=null&&r[e.id])&&(wwLib.scrollStore.componentPositionInfo.value[e.id]={pageId:t})}),Ga(()=>{var r,o;e!=null&&e.id&&((r=wwLib.scrollStore.componentPositionInfo.value)!=null&&r[e.id])&&((o=wwLib.scrollStore.componentPositionInfo.value)==null?void 0:o[e.id].pageId)===t&&delete wwLib.scrollStore.componentPositionInfo.value[e.id]})}function CG(){const e=Ce("_wwLocalContext",null),t=yt({key:null,data:null,methods:null,markdown:""}),r=ye(()=>{var o,a,i;return t.key?{data:{...((o=e==null?void 0:e.value)==null?void 0:o.data)||{},[t.key]:t.data},methods:{...((a=e==null?void 0:e.value)==null?void 0:a.methods)||{},[t.key]:t.methods},markdown:{...((i=e==null?void 0:e.value)==null?void 0:i.markdown)||{},[t.key]:t.markdown}}:e==null?void 0:e.value});return nt("_wwLocalContext",r),nt("_wwElementLocalContext",t),r}function EG(e,t,r,o){const a=Ce("_wwElementLocalContext");a.key=e,a.data=t,a.methods=r,a.markdown=o}let Nv=1;const OG={components:{},inject:{parentId:{from:"_wwElementUid",default:null},wwIsInStretchedSection:{from:"__wwIsInStretchedSection",default:!1}},inheritAttrs:!1,props:{uid:{type:String,required:!0},isWwObject:{type:Boolean,default:!0},wwProps:{type:Object,default:()=>({})},states:{type:Array,default:()=>[]},isLibraryComponentRoot:{type:Boolean,default:!1},libraryComponentData:{type:Object,default:null},libraryComponentTriggerEvent:{type:Function,default:null},libraryComponentTriggerLibraryComponentEvent:{type:Function,default:null}},emits:["element-event","update:child-selected","update:is-selected","add-state","remove-state"],setup(e,t){const r=Nv;Nv++;const o=ds(null),a=Ce("wwLayoutContext",{}),i=Ce("bindingContext",null),n=Ce("sectionId",null),s=Ce("__wwContainerType",null),d=Ce("wwLibraryComponentUid_",null);nt("wwLayoutContext",{}),nt("__wwContainerType",null),nt("__wwIsInStretchedSection",!1),nt("_wwElementUid",e.uid),nt("_wwElementComponentId",r);const c=Ce("_wwLibraryComponentContext",null),m=Ce("_wwDropzoneContext",null),f=CG(),b=yt({item:ye(()=>i||{}),layout:ye(()=>({id:a.layoutId})),component:c==null?void 0:c.component,get thisInstance(){var X;return(X=o.value)==null?void 0:X.$el},dropzone:m,local:f}),{currentStates:g,addInternalState:h,removeInternalState:y,toggleInternalState:w}=ih({uid:e.uid,type:"element"},{context:b,propsState:Jo(e,"states")});nt("wwAddInternalState",h),nt("wwRemoveInternalState",y),nt("wwToggleInternalState",w);const{content:M,style:A,state:L,rawContent:C,name:I,configuration:F}=nh({type:"element",uid:e.uid,componentId:r,currentStates:g,wwProps:Jo(e,"wwProps"),context:b,libraryComponentDataRef:ye(()=>e.libraryComponentData)}),R=yt({lang:ye(()=>wwLib.$store.getters["front/getLang"]),pageId:ye(()=>wwLib.$store.getters["websiteData/getPageId"]),sectionId:n,screenSize:ye(()=>wwLib.$store.getters["front/getScreenSize"]),screenSizes:ye(()=>wwLib.$store.getters["front/getScreenSizes"])});nt("wwFrontState",R);const q=ye(()=>L.link&&L.link.type!=="none"),W=yt({props:Jo(e,"wwProps"),uid:e.uid,name:I,states:g});nt("wwElementState",W);const K=ye(()=>A.conditionalRendering);Kt(K,X=>{X||y("_wwHover",!0)});function N(X){t.emit("element-event",X)}nt("triggerElementEvent",N),GA(L,wwLib.$store.getters["websiteData/getPageId"]);const{animationStyle:V}=PG({componentId:r,style:A});OA({uid:e.uid,componentId:r,type:"element",repeatIndex:i==null?void 0:i.index},{context:b,configuration:F,componentRef:o});const{listeners:J,triggerEvent:ee}=ah({state:L,componentIdentifier:{type:"element",uid:e.uid},triggerParentEvent:e.libraryComponentTriggerEvent,triggerLibraryComponentEvent:e.libraryComponentTriggerLibraryComponentEvent,parentInteractionsRef:ye(()=>{var X,oe;return(oe=(X=e.libraryComponentData)==null?void 0:X.state)==null?void 0:oe.interactions}),isRenderingRef:K,rootElementRef:o,extraListeners:{onMouseenter(){h("_wwHover",!0),t.emit("add-state",["_wwHover",!0])},onMouseleave(){y("_wwHover",!0),t.emit("remove-state",["_wwHover",!0])}}},b),Z=ye(()=>{let X={"data-ww-element":!e.noInteraction,"data-ww-uid":e.uid,"data-ww-component-id":r};return i!=null&&i.index&&(X["data-ww-repeat-index"]=i==null?void 0:i.index),d&&(X["data-ww-comp-uid"]=d),X}),re=Jb("element",e.uid);return{component:o,content:M,style:A,state:L,componentId:r,sectionId:n,configuration:re,bindingContext:i,rawContent:C,context:b,elementName:I,addInternalState:h,removeInternalState:y,toggleInternalState:w,listeners:J,triggerEvent:ee,wwFrontState:R,hasLink:q,wwElementState:W,containerType:s,isRendering:K,animationStyle:V,wwLibraryComponentUid_:d,wwTechnicalAttributes:Z}},computed:{vueComponentName(){return Qb("element",this.uid)},configurationOptions(){return this.configuration.options||{}},componentAttributes(){let e={...this.$attrs};for(const[t,r]of Object.entries(this.listeners)){const o=e[t];e[t]=a=>{r(a),o==null||o(a)}}if(this.state.attributes)try{for(const t of this.state.attributes.filter(r=>r.name))e[t.name.replace(/ /g,"")]=t.value}catch{wwLib.wwLog.warn(`Attributes is missbind for element ${Ng("element",this.uid)} (${this.uid})`)}return this.state.id&&(e.id=this.state.id),Object.assign(e,this.wwTechnicalAttributes),e},isFlexboxChild(){return this.containerType==="flex"||this.containerType==="inline-flex"},isGridChild(){return this.containerType==="grid"||this.containerType==="inline-grid"},elementStyle(){var i,n;const e=((n=(i=this.configuration)==null?void 0:i.options)==null?void 0:n.ignoredStyleProperties)||[],t={};if(e.includes("margin")||(t.margin=this.style.margin||"0"),e.includes("padding")||(t.padding=this.style.padding||"0"),e.includes("overflow")||(t.overflow=this.style.overflow),t.zIndex=this.style.zIndex||"unset",t.alignSelf=this.isFlexboxChild&&this.style.align?this.style.align:"unset",t.display=Fg(this.style.display,this.configuration,{content:this.content,wwProps:this.wwProps}),["absolute","fixed","sticky"].includes(this.style.position)){t.position=this.style.position;const s=this.style.top||this.style.bottom||this.style.left||this.style.right;t.top=this.style.top||(s?null:"0px"),t.bottom=this.style.bottom,t.left=this.style.left,t.right=this.style.right}t.width=Hr(this.style.width,this.configurationOptions.autoByContent?"auto":null),this.isFlexboxChild&&this.style.flex&&(t.flex=this.style.flex),t.maxWidth=Hr(this.style.maxWidth),t.minWidth=Hr(this.style.minWidth);let r=this.style.perspective||0;wwLib.wwUtils.getLengthUnit(r)[0]&&(t.perspective=r),t.height=this.style.height||"auto",e.includes("aspectRatio")||(t.aspectRatio=this.style.aspectRatio),t.maxHeight=Hr(this.style.maxHeight),t.minHeight=Hr(this.style.minHeight),e.includes("background")||(t.background=Zb(this.style));const a=["boxShadow","opacity","transition","transform"];e.includes("border")||a.push("border","borderTop","borderBottom","borderLeft","borderRight"),e.includes("outline")||a.push("outline","outlineOffset"),e.includes("borderRadius")||a.push("borderRadius"),a.forEach(s=>{this.style[s]!==void 0&&this.style[s]!==null&&(t[s]=this.style[s])}),this.style.cursor&&(t.cursor=this.style.cursor),Object.assign(t,this.animationStyle);for(const s in this.style.customCss||{})t[s]=this.style.customCss[s];return this.wwIsInStretchedSection&&!this.style.align&&(t.width=t.width||"100%",t.alignSelf="center"),{...t,...this.gridStyle,...this.$attrs["extra-style"]||{}}},gridStyle(){if(!this.isGridChild)return{};const{columnSpan:e,rowSpan:t,gridColumn:r,gridRow:o}=this.style,a={};return e&&(a.gridColumn=`span ${e}`),t&&(a.gridRow=`span ${t}`),r&&(a.gridColumn=r),o&&(a.gridRow=o),a}},methods:{onTriggerEvent({name:e,event:t}={}){this.triggerEvent(e,t)}}};function IG(e,t,r,o,a,i){return o.isRendering?(wt(),Xt(Ss(i.vueComponentName),oo({key:0,ref:"component",style:i.elementStyle,class:["ww-element",[o.state.class||"",`ww-element-${r.uid}`]]},i.componentAttributes,{content:o.content,uid:r.uid,"ww-front-state":o.wwFrontState,"ww-element-state":o.wwElementState,"ww-responsive":"ww-element",onTriggerEvent:i.onTriggerEvent,onElementEvent:t[0]||(t[0]=n=>e.$emit("element-event",n)),onAddState:o.addInternalState,onRemoveState:o.removeInternalState,onToggleState:o.toggleInternalState}),{default:en(()=>[Sn(e.$slots,"default")]),_:3},16,["style","class","content","uid","ww-front-state","ww-element-state","onTriggerEvent","onAddState","onRemoveState","onToggleState"])):ea("",!0)}const NA=tr(OG,[["render",IG]]);function FA(e,t,{path:r,arrayUpdateType:o}={}){switch(e.type){case"boolean":if(t==="true"&&(t=!0),t==="false"&&(t=!1),typeof t!="boolean")throw new Error("value must be a boolean");break;case"query":case"string":if(t!==null&&typeof t=="object")throw new Error("value must be a string, a number or a boolean");t!==null&&(t=`${t}`);break;case"number":if(typeof t=="string")try{t=parseFloat(t),isNaN(t)&&(t=null)}catch{t=null}if(t!==null&&typeof t!="number")throw new Error("value must be a number");break;case"array":if(t!==null&&!Array.isArray(t)&&!o)throw new Error("value must be an array");break;case"object":if(t!==null&&typeof t!="object"&&!r)throw new Error("value must be an object");break}return t}function BG(e,{context:t,props:r},o){const a=Ce("sectionId",null);Or();const i=ye(()=>{var h,y;return((y=(h=wwLib.$store.getters["libraries/getComponents"][e])==null?void 0:h.inner)==null?void 0:y.variables)||{}}),n=ye(()=>{var h,y;return((y=(h=wwLib.$store.getters["libraries/getComponents"][e])==null?void 0:h.inner)==null?void 0:y.formulas)||{}}),s=Ce("bindingContext",null),d=ye(()=>s!==null),c=yt({}),m=yt({}),f=yt({}),b={};Object.keys(i.value).forEach(h=>{c[h]=We.cloneDeep(i.value[h].defaultValue),i.value[h].isExternal&&!d.value&&(t!=null&&t.component?b[h]=wwLib.wwVariable.registerLibraryComponentVariable({uid:o.uid,componentType:"libraryComponent",name:i.value[h].name,id:`${o.uid}-${i.value[h].id}`,defaultValue:i.value[h].defaultValue,type:i.value[h].type,readonly:!0,resettable:!1,libraryContext:t,sectionId:a}):b[h]=wwLib.wwVariable.registerComponentVariable({uid:o.uid,componentType:"libraryComponent",name:i.value[h].name,id:`${o.uid}-${i.value[h].id}`,defaultValue:i.value[h].defaultValue,type:i.value[h].type,readonly:!0,resettable:!1,sectionId:a}))});function g(h){m[h]=(...y)=>{var L,C,I;const w=(((C=(L=n.value)==null?void 0:L[h])==null?void 0:C.parameters)||[]).map(F=>F.name||""),M=["getValue","context","baseUid","props","variables","formulas","args","__wwItem",...w],A=[Ne,t,e,r,c,m,y,(I=n.value)==null?void 0:I[h],...y];return new Function(...M,` return getValue( {...__wwItem, __wwtype: __wwItem.type}, {...context, component: { baseUid, props, variables, formulas }}, { recursive: false, args: {names: '${w.join(", ")}', value: args } } );`)(...A)}}return Object.keys(n.value).forEach(h=>{g(h)}),{variables:c,formulas:m,updateVariable(h,y,{path:w,index:M,arrayUpdateType:A,workflowContext:L={}}={}){L={...L||{},executionContext:{...(L==null?void 0:L.executionContext)||{},libraryComponentIdentifier:{...o,baseUid:e}}};const C=i.value[h]||f[h];try{if(!C)throw wwLib.logStore.error(`Try to set variable ${h} (not found)`,{type:L?"action":null,workflowContext:L}),new Error("variable not found");if(y===void 0&&!["delete","shift","pop"].includes(A))return;if(y=FA(C,y,{path:w,arrayUpdateType:A}),y&&typeof y=="object"&&["object","array"].includes(C.type)&&(y=_.cloneDeep(y)),C.type==="object"&&w)c[h]=c[h]||{},We.set(c[h],w,y),wwLib.logStore.verbose(`Variable _wwLocalVariable(${h}) update`,{preview:y,workflowContext:L,type:L?"action":null});else if(C.type==="array"&&A)switch(c[h]=c[h]||[],M=M||0,A){case"update":{let I=`[${M}]`;w&&(I=`${I}.${w}`),We.set(c[h],I,y),wwLib.logStore.verbose(`Updating partially array variable _wwLocalVariable(${h}) `,{preview:y,workflowContext:L,type:L?"action":null});break}case"delete":c[h].splice(M,1),wwLib.logStore.verbose(`Deleting item ${M} from array _wwLocalVariable(${h})`,{workflowContext:L,type:L?"action":null});break;case"insert":c[h].splice(M,0,y),wwLib.logStore.verbose(`Inserting value into array variable at index ${M} _wwLocalVariable(${h}) `,{preview:y,workflowContext:L,type:L?"action":null});break;case"unshift":c[h].unshift(y),wwLib.logStore.verbose(`Removing first element from array variable _wwLocalVariable(${h}) `,{workflowContext:L,type:L?"action":null});break;case"push":c[h].push(y),wwLib.logStore.verbose(`Adding value at the end of the array variable _wwLocalVariable(${h}) `,{preview:y,workflowContext:L,type:L?"action":null});break;case"shift":c[h].shift(y),wwLib.logStore.verbose(`Adding value at the start of the array variable _wwLocalVariable(${h}) `,{preview:y,workflowContext:L,type:L?"action":null});break;case"pop":c[h].pop(y),wwLib.logStore.verbose(`Removing last value of the array variable _wwLocalVariable(${h})`,{workflowContext:L,type:L?"action":null});break}else c[h]=y,wwLib.logStore.verbose(`Setting value for _wwLocalVariable(${h}) `,{preview:_.cloneDeep(y),workflowContext:L,type:L?"action":null});return C.isExternal&&b[h]&&(t!=null&&t.component?t.component.methods.updateVariable(b[h],y,{path:w,index:M,arrayUpdateType:A,workflowContext:L}):wwLib.wwVariable.updateValue(b[h],y,{path:w,index:M,arrayUpdateType:A,workflowContext:L})),y}catch(I){wwLib.logStore.error(`Unable to update variable ${C?`${C.name} of type ${C.type}`:""} (${h}) : ${I.message} - got : `,{workflowContext:L}),wwLib.logStore.error(y)}},componentVariablesConfiguration:f}}let Fv=1;const DG={components:{wwElementComponent:NA},inheritAttrs:!1,props:{uid:{type:String,required:!0},isPopup:{type:Boolean,default:!1}},setup(e){const t=Fv,r=el("libraryComponent",e.uid);Fv++;const o=Ce("wwLayoutContext",{}),a=Ce("bindingContext",null);ye(()=>a&&a.isACopy),Ce("__wwContainerType",null),nt("wwLibraryComponentUid_",e.uid);const i=Da(),n=Pt(null),s=Ce("_wwLibraryComponentContext",null),d=Ce("_wwDropzoneContext",null),c=Ce("_wwLocalContext",null),m=yt({item:ye(()=>a||{}),layout:ye(()=>({id:o.layoutId})),component:s==null?void 0:s.component,get thisInstance(){var Z,re;return(re=(Z=n.value)==null?void 0:Z.component)==null?void 0:re.$el},dropzone:d,local:c}),{currentStates:f,addInternalState:b,removeInternalState:g}=ih({uid:e.uid,type:"element"},{context:m}),{content:h,style:y,state:w,rawStyle:M,rawState:A}=nh({type:"libraryComponent",uid:e.uid,componentId:t,currentStates:f,context:m}),{variables:L,updateVariable:C,formulas:I,componentVariablesConfiguration:F}=BG(r,{context:m,props:h},{uid:e.uid,componentId:t,type:"element"}),R={component:{props:h,baseUid:r,variables:L,workflowsResults:yt({}),localComponentActionsFn:yt({elements:{},libraryComponents:{}}),methods:{updateVariable:C},formulas:I,componentVariablesConfiguration:F},get thisInstance(){var Z,re;return(re=(Z=n.value)==null?void 0:Z.component)==null?void 0:re.$el}},{triggerLibraryComponentEvent:q,executeLibraryComponentWorkflow:W}=TG({baseUid:r,componentIdentifier:{type:"libraryComponent",uid:e.uid}},R);R.component.methods.executeWorkflow=W;const{triggerEvent:K}=ah({state:w,componentIdentifier:{type:"libraryComponent",uid:e.uid}},m);R.component.methods.triggerEvent=K;const N=Ce("_wwLibraryComponentCounts",Pt({})),V=ye(()=>({...N.value,[r]:(N.value[r]||0)+1}));nt("_wwLibraryComponentCounts",V);const ee={...Ce("_wwLibraryComponentLayers",{}),[r]:{componentIdentifier:{type:"libraryComponent",componentId:t,uid:e.uid,baseUid:r},savedContext:{bindingContext:a,libraryComponentContext:s,dropzoneContext:d,localContext:c},childrenData:ye(()=>(h==null?void 0:h.childrenData)||{})}};return nt("_wwLibraryComponentLayers",ee),uG({uid:e.uid,componentId:t,repeatIndex:a==null?void 0:a.index},{context:m,executionContext:R}),nt("bindingContext",null),nt("_wwLibraryComponentContext",R),e.isPopup&&ys(()=>{q("_wwClosePopup")}),{addInternalState:b,removeInternalState:g,isLoop:ye(()=>V.value[r]>10),triggerEvent:K,triggerLibraryComponentEvent:q,componentData:yt({state:w,style:y,rawState:A,rawStyle:M}),modalsStore:i,elementComponent:n}},computed:{base(){const e=el("libraryComponent",this.uid);return wwLib.$store.getters["libraries/getComponents"][e]},rootUid(){var e;return(e=this.base)==null?void 0:e.rootElementId}}};function kG(e,t,r,o,a,i){const n=ar("wwElementComponent");return o.isLoop?ea("",!0):(wt(),Xt(n,oo({key:i.rootUid,ref:"elementComponent",uid:i.rootUid,"is-library-component-root":"","library-component-data":o.componentData,"library-component-trigger-event":o.triggerEvent,"library-component-trigger-library-component-event":o.triggerLibraryComponentEvent},e.$attrs,{onAddState:t[0]||(t[0]=s=>o.addInternalState(...s)),onRemoveState:t[1]||(t[1]=s=>o.removeInternalState(...s))}),null,16,["uid","library-component-data","library-component-trigger-event","library-component-trigger-library-component-event"]))}const RA=tr(DG,[["render",kG]]),GG={name:"wwFrontPopup",components:{wwLibraryComponent:RA},props:{modal:{type:Object,required:!0},stacked:{type:Boolean,default:!1}},setup(e){var a;const t=Da(),r={close:{description:"Close the popup",method(i){var n;t.close((n=e.modal)==null?void 0:n.uid,i)},editor:{label:"Close this popup instance",group:"Popup",icon:"popup",args:[{name:"data",type:"any",description:"Data to return to the caller",required:!1}],copilot:{description:"Close the popup",schema:{args:{type:"array",description:"Array of length 1, containing the data of any type to return to the caller. Only the content of the first element is bindable.",bindable:!1}},utilsFunctionMatch:"utilsFunctions.closePopup(context, args[0])"}}}},o=ye(()=>{const i=Object.values(t.instances).filter(n=>{var s;return n.libraryComponentBaseId===((s=e.modal)==null?void 0:s.libraryComponentBaseId)});return{instancesCount:i.length,index:i.findIndex(n=>{var s;return n.uid===((s=e.modal)==null?void 0:s.uid)}),totalCount:Object.keys(t.instances).length}});return nt("dragZoneId",(a=e.modal)==null?void 0:a.uid),nt("_wwPopupStacked",e.stacked),{localMethods:r,data:o}}};function NG(e,t,r,o,a,i){const n=ar("wwLibraryComponent"),s=ar("wwLocalContext");return wt(),Xt(s,{methods:o.localMethods,data:o.data,"element-key":"popup"},{default:en(()=>[Wt(n,{uid:r.modal.uid,"is-popup":""},null,8,["uid"])]),_:1},8,["methods","data"])}const FG=tr(GG,[["render",NG]]),RG={components:{wwPageLoadProgress:$D,wwFrontPopup:FG},setup(){const e=aD(),t=ye(()=>e.getters["websiteData/getPage"]||{id:null,meta:{}}),r=Da(),o=ye(()=>e.getters["websiteData/getDesignInfo"]||{}),a=ye(()=>e.getters["websiteData/getPageById"](o.value.homePageId)||{id:null,meta:{}});return ZT({title:ye(()=>wwLib.wwLang.getText(t.value.title)||wwLib.wwLang.getText(a.value.title)),htmlAttrs:{lang:wwLib.wwLang.lang,amp:!1}}),{designInfo:o,page:t,mousePosition:{x:0,y:0},popupStore:r,sections:ye(()=>{const i=e.getters["websiteData/getSections"];return t.value.sections.map(({uid:n})=>i[n])}),brandingOptions:{href:"https://go.weweb.io/preview",target:"_blank",style:"position: fixed; bottom: 4px; right: 4px; background: rgb(38, 38, 38); color: white; padding: 10px 12px; font-size: 14px; border: 1px solid rgb(97, 97, 97); border-radius: 4px; cursor: pointer; font-weight: 500;"}}},computed:{...wA({designInfo:"websiteData/getDesignInfo",activeLinkPopup:"front/getActiveLinkPopup",screen:"front/getScreenSize",theme:"front/getTheme"}),background(){var e;return Zb(((e=this.designInfo)==null?void 0:e.background)||{})}},watch:{activeLinkPopup(){this.activeLinkPopup?document.querySelector("html").classList.add("ww-link-popup-open"):document.querySelector("html").classList.remove("ww-link-popup-open")},theme(){this.setTheme()},background(){this.setBackground()}},mounted(){this.setTheme(),this.setBackground()},methods:{checkBranding(){const t=wwLib.getFrontDocument().querySelectorAll("a");for(const r of t)if(r.innerHTML==="Made with WeWeb"){const o=r.getAttribute("style")===this.brandingOptions.style,a=r.getAttribute("href")===this.brandingOptions.href,i=r.getAttribute("target")===this.brandingOptions.target;if(o&&a&&i)return}this.addBranding()},addBranding(){const e=wwLib.getFrontDocument(),t=e.createElement("a");t.innerHTML="Made with WeWeb",Object.keys(this.brandingOptions).forEach(r=>t.setAttribute(r,this.brandingOptions[r])),e.body.appendChild(t)},setTheme(){this.theme==="dark"?wwLib.getFrontDocument().documentElement.classList.add("ww-app-theme-dark"):wwLib.getFrontDocument().documentElement.classList.remove("ww-app-theme-dark")},setBackground(){wwLib.getFrontDocument().documentElement.style.background=this.background},getTarget(e){return`[data-placeholder-section-uid="${e.uid}"],[data-section-uid="${e.uid}"]`}}},VG=["ww-page-id"],HG={key:0,class:"sections-wrapper"},YG=["data-placeholder-section-uid"];function UG(e,t,r,o,a,i){const n=ar("wwPageLoadProgress"),s=ar("wwSection"),d=ar("wwLinkPopup"),c=ar("wwFrontPopup"),m=ar("wwElement");return wt(),to(Ut,null,[Wt(n),wn("div",{"ww-page-id":o.page.id,class:"website-wrapper"},[o.page&&o.page.pageLoaded?(wt(),to("div",HG,[(wt(!0),to(Ut,null,Fl(o.sections,(f,b)=>(wt(),to(Ut,{key:f.uid},[wn("div",{class:"placeholder-section","data-placeholder-section-uid":f.uid},null,8,YG),Wt(s,{uid:f.uid,"section-index":b,index:b,"ww-responsive":`ww-section-${b}`},null,8,["uid","section-index","index","ww-responsive"])],64))),128))])):ea("",!0),Wt(IE,{name:"ww-front-popups",tag:"div"},{default:en(()=>[e.activeLinkPopup?(wt(),Xt(d,{key:0,content:e.activeLinkPopup.content,background:e.activeLinkPopup.background,"section-id":e.activeLinkPopup.sectionId},null,8,["content","background","section-id"])):ea("",!0)]),_:1}),(wt(!0),to(Ut,null,Fl(o.popupStore.stackedPopupUids,(f,b)=>(wt(),Xt(m,{key:b,uid:b,"no-interaction":""},{default:en(()=>[(wt(!0),to(Ut,null,Fl(f,g=>(wt(),Xt(c,{key:g,modal:o.popupStore.instances[g],stacked:""},null,8,["modal"]))),128))]),_:2},1032,["uid"]))),128)),(wt(!0),to(Ut,null,Fl(o.popupStore.singlePopupUids,f=>(wt(),Xt(c,{key:f,modal:o.popupStore.instances[f]},null,8,["modal"]))),128))],8,VG)],64)}const XG=tr(RG,[["render",UG],["__scopeId","data-v-ce0b4243"]]);async function WG(){await VA(Object.values(wwLib.$store.getters["data/getCollections"]))}async function VA(e){const t=e.filter(o=>{const a=wwLib.$store.getters["data/getCollections"][o.id];return a.mode!=="static"&&!a.isFetched&&a.config.isAutoFetch}),r=t.filter(o=>{const a=JSON.stringify(o);return!t.filter(i=>i.id!==o.id).find(i=>a.includes(i.id))});r.length&&(await Promise.all(r.map(async o=>wwLib.wwCollection.fetchCollection(o.id))),await VA(e))}function jG(e){const t=Object.values(wwLib.$store.getters["data/getCollections"]);for(const r of t)r.mode!=="static"&&(wwLib.$store.dispatch("data/setCollectionFetching",{id:r.id,isFetching:!1,isFetched:r.isFetched}),!(!e&&r.config&&r.config.isPersistentOnNav&&(r.isFetched||r.isFetching))&&(wwLib.$store.dispatch("data/setCollection",{...r,data:r.type==="collection"?[]:{},total:0}),wwLib.$store.dispatch("data/setCollectionFetching",{id:r.id,isFetching:!1,isFetched:!1})))}async function _o(e="onload",t={}){const r=typeof e=="string"?e:e.trigger,o=typeof e=="string"?{}:e.conditions||{},{workflows:a=[],id:i}=wwLib.$store.getters["websiteData/getPage"]||{},{workflows:n=[]}=wwLib.$store.getters["websiteData/getDesignInfo"]||{};await Promise.all([...a.filter(s=>s.trigger===r&&Object.keys((s==null?void 0:s.triggerConditions)||{}).every(d=>{const c=Ne(s.triggerConditions[d]);return c==null||c===""||o[d]===c})).map(s=>Mn(s,{...t,executionContext:{type:"p",pageId:i}}).catch(d=>wwLib.wwLog.error(d))),...n.filter(s=>s.trigger===r&&Object.keys((s==null?void 0:s.triggerConditions)||{}).every(d=>{const c=Ne(s.triggerConditions[d]);return c==null||c===""||o[d]===c})).map(s=>Mn(s,{...t,executionContext:{type:"a"}}).catch(d=>wwLib.wwLog.error(d)))])}function KG(){wwLib.$store.dispatch("data/resetWorkflowsResult")}let Rv=!0;const Vv=()=>{_o("page-unload")};let Hv=!1;async function zG(){Hv||(Hv=!0,wwLib.logStore.verbose("Initializing plugins..."),await wwLib.wwPluginHelper.initPlugins(),wwLib.logStore.verbose("Plugins loaded!"))}async function qG(e,t=!1){const r=Or(wwLib.$pinia);wwLib.logStore.verbose("Loading page data...");const o=Rv||t;Rv=!1,wwLib.$store.dispatch("front/showPageLoadProgress",!1),await wwLib.wwAuth.init(),jG(o),KG(),wwLib.logStore.verbose("Reset variables..."),r.resetVariables(e,o),t&&wwLib.$emit("reset-library-variables"),o&&(wwLib.logStore.verbose("Executing before collection fetch app workflows..."),await _o("before-collection-fetch-app"),wwLib.logStore.verbose("Before collection fetch app workflows done!")),wwLib.logStore.verbose("Executing before collection fetch workflows..."),await _o("before-collection-fetch"),wwLib.logStore.verbose("Before collection fetch workflows done!"),wwLib.logStore.verbose("Fetching static collections data...",{type:"collections"}),await WG(),wwLib.logStore.verbose("Static collections fetched!",{type:"collections"}),o&&(wwLib.logStore.verbose("Executing app load workflows..."),await _o("onload-app"),wwLib.logStore.verbose("App load workflows done!")),wwLib.logStore.verbose("Executing on load workflows..."),await _o("onload"),wwLib.logStore.verbose("On load workflows done!"),wwLib.getFrontWindow().removeEventListener("beforeunload",Vv),wwLib.getFrontWindow().addEventListener("beforeunload",Vv)}async function ZG(){wwLib.logStore.verbose("Executing page unload workflows..."),await _o("page-unload"),wwLib.logStore.verbose("Page unload workflows done!")}const QG={"1fa0dd68-5069-436c-9a7d-3b54c340f1fa":{id:"6051077a-bc8d-4936-a4e4-93821b00d340",name:"Supabase Auth",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"1fa0dd68-5069-436c-9a7d-3b54c340f1fa",publicData:{apiKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzYyODE1NjAwLCJleHAiOjE5MjA1ODIwMDB9.43Ic6uddsjCzFQUetyTV4Q5q8YHh1JCEVm0gd2HEsqc",roleTable:"list_roles",projectUrl:"https://supabase.naughtysoul.ru/",environments:{production:{apiKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzYyODE1NjAwLCJleHAiOjE5MjA1ODIwMDB9.43Ic6uddsjCzFQUetyTV4Q5q8YHh1JCEVm0gd2HEsqc",projectUrl:"https://supabase.naughtysoul.ru/"}},userRoleTable:"profiles_roles_assign",roleTableNameColumn:"name",afterForbiddenPageId:"9bcb7715-2478-42d6-bcaa-26e5cd1d82ef",afterNotSignInPageId:"faee4099-7bb5-49d1-922e-a30d24dcd720",userRoleTableRoleColumn:"role_id",userRoleTableUserColumn:"user_id"}},"66a79c98-70e7-4bc4-8859-20776b024ec2":{id:"6edd815e-5bcf-4e97-aec4-693fb0dfcddc",name:"PWA",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"66a79c98-70e7-4bc4-8859-20776b024ec2",publicData:{}},"2bd1c688-31c5-443e-ae25-59aa5b6431fb":{id:"fdf903fe-7d71-498a-a54d-b58528ab6d90",name:"REST API",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"2bd1c688-31c5-443e-ae25-59aa5b6431fb",publicData:{}},"832d6f7a-42c3-43f1-a3ce-9a678272f811":{id:"d15e2fce-d593-4132-9104-5ebd2805adb3",name:"Date",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"832d6f7a-42c3-43f1-a3ce-9a678272f811",publicData:{favoriteFormat:"DD MMM YY HH:mm"}},"69d4a5bb-09a3-4f3d-a94e-667c21c057eb":{id:"3eee4b69-7ce9-4770-9364-d78b731bc82d",name:"NPM",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"69d4a5bb-09a3-4f3d-a94e-667c21c057eb",publicData:{packages:[{link:"http://www.jacklmoore.com/autosize",name:"autosize",version:"6.0.1",instanceName:""}]}},"f9ef41c3-1c53-4857-855b-f2f6a40b7186":{id:"182bc63f-2edd-43a3-9fc2-f611596c6ac2",name:"Supabase",designId:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",pluginId:"f9ef41c3-1c53-4857-855b-f2f6a40b7186",publicData:{apiKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzYyODE1NjAwLCJleHAiOjE5MjA1ODIwMDB9.43Ic6uddsjCzFQUetyTV4Q5q8YHh1JCEVm0gd2HEsqc",projectUrl:"https://supabase.naughtysoul.ru/",environments:{production:{apiKey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzYyODE1NjAwLCJleHAiOjE5MjA1ODIwMDB9.43Ic6uddsjCzFQUetyTV4Q5q8YHh1JCEVm0gd2HEsqc",projectUrl:"https://supabase.naughtysoul.ru/"}},realtimeTables:{data_comment:!0,data_attachment:!0}}}};var JG={};let Rg;const sg=[];function eN(e){return e.hash?{el:e.hash,behavior:"smooth"}:{top:0}}window.wwg_designInfo={id:"a4b1dea1-ca80-4ed8-bae6-2093dd212d85",homePageId:"9bcb7715-2478-42d6-bcaa-26e5cd1d82ef",authPluginId:"1fa0dd68-5069-436c-9a7d-3b54c340f1fa",baseTag:null,defaultTheme:"light",langs:[{lang:"ru",default:!0},{lang:"en",default:!1,isDefaultPath:!1}],background:{},workflows:[{id:"2bb342a4-b01a-4567-bed4-73fbaf7479f6",name:"Load Base data",actions:{"06cd5d60-34a7-4f88-8f83-1c186af51064":{id:"06cd5d60-34a7-4f88-8f83-1c186af51064",next:"8acd6cd7-8afe-4262-ac0c-21be906a2a6a",type:"execute-workflow:a487342e-8c85-4941-8f29-71d46cbecf17"},"6d774a47-1cd1-44c5-8ec3-decee536b373":{id:"6d774a47-1cd1-44c5-8ec3-decee536b373",next:"e3375188-7125-41b9-911a-a145f91e93a5",type:"filter",value:{code:"context.workflow['cf1fa4b8-eca7-42cc-99bb-9855fb88175a'].result?.['valid']",__wwtype:"f"}},"7d4cc487-be1f-44c4-9a5c-1ed02af40da7":{id:"7d4cc487-be1f-44c4-9a5c-1ed02af40da7",next:"cf1fa4b8-eca7-42cc-99bb-9855fb88175a",type:"filter",value:{code:"variables['dc643f52-803e-4c29-82b5-043308b75844']?.['initData']",__wwtype:"f"}},"8acd6cd7-8afe-4262-ac0c-21be906a2a6a":{id:"8acd6cd7-8afe-4262-ac0c-21be906a2a6a",type:"execute-workflow:850fdcbb-c857-46c8-98db-2295669033c5"},"a59c2462-693a-4502-ac3f-db22ef2bdb38":{id:"a59c2462-693a-4502-ac3f-db22ef2bdb38",code:`async function validate() {\r const initData = Telegram.WebApp.initData;\r const botToken = variables['86a71585-7928-492b-a93e-d9d8511cc8d2'];\r const resultVarId = 'd1d5606b-6312-43ac-bfee-054976d78e2f';\r const userDataVarId = 'af499b01-9787-42ec-acff-74a0c0b22bdd';\r \r //console.log("Step 1: Raw initData:", initData);\r \r const params = new URLSearchParams(initData);\r const receivedHash = params.get('hash');\r //console.log("Step 2: Extracted hash:", receivedHash);\r \r // Step 3: Build data_check_string\r const entries = {};\r for (const [key, value] of params.entries()) {\r if (key !== 'hash') {\r entries[key] = value;\r }\r }\r \r // Extract user data (it's already a JSON string)\r const userData = entries['user'];\r \r // Create sorted array for data_check_string\r const sortedEntries = Object.entries(entries).sort(([a], [b]) => a.localeCompare(b));\r const dataCheckString = sortedEntries.map(([key, value]) => \`\${key}=\${value}\`).join('\\n');\r //console.log("Step 3: data_check_string:\\n" + dataCheckString);\r \r // Rest of your validation code remains the same...\r // Step 4: Derive secret_key using bot_token\r const encoder = new TextEncoder();\r const secret = await crypto.subtle.importKey(\r "raw",\r encoder.encode("WebAppData"),\r { name: "HMAC", hash: "SHA-256" },\r false,\r ["sign"]\r );\r const secretKeyBuffer = await crypto.subtle.sign(\r "HMAC",\r secret,\r encoder.encode(botToken)\r );\r const secretKeyHex = bufferToHex(secretKeyBuffer);\r //console.log("Step 4: Secret key (hex):", secretKeyHex);\r \r // Step 5: HMAC(data_check_string, secret_key)\r const secretKey = await crypto.subtle.importKey(\r "raw",\r hexToBytes(secretKeyHex),\r { name: "HMAC", hash: "SHA-256" },\r false,\r ["sign"]\r );\r const signatureBuffer = await crypto.subtle.sign(\r "HMAC",\r secretKey,\r encoder.encode(dataCheckString)\r );\r const expectedHash = bufferToHex(signatureBuffer);\r //console.log("Step 5: Calculated hash:", expectedHash);\r \r // Step 6: Compare and alert\r const valid = expectedHash === receivedHash;\r //console.log("Step 6: Hash comparison result:", valid);\r \r // Parse the user data JSON string to an object\r const userDataObj = JSON.parse(userData);\r wwLib.wwVariable.updateValue(resultVarId, {\r "isValid": valid,\r "userData": userDataObj\r });\r wwLib.wwVariable.updateValue(userDataObj);\r console.log(variables[/* validatedData */'d1d5606b-6312-43ac-bfee-054976d78e2f']);\r }\r \r // Rest of your helper functions remain the same...\r function bufferToHex(buffer) {\r return [...new Uint8Array(buffer)]\r .map(b => b.toString(16).padStart(2, '0'))\r .join('');\r }\r \r function hexToBytes(hex) {\r const bytes = new Uint8Array(hex.length / 2);\r for (let i = 0; i < hex.length; i += 2) {\r bytes[i / 2] = parseInt(hex.substr(i, 2), 16);\r }\r return bytes;\r }\r \r validate();`,name:"botToken Validation",next:"06cd5d60-34a7-4f88-8f83-1c186af51064",type:"custom-js",disabled:!1},"c3ddf13b-9dc9-424e-b04c-55bde1fa79c8":{id:"c3ddf13b-9dc9-424e-b04c-55bde1fa79c8",next:"7d4cc487-be1f-44c4-9a5c-1ed02af40da7",type:"execute-workflow",internal:!1,parameters:{},workflowId:"2f4e43ff-342e-49f8-a6cf-85040a2ad4fc"},"cf1fa4b8-eca7-42cc-99bb-9855fb88175a":{id:"cf1fa4b8-eca7-42cc-99bb-9855fb88175a",args:{url:{code:`variables['bea51bb6-99ef-46e1-ac23-8ce96a992d96']+"/functions/v1/validate-telegram-init-data-3rdparty"`,__wwtype:"f"},data:[{key:"initData",value:{code:"variables['dc643f52-803e-4c29-82b5-043308b75844']?.['initData']",__wwtype:"f"}},{key:"bot_id",value:{code:"variables['803dc1f9-bb79-4828-8082-8dc054c704be']",__wwtype:"f"}}],method:"POST",useRawBody:!1,isThroughServer:!1},next:"6d774a47-1cd1-44c5-8ec3-decee536b373",type:"2bd1c688-31c5-443e-ae25-59aa5b6431fb-apiRequest"},"d7bf7860-964c-428d-91f5-3ddf056a9be8":{id:"d7bf7860-964c-428d-91f5-3ddf056a9be8",code:` if(!window["scp-loading-65590fc2-b6fd-4562-aa6d-d7047166551a"]) {\r window["scp-loading-65590fc2-b6fd-4562-aa6d-d7047166551a"] = true;\r let doc;\r /* Adding script from https://telegram.org/js/telegram-web-app.js */\r doc = document.createElement('script');\r doc.src = 'https://telegram.org/js/telegram-web-app.js';\r document.body.appendChild(doc);\r }`,name:"Load TG API Library",next:"c3ddf13b-9dc9-424e-b04c-55bde1fa79c8",type:"custom-js"},"e3375188-7125-41b9-911a-a145f91e93a5":{id:"e3375188-7125-41b9-911a-a145f91e93a5",next:"a59c2462-693a-4502-ac3f-db22ef2bdb38",type:"execute-workflow:2be76ed2-f0f6-47b5-a4b8-1ce422abbf63"}},trigger:"onload-app",firstAction:"d7bf7860-964c-428d-91f5-3ddf056a9be8"},{id:"65990baa-f397-4107-9101-0c4a08e315a8",name:"Color Fixes",actions:{"1866cc88-ea25-464c-9fdd-46e524f905dc":{id:"1866cc88-ea25-464c-9fdd-46e524f905dc",code:`function setAColor(value) {\r let id = "override-a-color-style";\r let styleTag = document.getElementById(id);\r \r if (!styleTag) {\r styleTag = document.createElement("style");\r styleTag.id = id;\r document.head.appendChild(styleTag);\r }\r \r styleTag.textContent = \`\r .ww-rich-text-temp {\r --a-color: \${value} !important;\r }\r \`;\r }\r \r // Example usage:\r setAColor(variables['caa815e6-09b1-4ea0-83b6-1baad7a1a645']);\r `,name:"Set Rich Text Color",next:null,type:"custom-js"}},trigger:"onload",firstAction:"1866cc88-ea25-464c-9fdd-46e524f905dc",triggerConditions:null},{id:"38fe7a96-c4e3-4582-9b1e-327ba115f37a",name:"New Comment",actions:{"0a18d07a-313f-4eb6-86f7-c34df6a2ced0":{id:"0a18d07a-313f-4eb6-86f7-c34df6a2ced0",path:"content",type:"variable",index:{code:`wwFormulas.findIndexByKey(variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c'],"id",variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id'])`,__wwtype:"f"},varId:"d8e2c2f5-249b-4854-9dac-8e188ee1322c",usePath:!0,internal:!1,varValue:{code:"variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['content']",__wwtype:"f"},arrayUpdateType:"delete"},"10444d00-3e50-45fb-b5a5-5bf06b698d06":{id:"10444d00-3e50-45fb-b5a5-5bf06b698d06",name:"Same table?",next:"45bd6161-ab8a-4990-98b7-dbc012fa80f8",type:"filter",value:{code:"variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['table']==variables['1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553']?.['config']?.['table']",__wwtype:"f"},disabled:!0},"11fca104-34ad-47cc-826c-b1e7b561ab52":{id:"11fca104-34ad-47cc-826c-b1e7b561ab52",name:"We don't have it?",next:"97fc15b3-c265-4df5-929c-74ab5481a87e",type:"filter",value:{code:`wwFormulas.findIndexByKey(variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c'],"id",variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id'])==-1`,__wwtype:"f"}},"147f8129-8382-4f85-aed1-29521f66c6ff":{id:"147f8129-8382-4f85-aed1-29521f66c6ff",next:"65bdbbc1-2742-42fa-8235-a085d7e5edd4",type:"variable",varId:"d8e2c2f5-249b-4854-9dac-8e188ee1322c",internal:!1,varValue:{code:"variables['1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553']?.['data']",__wwtype:"f"}},"1bbc4ffe-2dff-4bea-a11e-68b0ae337122":{id:"1bbc4ffe-2dff-4bea-a11e-68b0ae337122",next:"10444d00-3e50-45fb-b5a5-5bf06b698d06",type:"if",value:{code:"collections['6757aa48-190a-4eb4-b97b-185af975d96e']?.['data']?.[0]?.['id']==variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id']",__wwtype:"f"},branches:[{id:"ab5b63ab-3ad5-4615-b2f6-93289020acf6",value:!0},{id:"fc16a2e8-de30-427f-9ea6-70efa75c8bdb",value:!1}]},"1ed295f8-b3bb-4363-b867-e2e074e7f464":{id:"1ed295f8-b3bb-4363-b867-e2e074e7f464",path:"content",type:"variable",index:{code:`wwFormulas.findIndexByKey(variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c'],"id",variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id'])`,__wwtype:"f"},varId:"d8e2c2f5-249b-4854-9dac-8e188ee1322c",usePath:!0,internal:!1,varValue:{code:"variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['content']",__wwtype:"f"},arrayUpdateType:"update"},"1fb19920-8503-42ab-a9e4-7077cdb34b1e":{id:"1fb19920-8503-42ab-a9e4-7077cdb34b1e",next:"ba6f3faf-3d1c-4a2e-88b8-f121bdfb29fa",type:"variable",varId:"322169f6-7c27-4203-8719-b1fd4da0ccd1",internal:!1,varValue:{code:"event?.['data']",__wwtype:"f"}},"2d421d26-c9d5-496e-982f-be84327c41e3":{id:"2d421d26-c9d5-496e-982f-be84327c41e3",next:"9dfbe7d0-98ce-42ba-9c0e-057bc3b0e0a4",path:"data",type:"variable",varId:"1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553",usePath:!0,internal:!1,varValue:{code:"variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c']",__wwtype:"f"}},"38850d36-8fbc-4384-b7d2-94c59b5fb30c":{id:"38850d36-8fbc-4384-b7d2-94c59b5fb30c",name:"We have it?",next:"1ed295f8-b3bb-4363-b867-e2e074e7f464",type:"filter",value:{code:`wwFormulas.findIndexByKey(variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c'],"id",variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id'])!=-1`,__wwtype:"f"}},"45bd6161-ab8a-4990-98b7-dbc012fa80f8":{id:"45bd6161-ab8a-4990-98b7-dbc012fa80f8",name:"Same ref?",next:"147f8129-8382-4f85-aed1-29521f66c6ff",type:"filter",value:{code:"variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['ref_id']==variables['1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553']?.['data']?.[0]?.['ref_id']",__wwtype:"f"}},"4ad2d15e-2ce0-46a9-8291-edcd5d2362b6":{id:"4ad2d15e-2ce0-46a9-8291-edcd5d2362b6",type:"reset-variables",varsId:["b6ec1315-4c9f-40ec-879f-02af13c87ea5"]},"65bdbbc1-2742-42fa-8235-a085d7e5edd4":{id:"65bdbbc1-2742-42fa-8235-a085d7e5edd4",name:"Action",next:"2d421d26-c9d5-496e-982f-be84327c41e3",type:"switch",value:{code:"wwFormulas.lowercase(variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['eventType'])",__wwtype:"f"},branches:[{id:"11fca104-34ad-47cc-826c-b1e7b561ab52",value:"insert"},{id:"38850d36-8fbc-4384-b7d2-94c59b5fb30c",value:"update"},{id:"6ee38694-80c4-47c7-9278-579384fbc9ad",value:"delete"}]},"6ee38694-80c4-47c7-9278-579384fbc9ad":{id:"6ee38694-80c4-47c7-9278-579384fbc9ad",name:"We have it?",next:"0a18d07a-313f-4eb6-86f7-c34df6a2ced0",type:"filter",value:{code:`wwFormulas.findIndexByKey(variables['d8e2c2f5-249b-4854-9dac-8e188ee1322c'],"id",variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new']?.['id'])!=-1`,__wwtype:"f"}},"97fc15b3-c265-4df5-929c-74ab5481a87e":{id:"97fc15b3-c265-4df5-929c-74ab5481a87e",type:"variable",varId:"d8e2c2f5-249b-4854-9dac-8e188ee1322c",internal:!1,varValue:{code:"wwFormulas.ifEmpty(variables['b6ec1315-4c9f-40ec-879f-02af13c87ea5'],variables['322169f6-7c27-4203-8719-b1fd4da0ccd1']?.['new'])",__wwtype:"f"},arrayUpdateType:"push"},"9dfbe7d0-98ce-42ba-9c0e-057bc3b0e0a4":{id:"9dfbe7d0-98ce-42ba-9c0e-057bc3b0e0a4",next:"e708dd1a-a9ca-4e42-bc5b-16dfcf2522a4",path:"total",type:"variable",varId:"1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553",usePath:!0,internal:!1,varValue:{code:"wwFormulas.length(variables['1bd7e2d3-8c07-4d9c-aa7a-49ae6af15553']?.['data'])",__wwtype:"f"}},"ab5b63ab-3ad5-4615-b2f6-93289020acf6":{id:"ab5b63ab-3ad5-4615-b2f6-93289020acf6",type:"variable",varId:"b6ec1315-4c9f-40ec-879f-02af13c87ea5",internal:!1,varValue:{code:"collections['6757aa48-190a-4eb4-b97b-185af975d96e']?.['data']?.[0]",__wwtype:"f"}},"ba6f3faf-3d1c-4a2e-88b8-f121bdfb29fa":{id:"ba6f3faf-3d1c-4a2e-88b8-f121bdfb29fa",name:"Fetch single comment",next:"1bbc4ffe-2dff-4bea-a11e-68b0ae337122",type:"fetch-collection",collectionId:"6757aa48-190a-4eb4-b97b-185af975d96e"},"e708dd1a-a9ca-4e42-bc5b-16dfcf2522a4":{id:"e708dd1a-a9ca-4e42-bc5b-16dfcf2522a4",next:"4ad2d15e-2ce0-46a9-8291-edcd5d2362b6",type:"log",message:{code:"event?.['channel']",__wwtype:"f"},preview:{code:"event?.['data']",__wwtype:"f"},disabled:!0},"fc16a2e8-de30-427f-9ea6-70efa75c8bdb":{id:"fc16a2e8-de30-427f-9ea6-70efa75c8bdb",type:"reset-variables",varsId:["b6ec1315-4c9f-40ec-879f-02af13c87ea5"]}},trigger:"f9ef41c3-1c53-4857-855b-f2f6a40b7186-realtime:postgres_changes",firstAction:"1fb19920-8503-42ab-a9e4-7077cdb34b1e",triggerConditions:{event:"",channel:"comments"}},{id:"95eff950-84de-43d6-99c7-442d4c4b98bf",name:"Special Keys trackers",actions:{"c1cccc61-ae20-4ebf-bac4-57b3f1250d4c":{id:"c1cccc61-ae20-4ebf-bac4-57b3f1250d4c",code:`if (!window["scp-loading-modifier-tracker"]) { window["scp-loading-modifier-tracker"] = true; // Initialize the variable if not already set if (!variables['ec699398-45a3-4015-96ac-157c9acf9a75']) { variables['ec699398-45a3-4015-96ac-157c9acf9a75'] = { shift: false, ctrl: false, alt: false, meta: false }; } // Event listeners document.addEventListener("keydown", (event) => { const prevState = { ...variables['ec699398-45a3-4015-96ac-157c9acf9a75'] }; if (event.key === "Shift") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].shift = true; if (event.key === "Control") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].ctrl = true; if (event.key === "Alt") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].alt = true; if (event.metaKey) variables['ec699398-45a3-4015-96ac-157c9acf9a75'].meta = true; // Log changes const changes = Object.entries(variables['ec699398-45a3-4015-96ac-157c9acf9a75']) .filter(([key, value]) => prevState[key] !== value) .map(([key]) => key); if (changes.length > 0) { console.log("Modifier keys changed (pressed):", changes.join(", ")); } }); document.addEventListener("keyup", (event) => { const prevState = { ...variables['ec699398-45a3-4015-96ac-157c9acf9a75'] }; if (event.key === "Shift") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].shift = false; if (event.key === "Control") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].ctrl = false; if (event.key === "Alt") variables['ec699398-45a3-4015-96ac-157c9acf9a75'].alt = false; if (!event.metaKey) variables['ec699398-45a3-4015-96ac-157c9acf9a75'].meta = false; // Log changes const changes = Object.entries(variables['ec699398-45a3-4015-96ac-157c9acf9a75']) .filter(([key, value]) => prevState[key] !== value) .map(([key]) => key); if (changes.length > 0) { console.log("Modifier keys changed (released):", changes.join(", ")); } }); // Helper function window.isModifierPressed = function (keyName) { return !!variables['ec699398-45a3-4015-96ac-157c9acf9a75'][keyName.toLowerCase()]; }; console.log("Modifier tracker loaded ✔️"); } return variables['ec699398-45a3-4015-96ac-157c9acf9a75'];`,name:"Track Keys",type:"custom-js"}},trigger:"onload",firstAction:"c1cccc61-ae20-4ebf-bac4-57b3f1250d4c",triggerConditions:null}],pages:[{id:"1eb91c93-048d-482c-8c42-002b01c87f13",linkId:"1eb91c93-048d-482c-8c42-002b01c87f13",name:"Исполнитель",folder:null,paths:{ru:"doer",default:"doer"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"e3f07761-8f48-4e7b-a1f2-8e0dce708822",sectionTitle:"Loader",linkId:"6baa64b0-a221-4851-9a5b-c02f97ec275f"},{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"406ba956-7545-4be4-b087-d6132c04b56b",sectionTitle:"Header Section",linkId:"727d725f-9271-4d87-bf2c-7f3c7a63f9a1"},{uid:"6057bf7b-4978-4b23-bce4-9289f22af6f3",sectionTitle:"Main Content",linkId:"400ac3e9-e155-4516-b9a9-cfd64d46dd7a"},{uid:"15752302-050d-4419-b4f4-8802c543925d",sectionTitle:"Section",linkId:"9abc264d-414d-464d-9ea9-a18d86a048cf"},{uid:"11507d60-2fc8-4c26-8667-97aea87e9390",sectionTitle:"Bottom Nav",linkId:"0d363926-c853-4ec3-b7e1-d9f4692a81dc"}],pageUserGroups:[{}],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"0442b891-d679-4ed9-a9e8-82abf86b4cd8",linkId:"0442b891-d679-4ed9-a9e8-82abf86b4cd8",name:"components",folder:null,paths:{default:"components"},langs:["ru"],cmsDataSetPath:null,sections:[{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"03a66cb2-8819-48a5-babf-d7c771fb0b7e",sectionTitle:"Section",linkId:"ae851d99-5875-40e0-b2cf-caf5e3bdb4de"},{uid:"cc444e80-abeb-4f8a-9315-12434cb601a3",sectionTitle:"Telegram Dashboard Section",linkId:"bdb472e9-ec80-402e-be55-50a07eca4d09"},{uid:"d644a6ac-6aec-4598-a4d7-fd995be79942",sectionTitle:"Section",linkId:"31df2cc5-76c3-4bfa-9e24-cf2f656a5bef"}],pageUserGroups:[],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"987c0494-9092-48c6-b2d5-4506ee111de5",linkId:"987c0494-9092-48c6-b2d5-4506ee111de5",name:"Задача (редирект)",folder:"Redirect/",paths:{ru:"task/{{id|}}",default:"task/{{id|}}"},langs:["ru","en"],cmsDataSetPath:null,sections:[],pageUserGroups:[],title:{},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"9bcb7715-2478-42d6-bcaa-26e5cd1d82ef",linkId:"9bcb7715-2478-42d6-bcaa-26e5cd1d82ef",name:"Стартовая",folder:"Redirect/",paths:{default:"home"},langs:["ru"],cmsDataSetPath:null,sections:[{uid:"2ce926f9-f37c-49f2-99dd-c8c28fe8c156",sectionTitle:"Loader",linkId:"5010d4ff-1692-4a40-bd29-0bfc4f594aab"}],pageUserGroups:[],title:{en:"",fr:"Vide | Commencer à partir de zéro",ru:"УК Андроньевская"},meta:{desc:{ru:"Управление недвижимостью и технической эксплуатацией объектов."},keywords:{},socialDesc:{ru:"Управление недвижимостью и технической эксплуатацией объектов."},socialTitle:{ru:"УК Андроньевская"},structuredData:{}},metaImage:"images/Asset_22.svg?_wwcv=355"},{id:"dd90a037-3b7a-4383-aec5-e4430d0f0831",linkId:"dd90a037-3b7a-4383-aec5-e4430d0f0831",name:"Получение данных для входа",folder:null,paths:{ru:"l",default:"l"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"49a3dc7e-c953-4e4f-8fc7-b514462e0392",sectionTitle:"Section",linkId:"1c59e38d-f7d4-469d-9bae-917ed2430ae1"}],pageUserGroups:[],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"ffbcb97f-cd7f-4b27-83c2-c936222ec070",linkId:"ffbcb97f-cd7f-4b27-83c2-c936222ec070",name:"Мой профиль",folder:null,paths:{default:"profile"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"e3f07761-8f48-4e7b-a1f2-8e0dce708822",sectionTitle:"Loader",linkId:"6baa64b0-a221-4851-9a5b-c02f97ec275f"},{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"eafe06a4-f3dd-40a8-8208-c912046ff5ce",sectionTitle:"Section",linkId:"e5867863-fd8d-4096-9c05-00cf71aa6256"}],pageUserGroups:[{}],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"5ac4d67e-27cc-4b02-a955-c80c82b6b066",linkId:"5ac4d67e-27cc-4b02-a955-c80c82b6b066",name:"validation",folder:null,paths:{default:"validation"},langs:["ru"],cmsDataSetPath:null,sections:[{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"52de2012-21e6-417c-8c1c-232c773efc50",sectionTitle:"Section",linkId:"ab379e6b-e888-43a1-b6c9-48df8f8339c1"}],pageUserGroups:[{}],title:{},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"26a09076-762d-47c6-beb4-cae754857627",linkId:"26a09076-762d-47c6-beb4-cae754857627",name:"qr-test",folder:null,paths:{ru:"qr-test",default:"qr-test"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"024da2ac-7e6f-4b49-a736-e1a62561b6b5",sectionTitle:"Section",linkId:"a85f10ce-9573-4243-bf9b-76b3a43891c2"},{uid:"6f83e7ba-01cc-4f42-a5e2-cfb30d78aabc",sectionTitle:"Section - Copy",linkId:"3c5b685c-754a-424c-a5da-109c3e418a16"}],pageUserGroups:[],title:{},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"83669f75-69d5-4838-94c5-4a50ac105bb4",linkId:"83669f75-69d5-4838-94c5-4a50ac105bb4",name:"test",folder:null,paths:{ru:"test",default:"test"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"8e0ccc99-4884-436c-8b3f-90c9d16341ab",sectionTitle:"Section",linkId:"eaa861b7-10e5-442e-ae60-4d46574beb77"}],pageUserGroups:[],title:{},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"bb86f66c-730f-4645-a3d5-9c6664df8b3e",linkId:"bb86f66c-730f-4645-a3d5-9c6664df8b3e",name:"Руководитель",folder:null,paths:{ru:"manager",default:"manager"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"e3f07761-8f48-4e7b-a1f2-8e0dce708822",sectionTitle:"Loader",linkId:"6baa64b0-a221-4851-9a5b-c02f97ec275f"},{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"e2d6e3fc-b6db-49ca-8866-e1700f4d6051",sectionTitle:"Header Section",linkId:"306c0f27-7674-4515-8599-ef54b620712d"},{uid:"27c70cff-2ca2-42da-ba08-8909d513dc8c",sectionTitle:"Main Content",linkId:"157b6e2d-04f1-4082-9f5b-1c03c27feb0d"},{uid:"dd09f4df-264d-4679-84dc-778f3d327598",sectionTitle:"Section",linkId:"39dc6aee-366d-454e-819d-df5985612d7b"},{uid:"839f4de0-2310-4d4d-ad36-a83bb2fe6a19",sectionTitle:"Bottom Nav",linkId:"28706c1f-2a17-478e-8797-ba0cb652abbb"}],pageUserGroups:[{}],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"c13a3b05-f5c9-4a44-b952-927fb8c1f0c3",linkId:"c13a3b05-f5c9-4a44-b952-927fb8c1f0c3",name:"Коммент (редирект)",folder:"Redirect/",paths:{ru:"c/{{id|4cb2aafc-dc00-4620-8ebe-34c3207b0a6a}}",default:"c/{{id|4cb2aafc-dc00-4620-8ebe-34c3207b0a6a}}"},langs:["ru","en"],cmsDataSetPath:null,sections:[],pageUserGroups:[],title:{},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"982b9ce3-f154-4042-a2f0-1e547d7e2a38",linkId:"982b9ce3-f154-4042-a2f0-1e547d7e2a38",name:"Администратор",folder:null,paths:{ru:"admin",default:"admin"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"e3f07761-8f48-4e7b-a1f2-8e0dce708822",sectionTitle:"Loader",linkId:"6baa64b0-a221-4851-9a5b-c02f97ec275f"},{uid:"e6b7b1cc-d1f0-426d-b127-d4b05f4fcef9",sectionTitle:"Header",linkId:"ef153c99-0426-496f-8b24-a7a680810a08"},{uid:"bddb657d-9c04-4940-8a42-f34424ff4830",sectionTitle:"Header Section",linkId:"437bf1bf-bd3a-40af-a2af-8c1dc8ffa2a1"},{uid:"a002c35c-d687-47b3-8811-dd1cc17b91ad",sectionTitle:"Main Content",linkId:"e7f48a3f-982f-4233-8a5b-67ba4cde30f1"},{uid:"d80d4eeb-55ed-4398-abf7-a233df3872e9",sectionTitle:"Section",linkId:"59de4782-60ed-46f3-8066-614a8db3add4"},{uid:"4aa0131d-ff4c-43e8-95e5-2931b210c2d0",sectionTitle:"Bottom Nav",linkId:"86a7ddf5-6a7e-4566-afd7-58fe6b218893"}],pageUserGroups:[{}],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""},{id:"faee4099-7bb5-49d1-922e-a30d24dcd720",linkId:"faee4099-7bb5-49d1-922e-a30d24dcd720",name:"Вход в систему",folder:null,paths:{ru:"login",default:"login"},langs:["ru","en"],cmsDataSetPath:null,sections:[{uid:"ea6d1f77-3fa4-48a9-bd61-7088d145e8eb",sectionTitle:"Section",linkId:"65aeb1a8-d1f0-4d10-9fd5-57694cd8505d"}],pageUserGroups:[],title:{en:"",fr:"Vide | Commencer à partir de zéro"},meta:{desc:{},keywords:{},socialDesc:{},socialTitle:{},structuredData:{}},metaImage:""}],plugins:[{id:"f9ef41c3-1c53-4857-855b-f2f6a40b7186",name:"Supabase",namespace:"supabase"},{id:"66a79c98-70e7-4bc4-8859-20776b024ec2",name:"PWA",namespace:"pwa"},{id:"69d4a5bb-09a3-4f3d-a94e-667c21c057eb",name:"NPM",namespace:"npm"},{id:"1fa0dd68-5069-436c-9a7d-3b54c340f1fa",name:"Supabase Auth",namespace:"supabaseAuth"},{id:"832d6f7a-42c3-43f1-a3ce-9a678272f811",name:"Date",namespace:"dayjs"},{id:"2bd1c688-31c5-443e-ae25-59aa5b6431fb",name:"REST API",namespace:"restApi"}]};window.wwg_cacheVersion=355;window.wwg_pluginsSettings=QG;window.wwg_disableManifest=!1;const HA=window.wwg_designInfo.langs.find(({default:e})=>e)||{},mb=(e,t,r)=>{var i;const o=!t.default||t.isDefaultPath?`/${t.lang}`:"";let a=r||(e.id===window.wwg_designInfo.homePageId?"/":`/${e.paths[t.lang]||e.paths.default}`);a=a.replace(/{{([\w]+)\|([^/]+)?}}/g,":$1"),sg.push({path:o+a,component:XG,name:`page-${e.id}-${t.lang}`,meta:{pageId:e.id,lang:t,isPrivate:!!((i=e.pageUserGroups)!=null&&i.length)},async beforeEnter(n,s){var d;if(n.name!==s.name){if(wwLib.wwLang.defaultLang=HA.lang,wwLib.$store.dispatch("front/setLang",t.lang),await zG(),(d=e.pageUserGroups)!=null&&d.length){if(!wwLib.wwAuth.plugin)return!1;if(await wwLib.wwAuth.init(),!wwLib.wwAuth.getIsAuthenticated())return window.location.href=`${wwLib.wwPageHelper.getPagePath(wwLib.wwAuth.getUnauthenticatedPageId())}?_source=${n.path}`,null;if(e.pageUserGroups.length>1&&!wwLib.wwAuth.matchUserGroups(e.pageUserGroups.map(({userGroup:c})=>c)))return window.location.href=`${wwLib.wwPageHelper.getPagePath(wwLib.wwAuth.getUnauthorizedPageId())}?_source=${n.path}`,null}try{if(await KI(Object.assign({"../pages/0442b891-d679-4ed9-a9e8-82abf86b4cd8.js":()=>$t(()=>import("./0442b891-d679-4ed9-a9e8-82abf86b4cd8-DVS_gNES.js"),__vite__mapDeps([22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37])),"../pages/1eb91c93-048d-482c-8c42-002b01c87f13.js":()=>$t(()=>import("./1eb91c93-048d-482c-8c42-002b01c87f13-BCm6P281.js"),__vite__mapDeps([38,23,24,25,26,27,28,39,40,29,30,31,32,41,42,43,44,45,46,47,48,49,50,34,35])),"../pages/26a09076-762d-47c6-beb4-cae754857627.js":()=>$t(()=>import("./26a09076-762d-47c6-beb4-cae754857627-C7N1xYN7.js"),__vite__mapDeps([51,23,24,25,26,29,30,47,48,34,35,52,37])),"../pages/5ac4d67e-27cc-4b02-a955-c80c82b6b066.js":()=>$t(()=>import("./5ac4d67e-27cc-4b02-a955-c80c82b6b066-DyQ9WLYt.js"),__vite__mapDeps([53,23,24,25,26,27,28,29,30,31,32,34,35])),"../pages/83669f75-69d5-4838-94c5-4a50ac105bb4.js":()=>$t(()=>import("./83669f75-69d5-4838-94c5-4a50ac105bb4-CXKKP5ld.js"),__vite__mapDeps([54,25,26,34,35,55])),"../pages/982b9ce3-f154-4042-a2f0-1e547d7e2a38.js":()=>$t(()=>import("./982b9ce3-f154-4042-a2f0-1e547d7e2a38-DTr4h7T9.js"),__vite__mapDeps([56,23,24,25,26,27,28,39,40,29,30,31,32,41,42,43,44,45,46,47,48,49,50,34,35])),"../pages/987c0494-9092-48c6-b2d5-4506ee111de5.js":()=>$t(()=>import("./987c0494-9092-48c6-b2d5-4506ee111de5-HSfHukjL.js"),__vite__mapDeps([57,25,26,27,28,39,40,29,30,41,42,45,46,47,48,49,50])),"../pages/9bcb7715-2478-42d6-bcaa-26e5cd1d82ef.js":()=>$t(()=>import("./9bcb7715-2478-42d6-bcaa-26e5cd1d82ef-Cb_iYfnB.js"),__vite__mapDeps([58,25,26,29,30,34,35])),"../pages/bb86f66c-730f-4645-a3d5-9c6664df8b3e.js":()=>$t(()=>import("./bb86f66c-730f-4645-a3d5-9c6664df8b3e-Bk0XHYZy.js"),__vite__mapDeps([59,23,24,25,26,27,28,39,40,29,30,31,32,41,42,43,44,45,46,47,48,49,50,34,35])),"../pages/c13a3b05-f5c9-4a44-b952-927fb8c1f0c3.js":()=>$t(()=>import("./c13a3b05-f5c9-4a44-b952-927fb8c1f0c3-CPg1BpcY.js"),__vite__mapDeps([60,25,26,27,28,39,40,29,30,41,42,45,46,47,48,49,50])),"../pages/dd90a037-3b7a-4383-aec5-e4430d0f0831.js":()=>$t(()=>import("./dd90a037-3b7a-4383-aec5-e4430d0f0831-Da2E8WRD.js"),__vite__mapDeps([61,25,26,29,30,49,50,34,35])),"../pages/faee4099-7bb5-49d1-922e-a30d24dcd720.js":()=>$t(()=>import("./faee4099-7bb5-49d1-922e-a30d24dcd720-BudjlQ9v.js"),__vite__mapDeps([62,25,26,29,30,41,42,49,50,34,35])),"../pages/ffbcb97f-cd7f-4b27-83c2-c936222ec070.js":()=>$t(()=>import("./ffbcb97f-cd7f-4b27-83c2-c936222ec070-Di5GWoMY.js"),__vite__mapDeps([63,23,24,25,26,27,28,39,40,29,30,31,32,41,42,34,35]))}),`../pages/${e.id.split("_")[0]}.js`,3),await wwLib.wwWebsiteData.fetchPage(e.id),n.hash){const c=document.getElementById(n.hash.replace("#",""));c&&c.scrollIntoView()}else document.body.scrollTop=document.documentElement.scrollTop=0;return}catch(c){if(wwLib.$store.dispatch("front/showPageLoadProgress",!1),c.redirectUrl)return{path:c.redirectUrl||"404"};window.location=n.fullPath}}}})};for(const e of window.wwg_designInfo.pages)for(const t of window.wwg_designInfo.langs)e.langs.includes(t.lang)&&mb(e,t);const Ad=window.wwg_designInfo.pages.find(e=>e.paths.default==="404");if(Ad){for(const e of window.wwg_designInfo.langs)Ad.langs.includes(e.lang)&&mb(Ad,{default:!1,lang:e.lang},"/:pathMatch(.*)*");mb(Ad,{default:!0,isDefaultPath:!1,lang:HA.lang},"/:pathMatch(.*)*")}else sg.push({path:"/:pathMatch(.*)*",async beforeEnter(){window.location.href="/404"}});let gb={};const tN=!window.location.host.includes("-staging."+(JG.WW_ENV==="staging"?"weweb-preview.io":""))&&!window.location.host.includes("weweb-preview.io");var C2;if(tN&&((C2=window.wwg_designInfo.baseTag)!=null&&C2.href)){let e=window.wwg_designInfo.baseTag.href;e.startsWith("/")||(e="/"+e),e.endsWith("/")||(e+="/"),gb={base:e,history:tb(e),routes:sg}}else gb={history:tb(),routes:sg};Rg=uA({...gb,scrollBehavior:eN});let Yv=!0;Rg.beforeEach(async(e,t)=>{e.name!==t.name&&(Yv||await ZG(),Yv=!1,wwLib.globalVariables._navigationId++)});Rg.afterEach((e,t,r)=>{wwLib.$store.dispatch("front/showPageLoadProgress",!1);let o=t.path,a=e.path;o.endsWith("/")||(o=o+"/"),a.endsWith("/")||(a=a+"/"),!(r||t.name&&a===o)&&qG(e)});const Mp=Rg,rN=()=>({pageId:null,design:{info:null,pages:[]},sections:{},wwObjects:{},history:{undo:[],redo:[]},plugins:[]}),oN={setFullDesign(e,t){e.design.info={...t,pages:void 0,plugins:void 0};for(let r of t.pages)e.design.pages.push(r)},updateDesignInfo(e,t){e.design.info={...t,_isFromSocket:void 0}},setFonts(e,t){e.design.info.fonts=t},setPageData(e,t){for(const r in t.sections)e.sections[r]||(e.sections[r]=t.sections[r]);for(const r in t.wwObjects)e.wwObjects[r]||(e.wwObjects[r]=t.wwObjects[r]);this.commit("websiteData/setPageId",t.page.id);for(const r of e.design.pages)if(r.id===t.page.id){for(const o in t.page)r[o]=t.page[o];r.pageLoaded=!0}else r.pageLoaded=!1;for(const r in e.sections)t.sections[r]||delete e.sections[r];for(const r in e.wwObjects)e.wwObjects[r].parentSectionId&&!t.wwObjects[r]&&delete e.wwObjects[r]},setPageId(e,t){e.pageId=t},addPlugin(e,t){const r=e.plugins.findIndex(o=>o.name===t.name);if(r!==-1){const o=e.plugins[r],a=o.isDev?{...o,...t}:{...t,...o};e.plugins.splice(r,1,a)}else e.plugins.push({id:t.id,isDev:t.isDev,isLoaded:t.isLoaded,name:t.name,namespace:t.namespace,settings:t.settings})},updatePlugin(e,{pluginId:t,settings:r,isDev:o,isLoaded:a}){const i=e.plugins.find(n=>n.namespace===t||n.id===t);i&&(r&&(i.settings=r),typeof o=="boolean"&&(i.isDev=o),typeof a=="boolean"&&(i.isLoaded=a))}},nN={async setFullDesign(e,t){e.commit("setFullDesign",t),t.plugins.forEach(r=>e.commit("addPlugin",r))},async setAllData(e,t){const r=Or(wwLib.$pinia);t.collections&&e.dispatch("data/setNewCollections",t.collections,{root:!0});for(const a of t.variables)r.getConfiguration(a.id)||(r.add("website",a.id,a),r.values[a.id]=We.cloneDeep(a.defaultValue));t.formulas&&e.dispatch("data/setFormulas",t.formulas,{root:!0}),t.workflows&&e.dispatch("data/setGlobalWorkflows",t.workflows,{root:!0}),t.libraryComponents&&e.dispatch("libraries/setComponents",t.libraryComponents,{root:!0}),e.commit("setPageData",t.page);const o=Object.keys(t.page.sections);r.cleanComponent(o)},setPageId(e,t){e.commit("setPageId",t||e.getters.getDesignInfo.homePageId)},setPageIdFromRoute(e,t){const r=e.state.design.info.langs.map(i=>i.lang);function o(i){i&&i[0]=="/"&&(i=i.substring(1)),i&&i[i.length-1]=="/"&&(i=i.substring(0,i.length-1));for(const n of r)i&&i.indexOf(n+"/")===0&&(i=i.substring(n.length+1)),i&&i==n&&(i="@home");return i}const a={};t=o(t)||"@home";for(const i of e.state.design.pages)if(i.id==e.state.design.info.homePageId)a["@home"]=i.id,a["/"]=i.id;else for(const n of i.langs)a[o(i.paths[n]||i.paths.default)]=i.id;a[t]?e.commit("setPageId",a[t]):a[404]?e.commit("setPageId",a[404]):e.commit("setPageId",a["@home"])},addPlugin({commit:e},t){return e("addPlugin",t),t},addDevPlugin({commit:e},{id:t,name:r,namespace:o}){const a={id:t,name:r,namespace:o||t,repository:{},icon:"code",isDev:!0,settings:{publicData:{},privateData:{}}};return e("addPlugin",a),a},updatePlugin({commit:e},{pluginId:t,settings:r,isDev:o,isLoaded:a}){e("updatePlugin",{pluginId:t,settings:r,isDev:o,isLoaded:a})},async updatePluginSettings({commit:e,getters:t},{pluginId:r,settings:o}){if(!o)return;t.getPluginById(r)&&await window.wwLib.wwPlugin.saveSettings(r,o.id,o.publicData,o.privateData),e("updatePlugin",{pluginId:r,settings:o})}},Tp={getFullPage(e){let t=null;for(const r of e.design.pages)if(r.id==e.pageId){t=_.cloneDeep(r);for(const o in t.sections)t.sections[o]=_.cloneDeep(e.sections[t.sections[o].uid]);t=this.parseFullObject(e,t)}return t},parseFullObject(e,t,r=!1){if(!t||typeof t!="object")return t;if(Array.isArray(t)){const a=[];return t.forEach(i=>{a.push(this.parseFullObject(e,i,r))}),a}if(t.isWwObject&&t.uid){const a=e.wwObjects[t.uid];if(!a)return{};if(r){const i={...a,content:this.parseFullObject(e,a.content,r),_state:this.parseFullObject(e,a._state,r),isWwObject:!0};return delete i.uid,i}else return{...a,content:this.parseFullObject(e,a.content,r),_state:this.parseFullObject(e,a._state,r)}}const o={};return Object.keys(t).forEach(a=>{o[a]=this.parseFullObject(e,t[a],r)}),o}},aN={getDesign(e){return e.design?e.design:null},getDesignInfo(e){return!e.design||!e.design.info?{}:e.design.info},getPages(e){return e.design.pages},getPage:e=>e.design.pages.find(t=>t.id===e.pageId),getPageById:e=>t=>e.design.pages.find(r=>r.id===t),getPageByLinkId:e=>t=>e.design.pages.find(r=>r.linkId===t||r.id===t),getFullPage(e){return Tp.getFullPage(e)},getPageId(e){return e.pageId},getComponentAvailableStates:e=>({type:t,uid:r})=>{let o;return t==="section"?o=e.sections[r]&&e.sections[r]._state||{}:o=e.wwObjects[r]&&e.wwObjects[r]._state||{},(o.states||[]).map(a=>a.id)},getComponentRawStates:e=>({type:t,uid:r})=>{let o;return t==="section"?o=e.sections[r]&&e.sections[r]._state||{}:o=e.wwObjects[r]&&e.wwObjects[r]._state||{},o.states||[]},getWwObjectStyle:e=>t=>{const{_state:r={}}=e.wwObjects[t]||{};return r.style||{}},getFullWwObject:e=>(t,r=!1)=>Tp.parseFullObject(e,{uid:t,isWwObject:!0},r),getWwObjects(e){return e.wwObjects},getSectionTitle:e=>t=>{var r;return(r=e.design.pages.map(o=>o.sections||[]).flat().find(o=>o.uid===t))==null?void 0:r.sectionTitle},getSectionState:e=>t=>{const{_state:r}=e.sections[t]||{};return r||{}},getFullSection(e){return function(t){if(e.sections[t]){let r=_.cloneDeep(e.sections[t]);return Tp.parseFullObject(e,r)}return null}},getSections:e=>e.sections,getIsSectionLinked:e=>t=>e.design.pages.map(r=>r.sections||[]).flat().filter(r=>r.uid===t).length>1,getPlugins:e=>e.plugins,getPluginByComponentId:e=>t=>e.plugins.find(r=>r.id&&`plugin-${r.id}`===t),getPluginByName:e=>t=>e.plugins.find(r=>r.namespace===t),getPluginById:e=>t=>e.plugins.find(r=>t&&r.id===t),getAuthPlugin:e=>e.plugins.find(t=>{var r,o;return t.id===((o=(r=e.design)==null?void 0:r.info)==null?void 0:o.authPluginId)}),getPluginSettings:(e,t)=>r=>{const o=t.getPluginById(r);return o&&o.settings},getPluginIsLoaded:(e,t)=>r=>{const o=t.getPluginById(r);return o&&o.isLoaded}},iN={namespaced:!0,state:rN,mutations:oN,actions:nN,getters:aN},lN=()=>({classes:{"8df4386c-d425-45f4-8cb8-dad289fa521f":{id:"8df4386c-d425-45f4-8cb8-dad289fa521f",_state:{style:{}},content:{default:{"_ww-text_color":{code:"variables['07b59109-4bae-4361-bd24-3d117d40bb8a']",__wwtype:"f"},"_ww-text_ellipsis":!1,"_ww-text_fontSize":"18px","_ww-text_fontWeight":500}},subClasses:{}},"02c5c0d4-f989-42c6-a0e9-b384079e7714":{id:"02c5c0d4-f989-42c6-a0e9-b384079e7714",_state:{style:{mobile:{maxWidth:"100%"},default:{width:"100%",border:{code:`"solid 1px "+variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']+80`,__wwtype:"f",defaultValue:"1px solid #d1d5db"},cursor:"pointer",padding:"0px",maxWidth:"340px",borderRadius:"8px"}}},content:{default:{orientation:"horizontal",themeIconColor:{code:"variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']",__wwtype:"f",defaultValue:"#959595"},themeTextColor:{code:"variables['07b59109-4bae-4361-bd24-3d117d40bb8a']",__wwtype:"f",defaultValue:"#212121"},themeHoverColor:{code:"variables['1667bcf7-fc12-45ee-8bd5-5a68ca162273']",__wwtype:"f",defaultValue:"#f3f3f3"},themeBorderColor:{code:"variables['64a96a97-0c35-4c8c-9b0a-675a4b8e5c8c']",__wwtype:"f",defaultValue:"#ddd"},themeDangerColor:{code:"variables['d4b50402-b756-4abb-84c0-5e68454c2883']",__wwtype:"f",defaultValue:"#ff6f60"},themePrimaryColor:{code:"variables['1667bcf7-fc12-45ee-8bd5-5a68ca162273']",__wwtype:"f",defaultValue:"#1976d2"},themeDisabledColor:{code:"variables['82c44569-e573-4801-aedf-58fd2d30bc9b']",__wwtype:"f",defaultValue:"#f6f6f6"},themeHighlightColor:{code:"variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']",__wwtype:"f",defaultValue:"#0A6ED119"},themeHoverIconColor:{code:"variables['451c7e58-e576-42c3-b7d2-d3e90baf1781']",__wwtype:"f",defaultValue:"#959595"},themeHoverTextColor:{code:"variables['451c7e58-e576-42c3-b7d2-d3e90baf1781']",__wwtype:"f",defaultValue:"#212121"},themeScrollBarColor:{code:"variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']",__wwtype:"f",defaultValue:"#959595"},themeSecondaryColor:{code:"variables['4bc5fc09-9088-4933-ba6b-a083d4e0815a']",__wwtype:"f",defaultValue:"#c0c4cc"},themeBackgroundColor:{code:"variables['cc141c0e-a4b2-413d-846f-be46017d960c']",__wwtype:"f",defaultValue:"#ffffff"},themeMenuBorderColor:{code:"variables['64a96a97-0c35-4c8c-9b0a-675a4b8e5c8c']",__wwtype:"f",defaultValue:"#ddd"},themeBorderHoverColor:{__wwtype:"f",defaultValue:"#aaaeb7"},themePrimaryTextColor:{code:"variables['451c7e58-e576-42c3-b7d2-d3e90baf1781']",__wwtype:"f",defaultValue:"#f8f5f5"},themeScrollBarBackgroundColor:{code:"variables['4bc5fc09-9088-4933-ba6b-a083d4e0815a']",__wwtype:"f",defaultValue:"#f3f3f3"}}},subClasses:{}},"20fb9308-7bb1-48c3-adbf-5be33b0adafd":{id:"20fb9308-7bb1-48c3-adbf-5be33b0adafd",_state:{style:{mobile:{width:{code:'"100vw"',__wwtype:"f",defaultValue:"100%"},maxWidth:{code:'"100vw"',__wwtype:"f"},customCss:{"overflow-x":"hidden"}},tablet:{},default:{width:"500px",border:{code:`"solid 1px "+variables['64a96a97-0c35-4c8c-9b0a-675a4b8e5c8c']`,__wwtype:"f",defaultValue:"1px solid #e6e6e6"},height:"100%",padding:{code:"formulas['4bb829df-0c97-4097-8fa6-f50aca8f9626']()",__wwtype:"f",defaultValue:"0rem"},overflow:"auto",customCss:{"overflow-y":"auto"},maxHeight:"100vh",minHeight:"100vh",aspectRatio:"unset",backgroundColor:{code:"variables['cc141c0e-a4b2-413d-846f-be46017d960c']",__wwtype:"f",defaultValue:"#FFFFFF"}}}},content:{default:{"_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"space-between"}},subClasses:{}},"0a844486-3238-4191-922e-cf7b6ebc11c1":{id:"0a844486-3238-4191-922e-cf7b6ebc11c1",_state:{style:{mobile:{margin:"-1rem -1.5rem 0rem 0rem"},tablet:{},default:{top:"0px",right:"0px",cursor:"pointer",margin:"-1.5rem -1.5rem 0rem 0rem",position:"absolute"}}},content:{mobile:{},tablet:{},default:{"_ww-layout_alignItems":"center","_ww-layout_flexDirection":"row","_ww-layout_justifyContent":"center"}},subClasses:{}},"5b85be32-c5a4-4a55-834e-9584d933c61f":{id:"5b85be32-c5a4-4a55-834e-9584d933c61f",_state:{style:{default:{padding:"1.2rem 1.2rem 0.8rem 1rem"}}},content:{},subClasses:{}},"c942183c-9fc0-474a-9c19-64adf5cf030d":{id:"c942183c-9fc0-474a-9c19-64adf5cf030d",_state:{style:{default:{flex:"0 0 auto",align:"center",width:"32px",cursor:"pointer",height:"32px",transition:"all 0.1s ease 0s"}}},content:{default:{color:{code:"variables['07b59109-4bae-4361-bd24-3d117d40bb8a']",__wwtype:"f"}}},subClasses:{}},"4bec5018-8ef6-4d84-911d-58d93b6fd90d":{id:"4bec5018-8ef6-4d84-911d-58d93b6fd90d",_state:{style:{default:{width:"32px",cursor:"pointer",height:"32px",padding:"6px",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)",transition:"all 0.2s ease",aspectRatio:"unset",borderRadius:"100px",backgroundColor:{code:"variables['1667bcf7-fc12-45ee-8bd5-5a68ca162273']",__wwtype:"f",defaultValue:"#ffffff"}}}},content:{default:{color:{code:"variables['451c7e58-e576-42c3-b7d2-d3e90baf1781']",__wwtype:"f",defaultValue:"#64748b"}}},subClasses:{}},"8e7f26c6-a689-49ef-bac4-9a34c6b1b59e":{id:"8e7f26c6-a689-49ef-bac4-9a34c6b1b59e",_state:{style:{mobile:{maxWidth:"auto"},tablet:{},default:{width:"100%",border:{code:`"solid 1px " + variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']+"80"`,__wwtype:"f",defaultValue:"1px solid #E0E0E0"},height:"auto",margin:"0px 0px 0px 0px",outline:null,padding:"12px",maxWidth:"100%",transition:"all 0.3s ease 0s",borderRadius:"8px",backgroundColor:{code:"variables['cc141c0e-a4b2-413d-846f-be46017d960c']",__wwtype:"f",defaultValue:"#FFFFFF"}}}},content:{default:{"_ww-text_color":{code:"variables['07b59109-4bae-4361-bd24-3d117d40bb8a']",__wwtype:"f"},placeholderColor:{code:"variables['48b18d61-aa69-4e6a-8fc6-881364110fbf']",__wwtype:"f",defaultValue:"#000000ad"},"_ww-text_ellipsis":!1,"_ww-text_fontSize":"18px"}},subClasses:{"fccf0e81-99ae-4196-a9e1-415c91d748b1":{id:"fccf0e81-99ae-4196-a9e1-415c91d748b1",name:"active",_state:{style:{mobile:{},tablet:{},default:{border:{code:`"solid 1px " + variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']+"80"`,__wwtype:"f",defaultValue:"1px solid #E0E0E0"},outline:null,boxShadow:{code:`"0 0 0 1px "+variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']`,__wwtype:"f",defaultValue:"0px 1px 3px 0px #000"}}}},content:{mobile:{},tablet:{},default:{"_ww-text_textAlign":{code:"context.component?.props?.['1f81b29b-086e-4533-9120-6f8d340373f8']",__wwtype:"f",defaultValue:"center"}}},libraryId:"d0210261-90b0-4c13-bbe5-43e183680003"}}},"1104a37c-d6d2-4424-9ce9-d26f5b2eec1f":{id:"1104a37c-d6d2-4424-9ce9-d26f5b2eec1f",_state:{style:{mobile:{maxWidth:"auto"},default:{width:"100%",border:{code:`"solid 1px " + variables['f95fa3a6-5c0a-4b22-abe2-5c264f9dddde']+"80"`,__wwtype:"f",defaultValue:"1px solid #E0E0E0"},margin:"0px 0px 0px 0px",outline:null,padding:"12px",maxWidth:"100%",minWidth:"100%",overflow:"hidden",transition:"all 0.3s ease 0s",aspectRatio:"unset",borderRadius:"8px",backgroundColor:{code:"variables['cc141c0e-a4b2-413d-846f-be46017d960c']",__wwtype:"f",defaultValue:"#FFFFFF"}}}},content:{default:{rows:1,resize:!0,"_ww-text_color":{code:"variables['07b59109-4bae-4361-bd24-3d117d40bb8a']",__wwtype:"f"},placeholderColor:{code:"variables['48b18d61-aa69-4e6a-8fc6-881364110fbf']",__wwtype:"f",defaultValue:"#000000ad"},"_ww-text_ellipsis":!1,"_ww-text_fontSize":"16px","_ww-text_textAlign":{code:"context.component?.props?.['1f81b29b-086e-4533-9120-6f8d340373f8']",__wwtype:"f"}}},subClasses:{}},"bc017de4-3ee3-470a-b9eb-97dda2149dea":{id:"bc017de4-3ee3-470a-b9eb-97dda2149dea",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"primary",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"var(--269e56d1-6215-4b79-9d82-7e6cee40fa2a,#000000D9)"}},subClasses:{},createdAt:"2023-12-03T19:54:29.013Z",updatedAt:"2023-12-03T19:54:29.037Z"},"acb0dcc0-5163-4fa0-890b-b114d4f5ccfe":{id:"acb0dcc0-5163-4fa0-890b-b114d4f5ccfe",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"secondary",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"var(--afb0622b-008d-4d99-893c-0f0ebe9cb2ae,#00000073)"}},subClasses:{},createdAt:"2023-12-03T19:54:37.422Z",updatedAt:"2023-12-03T19:54:37.431Z"},"3472fd0a-68a2-4e4c-bca7-d518850d82bb":{id:"3472fd0a-68a2-4e4c-bca7-d518850d82bb",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"danger",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"var(--95a7c5a8-c271-4e25-9c3e-17b89da8d8ca,#FF4D4F)"}},subClasses:{},createdAt:"2023-12-03T19:56:32.050Z",updatedAt:"2023-12-03T19:56:32.072Z"},"5483ad5e-bb66-4207-af9c-14e833fc892b":{id:"5483ad5e-bb66-4207-af9c-14e833fc892b",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"disabled",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"var(--8fbac7c3-9c29-4120-a916-efddf0ee92e0,#00000040)"}},subClasses:{},createdAt:"2023-12-03T19:56:48.025Z",updatedAt:"2023-12-03T19:56:48.035Z"},"9c09ade7-0e97-4dbe-b48f-25caf1ff7038":{id:"9c09ade7-0e97-4dbe-b48f-25caf1ff7038",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"warning",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"var(--437b6cd4-ee26-4316-b02c-51cdeeb8a381,#FAAD14)"}},subClasses:{},createdAt:"2023-12-03T19:56:57.245Z",updatedAt:"2023-12-03T19:56:57.254Z"},"7f661078-3a16-4a30-b931-36b75332b1db":{id:"7f661078-3a16-4a30-b931-36b75332b1db",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"input",folder:null,_state:{style:{default:{width:"auto",border:"1px solid #E0E0E0",height:"36px",padding:"8px",borderRadius:"8px",backgroundColor:"#FFFFFF"}}},content:{default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"14px"}},subClasses:{},createdAt:"2024-06-28T12:30:14.963Z",updatedAt:"2024-06-28T12:30:14.977Z"},"4f9a4861-1cbe-4bbb-9b6b-bd2aad4b3116":{id:"4f9a4861-1cbe-4bbb-9b6b-bd2aad4b3116",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"shadow-md",folder:null,_state:{style:{default:{boxShadow:"0px 8px 16px 0px #0000000A"}}},content:{},subClasses:{},createdAt:"2024-06-10T13:16:10.713Z",updatedAt:"2024-06-10T13:16:10.718Z"},"7659a24f-8155-4d8a-8d82-e6b01c431656":{id:"7659a24f-8155-4d8a-8d82-e6b01c431656",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"button",folder:null,_state:{style:{mobile:{},tablet:{},default:{cursor:"pointer",borderRadius:"8px"}}},content:{mobile:{},tablet:{},default:{"_ww-text_fontSize":"14px","_ww-text_lineHeight":"18px"}},subClasses:{"11d3aeb6-531a-41e7-8fed-e959f494f84f":{id:"11d3aeb6-531a-41e7-8fed-e959f494f84f",name:"type-primary",_state:{style:{mobile:{},tablet:{},default:{border:"1px solid var(--c9179837-9d7e-4518-9fa7-8e065db8409d,#0075df)",backgroundColor:"var(--c9179837-9d7e-4518-9fa7-8e065db8409d,#0075df)"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"#FFFFFF"}},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"23109943-f3b2-4de3-a910-0d3fa2f7f22e":{id:"23109943-f3b2-4de3-a910-0d3fa2f7f22e",name:"type-danger",_state:{style:{mobile:{},tablet:{},default:{border:"1px solid var(--1c7b698e-806f-42aa-87ae-3ca740940b00,#de0030)",backgroundColor:"var(--1c7b698e-806f-42aa-87ae-3ca740940b00,#de0030)"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"#FFFFFF"}},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"44bc4931-25b8-422c-94e9-333d0a30ba3c":{id:"44bc4931-25b8-422c-94e9-333d0a30ba3c",name:"size-large",_state:{style:{mobile:{},tablet:{},default:{padding:"8px 16px",minHeight:"42px"}}},content:{},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"95f29570-8055-4e93-addf-ab291620732c":{id:"95f29570-8055-4e93-addf-ab291620732c",name:"size-small",_state:{style:{mobile:{},tablet:{},default:{padding:"4px 8px",minHeight:"30px"}}},content:{},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"b29f1123-56ec-45a3-9539-d7f9ab80ddc1":{id:"b29f1123-56ec-45a3-9539-d7f9ab80ddc1",name:"type-disabled",_state:{style:{mobile:{},tablet:{},default:{border:"1px solid var(--44df1337-b30d-48d2-9cdf-9c0ce338502e,#e2e2e2)",backgroundColor:"var(--44df1337-b30d-48d2-9cdf-9c0ce338502e,#e2e2e2)"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"var(--aed66389-4433-45b2-be66-5622e3df32e7,#919191)"}},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"cf916080-7a04-4b4e-bd2b-99940e36e33a":{id:"cf916080-7a04-4b4e-bd2b-99940e36e33a",name:"type-ghost",_state:{style:{mobile:{},tablet:{},default:{border:"1px solid transparent",backgroundColor:"transparent"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"var(--1804f5dd-ffbe-4d0f-a18e-7d9af9eb1c8f,#464646)"}},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"d2b710bb-597f-4f51-9b45-c70513726e87":{id:"d2b710bb-597f-4f51-9b45-c70513726e87",name:"type-secondary",_state:{style:{mobile:{},tablet:{},default:{border:"1px solid var(--b56a2bd5-4834-484d-8ecb-7760c0ebc14b,#c7c7c7)",backgroundColor:"var(--530fd98b-c9ff-4178-8122-dfa61ebd54b2,#f8f8f8)"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"var(--1804f5dd-ffbe-4d0f-a18e-7d9af9eb1c8f,#464646)"}},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"},"fc220a1e-d983-4810-94f9-1c89fffc0501":{id:"fc220a1e-d983-4810-94f9-1c89fffc0501",name:"size-medium",_state:{style:{mobile:{},tablet:{},default:{padding:"4px 12px",minHeight:"36px"}}},content:{},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"}},createdAt:"2024-06-03T08:06:08.350Z",updatedAt:"2024-06-03T08:28:43.906Z"},"18bedcd8-4b09-4608-96e5-a7a737bd06fe":{id:"18bedcd8-4b09-4608-96e5-a7a737bd06fe",libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a",name:"container",folder:null,_state:{style:{mobile:{},tablet:{padding:"0px 16px"},default:{padding:"0px 32px",maxWidth:"1240px"}}},content:{},subClasses:{"5ab7b961-e2c5-4472-bcdb-9e62222adef5":{id:"5ab7b961-e2c5-4472-bcdb-9e62222adef5",name:"compact",_state:{style:{default:{maxWidth:"800px"}}},content:{},libraryId:"1e0d5dad-5aff-496e-95eb-4d47d75fa08a"}},createdAt:"2024-06-03T11:22:36.689Z",updatedAt:"2024-07-16T08:36:25.657Z"},"dfe7da9a-3cb7-4e25-809b-cac0e599ec94":{id:"dfe7da9a-3cb7-4e25-809b-cac0e599ec94",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Navbar link",folder:null,_state:{style:{mobile:{},tablet:{},default:{cursor:"pointer",margin:"0 0 0 0",padding:"20px",minWidth:"auto",customCss:{"-webkit-font-smoothing":"antialiased"},transition:"all 0.3s ease 0s",borderRadius:"80px"}}},content:{default:{"_ww-text_color":"var(--e99015b2-d7be-4178-bf00-1f92dc4144f1,#f6f6f6)","_ww-text_fontSize":"16px","_ww-text_textAlign":"left","_ww-text_fontFamily":"'Poppins', sans-serif","_ww-text_fontWeight":400,"_ww-text_lineHeight":"1.5em"}},subClasses:{},createdAt:"2024-03-02T15:33:30.617Z",updatedAt:"2024-03-02T16:18:19.175Z"},"5b493c11-d8ea-4e0b-bd97-0cacaa5160f0":{id:"5b493c11-d8ea-4e0b-bd97-0cacaa5160f0",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Section Header",folder:null,_state:{style:{}},content:{default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"32px","_ww-text_fontWeight":600,"_ww-text_lineHeight":"1.35em"}},subClasses:{},createdAt:"2024-03-11T16:02:01.889Z",updatedAt:"2024-03-11T16:02:01.896Z"},"0362cf8d-53a4-4faf-94b3-d4145911de5a":{id:"0362cf8d-53a4-4faf-94b3-d4145911de5a",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Section Subheader",folder:null,_state:{style:{}},content:{default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"14px","_ww-text_lineHeight":"1.6em"}},subClasses:{},createdAt:"2024-03-11T16:02:16.666Z",updatedAt:"2024-03-11T16:02:16.682Z"},"ec4bf05e-2760-4e64-8fb1-566765d1af83":{id:"ec4bf05e-2760-4e64-8fb1-566765d1af83",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Text antialiasing",folder:null,_state:{style:{default:{customCss:{"-webkit-font-smoothing":"antialiased"}}}},content:{},subClasses:{},createdAt:"2024-03-03T23:18:38.610Z",updatedAt:"2024-03-03T23:18:38.617Z"},"98f94ce0-6307-43d4-b22e-01dac8547a28":{id:"98f94ce0-6307-43d4-b22e-01dac8547a28",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Hero Title",folder:null,_state:{style:{default:{margin:"0 0 0px 0",maxWidth:"800px",customCss:{"-webkit-font-smoothing":"antialiased"}}}},content:{mobile:{"_ww-text_fontSize":"32px"},tablet:{},default:{"_ww-text_color":"var(--e99015b2-d7be-4178-bf00-1f92dc4144f1,#f6f6f6)","_ww-text_ellipsis":!1,"_ww-text_fontSize":"55px","_ww-text_textAlign":"center","_ww-text_fontWeight":600,"_ww-text_lineHeight":"1.15em"}},subClasses:{},createdAt:"2024-03-03T22:44:09.742Z",updatedAt:"2024-03-13T14:50:29.199Z"},"94ba5dc8-738b-4b08-94ff-79c89d0072e0":{id:"94ba5dc8-738b-4b08-94ff-79c89d0072e0",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Hero Subheader",folder:null,_state:{style:{default:{margin:"0px 0 0px 0",maxWidth:"499px",customCss:{"-webkit-font-smoothing":"antialiased"}}}},content:{mobile:{"_ww-text_fontSize":"13px"},tablet:{},default:{"_ww-text_color":"var(--fdf68224-d7d8-4f83-9fb5-314d826f9a5f,#888888)","_ww-text_ellipsis":!1,"_ww-text_fontSize":"16px","_ww-text_textAlign":"center"}},subClasses:{},createdAt:"2024-03-03T22:43:57.258Z",updatedAt:"2024-03-08T15:17:56.250Z"},"902dbea4-395a-4ce7-a26a-4c71dc5e03fe":{id:"902dbea4-395a-4ce7-a26a-4c71dc5e03fe",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Hero Image",folder:null,_state:{style:{default:{width:"100%",margin:"56px 0 0 0",maxWidth:"1400px",maxHeight:"550px",borderRadius:"24px"}}},content:{default:{objectFit:"contain"}},subClasses:{},createdAt:"2024-03-08T15:19:34.789Z",updatedAt:"2024-03-08T15:19:34.797Z"},"ab1343d1-e67a-4ade-8000-fe6aa2ab9c7d":{id:"ab1343d1-e67a-4ade-8000-fe6aa2ab9c7d",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Button",folder:null,_state:{style:{}},content:{},subClasses:{"06ec80a2-1139-44d8-a19c-289ef7d2deb2":{id:"06ec80a2-1139-44d8-a19c-289ef7d2deb2",name:"Sub-Hero",_state:{style:{mobile:{},tablet:{},default:{border:{code:`"2px solid "+context.component?.props?.['28033d53-c085-4c5c-b11e-e976f49fc0b4']`,__wwtype:"f",defaultValue:"3px solid #f6f6f6"},cursor:"pointer",height:"auto",padding:"16px 24px",customCss:{"box-shadow":"0 2px 4px rgba(0,0,0,.25)","-webkit-font-smoothing":"antialiased"},transition:"all 0.3s ease 0s",aspectRatio:"unset",borderRadius:"6px",backgroundColor:{code:"context.component?.props?.['ec662030-eb37-4472-96ff-fda66cccc452']",__wwtype:"f"}}}},content:{default:{"_ww-text_color":{code:"context.component?.props?.['62289071-9ba8-4599-8b20-ad9ed1c5c159']",__wwtype:"f",defaultValue:"#FFFFFF"},"_ww-text_ellipsis":!1,"_ww-text_fontSize":"16px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"d6d6f0ac-8f01-4889-99ef-8ccb2f32ab5c":{id:"d6d6f0ac-8f01-4889-99ef-8ccb2f32ab5c",name:"CTA-Hero",_state:{style:{mobile:{},tablet:{},default:{border:{code:`"2px solid "+context.component?.props?.['4c2a4e75-3ca4-4230-8dbb-fbb6792d971f']`,__wwtype:"f",defaultValue:"3px solid #f6f6f6"},cursor:"pointer",height:"auto",padding:"12px 24px",customCss:{"box-shadow":"0 2px 4px rgba(0,0,0,.25)","-webkit-font-smoothing":"antialiased"},transition:"all 0.3s ease 0s",aspectRatio:"unset",borderRadius:"6px",backgroundColor:{code:"context.component?.props?.['4c2a4e75-3ca4-4230-8dbb-fbb6792d971f']",__wwtype:"f",defaultValue:"#000000"}}}},content:{default:{"_ww-text_color":"#FFFFFF","_ww-text_ellipsis":!1,"_ww-text_fontSize":"16px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"}},createdAt:"2024-03-03T22:42:54.716Z",updatedAt:"2024-03-03T22:56:26.760Z"},"c4df3c9e-fe76-4c69-8945-abb965353c5c":{id:"c4df3c9e-fe76-4c69-8945-abb965353c5c",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Steps",folder:null,_state:{style:{}},content:{},subClasses:{"4f48ae7c-5b79-4e56-9f80-1ce11ff75cd2":{id:"4f48ae7c-5b79-4e56-9f80-1ce11ff75cd2",name:"Header",_state:{style:{}},content:{default:{"_ww-text_color":{code:"context.component?.props?.['37dacee8-91f5-49fa-b3ec-3ed2a447b5fe']",__wwtype:"f"},"_ww-text_fontSize":"20px","_ww-text_fontWeight":600,"_ww-text_lineHeight":"1.35em"}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"5571d10c-f188-4df7-bf32-6f42cd6f3970":{id:"5571d10c-f188-4df7-bf32-6f42cd6f3970",name:"icon-mobile",_state:{style:{tablet:{align:{code:"context.component?.props?.['4d7140d2-aee8-4845-ab8e-d4ef3301449c']",__wwtype:"f",defaultValue:"flex-start"}}}},content:{},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"73a68622-5315-4eae-a9e9-9a0a9bc312dd":{id:"73a68622-5315-4eae-a9e9-9a0a9bc312dd",name:"Subheader",_state:{style:{}},content:{default:{"_ww-text_color":{code:"context.component?.props?.['d8b52e3b-42ec-4b0e-adb0-e997d83d2a4c']",__wwtype:"f",defaultValue:"var(--892b3030-2c4b-4a72-b57c-c33abd971952,#222222)"},"_ww-text_fontSize":"14px","_ww-text_fontWeight":400,"_ww-text_lineHeight":"1.35em"}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"9f22bd2f-c237-49dc-af8c-7de8da328004":{id:"9f22bd2f-c237-49dc-af8c-7de8da328004",name:"Icon",_state:{style:{default:{align:"flex-start",margin:"0 0 0 -4px",padding:"0px",borderRadius:"6px"}}},content:{default:{color:{code:"context.component?.props?.['feeb5fce-32f6-4efa-8d2c-85405c3b38c4']",__wwtype:"f",defaultValue:"var(--cd42601f-3954-4e4e-9e95-51692b8dcebc,#1F79FE)"},fontSize:28}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"aac94e31-55b8-4e25-bdb8-341abdae1d21":{id:"aac94e31-55b8-4e25-bdb8-341abdae1d21",name:"Container",_state:{style:{default:{width:"100%",padding:"32px",boxShadow:{code:"context.component?.variables?.['dd188e29-b394-4619-8745-2b5647e241d3']",__wwtype:"f"},borderRadius:"12px 12px 0px 12px",backgroundColor:{code:"context.component?.props?.['5349519f-80ed-4484-b7b6-38093242f46e']",__wwtype:"f",defaultValue:"var(--e99015b2-d7be-4178-bf00-1f92dc4144f1,#f6f6f6)"}}}},content:{default:{"_ww-layout_rowGap":"20px","_ww-layout_flexDirection":"column"}},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"}},createdAt:"2024-03-18T16:09:25.075Z",updatedAt:"2024-03-18T16:16:37.547Z"},"400c2b38-0154-4965-8440-1cc99c6f00ab":{id:"400c2b38-0154-4965-8440-1cc99c6f00ab",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Desktop Floating Navbar Bottom",folder:null,_state:{style:{mobile:{},tablet:{},default:{top:"auto",align:"center",width:"auto",bottom:"40px",height:"59px",zIndex:9,padding:"4px",maxWidth:"auto",minWidth:"auto",position:"fixed",customCss:{"backdrop-filter":"blur(10px)"},aspectRatio:"unset",borderRadius:"80px",backgroundColor:{code:"context.component?.props?.['48c3a828-6787-43b5-ba91-6d24741f3bf7']",__wwtype:"f",defaultValue:"#FFFFFF21"}}}},content:{default:{"_ww-layout_columnGap":"20px","_ww-layout_alignItems":"center","_ww-layout_flexDirection":"row","_ww-layout_justifyContent":"space-between"}},subClasses:{},createdAt:"2024-03-05T11:38:38.335Z",updatedAt:"2024-03-05T11:42:09.871Z"},"61ef1f4f-a866-414b-a6d9-dff38e6f38bd":{id:"61ef1f4f-a866-414b-a6d9-dff38e6f38bd",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Desktop Floating Navbar Top",folder:null,_state:{style:{default:{top:"40px",align:"center",width:"auto",bottom:"auto",height:"59px",zIndex:9,opacity:.99,padding:"4px",maxWidth:"auto",minWidth:"auto",position:"fixed",customCss:{},aspectRatio:"unset",borderRadius:"80px",backgroundColor:{code:"context.component?.props?.['48c3a828-6787-43b5-ba91-6d24741f3bf7']",__wwtype:"f",defaultValue:"#FFFFFF21"}}}},content:{default:{"_ww-layout_columnGap":"20px","_ww-layout_alignItems":"center","_ww-layout_flexDirection":"row","_ww-layout_justifyContent":"space-between"}},subClasses:{},createdAt:"2024-03-05T11:40:00.373Z",updatedAt:"2024-03-05T11:40:00.379Z"},"d793c0ae-df56-425b-a309-e4d3d0710378":{id:"d793c0ae-df56-425b-a309-e4d3d0710378",libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556",name:"Padding",folder:null,_state:{style:{}},content:{},subClasses:{"43859a92-eb4f-4b5a-9e49-4cfd9c3dd3db":{id:"43859a92-eb4f-4b5a-9e49-4cfd9c3dd3db",name:"Vertical L/XL, Horizontal L",_state:{style:{default:{padding:"var(--b2d49095-73cd-4632-b124-3d4143f7c49f,96px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px) var(--dbc2c56a-8941-4906-aa62-03a88727a994,256px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px)"}}},content:{},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"630f1b6a-79db-4220-9870-7a26dc1f26ad":{id:"630f1b6a-79db-4220-9870-7a26dc1f26ad",name:"Vertical L/M, Horizontal L",_state:{style:{default:{padding:"var(--b2d49095-73cd-4632-b124-3d4143f7c49f,96px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px)"}}},content:{},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"70704dca-318b-47cd-8848-201145f74fb4":{id:"70704dca-318b-47cd-8848-201145f74fb4",name:"Vertical L, Horizontal L",_state:{style:{default:{padding:"96px 45px"}}},content:{},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"},"cb7496e7-e018-4f9d-bef8-9f6042f914f9":{id:"cb7496e7-e018-4f9d-bef8-9f6042f914f9",name:"Vertical L/S, Horizontal L",_state:{style:{default:{padding:"var(--b2d49095-73cd-4632-b124-3d4143f7c49f,96px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px) var(--0a048f45-5558-4f22-b33b-29b6b955b7fa,16px) var(--17765de1-737d-44c4-9500-c97f2432130c,45px)"}}},content:{},libraryId:"4be2e8a8-ed0e-4e19-929a-80dc97199556"}},createdAt:"2024-07-10T11:35:46.490Z",updatedAt:"2024-07-10T15:16:17.708Z"},"d040f0de-bf4c-4ee5-9078-c6f329632965":{id:"d040f0de-bf4c-4ee5-9078-c6f329632965",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"text - test",folder:null,_state:{style:{}},content:{},subClasses:{},createdAt:"2024-11-20T17:32:01.881Z",updatedAt:"2024-11-20T17:32:01.889Z"},"55816abc-d83d-4109-841b-7a149c47c530":{id:"55816abc-d83d-4109-841b-7a149c47c530",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Main Button",folder:null,_state:{style:{default:{cursor:"pointer",height:"28px",padding:"8px 16px",aspectRatio:"unset",borderRadius:"6px",backgroundColor:"var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)"}}},content:{default:{"_ww-text_color":"#FFFFFF","_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},subClasses:{},createdAt:"2024-11-08T19:33:17.407Z",updatedAt:"2024-11-08T19:33:17.421Z"},"f5bb9b2c-944a-4f85-98d6-e1a2fabd4f3c":{id:"f5bb9b2c-944a-4f85-98d6-e1a2fabd4f3c",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Secondary Button",folder:null,_state:{style:{default:{border:"1px solid var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)",cursor:"pointer",height:"28px",padding:"8px 16px",aspectRatio:"unset",borderRadius:"6px"}}},content:{default:{"_ww-text_color":"var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)","_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},subClasses:{},createdAt:"2024-11-08T19:33:30.392Z",updatedAt:"2024-11-08T19:33:30.401Z"},"40d75c71-5133-4d9b-afa4-4853ddfa91b8":{id:"40d75c71-5133-4d9b-afa4-4853ddfa91b8",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Third Button ",folder:null,_state:{style:{mobile:{},tablet:{},default:{border:"1px solid #E6E6E6",cursor:"pointer",height:"28px",padding:"8px 16px",aspectRatio:"unset",borderRadius:"6px"}}},content:{default:{"_ww-text_color":"#000000","_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},subClasses:{},createdAt:"2024-11-08T20:11:25.509Z",updatedAt:"2024-11-08T20:13:59.830Z"},"a14d5f59-3bb1-4fcd-8160-22e664fcc19d":{id:"a14d5f59-3bb1-4fcd-8160-22e664fcc19d",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Title Header Table",folder:null,_state:{style:{}},content:{default:{"_ww-text_color":"#FFFFFF","_ww-text_fontSize":"12px","_ww-text_fontWeight":600}},subClasses:{},createdAt:"2024-11-07T21:09:31.836Z",updatedAt:"2024-11-07T21:09:31.846Z"},"64743858-3509-466a-8259-0e3d8787a36e":{id:"64743858-3509-466a-8259-0e3d8787a36e",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Cell",folder:null,_state:{style:{mobile:{height:"auto",minWidth:"120px",maxHeight:"auto",aspectRatio:"unset"},tablet:{},default:{width:"auto",cursor:"pointer",height:"auto",display:"flex",padding:" 0px",aspectRatio:"unset"}}},content:{mobile:{},tablet:{},default:{"_ww-layout_flexWrap":!0,"_ww-layout_alignItems":"center","_ww-layout_alignContent":"center"}},subClasses:{},createdAt:"2024-10-21T22:57:44.369Z",updatedAt:"2024-11-07T21:10:32.921Z"},"22a75b4e-5a32-4048-99c9-81e87324ca93":{id:"22a75b4e-5a32-4048-99c9-81e87324ca93",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Title Table Content Black",folder:null,_state:{style:{default:{align:"flex-start",padding:"0 6px 0 0"}}},content:{default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":600,"_ww-text_lineHeight":"normal","_ww-text_textDecorationStyle":"solid"}},subClasses:{},createdAt:"2024-11-07T21:11:43.562Z",updatedAt:"2024-11-07T21:27:38.591Z"},"919f5f18-7884-4f53-a637-a7b3ba9de2c9":{id:"919f5f18-7884-4f53-a637-a7b3ba9de2c9",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Text - New",folder:null,_state:{style:{mobile:{},tablet:{},default:{align:"flex-start",padding:"0 6px 0 0"}}},content:{mobile:{},tablet:{},default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":400,"_ww-text_lineHeight":"normal","_ww-text_textDecorationStyle":"solid"}},subClasses:{},createdAt:"2024-10-25T19:46:07.081Z",updatedAt:"2024-10-29T16:33:41.977Z"},"2bead7a3-b4b5-4259-86c7-a469c2db31c9":{id:"2bead7a3-b4b5-4259-86c7-a469c2db31c9",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Title Table Content Blue",folder:null,_state:{style:{default:{align:"flex-end"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"#265298","_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_textAlign":"right","_ww-text_fontWeight":600}},subClasses:{},createdAt:"2024-10-25T19:46:26.841Z",updatedAt:"2024-11-07T21:27:49.922Z"},"b43f4985-375c-488f-a4a0-f4e77f012631":{id:"b43f4985-375c-488f-a4a0-f4e77f012631",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"4ColumnsTable",folder:null,_state:{style:{mobile:{},tablet:{},default:{width:"100%",border:"1px solid #265298",margin:"0px 0 0 0",display:"flex",padding:"0px 0px 0px 0px",maxWidth:"auto",borderRadius:"6px"}}},content:{default:{"_ww-layout_alignItems":"stretch","_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"flex-start"}},subClasses:{},createdAt:"2024-10-28T15:19:16.211Z",updatedAt:"2024-10-29T16:37:43.842Z"},"44c02423-af8c-4b21-8f83-079ab050480c":{id:"44c02423-af8c-4b21-8f83-079ab050480c",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"inputs",folder:null,_state:{style:{mobile:{padding:"0 6px 0 6px"},tablet:{},default:{flex:"0 1 auto",margin:"0px 6px 0px 0px",padding:"0 0px 0 6px",maxHeight:"20px",borderRadius:"4px"}}},content:{default:{"af99b1cb-289f-4b2a-99d4-fd9e2e12983d":12}},subClasses:{},createdAt:"2024-10-29T14:57:21.747Z",updatedAt:"2024-11-18T16:43:38.294Z"},"c7babe5d-8677-4b76-b486-cfbb09955ce1":{id:"c7babe5d-8677-4b76-b486-cfbb09955ce1",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"3ColumnsTable",folder:null,_state:{style:{default:{width:"100%",border:"1px solid #265298",margin:"0px 0 0 0",display:"flex",padding:"0px 0px 0px 0px",maxWidth:"670px",borderRadius:"6px"}}},content:{default:{"_ww-layout_alignItems":"stretch","_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"flex-start"}},subClasses:{},createdAt:"2024-10-28T15:19:27.104Z",updatedAt:"2024-10-28T15:19:27.116Z"},"b82abf85-3af2-4a9c-b2e6-7b350729d368":{id:"b82abf85-3af2-4a9c-b2e6-7b350729d368",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"2ColumnsTable",folder:null,_state:{style:{default:{width:"100%",border:"1px solid #265298",margin:"0px 0 0 0",display:"flex",padding:"0px 0px 0px 0px",maxWidth:"670px",borderRadius:"6px"}}},content:{default:{"_ww-layout_alignItems":"stretch","_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"flex-start"}},subClasses:{},createdAt:"2024-10-28T15:19:39.837Z",updatedAt:"2024-10-28T15:19:39.843Z"},"21db6d9e-c3eb-4e81-bcee-f555241851cd":{id:"21db6d9e-c3eb-4e81-bcee-f555241851cd",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Alternate Color Row",folder:null,_state:{style:{mobile:{},tablet:{},default:{backgroundColor:"#C9D5EE"}}},content:{},subClasses:{},createdAt:"2024-10-24T17:56:44.126Z",updatedAt:"2024-10-24T17:57:56.029Z"},"6506cb05-dcc3-4e85-8302-9c7c72f09157":{id:"6506cb05-dcc3-4e85-8302-9c7c72f09157",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Hover Select/Dropdown",folder:null,_state:{class:"",style:{mobile:{},tablet:{},default:{border:"0px solid #C2C2C2DE",height:"auto",padding:"6px 10px",minHeight:"28px",aspectRatio:"unset",borderRadius:"4px",backgroundColor:"var(--1156a7f3-b64b-40b6-8cac-a6a97ec8a47e,#F1F5F9)",animationKeyframes:null}}},content:{mobile:{},tablet:{},default:{"_ww-layout_flexDirection":"column"}},subClasses:{},createdAt:"2024-11-01T20:05:57.161Z",updatedAt:"2024-11-08T20:29:10.307Z"},"5839b0c4-4340-4daa-986d-5f9abb18b3d6":{id:"5839b0c4-4340-4daa-986d-5f9abb18b3d6",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Select Input",folder:null,_state:{style:{mobile:{},tablet:{},default:{border:"1px solid var(--f6a3882c-c920-46b5-a2e1-cc62571f6dc0,#E0E0E0)",padding:"0px 6px",borderRadius:"4px",backgroundColor:"#FFFFFF"}}},content:{mobile:{},tablet:{},default:{"_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"center"}},subClasses:{"e39f205c-941f-4cd0-abc7-c103b3f2b5c6":{id:"e39f205c-941f-4cd0-abc7-c103b3f2b5c6",name:"Focused",_state:{style:{}},content:{},libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b"}},createdAt:"2024-11-01T20:20:59.563Z",updatedAt:"2024-11-08T19:51:04.073Z"},"100d6734-bf93-4ec1-afb4-bd3342766dbe":{id:"100d6734-bf93-4ec1-afb4-bd3342766dbe",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Disable Select/Dropdown",folder:null,_state:{style:{mobile:{},tablet:{},default:{cursor:"not-allowed"}}},content:{},subClasses:{},createdAt:"2024-11-01T20:42:17.827Z",updatedAt:"2024-11-08T20:46:20.124Z"},"153bfe98-d5cb-497a-a9d6-e13097fc8568":{id:"153bfe98-d5cb-497a-a9d6-e13097fc8568",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Text - Disabled",folder:null,_state:{style:{}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"var(--7a2c6440-45eb-479e-9f86-4de577618806,#94A3B8)"}},subClasses:{},createdAt:"2024-11-01T20:43:40.566Z",updatedAt:"2024-11-01T20:44:06.951Z"},"4c5c454d-3472-407f-a357-bc61dbb7043c":{id:"4c5c454d-3472-407f-a357-bc61dbb7043c",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"kkk",folder:null,_state:{style:{}},content:{},subClasses:{},createdAt:"2024-10-23T15:03:47.664Z",updatedAt:"2024-10-23T15:03:47.707Z"},"7853b782-b0ea-4fbc-99bf-79d27956d125":{id:"7853b782-b0ea-4fbc-99bf-79d27956d125",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"select on list",folder:null,_state:{style:{mobile:{},tablet:{},default:{width:"100%",border:"1px solid #BFBFBF8C",height:"28px",aspectRatio:"unset",borderRadius:"0 0 5px 5px"}}},content:{},subClasses:{},createdAt:"2024-11-02T18:55:37.932Z",updatedAt:"2024-11-03T19:26:58.080Z"},"092de300-002b-42d1-9132-bf726112c97e":{id:"092de300-002b-42d1-9132-bf726112c97e",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Text [DEPRECATED]",folder:null,_state:{style:{}},content:{mobile:{},tablet:{},default:{"_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"normal","_ww-text_textDecorationStyle":"solid","af99b1cb-289f-4b2a-99d4-fd9e2e12983d":8}},subClasses:{},createdAt:"2024-10-21T22:53:41.565Z",updatedAt:"2024-11-07T21:29:14.691Z"},"3cdb2461-4fc6-41a0-93fb-9c86b340e88e":{id:"3cdb2461-4fc6-41a0-93fb-9c86b340e88e",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Repeateable zone table",folder:null,_state:{style:{mobile:{},tablet:{},default:{width:"100%",borderTop:"1px solid var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)",borderLeft:"1px solid var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)",borderRight:"1px solid var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)",borderBottom:"0px solid var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)",borderRadius:"6px 6px 0 0"}}},content:{},subClasses:{},createdAt:"2024-11-02T21:01:42.045Z",updatedAt:"2024-11-02T21:03:16.276Z"},"8185e6ad-6a3e-47a4-a077-5706238ccea1":{id:"8185e6ad-6a3e-47a4-a077-5706238ccea1",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Bottom control Table",folder:null,_state:{style:{default:{width:"100%"}}},content:{},subClasses:{},createdAt:"2024-11-02T21:02:27.484Z",updatedAt:"2024-11-02T21:02:27.493Z"},"fb72ae42-5759-4f4b-9315-c6b8e3a1e97e":{id:"fb72ae42-5759-4f4b-9315-c6b8e3a1e97e",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Tag",folder:null,_state:{style:{default:{width:"100%"}}},content:{default:{"_ww-text_color":"var(--f6a3882c-c920-46b5-a2e1-cc62571f6dc0,#DFE3EA)","_ww-text_nowrap":!0,"_ww-text_ellipsis":!0,"_ww-text_fontSize":"12px"}},subClasses:{},createdAt:"2024-11-02T23:24:01.127Z",updatedAt:"2024-11-02T23:24:01.135Z"},"bae2be50-c6d5-437d-816a-c8195baf6574":{id:"bae2be50-c6d5-437d-816a-c8195baf6574",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"editable",folder:null,_state:{style:{default:{align:"flex-start",width:"100%",border:"1px solid #E0E0E0",height:"36px",margin:"0px 0px 0px 0px",padding:"8px",maxWidth:"100%",borderRadius:"8px",backgroundColor:"#FFFFFF"}}},content:{default:{hideArrows:!0,"_ww-text_ellipsis":!1,"_ww-text_fontSize":"14px","_ww-text_textAlign":"right"}},subClasses:{},createdAt:"2024-10-17T17:35:27.641Z",updatedAt:"2024-10-17T17:35:27.646Z"},"235b0b01-3801-41f2-909b-c982ff4c4037":{id:"235b0b01-3801-41f2-909b-c982ff4c4037",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Alternate Color Column",folder:null,_state:{style:{mobile:{},tablet:{},default:{minHeight:"36px",backgroundColor:"#C9D5EE"}}},content:{mobile:{},tablet:{},default:{"_ww-layout_alignItems":"flex-start","_ww-layout_flexDirection":"column","_ww-layout_justifyContent":"center"}},subClasses:{},createdAt:"2024-10-24T17:07:31.599Z",updatedAt:"2024-10-24T17:55:55.415Z"},"50344774-b838-4c4f-b6c2-90a5cc8c56ff":{id:"50344774-b838-4c4f-b6c2-90a5cc8c56ff",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Menu Item Selected",folder:null,_state:{style:{mobile:{},tablet:{},default:{backgroundColor:"rgb(219 234 254)"}}},content:{},subClasses:{},createdAt:"2024-10-23T16:04:57.341Z",updatedAt:"2024-10-23T16:12:36.155Z"},"e36ff75b-4fb8-4a5d-8e56-8267f1e89661":{id:"e36ff75b-4fb8-4a5d-8e56-8267f1e89661",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Menu Item",folder:null,_state:{style:{default:{width:"100%",cursor:"pointer",padding:"8px 0px 8px 8px",borderRadius:"08px"}}},content:{default:{"_ww-layout_alignItems":"center"}},subClasses:{},createdAt:"2024-10-23T17:37:30.615Z",updatedAt:"2024-10-23T17:37:30.622Z"},"90f16a4c-6e80-4ed0-bed0-d46fe4115dce":{id:"90f16a4c-6e80-4ed0-bed0-d46fe4115dce",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Menu Item Hover",folder:null,_state:{style:{mobile:{},tablet:{},default:{backgroundColor:"rgb(245 245 244)"}}},content:{},subClasses:{},createdAt:"2024-10-23T16:15:39.827Z",updatedAt:"2024-10-23T16:16:51.572Z"},"60516592-6e38-4148-b56a-60964461be39":{id:"60516592-6e38-4148-b56a-60964461be39",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"readonly-input",folder:null,_state:{style:{mobile:{},tablet:{},default:{align:"flex-start",width:"100%",border:"1px solid #E0E0E0",height:"36px",margin:"0px 0px 0px 0px",padding:"8px",maxWidth:"100%",borderRadius:"8px",backgroundColor:"var(--f6a3882c-c920-46b5-a2e1-cc62571f6dc0,#DFE3EA)"}}},content:{default:{hideArrows:!0,"_ww-text_ellipsis":!1,"_ww-text_fontSize":"14px","_ww-text_textAlign":"right"}},subClasses:{},createdAt:"2024-10-17T17:35:01.495Z",updatedAt:"2024-11-04T17:41:35.382Z"},"a89dd20f-ba57-4091-be58-bb58f340fd85":{id:"a89dd20f-ba57-4091-be58-bb58f340fd85",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Rows in Select/Dropdowns",folder:null,_state:{class:"",style:{mobile:{},tablet:{},default:{border:"0px solid #C2C2C2DE",height:"auto",padding:"6px 10px",minHeight:"28px",aspectRatio:"unset",backgroundColor:"#FFFFFF",animationKeyframes:null}}},content:{mobile:{},tablet:{},default:{"_ww-layout_flexDirection":"column"}},subClasses:{},createdAt:"2024-11-04T20:28:08.668Z",updatedAt:"2024-11-08T16:29:36.716Z"},"8c1181fe-c2cf-43d1-8782-729ea66075e0":{id:"8c1181fe-c2cf-43d1-8782-729ea66075e0",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Header Tables",folder:null,_state:{style:{mobile:{},tablet:{},default:{cursor:"pointer",padding:"6px 10px",borderRadius:"5px 5px 0 0",backgroundColor:"var(--691a19e9-e7be-40fa-9d40-2b3232cae0e5,#265298)"}}},content:{default:{"_ww-layout_alignItems":"center","_ww-layout_flexDirection":"row","_ww-layout_justifyContent":"space-between"}},subClasses:{},createdAt:"2024-11-05T16:51:00.852Z",updatedAt:"2024-11-05T16:54:46.021Z"},"3f9258dd-df89-4e68-a7ba-ac7c4323230b":{id:"3f9258dd-df89-4e68-a7ba-ac7c4323230b",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Last Row",folder:null,_state:{class:"alternate-row",style:{mobile:{},tablet:{},default:{border:"0px",height:"auto",padding:"6px 10px",minHeight:"28px",aspectRatio:"unset",borderRadius:"0 0 5px 5px",backgroundColor:"#FFFFFF"}}},content:{},subClasses:{},createdAt:"2024-10-29T17:21:02.349Z",updatedAt:"2024-11-14T21:02:13.631Z"},"58c9045d-98fb-424c-ab1f-fe0d9ec1ecef":{id:"58c9045d-98fb-424c-ab1f-fe0d9ec1ecef",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Rows",folder:null,_state:{class:"alternate-row",style:{default:{height:"auto",padding:"6px 10px",minHeight:"28px",aspectRatio:"unset"}}},content:{},subClasses:{},createdAt:"2024-10-31T19:07:28.340Z",updatedAt:"2024-11-05T20:29:54.555Z"},"38ccc98c-cf2e-4d64-916f-cdff930e19b9":{id:"38ccc98c-cf2e-4d64-916f-cdff930e19b9",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Hover Select/Input",folder:null,_state:{style:{default:{border:"1px solid var(--3894a226-0b1a-47f3-87d5-0919525b1698,#C0C9D8)"}}},content:{},subClasses:{},createdAt:"2024-11-05T20:18:20.420Z",updatedAt:"2024-11-05T20:18:20.428Z"},"65ade074-07ae-4018-a418-235f41c8aa5e":{id:"65ade074-07ae-4018-a418-235f41c8aa5e",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Table Container",folder:null,_state:{style:{default:{border:"1px solid #265298",borderRadius:"6px",backgroundColor:"#FFFFFF"}}},content:{},subClasses:{},createdAt:"2024-11-08T16:21:40.232Z",updatedAt:"2024-11-08T16:21:40.249Z"},"9e33f262-0a8b-48c7-8fdc-aa244ac185dd":{id:"9e33f262-0a8b-48c7-8fdc-aa244ac185dd",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Options Container Select/dropdown",folder:null,_state:{style:{default:{width:"100%",margin:"5px 0 0 0",padding:"3px 3px",boxShadow:{code:"'0px 4px 10px 4px rgba(0, 0, 0, 0.1)'",__wwtype:"f"},borderRadius:"4px",backgroundColor:"#FFFFFF"}}},content:{default:{"_ww-layout_flexDirection":"column"}},subClasses:{},createdAt:"2024-11-08T16:34:51.408Z",updatedAt:"2024-11-08T16:36:15.142Z"},"61f99073-a8a7-4226-b256-27e2d120c642":{id:"61f99073-a8a7-4226-b256-27e2d120c642",libraryId:"7649c9d7-9770-4f79-844c-9571abfaa80b",name:"Disable Button",folder:null,_state:{style:{mobile:{},tablet:{},default:{cursor:"pointer",height:"28px",padding:"8px 16px",aspectRatio:"unset",borderRadius:"6px",backgroundColor:"var(--f6a3882c-c920-46b5-a2e1-cc62571f6dc0,#DFE3EA)"}}},content:{mobile:{},tablet:{},default:{"_ww-text_color":"var(--7a2c6440-45eb-479e-9f86-4de577618806,#94A3B8)","_ww-text_ellipsis":!1,"_ww-text_fontSize":"12px","_ww-text_fontWeight":500,"_ww-text_lineHeight":"20px"}},subClasses:{},createdAt:"2024-11-08T19:33:41.934Z",updatedAt:"2025-02-20T21:02:07.635Z"}},components:{}}),sN={setClass(e,t){e.classes[t.id]=t},setComponent(e,t){e.components[t.id]=t}},dN={setClasses({commit:e},t){for(const r of t)e("setClass",r)},setComponents({commit:e},t){for(const r of t)e("setComponent",r)}},uN={getClasses:e=>e.classes,getComponents:e=>e.components},cN={namespaced:!0,state:lN,mutations:sN,actions:dN,getters:uN};function mN(){return{collections:{},pageParameterVariables:{},formulas:{},pluginFormulas:{},globalWorkflows:{},workflowsResults:{}}}const gN={setCollection(e,t){e.collections[t.id]||(e.collections[t.id]={});for(const r in t)r==="data"?t.data?We.set(e.collections[t.id],"data",vg(ht(t.data))):We.set(e.collections[t.id],"data",null):r==="fields"?(Object.keys(t.fields).length||!e.collections[t.id].fields)&&We.set(e.collections[t.id],"fields",t.fields):r==="offset"||r==="total"?We.set(e.collections[t.id],r,t[r]||0):We.set(e.collections[t.id],r,t[r])},setCollectionOffset(e,{collectionId:t,offset:r}){e.collections[t]&&We.set(e.collections[t],"offset",r)},deleteCollection(e,t){delete e.collections[t]},setCollectionFetching(e,{id:t,isFetching:r,isFetched:o}){We.set(e.collections[t],"isFetching",r),o!==void 0?We.set(e.collections[t],"isFetched",o):We.set(e.collections[t],"isFetched",!r)},setPageParameterVariable(e,t){e.pageParameterVariables[t.id]?Object.assign(e.pageParameterVariables[t.id],t):e.pageParameterVariables[t.id]=t},removePageParameterVariables(e){e.pageParameterVariables={}},setFormula(e,t){We.set(e.formulas,t.id,t)},setPluginFormula(e,t){We.set(e.pluginFormulas,t.id,t)},setWorkflowActionResult(e,{workflowId:t,actionId:r,result:o,error:a}){We.set(e.workflowsResults,`${t}.${r}.result`,o),We.set(e.workflowsResults,`${t}.${r}.error`,a)},setWorkflowError(e,{workflowId:t,value:r}){We.set(e.workflowsResults,`${t}.error`,r)},setWorkflowActionLoop(e,{workflowId:t,actionId:r,loop:o}){We.set(e.workflowsResults,`${t}.${r}.loop`,o)},initGlobalWorkflow(e,t){We.set(e.globalWorkflows,t.id,t)},setGlobalWorkflow(e,t){We.set(e.globalWorkflows,t.id,t)},resetWorkflowsResult(e){e.workflowsResults={}}},fN={setCollections({commit:e},t){for(const r of t)r&&(e("setCollection",{...r,isFetching:r.mode!=="static"}),e("setCollectionFetching",{id:r.id,isFetching:!1,isFetched:r.mode==="static"}))},setNewCollections({commit:e,state:t},r){for(const o of Object.values(t.collections))o.mode!=="static"&&(o.config.isPersistentOnNav||e("deleteCollection",o.id));for(const o of r)o&&(t.collections[o.id]||(e("setCollection",{...o,isFetching:o.mode!=="static"}),e("setCollectionFetching",{id:o.id,isFetching:!1,isFetched:o.mode==="static"})))},setCollectionOffset({commit:e},{collectionId:t,offset:r}){e("setCollectionOffset",{collectionId:t,offset:r})},setCollection({commit:e},t){e("setCollection",t)},setCollectionFetching({commit:e},{id:t,isFetching:r,isFetched:o}){e("setCollectionFetching",{id:t,isFetching:r,isFetched:o})},setPageParameterVariables({commit:e,getters:t,rootGetters:r}){e("removePageParameterVariables");const o=r["websiteData/getPage"];if(!o)return;let a={};a=wwLib.getFrontRouter().currentRoute._value.params;const i=t.getPageParameterVariablesFromId(o.id);for(const n of i)e("setPageParameterVariable",{...n,value:a[n.id]})},removePageParameterVariables({commit:e}){e("removePageParameterVariables")},setFormulas({dispatch:e},t){for(const r of t)e("setFormula",r)},setFormula({commit:e},t){t&&e("setFormula",t)},setPluginFormula({commit:e},t){t&&e("setPluginFormula",t)},setWorkflowActionResult({commit:e},t){e("setWorkflowActionResult",t)},setWorkflowError({commit:e},t){e("setWorkflowError",t)},setWorkflowActionLoop({commit:e},t){e("setWorkflowActionLoop",t)},initGlobalWorkflows({dispatch:e},t){for(const r of t)e("initGlobalWorkflow",r)},initGlobalWorkflow({commit:e},t){t&&e("initGlobalWorkflow",t)},setGlobalWorkflows({dispatch:e},t){for(const r of t)e("setGlobalWorkflow",r)},setGlobalWorkflow({commit:e},t){t&&e("setGlobalWorkflow",t)},resetWorkflowsResult({commit:e}){e("resetWorkflowsResult")}},pN={getCollections(e){return e.collections},getPaginationOptions:e=>t=>{const r=e.collections[t];return!r||!r.limit?null:{total:r.total,limit:parseInt(wwLib.wwFormula.getValue(r.limit)),offset:r.offset||0}},getPageCollectionIndex(e,t,r,o){const a=o["websiteData/getPageId"],[,i]=a.split("_");return i||0},getPageCollectionData(e,t,r,o){return o["websiteData/getPage"].data},getPageParameterVariables(e){return e.pageParameterVariables},getPageParameterVariablesFromId:(e,t,r,o)=>a=>{const i=o["websiteData/getPageById"](a)||o["websiteData/getPageByLinkId"](a);return!i||!i.paths?[]:[...i.paths.default.matchAll(/{{([\w]+)\|([^/]+)?}}/g)].map(([,s,d])=>({type:"query",id:s,name:s,value:d,defaultValue:d,pageId:i.id,queryName:"wwParam-"+s}))},getFormulas(e){return e.formulas},getPluginFormulas(e){return e.pluginFormulas},getAllFormulas(e,t){return{...t.getFormulas,...t.getPluginFormulas}},getPluginActions:(e,t,r,o)=>{const a=Gg(wwLib.$pinia);return Object.values(a.configurations).filter(i=>i.actions).map(i=>{const n=o["websiteData/getPluginByComponentId"](i.name)||o["websiteData/getPluginByName"](i.name);return!n||n.isDev&&!i.wwDev?[]:i.actions.map(s=>({...s,pluginId:n&&n.id}))}).flat().filter(i=>i.pluginId).reduce((i,n)=>{const s=`${n.pluginId}-${n.code}`;return{...i,[s]:{...n,id:s}}},{})},getWorkflowResults:e=>t=>e.workflowsResults[t],getGlobalWorkflows(e){return e.globalWorkflows}},bN={namespaced:!0,state:mN,mutations:gN,actions:fN,getters:pN};var E2;const hN={showPageLoadProgress:!1,lang:"en",screenSize:null,screenSizes:{default:{order:0,label:{en:"Desktop",fr:"Ordinateur"},breakPoint:null,icon:"16/desktop",query:null,defaultWidth:1100,defaultHeight:1100*9/16},tablet:{order:1,label:{en:"Tablet",fr:"Tablette"},breakPoint:991,icon:"16/tablet",query:"max-width: 991px",defaultWidth:770,defaultHeight:770*14/9},mobile:{order:2,label:{en:"Mobile",fr:"Mobile"},breakPoint:767,icon:"16/mobile",query:"max-width: 767px",defaultWidth:400,defaultHeight:400*13/9}},isScreenSizeActive:{},theme:((E2=window.localStorage)==null?void 0:E2.getItem("ww-app-theme"))||void 0,activeLinkPopup:null,elementStates:{}},xN={showPageLoadProgress(e,t){e.showPageLoadProgress=t},setTheme(e,t){e.theme=t},setLang(e,t){e.lang=t},setIsScreenSizeActive(e,{screenSize:t,isActive:r}){e.isScreenSizeActive[t]=!!r},setActiveLinkPopup(e,t){const{content:r,background:o,sectionId:a}=t||{};e.activeLinkPopup=t?{content:r,background:o,sectionId:a}:null}},_N={showPageLoadProgress({commit:e},t){e("showPageLoadProgress",t)},setTheme({commit:e},t){e("setTheme",t),window.localStorage&&window.localStorage.setItem("ww-app-theme",t)},setLang({commit:e},t){e("setLang",t)},setIsScreenSizeActive({commit:e},{screenSize:t,isActive:r}){e("setIsScreenSizeActive",{screenSize:t,isActive:r})},setActiveLinkPopup({commit:e},{content:t,background:r,sectionId:o}){e("setActiveLinkPopup",{content:t,background:r,sectionId:o})},closeActiveLinkPopup({commit:e}){e("setActiveLinkPopup",null)}},vN={showPageLoadProgress(e){return e.showPageLoadProgress},getTheme(e,t,r){var o,a;return e.theme===void 0?(a=(o=r.websiteData.design)==null?void 0:o.info)==null?void 0:a.defaultTheme:e.theme},getLang(e){return e.lang},getScreenSize:e=>{const t=Object.keys(e.isScreenSizeActive).filter(r=>e.isScreenSizeActive[r]).map(r=>({name:r,order:e.screenSizes[r].order}));return t.sort(({order:r},{order:o})=>o-r),t.length?t[0].name:"default"},getScreenSizes:e=>e.screenSizes,getActiveLinkPopup:e=>e.activeLinkPopup},yN={namespaced:!0,state:hN,mutations:xN,actions:_N,getters:vN},SN=yD({modules:{websiteData:iN,libraries:cN,data:bN,front:yN}});var Ld={exports:{}},Uv;function wN(){if(Uv)return Ld.exports;Uv=1;function e(){}return e.prototype={on:function(t,r,o){var a=this.e||(this.e={});return(a[t]||(a[t]=[])).push({fn:r,ctx:o}),this},once:function(t,r,o){var a=this;function i(){a.off(t,i),r.apply(o,arguments)}return i._=r,this.on(t,i,o)},emit:function(t){var r=[].slice.call(arguments,1),o=((this.e||(this.e={}))[t]||[]).slice(),a=0,i=o.length;for(a;ar.setAttribute(o,t[o])),r}const $N={isInitialized:Pt(!1),get plugin(){var e;return wwLib.$store.getters["websiteData/getAuthPlugin"]?wwLib.wwPlugins[(e=wwLib.$store.getters["websiteData/getAuthPlugin"])==null?void 0:e.namespace]:null},async init(){var e;if(!this.isInitialized.value){if((e=this.plugin)!=null&&e._initAuth)try{await this.plugin._initAuth()}catch(t){wwLib.wwLog.error("Error while initializing auth",t)}this.isInitialized.value=!0}},getUser(){var e,t;return(e=this.plugin)!=null&&e._getUser?this.plugin._getUser():(t=this.plugin)==null?void 0:t.user},getIsAuthenticated(){var e,t;return(e=this.plugin)!=null&&e._isAuthenticated?this.plugin._getIsAuthenticated():(t=this.plugin)==null?void 0:t.isAuthenticated},getUnauthenticatedPageId(){var e;return(e=this.plugin)!=null&&e._getUnauthenticatedPageId?this.plugin._getUnauthenticatedPageId():this.plugin.settings.publicData.afterNotSignInPageId},getUnauthorizedPageId(){var e;return(e=this.plugin)!=null&&e._getUnauthorizedPageId?this.plugin._getUnauthorizedPageId():this.plugin.settings.publicData.afterForbiddenPageId||this.plugin.settings.publicData.afterNotSignInPageId},getUserRoles(){var i;if((i=this.plugin)!=null&&i._getUserRoles)return this.plugin._getUserRoles();const e=_.get(this.getUser(),this.plugin.settings.publicData.roleKey),t=this.plugin.settings.publicData.roleType,r=this.plugin.settings.publicData.roleTypeKey,o=this.plugin.settings.publicData.roles;let a=[];if(e)t==="string"?a=[e]:t==="array-string"||!t?a=e:t==="array-object"&&(a=e.map(n=>n[r]));else return[];return Array.isArray(o)&&(a=a.map(n=>{var s;return((s=o.find(d=>d.name===n))==null?void 0:s.id)||n})),a},matchUserGroups(e){var t;return(t=this.plugin)!=null&&t._matchUserGroups?this.plugin._matchUserGroups(e):e.some(r=>r&&this.matchUserGroup(r))},matchUserGroup(e){var t,r;return(t=this.plugin)!=null&&t._matchUserGroup?(r=this.plugin)==null?void 0:r._matchUserGroup(e):this.matchRoles(e==null?void 0:e.roles.map(o=>o.value))},matchRoles(e){var t;return(t=this.plugin)!=null&&t._matchRoles?this.plugin._matchRoles(e):e.every(r=>this.getUserRoles().includes(r))}},PN={_getApiUrl(){return"https://api.weweb.io/v1"},_getPluginsUrl(){return"https://data.weweb.io"},_getPreviewUrl(){const e=wwLib.$store.getters["websiteData/getDesignInfo"];return e.wewebPreviewURL?e.wewebPreviewURL:"weweb-preview.io"},_getCdnUrl(){return"https://cdn.weweb.io/"}},CN={getCollection(e){const t=wwLib.$store.getters["data/getCollections"][e];return t||(wwLib.wwLog.error(`Collection ${e} not found`),null)},getCollectionPluginConfig(e){const t=wwLib.wwCollection.getCollection(e);if(!t)return null;const r=t.pluginId?wwLib.$store.getters["websiteData/getPluginById"](t.pluginId):null;return r?Gg(wwLib.$pinia).configurations[`plugin-${r.id}`]:null},getCollectionQueryConfig(e){var r,o;const t=wwLib.wwCollection.getCollectionPluginConfig(e);return((o=(r=t==null?void 0:t.editor)==null?void 0:r.collection)==null?void 0:o.queryConfig)||null},async _fetchCollection(e,{limit:t,offset:r}={}){wwLib.$store.getters["websiteData/getDesignInfo"].id;const o=wwLib.$store.getters["data/getCollections"][e],a=wwLib.$store.getters["websiteData/getPluginById"](o.pluginId);t=t||parseInt(Ne(o.limit));const i={...ts(o.config),...ts(o.filter),...ts(o.sort)};if(o.mode==="dynamic"){const s=Ne(o.config),d=Ne(o.filter),c=Ne(o.sort),{data:m,error:f,total:b}=wwLib.wwPlugins[a.namespace]._fetchCollection&&await wwLib.wwPlugins[a.namespace]._fetchCollection({...o,config:s,offset:r,limit:t,filter:d,sort:c})||{};if(m||f)return Array.isArray(m)?{total:b||m.length,offset:r,data:m,type:"collection",error:f}:{data:m,error:f,type:"single"}}const{data:n}=await axios.post(`//${window.location.hostname}/ww/cms_data_sets/${e}/fetch?limit=${t}&offset=${r}`,{variables:i});return n},async fetchCollection(e,{limit:t,offset:r}={},o){const a=wwLib.globalVariables._navigationId;try{const i=wwLib.$store.getters["data/getCollections"][e];if(!i)return;wwLib.logStore.verbose(`Start fetching collection _wwCollection(${e})`,{workflowContext:o,type:o?"action":"collection"}),wwLib.$store.dispatch("data/setCollectionFetching",{id:e,isFetching:!0}),await wwLib.wwPluginHelper.waitPluginsLoaded(),r=r||0;const n=await this._fetchCollection(e,{limit:t,offset:r});if(a!==wwLib.globalVariables._navigationId){wwLib.logStore.verbose(`Cancelling collection _wwCollection(${e}) fetch (navigation)`,{workflowContext:o,type:o?"action":"collection"});return}if(!n||typeof n!="object")return;if(!n.error&&n.type==="collection"){let d=n.data;const c=wwLib.wwCollection.getCollectionQueryConfig(e)||{};i.mode==="dynamic"&&!c.hasNativePagination?(d=lg(d,i.filter),d=ig(d,i.sort),n.offset=0,n.total=d.length):!i.data||!i.data.length||i.total!==n.total?(d=new Array(n.total).fill(null),d.splice(r,n.data.length,...n.data)):(d=[...i.data],d.splice(r,n.data.length,...n.data)),n.data=d}const s={...i,...n};typeof i.limit=="object"&&(s.limit=i.limit),s.error?(wwLib.logStore.error(`Error happened while fetching collection _wwCollection(${e})`,{error:s.error,workflowContext:o,type:o?"action":"collection"}),_o("on-collection-fetch-error",{event:{error:s.error.message?s.error.message:s.error,collection:s.config.data,collectionId:s.id,collectionName:s.name}})):wwLib.logStore.verbose(`Data fetched for collection _wwCollection(${e})`,{workflowContext:o,type:o?"action":"collection"}),wwLib.$store.dispatch("data/setCollection",s),a===wwLib.globalVariables._navigationId&&wwLib.$store.dispatch("data/setCollectionFetching",{id:e,isFetching:!1})}catch{a===wwLib.globalVariables._navigationId&&wwLib.$store.dispatch("data/setCollectionFetching",{id:e,isFetching:!1})}},updateCollection(e,t,{updateType:r,updateIndex:o,updateBy:a="index",idKey:i,idValue:n,merge:s=!1,refreshFilter:d=!1,refreshSort:c=!1}={}){const m=wwLib.$store.getters["data/getCollections"][e];let f=r==="delete"?null:JSON.parse(JSON.stringify(t)),b=r&&Array.isArray(m.data)?[...m.data]:f,g=o;if(a==="id"&&(g=b.findIndex(h=>h[i]===n),g===-1))throw wwLib.logStore.error(`Item with id ${n} not found in collection ${e}`),new Error(`Item with id ${n} not found in collection ${e}`);r==="insert"?b.splice(g,0,f):r==="update"?s?b[g]=Array.isArray(f)?[...b[g],...f]:{...b[g],...f}:b[g]=f:r==="delete"&&b.splice(g,1),d&&(b=lg(b,m.filter)),c&&(b=ig(b,m.sort)),wwLib.$store.dispatch("data/setCollection",{id:e,data:b,total:b.length})},async setOffset(e,t){const r=wwLib.$store.getters["data/getCollections"][e];wwLib.logStore.verbose(`Updating pagination offset of collection ${r.name} (${e})`,{type:"collection"});const o=wwLib.wwCollection.getCollectionQueryConfig(e)||{};r.mode!=="dynamic"||o.hasNativePagination?await this.fetchCollection(e,{offset:t}):await wwLib.$store.dispatch("data/setCollection",{...r,offset:t}),wwLib.logStore.verbose(`Pagination offset of collection ${r.name} (${e}) updated to ${t}`,{type:"collection"})},getPaginationOptions(e){return wwLib.$store.getters["data/getPaginationOptions"](e)},isCollection(e){return e&&!Array.isArray(e)&&typeof e=="object"&&e.type==="collection"},getCollectionData(...e){return wwLib.wwLog.warn("wwLib.wwCollection.getCollectionData is DEPRECATED, use wwLib.wwUtils.getDataFromCollection instead."),wwLib.wwUtils.getDataFromCollection(...e)}};function ts(e,t={}){return e&&(e.__wwtype?t[JSON.stringify(e,Object.keys(e).sort())]=Ne(e):Array.isArray(e)?e.forEach(r=>{t={...t,...ts(r)}}):typeof e=="object"&&Object.keys(e).forEach(r=>{t={...t,...ts(e[r])}}),t)}const EN={};function YA(e,t,r,o){const a=Fg(t.display,r,o),i={display:a};if(a===!0||a==="flex"||a==="inline-flex"){const n=e["_ww-layout_flexDirection"],s=e["_ww-layout_justifyContent"],d=e["_ww-layout_alignItems"],c=e["_ww-layout_alignContent"],m=e["_ww-layout_rowGap"],f=e["_ww-layout_columnGap"],b=e["_ww-layout_flexWrap"],g=e["_ww-layout_reverse"];n&&(i.flexDirection=n),s&&(i.justifyContent=s),d&&(i.alignItems=d),c&&b&&(i.alignContent=c),m&&(i.rowGap=m),f&&(i.columnGap=f),(n==="column"||b)&&(i.flexWrap=n==="column"||b===!1?"nowrap":"wrap"),n==="column"&&g&&(i.flexDirection="column-reverse"),n==="row"&&g&&(i.flexDirection="row-reverse")}else if(a==="grid"||a==="inline-grid"){const n=e["_ww-grid_flowDirection"],s=Array.isArray(e["_ww-grid_columns"])?e["_ww-grid_columns"].join(" "):"",d=Array.isArray(e["_ww-grid_rows"])?e["_ww-grid_rows"].join(" "):"",c=e["_ww-grid_columnGap"],m=e["_ww-grid_rowGap"];n&&(i.gridAutoFlow=n),s&&(i.gridTemplateColumns=s),d&&(i.gridTemplateRows=d),c&&(i.columnGap=c),m&&(i.rowGap=m)}else if(a==="table"){const n=e["_ww-table_layout"],s=e["_ww-table_borderCollapse"],d=e["_ww-table_borderSpacing"];n&&(i.tableLayout=n),s&&(i.borderCollapse=s),d&&(i.borderSpacing=d)}else(a==="block"||a==="inline-block")&&(i.height="100%",t.textAlign&&(i.textAlign=t.textAlign));return i}const ON={useCreate(){return Ce("componentData",Pt({})),{async createElement(e,{content:t,_state:r}={},{keepChildren:o}={}){wwLib.wwLog.warn('The function "createElement" should not be called on the production website.')},async createElementFromTemplate(e,{keepChildren:t}={}){wwLib.wwLog.warn('The function "createElementFromTemplate" should not be called on the production website.')},async cloneElement(e,{name:t}={}){wwLib.wwLog.warn('The function "cloneElement" should not be called on the production website.')}}},useLayoutStyle(){const e=Ce("componentContent"),t=Ce("componentStyle"),r=Ce("componentConfiguration"),o=Ce("componentWwProps"),a={content:e,wwProps:o};return ye(()=>YA(e,t,r,a))},useBackgroundVideo(){const e=Ce("componentContent");return ye(()=>e["_ww-backgroundVideo"]?{url:e["_ww-backgroundVideo"],loop:e["_ww-backgroundVideoLoop"],poster:e["_ww-backgroundVideoPoster"],preload:e["_ww-backgroundVideoPreload"],size:e["_ww-backgroundVideoSize"]}:null)},useLink({isDisabled:e,forcedLinkRef:t}={}){const r=Ce("componentState",{}),o=Ce("componentWwProps",{}),a=Ce("wwAddInternalState",()=>{}),i=Ce("wwRemoveInternalState",()=>{}),n=Ce("sectionId",null),s=Ce("bindingContext",null),d=qB(),c=ye(()=>{var y;const g=t?t.value:o.value.wwLink?o.value.wwLink:r.link;if(!g||g.type==="none")return{type:"none"};if(g.type==="open-popup"||g.type==="close-popup")return{type:g.type,content:g.content,background:g.background};const h={type:g.type};switch((g.targetBlank||g.type==="file")&&(h.target="_blank"),g.type==="file"&&(!g.file||typeof g.file=="string"?h.download=!0:h.download=g.file.name),g.query&&(h.query=g.query),g.parameters&&(h.parameters=g.parameters),g.type){case"internal":case"collection":{const w=Object.values(wwLib.$store.getters["data/getPageParameterVariablesFromId"](g.pageId));if(!g.pageId)h.href="";else{const M=`${g.pageId}${g.type==="collection"?`_${(s==null?void 0:s.repeatIndex)||0}`:""}`,A=wwLib.$store.getters["websiteData/getPageById"](M)||wwLib.$store.getters["websiteData/getPageByLinkId"](M);if(!A)return{type:"none"};h.href=wwLib.wwPageHelper.getPagePath(A.id),h.pageId=A.id;for(const L of w)h.href=(h.href||"").replace(`{{${L.id}|${L.defaultValue||""}}}`,(y=g.parameters)==null?void 0:y[L.id])}break}case"file":!g.file||typeof g.file=="string"?h.href=g.file||"download":h.href=g.file.url;break;case"mail":h.href=`mailto:${g.href}`;break;case"tel":h.href=`tel:${g.href}`;break;default:h.href=g.href,typeof h.href!="string"&&(h.href=""),h.href&&h.href.startsWith("/")&&(h.type="internal");break}if(g.sectionId&&g.pageId){h.sectionId=g.sectionId;const w=wwLib.$store.getters["websiteData/getPageById"](g.pageId)||wwLib.$store.getters["websiteData/getPageByLinkId"](g.pageId);if(w&&w.sections){const M=w.sections.find(({uid:A,linkId:L})=>A===g.sectionId||L===g.sectionId);M&&(h.sectionId=M.uid,h.hash=`${wwLib.wwUtils.sanitize(M.sectionTitle)}`)}}return g.loadProgress&&(h.loadProgress=!0,h.loadProgressColor=g.loadProgressColor||"blue"),h}),m=ye(()=>c.value.type==="none"||c.value.type==="open-popup"||c.value.type==="close-popup"?"div":c.value.type==="internal"||c.value.type==="collection"?"router-link":"a"),f=ye(()=>{if(c.value.href){let g,h;return g=c.value.href,g.endsWith("/")&&(g=g.slice(0,-1)),g.startsWith("https://")&&(g=g.replace("https://","")),g.startsWith("http://")&&(g=g.replace("http://","")),h=decodeURI(d.path),h.endsWith("/")&&(h=h.slice(0,-1)),g===h}else return!1});Kt(f,g=>{g?a("_wwLinkActive"):i("_wwLinkActive")},{immediate:!0});function b(g,h){if(wwLib.$emit("wwLink:clicked"),g.stopPropagation(),f.value&&!h.target){if(c.value.sectionId){const y=wwLib.$store.getters["websiteData/getPage"].sections.find(({uid:w,linkId:M})=>w===c.value.sectionId||M===c.value.sectionId);if(y){const w=wwLib.$store.getters["websiteData/getSections"][y.uid];wwLib.wwApp.scrollIntoView(wwLib.getFrontDocument().querySelector(`[data-section-uid="${w.uid}"]`))}else wwLib.getFrontWindow().scroll({top:0,left:0,behavior:"smooth"})}return}h.target?window.open(h.href).focus():c.value.type==="internal"?wwLib.getFrontRouter().push(h.href):window.location=h.href}return{properties:ye(()=>{var h,y;let g={};switch(c.value.type){case"close-popup":g.onClick=w=>{er(e)||(w.stopPropagation(),wwLib.$emit("wwLink:closePopup"),wwLib.$store.dispatch("front/closeActiveLinkPopup",null))};break;case"open-popup":g.onClick=w=>{er(e)||(w.stopPropagation(),wwLib.$store.dispatch("front/setActiveLinkPopup",{content:c.value.content,background:c.value.background,sectionId:n}))};break;case"none":break;default:{if(g.href=c.value.href,(c.value.type==="internal"||c.value.type==="collection")&&!(g.href||"").endsWith("/")&&(g.href=`${g.href}/`),c.value.query&&c.value.query.length){const M=(h=c.value.query)==null?void 0:h.filter(A=>!!A).map(({name:A,value:L})=>`${encodeURIComponent(A)}=${encodeURIComponent(L)}`).join("&");g.href=`${g.href}${g.href.indexOf("?")!==-1?"&":"?"}${M}`}c.value.hash&&(g.href=`${g.href}#${c.value.hash}`),g.to=g.href,(y=g.href)!=null&&y.startsWith("/")&&(g.href=g.href.slice(1)),c.value.target&&(g.target=c.value.target),c.value.download&&(g.download=c.value.download);const w=f.value&&c.value.hash&&c.value.target!=="_blank";if(m.value!=="router-link"&&m.value!=="a"||w){if(er(e))return;g.onClick=M=>{c.value.loadProgress&&!f.value&&wwLib.$store.dispatch("front/showPageLoadProgress",{color:c.value.loadProgressColor}),b(M,g)}}else g.onClick=M=>{wwLib.$emit("wwLink:clicked"),c.value.loadProgress&&!f.value&&wwLib.$store.dispatch("front/showPageLoadProgress",{color:c.value.loadProgressColor}),M.stopPropagation()};break}}return g}),tag:m,hasLink:ye(()=>c.value.type!=="none"),normalizedLink:c}},useRegisterElementLocalContext:EG,getComponentLabel:Ng},IN={getValue:Ne,useFormula(){const e=Ce("bindingContext",null),t=Ce("_wwLocalContext",null),r=Ce("wwLayoutContext",null),o=Ce("_wwLibraryComponentContext",null),a=Ce("_wwDropzoneContext",null);return{resolveMappingFormula:(d,c=null,m=null)=>{if(!d||!d.code||!d.type)return m;const f=d.type==="f"?db:sb;try{return f({code:d.code},{mapping:c,item:e||{},layout:r?{id:r.layoutId}:{},component:o==null?void 0:o.component,dropzone:a,local:(t==null?void 0:t.value)||{}}).value}catch{return m}},resolveFormula:(d,c=null)=>{try{return(d.type==="f"?db:sb)({code:d.code},{item:e||{},layout:r?{id:r.layoutId}:{},component:o==null?void 0:o.component,dropzone:a,local:(t==null?void 0:t.value)||{}})}catch{return c}},resolveMapping:(d,c={},m={})=>!Array.isArray(d)||!c?[]:d.map((f,b)=>({rawData:f,...m,...Object.keys(c).reduce((g,h)=>({...g,[h]:this.resolveMappingFormula(c[h],{rawData:f,index:b},m[h])}),{})}))}}},BN={defaultLang:"en",init(e){var r,o,a,i;if(!wwLib.wwWebsiteData.getInfo())return;this.defaultLang=((r=wwLib.wwWebsiteData.getInfo().langs.find(n=>n.default))==null?void 0:r.lang)||"en";const t=wwLib.useBaseTag()?wwLib.getBaseTag():"/";wwLib.$store.dispatch("front/setLang",(i=(a=(o=e.resolve(window.location.pathname.replace(t,"/")))==null?void 0:o.meta)==null?void 0:a.lang)==null?void 0:i.lang)},get lang(){return wwLib.$store?wwLib.$store.getters["front/getLang"]:this.defaultLang},set lang(e){this.setLang(e)},setLang(e){if(!(wwLib.$store.getters["websiteData/getPage"].langs||[]).includes(e))return!1;var r=this.lang;return wwLib.$store.dispatch("front/setLang",e),wwLib.$emit("wwLang:changed",{old:r,new:this.lang}),!0},getText(e){return e===void 0?"":e===null||typeof e!="object"?String(e):e[this.lang]!==void 0?e[this.lang]:e[this.defaultLang]!==void 0?e[this.defaultLang]:Object.keys(e).length!=0&&e[Object.keys(e)[0]]||""},setText(e,t,r){return typeof e!="object"&&(e={}),r=r||this.lang,e[r]=t,e}},DN={isAllowed:!1,init(){this.isAllowed=VT.getCookie("debug")},log(...e){this.isAllowed&&console.log(...e)},debug(...e){this.isAllowed&&console.debug(...e)},group(...e){this.isAllowed&&console.group(...e)},groupEnd(...e){this.isAllowed&&console.groupEnd(...e)},warn(...e){console.warn(...e)},info(...e){console.info(...e)},error(...e){console.error(...e)}},kN=3;class La{static get typeAliases(){return{"ww-text":"d7904e9d-fc9a-4d80-9e32-728e097879ad","ww-image":"3a7d6379-12d3-4387-98ff-b332bb492a63","ww-button":"59dca300-db78-42e4-a7a6-0cbf22d3cc82","ww-icon":"1b1e2173-9b78-42cc-a8ee-a6167caea340","ww-checkbox":"af811adf-94d9-49dd-ab22-e2f29ae30299","ww-video":"1494761b-1d0c-4266-aba7-7f24f824978e","ww-iframe":"6d692ca2-6cdc-4805-aa0c-211102f335d0","ww-columns":"21881619-a984-4847-81a9-922c3dbb5853","ww-container":"086d46a0-9232-4df3-8119-7d3c8779cb1a","ww-flexbox":"b783dc65-d528-4f74-8c14-e27c934c39b1","ww-hover-dropdown":"0dc461bb-103e-4b2e-80e0-846ec3c30a6e","ww-map":"3265984a-eb92-4d73-b702-dbd0e4d1472e","ww-expand":"53401515-b694-4c79-a88d-abeecb1de562","ww-tabs":"fa33562c-495c-4d2e-bc8f-cf5ec449bf6e","navigation-menu":"fb3e0024-f017-4193-a6a1-bc2eed330d1d"}}static getDefault(t,r={},o={},a){return t=this.typeAliases[t]||t,r.default||(r={default:r}),{isWwObject:!0,version:kN,type:t,content:r,name:a,_state:o,wwObjectBaseId:t}}static async create(t,r,o,a,i,n){return await La.createFromTemplate(La.getDefault(t,r,o,o&&o.name),a,i,n)}static async createFromTemplate(t,r,o,a){const i=t.type;if(i&&!t.wwObjectBaseId&&(t.wwObjectBaseId=this.typeAliases[i]||i),i&&(i==="ww-button"||i==="ww-text")&&t.content.default.text){const n={...t.content.default};n["_ww-text_text"]=n.text,delete n.text,t.content.default=n}return t.parentSectionId=r,t.parentLibraryComponentId=a,await wwLib.$store.dispatch("websiteData/createWwObjectFromTemplate",{wwObjectTemplate:t,noHistory:!0,keepChildren:o})}static async createLibraryComponentInstance(t){return await wwLib.$store.dispatch("websiteData/createWwObjectFromTemplate",{wwObjectTemplate:{isWwObject:!0,libraryComponentBaseId:t,content:{},_state:{}},noHistory:!0})}static async cloneElement(t,r,o,a){const i=La.convertToTemplate(t);return{isWwObject:!0,uid:await La.createFromTemplate({...i,name:o},r,!1,a)}}static convertToTemplate(t){return wwLib.$store.getters["websiteData/getFullWwObject"](t,!0)}static getWwObject(t){return wwLib.$store.getters["websiteData/getWwObjects"][t]}static async removeWwObject(t){async function r(a,i){var n;if(JSON.stringify(i).includes(t)){const s=((n=i.content)==null?void 0:n.default)||{};for(const d in s)if(Array.isArray(s[d])){const c=s[d].findIndex(m=>m.uid===t);if(c!==-1){let m=JSON.parse(JSON.stringify(s[d]));return m.splice(c,1),await wwLib.$store.dispatch("websiteData/removeWwObject",{wwObjectId:t,originElement:{wwObjectId:a=="element"?i.uid:null,sectionId:a=="section"?i.uid:null,path:`content.${d}`,value:m}}),{parentId:i.uid,childPath:d,childIndex:c}}}}}let o;for(const a in wwLib.$store.getters["websiteData/getSections"]){const i=wwLib.$store.getters["websiteData/getSections"][a];if(i.uid===t)continue;const n=await r("section",i);n&&(o={...n,type:"section"})}for(const a in wwLib.$store.getters["websiteData/getWwObjects"]){const i=wwLib.$store.getters["websiteData/getWwObjects"][a];if(i.uid===t)continue;const n=await r("element",i);n&&(o={...n,type:"element"})}return o}static findParentWwObject(t){function r(a,i){var n,s,d,c,m;if(JSON.stringify(i).includes(t)){const f=((n=i.content)==null?void 0:n.default)||{};for(const b in f)if(Array.isArray(f[b])){const g=f[b].findIndex(h=>h.uid===t);if(g!==-1)return{parentId:i.uid,childType:"array",childPath:b,childIndex:g}}else{if(((s=f[b])==null?void 0:s.uid)===t)return{parentId:i.uid,childType:"single",childPath:b};if((c=(d=f[b])==null?void 0:d.repeatable)!=null&&c.length&&((m=f[b])==null?void 0:m.repeatable[0].uid)===t)return{parentId:i.uid,childType:"array",childPath:`${b}.repeatable`,childIndex:0}}}}let o;for(const a in wwLib.$store.getters["websiteData/getSections"]){const i=wwLib.$store.getters["websiteData/getSections"][a];if(i.uid===t)continue;const n=r("section",i);n&&(o={...n,parentSectionId:i.uid,parentLibraryComponentId:i.parentLibraryComponentId,type:"section"})}for(const a in wwLib.$store.getters["websiteData/getWwObjects"]){const i=wwLib.$store.getters["websiteData/getWwObjects"][a];if(i.uid===t)continue;const n=r("element",i);n&&(o={...n,parentSectionId:i.parentSectionId,parentLibraryComponentId:i.parentLibraryComponentId,type:"element"})}return o}static findWwObjectByName(t){for(const r in wwLib.$store.getters["websiteData/getWwObjects"]){const o=wwLib.$store.getters["websiteData/getWwObjects"][r];if(o.name===t)return o}for(const r in wwLib.$store.getters["websiteData/getSections"]){const o=wwLib.$store.getters["websiteData/getSections"][r];if(o.sectionTitle===t)return o}return null}}const GN={getPagePath(e,t=wwLib.wwLang.lang){const r=wwLib.wwWebsiteData.getInfo();if(!r)throw new Error("Project not found.");let o="/";const a=r.langs.find(d=>d.lang===t);if(!a)throw new Error("Lang not found.");const i=wwLib.wwWebsiteData.getPages().find(d=>d.id===e||d.linkId===e);if(!i)throw new Error("Page not found.");const n=i&&i.id===r.homePageId,s=`${o}${a.default&&!a.isDefaultPath?"":`${t}/`}${n?"":i.paths[t]||i.paths.default}`;return s.endsWith("/")?s:`${s}/`},guessPage(e){const r=NN().resolve(e);return r?{pageId:r.name.split("_")[1],params:r.params,collectionIndex:r.name.split("_")[3]}:null}};function NN(){const e=[];for(const t of wwLib.wwWebsiteData.getPages())Object.keys(t.paths).forEach(r=>{t.cmsDataSetPath?We.getKeyValue(wwLib.$store.getters["data/getCollections"],t.cmsDataSetPath).forEach((a,i)=>{const n=t.paths[r].match(/{{__wwPage\.data\.(\w+)}}/)[1],s=We.getKeyValue(a,n).toLowerCase().replace(/[^a-z0-9\\_\-\/]+/g,"_");e.push({name:`page_${t.id}_${r}_${i}`,path:(r==="default"?"":"/"+r)+"/"+s})}):e.push({name:`page_${t.id}_${r}`,path:(r==="default"?"":"/"+r)+"/"+t.paths[r].replace(/{{([\w]+)\|([^/]+)?}}/g,":$1")})});return uA({routes:e,history:tb()})}const FN={async registerPlugin(e,t,r=null){var s,d;const o=wwLib.$store.getters["websiteData/getPluginByComponentId"](e)||wwLib.$store.getters["websiteData/getPluginByName"](e)||await wwLib.$store.dispatch("websiteData/addDevPlugin",{...r||{}});wwLib.wwPlugins||(wwLib.wwPlugins=ss({}));let a;a=window.wwg_pluginsSettings[o.id]||{publicData:{},privateData:{}};const n=Gg(wwLib.$pinia).configurations[e];wwLib.$store.dispatch("websiteData/updatePlugin",{pluginId:o.id,settings:a,isLoaded:o.isLoaded||!1}),this.mountPlugin(o,{content:((s=this._devPlugins[o.namespace])==null?void 0:s.content)||t,config:((d=this._devPlugins[o.namespace])==null?void 0:d.config)||n,settings:a})},mountPlugin(e,{content:t={},config:r={},settings:o={}}){wwLib.wwPlugins[e.namespace]={...t,name:e.name,namespace:e.namespace,isDev:e.isDev,get id(){return(wwLib.$store.getters["websiteData/getPluginByName"](e.namespace)||{}).id},get isLoaded(){const s=wwLib.$store.getters["websiteData/getPluginByName"](e.namespace)||{};return wwLib.$store.getters["websiteData/getPluginIsLoaded"](s.id)},get settings(){const s=wwLib.$store.getters["websiteData/getPluginByName"](e.namespace)||{};return We.cloneDeep(wwLib.$store.getters["websiteData/getPluginSettings"](s.id)||{publicData:{},privateData:{}})}},e.id!==e.namespace&&(wwLib.wwPlugins[e.id]=wwLib.wwPlugins[e.namespace]);const a=Or(wwLib.$pinia);let i=r==null?void 0:r.variables;typeof i=="function"?i=i(o):typeof i=="object"&&!Array.isArray(i)&&(i=Object.values(i)),(i||[]).forEach(s=>{a.add("plugin",`${e.id}-${s.name}`,{...s,pluginId:e.id,id:`${e.id}-${s.name}`,value:s.defaultValue,defaultValue:s.defaultValue}),a.values[`${e.id}-${s.name}`]=We.cloneDeep(s.defaultValue),Object.defineProperty(wwLib.wwPlugins[e.namespace],s.name,{get(){return a.values[`${e.id}-${s.name}`]},set(d){wwLib.wwVariable.updateValue(`${e.id}-${s.name}`,d)}})}),((r==null?void 0:r.formulas)||[]).forEach(s=>{wwLib.$store.dispatch("data/setPluginFormula",{...s,pluginId:e.id,id:`${e.id}-${s.name}`})});const n=new Promise(async s=>{try{wwLib.wwPlugins[e.namespace]._onLoad?await wwLib.wwPlugins[e.namespace]._onLoad(o):wwLib.wwPlugins[e.namespace].onLoad&&await wwLib.wwPlugins[e.namespace].onLoad(o)}catch(d){wwLib.wwLog.error(d)}wwLib.$store.dispatch("websiteData/updatePlugin",{pluginId:e.id,isLoaded:!0}),s()});this._pluginPromises.push(n)},async initPlugins(){await this.waitPluginsLoaded()},async waitPluginsLoaded(){return await Promise.all(this._pluginPromises)},_pluginPromises:[],_devPlugins:{}},RN=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function VN(e){return typeof e=="string"&&RN.test(e)}const hr=[];for(let e=0;e<256;++e)hr.push((e+256).toString(16).slice(1));function HN(e,t=0){return(hr[e[t+0]]+hr[e[t+1]]+hr[e[t+2]]+hr[e[t+3]]+"-"+hr[e[t+4]]+hr[e[t+5]]+"-"+hr[e[t+6]]+hr[e[t+7]]+"-"+hr[e[t+8]]+hr[e[t+9]]+"-"+hr[e[t+10]]+hr[e[t+11]]+hr[e[t+12]]+hr[e[t+13]]+hr[e[t+14]]+hr[e[t+15]]).toLowerCase()}let Lp;const YN=new Uint8Array(16);function UN(){if(!Lp){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Lp=crypto.getRandomValues.bind(crypto)}return Lp(YN)}const XN=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Wv={randomUUID:XN};function WN(e,t,r){var a;if(Wv.randomUUID&&!e)return Wv.randomUUID();e=e||{};const o=e.random??((a=e.rng)==null?void 0:a.call(e))??UN();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,HN(o)}const jN={getUniqueId(){wwLib.wwLog.warn("wwLib.wwUtils.getUniqueId is deprecated, use wwLib.wwUtils.getUid instead");var e=new Date;return Math.floor((e.getTime()*Math.random()+Math.random()*1e4+Math.random()*100)/100)},getUid(){return WN()},isValidUuid(e){return VN(e)},getCdnPrefix(){return"https://cdn.weweb.io/"},getLengthUnit(e,{defaultLength:t,defaultUnit:r,round:o=!0}={}){if(typeof e!="string")return[0,"auto"];if(e=e||"",typeof e!="string")return[0,"auto"];if(e==="auto")return[0,"auto"];if(e==="unset")return[0,"unset"];if(e==="normal")return[0,"normal"];const a=new RegExp(/^(-?[\d.]+)(.*)$/);let[,i,n]=e.match(a)||[null,t||0,r||"auto"];return n=n||r||"auto",[o?Math.round(i):i,n]},getTextStyleFromContent(e){const t={...e["_ww-text_font"]?{fontSize:"unset",fontFamily:"unset",lineHeight:"unset",fontWeight:"unset",fontStyle:"unset",font:e["_ww-text_font"]||""}:{fontSize:e["_ww-text_fontSize"],fontFamily:e["_ww-text_fontFamily"]||"var(--ww-default-font-family)",lineHeight:e["_ww-text_lineHeight"],fontWeight:e["_ww-text_fontWeight"],fontStyle:e["_ww-text_fontStyle"]},textAlign:e["_ww-text_textAlign"],color:e["_ww-text_color"],textTransform:e["_ww-text_textTransform"],textShadow:e["_ww-text_textShadow"],letterSpacing:e["_ww-text_letterSpacing"],wordSpacing:e["_ww-text_wordSpacing"],textDecoration:e["_ww-text_textDecoration"],textDecorationStyle:e["_ww-text_textDecorationStyle"],textDecorationColor:e["_ww-text_textDecorationColor"],textOverflow:e["_ww-text_ellipsis"]?"ellipsis":"initial",whiteSpace:e["_ww-text_nowrap"]?"nowrap":"initial",whiteSpaceCollapse:"preserve"};return e["_ww-text_nowrap"]&&(t.overflow="hidden"),t},getStyleFromToken(e){if(!e||typeof e!="string")return null;const t=/^var\(--(.+)\s*,\s*(.+)\)$/;let[,r]=e.match(t)||[];return r?(r=r.split(",")[0],getComputedStyle(wwLib.getFrontDocument().getElementsByClassName("website-wrapper")[0]).getPropertyValue(`--${r}`)||null):null},getTypoFromToken(e){e||(e="400 12px/normal var(--ww-default-font-family, sans-serif)");let[t,r,o,...a]=e.split(" ");t!=="italic"&&([r,o,...a]=e.split(" "),t=null);const[i,n]=o.split("/");let s=a&&a.length?a.join(" "):void 0;return s&&s.startsWith("var(--")&&(s=void 0),r=parseInt(r||400),isNaN(r)&&(r=400),{fontWeight:r,fontSize:i,lineHeight:n||"normal",fontFamily:s,fontStyle:t}},getDataFromCollection(e){if(!wwLib.wwCollection.isCollection(e))return e;if(!e.limit||!e.total||!Array.isArray(e.data))return e.data;const r=parseInt(e.offset)||0;return e.data.slice(r,r+parseInt(Ne(e.limit)))},isEmpty(e){return e==null||e===""||Array.isArray(e)&&e.length===0||typeof e=="object"&&JSON.stringify(e)==="{}"},resolveObjectPropertyPath(e,t){return _.get(e,t)},addScriptToHead(e,t=!1){wwLib.wwLog.warn("wwUtils.addScriptToHead is deprecated, use wwLib.wwApp.addScriptToHead instead");const r={...e.async?{async:e.async}:{},...e.charset?{defer:e.charset}:{},...(e==null?void 0:e.attributes)||{}};wwLib.wwApp.addScriptToHead(e.link,r,{once:!t,editor:e.manager})},scrollIntoView(e,t=0){wwLib.wwLog.warn("wwUtils.scrollIntoView is deprecated, use wwLib.wwApp.scrollIntoView instead"),wwLib.wwApp.scrollIntoView(e,{offset:t,behavior:"smooth"})},convertColorToRGB(e){const t=/^#?([a-fA-F\d]{2})([a-fA-F\d]{2})([a-fA-F\d]{2})([a-fA-F\d]{2})*$/i.exec(e);if(t){const r=t[4]?parseInt(t[4],16)/255:1;return"rgba("+parseInt(t[1],16)+","+parseInt(t[2],16)+","+parseInt(t[3],16)+","+r+")"}else return e},convertImgExtToType(e){switch(e=e||"jpg",e){case"jpg":return"image/jpeg";case"svg":return"image/svg+xml";default:return"image/"+e}},formatBgImgUrl(e){return e.startsWith("url(")?e:`url("${e.replace(/[()'"]/g,"\\$&")}")`},getImgCdnUrl(e){return e.includes("https://cdn.weweb.io/")||e.startsWith("https://")||e.startsWith("http://")?e:"https://cdn.weweb.io/"+e},getImgExtFromUrl(e){return e.split(".")[e.split(".").length-1].toLowerCase().split("?")[0]},removeUid(e){if(e&&typeof e=="object"){e.uid&&e.content&&(e.isWwObject=!0,delete e.uid);for(const t in e)e[t]&&typeof e[t]=="object"&&wwLib.wwUtils.removeUid(e[t])}},sanitize(e){return!e||typeof e!="string"?"":e.toLowerCase().replace(/\s/g,"_")},getComponentType(e){var t,r,o;return(t=wwLib.$store.getters["websiteData/getWwObjects"][e])!=null&&t.wwObjectBaseId?"element":(r=wwLib.$store.getters["websiteData/getWwObjects"][e])!=null&&r.libraryComponentBaseId?"libraryComponent":(o=wwLib.$store.getters["websiteData/getSections"][e])!=null&&o.sectionBaseId?"section":null}},KN={getValue(e){return Or(wwLib.$pinia).values[e]},updateValue(e,t,{path:r,index:o,arrayUpdateType:a,workflowContext:i,silent:n}={}){const s=Or(wwLib.$pinia),d=s.getConfiguration(e);try{if(!d)throw wwLib.logStore.error(`Try to set variable ${e} (not found)`,{type:i?"action":null}),new Error("variable not found");return t===void 0&&!["delete","shift","pop"].includes(a)?void 0:(t=FA(d,t,{path:r,arrayUpdateType:a}),s.setValue(e,t,{path:r,index:o,arrayUpdateType:a,workflowContext:i,silent:n}),t)}catch(c){wwLib.wwLog.error(`Unable to update variable ${d?`${d.name} of type ${d.type}`:""} (${e}) : ${c.message} - got : `),wwLib.wwLog.error(t)}},useComponentVariable({uid:e,name:t,defaultValue:r,componentType:o="element",type:a="any",readonly:i=!1,resettable:n=!1,onUpdate:s=()=>{},labelOnly:d=null,preserveReference:c=!1,isActive:m=Pt(!0)}){var W;if(!e){wwLib.wwLog.error(`Missing uid for creating component variable ${t}`);return}const f=Pt(null),b=Ce("bindingContext",null),g=Ce("_wwLibraryComponentContext",null),h=ye(()=>b!==null),y=ye(()=>g!==null),w=Ce("sectionId"),M=Or();Kt(m,K=>{K&&!f.value?h.value||(y.value?f.value=jv({uid:e,name:t,defaultValue:r,componentType:o,type:a,readonly:i,resettable:n,sectionId:w,labelOnly:d,libraryContext:g}):f.value=wwLib.wwVariable.registerComponentVariable({uid:e,name:t,defaultValue:r,componentType:o,type:a,readonly:i,resettable:n,sectionId:w,labelOnly:d,preserveReference:c})):!K&&f.value&&(y.value?Kv({variableId:f.value,libraryContext:g}):zv(f.value),f.value=null)},{immediate:!0});const A=Ce("wwElementState"),L=ye(()=>A.props[t]),C=ye(()=>Object.keys(A.props).includes(t)),I=Pt(h.value?er(r):y.value?(W=g==null?void 0:g.component)==null?void 0:W.variables[f.value]:M.values[f.value]),F=ye(()=>{var K;return C.value?L.value:h.value?I.value:y.value?(K=g==null?void 0:g.component)==null?void 0:K.variables[f.value]:M.values[f.value]}),R=Ce("triggerElementEvent");function q(K){var V,J;const N=_.cloneDeep(F.value);if(C.value){R({type:`update:${t}`,value:K});return}if(!h.value){let ee;y.value?ee=(J=(V=g==null?void 0:g.component)==null?void 0:V.methods)==null?void 0:J.updateVariable(f.value,K):ee=wwLib.wwVariable.updateValue(f.value,K),ee!==N&&s(ee,N)}I.value=K}return{value:Ym(F),internalValue:Ym(I),setValue:q}},registerComponentVariable({uid:e,name:t,id:r,defaultValue:o,componentType:a,type:i,readonly:n,resettable:s,sectionId:d,labelOnly:c,initialValue:m,useInitialValue:f=!1,preserveReference:b=!1}){r=r||`${e}-${t}`;const g=Or(wwLib.$pinia);return g.add("component",r,{componentUid:e,id:r,name:t,defaultValue:o,componentType:a,type:i,readonly:n,resettable:s,sectionId:d,labelOnly:c,preserveReference:b}),g.values[r]=f?m:We.cloneDeep(er(o)),r},registerLibraryComponentVariable:jv,registerPluginVariable({uid:e,name:t,defaultValue:r,type:o}){const a=Or(wwLib.$pinia),i=`${e}-${t}`;return a.add("plugin",i,{pluginId:e,id:i,name:t,type:o}),a.values[i]=We.cloneDeep(er(r)),i},unregisterPluginVariable(e){Or(wwLib.$pinia).remove(e)},unregisterComponentVariable:zv,unregisterLibraryComponentVariable:Kv};function jv({uid:e,id:t,name:r,defaultValue:o,componentType:a,type:i,readonly:n,resettable:s,sectionId:d,labelOnly:c,libraryContext:m,initialValue:f,useInitialValue:b=!1}){return t=t||`${e}-${r}`,m.component.componentVariablesConfiguration[t]={componentUid:e,id:t,name:r,defaultValue:o,componentType:a,type:i,readonly:n,resettable:s,sectionId:d,labelOnly:c},m.component.variables[t]=b?f:We.cloneDeep(er(o)),t}function Kv({id:e,libraryContext:t}){delete t.component.componentVariablesConfiguration[e],delete t.component.variables[e]}function zv(e){Or(wwLib.$pinia).remove(e)}const zN={async init(){const e=wwLib.getFrontWindow().wwg_designInfo;await wwLib.$store.dispatch("websiteData/setFullDesign",e)},async fetchPage(e){wwLib.logStore.verbose(`Loading page: _wwPage(${e})...`),await qN(e),wwLib.logStore.verbose("Page loaded")},getPageRoute(e,t){const r=this.getPages(),o=this.getInfo();for(const a of r)if(a.linkId==e||a.id==e)return t&&a.id==o.homePageId?"":a.paths[wwLib.wwLang.lang];return""},getWebsiteName(){return wwLib.wwLog.warn("wwUtils.wwWebsiteData.getWebsiteName is deprecated"),wwLib.$store.getters["websiteData/getDesignInfo"].name},getDesign(){return wwLib.$store.getters["websiteData/getDesign"]||null},getInfo(){return this.getDesign().info},getPages(){return this.getDesign().pages},getCurrentPage(){return wwLib.$store.getters["websiteData/getPage"]},getCurrentPageId(){return wwLib.$store.getters["websiteData/getPageId"]}};async function qN(e){if(!e)return;let t;try{const r=wwLib.useBaseTag()?wwLib.getBaseTag():"/",o=window.location.pathname.replace(r,"/").startsWith(`/${wwLib.wwLang.lang}/`)?wwLib.wwLang.lang:"";let a=`${r}data/${e.split("_")[0]}.json?wwlang=${o}&_wwcv=${window.wwg_cacheVersion}`;const{data:{cacheVersion:i,page:n,sections:s,wwObjects:d,collections:c,variables:m,formulas:f,workflows:b,libraryComponents:g}}=await axios.get(a);if(i!=window.wwg_cacheVersion)throw{reloadUrl:!0};if(n.cmsDataSetPath){a=`${r}data/${e}.json?wwlang=${o}&_wwcv=${window.wwg_cacheVersion}`;const{data:{page:h}}=await axios.get(a);for(const y in h)n[y]=h[y]}if(c){const h=[];for(const y of Object.values(c).filter(w=>w.mode==="static"))wwLib.$store.getters["data/getCollections"][y.id]||h.push(axios.get(`/collections/${y.id}.json?_wwcv=${window.wwg_cacheVersion}`).then(({data:w})=>y.data=w).catch(w=>wwLib.wwLog.error(w)));await Promise.all(h)}t={page:n,sections:s,wwObjects:d},await wwLib.$store.dispatch("websiteData/setAllData",{page:t,collections:c,variables:m,formulas:f,workflows:b,libraryComponents:g})}catch(r){throw{redirectUrl:r.response.data.redirectUrl}}wwLib.$emit("wwStore:dataLoaded")}const ZN={executeTrigger(e,{event:t,conditions:r={}}){_o({trigger:e,conditions:r},{event:t})},async executeGlobal(e,t){if(!e)throw new Error("No workflow provided.");const r=wwLib.$store.getters["data/getGlobalWorkflows"][e];if(!r)throw new Error("Workflow not found.");const o=await Mn(r,{context:{parameters:t,workflow:wwLib.$store.getters["data/getWorkflowResults"](e)}});if(o.error)throw o.error;return o.result}},QN={_navigationId:0,customCodeVariables:yt({}),globalComponentActionsFn:yt({sections:{},elements:{},libraryComponents:{}})};function JN(){const e=Pt({});function t(){for(const b in e.value)try{const g=wwLib.getFrontDocument().querySelector(`[data-ww-element][id='${b}']`)||wwLib.getFrontDocument().querySelector(`.ww-section-element[id='${b}']`);if(!g){Object.keys(e.value[b]).length&&eF(e.value[b]);continue}const h=g.getBoundingClientRect();c(b,"x",Math.floor(h.left)),c(b,"y",Math.floor(h.top)),c(b,"width",Math.floor(h.width)),c(b,"height",Math.floor(h.height));const y=r.value.screenSize.width,w=r.value.screenSize.height,M=m((y-h.left)*100/(y+h.width)),A=m((w-h.top)*100/(w+h.height));c(b,"xPercent",M),c(b,"yPercent",A)}catch(g){wwLib.wwLog.error(g)}requestAnimationFrame(t)}const r=Pt({scroll:{x:0,y:0,xPercent:0,yPercent:0},screenSize:{width:0,height:0},pageSize:{width:0,height:0}});function o(){r.value.scroll.x=Math.floor(wwLib.getFrontWindow().scrollX),r.value.scroll.y=Math.floor(wwLib.getFrontWindow().scrollY)}function a(){r.value.scroll.xPercent=m(100*r.value.scroll.x/(r.value.pageSize.width-r.value.screenSize.width||1)),r.value.scroll.yPercent=m(100*r.value.scroll.y/(r.value.pageSize.height-r.value.screenSize.height||1))}function i(){r.value.screenSize.width=Math.floor(wwLib.getFrontWindow().innerWidth),r.value.screenSize.height=Math.floor(wwLib.getFrontWindow().innerHeight)}function n(){r.value.pageSize.width=Math.floor(wwLib.getFrontWindow().document.documentElement.scrollWidth),r.value.pageSize.height=Math.floor(wwLib.getFrontWindow().document.documentElement.scrollHeight)}async function s(){await _o("page-scroll",{event:JSON.parse(JSON.stringify(r.value))})}async function d(){await _o("page-resize",{event:JSON.parse(JSON.stringify(r.value))})}function c(b,g,h){var y;((y=e.value[b])==null?void 0:y[g])!==h&&(e.value[b][g]=h)}function m(b){return parseFloat(Math.floor(b*100)/100)}function f(){o(),i(),n(),a()}return{screen:r,componentPositionInfo:e,setValues:f,start:()=>{f(),wwLib.getFrontWindow().addEventListener("scroll",()=>{o(),a(),s()}),wwLib.getFrontWindow().addEventListener("resize",()=>{i(),a(),d()}),new ResizeObserver(()=>{n(),a()}).observe(wwLib.getFrontWindow().document.documentElement),t()}}}function eF(e){for(const t in e)delete e[t]}function tF(){const e=Pt({keydown:{key:"",keyCode:0,shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1},keyup:{key:"",keyCode:0,shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1}});function t(a){e.value.keydown={key:a.key,keyCode:a.keyCode,shiftKey:a.shiftKey,ctrlKey:a.ctrlKey,altKey:a.altKey,metaKey:a.metaKey},_o("keydown",{event:e.value.keydown})}function r(a){e.value.keyup={key:a.key,keyCode:a.keyCode,shiftKey:a.shiftKey,ctrlKey:a.ctrlKey,altKey:a.altKey,metaKey:a.metaKey},_o("keyup",{event:e.value.keyup})}function o(){wwLib.getFrontWindow().addEventListener("keydown",t),wwLib.getFrontWindow().addEventListener("keyup",r)}return{keyboardEventInfo:e,start:o}}const Ol={ERROR:"error",WARNING:"warning",INFO:"info",VERBOSE:"verbose"};function rF(){const e=Pt([]);let t=[];function r(o,a,i){}return{logs:e,log:r,error(o,a){Ol.ERROR},warning(o,a){Ol.WARNING},info(o,a){Ol.INFO},verbose(o,a){Ol.VERBOSE},registerListener(o){t.push(o)},unregisterListener(o){t=t.filter(a=>a!==o)},clear(){e.value=[]},TYPES:Ol}}const Il={wwApp:AN,wwAuth:$N,wwApiRequests:PN,wwCollection:CN,wwEditor:EN,wwElement:ON,wwElementHelper:La,wwFormula:IN,wwLang:BN,wwLog:DN,wwObjectHelper:La,wwPageHelper:GN,wwPluginHelper:FN,wwUtils:jN,wwVariable:KN,wwWebsiteData:zN,wwWorkflow:ZN,globalVariables:QN,scrollStore:JN(),keyboardEventStore:tF(),logStore:rF()},oF=kg("icons",()=>{let e={};return{async getIcon(t){var i;if(e[t])return await e[t];const r=(i=window.wwg_designInfo)==null?void 0:i.baseTag;let o=(r==null?void 0:r.href)||null;o&&(o.startsWith("/")||(o=`/${o}`),o.endsWith("/")||(o=`${o}/`));const a=`${o??"/"}icons/${t}.svg`;return e[t]=fetch(a).then(n=>n.ok?n.text():null),await e[t]}}});var Jd={exports:{}},nF=Jd.exports,qv;function de(){return qv||(qv=1,(function(e,t){(function(r,o){e.exports=o()})(nF,(function(){var r=1e3,o=6e4,a=36e5,i="millisecond",n="second",s="minute",d="hour",c="day",m="week",f="month",b="quarter",g="year",h="date",y="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,M=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},L=function(J,ee,Z){var re=String(J);return!re||re.length>=ee?J:""+Array(ee+1-re.length).join(Z)+J},C={s:L,z:function(J){var ee=-J.utcOffset(),Z=Math.abs(ee),re=Math.floor(Z/60),X=Z%60;return(ee<=0?"+":"-")+L(re,2,"0")+":"+L(X,2,"0")},m:function J(ee,Z){if(ee.date()1)return J(ve[0])}else{var De=ee.name;F[De]=ee,X=De}return!re&&X&&(I=X),X||!re&&I},W=function(J,ee){if(R(J))return J.clone();var Z=typeof ee=="object"?ee:{};return Z.date=J,Z.args=arguments,new N(Z)},K=C;K.l=q,K.i=R,K.w=function(J,ee){return W(J,{locale:ee.$L,utc:ee.$u,x:ee.$x,$offset:ee.$offset})};var N=(function(){function J(Z){this.$L=q(Z.locale,null,!0),this.parse(Z)}var ee=J.prototype;return ee.parse=function(Z){this.$d=(function(re){var X=re.date,oe=re.utc;if(X===null)return new Date(NaN);if(K.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var ve=X.match(w);if(ve){var De=ve[2]-1||0,Oe=(ve[7]||"0").substring(0,3);return oe?new Date(Date.UTC(ve[1],De,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,Oe)):new Date(ve[1],De,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,Oe)}}return new Date(X)})(Z),this.$x=Z.x||{},this.init()},ee.init=function(){var Z=this.$d;this.$y=Z.getFullYear(),this.$M=Z.getMonth(),this.$D=Z.getDate(),this.$W=Z.getDay(),this.$H=Z.getHours(),this.$m=Z.getMinutes(),this.$s=Z.getSeconds(),this.$ms=Z.getMilliseconds()},ee.$utils=function(){return K},ee.isValid=function(){return this.$d.toString()!==y},ee.isSame=function(Z,re){var X=W(Z);return this.startOf(re)<=X&&X<=this.endOf(re)},ee.isAfter=function(Z,re){return W(Z)0,F<=I.r||!I.r){F<=1&&C>0&&(I=A[C-1]);var R=M[I.l];g&&(F=g(""+F)),y=typeof R=="string"?R.replace("%d",F):R(F,m,I.l,w);break}}if(m)return y;var q=w?M.future:M.past;return typeof q=="function"?q(y):q.replace("%s",y)},i.to=function(c,m){return s(c,m,this,!0)},i.from=function(c,m){return s(c,m,this)};var d=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(d(this),c)},i.fromNow=function(c){return this.from(d(this),c)}}}))})(eu)),eu.exports}var sF=lF();const dF=ae(sF);var tu={exports:{}},uF=tu.exports,Qv;function cF(){return Qv||(Qv=1,(function(e,t){(function(r,o){e.exports=o()})(uF,(function(){return function(r,o,a){o.prototype.dayOfYear=function(i){var n=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?n:this.add(i-n,"day")}}}))})(tu)),tu.exports}var mF=cF();const gF=ae(mF);var ru={exports:{}},fF=ru.exports,Jv;function pF(){return Jv||(Jv=1,(function(e,t){(function(r,o){e.exports=o()})(fF,(function(){var r="week",o="year";return function(a,i,n){var s=i.prototype;s.week=function(d){if(d===void 0&&(d=null),d!==null)return this.add(7*(d-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var m=n(this).startOf(o).add(1,o).date(c),f=n(this).endOf(r);if(m.isBefore(f))return 1}var b=n(this).startOf(o).date(c).startOf(r).subtract(1,"millisecond"),g=this.diff(b,r,!0);return g<0?n(this).startOf("week").week():Math.ceil(g)},s.weeks=function(d){return d===void 0&&(d=null),this.week(d)}}}))})(ru)),ru.exports}var bF=pF();const hF=ae(bF);var ou={exports:{}},xF=ou.exports,ey;function _F(){return ey||(ey=1,(function(e,t){(function(r,o){e.exports=o()})(xF,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,i=/\d\d?/,n=/\d*[^\s\d-_:/()]+/,s={},d=function(y){return(y=+y)+(y>68?1900:2e3)},c=function(y){return function(w){this[y]=+w}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=(function(w){if(!w||w==="Z")return 0;var M=w.match(/([+-]|\d\d)/g),A=60*M[1]+(+M[2]||0);return A===0?0:M[0]==="+"?-A:A})(y)}],f=function(y){var w=s[y];return w&&(w.indexOf?w:w.s.concat(w.f))},b=function(y,w){var M,A=s.meridiem;if(A){for(var L=1;L<=24;L+=1)if(y.indexOf(A(L,0,w))>-1){M=L>12;break}}else M=y===(w?"pm":"PM");return M},g={A:[n,function(y){this.afternoon=b(y,!1)}],a:[n,function(y){this.afternoon=b(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[a,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,c("seconds")],ss:[i,c("seconds")],m:[i,c("minutes")],mm:[i,c("minutes")],H:[i,c("hours")],h:[i,c("hours")],HH:[i,c("hours")],hh:[i,c("hours")],D:[i,c("day")],DD:[a,c("day")],Do:[n,function(y){var w=s.ordinal,M=y.match(/\d+/);if(this.day=M[0],w)for(var A=1;A<=31;A+=1)w(A).replace(/\[|\]/g,"")===y&&(this.day=A)}],M:[i,c("month")],MM:[a,c("month")],MMM:[n,function(y){var w=f("months"),M=(f("monthsShort")||w.map((function(A){return A.substr(0,3)}))).indexOf(y)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[n,function(y){var w=f("months").indexOf(y)+1;if(w<1)throw new Error;this.month=w%12||w}],Y:[/[+-]?\d+/,c("year")],YY:[a,function(y){this.year=d(y)}],YYYY:[/\d{4}/,c("year")],Z:m,ZZ:m};function h(y){var w,M;w=y,M=s&&s.formats;for(var A=(y=w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(W,K,N){var V=N&&N.toUpperCase();return K||M[N]||r[N]||M[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(J,ee,Z){return ee||Z.slice(1)}))}))).match(o),L=A.length,C=0;C-1)return new Date((X==="X"?1e3:1)*re);var ve=h(X)(re),De=ve.year,Oe=ve.month,Ie=ve.day,ot=ve.hours,je=ve.minutes,Ke=ve.seconds,Ye=ve.milliseconds,ne=ve.zone,_e=new Date,ce=Ie||(De||Oe?1:_e.getDate()),pe=De||_e.getFullYear(),$e=0;De&&!Oe||($e=Oe>0?Oe-1:_e.getMonth());var O=ot||0,k=je||0,Y=Ke||0,ie=Ye||0;return ne?new Date(Date.UTC(pe,$e,ce,O,k,Y,ie+60*ne.offset*1e3)):oe?new Date(Date.UTC(pe,$e,ce,O,k,Y,ie)):new Date(pe,$e,ce,O,k,Y,ie)}catch{return new Date("")}})(I,q,F),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),N&&I!=this.format(q)&&(this.$d=new Date("")),s={}}else if(q instanceof Array)for(var J=q.length,ee=1;ee<=J;ee+=1){R[1]=q[ee-1];var Z=M.apply(this,R);if(Z.isValid()){this.$d=Z.$d,this.$L=Z.$L,this.init();break}ee===J&&(this.$d=new Date(""))}else L.call(this,C)}}}))})(ou)),ou.exports}var vF=_F();const yF=ae(vF);var nu={exports:{}},SF=nu.exports,ty;function wF(){return ty||(ty=1,(function(e,t){(function(r,o){e.exports=o()})(SF,(function(){var r="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,n,s){var d=n.prototype;s.utc=function(y){var w={date:y,utc:!0,args:arguments};return new n(w)},d.utc=function(y){var w=s(this.toDate(),{locale:this.$L,utc:!0});return y?w.add(this.utcOffset(),r):w},d.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=d.parse;d.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),c.call(this,y)};var m=d.init;d.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else m.call(this)};var f=d.utcOffset;d.utcOffset=function(y,w){var M=this.$utils().u;if(M(y))return this.$u?0:M(this.$offset)?f.call(this):this.$offset;if(typeof y=="string"&&(y=(function(I){I===void 0&&(I="");var F=I.match(o);if(!F)return null;var R=(""+F[0]).match(a)||["-",0,0],q=R[0],W=60*+R[1]+ +R[2];return W===0?0:q==="+"?W:-W})(y),y===null))return this;var A=Math.abs(y)<=16?60*y:y,L=this;if(w)return L.$offset=A,L.$u=y===0,L;if(y!==0){var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(L=this.local().add(A+C,r)).$offset=A,L.$x.$localOffset=C}else L=this.utc();return L};var b=d.format;d.format=function(y){var w=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return b.call(this,w)},d.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||new Date().getTimezoneOffset());return this.$d.valueOf()-6e4*y},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var g=d.toDate;d.toDate=function(y){return y==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var h=d.diff;d.diff=function(y,w,M){if(y&&this.$u===y.$u)return h.call(this,y,w,M);var A=this.local(),L=s(y).local();return h.call(A,L,w,M)}}}))})(nu)),nu.exports}var MF=wF();const TF=ae(MF);var au={exports:{}},AF=au.exports,ry;function LF(){return ry||(ry=1,(function(e,t){(function(r,o){e.exports=o()})(AF,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,n){var s,d=function(b,g,h){h===void 0&&(h={});var y=new Date(b),w=(function(M,A){A===void 0&&(A={});var L=A.timeZoneName||"short",C=M+"|"+L,I=o[C];return I||(I=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:M,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:L}),o[C]=I),I})(g,h);return w.formatToParts(y)},c=function(b,g){for(var h=d(b,g),y=[],w=0;w=0&&(y[C]=parseInt(L,10))}var I=y[3],F=I===24?0:I,R=y[0]+"-"+y[1]+"-"+y[2]+" "+F+":"+y[4]+":"+y[5]+":000",q=+b;return(n.utc(R).valueOf()-(q-=q%1e3))/6e4},m=i.prototype;m.tz=function(b,g){b===void 0&&(b=s);var h=this.utcOffset(),y=this.toDate(),w=y.toLocaleString("en-US",{timeZone:b}),M=Math.round((y-new Date(w))/1e3/60),A=n(w).$set("millisecond",this.$ms).utcOffset(15*-Math.round(y.getTimezoneOffset()/15)-M,!0);if(g){var L=A.utcOffset();A=A.add(h-L,"minute")}return A.$x.$timezone=b,A},m.offsetName=function(b){var g=this.$x.$timezone||n.tz.guess(),h=d(this.valueOf(),g,{timeZoneName:b}).find((function(y){return y.type.toLowerCase()==="timezonename"}));return h&&h.value};var f=m.startOf;m.startOf=function(b,g){if(!this.$x||!this.$x.$timezone)return f.call(this,b,g);var h=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return f.call(h,b,g).tz(this.$x.$timezone,!0)},n.tz=function(b,g,h){var y=h&&g,w=h||g||s,M=c(+n(),w);if(typeof b!="string")return n(b).tz(w);var A=(function(F,R,q){var W=F-60*R*1e3,K=c(W,q);if(R===K)return[W,R];var N=c(W-=60*(K-R)*1e3,q);return K===N?[W,K]:[F-60*Math.min(K,N)*1e3,Math.max(K,N)]})(n.utc(b,y).valueOf(),M,w),L=A[0],C=A[1],I=n(L).utcOffset(C);return I.$x.$timezone=w,I},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(b){s=b}}}))})(au)),au.exports}var $F=LF();const PF=ae($F);var iu={exports:{}},CF=iu.exports,oy;function EF(){return oy||(oy=1,(function(e,t){(function(r,o){e.exports=o(de())})(CF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return a.default.locale(i,null,!0),i}))})(iu)),iu.exports}var OF=EF();const IF=ae(OF);var lu={exports:{}},BF=lu.exports,ny;function DF(){return ny||(ny=1,(function(e,t){(function(r,o){e.exports=o(de())})(BF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(n){return n+"ኛ"}};return a.default.locale(i,null,!0),i}))})(lu)),lu.exports}var kF=DF();const GF=ae(kF);var su={exports:{}},NF=su.exports,ay;function FF(){return ay||(ay=1,(function(e,t){(function(r,o){e.exports=o(de())})(NF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(su)),su.exports}var RF=FF();const VF=ae(RF);var du={exports:{}},HF=du.exports,iy;function YF(){return iy||(iy=1,(function(e,t){(function(r,o){e.exports=o(de())})(HF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(du)),du.exports}var UF=YF();const XF=ae(UF);var uu={exports:{}},WF=uu.exports,ly;function jF(){return ly||(ly=1,(function(e,t){(function(r,o){e.exports=o(de())})(WF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(uu)),uu.exports}var KF=jF();const zF=ae(KF);var cu={exports:{}},qF=cu.exports,sy;function ZF(){return sy||(sy=1,(function(e,t){(function(r,o){e.exports=o(de())})(qF,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},meridiem:function(n){return n>12?"ص":"م"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(cu)),cu.exports}var QF=ZF();const JF=ae(QF);var mu={exports:{}},eR=mu.exports,dy;function tR(){return dy||(dy=1,(function(e,t){(function(r,o){e.exports=o(de())})(eR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(mu)),mu.exports}var rR=tR();const oR=ae(rR);var gu={exports:{}},nR=gu.exports,uy;function aR(){return uy||(uy=1,(function(e,t){(function(r,o){e.exports=o(de())})(nR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(gu)),gu.exports}var iR=aR();const lR=ae(iR);var fu={exports:{}},sR=fu.exports,cy;function dR(){return cy||(cy=1,(function(e,t){(function(r,o){e.exports=o(de())})(sR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(n){return n>12?"ص":"م"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return a.default.locale(i,null,!0),i}))})(fu)),fu.exports}var uR=dR();const cR=ae(uR);var pu={exports:{}},mR=pu.exports,my;function gR(){return my||(my=1,(function(e,t){(function(r,o){e.exports=o(de())})(mR,(function(r){function o(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var a=o(r),i="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),n={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},s={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},d={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:i,monthsShort:i,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(c){return c.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(m){return s[m]})).replace(/،/g,",")},postformat:function(c){return c.replace(/\d/g,(function(m){return n[m]})).replace(/,/g,"،")},ordinal:function(c){return c},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return a.default.locale(d,null,!0),d}))})(pu)),pu.exports}var fR=gR();const pR=ae(fR);var bu={exports:{}},bR=bu.exports,gy;function hR(){return gy||(gy=1,(function(e,t){(function(r,o){e.exports=o(de())})(bR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(n){return n}};return a.default.locale(i,null,!0),i}))})(bu)),bu.exports}var xR=hR();const _R=ae(xR);var hu={exports:{}},vR=hu.exports,fy;function yR(){return fy||(fy=1,(function(e,t){(function(r,o){e.exports=o(de())})(vR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return a.default.locale(i,null,!0),i}))})(hu)),hu.exports}var SR=yR();const wR=ae(SR);var xu={exports:{}},MR=xu.exports,py;function TR(){return py||(py=1,(function(e,t){(function(r,o){e.exports=o(de())})(MR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(n){var s=n%100;if(s>10&&s<20)return n+"-ти";var d=n%10;return d===1?n+"-ви":d===2?n+"-ри":d===7||d===8?n+"-ми":n+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return a.default.locale(i,null,!0),i}))})(xu)),xu.exports}var AR=TR();const LR=ae(AR);var _u={exports:{}},$R=_u.exports,by;function PR(){return by||(by=1,(function(e,t){(function(r,o){e.exports=o(de())})($R,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(n){return n},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return a.default.locale(i,null,!0),i}))})(_u)),_u.exports}var CR=PR();const ER=ae(CR);var vu={exports:{}},OR=vu.exports,hy;function IR(){return hy||(hy=1,(function(e,t){(function(r,o){e.exports=o(de())})(OR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return a.default.locale(i,null,!0),i}))})(vu)),vu.exports}var BR=IR();const DR=ae(BR);var yu={exports:{}},kR=yu.exports,xy;function GR(){return xy||(xy=1,(function(e,t){(function(r,o){e.exports=o(de())})(kR,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},s={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(d){return d.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(c){return n[c]}))},postformat:function(d){return d.replace(/\d/g,(function(c){return i[c]}))},ordinal:function(d){return d},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return a.default.locale(s,null,!0),s}))})(yu)),yu.exports}var NR=GR();const FR=ae(NR);var Su={exports:{}},RR=Su.exports,_y;function VR(){return _y||(_y=1,(function(e,t){(function(r,o){e.exports=o(de())})(RR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"}};return a.default.locale(i,null,!0),i}))})(Su)),Su.exports}var HR=VR();const YR=ae(HR);var wu={exports:{}},UR=wu.exports,vy;function XR(){return vy||(vy=1,(function(e,t){(function(r,o){e.exports=o(de())})(UR,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r);function i(d){return d>9?i(d%10):d}function n(d,c,m){return d+" "+(function(f,b){return b===2?(function(g){return{m:"v",b:"v",d:"z"}[g.charAt(0)]+g.substring(1)})(f):f})({mm:"munutenn",MM:"miz",dd:"devezh"}[m],d)}var s={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(d){return d},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:n,h:"un eur",hh:"%d eur",d:"un devezh",dd:n,M:"ur miz",MM:n,y:"ur bloaz",yy:function(d){switch(i(d)){case 1:case 3:case 4:case 5:case 9:return d+" bloaz";default:return d+" vloaz"}}},meridiem:function(d){return d<12?"a.m.":"g.m."}};return a.default.locale(s,null,!0),s}))})(wu)),wu.exports}var WR=XR();const jR=ae(WR);var Mu={exports:{}},KR=Mu.exports,yy;function zR(){return yy||(yy=1,(function(e,t){(function(r,o){e.exports=o(de())})(KR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(n){return n},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return a.default.locale(i,null,!0),i}))})(Mu)),Mu.exports}var qR=zR();const ZR=ae(qR);var Tu={exports:{}},QR=Tu.exports,Sy;function JR(){return Sy||(Sy=1,(function(e,t){(function(r,o){e.exports=o(de())})(QR,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(n){return""+n+(n===1||n===3?"r":n===2?"n":n===4?"t":"è")}};return a.default.locale(i,null,!0),i}))})(Tu)),Tu.exports}var eV=JR();const tV=ae(eV);var Au={exports:{}},rV=Au.exports,wy;function oV(){return wy||(wy=1,(function(e,t){(function(r,o){e.exports=o(de())})(rV,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r);function i(d){return d>1&&d<5&&~~(d/10)!=1}function n(d,c,m,f){var b=d+" ";switch(m){case"s":return c||f?"pár sekund":"pár sekundami";case"m":return c?"minuta":f?"minutu":"minutou";case"mm":return c||f?b+(i(d)?"minuty":"minut"):b+"minutami";case"h":return c?"hodina":f?"hodinu":"hodinou";case"hh":return c||f?b+(i(d)?"hodiny":"hodin"):b+"hodinami";case"d":return c||f?"den":"dnem";case"dd":return c||f?b+(i(d)?"dny":"dní"):b+"dny";case"M":return c||f?"měsíc":"měsícem";case"MM":return c||f?b+(i(d)?"měsíce":"měsíců"):b+"měsíci";case"y":return c||f?"rok":"rokem";case"yy":return c||f?b+(i(d)?"roky":"let"):b+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(d){return d+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(Au)),Au.exports}var nV=oV();const aV=ae(nV);var Lu={exports:{}},iV=Lu.exports,My;function lV(){return My||(My=1,(function(e,t){(function(r,o){e.exports=o(de())})(iV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return a.default.locale(i,null,!0),i}))})(Lu)),Lu.exports}var sV=lV();const dV=ae(sV);var $u={exports:{}},uV=$u.exports,Ty;function cV(){return Ty||(Ty=1,(function(e,t){(function(r,o){e.exports=o(de())})(uV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return a.default.locale(i,null,!0),i}))})($u)),$u.exports}var mV=cV();const gV=ae(mV);var Pu={exports:{}},fV=Pu.exports,Ay;function pV(){return Ay||(Ay=1,(function(e,t){(function(r,o){e.exports=o(de())})(fV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(n){return n+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return a.default.locale(i,null,!0),i}))})(Pu)),Pu.exports}var bV=pV();const hV=ae(bV);var Cu={exports:{}},xV=Cu.exports,Ly;function _V(){return Ly||(Ly=1,(function(e,t){(function(r,o){e.exports=o(de())})(xV,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(d,c,m){var f=i[m];return Array.isArray(f)&&(f=f[c?0:1]),f.replace("%d",d)}var s={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(d){return d+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(Cu)),Cu.exports}var vV=_V();const yV=ae(vV);var Eu={exports:{}},SV=Eu.exports,$y;function wV(){return $y||($y=1,(function(e,t){(function(r,o){e.exports=o(de())})(SV,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(d,c,m){var f=i[m];return Array.isArray(f)&&(f=f[c?0:1]),f.replace("%d",d)}var s={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(d){return d+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(Eu)),Eu.exports}var MV=wV();const TV=ae(MV);var Ou={exports:{}},AV=Ou.exports,Py;function LV(){return Py||(Py=1,(function(e,t){(function(r,o){e.exports=o(de())})(AV,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(d,c,m){var f=i[m];return Array.isArray(f)&&(f=f[c?0:1]),f.replace("%d",d)}var s={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(d){return d+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(Ou)),Ou.exports}var $V=LV();const PV=ae($V);var Iu={exports:{}},CV=Iu.exports,Cy;function EV(){return Cy||(Cy=1,(function(e,t){(function(r,o){e.exports=o(de())})(CV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return a.default.locale(i,null,!0),i}))})(Iu)),Iu.exports}var OV=EV();const IV=ae(OV);var Bu={exports:{}},BV=Bu.exports,Ey;function DV(){return Ey||(Ey=1,(function(e,t){(function(r,o){e.exports=o(de())})(BV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(n){return n},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return a.default.locale(i,null,!0),i}))})(Bu)),Bu.exports}var kV=DV();const GV=ae(kV);var Du={exports:{}},NV=Du.exports,Oy;function FV(){return Oy||(Oy=1,(function(e,t){(function(r,o){e.exports=o(de())})(NV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(Du)),Du.exports}var RV=FV();const VV=ae(RV);var ku={exports:{}},HV=ku.exports,Iy;function YV(){return Iy||(Iy=1,(function(e,t){(function(r,o){e.exports=o(de())})(HV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(ku)),ku.exports}var UV=YV();const XV=ae(UV);var Gu={exports:{}},WV=Gu.exports,By;function jV(){return By||(By=1,(function(e,t){(function(r,o){e.exports=o(de())})(WV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(n){var s=["th","st","nd","rd"],d=n%100;return"["+n+(s[(d-20)%10]||s[d]||s[0])+"]"}};return a.default.locale(i,null,!0),i}))})(Gu)),Gu.exports}var KV=jV();const zV=ae(KV);var Nu={exports:{}},qV=Nu.exports,Dy;function ZV(){return Dy||(Dy=1,(function(e,t){(function(r,o){e.exports=o(de())})(qV,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(Nu)),Nu.exports}var QV=ZV();const JV=ae(QV);var Fu={exports:{}},eH=Fu.exports,ky;function tH(){return ky||(ky=1,(function(e,t){(function(r,o){e.exports=o(de())})(eH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(Fu)),Fu.exports}var rH=tH();const oH=ae(rH);var Ru={exports:{}},nH=Ru.exports,Gy;function aH(){return Gy||(Gy=1,(function(e,t){(function(r,o){e.exports=o(de())})(nH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(n){var s=["th","st","nd","rd"],d=n%100;return"["+n+(s[(d-20)%10]||s[d]||s[0])+"]"}};return a.default.locale(i,null,!0),i}))})(Ru)),Ru.exports}var iH=aH();const lH=ae(iH);var Vu={exports:{}},sH=Vu.exports,Ny;function dH(){return Ny||(Ny=1,(function(e,t){(function(r,o){e.exports=o(de())})(sH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){var s=["th","st","nd","rd"],d=n%100;return"["+n+(s[(d-20)%10]||s[d]||s[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(Vu)),Vu.exports}var uH=dH();const cH=ae(uH);var Hu={exports:{}},mH=Hu.exports,Fy;function gH(){return Fy||(Fy=1,(function(e,t){(function(r,o){e.exports=o(de())})(mH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return a.default.locale(i,null,!0),i}))})(Hu)),Hu.exports}var fH=gH();const pH=ae(fH);var Yu={exports:{}},bH=Yu.exports,Ry;function hH(){return Ry||(Ry=1,(function(e,t){(function(r,o){e.exports=o(de())})(bH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(n){var s=["th","st","nd","rd"],d=n%100;return"["+n+(s[(d-20)%10]||s[d]||s[0])+"]"}};return a.default.locale(i,null,!0),i}))})(Yu)),Yu.exports}var xH=hH();const _H=ae(xH);var Uu={exports:{}},vH=Uu.exports,Vy;function yH(){return Vy||(Vy=1,(function(e,t){(function(r,o){e.exports=o()})(vH,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")}}))})(Uu)),Uu.exports}var SH=yH();const wH=ae(SH);var Xu={exports:{}},MH=Xu.exports,Hy;function TH(){return Hy||(Hy=1,(function(e,t){(function(r,o){e.exports=o(de())})(MH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return a.default.locale(i,null,!0),i}))})(Xu)),Xu.exports}var AH=TH();const LH=ae(AH);var Wu={exports:{}},$H=Wu.exports,Yy;function PH(){return Yy||(Yy=1,(function(e,t){(function(r,o){e.exports=o(de())})($H,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(n){return n+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return a.default.locale(i,null,!0),i}))})(Wu)),Wu.exports}var CH=PH();const EH=ae(CH);var ju={exports:{}},OH=ju.exports,Uy;function IH(){return Uy||(Uy=1,(function(e,t){(function(r,o){e.exports=o(de())})(OH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(n){return n+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return a.default.locale(i,null,!0),i}))})(ju)),ju.exports}var BH=IH();const DH=ae(BH);var Ku={exports:{}},kH=Ku.exports,Xy;function GH(){return Xy||(Xy=1,(function(e,t){(function(r,o){e.exports=o(de())})(kH,(function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(r);function i(s,d,c,m){var f={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return d?(f[c][2]?f[c][2]:f[c][1]).replace("%d",s):(m?f[c][0]:f[c][1]).replace("%d",s)}var n={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d päeva",M:i,MM:i,y:i,yy:i},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return a.default.locale(n,null,!0),n}))})(Ku)),Ku.exports}var NH=GH();const FH=ae(NH);var zu={exports:{}},RH=zu.exports,Wy;function VH(){return Wy||(Wy=1,(function(e,t){(function(r,o){e.exports=o(de())})(RH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return a.default.locale(i,null,!0),i}))})(zu)),zu.exports}var HH=VH();const YH=ae(HH);var qu={exports:{}},UH=qu.exports,jy;function XH(){return jy||(jy=1,(function(e,t){(function(r,o){e.exports=o(de())})(UH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return a.default.locale(i,null,!0),i}))})(qu)),qu.exports}var WH=XH();const jH=ae(WH);var Zu={exports:{}},KH=Zu.exports,Ky;function zH(){return Ky||(Ky=1,(function(e,t){(function(r,o){e.exports=o(de())})(KH,(function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(r);function i(s,d,c,m){var f={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},b={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},g=m&&!d?b:f,h=g[c];return s<10?h.replace("%d",g.numbers[s]):h.replace("%d",s)}var n={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(s){return s+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return a.default.locale(n,null,!0),n}))})(Zu)),Zu.exports}var qH=zH();const ZH=ae(qH);var Qu={exports:{}},QH=Qu.exports,zy;function JH(){return zy||(zy=1,(function(e,t){(function(r,o){e.exports=o(de())})(QH,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fo",weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"}};return a.default.locale(i,null,!0),i}))})(Qu)),Qu.exports}var eY=JH();const tY=ae(eY);var Ju={exports:{}},rY=Ju.exports,qy;function oY(){return qy||(qy=1,(function(e,t){(function(r,o){e.exports=o(de())})(rY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return a.default.locale(i,null,!0),i}))})(Ju)),Ju.exports}var nY=oY();const aY=ae(nY);var ec={exports:{}},iY=ec.exports,Zy;function lY(){return Zy||(Zy=1,(function(e,t){(function(r,o){e.exports=o(de())})(iY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return a.default.locale(i,null,!0),i}))})(ec)),ec.exports}var sY=lY();const dY=ae(sY);var tc={exports:{}},uY=tc.exports,Qy;function cY(){return Qy||(Qy=1,(function(e,t){(function(r,o){e.exports=o(de())})(uY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(n){return""+n+(n===1?"er":"")}};return a.default.locale(i,null,!0),i}))})(tc)),tc.exports}var mY=cY();const gY=ae(mY);var rc={exports:{}},fY=rc.exports,Jy;function pY(){return Jy||(Jy=1,(function(e,t){(function(r,o){e.exports=o(de())})(fY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return a.default.locale(i,null,!0),i}))})(rc)),rc.exports}var bY=pY();const hY=ae(bY);var oc={exports:{}},xY=oc.exports,eS;function _Y(){return eS||(eS=1,(function(e,t){(function(r,o){e.exports=o(de())})(xY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ga",weekdays:"Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn".split("_"),months:"Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_Mái_Céa_Déa_hAo_Sat".split("_"),monthsShort:"Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_Má_Ce_Dé_hA_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"}};return a.default.locale(i,null,!0),i}))})(oc)),oc.exports}var vY=_Y();const yY=ae(vY);var nc={exports:{}},SY=nc.exports,tS;function wY(){return tS||(tS=1,(function(e,t){(function(r,o){e.exports=o(de())})(SY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"gd",weekdays:"Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh".split("_"),weekdaysMin:"Dò_Lu_Mà_Ci_Ar_Ha_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"}};return a.default.locale(i,null,!0),i}))})(nc)),nc.exports}var MY=wY();const TY=ae(MY);var ac={exports:{}},AY=ac.exports,rS;function LY(){return rS||(rS=1,(function(e,t){(function(r,o){e.exports=o(de())})(AY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"gl",weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),ordinal:function(n){return n+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return a.default.locale(i,null,!0),i}))})(ac)),ac.exports}var $Y=LY();const PY=ae($Y);var ic={exports:{}},CY=ic.exports,oS;function EY(){return oS||(oS=1,(function(e,t){(function(r,o){e.exports=o(de())})(CY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return a.default.locale(i,null,!0),i}))})(ic)),ic.exports}var OY=EY();const IY=ae(OY);var lc={exports:{}},BY=lc.exports,nS;function DY(){return nS||(nS=1,(function(e,t){(function(r,o){e.exports=o(de())})(BY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return a.default.locale(i,null,!0),i}))})(lc)),lc.exports}var kY=DY();const GY=ae(kY);var sc={exports:{}},NY=sc.exports,aS;function FY(){return aS||(aS=1,(function(e,t){(function(r,o){e.exports=o(de())})(NY,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function n(d,c,m){return(i[m+(d===2?"2":"")]||i[m]).replace("%d",d)}var s={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinal:function(d){return d},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return a.default.locale(s,null,!0),s}))})(sc)),sc.exports}var RY=FY();const VY=ae(RY);var dc={exports:{}},HY=dc.exports,iS;function YY(){return iS||(iS=1,(function(e,t){(function(r,o){e.exports=o(de())})(HY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return a.default.locale(i,null,!0),i}))})(dc)),dc.exports}var UY=YY();const XY=ae(UY);var uc={exports:{}},WY=uc.exports,lS;function jY(){return lS||(lS=1,(function(e,t){(function(r,o){e.exports=o(de())})(WY,(function(r){function o(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var a=o(r),i="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),n="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,d=function(m,f){return s.test(f)?i[m.month()]:n[m.month()]};d.s=n,d.f=i;var c={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:d,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(m){return m+"."}};return a.default.locale(c,null,!0),c}))})(uc)),uc.exports}var KY=jY();const zY=ae(KY);var cc={exports:{}},qY=cc.exports,sS;function ZY(){return sS||(sS=1,(function(e,t){(function(r,o){e.exports=o(de())})(qY,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ht",weekdays:"dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._mèk._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_mè_je_va_sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"kèk segond",m:"yon minit",mm:"%d minit",h:"inèdtan",hh:"%d zè",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return a.default.locale(i,null,!0),i}))})(cc)),cc.exports}var QY=ZY();const JY=ae(QY);var mc={exports:{}},eU=mc.exports,dS;function tU(){return dS||(dS=1,(function(e,t){(function(r,o){e.exports=o(de())})(eU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(n){return n+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(n,s,d,c){return"néhány másodperc"+(c||s?"":"e")},m:function(n,s,d,c){return"egy perc"+(c||s?"":"e")},mm:function(n,s,d,c){return n+" perc"+(c||s?"":"e")},h:function(n,s,d,c){return"egy "+(c||s?"óra":"órája")},hh:function(n,s,d,c){return n+" "+(c||s?"óra":"órája")},d:function(n,s,d,c){return"egy "+(c||s?"nap":"napja")},dd:function(n,s,d,c){return n+" "+(c||s?"nap":"napja")},M:function(n,s,d,c){return"egy "+(c||s?"hónap":"hónapja")},MM:function(n,s,d,c){return n+" "+(c||s?"hónap":"hónapja")},y:function(n,s,d,c){return"egy "+(c||s?"év":"éve")},yy:function(n,s,d,c){return n+" "+(c||s?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i}))})(mc)),mc.exports}var rU=tU();const oU=ae(rU);var gc={exports:{}},nU=gc.exports,uS;function aU(){return uS||(uS=1,(function(e,t){(function(r,o){e.exports=o(de())})(nU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return a.default.locale(i,null,!0),i}))})(gc)),gc.exports}var iU=aU();const lU=ae(iU);var fc={exports:{}},sU=fc.exports,cS;function dU(){return cS||(cS=1,(function(e,t){(function(r,o){e.exports=o(de())})(sU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(n){return n+"."}};return a.default.locale(i,null,!0),i}))})(fc)),fc.exports}var uU=dU();const cU=ae(uU);var pc={exports:{}},mU=pc.exports,mS;function gU(){return mS||(mS=1,(function(e,t){(function(r,o){e.exports=o(de())})(mU,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r),i={s:["nokkrar sekúndur","nokkrar sekúndur","nokkrum sekúndum"],m:["mínúta","mínútu","mínútu"],mm:["mínútur","mínútur","mínútum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","dögum"],M:["mánuður","mánuð","mánuði"],MM:["mánuðir","mánuði","mánuðum"],y:["ár","ár","ári"],yy:["ár","ár","árum"]};function n(d,c,m,f){var b=(function(g,h,y,w){var M=w?0:y?1:2,A=g.length===2&&h%10==1?g[0]:g,L=i[A][M];return g.length===1?L:"%d "+L})(m,d,f,c);return b.replace("%d",d)}var s={name:"is",weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),ordinal:function(d){return d},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(pc)),pc.exports}var fU=gU();const pU=ae(fU);var bc={exports:{}},bU=bc.exports,gS;function hU(){return gS||(gS=1,(function(e,t){(function(r,o){e.exports=o(de())})(bU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(bc)),bc.exports}var xU=hU();const _U=ae(xU);var hc={exports:{}},vU=hc.exports,fS;function yU(){return fS||(fS=1,(function(e,t){(function(r,o){e.exports=o(de())})(vU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(n){return n+"º"}};return a.default.locale(i,null,!0),i}))})(hc)),hc.exports}var SU=yU();const wU=ae(SU);var xc={exports:{}},MU=xc.exports,pS;function TU(){return pS||(pS=1,(function(e,t){(function(r,o){e.exports=o(de())})(MU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(n){return n+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(n){return n<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return a.default.locale(i,null,!0),i}))})(xc)),xc.exports}var AU=TU();const LU=ae(AU);var _c={exports:{}},$U=_c.exports,bS;function PU(){return bS||(bS=1,(function(e,t){(function(r,o){e.exports=o(de())})($U,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(n){return n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return a.default.locale(i,null,!0),i}))})(_c)),_c.exports}var CU=PU();const EU=ae(CU);var vc={exports:{}},OU=vc.exports,hS;function IU(){return hS||(hS=1,(function(e,t){(function(r,o){e.exports=o(de())})(OU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(n){return n}};return a.default.locale(i,null,!0),i}))})(vc)),vc.exports}var BU=IU();const DU=ae(BU);var yc={exports:{}},kU=yc.exports,xS;function GU(){return xS||(xS=1,(function(e,t){(function(r,o){e.exports=o(de())})(kU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(yc)),yc.exports}var NU=GU();const FU=ae(NU);var Sc={exports:{}},RU=Sc.exports,_S;function VU(){return _S||(_S=1,(function(e,t){(function(r,o){e.exports=o(de())})(RU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return a.default.locale(i,null,!0),i}))})(Sc)),Sc.exports}var HU=VU();const YU=ae(HU);var wc={exports:{}},UU=wc.exports,vS;function XU(){return vS||(vS=1,(function(e,t){(function(r,o){e.exports=o(de())})(UU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return a.default.locale(i,null,!0),i}))})(wc)),wc.exports}var WU=XU();const jU=ae(WU);var Mc={exports:{}},KU=Mc.exports,yS;function zU(){return yS||(yS=1,(function(e,t){(function(r,o){e.exports=o(de())})(KU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(n){return n<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return a.default.locale(i,null,!0),i}))})(Mc)),Mc.exports}var qU=zU();const ZU=ae(qU);var Tc={exports:{}},QU=Tc.exports,SS;function JU(){return SS||(SS=1,(function(e,t){(function(r,o){e.exports=o(de())})(QU,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ku",weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),months:"کانونی دووەم_شوبات_ئازار_نیسان_ئایار_حوزەیران_تەمموز_ئاب_ئەیلوول_تشرینی یەكەم_تشرینی دووەم_كانونی یەکەم".split("_"),weekStart:6,weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),monthsShort:"کانونی دووەم_شوبات_ئازار_نیسان_ئایار_حوزەیران_تەمموز_ئاب_ئەیلوول_تشرینی یەكەم_تشرینی دووەم_كانونی یەکەم".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(n){return n<12?"پ.ن":"د.ن"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"}};return a.default.locale(i,null,!0),i}))})(Tc)),Tc.exports}var eX=JU();const tX=ae(eX);var Ac={exports:{}},rX=Ac.exports,wS;function oX(){return wS||(wS=1,(function(e,t){(function(r,o){e.exports=o(de())})(rX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return a.default.locale(i,null,!0),i}))})(Ac)),Ac.exports}var nX=oX();const aX=ae(nX);var Lc={exports:{}},iX=Lc.exports,MS;function lX(){return MS||(MS=1,(function(e,t){(function(r,o){e.exports=o(de())})(iX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"lb",weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return a.default.locale(i,null,!0),i}))})(Lc)),Lc.exports}var sX=lX();const dX=ae(sX);var $c={exports:{}},uX=$c.exports,TS;function cX(){return TS||(TS=1,(function(e,t){(function(r,o){e.exports=o(de())})(uX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return a.default.locale(i,null,!0),i}))})($c)),$c.exports}var mX=cX();const gX=ae(mX);var Pc={exports:{}},fX=Pc.exports,AS;function pX(){return AS||(AS=1,(function(e,t){(function(r,o){e.exports=o(de())})(fX,(function(r){function o(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var a=o(r),i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),n="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),s=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,d=function(m,f){return s.test(f)?i[m.month()]:n[m.month()]};d.s=n,d.f=i;var c={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:d,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(m){return m+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return a.default.locale(c,null,!0),c}))})(Pc)),Pc.exports}var bX=pX();const hX=ae(bX);var Cc={exports:{}},xX=Cc.exports,LS;function _X(){return LS||(LS=1,(function(e,t){(function(r,o){e.exports=o(de())})(xX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return a.default.locale(i,null,!0),i}))})(Cc)),Cc.exports}var vX=_X();const yX=ae(vX);var Ec={exports:{}},SX=Ec.exports,$S;function wX(){return $S||($S=1,(function(e,t){(function(r,o){e.exports=o(de())})(SX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(n){return n},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return a.default.locale(i,null,!0),i}))})(Ec)),Ec.exports}var MX=wX();const TX=ae(MX);var Oc={exports:{}},AX=Oc.exports,PS;function LX(){return PS||(PS=1,(function(e,t){(function(r,o){e.exports=o(de())})(AX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return a.default.locale(i,null,!0),i}))})(Oc)),Oc.exports}var $X=LX();const PX=ae($X);var Ic={exports:{}},CX=Ic.exports,CS;function EX(){return CS||(CS=1,(function(e,t){(function(r,o){e.exports=o(de())})(CX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(n){return n},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return a.default.locale(i,null,!0),i}))})(Ic)),Ic.exports}var OX=EX();const IX=ae(OX);var Bc={exports:{}},BX=Bc.exports,ES;function DX(){return ES||(ES=1,(function(e,t){(function(r,o){e.exports=o(de())})(BX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return a.default.locale(i,null,!0),i}))})(Bc)),Bc.exports}var kX=DX();const GX=ae(kX);var Dc={exports:{}},NX=Dc.exports,OS;function FX(){return OS||(OS=1,(function(e,t){(function(r,o){e.exports=o(de())})(NX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return a.default.locale(i,null,!0),i}))})(Dc)),Dc.exports}var RX=FX();const VX=ae(RX);var kc={exports:{}},HX=kc.exports,IS;function YX(){return IS||(IS=1,(function(e,t){(function(r,o){e.exports=o(de())})(HX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return a.default.locale(i,null,!0),i}))})(kc)),kc.exports}var UX=YX();const XX=ae(UX);var Gc={exports:{}},WX=Gc.exports,BS;function jX(){return BS||(BS=1,(function(e,t){(function(r,o){e.exports=o(de())})(WX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(n){return n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return a.default.locale(i,null,!0),i}))})(Gc)),Gc.exports}var KX=jX();const zX=ae(KX);var Nc={exports:{}},qX=Nc.exports,DS;function ZX(){return DS||(DS=1,(function(e,t){(function(r,o){e.exports=o(de())})(qX,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(n){return n+"."}};return a.default.locale(i,null,!0),i}))})(Nc)),Nc.exports}var QX=ZX();const JX=ae(QX);var Fc={exports:{}},eW=Fc.exports,kS;function tW(){return kS||(kS=1,(function(e,t){(function(r,o){e.exports=o(de())})(eW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return a.default.locale(i,null,!0),i}))})(Fc)),Fc.exports}var rW=tW();const oW=ae(rW);var Rc={exports:{}},nW=Rc.exports,GS;function aW(){return GS||(GS=1,(function(e,t){(function(r,o){e.exports=o(de())})(nW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return a.default.locale(i,null,!0),i}))})(Rc)),Rc.exports}var iW=aW();const lW=ae(iW);var Vc={exports:{}},sW=Vc.exports,NS;function dW(){return NS||(NS=1,(function(e,t){(function(r,o){e.exports=o(de())})(sW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(n){return n+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return a.default.locale(i,null,!0),i}))})(Vc)),Vc.exports}var uW=dW();const cW=ae(uW);var Hc={exports:{}},mW=Hc.exports,FS;function gW(){return FS||(FS=1,(function(e,t){(function(r,o){e.exports=o(de())})(mW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(n){return(""+n).replace(/\d/g,(function(s){return"०१२३४५६७८९"[s]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return a.default.locale(i,null,!0),i}))})(Hc)),Hc.exports}var fW=gW();const pW=ae(fW);var Yc={exports:{}},bW=Yc.exports,RS;function hW(){return RS||(RS=1,(function(e,t){(function(r,o){e.exports=o(de())})(bW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return a.default.locale(i,null,!0),i}))})(Yc)),Yc.exports}var xW=hW();const _W=ae(xW);var Uc={exports:{}},vW=Uc.exports,VS;function yW(){return VS||(VS=1,(function(e,t){(function(r,o){e.exports=o(de())})(vW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(n){return n+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return a.default.locale(i,null,!0),i}))})(Uc)),Uc.exports}var SW=yW();const wW=ae(SW);var Xc={exports:{}},MW=Xc.exports,HS;function TW(){return HS||(HS=1,(function(e,t){(function(r,o){e.exports=o(de())})(MW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(n){return n+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return a.default.locale(i,null,!0),i}))})(Xc)),Xc.exports}var AW=TW();const LW=ae(AW);var Wc={exports:{}},$W=Wc.exports,YS;function PW(){return YS||(YS=1,(function(e,t){(function(r,o){e.exports=o(de())})($W,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),monthsShort:"gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(n){return n+"º"}};return a.default.locale(i,null,!0),i}))})(Wc)),Wc.exports}var CW=PW();const EW=ae(CW);var jc={exports:{}},OW=jc.exports,US;function IW(){return US||(US=1,(function(e,t){(function(r,o){e.exports=o(de())})(OW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return a.default.locale(i,null,!0),i}))})(jc)),jc.exports}var BW=IW();const DW=ae(BW);var Kc={exports:{}},kW=Kc.exports,XS;function GW(){return XS||(XS=1,(function(e,t){(function(r,o){e.exports=o(de())})(kW,(function(r){function o(b){return b&&typeof b=="object"&&"default"in b?b:{default:b}}var a=o(r);function i(b){return b%10<5&&b%10>1&&~~(b/10)%10!=1}function n(b,g,h){var y=b+" ";switch(h){case"m":return g?"minuta":"minutę";case"mm":return y+(i(b)?"minuty":"minut");case"h":return g?"godzina":"godzinę";case"hh":return y+(i(b)?"godziny":"godzin");case"MM":return y+(i(b)?"miesiące":"miesięcy");case"yy":return y+(i(b)?"lata":"lat")}}var s="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),d="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),c=/D MMMM/,m=function(b,g){return c.test(g)?s[b.month()]:d[b.month()]};m.s=d,m.f=s;var f={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:m,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(b){return b+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return a.default.locale(f,null,!0),f}))})(Kc)),Kc.exports}var NW=GW();const FW=ae(NW);var zc={exports:{}},RW=zc.exports,WS;function VW(){return WS||(WS=1,(function(e,t){(function(r,o){e.exports=o(de())})(RW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(n){return n+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return a.default.locale(i,null,!0),i}))})(zc)),zc.exports}var HW=VW();const YW=ae(HW);var qc={exports:{}},UW=qc.exports,jS;function XW(){return jS||(jS=1,(function(e,t){(function(r,o){e.exports=o(de())})(UW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(n){return n+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return a.default.locale(i,null,!0),i}))})(qc)),qc.exports}var WW=XW();const jW=ae(WW);var Zc={exports:{}},KW=Zc.exports,KS;function zW(){return KS||(KS=1,(function(e,t){(function(r,o){e.exports=o(de())})(KW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(n){return n},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(Zc)),Zc.exports}var qW=zW();const ZW=ae(qW);var Qc={exports:{}},QW=Qc.exports,zS;function JW(){return zS||(zS=1,(function(e,t){(function(r,o){e.exports=o(de())})(QW,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(n){return n}};return a.default.locale(i,null,!0),i}))})(Qc)),Qc.exports}var ej=JW();const tj=ae(ej);var Jc={exports:{}},rj=Jc.exports,qS;function oj(){return qS||(qS=1,(function(e,t){(function(r,o){e.exports=o(de())})(rj,(function(r){function o(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var a=o(r),i="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),n="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),s="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),d="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function m(h,y,w){var M,A;return w==="m"?y?"минута":"минуту":h+" "+(M=+h,A={mm:y?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[w].split("_"),M%10==1&&M%100!=11?A[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?A[1]:A[2])}var f=function(h,y){return c.test(y)?i[h.month()]:n[h.month()]};f.s=n,f.f=i;var b=function(h,y){return c.test(y)?s[h.month()]:d[h.month()]};b.s=d,b.f=s;var g={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:f,monthsShort:b,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m,mm:m,h:"час",hh:m,d:"день",dd:m,M:"месяц",MM:m,y:"год",yy:m},ordinal:function(h){return h},meridiem:function(h){return h<4?"ночи":h<12?"утра":h<17?"дня":"вечера"}};return a.default.locale(g,null,!0),g}))})(Jc)),Jc.exports}var nj=oj();const aj=ae(nj);var em={exports:{}},ij=em.exports,ZS;function lj(){return ZS||(ZS=1,(function(e,t){(function(r,o){e.exports=o(de())})(ij,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(n){return n}};return a.default.locale(i,null,!0),i}))})(em)),em.exports}var sj=lj();const dj=ae(sj);var tm={exports:{}},uj=tm.exports,QS;function cj(){return QS||(QS=1,(function(e,t){(function(r,o){e.exports=o(de())})(uj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return a.default.locale(i,null,!0),i}))})(tm)),tm.exports}var mj=cj();const gj=ae(mj);var rm={exports:{}},fj=rm.exports,JS;function pj(){return JS||(JS=1,(function(e,t){(function(r,o){e.exports=o(de())})(fj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"se",weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"}};return a.default.locale(i,null,!0),i}))})(rm)),rm.exports}var bj=pj();const hj=ae(bj);var om={exports:{}},xj=om.exports,ew;function _j(){return ew||(ew=1,(function(e,t){(function(r,o){e.exports=o(de())})(xj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(n){return n},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return a.default.locale(i,null,!0),i}))})(om)),om.exports}var vj=_j();const yj=ae(vj);var nm={exports:{}},Sj=nm.exports,tw;function wj(){return tw||(tw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Sj,(function(r){function o(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var a=o(r);function i(d){return d>1&&d<5&&~~(d/10)!=1}function n(d,c,m,f){var b=d+" ";switch(m){case"s":return c||f?"pár sekúnd":"pár sekundami";case"m":return c?"minúta":f?"minútu":"minútou";case"mm":return c||f?b+(i(d)?"minúty":"minút"):b+"minútami";case"h":return c?"hodina":f?"hodinu":"hodinou";case"hh":return c||f?b+(i(d)?"hodiny":"hodín"):b+"hodinami";case"d":return c||f?"deň":"dňom";case"dd":return c||f?b+(i(d)?"dni":"dní"):b+"dňami";case"M":return c||f?"mesiac":"mesiacom";case"MM":return c||f?b+(i(d)?"mesiace":"mesiacov"):b+"mesiacmi";case"y":return c||f?"rok":"rokom";case"yy":return c||f?b+(i(d)?"roky":"rokov"):b+"rokmi"}}var s={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(d){return d+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return a.default.locale(s,null,!0),s}))})(nm)),nm.exports}var Mj=wj();const Tj=ae(Mj);var am={exports:{}},Aj=am.exports,rw;function Lj(){return rw||(rw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Aj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(n){return n+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"čez %s",past:"pred %s",s:"nekaj sekund",m:"minuta",mm:"%d minut",h:"ura",hh:"%d ur",d:"dan",dd:"%d dni",M:"mesec",MM:"%d mesecev",y:"leto",yy:"%d let"}};return a.default.locale(i,null,!0),i}))})(am)),am.exports}var $j=Lj();const Pj=ae($j);var im={exports:{}},Cj=im.exports,ow;function Ej(){return ow||(ow=1,(function(e,t){(function(r,o){e.exports=o(de())})(Cj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sq",weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"}};return a.default.locale(i,null,!0),i}))})(im)),im.exports}var Oj=Ej();const Ij=ae(Oj);var lm={exports:{}},Bj=lm.exports,nw;function Dj(){return nw||(nw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Bj,(function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(r),i={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(s,d){return s%10>=1&&s%10<=4&&(s%100<10||s%100>=20)?s%10==1?d[0]:d[1]:d[2]},relativeTimeFormatter:function(s,d,c,m){var f=i.words[c];if(c.length===1)return c==="y"&&d?"једна година":m||d?f[0]:f[1];var b=i.correctGrammarCase(s,f);return c==="yy"&&d&&b==="%d годину"?s+" година":b.replace("%d",s)}},n={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:i.relativeTimeFormatter,mm:i.relativeTimeFormatter,h:i.relativeTimeFormatter,hh:i.relativeTimeFormatter,d:i.relativeTimeFormatter,dd:i.relativeTimeFormatter,M:i.relativeTimeFormatter,MM:i.relativeTimeFormatter,y:i.relativeTimeFormatter,yy:i.relativeTimeFormatter},ordinal:function(s){return s+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return a.default.locale(n,null,!0),n}))})(lm)),lm.exports}var kj=Dj();const Gj=ae(kj);var sm={exports:{}},Nj=sm.exports,aw;function Fj(){return aw||(aw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Nj,(function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(r),i={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(s,d){return s%10>=1&&s%10<=4&&(s%100<10||s%100>=20)?s%10==1?d[0]:d[1]:d[2]},relativeTimeFormatter:function(s,d,c,m){var f=i.words[c];if(c.length===1)return c==="y"&&d?"jedna godina":m||d?f[0]:f[1];var b=i.correctGrammarCase(s,f);return c==="yy"&&d&&b==="%d godinu"?s+" godina":b.replace("%d",s)}},n={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:i.relativeTimeFormatter,mm:i.relativeTimeFormatter,h:i.relativeTimeFormatter,hh:i.relativeTimeFormatter,d:i.relativeTimeFormatter,dd:i.relativeTimeFormatter,M:i.relativeTimeFormatter,MM:i.relativeTimeFormatter,y:i.relativeTimeFormatter,yy:i.relativeTimeFormatter},ordinal:function(s){return s+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return a.default.locale(n,null,!0),n}))})(sm)),sm.exports}var Rj=Fj();const Vj=ae(Rj);var dm={exports:{}},Hj=dm.exports,iw;function Yj(){return iw||(iw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Hj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(n){return n},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return a.default.locale(i,null,!0),i}))})(dm)),dm.exports}var Uj=Yj();const Xj=ae(Uj);var um={exports:{}},Wj=um.exports,lw;function jj(){return lw||(lw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Wj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sv-fi",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(n){var s=n%10;return"["+n+(s===1||s===2?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(i,null,!0),i}))})(um)),um.exports}var Kj=jj();const zj=ae(Kj);var cm={exports:{}},qj=cm.exports,sw;function Zj(){return sw||(sw=1,(function(e,t){(function(r,o){e.exports=o(de())})(qj,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(n){var s=n%10;return"["+n+(s===1||s===2?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(i,null,!0),i}))})(cm)),cm.exports}var Qj=Zj();const Jj=ae(Qj);var mm={exports:{}},eK=mm.exports,dw;function tK(){return dw||(dw=1,(function(e,t){(function(r,o){e.exports=o(de())})(eK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(n){return n},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(mm)),mm.exports}var rK=tK();const oK=ae(rK);var gm={exports:{}},nK=gm.exports,uw;function aK(){return uw||(uw=1,(function(e,t){(function(r,o){e.exports=o(de())})(nK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return a.default.locale(i,null,!0),i}))})(gm)),gm.exports}var iK=aK();const lK=ae(iK);var fm={exports:{}},sK=fm.exports,cw;function dK(){return cw||(cw=1,(function(e,t){(function(r,o){e.exports=o(de())})(sK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(n){return n},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return a.default.locale(i,null,!0),i}))})(fm)),fm.exports}var uK=dK();const cK=ae(uK);var pm={exports:{}},mK=pm.exports,mw;function gK(){return mw||(mw=1,(function(e,t){(function(r,o){e.exports=o(de())})(mK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return a.default.locale(i,null,!0),i}))})(pm)),pm.exports}var fK=gK();const pK=ae(fK);var bm={exports:{}},bK=bm.exports,gw;function hK(){return gw||(gw=1,(function(e,t){(function(r,o){e.exports=o(de())})(bK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return a.default.locale(i,null,!0),i}))})(bm)),bm.exports}var xK=hK();const _K=ae(xK);var hm={exports:{}},vK=hm.exports,fw;function yK(){return fw||(fw=1,(function(e,t){(function(r,o){e.exports=o(de())})(vK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(n){return n+"."}};return a.default.locale(i,null,!0),i}))})(hm)),hm.exports}var SK=yK();const wK=ae(SK);var xm={exports:{}},MK=xm.exports,pw;function TK(){return pw||(pw=1,(function(e,t){(function(r,o){e.exports=o(de())})(MK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tk",weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(n){return n+"."}};return a.default.locale(i,null,!0),i}))})(xm)),xm.exports}var AK=TK();const LK=ae(AK);var _m={exports:{}},$K=_m.exports,bw;function PK(){return bw||(bw=1,(function(e,t){(function(r,o){e.exports=o(de())})($K,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return a.default.locale(i,null,!0),i}))})(_m)),_m.exports}var CK=PK();const EK=ae(CK);var vm={exports:{}},OK=vm.exports,hw;function IK(){return hw||(hw=1,(function(e,t){(function(r,o){e.exports=o(de())})(OK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return a.default.locale(i,null,!0),i}))})(vm)),vm.exports}var BK=IK();const DK=ae(BK);var ym={exports:{}},kK=ym.exports,xw;function GK(){return xw||(xw=1,(function(e,t){(function(r,o){e.exports=o(de())})(kK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(n){return n+"."}};return a.default.locale(i,null,!0),i}))})(ym)),ym.exports}var NK=GK();const FK=ae(NK);var Sm={exports:{}},RK=Sm.exports,_w;function VK(){return _w||(_w=1,(function(e,t){(function(r,o){e.exports=o(de())})(RK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tzl",weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),ordinal:function(n){return n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return a.default.locale(i,null,!0),i}))})(Sm)),Sm.exports}var HK=VK();const YK=ae(HK);var wm={exports:{}},UK=wm.exports,vw;function XK(){return vw||(vw=1,(function(e,t){(function(r,o){e.exports=o(de())})(UK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return a.default.locale(i,null,!0),i}))})(wm)),wm.exports}var WK=XK();const jK=ae(WK);var Mm={exports:{}},KK=Mm.exports,yw;function zK(){return yw||(yw=1,(function(e,t){(function(r,o){e.exports=o(de())})(KK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return a.default.locale(i,null,!0),i}))})(Mm)),Mm.exports}var qK=zK();const ZK=ae(qK);var Tm={exports:{}},QK=Tm.exports,Sw;function JK(){return Sw||(Sw=1,(function(e,t){(function(r,o){e.exports=o(de())})(QK,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return a.default.locale(i,null,!0),i}))})(Tm)),Tm.exports}var ez=JK();const tz=ae(ez);var Am={exports:{}},rz=Am.exports,ww;function oz(){return ww||(ww=1,(function(e,t){(function(r,o){e.exports=o(de())})(rz,(function(r){function o(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var a=o(r),i="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),n="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(f,b,g){var h,y;return g==="m"?b?"хвилина":"хвилину":g==="h"?b?"година":"годину":f+" "+(h=+f,y={ss:b?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:b?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:b?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[g].split("_"),h%10==1&&h%100!=11?y[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?y[1]:y[2])}var c=function(f,b){return s.test(b)?i[f.month()]:n[f.month()]};c.s=n,c.f=i;var m={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:c,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:d,mm:d,h:d,hh:d,d:"день",dd:d,M:"місяць",MM:d,y:"рік",yy:d},ordinal:function(f){return f},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return a.default.locale(m,null,!0),m}))})(Am)),Am.exports}var nz=oz();const az=ae(nz);var Lm={exports:{}},iz=Lm.exports,Mw;function lz(){return Mw||(Mw=1,(function(e,t){(function(r,o){e.exports=o(de())})(iz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return a.default.locale(i,null,!0),i}))})(Lm)),Lm.exports}var sz=lz();const dz=ae(sz);var $m={exports:{}},uz=$m.exports,Tw;function cz(){return Tw||(Tw=1,(function(e,t){(function(r,o){e.exports=o(de())})(uz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return a.default.locale(i,null,!0),i}))})($m)),$m.exports}var mz=cz();const gz=ae(mz);var Pm={exports:{}},fz=Pm.exports,Aw;function pz(){return Aw||(Aw=1,(function(e,t){(function(r,o){e.exports=o(de())})(fz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return a.default.locale(i,null,!0),i}))})(Pm)),Pm.exports}var bz=pz();const hz=ae(bz);var Cm={exports:{}},xz=Cm.exports,Lw;function _z(){return Lw||(Lw=1,(function(e,t){(function(r,o){e.exports=o(de())})(xz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};return a.default.locale(i,null,!0),i}))})(Cm)),Cm.exports}var vz=_z();const yz=ae(vz);var Em={exports:{}},Sz=Em.exports,$w;function wz(){return $w||($w=1,(function(e,t){(function(r,o){e.exports=o(de())})(Sz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"x-pseudo",weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),weekStart:1,weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),ordinal:function(n){return n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"}};return a.default.locale(i,null,!0),i}))})(Em)),Em.exports}var Mz=wz();const Tz=ae(Mz);var Om={exports:{}},Az=Om.exports,Pw;function Lz(){return Pw||(Pw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Az,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(n){return n},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return a.default.locale(i,null,!0),i}))})(Om)),Om.exports}var $z=Lz();const Pz=ae($z);var Im={exports:{}},Cz=Im.exports,Cw;function Ez(){return Cw||(Cw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Cz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(n,s){return s==="W"?n+"周":n+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(n,s){var d=100*n+s;return d<600?"凌晨":d<900?"早上":d<1100?"上午":d<1300?"中午":d<1800?"下午":"晚上"}};return a.default.locale(i,null,!0),i}))})(Im)),Im.exports}var Oz=Ez();const Iz=ae(Oz);var Bm={exports:{}},Bz=Bm.exports,Ew;function Dz(){return Ew||(Ew=1,(function(e,t){(function(r,o){e.exports=o(de())})(Bz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(n){return n+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};return a.default.locale(i,null,!0),i}))})(Bm)),Bm.exports}var kz=Dz();const Gz=ae(kz);var Dm={exports:{}},Nz=Dm.exports,Ow;function Fz(){return Ow||(Ow=1,(function(e,t){(function(r,o){e.exports=o(de())})(Nz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(n){return n+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}};return a.default.locale(i,null,!0),i}))})(Dm)),Dm.exports}var Rz=Fz();const Vz=ae(Rz);var km={exports:{}},Hz=km.exports,Iw;function Yz(){return Iw||(Iw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Hz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(n,s){return s==="W"?n+"周":n+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(n,s){var d=100*n+s;return d<600?"凌晨":d<900?"早上":d<1100?"上午":d<1300?"中午":d<1800?"下午":"晚上"}};return a.default.locale(i,null,!0),i}))})(km)),km.exports}var Uz=Yz();const Xz=ae(Uz);var Gm={exports:{}},Wz=Gm.exports,Bw;function jz(){return Bw||(Bw=1,(function(e,t){(function(r,o){e.exports=o(de())})(Wz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(n){return n+"º"}};return a.default.locale(i,null,!0),i}))})(Gm)),Gm.exports}var Kz=jz();const zz=ae(Kz);var Nm={exports:{}},qz=Nm.exports,Dw;function Zz(){return Dw||(Dw=1,(function(e,t){(function(r,o){e.exports=o(de())})(qz,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(n){return n+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return a.default.locale(i,null,!0),i}))})(Nm)),Nm.exports}var Qz=Zz();const Jz=ae(Qz);var Fm={exports:{}},eq=Fm.exports,kw;function tq(){return kw||(kw=1,(function(e,t){(function(r,o){e.exports=o(de())})(eq,(function(r){function o(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var a=o(r),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(n){return n+"º"}};return a.default.locale(i,null,!0),i}))})(Fm)),Fm.exports}var rq=tq();const oq=ae(rq),nq={af:IF,am:GF,"ar-dz":VF,"ar-iq":XF,"ar-kw":zF,"ar-ly":JF,"ar-ma":oR,"ar-sa":lR,"ar-tn":cR,ar:pR,az:_R,be:wR,bg:LR,bi:ER,bm:DR,bn:FR,bo:YR,br:jR,bs:ZR,ca:tV,cs:aV,cv:dV,cy:gV,da:hV,"de-at":yV,"de-ch":TV,de:PV,dv:IV,el:GV,"en-au":VV,"en-ca":XV,"en-gb":zV,"en-ie":JV,"en-il":oH,"en-in":lH,"en-nz":cH,"en-sg":pH,"en-tt":_H,en:wH,eo:LH,"es-do":EH,"es-mx":DH,et:FH,eu:YH,fa:jH,fi:ZH,fo:tY,"fr-ca":aY,"fr-ch":dY,fr:gY,fy:hY,ga:yY,gd:TY,gl:PY,"gom-latn":IY,gu:GY,he:VY,hi:XY,hr:zY,ht:JY,hu:oU,"hy-am":lU,id:cU,is:pU,"it-ch":_U,it:wU,ja:LU,jv:EU,ka:DU,kk:FU,km:YU,kn:jU,ko:ZU,ku:tX,ky:aX,lb:dX,lo:gX,lt:hX,lv:yX,me:TX,mi:PX,mk:IX,ml:GX,mn:VX,mr:XX,"ms-my":zX,ms:JX,mt:oW,my:lW,nb:cW,ne:pW,"nl-be":_W,nl:wW,nn:LW,"oc-lnc":EW,"pa-in":DW,pl:FW,"pt-br":YW,pt:jW,rn:ZW,ro:tj,ru:aj,rw:dj,sd:gj,se:hj,si:yj,sk:Tj,sl:Pj,sq:Ij,"sr-cyrl":Gj,sr:Vj,ss:Xj,"sv-fi":zj,sv:Jj,sw:oK,ta:lK,te:cK,tet:pK,tg:_K,th:wK,tk:LK,"tl-ph":EK,tlh:DK,tr:FK,tzl:YK,"tzm-latn":jK,tzm:ZK,"ug-cn":tz,uk:az,ur:dz,"uz-latn":gz,uz:hz,vi:yz,"x-pseudo":Tz,yo:Pz,"zh-cn":Iz,"zh-hk":Gz,"zh-tw":Vz,zh:Xz,"es-pr":zz,"es-us":Jz,es:oq};st.extend(dF);st.extend(gF);st.extend(hF);st.extend(yF);st.extend(TF);st.extend(PF);const UA=()=>{const e=new Date().getTimezoneOffset()*6e4;return new Date(Date.now()-e).toISOString()},XA=()=>new Date().toISOString(),WA=Pt(UA()),jA=Pt(XA());setInterval(()=>{WA.value=UA(),jA.value=XA()},1e3);const aq={locales:nq,lang:"en",backupLang:"en",async onLoad(){const e=ye(()=>wwLib.$store.getters["front/getLang"]);Kt(e,t=>{this.lang=t},{immediate:!0})},dateISO(){return WA.value},date(...e){return new Date(...e).toISOString()},dateRealtime(){return jA.value},toDateISO(e,t=this.settings.publicData.favoriteFormat){if(!e)throw"First parameter must be a string date";return t=t&&t.length?t:"YYYY-MM-DDTHH:mm:ss.sssZ",st(e,t,!1).toISOString()},formatDate(e,t=this.settings.publicData.favoriteFormat,r=this.lang){if(!e)throw"First parameter must be a string date";return st(e).locale(this.locales[r]||this.backupLang).format(t)},fromTime(e,t=!1,r=this.lang){if(!e)throw"First parameter must be a date as string";return st().locale(this.locales[r]||this.backupLang).from(st(e),t)},toTime(e,t=!1,r=this.lang){if(!e)throw"First parameter must be a date as string";return st().locale(this.locales[r]||this.backupLang).to(st(e),t)},compareDate(e,t,r,o=!1){if(!e)throw"First parameter must be a date";if(!t)throw"Second parameter must be a date";if(!r)throw"Third parameter must be a string";return st(t).diff(st(e),r,o)},getSecond(e=new Date().toISOString()){return st(e).get("second")},getMinute(e=new Date().toISOString()){return st(e).get("minute")},getHour(e=new Date().toISOString()){return st(e).get("hour")},getDay(e=new Date().toISOString()){return st(e).date()},getDayOfWeek(e=new Date().toISOString()){return st(e).get("day")},getMonth(e=new Date().toISOString()){return st(e).get("month")+1},getYear(e=new Date().toISOString()){return st(e).get("year")},getDayOfYear(e=new Date().toISOString()){return st(e).dayOfYear()},getWeekOfYear(e=new Date().toISOString()){return st(e).week()},addSeconds(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"second").toISOString()},addMinutes(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"minute").toISOString()},addHours(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"hour").toISOString()},addDays(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"day").toISOString()},addMonths(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"month").toISOString()},addYears(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).add(t,"year").toISOString()},setSecond(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).set("second",t).toISOString()},setMinute(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).set("minute",t).toISOString()},setHour(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).set("hour",t).toISOString()},setDay(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return t===0?st(e).toISOString():st(e).date(t).toISOString()},setDayOfWeek(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return t===0?st(e).toISOString():st(e).set("day",t).toISOString()},setMonth(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return t===0?st(e).toISOString():(t-=1,st(e).set("month",t).toISOString())},setYear(e,t){if(!e)throw"First parameter must be a date";if(!t&&t!==0)throw"Second parameter must be a number";return st(e).set("year",t).toISOString()},toTimestamp(e){if(!e)throw"First parameter must be a date";return st(e).valueOf()},getBrowserTimezone(){return st.tz.guess()},convertDateTimezone(e,t,r=!1){if(!e)throw"First parameter must be a date";if(typeof t!="string")throw"Second parameter must be a string";return st(e).tz(t,r).format()},formatDateTimezone(e,t=this.settings.publicData.favoriteFormat,r=st.tz.guess(),o=this.lang){if(!e)throw"First parameter must be a date";if(typeof t!="string")throw"Second parameter must be a string";if(typeof r!="string")throw"Third parameter must be a string";return st(e).tz(r).locale(this.locales[o]||this.backupLang).format(t)}},iq={async onLoad(e){var t;await this.addScripts((t=e.publicData)==null?void 0:t.packages,wwLib.getFrontDocument())},reloadPackages(e){this.onLoad(e)},addScript(e,t){return new Promise((r,o)=>{const a=`https://unpkg.com/${e.name}@${e.version}`,i=t.createElement("script");i.type="text/javascript",i.src=a,i.onload=()=>{this.updatePluginVariables(e.name,e.instanceName),r()},i.onerror=()=>{o()},t.head.appendChild(i)})},updatePluginVariables(e,t){wwLib.wwVariable.updateValue(`${this.id}-${e}`,wwLib.getFrontWindow()[t])},addScripts(e=[],t){const r=[];for(const o of Array.isArray(e)?e:[])r.push(this.addScript(o,t));return Promise.all(r)}};async function lq(){if(!("geolocation"in navigator))throw new Error("Geolocation is not available.");try{const e=await new Promise((t,r)=>{navigator.geolocation.getCurrentPosition(t,r)});return{coords:{accuracy:e.coords.accuracy,altitude:e.coords.altitude,altitudeAccurary:e.coords.altitudeAccurary,heading:e.coords.heading,latitude:e.coords.latitude,longitude:e.coords.longitude,speed:e.coords.speed},timestamp:e.timestamp}}catch(e){throw new Error(e,"Error while geolocation.")}}async function sq({share_title:e,share_text:t,share_url:r}){if(!("share"in navigator))throw new Error("Share is not available.");try{const o={title:e,text:t,url:r};if(navigator.canShare&&navigator.canShare(o))await navigator.share(o);else throw new Error("Data cannot be shared.")}catch(o){throw new Error(o,"Error while sharing.")}}async function dq({vibrate_pattern:e}){if(!("vibrate"in navigator))throw new Error("Vibration is not available.");try{navigator.vibrate(e)}catch(t){throw new Error(t,"Error while triggering vibration.")}}async function uq({notif_title:e,notif_body:t,notif_icon:r,notif_image:o,notif_tag:a,notif_data:i,notif_vibrate:n,notif_actions:s}){if(!("Notification"in window))throw new Error("Notifications are not available.");try{if(await Notification.requestPermission()!=="granted")throw new Error("Notification permission denied.");const c=await navigator.serviceWorker.getRegistration();if(c){const m={body:t,icon:r,image:o,tag:a,data:i,vibrate:n,actions:s};c.showNotification(e,m)}else throw new Error("Service Worker registration not found.")}catch(d){throw new Error(d,"Error while sending notification.")}}const cq=async()=>{try{if(typeof DeviceMotionEvent.requestPermission=="function")return await DeviceMotionEvent.requestPermission()}catch(e){throw new Error("Device motion permission request failed",e)}};var ci={},mi={},Bl={},Pd={},Gw;function mq(){return Gw||(Gw=1,Object.defineProperty(Pd,"__esModule",{value:!0}),Pd.trim=(e,t)=>e.replace(new RegExp("^["+t+"]+|["+t+"]+$","g"),"")),Pd}var Nw;function Fa(){if(Nw)return Bl;Nw=1,Object.defineProperty(Bl,"__esModule",{value:!0});const e=mq();return Bl.formatVersion=(t,r)=>{if(t===void 0)return"";const o=e.trim(t,". ").replace(new RegExp("_","g"),"."),a=o.split(".");return/^\d+$/.test(a.join(""))?r!==0&&Number.isInteger(parseFloat(o))?parseInt(o,10).toFixed(1):a.length>1&&r!==null?a.slice(0,r+1).join("."):o:o},Bl.parseBrowserEngineVersion=(t,r)=>{if(!r)return"";if(r==="Gecko"){const i=/[ ](?:rv[: ]([0-9\.]+)).*gecko\/[0-9]{8,10}/i,n=t.match(i);if(n)return n.pop()}const o=new RegExp(`${r}\\s*\\/?\\s*((?:(?=\\d+\\.\\d)\\d+[.\\d]*|\\d{1,7}(?=(?:\\D|$))))`,"i"),a=t.match(o);return a?a.pop():""},Bl}var Cd={},Fw;function Wr(){return Fw||(Fw=1,Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.variableReplacement=(e,t)=>{const r=new RegExp("\\$\\d","g");return e==null?"":e.replace(r,o=>{const a=parseInt(o.substr(1),10);return t[a-1]||""})}),Cd}var Ed={},Od={},Rw;function gq(){return Rw||(Rw=1,Object.defineProperty(Od,"__esModule",{value:!0}),Od.memoryCache=()=>{const e={};return{set:(o,a)=>{e[o]=a},get:o=>{if(e.hasOwnProperty(o))return e[o]}}}),Od}var Vw;function xr(){if(Vw)return Ed;Vw=1,Object.defineProperty(Ed,"__esModule",{value:!0});const t=gq().memoryCache(),r=o=>{const a=t.get(o);if(a)return a.value;const i=RegExp(`(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:${o})`,"i");return t.set(o,{value:i}),i};return Ed.userAgentParser=(o,a)=>{try{const n=r(o).exec(a);return n?n.slice(1):null}catch{return null}},Ed}const fq=JSON.parse('[{"regex":"Helio/(\\\\d+[\\\\.\\\\d]+)","name":"Helio","version":"$1","engine":{"default":"Blink"}},{"regex":"7654Browser/(\\\\d+[\\\\.\\\\d]+)","name":"7654 Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Qazweb/(\\\\d+[\\\\.\\\\d]+)","name":"Qazweb","version":"$1","engine":{"default":"Gecko"}},{"regex":"Degdegan/(\\\\d+[\\\\.\\\\d]+)","name":"deg-degan","version":"$1","engine":{"default":"Blink"}},{"regex":"JavaFX/(\\\\d+[\\\\.\\\\d]+)","name":"JavaFX","version":"$1","engine":{"default":"WebKit"}},{"regex":"Chedot/(\\\\d+[\\\\.\\\\d]+)","name":"Chedot","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome/(\\\\d+[\\\\.\\\\d]+) \\\\(Chromium GOST\\\\)","name":"Chromium GOST","version":"$1","engine":{"default":"Blink"}},{"regex":"(?:DeledaoPersonal|DeledaoFamily)/(\\\\d+[\\\\.\\\\d]+)","name":"Deledao","version":"$1","engine":{"default":"Blink"}},{"regex":"HasBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"HasBrowser","version":"$1","engine":{"default":"Blink"}},{"regex":"Byffox/(\\\\d+[\\\\.\\\\d]+)","name":"Byffox","version":"$1","engine":{"default":"Gecko"}},{"regex":"Chrome/(\\\\d+[\\\\.\\\\d]+).+AgentWeb.+UCBrowser","name":"CoolBrowser","version":"$1","engine":{"default":"Blink"}},{"regex":"DotBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"Dot Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"CravingExplorer/(\\\\d+[\\\\.\\\\d]+)","name":"Craving Explorer","version":"$1","engine":{"default":"Blink"}},{"regex":"DeskBrowse/(\\\\d+[\\\\.\\\\d]+)","name":"DeskBrowse","version":"$1"},{"regex":"Lolifox/(\\\\d+[\\\\.\\\\d]+)","name":"Lolifox","version":"$1"},{"regex":"qutebrowser/(\\\\d+[\\\\.\\\\d]+).+Chrome","name":"Qutebrowser","version":"$1","engine":{"default":"Blink"}},{"regex":"qutebrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Qutebrowser","version":"$1"},{"regex":"flast/(\\\\d+[\\\\.\\\\d]+)","name":"Flast","version":"$1","engine":{"default":"Blink"}},{"regex":"PolyBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"PolyBrowser","version":"$1","engine":{"default":"Gecko"}},{"regex":"Chrome.+BriskBard/(\\\\d+[\\\\.\\\\d]+)","name":"BriskBard","version":"$1","engine":{"default":"Blink"}},{"regex":"BriskBard(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"BriskBard","version":"$1"},{"regex":"GinxDroidBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"GinxDroid Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"AviraScout/(\\\\d+[\\\\.\\\\d]+)","name":"Avira Scout","version":"$1","engine":{"default":"Blink"}},{"regex":"VenusBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"Venus Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome.+Otter(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Otter Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Otter(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Otter Browser","version":"$1"},{"regex":"Chrome.+Smooz/(\\\\d+[\\\\.\\\\d]+)","name":"Smooz","version":"$1","engine":{"default":"Blink"}},{"regex":"Smooz/(\\\\d+[\\\\.\\\\d]+)","name":"Smooz","version":"$1"},{"regex":"Cornowser/(\\\\d+[\\\\.\\\\d]+)","name":"Cornowser","version":"$1","engine":{"default":"Blink"}},{"regex":"Orca/(\\\\d+[\\\\.\\\\d]+)","name":"Orca","version":"$1"},{"regex":"Flow/(?:(\\\\d+[\\\\.\\\\d]+))","name":"Flow","version":"$1","engine":{"default":"EkiohFlow"}},{"regex":"Ekioh/(?:(\\\\d+[\\\\.\\\\d]+))","name":"Flow","version":"$1","engine":{"default":"EkiohFlow"}},{"regex":"xStand/(\\\\d+[\\\\.\\\\d]+)","name":"xStand","version":"$1","engine":{"default":"WebKit"}},{"regex":"Biyubi/(\\\\d+[\\\\.\\\\d]+)","name":"Biyubi","version":"$1"},{"regex":"(?:Perfect%20Browser(?:-iPad)?|Perfect(?:BrowserPro)?)/(\\\\d+[\\\\.\\\\d]+)","name":"Perfect Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"Browser/Phantom/V(\\\\d+[\\\\.\\\\d]+)","name":"Phantom Browser","version":"$1"},{"regex":"AwoX(?:/(\\\\d+[\\\\.\\\\d]+))? Browser","name":"AwoX","version":"$1"},{"regex":"Zetakey/(\\\\d+[\\\\.\\\\d]+)","name":"Zetakey","version":"$1","engine":{"default":"WebKit"}},{"regex":"PlayFreeBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"PlayFree Browser","version":"$1"},{"regex":"(?:chimlac_browser|chimlac)/(?:(\\\\d+[\\\\.\\\\d]+))","name":"Chim Lac","version":"$1","engine":{"default":"Blink"}},{"regex":"Odin/(?:(\\\\d+[\\\\.\\\\d]+))","name":"Odin","version":"$1","engine":{"default":"Blink"}},{"regex":"Tbrowser/(\\\\d+[\\\\.\\\\d]+)","name":"T-Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"SFive(?:_Android)?/.+ Chrome/(\\\\d+[\\\\.\\\\d]+)","name":"SFive","version":"$1","engine":{"default":"Blink"}},{"regex":"SFive_IOS/(\\\\d+[\\\\.\\\\d]+)","name":"SFive","version":"$1"},{"regex":"Navigateur web/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Navigateur Web","version":"$1"},{"regex":"Sraf(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Seraphic Sraf","version":"$1","engine":{"default":"Blink"}},{"regex":"SeewoBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Seewo Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"(?:Kode(?:iOS)?/(?:(\\\\d+[\\\\.\\\\d]+))?|TansoDL)","name":"Kode Browser","version":"$1"},{"regex":"UR/(?:(\\\\d+[\\\\.\\\\d]+))","name":"UR Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"OceanHero/([\\\\.\\\\d]+)","name":"OceanHero","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome/.+ SLBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Smart Lenovo Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"SLBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Smart Lenovo Browser","version":"$1"},{"regex":"Browzar","name":"Browzar","version":""},{"regex":"Stargon/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Stargon","version":"$1","engine":{"default":"Blink"}},{"regex":"NFSBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"NFS Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Borealis/(\\\\d+[\\\\.\\\\d]+)","name":"Borealis Navigator","version":"$1"},{"regex":"YoloBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Yolo Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"PHX/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Phoenix Browser","version":"$1"},{"regex":"PrivacyWall/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"PrivacyWall","version":"$1"},{"regex":"Ghostery:?(\\\\d+[\\\\.\\\\d]+)?","name":"Ghostery Privacy Browser","version":"$1"},{"regex":"Firefox/.*(?:Turkcell-)?YaaniBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Yaani Browser","version":"$1","engine":{"default":"Gecko"}},{"regex":"(?:Turkcell-)?YaaniBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Yaani Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"SEB/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Safe Exam Browser","version":"$1"},{"regex":"Colibri/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Colibri","version":"$1"},{"regex":"Xvast/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Xvast","version":"$1"},{"regex":"TungstenBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Tungsten","version":"$1"},{"regex":"Lulumi-browser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Lulumi","version":"$1"},{"regex":"ybrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Yahoo! Japan Browser","version":"$1"},{"regex":"iLunascapeLite/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Lunascape Lite","version":"$1"},{"regex":"Polypane/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Polypane","version":"$1"},{"regex":"OhHaiBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"OhHai Browser","version":"$1"},{"regex":"Sizzy/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Sizzy","version":"$1"},{"regex":"GlassBrowser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Glass Browser","version":"$1"},{"regex":"ToGate/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"ToGate","version":"$1"},{"regex":"AirWatch Browser v(?:(\\\\d+[\\\\.\\\\d]+))?","name":"VMware AirWatch","version":"$1"},{"regex":"ADG/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"AOL Desktop","version":"$1"},{"regex":"Elements Browser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Elements Browser","version":"$1"},{"regex":"Light/(\\\\d+[\\\\.\\\\d]+)","name":"Light","version":"$1"},{"regex":"Valve Steam GameOverlay/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Steam In-Game Overlay","version":"$1"},{"regex":"115Browser/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"115 Browser","version":"$1"},{"regex":"Atom/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Atom","version":"$1"},{"regex":"Mobile VR.+Firefox","name":"Firefox Reality","version":""},{"regex":"AVG(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"AVG Secure Browser","version":"$1"},{"regex":"Start/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"START Internet Browser","version":"$1"},{"regex":"Lovense(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Lovense Browser","version":"$1"},{"regex":"com.airfind.deltabrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Delta Browser","version":"$1"},{"regex":"(?:Ordissimo|webissimo3)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Ordissimo","version":"$1"},{"regex":"CCleaner(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"CCleaner","version":"$1"},{"regex":"AlohaLite(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Aloha Browser Lite","version":"$1","engine":{"default":"Blink"}},{"regex":"TaoBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Tao Browser","version":"$1"},{"regex":"Falkon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Falkon","version":"$1"},{"regex":"mCent(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"mCent","version":"$1"},{"regex":"SalamWeb(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"SalamWeb","version":"$1"},{"regex":"BlackHawk(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"BlackHawk","version":"$1"},{"regex":"Minimo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Minimo","version":"$1"},{"regex":"WIB(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Wear Internet Browser","version":"$1"},{"regex":"Origyn Web Browser","name":"Origyn Web Browser","version":""},{"regex":"Kinza(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Kinza","version":"$1"},{"regex":"Beamrise(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Beamrise","version":"$1"},{"regex":"Faux(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Faux Browser","version":"$1"},{"regex":"splash Version(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Splash","version":"$1"},{"regex":"MZBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Meizu Browser","version":"$1"},{"regex":"COSBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"COS Browser","version":"$1"},{"regex":"Crusta(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Crusta","version":"$1"},{"regex":"Hawk/TurboBrowser(?:/v?(\\\\d+[\\\\.\\\\d]+))?","name":"Hawk Turbo Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"FreeU(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"FreeU","version":"$1","engine":{"default":"Blink"}},{"regex":"NoxBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Nox Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Basilisk(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Basilisk","version":"$1","engine":{"default":"Goanna"}},{"regex":"SputnikBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Sputnik Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"TNSBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"K.Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"OculusBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Oculus Browser","version":"$1"},{"regex":"Jio(?:Browser|Pages)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Jio Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome/.+ Hola(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"hola! Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Slimjet/(?:(\\\\d+[\\\\.\\\\d]+))","name":"Slimjet","version":"$1","engine":{"default":"Blink"}},{"regex":"7Star/(?:(\\\\d+[\\\\.\\\\d]+))","name":"7Star","version":"$1","engine":{"default":"Blink"}},{"regex":"MxNitro/(?:(\\\\d+[\\\\.\\\\d]+))","name":"MxNitro","version":"$1","engine":{"default":"Blink"}},{"regex":"HuaweiBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Huawei Browser","version":"$1"},{"regex":"VivoBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"vivo Browser","version":"$1"},{"regex":"RealmeBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Realme Browser","version":"$1"},{"regex":"Beaker ?Browser(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Beaker Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"QwantiOS/(\\\\d+[\\\\.\\\\d]+)","name":"Qwant Mobile","version":"$1","engine":{"default":"WebKit"}},{"regex":"QwantMobile(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Qwant Mobile","version":"$1","engine":{"default":"Gecko"}},{"regex":"Qwant/(\\\\d+[\\\\.\\\\d]+)","name":"Qwant Mobile","version":"$1","engine":{"default":"Gecko"}},{"regex":"TenFourFox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"TenFourFox","version":"$1","engine":{"default":"Gecko"}},{"regex":"AOLShield(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"AOL Shield","version":"$1","engine":{"default":"Gecko"}},{"regex":"Edge[ /](\\\\d+[\\\\.\\\\d]+)","name":"Microsoft Edge","version":"$1","engine":{"default":"Edge"}},{"regex":"EdgiOS[ /](\\\\d+[\\\\.\\\\d]+)","name":"Microsoft Edge","version":"$1","engine":{"default":"WebKit"}},{"regex":"EdgA[ /](\\\\d+[\\\\.\\\\d]+)","name":"Microsoft Edge","version":"$1","engine":{"default":"Blink"}},{"regex":"Edg[ /](\\\\d+[\\\\.\\\\d]+)","name":"Microsoft Edge","version":"$1","engine":{"default":"Blink"}},{"regex":"QIHU 360[ES]E","name":"360 Browser","version":""},{"regex":"360 Aphone Browser(?: \\\\((\\\\d+[\\\\.\\\\d]+)(?:beta)?\\\\))?","name":"360 Phone Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"SailfishBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Sailfish Browser","version":"$1","engine":{"default":"Gecko"}},{"regex":"IceCat(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"IceCat","version":"$1","engine":{"default":"Gecko"}},{"regex":"Mobicip","name":"Mobicip","version":"","engine":{"default":"Gecko"}},{"regex":"Camino(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Camino","version":"$1","engine":{"default":"Gecko"}},{"regex":"Waterfox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Waterfox","version":"$1","engine":{"default":"Gecko"}},{"regex":"Chrome/.+ AlohaBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Aloha Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"AlohaBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Aloha Browser","version":"$1"},{"regex":"(?:Avast|ASW|Safer)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Avast Secure Browser","version":"$1"},{"regex":"Epic(?:/(\\\\d+[\\\\.\\\\d]+))","name":"Epic","version":"$1","engine":{"default":"Gecko"}},{"regex":"Fennec(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Fennec","version":"$1","engine":{"default":"Gecko"}},{"regex":"Firefox.*Tablet browser (\\\\d+[\\\\.\\\\d]+)","name":"MicroB","version":"$1","engine":{"default":"Gecko"}},{"regex":"Maemo Browser(?: (\\\\d+[\\\\.\\\\d]+))?","name":"MicroB","version":"$1","engine":{"default":"Gecko"}},{"regex":"Deepnet Explorer (\\\\d+[\\\\.\\\\d]+)?","name":"Deepnet Explorer","version":"$1"},{"regex":"Avant ?Browser","name":"Avant Browser","version":"","engine":{"default":""}},{"regex":"OppoBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Oppo Browser","version":"$1"},{"regex":"Chrome/(\\\\d+[\\\\.\\\\d]+).*MRCHROME","name":"Amigo","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"AtomicBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Atomic Web Browser","version":"$1"},{"regex":"Bunjalloo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Bunjalloo","version":"$1"},{"regex":"Brave(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Brave","version":"$1","engine":{"default":"Blink"}},{"regex":"Iridium(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Iridium","version":"$1"},{"regex":"Iceweasel(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Iceweasel","version":"$1","engine":{"default":"Gecko"}},{"regex":"WebPositive","name":"WebPositive","version":"","engine":{"default":"WebKit"}},{"regex":".*Goanna.*PaleMoon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Pale Moon","version":"$1","engine":{"default":"Goanna"}},{"regex":"PaleMoon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Pale Moon","version":"$1","engine":{"default":"Gecko"}},{"regex":"CometBird(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"CometBird","version":"$1","engine":{"default":"Gecko"}},{"regex":"IceDragon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"IceDragon","version":"$1","engine":{"default":"Gecko"}},{"regex":"Flock(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Flock","version":"$1","engine":{"default":"Gecko","versions":{"3":"WebKit"}}},{"regex":"JigBrowserPlus/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Jig Browser Plus","version":"$1"},{"regex":"jig browser(?: web;|9i?)?(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Jig Browser","version":"$1"},{"regex":"Kapiko(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Kapiko","version":"$1","engine":{"default":"Gecko"}},{"regex":"Kylo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Kylo","version":"$1","engine":{"default":"Gecko"}},{"regex":"Origin/(?:(\\\\d+[\\\\.\\\\d]+))?","name":"Origin In-Game Overlay","version":"$1"},{"regex":"Cunaguaro(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Cunaguaro","version":"$1"},{"regex":"(?:TO-Browser/TOB|DT-Browser/DTB)(\\\\d+[\\\\.\\\\d]+)","name":"t-online.de Browser","version":"$1"},{"regex":"Kazehakase(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Kazehakase","version":"$1","engine":{"default":""}},{"regex":"ArcticFox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Arctic Fox","version":"$1","engine":{"default":"Goanna"}},{"regex":"Mypal(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Mypal","version":"$1","engine":{"default":"Goanna"}},{"regex":"Centaury(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Centaury","version":"$1","engine":{"default":"Goanna"}},{"regex":"(?:Focus|Klar)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firefox Focus","version":"$1"},{"regex":"Cyberfox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Cyberfox","version":"$1","engine":{"default":"Gecko"}},{"regex":"Firefox/(\\\\d+[\\\\.\\\\d]+).*\\\\(Swiftfox\\\\)","name":"Swiftfox","version":"$1","engine":{"default":"Gecko"}},{"regex":"(?:Mobile|Tablet).*Servo.*Firefox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firefox Mobile","version":"$1","engine":{"default":"Servo"}},{"regex":"(?:Mobile|Tablet).*Firefox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firefox Mobile","version":"$1","engine":{"default":"Gecko"}},{"regex":"FxiOS/(\\\\d+[\\\\.\\\\d]+)","name":"Firefox Mobile iOS","version":"$1","engine":{"default":"WebKit"}},{"regex":".*Servo.*Firefox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firefox","version":"$1","engine":{"default":"Servo"}},{"regex":"(?!.*Opera[ /])Firefox(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firefox","version":"$1","engine":{"default":"Gecko"}},{"regex":"(?:BonEcho|GranParadiso|Lorentz|Minefield|Namoroka|Shiretoko)/(\\\\d+[\\\\.\\\\d]+)","name":"Firefox","version":"$1","engine":{"default":"Gecko"}},{"regex":"ANTFresco(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"ANT Fresco","version":"$1"},{"regex":"ANTGalio(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"ANTGalio","version":"$1"},{"regex":"(?:Espial|Escape)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Espial TV Browser","version":"$1"},{"regex":"RockMelt(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"RockMelt","version":"$1","engine":{"default":"WebKit"}},{"regex":"Fireweb Navigator(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Fireweb Navigator","version":"$1"},{"regex":"Fireweb(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Fireweb","version":"$1"},{"regex":"(?:Navigator|Netscape6?)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Netscape","version":"$1","engine":{"default":""}},{"regex":"(?:Polarity)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Polarity","version":"$1"},{"regex":"(?:QupZilla)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"QupZilla","version":"$1"},{"regex":"(?:Dooble)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Dooble","version":"$1"},{"regex":"Whale/(\\\\d+[\\\\.\\\\d]+)","name":"Whale Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Obigo[ ]?(?:InternetBrowser|Browser)?(?:[ /]([a-z0-9]*))?","name":"Obigo","version":"$1"},{"regex":"Obigo|Teleca","name":"Obigo","version":""},{"regex":"UCBrowserHD/(\\\\d[\\\\d\\\\.]+)","name":"UC Browser HD","version":"$1"},{"regex":"UCMini(?:[ /]?(\\\\d+[\\\\.\\\\d]+))?","name":"UC Browser Mini","version":"$1"},{"regex":"UC[ ]?Browser.* \\\\(UCMini\\\\)","name":"UC Browser Mini","version":""},{"regex":"UCTurbo(?:[ /]?(\\\\d+[\\\\.\\\\d]+))?","name":"UC Browser Turbo","version":"$1"},{"regex":"UC[ ]?Browser.* \\\\(UCTurbo\\\\)","name":"UC Browser Turbo","version":""},{"regex":"OPRGX(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Opera GX","version":"$1","engine":{"default":"Blink"}},{"regex":"(?:Opera Tablet.*Version|Opera/.+Opera Mobi.+Version|Mobile.+OPR)/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Mobile","version":"$1","engine":{"default":"Presto","versions":{"15":"Blink"}}},{"regex":"MMS/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Neon","version":"$1","engine":{"default":"Blink"}},{"regex":"OMI/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Devices","version":"$1","engine":{"default":"Blink"}},{"regex":"Opera%20Touch/(\\\\d+[\\\\.\\\\d]+)? CFNetwork/.+Darwin/.+(?!.*x86_64)","name":"Opera Touch","version":"$1","engine":{"default":"WebKit"}},{"regex":"OPT/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Touch","version":"$1","engine":{"default":"Blink"}},{"regex":"Opera/(\\\\d+[\\\\.\\\\d]+).+Opera Mobi","name":"Opera Mobile","version":"$1","engine":{"default":"Presto","versions":{"15":"Blink"}}},{"regex":"Opera ?Mini/(?:att/)?(\\\\d+[\\\\.\\\\d]+)","name":"Opera Mini","version":"$1","engine":{"default":"Presto"}},{"regex":"Opera ?Mini.+Version/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Mini","version":"$1","engine":{"default":"Presto"}},{"regex":"OPiOS/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Mini iOS","version":"$1","engine":{"default":"WebKit"}},{"regex":"Opera%20Mini/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Opera Mini iOS","version":"$1","engine":{"default":"WebKit"}},{"regex":"Opera.+Edition Next.+Version/(\\\\d+[\\\\.\\\\d]+)","name":"Opera Next","version":"$1","engine":{"default":"Presto","versions":{"15":"Blink"}}},{"regex":"(?:Opera|OPR)[/ ](?:9.80.*Version/)?(\\\\d+[\\\\.\\\\d]+).+Edition Next","name":"Opera Next","version":"$1","engine":{"default":"Presto","versions":{"15":"Blink"}}},{"regex":"(?:Opera[/ ]?|OPR[/ ])(?:9.80.*Version/)?(\\\\d+[\\\\.\\\\d]+)","name":"Opera","version":"$1","engine":{"default":"","versions":{"7":"Presto","15":"Blink","3.5":"Elektra"}}},{"regex":"rekonq(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Rekonq","version":"$1","engine":{"default":"WebKit"}},{"regex":"CoolNovo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"CoolNovo","version":"$1","engine":{"default":""}},{"regex":"(?:Comodo[ _])?Dragon(?!fruit)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Comodo Dragon","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"ChromePlus(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"ChromePlus","version":"$1","engine":{"default":""}},{"regex":"Conkeror(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Conkeror","version":"$1","engine":{"default":"Gecko"}},{"regex":"Konqueror(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Konqueror","version":"$1","engine":{"default":"KHTML","versions":{"4":""}}},{"regex":"(?:baidubrowser|bdbrowser(?:(?:hd)?_i18n)?|FlyFlow|BaiduHD)(?:[/ ](\\\\d+[\\\\.\\\\d]*))?","name":"Baidu Browser","version":"$1"},{"regex":"(?:(?:BD)?Spark(?:Safe)?|BIDUBrowser)[/ ](\\\\d+[\\\\.\\\\d]*)","name":"Baidu Spark","version":"$1"},{"regex":"YaBrowser(?:/(\\\\d+[\\\\.\\\\d]*)) \\\\(lite\\\\)?","name":"Yandex Browser Lite","version":"$1","engine":{"default":"Blink"}},{"regex":"YaBrowser(?:/(\\\\d+[\\\\.\\\\d]*))(?: \\\\((alpha|beta)\\\\))?","name":"Yandex Browser","version":"$1 $2","engine":{"default":"Blink"}},{"regex":"Ya(?:ndex)?SearchBrowser(?:/(\\\\d+[\\\\.\\\\d]*))","name":"Yandex Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Vivaldi(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Vivaldi","version":"$1","engine":{"default":"Blink"}},{"regex":"TweakStyle(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"TweakStyle","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome.+Midori Browser/(\\\\d+[\\\\.\\\\d]+)","name":"Midori","version":"$1","engine":{"default":"Blink"}},{"regex":"Midori(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Midori","version":"$1","engine":{"default":"WebKit"}},{"regex":"Mercury(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Mercury","version":"$1"},{"regex":"Chrome.+Maxthon(?:.+\\\\(portable\\\\))?/(\\\\d+[\\\\.\\\\d]+)","name":"Maxthon","version":"$1","engine":{"default":"WebKit","versions":{"5.2":"Blink"}}},{"regex":"(?:Maxthon(?:%20Browser)?|MxBrowser(?:-inhouse|-iPhone)?)[ /](\\\\d+[\\\\.\\\\d]+)","name":"Maxthon","version":"$1","engine":{"default":"","versions":{"3":"WebKit"}}},{"regex":"(?:Maxthon|MyIE2)","name":"Maxthon","version":"","engine":{"default":""}},{"regex":"Puffin(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Puffin","version":"$1"},{"regex":"MobileIron(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Iron Mobile","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome(?:/(\\\\d+[\\\\.\\\\d]+))?.*Iron","name":"Iron","version":"$1","engine":{"default":"WebKit"}},{"regex":"Iron(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Iron","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"Epiphany(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"GNOME Web","version":"$1","engine":{"default":"Gecko","versions":{"2.9.16":"","2.28":"WebKit"}}},{"regex":"LieBaoFast(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"LieBaoFast","version":"$1"},{"regex":"LBBrowser(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Cheetah Browser","version":"$1"},{"regex":"SE (\\\\d+[\\\\.\\\\d]+)","name":"Sogou Explorer","version":"$1"},{"regex":"QQBrowserLite/([\\\\d\\\\.]+)","name":"QQ Browser Lite","version":"$1"},{"regex":"M?QQBrowser/Mini([\\\\.\\\\d]+)?","name":"QQ Browser Mini","version":"$1","engine":{"default":""}},{"regex":"M?QQBrowser(?:/([\\\\.\\\\d]+))?","name":"QQ Browser","version":"$1","engine":{"default":""}},{"regex":"(?:MIUIBrowser|MiuiBrowser)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"MIUI Browser","version":"$1","engine":{"default":""}},{"regex":"(?:coc_coc_browser|coccocbrowser|CocCoc)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Coc Coc","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"DuckDuckGo/(\\\\d+[\\\\.\\\\d]*)","name":"DuckDuckGo Privacy Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"Samsung ?Browser(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Samsung Browser","version":"$1"},{"regex":"(?:SFB(?:rowser)?)/(\\\\d+[\\\\.\\\\d]+)","name":"Super Fast Browser","version":"$1"},{"regex":"com.browser.tssomas(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Super Fast Browser","version":"$1"},{"regex":"EUI Browser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"EUI Browser","version":"$1"},{"regex":"UBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"UBrowser","version":"$1"},{"regex":"Streamy(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Streamy","version":"$1","engine":{"default":"WebKit"}},{"regex":"isivioo","name":"Isivioo","version":"","engine":{"default":"WebKit"}},{"regex":"UC[ ]?Browser(?:[ /]?(\\\\d+[\\\\.\\\\d]+))?","name":"UC Browser","version":"$1"},{"regex":"UCWEB(?:[ /]?(\\\\d+[\\\\.\\\\d]+))?","name":"UC Browser","version":"$1"},{"regex":"UC AppleWebKit","name":"UC Browser","version":""},{"regex":"Tenta/(\\\\d+[\\\\.\\\\d]+)","name":"Tenta Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"Rocket/(\\\\d+[\\\\.\\\\d]+)","name":"Firefox Rocket","version":"$1","engine":{"default":"WebKit"}},{"regex":"Web Explorer/(\\\\d+[\\\\.\\\\d]+).*Chrome","name":"Web Explorer","version":"$1","engine":{"default":"WebKit"}},{"regex":"SznProhlizec/(\\\\d+[\\\\.\\\\d]+)","name":"Seznam Browser","version":"$1","engine":{"default":"Blink"}},{"regex":"SogouMobileBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"Sogou Mobile Browser","version":"$1","engine":{"default":""}},{"regex":"Mint Browser/(\\\\d+[\\\\.\\\\d]+)","name":"Mint Browser","version":"$1","engine":{"default":""}},{"regex":"Ecosia (?:android|ios)@(\\\\d+[\\\\.\\\\d]+)","name":"Ecosia","version":"$1","engine":{"default":""}},{"regex":"ACHEETAHI","name":"CM Browser","version":"","engine":{"default":""}},{"regex":"Kiwi Chrome","name":"Kiwi","version":"","engine":{"default":""}},{"regex":"Mb2345Browser/(\\\\d+[\\\\.\\\\d]+)","name":"2345 Browser","version":"$1","engine":{"default":""}},{"regex":"QtWebEngine/(\\\\d+[\\\\.\\\\d]+)","name":"QtWebEngine","version":"$1","engine":{"default":""}},{"regex":"Silk/(\\\\d+[\\\\.\\\\d]+) like Chrome","name":"Mobile Silk","version":"$1","engine":{"default":"Blink"}},{"regex":"Silk(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Mobile Silk","version":"$1","engine":{"default":"WebKit"}},{"regex":"IBrowse(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"IBrowse","version":"$1"},{"regex":"UP.Browser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Openwave Mobile Browser","version":"$1"},{"regex":"Openwave(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Openwave Mobile Browser","version":"$1"},{"regex":"OneBrowser(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"ONE Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"(?:NokiaBrowser|BrowserNG)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Nokia Browser","version":"$1"},{"regex":"Series60/5\\\\.0","name":"Nokia Browser","version":"7.0"},{"regex":"Series60/(\\\\d+[\\\\.\\\\d]+)","name":"Nokia OSS Browser","version":"$1"},{"regex":"S40OviBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"Nokia Ovi Browser","version":"$1"},{"regex":"^Nokia|Nokia[EN]?\\\\d+","name":"Nokia Browser","version":""},{"regex":"Sleipnir(?:(?:%20Browser)?[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Sleipnir","version":"$1","engine":{"default":""}},{"regex":"NTENTBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NTENT Browser","version":"$1"},{"regex":"TV Bro/(\\\\d+[\\\\.\\\\d]+)","name":"TV Bro","version":"$1"},{"regex":"Chrome/.+ Quark(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Quark","version":"$1","engine":{"default":"WebKit"}},{"regex":"MonumentBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Monument Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"BlueBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Blue Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"JAPAN Browser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Japan Browser","version":"$1","engine":{"default":"WebKit"}},{"regex":"Version/.* Chrome(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chrome Webview","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"CrMo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chrome Mobile","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"CriOS(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chrome Mobile iOS","version":"$1","engine":{"default":"WebKit"}},{"regex":"Chrome(?:/(\\\\d+[\\\\.\\\\d]+))? Mobile","name":"Chrome Mobile","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"chromeframe(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chrome Frame","version":"$1","engine":{"default":"WebKit"}},{"regex":"Chromium(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chromium","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"HeadlessChrome(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Headless Chrome","version":"$1","engine":{"default":"Blink"}},{"regex":"Chrome(?!book)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Chrome","version":"$1","engine":{"default":"WebKit","versions":{"28":"Blink"}}},{"regex":"(?:Tizen|SLP) Browser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Tizen Browser","version":"$1"},{"regex":"Blazer(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Palm Blazer","version":"$1"},{"regex":"Pre/(\\\\d+[\\\\.\\\\d]+)","name":"Palm Pre","version":"$1"},{"regex":"(?:hpw|web)OS/(\\\\d+[\\\\.\\\\d]+)","name":"wOSBrowser","version":"$1"},{"regex":"WebPro(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Palm WebPro","version":"$1"},{"regex":"Palmscape(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Palmscape","version":"$1"},{"regex":"Jasmine(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Jasmine","version":"$1"},{"regex":"Lynx(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Lynx","version":"$1","engine":{"default":"Text-based"}},{"regex":"NCSA_Mosaic(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NCSA Mosaic","version":"$1"},{"regex":"ABrowse(?: (\\\\d+[\\\\.\\\\d]+))?","name":"ABrowse","version":"$1"},{"regex":"amaya(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Amaya","version":"$1"},{"regex":"AmigaVoyager(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Amiga Voyager","version":"$1"},{"regex":"Amiga-Aweb(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Amiga Aweb","version":"$1"},{"regex":"Arora(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Arora","version":"$1","engine":{"default":"WebKit"}},{"regex":"Beonex(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Beonex","version":"$1","engine":{"default":"Gecko"}},{"regex":"bline(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"B-Line","version":"$1","engine":{"default":"WebKit"}},{"regex":"BrowseX \\\\((\\\\d+[\\\\.\\\\d]+)","name":"BrowseX","version":"$1"},{"regex":"Charon(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Charon","version":"$1"},{"regex":"Cheshire(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Cheshire","version":"$1"},{"regex":"dbrowser","name":"dbrowser","version":"","engine":{"default":"WebKit"}},{"regex":"Dillo(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Dillo","version":"$1","engine":{"default":"Dillo"}},{"regex":"Dolfin(?:/(\\\\d+[\\\\.\\\\d]+))?|dolphin","name":"Dolphin","version":"$1","engine":{"default":"WebKit"}},{"regex":"Elinks(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Elinks","version":"$1","engine":{"default":"Text-based"}},{"regex":"Element Browser(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Element Browser","version":"$1"},{"regex":"eZBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"eZ Browser","version":"$1"},{"regex":"Firebird(?! Build)(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Firebird","version":"$1","engine":{"default":"Gecko"}},{"regex":"Fluid(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Fluid","version":"$1","engine":{"default":"WebKit"}},{"regex":"Galeon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Galeon","version":"$1","engine":{"default":"Gecko"}},{"regex":"Google Earth(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Google Earth","version":"$1","engine":{"default":"WebKit"}},{"regex":"HotJava(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"HotJava","version":"$1"},{"regex":"iCabMobile(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"iCab Mobile","version":"$1","engine":{"default":"WebKit"}},{"regex":"iCab(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"iCab","version":"$1","engine":{"default":"iCab","versions":{"4":"WebKit"}}},{"regex":"i?Lunascape(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Lunascape","version":"$1","engine":{"default":""}},{"regex":"Crazy Browser (\\\\d+[\\\\.\\\\d]+)","name":"Crazy Browser","version":"$1","engine":{"default":"Trident"}},{"regex":"IEMobile[ /](\\\\d+[\\\\.\\\\d]+)","name":"IE Mobile","version":"$1","engine":{"default":"Trident"}},{"regex":"MSIE (\\\\d+[\\\\.\\\\d]+).*XBLWP7","name":"IE Mobile","version":"$1","engine":{"default":"Trident"}},{"regex":"MSIE.*Trident/4.0","name":"Internet Explorer","version":"8.0","engine":{"default":"Trident"}},{"regex":"MSIE.*Trident/5.0","name":"Internet Explorer","version":"9.0","engine":{"default":"Trident"}},{"regex":"MSIE.*Trident/6.0","name":"Internet Explorer","version":"10.0","engine":{"default":"Trident"}},{"regex":"Trident/[78].0","name":"Internet Explorer","version":"11.0","engine":{"default":"Trident"}},{"regex":"MSIE (\\\\d+[\\\\.\\\\d]+)","name":"Internet Explorer","version":"$1","engine":{"default":"Trident"}},{"regex":"IE[ /](\\\\d+[\\\\.\\\\d]+)","name":"Internet Explorer","version":"$1","engine":{"default":"Trident"}},{"regex":"Kindle/(\\\\d+[\\\\.\\\\d]+)","name":"Kindle Browser","version":"$1"},{"regex":"K-meleon(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"K-meleon","version":"$1","engine":{"default":"Gecko"}},{"regex":"Links(?: \\\\((\\\\d+[\\\\.\\\\d]+))?","name":"Links","version":"$1","engine":{"default":"Text-based"}},{"regex":"LG Browser(?:/(\\\\d+[\\\\.\\\\d]+))","name":"LG Browser","version":"$1"},{"regex":"LuaKit(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"LuaKit","version":"$1"},{"regex":"OmniWeb(?:/[v]?(\\\\d+[\\\\.\\\\d]+))?","name":"OmniWeb","version":"$1","engine":{"default":"WebKit"}},{"regex":"Phoenix(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Phoenix","version":"$1"},{"regex":"NetFrontLifeBrowser(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NetFront Life","version":"$1","engine":{"default":"NetFront"}},{"regex":"NetFront(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NetFront","version":"$1","engine":{"default":"NetFront"}},{"regex":"PLAYSTATION|NINTENDO 3|AppleWebKit.+ N[XF]/\\\\d+\\\\.\\\\d+\\\\.\\\\d+","name":"NetFront","version":""},{"regex":"NetPositive(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NetPositive","version":"$1"},{"regex":"Odyssey Web Browser(?:.*OWB/(\\\\d+[\\\\.\\\\d]+))?","name":"Odyssey Web Browser","version":"$1"},{"regex":"OffByOne","name":"Off By One","version":""},{"regex":"(?:Oregano|OreganMediaBrowser)(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Oregano","version":"$1"},{"regex":"(?:Polaris|Embider)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Polaris","version":"$1"},{"regex":"SEMC-Browser(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"SEMC-Browser","version":"$1"},{"regex":"Shiira(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Shiira","version":"$1","engine":{"default":"WebKit"}},{"regex":"Skyfire(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Skyfire","version":"$1"},{"regex":"Snowshoe(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Snowshoe","version":"$1","engine":{"default":"WebKit"}},{"regex":"Sunrise(?:Browser)?(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Sunrise","version":"$1"},{"regex":"SuperBird(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"SuperBird","version":"$1"},{"regex":"Vision-Browser(?:/(\\\\d+[\\\\.\\\\d]+))","name":"Vision Mobile Browser","version":"$1"},{"regex":"WeTab-Browser","name":"WeTab Browser","version":""},{"regex":"Xiino(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Xiino","version":"$1"},{"regex":"BlackBerry|PlayBook|BB10","name":"BlackBerry Browser","version":""},{"regex":"Android","name":"Android Browser","version":"","engine":{"default":"WebKit"}},{"regex":"Coast(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Coast","version":"$1"},{"regex":"Surf(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"surf","version":"$1","engine":{"default":"WebKit"}},{"regex":"(?:(?:iPod|iPad|iPhone).+Version|MobileSafari)/(\\\\d+[\\\\.\\\\d]+)","name":"Mobile Safari","version":"$1","engine":{"default":"WebKit"}},{"regex":"(?:Version/(\\\\d+[\\\\.\\\\d]+).*)?Mobile.*Safari/","name":"Mobile Safari","version":"$1","engine":{"default":"WebKit"}},{"regex":"(?:iPod|iPhone|iPad)","name":"Mobile Safari","version":"","engine":{"default":"WebKit"}},{"regex":"Version/(\\\\d+[\\\\.\\\\d]+).*Safari/|Safari/?\\\\d+","name":"Safari","version":"$1","engine":{"default":"WebKit"}},{"regex":"Dorado WAP-Browser[/ ](\\\\d+[\\\\.\\\\d]+)","name":"Dorado","version":"$1"},{"regex":"NetSurf(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"NetSurf","version":"$1","engine":{"default":"NetSurf"}},{"regex":"Uzbl","name":"Uzbl","version":""},{"regex":"SimpleBrowser","name":"SimpleBrowser","version":""},{"regex":"Zvu(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"Zvu","version":"$1","engine":{"default":"Gecko"}},{"regex":"GOGGalaxyClient/(\\\\d+[\\\\.\\\\d]+)?","name":"GOG Galaxy","version":"$1"},{"regex":"WAP Browser/MAUI|(?:\\\\w+)?Maui Wap Browser|MAUI[- ]Browser","name":"MAUI WAP Browser","version":""},{"regex":"SP%20Browser/(\\\\d+[\\\\.\\\\d]+)","name":"SP Browser","version":"$1","engine":{"default":"WebKit"}}]'),pq=[{regex:"NetFront",name:"NetFront"},{regex:"Edge",name:"Edge"},{regex:"Trident",name:"Trident"},{regex:"(?{const b={type:"",name:"",version:"",engine:"",engineVersion:""};for(const g of a.default){const h=o.userAgentParser(g.regex,f);if(!h)continue;const y=r.variableReplacement(g.version,h),w=t.formatVersion(y,this.options.versionTruncation),M=w&&parseFloat(t.formatVersion(y,1))||"";if(g.engine&&(b.engine=g.engine.default,g.engine&&g.engine.versions&&M)){const A=Object.entries(g.engine.versions).sort((L,C)=>parseFloat(L[0])>parseFloat(C[0])?1:-1);for(const[L,C]of A)parseFloat(L)<=M&&(b.engine=C||"")}b.type="browser",b.name=r.variableReplacement(g.name,h),b.version=w;break}if(!b.engine)for(const g of i.default){let h=null;try{h=RegExp(g.regex,"i").exec(f)}catch{}if(h){b.engine=g.name;break}}return b.engineVersion=t.formatVersion(t.parseBrowserEngineVersion(f,b.engine),this.options.versionTruncation),b},this.options=Object.assign(Object.assign({},this.options),m)}}return mi.default=d,d.getBrowserShortName=c=>{for(const[m,f]of Object.entries(n.default))if(f===c)return m;return""},d.isMobileOnlyBrowser=c=>s.default.includes(d.getBrowserShortName(c)),mi}var gi={};const cre=JSON.parse('[{"regex":"AndroidDownloadManager(?:[ /]([\\\\d\\\\.]+))?","name":"AndroidDownloadManager","version":"$1"},{"regex":"(?:Apple)?News(?:[ /][\\\\d\\\\.]+)? Version(?:[ /]([\\\\d\\\\.]+))?","name":"Apple News","version":"$1"},{"regex":"bPod","name":"bPod","version":""},{"regex":"MessengerLiteForiOS.(?:FBAV)(?:[ /]([\\\\d\\\\.]+))?","name":"Facebook Messenger Lite","version":"$1"},{"regex":"(?:MessengerForiOS|MESSENGER).(?:FBAV)(?:[ /]([\\\\d\\\\.]+))?","name":"Facebook Messenger","version":"$1"},{"regex":"(?:FBAV|com.facebook.katana)(?:[ /]([\\\\d\\\\.]+))?","name":"Facebook","version":"$1"},{"regex":"(?:FBAN|FBSV|FBID|FBBV)/","name":"Facebook","version":""},{"regex":"FeedR(?:/([\\\\d\\\\.]+))?","name":"FeedR","version":"$1"},{"regex":"com.google.android.apps.searchlite","name":"Google Go","version":""},{"regex":"com.google.android.apps.magazines","name":"Google Play Newsstand","version":""},{"regex":"com.google.GooglePlus","name":"Google Plus","version":""},{"regex":"MicroMessenger/([^; ]+)","name":"WeChat","version":"$1"},{"regex":"WeChatShareExtensionNew/([\\\\d\\\\.]+)","name":"WeChat Share Extension","version":"$1"},{"regex":"DingTalk/([0-9\\\\.]+)","name":"DingTalk","version":"$1"},{"regex":".*__weibo__([0-9\\\\.]+)__","name":"Sina Weibo","version":"$1"},{"regex":"Pinterest(?: for (?:Android|iOS))?(?:/([\\\\d\\\\.]+))?","name":"Pinterest","version":"$1"},{"regex":"Podcatcher Deluxe","name":"Podcatcher Deluxe","version":""},{"regex":"com.google.android.youtube(?:/([\\\\d\\\\.]+))?","name":"YouTube","version":"$1"},{"regex":"([^/]+)/(\\\\d+(?:\\\\.\\\\d+)+) \\\\((?:iPhone|iPad); iOS [0-9\\\\.]+; Scale/[0-9\\\\.]+\\\\)","name":"$1","version":"$2"},{"regex":"WhatsApp(?:[ /]([\\\\d\\\\.]+))?","name":"WhatsApp","version":"$1"},{"regex":"Line(?:[ /]([\\\\d\\\\.]+))","name":"Line","version":"$1"},{"regex":"Instacast(?:HD)?/(\\\\d\\\\.[\\\\d\\\\.abc]+) CFNetwork/([\\\\d\\\\.]+) Darwin/([\\\\d\\\\.]+)","name":"Instacast","version":"$1"},{"regex":"Podcasts/([\\\\d\\\\.]+)","name":"Podcasts","version":"$1"},{"regex":"Pocket Casts(?:, (?:Android|iOS) v([\\\\d\\\\.]+))?","name":"Pocket Casts","version":"$1"},{"regex":"Podcat/([\\\\d\\\\.]+)","name":"Podcat","version":"$1"},{"regex":"BeyondPod","name":"BeyondPod","version":null},{"regex":"AntennaPod/?([\\\\d\\\\.]+)?","name":"AntennaPod","version":"$1"},{"regex":"Overcast/([\\\\d\\\\.]+)","name":"Overcast","version":"$1"},{"regex":"(?:CastBox|fm.castbox.audiobook.radio.podcast)/?([\\\\d\\\\.]+)?","name":"CastBox","version":"$1"},{"regex":"Player FM","name":"Player FM","version":""},{"regex":"Podkicker(?: Pro)?/([\\\\d\\\\.]+)","name":"Podkicker","version":"$1"},{"regex":"PodcastRepublic/([\\\\d\\\\.]+)","name":"Podcast Republic","version":"$1"},{"regex":"Castro/(\\\\d+)","name":"Castro","version":"$1"},{"regex":"Castro 2 ([\\\\d\\\\.]+)/[\\\\d]+ Like iTunes","name":"Castro 2","version":"$1"},{"regex":"Castro 2","name":"Castro 2","version":""},{"regex":"DoggCatcher","name":"DoggCatcher","version":null},{"regex":"PodcastAddict/v([\\\\d]+)","name":"Podcast & Radio Addict","version":"$1"},{"regex":"Podcat(?:%202)?/([\\\\d]+) CFNetwork","name":"Podcat","version":"$1"},{"regex":"iCatcher[^\\\\d]+([\\\\d\\\\.]+)","name":"iCatcher","version":"$1"},{"regex":"YelpApp/([\\\\d\\\\.]+)","name":"Yelp Mobile","version":"$1"},{"regex":"jp.co.yahoo.android.yjtop/([\\\\d\\\\.]+)","name":"Yahoo! Japan","version":"$1"},{"regex":"RSSRadio/([\\\\d]+)?","name":"RSSRadio","version":"$1"},{"regex":"SogouSearch Android[\\\\d\\\\.]+ version([\\\\d\\\\.]+)?","name":"SogouSearch App","version":"$1"},{"regex":"NewsArticle/([\\\\d\\\\.]+)?","name":"NewsArticle App","version":"$1"},{"regex":"tieba/([\\\\d\\\\.]+)?","name":"tieba","version":"$1"},{"regex":"com\\\\.douban\\\\.group/([\\\\d\\\\.]+)?","name":"douban App","version":"$1"},{"regex":"BingWeb/([\\\\d\\\\.]+)?","name":"BingWebApp","version":"$1"},{"regex":"(?:com.google.GoogleMobile|GSA)/([\\\\d\\\\.]+)?","name":"Google Search App","version":"$1"},{"regex":"Flipboard/([\\\\d\\\\.]+)?","name":"Flipboard App","version":"$1"},{"regex":"Instagram[ /]([\\\\d\\\\.]+)?","name":"Instagram App","version":"$1"},{"regex":"baiduboxapp/([\\\\d\\\\.]+)?","name":"Baidu Box App","version":"$1"},{"regex":"Crosswalk(?!.*(?:Streamy|QwantMobile))/([\\\\d\\\\.]+)?","name":"CrosswalkApp","version":"$1"},{"regex":"Twitter for iPhone[/]?([\\\\d\\\\.]+)?","name":"Twitter","version":"$1"},{"regex":"Twitter/([\\\\d\\\\.]+)","name":"Twitter","version":"$1"},{"regex":"TwitterAndroid[/]?([\\\\d\\\\.]+)?","name":"Twitter","version":"$1"},{"regex":"TopBuzz/([\\\\d\\\\.]+)","name":"TopBuzz","version":"$1"},{"regex":"Snapchat/([\\\\d\\\\.]+)","name":"Snapchat","version":"$1"},{"regex":"UnityPlayer/([\\\\d\\\\.]+)","name":"UnityPlayer","version":"$1"},{"regex":"UCURSOS/v([\\\\d\\\\.]+)","name":"U-Cursos","version":"$1"},{"regex":"HeyTapBrowser/([\\\\d\\\\.]+)","name":"HeyTapBrowser","version":"$1"},{"regex":"RobloxApp/([\\\\d\\\\.]+)","name":"Roblox","version":"$1"},{"regex":"Viber/([\\\\d\\\\.]+)","name":"Viber","version":"$1"},{"regex":"Siri/1","name":"Siri","version":"1.0"},{"regex":"LinkedIn/([\\\\d\\\\.]+)","name":"LinkedIn","version":"$1"},{"regex":"Instapaper/([\\\\d\\\\.]+)","name":"Instapaper","version":"$1"},{"regex":"Keeper/([\\\\d\\\\.]+)","name":"Keeper Password Manager","version":"$1"},{"regex":"Skyeng Teachers/([\\\\d\\\\.]+)","name":"Skyeng Teachers","version":"$1"},{"regex":"Kik/([\\\\d\\\\.]+) \\\\(Android","name":"Kik","version":"$1"},{"regex":"Procast/?([\\\\d\\\\.]+)?","name":"Procast","version":"$1"},{"regex":"DeviantArt/([\\\\d\\\\.]+)","name":"DeviantArt","version":""},{"regex":"Discord/([\\\\d\\\\.]+)","name":"Discord","version":""},{"regex":"Covenant%20Eyes/([\\\\d\\\\.]+)","name":"Covenant Eyes","version":"$1"},{"regex":"HP%20Smart/([\\\\d\\\\.]+)","name":"HP Smart","version":""},{"regex":"Bitsboard/([\\\\d\\\\.]+)","name":"Bitsboard","version":"$1"},{"regex":"Betbull/([\\\\d\\\\.]+)","name":"BetBull","version":""},{"regex":"U-Cursos/([\\\\d\\\\.]+)","name":"U-Cursos","version":""},{"regex":"1PasswordThumbs/([\\\\d\\\\.]+)","name":"1Password","version":"$1"},{"regex":"(?:Microsoft Office )?(Access|Excel|OneDrive for Business|OneNote|PowerPoint|Project|Publisher|Visio|Word)[ /]([\\\\d\\\\.]+)","name":"Microsoft Office $1","version":"$2"},{"regex":"OneDriveiOSApp/([\\\\d\\\\.]+)","name":"Microsoft OneDrive","version":"$1"},{"regex":"Microsoft Office Mobile/([\\\\d\\\\.]+)","name":"Microsoft Office Mobile","version":"$1"},{"regex":"OC/([\\\\d\\\\.]+) \\\\(Skype for Business\\\\)","name":"Skype for Business","version":"$1"},{"regex":"TikTok[/ ](\\\\d+\\\\.(?:[\\\\.\\\\d]+))?","name":"TikTok","version":"$1"},{"regex":"NAVER/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Naver","version":"$1"},{"regex":"Copied/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Copied","version":""},{"regex":"Pic%20Collage/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Pic Collage","version":"$1"},{"regex":"Papers/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Papers","version":"$1"},{"regex":"RoboForm/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"RoboForm","version":""},{"regex":"Slack/(\\\\d+[\\\\.\\\\d]+) CFNetwork","name":"Slack","version":""},{"regex":"KAKAOTALK (\\\\d+\\\\.(?:[\\\\.\\\\d]+))?","name":"KakaoTalk","version":"$1"},{"regex":"ShopeeVN/([\\\\d\\\\.]+)","name":"Shopee","version":"$1"},{"regex":"SPORT1/([\\\\d\\\\.]+)","name":"SPORT1","version":""},{"regex":"Clovia/([\\\\d\\\\.]+)","name":"Clovia","version":"$1"},{"regex":"ShowMe/([\\\\d\\\\.]+)","name":"ShowMe","version":"$1"},{"regex":"Wattpad/([\\\\d\\\\.]+)","name":"Wattpad","version":"$1"},{"regex":"WSJ/([\\\\d\\\\.]+)","name":"The Wall Street Journal","version":""},{"regex":"WH%20Questions/([\\\\d\\\\.]+)","name":"WH Questions","version":"$1"},{"regex":"whisper/([\\\\d\\\\.]+)","name":"Whisper","version":""},{"regex":"Opal/([\\\\d\\\\.]+)","name":"Opal Travel","version":"$1"},{"regex":"Zalo/([\\\\d\\\\.]+)","name":"Zalo","version":"$1"},{"regex":"Yandex/([\\\\d\\\\.]+)","name":"Yandex","version":""},{"regex":"Zoho%20Chat/([\\\\d\\\\.]+)","name":"Zoho Chat","version":"$1"},{"regex":"Thunder/(\\\\d+[\\\\.\\\\d]+)","name":"Thunder","version":"$1"},{"regex":"CGNBrowser/(\\\\d+[\\\\.\\\\d]+)","name":"CGN","version":"$1"},{"regex":"Podbean/.+App (\\\\d+[\\\\.\\\\d]+)","name":"Podbean","version":"$1"},{"regex":"AlexaMediaPlayer/(\\\\d+[\\\\.\\\\d]+)","name":"Alexa Media Player","version":"$1"},{"regex":"TuneIn Radio Pro(?:[^/]+)?/(\\\\d+[\\\\.\\\\d]+)","name":"TuneIn Radio Pro","version":"$1"},{"regex":"TuneIn Radio(?:[^/]+)?/(\\\\d+[\\\\.\\\\d]+)","name":"TuneIn Radio","version":"$1"},{"regex":"Podcaster/(\\\\d+[\\\\.\\\\d]+)","name":"Podcaster","version":"$1"},{"regex":"Swoot/(\\\\d+[\\\\.\\\\d]+)","name":"Swoot","version":"$1"},{"regex":"RadioPublic/android-(\\\\d+[\\\\.\\\\d]+)","name":"RadioPublic","version":"$1"},{"regex":"Podimo/(\\\\d+[\\\\.\\\\d]+)","name":"Podimo","version":"$1"},{"regex":"com.evolve.podcast/(\\\\d+[\\\\.\\\\d]+)","name":"Evolve Podcast","version":"$1"},{"regex":" Rocket.Chat\\\\+?/(\\\\d+[\\\\.\\\\d]+)","name":"Rocket Chat","version":"$1"},{"regex":"^Pandora Audio.+Android","name":"Pandora","version":""},{"regex":"^NPROneAndroid","name":"NPR One","version":""},{"regex":"^WirtschaftsWoche-iOS-(\\\\d+[\\\\.\\\\d]+)","name":"Wirtschafts Woche","version":"$1"},{"regex":"^Outlook-iOS/.+\\\\((\\\\d+[\\\\.\\\\d]+)\\\\)$","name":"Microsoft Outlook","version":"$1"},{"regex":"^TVirl/(\\\\d+[\\\\.\\\\d]+)","name":"TVirl","version":"$1"},{"regex":"2?chMate/(\\\\d+[\\\\.\\\\d]+)","name":"ChMate","version":"$1"},{"regex":"2tch/(\\\\d+[\\\\.\\\\d]+)","name":"2tch","version":"$1"},{"regex":"Ciisaa/(\\\\d+[\\\\.\\\\d]+)","name":"Ciisaa","version":"$1"},{"regex":"BB2C (\\\\d+[\\\\.\\\\d]+)","name":"BB2C","version":"$1"},{"regex":"twinkle/(\\\\d+[\\\\.\\\\d]+)","name":"twinkle","version":"$1"},{"regex":"JaneStyle_iOS/(\\\\d+[\\\\.\\\\d]+)","name":"JaneStyle","version":"$1"}]');var Yw;function mre(){if(Yw)return gi;Yw=1;var e=gi&&gi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(gi,"__esModule",{value:!0});const t=e(cre),r=Fa(),o=Wr(),a=xr();class i{constructor(s){this.options={versionTruncation:1},this.parse=d=>{const c={type:"",name:"",version:""};for(const m of t.default){const f=a.userAgentParser(m.regex,d);if(f){c.type="mobile app",c.name=o.variableReplacement(m.name,f),c.version=r.formatVersion(o.variableReplacement(m.version,f),this.options.versionTruncation);break}}return c},this.options=Object.assign(Object.assign({},this.options),s)}}return gi.default=i,gi}var fi={};const gre=[{regex:"Akregator(?:/(\\d+[\\.\\d]+))?",name:"Akregator",version:"$1",url:"http://userbase.kde.org/Akregator",type:"Feed Reader"},{regex:"Apple-PubSub(?:/(\\d+[\\.\\d]+))?",name:"Apple PubSub",version:"$1",url:"https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/pubsub.1.html",type:"Feed Reader"},{regex:"BashPodder",name:"BashPodder",version:"",url:"http://lincgeek.org/bashpodder/",type:"Feed Reader"},{regex:"Breaker/v([\\d\\.]+)",name:"Breaker",version:"$1",url:"https://www.breaker.audio/",type:"Feed Reader App"},{regex:"Downcast/([\\d\\.]+)",name:"Downcast",version:"$1",url:"http://downcastapp.com/",type:"Feed Reader App"},{regex:"FeedDemon(?:/(\\d+[\\.\\d]+))?",name:"FeedDemon",version:"$1",url:"http://www.feeddemon.com/",type:"Feed Reader"},{regex:"Feeddler(?:RSS|PRO)(?:[/ ](\\d+[\\.\\d]+))?",name:"Feeddler RSS Reader",version:"$1",url:"http://www.chebinliu.com/projects/iphone/feeddler-rss-reader/",type:"Feed Reader App"},{regex:"QuiteRSS(?:[/ ](\\d+[\\.\\d]+))?",name:"QuiteRSS",version:"$1",url:"https://quiterss.org",type:"Feed Reader App"},{regex:"gPodder/([\\d\\.]+)",name:"gPodder",version:"$1",url:"http://gpodder.org/",type:"Feed Reader App"},{regex:"JetBrains Omea Reader(?:[/ ](\\d+[\\.\\d]+))?",name:"JetBrains Omea Reader",version:"$1",url:"http://www.jetbrains.com/omea/reader/",type:"Feed Reader"},{regex:"Liferea(?:[/ ](\\d+[\\.\\d]+))?",name:"Liferea",version:"$1",url:"http://liferea.sf.net/",type:"Feed Reader"},{regex:"(?:NetNewsWire|Evergreen.+MacOS)(?:[/ ](\\d+[\\.\\d]+))?",name:"NetNewsWire",version:"$1",url:"http://netnewswireapp.com/",type:"Feed Reader"},{regex:"NewsBlur (?:iPhone|iPad) App(?: v(\\d+[\\.\\d]+))?",name:"NewsBlur Mobile App",version:"$1",url:"http://www.newsblur.com",type:"Feed Reader App"},{regex:"NewsBlur(?:/(\\d+[\\.\\d]+))",name:"NewsBlur",version:"$1",url:"http://www.newsblur.com",type:"Feed Reader"},{regex:"newsbeuter(?:[/ ](\\d+[\\.\\d]+))?",name:"Newsbeuter",version:"$1",url:"http://www.newsbeuter.org/",type:"Feed Reader"},{regex:"PritTorrent/([\\d\\.]+)",name:"PritTorrent",version:"$1",url:"http://bitlove.org",type:"Feed Reader"},{regex:"Pulp[/ ](\\d+[\\.\\d]+)",name:"Pulp",version:"$1",url:"http://www.acrylicapps.com/pulp/",type:"Feed Reader App"},{regex:"ReadKit(?:[/ ](\\d+[\\.\\d]+))?",name:"ReadKit",version:"$1",url:"http://readkitapp.com/",type:"Feed Reader App"},{regex:"Reeder[/ ](\\d+[\\.\\d]+)",name:"Reeder",version:"$1",url:"http://reederapp.com/",type:"Feed Reader App"},{regex:"RSSBandit(?:[/ ](\\d+[\\.\\d]+))?",name:"RSS Bandit",version:"$1",url:"http://www.rssbandit.org)",type:"Feed Reader"},{regex:"RSS Junkie(?:[/ ](\\d+[\\.\\d]+))?",name:"RSS Junkie",version:"$1",url:"https://play.google.com/store/apps/details?id=com.bitpowder.rssjunkie",type:"Feed Reader App"},{regex:"RSSOwl(?:[/ ](\\d+[\\.\\d]+))?",name:"RSSOwl",version:"$1",url:"http://www.rssowl.org/",type:"Feed Reader"},{regex:"Stringer",name:"Stringer",version:"",url:"https://github.com/swanson/stringer",type:"Feed Reader"}];var Uw;function fre(){if(Uw)return fi;Uw=1;var e=fi&&fi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(fi,"__esModule",{value:!0});const t=e(gre),r=Fa(),o=Wr(),a=xr();class i{constructor(s){this.options={versionTruncation:1},this.parse=d=>{const c={type:"",name:"",version:"",url:""};for(const m of t.default){const f=a.userAgentParser(m.regex,d);if(f){c.type="feed reader",c.name=o.variableReplacement(m.name,f),c.version=r.formatVersion(o.variableReplacement(m.version,f),this.options.versionTruncation),c.url=m.url;break}}return c},this.options=Object.assign(Object.assign({},this.options),s)}}return fi.default=i,fi}var pi={};const pre=[{regex:"Wget(?:/(\\d+[\\.\\d]+))?",name:"Wget",version:"$1"},{regex:"Guzzle(?:/(\\d+[\\.\\d]+))?",name:"Guzzle (PHP HTTP Client)",version:"$1"},{regex:"(?:lib)?curl(?:/(\\d+[\\.\\d]+))?",name:"curl",version:"$1"},{regex:"python-requests(?:/(\\d+[\\.\\d]+))?",name:"Python Requests",version:"$1"},{regex:"Python-urllib(?:/?(\\d+[\\.\\d]+))?",name:"Python urllib",version:"$1"},{regex:"Java(?:/?(\\d+[\\.\\d]+))?",name:"Java",version:"$1"},{regex:"(?:perlclient|libwww-perl)(?:/?(\\d+[\\.\\d]+))?",name:"Perl",version:"$1"},{regex:"okhttp/([\\d\\.]+)",name:"OkHttp",version:"$1"},{regex:"HTTP_Request2(?:/(\\d+[\\.\\d]+))?",name:"HTTP_Request2",version:"$1"},{regex:"HTTP_Request2(?:/(\\d+[\\.\\d]+))?",name:"HTTP_Request2",version:"$1",url:"http://pear.php.net/package/http_request2"},{regex:"Mechanize(?:/(\\d+[\\.\\d]+))?",name:"Mechanize",version:"$1",url:"http://github.com/sparklemotion/mechanize/"},{regex:"aiohttp(?:/(\\d+[\\.\\d]+))?",name:"aiohttp",version:"$1"},{regex:"Google-HTTP-Java-Client(?:/(\\d+[\\.\\d\\w-]+))?",name:"Google HTTP Java Client",version:"$1"},{regex:"WWW-Mechanize(?:/(\\d+[\\.\\d]+))?",name:"WWW-Mechanize",version:"$1"},{regex:"Faraday(?: v(\\d+[\\.\\d]+))?",name:"Faraday",version:"$1"},{regex:"(?:Go-http-client|Go )/?(?:(\\d+[\\.\\d]+))?(?: package http)?",name:"Go-http-client",version:"$1"},{regex:"urlgrabber(?:/(\\d+[\\.\\d]+))?",name:"urlgrabber (yum)",version:"$1"},{regex:"libdnf(?:/(\\d+[\\.\\d]+))?",name:"libdnf",version:"$1"},{regex:"HTTPie(?:/(\\d+[\\.\\d]+))?",name:"HTTPie",version:"$1"},{regex:"rest-client/(\\d+[\\.\\d]+).*ruby",name:"REST Client for Ruby",version:"$1"},{regex:"RestSharp/(\\d+[\\.\\d]+)",name:"RestSharp",version:"$1",url:"http://restsharp.org/"},{regex:"scalaj-http/(\\d+[\\.\\d]+)",name:"ScalaJ HTTP",version:"$1",url:"https://github.com/scalaj/scalaj-http"},{regex:"REST::Client/(\\d+)",name:"Perl REST::Client",version:"$1",url:"https://metacpan.org/pod/REST::Client"},{regex:"node-fetch/(\\d+[\\.\\d]+)",name:"Node Fetch",version:"$1",url:"https://github.com/node-fetch/node-fetch"},{regex:"ReactorNetty/(\\d+[\\.\\d]+)",name:"ReactorNetty",version:"$1",url:"https://github.com/reactor/reactor-netty"},{regex:"PostmanRuntime(?:/(\\d+[\\.\\d]+))?",name:"Postman Desktop",version:"$1",url:"https://github.com/postmanlabs/postman-runtime"},{regex:"Jakarta Commons-HttpClient/([\\.\\d]+)",name:"Jakarta Commons HttpClient",version:"$1",url:"https://hc.apache.org/httpclient-3.x"},{regex:"WinHttp.WinHttpRequest.+([\\.\\d]+)",name:"WinHttp WinHttpRequest",version:"$1"},{regex:"Embarcadero URI Client/([\\.\\d]+)",name:"Embarcadero URI Client",version:"$1"},{regex:"Mikrotik/([\\.\\d]+)",name:"Mikrotik Fetch",version:"$1"},{regex:"GRequests(?:/(\\d+[\\.\\d]+))?",name:"GRequests",version:"$1"},{regex:"akka-http/([\\.\\d]+)",name:"Akka HTTP",version:"$1"}];var Xw;function bre(){if(Xw)return pi;Xw=1;var e=pi&&pi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(pi,"__esModule",{value:!0});const t=e(pre),r=Fa(),o=Wr(),a=xr();class i{constructor(s){this.options={versionTruncation:1},this.parse=d=>{const c={type:"",name:"",version:"",url:""};for(const m of t.default){const f=a.userAgentParser(m.regex,d);if(f){c.type="library",c.name=o.variableReplacement(m.name,f),c.version=r.formatVersion(o.variableReplacement(m.version,f),this.options.versionTruncation),c.url=m.url||"";break}}return c},this.options=Object.assign(Object.assign({},this.options),s)}}return pi.default=i,pi}var bi={};const hre=[{regex:"Audacious(?:[ /]([\\d\\.]+))?",name:"Audacious",version:"$1"},{regex:"Banshee(?:[ /]([\\d\\.]+))?",name:"Banshee",version:"$1"},{regex:"Boxee(?:[ /]([\\d\\.]+))?",name:"Boxee",version:"$1"},{regex:"Clementine(?:[ /]([\\d\\.]+))?",name:"Clementine",version:"$1"},{regex:"Deezer(?:/([\\d\\.]+))?",name:"Deezer",version:"$1"},{regex:"iTunes(?:-iPhone|-iPad)?(?:/([\\d\\.]+))?",name:"iTunes",version:"$1"},{regex:"FlyCast(?:/([\\d\\.]+))?",name:"FlyCast",version:"$1"},{regex:"foobar2000(?:/([\\d\\.]+))?",name:"Foobar2000",version:"$1"},{regex:"MediaMonkey(?:[ /](\\d+[\\.\\d]+))?",name:"MediaMonkey",version:"$1"},{regex:"Miro(?:/(\\d+[\\.\\d]+))?",name:"Miro",version:"$1"},{regex:"NexPlayer(?:/(\\d+[\\.\\d]+))?",name:"NexPlayer",version:"$1"},{regex:"Nightingale(?:/([\\d\\.]+))?",name:"Nightingale",version:"$1"},{regex:"QuickTime(?:(?:(?:.+qtver=)|(?:(?: E-)?[\\./]))([\\d\\.]+))?",name:"QuickTime",version:"$1"},{regex:"Songbird(?:/([\\d\\.]+))?",name:"Songbird",version:"$1"},{regex:"SubStream(?:/([\\d\\.]+))?",name:"SubStream",version:"$1"},{regex:"Sonos/([\\d\\.]+)?",name:"SONOS",version:"$1"},{regex:"(?:Lib)?VLC(?:/([\\d\\.]+))?",name:"VLC",version:"$1"},{regex:"Winamp(?:MPEG)?(?:/(\\d+[\\.\\d]+))?",name:"Winamp",version:"$1"},{regex:"(?:Windows-Media-Player|NSPlayer)(?:/(\\d+[\\.\\d]+))?",name:"Windows Media Player",version:"$1"},{regex:"XBMC(?:/([\\d\\.]+))?",name:"XBMC",version:"$1"},{regex:"Kodi(?:/([\\d\\.]+))?",name:"Kodi",version:"$1"},{regex:"stagefright(?:/([\\d\\.]+))?",name:"Stagefright",version:"$1"},{regex:"GoogleChirp(?:/(\\d+[\\.\\d]+))?",name:"Google Podcasts",version:"$1"},{regex:"Music Player Daemon (?:(\\d+[\\.\\d]+))?",name:"Music Player Daemon",version:"$1"},{regex:"mpv (?:(\\d+[\\.\\d]+))?",name:"mpv",version:"$1"}];var Ww;function xre(){if(Ww)return bi;Ww=1;var e=bi&&bi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(bi,"__esModule",{value:!0});const t=e(hre),r=Fa(),o=Wr(),a=xr();class i{constructor(s){this.options={versionTruncation:1},this.parse=d=>{const c={type:"",name:"",version:""};for(const m of t.default){const f=a.userAgentParser(m.regex,d);if(f){c.type="media player",c.name=o.variableReplacement(m.name,f),c.version=r.formatVersion(o.variableReplacement(m.version,f),this.options.versionTruncation);break}}return c},this.options=Object.assign(Object.assign({},this.options),s)}}return bi.default=i,bi}var hi={};const _re=[{regex:"Outlook-Express(?:/(\\d+[\\.\\d]+))?",name:"Outlook Express",version:"$1"},{regex:"Microsoft Outlook(?:[/ ](\\d+[\\.\\d]+))?",name:"Microsoft Outlook",version:"$1"},{regex:"(?:Thunderbird|Icedove|Shredder)(?:/(\\d+[\\.\\d]+))?",name:"Thunderbird",version:"$1"},{regex:"Airmail(?: (\\d+[\\.\\d]+))?",name:"Airmail",version:"$1"},{regex:"Lotus-Notes(?:/(\\d+[\\.\\d]+))?",name:"Lotus Notes",version:"$1"},{regex:"Barca(?:Pro)?(?:[/ ](\\d+[\\.\\d]+))?",name:"Barca",version:"$1"},{regex:"Postbox(?:[/ ](\\d+[\\.\\d]+))?",name:"Postbox",version:"$1"},{regex:"MailBar(?:[/ ](\\d+[\\.\\d]+))?",name:"MailBar",version:"$1"},{regex:"The Bat!(?: Voyager)?(?:[/ ](\\d+[\\.\\d]+))?",name:"The Bat!",version:"$1"},{regex:"DAVdroid(?:/(\\d+[\\.\\d]+))?",name:"DAVdroid",version:"$1"},{regex:"(?:SeaMonkey|Iceape)(?:/(\\d+[\\.\\d]+))?",name:"SeaMonkey",version:"$1"},{regex:"Live5ch/(\\d+[\\.\\d]+)",name:"Live5ch",version:"$1"},{regex:"JaneView/",name:"JaneView",version:""},{regex:"BathyScaphe/",name:"BathyScaphe",version:""}];var jw;function vre(){if(jw)return hi;jw=1;var e=hi&&hi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(hi,"__esModule",{value:!0});const t=e(_re),r=Fa(),o=Wr(),a=xr();class i{constructor(s){this.options={versionTruncation:1},this.parse=d=>{const c={type:"",name:"",version:""};for(const m of t.default){const f=a.userAgentParser(m.regex,d);if(f){c.type="personal information manager",c.name=o.variableReplacement(m.name,f),c.version=r.formatVersion(o.variableReplacement(m.version,f),this.options.versionTruncation);break}}return c},this.options=Object.assign(Object.assign({},this.options),s)}}return hi.default=i,hi}var Kw;function yre(){if(Kw)return ci;Kw=1;var e=ci&&ci.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(ci,"__esModule",{value:!0});const t=e(KA()),r=e(mre()),o=e(fre()),a=e(bre()),i=e(xre()),n=e(vre()),s=[o.default,r.default,i.default,n.default,t.default,a.default];class d{constructor(m){this.options={versionTruncation:1},this.parse=f=>{for(const b of s){const h=new b(this.options).parse(f);if(h.type!=="")return h}return null},this.options=Object.assign(Object.assign({},this.options),m)}}return ci.default=d,ci}var xi={},_i={};const Sre={regex:"Coolpix S800c",device:"camera",model:"Coolpix S800c"},wre={regex:"EK-G[CN][0-9]{3}",device:"camera",models:[{regex:"EK-GN120",model:"Galaxy NX"},{regex:"EK-GC100",model:"Galaxy Camera"},{regex:"EK-GC110",model:"Galaxy Camera WiFi only"},{regex:"EK-GC200",model:"Galaxy Camera 2"},{regex:"EK-GC([0-9]{3})",model:"Galaxy Camera $1"}]},Mre={Nikon:Sre,Samsung:wre};var zw;function Tre(){if(zw)return _i;zw=1;var e=_i&&_i.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(_i,"__esModule",{value:!0});const t=e(Mre),r=Wr(),o=xr();class a{constructor(){this.parse=n=>{const s={type:"",brand:"",model:""};for(const[d,c]of Object.entries(t.default)){const m=o.userAgentParser(c.regex,n);if(m){if(s.type="camera",s.brand=d,"model"in c&&c.model)s.model=r.variableReplacement(c.model,m).trim();else if("models"in c&&c.models)for(const f of c.models){const b=o.userAgentParser(f.regex,n);if(b){s.model=r.variableReplacement(f.model,b).trim();break}}break}}return s}}}return _i.default=a,_i}var vi={};const Are={regex:"(?:BUZZ [12]|BUZZ 2|CLEVER 1|URBAN 1(?: Pro)?)(?:[);/ ]|$)",device:"smartphone",models:[{regex:"BUZZ ([12]) Lite",model:"Buzz $1 Lite"},{regex:"BUZZ ([12]) Plus",model:"Buzz $1 Plus"},{regex:"BUZZ ([12])",model:"Buzz $1"},{regex:"CLEVER 1",model:"Clever 1"},{regex:"URBAN 1 Pro",model:"Urban 1 Pro"},{regex:"URBAN 1",model:"Urban 1"}]},Lre={regex:"StarShine|StarTrail|STARADDICT|StarText|StarNaute|StarXtrem|StarTab",device:"smartphone",models:[{regex:"StarXtrem II(?:[);/ ]|$)",model:"StarXtrem 2"},{regex:"StarXtrem ?([3-6])(?:[);/ ]|$)",model:"StarXtrem $1"},{regex:"StarXtrem(?:[);/ ]|$)",model:"StarXtrem"},{regex:"StarTrail III(?:[);/ ]|$)",model:"StarTrail 3"},{regex:"StarTrail II(?:[);/ ]|$)",model:"StarTrail 2"},{regex:"StarTrail[ _]?([1-9])[ _]([34])G(?:[);/ ]|$)",model:"StarTrail $1 $2G"},{regex:"StarTrail[ _]?([1-9])(?:[);/ ]|$)",model:"StarTrail $1"},{regex:"StarTrail(?:[);/ ]|$)",model:"StarTrail"},{regex:"StarShine II(?:[);/ ]|$)",model:"StarShine 2"},{regex:"StarShine(?:[);/ ]|$)",model:"StarShine"},{regex:"STARADDICT 4(?:[);/ ]|$)",model:"Staraddict 4"},{regex:"STARADDICT III(?:[);/ ]|$)",model:"Staraddict 3"},{regex:"STARADDICT II Plus(?:[);/ ]|$)",model:"Staraddict 2 Plus"},{regex:"STARADDICT II(?:[);/ ]|$)",model:"Staraddict 2"},{regex:"STARADDICT(?:[);/ ]|$)",model:"Staraddict"},{regex:"StarText II(?:[);/ ]|$)",model:"StarText 2"},{regex:"StarText(?:[);/ ]|$)",model:"StarText"},{regex:"StarNaute II(?:[);/ ]|$)",model:"StarNaute 2"},{regex:"StarNaute(?:[);/ ]|$)",model:"StarNaute"},{regex:"StarTab",model:"StarTab",device:"tablet"},{regex:"((?:StarShine|StarTrail|STARADDICT|StarText|StarNaute|StarXtrem)[^;/]*) Build",model:"$1"}]},$re={regex:"HTC|Sprint (?:APA|ATP)|ADR(?!910L)[a-z0-9]+|NexusHD2|Amaze[ _]4G(?:[);/ ]|$)|(Desire|Sensation|Evo ?3D|IncredibleS|Wildfire|Butterfly)[ _]?([^;/)]+)(?: Build|\\))|(Amaze[ _]4G|(?(e=e.replace(/_/g," "),e=e.replace(RegExp(" TD$","i"),""),e==="Build"?"":e)),Id}var Zw;function Vbe(){if(Zw)return vi;Zw=1;var e=vi&&vi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(vi,"__esModule",{value:!0});const t=e(Rbe),r=Wr(),o=xr(),a=lh();class i{constructor(){this.parse=s=>{const d={type:"",brand:"",model:""};let c="";for(const[m,f]of Object.entries(t.default)){const b=o.userAgentParser(f.regex,s);if(b){if(c="device"in f&&f.device||"",d.brand=m,"model"in f&&f.model)d.model=a.buildModel(r.variableReplacement(f.model,b)).trim();else if("models"in f&&f.models)for(const g of f.models){const h=o.userAgentParser(g.regex,s);if(h){d.model=a.buildModel(r.variableReplacement(g.model,h)).trim(),"device"in g&&g.device&&(c=g.device),"brand"in g&&(d.brand=g.brand||"");break}}break}}return c==="tv"?d.type="television":c==="car browser"?d.type="car":d.type=c,d.brand==="Unknown"&&(d.brand=""),d}}}return vi.default=i,vi}var yi={};const Hbe={regex:"Airties",device:"tv",models:[{regex:"Airties; ?([^);/]+)",model:"$1"}]},Ybe={regex:"AOC",device:"tv",models:[{regex:"(LE43S5970-20|S50856)",model:"$1"}]},Ube={regex:"ARRIS[;,]",device:"tv",models:[{regex:"FS-ARS-01B",model:"FS-ARS-01B"}]},Xbe={regex:"ATVIO",device:"tv",models:[{regex:"55D1620",model:"55D1620"}]},Wbe={regex:"Bangolufsen",device:"tv",model:"BeoVision"},jbe={regex:"Blaupunkt_UMC[;,]",device:"tv",models:[{regex:"LC-65CUG8052E",model:"LC-65CUG8052E"}]},Kbe={regex:"BUSH[;,]",device:"tv",model:""},zbe={regex:"CELCUS[;,]",device:"tv",model:""},qbe={regex:"Changhong",device:"tv",models:[{regex:"Changhong; ?([^);/]+)",model:"$1"}]},Zbe={regex:"CreNova",device:"tv",model:"CNV001"},Qbe={regex:"DIGIHOME[;,]",device:"tv",model:""},Jbe={regex:"DMM",device:"tv",model:"Dreambox"},ehe={regex:"ELECTRONIA[;,]",device:"tv",model:""},the={regex:"ESSENTIELB[;,]",device:"tv",model:""},rhe={regex:"FINLUX[;,]",device:"tv",model:""},ohe={regex:"FUEGO[;,]",device:"tv",model:""},nhe={regex:"GOGEN[;,]",device:"tv",model:""},ahe={regex:"(OWB|Grundig|Arcelik)",device:"tv",model:""},ihe={regex:"(?:HHW_)?HAIER",device:"tv",models:[{regex:"LE55X7000U",model:"LE55X7000U"}]},lhe={regex:"Hisense|Eurofins_Digital_Testing",device:"tv",models:[{regex:"50ADEVTOOL",model:"50ADEVTOOL"},{regex:"50A683FEVS",model:"50A683FEVS"},{regex:"55A6100EE",model:"55A6100EE"},{regex:"55U62QGAVT",model:"55U62QGAVT"},{regex:"50A6502EA",model:"50A6502EA"},{regex:"MICALIDVB6886",model:"MICALIDVB6886"},{regex:"(L[A-Z]{2,3}[0-9]{2}[A-Z][0-9]{3,4}[A-Z]{0,6}[0-9]?[A-Z]?)",model:"$1"},{regex:"(H[A-Z]?[0-9]{2}[A-Z][0-9]{3,4}[A-Z]{0,4})",model:"$1"}]},she={regex:"Hitachi[;,]",device:"tv",models:[{regex:"49D2900",model:"49D2900"}]},dhe={regex:"HORIZON[;,]",device:"tv",model:""},uhe={regex:"HOTEL[;,]",device:"tv",model:""},che={regex:"Humax",device:"tv",models:[{regex:"(HD-FOX C|HD (FOX\\+|NANO)|iCord (HD\\+|MINI|Cable)|(CX|IR)HD-5100(C|S)|HM9503HD)",model:"$1"},{regex:"HMS1000S",model:"HMS-1000S"},{regex:"Humax; ([^);/]+)",model:"$1"}]},mhe={regex:"HYUNDAI[;,]",device:"tv",model:""},ghe={regex:"Ikea",device:"tv",model:""},fhe={regex:"Intek",device:"tv",models:[{regex:"(Vantage|VT-100|VT-1)",model:"$1"}]},phe={regex:"Inverto",device:"tv",models:[{regex:"inverto; ([^);/]+)",model:"$1"},{regex:"(Volksbox Web Edition|Volksbox Essential|Volksbox II|Volksbox)",model:"$1"}]},bhe={regex:"AFTSO001|JVC[;,]",device:"tv",models:[{regex:"AFTSO001",model:"4K (2019)"}]},hhe={regex:"KALLEY[;,]",device:"tv",models:[{regex:"32D1620",model:"32D1620"}]},xhe={regex:"KUBO[;,]",device:"tv",model:""},_he={regex:"LAURUS[;,]",device:"tv",model:""},vhe={regex:"LGE",device:"tv",models:[{regex:"XU43WT180N",model:"XU43WT180N"},{regex:"43LJ614V-ZA",model:"43LJ614V-ZA"},{regex:"55SK850V-ZA",model:"55SK850V-ZA"},{regex:"KEY0000213F1z",model:"KEY0000213F1z"},{regex:"KEY0000213F",model:"KEY0000213F"},{regex:"KEY000000(2E|2F|3B|3F)",model:"KEY000000$1"},{regex:"(NetCast [0-9]{1}.[0-9]{1}|GLOBAL_PLAT3)",model:"$1"},{regex:"(OLED[0-9]{2}[A-Z0-9]{3}[A-Z]{2})",model:"$1"},{regex:"(OLED[0-9]{2}[A-Z][0-9][A-Z])",model:"$1"},{regex:"(OLED[0-9]{2}[A-Z0-9]{2})",model:"$1"},{regex:"([0-9]{2}[A-Z]{2}[0-9]{4}[A-Z0-9]{1}[A-Z]{2})",model:"$1"},{regex:"([0-9]{2}NANO[0-9]{3}[A-Z]{2})",model:"$1"},{regex:"([0-9]{2}NANO[0-9]{2})",model:"$1"},{regex:"LGE;? ?([0-9]{2}[A-Z]{2}[0-9]{2,4}[A-Z]?)",model:"$1"},{regex:"LM21U",model:"LM21U"},{regex:"32LM",model:"32LM"}]},yhe={regex:"Lifemaxx[;,]",device:"tv",model:""},She={regex:"LINSAR[;,]",device:"tv",model:""},whe={regex:"Loewe",device:"tv",models:[{regex:"([A-Z]{2}[0-9]{3})",model:"$1"}]},Mhe={regex:"LUXOR[;,]",device:"tv",model:""},The={regex:"Manhattan",device:"tv",models:[{regex:"T3",model:"T3"}]},Ahe={regex:"MTK|MediaTek;",device:"tv",models:[{regex:"(MT[0-9]{4})",model:"$1"}]},Lhe={regex:"Medion",device:"tv",model:""},$he={regex:"MIRAY",device:"tv",models:[{regex:"LEDM-322NIP",model:"LEDM-322NIP"}]},Phe={regex:"MStar[;,]",device:"tv",models:[{regex:"([24])KTV18",model:"$1KTV18"}]},Che={regex:"MTC[;,]",device:"tv",models:[{regex:"([24])K_Android_TV_V01",model:"$1K Android TV"}]},Ehe={regex:"NORDMENDE[;,]",device:"tv",model:""},Ohe={regex:"Metz",device:"tv",model:""},Ihe={regex:"OK[;,]",device:"tv",model:""},Bhe={regex:"Panasonic",device:"tv",models:[{regex:"VIERA (201[1-9])",model:"VIERA ($1)"},{regex:"(DIGA [A-Z]{1}[0-9]{4})",model:"$1"},{regex:"DIGA Webkit ([A-Z]{1}[0-9]{4})",model:"DIGA $1"},{regex:"SmartTV(201[89]|202[0-1])",model:"Smart TV ($1)"}]},Dhe={regex:"PEAQ",device:"tv",model:""},khe={regex:"Philips|NETTV/",device:"tv",models:[{regex:"Philips[,;] ?((?! )[^),;/]+)",model:"$1"},{regex:"NETTV/[0-9\\.]{5}",model:"NetTV Series"}]},Ghe={regex:"POLAROID[;,]",device:"tv",model:""},Nhe={regex:"PROFILO[;,]",device:"tv",model:""},Fhe={regex:"QILIVE[;,]",device:"tv",model:""},Rhe={regex:"REGAL[;,]",device:"tv",model:""},Vhe={regex:"Saba[;,]",device:"tv",model:""},Hhe={regex:"Salora[;,]",device:"tv",model:""},Yhe={regex:"Samsung|Maple_2011",device:"tv",models:[{regex:"SmartTV(201[2-9]|202[0-1]):([^);/]+)",model:"$2"},{regex:"SmartTV(201[2-9]|202[0-1])",model:"Smart TV ($1)"},{regex:"Maple_2011",model:"Smart TV (2011)"}]},Uhe={regex:"SCBC[;,]",device:"tv",models:[{regex:"SCBC586",model:"SCBC586"},{regex:"43D1850",model:"43D1850"}]},Xhe={regex:"SEG[;,]",device:"tv",model:""},Whe={regex:"Selevision",device:"tv",models:[{regex:"Selevision; (?:Selevision )?([^);/]+)",model:"$1"},{regex:"(EMC1000i)",model:"$1"}]},jhe={regex:"(?:UMC-)?Sharp",device:"tv",models:[{regex:"Sharp[,;] ?((?! |HbbTV)[^),;/]+)",model:"$1"},{regex:"(LE[0-9]{3}[A-Z]{0,3})",model:"$1"},{regex:"LC-([^);/]+)",model:"LC-$1"},{regex:"BLA-43",model:"BLA-43"}]},Khe={regex:"Sky_worth",device:"tv",models:[{regex:"Sky_worth;([^);/]+)",model:"$1"}]},zhe={regex:"Smart[;,]",device:"tv",models:[{regex:"Smart; ([^);/]+)",model:"$1"},{regex:"([A-Z]{2}[0-9]{2}|ZAPPIX)",model:"$1"}]},qhe={regex:"Sony",device:"tv",models:[{regex:"KDL-GR1",model:"KDL-GR1"},{regex:"KDL-GN([56])",model:"KDL-GN$1"},{regex:"BRAVIA (VH1|4K VH2)",model:"BRAVIA $1"},{regex:"(KDL?-?[0-9]{2}[A-Z]{1}[0-9]{4}[A-Z]{1})",model:"$1"},{regex:"(KDL?-?[0-9]{2}[A-Z]{1}[0-9]{3}[A-Z]{1})",model:"$1"},{regex:"(KDL?-?[0-9]{2}[A-Z]{1,2}[0-9]{1,5})",model:"$1"}]},Zhe={regex:"SWTV[;,]",device:"tv",models:[{regex:"SKWE20E21",model:"SKWE20E21"}]},Qhe={regex:"Technicolor",device:"tv",models:[{regex:"uzw4054ttg",model:"UZW4054TTG"}]},Jhe={regex:"TECHNIKA[;,]",device:"tv",model:""},exe={regex:"TechniSat",device:"tv",models:[{regex:"((DigiCorder|MultyVision|Digit) (ISIO S|ISIO C|ISIO))",model:"$1"}]},txe={regex:"TechnoTrend",device:"tv",models:[{regex:"([A-Z]{1}-[0-9]{3})",model:"$1"}]},rxe={regex:"Techwood[;,]",device:"tv",model:""},oxe={regex:"Telefunken",device:"tv",model:""},nxe={regex:"TCL",device:"tv",models:[{regex:"(32D1820|(?:39|55)D2900|32D2930|(?:32|43)S4900)",model:"$1"}]},axe={regex:"THOMSON[,]?|THOM",device:"tv",models:[{regex:"(TB28D19DHS-01|T28D18SFS-01B)",model:'$1 28.0"'},{regex:"(T32RTM5040|T32D18SFS-01B)",model:'$1 32.0"'},{regex:"(T43FSL5031|T43D18SFS-01B)",model:'$1 43.0"'},{regex:"(T40D18SFS-01B)",model:'$1 40.0"'},{regex:"(T49D18SFS-01B)",model:'$1 49.0"'},{regex:"(T55D18[SD]FS-01B)",model:'$1 55.0"'},{regex:"40FB5426",model:"40FB5426"}]},ixe={regex:"TOKYO[;,]",device:"tv",models:[{regex:"TOKTCLED32S",model:"TOKTCLED32S"}]},lxe={regex:"Toshiba",device:"tv",models:[{regex:"40L2600",model:"40L2600"},{regex:"(([0-9]{2}|DTV_)[A-Z]{2}[0-9]{1,3})",model:"$1"}]},sxe={regex:"videoweb|tv2n",device:"tv",models:[{regex:"(tv2n)",model:"$1"},{regex:"(videowebtv)",model:"VideoWeb TV"}]},dxe={regex:"VOX[;,]",device:"tv",model:""},uxe={regex:"WELLINGTON[;,]",device:"tv",model:""},cxe={regex:"(?:Vestel.+VESTEL|VESTEL;)",device:"tv",model:""},mxe={Airties:Hbe,"ALDI NORD":{regex:"ALDINORD[;,]",device:"tv",model:""},"ALDI SÜD":{regex:"ALDISUED[;,]",device:"tv",model:""},"Altech UEC":{regex:"Altech UEC",device:"tv",models:[{regex:"Altech UEC; ?([^);/]+)",model:"$1"}]},AOC:Ybe,ARRIS:Ube,Atvio:Xbe,BangOlufsen:Wbe,Blaupunkt:jbe,Bush:Kbe,Celcus:zbe,Changhong:qbe,CreNova:Zbe,Digihome:Qbe,DMM:Jbe,ELECTRONIA:ehe,Essentielb:the,Finlux:rhe,"F&U":{regex:"FU[;,]",device:"tv",model:""},Fuego:ohe,GoGEN:nhe,Grundig:ahe,Haier:ihe,"Hi-Level":{regex:"HI-LEVEL[;,]",device:"tv",model:""},Hisense:lhe,Hitachi:she,Horizon:dhe,Hotel:uhe,Humax:che,Hyundai:mhe,Ikea:ghe,Intek:fhe,Inverto:phe,JVC:bhe,Kalley:hhe,KUBO:xhe,Laurus:_he,LG:vhe,Lifemaxx:yhe,Linsar:She,Loewe:whe,Luxor:Mhe,Manhattan:The,MediaTek:Ahe,Medion:Lhe,Miray:$he,MStar:Phe,MTC:Che,Nordmende:Ehe,Metz:Ohe,Ok:Ihe,Panasonic:Bhe,PEAQ:Dhe,Philips:khe,Polaroid:Ghe,PROFiLO:Nhe,Qilive:Fhe,REGAL:Rhe,Saba:Vhe,Salora:Hhe,Samsung:Yhe,SCBC:Uhe,SEG:Xhe,Selevision:Whe,Sharp:jhe,Skyworth:Khe,Smart:zhe,Sony:qhe,SWTV:Zhe,"TD Systems":{regex:"TDSystems[;,]",device:"tv",models:[{regex:"SmartTV(2019|2020)",model:"Smart TV ($1)"}]},Technicolor:Qhe,Technika:Jhe,TechniSat:exe,TechnoTrend:txe,Techwood:rxe,Telefunken:oxe,TCL:nxe,Thomson:axe,TOKYO:ixe,Toshiba:lxe,Videoweb:sxe,VOX:dxe,WELLINGTON:uxe,"X.Vision":{regex:"X-VISION[;,]",device:"tv",model:""},Vestel:cxe};var Qw;function gxe(){if(Qw)return yi;Qw=1;var e=yi&&yi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(yi,"__esModule",{value:!0});const t=e(mxe),r=Wr(),o=xr(),a=lh();class i{constructor(){this.parse=s=>{const d={type:"",brand:"",model:""};if(!this.isHbbTv(s))return d;d.type="television";for(const[c,m]of Object.entries(t.default)){const f=o.userAgentParser(m.regex,s);if(f){if(d.brand=c,"model"in m&&m.model)d.model=a.buildModel(r.variableReplacement(m.model,f)).trim();else if("models"in m&&m.models)for(const b of m.models){const g=o.userAgentParser(b.regex,s);if(g){d.model=a.buildModel(r.variableReplacement(b.model,g)).trim();break}}break}}return d},this.isHbbTv=s=>o.userAgentParser("HbbTV/([1-9]{1}(?:.[0-9]{1}){1,2})",s)}}return yi.default=i,yi}var Si={};const fxe={regex:"(?:Tesla/[0-9.]+|QtCarBrowser)",device:"car browser",models:[{regex:"QtCarBrowser",model:"Model S"},{regex:"Tesla/[0-9.]+",model:""}]},pxe={regex:"sp9853i_1h10_vmm",device:"car browser",models:[{regex:"sp9853i_1h10_vmm",model:"TS9"}]},bxe={Tesla:fxe,"MAC AUDIO":{regex:"Mac Audio Spro",device:"car browser",models:[{regex:"Spro",model:"S Pro"}]},Topway:pxe};var Jw;function hxe(){if(Jw)return Si;Jw=1;var e=Si&&Si.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Si,"__esModule",{value:!0});const t=e(bxe),r=Wr(),o=xr();class a{constructor(){this.parse=n=>{const s={type:"",brand:"",model:""};for(const[d,c]of Object.entries(t.default))if(o.userAgentParser(c.regex,n)){s.type="car",s.brand=d;for(const f of c.models){const b=o.userAgentParser(f.regex,n);b&&(s.model=r.variableReplacement(f.model,b).trim())}break}return s}}}return Si.default=a,Si}var wi={};const xxe={regex:"Archos.*GAMEPAD([2]?)",device:"console",model:"Gamepad $1"},_xe={regex:"Xbox",device:"console",models:[{regex:"Xbox Series X",model:"Xbox Series X"},{regex:"Xbox One X",model:"Xbox One X"},{regex:"Xbox One",model:"Xbox One"},{regex:"XBOX_ONE_ED",model:"Xbox One S"},{regex:"Xbox",model:"Xbox 360"}]},vxe={regex:"Nintendo (([3]?DS[i]?)|Wii[U]?|Switch)",device:"console",model:"$1"},yxe={regex:"OUYA",device:"console",model:"OUYA"},Sxe={regex:"Dreamcast",device:"console",model:"Dreamcast"},wxe={regex:"PlayStation (3|4 Pro|4|Portable|Vita)",device:"console",model:"PlayStation $1"},Mxe={Archos:xxe,Microsoft:_xe,Nintendo:vxe,OUYA:yxe,Sega:Sxe,Sony:wxe};var eM;function Txe(){if(eM)return wi;eM=1;var e=wi&&wi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(wi,"__esModule",{value:!0});const t=e(Mxe),r=Wr(),o=xr();class a{constructor(){this.parse=n=>{const s={type:"",brand:"",model:""};for(const[d,c]of Object.entries(t.default)){const m=o.userAgentParser(c.regex,n);if(m){if(s.type=c.device,s.brand=d,"model"in c&&c.model)s.model=r.variableReplacement(c.model,m).trim();else if("models"in c&&c.models)for(const f of c.models){const b=o.userAgentParser(f.regex,n);if(b){s.model=r.variableReplacement(f.model,b).trim();break}}break}}return s}}}return wi.default=a,wi}var Mi={};const Axe={regex:"FBMD/(?:Aspire E5-421G|Z5WAL|One S1003);",device:"desktop",models:[{regex:"FBMD/Aspire E5-421G;",model:"Aspire E5-421G"},{regex:"FBMD/Z5WAL;",model:"Aspire E5-511"},{regex:"FBMD/One S1003;",model:"One 10"}]},Lxe={regex:"FBMD/(?:K50IN|K54L|T100HAN|T103HAF|UX360CAK|X550LB|X553MA|X555LN|X556UQK);",device:"desktop",models:[{regex:"FBMD/K50IN;",model:"K50IN"},{regex:"FBMD/K54L;",model:"K54L"},{regex:"FBMD/T100HAN;",model:"Transformer Book"},{regex:"FBMD/T103HAF;",model:"Transformer Mini"},{regex:"FBMD/UX360CAK;",model:"ZenBook Flip"},{regex:"FBMD/X550LB;",model:"X550LB"},{regex:"FBMD/X553MA;",model:"X553MA"},{regex:"FBMD/X555LN;",model:"X555LN"},{regex:"FBMD/X556UQK;",model:"X556UQK"}]},$xe={regex:"FBMD/(?:Latitude E4300|Inspiron 3541|XPS 15 95[35]0);",device:"desktop",models:[{regex:"Latitude E4300",model:"Latitude E4300"},{regex:"Inspiron 3541",model:"Inspiron 3541"},{regex:"XPS 15 9530",model:"XPS 15 9530"},{regex:"XPS 15 9550",model:"XPS 15 9550"}]},Pxe={regex:"FBMD/((?:Compaq|HP) |23-f364)",device:"desktop",models:[{regex:"Compaq Presario CQ61 Notebook PC",model:"Compaq Presario CQ61"},{regex:"HP Pavilion x2 Detachable",model:"Pavilion x2"},{regex:"HP Laptop 15-bs0xx",model:"15 Laptop PC"},{regex:"HP ENVY x360 Convertible 15-bp0xx",model:"ENVY x360 Convertible PC"},{regex:"HP EliteBook (25[67]0p)",model:"EliteBook $1"},{regex:"HP ProBook (440 G5|6[35]60b)",model:"ProBook $1"},{regex:"HP Pavilion dv6 Notebook PC",model:"Pavilion dv6"},{regex:"HP Pavilion Notebook",model:"Pavilion"},{regex:"HP Spectre x360 Convertible",model:"Spectre x360"},{regex:"HP Pavilion All-in-One 24-r0xx",model:"Pavilion 24-r0xx All-in-One Desktop PC",device:"desktop"},{regex:"23-f364",model:"Pavilion TouchSmart 23-f364 All-in-One Desktop PC",device:"desktop"}]},Cxe={regex:"FBMD/(?:37021C5|80E5|80SM|80VR);",device:"desktop",models:[{regex:"FBMD/37021C5;",model:"ThinkPad Helix 3702"},{regex:"FBMD/80E5;",model:"G50-80"},{regex:"FBMD/80SM;",model:"Ideapad 310-15ISK"},{regex:"FBMD/80VR;",model:"Legion Y720"}]},Exe={regex:"FBMD/SCL141CTP;",device:"desktop",model:'Notebook 14" Cherry Trail'},Oxe={regex:"FBMD/TH360R12.32CTW;",device:"desktop",model:"Prestige TH-360R12.32CTW"},Ixe={regex:"FBMD/Satellite ",device:"desktop",models:[{regex:"Satellite (A[25]00|C650|C855|L650|S855)",model:"Satellite $1"},{regex:"Satellite ([^;\\)]+);",model:"Satellite $1"}]},Bxe={Acer:Axe,Asus:Lxe,Dell:$xe,HP:Pxe,Lenovo:Cxe,Schneider:Exe,Thomson:Oxe,Toshiba:Ixe};var tM;function Dxe(){if(tM)return Mi;tM=1;var e=Mi&&Mi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Mi,"__esModule",{value:!0});const t=e(Bxe),r=Wr(),o=xr(),a=lh();class i{constructor(){this.parse=s=>{const d={type:"",brand:"",model:""};if(!o.userAgentParser("FBMD/",s))return d;for(const[c,m]of Object.entries(t.default)){const f=o.userAgentParser(m.regex,s);if(f){if(d.type="desktop",d.brand=c,"model"in m&&m.model)d.model=a.buildModel(r.variableReplacement(m.model,f)).trim();else if("models"in m&&m.models)for(const b of m.models){const g=o.userAgentParser(b.regex,s);g&&(d.model=r.variableReplacement(b.model,g).trim())}break}}return d}}}return Mi.default=i,Mi}var Ti={};const kxe={regex:"(?:Apple-)?iPod",device:"portable media player",models:[{regex:"(?:Apple-)?iPod1[C,]1",model:"iPod Touch 1G"},{regex:"(?:Apple-)?iPod2[C,]1",model:"iPod Touch 2G"},{regex:"(?:Apple-)?iPod3[C,]1",model:"iPod Touch 3"},{regex:"(?:Apple-)?iPod4[C,]1",model:"iPod Touch 4"},{regex:"(?:Apple-)?iPod5[C,]1",model:"iPod Touch 5"},{regex:"(?:Apple-)?iPod7[C,]1",model:"iPod Touch 6"},{regex:"(?:Apple-)?iPod",model:"iPod Touch"}]},Gxe={regex:"COWON ([^;/]+) Build",device:"portable media player",model:"$1"},Nxe={regex:"Microsoft ZuneHD",device:"portable media player",model:"Zune HD"},Fxe={regex:"(SV-MV100)",device:"portable media player",model:"$1"},Rxe={regex:"YP-(G[SIPB]?1|G[57]0|GB70D)",device:"portable media player",models:[{regex:"YP-G[B]?1",model:"Galaxy Player 4.0"},{regex:"YP-G70",model:"Galaxy Player 5.0"},{regex:"YP-GS1",model:"Galaxy Player 3.6"},{regex:"YP-GI1",model:"Galaxy Player 4.2"},{regex:"YP-GP1",model:"Galaxy Player 5.8"},{regex:"YP-G50",model:"Galaxy Player 50"},{regex:"YP-GB70D",model:"Galaxy Player 70 Plus"}]},Vxe={regex:"(DV-PTB1080)(?:[);/ ]|$)",device:"portable media player",model:"$1"},Hxe={regex:"Sonos/.+\\((?:ZP.+)\\)|Sonos;",device:"portable media player",models:[{regex:"\\((ZPS(?:[13569]|1[1-578]|2[03])|ZP90)\\)",model:"$1"},{regex:"Sonos;Play5;",model:"Play:5"},{regex:"Sonos;One;",model:"One"}]},Yxe={Apple:kxe,Cowon:Gxe,Microsoft:Nxe,Panasonic:Fxe,Samsung:Rxe,Wizz:Vxe,SONOS:Hxe};var rM;function Uxe(){if(rM)return Ti;rM=1;var e=Ti&&Ti.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ti,"__esModule",{value:!0});const t=e(Yxe),r=Wr(),o=xr();class a{constructor(){this.parse=n=>{const s={type:"",brand:"",model:""};for(const[d,c]of Object.entries(t.default)){const m=o.userAgentParser(c.regex,n);if(m){if(s.type=c.device,s.brand=d,"model"in c&&c.model)s.model=r.variableReplacement(c.model,m).trim();else if("models"in c&&c.models)for(const f of c.models){const b=o.userAgentParser(f.regex,n);if(b){s.model=r.variableReplacement(f.model,b).trim();break}}break}}return s}}}return Ti.default=a,Ti}var oM;function Xxe(){if(oM)return xi;oM=1;var e=xi&&xi.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(xi,"__esModule",{value:!0});const t=e(Tre()),r=e(Vbe()),o=e(gxe()),a=e(hxe()),i=e(Txe()),n=e(Dxe()),s=e(Uxe()),d=[i.default,a.default,t.default,o.default,s.default,r.default,n.default];class c{constructor(){this.parse=f=>{for(const b of d){const h=new b().parse(f);if(h.type!=="")return h}return null}}}return xi.default=c,xi}var Ai={};const Wxe=JSON.parse('[{"regex":"Grid OS (\\\\d+[\\\\.\\\\d]+)","name":"GridOS","version":"$1"},{"regex":"CaixaMagica","name":"Caixa Mágica","version":""},{"regex":"Mageia; Linux","name":"Mageia","version":""},{"regex":"(?:WH|WhaleTV/)(\\\\d+[\\\\.\\\\d]+)","name":"Whale OS","version":"$1"},{"regex":"Tizen[ /]?(\\\\d+[\\\\.\\\\d]+)?","name":"Tizen","version":"$1"},{"regex":"Sailfish|Jolla","name":"Sailfish OS","version":""},{"regex":"(?:Ali)?YunOS[ /]?(\\\\d+[\\\\.\\\\d]+)?","name":"YunOS","version":"$1"},{"regex":"Windows Phone;FBSV/(\\\\d+[\\\\.\\\\d]+)","name":"Windows Phone","version":"$1"},{"regex":"(?:Windows Phone (?:OS)?|wds)[ /]?(\\\\d+[\\\\.\\\\d]+)","name":"Windows Phone","version":"$1"},{"regex":"XBLWP7|Windows Phone","name":"Windows Phone","version":""},{"regex":"Windows CE(?: (\\\\d+[\\\\.\\\\d]+))?","name":"Windows CE","version":"$1"},{"regex":"(?:IEMobile|Windows ?Mobile)(?: (\\\\d+[\\\\.\\\\d]+))?","name":"Windows Mobile","version":"$1"},{"regex":"Windows NT 6.2; ARM;","name":"Windows RT","version":""},{"regex":"Windows NT 6.3; ARM;","name":"Windows RT","version":"8.1"},{"regex":"Windows IoT 10.0","name":"Windows IoT","version":"10"},{"regex":"KAIOS(?:/(\\\\d+[\\\\.\\\\d]+))?","name":"KaiOS","version":"$1"},{"regex":"RazoDroiD(?: v(\\\\d+[\\\\.\\\\d]*))?","name":"RazoDroiD","version":"$1"},{"regex":"MildWild(?: CM-(\\\\d+[\\\\.\\\\d]*))?","name":"MildWild","version":"$1"},{"regex":"CyanogenMod(?:[\\\\-/](?:CM)?(\\\\d+[\\\\.\\\\d]*))?","name":"CyanogenMod","version":"$1"},{"regex":"(?:.*_)?MocorDroid(?:(\\\\d+[\\\\.\\\\d]*))?","name":"MocorDroid","version":"$1"},{"regex":"Fire OS(?:/(\\\\d+[\\\\.\\\\d]*))?","name":"Fire OS","version":"$1"},{"regex":"AFTSO001","name":"Fire OS","version":"7"},{"regex":"FydeOS","name":"FydeOS","version":""},{"regex":"(?:Podbean|Podimo)(?:.+)?/Android","name":"Android","version":""},{"regex":"Pinterest for Android/.+; (\\\\d(?:[\\\\d\\\\.]+)?)\\\\)$","name":"Android","version":"$1"},{"regex":"Android; (\\\\d+[\\\\.\\\\d]*); Mobile;","name":"Android","version":"$1"},{"regex":"[ ]([\\\\d\\\\.]+)\\\\) AppleWebKit.*ROBLOX Android App","name":"Android","version":"$1"},{"regex":"(?:(?:Orca-)?Android|Adr)[ /]?(?:[a-z]+ )?(\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"(?:Allview_TX1_Quasar|Cosmote_My_mini_Tab) (\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"Android ?(?:jelly bean|Kit Kat|S.O. Ginger Bread|The FireCyano|:) (\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"(?:Orca-Android|FB4A).*FBSV/(\\\\d+[\\\\.\\\\d]*);","name":"Android","version":"$1"},{"regex":" Adr |Android|Silk-Accelerated=[a-z]{4,5}","name":"Android","version":""},{"regex":"(?:TwitterAndroid).*[ /](?:[a-z]+ )?(\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"BeyondPod|AntennaPod|Podkicker|DoggCatcher|Player FM|okhttp|Podcatcher Deluxe|.+K_?Android_?TV_|Sonos/.+\\\\(ACR_","name":"Android","version":""},{"regex":"Linux; Andr0id[; ](\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"Linux; diordnA[; ](\\\\d+[\\\\.\\\\d]*)","name":"Android","version":"$1"},{"regex":"AmigaOS[ ]?(\\\\d+[\\\\.\\\\d]+)","name":"AmigaOS","version":"$1"},{"regex":"AmigaOS|AmigaVoyager|Amiga-AWeb","name":"AmigaOS","version":""},{"regex":"ThreadX(?:/(\\\\d+[\\\\.\\\\d]*))?","name":"ThreadX","version":"$1"},{"regex":"Nucleus(?:(?: |/v?)(\\\\d+[\\\\.\\\\d]*))?","name":"MTK / Nucleus","version":"$1"},{"regex":"MTK(?:(?: |/v?)(\\\\d+[\\\\.\\\\d]*))?","name":"MTK / Nucleus","version":"$1"},{"regex":"MRE/(\\\\d+)\\\\.(\\\\d+).*;MAUI","name":"MRE","version":"$1.$2"},{"regex":"dvkbuntu","name":"DVKBuntu","version":""},{"regex":"Helio/(\\\\d+[\\\\.\\\\d]+)","name":"Lumin OS","version":"$1"},{"regex":"HasCodingOs (\\\\d+[\\\\.\\\\d]+)","name":"HasCodingOS","version":"$1"},{"regex":"PCLinuxOS/(\\\\d+[\\\\.\\\\d]+)","name":"PCLinuxOS","version":"$1"},{"regex":"(Ordissimo|webissimo3)","name":"Ordissimo","version":""},{"regex":"(?:Win|Sistema )Fenix","name":"Fenix","version":""},{"regex":"TOS; Linux","name":"TmaxOS","version":""},{"regex":"Maemo","name":"Maemo","version":""},{"regex":"Arch ?Linux(?:[ /\\\\-](\\\\d+[\\\\.\\\\d]+))?","name":"Arch Linux","version":"$1"},{"regex":"VectorLinux(?: package)?(?:[ /\\\\-](\\\\d+[\\\\.\\\\d]+))?","name":"VectorLinux","version":"$1"},{"regex":"Linux; .*((?:Debian|Knoppix|Mint|Ubuntu|Kubuntu|Xubuntu|Lubuntu|Fedora|Red Hat|Mandriva|Gentoo|Sabayon|Slackware|SUSE|CentOS|BackTrack))[ /](\\\\d+[\\\\.\\\\d]+)","name":"$1","version":"$2"},{"regex":"Deepin[ /](\\\\d+[\\\\.\\\\d]+)","name":"Deepin","version":"$1"},{"regex":"(Debian|Knoppix|Mint(?! Browser)|Ubuntu|Kubuntu|Xubuntu|Lubuntu|Fedora|Red Hat|Mandriva|Gentoo|Sabayon|Slackware|SUSE|CentOS|BackTrack|Freebox)(?:(?: Enterprise)? Linux)?(?:[ /\\\\-](\\\\d+[\\\\.\\\\d]+))?","name":"$1","version":"$2"},{"regex":"OS ROSA; Linux","name":"Rosa","version":""},{"regex":"WEBOS(\\\\d+[\\\\.\\\\d]+)","name":"webOS","version":"$1"},{"regex":"Web0S; Linux/SmartTV.+Chrome/68","name":"webOS","version":"5"},{"regex":"Web0S; Linux/SmartTV.+Chrome/53","name":"webOS","version":"4"},{"regex":"Web0S; Linux/SmartTV.+Chrome/38","name":"webOS","version":"3"},{"regex":"Web0S; Linux/SmartTV.+Safari/538","name":"webOS","version":"2"},{"regex":"Web0S; Linux/SmartTV.+Safari/537","name":"webOS","version":"1"},{"regex":"(?:Web0S; .*WEBOS|webOS|web0S|Palm webOS|hpwOS)(?:[/]?(\\\\d+[\\\\.\\\\d]+))?","name":"webOS","version":"$1"},{"regex":"(?:PalmOS|Palm OS)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?|Palm","name":"palmOS","version":"$1"},{"regex":"Xiino(?:.*v\\\\. (\\\\d+[\\\\.\\\\d]+))?","name":"palmOS","version":"$1"},{"regex":"MorphOS(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"MorphOS","version":"$1"},{"regex":"FBW.+FBSV/(\\\\d+[\\\\.\\\\d]*);","name":"Windows","version":"$1"},{"regex":"mingw32","name":"Windows","version":""},{"regex":"Windows/(\\\\d+\\\\.\\\\d+)","name":"Windows","version":"$1"},{"regex":"CYGWIN_NT-10.0|Windows NT 10.0|Windows 10","name":"Windows","version":"10"},{"regex":"CYGWIN_NT-6.4|Windows NT 6.4|Windows 10|win10","name":"Windows","version":"10"},{"regex":"CYGWIN_NT-6.3|Windows NT 6.3|Windows 8.1","name":"Windows","version":"8.1"},{"regex":"CYGWIN_NT-6.2|Windows NT 6.2|Windows 8","name":"Windows","version":"8"},{"regex":"CYGWIN_NT-6.1|Windows NT 6.1|Windows 7|win7","name":"Windows","version":"7"},{"regex":"CYGWIN_NT-6.0|Windows NT 6.0|Windows Vista","name":"Windows","version":"Vista"},{"regex":"CYGWIN_NT-5.2|Windows NT 5.2|Windows Server 2003 / XP x64","name":"Windows","version":"Server 2003"},{"regex":"CYGWIN_NT-5.1|Windows NT 5.1|Windows XP","name":"Windows","version":"XP"},{"regex":"CYGWIN_NT-5.0|Windows NT 5.0|Windows 2000","name":"Windows","version":"2000"},{"regex":"CYGWIN_NT-4.0|Windows NT 4.0|WinNT|Windows NT","name":"Windows","version":"NT"},{"regex":"CYGWIN_ME-4.90|Win 9x 4.90|Windows ME","name":"Windows","version":"ME"},{"regex":"CYGWIN_98-4.10|Win98|Windows 98","name":"Windows","version":"98"},{"regex":"CYGWIN_95-4.0|Win32|Win95|Windows 95|Windows_95","name":"Windows","version":"95"},{"regex":"Windows 3.1","name":"Windows","version":"3.1"},{"regex":"Windows","name":"Windows","version":""},{"regex":"Haiku","name":"Haiku OS","version":""},{"regex":"(?:Watch1,[12]/|Watch OS,|watchOS[ /])(\\\\d+[\\\\.\\\\d]*)","name":"watchOS","version":"$1"},{"regex":"iPad/([89]|1[012]).(\\\\d+[\\\\.\\\\d]*)","name":"iOS","version":"$1.$2"},{"regex":"Pinterest for iOS/.+; (\\\\d(?:[\\\\d\\\\.]+)?)\\\\)$","name":"iOS","version":"$1"},{"regex":"CFNetwork/.+ Darwin/20.4.0(?!.*x86_64)","name":"iOS","version":"14.5"},{"regex":"CFNetwork/.+ Darwin/20.3.0(?!.*x86_64)","name":"iOS","version":"14.4"},{"regex":"CFNetwork/.+ Darwin/20.2.0(?!.*x86_64)","name":"iOS","version":"14.3"},{"regex":"CFNetwork/.+ Darwin/20.1.0(?!.*x86_64)","name":"iOS","version":"14.2"},{"regex":"CFNetwork/.+ Darwin/20.0.0(?!.*x86_64)","name":"iOS","version":"14.0"},{"regex":"CFNetwork/.+ Darwin/19.6.0(?!.*x86_64)","name":"iOS","version":"13.6"},{"regex":"CFNetwork/.+ Darwin/19.5.0(?!.*x86_64)","name":"iOS","version":"13.5"},{"regex":"CFNetwork/.+ Darwin/19.4.0(?!.*x86_64)","name":"iOS","version":"13.4"},{"regex":"CFNetwork/.+ Darwin/19.3.0(?!.*x86_64)","name":"iOS","version":"13.3.1"},{"regex":"CFNetwork/.+ Darwin/19.2.0(?!.*x86_64)","name":"iOS","version":"13.3"},{"regex":"CFNetwork/.+ Darwin/19.0.0(?!.*x86_64)","name":"iOS","version":"13.0"},{"regex":"CFNetwork/.+ Darwin/18.7.0(?!.*x86_64)","name":"iOS","version":"12.4"},{"regex":"CFNetwork/.+ Darwin/18.6.0(?!.*x86_64)","name":"iOS","version":"12.3"},{"regex":"CFNetwork/.+ Darwin/18.5.0(?!.*x86_64)","name":"iOS","version":"12.2"},{"regex":"CFNetwork/.+ Darwin/18.2.0(?!.*x86_64)","name":"iOS","version":"12.1"},{"regex":"CFNetwork/.+ Darwin/18.0.0(?!.*x86_64)","name":"iOS","version":"12.0"},{"regex":"CFNetwork/.+ Darwin/17.7.0(?!.*x86_64)","name":"iOS","version":"11.4.1"},{"regex":"CFNetwork/.+ Darwin/17.6.0(?!.*x86_64)","name":"iOS","version":"11.4"},{"regex":"CFNetwork/889(?!.*x86_64)","name":"iOS","version":"11.1"},{"regex":"CFNetwork/887(?!.*x86_64)","name":"iOS","version":"11.0"},{"regex":"CFNetwork/811(?!.*x86_64)","name":"iOS","version":"10.3"},{"regex":"CFNetwork/808\\\\.3","name":"iOS","version":"10.3"},{"regex":"CFNetwork/808\\\\.2","name":"iOS","version":"10.2"},{"regex":"CFNetwork/808\\\\.1","name":"iOS","version":"10.1"},{"regex":"CFNetwork/808\\\\.0","name":"iOS","version":"10.0"},{"regex":"CFNetwork/808","name":"iOS","version":"10"},{"regex":"CFNetwork/758\\\\.4\\\\.3","name":"iOS","version":"9.3.2"},{"regex":"CFNetwork/758\\\\.3\\\\.15","name":"iOS","version":"9.3"},{"regex":"CFNetwork/758\\\\.2\\\\.[78]","name":"iOS","version":"9.2"},{"regex":"CFNetwork/758\\\\.1\\\\.6","name":"iOS","version":"9.1"},{"regex":"CFNetwork/758\\\\.0\\\\.2","name":"iOS","version":"9.0"},{"regex":"CFNetwork/711\\\\.5\\\\.6","name":"iOS","version":"8.4.1"},{"regex":"CFNetwork/711\\\\.4\\\\.6","name":"iOS","version":"8.4"},{"regex":"CFNetwork/711\\\\.3\\\\.18","name":"iOS","version":"8.3"},{"regex":"CFNetwork/711\\\\.2\\\\.23","name":"iOS","version":"8.2"},{"regex":"CFNetwork/711\\\\.1\\\\.1[26]","name":"iOS","version":"8.1"},{"regex":"CFNetwork/711\\\\.0\\\\.6","name":"iOS","version":"8.0"},{"regex":"CFNetwork/672\\\\.1","name":"iOS","version":"7.1"},{"regex":"CFNetwork/672\\\\.0","name":"iOS","version":"7.0"},{"regex":"CFNetwork/609\\\\.1","name":"iOS","version":"6.1"},{"regex":"CFNetwork/60[29]","name":"iOS","version":"6.0"},{"regex":"CFNetwork/548\\\\.1","name":"iOS","version":"5.1"},{"regex":"CFNetwork/548\\\\.0","name":"iOS","version":"5.0"},{"regex":"CFNetwork/485\\\\.13","name":"iOS","version":"4.3"},{"regex":"CFNetwork/485\\\\.12","name":"iOS","version":"4.2"},{"regex":"CFNetwork/485\\\\.10","name":"iOS","version":"4.1"},{"regex":"CFNetwork/485\\\\.2","name":"iOS","version":"4.0"},{"regex":"CFNetwork/467\\\\.12","name":"iOS","version":"3.2"},{"regex":"CFNetwork/459","name":"iOS","version":"3.1"},{"regex":"iPhone/(\\\\d+[\\\\.\\\\d]*) hw/","name":"iOS","version":"$1"},{"regex":"iOS(\\\\d+\\\\.\\\\d+\\\\.\\\\d+)","name":"iOS","version":"$1"},{"regex":"iOS(\\\\d+)\\\\.(\\\\d+)0","name":"iOS","version":"$1.$2"},{"regex":"iPhone OS ([0-9]{1})([0-9]{1})([0-9]{1})","name":"iOS","version":"$1.$2.$3"},{"regex":"(?:CPU OS|iPh(?:one)?[ _]OS|iOS)[ _/](\\\\d+(?:[_\\\\.]\\\\d+)*)","name":"iOS","version":"$1"},{"regex":"(?:FBIOS|Messenger(?:Lite)?ForiOS).*FBSV/ ?(\\\\d+[\\\\.\\\\d]*);","name":"iOS","version":"$1"},{"regex":"(?:Apple-)?(?:iPhone|iPad|iPod)(?:.*Mac OS X.*Version/(\\\\d+\\\\.\\\\d+)|; Opera)?","name":"iOS","version":"$1"},{"regex":"(?:Podcasts/(?:[\\\\d\\\\.]+)|Instacast(?:HD)?/(?:\\\\d\\\\.[\\\\d\\\\.abc]+)|Pocket Casts, iOS|\\\\(iOS\\\\)|iOS; Opera|Overcast|Castro|Podcat|iCatcher|RSSRadio/|MobileSafari/)(?!.*x86_64)","name":"iOS","version":""},{"regex":"iTunes-(iPod|iPad|iPhone)/(?:[\\\\d\\\\.]+)","name":"iOS","version":""},{"regex":"iOS/Version ([\\\\d\\\\.]+)","name":"iOS","version":"$1"},{"regex":"Sonos/.+\\\\(ICRU_","name":"iOS","version":""},{"regex":"CFNetwork/.+ Darwin/20.2.0.*(x86_64)|(x86_64-apple-)?darwin20.2.0","name":"Mac","version":"11.1"},{"regex":"CFNetwork/.+ Darwin/20.[01].0.*(x86_64)|(x86_64-apple-)?darwin20.[01].0","name":"Mac","version":"11.0"},{"regex":"CFNetwork/.+ Darwin/19.6.0.*(x86_64)|(x86_64-apple-)?darwin19.6.0","name":"Mac","version":"10.15.6"},{"regex":"CFNetwork/.+ Darwin/19.5.0.*(x86_64)|(x86_64-apple-)?darwin19.5.0","name":"Mac","version":"10.15.5"},{"regex":"CFNetwork/.+ Darwin/19.4.0.*(x86_64)|(x86_64-apple-)?darwin19.4.0","name":"Mac","version":"10.15.4"},{"regex":"CFNetwork/.+ Darwin/19.3.0.*(x86_64)|(x86_64-apple-)?darwin19.3.0","name":"Mac","version":"10.15.3"},{"regex":"CFNetwork/.+ Darwin/19.2.0.*(x86_64)|(x86_64-apple-)?darwin19.2.0","name":"Mac","version":"10.15.2"},{"regex":"CFNetwork/(?:108[258]|109[18]|1103).*(x86_64)","name":"Mac","version":"10.15"},{"regex":"CFNetwork/.+ Darwin/18.2.0.*(x86_64)|(x86_64-apple-)?darwin18.2.0","name":"Mac","version":"10.14.1"},{"regex":"CFNetwork/(?:96[29]|97[14568]).*(x86_64)","name":"Mac","version":"10.14"},{"regex":"CFNetwork/.+ Darwin/17.7.0.*(x86_64)|(x86_64-apple-)?darwin17.7.0","name":"Mac","version":"10.13.6"},{"regex":"CFNetwork/.+ Darwin/17.6.0.*(x86_64)|(x86_64-apple-)?darwin17.6.0","name":"Mac","version":"10.13.5"},{"regex":"CFNetwork/.+ Darwin/17.5.0.*(x86_64)|(x86_64-apple-)?darwin17.5.0","name":"Mac","version":"10.13.4"},{"regex":"CFNetwork/.+ Darwin/17.4.0.*(x86_64)|(x86_64-apple-)?darwin17.4.0","name":"Mac","version":"10.13.3"},{"regex":"CFNetwork/.+ Darwin/17.3.0.*(x86_64)|(x86_64-apple-)?darwin17.3.0","name":"Mac","version":"10.13.2"},{"regex":"CFNetwork/.+ Darwin/17.2.0.*(x86_64)|(x86_64-apple-)?darwin17.2.0","name":"Mac","version":"10.13.1"},{"regex":"CFNetwork/(?:887|889|893|897|901|902).*(x86_64)","name":"Mac","version":"10.13"},{"regex":"CFNetwork/.+ Darwin/16.7.0.*(x86_64)|(x86_64-apple-)?darwin16.7.0","name":"Mac","version":"10.12.6"},{"regex":"CFNetwork/.+ Darwin/16.6.0.*(x86_64)|(x86_64-apple-)?darwin16.6.0","name":"Mac","version":"10.12.5"},{"regex":"CFNetwork/.+ Darwin/16.5.0.*(x86_64)|(x86_64-apple-)?darwin16.5.0","name":"Mac","version":"10.12.4"},{"regex":"CFNetwork/.+ Darwin/16.3.0.*(x86_64)|(x86_64-apple-)?darwin16.3.0","name":"Mac","version":"10.12.3"},{"regex":"CFNetwork/.+ Darwin/16.2.0.*(x86_64)|(x86_64-apple-)?darwin16.2.0","name":"Mac","version":"10.12.2"},{"regex":"CFNetwork/.+ Darwin/16.1.0.*(x86_64)|(x86_64-apple-)?darwin16.1.0","name":"Mac","version":"10.12.1"},{"regex":"CFNetwork/811.*(x86_64)","name":"Mac","version":"10.12"},{"regex":"CFNetwork/807","name":"Mac","version":"10.12"},{"regex":"CFNetwork/.+ Darwin/15.6.0.*(x86_64)|(x86_64-apple-)?darwin15.6.0","name":"Mac","version":"10.11.6"},{"regex":"CFNetwork/.+ Darwin/15.5.0.*(x86_64)|(x86_64-apple-)?darwin15.5.0","name":"Mac","version":"10.11.5"},{"regex":"CFNetwork/.+ Darwin/15.4.0.*(x86_64)|(x86_64-apple-)?darwin15.4.0","name":"Mac","version":"10.11.4"},{"regex":"CFNetwork/.+ Darwin/15.3.0.*(x86_64)|(x86_64-apple-)?darwin15.3.0","name":"Mac","version":"10.11.3"},{"regex":"CFNetwork/.+ Darwin/15.2.0.*(x86_64)|(x86_64-apple-)?darwin15.2.0","name":"Mac","version":"10.11.2"},{"regex":"CFNetwork/760","name":"Mac","version":"10.11"},{"regex":"CFNetwork/.+ Darwin/14.5.0.*(x86_64)|(x86_64-apple-)?darwin14.5.0","name":"Mac","version":"10.10.5"},{"regex":"CFNetwork/.+ Darwin/14.4.0.*(x86_64)|(x86_64-apple-)?darwin14.4.0","name":"Mac","version":"10.10.4"},{"regex":"CFNetwork/.+ Darwin/14.3.0.*(x86_64)|(x86_64-apple-)?darwin14.3.0","name":"Mac","version":"10.10.3"},{"regex":"CFNetwork/.+ Darwin/14.1.0.*(x86_64)|(x86_64-apple-)?darwin14.1.0","name":"Mac","version":"10.10.2"},{"regex":"CFNetwork/720","name":"Mac","version":"10.10"},{"regex":"CFNetwork/.+ Darwin/13.4.0.*(x86_64)|(x86_64-apple-)?darwin13.4.0","name":"Mac","version":"10.9.5"},{"regex":"CFNetwork/.+ Darwin/13.3.0.*(x86_64)|(x86_64-apple-)?darwin13.3.0","name":"Mac","version":"10.9.4"},{"regex":"CFNetwork/.+ Darwin/13.2.0.*(x86_64)|(x86_64-apple-)?darwin13.2.0","name":"Mac","version":"10.9.3"},{"regex":"CFNetwork/.+ Darwin/13.1.0.*(x86_64)|(x86_64-apple-)?darwin13.1.0","name":"Mac","version":"10.9.2"},{"regex":"CFNetwork/673","name":"Mac","version":"10.9"},{"regex":"CFNetwork/.+ Darwin/12.5.0.*(x86_64)|(x86_64-apple-)?darwin12.5.0","name":"Mac","version":"10.8.5"},{"regex":"CFNetwork/.+ Darwin/12.4.0.*(x86_64)|(x86_64-apple-)?darwin12.4.0","name":"Mac","version":"10.8.4"},{"regex":"CFNetwork/.+ Darwin/12.3.0.*(x86_64)|(x86_64-apple-)?darwin12.3.0","name":"Mac","version":"10.8.3"},{"regex":"CFNetwork/.+ Darwin/12.2.0.*(x86_64)|(x86_64-apple-)?darwin12.2.0","name":"Mac","version":"10.8.2"},{"regex":"CFNetwork/.+ Darwin/12.1.0.*(x86_64)|(x86_64-apple-)?darwin12.1.0","name":"Mac","version":"10.8.1"},{"regex":"CFNetwork/596","name":"Mac","version":"10.8"},{"regex":"CFNetwork/.+ Darwin/11.5.0.*(x86_64)|(x86_64-apple-)?darwin11.5.0","name":"Mac","version":"10.7.5"},{"regex":"CFNetwork/.+ Darwin/11.4.0.*(x86_64)|(x86_64-apple-)?darwin11.4.0","name":"Mac","version":"10.7.4"},{"regex":"CFNetwork/.+ Darwin/11.3.0.*(x86_64)|(x86_64-apple-)?darwin11.3.0","name":"Mac","version":"10.7.3"},{"regex":"CFNetwork/.+ Darwin/11.2.0.*(x86_64)|(x86_64-apple-)?darwin11.2.0","name":"Mac","version":"10.7.2"},{"regex":"CFNetwork/.+ Darwin/11.1.0.*(x86_64)|(x86_64-apple-)?darwin11.1.0","name":"Mac","version":"10.7.1"},{"regex":"CFNetwork/520","name":"Mac","version":"10.7"},{"regex":"CFNetwork/454","name":"Mac","version":"10.6"},{"regex":"CFNetwork/(?:438|422|339|330|221|220|217)","name":"Mac","version":"10.5"},{"regex":"CFNetwork/12[89]","name":"Mac","version":"10.4"},{"regex":"CFNetwork/1\\\\.2","name":"Mac","version":"10.3"},{"regex":"CFNetwork/1\\\\.1","name":"Mac","version":"10.2"},{"regex":"Mac[ +]OS[ +]?X(?:[ /](?:Version )?(\\\\d+(?:[_\\\\.]\\\\d+)+))?","name":"Mac","version":"$1"},{"regex":"Mac (?:OS/)?(\\\\d+(?:[_\\\\.]\\\\d+)+)","name":"Mac","version":"$1"},{"regex":"macOS/(\\\\d+[\\\\.\\\\d]+)","name":"Mac","version":"$1"},{"regex":"Darwin|Macintosh|Mac_PowerPC|PPC|Mac PowerPC|iMac|MacBook|macOS|Sonos/.+\\\\(MDCR_","name":"Mac","version":""},{"regex":"SeewoOS x86_64 (\\\\d+[\\\\.\\\\d]+)","name":"SeewoOS","version":"$1"},{"regex":"CrOS [a-z0-9_]+ .* Chrome/(\\\\d+[\\\\.\\\\d]+)","name":"Chrome OS","version":"$1"},{"regex":"(?:BB10;.+Version|Black[Bb]erry[0-9a-z]+|Black[Bb]erry.+Version)/(\\\\d+[\\\\.\\\\d]+)","name":"BlackBerry OS","version":"$1"},{"regex":"RIM Tablet OS (\\\\d+[\\\\.\\\\d]+)","name":"BlackBerry Tablet OS","version":"$1"},{"regex":"RIM Tablet OS|QNX|Play[Bb]ook","name":"BlackBerry Tablet OS","version":""},{"regex":"BlackBerry","name":"BlackBerry OS","version":""},{"regex":"bPod","name":"BlackBerry OS","version":""},{"regex":"BeOS","name":"BeOS","version":""},{"regex":"Symbian/3.+NokiaBrowser/7\\\\.3","name":"Symbian^3","version":"Anna"},{"regex":"Symbian/3.+NokiaBrowser/7\\\\.4","name":"Symbian^3","version":"Belle"},{"regex":"Symbian/3","name":"Symbian^3","version":""},{"regex":"(?:Series ?60|SymbOS|S60)(?:[ /]?(\\\\d+[\\\\.\\\\d]+|V\\\\d+))?","name":"Symbian OS Series 60","version":"$1"},{"regex":"Series40","name":"Symbian OS Series 40","version":""},{"regex":"SymbianOS/(\\\\d+[\\\\.\\\\d]+)","name":"Symbian OS","version":"$1"},{"regex":"MeeGo|WeTab","name":"MeeGo","version":""},{"regex":"Symbian(?: OS)?|SymbOS","name":"Symbian OS","version":""},{"regex":"Nokia","name":"Symbian","version":""},{"regex":"(?:Mobile|Tablet);.+Firefox/\\\\d+\\\\.\\\\d+","name":"Firefox OS","version":""},{"regex":"RISC OS(?:-NC)?(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"RISC OS","version":"$1"},{"regex":"Inferno(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Inferno","version":"$1"},{"regex":"bada(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Bada","version":"$1"},{"regex":"(?:Brew(?!-Applet)(?: MP)?|BMP)(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Brew","version":"$1"},{"regex":"GoogleTV(?:[ /](\\\\d+[\\\\.\\\\d]+))?","name":"Google TV","version":"$1"},{"regex":"AppleTV(?:/?(\\\\d+[\\\\.\\\\d]+))?","name":"Apple TV","version":"$1"},{"regex":"WebTV/(\\\\d+[\\\\.\\\\d]+)","name":"WebTV","version":"$1"},{"regex":"RemixOS 5.1.1","name":"Remix OS","version":"1"},{"regex":"RemixOS 6.0","name":"Remix OS","version":"2"},{"regex":"RemixOS","name":"Remix OS","version":""},{"regex":"(?:SunOS|Solaris)(?:[/ ](\\\\d+[\\\\.\\\\d]+))?","name":"Solaris","version":"$1"},{"regex":"AIX(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"AIX","version":"$1"},{"regex":"HP-UX(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"HP-UX","version":"$1"},{"regex":"FreeBSD(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"FreeBSD","version":"$1"},{"regex":"NetBSD(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"NetBSD","version":"$1"},{"regex":"OpenBSD(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"OpenBSD","version":"$1"},{"regex":"DragonFly(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"DragonFly","version":"$1"},{"regex":"Syllable(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))?","name":"Syllable","version":"$1"},{"regex":"IRIX(?:;64)?(?:[/ ]?(\\\\d+[\\\\.\\\\d]+))","name":"IRIX","version":"$1"},{"regex":"OSF1(?:[/ ]?v?(\\\\d+[\\\\.\\\\d]+))?","name":"OSF1","version":"$1"},{"regex":"Nintendo (Wii|Switch)","name":"Nintendo","version":"$1"},{"regex":"PlayStation ?([34])","name":"PlayStation","version":"$1"},{"regex":"Xbox|KIN\\\\.(?:One|Two)","name":"Xbox","version":"360"},{"regex":"Nitro|Nintendo ([3]?DS[i]?)","name":"Nintendo Mobile","version":"$1"},{"regex":"PlayStation ((?:Portable|Vita))","name":"PlayStation Portable","version":"$1"},{"regex":"OS/2","name":"OS/2","version":""},{"regex":"Linux(?:OS)?[^a-z]","name":"GNU/Linux","version":""}]'),jxe={AIX:"AIX",AND:"Android",AMG:"AmigaOS",ATV:"Apple TV",ARL:"Arch Linux",BTR:"BackTrack",SBA:"Bada",BEO:"BeOS",BLB:"BlackBerry OS",QNX:"BlackBerry Tablet OS",BMP:"Brew",CES:"CentOS",COS:"Chrome OS",CYN:"CyanogenMod",DEB:"Debian",DEE:"Deepin",DFB:"DragonFly",FED:"Fedora",FOS:"Firefox OS",FIR:"Fire OS",FRE:"Freebox",BSD:"FreeBSD",FYD:"FydeOS",GNT:"Gentoo",GTV:"Google TV",HPX:"HP-UX",HAI:"Haiku OS",IRI:"IRIX",INF:"Inferno",KOS:"KaiOS",KNO:"Knoppix",KBT:"Kubuntu",LIN:"GNU/Linux",LBT:"Lubuntu",VLN:"VectorLinux",MAC:"Mac",MAE:"Maemo",MDR:"Mandriva",SMG:"MeeGo",MCD:"MocorDroid",MIN:"Mint",MLD:"MildWild",MOR:"MorphOS",NBS:"NetBSD",MTK:"MTK / Nucleus",MRE:"MRE",WII:"Nintendo",NDS:"Nintendo Mobile",OS2:"OS/2",T64:"OSF1",OBS:"OpenBSD",ORD:"Ordissimo",PSP:"PlayStation Portable",PS3:"PlayStation",RHT:"Red Hat",ROS:"RISC OS",RSO:"Rosa",REM:"Remix OS",RZD:"RazoDroiD",SAB:"Sabayon",SSE:"SUSE",SAF:"Sailfish OS",SEE:"SeewoOS",SLW:"Slackware",SOS:"Solaris",SYL:"Syllable",SYM:"Symbian",SYS:"Symbian OS",S40:"Symbian OS Series 40",S60:"Symbian OS Series 60",SY3:"Symbian^3",TDX:"ThreadX",TIZ:"Tizen",TOS:"TmaxOS",UBT:"Ubuntu",WAS:"watchOS",WTV:"WebTV",WHS:"Whale OS",WIN:"Windows",WCE:"Windows CE",WIO:"Windows IoT",WMO:"Windows Mobile",WPH:"Windows Phone",WRT:"Windows RT",XBX:"Xbox",XBT:"Xubuntu",YNS:"YunOs",IOS:"iOS",POS:"palmOS",WOS:"webOS"},Kxe={Android:["AND","CYN","FIR","REM","RZD","MLD","MCD","YNS"],AmigaOS:["AMG","MOR"],"Apple TV":["ATV"],BlackBerry:["BLB","QNX"],Brew:["BMP"],BeOS:["BEO","HAI"],"Chrome OS":["COS","FYD","SEE"],"Firefox OS":["FOS","KOS"],"Gaming Console":["WII","PS3"],"Google TV":["GTV"],IBM:["OS2"],iOS:["IOS","WAS"],"RISC OS":["ROS"],"GNU/Linux":["LIN","ARL","DEB","KNO","MIN","UBT","KBT","XBT","LBT","FED","RHT","VLN","MDR","GNT","SAB","SLW","SSE","CES","BTR","SAF","ORD","TOS","RSO","DEE","FRE"],Mac:["MAC"],"Mobile Gaming Console":["PSP","NDS","XBX"],"Real-time OS":["MTK","TDX","MRE"],"Other Mobile":["WOS","POS","SBA","TIZ","SMG","MAE"],Symbian:["SYM","SYS","SY3","S60","S40"],Unix:["SOS","AIX","HPX","BSD","NBS","OBS","DFB","SYL","IRI","T64","INF"],WebTV:["WTV"],Windows:["WIN"],"Windows Mobile":["WPH","WMO","WCE","WRT","WIO"],"Other Smart TV":["WHS"]},zxe={operatingSystem:jxe,osFamilies:Kxe};var nM;function qxe(){if(nM)return Ai;nM=1;var e=Ai&&Ai.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(Ai,"__esModule",{value:!0});const t=e(Wxe),r=Fa(),o=Wr(),a=xr(),i=e(zxe),n=["AmigaOS","IBM","GNU/Linux","Mac","Unix","Windows","BeOS","Chrome OS"],s=i.default.operatingSystem,d=i.default.osFamilies;class c{constructor(f){this.options={versionTruncation:1},this.parse=b=>{const g={name:"",version:"",platform:this.parsePlatform(b)};for(const h of t.default){const y=a.userAgentParser(h.regex,b);if(y)return g.name=o.variableReplacement(h.name,y),g.version=r.formatVersion(o.variableReplacement(h.version,y),this.options.versionTruncation),g.name==="lubuntu"&&(g.name="Lubuntu"),g.name==="debian"&&(g.name="Debian"),g.name==="YunOS"&&(g.name="YunOs"),g}return null},this.parsePlatform=b=>a.userAgentParser("arm|aarch64|Watch ?OS|Watch1,[12]",b)?"ARM":a.userAgentParser("mips",b)?"MIPS":a.userAgentParser("sh4",b)?"SuperH":a.userAgentParser("WOW64|x64|win64|amd64|x86_?64",b)?"x64":a.userAgentParser("(?:i[0-9]|x)86|i86pc",b)?"x86":"",this.options=Object.assign(Object.assign({},this.options),f)}}return Ai.default=c,c.getDesktopOsArray=()=>n,c.getOsFamily=m=>{const f=c.getOsShortName(m);for(const[b,g]of Object.entries(d))if(g.includes(f))return b;return""},c.getOsShortName=m=>{for(const[f,b]of Object.entries(s))if(b===m)return f;return""},Ai}var Li={};const Zxe=["MDDR(JS)?","MDDC(JS)?","MDDS(JS)?"],Qxe=["MAAR(JS)?"],Jxe=["MASE(JS)?","MASP(JS)?","MASA(JS)?"],e1e=["MAAU","NP0[26789]","ASJB","ASU2(JS)?"],t1e=["MASM(JS)?","SMJB"],r1e=["MALC(JS)?","MALE(JS)?","MALN(JS)?","LCJB","LEN2"],o1e=["MATM(JS)?","MATB(JS)?","MATP(JS)?","TNJB","TAJB"],n1e=["MAMD"],a1e=["MAMI(JS)?","MAM3"],i1e=["MAGW(JS)?"],l1e=["MAFS(JS)?","FSJB"],s1e=["CPDTDF","CPNTDF(JS?)","CMNTDF(JS)?","CMDTDF(JS)?"],d1e=["HPCMHP","HPNTDF(JS)?","HPDTDF(JS)?"],u1e=["MANM(JS)?"],c1e=["Ordissimo","webissimo3"],m1e={Dell:Zxe,Acer:Qxe,Sony:Jxe,Asus:e1e,Samsung:t1e,Lenovo:r1e,Toshiba:o1e,Medion:n1e,MSI:a1e,Gateway:i1e,Fujitsu:l1e,Compaq:s1e,HP:d1e,Hyrican:u1e,Ordissimo:c1e};var aM;function g1e(){if(aM)return Li;aM=1;var e=Li&&Li.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Li,"__esModule",{value:!0});const t=e(m1e),r=xr();class o{constructor(){this.parse=i=>{for(const[n,s]of Object.entries(t.default))for(const d of s)if(r.userAgentParser(d,i))return n;return""}}}return Li.default=o,Li}const f1e=JSON.parse(`[{"regex":"360Spider(-Image|-Video)?","name":"360Spider","category":"Search bot","url":"https://www.so.com/help/help_3_2.html","producer":{"name":"Online Media Group, Inc.","url":""}},{"regex":"Aboundex","name":"Aboundexbot","category":"Search bot","url":"http://www.aboundex.com/crawler/","producer":{"name":"Aboundex.com","url":"http://www.aboundex.com"}},{"regex":"AcoonBot","name":"Acoon","category":"Search bot","url":"http://www.acoon.de/robot.asp","producer":{"name":"Acoon GmbH","url":"http://www.acoon.de"}},{"regex":"AddThis\\\\.com","name":"AddThis.com","category":"Social Media Agent","url":"","producer":{"name":"Clearspring Technologies, Inc.","url":"http://www.clearspring.com"}},{"regex":"AhrefsBot","name":"aHrefs Bot","category":"Crawler","url":"https://ahrefs.com/robot","producer":{"name":"Ahrefs Pte Ltd","url":"https://ahrefs.com/robot"}},{"regex":"ia_archiver|alexabot|verifybot","name":"Alexa Crawler","category":"Search bot","url":"https://support.alexa.com/hc/en-us/sections/200100794-Crawlers","producer":{"name":"Alexa Internet","url":"https://www.alexa.com"}},{"regex":"alexa site audit","name":"Alexa Site Audit","category":"Site Monitor","url":"https://support.alexa.com/hc/en-us/articles/200450194","producer":{"name":"Alexa Internet","url":"https://www.alexa.com"}},{"regex":"Amazon[ -]Route ?53[ -]Health[ -]Check[ -]Service","name":"Amazon Route53 Health Check","category":"Service Agent","producer":{"name":"Amazon Web Services","url":"https://aws.amazon.com/"}},{"regex":"AmorankSpider","name":"Amorank Spider","category":"Crawler","url":"http://amorank.com/webcrawler.html","producer":{"name":"Amorank","url":"http://www.amorank.com"}},{"regex":"ApacheBench","name":"ApacheBench","category":"Benchmark","url":"https://httpd.apache.org/docs/2.4/programs/ab.html","producer":{"name":"The Apache Software Foundation","url":"https://www.apache.org/foundation/"}},{"regex":"Applebot","name":"Applebot","category":"Crawler","url":"https://support.apple.com/en-us/HT204683","producer":{"name":"Apple Inc","url":"https://www.apple.com"}},{"regex":"AppSignalBot","name":"AppSignalBot","category":"Site Monitor","url":"https://docs.appsignal.com/uptime-monitoring/","producer":{"name":"AppSignal","url":"https://appsignal.com/"}},{"regex":"Arachni","name":"Arachni","category":"Security Checker","url":"https://www.arachni-scanner.com/","producer":{"name":"Sarosys LLC","url":"https://www.sarosys.com/"}},{"regex":"AspiegelBot","name":"AspiegelBot","category":"Crawler","url":"https://aspiegel.com/","producer":{"name":"Huawei","url":"https://www.huawei.com/"}},{"regex":"Castro 2, Episode Duration Lookup","name":"Castro 2","category":"Service Agent","url":"http://supertop.co/castro/","producer":{"name":"Supertop","url":"http://supertop.co"}},{"regex":"Curious George","name":"Analytics SEO Crawler","category":"Crawler","url":"http://www.analyticsseo.com/crawler","producer":{"name":"Analytics SEO","url":"http://www.analyticsseo.com"}},{"regex":"archive\\\\.org_bot|special_archiver","name":"archive.org bot","category":"Crawler","url":"https://archive.org/details/archive.org_bot","producer":{"name":"The Internet Archive","url":"https://archive.org"}},{"regex":"Ask Jeeves/Teoma","name":"Ask Jeeves","category":"Search bot","url":"","producer":{"name":"Ask Jeeves Inc.","url":"http://www.ask.com"}},{"regex":"Backlink-Check\\\\.de","name":"Backlink-Check.de","category":"Crawler","url":"http://www.backlink-check.de/bot.html","producer":{"name":"Mediagreen Medienservice","url":"http://www.backlink-check.de"}},{"regex":"BacklinkCrawler","name":"BacklinkCrawler","category":"Crawler","url":"http://www.backlinktest.com/crawler.html","producer":{"name":"2.0Promotion GbR","url":"http://www.backlinktest.com"}},{"regex":"baiduspider(-image)?|baidu Transcoder|baidu.*spider","name":"Baidu Spider","category":"Search bot","url":"http://www.baidu.com/search/spider.htm","producer":{"name":"Baidu","url":"http://www.baidu.com"}},{"regex":"BazQux","name":"BazQux Reader","url":"https://bazqux.com/fetcher","category":"Feed Fetcher","producer":{"name":"","url":""}},{"regex":"MSNBot|msrbot|bingbot|BingPreview|msnbot-(UDiscovery|NewsBlogs)|adidxbot","name":"BingBot","category":"Search bot","url":"http://search.msn.com/msnbot.htmn","producer":{"name":"Microsoft Corporation","url":"http://www.microsoft.com"}},{"regex":"Blekkobot","name":"Blekkobot","category":"Search bot","url":"http://blekko.com/about/blekkobot","producer":{"name":"Blekko","url":"http://blekko.com"}},{"regex":"BLEXBot(Test)?","name":"BLEXBot Crawler","category":"Crawler","url":"http://webmeup-crawler.com","producer":{"name":"WebMeUp","url":"http://webmeup.com"}},{"regex":"Bloglovin","name":"Bloglovin","url":"http://www.bloglovin.com","category":"Feed Fetcher","producer":{"name":"","url":""}},{"regex":"Blogtrottr","name":"Blogtrottr","url":"","category":"Feed Fetcher","producer":{"name":"Blogtrottr Ltd","url":"https://blogtrottr.com/"}},{"regex":"BoardReader Blog Indexer","name":"BoardReader Blog Indexer","category":"Crawler","producer":{"name":"BoardReader","url":"https://boardreader.com/"}},{"regex":"BountiiBot","name":"Bountii Bot","category":"Search bot","url":"http://bountii.com/contact.php","producer":{"name":"Bountii Inc.","url":"http://bountii.com"}},{"regex":"Browsershots","name":"Browsershots","category":"Service Agent","url":"http://browsershots.org/faq","producer":{"name":"Browsershots.org","url":"http://browsershots.org"}},{"regex":"BUbiNG","name":"BUbiNG","category":"Crawler","url":"http://law.di.unimi.it/BUbiNG.html","producer":{"name":"The Laboratory for Web Algorithmics (LAW)","url":"http://law.di.unimi.it/software.php#buging"}},{"regex":"(?{var n,s,d,c;for(const m of t.default)if(r.userAgentParser(m.regex,i))return{name:m.name,category:m.category||"",url:m.url||"",producer:{name:((s=(n=m)===null||n===void 0?void 0:n.producer)===null||s===void 0?void 0:s.name)||"",url:((c=(d=m)===null||d===void 0?void 0:d.producer)===null||c===void 0?void 0:c.url)||""}};return null}}}return Dl=o,Dl}var Bd={},lM;function b1e(){return lM||(lM=1,Object.defineProperty(Bd,"__esModule",{value:!0}),Bd.versionCompare=(e,t,r)=>{let o,a,i=0;const n={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},s=c=>(c=(""+c).replace(/[_\-+]/g,"."),c=c.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,"."),c.length?c.split("."):[-8]),d=c=>c?isNaN(c)?n[c]||-7:parseInt(c,10):0;for(e=s(e),t=s(t),a=Math.max(e.length,t.length),o=0;ot[o]){i=1;break}}if(!r)return i;switch(r){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"===":case"=":case"eq":return i===0;case"<>":case"!==":case"ne":return i!==0;case"":case"<":case"lt":return i<0;default:return null}}),Bd}var kl,sM;function h1e(){if(sM)return kl;sM=1;var e=kl&&kl.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};const t=e(yre()),r=e(Xxe()),o=e(qxe()),a=e(g1e()),i=e(KA()),n=p1e(),s=xr(),d=b1e();class c{constructor(f){this.options={skipBotDetection:!1,versionTruncation:1},this.parse=b=>{var g,h,y,w,M,A,L,C,I,F,R,q,W,K;const N={client:this.clientParser.parse(b),os:this.operatingSystemParser.parse(b),device:this.deviceParser.parse(b),bot:this.options.skipBotDetection?null:this.botParser.parse(b)},V=(g=N.os)===null||g===void 0?void 0:g.name,J=(h=N.os)===null||h===void 0?void 0:h.version,ee=o.default.getOsFamily(V||"");if(!(!((y=N.device)===null||y===void 0)&&y.brand)){const re=this.vendorFragmentParser.parse(b);re&&(N.device||(N.device=this.createDeviceObject()),N.device.brand=re)}return!(!((w=N.device)===null||w===void 0)&&w.brand)&&["Apple TV","watchOS","iOS","Mac"].includes(V||"")&&(N.device||(N.device=this.createDeviceObject()),N.device.brand="Apple"),!(!((M=N.device)===null||M===void 0)&&M.type)&&ee==="Android"&&s.userAgentParser("Chrome/[\\.0-9]*",b)&&(s.userAgentParser("Chrome/[.0-9]* (?:Mobile|eliboM)",b)?(N.device||(N.device=this.createDeviceObject()),N.device.type="smartphone"):s.userAgentParser("Chrome/[.0-9]* (?!Mobile)",b)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="tablet")),(!(!((A=N.device)===null||A===void 0)&&A.type)&&this.hasAndroidTabletFragment(b)||s.userAgentParser("Opera Tablet",b))&&(N.device||(N.device=this.createDeviceObject()),N.device.type="tablet"),!(!((L=N.device)===null||L===void 0)&&L.type)&&this.hasAndroidMobileFragment(b)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="smartphone"),!(!((C=N.device)===null||C===void 0)&&C.type)&&V==="Android"&&J!==""&&(d.versionCompare(J,"2.0")===-1?(N.device||(N.device=this.createDeviceObject()),N.device.type="smartphone"):d.versionCompare(J,"3.0")>=0&&d.versionCompare(J,"4.0")===-1&&(N.device||(N.device=this.createDeviceObject()),N.device.type="tablet")),((I=N.device)===null||I===void 0?void 0:I.type)==="feature phone"&&ee==="Android"&&(N.device.type="smartphone"),!(!((F=N.device)===null||F===void 0)&&F.type)&&this.isToucheEnabled(b)&&(V==="Windows RT"||V==="Windows"&&d.versionCompare(J,"8.0")>=0)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="tablet"),s.userAgentParser("Opera TV Store",b)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="television"),s.userAgentParser("SmartTV|Tizen.+ TV .+$",b)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="television"),!(!((R=N.device)===null||R===void 0)&&R.type)&&["Kylo","Espial TV Browser"].includes(((q=N.client)===null||q===void 0?void 0:q.name)||"")&&(N.device||(N.device=this.createDeviceObject()),N.device.type="television"),((W=N.device)===null||W===void 0?void 0:W.type)!=="desktop"&&s.userAgentParser("Desktop",b)!==null&&this.hasDesktopFragment(b)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="desktop"),!(!((K=N.device)===null||K===void 0)&&K.type)&&this.isDesktop(N,ee)&&(N.device||(N.device=this.createDeviceObject()),N.device.type="desktop"),N},this.hasAndroidMobileFragment=b=>s.userAgentParser("Android( [.0-9]+)?; Mobile;",b),this.hasAndroidTabletFragment=b=>s.userAgentParser("Android( [.0-9]+)?; Tablet;",b),this.hasDesktopFragment=b=>s.userAgentParser("Desktop (x(?:32|64)|WOW64);",b),this.isDesktop=(b,g)=>!b.os||this.usesMobileBrowser(b.client)?!1:o.default.getDesktopOsArray().includes(g),this.usesMobileBrowser=b=>{var g,h;return b?((g=b)===null||g===void 0?void 0:g.type)==="browser"&&i.default.isMobileOnlyBrowser((h=b)===null||h===void 0?void 0:h.name):!1},this.isToucheEnabled=b=>s.userAgentParser("Touch",b),this.createDeviceObject=()=>({type:"",brand:"",model:""}),this.options=Object.assign(Object.assign({},this.options),f),this.clientParser=new t.default(this.options),this.deviceParser=new r.default,this.operatingSystemParser=new o.default(this.options),this.vendorFragmentParser=new a.default,this.botParser=new n}}return kl=c,kl}var x1e=h1e();const _1e=ae(x1e),v1e=new _1e,Dd=()=>{let e;return e=wwLib.getFrontDocument(),e},Rm=()=>{let e;return e=wwLib.getFrontWindow(),e},y1e=e=>{const t=yt({isOnline:navigator.onLine,connection:navigator.connection||{downlink:-1,effectiveType:"unknown",rtt:-1,saveData:!1,type:"unknown"},supported:"connection"in navigator}),r=()=>{t.isOnline=navigator.onLine,t.connection=navigator.connection||t.connection,wwLib.wwVariable.updateValue(`${e}-network`,ht(t))},o=Rm();return o.addEventListener("online",r),o.addEventListener("offline",r),navigator.connection&&navigator.connection.addEventListener("change",r),r(),t},S1e=e=>{const t=yt({level:-1,charging:!1,chargingTime:-1,dischargingTime:-1,supported:"getBattery"in navigator}),r=o=>{t.level=o.level??t.level,t.charging=o.charging??t.charging,t.chargingTime=o.chargingTime??t.chargingTime,t.dischargingTime=o.dischargingTime??t.dischargingTime,wwLib.wwVariable.updateValue(`${e}-battery`,ht(t))};return t.supported&&navigator.getBattery().then(o=>{r(o),o.addEventListener("chargingchange",()=>r(o)),o.addEventListener("levelchange",()=>r(o)),o.addEventListener("chargingtimechange",()=>r(o)),o.addEventListener("dischargingtimechange",()=>r(o))}),t},w1e=e=>{const t=Pt(!Dd().hidden),r="visibilityState"in Dd(),o=()=>{t.value=!Dd().hidden,wwLib.wwVariable.updateValue(`${e}-pageVisibility`,t.value)};return Dd().addEventListener("visibilitychange",o),o(),{isVisible:t,supported:r}},dM=async e=>{const t=yt({acceleration:{x:-1,y:-1,z:-1},accelerationIncludingGravity:{x:-1,y:-1,z:-1},rotationRate:{alpha:-1,beta:-1,gamma:-1},interval:-1,supported:"DeviceMotionEvent"in Rm()}),r=o=>{t.acceleration=o.acceleration||t.acceleration,t.accelerationIncludingGravity=o.accelerationIncludingGravity||t.accelerationIncludingGravity,t.rotationRate=o.rotationRate||t.rotationRate,t.interval=o.interval||t.interval,wwLib.wwVariable.updateValue(`${e}-deviceMotion`,ht(t))};return t.supported&&(Rm().removeEventListener("devicemotion",r),Rm().addEventListener("devicemotion",r)),wwLib.wwVariable.updateValue(`${e}-deviceMotion`,ht(t)),t},M1e=e=>{let t=v1e.parse(navigator.userAgent);return wwLib.wwVariable.updateValue(`${e}-deviceInfo`,t),t},T1e={networkState:null,batteryState:null,pageVisibilityState:null,deviceMotionState:null,deviceInfoState:null,async onLoad(e){this.networkState=y1e(this.id),this.batteryState=S1e(this.id),this.pageVisibilityState=w1e(this.id),this.deviceMotionState=dM(this.id),this.deviceInfoState=M1e(this.id)},async geolocation(){return lq()},async share(e){return sq(e)},async vibrate(e){return dq(e)},async showNotification(e){return uq(e)},async requestDeviceMotionPermission(){return cq()},async listenDeviceMotion(){return await dM(this.id)},async installPwa(){if(wwLib.installPwaPrompt)try{await wwLib.installPwaPrompt.prompt()}catch{throw new Error("PWA installation failed")}else throw new Error("Install prompt not available")}};var $p,uM;function ll(){return uM||(uM=1,$p=TypeError),$p}const A1e={},L1e=Object.freeze(Object.defineProperty({__proto__:null,default:A1e},Symbol.toStringTag,{value:"Module"})),$1e=HT(L1e);var Pp,cM;function Vg(){if(cM)return Pp;cM=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,n=a&&i&&typeof i.get=="function"?i.get:null,s=a&&Set.prototype.forEach,d=typeof WeakMap=="function"&&WeakMap.prototype,c=d?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,f=m?WeakSet.prototype.has:null,b=typeof WeakRef=="function"&&WeakRef.prototype,g=b?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,w=Function.prototype.toString,M=String.prototype.match,A=String.prototype.slice,L=String.prototype.replace,C=String.prototype.toUpperCase,I=String.prototype.toLowerCase,F=RegExp.prototype.test,R=Array.prototype.concat,q=Array.prototype.join,W=Array.prototype.slice,K=Math.floor,N=typeof BigInt=="function"?BigInt.prototype.valueOf:null,V=Object.getOwnPropertySymbols,J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ee||!0)?Symbol.toStringTag:null,re=Object.prototype.propertyIsEnumerable,X=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(D){return D.__proto__}:null);function oe(D,j){if(D===1/0||D===-1/0||D!==D||D&&D>-1e3&&D<1e3||F.call(/e/,j))return j;var Xe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof D=="number"){var ze=D<0?-K(-D):K(D);if(ze!==D){var qe=String(ze),ke=A.call(j,qe.length+1);return L.call(qe,Xe,"$&_")+"."+L.call(L.call(ke,/([0-9]{3})/g,"$&_"),/_$/,"")}}return L.call(j,Xe,"$&_")}var ve=$1e,De=ve.custom,Oe=Y(De)?De:null,Ie={__proto__:null,double:'"',single:"'"},ot={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Pp=function D(j,Xe,ze,qe){var ke=Xe||{};if(le(ke,"quoteStyle")&&!le(Ie,ke.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(le(ke,"maxStringLength")&&(typeof ke.maxStringLength=="number"?ke.maxStringLength<0&&ke.maxStringLength!==1/0:ke.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Br=le(ke,"customInspect")?ke.customInspect:!0;if(typeof Br!="boolean"&&Br!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(le(ke,"indent")&&ke.indent!==null&&ke.indent!==" "&&!(parseInt(ke.indent,10)===ke.indent&&ke.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(le(ke,"numericSeparator")&&typeof ke.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var no=ke.numericSeparator;if(typeof j>"u")return"undefined";if(j===null)return"null";if(typeof j=="boolean")return j?"true":"false";if(typeof j=="string")return ft(j,ke);if(typeof j=="number"){if(j===0)return 1/0/j>0?"0":"-0";var sr=String(j);return no?oe(j,sr):sr}if(typeof j=="bigint"){var ge=String(j)+"n";return no?oe(j,ge):ge}var Me=typeof ke.depth>"u"?5:ke.depth;if(typeof ze>"u"&&(ze=0),ze>=Me&&Me>0&&typeof j=="object")return ne(j)?"[Array]":"[Object]";var Pe=B(ke,ze);if(typeof qe>"u")qe=[];else if(we(qe,j)>=0)return"[Circular]";function Ee(Lo,rn,Ha){if(rn&&(qe=W.call(qe),qe.push(rn)),Ha){var Ya={depth:ke.depth};return le(ke,"quoteStyle")&&(Ya.quoteStyle=ke.quoteStyle),D(Lo,Ya,ze+1,qe)}return D(Lo,ke,ze+1,qe)}if(typeof j=="function"&&!ce(j)){var Ze=Ae(j),mt=te(j,Ee);return"[Function"+(Ze?": "+Ze:" (anonymous)")+"]"+(mt.length>0?" { "+q.call(mt,", ")+" }":"")}if(Y(j)){var Ot=ee?L.call(String(j),/^(Symbol\(.*\))_[^)]*$/,"$1"):J.call(j);return typeof j=="object"&&!ee?Et(Ot):Ot}if(at(j)){for(var ao="<"+I.call(String(j.nodeName)),io=j.attributes||[],So=0;So",ao}if(ne(j)){if(j.length===0)return"[]";var jr=te(j,Ee);return Pe&&!S(jr)?"["+U(jr,Pe)+"]":"[ "+q.call(jr,", ")+" ]"}if(pe(j)){var wo=te(j,Ee);return!("cause"in Error.prototype)&&"cause"in j&&!re.call(j,"cause")?"{ ["+String(j)+"] "+q.call(R.call("[cause]: "+Ee(j.cause),wo),", ")+" }":wo.length===0?"["+String(j)+"]":"{ ["+String(j)+"] "+q.call(wo,", ")+" }"}if(typeof j=="object"&&Br){if(Oe&&typeof j[Oe]=="function"&&ve)return ve(j,{depth:Me-ze});if(Br!=="symbol"&&typeof j.inspect=="function")return j.inspect()}if(be(j)){var Va=[];return o&&o.call(j,function(Lo,rn){Va.push(Ee(rn,j,!0)+" => "+Ee(Lo,j))}),x("Map",r.call(j),Va,Pe)}if(Ge(j)){var tn=[];return s&&s.call(j,function(Lo){tn.push(Ee(Lo,j))}),x("Set",n.call(j),tn,Pe)}if(Fe(j))return $("WeakMap");if(Re(j))return $("WeakSet");if(Le(j))return $("WeakRef");if(O(j))return Et(Ee(Number(j)));if(ie(j))return Et(Ee(N.call(j)));if(k(j))return Et(h.call(j));if($e(j))return Et(Ee(String(j)));if(typeof window<"u"&&j===window)return"{ [object Window] }";if(typeof globalThis<"u"&&j===globalThis||typeof Hi<"u"&&j===Hi)return"{ [object globalThis] }";if(!_e(j)&&!ce(j)){var Jt=te(j,Ee),dr=X?X(j)===Object.prototype:j instanceof Object||j.constructor===Object,Kr=j instanceof Object?"":"null prototype",Mo=!dr&&Z&&Object(j)===j&&Z in j?A.call(Te(j),8,-1):Kr?"Object":"",To=dr||typeof j.constructor!="function"?"":j.constructor.name?j.constructor.name+" ":"",Ao=To+(Mo||Kr?"["+q.call(R.call([],Mo||[],Kr||[]),": ")+"] ":"");return Jt.length===0?Ao+"{}":Pe?Ao+"{"+U(Jt,Pe)+"}":Ao+"{ "+q.call(Jt,", ")+" }"}return String(j)};function je(D,j,Xe){var ze=Xe.quoteStyle||j,qe=Ie[ze];return qe+D+qe}function Ke(D){return L.call(String(D),/"/g,""")}function Ye(D){return!Z||!(typeof D=="object"&&(Z in D||typeof D[Z]<"u"))}function ne(D){return Te(D)==="[object Array]"&&Ye(D)}function _e(D){return Te(D)==="[object Date]"&&Ye(D)}function ce(D){return Te(D)==="[object RegExp]"&&Ye(D)}function pe(D){return Te(D)==="[object Error]"&&Ye(D)}function $e(D){return Te(D)==="[object String]"&&Ye(D)}function O(D){return Te(D)==="[object Number]"&&Ye(D)}function k(D){return Te(D)==="[object Boolean]"&&Ye(D)}function Y(D){if(ee)return D&&typeof D=="object"&&D instanceof Symbol;if(typeof D=="symbol")return!0;if(!D||typeof D!="object"||!J)return!1;try{return J.call(D),!0}catch{}return!1}function ie(D){if(!D||typeof D!="object"||!N)return!1;try{return N.call(D),!0}catch{}return!1}var me=Object.prototype.hasOwnProperty||function(D){return D in this};function le(D,j){return me.call(D,j)}function Te(D){return y.call(D)}function Ae(D){if(D.name)return D.name;var j=M.call(w.call(D),/^function\s*([\w$]+)/);return j?j[1]:null}function we(D,j){if(D.indexOf)return D.indexOf(j);for(var Xe=0,ze=D.length;Xej.maxStringLength){var Xe=D.length-j.maxStringLength,ze="... "+Xe+" more character"+(Xe>1?"s":"");return ft(A.call(D,0,j.maxStringLength),j)+ze}var qe=ot[j.quoteStyle||"single"];qe.lastIndex=0;var ke=L.call(L.call(D,qe,"\\$1"),/[\x00-\x1f]/g,et);return je(ke,"single",j)}function et(D){var j=D.charCodeAt(0),Xe={8:"b",9:"t",10:"n",12:"f",13:"r"}[j];return Xe?"\\"+Xe:"\\x"+(j<16?"0":"")+C.call(j.toString(16))}function Et(D){return"Object("+D+")"}function $(D){return D+" { ? }"}function x(D,j,Xe,ze){var qe=ze?U(Xe,ze):q.call(Xe,", ");return D+" ("+j+") {"+qe+"}"}function S(D){for(var j=0;j=0)return!1;return!0}function B(D,j){var Xe;if(D.indent===" ")Xe=" ";else if(typeof D.indent=="number"&&D.indent>0)Xe=q.call(Array(D.indent+1)," ");else return null;return{base:Xe,prev:q.call(Array(j+1),Xe)}}function U(D,j){if(D.length===0)return"";var Xe=` `+j.prev+j.base;return Xe+q.call(D,","+Xe)+` `+j.prev}function te(D,j){var Xe=ne(D),ze=[];if(Xe){ze.length=D.length;for(var qe=0;qe"u"||!R?e:R(Uint8Array),ee={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":F&&R?R([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":V,"%AsyncGenerator%":V,"%AsyncGeneratorFunction%":V,"%AsyncIteratorPrototype%":V,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":V,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":F&&R?R(R([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!F||!R?e:R(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!F||!R?e:R(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":F&&R?R(""[Symbol.iterator]()):e,"%Symbol%":F?Symbol:e,"%SyntaxError%":n,"%ThrowTypeError%":I,"%TypedArray%":J,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":K,"%Object.defineProperty%":L,"%Object.getPrototypeOf%":q,"%Math.abs%":c,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":b,"%Math.pow%":g,"%Math.round%":h,"%Math.sign%":y,"%Reflect.getPrototypeOf%":W};if(R)try{null.error}catch(ce){var Z=R(R(ce));ee["%Error.prototype%"]=Z}var re=function ce(pe){var $e;if(pe==="%AsyncFunction%")$e=M("async function () {}");else if(pe==="%GeneratorFunction%")$e=M("function* () {}");else if(pe==="%AsyncGeneratorFunction%")$e=M("async function* () {}");else if(pe==="%AsyncGenerator%"){var O=ce("%AsyncGeneratorFunction%");O&&($e=O.prototype)}else if(pe==="%AsyncIteratorPrototype%"){var k=ce("%AsyncGenerator%");k&&R&&($e=R(k.prototype))}return ee[pe]=$e,$e},X={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},oe=Hg(),ve=J1e(),De=oe.call(N,Array.prototype.concat),Oe=oe.call(K,Array.prototype.splice),Ie=oe.call(N,String.prototype.replace),ot=oe.call(N,String.prototype.slice),je=oe.call(N,RegExp.prototype.exec),Ke=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ye=/\\(\\)?/g,ne=function(pe){var $e=ot(pe,0,1),O=ot(pe,-1);if($e==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&$e!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var k=[];return Ie(pe,Ke,function(Y,ie,me,le){k[k.length]=me?Ie(le,Ye,"$1"):ie||Y}),k},_e=function(pe,$e){var O=pe,k;if(ve(X,O)&&(k=X[O],O="%"+k[0]+"%"),ve(ee,O)){var Y=ee[O];if(Y===V&&(Y=re(O)),typeof Y>"u"&&!$e)throw new s("intrinsic "+pe+" exists, but is not available. Please file an issue!");return{alias:k,name:O,value:Y}}throw new n("intrinsic "+pe+" does not exist!")};return d0=function(pe,$e){if(typeof pe!="string"||pe.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $e!="boolean")throw new s('"allowMissing" argument must be a boolean');if(je(/^%?[^%]*%?$/,pe)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=ne(pe),k=O.length>0?O[0]:"",Y=_e("%"+k+"%",$e),ie=Y.name,me=Y.value,le=!1,Te=Y.alias;Te&&(k=Te[0],Oe(O,De([0,1],Te)));for(var Ae=1,we=!0;Ae=O.length){var Ge=A(me,be);we=!!Ge,we&&"get"in Ge&&!("originalValue"in Ge.get)?me=Ge.get:me=me[be]}else we=ve(me,be),me=me[be];we&&!le&&(ee[ie]=me)}}return me},d0}var u0,WM;function tL(){if(WM)return u0;WM=1;var e=dh(),t=eL(),r=t([e("%String.prototype.indexOf%")]);return u0=function(a,i){var n=e(a,!!i);return typeof n=="function"&&r(a,".prototype.")>-1?t([n]):n},u0}var c0,jM;function rL(){if(jM)return c0;jM=1;var e=dh(),t=tL(),r=Vg(),o=ll(),a=e("%Map%",!0),i=t("Map.prototype.get",!0),n=t("Map.prototype.set",!0),s=t("Map.prototype.has",!0),d=t("Map.prototype.delete",!0),c=t("Map.prototype.size",!0);return c0=!!a&&function(){var f,b={assert:function(g){if(!b.has(g))throw new o("Side channel does not contain "+r(g))},delete:function(g){if(f){var h=d(f,g);return c(f)===0&&(f=void 0),h}return!1},get:function(g){if(f)return i(f,g)},has:function(g){return f?s(f,g):!1},set:function(g,h){f||(f=new a),n(f,g,h)}};return b},c0}var m0,KM;function e_e(){if(KM)return m0;KM=1;var e=dh(),t=tL(),r=Vg(),o=rL(),a=ll(),i=e("%WeakMap%",!0),n=t("WeakMap.prototype.get",!0),s=t("WeakMap.prototype.set",!0),d=t("WeakMap.prototype.has",!0),c=t("WeakMap.prototype.delete",!0);return m0=i?function(){var f,b,g={assert:function(h){if(!g.has(h))throw new a("Side channel does not contain "+r(h))},delete:function(h){if(i&&h&&(typeof h=="object"||typeof h=="function")){if(f)return c(f,h)}else if(o&&b)return b.delete(h);return!1},get:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?n(f,h):b&&b.get(h)},has:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?d(f,h):!!b&&b.has(h)},set:function(h,y){i&&h&&(typeof h=="object"||typeof h=="function")?(f||(f=new i),s(f,h,y)):o&&(b||(b=o()),b.set(h,y))}};return g}:o,m0}var g0,zM;function t_e(){if(zM)return g0;zM=1;var e=ll(),t=Vg(),r=P1e(),o=rL(),a=e_e(),i=a||o||r;return g0=function(){var s,d={assert:function(c){if(!d.has(c))throw new e("Side channel does not contain "+t(c))},delete:function(c){return!!s&&s.delete(c)},get:function(c){return s&&s.get(c)},has:function(c){return!!s&&s.has(c)},set:function(c,m){s||(s=i()),s.set(c,m)}};return d},g0}var f0,qM;function uh(){if(qM)return f0;qM=1;var e=String.prototype.replace,t=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return f0={default:r.RFC3986,formatters:{RFC1738:function(o){return e.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},f0}var p0,ZM;function oL(){if(ZM)return p0;ZM=1;var e=uh(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o=(function(){for(var w=[],M=0;M<256;++M)w.push("%"+((M<16?"0":"")+M.toString(16)).toUpperCase());return w})(),a=function(M){for(;M.length>1;){var A=M.pop(),L=A.obj[A.prop];if(r(L)){for(var C=[],I=0;I=c?F.slice(q,q+c):F,K=[],N=0;N=48&&V<=57||V>=65&&V<=90||V>=97&&V<=122||I===e.RFC1738&&(V===40||V===41)){K[K.length]=W.charAt(N);continue}if(V<128){K[K.length]=o[V];continue}if(V<2048){K[K.length]=o[192|V>>6]+o[128|V&63];continue}if(V<55296||V>=57344){K[K.length]=o[224|V>>12]+o[128|V>>6&63]+o[128|V&63];continue}N+=1,V=65536+((V&1023)<<10|W.charCodeAt(N)&1023),K[K.length]=o[240|V>>18]+o[128|V>>12&63]+o[128|V>>6&63]+o[128|V&63]}R+=K.join("")}return R},f=function(M){for(var A=[{obj:{o:M},prop:"o"}],L=[],C=0;C"u"&&(De=0)}if(typeof W=="function"?oe=W(M,oe):oe instanceof Date?oe=V(oe):A==="comma"&&i(oe)&&(oe=t.maybeMap(oe,function(ie){return ie instanceof Date?V(ie):ie})),oe===null){if(I)return q&&!Z?q(M,m.encoder,re,"key",J):M;oe=""}if(f(oe)||t.isBuffer(oe)){if(q){var ot=Z?M:q(M,m.encoder,re,"key",J);return[ee(ot)+"="+ee(q(oe,m.encoder,re,"value",J))]}return[ee(M)+"="+ee(String(oe))]}var je=[];if(typeof oe>"u")return je;var Ke;if(A==="comma"&&i(oe))Z&&q&&(oe=t.maybeMap(oe,q)),Ke=[{value:oe.length>0?oe.join(",")||null:void 0}];else if(i(W))Ke=W;else{var Ye=Object.keys(oe);Ke=K?Ye.sort(K):Ye}var ne=R?String(M).replace(/\./g,"%2E"):String(M),_e=L&&i(oe)&&oe.length===1?ne+"[]":ne;if(C&&i(oe)&&oe.length===0)return _e+"[]";for(var ce=0;ce"u"?w.encodeDotInKeys===!0?!0:m.allowDots:!!w.allowDots;return{addQueryPrefix:typeof w.addQueryPrefix=="boolean"?w.addQueryPrefix:m.addQueryPrefix,allowDots:F,allowEmptyArrays:typeof w.allowEmptyArrays=="boolean"?!!w.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:I,charset:M,charsetSentinel:typeof w.charsetSentinel=="boolean"?w.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!w.commaRoundTrip,delimiter:typeof w.delimiter>"u"?m.delimiter:w.delimiter,encode:typeof w.encode=="boolean"?w.encode:m.encode,encodeDotInKeys:typeof w.encodeDotInKeys=="boolean"?w.encodeDotInKeys:m.encodeDotInKeys,encoder:typeof w.encoder=="function"?w.encoder:m.encoder,encodeValuesOnly:typeof w.encodeValuesOnly=="boolean"?w.encodeValuesOnly:m.encodeValuesOnly,filter:C,format:A,formatter:L,serializeDate:typeof w.serializeDate=="function"?w.serializeDate:m.serializeDate,skipNulls:typeof w.skipNulls=="boolean"?w.skipNulls:m.skipNulls,sort:typeof w.sort=="function"?w.sort:null,strictNullHandling:typeof w.strictNullHandling=="boolean"?w.strictNullHandling:m.strictNullHandling}};return b0=function(y,w){var M=y,A=h(w),L,C;typeof A.filter=="function"?(C=A.filter,M=C("",M)):i(A.filter)&&(C=A.filter,L=C);var I=[];if(typeof M!="object"||M===null)return"";var F=a[A.arrayFormat],R=F==="comma"&&A.commaRoundTrip;L||(L=Object.keys(M)),A.sort&&L.sort(A.sort);for(var q=e(),W=0;W0?J+V:""},b0}var h0,JM;function o_e(){if(JM)return h0;JM=1;var e=oL(),t=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(b){return b.replace(/&#(\d+);/g,function(g,h){return String.fromCharCode(parseInt(h,10))})},i=function(b,g,h){if(b&&typeof b=="string"&&g.comma&&b.indexOf(",")>-1)return b.split(",");if(g.throwOnLimitExceeded&&h>=g.arrayLimit)throw new RangeError("Array limit exceeded. Only "+g.arrayLimit+" element"+(g.arrayLimit===1?"":"s")+" allowed in an array.");return b},n="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",d=function(g,h){var y={__proto__:null},w=h.ignoreQueryPrefix?g.replace(/^\?/,""):g;w=w.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var M=h.parameterLimit===1/0?void 0:h.parameterLimit,A=w.split(h.delimiter,h.throwOnLimitExceeded?M+1:M);if(h.throwOnLimitExceeded&&A.length>M)throw new RangeError("Parameter limit exceeded. Only "+M+" parameter"+(M===1?"":"s")+" allowed.");var L=-1,C,I=h.charset;if(h.charsetSentinel)for(C=0;C-1&&(K=r(K)?[K]:K);var N=t.call(y,W);N&&h.duplicates==="combine"?y[W]=e.combine(y[W],K):(!N||h.duplicates==="last")&&(y[W]=K)}return y},c=function(b,g,h,y){var w=0;if(b.length>0&&b[b.length-1]==="[]"){var M=b.slice(0,-1).join("");w=Array.isArray(g)&&g[M]?g[M].length:0}for(var A=y?g:i(g,h,w),L=b.length-1;L>=0;--L){var C,I=b[L];if(I==="[]"&&h.parseArrays)C=h.allowEmptyArrays&&(A===""||h.strictNullHandling&&A===null)?[]:e.combine([],A);else{C=h.plainObjects?{__proto__:null}:{};var F=I.charAt(0)==="["&&I.charAt(I.length-1)==="]"?I.slice(1,-1):I,R=h.decodeDotInKeys?F.replace(/%2E/g,"."):F,q=parseInt(R,10);!h.parseArrays&&R===""?C={0:A}:!isNaN(q)&&I!==R&&String(q)===R&&q>=0&&h.parseArrays&&q<=h.arrayLimit?(C=[],C[q]=A):R!=="__proto__"&&(C[R]=A)}A=C}return A},m=function(g,h,y,w){if(g){var M=y.allowDots?g.replace(/\.([^.[]+)/g,"[$1]"):g,A=/(\[[^[\]]*])/,L=/(\[[^[\]]*])/g,C=y.depth>0&&A.exec(M),I=C?M.slice(0,C.index):M,F=[];if(I){if(!y.plainObjects&&t.call(Object.prototype,I)&&!y.allowPrototypes)return;F.push(I)}for(var R=0;y.depth>0&&(C=L.exec(M))!==null&&R"u"?o.charset:g.charset,y=typeof g.duplicates>"u"?o.duplicates:g.duplicates;if(y!=="combine"&&y!=="first"&&y!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var w=typeof g.allowDots>"u"?g.decodeDotInKeys===!0?!0:o.allowDots:!!g.allowDots;return{allowDots:w,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof g.allowPrototypes=="boolean"?g.allowPrototypes:o.allowPrototypes,allowSparse:typeof g.allowSparse=="boolean"?g.allowSparse:o.allowSparse,arrayLimit:typeof g.arrayLimit=="number"?g.arrayLimit:o.arrayLimit,charset:h,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:o.charsetSentinel,comma:typeof g.comma=="boolean"?g.comma:o.comma,decodeDotInKeys:typeof g.decodeDotInKeys=="boolean"?g.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof g.decoder=="function"?g.decoder:o.decoder,delimiter:typeof g.delimiter=="string"||e.isRegExp(g.delimiter)?g.delimiter:o.delimiter,depth:typeof g.depth=="number"||g.depth===!1?+g.depth:o.depth,duplicates:y,ignoreQueryPrefix:g.ignoreQueryPrefix===!0,interpretNumericEntities:typeof g.interpretNumericEntities=="boolean"?g.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof g.parameterLimit=="number"?g.parameterLimit:o.parameterLimit,parseArrays:g.parseArrays!==!1,plainObjects:typeof g.plainObjects=="boolean"?g.plainObjects:o.plainObjects,strictDepth:typeof g.strictDepth=="boolean"?!!g.strictDepth:o.strictDepth,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof g.throwOnLimitExceeded=="boolean"?g.throwOnLimitExceeded:!1}};return h0=function(b,g){var h=f(g);if(b===""||b===null||typeof b>"u")return h.plainObjects?{__proto__:null}:{};for(var y=typeof b=="string"?d(b,h):b,w=h.plainObjects?{__proto__:null}:{},M=Object.keys(y),A=0;A=0;){let b=i.slice(0,f).trim();if(i=i.slice(f+1),!!b)if(b.startsWith("data:")){const g=b.substring(5).trim();if(g==="[DONE]"){n=!1,r==null||r.log("info","[REST API Stream] Received [DONE] in data: line.");break}if(g)try{const h=JSON.parse(g),y=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...y,h])}catch(h){r==null||r.log("warn",`[REST API Stream] Non-JSON data in data: line: ${g}`,{parseError:h});const y=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...y,g])}}else if(b==="[DONE]"){n=!1,r==null||r.log("info","[REST API Stream] Received [DONE] on its own line.");break}else if(b.startsWith("id:")||b.startsWith("event:")||b.startsWith("retry:")||b.startsWith(":"))r==null||r.log("debug",`[REST API Stream] Ignoring SSE metadata line: ${b}`);else try{const g=JSON.parse(b),h=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...h,g])}catch(g){r==null||r.log("debug",`[REST API Stream] Adding raw line as non-JSON: ${b}`,{parseError:g});const h=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...h,b])}}if(!n)break}const s=i.trim();if(s)if(s.startsWith("data:")){const d=s.substring(5).trim();if(d&&d!=="[DONE]")try{const c=JSON.parse(d),m=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...m,c])}catch(c){r==null||r.log("warn",`[REST API Stream] Failed to parse JSON from final buffer data: line: ${d}`,{e:c});const m=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...m,d])}else d==="[DONE]"&&(r==null||r.log("info","[REST API Stream] Received [DONE] in final buffer data: line."))}else if(s==="[DONE]")r==null||r.log("info","[REST API Stream] Received [DONE] as final buffer content.");else if(s.startsWith("id:")||s.startsWith("event:")||s.startsWith("retry:")||s.startsWith(":"))r==null||r.log("debug",`[REST API Stream] Ignoring SSE metadata in final buffer: ${s}`);else try{const d=JSON.parse(s),c=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...c,d])}catch(d){r==null||r.log("debug",`[REST API Stream] Adding raw final buffer as non-JSON: ${s}`,{e:d});const c=wwLib.wwVariable.getValue(t)||[];wwLib.wwVariable.updateValue(t,[...c,s])}return wwLib.wwVariable.getValue(t)}const s_e={async _fetchCollection(e){if(e.mode==="dynamic"&&!e.config.isThroughServer)try{const{url:t,method:r,data:o,headers:a,queries:i,resultKey:n,dataType:s,useRawBody:d,isWithCredentials:c}=e.config,m=await this._apiRequest(t,r,o,a,i,s,d,c);return{data:_.get(m,n,m),error:null}}catch(t){return{error:Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:t[o]}),{})}}else return{data:null,error:null}},async apiRequest({url:e,method:t,data:r,headers:o,queries:a,dataType:i,isThroughServer:n,useRawBody:s=!1,isWithCredentials:d=!1,useStreaming:c=!1,streamVariableId:m=null},f){if(c){if(n)throw new Error("Streaming is not supported with server-side requests.");return await this._streamApiRequest(e,t,r,o,a,i,s,d,m,f)}else if(n){const b=wwLib.wwWebsiteData.getInfo().id,g=wwLib.wwApiRequests._getPluginsUrl();return await axios.post(`${g}/designs/${b}/rest-api/request`,{url:e,method:t,data:r,queries:a,headers:o,dataType:i,useRawBody:s})}else return await this._apiRequest(e,t,r,o,a,i,s,d)},async _apiRequest(e,t,r,o,a,i,n,s){const d=t2(t,r,o,a,i,n);return(await axios({url:e,method:t,data:d.data,params:d.params,headers:d.headers,withCredentials:s})).data},async _streamApiRequest(e,t,r,o,a,i,n,s,d,c){try{wwLib.wwVariable.updateValue(d,[]);const m=t2(t,r,o,a,i,n,c),f={...m.headers,Accept:"text/event-stream"},b=await fetch(e,{method:t,headers:f,body:["GET","HEAD"].includes(t)?void 0:m.data,credentials:s?"include":"same-origin"});if(!b.ok){const g=await b.text();throw new Error(`HTTP error ${b.status}: ${g}`)}return await l_e(b,d,c)}catch(m){throw c==null||c.log("error","[REST API Stream] Error",{type:"error",preview:{message:m.message,stack:m.stack}}),m}}};function t2(e,t,r,o,a,i,n){try{let s=t;if(!i)switch(s=_0(t,"data",n),a){case"application/x-www-form-urlencoded":{s=i_e.stringify(s);break}case"multipart/form-data":{const m=new FormData;for(const f in s)m.append(f,s[f]);s=m;break}default:break}switch(e){case"OPTIONS":case"GET":case"DELETE":default:break}const d=_0(o,"params",n),c={"content-type":a||"application/json",..._0(r,"headers",n)};return{data:s,params:d,headers:c}}catch(s){throw n==null||n.log("error","[REST API] Error in computePayload",{type:"error",preview:{error:s.message,stack:s.stack}}),s}}function _0(e,t,r){try{return e?Array.isArray(e)?(e||[]).reduce((a,i)=>!i||typeof i!="object"||!("key"in i)?(r==null||r.log("warn","[REST API] computeList skipping invalid item",{type:"warn",preview:i}),a):{...a,[i.key]:i.value},{}):(r==null||r.log("warn",`[REST API] computeList expected array but got ${typeof e}`,{type:"warn",preview:e}),{}):{}}catch(o){throw r==null||r.log("error",`[REST API] Error in computeList for ${t}`,{type:"error",preview:{error:o.message,stack:o.stack,list:typeof e>"u"?"undefined":e===null?"null":e}}),new Error(`Failed to process ${t}: ${o.message}`)}}const d_e=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...r)=>$t(async()=>{const{default:o}=await Promise.resolve().then(()=>sl);return{default:o}},void 0).then(({default:o})=>o(...r)):t=fetch,(...r)=>t(...r)};class ch extends Error{constructor(t,r="FunctionsError",o){super(t),this.name=r,this.context=o}}class nL extends ch{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class fb extends ch{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class pb extends ch{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var bb;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(bb||(bb={}));var u_e=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};class c_e{constructor(t,{headers:r={},customFetch:o,region:a=bb.Any}={}){this.url=t,this.headers=r,this.region=a,this.fetch=d_e(o)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,r={}){var o;return u_e(this,void 0,void 0,function*(){try{const{headers:a,method:i,body:n}=r;let s={},{region:d}=r;d||(d=this.region);const c=new URL(`${this.url}/${t}`);d&&d!=="any"&&(s["x-region"]=d,c.searchParams.set("forceFunctionRegion",d));let m;n&&(a&&!Object.prototype.hasOwnProperty.call(a,"Content-Type")||!a)&&(typeof Blob<"u"&&n instanceof Blob||n instanceof ArrayBuffer?(s["Content-Type"]="application/octet-stream",m=n):typeof n=="string"?(s["Content-Type"]="text/plain",m=n):typeof FormData<"u"&&n instanceof FormData?m=n:(s["Content-Type"]="application/json",m=JSON.stringify(n)));const f=yield this.fetch(c.toString(),{method:i||"POST",headers:Object.assign(Object.assign(Object.assign({},s),this.headers),a),body:m}).catch(y=>{throw new nL(y)}),b=f.headers.get("x-relay-error");if(b&&b==="true")throw new fb(f);if(!f.ok)throw new pb(f);let g=((o=f.headers.get("Content-Type"))!==null&&o!==void 0?o:"text/plain").split(";")[0].trim(),h;return g==="application/json"?h=yield f.json():g==="application/octet-stream"?h=yield f.blob():g==="text/event-stream"?h=f:g==="multipart/form-data"?h=yield f.formData():h=yield f.text(),{data:h,error:null,response:f}}catch(a){return{data:null,error:a,response:a instanceof pb||a instanceof fb?a.context:void 0}}})}}var mr={},$i={},Pi={},Ci={},Ei={},Oi={},m_e=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof yn<"u")return yn;throw new Error("unable to locate global object")},tl=m_e();const g_e=tl.fetch,aL=tl.fetch.bind(tl),iL=tl.Headers,f_e=tl.Request,p_e=tl.Response,sl=Object.freeze(Object.defineProperty({__proto__:null,Headers:iL,Request:f_e,Response:p_e,default:aL,fetch:g_e},Symbol.toStringTag,{value:"Module"})),b_e=HT(sl);var kd={},r2;function lL(){if(r2)return kd;r2=1,Object.defineProperty(kd,"__esModule",{value:!0});class e extends Error{constructor(r){super(r.message),this.name="PostgrestError",this.details=r.details,this.hint=r.hint,this.code=r.code}}return kd.default=e,kd}var o2;function sL(){if(o2)return Oi;o2=1;var e=Oi&&Oi.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(Oi,"__esModule",{value:!0});const t=e(b_e),r=e(lL());class o{constructor(i){this.shouldThrowOnError=!1,this.method=i.method,this.url=i.url,this.headers=i.headers,this.schema=i.schema,this.body=i.body,this.shouldThrowOnError=i.shouldThrowOnError,this.signal=i.signal,this.isMaybeSingle=i.isMaybeSingle,i.fetch?this.fetch=i.fetch:typeof fetch>"u"?this.fetch=t.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(i,n){return this.headers=Object.assign({},this.headers),this.headers[i]=n,this}then(i,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const s=this.fetch;let d=s(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async c=>{var m,f,b;let g=null,h=null,y=null,w=c.status,M=c.statusText;if(c.ok){if(this.method!=="HEAD"){const I=await c.text();I===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?h=I:h=JSON.parse(I))}const L=(m=this.headers.Prefer)===null||m===void 0?void 0:m.match(/count=(exact|planned|estimated)/),C=(f=c.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");L&&C&&C.length>1&&(y=parseInt(C[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(h)&&(h.length>1?(g={code:"PGRST116",details:`Results contain ${h.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},h=null,y=null,w=406,M="Not Acceptable"):h.length===1?h=h[0]:h=null)}else{const L=await c.text();try{g=JSON.parse(L),Array.isArray(g)&&c.status===404&&(h=[],g=null,w=200,M="OK")}catch{c.status===404&&L===""?(w=204,M="No Content"):g={message:L}}if(g&&this.isMaybeSingle&&(!((b=g==null?void 0:g.details)===null||b===void 0)&&b.includes("0 rows"))&&(g=null,w=200,M="OK"),g&&this.shouldThrowOnError)throw new r.default(g)}return{error:g,data:h,count:y,status:w,statusText:M}});return this.shouldThrowOnError||(d=d.catch(c=>{var m,f,b;return{error:{message:`${(m=c==null?void 0:c.name)!==null&&m!==void 0?m:"FetchError"}: ${c==null?void 0:c.message}`,details:`${(f=c==null?void 0:c.stack)!==null&&f!==void 0?f:""}`,hint:"",code:`${(b=c==null?void 0:c.code)!==null&&b!==void 0?b:""}`},data:null,count:null,status:0,statusText:""}})),d.then(i,n)}returns(){return this}overrideTypes(){return this}}return Oi.default=o,Oi}var n2;function dL(){if(n2)return Ei;n2=1;var e=Ei&&Ei.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ei,"__esModule",{value:!0});const t=e(sL());class r extends t.default{select(a){let i=!1;const n=(a??"*").split("").map(s=>/\s/.test(s)&&!i?"":(s==='"'&&(i=!i),s)).join("");return this.url.searchParams.set("select",n),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(a,{ascending:i=!0,nullsFirst:n,foreignTable:s,referencedTable:d=s}={}){const c=d?`${d}.order`:"order",m=this.url.searchParams.get(c);return this.url.searchParams.set(c,`${m?`${m},`:""}${a}.${i?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(a,{foreignTable:i,referencedTable:n=i}={}){const s=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(s,`${a}`),this}range(a,i,{foreignTable:n,referencedTable:s=n}={}){const d=typeof s>"u"?"offset":`${s}.offset`,c=typeof s>"u"?"limit":`${s}.limit`;return this.url.searchParams.set(d,`${a}`),this.url.searchParams.set(c,`${i-a+1}`),this}abortSignal(a){return this.signal=a,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:a=!1,verbose:i=!1,settings:n=!1,buffers:s=!1,wal:d=!1,format:c="text"}={}){var m;const f=[a?"analyze":null,i?"verbose":null,n?"settings":null,s?"buffers":null,d?"wal":null].filter(Boolean).join("|"),b=(m=this.headers.Accept)!==null&&m!==void 0?m:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${c}; for="${b}"; options=${f};`,c==="json"?this:this}rollback(){var a;return((a=this.headers.Prefer)!==null&&a!==void 0?a:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}return Ei.default=r,Ei}var a2;function mh(){if(a2)return Ci;a2=1;var e=Ci&&Ci.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ci,"__esModule",{value:!0});const t=e(dL());class r extends t.default{eq(a,i){return this.url.searchParams.append(a,`eq.${i}`),this}neq(a,i){return this.url.searchParams.append(a,`neq.${i}`),this}gt(a,i){return this.url.searchParams.append(a,`gt.${i}`),this}gte(a,i){return this.url.searchParams.append(a,`gte.${i}`),this}lt(a,i){return this.url.searchParams.append(a,`lt.${i}`),this}lte(a,i){return this.url.searchParams.append(a,`lte.${i}`),this}like(a,i){return this.url.searchParams.append(a,`like.${i}`),this}likeAllOf(a,i){return this.url.searchParams.append(a,`like(all).{${i.join(",")}}`),this}likeAnyOf(a,i){return this.url.searchParams.append(a,`like(any).{${i.join(",")}}`),this}ilike(a,i){return this.url.searchParams.append(a,`ilike.${i}`),this}ilikeAllOf(a,i){return this.url.searchParams.append(a,`ilike(all).{${i.join(",")}}`),this}ilikeAnyOf(a,i){return this.url.searchParams.append(a,`ilike(any).{${i.join(",")}}`),this}is(a,i){return this.url.searchParams.append(a,`is.${i}`),this}in(a,i){const n=Array.from(new Set(i)).map(s=>typeof s=="string"&&new RegExp("[,()]").test(s)?`"${s}"`:`${s}`).join(",");return this.url.searchParams.append(a,`in.(${n})`),this}contains(a,i){return typeof i=="string"?this.url.searchParams.append(a,`cs.${i}`):Array.isArray(i)?this.url.searchParams.append(a,`cs.{${i.join(",")}}`):this.url.searchParams.append(a,`cs.${JSON.stringify(i)}`),this}containedBy(a,i){return typeof i=="string"?this.url.searchParams.append(a,`cd.${i}`):Array.isArray(i)?this.url.searchParams.append(a,`cd.{${i.join(",")}}`):this.url.searchParams.append(a,`cd.${JSON.stringify(i)}`),this}rangeGt(a,i){return this.url.searchParams.append(a,`sr.${i}`),this}rangeGte(a,i){return this.url.searchParams.append(a,`nxl.${i}`),this}rangeLt(a,i){return this.url.searchParams.append(a,`sl.${i}`),this}rangeLte(a,i){return this.url.searchParams.append(a,`nxr.${i}`),this}rangeAdjacent(a,i){return this.url.searchParams.append(a,`adj.${i}`),this}overlaps(a,i){return typeof i=="string"?this.url.searchParams.append(a,`ov.${i}`):this.url.searchParams.append(a,`ov.{${i.join(",")}}`),this}textSearch(a,i,{config:n,type:s}={}){let d="";s==="plain"?d="pl":s==="phrase"?d="ph":s==="websearch"&&(d="w");const c=n===void 0?"":`(${n})`;return this.url.searchParams.append(a,`${d}fts${c}.${i}`),this}match(a){return Object.entries(a).forEach(([i,n])=>{this.url.searchParams.append(i,`eq.${n}`)}),this}not(a,i,n){return this.url.searchParams.append(a,`not.${i}.${n}`),this}or(a,{foreignTable:i,referencedTable:n=i}={}){const s=n?`${n}.or`:"or";return this.url.searchParams.append(s,`(${a})`),this}filter(a,i,n){return this.url.searchParams.append(a,`${i}.${n}`),this}}return Ci.default=r,Ci}var i2;function uL(){if(i2)return Pi;i2=1;var e=Pi&&Pi.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Pi,"__esModule",{value:!0});const t=e(mh());class r{constructor(a,{headers:i={},schema:n,fetch:s}){this.url=a,this.headers=i,this.schema=n,this.fetch=s}select(a,{head:i=!1,count:n}={}){const s=i?"HEAD":"GET";let d=!1;const c=(a??"*").split("").map(m=>/\s/.test(m)&&!d?"":(m==='"'&&(d=!d),m)).join("");return this.url.searchParams.set("select",c),n&&(this.headers.Prefer=`count=${n}`),new t.default({method:s,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(a,{count:i,defaultToNull:n=!0}={}){const s="POST",d=[];if(this.headers.Prefer&&d.push(this.headers.Prefer),i&&d.push(`count=${i}`),n||d.push("missing=default"),this.headers.Prefer=d.join(","),Array.isArray(a)){const c=a.reduce((m,f)=>m.concat(Object.keys(f)),[]);if(c.length>0){const m=[...new Set(c)].map(f=>`"${f}"`);this.url.searchParams.set("columns",m.join(","))}}return new t.default({method:s,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:this.fetch,allowEmpty:!1})}upsert(a,{onConflict:i,ignoreDuplicates:n=!1,count:s,defaultToNull:d=!0}={}){const c="POST",m=[`resolution=${n?"ignore":"merge"}-duplicates`];if(i!==void 0&&this.url.searchParams.set("on_conflict",i),this.headers.Prefer&&m.push(this.headers.Prefer),s&&m.push(`count=${s}`),d||m.push("missing=default"),this.headers.Prefer=m.join(","),Array.isArray(a)){const f=a.reduce((b,g)=>b.concat(Object.keys(g)),[]);if(f.length>0){const b=[...new Set(f)].map(g=>`"${g}"`);this.url.searchParams.set("columns",b.join(","))}}return new t.default({method:c,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:this.fetch,allowEmpty:!1})}update(a,{count:i}={}){const n="PATCH",s=[];return this.headers.Prefer&&s.push(this.headers.Prefer),i&&s.push(`count=${i}`),this.headers.Prefer=s.join(","),new t.default({method:n,url:this.url,headers:this.headers,schema:this.schema,body:a,fetch:this.fetch,allowEmpty:!1})}delete({count:a}={}){const i="DELETE",n=[];return a&&n.push(`count=${a}`),this.headers.Prefer&&n.unshift(this.headers.Prefer),this.headers.Prefer=n.join(","),new t.default({method:i,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}return Pi.default=r,Pi}var Gl={},Nl={},l2;function h_e(){return l2||(l2=1,Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.version=void 0,Nl.version="0.0.0-automated"),Nl}var s2;function x_e(){if(s2)return Gl;s2=1,Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.DEFAULT_HEADERS=void 0;const e=h_e();return Gl.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${e.version}`},Gl}var d2;function __e(){if(d2)return $i;d2=1;var e=$i&&$i.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty($i,"__esModule",{value:!0});const t=e(uL()),r=e(mh()),o=x_e();class a{constructor(n,{headers:s={},schema:d,fetch:c}={}){this.url=n,this.headers=Object.assign(Object.assign({},o.DEFAULT_HEADERS),s),this.schemaName=d,this.fetch=c}from(n){const s=new URL(`${this.url}/${n}`);return new t.default(s,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(n){return new a(this.url,{headers:this.headers,schema:n,fetch:this.fetch})}rpc(n,s={},{head:d=!1,get:c=!1,count:m}={}){let f;const b=new URL(`${this.url}/rpc/${n}`);let g;d||c?(f=d?"HEAD":"GET",Object.entries(s).filter(([y,w])=>w!==void 0).map(([y,w])=>[y,Array.isArray(w)?`{${w.join(",")}}`:`${w}`]).forEach(([y,w])=>{b.searchParams.append(y,w)})):(f="POST",g=s);const h=Object.assign({},this.headers);return m&&(h.Prefer=`count=${m}`),new r.default({method:f,url:b,headers:h,schema:this.schemaName,body:g,fetch:this.fetch,allowEmpty:!1})}}return $i.default=a,$i}var u2;function v_e(){if(u2)return mr;u2=1;var e=mr&&mr.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(mr,"__esModule",{value:!0}),mr.PostgrestError=mr.PostgrestBuilder=mr.PostgrestTransformBuilder=mr.PostgrestFilterBuilder=mr.PostgrestQueryBuilder=mr.PostgrestClient=void 0;const t=e(__e());mr.PostgrestClient=t.default;const r=e(uL());mr.PostgrestQueryBuilder=r.default;const o=e(mh());mr.PostgrestFilterBuilder=o.default;const a=e(dL());mr.PostgrestTransformBuilder=a.default;const i=e(sL());mr.PostgrestBuilder=i.default;const n=e(lL());return mr.PostgrestError=n.default,mr.default={PostgrestClient:t.default,PostgrestQueryBuilder:r.default,PostgrestFilterBuilder:o.default,PostgrestTransformBuilder:a.default,PostgrestBuilder:i.default,PostgrestError:n.default},mr}var y_e=v_e();const S_e=ae(y_e),{PostgrestClient:w_e,PostgrestQueryBuilder:ZSe,PostgrestFilterBuilder:QSe,PostgrestTransformBuilder:JSe,PostgrestBuilder:ewe,PostgrestError:twe}=S_e;function M_e(){if(typeof WebSocket<"u")return WebSocket;if(typeof yn.WebSocket<"u")return yn.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const T_e=M_e(),A_e="2.11.15",L_e=`realtime-js/${A_e}`,$_e="1.0.0",cL=1e4,P_e=1e3;var rs;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(rs||(rs={}));var yr;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(yr||(yr={}));var Io;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(Io||(Io={}));var hb;(function(e){e.websocket="websocket"})(hb||(hb={}));var Ma;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Ma||(Ma={}));class C_e{constructor(){this.HEADER_LENGTH=1}decode(t,r){return t.constructor===ArrayBuffer?r(this._binaryDecode(t)):r(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const r=new DataView(t),o=new TextDecoder;return this._decodeBroadcast(t,r,o)}_decodeBroadcast(t,r,o){const a=r.getUint8(1),i=r.getUint8(2);let n=this.HEADER_LENGTH+2;const s=o.decode(t.slice(n,n+a));n=n+a;const d=o.decode(t.slice(n,n+i));n=n+i;const c=JSON.parse(o.decode(t.slice(n,t.byteLength)));return{ref:null,topic:s,event:d,payload:c}}}class mL{constructor(t,r){this.callback=t,this.timerCalc=r,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=r}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var Gt;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(Gt||(Gt={}));const c2=(e,t,r={})=>{var o;const a=(o=r.skipTypes)!==null&&o!==void 0?o:[];return Object.keys(t).reduce((i,n)=>(i[n]=E_e(n,e,t,a),i),{})},E_e=(e,t,r,o)=>{const a=t.find(s=>s.name===e),i=a==null?void 0:a.type,n=r[e];return i&&!o.includes(i)?gL(i,n):xb(n)},gL=(e,t)=>{if(e.charAt(0)==="_"){const r=e.slice(1,e.length);return D_e(t,r)}switch(e){case Gt.bool:return O_e(t);case Gt.float4:case Gt.float8:case Gt.int2:case Gt.int4:case Gt.int8:case Gt.numeric:case Gt.oid:return I_e(t);case Gt.json:case Gt.jsonb:return B_e(t);case Gt.timestamp:return k_e(t);case Gt.abstime:case Gt.date:case Gt.daterange:case Gt.int4range:case Gt.int8range:case Gt.money:case Gt.reltime:case Gt.text:case Gt.time:case Gt.timestamptz:case Gt.timetz:case Gt.tsrange:case Gt.tstzrange:return xb(t);default:return xb(t)}},xb=e=>e,O_e=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},I_e=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},B_e=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},D_e=(e,t)=>{if(typeof e!="string")return e;const r=e.length-1,o=e[r];if(e[0]==="{"&&o==="}"){let i;const n=e.slice(1,r);try{i=JSON.parse("["+n+"]")}catch{i=n?n.split(","):[]}return i.map(s=>gL(t,s))}return e},k_e=e=>typeof e=="string"?e.replace(" ","T"):e,fL=e=>{let t=e;return t=t.replace(/^ws/i,"http"),t=t.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),t.replace(/\/+$/,"")};class v0{constructor(t,r,o={},a=cL){this.channel=t,this.event=r,this.payload=o,this.timeout=a,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,r){var o;return this._hasReceived(t)&&r((o=this.receivedResp)===null||o===void 0?void 0:o.response),this.recHooks.push({status:t,callback:r}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=r=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=r,this._matchReceive(r)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,r){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:r})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:r}){this.recHooks.filter(o=>o.status===t).forEach(o=>o.callback(r))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var m2;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(m2||(m2={}));class os{constructor(t,r){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const o=(r==null?void 0:r.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(o.state,{},a=>{const{onJoin:i,onLeave:n,onSync:s}=this.caller;this.joinRef=this.channel._joinRef(),this.state=os.syncState(this.state,a,i,n),this.pendingDiffs.forEach(d=>{this.state=os.syncDiff(this.state,d,i,n)}),this.pendingDiffs=[],s()}),this.channel._on(o.diff,{},a=>{const{onJoin:i,onLeave:n,onSync:s}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(a):(this.state=os.syncDiff(this.state,a,i,n),s())}),this.onJoin((a,i,n)=>{this.channel._trigger("presence",{event:"join",key:a,currentPresences:i,newPresences:n})}),this.onLeave((a,i,n)=>{this.channel._trigger("presence",{event:"leave",key:a,currentPresences:i,leftPresences:n})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,r,o,a){const i=this.cloneDeep(t),n=this.transformState(r),s={},d={};return this.map(i,(c,m)=>{n[c]||(d[c]=m)}),this.map(n,(c,m)=>{const f=i[c];if(f){const b=m.map(w=>w.presence_ref),g=f.map(w=>w.presence_ref),h=m.filter(w=>g.indexOf(w.presence_ref)<0),y=f.filter(w=>b.indexOf(w.presence_ref)<0);h.length>0&&(s[c]=h),y.length>0&&(d[c]=y)}else s[c]=m}),this.syncDiff(i,{joins:s,leaves:d},o,a)}static syncDiff(t,r,o,a){const{joins:i,leaves:n}={joins:this.transformState(r.joins),leaves:this.transformState(r.leaves)};return o||(o=()=>{}),a||(a=()=>{}),this.map(i,(s,d)=>{var c;const m=(c=t[s])!==null&&c!==void 0?c:[];if(t[s]=this.cloneDeep(d),m.length>0){const f=t[s].map(g=>g.presence_ref),b=m.filter(g=>f.indexOf(g.presence_ref)<0);t[s].unshift(...b)}o(s,m,d)}),this.map(n,(s,d)=>{let c=t[s];if(!c)return;const m=d.map(f=>f.presence_ref);c=c.filter(f=>m.indexOf(f.presence_ref)<0),t[s]=c,a(s,c,d),c.length===0&&delete t[s]}),t}static map(t,r){return Object.getOwnPropertyNames(t).map(o=>r(o,t[o]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((r,o)=>{const a=t[o];return"metas"in a?r[o]=a.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):r[o]=a,r},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var g2;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(g2||(g2={}));var f2;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(f2||(f2={}));var hn;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(hn||(hn={}));class gh{constructor(t,r={config:{}},o){this.topic=t,this.params=r,this.socket=o,this.bindings={},this.state=yr.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},r.config),this.timeout=this.socket.timeout,this.joinPush=new v0(this,Io.join,this.params,this.timeout),this.rejoinTimer=new mL(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=yr.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(a=>a.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=yr.closed,this.socket._remove(this)}),this._onError(a=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,a),this.state=yr.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=yr.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Io.reply,{},(a,i)=>{this._trigger(this._replyEventName(i),a)}),this.presence=new os(this),this.broadcastEndpointURL=fL(this.socket.endPoint)+"/api/broadcast",this.private=this.params.config.private||!1}subscribe(t,r=this.timeout){var o,a;if(this.socket.isConnected()||this.socket.connect(),this.state==yr.closed){const{config:{broadcast:i,presence:n,private:s}}=this.params;this._onError(m=>t==null?void 0:t(hn.CHANNEL_ERROR,m)),this._onClose(()=>t==null?void 0:t(hn.CLOSED));const d={},c={broadcast:i,presence:n,postgres_changes:(a=(o=this.bindings.postgres_changes)===null||o===void 0?void 0:o.map(m=>m.filter))!==null&&a!==void 0?a:[],private:s};this.socket.accessTokenValue&&(d.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:c},d)),this.joinedOnce=!0,this._rejoin(r),this.joinPush.receive("ok",async({postgres_changes:m})=>{var f;if(this.socket.setAuth(),m===void 0){t==null||t(hn.SUBSCRIBED);return}else{const b=this.bindings.postgres_changes,g=(f=b==null?void 0:b.length)!==null&&f!==void 0?f:0,h=[];for(let y=0;y{this.state=yr.errored,t==null||t(hn.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(m).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(hn.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,r={}){return await this.send({type:"presence",event:"track",payload:t},r.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,r,o){return this._on(t,r,o)}async send(t,r={}){var o,a;if(!this._canPush()&&t.type==="broadcast"){const{event:i,payload:n}=t,d={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:n,private:this.private}]})};try{const c=await this._fetchWithTimeout(this.broadcastEndpointURL,d,(o=r.timeout)!==null&&o!==void 0?o:this.timeout);return await((a=c.body)===null||a===void 0?void 0:a.cancel()),c.ok?"ok":"error"}catch(c){return c.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var n,s,d;const c=this._push(t.type,t,r.timeout||this.timeout);t.type==="broadcast"&&!(!((d=(s=(n=this.params)===null||n===void 0?void 0:n.config)===null||s===void 0?void 0:s.broadcast)===null||d===void 0)&&d.ack)&&i("ok"),c.receive("ok",()=>i("ok")),c.receive("error",()=>i("error")),c.receive("timeout",()=>i("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=yr.leaving;const r=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Io.close,"leave",this._joinRef())};this.joinPush.destroy();let o=null;return new Promise(a=>{o=new v0(this,Io.leave,{},t),o.receive("ok",()=>{r(),a("ok")}).receive("timeout",()=>{r(),a("timed out")}).receive("error",()=>{a("error")}),o.send(),this._canPush()||o.trigger("ok",{})}).finally(()=>{o==null||o.destroy()})}teardown(){this.pushBuffer.forEach(t=>t.destroy()),this.rejoinTimer&&clearTimeout(this.rejoinTimer.timer),this.joinPush.destroy()}async _fetchWithTimeout(t,r,o){const a=new AbortController,i=setTimeout(()=>a.abort(),o),n=await this.socket.fetch(t,Object.assign(Object.assign({},r),{signal:a.signal}));return clearTimeout(i),n}_push(t,r,o=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let a=new v0(this,t,r,o);return this._canPush()?a.send():(a.startTimeout(),this.pushBuffer.push(a)),a}_onMessage(t,r,o){return r}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,r,o){var a,i;const n=t.toLocaleLowerCase(),{close:s,error:d,leave:c,join:m}=Io;if(o&&[s,d,c,m].indexOf(n)>=0&&o!==this._joinRef())return;let b=this._onMessage(n,r,o);if(r&&!b)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(n)?(a=this.bindings.postgres_changes)===null||a===void 0||a.filter(g=>{var h,y,w;return((h=g.filter)===null||h===void 0?void 0:h.event)==="*"||((w=(y=g.filter)===null||y===void 0?void 0:y.event)===null||w===void 0?void 0:w.toLocaleLowerCase())===n}).map(g=>g.callback(b,o)):(i=this.bindings[n])===null||i===void 0||i.filter(g=>{var h,y,w,M,A,L;if(["broadcast","presence","postgres_changes"].includes(n))if("id"in g){const C=g.id,I=(h=g.filter)===null||h===void 0?void 0:h.event;return C&&((y=r.ids)===null||y===void 0?void 0:y.includes(C))&&(I==="*"||(I==null?void 0:I.toLocaleLowerCase())===((w=r.data)===null||w===void 0?void 0:w.type.toLocaleLowerCase()))}else{const C=(A=(M=g==null?void 0:g.filter)===null||M===void 0?void 0:M.event)===null||A===void 0?void 0:A.toLocaleLowerCase();return C==="*"||C===((L=r==null?void 0:r.event)===null||L===void 0?void 0:L.toLocaleLowerCase())}else return g.type.toLocaleLowerCase()===n}).map(g=>{if(typeof b=="object"&&"ids"in b){const h=b.data,{schema:y,table:w,commit_timestamp:M,type:A,errors:L}=h;b=Object.assign(Object.assign({},{schema:y,table:w,commit_timestamp:M,eventType:A,new:{},old:{},errors:L}),this._getPayloadRecords(h))}g.callback(b,o)})}_isClosed(){return this.state===yr.closed}_isJoined(){return this.state===yr.joined}_isJoining(){return this.state===yr.joining}_isLeaving(){return this.state===yr.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,r,o){const a=t.toLocaleLowerCase(),i={type:a,filter:r,callback:o};return this.bindings[a]?this.bindings[a].push(i):this.bindings[a]=[i],this}_off(t,r){const o=t.toLocaleLowerCase();return this.bindings[o]=this.bindings[o].filter(a=>{var i;return!(((i=a.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===o&&gh.isEqual(a.filter,r))}),this}static isEqual(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const o in t)if(t[o]!==r[o])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(Io.close,{},t)}_onError(t){this._on(Io.error,{},r=>t(r))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=yr.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const r={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(r.new=c2(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(r.old=c2(t.columns,t.old_record)),r}}const p2=()=>{},G_e=` addEventListener("message", (e) => { if (e.data.event === "start") { setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); } });`;class N_e{constructor(t,r){var o;this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=cL,this.heartbeatIntervalMs=25e3,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=p2,this.ref=0,this.logger=p2,this.conn=null,this.sendBuffer=[],this.serializer=new C_e,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=i=>{let n;return i?n=i:typeof fetch>"u"?n=(...s)=>$t(async()=>{const{default:d}=await Promise.resolve().then(()=>sl);return{default:d}},void 0).then(({default:d})=>d(...s)):n=fetch,(...s)=>n(...s)},this.endPoint=`${t}/${hb.websocket}`,this.httpEndpoint=fL(t),r!=null&&r.transport?this.transport=r.transport:this.transport=null,r!=null&&r.params&&(this.params=r.params),r!=null&&r.timeout&&(this.timeout=r.timeout),r!=null&&r.logger&&(this.logger=r.logger),(r!=null&&r.logLevel||r!=null&&r.log_level)&&(this.logLevel=r.logLevel||r.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),r!=null&&r.heartbeatIntervalMs&&(this.heartbeatIntervalMs=r.heartbeatIntervalMs);const a=(o=r==null?void 0:r.params)===null||o===void 0?void 0:o.apikey;if(a&&(this.accessTokenValue=a,this.apiKey=a),this.reconnectAfterMs=r!=null&&r.reconnectAfterMs?r.reconnectAfterMs:i=>[1e3,2e3,5e3,1e4][i-1]||1e4,this.encode=r!=null&&r.encode?r.encode:(i,n)=>n(JSON.stringify(i)),this.decode=r!=null&&r.decode?r.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new mL(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(r==null?void 0:r.fetch),r!=null&&r.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.worker=(r==null?void 0:r.worker)||!1,this.workerUrl=r==null?void 0:r.workerUrl}this.accessToken=(r==null?void 0:r.accessToken)||null}connect(){if(!this.conn){if(this.transport||(this.transport=T_e),!this.transport)throw new Error("No transport provided");this.conn=new this.transport(this.endpointURL()),this.setupConnection()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:$_e}))}disconnect(t,r){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,r??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset(),this.channels.forEach(o=>o.teardown()))}getChannels(){return this.channels}async removeChannel(t){const r=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),r}async removeAllChannels(){const t=await Promise.all(this.channels.map(r=>r.unsubscribe()));return this.channels=[],this.disconnect(),t}log(t,r,o){this.logger(t,r,o)}connectionState(){switch(this.conn&&this.conn.readyState){case rs.connecting:return Ma.Connecting;case rs.open:return Ma.Open;case rs.closing:return Ma.Closing;default:return Ma.Closed}}isConnected(){return this.connectionState()===Ma.Open}channel(t,r={config:{}}){const o=`realtime:${t}`,a=this.getChannels().find(i=>i.topic===o);if(a)return a;{const i=new gh(`realtime:${t}`,r,this);return this.channels.push(i),i}}push(t){const{topic:r,event:o,payload:a,ref:i}=t,n=()=>{this.encode(t,s=>{var d;(d=this.conn)===null||d===void 0||d.send(s)})};this.log("push",`${r} ${o} (${i})`,a),this.isConnected()?n():this.sendBuffer.push(n)}async setAuth(t=null){let r=t||this.accessToken&&await this.accessToken()||this.accessTokenValue;this.accessTokenValue!=r&&(this.accessTokenValue=r,this.channels.forEach(o=>{const a={access_token:r,version:L_e};r&&o.updateJoinPayload(a),o.joinedOnce&&o._isJoined()&&o._push(Io.access_token,{access_token:r})}))}async sendHeartbeat(){var t;if(!this.isConnected()){this.heartbeatCallback("disconnected");return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.heartbeatCallback("timeout"),(t=this.conn)===null||t===void 0||t.close(P_e,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatCallback("sent"),await this.setAuth()}onHeartbeat(t){this.heartbeatCallback=t}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let r=this.channels.find(o=>o.topic===t&&(o._isJoined()||o._isJoining()));r&&(this.log("transport",`leaving duplicate topic "${t}"`),r.unsubscribe())}_remove(t){this.channels=this.channels.filter(r=>r.topic!==t.topic)}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_onConnMessage(t){this.decode(t.data,r=>{let{topic:o,event:a,payload:i,ref:n}=r;o==="phoenix"&&a==="phx_reply"&&this.heartbeatCallback(r.payload.status=="ok"?"ok":"error"),n&&n===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${i.status||""} ${o} ${a} ${n&&"("+n+")"||""}`,i),Array.from(this.channels).filter(s=>s._isMember(o)).forEach(s=>s._trigger(a,i,n)),this.stateChangeCallbacks.message.forEach(s=>s(r))})}_onConnOpen(){this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this.stateChangeCallbacks.open.forEach(t=>t())}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=r=>{this.log("worker","worker error",r.message),this.workerRef.terminate()},this.workerRef.onmessage=r=>{r.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(r=>r(t))}_onConnError(t){this.log("transport",`${t}`),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(r=>r(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(Io.error))}_appendParams(t,r){if(Object.keys(r).length===0)return t;const o=t.match(/\?/)?"&":"?",a=new URLSearchParams(r);return`${t}${o}${a}`}_workerObjectUrl(t){let r;if(t)r=t;else{const o=new Blob([G_e],{type:"application/javascript"});r=URL.createObjectURL(o)}return r}}class fh extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function gr(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class F_e extends fh{constructor(t,r){super(t),this.name="StorageApiError",this.status=r}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class _b extends fh{constructor(t,r){super(t),this.name="StorageUnknownError",this.originalError=r}}var R_e=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};const pL=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...r)=>$t(async()=>{const{default:o}=await Promise.resolve().then(()=>sl);return{default:o}},void 0).then(({default:o})=>o(...r)):t=fetch,(...r)=>t(...r)},V_e=()=>R_e(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield $t(()=>Promise.resolve().then(()=>sl),void 0)).Response:Response}),vb=e=>{if(Array.isArray(e))return e.map(r=>vb(r));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([r,o])=>{const a=r.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));t[a]=vb(o)}),t};var Ra=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};const y0=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),H_e=(e,t,r)=>Ra(void 0,void 0,void 0,function*(){const o=yield V_e();e instanceof o&&!(r!=null&&r.noResolveJson)?e.json().then(a=>{t(new F_e(y0(a),e.status||500))}).catch(a=>{t(new _b(y0(a),a))}):t(new _b(y0(e),e))}),Y_e=(e,t,r,o)=>{const a={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?a:(a.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),o&&(a.body=JSON.stringify(o)),Object.assign(Object.assign({},a),r))};function $s(e,t,r,o,a,i){return Ra(this,void 0,void 0,function*(){return new Promise((n,s)=>{e(r,Y_e(t,o,a,i)).then(d=>{if(!d.ok)throw d;return o!=null&&o.noResolveJson?d:d.json()}).then(d=>n(d)).catch(d=>H_e(d,s,o))})})}function dg(e,t,r,o){return Ra(this,void 0,void 0,function*(){return $s(e,"GET",t,r,o)})}function zn(e,t,r,o,a){return Ra(this,void 0,void 0,function*(){return $s(e,"POST",t,o,a,r)})}function U_e(e,t,r,o,a){return Ra(this,void 0,void 0,function*(){return $s(e,"PUT",t,o,a,r)})}function X_e(e,t,r,o){return Ra(this,void 0,void 0,function*(){return $s(e,"HEAD",t,Object.assign(Object.assign({},r),{noResolveJson:!0}),o)})}function bL(e,t,r,o,a){return Ra(this,void 0,void 0,function*(){return $s(e,"DELETE",t,o,a,r)})}var Vr=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};const W_e={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},b2={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class j_e{constructor(t,r={},o,a){this.url=t,this.headers=r,this.bucketId=o,this.fetch=pL(a)}uploadOrUpdate(t,r,o,a){return Vr(this,void 0,void 0,function*(){try{let i;const n=Object.assign(Object.assign({},b2),a);let s=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(n.upsert)});const d=n.metadata;typeof Blob<"u"&&o instanceof Blob?(i=new FormData,i.append("cacheControl",n.cacheControl),d&&i.append("metadata",this.encodeMetadata(d)),i.append("",o)):typeof FormData<"u"&&o instanceof FormData?(i=o,i.append("cacheControl",n.cacheControl),d&&i.append("metadata",this.encodeMetadata(d))):(i=o,s["cache-control"]=`max-age=${n.cacheControl}`,s["content-type"]=n.contentType,d&&(s["x-metadata"]=this.toBase64(this.encodeMetadata(d)))),a!=null&&a.headers&&(s=Object.assign(Object.assign({},s),a.headers));const c=this._removeEmptyFolders(r),m=this._getFinalPath(c),f=yield this.fetch(`${this.url}/object/${m}`,Object.assign({method:t,body:i,headers:s},n!=null&&n.duplex?{duplex:n.duplex}:{})),b=yield f.json();return f.ok?{data:{path:c,id:b.Id,fullPath:b.Key},error:null}:{data:null,error:b}}catch(i){if(gr(i))return{data:null,error:i};throw i}})}upload(t,r,o){return Vr(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,r,o)})}uploadToSignedUrl(t,r,o,a){return Vr(this,void 0,void 0,function*(){const i=this._removeEmptyFolders(t),n=this._getFinalPath(i),s=new URL(this.url+`/object/upload/sign/${n}`);s.searchParams.set("token",r);try{let d;const c=Object.assign({upsert:b2.upsert},a),m=Object.assign(Object.assign({},this.headers),{"x-upsert":String(c.upsert)});typeof Blob<"u"&&o instanceof Blob?(d=new FormData,d.append("cacheControl",c.cacheControl),d.append("",o)):typeof FormData<"u"&&o instanceof FormData?(d=o,d.append("cacheControl",c.cacheControl)):(d=o,m["cache-control"]=`max-age=${c.cacheControl}`,m["content-type"]=c.contentType);const f=yield this.fetch(s.toString(),{method:"PUT",body:d,headers:m}),b=yield f.json();return f.ok?{data:{path:i,fullPath:b.Key},error:null}:{data:null,error:b}}catch(d){if(gr(d))return{data:null,error:d};throw d}})}createSignedUploadUrl(t,r){return Vr(this,void 0,void 0,function*(){try{let o=this._getFinalPath(t);const a=Object.assign({},this.headers);r!=null&&r.upsert&&(a["x-upsert"]="true");const i=yield zn(this.fetch,`${this.url}/object/upload/sign/${o}`,{},{headers:a}),n=new URL(this.url+i.url),s=n.searchParams.get("token");if(!s)throw new fh("No token returned by API");return{data:{signedUrl:n.toString(),path:t,token:s},error:null}}catch(o){if(gr(o))return{data:null,error:o};throw o}})}update(t,r,o){return Vr(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,r,o)})}move(t,r,o){return Vr(this,void 0,void 0,function*(){try{return{data:yield zn(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:r,destinationBucket:o==null?void 0:o.destinationBucket},{headers:this.headers}),error:null}}catch(a){if(gr(a))return{data:null,error:a};throw a}})}copy(t,r,o){return Vr(this,void 0,void 0,function*(){try{return{data:{path:(yield zn(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:r,destinationBucket:o==null?void 0:o.destinationBucket},{headers:this.headers})).Key},error:null}}catch(a){if(gr(a))return{data:null,error:a};throw a}})}createSignedUrl(t,r,o){return Vr(this,void 0,void 0,function*(){try{let a=this._getFinalPath(t),i=yield zn(this.fetch,`${this.url}/object/sign/${a}`,Object.assign({expiresIn:r},o!=null&&o.transform?{transform:o.transform}:{}),{headers:this.headers});const n=o!=null&&o.download?`&download=${o.download===!0?"":o.download}`:"";return i={signedUrl:encodeURI(`${this.url}${i.signedURL}${n}`)},{data:i,error:null}}catch(a){if(gr(a))return{data:null,error:a};throw a}})}createSignedUrls(t,r,o){return Vr(this,void 0,void 0,function*(){try{const a=yield zn(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:r,paths:t},{headers:this.headers}),i=o!=null&&o.download?`&download=${o.download===!0?"":o.download}`:"";return{data:a.map(n=>Object.assign(Object.assign({},n),{signedUrl:n.signedURL?encodeURI(`${this.url}${n.signedURL}${i}`):null})),error:null}}catch(a){if(gr(a))return{data:null,error:a};throw a}})}download(t,r){return Vr(this,void 0,void 0,function*(){const a=typeof(r==null?void 0:r.transform)<"u"?"render/image/authenticated":"object",i=this.transformOptsToQueryString((r==null?void 0:r.transform)||{}),n=i?`?${i}`:"";try{const s=this._getFinalPath(t);return{data:yield(yield dg(this.fetch,`${this.url}/${a}/${s}${n}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(s){if(gr(s))return{data:null,error:s};throw s}})}info(t){return Vr(this,void 0,void 0,function*(){const r=this._getFinalPath(t);try{const o=yield dg(this.fetch,`${this.url}/object/info/${r}`,{headers:this.headers});return{data:vb(o),error:null}}catch(o){if(gr(o))return{data:null,error:o};throw o}})}exists(t){return Vr(this,void 0,void 0,function*(){const r=this._getFinalPath(t);try{return yield X_e(this.fetch,`${this.url}/object/${r}`,{headers:this.headers}),{data:!0,error:null}}catch(o){if(gr(o)&&o instanceof _b){const a=o.originalError;if([400,404].includes(a==null?void 0:a.status))return{data:!1,error:o}}throw o}})}getPublicUrl(t,r){const o=this._getFinalPath(t),a=[],i=r!=null&&r.download?`download=${r.download===!0?"":r.download}`:"";i!==""&&a.push(i);const s=typeof(r==null?void 0:r.transform)<"u"?"render/image":"object",d=this.transformOptsToQueryString((r==null?void 0:r.transform)||{});d!==""&&a.push(d);let c=a.join("&");return c!==""&&(c=`?${c}`),{data:{publicUrl:encodeURI(`${this.url}/${s}/public/${o}${c}`)}}}remove(t){return Vr(this,void 0,void 0,function*(){try{return{data:yield bL(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(r){if(gr(r))return{data:null,error:r};throw r}})}list(t,r,o){return Vr(this,void 0,void 0,function*(){try{const a=Object.assign(Object.assign(Object.assign({},W_e),r),{prefix:t||""});return{data:yield zn(this.fetch,`${this.url}/object/list/${this.bucketId}`,a,{headers:this.headers},o),error:null}}catch(a){if(gr(a))return{data:null,error:a};throw a}})}encodeMetadata(t){return JSON.stringify(t)}toBase64(t){return typeof X0<"u"?X0.from(t).toString("base64"):btoa(t)}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const r=[];return t.width&&r.push(`width=${t.width}`),t.height&&r.push(`height=${t.height}`),t.resize&&r.push(`resize=${t.resize}`),t.format&&r.push(`format=${t.format}`),t.quality&&r.push(`quality=${t.quality}`),r.join("&")}}const K_e="2.7.1",z_e={"X-Client-Info":`storage-js/${K_e}`};var Ii=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};class q_e{constructor(t,r={},o){this.url=t,this.headers=Object.assign(Object.assign({},z_e),r),this.fetch=pL(o)}listBuckets(){return Ii(this,void 0,void 0,function*(){try{return{data:yield dg(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(gr(t))return{data:null,error:t};throw t}})}getBucket(t){return Ii(this,void 0,void 0,function*(){try{return{data:yield dg(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(r){if(gr(r))return{data:null,error:r};throw r}})}createBucket(t,r={public:!1}){return Ii(this,void 0,void 0,function*(){try{return{data:yield zn(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers}),error:null}}catch(o){if(gr(o))return{data:null,error:o};throw o}})}updateBucket(t,r){return Ii(this,void 0,void 0,function*(){try{return{data:yield U_e(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:this.headers}),error:null}}catch(o){if(gr(o))return{data:null,error:o};throw o}})}emptyBucket(t){return Ii(this,void 0,void 0,function*(){try{return{data:yield zn(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(r){if(gr(r))return{data:null,error:r};throw r}})}deleteBucket(t){return Ii(this,void 0,void 0,function*(){try{return{data:yield bL(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(r){if(gr(r))return{data:null,error:r};throw r}})}}class Z_e extends q_e{constructor(t,r={},o){super(t,r,o)}from(t){return new j_e(this.url,this.headers,t,this.fetch)}}const Q_e="2.50.3";let Hl="";typeof Deno<"u"?Hl="deno":typeof document<"u"?Hl="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Hl="react-native":Hl="node";const J_e={"X-Client-Info":`supabase-js-${Hl}/${Q_e}`},eve={headers:J_e},tve={schema:"public"},rve={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},ove={};var nve=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};const ave=e=>{let t;return e?t=e:typeof fetch>"u"?t=aL:t=fetch,(...r)=>t(...r)},ive=()=>typeof Headers>"u"?iL:Headers,lve=(e,t,r)=>{const o=ave(r),a=ive();return(i,n)=>nve(void 0,void 0,void 0,function*(){var s;const d=(s=yield t())!==null&&s!==void 0?s:e;let c=new a(n==null?void 0:n.headers);return c.has("apikey")||c.set("apikey",e),c.has("Authorization")||c.set("Authorization",`Bearer ${d}`),o(i,Object.assign(Object.assign({},n),{headers:c}))})};var sve=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};function dve(e){return e.endsWith("/")?e:e+"/"}function uve(e,t){var r,o;const{db:a,auth:i,realtime:n,global:s}=e,{db:d,auth:c,realtime:m,global:f}=t,b={db:Object.assign(Object.assign({},d),a),auth:Object.assign(Object.assign({},c),i),realtime:Object.assign(Object.assign({},m),n),global:Object.assign(Object.assign(Object.assign({},f),s),{headers:Object.assign(Object.assign({},(r=f==null?void 0:f.headers)!==null&&r!==void 0?r:{}),(o=s==null?void 0:s.headers)!==null&&o!==void 0?o:{})}),accessToken:()=>sve(this,void 0,void 0,function*(){return""})};return e.accessToken?b.accessToken=e.accessToken:delete b.accessToken,b}const hL="2.70.0",Vi=30*1e3,yb=3,S0=yb*Vi,cve="http://localhost:9999",mve="supabase.auth.token",gve={"X-Client-Info":`gotrue-js/${hL}`},Sb="X-Supabase-Api-Version",xL={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},fve=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,pve=6e5;class ph extends Error{constructor(t,r,o){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=r,this.code=o}}function ut(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class bve extends ph{constructor(t,r,o){super(t,r,o),this.name="AuthApiError",this.status=r,this.code=o}}function hve(e){return ut(e)&&e.name==="AuthApiError"}class _L extends ph{constructor(t,r){super(t),this.name="AuthUnknownError",this.originalError=r}}class na extends ph{constructor(t,r,o,a){super(t,o,a),this.name=r,this.status=o}}class Yn extends na{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function xve(e){return ut(e)&&e.name==="AuthSessionMissingError"}class Gd extends na{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Nd extends na{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Fd extends na{constructor(t,r=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function _ve(e){return ut(e)&&e.name==="AuthImplicitGrantRedirectError"}class h2 extends na{constructor(t,r=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=r}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class wb extends na{constructor(t,r){super(t,"AuthRetryableFetchError",r,void 0)}}function w0(e){return ut(e)&&e.name==="AuthRetryableFetchError"}class x2 extends na{constructor(t,r,o){super(t,"AuthWeakPasswordError",r,"weak_password"),this.reasons=o}}class ns extends na{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const ug="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),_2=` \r=`.split(""),vve=(()=>{const e=new Array(128);for(let t=0;t=6;){const o=t.queue>>t.queuedBits-6&63;r(ug[o]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const o=t.queue>>t.queuedBits-6&63;r(ug[o]),t.queuedBits-=6}}function vL(e,t,r){const o=vve[e];if(o>-1)for(t.queue=t.queue<<6|o,t.queuedBits+=6;t.queuedBits>=8;)r(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(o===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function y2(e){const t=[],r=n=>{t.push(String.fromCodePoint(n))},o={utf8seq:0,codepoint:0},a={queue:0,queuedBits:0},i=n=>{wve(n,o,r)};for(let n=0;n>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function Sve(e,t){for(let r=0;r55295&&o<=56319){const a=(o-55296)*1024&65535;o=(e.charCodeAt(r+1)-56320&65535|a)+65536,r+=1}yve(o,t)}}function wve(e,t,r){if(t.utf8seq===0){if(e<=127){r(e);return}for(let o=1;o<6;o+=1)if((e>>7-o&1)===0){t.utf8seq=o;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&r(t.codepoint)}}function Mve(e){const t=[],r={queue:0,queuedBits:0},o=a=>{t.push(a)};for(let a=0;at.push(r)),new Uint8Array(t)}function Ave(e){const t=[],r={queue:0,queuedBits:0},o=a=>{t.push(a)};return e.forEach(a=>v2(a,r,o)),v2(null,r,o),t.join("")}function Lve(e){return Math.round(Date.now()/1e3)+e}function $ve(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const Oo=()=>typeof window<"u"&&typeof document<"u",xa={tested:!1,writable:!1},as=()=>{if(!Oo())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(xa.tested)return xa.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),xa.tested=!0,xa.writable=!0}catch{xa.tested=!0,xa.writable=!1}return xa.writable};function Pve(e){const t={},r=new URL(e);if(r.hash&&r.hash[0]==="#")try{new URLSearchParams(r.hash.substring(1)).forEach((a,i)=>{t[i]=a})}catch{}return r.searchParams.forEach((o,a)=>{t[a]=o}),t}const yL=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...r)=>$t(async()=>{const{default:o}=await Promise.resolve().then(()=>sl);return{default:o}},void 0).then(({default:o})=>o(...r)):t=fetch,(...r)=>t(...r)},Cve=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",SL=async(e,t,r)=>{await e.setItem(t,JSON.stringify(r))},Rd=async(e,t)=>{const r=await e.getItem(t);if(!r)return null;try{return JSON.parse(r)}catch{return r}},Vd=async(e,t)=>{await e.removeItem(t)};class Yg{constructor(){this.promise=new Yg.promiseConstructor((t,r)=>{this.resolve=t,this.reject=r})}}Yg.promiseConstructor=Promise;function M0(e){const t=e.split(".");if(t.length!==3)throw new ns("Invalid JWT structure");for(let o=0;o{setTimeout(()=>t(null),e)})}function Ove(e,t){return new Promise((o,a)=>{(async()=>{for(let i=0;i<1/0;i++)try{const n=await e(i);if(!t(i,null,n)){o(n);return}}catch(n){if(!t(i,n)){a(n);return}}})()})}function Ive(e){return("0"+e.toString(16)).substr(-2)}function Bve(){const t=new Uint32Array(56);if(typeof crypto>"u"){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",o=r.length;let a="";for(let i=0;i<56;i++)a+=r.charAt(Math.floor(Math.random()*o));return a}return crypto.getRandomValues(t),Array.from(t,Ive).join("")}async function Dve(e){const r=new TextEncoder().encode(e),o=await crypto.subtle.digest("SHA-256",r),a=new Uint8Array(o);return Array.from(a).map(i=>String.fromCharCode(i)).join("")}async function kve(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const r=await Dve(e);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Bi(e,t,r=!1){const o=Bve();let a=o;r&&(a+="/PASSWORD_RECOVERY"),await SL(e,`${t}-code-verifier`,a);const i=await kve(o);return[i,o===i?"plain":"s256"]}const Gve=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Nve(e){const t=e.headers.get(Sb);if(!t||!t.match(Gve))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function Fve(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function Rve(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const Vve=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Di(e){if(!Vve.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}var Hve=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);ae.msg||e.message||e.error_description||e.error||JSON.stringify(e),Yve=[502,503,504];async function S2(e){var t;if(!Cve(e))throw new wb(ya(e),0);if(Yve.includes(e.status))throw new wb(ya(e),e.status);let r;try{r=await e.json()}catch(i){throw new _L(ya(i),i)}let o;const a=Nve(e);if(a&&a.getTime()>=xL["2024-01-01"].timestamp&&typeof r=="object"&&r&&typeof r.code=="string"?o=r.code:typeof r=="object"&&r&&typeof r.error_code=="string"&&(o=r.error_code),o){if(o==="weak_password")throw new x2(ya(r),e.status,((t=r.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(o==="session_not_found")throw new Yn}else if(typeof r=="object"&&r&&typeof r.weak_password=="object"&&r.weak_password&&Array.isArray(r.weak_password.reasons)&&r.weak_password.reasons.length&&r.weak_password.reasons.reduce((i,n)=>i&&typeof n=="string",!0))throw new x2(ya(r),e.status,r.weak_password.reasons);throw new bve(ya(r),e.status||500,o)}const Uve=(e,t,r,o)=>{const a={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?a:(a.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),a.body=JSON.stringify(o),Object.assign(Object.assign({},a),r))};async function _t(e,t,r,o){var a;const i=Object.assign({},o==null?void 0:o.headers);i[Sb]||(i[Sb]=xL["2024-01-01"].name),o!=null&&o.jwt&&(i.Authorization=`Bearer ${o.jwt}`);const n=(a=o==null?void 0:o.query)!==null&&a!==void 0?a:{};o!=null&&o.redirectTo&&(n.redirect_to=o.redirectTo);const s=Object.keys(n).length?"?"+new URLSearchParams(n).toString():"",d=await Xve(e,t,r+s,{headers:i,noResolveJson:o==null?void 0:o.noResolveJson},{},o==null?void 0:o.body);return o!=null&&o.xform?o==null?void 0:o.xform(d):{data:Object.assign({},d),error:null}}async function Xve(e,t,r,o,a,i){const n=Uve(t,o,a,i);let s;try{s=await e(r,Object.assign({},n))}catch(d){throw console.error(d),new wb(ya(d),0)}if(s.ok||await S2(s),o!=null&&o.noResolveJson)return s;try{return await s.json()}catch(d){await S2(d)}}function pn(e){var t;let r=null;zve(e)&&(r=Object.assign({},e),e.expires_at||(r.expires_at=Lve(e.expires_in)));const o=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:r,user:o},error:null}}function w2(e){const t=pn(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((r,o)=>r&&typeof o=="string",!0)&&(t.data.weak_password=e.weak_password),t}function qn(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function Wve(e){return{data:e,error:null}}function jve(e){const{action_link:t,email_otp:r,hashed_token:o,redirect_to:a,verification_type:i}=e,n=Hve(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),s={action_link:t,email_otp:r,hashed_token:o,redirect_to:a,verification_type:i},d=Object.assign({},n);return{data:{properties:s,user:d},error:null}}function Kve(e){return e}function zve(e){return e.access_token&&e.refresh_token&&e.expires_in}const T0=["global","local","others"];var qve=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a0&&(g.forEach(h=>{const y=parseInt(h.split(";")[0].split("=")[1].substring(0,1)),w=JSON.parse(h.split(";")[1].split("=")[1]);c[`${w}Page`]=y}),c.total=parseInt(b)),{data:Object.assign(Object.assign({},f),c),error:null}}catch(c){if(ut(c))return{data:{users:[]},error:c};throw c}}async getUserById(t){Di(t);try{return await _t(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:qn})}catch(r){if(ut(r))return{data:{user:null},error:r};throw r}}async updateUserById(t,r){Di(t);try{return await _t(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:r,headers:this.headers,xform:qn})}catch(o){if(ut(o))return{data:{user:null},error:o};throw o}}async deleteUser(t,r=!1){Di(t);try{return await _t(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:r},xform:qn})}catch(o){if(ut(o))return{data:{user:null},error:o};throw o}}async _listFactors(t){Di(t.userId);try{const{data:r,error:o}=await _t(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:a=>({data:{factors:a},error:null})});return{data:r,error:o}}catch(r){if(ut(r))return{data:null,error:r};throw r}}async _deleteFactor(t){Di(t.userId),Di(t.id);try{return{data:await _t(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(r){if(ut(r))return{data:null,error:r};throw r}}}const Qve={getItem:e=>as()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{as()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{as()&&globalThis.localStorage.removeItem(e)}};function M2(e={}){return{getItem:t=>e[t]||null,setItem:(t,r)=>{e[t]=r},removeItem:t=>{delete e[t]}}}function Jve(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}const ki={debug:!!(globalThis&&as()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class wL extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class eye extends wL{}async function tye(e,t,r){ki.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const o=new globalThis.AbortController;return t>0&&setTimeout(()=>{o.abort(),ki.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:o.signal},async a=>{if(a){ki.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,a.name);try{return await r()}finally{ki.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,a.name)}}else{if(t===0)throw ki.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new eye(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(ki.debug)try{const i=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(i,null," "))}catch(i){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",i)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await r()}}))}Jve();const rye={url:cve,storageKey:mve,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:gve,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function T2(e,t,r){return await r()}class hs{constructor(t){var r,o;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=hs.nextInstanceID,hs.nextInstanceID+=1,this.instanceID>0&&Oo()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const a=Object.assign(Object.assign({},rye),t);if(this.logDebugMessages=!!a.debug,typeof a.debug=="function"&&(this.logger=a.debug),this.persistSession=a.persistSession,this.storageKey=a.storageKey,this.autoRefreshToken=a.autoRefreshToken,this.admin=new Zve({url:a.url,headers:a.headers,fetch:a.fetch}),this.url=a.url,this.headers=a.headers,this.fetch=yL(a.fetch),this.lock=a.lock||T2,this.detectSessionInUrl=a.detectSessionInUrl,this.flowType=a.flowType,this.hasCustomAuthorizationHeader=a.hasCustomAuthorizationHeader,a.lock?this.lock=a.lock:Oo()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=tye:this.lock=T2,this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?a.storage?this.storage=a.storage:as()?this.storage=Qve:(this.memoryStorage={},this.storage=M2(this.memoryStorage)):(this.memoryStorage={},this.storage=M2(this.memoryStorage)),Oo()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(i){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",i)}(o=this.broadcastChannel)===null||o===void 0||o.addEventListener("message",async i=>{this._debug("received broadcast notification from other tab or client",i),await this._notifyAllSubscribers(i.data.event,i.data.session,!1)})}this.initialize()}_debug(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${hL}) ${new Date().toISOString()}`,...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{const r=Pve(window.location.href);let o="none";if(this._isImplicitGrantCallback(r)?o="implicit":await this._isPKCECallback(r)&&(o="pkce"),Oo()&&this.detectSessionInUrl&&o!=="none"){const{data:a,error:i}=await this._getSessionFromURL(r,o);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),_ve(i)){const d=(t=i.details)===null||t===void 0?void 0:t.code;if(d==="identity_already_exists"||d==="identity_not_found"||d==="single_identity_not_deletable")return{error:i}}return await this._removeSession(),{error:i}}const{session:n,redirectType:s}=a;return this._debug("#_initialize()","detected session in URL",n,"redirect type",s),await this._saveSession(n),setTimeout(async()=>{s==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",n):await this._notifyAllSubscribers("SIGNED_IN",n)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(r){return ut(r)?{error:r}:{error:new _L("Unexpected error during initialization",r)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var r,o,a;try{const i=await _t(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(o=(r=t==null?void 0:t.options)===null||r===void 0?void 0:r.data)!==null&&o!==void 0?o:{},gotrue_meta_security:{captcha_token:(a=t==null?void 0:t.options)===null||a===void 0?void 0:a.captchaToken}},xform:pn}),{data:n,error:s}=i;if(s||!n)return{data:{user:null,session:null},error:s};const d=n.session,c=n.user;return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",d)),{data:{user:c,session:d},error:null}}catch(i){if(ut(i))return{data:{user:null,session:null},error:i};throw i}}async signUp(t){var r,o,a;try{let i;if("email"in t){const{email:m,password:f,options:b}=t;let g=null,h=null;this.flowType==="pkce"&&([g,h]=await Bi(this.storage,this.storageKey)),i=await _t(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:b==null?void 0:b.emailRedirectTo,body:{email:m,password:f,data:(r=b==null?void 0:b.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:b==null?void 0:b.captchaToken},code_challenge:g,code_challenge_method:h},xform:pn})}else if("phone"in t){const{phone:m,password:f,options:b}=t;i=await _t(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:m,password:f,data:(o=b==null?void 0:b.data)!==null&&o!==void 0?o:{},channel:(a=b==null?void 0:b.channel)!==null&&a!==void 0?a:"sms",gotrue_meta_security:{captcha_token:b==null?void 0:b.captchaToken}},xform:pn})}else throw new Nd("You must provide either an email or phone number and a password");const{data:n,error:s}=i;if(s||!n)return{data:{user:null,session:null},error:s};const d=n.session,c=n.user;return n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",d)),{data:{user:c,session:d},error:null}}catch(i){if(ut(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithPassword(t){try{let r;if("email"in t){const{email:i,password:n,options:s}=t;r=await _t(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:n,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:w2})}else if("phone"in t){const{phone:i,password:n,options:s}=t;r=await _t(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:n,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},xform:w2})}else throw new Nd("You must provide either an email or phone number and a password");const{data:o,error:a}=r;return a?{data:{user:null,session:null},error:a}:!o||!o.session||!o.user?{data:{user:null,session:null},error:new Gd}:(o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",o.session)),{data:Object.assign({user:o.user,session:o.session},o.weak_password?{weakPassword:o.weak_password}:null),error:a})}catch(r){if(ut(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithOAuth(t){var r,o,a,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(r=t.options)===null||r===void 0?void 0:r.redirectTo,scopes:(o=t.options)===null||o===void 0?void 0:o.scopes,queryParams:(a=t.options)===null||a===void 0?void 0:a.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:r}=t;if(r==="solana")return await this.signInWithSolana(t);throw new Error(`@supabase/auth-js: Unsupported chain "${r}"`)}async signInWithSolana(t){var r,o,a,i,n,s,d,c,m,f,b,g;let h,y;if("message"in t)h=t.message,y=t.signature;else{const{chain:w,wallet:M,statement:A,options:L}=t;let C;if(Oo())if(typeof M=="object")C=M;else{const F=window;if("solana"in F&&typeof F.solana=="object"&&("signIn"in F.solana&&typeof F.solana.signIn=="function"||"signMessage"in F.solana&&typeof F.solana.signMessage=="function"))C=F.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof M!="object"||!(L!=null&&L.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");C=M}const I=new URL((r=L==null?void 0:L.url)!==null&&r!==void 0?r:window.location.href);if("signIn"in C&&C.signIn){const F=await C.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},L==null?void 0:L.signInWithSolana),{version:"1",domain:I.host,uri:I.href}),A?{statement:A}:null));let R;if(Array.isArray(F)&&F[0]&&typeof F[0]=="object")R=F[0];else if(F&&typeof F=="object"&&"signedMessage"in F&&"signature"in F)R=F;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in R&&"signature"in R&&(typeof R.signedMessage=="string"||R.signedMessage instanceof Uint8Array)&&R.signature instanceof Uint8Array)h=typeof R.signedMessage=="string"?R.signedMessage:new TextDecoder().decode(R.signedMessage),y=R.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in C)||typeof C.signMessage!="function"||!("publicKey"in C)||typeof C!="object"||!C.publicKey||!("toBase58"in C.publicKey)||typeof C.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");h=[`${I.host} wants you to sign in with your Solana account:`,C.publicKey.toBase58(),...A?["",A,""]:[""],"Version: 1",`URI: ${I.href}`,`Issued At: ${(a=(o=L==null?void 0:L.signInWithSolana)===null||o===void 0?void 0:o.issuedAt)!==null&&a!==void 0?a:new Date().toISOString()}`,...!((i=L==null?void 0:L.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${L.signInWithSolana.notBefore}`]:[],...!((n=L==null?void 0:L.signInWithSolana)===null||n===void 0)&&n.expirationTime?[`Expiration Time: ${L.signInWithSolana.expirationTime}`]:[],...!((s=L==null?void 0:L.signInWithSolana)===null||s===void 0)&&s.chainId?[`Chain ID: ${L.signInWithSolana.chainId}`]:[],...!((d=L==null?void 0:L.signInWithSolana)===null||d===void 0)&&d.nonce?[`Nonce: ${L.signInWithSolana.nonce}`]:[],...!((c=L==null?void 0:L.signInWithSolana)===null||c===void 0)&&c.requestId?[`Request ID: ${L.signInWithSolana.requestId}`]:[],...!((f=(m=L==null?void 0:L.signInWithSolana)===null||m===void 0?void 0:m.resources)===null||f===void 0)&&f.length?["Resources",...L.signInWithSolana.resources.map(R=>`- ${R}`)]:[]].join(` `);const F=await C.signMessage(new TextEncoder().encode(h),"utf8");if(!F||!(F instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");y=F}}try{const{data:w,error:M}=await _t(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:h,signature:Ave(y)},!((b=t.options)===null||b===void 0)&&b.captchaToken?{gotrue_meta_security:{captcha_token:(g=t.options)===null||g===void 0?void 0:g.captchaToken}}:null),xform:pn});if(M)throw M;return!w||!w.session||!w.user?{data:{user:null,session:null},error:new Gd}:(w.session&&(await this._saveSession(w.session),await this._notifyAllSubscribers("SIGNED_IN",w.session)),{data:Object.assign({},w),error:M})}catch(w){if(ut(w))return{data:{user:null,session:null},error:w};throw w}}async _exchangeCodeForSession(t){const r=await Rd(this.storage,`${this.storageKey}-code-verifier`),[o,a]=(r??"").split("/");try{const{data:i,error:n}=await _t(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:o},xform:pn});if(await Vd(this.storage,`${this.storageKey}-code-verifier`),n)throw n;return!i||!i.session||!i.user?{data:{user:null,session:null,redirectType:null},error:new Gd}:(i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),{data:Object.assign(Object.assign({},i),{redirectType:a??null}),error:n})}catch(i){if(ut(i))return{data:{user:null,session:null,redirectType:null},error:i};throw i}}async signInWithIdToken(t){try{const{options:r,provider:o,token:a,access_token:i,nonce:n}=t,s=await _t(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:o,id_token:a,access_token:i,nonce:n,gotrue_meta_security:{captcha_token:r==null?void 0:r.captchaToken}},xform:pn}),{data:d,error:c}=s;return c?{data:{user:null,session:null},error:c}:!d||!d.session||!d.user?{data:{user:null,session:null},error:new Gd}:(d.session&&(await this._saveSession(d.session),await this._notifyAllSubscribers("SIGNED_IN",d.session)),{data:d,error:c})}catch(r){if(ut(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithOtp(t){var r,o,a,i,n;try{if("email"in t){const{email:s,options:d}=t;let c=null,m=null;this.flowType==="pkce"&&([c,m]=await Bi(this.storage,this.storageKey));const{error:f}=await _t(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:s,data:(r=d==null?void 0:d.data)!==null&&r!==void 0?r:{},create_user:(o=d==null?void 0:d.shouldCreateUser)!==null&&o!==void 0?o:!0,gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken},code_challenge:c,code_challenge_method:m},redirectTo:d==null?void 0:d.emailRedirectTo});return{data:{user:null,session:null},error:f}}if("phone"in t){const{phone:s,options:d}=t,{data:c,error:m}=await _t(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:s,data:(a=d==null?void 0:d.data)!==null&&a!==void 0?a:{},create_user:(i=d==null?void 0:d.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken},channel:(n=d==null?void 0:d.channel)!==null&&n!==void 0?n:"sms"}});return{data:{user:null,session:null,messageId:c==null?void 0:c.message_id},error:m}}throw new Nd("You must provide either an email or phone number.")}catch(s){if(ut(s))return{data:{user:null,session:null},error:s};throw s}}async verifyOtp(t){var r,o;try{let a,i;"options"in t&&(a=(r=t.options)===null||r===void 0?void 0:r.redirectTo,i=(o=t.options)===null||o===void 0?void 0:o.captchaToken);const{data:n,error:s}=await _t(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:a,xform:pn});if(s)throw s;if(!n)throw new Error("An error occurred on token verification.");const d=n.session,c=n.user;return d!=null&&d.access_token&&(await this._saveSession(d),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",d)),{data:{user:c,session:d},error:null}}catch(a){if(ut(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithSSO(t){var r,o,a;try{let i=null,n=null;return this.flowType==="pkce"&&([i,n]=await Bi(this.storage,this.storageKey)),await _t(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(o=(r=t.options)===null||r===void 0?void 0:r.redirectTo)!==null&&o!==void 0?o:void 0}),!((a=t==null?void 0:t.options)===null||a===void 0)&&a.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:i,code_challenge_method:n}),headers:this.headers,xform:Wve})}catch(i){if(ut(i))return{data:null,error:i};throw i}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:r},error:o}=t;if(o)throw o;if(!r)throw new Yn;const{error:a}=await _t(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:r.access_token});return{data:{user:null,session:null},error:a}})}catch(t){if(ut(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{const r=`${this.url}/resend`;if("email"in t){const{email:o,type:a,options:i}=t,{error:n}=await _t(this.fetch,"POST",r,{headers:this.headers,body:{email:o,type:a,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:n}}else if("phone"in t){const{phone:o,type:a,options:i}=t,{data:n,error:s}=await _t(this.fetch,"POST",r,{headers:this.headers,body:{phone:o,type:a,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return{data:{user:null,session:null,messageId:n==null?void 0:n.message_id},error:s}}throw new Nd("You must provide either an email or phone number and a type")}catch(r){if(ut(r))return{data:{user:null,session:null},error:r};throw r}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async r=>r))}async _acquireLock(t,r){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const o=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),a=(async()=>(await o,await r()))();return this.pendingInLock.push((async()=>{try{await a}catch{}})()),a}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const o=r();for(this.pendingInLock.push((async()=>{try{await o}catch{}})()),await o;this.pendingInLock.length;){const a=[...this.pendingInLock];await Promise.all(a),this.pendingInLock.splice(0,a.length)}return await o}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const r=await this.__loadSession();return await t(r)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const r=await Rd(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",r),r!==null&&(this._isValidSession(r)?t=r:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!t)return{data:{session:null},error:null};const o=t.expires_at?t.expires_at*1e3-Date.now()(!n&&c==="user"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),n=!0,this.suppressGetSessionWarning=!0),Reflect.get(d,c,m))})}return{data:{session:t},error:null}}const{session:a,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{session:null},error:i}:{data:{session:a},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(t){return t?await this._getUser(t):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(t){try{return t?await _t(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:qn}):await this._useSession(async r=>{var o,a,i;const{data:n,error:s}=r;if(s)throw s;return!(!((o=n.session)===null||o===void 0)&&o.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Yn}:await _t(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(a=n.session)===null||a===void 0?void 0:a.access_token)!==null&&i!==void 0?i:void 0,xform:qn})})}catch(r){if(ut(r))return xve(r)&&(await this._removeSession(),await Vd(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:r};throw r}}async updateUser(t,r={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(t,r))}async _updateUser(t,r={}){try{return await this._useSession(async o=>{const{data:a,error:i}=o;if(i)throw i;if(!a.session)throw new Yn;const n=a.session;let s=null,d=null;this.flowType==="pkce"&&t.email!=null&&([s,d]=await Bi(this.storage,this.storageKey));const{data:c,error:m}=await _t(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:r==null?void 0:r.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:s,code_challenge_method:d}),jwt:n.access_token,xform:qn});if(m)throw m;return n.user=c.user,await this._saveSession(n),await this._notifyAllSubscribers("USER_UPDATED",n),{data:{user:n.user},error:null}})}catch(o){if(ut(o))return{data:{user:null},error:o};throw o}}async setSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Yn;const r=Date.now()/1e3;let o=r,a=!0,i=null;const{payload:n}=M0(t.access_token);if(n.exp&&(o=n.exp,a=o<=r),a){const{session:s,error:d}=await this._callRefreshToken(t.refresh_token);if(d)return{data:{user:null,session:null},error:d};if(!s)return{data:{user:null,session:null},error:null};i=s}else{const{data:s,error:d}=await this._getUser(t.access_token);if(d)throw d;i={access_token:t.access_token,refresh_token:t.refresh_token,user:s.user,token_type:"bearer",expires_in:o-r,expires_at:o},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return{data:{user:i.user,session:i},error:null}}catch(r){if(ut(r))return{data:{session:null,user:null},error:r};throw r}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async r=>{var o;if(!t){const{data:n,error:s}=r;if(s)throw s;t=(o=n.session)!==null&&o!==void 0?o:void 0}if(!(t!=null&&t.refresh_token))throw new Yn;const{session:a,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{user:null,session:null},error:i}:a?{data:{user:a.user,session:a},error:null}:{data:{user:null,session:null},error:null}})}catch(r){if(ut(r))return{data:{user:null,session:null},error:r};throw r}}async _getSessionFromURL(t,r){try{if(!Oo())throw new Fd("No browser detected.");if(t.error||t.error_description||t.error_code)throw new Fd(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(r){case"implicit":if(this.flowType==="pkce")throw new h2("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Fd("Not a valid implicit grant flow url.");break;default:}if(r==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new h2("No code detected.");const{data:A,error:L}=await this._exchangeCodeForSession(t.code);if(L)throw L;const C=new URL(window.location.href);return C.searchParams.delete("code"),window.history.replaceState(window.history.state,"",C.toString()),{data:{session:A.session,redirectType:null},error:null}}const{provider_token:o,provider_refresh_token:a,access_token:i,refresh_token:n,expires_in:s,expires_at:d,token_type:c}=t;if(!i||!s||!n||!c)throw new Fd("No session defined in URL");const m=Math.round(Date.now()/1e3),f=parseInt(s);let b=m+f;d&&(b=parseInt(d));const g=b-m;g*1e3<=Vi&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${g}s, should have been closer to ${f}s`);const h=b-f;m-h>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",h,b,m):m-h<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",h,b,m);const{data:y,error:w}=await this._getUser(i);if(w)throw w;const M={provider_token:o,provider_refresh_token:a,access_token:i,expires_in:f,expires_at:b,refresh_token:n,token_type:c,user:y.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:M,redirectType:t.type},error:null}}catch(o){if(ut(o))return{data:{session:null,redirectType:null},error:o};throw o}}_isImplicitGrantCallback(t){return!!(t.access_token||t.error_description)}async _isPKCECallback(t){const r=await Rd(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&r)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async r=>{var o;const{data:a,error:i}=r;if(i)return{error:i};const n=(o=a.session)===null||o===void 0?void 0:o.access_token;if(n){const{error:s}=await this.admin.signOut(n,t);if(s&&!(hve(s)&&(s.status===404||s.status===401||s.status===403)))return{error:s}}return t!=="others"&&(await this._removeSession(),await Vd(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(t){const r=$ve(),o={id:r,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",r),this.stateChangeEmitters.delete(r)}};return this._debug("#onAuthStateChange()","registered callback with id",r),this.stateChangeEmitters.set(r,o),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(r)})))(),{data:{subscription:o}}}async _emitInitialSession(t){return await this._useSession(async r=>{var o,a;try{const{data:{session:i},error:n}=r;if(n)throw n;await((o=this.stateChangeEmitters.get(t))===null||o===void 0?void 0:o.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((a=this.stateChangeEmitters.get(t))===null||a===void 0?void 0:a.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),console.error(i)}})}async resetPasswordForEmail(t,r={}){let o=null,a=null;this.flowType==="pkce"&&([o,a]=await Bi(this.storage,this.storageKey,!0));try{return await _t(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:o,code_challenge_method:a,gotrue_meta_security:{captcha_token:r.captchaToken}},headers:this.headers,redirectTo:r.redirectTo})}catch(i){if(ut(i))return{data:null,error:i};throw i}}async getUserIdentities(){var t;try{const{data:r,error:o}=await this.getUser();if(o)throw o;return{data:{identities:(t=r.user.identities)!==null&&t!==void 0?t:[]},error:null}}catch(r){if(ut(r))return{data:null,error:r};throw r}}async linkIdentity(t){var r;try{const{data:o,error:a}=await this._useSession(async i=>{var n,s,d,c,m;const{data:f,error:b}=i;if(b)throw b;const g=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(s=t.options)===null||s===void 0?void 0:s.scopes,queryParams:(d=t.options)===null||d===void 0?void 0:d.queryParams,skipBrowserRedirect:!0});return await _t(this.fetch,"GET",g,{headers:this.headers,jwt:(m=(c=f.session)===null||c===void 0?void 0:c.access_token)!==null&&m!==void 0?m:void 0})});if(a)throw a;return Oo()&&!(!((r=t.options)===null||r===void 0)&&r.skipBrowserRedirect)&&window.location.assign(o==null?void 0:o.url),{data:{provider:t.provider,url:o==null?void 0:o.url},error:null}}catch(o){if(ut(o))return{data:{provider:t.provider,url:null},error:o};throw o}}async unlinkIdentity(t){try{return await this._useSession(async r=>{var o,a;const{data:i,error:n}=r;if(n)throw n;return await _t(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(a=(o=i.session)===null||o===void 0?void 0:o.access_token)!==null&&a!==void 0?a:void 0})})}catch(r){if(ut(r))return{data:null,error:r};throw r}}async _refreshAccessToken(t){const r=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(r,"begin");try{const o=Date.now();return await Ove(async a=>(a>0&&await Eve(200*Math.pow(2,a-1)),this._debug(r,"refreshing attempt",a),await _t(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:pn})),(a,i)=>{const n=200*Math.pow(2,a);return i&&w0(i)&&Date.now()+n-o{try{await s.callback(t,r)}catch(d){i.push(d)}});if(await Promise.all(n),i.length>0){for(let s=0;sthis._autoRefreshTokenTick(),Vi);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async r=>{const{data:{session:o}}=r;if(!o||!o.refresh_token||!o.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const a=Math.floor((o.expires_at*1e3-t)/Vi);this._debug("#_autoRefreshTokenTick()",`access token expires in ${a} ticks, a tick lasts ${Vi}ms, refresh threshold is ${yb} ticks`),a<=yb&&await this._callRefreshToken(o.refresh_token)})}catch(r){console.error("Auto refresh tick failed with error. This is likely a transient error.",r)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof wL)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Oo()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const r=`#_onVisibilityChanged(${t})`;this._debug(r,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(r,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,r,o){const a=[`provider=${encodeURIComponent(r)}`];if(o!=null&&o.redirectTo&&a.push(`redirect_to=${encodeURIComponent(o.redirectTo)}`),o!=null&&o.scopes&&a.push(`scopes=${encodeURIComponent(o.scopes)}`),this.flowType==="pkce"){const[i,n]=await Bi(this.storage,this.storageKey),s=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(n)}`});a.push(s.toString())}if(o!=null&&o.queryParams){const i=new URLSearchParams(o.queryParams);a.push(i.toString())}return o!=null&&o.skipBrowserRedirect&&a.push(`skip_http_redirect=${o.skipBrowserRedirect}`),`${t}?${a.join("&")}`}async _unenroll(t){try{return await this._useSession(async r=>{var o;const{data:a,error:i}=r;return i?{data:null,error:i}:await _t(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(o=a==null?void 0:a.session)===null||o===void 0?void 0:o.access_token})})}catch(r){if(ut(r))return{data:null,error:r};throw r}}async _enroll(t){try{return await this._useSession(async r=>{var o,a;const{data:i,error:n}=r;if(n)return{data:null,error:n};const s=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:{issuer:t.issuer}),{data:d,error:c}=await _t(this.fetch,"POST",`${this.url}/factors`,{body:s,headers:this.headers,jwt:(o=i==null?void 0:i.session)===null||o===void 0?void 0:o.access_token});return c?{data:null,error:c}:(t.factorType==="totp"&&(!((a=d==null?void 0:d.totp)===null||a===void 0)&&a.qr_code)&&(d.totp.qr_code=`data:image/svg+xml;utf-8,${d.totp.qr_code}`),{data:d,error:null})})}catch(r){if(ut(r))return{data:null,error:r};throw r}}async _verify(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var o;const{data:a,error:i}=r;if(i)return{data:null,error:i};const{data:n,error:s}=await _t(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(o=a==null?void 0:a.session)===null||o===void 0?void 0:o.access_token});return s?{data:null,error:s}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+n.expires_in},n)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",n),{data:n,error:s})})}catch(r){if(ut(r))return{data:null,error:r};throw r}})}async _challenge(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async r=>{var o;const{data:a,error:i}=r;return i?{data:null,error:i}:await _t(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:{channel:t.channel},headers:this.headers,jwt:(o=a==null?void 0:a.session)===null||o===void 0?void 0:o.access_token})})}catch(r){if(ut(r))return{data:null,error:r};throw r}})}async _challengeAndVerify(t){const{data:r,error:o}=await this._challenge({factorId:t.factorId});return o?{data:null,error:o}:await this._verify({factorId:t.factorId,challengeId:r.id,code:t.code})}async _listFactors(){const{data:{user:t},error:r}=await this.getUser();if(r)return{data:null,error:r};const o=(t==null?void 0:t.factors)||[],a=o.filter(n=>n.factor_type==="totp"&&n.status==="verified"),i=o.filter(n=>n.factor_type==="phone"&&n.status==="verified");return{data:{all:o,totp:a,phone:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var r,o;const{data:{session:a},error:i}=t;if(i)return{data:null,error:i};if(!a)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:n}=M0(a.access_token);let s=null;n.aal&&(s=n.aal);let d=s;((o=(r=a.user.factors)===null||r===void 0?void 0:r.filter(f=>f.status==="verified"))!==null&&o!==void 0?o:[]).length>0&&(d="aal2");const m=n.amr||[];return{data:{currentLevel:s,nextLevel:d,currentAuthenticationMethods:m},error:null}}))}async fetchJwk(t,r={keys:[]}){let o=r.keys.find(n=>n.kid===t);if(o||(o=this.jwks.keys.find(n=>n.kid===t),o&&this.jwks_cached_at+pve>Date.now()))return o;const{data:a,error:i}=await _t(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(i)throw i;if(!a.keys||a.keys.length===0)throw new ns("JWKS is empty");if(this.jwks=a,this.jwks_cached_at=Date.now(),o=a.keys.find(n=>n.kid===t),!o)throw new ns("No matching signing key found in JWKS");return o}async getClaims(t,r={keys:[]}){try{let o=t;if(!o){const{data:g,error:h}=await this.getSession();if(h||!g.session)return{data:null,error:h};o=g.session.access_token}const{header:a,payload:i,signature:n,raw:{header:s,payload:d}}=M0(o);if(Fve(i.exp),!a.kid||a.alg==="HS256"||!("crypto"in globalThis&&"subtle"in globalThis.crypto)){const{error:g}=await this.getUser(o);if(g)throw g;return{data:{claims:i,header:a,signature:n},error:null}}const c=Rve(a.alg),m=await this.fetchJwk(a.kid,r),f=await crypto.subtle.importKey("jwk",m,c,!0,["verify"]);if(!await crypto.subtle.verify(c,f,n,Tve(`${s}.${d}`)))throw new ns("Invalid JWT signature");return{data:{claims:i,header:a,signature:n},error:null}}catch(o){if(ut(o))return{data:null,error:o};throw o}}}hs.nextInstanceID=0;const oye=hs;class nye extends oye{constructor(t){super(t)}}var aye=function(e,t,r,o){function a(i){return i instanceof r?i:new r(function(n){n(i)})}return new(r||(r=Promise))(function(i,n){function s(m){try{c(o.next(m))}catch(f){n(f)}}function d(m){try{c(o.throw(m))}catch(f){n(f)}}function c(m){m.done?i(m.value):a(m.value).then(s,d)}c((o=o.apply(e,t||[])).next())})};class iye{constructor(t,r,o){var a,i,n;if(this.supabaseUrl=t,this.supabaseKey=r,!t)throw new Error("supabaseUrl is required.");if(!r)throw new Error("supabaseKey is required.");const s=dve(t),d=new URL(s);this.realtimeUrl=new URL("realtime/v1",d),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",d),this.storageUrl=new URL("storage/v1",d),this.functionsUrl=new URL("functions/v1",d);const c=`sb-${d.hostname.split(".")[0]}-auth-token`,m={db:tve,realtime:ove,auth:Object.assign(Object.assign({},rve),{storageKey:c}),global:eve},f=uve(o??{},m);this.storageKey=(a=f.auth.storageKey)!==null&&a!==void 0?a:"",this.headers=(i=f.global.headers)!==null&&i!==void 0?i:{},f.accessToken?(this.accessToken=f.accessToken,this.auth=new Proxy({},{get:(b,g)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(g)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((n=f.auth)!==null&&n!==void 0?n:{},this.headers,f.global.fetch),this.fetch=lve(r,this._getAccessToken.bind(this),f.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},f.realtime)),this.rest=new w_e(new URL("rest/v1",d).href,{headers:this.headers,schema:f.db.schema,fetch:this.fetch}),f.accessToken||this._listenForAuthEvents()}get functions(){return new c_e(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}get storage(){return new Z_e(this.storageUrl.href,this.headers,this.fetch)}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,r={},o={}){return this.rest.rpc(t,r,o)}channel(t,r={config:{}}){return this.realtime.channel(t,r)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,r;return aye(this,void 0,void 0,function*(){if(this.accessToken)return yield this.accessToken();const{data:o}=yield this.auth.getSession();return(r=(t=o.session)===null||t===void 0?void 0:t.access_token)!==null&&r!==void 0?r:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:r,detectSessionInUrl:o,storage:a,storageKey:i,flowType:n,lock:s,debug:d},c,m){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new nye({url:this.authUrl.href,headers:Object.assign(Object.assign({},f),c),storageKey:i,autoRefreshToken:t,persistSession:r,detectSessionInUrl:o,storage:a,flowType:n,lock:s,debug:d,fetch:m,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(t){return new N_e(this.realtimeUrl.href,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((r,o)=>{this._handleTokenChanged(r,"CLIENT",o==null?void 0:o.access_token)})}_handleTokenChanged(t,r,o){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==o?this.changedAccessToken=o:t==="SIGNED_OUT"&&(this.realtime.setAuth(),r=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const ML=(e,t,r)=>new iye(e,t,r);function lye({field:e,operator:t,value:r,isEmptyIgnored:o}){if(o&&!r)return[];switch(t){case"$eq":return[e,"eq",typeof r=="string"?`"${Gi(r)}"`:r];case"$ne":return[e,"neq",typeof r=="string"?`"${Gi(r)}"`:r];case"$lt":return[e,"lt",r];case"$gt":return[e,"gt",r];case"$lte":return[e,"lte",r];case"$gte":return[e,"gte",r];case"$iLike:contains":return[e,"ilike",`"%${Gi(r)}%"`];case"$notILike:contains":return[e,"not.ilike",`"%${Gi(r)}%"`];case"$iLike:startsWith":return[e,"ilike",`"${Gi(r)}%"`];case"$iLike:endsWith":return[e,"ilike",`"%${Gi(r)}"`];case"$eq:null":return[e,"is","null"];case"$ne:null":return[e,"not.is","null"];case"$in":return[e,"in",`(${r})`];case"$notIn":return[e,"not.in",`(${r})`];case"$overlap":return[e,"ov",`{${r}}`];case"$notOverlap":return[e,"not.ov",`{${r}}`];case"$contains":return[e,"cs",`{${r}}`]}}function TL(e){if(!e||!e.link||!e.conditions||e.if===!1)return"";const t=e.conditions.map(o=>o.link?TL(o):lye(o).join(".")).filter(o=>o);return t.length?`${e.link.slice(1)}(${t.join()})`:""}function Gi(e){return e.replaceAll("\\","\\\\\\\\").replaceAll('"','\\"')}function _a(e="supabase"){var a,i,n,s,d,c,m,f,b,g,h,y,w,M,A,L,C,I,F,R,q,W,K;const t=wwLib.wwPlugins[e];if(!(t!=null&&t.settings))return{projectUrl:null,publicApiKey:null,privateApiKey:null,customDomain:null,environment:A2()};const r=t.settings,o=A2();if((a=r==null?void 0:r.publicData)!=null&&a.environments){const N=r.publicData.environments,V=!!((i=N.production)!=null&&i.projectUrl&&((n=N.production)!=null&&n.apiKey)),J=!!((s=N.staging)!=null&&s.projectUrl&&((d=N.staging)!=null&&d.apiKey)),ee=!!((c=N.editor)!=null&&c.projectUrl&&((m=N.editor)!=null&&m.apiKey));let Z=null;if(o==="production"?V&&(Z="production"):o==="staging"?J?Z="staging":V&&(Z="production"):o==="editor"&&(ee?Z="editor":J?Z="staging":V&&(Z="production")),Z){const re=N[Z],X=(b=(f=r.privateData)==null?void 0:f.environments)==null?void 0:b[Z],oe=((g=r.privateData)==null?void 0:g.connectionMode)||(X==null?void 0:X.connectionMode)||null,ve=((h=re.projectUrl)==null?void 0:h.replace("https://","").replace(".supabase.co",""))||re.baseProjectRef||null;return{projectUrl:re.customDomain||re.projectUrl,projectRef:ve,baseProjectRef:re.baseProjectRef||ve||((w=(y=r==null?void 0:r.publicData)==null?void 0:y.projectUrl)==null?void 0:w.replace("https://","").replace(".supabase.co",""))||null,branch:re.branch||null,branchSlug:re.branchSlug||null,publicApiKey:re.apiKey,privateApiKey:(X==null?void 0:X.apiKey)||null,customDomain:re.customDomain||null,connectionMode:oe,accessToken:((M=r.privateData)==null?void 0:M.accessToken)||null,refreshToken:((A=r.privateData)==null?void 0:A.refreshToken)||null,databasePassword:(X==null?void 0:X.databasePassword)||null,connectionString:(X==null?void 0:X.connectionString)||null,environment:o,resolvedEnvironment:Z}}}if((L=r==null?void 0:r.publicData)!=null&&L.projectUrl&&((C=r==null?void 0:r.publicData)!=null&&C.apiKey)){const N=r.publicData.projectUrl,V=(N==null?void 0:N.replace("https://","").replace(".supabase.co",""))||null;return{projectUrl:r.publicData.customDomain||N,projectRef:V,baseProjectRef:V,branch:null,branchSlug:null,publicApiKey:r.publicData.apiKey,privateApiKey:((I=r.privateData)==null?void 0:I.apiKey)||null,customDomain:r.publicData.customDomain||null,connectionMode:((F=r.privateData)==null?void 0:F.connectionMode)||null,accessToken:((R=r.privateData)==null?void 0:R.accessToken)||null,refreshToken:((q=r.privateData)==null?void 0:q.refreshToken)||null,databasePassword:((W=r.privateData)==null?void 0:W.databasePassword)||null,connectionString:((K=r.privateData)==null?void 0:K.connectionString)||null,environment:o,resolvedEnvironment:"production"}}return{projectUrl:null,projectRef:null,baseProjectRef:null,branch:null,branchSlug:null,publicApiKey:null,privateApiKey:null,customDomain:null,environment:o,resolvedEnvironment:null}}function A2(){const e=wwLib.getEnvironment();return e==="editor"?"editor":e==="staging"?"staging":"production"}function Hd(e){return e?e.customDomain?e.customDomain:e.branch?`https://${e.branch}.supabase.co`:e.projectUrl?e.projectUrl:e.projectRef?`https://${e.projectRef}.supabase.co`:null:null}function rwe(e,t){var o,a;if(!((a=(o=e==null?void 0:e.publicData)==null?void 0:o.environments)!=null&&a[t]))return!1;const r=e.publicData.environments[t];return!!(r.projectUrl&&r.apiKey)}function sye(e=[]){const t=Array.isArray(e)?e:typeof e=="object"&&e!==null?Object.entries(e).map(([a,i])=>({key:a,value:i})):[];if(!t.length)return"";const r=new URLSearchParams;for(const a of t)a&&typeof a.key=="string"&&r.append(a.key,a.value??"");const o=r.toString();return o?`?${o}`:""}function dye(e=[]){const t={},r=Array.isArray(e)?e:typeof e=="object"&&e!==null?Object.entries(e).map(([o,a])=>({key:o,value:a})):[];for(const o of r)o&&typeof o.key=="string"&&(t[o.key]=typeof o.value=="string"?o.value:String(o.value??""));return t}function uye(e){try{return typeof e=="object"&&e!==null?e:typeof e=="string"?JSON.parse(e):e}catch(t){if(typeof e=="string")return console.warn("[Supabase] Non-JSON string response received:",e),e;throw new Error(`Failed to parse non-streaming function response of type ${typeof e}`,{cause:t})}}async function AL(e){var n,s,d;const t=(n=e==null?void 0:e.context)==null?void 0:n.status;let r=null,o="Unknown function invocation error";try{if(r=e!=null&&e.context?await((d=(s=e.context).text)==null?void 0:d.call(s)):null,r&&typeof r=="string")try{r=JSON.parse(r)}catch{}}catch(c){console.error("Failed to get Supabase error context text",c)}const a={name:e==null?void 0:e.name,message:e==null?void 0:e.message,status:t,responseBody:r,originalError:e};e instanceof pb?o=`Function returned an error status: ${t||"unknown"}`:e instanceof fb?o=`Function relay error: ${e.message}`:e instanceof nL?o=`Function fetch error: ${e.message}`:e!=null&&e.message&&(o=e.message);const i=new Error(o);return i.cause=a,i}async function cye({instance:e,functionName:t,queryString:r,method:o,body:a,headerObject:i},n){try{const{data:s,error:d}=await e.functions.invoke(t+r,{method:o,body:a,headers:i});if(d)throw d;const c=uye(s);return n==null||n.log("info",`[Supabase] Edge function executed successfully - ${t}`,{type:"response",preview:c}),c}catch(s){const d=await AL(s);throw n==null||n.log("error",`[Supabase] Edge function error - ${t}`,{type:"error",preview:d}),d}}async function mye({instance:e,functionName:t,queryString:r,method:o,body:a,headerObject:i,streamVariableId:n,wwLib:s},d){try{s.wwVariable.updateValue(n,[]);const c={method:o,body:o==="GET"?void 0:a,headers:{...i,Accept:"text/event-stream"},responseType:"stream"},{data:m,error:f}=await e.functions.invoke(t+r,c);if(f)throw f;if(!m||!m.body||typeof m.body.getReader!="function")throw console.error("[Supabase Stream Debug] Failed response data object:",m),new Error("Response data does not contain a readable stream.");const b=m.body.getReader(),g=new TextDecoder;let h="",y=!0;for(;y;){const{done:M,value:A}=await b.read();if(M){y=!1;break}const L=g.decode(A,{stream:!0});h+=L;let C;for(;(C=h.indexOf(` `))>=0;){let I=h.slice(0,C).trim();if(h=h.slice(C+1),!!I){if(I.startsWith("data:")){const F=I.substring(5).trim();if(F==="[DONE]"){y=!1,d==null||d.log("info","[Supabase Stream] Received [DONE] in data: line.");break}if(F)try{const R=JSON.parse(F),q=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...q,R])}catch(R){d==null||d.log("warn",`[Supabase Stream] Non-JSON data in data: line: ${F}`,{parseError:R});const q=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...q,F])}}else if(I==="[DONE]"){y=!1,d==null||d.log("info","[Supabase Stream] Received [DONE] on its own line.");break}else if(I.startsWith("id:")||I.startsWith("event:")||I.startsWith("retry:")||I.startsWith(":"))d==null||d.log("debug",`[Supabase Stream] Ignoring SSE metadata line: ${I}`);else try{const F=JSON.parse(I),R=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...R,F])}catch(F){d==null||d.log("debug",`[Supabase Stream] Adding raw line as non-JSON: ${I}`,{parseError:F});const R=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...R,I])}if(!y)break}}if(!y)break}const w=h.trim();if(w)if(w.startsWith("data:")){const M=w.substring(5).trim();if(M&&M!=="[DONE]")try{const A=JSON.parse(M),L=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...L,A])}catch(A){d==null||d.log("warn",`[Supabase Stream] Failed to parse JSON from final buffer data: line: ${M}`,{e:A});const L=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...L,M])}else M==="[DONE]"&&(d==null||d.log("info","[Supabase Stream] Received [DONE] in final buffer data: line."))}else if(w==="[DONE]")d==null||d.log("info","[Supabase Stream] Received [DONE] as final buffer content.");else if(w.startsWith("id:")||w.startsWith("event:")||w.startsWith("retry:")||w.startsWith(":"))d==null||d.log("debug",`[Supabase Stream] Ignoring SSE metadata in final buffer: ${w}`);else try{const M=JSON.parse(w),A=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...A,M])}catch(M){d==null||d.log("debug",`[Supabase Stream] Adding raw final buffer as non-JSON: ${w}`,{e:M});const A=s.wwVariable.getValue(n)||[];s.wwVariable.updateValue(n,[...A,w])}return d==null||d.log("info",`[Supabase] Streaming completed for Edge function - ${t}`,{type:"response"}),s.wwVariable.getValue(n)}catch(c){const m=await AL(c);throw d==null||d.log("error",`[Supabase] Streaming error for Edge function - ${t}`,{type:"error",preview:m}),m}}const gye={instance:null,channels:{},async _onLoad(e){let t=_a("supabase"),r=Hd(t);await this.load(r,t.publicApiKey),this.subscribeTables(e.publicData.realtimeTables||{})},async fetchProjectInfo(e=null){const t=e||_a("supabase"),r=t==null?void 0:t.projectUrl;if(!(t==null?void 0:t.accessToken)||!r)return;const a=this.getBranchQueryParams(t),{data:i}=await this.requestAPI({method:"GET",path:"/schema",params:a}),{data:n}=await this.requestAPI({method:"GET",path:"/edge",params:a});return this.projectInfo=i==null?void 0:i.data,this.projectInfo.edge=n==null?void 0:n.data,wwLib.$emit("wwTopBar:supabase:refresh"),this.projectInfo},getBranchQueryParams(e=_a("supabase")){if(!e)return;const t={};return e.branchSlug&&(t.branch=e.branchSlug),e.baseProjectRef&&(t.baseProjectRef=e.baseProjectRef),Object.keys(t).length?t:void 0},async onSave(e){await this.syncSettings(e);const t=_a("supabase");if(!t.projectUrl)return;const r=Hd(t);if(t.accessToken&&t.projectUrl&&(await this.install(),await this.fetchProjectInfo(t)),wwLib.wwPlugins.supabaseAuth){const o=_a("supabaseAuth"),a=Hd(o);await wwLib.wwPlugins.supabaseAuth.load(a,o.publicApiKey,o.privateApiKey)}else await this.load(r,t.publicApiKey),this.subscribeTables(e.publicData.realtimeTables||{})},async requestAPI({method:e,path:t,data:r,params:o,signal:a},i=!0){var n,s;try{const c=_a("supabase").environment;return await wwAxios({method:e,url:`${wwLib.wwApiRequests._getPluginsUrl()}/designs/${wwLib.$store.getters["websiteData/getDesignInfo"].id}/supabase${t}`,data:r,params:{...o,wwEnv:c},signal:a})}catch(d){if(d.name==="AbortError"||d.code==="ERR_CANCELED")throw d;const c=(n=wwLib.wwPlugins.supabase.settings.privateData.accessToken)==null?void 0:n.startsWith("sbp_oauth");if(i&&[401,403].includes((s=d.response)==null?void 0:s.status)&&c){const{data:m}=await wwAxios.post(`${wwLib.wwApiRequests._getPluginsUrl()}/designs/${wwLib.$store.getters["websiteData/getDesignInfo"].id}/supabase/refresh`);return await this.requestAPI({method:e,path:t,data:m,params:o,signal:a},!1)}throw wwLib.wwNotification.open({text:"Error while requesting the supabase project.",color:"red"}),d}},syncInstance(){wwLib.wwPlugins.supabaseAuth&&wwLib.wwPlugins.supabaseAuth.publicInstance&&(this.instance=wwLib.wwPlugins.supabaseAuth.publicInstance,this.subscribeTables(wwLib.wwPlugins.supabase.settings.publicData.realtimeTables||{}))},async _fetchCollection(e){if(e.mode==="dynamic")try{if(!this.instance){const s=_a("supabase"),d=Hd(s);d&&s.publicApiKey&&await this.load(d,s.publicApiKey)}const t=e.config.fieldsMode==="guided"?(e.config.dataFields||[]).join(", "):e.config.dataFieldsAdvanced;let r=this.instance.from(e.config.table).select(t||void 0,{count:e.limit?"exact":null});const o=TL(e.filter);o&&r.or(o),e.limit&&r.range(e.offset,e.offset+e.limit-1);for(const s of e.sort)r.order(s.key,{ascending:s.direction==="ASC"});const{data:a,error:i,count:n}=await r;return{data:a,error:i,total:n??(a==null?void 0:a.length)}}catch(t){return{data:[],error:Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:t[o]}),{})}}else return{data:null,error:null,total:0}},subscribeTables(e){if(this.instance)for(const t of Object.keys(e))e[t]&&this.instance.channel("ww:public:"+t).on("postgres_changes",{event:"*",schema:"public",table:t},this.onSubscribe).subscribe()},async load(e,t){if(!(!e||!t))try{if(this.instance=wwLib.wwPlugins.supabaseAuth&&wwLib.wwPlugins.supabaseAuth.publicInstance?wwLib.wwPlugins.supabaseAuth.publicInstance:ML(e,t),!this.instance)throw new Error("Invalid Supabase configuration.")}catch(r){this.instance=null,this.doc=null,wwLib.wwLog.error(r)}},async select({table:e,fieldsMode:t,dataFields:r,dataFieldsAdvanced:o,filters:a,modifiers:i},n){var b,g;n==null||n.log("info",`[Supabase] Selecting ${e}`,{type:"request"});const s=t==="guided"?(r||[]).join(", "):o,d=this.instance.from(e).select(s||void 0,{count:(b=i==null?void 0:i.count)==null?void 0:b.mode,head:(g=i==null?void 0:i.count)==null?void 0:g.countOnly});A0(d,a),Ni(d,i);const{data:c,count:m,error:f}=await d;if(f)throw new Error(f.message,{cause:f});return i!=null&&i.count?i.count.countOnly?m:{data:c,count:m}:c},async insert({table:e,data:t={},autoSync:r=!0,mode:o="single",modifiers:a={},defaultToNull:i=!0},n){var f;n==null||n.log("info",`[Supabase] Inserting inside ${e}`,{preview:t,type:"request"});const s=this.instance.from(e).insert(t,{count:(f=a==null?void 0:a.count)==null?void 0:f.mode,defaultToNull:i});Ni(s,{select:{mode:"guided",fields:[]},...a});const{data:d,count:c,error:m}=await s;if(m)throw new Error(m.code==="PGRST100"?"Mode minimal cannot be used on this postgres version, please update your supabase instance or use another mode.":m.message,{cause:m});return r&&this.performAutoSync(e,"INSERT",d),this.formatReturn(d,c,o==="single")},async update({table:e,primaryData:t={},data:r={},autoSync:o=!0,mode:a="single",filters:i=[],modifiers:n={}},s){var b;s==null||s.log("info",`[Supabase] Updating ${e}`,{type:"request",preview:{primaryData:t,filters:i,data:r}});const d=this.instance.from(e).update(r,{count:(b=n==null?void 0:n.count)==null?void 0:b.mode});a==="single"?d.match(t):A0(d,i),Ni(d,{select:{mode:"guided",fields:[]},...n});const{data:c,count:m,error:f}=await d;if(f)throw new Error(f.code==="PGRST100"?"Mode minimal cannot be used on this postgres version, please update your supabase instance or use another mode.":f.message,{cause:f});return o&&this.performAutoSync(e,"UPDATE",c),this.formatReturn(c,m,a==="single")},async upsert({table:e,data:t={},ignoreDuplicates:r=!1,onConflict:o=[],defaultToNull:a=!0,autoSync:i=!0,mode:n="single",modifiers:s={}},d){var g;d==null||d.log("info",`[Supabase] Upserting data inside ${e}`,{type:"request",preview:t});const c=this.instance.from(e).upsert(t,{count:(g=s==null?void 0:s.count)==null?void 0:g.mode,ignoreDuplicates:r,...o.length?{onConflict:o.join(",")}:null,defaultToNull:a});Ni(c,{select:{mode:"guided",fields:[]},...s});const{data:m,count:f,error:b}=await c;if(b)throw new Error(b.code==="PGRST100"?"Mode minimal cannot be used on this postgres version, please update your supabase instance or use another mode.":b.message,{cause:b});return i&&this.performAutoSync(e,"UPSERT",m),this.formatReturn(m,f,n==="single")},async delete({table:e,primaryData:t={},autoSync:r=!0,mode:o="single",filters:a=[],modifiers:i={}},n){var f;n==null||n.log("info",`[Supabase] Deleting from ${e}`,{type:"request",preview:o==="single"?t:a});const s=this.instance.from(e).delete({count:(f=i==null?void 0:i.count)==null?void 0:f.mode});o==="single"?s.match(t):A0(s,a),Ni(s,{select:{mode:"guided",fields:[]},...i});const{data:d,count:c,error:m}=await s;if(m)throw new Error(m.code==="PGRST100"?"Mode minimal cannot be used on this postgres version, please update your supabase instance or use another mode.":m.message,{cause:m});return r&&this.performAutoSync(e,"DELETE",d),this.formatReturn(d,c,o==="single")},async callPostgresFunction({functionName:e,params:t,modifiers:r},o){var d,c;const a=this.instance.rpc(e,Array.isArray(t)?t.reduce((m,f)=>({...m,[f.key]:f.value}),{}):t,{count:(d=r==null?void 0:r.count)==null?void 0:d.mode,head:(c=r==null?void 0:r.count)==null?void 0:c.countOnly});Ni(a,r),o==null||o.log("info",`[Supabase] Call a Postgres function - ${e}`,{type:"request",preview:t});const{data:i,count:n,error:s}=await a;if(s)throw new Error(s.message,{cause:s});return this.formatReturn(i,n)},async invokeEdgeFunction(e,t){const{functionName:r,body:o,headers:a=[],queries:i=[],method:n="POST",useStreaming:s=!1,streamVariableId:d=null}=e;t==null||t.log("info",`[Supabase] ${s?"Streaming":"Invoking"} Edge function - ${r}`,{type:"request",preview:{body:o,headers:a,method:n}});const c=sye(i),m=dye(a);return s?await mye({instance:this.instance,functionName:r,queryString:c,method:n,body:o,headerObject:m,streamVariableId:d,wwLib},t):await cye({instance:this.instance,functionName:r,queryString:c,method:n,body:o,headerObject:m},t)},async listFiles({bucket:e,path:t,options:r={}},o){o==null||o.log("info","[Supabase] List all files",{type:"request",preview:{bucket:e,path:t,options:r}});const{data:a,error:i}=await this.instance.storage.from(e).list(t,{...r.limit?{limit:r.limit}:{},...r.offset?{offset:r.offset}:{},...r.search?{search:r.search}:{},...r.sortBy?{sortBy:r.sortBy}:{}});if(i)throw new Error(i.message,{cause:i});return a},async uploadFile({bucket:e,path:t,file:r,options:o={}},a){a==null||a.log("info","[Supabase] Upload a file",{type:"request",preview:{bucket:e,path:t,file:r,options:o}});const{data:i,error:n}=await this.instance.storage.from(e).upload(t,r,{...o.cacheControl?{cacheControl:o.cacheControl}:{},...o.upsert?{upsert:o.upsert}:{},...o.contentType?{contentType:o.contentType}:{},...o.duplex?{duplex:o.duplex}:{}});if(n)throw new Error(n.message,{cause:n});return i},async downloadFile({bucket:e,path:t,options:r={transform:null}},o){o==null||o.log("info","[Supabase] Download a file",{type:"request",preview:{bucket:e,path:t,options:r}});const{data:a,error:i}=this.instance.storage.from(e).download(t,r.transform?{transform:{...r.transform.format?{format:r.transform.format}:{},...r.transform.quality?{quality:r.transform.quality}:{},...r.transform.resize?{resize:r.transform.resize}:{},...r.transform.width?{width:r.transform.width}:{},...r.transform.height?{height:r.transform.height}:{}}}:{});if(i)throw new Error(i.message,{cause:i});return a},async updateFile({bucket:e,path:t,file:r,options:o={}},a){a==null||a.log("info","[Supabase] Update a file",{type:"request",preview:{bucket:e,path:t,file:r,options:o}});const{data:i,error:n}=this.instance.storage.from(e).update(t,r,{...o.cacheControl?{cacheControl:o.cacheControl}:{},...o.upsert?{upsert:o.upsert}:{},...o.contentType?{contentType:o.contentType}:{},...o.duplex?{duplex:o.duplex}:{}});if(n)throw new Error(n.message,{cause:n});return i},async moveFile({bucket:e,path:t,newPath:r},o){o==null||o.log("info","[Supabase] Move a file",{type:"request",preview:{bucket:e,path:t,newPath:r}});const{data:a,error:i}=await this.instance.storage.from(e).move(t,r);if(i)throw new Error(i.message,{cause:i});return a},async copyFile({bucket:e,path:t,newPath:r},o){o==null||o.log("info","[Supabase] Copy a file",{type:"request",preview:{bucket:e,path:t,newPath:r}});const{data:a,error:i}=await this.instance.storage.from(e).copy(t,r);if(i)throw new Error(i.message,{cause:i});return a},async deleteFiles({bucket:e,paths:t},r){r==null||r.log("info","[Supabase] Delete files",{type:"request",preview:{bucket:e,paths:t}});const{data:o,error:a}=await this.instance.storage.from(e).remove(Array.isArray(t)?t:[t]);if(a)throw new Error(a.message,{cause:a});return o},async createSignedUrl({mode:e="single",bucket:t,path:r,expiresIn:o,options:a={download:!1,transform:null}},i){let n=this.instance.storage.from(t);i==null||i.log("info","[Supabase] Create a signed URL",{type:"request",preview:{bucket:t,path:r,expiresIn:o,options:a}}),e==="single"?n=n.createSignedUrl(r,o,{download:a.download?a.download.filename||!0:!1,transform:a.transform?{...a.transform.format?{format:a.transform.format}:{},...a.transform.quality?{quality:a.transform.quality}:{},...a.transform.resize?{resize:a.transform.resize}:{},...a.transform.width?{width:a.transform.width}:{},...a.transform.height?{height:a.transform.height}:{}}:null}):n=n.createSignedUrls(r,o,{download:a.download?a.download.filename||!0:!1});const{data:s,error:d}=await n;if(d)throw new Error(d.message,{cause:d});return s},getPublicUrl({bucket:e,path:t,options:r={download:!1,transform:null}},o){o==null||o.log("info","[Supabase] Retrieve a public URL",{type:"request",preview:{bucket:e,path:t,options:r}});const{data:a,error:i}=this.instance.storage.from(e).getPublicUrl(t,{download:r.download?r.download.filename||!0:!1,...r.transform?{transform:{...r.transform.format?{format:r.transform.format}:{},...r.transform.quality?{quality:r.transform.quality}:{},...r.transform.resize?{resize:r.transform.resize}:{},...r.transform.width?{width:r.transform.width}:{},...r.transform.height?{height:r.transform.height}:{}}}:{}});if(i)throw new Error(i.message,{cause:i});return a},onSubscribe(e){const t=Object.values(wwLib.$store.getters["data/getCollections"]).filter(r=>r.pluginId==="f9ef41c3-1c53-4857-855b-f2f6a40b7186"&&r.config.table===e.table);switch(e.eventType){case"INSERT":for(const r of t)Yd(r.data,e.new,r.config.primaryData)===-1&&wwLib.$store.dispatch("data/setCollection",{...r,total:r.total+1,data:[...Array.isArray(r.data)?r.data:[],e.new]});return;case"UPDATE":for(const r of t){const o=Yd(r.data,e.new,r.config.primaryData);if(o===-1)continue;const a=[...Array.isArray(r.data)?r.data:[]];a.splice(o,1,{...a[o],...e.new}),wwLib.$store.dispatch("data/setCollection",{...r,data:a})}return;case"UPSERT":for(const r of t){const o=Yd(r.data,e.new,r.config.primaryData),a=[...Array.isArray(r.data)?r.data:[]],i=o===-1;i?a.push(e.new):a.splice(o,1,{...a[o],...e.new}),wwLib.$store.dispatch("data/setCollection",{...r,total:r.total+(i?1:0),data:a})}return;case"DELETE":for(const r of t){const o=Yd(r.data,e.old,r.config.primaryData);if(o===-1)continue;const a=[...Array.isArray(r.data)?r.data:[]];a.splice(o,1),wwLib.$store.dispatch("data/setCollection",{...r,total:r.total-1,data:a})}return}},subscribeToChannel({channel:e,type:t="postgres_changes",event:r="*",schema:o="*",table:a,filter:i,self:n=!1,presence:s=!1}){const d=this.instance.channel(e,{config:{broadcast:{self:n}}});d.on(t,{event:r||"*",...t==="postgres_changes"?{schema:o||"*"}:{},...t==="postgres_changes"&&a?{table:a}:{},...t==="postgres_changes"&&i?{filter:i}:{}},c=>{wwLib.wwWorkflow.executeTrigger(this.id+"-realtime:"+t,{event:{channel:e,data:c},conditions:{channel:e,event:c.event||c.eventType}})}),s&&d.on("presence",{event:"*"},c=>{wwLib.wwWorkflow.executeTrigger(this.id+"-realtime:presence",{event:{channel:e,data:c},conditions:{channel:e,event:c.event}})}),d.subscribe()},unsubscribeFromChannel({channel:e}){const t=this.instance.getChannels().find(r=>r.subTopic===e);if(!t)throw new Error("Channel not found, please subscribe to the channel before unsubscribing.");this.instance.removeChannel(t)},sendMessageToChannel({channel:e,type:t="broadcast",event:r,payload:o}){debugger;const a=this.instance.getChannels().find(i=>i.subTopic===e);if(!a)throw new Error("Channel not found, please subscribe to the channel before sending a message.");a.send({type:t,event:r,payload:o})},updateChannelState({channel:e,state:t}){const r=this.instance.getChannels().find(o=>o.subTopic===e);if(!r)throw new Error("Channel not found, please subscribe to the channel before updating the state.");r.track(t)},performAutoSync(e,t,r){if(!r||this.settings.publicData.realtimeTables[e]||typeof r=="string")return;const o=Array.isArray(r)?r:[r];for(const a of o)this.onSubscribe({table:e,eventType:t,[t==="DELETE"?"old":"new"]:a})},formatReturn(e,t,r=!1){const o=r&&Array.isArray(e)?e[0]||null:e;return t!==null?{data:o,count:t}:o},types:{integer:"number",string:"query"}},A0=(e,t=[])=>{for(const r of t)r.isEnabled&&(r.fn==="textSearch"?e[r.fn](r.column,r.value,r.options||{}):r.fn==="or"?e[r.fn](r.value):r.fn==="filter"||r.fn==="not"?e[r.fn](r.column,r.operator,r.value):e[r.fn](r.column,r.value))},Ni=(e,{select:t,order:r,limit:o,range:a,single:i,maybeSingle:n,csv:s,explain:d}={})=>{t&&e.select(t.mode==="minimal"?"":t.mode==="guided"?t!=null&&t.fields.length?t.fields.join(", "):"*":t==null?void 0:t.fieldsAdvanced),r&&r.column&&e.order(r.column,{ascending:r.ascending,foreignTable:r.foreignTable,nullsFirst:r.nullsFirst}),o&&o.count&&e.limit(o.count,{foreignTable:o.foreignTable}),a&&(a.from||a.to)&&e.range(a.from,a.to,{foreignTable:a.foreignTable}),i&&e.limit(1).single(),n&&e.limit(1).maybeSingle(),s&&e.csv(),d&&e.explain(d)},Yd=(e,t,r)=>Array.isArray(e)?e.findIndex(o=>r.every(a=>o&&o[a]===t[a])):-1;function L2(e="supabaseAuth"){var a,i,n,s,d,c,m,f,b,g,h,y,w,M,A,L,C,I,F,R,q,W,K;const t=wwLib.wwPlugins[e];if(!(t!=null&&t.settings))return{projectUrl:null,publicApiKey:null,privateApiKey:null,customDomain:null,environment:$2()};const r=t.settings,o=$2();if((a=r==null?void 0:r.publicData)!=null&&a.environments){const N=r.publicData.environments,V=!!((i=N.production)!=null&&i.projectUrl&&((n=N.production)!=null&&n.apiKey)),J=!!((s=N.staging)!=null&&s.projectUrl&&((d=N.staging)!=null&&d.apiKey)),ee=!!((c=N.editor)!=null&&c.projectUrl&&((m=N.editor)!=null&&m.apiKey));let Z=null;if(o==="production"?V&&(Z="production"):o==="staging"?J?Z="staging":V&&(Z="production"):o==="editor"&&(ee?Z="editor":J?Z="staging":V&&(Z="production")),Z){const re=N[Z],X=(b=(f=r.privateData)==null?void 0:f.environments)==null?void 0:b[Z],oe=((g=r.privateData)==null?void 0:g.connectionMode)||(X==null?void 0:X.connectionMode)||null,ve=((h=re.projectUrl)==null?void 0:h.replace("https://","").replace(".supabase.co",""))||re.baseProjectRef||null;return{projectUrl:re.customDomain||re.projectUrl,projectRef:ve,baseProjectRef:re.baseProjectRef||ve||((w=(y=r==null?void 0:r.publicData)==null?void 0:y.projectUrl)==null?void 0:w.replace("https://","").replace(".supabase.co",""))||null,branch:re.branch||null,branchSlug:re.branchSlug||null,publicApiKey:re.apiKey,privateApiKey:(X==null?void 0:X.apiKey)||null,customDomain:re.customDomain||null,connectionMode:oe,accessToken:((M=r.privateData)==null?void 0:M.accessToken)||null,refreshToken:((A=r.privateData)==null?void 0:A.refreshToken)||null,databasePassword:(X==null?void 0:X.databasePassword)||null,connectionString:(X==null?void 0:X.connectionString)||null,environment:o,resolvedEnvironment:Z}}}if((L=r==null?void 0:r.publicData)!=null&&L.projectUrl&&((C=r==null?void 0:r.publicData)!=null&&C.apiKey)){const N=r.publicData.projectUrl,V=(N==null?void 0:N.replace("https://","").replace(".supabase.co",""))||null;return{projectUrl:r.publicData.customDomain||N,projectRef:V,baseProjectRef:V,branch:null,branchSlug:null,publicApiKey:r.publicData.apiKey,privateApiKey:((I=r.privateData)==null?void 0:I.apiKey)||null,customDomain:r.publicData.customDomain||null,connectionMode:((F=r.privateData)==null?void 0:F.connectionMode)||null,accessToken:((R=r.privateData)==null?void 0:R.accessToken)||null,refreshToken:((q=r.privateData)==null?void 0:q.refreshToken)||null,databasePassword:((W=r.privateData)==null?void 0:W.databasePassword)||null,connectionString:((K=r.privateData)==null?void 0:K.connectionString)||null,environment:o,resolvedEnvironment:"production"}}return{projectUrl:null,projectRef:null,baseProjectRef:null,branch:null,branchSlug:null,publicApiKey:null,privateApiKey:null,customDomain:null,environment:o,resolvedEnvironment:null}}function $2(){const e=wwLib.getEnvironment();return e==="editor"?"editor":e==="staging"?"staging":"production"}function fye(e){return e?e.customDomain?e.customDomain:e.branch?`https://${e.branch}.supabase.co`:e.projectUrl?e.projectUrl:e.projectRef?`https://${e.projectRef}.supabase.co`:null:null}function owe(e,t){var o,a;if(!((a=(o=e==null?void 0:e.publicData)==null?void 0:o.environments)!=null&&a[t]))return!1;const r=e.publicData.environments[t];return!!(r.projectUrl&&r.apiKey)}const pye={privateInstance:null,publicInstance:null,async _onLoad(e){const t=L2("supabaseAuth");await this.load(t.projectUrl,t.publicApiKey)},async _initAuth(){await this.refreshAuthUser()},_getUserRoles(){var e;return((e=this.user)==null?void 0:e.roles)||[]},_matchRoles(e){return e.every(t=>{var r,o;return(o=(r=this.user)==null?void 0:r.roles)==null?void 0:o.map(({id:a})=>a).includes(t)})},async load(e,t,r=null){try{const o=L2("supabaseAuth"),a=fye(o)||e,i=(o==null?void 0:o.publicApiKey)||t,n=(o==null?void 0:o.privateApiKey)||r;if(!a||!i)return;if(this.publicInstance=ML(a,i,{auth:{storageKey:wwLib.wwWebsiteData.getInfo().id}}),wwLib.wwPlugins.supabase&&wwLib.wwPlugins.supabase.syncInstance(),!this.privateInstance&&!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");this.publicInstance.auth.onAuthStateChange(async(s,d)=>{if(s!=="SIGNED_OUT"){if(s=="USER_DELETED")return this.signOut();s=="USER_UPDATED"&&this.refreshAuthUser(d),s==="SIGNED_IN"&&this.refreshAuthUser(d),s=="TOKEN_REFRESHED"&&L0(d)}})}catch(o){this.publicInstance=null,this.privateInstance=null,this.doc=null,wwLib.wwLog.error(o)}},async signUp({type:e="email",email:t,phone:r,channel:o,password:a,metadata:i,redirectPage:n,captchaToken:s}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");try{const d=Array.isArray(i)?i.reduce((g,h)=>({...g,[h.key]:h.value}),{}):i,c=wwLib.wwWebsiteData.getInfo().id,m=n&&(wwLib.manager?`${window.location.origin}/${c}/${n}`:`${window.location.origin}${wwLib.wwPageHelper.getPagePath(n)}`),{data:f,error:b}=await this.publicInstance.auth.signUp(e==="email"?{email:t,password:a,options:{captchaToken:s,data:d,emailRedirectTo:m}}:{phone:r,password:a,options:{channel:o,captchaToken:s,data:d,emailRedirectTo:m}});if(b)throw new Error(b.message,{cause:b});return f}catch(d){throw wwLib.wwLog.error(d),d}},async signInEmail({email:e,password:t,captchaToken:r}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e||!t)throw new Error("Email and Password are required.");try{const{data:o,error:a}=await this.publicInstance.auth.signInWithPassword({email:e,password:t,options:{captchaToken:r}});if(a)throw new Error(a.message,{cause:a});return await this.refreshAuthUser(o==null?void 0:o.session)}catch(o){throw wwLib.wwLog.error(o),o}},async signInPhone({phone:e,password:t,captchaToken:r}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e||!t)throw new Error("Phone and Password are required.");try{const{data:o,error:a}=await this.publicInstance.auth.signInWithPassword({phone:e,password:t,options:{captchaToken:r}});if(a)throw new Error(a.message,{cause:a});return await this.refreshAuthUser(o==null?void 0:o.session)}catch(o){throw wwLib.wwLog.error(o),o}},async signInOIDC({token:e,provider:t,access_token:r,nonce:o,captchaToken:a}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e||!t)throw new Error("Token and Provider are required.");try{const{data:i,error:n}=await this.publicInstance.auth.signInWithIdToken({token:e,provider:t,access_token:r,nonce:o,options:{captchaToken:a}});if(n)throw new Error(n.message,{cause:n});return await this.refreshAuthUser(i==null?void 0:i.session)}catch(i){throw wwLib.wwLog.error(i),i}},async signInMagicLink({email:e,redirectPage:t,captchaToken:r}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e)throw new Error("Email is required.");const o=wwLib.wwWebsiteData.getInfo().id,a=wwLib.manager?`${window.location.origin}/${o}/${t}`:`${window.location.origin}${wwLib.wwPageHelper.getPagePath(t)}`,{data:i,error:n}=await this.publicInstance.auth.signInWithOtp({email:e,options:{emailRedirectTo:a,captchaToken:r}});if(n)throw new Error(n.message,{cause:n});return i},async signInOTP({type:e="phone",email:t,phone:r,channel:o,captchaToken:a,shouldCreateUser:i=!0}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(e==="email"&&!t)throw new Error("Email is required.");if(e==="phone"&&!r)throw new Error("Phone is required.");try{const{data:n,error:s}=await this.publicInstance.auth.signInWithOtp(e==="email"?{email:t,options:{captchaToken:a,shouldCreateUser:i}}:{phone:r,options:{channel:o,captchaToken:a,shouldCreateUser:i}});if(s)throw new Error(s.message,{cause:s});return n!=null&&n.session?await this.refreshAuthUser(n==null?void 0:n.session):n}catch(n){throw wwLib.wwLog.error(n),n}},async signInProvider({provider:e,redirectPage:t,queryParams:r,scopes:o,skipBrowserRedirect:a}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e)throw new Error("Provider is required.");const i=wwLib.wwWebsiteData.getInfo().id,n=wwLib.manager?`${window.location.origin}/${i}/${t}`:`${window.location.origin}${wwLib.wwPageHelper.getPagePath(t)}`;try{const{data:s,error:d}=await this.publicInstance.auth.signInWithOAuth({provider:e,options:{redirectTo:n,scopes:o,queryParams:Array.isArray(r)?r.reduce((c,m)=>({...c,[m.key]:m.value})):r,skipBrowserRedirect:a}});if(d)throw new Error(d.message,{cause:d});return s}catch(s){throw wwLib.wwLog.error(s),s}},async signInSSO({domain:e,providerId:t}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!e&&!t)throw new Error("Domain or ProviderId is required.");try{const{data:r,error:o}=await this.publicInstance.auth.signInWithSSO(e?{domain:e}:{providerId:t});if(o)throw new Error(o.message,{cause:o});r!=null&&r.url&&(window.location.href=r.url)}catch(r){throw wwLib.wwLog.error(r),r}},async verifyOTP({type:e,email:t,phone:r,token:o,tokenHash:a}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const i=["email","recovery","invite","email_change"].includes(e),n=["sms","phone_change"].includes(e);if(i&&!t)throw new Error("Email is required.");if(n&&!r)throw new Error("Phone is required.");try{const{data:{session:s},error:d}=await this.publicInstance.auth.verifyOtp({type:e,...i?{email:t}:null,...n?{phone:r}:null,...o?{token:o}:null,...a?{token_hash:a}:null});if(d)throw new Error(d.message,{cause:d});return await this.refreshAuthUser(s)}catch(s){throw wwLib.wwLog.error(s),s}},async resendOTP({type:e,email:t,phone:r,redirectPage:o}){const a=["signup","email_change"].includes(e),i=["sms","phone_change"].includes(e);if(a&&!t)throw new Error("Email is required.");if(i&&!r)throw new Error("Phone is required.");const n=wwLib.wwWebsiteData.getInfo().id,s=wwLib.manager?`${window.location.origin}/${n}/${o}`:`${window.location.origin}${wwLib.wwPageHelper.getPagePath(o)}`,{data:d,error:c}=await this.publicInstance.auth.resend({type:e,...a?{email:t}:null,...i?{phone:r}:null,options:{emailRedirectTo:s}});if(c)throw new Error(c.message,{cause:c});return d},signOut(){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");this.user=null,this.isAuthenticated=!1;const e=wwLib.manager?"/"+wwLib.wwWebsiteData.getInfo().id:"/";window.vm.config.globalProperties.$cookie.removeCookie("sb-access-token",{path:e,domain:window.location.hostname}),window.vm.config.globalProperties.$cookie.removeCookie("sb-refresh-token",{path:e,domain:window.location.hostname}),window.vm.config.globalProperties.$cookie.removeCookie("sb-access-token",{path:e,domain:"."+window.location.hostname}),window.vm.config.globalProperties.$cookie.removeCookie("sb-refresh-token",{path:e,domain:"."+window.location.hostname}),this.publicInstance.auth.signOut()},fetchUser(){return this.refreshAuthUser()},async refreshAuthUser(e){var i;if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const{data:t}=await this.publicInstance.auth.getSession(),r=e||t.session,o=r?r.user:t.user,a=wwLib.wwVariable.getValue(`${this.id}-user`);return o?(o.roles=await this.getUserRoles(o.id),o._session={access_token:r.access_token,expires_in:r.expires_in,expires_at:r.expires_at,provider_token:r.provider_token||((i=a==null?void 0:a._session)==null?void 0:i.provider_token),refresh_token:r.refresh_token,token_type:r.token_type},this.user=o,this.isAuthenticated=!0,L0(r),o):(this.signOut(),!1)},async getUserRoles(e){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");return this.settings.publicData.userRoleTable?(await this.publicInstance.from(this.settings.publicData.userRoleTable).select(`role:${this.settings.publicData.userRoleTableRoleColumn||"roleId"}(*)`).eq(this.settings.publicData.userRoleTableUserColumn||"userId",e)).data.map(({role:r})=>r):[]},async updateUserMeta({email:e,phone:t,metadata:r}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const o=(r||[]).reduce((n,s)=>({...n,[s.key]:s.value}),{}),{data:a,error:i}=await this.publicInstance.auth.updateUser({email:e,phone:t,data:o});if(i)throw new Error(i.message,{cause:i});return a},async updateUserPassword({oldPassword:e,newPassword:t}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");if(!this.user)throw new Error("User not authenticated.");const{error:r}=await this.publicInstance.auth.signInWithPassword({...this.user.email?{email:this.user.email}:this.user.phone?{phone:this.user.phone}:null,password:e});if(r)throw new Error(r.message,{cause:r});const{data:o,error:a}=await this.publicInstance.auth.updateUser({password:t});if(a)throw new Error(a.message,{cause:a});return o},async resetPasswordForEmail({email:e,redirectPage:t}){if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const r=wwLib.wwWebsiteData.getInfo().id,o=wwLib.manager?`${window.location.origin}/${r}/${t}`:`${window.location.origin}${wwLib.wwPageHelper.getPagePath(t)}`,{error:a}=await this.publicInstance.auth.resetPasswordForEmail(e,{redirectTo:o});if(a)throw new Error(a.message,{cause:a})},async confirmPassword({newPassword:e}){var o;if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const{data:t}=await this.publicInstance.auth.getSession();if(!((o=t==null?void 0:t.session)!=null&&o.access_token))throw new Error("No access token provided.");const{error:r}=await this.publicInstance.auth.updateUser({password:e});if(r)throw new Error(r.message,{cause:r})},async refreshSession(){var i;if(!this.publicInstance)throw new Error("Invalid Supabase Auth configuration.");const{data:e,error:t}=await this.publicInstance.auth.refreshSession();if(t)throw new Error(t.message,{cause:t});const r=wwLib.wwVariable.getValue(`${this.id}-user`),{user:o,session:a}=e;!o||!a||(this.user={...r,...o,_session:{access_token:a==null?void 0:a.access_token,expires_in:a==null?void 0:a.expires_in,expires_at:a==null?void 0:a.expires_at,provider_token:(i=r==null?void 0:r._session)==null?void 0:i.provider_token,refresh_token:a==null?void 0:a.refresh_token,token_type:a==null?void 0:a.token_type}},this.isAuthenticated=!0,L0(a))}},L0=e=>{const t=wwLib.manager?"/"+wwLib.wwWebsiteData.getInfo().id:"/";window.vm.config.globalProperties.$cookie.setCookie("sb-access-token",e.access_token,{expire:e.expires_in,path:t,domain:window.location.hostname,secure:!0,sameSite:"Lax"}),window.vm.config.globalProperties.$cookie.setCookie("sb-refresh-token",e.refresh_token,{expire:"1y",path:t,domain:window.location.hostname,secure:!0,sameSite:"Lax"})};var bye={};const hye={...Il,$on(e,t){$d.on(e,t)},$once(e,t){$d.once(e,t)},$emit(e,...t){e&&$d.emit(e,...t)},$off(e,t){$d.off(e,t)},front:{},$focus:null,env:"production",async initFront({router:e,store:t}){this.front.router=e,this.$store=t,this.wwLog.init(),wwLib.logStore.verbose("Starting the application..."),await this.wwWebsiteData.init(),this.wwLang.init(e),wwLib.wwPluginHelper.registerPlugin("plugin-832d6f7a-42c3-43f1-a3ce-9a678272f811",aq),wwLib.wwPluginHelper.registerPlugin("plugin-69d4a5bb-09a3-4f3d-a94e-667c21c057eb",iq),wwLib.wwPluginHelper.registerPlugin("plugin-66a79c98-70e7-4bc4-8859-20776b024ec2",T1e),wwLib.wwPluginHelper.registerPlugin("plugin-2bd1c688-31c5-443e-ae25-59aa5b6431fb",s_e),wwLib.wwPluginHelper.registerPlugin("plugin-f9ef41c3-1c53-4857-855b-f2f6a40b7186",gye),wwLib.wwPluginHelper.registerPlugin("plugin-1fa0dd68-5069-436c-9a7d-3b54c340f1fa",pye),Il.scrollStore.start(),Il.keyboardEventStore.start()},getResponsiveStyleProp({store:e,style:t,uid:r,states:o=[],prop:a}){if(e=e||wwLib.getFrontWindow().wwLib.$store,!t&&r){const d=this.$store.getters["websiteData/getWwObjects"][r];if(!d)return"";t=(d._state||{}).style||{}}const i=e.getters["front/getScreenSizes"],n=e.getters["front/getScreenSize"];let s="";for(const d in i)if(t[d]&&typeof t[d][a]<"u"&&(s=t[d][a]),d===n)break;for(const d of o)for(const c in i)if(t[`${d}_${c}`]&&t[`${d}_${c}`][a]&&(s=t[`${d}_${c}`][a]),c===n)break;return s},globalContext:yt({page:ye(()=>{const e=wwLib.$store.getters["websiteData/getPage"];if(e){if(!e.cmsDataSetPath)return{...$0(e)}}else return{};return{...$0(e),data:wwLib.$store.getters["data/getPageCollectionData"]}}),pageParameters:ye(()=>{const e=Object.values(wwLib.$store.getters["data/getPageParameterVariables"]),t={};for(const r of e)t[r.id]=r.value;return t}),pages:ye(()=>{const e=wwLib.$store.getters["websiteData/getPages"],t={};for(const r of e)t[r.id]=$0(r);return t}),colors:ye(()=>wwLib.$store.getters["front/getTheme"]==="dark"?{"5d7b33aa-de23-4764-85d8-e78f6a1dd38a":"#3b82f6","894ff656-edb5-4144-a407-59ddc87882fd":"#34d399","31575d56-8583-47a5-aa96-6b596b95d829":"#fbbf24","6957fafe-8e87-4273-82c4-14a652e41237":"#f87171","2b70b0dd-535d-47b7-bd86-0e49ff890ca8":"#1f2937","f8e4acf0-714c-4d0a-ac6a-21d7c6c66a01":"#374151","14ccfe79-5445-4654-89dc-900792b3eabb":"#f9fafb","555cf332-70b3-4f5c-8d89-ed0232907506":"#9ca3af","03f97d03-e8b5-4260-b9a6-84b4e9ac4edb":"#000000D9","db07d869-7076-4fff-8cb5-8f81b9060866":"#00000040","afb0622b-008d-4d99-893c-0f0ebe9cb2ae":"#00000073","7135d9d0-003f-4d5b-979b-4835ed0b65bd":"#0000000F","269e56d1-6215-4b79-9d82-7e6cee40fa2a":"#000000D9","8fbac7c3-9c29-4120-a916-efddf0ee92e0":"#00000040","b841af6a-0836-4052-adfd-99ee3aa9ee4a":"#FFFFFF","a30feb65-a942-4bac-9f38-16dfb4436c11":"#e1e3e5","02e08795-d352-49fd-bc93-5286044ef953":"#c2c7ce","c8122ad7-6c9a-437c-84eb-04e924772175":"#a3acb9","e04035ac-59ff-4f90-9036-1e77cda9cb24":"#8692a1","fdb7537c-e7ec-40ba-a311-0e01c275a6ee":"#6c7888","a74a44a9-425f-4705-b866-f1421c68df52":"#545f6c","781a330b-49ce-4467-80f7-40a4a21b1299":"#3f4750","34573081-741e-4f9b-bb0a-b54fa699d29d":"#2a2f34","04645073-e69e-4e73-80ef-5f1f56118c99":"#151618","44df1337-b30d-48d2-9cdf-9c0ce338502e":"#e2e2e2","b56a2bd5-4834-484d-8ecb-7760c0ebc14b":"#c7c7c7","e964af1c-8020-4e44-96df-93b418abf1ff":"#ababab","aed66389-4433-45b2-be66-5622e3df32e7":"#919191","5172739f-2906-4f10-a758-a1d4929606dc":"#777777","eb5500ae-9ab2-4f6a-83e9-afdc2e3bc1b2":"#5e5e5e","1804f5dd-ffbe-4d0f-a18e-7d9af9eb1c8f":"#464646","f0e9c89a-44ab-4e0e-b1d4-1c223f5c1088":"#2e2e2e","4cb797eb-6ee0-474f-b1dc-99461ce603bc":"#161616","9e8130f5-d6e8-45fe-a977-2cc5e23c6bbb":"#f8f8f7","0f661c98-70c5-4b0f-9ce1-6f860eb63b49":"#e5e2de","bb3eaa2d-d4b7-4b14-8e3d-245d1ff7d00b":"#cdc5bc","0b2b321a-ec10-4f3b-bbbb-469272549bdb":"#b5aa9c","6b06c6ba-a34b-4c75-ad9b-bfb7e3d302d4":"#9b8f7f","f61a0146-c1a8-43c8-84e7-9167aa1bb25f":"#817566","a182872b-7383-46fd-a619-8f51d0d52e37":"#675c50","7950677e-aad2-4e7e-a55b-a0e4b568b0c6":"#4c443b","a1277df6-36d4-45aa-b73c-b3e8c1ead1b5":"#322d27","bfdde87c-ea57-4199-bdd9-93db2a273c9a":"#181613","04b93f0a-1fe2-4b5d-8f1a-a487c7c67ef3":"#d1e4ff","d4334cce-a468-42bf-9a6d-51aed19f8289":"#a2caff","b5bcca88-2522-4e68-880e-aee6d63a2e47":"#6faeff","b8065e7d-980b-4ae1-9b66-71c23c085a2a":"#3090ff","c9179837-9d7e-4518-9fa7-8e065db8409d":"#0075df","9821eac7-4263-4bb8-964c-47ddd1b963cf":"#005db1","8bea7fb1-7617-43d7-8391-a42a8ba2ed9f":"#004585","18dcd57b-d6f9-4fa8-9967-a2082f8b8c8e":"#002e5b","dbefda4d-f2df-4a94-aa56-d154013e03e3":"#001631","e9446b2b-09b0-4e6b-90aa-7d5760edcf4b":"#f5ddcf","0fb23398-7e19-4878-943c-6cc4cb22e0c7":"#f6b791","032d8d1a-8928-494b-86d7-0b10c8b6bb69":"#f68c47","95f27f34-c853-49ff-ace4-f3d827bef530":"#de6c0b","d1b5feb5-be21-4239-a938-9b35641d53c2":"#b95700","5cf45ebd-4fc2-4d74-b7cf-022e9de4249f":"#944403","ea6e1fcd-450b-4bf8-a835-8c85eb7e7f73":"#6f3207","31c43a43-4017-45f3-a88b-fc93427b6464":"#49220a","61a949be-2329-417a-8c47-8d5060a73eed":"#231107","e3bb1f43-e60f-47a9-8d3d-f436511c95eb":"#faf8ed","b19a2186-b06d-4a00-abc7-59a8b7252439":"#f1e3a9","eaebb6eb-2114-42ef-9d3f-66c1037222f0":"#c8aa19","c17c036a-24b7-435f-b6d0-2be3936c5447":"#8d7500","14f92e1b-c639-4e6a-b09d-6a189218f090":"#544406","4f0c4735-5c98-4ddc-9714-73d4410e47f9":"#382d07","defdd300-5ef6-4a2e-9852-0328005bf8b7":"#f4faf3","23aa7fa3-11f0-4d27-aa14-fb0a7d2473ed":"#c6f0c5","b4a51e39-8e67-48ae-82b5-041ab116b358":"#53c954","4c0c4797-47f3-416e-8f49-9e7749abc810":"#2aad2c","efd91745-2fb2-4e7e-a5b0-9f0a372dcdcd":"#1e7118","e5693771-d83f-46ab-85b6-7e9b0f1ea8c3":"#1a3616","a0df6c5b-9408-4825-809c-bd96f7a6ccb8":"#faf7f7","fb469904-507a-456a-930a-982b7010ca01":"#f6efee","6bd67ea2-8fa9-43a5-8cf5-50f625558e3c":"#f3b5b0","c8ad9641-1f8b-4f9e-972e-24d3d7c79164":"#fa444d","fb8a0c40-ded1-491a-bac7-14016b364ef0":"#af1129","2c7bfcbf-d833-46b0-9e49-bff3a2696a1f":"#4f1a1c","abd52525-b934-474f-8b93-e976fece5f80":"#e3c645","1ddbd5a9-0bf6-4f67-99f4-c4846032af7f":"#ab8f05","24ab4fe2-969e-4cbc-9985-89c353066a89":"#705c03","13fc8b4f-a356-4975-ba62-96bb6aa8fd25":"#1c1604","fa4d9179-2c75-4b4e-ac46-90ca735cc6d2":"#e6f6e6","cacd1009-7dcd-4c7b-a9d4-8978050bcaf9":"#7ee27f","9475d0e1-b273-475a-b540-5fe7d8df2ea6":"#009100","ae584ace-7bbd-4b34-8713-e000815bf128":"#23521d","157c9b53-591d-410e-9018-916de18e1c0f":"#0d1a0a","dcf7d119-b64f-4e4f-ba82-20185e1e3375":"#f2dddb","74b3c7e8-14ef-4488-9962-388f8c533d23":"#f78580","1c7b698e-806f-42aa-87ae-3ca740940b00":"#de0030","dba3598f-a6ac-4791-a54d-c335ef510ac8":"#7e1a23","199b6fa5-1912-4926-801c-ad88ee962d63":"#241010","b44bfa26-84ac-4ce2-805c-6ab1ba8e9fec":"#f7f1d9","5e7f9d06-2093-42b5-b06f-3c49c3cc5696":"#f2f0ef","6c1d3a95-c836-4dc6-9135-2e0ce966be72":"#f8f8f8","b8db72c0-cb8d-4f74-8de8-ae23882ccea2":"#f0f1f1","a9bc8da4-0ee2-46ab-97aa-5980cd432c9e":"#fbf7f4","8c2636a5-8f0c-4dd3-b5dc-1db6770c94fd":"#f8efe9","530fd98b-c9ff-4178-8122-dfa61ebd54b2":"#f8f8f8","be1705aa-2fa3-45e3-9a2d-b1e3154688a1":"#f1f1f1","08b2c1eb-4626-4895-ad53-022caf0279fe":"#f4f8ff","57730e5b-3d41-4c65-b5c5-591a2b4f2c6c":"#e8f2ff","d3a49805-61f0-4926-8c06-2e1f90e2150d":"#FFFFFF","4fd32e58-0ffb-4053-af73-60b8aa50f3d0":"#000000","e99015b2-d7be-4178-bf00-1f92dc4144f1":"#f6f6f6","109b4a3f-df38-480a-96de-6449b87720cd":"#e7e7e7","9fd322cb-5399-4536-bf8e-939a194d05db":"#b0b0b0","fdf68224-d7d8-4f83-9fb5-314d826f9a5f":"#888888","f104bb44-6aab-4947-8e96-cb89cc15b033":"#6d6d6d","cef0aae5-9d67-4fcf-9d79-755caaaf6938":"#5d5d5d","32701286-8243-4e7c-ae37-942ffd9813f5":"#3d3d3d","892b3030-2c4b-4a72-b57c-c33abd971952":"#222222","f044ba99-3ee7-4ae3-ab37-c3484f7b4050":"#060f11","cd42601f-3954-4e4e-9e95-51692b8dcebc":"#1F79FE","3c270a3b-19ff-48ed-8623-eac8c6bd1ab9":"#0E3C7F","691a19e9-e7be-40fa-9d40-2b3232cae0e5":"#265298","d734ab1e-b33f-43e6-9879-908daffd2fff":"#DEE5F0","7a2c6440-45eb-479e-9f86-4de577618806":"#94A3B8","f6a3882c-c920-46b5-a2e1-cc62571f6dc0":"#DFE3EA","b9c43272-24c8-4c9c-8972-fcb7971df70a":"#219653","5fdbb3e5-87ba-41ab-8f22-b490a513ce57":"#7C5F0F","408f05fd-a799-407c-be48-766397fe6b2b":"#CE3F3F","6ec84b54-630d-4e54-b129-81a2e06acca3":"#2D9CDB","32ceabc3-14bb-4b32-94be-1534014b007b":"#6F530B","3894a226-0b1a-47f3-87d5-0919525b1698":"#C0C9D8","456f56b7-ceeb-4213-bfab-51aef90afa2e":"#1D3C6D","1156a7f3-b64b-40b6-8cac-a6a97ec8a47e":"#F1F6FF","8c27f377-24e1-4bfd-9dcc-1ce292aad0ac":"#FFFFFF","ce5bf0f0-5f5f-48ca-bbe6-9b80a7adcd51":"#2A2A2A","59fa43c0-bc25-4a12-ab30-016ee081d1f5":"#0066CC","a281639f-179c-47cb-a207-46096db83047":"#FFFFFF","9e43906f-fbf0-401f-9058-6b2b111720e0":"#1A1A1A","d58ed1c3-be19-48fc-b8ef-324aa5b877ef":"#333333","39596aad-8b06-4844-81e8-e59e8625ac01":"#333333","96b149fe-e4be-497d-9359-d5ab9fdfcaf3":"#222222"}:{"5d7b33aa-de23-4764-85d8-e78f6a1dd38a":"#2481cc","894ff656-edb5-4144-a407-59ddc87882fd":"#10b981","31575d56-8583-47a5-aa96-6b596b95d829":"#f59e0b","6957fafe-8e87-4273-82c4-14a652e41237":"#ef4444","2b70b0dd-535d-47b7-bd86-0e49ff890ca8":"#ffffff","f8e4acf0-714c-4d0a-ac6a-21d7c6c66a01":"#f3f4f6","14ccfe79-5445-4654-89dc-900792b3eabb":"#1f2937","555cf332-70b3-4f5c-8d89-ed0232907506":"#6b7280","03f97d03-e8b5-4260-b9a6-84b4e9ac4edb":"#000000D9","db07d869-7076-4fff-8cb5-8f81b9060866":"#00000040","afb0622b-008d-4d99-893c-0f0ebe9cb2ae":"#00000073","7135d9d0-003f-4d5b-979b-4835ed0b65bd":"#0000000F","269e56d1-6215-4b79-9d82-7e6cee40fa2a":"#000000D9","8fbac7c3-9c29-4120-a916-efddf0ee92e0":"#00000040","b841af6a-0836-4052-adfd-99ee3aa9ee4a":"#FFFFFF","a30feb65-a942-4bac-9f38-16dfb4436c11":"#e1e3e5","02e08795-d352-49fd-bc93-5286044ef953":"#c2c7ce","c8122ad7-6c9a-437c-84eb-04e924772175":"#a3acb9","e04035ac-59ff-4f90-9036-1e77cda9cb24":"#8692a1","fdb7537c-e7ec-40ba-a311-0e01c275a6ee":"#6c7888","a74a44a9-425f-4705-b866-f1421c68df52":"#545f6c","781a330b-49ce-4467-80f7-40a4a21b1299":"#3f4750","34573081-741e-4f9b-bb0a-b54fa699d29d":"#2a2f34","04645073-e69e-4e73-80ef-5f1f56118c99":"#151618","44df1337-b30d-48d2-9cdf-9c0ce338502e":"#e2e2e2","b56a2bd5-4834-484d-8ecb-7760c0ebc14b":"#c7c7c7","e964af1c-8020-4e44-96df-93b418abf1ff":"#ababab","aed66389-4433-45b2-be66-5622e3df32e7":"#919191","5172739f-2906-4f10-a758-a1d4929606dc":"#777777","eb5500ae-9ab2-4f6a-83e9-afdc2e3bc1b2":"#5e5e5e","1804f5dd-ffbe-4d0f-a18e-7d9af9eb1c8f":"#464646","f0e9c89a-44ab-4e0e-b1d4-1c223f5c1088":"#2e2e2e","4cb797eb-6ee0-474f-b1dc-99461ce603bc":"#161616","9e8130f5-d6e8-45fe-a977-2cc5e23c6bbb":"#f8f8f7","0f661c98-70c5-4b0f-9ce1-6f860eb63b49":"#e5e2de","bb3eaa2d-d4b7-4b14-8e3d-245d1ff7d00b":"#cdc5bc","0b2b321a-ec10-4f3b-bbbb-469272549bdb":"#b5aa9c","6b06c6ba-a34b-4c75-ad9b-bfb7e3d302d4":"#9b8f7f","f61a0146-c1a8-43c8-84e7-9167aa1bb25f":"#817566","a182872b-7383-46fd-a619-8f51d0d52e37":"#675c50","7950677e-aad2-4e7e-a55b-a0e4b568b0c6":"#4c443b","a1277df6-36d4-45aa-b73c-b3e8c1ead1b5":"#322d27","bfdde87c-ea57-4199-bdd9-93db2a273c9a":"#181613","04b93f0a-1fe2-4b5d-8f1a-a487c7c67ef3":"#d1e4ff","d4334cce-a468-42bf-9a6d-51aed19f8289":"#a2caff","b5bcca88-2522-4e68-880e-aee6d63a2e47":"#6faeff","b8065e7d-980b-4ae1-9b66-71c23c085a2a":"#3090ff","c9179837-9d7e-4518-9fa7-8e065db8409d":"#0075df","9821eac7-4263-4bb8-964c-47ddd1b963cf":"#005db1","8bea7fb1-7617-43d7-8391-a42a8ba2ed9f":"#004585","18dcd57b-d6f9-4fa8-9967-a2082f8b8c8e":"#002e5b","dbefda4d-f2df-4a94-aa56-d154013e03e3":"#001631","e9446b2b-09b0-4e6b-90aa-7d5760edcf4b":"#f5ddcf","0fb23398-7e19-4878-943c-6cc4cb22e0c7":"#f6b791","032d8d1a-8928-494b-86d7-0b10c8b6bb69":"#f68c47","95f27f34-c853-49ff-ace4-f3d827bef530":"#de6c0b","d1b5feb5-be21-4239-a938-9b35641d53c2":"#b95700","5cf45ebd-4fc2-4d74-b7cf-022e9de4249f":"#944403","ea6e1fcd-450b-4bf8-a835-8c85eb7e7f73":"#6f3207","31c43a43-4017-45f3-a88b-fc93427b6464":"#49220a","61a949be-2329-417a-8c47-8d5060a73eed":"#231107","e3bb1f43-e60f-47a9-8d3d-f436511c95eb":"#faf8ed","b19a2186-b06d-4a00-abc7-59a8b7252439":"#f1e3a9","eaebb6eb-2114-42ef-9d3f-66c1037222f0":"#c8aa19","c17c036a-24b7-435f-b6d0-2be3936c5447":"#8d7500","14f92e1b-c639-4e6a-b09d-6a189218f090":"#544406","4f0c4735-5c98-4ddc-9714-73d4410e47f9":"#382d07","defdd300-5ef6-4a2e-9852-0328005bf8b7":"#f4faf3","23aa7fa3-11f0-4d27-aa14-fb0a7d2473ed":"#c6f0c5","b4a51e39-8e67-48ae-82b5-041ab116b358":"#53c954","4c0c4797-47f3-416e-8f49-9e7749abc810":"#2aad2c","efd91745-2fb2-4e7e-a5b0-9f0a372dcdcd":"#1e7118","e5693771-d83f-46ab-85b6-7e9b0f1ea8c3":"#1a3616","a0df6c5b-9408-4825-809c-bd96f7a6ccb8":"#faf7f7","fb469904-507a-456a-930a-982b7010ca01":"#f6efee","6bd67ea2-8fa9-43a5-8cf5-50f625558e3c":"#f3b5b0","c8ad9641-1f8b-4f9e-972e-24d3d7c79164":"#fa444d","fb8a0c40-ded1-491a-bac7-14016b364ef0":"#af1129","2c7bfcbf-d833-46b0-9e49-bff3a2696a1f":"#4f1a1c","abd52525-b934-474f-8b93-e976fece5f80":"#e3c645","1ddbd5a9-0bf6-4f67-99f4-c4846032af7f":"#ab8f05","24ab4fe2-969e-4cbc-9985-89c353066a89":"#705c03","13fc8b4f-a356-4975-ba62-96bb6aa8fd25":"#1c1604","fa4d9179-2c75-4b4e-ac46-90ca735cc6d2":"#e6f6e6","cacd1009-7dcd-4c7b-a9d4-8978050bcaf9":"#7ee27f","9475d0e1-b273-475a-b540-5fe7d8df2ea6":"#009100","ae584ace-7bbd-4b34-8713-e000815bf128":"#23521d","157c9b53-591d-410e-9018-916de18e1c0f":"#0d1a0a","dcf7d119-b64f-4e4f-ba82-20185e1e3375":"#f2dddb","74b3c7e8-14ef-4488-9962-388f8c533d23":"#f78580","1c7b698e-806f-42aa-87ae-3ca740940b00":"#de0030","dba3598f-a6ac-4791-a54d-c335ef510ac8":"#7e1a23","199b6fa5-1912-4926-801c-ad88ee962d63":"#241010","b44bfa26-84ac-4ce2-805c-6ab1ba8e9fec":"#f7f1d9","5e7f9d06-2093-42b5-b06f-3c49c3cc5696":"#f2f0ef","6c1d3a95-c836-4dc6-9135-2e0ce966be72":"#f8f8f8","b8db72c0-cb8d-4f74-8de8-ae23882ccea2":"#f0f1f1","a9bc8da4-0ee2-46ab-97aa-5980cd432c9e":"#fbf7f4","8c2636a5-8f0c-4dd3-b5dc-1db6770c94fd":"#f8efe9","530fd98b-c9ff-4178-8122-dfa61ebd54b2":"#f8f8f8","be1705aa-2fa3-45e3-9a2d-b1e3154688a1":"#f1f1f1","08b2c1eb-4626-4895-ad53-022caf0279fe":"#f4f8ff","57730e5b-3d41-4c65-b5c5-591a2b4f2c6c":"#e8f2ff","d3a49805-61f0-4926-8c06-2e1f90e2150d":"#FFFFFF","4fd32e58-0ffb-4053-af73-60b8aa50f3d0":"#000000","e99015b2-d7be-4178-bf00-1f92dc4144f1":"#f6f6f6","109b4a3f-df38-480a-96de-6449b87720cd":"#e7e7e7","9fd322cb-5399-4536-bf8e-939a194d05db":"#b0b0b0","fdf68224-d7d8-4f83-9fb5-314d826f9a5f":"#888888","f104bb44-6aab-4947-8e96-cb89cc15b033":"#6d6d6d","cef0aae5-9d67-4fcf-9d79-755caaaf6938":"#5d5d5d","32701286-8243-4e7c-ae37-942ffd9813f5":"#3d3d3d","892b3030-2c4b-4a72-b57c-c33abd971952":"#222222","f044ba99-3ee7-4ae3-ab37-c3484f7b4050":"#060f11","cd42601f-3954-4e4e-9e95-51692b8dcebc":"#1F79FE","3c270a3b-19ff-48ed-8623-eac8c6bd1ab9":"#0E3C7F","691a19e9-e7be-40fa-9d40-2b3232cae0e5":"#265298","d734ab1e-b33f-43e6-9879-908daffd2fff":"#DEE5F0","7a2c6440-45eb-479e-9f86-4de577618806":"#94A3B8","f6a3882c-c920-46b5-a2e1-cc62571f6dc0":"#DFE3EA","b9c43272-24c8-4c9c-8972-fcb7971df70a":"#219653","5fdbb3e5-87ba-41ab-8f22-b490a513ce57":"#F2C94C","408f05fd-a799-407c-be48-766397fe6b2b":"#CE3F3F","6ec84b54-630d-4e54-b129-81a2e06acca3":"#2D9CDB","32ceabc3-14bb-4b32-94be-1534014b007b":"#6F530B","3894a226-0b1a-47f3-87d5-0919525b1698":"#C0C9D8","456f56b7-ceeb-4213-bfab-51aef90afa2e":"#1D3C6D","1156a7f3-b64b-40b6-8cac-a6a97ec8a47e":"#F1F6FF","8c27f377-24e1-4bfd-9dcc-1ce292aad0ac":"#000000","ce5bf0f0-5f5f-48ca-bbe6-9b80a7adcd51":"#F5F5F5","59fa43c0-bc25-4a12-ab30-016ee081d1f5":"#0066CC","a281639f-179c-47cb-a207-46096db83047":"#FFFFFF","9e43906f-fbf0-401f-9058-6b2b111720e0":"#FFFFFF","d58ed1c3-be19-48fc-b8ef-324aa5b877ef":"#E5E5E5","39596aad-8b06-4844-81e8-e59e8625ac01":"#E5E5E5","96b149fe-e4be-497d-9359-d5ab9fdfcaf3":"#F9F9F9"}),spacings:{"9396d12d-e863-4584-be81-2849fec30de9":"4px","aec773ca-1d8e-4faf-ae4d-c614c052803d":"8px","1636a73c-e384-4325-9cf5-85d532948511":"12px","fbf0f703-facf-4f20-b525-243fcc74a472":"16px","5a4280b5-510e-4759-ae42-28a1ec6b0403":"24px","30ff7477-cd0c-41e7-8890-b0a1a7536b87":"32px","7bfbaf2b-1618-4e77-bcae-8b43684d3b43":"48px","802450d4-96e6-46b9-88b5-4ff2ad0c2a9c":"4px","0a3be4c7-8af6-4f2a-8356-cfc9a654bedb":"8px","d3c878ba-280d-4a58-b439-dec4f641301e":"12px","c5f92a83-8757-46c9-a0b3-a6def1d6d25f":"16px","35f471a8-fb6a-4b4f-85cd-d6eb927956ee":"20px","b4d95d06-8a9f-4fbc-8696-2796a7a458b2":"24px","f52b33fb-9a7f-462d-b467-a670c2a12f7f":"2px","b363e15d-300e-4ff3-b2ac-f63ea21f5e16":"4px","7f9785c9-45e0-4bab-91b0-6122b1deafe7":"8px","02c62812-8afe-4200-a60a-2d9bd080e86c":"12px","492a9411-1702-4f94-828e-f03daf553237":"16px","6f3edf1a-cab9-4568-8e22-f912fa436965":"20px","b1f0e218-59f1-44f9-bc1e-eb5e50523d75":"32px","407b6723-0694-4e59-8df2-b5259c1d28d5":"40px","78490985-6b3f-48bb-a2ef-8187f3bfc8a6":"2px","b2d49095-73cd-4632-b124-3d4143f7c49f":"96px","17765de1-737d-44c4-9500-c97f2432130c":"45px","0a048f45-5558-4f22-b33b-29b6b955b7fa":"16px","dbc2c56a-8941-4906-aa62-03a88727a994":"256px","da7401ea-2745-4ded-bfc3-3433deaf0225":"4px","04ac33fa-a2b2-4b52-b1ee-5a22c453a852":"16px","55173ff0-22ba-4cff-a3f5-64a5177a27fb":"24px","ff56461e-6014-404a-92d7-fe2a7225af2f":"8px","5ea17599-1545-4e47-b405-f5cbf316cc78":"8px","432596aa-84ee-4be3-ba6f-679844b478e3":"16px"},typographies:{"d1df0b19-a486-4ff7-afce-642458151bae":"700 24px/32px var(--ww-default-font-family, sans-serif)","7c9f9a8f-a27a-4892-a79f-bfe05d93c68a":"600 20px/28px var(--ww-default-font-family, sans-serif)","3160d1e2-bf7e-4ed8-858c-f451c7f81ef1":"400 16px/24px var(--ww-default-font-family, sans-serif)","9702e2c3-0958-45ca-becc-70478b56f7da":"400 14px/20px var(--ww-default-font-family, sans-serif)","7419c94a-472d-45eb-89ac-debf7ef21b35":"400 14px/22px var(--ww-default-font-family, sans-serif)","b49b91a8-996d-45e6-ae47-795f8322c041":"500 38px/46px var(--ww-default-font-family, sans-serif)","e9d2a21b-ea8d-459b-87bf-131e4d6af9ee":"500 30px/40px var(--ww-default-font-family, sans-serif)","8d14c83a-63a5-4f4f-a12a-97af4258074d":"500 24px/32px var(--ww-default-font-family, sans-serif)","1a3aa549-d178-4106-bc9e-5d1e7bb34c8c":"500 16px/24px var(--ww-default-font-family, sans-serif)","6b591379-573d-425b-bc53-12a4426e1513":"600 14px/22px var(--ww-default-font-family, sans-serif)","d9f75b67-53a7-4a7f-9a0e-f4ab7985cde6":"400 12px/20px var(--ww-default-font-family, sans-serif)","4ef5bd5d-6c26-4512-8a87-f23d0269918a":"600 16px/24px var(--ww-default-font-family, sans-serif)","af4a2331-71bc-44af-9661-b38551756eab":"600 12px/18px var(--ww-default-font-family, sans-serif)","dba66191-af24-45ac-ae67-dd3770eec837":"400 12px/18px var(--ww-default-font-family, sans-serif)","04a090b3-eb67-4f3d-8946-bb1896dd0c4b":"400 16px/22px var(--ww-default-font-family, sans-serif)","0fa89c8c-d0cf-4c33-81cc-1a4524267593":"400 12px/20px var(--ww-default-font-family, sans-serif)","38ffbeff-764d-4bfc-9245-65b7bc0554d3":"500 20px/28px var(--ww-default-font-family, sans-serif)","f0d118f6-8610-4be0-85a6-7732ededbcbd":"400 60px/60px var(--ww-default-font-family, sans-serif)","c3f20f8d-c404-4890-a149-528c554d3a45":"400 48px/52px var(--ww-default-font-family, sans-serif)","188c18b9-1d63-48aa-b183-a0e339c28999":"400 36px/36px var(--ww-default-font-family, sans-serif)","b47fda5e-c8a2-479d-a3d2-000ef4b6ee4e":"400 24px/30px var(--ww-default-font-family, sans-serif)","d92a1cb7-94b6-4feb-9413-e70e51979f97":"400 18px/26px var(--ww-default-font-family, sans-serif)","f2a71115-b847-4f32-ade9-6ec28c04d178":"400 16px/24px var(--ww-default-font-family, sans-serif)","6991fe26-2f58-467a-a1c7-e9a576888df6":"400 12px/16px var(--ww-default-font-family, sans-serif)","413f19fe-06f4-4af0-bc58-613b9c444489":"300 48px/52px var(--ww-default-font-family, sans-serif)","36c90402-a417-43a8-9707-91580919116e":"300 24px/30px var(--ww-default-font-family, sans-serif)","fd2aa2ea-6285-4979-9dd4-0afe769b1cf7":"300 16px/24px var(--ww-default-font-family, sans-serif)","0ed994cb-55a6-4345-a079-6317154abeb9":"300 12px/16px var(--ww-default-font-family, sans-serif)","47176e75-5460-40c9-add9-f675437da5c3":"500 60px/60px var(--ww-default-font-family, sans-serif)","a46682a1-6522-4402-851e-ac1aba0b897c":"500 36px/36px var(--ww-default-font-family, sans-serif)","f59d015e-c1a5-41b0-a0bd-d7685bfa9e04":"500 18px/26px var(--ww-default-font-family, sans-serif)","90e4433f-28ec-48c5-8432-3a4ad4f12c6a":"500 14px/20px var(--ww-default-font-family, sans-serif)","1a0dc46e-3d23-4ac0-ada4-bc80d295dd7f":"500 11px/16px var(--ww-default-font-family, sans-serif)","e6d49f9e-afe0-4248-8d07-d27a1c9b6230":"700 48px/52px var(--ww-default-font-family, sans-serif)","63427591-e191-4f49-bcd0-e63f63c1f0d0":"700 24px/30px var(--ww-default-font-family, sans-serif)","ad5de84f-abf6-4f14-81d9-ee7fdc1674f6":"700 16px/24px var(--ww-default-font-family, sans-serif)","4dba5634-32ac-49d9-9e3b-1c227801b3a8":"700 12px/16px var(--ww-default-font-family, sans-serif)","f4a28b33-58fd-41ca-b1fd-feda6a0a7e75":"400 14px/20px var(--ww-default-font-family, sans-serif)","c895a4f5-7855-4344-9a83-dff3321d79e6":"400 11px/16px var(--ww-default-font-family, sans-serif)","b593a132-fc74-46b5-beca-3b5698188264":"300 60px/60px var(--ww-default-font-family, sans-serif)","306b96db-c31c-4957-832b-199fd5382cb2":"300 36px/36px var(--ww-default-font-family, sans-serif)","a849b37a-ec69-4519-8689-7ca0ec99905e":"300 18px/26px var(--ww-default-font-family, sans-serif)","355d65f8-3e12-4e04-a4d3-3181e93175b8":"300 14px/20px var(--ww-default-font-family, sans-serif)","c455b4ea-99a3-49f6-a60c-659ec8afdf31":"300 11px/16px var(--ww-default-font-family, sans-serif)","c924f875-829c-4696-8dbc-a392f579d23f":"500 48px/52px var(--ww-default-font-family, sans-serif)","3d798d9f-1dff-4804-987f-f3a7192ef9c9":"500 24px/30px var(--ww-default-font-family, sans-serif)","a610bd35-596d-4cec-b59c-6aa7e996721b":"500 16px/24px var(--ww-default-font-family, sans-serif)","d7a3303e-30a9-4e87-a23c-cb6e262d91e7":"500 12px/16px var(--ww-default-font-family, sans-serif)","261e7097-5da3-4f2d-98ce-77accbcaabb3":"700 60px/60px var(--ww-default-font-family, sans-serif)","5cd34ef8-3e66-48d9-a40c-173b6be0752a":"700 36px/40px var(--ww-default-font-family, sans-serif)","4e3cfba6-0330-4c70-bf29-d8dd3d4d3b94":"700 18px/26px var(--ww-default-font-family, sans-serif)","665adc55-24af-4037-8838-a84d19562ea2":"700 14px/20px var(--ww-default-font-family, sans-serif)","94e99de8-68eb-4787-80af-c99d29e791d5":"700 11px/16px var(--ww-default-font-family, sans-serif)","dcc86df2-4204-4fa6-b466-bac1106bcc10":"400 12px/normal var(--ww-default-font-family, sans-serif)","1c0a338f-4787-4cce-a8dc-99578a138151":"600 14px/normal var(--ww-default-font-family, sans-serif)","f3f274b3-eaa3-45b2-ac7e-422b306a1081":"600 12px/normal var(--ww-default-font-family, sans-serif)","ea0b5b3b-34e9-44f4-aa05-916e2dd79cb9":"400 14px/1.5 var(--ww-default-font-family, sans-serif)","be837b2e-c4c4-4a1d-b56e-bb3151e5a7ab":"400 12px/1.4 var(--ww-default-font-family, sans-serif)","2249ad00-89a0-4a2e-8260-289a2dd9546f":"600 14px/1.5 var(--ww-default-font-family, sans-serif)"},browser:ye(()=>{const t=(wwLib.manager?wwLib.getEditorRouter():wwLib.getFrontRouter()).currentRoute.value;let r=t.query;return{url:window.location.origin+t.fullPath,path:t.path,source:r._source,query:r,domain:window.location.hostname,baseUrl:window.location.origin,breakpoint:wwLib.$store.getters["front/getScreenSize"],environment:wwLib.getEnvironment(),theme:wwLib.$store.getters["front/getTheme"]}}),screen:Il.scrollStore.screen,componentPositionInfo:Il.scrollStore.componentPositionInfo}),pageData:ye(()=>{const e=wwLib.$store.getters["front/getLang"];return wwLib.$store.getters["websiteData/getPage"].cmsDataSetPath?{lang:e,data:wwLib.$store.getters["data/getPageCollectionData"]}:{lang:e}}),getEnvironment(){return wwLib.manager?"editor":window.location.host.includes("-staging."+(bye.WW_ENV==="staging"?"weweb-preview.io":""))?"staging":window.location.host.includes("weweb-preview.io")?"preview":"production"},useBaseTag(){return wwLib.getEnvironment()==="production"&&window.wwg_designInfo.baseTag&&window.wwg_designInfo.baseTag.href},getBaseTag(){var t;let e=((t=window.wwg_designInfo.baseTag)==null?void 0:t.href)||"";return e.startsWith("/")||(e="/"+e),e.endsWith("/")||(e+="/"),e},getFrontWindow(){return document.querySelector(".ww-manager-iframe")?document.querySelector(".ww-manager-iframe").contentWindow:window},getFrontDocument(){return this.getFrontWindow().document},getFrontRouter(){return this.front.router},getEditorWindow(){return null},getEditorDocument(){return null},getEditorRouter(){return this.editor.router},goTo(...e){wwLib.wwLog.warn("wwLib.goTo is DEPRECATED, use wwLib.wwApp.goTo instead"),wwLib.wwApp.goTo(...e)},getStyleFromToken(...e){return wwLib.wwUtils.getStyleFromToken(...e)},getTypoFromToken(...e){return wwLib.wwUtils.getTypoFromToken(...e)},element(e){return wwLib.wwLog.warn("wwLib.element is DEPRECATED"),typeof e=="object"?{isWwObject:!0,...e}:{isWwObject:!0,type:e}},resolveObjectPropertyPath(...e){return wwLib.wwUtils.resolveObjectPropertyPath(...e)},getTextStyleFromContent(...e){return wwLib.wwUtils.getTextStyleFromContent(...e)},async executeWorkflow(...e){return wwLib.wwLog.warn("wwLib.executeWorkflow is DEPRECATED, use wwLib.wwWorkflow.executeGlobal instead"),wwLib.wwWorkflow.executeGlobal(...e)},findParentUidByFlag(...e){return wwLib.wwLog.warn("wwLib.wwEditor.findParentUidByFlag is DEPRECATED, use wwLib.findParentUidByFlag instead"),wwLib.wwEditor.findParentUidByFlag(...e)},selectParentByFlag(...e){return wwLib.wwLog.warn("wwLib.wwEditor.selectParentByFlag is DEPRECATED, use wwLib.selectParentByFlag instead"),wwLib.wwEditor.selectParentByFlag(...e)},useCreateElement(){return wwLib.wwLog.warn("wwLib.useCreateElement is DEPRECATED, use wwLib.wwElement.useCreate instead"),this.wwElement.useCreate()},useLayoutStyle(){return wwLib.wwLog.warn("wwLib.useLayoutStyle is DEPRECATED, use wwLib.wwElement.useLayoutStyle instead"),wwLib.wwElement.useLayoutStyle()},useIcons(){return{getIcon:oF().getIcon}}};function $0(e){const t=["id","name","folder","metaImage","pageLoaded","paths","langs","meta","title","sections","pageUserGroups"],r={};t.forEach(a=>{r[a]=e[a]}),r.meta&&delete r.meta.__typename;for(const a of r.sections||[])delete a.__typename;const o=wwLib.$store.getters["front/getLang"];return r.paths?r.path=r.paths[o]||r.paths.default:r.path=null,r.lang=o,r}function xye({path:e}){var m,f,b,g,h,y,w,M,A,L,C,I,F;const t=Ce("componentData",Pt({})),r=Ce("componentState",Pt({}));if(!We.get((f=(m=t.value)==null?void 0:m._state)==null?void 0:f.libraryComponentInjected,"content."+er(e)))return;const a=(b=t==null?void 0:t.value)==null?void 0:b.parentLibraryComponentId,i=Ce("_wwLibraryComponentLayers",{}),n=Ce("_wwLibraryComponentContext",{});Ce("bindingContext",null)||nt("bindingContext",(h=(g=i==null?void 0:i[a])==null?void 0:g.savedContext)==null?void 0:h.bindingContext),nt("_wwLibraryComponentContext",(w=(y=i==null?void 0:i[a])==null?void 0:y.savedContext)==null?void 0:w.libraryComponentContext);const d=yt({data:ye(()=>{var R;return(R=r==null?void 0:r.dropzoneContext)==null?void 0:R.data}),libraryComponentId:a,parent:(A=(M=i==null?void 0:i[a])==null?void 0:M.savedContext)==null?void 0:A.dropzoneContext,methods:{executeWorkflow:(C=(L=n==null?void 0:n.component)==null?void 0:L.methods)==null?void 0:C.executeWorkflow}});nt("_wwDropzoneContext",d);const c=(F=(I=i==null?void 0:i[a])==null?void 0:I.savedContext)==null?void 0:F.localContext;nt("_wwLocalContext",c)}const _ye={mounted(){}};function vye(e,t,r,o,a,i){return wt(),to("div",null,[Sn(e.$slots,"default")])}const LL=tr(_ye,[["render",vye]]),yye={props:{index:{type:Number,required:!0},item:{type:[Object,null],default:null},data:{type:void 0,default:null},isRepeat:{type:Boolean,default:!1},repeatedItems:{type:[Array,null],default:null}},setup(e){const t=Jo(e,"index");if(e.isRepeat){const r=Ce("bindingContext",null),o=yt({parent:r,data:Jo(e,"data"),index:t,repeatIndex:t,isACopy:ye(()=>r&&r.isACopy||e.index>0),repeatedItems:Jo(e,"repeatedItems")});nt("bindingContext",o)}}};function Sye(e,t,r,o,a,i){return Sn(e.$slots,"default")}const $L=tr(yye,[["render",Sye]]),wye={marginTop:"auto"},Mye={marginLeft:"auto"};let Tye=1;const Aye={name:"wwLayout",components:{wwLayoutItem:LL,wwLayoutItemContext:$L},props:{path:{type:String,required:!1,default:void 0},tag:{type:String,default:"div"},direction:{type:String,default:null},disableDragDrop:{type:Boolean,default:!1},disableEdit:{type:Boolean,default:!1}},emits:["update:list"],setup(e,{emit:t}){const r=Tye++,o=Ce("_wwElementUid",null);Ce("_wwElementComponentId",null);const a=Ce("sectionId",null),i=Ce("bindingContext",null),n=Ce("componentContent"),s=Ce("componentStyle"),d=Ce("componentConfiguration"),c=Ce("componentWwProps"),{rawProperty:m,property:f}=MG(Jo(e,"path"));xye({path:Jo(e,"path")});const b=ye(()=>m.value&&!!m.value.__wwtype),g=ye(()=>!b.value||!f.value?null:Array.isArray(f.value)?f.value:f.value.data&&Array.isArray(f.value.data)?f.value.data:null),h=ye(()=>{const{__wwtype:F,repeatable:R}=m.value||{};return(F?R:f.value)||[]}),y=ye(()=>!b.value||!f.value||Array.isArray(f.value)||!f.value.limit||!f.value.total?null:f.value),w=ye(()=>y.value&&parseInt(y.value.offset)||0),M=ye(()=>{if(!b.value)return h.value.length;if(y.value)if(g.value){const F=Math.min(w.value+parseInt(wwLib.wwFormula.getValue(y.value.limit)),y.value.total||0),R=Math.max(F-w.value,0);return isNaN(R)?0:R}else return 0;return g.value?g.value.length:0}),A={content:n,wwProps:c};let L;L=M;const C=ye(()=>e.direction?{flexDirection:e.direction,display:"flex",justifyContent:"center",alignItems:"center"}:es(d,"ww-layout")?YA(n,s,d,A):{}),I=ye(()=>Fg(s.display,d,A));return nt("__wwContainerType",I),{layoutId:r,layoutStyle:C,parentElementUid:o,sectionId:a,rawProperty:m,property:f,bindingContext:i,isBound:b,boundData:g,length:M,internalList:h,offset:w,paginationOptions:y,componentContent:n,componentStyle:s,restrictedLength:L}},computed:{},watch:{},methods:{getItemStyle(e){if(this.componentContent["_ww-layout_pushLast"])return(this.componentContent["_ww-layout_reverse"]?e===0:e===this.restrictedLength-1)?this.componentContent["_ww-layout_flexDirection"]==="column"?wye:Mye:void 0}}};function Lye(e,t,r,o,a,i){const n=ar("wwElement"),s=ar("wwLayoutItemContext");return wt(),Xt(Ss(r.tag),{class:ka(["ww-layout",{}]),"data-ww-layout-id":o.layoutId,style:Tn(o.layoutStyle)},{default:en(()=>[Sn(e.$slots,"header"),o.internalList[0]?(wt(!0),to(Ut,{key:0},Fl(o.restrictedLength,d=>(wt(),Xt(s,{key:o.isBound?`${o.internalList[0].uid}_${d-1}`:`${o.internalList[d-1].uid}`,index:o.offset+d-1,item:o.isBound?o.internalList[0]:o.internalList[d-1],"is-repeat":o.isBound,data:o.isBound&&o.boundData?o.boundData[o.offset+d-1]:null,"repeated-items":o.boundData},{default:en(()=>[Sn(e.$slots,"default",oo({ref_for:!0},{item:o.isBound?o.internalList[0]:o.internalList[d-1],index:o.offset+d-1,data:o.isBound&&o.boundData?o.boundData[o.offset+d-1]:null,layoutId:o.layoutId,itemStyle:i.getItemStyle(d-1)}),()=>[Wt(n,oo({ref_for:!0},o.isBound?o.internalList[0]:o.internalList[d-1],{"extra-style":i.getItemStyle(d-1)}),null,16,["extra-style"])])]),_:2},1032,["index","item","is-repeat","data","repeated-items"]))),128)):ea("",!0)]),_:3},8,["data-ww-layout-id","style"])}const $ye=tr(Aye,[["render",Lye]]),Pye={props:{data:{type:void 0,default:null},methods:{type:Object,default:()=>{}},markdown:{type:String,default:""},elementKey:{type:String,default:"elementKey"}},setup(e){const t=Ce("_wwLocalContext",null),r=ye(()=>{var o,a,i;return{data:{...((o=t==null?void 0:t.value)==null?void 0:o.data)||{},[e.elementKey]:e.data},methods:{...((a=t==null?void 0:t.value)==null?void 0:a.methods)||{},[e.elementKey]:e.methods},markdown:{...((i=t==null?void 0:t.value)==null?void 0:i.markdown)||{},[e.elementKey]:e.markdown}}});nt("_wwLocalContext",r)}};function Cye(e,t,r,o,a,i){return Sn(e.$slots,"default")}const Eye=tr(Pye,[["render",Cye]]),Oye={name:"wwLinkPopup",props:{content:Object,background:Object,sectionId:String},setup(e){return nt("sectionId",e.sectionId),nt("_wwCanInteract",Pt({canInteract:!0})),nt("_wwCanBeEdited",Pt(!0)),nt("dragZoneId","linkPopup"),{}},computed:{backgroundStyle(){let e={};return this.background?typeof this.background=="object"?this.background.type==="none"?{}:this.background.type==="gradient"&&this.background.value&&this.background.value.value?{backgroundImage:this.background.value.value}:{backgroundColor:this.background.value}:this.background.startsWith("var")?{backgroundColor:this.background}:this.background.includes("gradient")?{backgroundImage:this.background}:{backgroundColor:this.background}:e}},methods:{close(){wwLib.$store.dispatch("front/closeActiveLinkPopup",null)},handleWwObjectClick(e){this.$refs.wwObject.$el===e.target&&this.close()}}},Iye=["data-section-uid"],Bye={class:"ww-link-popup__content"};function Dye(e,t,r,o,a,i){const n=ar("wwObject");return wt(),to("div",{class:"ww-link-popup",style:Tn(i.backgroundStyle),"ww-responsive":"ww-link-bg","data-section-uid":r.sectionId},[wn("div",{class:"ww-link-popup__background",onClick:t[0]||(t[0]=s=>i.close())}),wn("div",Bye,[Wt(n,oo({ref:"wwObject"},r.content,{onClick:i.handleWwObjectClick}),null,16,["onClick"])])],12,Iye)}const kye=tr(Oye,[["render",Dye],["__scopeId","data-v-25e33e41"]]),Gye={name:"wwElement",components:{wwElementComponent:NA,wwLibraryComponent:RA},inheritAttrs:!1,props:{uid:{type:String,required:!0}},setup(e){var t,r;return{isLibraryComponent:!!((t=wwLib.$store.getters["websiteData/getWwObjects"][e.uid])!=null&&t.libraryComponentBaseId),parentKey:`${(r=wwLib.$store.getters["websiteData/getWwObjects"][e.uid])==null?void 0:r.parentLibraryComponentId}`}},computed:{componentRef(){return this.$refs.elementComponent?this.$refs.elementComponent.$refs.component:null}}};function Nye(e,t,r,o,a,i){const n=ar("wwLibraryComponent"),s=ar("wwElementComponent");return o.isLibraryComponent?(wt(),Xt(n,oo({key:r.uid,uid:r.uid},e.$attrs),null,16,["uid"])):(wt(),Xt(s,oo({key:1,ref:"elementComponent"},e.$attrs,{key:`${r.uid}_${o.parentKey}`,uid:r.uid}),{default:en(()=>[Sn(e.$slots,"default")]),_:3},16,["uid"]))}const P2=tr(Gye,[["render",Nye]]),Fye={name:"wwSectionComponent",components:{},props:{uid:{type:String,required:!0},index:{type:Number,required:!0}},setup(e){const t=ds(null),r=ds(null);nt("sectionId",e.uid),nt("dragZoneId",e.uid);const{currentStates:o,addInternalState:a,removeInternalState:i,toggleInternalState:n}=ih({uid:e.uid,type:"section"},{context:{},propsState:Jo(e,"states")}),s=ye(()=>d["_ww-layout_alignItems"]==="stretch"&&d["_ww-layout_flexDirection"]==="column");nt("__wwIsInStretchedSection",s);const{content:d,style:c,state:m,configuration:f,name:b}=nh({type:"section",uid:e.uid,currentStates:o}),g=ye(()=>c.conditionalRendering);Kt(g,M=>{M||i("_wwHover",!0)});const{listeners:h,triggerEvent:y}=ah({state:m,componentIdentifier:{type:"section",uid:e.uid},isRenderingRef:g}),w=yt({uid:e.uid,name:b,states:o});return GA(m,wwLib.$store.getters["websiteData/getPageId"]),OA({uid:e.uid,type:"section"},{configuration:f,componentRef:t}),{rootElement:r,component:t,content:d,style:c,state:m,configuration:f,listeners:h,triggerEvent:y,addInternalState:a,removeInternalState:i,toggleInternalState:n,vueComponentName:Qb("section",e.uid),wwSectionState:w,wwFrontState:Ce("wwFrontState"),anchorId:ye(()=>{const{sectionTitle:M}=wwLib.$store.getters["websiteData/getSections"][e.uid]||{};return wwLib.wwUtils.sanitize(M)}),isRendering:g,containerStyle:ye(()=>{let M={height:Hr(c.height,"auto"),aspectRatio:c.aspectRatio,margin:c.margin,zIndex:c.zIndex||"unset",overflow:c.overflow,opacity:c.opacity};if(M.minHeight=Hr(c.minHeight),M.maxHeight=Hr(c.maxHeight),M.display=Fg(c.display,f,{content:d}),c.position==="sticky"||c.position==="fixed"||c.position==="absolute"){M.position=c.position;const A=c.top||c.bottom||c.left||c.right;M.top=c.top||(A?null:"0px"),M.bottom=c.bottom,M.left=c.left,M.right=c.right,M.width=c.position!=="sticky"||!A?Hr(c.width,void 0):void 0}M.background=Zb(c),c.cursor&&(M.cursor=c.cursor),["transition","transform"].forEach(A=>{c[A]&&(M[A]=c[A])});for(const A in c.customCss||{})M[A]=c.customCss[A];return M})}},computed:{elementStyle(){const e={width:Hr(this.style.width,"100%"),padding:this.style.padding};e.maxWidth=Hr(this.style.maxWidth),e.minWidth=Hr(this.style.minWidth),e.minHeight=Hr(this.style.minHeight),e.maxHeight=Hr(this.style.maxHeight),["border","borderTop","borderBottom","borderLeft","borderRight","borderRadius","boxShadow","transition","transform"].forEach(o=>{this.style[o]&&(e[o]=this.style[o])});let t=this.style.perspective||0;return wwLib.wwUtils.getLengthUnit(t)[0]&&(e.perspective=t),e},backgroundVideo(){return!es(this.configuration,"ww-background-video")||!this.content["_ww-backgroundVideo"]?null:{url:this.content["_ww-backgroundVideo"],loop:this.content["_ww-backgroundVideoLoop"],poster:this.content["_ww-backgroundVideoPoster"],preload:this.content["_ww-backgroundVideoPreload"],size:this.content["_ww-backgroundVideoSize"]}},componentAttributes(){let e={...this.listeners};if(this.state.attributes)try{for(const t of this.state.attributes.filter(r=>r.name))e[t.name.replace(/ /g,"")]=t.value}catch{wwLib.wwLog.warn(`Attributes is missbind for section ${Ng("section",this.uid)} (${this.uid})`)}return this.state.id&&(e.id=this.state.id),e}},methods:{onTriggerEvent({name:e,event:t}={}){this.triggerEvent(e,t)},onMouseEnter(){this.addInternalState("_wwHover",!0)},onMouseLeave(){this.removeInternalState("_wwHover",!0)}}},Rye=["data-section-uid"],Vye=["id"];function Hye(e,t,r,o,a,i){const n=ar("wwBackgroundVideo");return o.isRendering?(wt(),to("div",{key:0,ref:"rootElement",style:Tn(o.containerStyle),"ww-responsive":"ww-section",class:ka(["ww-section",[`ww-section-${r.uid}`]]),"data-section-uid":r.uid,onMouseenter:t[0]||(t[0]=(...s)=>i.onMouseEnter&&i.onMouseEnter(...s)),onMouseleave:t[1]||(t[1]=(...s)=>i.onMouseLeave&&i.onMouseLeave(...s))},[i.backgroundVideo?(wt(),Xt(n,{key:0,video:i.backgroundVideo},null,8,["video"])):ea("",!0),wn("div",{id:o.anchorId,class:"hash-anchor"},null,8,Vye),(wt(),Xt(Ss(o.vueComponentName),oo({ref:"component",class:["ww-section-element",[o.state.class||""]]},i.componentAttributes,{style:i.elementStyle,"ww-responsive":"ww-section-element",content:o.content,uid:r.uid,"ww-section-state":o.wwSectionState,"ww-front-state":o.wwFrontState,onTriggerEvent:i.onTriggerEvent,onAddState:o.addInternalState,onRemoveState:o.removeInternalState,onToggleState:o.toggleInternalState}),null,16,["class","style","content","uid","ww-section-state","ww-front-state","onTriggerEvent","onAddState","onRemoveState","onToggleState"]))],46,Rye)):ea("",!0)}const Yye=tr(Fye,[["render",Hye],["__scopeId","data-v-140d60c3"]]),Uye={name:"wwSection",components:{wwSectionComponent:Yye},inheritAttrs:!1,props:{uid:{type:String,required:!0}}};function Xye(e,t,r,o,a,i){const n=ar("wwSectionComponent");return wt(),Xt(n,oo({key:r.uid,uid:r.uid},e.$attrs),null,16,["uid"])}const Wye=tr(Uye,[["render",Xye]]),jye={name:"BackgroundVideo",props:{video:{type:Object,required:!0}},computed:{poster(){return this.video.poster?`${this.video.poster}`:""},attributes(){const e={src:this.video.url,poster:this.poster};return this.video.loop&&(e.loop=!0),this.video.preload&&(e.preload=!0),this.video.size==="contain"?e.style={"max-height":"100%","max-width":"100%"}:e.style={width:"100%",height:"100%","object-fit":"cover"},e}},mounted(){this.interval=setInterval(()=>{const e=this.$refs.video;e.readyState===4&&(e.muted=!0,e.play(),clearInterval(this.interval))},1e3)},unmounted(){clearInterval(this.interval)}},Kye={class:"ww-background-video"};function zye(e,t,r,o,a,i){return wt(),to("div",Kye,[wn("video",oo({ref:"video",muted:"",autoplay:"",playsinline:""},i.attributes,{"ww-responsive":"video"}),null,16)])}const qye=tr(jye,[["render",zye],["__scopeId","data-v-a855411b"]]),Zye={props:{link:{type:[Object,String,Number],default:void 0}},setup(e){const{tag:t,properties:r,normalizedLink:o,hasLink:a}=wwLib.wwElement.useLink({isLinkInjected:!1,forcedLinkRef:Jo(e,"link")});return{tag:ye(()=>a.value?t.value:"span"),properties:r,normalizedLink:o}}};function Qye(e,t,r,o,a,i){return wt(),Xt(Ss(o.tag),oo(o.properties,{class:"text-link"}),{default:en(()=>[Sn(e.$slots,"default",{},void 0,!0)]),_:3},16)}const Jye=tr(Zye,[["render",Qye],["__scopeId","data-v-165a3ce2"]]);function PL(e,t){const r=e.nodeName.toLowerCase();if(r==="#comment")return;if(r==="#text")return e.textContent;if(r==="script")return null;const o=Array.from(e.childNodes).map(i=>PL(i,t)).filter(i=>!!i);let a={};if(e.attributes)for(let i of e.attributes)i.nodeName.includes("data-ww-link")||(a[i.nodeName]=i.nodeValue);return e.hasAttribute("data-ww-link-id")?zi(Jye,{link:t.links[e.getAttribute("data-ww-link-id")],...a},{default:()=>o}):zi(r,a,o)}const eSe={props:{text:{type:String,required:!0},links:{type:Object,default:()=>({})},tag:{type:String,default:"div"}},computed:{isEditing(){return!1}},render(){let e=this.text;e=e.replace(/

/g,"

"),e=e.replace(/<\/p>/g,"
"),e=e.replace(/
<\/div>/g,"
"),e=e.replace(/<\/div>
/g,"
"),e=e.replace(/\n/g,"
"),e=e.replace(/<\/div>/g,""),e=e.replace(/
/g,""),e=e.replace(/\u2028/g," ");const t=document.createElement("div");t.innerHTML=e;const r=Array.from(t.childNodes).map(a=>PL(a,{links:this.links,isEditing:this.isEditing})).filter(a=>!!a),o=["div","span","p","h1","h2","h3","h4","h5","h5","button"].includes(this.tag)?this.tag:ar(this.tag);return zi(o,{class:{"ww-text-content":!0,editing:this.isEditing},type:this.tag==="button"?"button":null},r)}},tSe=tr(eSe,[["__scopeId","data-v-91923aeb"]]),rSe={components:{wwTextContent:tSe},inject:{componentStyle:{default:()=>({})}},inheritAttrs:!1,props:{modelValue:[Object,String],textStyle:Object,textClass:String,disabled:Boolean,tag:{type:String,default:"div"},updateLinks:{type:Function},links:{type:Object},sanitize:{type:Boolean,default:!1}},emits:["add-link","remove-link","textbar-visibility-changed","update:modelValue"],computed:{text(){return`${wwLib.wwLang.getText(this.modelValue)}`},sanitizedText(){return this.sanitize?EA(this.text):this.text},style(){return{transition:(this.componentStyle||{}).transition,...this.textStyle,fontFamily:this.textStyle.fontFamily||"var(--ww-default-font-family)"}},displayContent(){return!0}},methods:{}};function oSe(e,t,r,o,a,i){const n=ar("wwTextContent");return i.displayContent?(wt(),Xt(n,oo({key:0},e.$attrs,{text:i.sanitizedText,style:i.style,"ww-responsive":"ww-text-content",tag:r.tag,class:r.textClass,links:r.links}),null,16,["text","style","tag","class","links"])):ea("",!0)}const nSe=tr(rSe,[["render",oSe],["__scopeId","data-v-93a6ca74"]]),aSe={props:{text:{type:[String,Object],default:void 0},tag:{type:String,default:"div"}},setup(){return{content:Ce("componentContent"),wwFrontState:Ce("wwFrontState")}},computed:{canEditText(){return!1},textStyle(){return wwLib.wwUtils.getTextStyleFromContent(this.content)},internalText(){return(this.text===void 0?this.content["_ww-text_text"]:this.text)||""},sanitize(){return this.content["_ww-text_sanitize"]},links(){if(this.content["_ww-text_links"]){const e={...this.content["_ww-text_links"],...this.content["_ww-text_links"][this.wwFrontState.lang]};return Object.keys(e).forEach(t=>{t.length<=4&&delete e[t]}),e}else return{}}},methods:{updateText(e){},async addLink({id:e,value:t}){},async removeLink(e){}}};function iSe(e,t,r,o,a,i){const n=ar("wwEditableText");return wt(),Xt(n,{class:"ww-text",tag:r.tag,disabled:!i.canEditText,"model-value":i.internalText,"text-style":i.textStyle,links:i.links,sanitize:i.sanitize,"onUpdate:modelValue":i.updateText,onAddLink:i.addLink,onRemoveLink:i.removeLink},null,8,["tag","disabled","model-value","text-style","links","sanitize","onUpdate:modelValue","onAddLink","onRemoveLink"])}const lSe=tr(aSe,[["render",iSe]]),sSe={props:{tag:{type:String,default:"div"}},setup(){return{layoutStyle:wwLib.wwElement.useLayoutStyle()}}};function dSe(e,t,r,o,a,i){return wt(),Xt(Ss(r.tag),{style:Tn(o.layoutStyle)},{default:en(()=>[Sn(e.$slots,"default")]),_:3},8,["style"])}const uSe=tr(sSe,[["render",dSe]]),cSe={install(e){e.component("wwLayout",$ye),e.component("wwLayoutItem",LL),e.component("wwLayoutItemContext",$L),e.component("wwLocalContext",Eye),e.component("wwLinkPopup",kye),e.component("wwObject",P2),e.component("wwElement",P2),e.component("wwSection",Wye),e.component("wwBackgroundVideo",qye),e.component("wwEditableText",nSe),e.component("wwText",lSe),e.component("wwSimpleLayout",uSe)}};function mSe(e,t){const r=[];return Object.keys(e).map(a=>{const i=`(${e[a].query||"min-width: 0px"})`;return{screenSize:a,mediaQueryList:window.matchMedia(i)}}).forEach(({screenSize:a,mediaQueryList:i})=>{if(i.addEventListener||i.addListener){let n=function(s){t(a,s.matches)};i.addEventListener?i.addEventListener("change",n):i.addListener(n),r.push({listener:n,mediaQueryList:i}),t(a,i.matches)}}),function(){r.forEach(({listener:i,mediaQueryList:n})=>{n.removeEventListener(i)})}}const gSe={install(e){e.config.globalProperties.wwLang=wwLib.wwLang}};let Mb,CL;var O2,I2;((O2=window.localStorage)==null?void 0:O2.getItem("ww-app-theme"))==="dark"?document.documentElement.classList.add("ww-app-theme-dark"):((I2=window.localStorage)==null?void 0:I2.getItem("ww-app-theme"))==="light"&&document.documentElement.classList.remove("ww-app-theme-dark");Mb=SN;CL=PD();window.wwLib=hye;var B2;if("serviceWorker"in navigator)if(window.wwg_disableManifest)navigator.serviceWorker.getRegistrations().then(e=>{for(const t of e)t.unregister()});else{const e=(B2=window.wwg_designInfo)==null?void 0:B2.baseTag;let t=(e==null?void 0:e.href)||null;t&&(t.startsWith("/")||(t=`/${t}`),t.endsWith("/")||(t=`${t}/`)),navigator.serviceWorker.register(`${t??"/"}serviceworker.js?_wwcv=${window.wwg_cacheVersion}`).catch(r=>{console.error("Service worker registration failed:",r)})}window._={isEqual:We.isEqual,isEmpty:We.isEmpty,cloneDeep:We.cloneDeep,get:We.get,set:We.set,merge:We.merge};window.axios=Zt.create({});const Wo=iO(XI),fSe=async function(){window.vm=Wo,Wo.use(CL),Wo.use(Mb),Wo.use(VT),Wo.use(cSe),Wo.use(gSe),Wo.config.unwrapInjectedRef=!0,Wo.use(HI()),await wwLib.initFront({store:Mb,router:Mp}),Wo.use(Mp),mSe(wwLib.$store.getters["front/getScreenSizes"],(t,r)=>{wwLib.$store.dispatch("front/setIsScreenSizeActive",{screenSize:t,isActive:r})}),await Mp.isReady();const e=document.getElementById("app");Wo.mount(e),wwLib.scrollStore.setValues(),wwLib.$emit("wwLib:isMounted"),wwLib.isMounted=!0};fSe();wwLib.getFrontWindow().addEventListener("beforeinstallprompt",e=>{e.preventDefault(),wwLib.installPwaPrompt=e});export{Jn as $,Hi as A,ae as B,Ce as C,yn as D,xSe as E,Ut as F,_Se as G,Ga as H,Ss as I,sE as J,PSe as K,Sn as L,S5 as M,zi as N,er as O,ol as P,vg as Q,bSe as R,yt as S,IE as T,CSe as U,SSe as V,LSe as W,ht as X,iO as Y,gs as Z,tr as _,ea as a,ySe as a0,Jo as a1,vSe as a2,_E as a3,jt as a4,vE as a5,wSe as a6,Y2 as a7,J8 as a8,L5 as a9,TSe as aa,nt as ab,rwe as ac,_a as ad,owe as ae,X0 as af,wn as b,to as c,ye as d,Pt as e,vs as f,ys as g,Wo as h,ar as i,Wt as j,rl as k,$t as l,oo as m,ka as n,wt as o,Tn as p,hSe as q,Fl as r,$Se as s,Q8 as t,MSe as u,ASe as v,Kt as w,Xt as x,pSe as y,en as z};