@bbn/bbn 2.0.184 → 2.0.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bbn.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bbn={})}(this,function(e){"use strict";function n(e,n,r,o,i){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(To(n));return t})(e,n),r,o,i)}function t(e,n,t,r,o,i){const a=E(n,t,r);if(o&&n!==a)throw new RangeError(vo(e,n,t,r,i));return a}function r(e){return null!==e&&/object|function/.test(typeof e)}function o(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const o=e(n,...r);return t.set(n,o),o}}function i(e){return a({name:e},1)}function a(e,n){return u(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return u(e=>({get:e,configurable:1}),e)}function m(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function l(e,n){const t={};let r=e.length;for(const o of n)t[e[--r]]=o;return t}function u(e,n,t){const r={};for(const o in n)r[o]=e(n[o],o,t);return r}function c(e,n,t){const r={};for(let o=0;o<n.length;o++){const i=n[o];r[i]=e(i,o,t)}return r}function d(e,n,t){const r={};for(let o=0;o<e.length;o++)r[n[o]]=t[e[o]];return r}function h(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function f(e,n){for(const t of n)if(t in e)return 1;return 0}function M(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function y(e,n,t){const r={...t};for(let t=0;t<n;t++)r[e[t]]=0;return r}function g(e,...n){return(...t)=>e(...n,...t)}function p(e){return e[0].toUpperCase()+e.substring(1)}function b(e){return e.slice().sort()}function w(e,n){return String(n).padStart(e,"0")}function v(e,n){return Math.sign(e-n)}function E(e,n,t){return Math.min(Math.max(e,n),t)}function T(e,n){return[Math.floor(e/n),S(e,n)]}function S(e,n){return(e%n+n)%n}function D(e,n){return[z(e,n),A(e,n)]}function z(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function H(e){return.5===Math.abs(e%1)}function k(e,n,t){let r=0,o=0;for(let i=0;i<=n;i++){const n=e[t[i]],a=pi[i],s=gi/a,[m,l]=D(n,s);r+=l*a,o+=m}const[i,a]=D(r,gi);return[o+i,a]}function I(e,n,t){const r={};for(let o=n;o>=0;o--){const n=pi[o];r[t[o]]=z(e,n),e=A(e,n)}return r}function _(e){if(void 0!==e)return P(e)}function C(e){return L(P(e))}function P(e){return x(Wi(e))}function G(e,n){if(null==n)throw new RangeError(To(e));return n}function O(e){if(!r(e))throw new TypeError(wo);return e}function B(e,n,t=e){if(typeof n!==e)throw new TypeError(Eo(t,n));return n}function x(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fo(n,e));return e||0}function L(e,n="number"){if(e<=0)throw new RangeError(Mo(n,e));return e}function N(e){if("symbol"==typeof e)throw new TypeError(bo);return String(e)}function j(e,n){return r(e)?String(e):Yi(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(po(e));return e}function F(e,n="number"){if("bigint"==typeof e)throw new TypeError(go(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yo(n,e));return e}function Y(e,n){return Math.trunc(F(e,n))||0}function Z(e,n){return x(F(e,n),n)}function W(e,n){return L(Y(e,n),n)}function U(e,n){let[t,r]=D(n,gi),o=e+t;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*gi),[o,r]}function q(e,n,t=1){return U(e[0]+n[0]*t,e[1]+n[1]*t)}function $(e,n){return U(e[0],e[1]+n)}function V(e,n){return q(n,e,-1)}function K(e,n){return v(e[0],n[0])||v(e[1],n[1])}function J(e,n,t){return-1===K(e,n)||1===K(e,t)}function X(e,n=1){const t=BigInt(gi/n);return[Number(e/t),Number(e%t)*n]}function Q(e,n=1){const t=gi/n,[r,o]=D(e,t);return[r,o*n]}function ee(e,n=1,t){const[r,o]=e,[i,a]=D(o,n);return r*(gi/n)+(i+(t?a/n:0))}function ne(e,n,t=T){const[r,o]=e,[i,a]=t(o,n);return[r*(gi/n)+i,a]}function te(e){return n(e,"isoYear",fa,ha,1),e.isoYear===fa?n(e,"isoMonth",4,12,1):e.isoYear===ha&&n(e,"isoMonth",1,9,1),e}function re(e){return oe({...e,...sa,isoHour:12}),e}function oe(e){const t=n(e,"isoYear",fa,ha,1),r=t===fa?1:t===ha?-1:0;return r&&ie(ue({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ie(e){if(!e||J(e,da,ca))throw new RangeError($o);return e}function ae(e){return k(e,5,na)[1]}function se(e){const[n,t]=T(e,gi);return[I(t,5,na),n]}function me(e){return ne(e,fi)}function le(e){return he(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function ue(e){const n=le(e);if(void 0!==n){const[t,r]=D(n,ui);return[t,r*hi+(e.isoMicrosecond||0)*di+(e.isoNanosecond||0)]}}function ce(e,n){const[t,r]=se(ae(e)-n);return ie(ue({...e,isoDay:e.isoDay+r,...t}))}function de(...e){return he(...e)/ci}function he(...e){const[n,t]=fe(...e),r=n.valueOf();if(!isNaN(r))return r-t*ui}function fe(e,n=1,t=1,r=0,o=0,i=0,a=0){const s=e===fa?1:e===ha?-1:0,m=new Date;return m.setUTCHours(r,o,i,a),m.setUTCFullYear(e,n-1,t+s),[m,s]}function Me(e,n){let[t,r]=$(e,n);r<0&&(r+=gi,t-=1);const[o,i]=T(r,hi),[a,s]=T(i,di);return ye(t*ui+o,a,s)}function ye(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-ua)/ui)*Math.sign(e),o=new Date(e-r*ui);return l(ra,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-ua)throw new RangeError($o);const t=e.formatToParts(n),r={};for(const e of t)r[e.type]=e.value;return r}function pe(e){return[e.isoYear,e.isoMonth,e.isoDay]}function be(e,n){return[n,0]}function we(){return ba}function ve(e,n){switch(n){case 2:return Te(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Ee(e){return Te(e)?366:365}function Te(e){return e%4==0&&(e%100!=0||e%400==0)}function Se(e){const[n,t]=fe(e.isoYear,e.isoMonth,e.isoDay);return S(n.getUTCDay()-t,7)||7}function De(e){return this.id===Li?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Ni?va(e):[]}function ze(e){const n=le(e);if(n<wa){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(Cs(Ni),n),{era:r,eraYear:o}=_r(t,Ni);return[r,o]}function Ae(e){return He(e),_e(e,1),e}function He(e){return Ie(e,1),e}function ke(e){return M(ta,e,Ie(e))}function Ie(e,t){const{isoYear:r}=e,o=n(e,"isoMonth",1,we(),t);return{isoYear:r,isoMonth:o,isoDay:n(e,"isoDay",1,ve(r,o),t)}}function _e(e,t){return l(na,[n(e,"isoHour",0,23,t),n(e,"isoMinute",0,59,t),n(e,"isoSecond",0,59,t),n(e,"isoMillisecond",0,999,t),n(e,"isoMicrosecond",0,999,t),n(e,"isoNanosecond",0,999,t)])}function Ce(e){return void 0===e?0:ja(O(e))}function Pe(e,n=0){e=Ye(e);const t=Ra(e),r=Fa(e,n);return[ja(e),r,t]}function Ge(e,n,t,r=9,o=0,i=4){n=Ye(n);let a=La(n,r,o),s=je(n),m=Ua(n,i);const l=xa(n,r,o,1);return null==a?a=Math.max(t,l):$e(a,l),s=Re(s,l,1),e&&(m=(e=>e<4?(e+2)%4:e)(m)),[a,l,s,m]}function Oe(e,n=6,t){let r=je(e=Ze(e,Ea));const o=Ua(e,7);let i=xa(e,n);return i=G(Ea,i),r=Re(r,i,void 0,t),[i,r,o]}function Be(e){return Ya(Ye(e))}function xe(e,n){return Le(Ye(e),n)}function Le(e,n=4){const t=Fe(e);return[Ua(e,4),...Ne(xa(e,n),t)]}function Ne(e,n){return null!=e?[pi[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function je(e){const n=e[Sa];return void 0===n?1:Y(n,Sa)}function Re(e,n,r,o){const i=o?gi:pi[n+1];if(i){const r=pi[n];if(i%((e=t(Sa,e,1,i/r-(o?0:1),1))*r))throw new RangeError(Eo(Sa,e))}else e=t(Sa,e,1,r?10**9:1,1);return e}function Fe(e){let n=e[Da];if(void 0!==n){if("number"!=typeof n){if("auto"===N(n))return;throw new RangeError(Eo(Da,n))}n=t(Da,Math.floor(n),0,9,1)}return n}function Ye(e){return void 0===e?{}:O(e)}function Ze(e,n){return"string"==typeof e?{[n]:e}:O(e)}function We(e){return{overflow:ka[e]}}function Ue(e,n,r=9,o=0,i){let a=n[e];if(void 0===a)return i?o:void 0;if(a=N(a),"auto"===a)return i?o:null;let s=mi[a];if(void 0===s&&(s=Ji[a]),void 0===s)throw new RangeError(Ao(e,a,mi));return t(e,s,o,r,1,li),s}function qe(e,n,t,r=0){const o=t[e];if(void 0===o)return r;const i=N(o),a=n[i];if(void 0===a)throw new RangeError(Ao(e,i,n));return a}function $e(e,n){if(n>e)throw new RangeError(ei)}function Ve(e){return{branding:Qa,epochNanoseconds:e}}function Ke(e,n,t){return{branding:Xa,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:Ka,calendar:n,...h(aa,e)}}function Xe(e,n=e.calendar){return{branding:Va,calendar:n,...h(oa,e)}}function Qe(e,n=e.calendar){return{branding:qa,calendar:n,...h(oa,e)}}function en(e,n=e.calendar){return{branding:$a,calendar:n,...h(oa,e)}}function nn(e){return{branding:Ja,...h(ia,e)}}function tn(e){return{branding:es,sign:gt(e),...h(qi,e)}}function rn(e){return ne(e.epochNanoseconds,hi)[0]}function on(e){return e.epochNanoseconds}function an(e,n){return ee(wt(e),pi[n],1)}function sn(e,n,t,r,o,i,a){const s=Ui[t],m={...n,[s]:n[s]+r},l=a(e,o,n),u=a(e,o,m);return[i(l),i(u)]}function mn(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(Lo);return ee(V(n,e))/r}function ln(e,n,t,r){return un(e,hn(n,t),r)}function un(e,n,t){const[r,o]=cn(e,n,t);return oe({...st(e,o),...r})}function cn(e,n,t){return se(wn(ae(e),n,t))}function dn(e){return wn(e,Mi,7)}function hn(e,n){return pi[e]*n}function fn(e){const n=Mn(e);return[n,st(n,1)]}function Mn(e){return ma(6,e)}function yn(e,n,t){const r=Math.min(St(e),6);return vt(bn(wt(e,r),n,t),r)}function gn(e,n,t,r,o,i,a,s,m,l){if(0===r&&1===o)return e;const u=ht(r,s)?dt(s)&&r<6&&t>=6?Tn:En:Sn;let[c,d,h]=u(e,n,t,r,o,i,a,s,m,l);return h&&7!==r&&(c=((e,n,t,r,o,i,a,s)=>{const m=gt(e);for(let l=r+1;l<=t;l++){if(7===l&&7!==t)continue;const r=ea(l,e);r[Ui[l]]+=m;const u=ee(V(a(s(o,i,r)),n));if(u&&Math.sign(u)!==m)break;e=r}return e})(c,d,t,Math.max(6,r),a,s,m,l)),c}function pn(e,n,t,r,o){if(6===n){const n=(e=>e[0]+e[1]/gi)(e);return[wn(n,t,r),0]}return bn(e,hn(n,t),r,o)}function bn(e,n,t,r){let[o,i]=e;r&&i<0&&(i+=gi,o-=1);const[a,s]=T(wn(i,n,t),gi);return U(o+a,s)}function wn(e,n,t){return vn(e/n,t)*n}function vn(e,n){return ns[n](e)}function En(e,n,t,r,o,i){const a=gt(e),s=wt(e),m=pn(s,r,o,i),l=V(s,m),u=Math.sign(m[0]-s[0])===a,c=vt(m,Math.min(t,6));return[{...e,...c},q(n,l),u]}function Tn(e,n,t,r,o,i,a,s,m,l){const u=gt(e)||1,c=ee(wt(e,5)),d=hn(r,o);let h=wn(c,d,i);const[f,M]=sn(a,{...e,...Qi},6,u,s,m,l),y=h-ee(V(f,M));let g=0;y&&Math.sign(y)!==u?n=$(f,h):(g+=u,h=wn(y,d,i),n=$(M,h));const p=Et(h);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Sn(e,n,t,r,o,i,a,s,m,l){const u=gt(e),c=Ui[r],d=ea(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const h=z(e[c],o)*o;d[c]=h;const[f,M]=sn(a,d,r,o*u,s,m,l),y=h+mn(n,f,M)*u*o,g=wn(y,o,i),p=Math.sign(g-y)===u;return d[c]=g,[d,p?M:f,p]}function Dn(e,n,t,r){const[o,i,a,s]=(e=>{const n=Le(e=Ye(e));return[e.timeZone,...n]})(r),m=void 0!==o;return((e,n,t,r,o,i)=>{t=bn(t,o,r,1);const a=n.R(t);return On(Me(t,a),i)+(e?jn(dn(a)):"Z")})(m,n(m?e(o):ts),t.epochNanoseconds,i,a,s)}function zn(e,n,t){const[r,o,i,a,s,m]=(e=>{e=Ye(e);const n=Ya(e),t=Fe(e),r=Wa(e),o=Ua(e,4),i=xa(e,4);return[n,Za(e),r,o,...Ne(i,t)]})(t);return((e,n,t,r,o,i,a,s,m,l)=>{r=bn(r,m,s,1);const u=e(t).R(r);return On(Me(r,u),l)+jn(dn(u),a)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,i)+Rn(n,o)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,o,i,a,s,m)}function An(e,n){const[t,r,o,i]=(e=>(e=Ye(e),[Ya(e),...Le(e)]))(n);return a=e.calendar,s=t,m=i,On(un(e,o,r),m)+Rn(a,s);var a,s,m}function Hn(e,n){return t=e.calendar,r=e,o=Be(n),Bn(r)+Rn(t,o);var t,r,o}function kn(e,n){return Pn(e.calendar,xn,e,Be(n))}function In(e,n){return Pn(e.calendar,Ln,e,Be(n))}function _n(e,n){const[t,r,o]=xe(n);return i=o,Nn(cn(e,r,t)[0],i);var i}function Cn(e,n){const[t,r,o]=xe(n,3);return r>1&&pt(e={...e,...yn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?yt(e):e,{hours:o,minutes:i}=r,[a,s]=ne(wt(r,3),fi,D);bt(a);const m=Yn(s,n),l=n>=0||!t||m;return(t<0?"-":"")+"P"+Gn({Y:Wn(r.years),M:Wn(r.months),W:Wn(r.weeks),D:Wn(r.days)})+(o||i||a||l?"T"+Gn({H:Wn(o),M:Wn(i),S:Wn(a,l)+m}):"")})(e,o)}function Pn(e,n,t,r){const o=r>1||0===r&&e!==xi;return 1===r?e===xi?n(t):Bn(t):o?Bn(t)+Fn(e,2===r):n(t)}function Gn(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function On(e,n){return Bn(e)+"T"+Nn(e,n)}function Bn(e){return xn(e)+"-"+si(e.isoDay)}function xn(e){const{isoYear:n}=e;return(n<0||n>9999?Zn(n)+w(6,Math.abs(n)):w(4,n))+"-"+si(e.isoMonth)}function Ln(e){return si(e.isoMonth)+"-"+si(e.isoDay)}function Nn(e,n){const t=[si(e.isoHour),si(e.isoMinute)];return-1!==n&&t.push(si(e.isoSecond)+((e,n,t,r)=>Yn(e*hi+n*di+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function jn(e,n=0){if(1===n)return"";const[t,r]=T(Math.abs(e),yi),[o,i]=T(r,Mi),[a,s]=T(i,fi);return Zn(e)+si(t)+":"+si(o)+(a||s?":"+si(a)+Yn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==xi)?Fn(e,2===n):""}function Fn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Yn(e,n){let t=w(9,e);return t=void 0===n?t.replace(as,""):t.slice(0,n),t?"."+t:""}function Zn(e){return e<0?"-":"+"}function Wn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function Un(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),o=Me(t,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function qn(e,n,t,r=0,o=0,i,a){if(void 0!==t&&1===r&&(1===r||a))return ce(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const o=ue(n);r&&(t=dn(t));for(const n of e){let e=ee(V(n,o));if(r&&(e=dn(e)),e===t)return n}})(s,n,t,i);if(void 0!==e)return e;if(0===r)throw new RangeError(Uo)}return a?ue(n):$n(e,n,o,s)}function $n(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qo);if(r.length)return r[3===t?1:0];const o=ue(n),i=((e,n)=>{const t=e.R($(n,-gi));return(e=>{if(e>gi)throw new RangeError(Wo);return e})(e.R($(n,gi))-t)})(e,o),a=i*(2===t?-1:1);return(r=e.I(Me(o,a)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=$(ue(n),-gi);return e.O(r,1)}function Kn(e,n,t){return Ve(ie(q(n.epochNanoseconds,(e=>{if(Tt(e))throw new RangeError(Xo);return wt(e,5)})(e?yt(t):t))))}function Jn(e,n,t,r,o,i=Object.create(null)){const a=n(r.timeZone),s=e(r.calendar);return{...r,...tt(a,s,r,t?yt(o):o,i)}}function Xn(e,n,t,r,o=Object.create(null)){const{calendar:i}=t;return Je(rt(e(i),t,n?yt(r):r,o),i)}function Qn(e,n,t,r,o){const{calendar:i}=t;return Xe(ot(e(i),t,n?yt(r):r,o),i)}function et(e,n,t,r,o){const i=t.calendar,a=e(i);let s=re(it(a,t));n&&(r=Mt(r)),r.sign<0&&(s=a.P(s,{...Xi,months:1}),s=st(s,-1));const m=a.P(s,r,o);return Qe(it(a,m),i)}function nt(e,n,t){return nn(at(n,e?yt(t):t)[0])}function tt(e,n,t,r,o){const i=wt(r,5);let a=t.epochNanoseconds;if(Tt(r)){const s=ss(t,e);a=q($n(e,{...ot(n,s,{...r,...Qi},o),...h(na,s)}),i)}else a=q(a,i),Ce(o);return{epochNanoseconds:ie(a)}}function rt(e,n,t,r){const[o,i]=at(n,t);return oe({...ot(e,n,{...t,...Qi,days:t.days+i},r),...o})}function ot(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);Ce(r);const o=t.days+wt(t,5)[0];return o?re(st(n,o)):n}function it(e,n,t=1){return st(n,t-e.day(n))}function at(e,n){const[t,r]=wt(n,5),[o,i]=se(ae(e)+r);return[o,t+i]}function st(e,n){return n?{...e,...ye(le(e)+n*ui)}:e}function mt(e,n,t){const r=e(t.calendar);return dt(t)?[t,r,n(t.timeZone)]:[{...t,...sa},r]}function lt(e){return e?on:ue}function ut(e){return e?g(tt,e):rt}function ct(e){return e?g(sr,e):mr}function dt(e){return e&&e.epochNanoseconds}function ht(e,n){return e<=6-(dt(n)?1:0)}function ft(e,n,t,r,o,i,a){const s=e(Ye(a).relativeTo),m=Math.max(St(o),St(i));if(ht(m,s))return tn(pt(((e,n,t,r)=>{const o=q(wt(e),wt(n),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError($o);return{...Xi,...vt(o,t)}})(o,i,m,r)));if(!s)throw new RangeError(Jo);r&&(i=yt(i));const[l,u,c]=mt(n,t,s),d=ut(c),h=ct(c),f=d(u,l,o);return tn(h(u,l,d(u,f,i),m))}function Mt(e){return tn(yt(e))}function yt(e){const n={};for(const t of Ui)n[t]=-1*e[t]||0;return n}function gt(e,n=Ui){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Ko);t=n}}return t}function pt(e){for(const n of Ki)t(n,e[n],-ms,ms,1);return bt(ee(wt(e),fi)),e}function bt(e){if(!Number.isSafeInteger(e))throw new RangeError(Vo)}function wt(e,n=6){return k(e,n,Ui)}function vt(e,n=6){const[t,r]=e,o=I(r,n,Ui);if(o[Ui[n]]+=t*(gi/pi[n]),!Number.isFinite(o[Ui[n]]))throw new RangeError($o);return o}function Et(e,n=5){return I(e,n,Ui)}function Tt(e){return Boolean(gt(e,Vi))}function St(e){let n=9;for(;n>0&&!e[Ui[n]];n--);return n}function Dt(e,n){return[e,n]}function zt(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=xt(e);if(void 0===n)throw new RangeError(ni(e));return n}function Ht(e,n,t){let r=Gt(Yi(e));if(!r||r.j)throw new RangeError(ni(e));return n?r.calendar===xi&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...sa}:{...r,isoDay:1,...sa}):t&&r.calendar===xi&&(r={...r,isoYear:pa}),Xe(r.C?_t(r):Ct(r))}function kt(e){if(e.calendar!==xi)throw new RangeError(ti(e.calendar))}function It(e,n,t=0,r=0){const o=Wt(e.timeZone),i=ls(o);let a;return Ae(e),a=e.C?qn(i,e,n,t,r,!i.$,e.j):Vn(i,e),Ke(a,o,Yr(e.calendar))}function _t(e){return Pt(oe(Ae(e)))}function Ct(e){return Pt(re(He(e)))}function Pt(e){return{...e,calendar:Yr(e.calendar)}}function Gt(e){const n=Es.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:Lt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Nt(e.slice(5)),...jt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ot(e){const n=ws.exec(e);return n?(e=>({isoYear:Lt(e),isoMonth:parseInt(e[4]),isoDay:1,...jt(e[5])}))(n):void 0}function Bt(e){const n=vs.exec(e);return n?(e=>({isoYear:pa,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...jt(e[3])}))(n):void 0}function xt(e,n){const t=Ss.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(ti(t));return(e=>{if(Math.abs(e)>=gi)throw new RangeError(Zo);return e})((Zt(e[2])*yi+Zt(e[3])*Mi+Zt(e[4])*fi+Rt(e[5]||""))*Yt(e[1]))})(t,n):void 0}function Lt(e){const n=Yt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(ti(-0));return n*t}function Nt(e){const n=Zt(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Zt(e[1]),isoMinute:Zt(e[2]),isoSecond:60===n?59:n}}function jt(e){let n,t;const r=[];if(e.replace(Ds,(e,o,i)=>{const a=Boolean(o),[s,m]=i.split("=").reverse();if(m){if("u-ca"===m)r.push(s),n||(n=a);else if(a||/[A-Z]/.test(m))throw new RangeError(ti(e))}else{if(t)throw new RangeError(ti(e));t=s}return""}),r.length>1&&n)throw new RangeError(ti(e));return{timeZone:t,calendar:r[0]||xi}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function Ft(e){return new RegExp(`^${e}$`,"i")}function Yt(e){return e&&"+"!==e?-1:1}function Zt(e){return void 0===e?0:parseInt(e)}function Wt(e){const n=qt(e);return"number"==typeof n?jn(n):n?(e=>{if(ks.test(e))throw new RangeError(Ro(e));if(Hs.test(e))throw new RangeError(Yo);return e.toLowerCase().split("/").map((e,n)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,t)=>e.length<=2&&!n||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!t?p(e).replace(/island|noronha|murdo|rivadavia|urville/,p):e)).join("/")})(e):ts}function Ut(e){const n=qt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function qt(e){const n=xt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function $t(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Kt(e,n){return Jt(e,n)||Xt(e,n)}function Jt(e,n){return v(le(e),le(n))}function Xt(e,n){return v(ae(e),ae(n))}function Qt(e,n){if(e===n)return 1;try{return Ut(e)===Ut(n)}catch(e){}}function er(e,n,t,r){const o=Ge(e,r,3,5),i=cr(n.epochNanoseconds,t.epochNanoseconds,...o);return tn(e?yt(i):i)}function nr(e,n,t,r,o,i){const a=yr(r.calendar,o.calendar),[s,m,l,u]=Ge(t,i,5),c=r.epochNanoseconds,d=o.epochNanoseconds,h=K(d,c);let f;if(h)if(s<6)f=cr(c,d,s,m,l,u);else{const t=n(((e,n)=>{if(!Qt(e,n))throw new RangeError(Fo);return e})(r.timeZone,o.timeZone)),c=e(a);f=lr(c,t,r,o,h,s,i),f=gn(f,d,s,m,l,u,c,r,on,g(tt,t))}else f=Xi;return tn(t?yt(f):f)}function tr(e,n,t,r,o){const i=yr(t.calendar,r.calendar),[a,s,m,l]=Ge(n,o,6),u=ue(t),c=ue(r),d=K(c,u);let h;if(d)if(a<=6)h=cr(u,c,a,s,m,l);else{const n=e(i);h=ur(n,t,r,d,a,o),h=gn(h,c,a,s,m,l,n,t,ue,rt)}else h=Xi;return tn(n?yt(h):h)}function rr(e,n,t,r,o){const i=yr(t.calendar,r.calendar);return ir(n,()=>e(i),t,r,...Ge(n,o,6,9,6))}function or(e,n,t,r,o){const i=yr(t.calendar,r.calendar),a=Ge(n,o,9,9,8),s=e(i),m=it(s,t),l=it(s,r);return m.isoYear===l.isoYear&&m.isoMonth===l.isoMonth&&m.isoDay===l.isoDay?tn(Xi):ir(n,()=>s,re(m),re(l),...a,8)}function ir(e,n,t,r,o,i,a,s,m=6){const l=ue(t),u=ue(r);if(void 0===l||void 0===u)throw new RangeError($o);let c;if(K(u,l))if(6===o)c=cr(l,u,o,i,a,s);else{const e=n();c=e.N(t,r,o),i===m&&1===a||(c=gn(c,u,o,i,a,s,e,t,ue,ot))}else c=Xi;return tn(e?yt(c):c)}function ar(e,n,t,r){const[o,i,a,s]=Ge(e,r,5,5),m=wn(Mr(n,t),hn(i,a),s),l={...Xi,...Et(m,o)};return tn(e?yt(l):l)}function sr(e,n,t,r,o,i){const a=K(r.epochNanoseconds,t.epochNanoseconds);return a?o<6?dr(t.epochNanoseconds,r.epochNanoseconds,o):lr(n,e,t,r,a,o,i):Xi}function mr(e,n,t,r,o){const i=ue(n),a=ue(t),s=K(a,i);return s?r<=6?dr(i,a,r):ur(e,n,t,s,r,o):Xi}function lr(e,n,t,r,o,i,a){const[s,m,l]=((e,n,t,r)=>{function o(){return c={...st(s,l++*-r),...a},d=$n(e,c),K(m,d)===-r}const i=ss(n,e),a=h(na,i),s=ss(t,e),m=t.epochNanoseconds;let l=0;const u=Mr(i,s);let c,d;if(Math.sign(u)===-r&&l++,o()&&(-1===r||o()))throw new RangeError(Lo);const f=ee(V(d,m));return[i,c,f]})(n,t,r,o);var u,c;return{...6===i?(u=s,c=m,{...Xi,days:hr(u,c)}):e.N(s,m,i,a),...Et(l)}}function ur(e,n,t,r,o,i){const[a,s,m]=((e,n,t)=>{let r=n,o=Mr(e,n);return Math.sign(o)===-t&&(r=st(n,-t),o+=gi*t),[e,r,o]})(n,t,r);return{...e.N(a,s,o,i),...Et(m)}}function cr(e,n,t,r,o,i){return{...Xi,...vt(pn(V(e,n),r,o,i),t)}}function dr(e,n,t){return{...Xi,...vt(V(e,n),t)}}function hr(e,n){return fr(le(e),le(n))}function fr(e,n){return Math.trunc((n-e)/ui)}function Mr(e,n){return ae(n)-ae(e)}function yr(e,n){if(e!==n)throw new RangeError(jo);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function br(e){const[n]=this.v(e);return fr(this.p(n),le(e))+1}function wr(e){const n=Is.exec(e);if(!n)throw new RangeError(Go(e));return[parseInt(n[1]),Boolean(n[2])]}function vr(e,n){return"M"+si(e)+(n?"L":"")}function Er(e,n,t){return e+(n||t&&e>=t?1:0)}function Tr(e,n){return e-(n&&e>=n?1:0)}function Sr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return ji[Ar(e)]}function zr(e){return Fi[Ar(e)]}function Ar(e){return Zr(e.id||xi)}function Hr(e){function n(e){return((e,n)=>({..._r(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=Cs(e),r=Zr(e);return{id:e,h:kr(n),l:Ir(n)}}function kr(e){return o(n=>{const t=le(n);return e(t)},WeakMap)}function Ir(e){const n=e(0).year-ga;return o(t=>{let r,o=he(t-n),i=0;const a=[],s=[];do{o+=400*ui}while((r=e(o)).year<=t);do{if(o+=(1-r.day)*ui,r.year===t&&(a.push(o),s.push(r.o)),o-=ui,++i>100||o<-ua)throw new RangeError(Lo)}while((r=e(o)).year>=t);return{i:a.reverse(),u:ii(s.reverse())}})}function _r(e,n){let t,r,o=Cr(e);if(e.era){const i=ji[n],a=Ri[n]||{};void 0!==i&&(t="islamic"===n?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===t||"b"===t?t="bce":"ad"===t||"a"===t?t="ce":"beforeroc"===t&&(t="broc"),t=a[t]||t,r=o,o=Sr(r,i[t]||0))}return{era:t,eraYear:r,year:o}}function Cr(e){return parseInt(e.relatedYear||e.year)}function Pr(e){const{year:n,o:t,day:r}=this.h(e),{u:o}=this.l(n);return[n,o[t]+1,r]}function Gr(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ui}function Or(e,n){const t=Br.call(this,e);return[Tr(n,t),t===n]}function Br(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=zr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function xr(e){return fr(Gr.call(this,e),Gr.call(this,e+1))}function Lr(e,n){const{i:t}=this.l(e);let r=n+1,o=t;return r>t.length&&(r=1,o=this.l(e+1).i),fr(t[n-1],o[r-1])}function Nr(e){return this.l(e).i.length}function jr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function Fr(e){return Yr(Yi(e))}function Yr(e){if((e=e.toLowerCase())!==xi&&e!==Li){const n=Cs(e).resolvedOptions().calendar;if(Zr(e)!==Zr(n))throw new RangeError(No(e));return n}return e}function Zr(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Wr(e,n){return t=>t===xi?e:t===Li||t===Ni?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),_s(t))}function Ur(e,n,t,r){const o=qr(t,r,Pi,[],Si);if(void 0!==o.timeZone){const r=t.F(o),i=Vr(o),a=e(o.timeZone);return{epochNanoseconds:qn(n(a),{...r,...i},void 0!==o.offset?At(o.offset):void 0),timeZone:a}}return{...t.F(o),...sa}}function qr(e,n,t,r=[],o=[]){return $r(n,[...e.fields(t),...o].sort(),r)}function $r(e,n,t,r=!t){const o={};let i,a=0;for(const r of n){if(r===i)throw new RangeError(Do(r));if("constructor"===r||"__proto__"===r)throw new RangeError(So(r));let n=e[r];if(void 0!==n)a=1,Ys[r]&&(n=Ys[r](n,r)),o[r]=n;else if(t){if(t.includes(r))throw new TypeError(To(r));o[r]=Bi[r]}i=r}if(r&&!a)throw new TypeError(zo(n));return o}function Vr(e,n){return _e(Zs({...Bi,...e}),n)}function Kr(e,n,t,r,o){n=h(t=e.fields(t),n),r=$r(r,o=e.fields(o),[]);let i=e.k(n,r);return i=$r(i,[...t,...o].sort(),[]),e.F(i)}function Jr(e,n){const t=Dr(e),r=Ri[e.id||""]||{};let{era:o,eraYear:i,year:a}=n;if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)throw new TypeError(Io);if(!t)throw new RangeError(ko);const e=t[r[o]||o];if(void 0===e)throw new RangeError(Co(o));const n=Sr(i,e);if(void 0!==a&&a!==n)throw new RangeError(_o);a=n}else if(void 0===a)throw new TypeError(Po(t));return a}function Xr(e,n,r,o){let{month:i,monthCode:a}=n;if(void 0!==a){const n=((e,n,t,r)=>{const o=e.L(t),[i,a]=wr(n);let s=Er(i,a,o);if(a){const n=zr(e);if(void 0===n)throw new RangeError(xo);if(n>0){if(s>n)throw new RangeError(xo);if(void 0===o){if(1===r)throw new RangeError(xo);s--}}else{if(s!==-n)throw new RangeError(xo);if(void 0===o&&1===r)throw new RangeError(xo)}}return s})(e,a,r,o);if(void 0!==i&&i!==n)throw new RangeError(Oo);i=n,o=1}else if(void 0===i)throw new TypeError(Bo);return t("month",i,1,e.B(r),o)}function Qr(e,t,r,o,i){return n(t,"day",1,e.U(o,r),i)}function eo(e,n,t,r){let o=0;const i=[];for(const e of t)void 0!==n[e]?o=1:i.push(e);if(Object.assign(e,n),o)for(const n of r||i)delete e[n]}function no(e){const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:vr(i,a),day:o}}function to(e,n){return Je(ss(n,e))}function ro(e,n){return Xe(ss(n,e))}function oo(e,n){return nn(ss(n,e))}function io(e,n,t){const r=new Set(t);return(o,i)=>{const a=t&&f(o,t);if(!f(o=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,o),e)){if(i&&a)throw new TypeError("Invalid formatting options");o={...n,...o}}return t&&(o.timeZone=ts,["full","long"].includes(o.J)&&(o.J="medium")),o}}function ao(e,n=so,t=0){const[r,,,o]=e;return(i,a=vm,...s)=>{const m=n(o&&o(...s),i,a,r,t),l=m.resolvedOptions();return[m,...mo(e,l,s)]}}function so(e,n,t,r,o){if(t=r(t,o),e){if(void 0!==t.timeZone)throw new TypeError(oi);t.timeZone=e}return new Ma(n,t)}function mo(e,n,t){const[,r,o]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==xi)&&e!==n)throw new RangeError(jo)})(e.calendar,n.calendar,o),r(e,n)))}function lo(e,n){return{...e,calendar:n}}function uo(e){const n=co();return Me(n,e.R(n))}function co(){return Q(Date.now(),hi)}function ho(){return Im||(Im=(new Ma).resolvedOptions().timeZone)}const fo=(e,n)=>`Non-integer ${e}: ${n}`,Mo=(e,n)=>`Non-positive ${e}: ${n}`,yo=(e,n)=>`Non-finite ${e}: ${n}`,go=e=>`Cannot convert bigint to ${e}`,po=e=>`Invalid bigint: ${e}`,bo="Cannot convert Symbol to string",wo="Invalid object",vo=(e,n,t,r,o)=>o?vo(e,o[n],o[t],o[r]):Eo(e,n)+`; must be between ${t}-${r}`,Eo=(e,n)=>`Invalid ${e}: ${n}`,To=e=>`Missing ${e}`,So=e=>`Invalid field ${e}`,Do=e=>`Duplicate field ${e}`,zo=e=>"No valid fields: "+e.join(),Ao=(e,n,t)=>Eo(e,n)+"; must be "+Object.keys(t).join(),Ho="Invalid calling context",ko="Forbidden era/eraYear",Io="Mismatching era/eraYear",_o="Mismatching year/eraYear",Co=e=>`Invalid era: ${e}`,Po=e=>"Missing year"+(e?"/era/eraYear":""),Go=e=>`Invalid monthCode: ${e}`,Oo="Mismatching month/monthCode",Bo="Missing month/monthCode",xo="Invalid leap month",Lo="Invalid protocol results",No=e=>Eo("Calendar",e),jo="Mismatching Calendars",Ro=e=>Eo("TimeZone",e),Fo="Mismatching TimeZones",Yo="Forbidden ICU TimeZone",Zo="Out-of-bounds offset",Wo="Out-of-bounds TimeZone gap",Uo="Invalid TimeZone offset",qo="Ambiguous offset",$o="Out-of-bounds date",Vo="Out-of-bounds duration",Ko="Cannot mix duration signs",Jo="Missing relativeTo",Xo="Cannot use large units",Qo="Required smallestUnit or largestUnit",ei="smallestUnit > largestUnit",ni=e=>`Cannot parse: ${e}`,ti=e=>`Invalid substring: ${e}`,ri="Mismatching types for formatting",oi="Cannot specify TimeZone",ii=g(c,(e,n)=>n),ai=g(c,(e,n,t)=>t),si=g(w,2),mi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},li=Object.keys(mi),ui=864e5,ci=1e3,di=1e3,hi=1e6,fi=1e9,Mi=6e10,yi=36e11,gi=864e11,pi=[1,di,hi,fi,Mi,yi,gi],bi=li.slice(0,6),wi=b(bi),vi=["offset"],Ei=["timeZone"],Ti=bi.concat(vi),Si=Ti.concat(Ei),Di=["era","eraYear"],zi=Di.concat(["year"]),Ai=["year"],Hi=["monthCode"],ki=["month"].concat(Hi),Ii=["day"],_i=ki.concat(Ai),Ci=Hi.concat(Ai),Pi=Ii.concat(_i),Gi=Ii.concat(ki),Oi=Ii.concat(Hi),Bi=ai(bi,0),xi="iso8601",Li="gregory",Ni="japanese",ji={[Li]:{"gregory-inverse":-1,gregory:0},[Ni]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Ri={[Li]:{bce:"gregory-inverse",ce:"gregory"},[Ni]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Fi={chinese:13,dangi:13,hebrew:-6},Yi=g(B,"string"),Zi=g(B,"boolean"),Wi=g(B,"number"),Ui=li.map(e=>e+"s"),qi=b(Ui),$i=Ui.slice(0,6),Vi=Ui.slice(6),Ki=Vi.slice(1),Ji=ii(Ui),Xi=ai(Ui,0),Qi=ai($i,0),ea=g(y,Ui),na=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],ta=["isoDay","isoMonth","isoYear"],ra=na.concat(ta),oa=b(ta),ia=b(na),aa=b(ra),sa=ai(ia,0),ma=g(y,ra),la=1e8,ua=la*ui,ca=[la,0],da=[-la,0],ha=275760,fa=-271821,Ma=Intl.DateTimeFormat,ya="en-GB",ga=1970,pa=1972,ba=12,wa=he(1868,9,8),va=o(ze,WeakMap),Ea="smallestUnit",Ta="unit",Sa="roundingIncrement",Da="fractionalSecondDigits",za="relativeTo",Aa="direction",Ha={constrain:0,reject:1},ka=Object.keys(Ha),Ia={compatible:0,reject:1,earlier:2,later:3},_a={reject:0,use:1,prefer:2,ignore:3},Ca={auto:0,never:1,critical:2,always:3},Pa={auto:0,never:1,critical:2},Ga={auto:0,never:1},Oa={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Ba={previous:-1,next:1},xa=g(Ue,Ea),La=g(Ue,"largestUnit"),Na=g(Ue,Ta),ja=g(qe,"overflow",Ha),Ra=g(qe,"disambiguation",Ia),Fa=g(qe,"offset",_a),Ya=g(qe,"calendarName",Ca),Za=g(qe,"timeZoneName",Pa),Wa=g(qe,"offset",Ga),Ua=g(qe,"roundingMode",Oa),qa="PlainYearMonth",$a="PlainMonthDay",Va="PlainDate",Ka="PlainDateTime",Ja="PlainTime",Xa="ZonedDateTime",Qa="Instant",es="Duration",ns=[Math.floor,e=>H(e)?Math.floor(e):Math.round(e),Math.ceil,e=>H(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>H(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>H(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,os=de(1847),is=de((new Date).getUTCFullYear()+10),as=/0+$/,ss=o(Un,WeakMap),ms=2**32-1,ls=o(e=>{const n=qt(e);return"object"==typeof n?new cs(n):new us(n||0)});class us{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=ue({...e,...sa});if(!n||Math.abs(n[0])>1e8)throw new RangeError($o)})(e),[ce(e,this.$)]}O(){}}class cs{constructor(e){this.nn=(e=>{function n(e){const n=E(e,a,s),[o,m]=zt(n),l=r(o),u=r(m);return l===u?l:t(i(o,m),l,u,e)}function t(n,t,r,o){let i,a;for(;(void 0===o||void 0===(i=o<n[0]?t:o>=n[1]?r:void 0))&&(a=n[1]-n[0]);){const t=n[0]+Math.floor(a/2);e(t)===r?n[1]=t:n[0]=t+1}return i}const r=o(e),i=o(Dt);let a=os,s=is;return{tn(e){const t=n(e-86400),r=n(e+86400),o=e-t,i=e-r;if(t===r)return[o];const a=n(o);return a===n(i)?[e-a]:t>r?[o,i]:[]},rn:n,O(e,n){const o=E(e,a,s);let[m,l]=zt(o);const u=rs*n,c=n<0?()=>l>a||(a=o,0):()=>m<s||(s=o,0);for(;c();){const o=r(m),a=r(l);if(o!==a){const r=i(m,l);t(r,o,a);const s=r[0];if((v(s,e)||1)===n)return s}m+=u,l+=u}}}})((e=>n=>{const t=ge(e,n*ci);return de(Cr(t),parseInt(t.month),parseInt(t.day),parseInt(t.hour),parseInt(t.minute),parseInt(t.second))-n})(e))}R(e){return this.nn.rn((e=>me(e)[0])(e))*fi}I(e){const[n,t]=[de((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*hi+r.isoMicrosecond*di+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ie($(Q(e,fi),t)))}O(e,n){const[t,r]=me(e),o=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==o)return Q(o,fi)}}const ds="([+-])",hs="(?:[.,](\\d{1,9}))?",fs=`(?:(?:${ds}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Ms="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+hs+")?)?",ys=ds+Ms,gs=fs+"-?(\\d{2})(?:[T ]"+Ms+"(Z|"+ys+")?)?",ps="\\[(!?)([^\\]]*)\\]",bs=`((?:${ps}){0,9})`,ws=Ft(fs+bs),vs=Ft("(?:--)?(\\d{2})-?(\\d{2})"+bs),Es=Ft(gs+bs),Ts=Ft("T?"+Ms+"(?:"+ys+")?"+bs),Ss=Ft(ys),Ds=new RegExp(ps,"g"),zs=Ft(`${ds}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${hs}H)?(?:(\\d+)${hs}M)?(?:(\\d+)${hs}S)?)?`),As=o(e=>new Ma(ya,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Hs=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,ks=/[^\w\/:+-]+/,Is=/^M(\d{2})(L?)$/,_s=o(Hr),Cs=o(e=>new Ma(ya,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Ps={P(e,n,r){const o=Ce(r);let i,{years:a,months:s,weeks:m,days:l}=n;if(l+=wt(n,5)[0],a||s)i=((e,n,r,o,i)=>{let[a,s,m]=e.v(n);if(r){const[n,o]=e.q(a,s);a+=r,s=Er(n,o,e.L(a)),s=t("month",s,1,e.B(a),i)}return o&&([a,s]=e.un(a,s,o)),m=t("day",m,1,e.U(a,s),i),e.p(a,s,m)})(this,e,a,s,o);else{if(!m&&!l)return e;i=le(e)}if(void 0===i)throw new RangeError($o);return i+=(7*m+l)*ui,re(ye(i))},N(e,n,t){if(t<=7){let r=0,o=hr({...e,...sa},{...n,...sa});return 7===t&&([r,o]=D(o,7)),{...Xi,weeks:r,days:o}}const r=this.v(e),o=this.v(n);let[i,a,s]=((e,n,t,r,o,i,a)=>{let s=o-n,m=i-t,l=a-r;if(s||m){const u=Math.sign(s||m);let c=e.U(o,i),d=0;if(Math.sign(l)===-u){const r=c;[o,i]=e.un(o,i,-u),s=o-n,m=i-t,c=e.U(o,i),d=u<0?-r:c}if(l=a-Math.min(r,c)+d,s){const[r,a]=e.q(n,t),[l,c]=e.q(o,i);if(m=l-r||Number(c)-Number(a),Math.sign(m)===-u){const t=u<0&&-e.B(o);s=(o-=u)-n,m=i-Er(r,a,e.L(o))+(t||e.B(o))}}}return[s,m,l]})(this,...r,...o);return 8===t&&(a+=this.cn(i,r[0]),i=0),{...Xi,years:i,months:a,days:s}},F(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t),i=Qr(this,e,o,r,t);return Xe(re(this.V(r,o,i)),this.id||xi)},K(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t);return Qe(te(this.V(r,o,1)),this.id||xi)},_(e,n){const t=Ce(n);let r,o,i,a=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===a&&s&&(a=pa),void 0!==a){const n=Xr(this,e,a,t);r=Qr(this,e,n,a,t);const s=this.L(a);o=Tr(n,s),i=n===s}else{if(void 0===e.monthCode)throw new TypeError(Bo);if([o,i]=wr(e.monthCode),this.id&&this.id!==Li&&this.id!==Ni)if(this.id&&"coptic"===Zr(this.id)&&0===t){const n=i||13!==o?30:6;r=e.day,r=E(r,1,n)}else if(this.id&&"chinese"===Zr(this.id)&&0===t){const n=!i||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=E(r,1,n)}else r=e.day;else r=Qr(this,e,Xr(this,e,pa,t),pa,t)}const m=this.G(o,i,r);if(!m)throw new RangeError("Cannot guess year");const[l,u]=m;return en(re(this.V(l,u,r)),this.id||xi)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Di]:e},k(e,n){const t=Object.assign(Object.create(null),e);return eo(t,n,ki),Dr(this)&&(eo(t,n,zi),this.id===Ni&&eo(t,n,Gi,Di)),t},inLeapYear(e){const[n]=this.v(e);return this.sn(n)},monthsInYear(e){const[n]=this.v(e);return this.B(n)},daysInMonth(e){const[n,t]=this.v(e);return this.U(n,t)},daysInYear(e){const[n]=this.v(e);return this.fn(n)},dayOfYear:br,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,o]=this.q(n,t);return vr(r,o)},dayOfWeek:Se,daysInWeek:()=>7},Gs={v:pe,hn:De,q:be},Os={dayOfYear:br,v:pe,p:he},Bs=Object.assign({},Os,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=Ee(d+e),r=e||1,o=n(S(m+t*r,7));return u=(t+(o-l)*r)/7}const r=this.id?1:4,o=Se(e),i=this.dayOfYear(e),a=S(o-1,7),s=i-1,m=S(a-s,7),l=n(m);let u,c=Math.floor((s-l)/7)+1,d=e.isoYear;return c?c>t(0)&&(c=1,d++):(c=t(-1),d--),[c,d,u]}}),xs=Object.assign({},Ps,Bs,{v:pe,hn:De,q:be,G(e,n){if(!n)return[pa,e]},sn:Te,L(){},B:we,cn:e=>e*ba,U:ve,fn:Ee,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:he,un:(e,n,t)=>(e+=z(t,ba),(n+=A(t,ba))<1?(e--,n+=ba):n>ba&&(e++,n-=ba),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Ls={v:Pr,hn:jr,q:Or},Ns={dayOfYear:br,v:Pr,p:Gr,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},js=Object.assign({},Ps,Ns,{v:Pr,hn:jr,q:Or,G(e,n,t){const r=this.id&&"chinese"===Zr(this.id)?((e,n,t)=>{if(n)switch(e){case 1:return 1651;case 2:return t<30?1947:1765;case 3:return t<30?1966:1955;case 4:return t<30?1963:1944;case 5:return t<30?1971:1952;case 6:return t<30?1960:1941;case 7:return t<30?1968:1938;case 8:return t<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,n,t):pa;let[o,i,a]=Pr.call(this,{isoYear:r,isoMonth:ba,isoDay:31});const s=Br.call(this,o),m=i===s;1===(v(e,Tr(i,s))||v(Number(n),Number(m))||v(t,a))&&o--;for(let r=0;r<100;r++){const i=o-r,a=Br.call(this,i),s=Er(e,n,a);if(n===(s===a)&&t<=Lr.call(this,i,s))return[i,s]}},sn(e){const n=xr.call(this,e);return n>xr.call(this,e-1)&&n>xr.call(this,e+1)},L:Br,B:Nr,cn(e,n){const t=n+e,r=Math.sign(e),o=r<0?-1:0;let i=0;for(let e=n;e!==t;e+=r)i+=Nr.call(this,e+o);return i},U:Lr,fn:xr,V(e,n,t){return ye(Gr.call(this,e,n,t))},p:Gr,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError($o);if(t<0)for(;n<1;)n+=Nr.call(this,--e);else{let t;for(;n>(t=Nr.call(this,e));)n-=t,e++}}return[e,n]},year(e){return this.h(e).year},month(e){const{year:n,o:t}=this.h(e),{u:r}=this.l(n);return r[t]+1},day(e){return this.h(e).day}}),Rs=Wr(Gs,Ls),Fs=Wr(xs,js),Ys={...{era:j,eraYear:Y,year:Y,month:W,monthCode(e){const n=j(e);return wr(n),n},day:W},...ai(bi,Y),...ai(Ui,Z),offset(e){const n=j(e);return At(n),n}},Zs=g(d,bi,na),Ws=g(d,na,bi),Us="numeric",qs=["timeZoneName"],$s={month:Us,day:Us},Vs={year:Us,month:Us},Ks=Object.assign({},Vs,{day:Us}),Js={hour:Us,minute:Us,second:Us},Xs=Object.assign({},Ks,Js),Qs=Object.assign({},Xs,{timeZoneName:"short"}),em=Object.keys(Vs),nm=Object.keys($s),tm=Object.keys(Ks),rm=Object.keys(Js),om=["dateStyle"],im=em.concat(om),am=nm.concat(om),sm=tm.concat(om,["weekday"]),mm=rm.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),lm=sm.concat(mm),um=qs.concat(mm),cm=qs.concat(sm),dm=qs.concat(["day","weekday"],mm),hm=qs.concat(["year","weekday"],mm),fm=io(lm,Xs),Mm=io(lm,Qs),ym=io(lm,Xs,qs),gm=io(sm,Ks,um),pm=io(mm,Js,cm),bm=io(im,Vs,dm),wm=io(am,$s,hm),vm={},Em=new Ma(void 0,{calendar:xi}).resolvedOptions().calendar===xi,Tm=[fm,rn],Sm=[Mm,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Fo);return t}],Dm=[ym,le],zm=[gm,le],Am=[pm,e=>ae(e)/hi],Hm=[bm,le,Em],km=[wm,le,Em];let Im;function _m(e,n,t,r,o){function l(...e){if(!(this instanceof l))throw new TypeError(Ho);rl(this,n(...e))}function c(e,n){return Object.defineProperties(function(...n){return e.call(this,d(this),...n)},i(n))}function d(n){const t=tl(n);if(!t||t.branding!==e)throw new TypeError(Ho);return t}return Object.defineProperties(l.prototype,{...s(u(c,t)),...a(u(c,r)),...m("Temporal."+e)}),Object.defineProperties(l,{...a(o),...i(e)}),[l,e=>{const n=Object.create(l.prototype);return rl(n,e),n},d]}function Cm(e){if(tl(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Pm(e){return Gm(e)||xi}function Gm(e){const{calendar:n}=e;if(void 0!==n)return Om(n)}function Om(e){if(r(e)){const{calendar:n}=tl(e)||{};if(!n)throw new TypeError(No(e));return n}return(e=>Yr(function(e){const n=Gt(e)||Ot(e)||Bt(e);return n?n.calendar:e}(Yi(e))))(e)}function Bm(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return Fs(n)[t](e)};return n}function xm(){throw new TypeError("Cannot use valueOf")}function Lm(e){if(r(e)){const{timeZone:n}=tl(e)||{};if(!n)throw new TypeError(Ro(e));return n}return(e=>Wt(function(e){const n=Gt(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(Yi(e))))(e)}function Nm(e){if(r(e)){const n=tl(e);return n&&n.branding===es?n:function(e){const n=$r(e,qi);return tn(pt({...Xi,...n}))}(e)}return function(e){const n=(e=>{const n=zs.exec(e);return n?(e=>{function n(e,n,i){let a=0,s=0;if(i&&([a,o]=T(o,pi[i])),void 0!==e){if(r)throw new RangeError(ti(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(ti(e));return n})(e),t=1,n&&(o=Rt(n)*(pi[i]/fi),r=1)}return a+s}let t=0,r=0,o=0,i={...l(Ui,[n(e[2]),n(e[3]),n(e[4]),n(e[5]),n(e[6],e[7],5),n(e[8],e[9],4),n(e[10],e[11],3)]),...I(o,2,Ui)};if(!t)throw new RangeError(zo(Ui));return Yt(e[1])<0&&(i=yt(i)),i})(n):void 0})(Yi(e));if(!n)throw new RangeError(ni(e));return tn(pt(n))}(e)}function jm(e){if(void 0!==e){if(r(e)){const n=tl(e)||{};switch(n.branding){case Xa:case Va:return n;case Ka:return Xe(n)}const t=Pm(e);return{...Ur(Lm,ls,Fs(t),e),calendar:t}}return function(e){const n=Gt(Yi(e));if(!n)throw new RangeError(ni(e));if(n.timeZone)return It(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ni(e));return Ct(n)}(e)}}function Rm(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ja:return Ce(n),t;case Ka:return Ce(n),nn(t);case Xa:return Ce(n),oo(ls,t)}return function(e,n){return nn(Vr($r(e,wi,[],1),Ce(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Ts.exec(e);return n?(jt(n[10]),Nt(n)):void 0})(Yi(e));if(!t){if(t=Gt(e),!t)throw new RangeError(ni(e));if(!t.C)throw new RangeError(ni(e));if(t.j)throw new RangeError(ti("Z"));kt(t)}if((n=Ot(e))&&ke(n))throw new RangeError(ni(e));if((n=Bt(e))&&ke(n))throw new RangeError(ni(e));return nn(_e(t,1))}(e);return Ce(n),t}function Fm(e){return void 0===e?void 0:Rm(e)}function Ym(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ka:return Ce(n),t;case Va:return Ce(n),Je({...t,...sa});case Xa:return Ce(n),to(ls,t)}return function(e,n,t){const r=qr(e,n,Pi,[],bi),o=Ce(t);return Je(oe({...e.F(r,We(o)),...Vr(r,o)}))}(Fs(Pm(e)),e,n)}const t=function(e){const n=Gt(Yi(e));if(!n||n.j)throw new RangeError(ni(e));return Je(_t(n))}(e);return Ce(n),t}function Zm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===$a)return Ce(n),t;const r=Gm(e);return function(e,n,t,r){const o=qr(e,t,Pi,Ii);return n&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=pa),e._(o,r)}(Fs(r||xi),!r,e,n)}const t=function(e,n){const t=Bt(Yi(n));if(t)return kt(t),en(He(t));const r=Ht(n,0,1),{calendar:o}=r,i=e(o),[a,s,m]=i.v(r),[l,u]=i.q(a,s),[c,d]=i.G(l,u,m);return en(re(i.V(c,d,m)),o)}(Fs,e);return Ce(n),t}function Wm(e,n){if(r(e)){const t=tl(e);return t&&t.branding===qa?(Ce(n),t):function(e,n,t,r){const o=qr(e,n,_i,r);return e.K(o,t)}(Fs(Pm(e)),e,n)}const t=function(e,n){const t=Ot(Yi(n));if(t)return kt(t),Qe(te(He(t)));const r=Ht(n,1);return Qe(it(e(r.calendar),r))}(Fs,e);return Ce(n),t}function Um(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Va:return Ce(n),t;case Ka:return Ce(n),Xe(t);case Xa:return Ce(n),ro(ls,t)}return function(e,n,t,r=[]){const o=qr(e,n,Pi,r);return e.F(o,t)}(Fs(Pm(e)),e,n)}const t=Ht(e);return Ce(n),t}function qm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===Xa)return Pe(n),t;const r=Pm(e);return function(e,n,t,r,o,i){const a=qr(t,o,Pi,Ei,Si),s=e(a.timeZone),[m,l,u]=Pe(i),c=t.F(a,We(m)),d=Vr(a,m);return Ke(qn(n(s),{...c,...d},void 0!==a.offset?At(a.offset):void 0,l,u),s,r)}(Lm,ls,Fs(r),r,e,n)}return function(e,n){const t=Gt(Yi(e));if(!t||!t.timeZone)throw new RangeError(ni(e));const{offset:r}=t,o=r?At(r):void 0,[,i,a]=Pe(n);return It(t,o,i,a)}(e,n)}function $m(e){return u(e=>n=>e(Vm(n)),e)}function Vm(e){return ss(e,ls)}function Km(e){if(r(e)){const n=tl(e);if(n)switch(n.branding){case Qa:return n;case Xa:return Ve(n.epochNanoseconds)}}return function(e){const n=Gt(e=j(e));if(!n)throw new RangeError(ni(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ni(e));t=At(n.offset)}return n.timeZone&&xt(n.timeZone,1),Ve(ce(Ae(n),t))}(e)}function Jm(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){Fl.set(this,((e,n)=>{const t=new Ma(e,n),r=t.resolvedOptions(),i=r.locale,a=h(Object.keys(n),r),s=o(el),m=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ri);for(const e of n)if(void 0===e)throw new TypeError(ri)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tl(e)||Number(e));let o,m=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(m++&&n!==o)throw new TypeError(ri);o=n}return o?s(o)(i,a,...r):[t,...r]};return m.X=t,m})(e,n))}const t=Ma.prototype,r=Object.getOwnPropertyDescriptors(t),a=Object.getOwnPropertyDescriptors(Ma);for(const n in r){const t=r[n],o=n.startsWith("format")&&Xm(n);"function"==typeof t.value?t.value="constructor"===n?e:o||Qm(n):o&&(t.get=function(){if(!Fl.has(this))throw new TypeError(Ho);return(...e)=>o.apply(this,e)},Object.defineProperties(t.get,i(`get ${n}`)))}return a.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,a),e}function Xm(e){return Object.defineProperties(function(...n){const t=Fl.get(this),[r,...o]=t(e.includes("Range"),...n);return r[e](...o)},i(e))}function Qm(e){return Object.defineProperties(function(...n){return Fl.get(this).X[e](...n)},i(e))}function el(e){const n=gl[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return ao(n,o(so),1)}const nl=new WeakMap,tl=nl.get.bind(nl),rl=nl.set.bind(nl),ol={era:function(e){if(void 0!==e)return Yi(e)},eraYear:_,year:P,month:C,daysInMonth:C,daysInYear:C,inLeapYear:Zi,monthsInYear:C},il={monthCode:Yi},al={day:C},sl={dayOfWeek:C,dayOfYear:C,weekOfYear:function(e){if(void 0!==e)return C(e)},yearOfWeek:_,daysInWeek:C},ml=Bm(Object.assign({},ol,il,al,sl)),ll=Bm({...ol,...il}),ul=Bm({...il,...al}),cl={calendarId:e=>e.calendar},dl=c(e=>n=>n[e],Ui.concat("sign")),hl=c((e,n)=>e=>e[na[n]],bi),fl={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,o=Math.floor(r/n),i=gi/n;return BigInt(t)*BigInt(i)+BigInt(o)})(e.epochNanoseconds)}},[Ml,yl]=_m(es,function(e=0,n=0,t=0,r=0,o=0,i=0,a=0,s=0,m=0,c=0){return tn(pt(u(Z,l(Ui,[e,n,t,r,o,i,a,s,m,c]))))},{...dl,blank:function(e){return!e.sign}},{with:(e,n)=>yl(function(e,n){return tn((t=e,r=n,pt({...t,...$r(r,qi)})));var t,r}(e,n)),negated:e=>yl(Mt(e)),abs:e=>yl(function(e){return-1===e.sign?Mt(e):e}(e)),add:(e,n,t)=>yl(ft(jm,Fs,ls,0,e,Nm(n),t)),subtract:(e,n,t)=>yl(ft(jm,Fs,ls,1,e,Nm(n),t)),round:(e,n)=>yl(function(e,n,t,r,o){const i=St(r),[a,s,m,l,u]=((e,n,t)=>{e=Ze(e,Ea);let r=La(e);const o=t(e[za]);let i=je(e);const a=Ua(e,7);let s=xa(e);if(void 0===r&&void 0===s)throw new RangeError(Qo);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),$e(r,s),i=Re(i,s,1),i>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,i,a,o]})(o,i,e),c=Math.max(i,a);if(!u&&c<=6)return tn(pt(((e,n,t,r,o)=>{const i=pn(wt(e),t,r,o);return{...Xi,...vt(i,n)}})(r,a,s,m,l)));if(!dt(u)&&!r.sign)return r;if(!u)throw new RangeError(Jo);const[d,h,f]=mt(n,t,u),M=lt(f),y=ut(f),g=ct(f),p=y(h,d,r);dt(u)||(oe(d),oe(p));let b=g(h,d,p,a);const w=r.sign,v=gt(b);if(w&&v&&w!==v)throw new RangeError(Lo);return b=gn(b,M(p),a,s,m,l,h,d,M,y),tn(b)}(jm,Fs,ls,e,n)),total:(e,n)=>function(e,n,t,r,o){const i=St(r),[a,s]=((e,n)=>{const t=n((e=Ze(e,Ta))[za]);let r=Na(e);return r=G(Ta,r),[r,t]})(o,e),m=Math.max(a,i);if(!s&&ht(m,s))return an(r,a);if(!s)throw new RangeError(Jo);if(!r.sign)return 0;const[l,u,c]=mt(n,t,s),d=lt(c),h=ut(c),f=ct(c),M=h(u,l,r);dt(s)||(oe(l),oe(M));const y=f(u,l,M,a);return ht(a,s)?an(y,a):((e,n,t,r,o,i,a)=>{const s=gt(e),[m,l]=sn(r,ea(t,e),t,s,o,i,a),u=mn(n,m,l);return e[Ui[t]]+u*s})(y,d(M),a,u,l,d,h)}(jm,Fs,ls,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):Cn(e)},toString:Cn,toJSON:e=>Cn(e),valueOf:xm},{from:e=>yl(Nm(e)),compare:(e,n,t)=>function(e,n,t,r,o,i){const a=e(Ye(i).relativeTo),s=Math.max(St(r),St(o));if(M(Ui,r,o))return 0;if(ht(s,a))return K(wt(r),wt(o));if(!a)throw new RangeError(Jo);const[m,l,u]=mt(n,t,a),c=lt(u),d=ut(u);return K(c(d(l,m,r)),c(d(l,m,o)))}(jm,Fs,ls,Nm(e),Nm(n),t)}),gl={Instant:Tm,PlainDateTime:Dm,PlainDate:zm,PlainTime:Am,PlainYearMonth:Hm,PlainMonthDay:km},pl=ao(Tm),bl=ao(Sm),wl=ao(Dm),vl=ao(zm),El=ao(Am),Tl=ao(Hm),Sl=ao(km),[Dl,zl]=_m(Ja,function(e=0,n=0,t=0,r=0,o=0,i=0){return nn(_e(u(Y,l(na,[e,n,t,r,o,i])),1))},hl,{with(e,n,t){return zl(function(e,n,t){return nn(((e,n,t)=>Vr({...h(wi,e),...$r(n,wi)},Ce(t)))(e,n,t))}(this,Cm(n),t))},add:(e,n)=>zl(nt(0,e,Nm(n))),subtract:(e,n)=>zl(nt(1,e,Nm(n))),until:(e,n,t)=>yl(ar(0,e,Rm(n),t)),since:(e,n,t)=>yl(ar(1,e,Rm(n),t)),round:(e,n)=>zl(function(e,n){const[t,r,o]=Oe(n,5);var i;return nn((i=o,cn(e,hn(t,r),i)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Xt(e,n)}(e,Rm(n)),toLocaleString(e,n,t){const[r,o]=El(n,t,e);return r.format(o)},toString:_n,toJSON:e=>_n(e),valueOf:xm},{from:(e,n)=>zl(Rm(e,n)),compare:(e,n)=>Xt(Rm(e),Rm(n))}),[Al,Hl]=_m(Ka,g(function(e,n,t,r,o=0,i=0,a=0,s=0,m=0,c=0,d=xi){return Je(oe(Ae(u(Y,l(ra,[n,t,r,o,i,a,s,m,c])))),e(d))},Fr),{...cl,...ml,...hl},{with:(e,n,t)=>Hl(function(e,n,t,r){const o=e(n.calendar),i=[...o.fields(Pi),...bi].sort(),a={...no(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const m=$r(t,i),l=Ce(r),u=o.k(a,m),c={...a,...m};return Je(oe({...o.F(u,We(l)),..._e(Zs(c),l)}))}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Hl(lo(e,Om(n))),withPlainTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),add:(e,n,t)=>Hl(Xn(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Hl(Xn(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(tr(Fs,0,e,Ym(n),t)),since:(e,n,t)=>yl(tr(Fs,1,e,Ym(n),t)),round:(e,n)=>Hl(function(e,n){return Je(ln(e,...Oe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)&&e.calendar===n.calendar}(e,Ym(n)),toZonedDateTime:(e,n,t)=>Bl(function(e,n,t,r){const o=((e,n,t,r)=>{const o=(e=>Ra(Ye(e)))(r);return $n(e(n),t,o)})(e,t,n,r);return Ke(ie(o),t,n.calendar)}(ls,e,Lm(n),t)),toPlainDate:e=>Gl(Xe(e)),toPlainTime:e=>zl(nn(e)),toLocaleString(e,n,t){const[r,o]=wl(n,t,e);return r.format(o)},toString:An,toJSON:e=>An(e),valueOf:xm},{from:(e,n)=>Hl(Ym(e,n)),compare:(e,n)=>Kt(Ym(e),Ym(n))}),[kl,Il]=_m($a,g(function(e,n,t,r=xi,o=pa){const i=Y(n),a=Y(t),s=e(r);return en(re(He({isoYear:Y(o),isoMonth:i,isoDay:a})),s)},Fr),{...cl,...ul},{with:(e,n,t)=>Il(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=(e=>{const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{monthCode:vr(i,a),day:o}})(n),s=$r(t,i),m=o.k(a,s);return o._(m,r)}(Fs,e,Cm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Zm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Oi,O(t),Ai))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Sl(n,t,e);return r.format(o)},toString:In,toJSON:e=>In(e),valueOf:xm},{from:(e,n)=>Il(Zm(e,n))}),[_l,Cl]=_m(qa,g(function(e,n,t,r=xi,o=1){const i=Y(n),a=Y(t),s=e(r);return Qe(te(He({isoYear:i,isoMonth:a,isoDay:Y(o)})),s)},Fr),{...cl,...ll},{with:(e,n,t)=>Cl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(_i).sort(),a=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[o,i]=n.q(t,r);return{year:t,monthCode:vr(o,i)}})(n),s=$r(t,i),m=o.k(a,s);return o.K(m,r)}(Fs,e,Cm(n),t)),add:(e,n,t)=>Cl(et(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Cl(et(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(or(Fs,0,e,Wm(n),t)),since:(e,n,t)=>yl(or(Fs,1,e,Wm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Wm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Ci,O(t),Ii))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Tl(n,t,e);return r.format(o)},toString:kn,toJSON:e=>kn(e),valueOf:xm},{from:(e,n)=>Cl(Wm(e,n)),compare:(e,n)=>Jt(Wm(e),Wm(n))}),[Pl,Gl]=_m(Va,g(function(e,n,t,r,o=xi){return Xe(re(He(u(Y,{isoYear:n,isoMonth:t,isoDay:r}))),e(o))},Fr),{...cl,...ml},{with:(e,n,t)=>Gl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=no(n),s=$r(t,i),m=o.k(a,s);return o.F(m,r)}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Gl(lo(e,Om(n))),add:(e,n,t)=>Gl(Qn(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Gl(Qn(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(rr(Fs,0,e,Um(n),t)),since:(e,n,t)=>yl(rr(Fs,1,e,Um(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Um(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Bl(function(e,n,t,r,o){const i=e(o.timeZone),a=o.plainTime,s=void 0!==a?n(a):void 0,m=t(i);let l;return l=s?$n(m,{...r,...s}):Vn(m,{...r,...sa}),Ke(l,i,r.calendar)}(Lm,Rm,ls,e,t))},toPlainDateTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),toPlainYearMonth(e){return Cl(function(e,n,t){return((e,n)=>{const t=qr(e,n,Ci);return e.K(t,void 0)})(e(n.calendar),t)}(Fs,e,this))},toPlainMonthDay(e){return Il(function(e,n,t){return((e,n)=>{const t=qr(e,n,Oi);return e._(t)})(e(n.calendar),t)}(Fs,e,this))},toLocaleString(e,n,t){const[r,o]=vl(n,t,e);return r.format(o)},toString:Hn,toJSON:e=>Hn(e),valueOf:xm},{from:(e,n)=>Gl(Um(e,n)),compare:(e,n)=>Jt(Um(e),Um(n))}),[Ol,Bl]=_m(Xa,g(function(e,n,t,r,o=xi){return Ke(ie(X(R(t))),n(r),e(o))},Fr,function(e){return Wt(Yi(e))}),{...fl,...cl,...$m(ml),...$m(hl),offset:e=>jn(Vm(e).offsetNanoseconds),offsetNanoseconds:e=>Vm(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[o,i]=fn(r),a=ee(V(Vn(t,o),Vn(t,i)),yi,1);if(a<=0)throw new RangeError(Lo);return a}(ls,e)},{with:(e,n,t)=>Bl(function(e,n,t,r,o){const{calendar:i,timeZone:a}=t,s=e(i),m=n(a),l=[...s.fields(Pi),...Ti].sort(),u=(e=>{const n=ss(e,ls),t=jn(n.offsetNanoseconds),r=Rs(e.calendar),[o,i,a]=r.v(n),[s,m]=r.q(o,i),l=vr(s,m);return{...Ws(n),year:o,monthCode:l,day:a,offset:t}})(t),c=$r(r,l),d=s.k(u,c),h={...u,...c},[f,M,y]=Pe(o,2);return Ke(qn(m,{...s.F(d,We(f)),..._e(Zs(h),f)},At(h.offset),M,y),a,i)}(Fs,ls,e,Cm(n),t)),withCalendar:(e,n)=>Bl(lo(e,Om(n))),withTimeZone:(e,n)=>Bl(function(e,n){return{...e,timeZone:n}}(e,Lm(n))),withPlainTime:(e,n)=>Bl(function(e,n,t){const r=n.timeZone,o=e(r),i={...ss(n,o),...t||sa};let a;return a=t?qn(o,i,i.offsetNanoseconds,2):Vn(o,i),Ke(a,r,n.calendar)}(ls,e,Fm(n))),add:(e,n,t)=>Bl(Jn(Fs,ls,0,e,Nm(n),t)),subtract:(e,n,t)=>Bl(Jn(Fs,ls,1,e,Nm(n),t)),until:(e,n,t)=>yl(tn(nr(Fs,ls,0,e,qm(n),t))),since:(e,n,t)=>yl(tn(nr(Fs,ls,1,e,qm(n),t))),round:(e,n)=>Bl(function(e,n,t){let{epochNanoseconds:r,timeZone:o,calendar:i}=n;const[a,s,m]=Oe(t);if(0===a&&1===s)return n;const l=e(o);if(6===a)r=((e,n,t,r)=>{const o=ss(t,n),[i,a]=e(o),s=t.epochNanoseconds,m=Vn(n,i),l=Vn(n,a);if(J(s,m,l))throw new RangeError(Lo);return vn(mn(s,m,l),r)?l:m})(fn,l,n,m);else{const e=l.R(r);r=qn(l,ln(Me(r,e),a,s,m),e,2,0,1)}return Ke(r,o,i)}(ls,e,n)),startOfDay:e=>Bl(function(e,n){const{timeZone:t,calendar:r}=n,o=((e,n,t)=>Vn(n,e(ss(t,n))))(Mn,e(t),n);return Ke(o,t,r)}(ls,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Qt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,qm(n)),toInstant:e=>Ll(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Hl(to(ls,e)),toPlainDate:e=>Gl(ro(ls,e)),toPlainTime:e=>zl(oo(ls,e)),toLocaleString(e,n,t={}){const[r,o]=bl(n,t,e);return r.format(o)},toString:(e,n)=>zn(ls,e,n),toJSON:e=>zn(ls,e),valueOf:xm,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,o=function(e){const n=Ze(e,Aa),t=qe(Aa,Ba,n,0);if(!t)throw new RangeError(Eo(Aa,t));return t}(n),i=ls(t).O(r,o);return i?Bl({...e,epochNanoseconds:i}):null}},{from:(e,n)=>Bl(qm(e,n)),compare:(e,n)=>Vt(qm(e),qm(n))}),[xl,Ll]=_m(Qa,function(e){return Ve(ie(X(R(e))))},fl,{add:(e,n)=>Ll(Kn(0,e,Nm(n))),subtract:(e,n)=>Ll(Kn(1,e,Nm(n))),until:(e,n,t)=>yl(er(0,e,Km(n),t)),since:(e,n,t)=>yl(er(1,e,Km(n),t)),round:(e,n)=>Ll(function(e,n){const[t,r,o]=Oe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,o,1))}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)}(e,Km(n)),toZonedDateTimeISO:(e,n)=>Bl(function(e,n,t=xi){return Ke(e.epochNanoseconds,n,t)}(e,Lm(n))),toLocaleString(e,n,t){const[r,o]=pl(n,t,e);return r.format(o)},toString:(e,n)=>Dn(Lm,ls,e,n),toJSON:e=>Dn(Lm,ls,e),valueOf:xm},{from:e=>Ll(Km(e)),fromEpochMilliseconds:e=>Ll(function(e){return Ve(ie(Q(Z(e),hi)))}(e)),fromEpochNanoseconds:e=>Ll(function(e){return Ve(ie(X(R(e))))}(e)),compare:(e,n)=>$t(Km(e),Km(n))}),Nl=Object.defineProperties({},{...m("Temporal.Now"),...a({timeZoneId:()=>ho(),instant:()=>Ll(Ve(co())),zonedDateTimeISO:(e=ho())=>Bl(Ke(co(),Lm(e),xi)),plainDateTimeISO:(e=ho())=>Hl(Je(uo(ls(Lm(e))),xi)),plainDateISO:(e=ho())=>Gl(Xe(uo(ls(Lm(e))),xi)),plainTimeISO:(e=ho())=>zl(nn(uo(ls(Lm(e)))))})}),jl=Object.defineProperties({},{...m("Temporal"),...a({PlainYearMonth:_l,PlainMonthDay:kl,PlainDate:Pl,PlainTime:Dl,PlainDateTime:Al,ZonedDateTime:Ol,Instant:xl,Duration:Ml,Now:Nl})}),Rl=Jm(),Fl=new WeakMap;function Yl(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let o=n[e++];o||(o="d"===r?0:"");const i=typeof o;return"d"===r&&"number"!==i?(o=parseFloat(o),isNaN(o)&&(o=0)):"s"===r&&"string"!==i&&(o=""+o),o})}return t}Object.create(Intl),a({DateTimeFormat:Rl});var Zl={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:[33,34,35,36,38,40],leftRight:[36,35,37,39],dels:[8,46,45],confirm:[13,9],alt:[20,16,17,18,144],numbers:[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105],numsigns:[109,110,189,190]},comparators:[">=","<=",">","<","="],operators:["+","-","/","*"],tags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],colors:{darkgrey:"#5a6a62",black:"#000000",anthracite:"#454545",grey:"#d3d3d3",white:"#ffffff",beige:"#fdfdfd",lightgrey:"#dcdcdc",pastelblue:"#ddebf6",cyan:"#00c8f8",blue:"#6e9ecf",indigo:"#3f51b5",navy:"#354458",webblue:"#2196f3",teal:"#009688",turquoise:"#1fda9a",pastelgreen:"#e2efda",palegreen:"#ccffcc",green:"#00a03e",olive:"#92b06a",pastelorange:"#fff2cc",yellow:"#fdf200",orange:"#ff9900",pink:"#eb65a0",purple:"#a333c8",red:"#db3340",brown:"#8c6954"},reserved:["abstract","boolean","break","byte","case","catch","char","class","continue","const","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","new","null","package","return","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","while","with"],mockText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",regexp:{url:new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ip:/^((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,hostname:/^[a-z\d]([a-z\d-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d-]{0,61}[a-z\d])?)*$/i}},Wl={siteTitle:window.document.title,logging:!1,cdn:"",lang:"en",host:window.location.protocol+"//"+window.location.hostname,url:window.location.href,old_path:null,loading:!1,_enumerated:[],get isEnumerating(){return this._enumerated.length>0},width:0,height:0,focused:!1,last_focus:(new Date).getTime(),sleep:!1,theme:"dark",loaders:[],loadersHistory:[],maxLoadersHistory:50,resizeTimer:!1,hashChanged:0,params:[],isInit:!1,isFocused:!1,isVisible:!document.hidden,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine},Ul=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};class ql extends Error{constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const $l=["POST","PUT","PATCH","DELETE"],Vl=(e,n,t={},r)=>{const o=new XMLHttpRequest,i=$l.includes(e.toUpperCase()),a=new Promise((r,a)=>{o.open(e.toUpperCase(),n,!0);const{body:s,headers:m}=((e,n)=>{const t=new Headers(n||{});let r=e;return null==e||e instanceof FormData||"object"!=typeof e||(t.set("Content-Type","application/json"),r=JSON.stringify(e)),{body:r,headers:t}})(t.data,t.headers);m.forEach((e,n)=>{o.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&o.upload&&o.upload.addEventListener("progress",e=>{const n=e.lengthComputable?e.total:void 0;t.onUploadProgress({loaded:e.loaded,total:n,progress:n?e.loaded/n:void 0})}),o.onreadystatechange=()=>{if(4!==o.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r.toLowerCase()]=o)}),n):n})(o.getAllResponseHeaders()),n=1223===o.status?204:o.status,i=o.statusText||"";let s=o.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(o.responseText)}catch(e){}const m={data:s,status:n,statusText:i,headers:e,config:t,request:o};if(n>=200&&n<300)r(m);else{const e=new Error("Request failed with status code "+n);e.response=m,e.config=t,e.request=o,a(e)}},o.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=o,a(e)},o.onabort=()=>{a(new ql("Request canceled"))},i?o.send(s):o.send()});return a.cancel=()=>o.abort(),a};var Kl={isCancel:e=>!(!e||!0!==e.__BBN_CANCEL__),run:(e,n,t={},r)=>{t.baseURL&&!/^https?:\/\//i.test(n)&&(n=t.baseURL.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,"")),n=((e,n)=>{if(!n)return e;const t=new URLSearchParams(n).toString();return t?e+(e.includes("?")?"&":"?")+t:e})(n,t.params);return"function"==typeof t.onUploadProgress&&$l.includes(e.toUpperCase())?Vl(e,n,t):((e,n,t={},r)=>{const o={method:e,headers:new Headers(t.headers||{}),signal:null==r?void 0:r.signal},i=$l.includes(e.toUpperCase());if(null!=t.data&&i&&(bbn.fn.log("DATA",t.data),"object"!=typeof t.data||t.data instanceof FormData?o.body=t.data:(o.headers.set("Content-Type","application/json"),o.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const a=fetch(n,o).then(e=>Ul(void 0,void 0,void 0,function*(){let n;const r=e.headers.get("content-type")||"";try{n=r.includes("application/json")?yield e.json():r.startsWith("text/")?yield e.text():r.includes("multipart/")?yield e.arrayBuffer():yield e.blob()}catch(t){n=yield e.text()}const o={data:n,status:e.status,statusText:e.statusText,headers:Object.fromEntries(e.headers.entries()),config:t,request:e};if(!e.ok){const n=new Error("Request failed with status code "+e.status);throw n.response=o,n.config=t,n.request=e,n}return o})).catch(e=>{if("AbortError"===e.name)throw new ql("Request canceled");throw e});return a.cancel=()=>r.abort(),a})(e,n,t,r)}};function Jl(...e){if(!e.length)return!1;for(let n of e)if(["boolean","object","symbol"].includes(typeof n)||""===n||isNaN(n))return!1;return!0}function Xl(...e){if(!e.length)return!1;for(let n of e)if(!n||"object"!=typeof n||!(Symbol.iterator in Object(n)))return!1;return!0}function Ql(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function eu(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function nu(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function tu(...e){var n,t,r;if((null===(n=bbn.env)||void 0===n?void 0:n.isDev)&&void 0!==(null===window||void 0===window?void 0:window.console)){let n,o=5,i="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&nu(console[e[0]._bbn_console_mode])?i=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,o=e[0]._bbn_console_level),e.shift());const a=window.console[i];if((null===(r=null===(t=window.bbn)||void 0===t?void 0:t.env)||void 0===r?void 0:r.loggingLevel)>=o){let t=0;for(;t<e.length;){let r=typeof e[t],o=[e[t]];"string"!==r&&"number"!==r||o.unshift("%c %s ",n),a.apply(window.console,o),t++}}}return this}function ru(e,n,t){if(!Ql(e)||!eu(n))throw tu(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return n<0&&(n=e.length+n),eu(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function ou(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)ru(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=ou(e[r],!0):t[r]=e[r]);return t||!1}function iu(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let o=Object.keys(t?ou(e):e);r&&o.reverse();for(let t of o)if(!1===n(e[t],t))break}return e}function au(e,n){if(!(Jl(e)&&e>0)){if(Xl(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return iu(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function su(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function mu(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function lu(...e){let n=!1,t=[];for(let r=0;r<e.length;r++)if(!0===e[r])n=!0;else{if(!e[r])continue;if("object"!=typeof e[r])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[r]);t.push(e[r])}if(!t.length)throw new Error("No argument given");let r,o=t[0];for(let e=1;e<t.length;e++)iu(t[e],(e,t)=>{n?mu(e)?(o[t]=mu(o[t])?o[t]:[],au(e,(e,n)=>{if(e&&"object"==typeof e){let r=o[t][n];mu(e)?mu(r)||(r=[]):su(r)||(r={}),o[t][n]=lu(!0,r,e)}else o[t][n]=e})):su(e)?o[t]=lu(!0,o[t]&&"object"==typeof o[t]?o[t]:Object.create(Object.getPrototypeOf(e)),e):o[t]=e:(o[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(o,[t]))&&(o[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(o.__bbnData&&o.__bbnData.unset(),Object.defineProperty(o,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),o}const uu=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,cu=(e,n)=>{if(null==n?void 0:n.length){let t={};return iu(e,(e,r)=>{n.indexOf(r)>-1&&(t[r]=e)}),t}return e},du=function(e){const n=hu._connections[e],t=hu._structures[e];let r=null;const o=(e,n)=>{e.onerror=()=>{r=e.error,tu(e.error),n(e.error)}},i=(e,t)=>{const o=n.transaction([e],0===t.toLowerCase().indexOf("r")?"readonly":"readwrite");return o.onabort=()=>{throw r=o.error,new Error(o.error)},[o,o.objectStore(e)]};this.lastError=()=>r,this.insert=(e,n)=>(Array.isArray(n)||(n=[n]),new Promise(t=>{const[r,o]=i(e,"w");let a=n.length;au(n,e=>{const n=o.put(e);n.onerror=()=>{tu(n.error),a--}}),r.oncomplete=()=>{t(a)}})),this.update=(e,n,r,a)=>new Promise(s=>{this.selectAll(e,[],r).then(r=>{if(!r.length)return void s(0);const[m,l]=i(e,"w"),u=t[e],c=u.keys.PRIMARY.columns.length>1?u.keys.PRIMARY.columns:u.keys.PRIMARY.columns[0];let d=0;for(let e=0;e<r.length;e++){const t=lu({},a?{[c]:r[e][c]}:r[e],n);if(!t[c])throw new Error(Yl("No primary key in the data"));const i=l.put(t);o(i,s),i.onsuccess=()=>{d++}}m.oncomplete=()=>{s(d)}})}),this.delete=(e,n)=>new Promise(r=>{const[a,s]=i(e,"w"),m=t[e],l=m.keys.PRIMARY.columns.length>1?m.keys.PRIMARY.columns:m.keys.PRIMARY.columns[0];if(!n[l])throw new Error(Yl("No "));const u=s.delete(n[l]);o(u,r),a.oncomplete=()=>{r(1)}}),this.selectOne=(e,n,t,r,o,i)=>new Promise(i=>{this.selectAll(e,[n],t,r,o,1).then(e=>{var t,r;i(null!==(r=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t[n])&&void 0!==r?r:void 0)})}),this.select=(e,n,t,r,o)=>new Promise(i=>{this.selectAll(e,n,t,r,o,1).then(e=>{i(e.length?e[0]:null)})}),this.selectAll=(e,n=[],r=null,a=null,s=0,m=null)=>new Promise(a=>{const[l,u]=i(e,"r"),c=t[e],d=c.keys.PRIMARY.columns.length>1?c.keys.PRIMARY.columns:c.keys.PRIMARY.columns[0],h=su(r)?Object.keys(r)[0]:!r||mu(r)?null:d,f=[];if(h===d)if(bbn.fn.isArray(null==r?void 0:r[d])){const e=Math.min(r[d].length,m||9999999);for(let t=s||0;t<e;t++){let i=u.get(r[d][t]);i.onsuccess=()=>{let t=i.result;f.push(cu(t,n)),f.length===e&&a(f)},o(i,a)}}else{let e=u.get((null==r?void 0:r[d])||r);e.onsuccess=()=>{let t=e.result;f.push(cu(t,n)),a(f)},o(e,a)}else{const e=u.openCursor();let t=0;e.onsuccess=e=>{const o=e.target.result;o?(r&&bbn.fn.search([o.value],r)||(t>=s&&(f.push(cu(o.value,n)),f.length===m&&a(f)),t++),o.continue()):a(f)},o(e,a)}}),this.getColumnValues=(e,t,r,o,i,a)=>new Promise(t=>{n.transaction([e],"read").objectStore(e)}),this.copyTable=(r,o,i=[],a=null,s=null,m=0,l=null)=>new Promise(u=>{if(n.objectStoreNames.contains(r)||hu.add(e,r,t[o]),!n.objectStoreNames.contains(r))throw u(0),new Error(Yl("The target table %s does not exist",r));this.selectAll(o,i,a,s,m,l).then(e=>{e.length?this.insert(r,e).then(e=>{u(e)}):u(0)})}),this.deleteTable=e=>new Promise(t=>{n.deleteObjectStore(e),t(!0)})},hu={_structures:{},_connections:{},_stores:{},ok:void 0!==uu,updateStructure(e,n,t){const r=n.keys.PRIMARY.columns.length>1?n.keys.PRIMARY.columns:n.keys.PRIMARY.columns[0];if(!t.objectStoreNames.contains(e)){const o=t.createObjectStore(e,{keyPath:r});iu(n.keys,(e,n)=>{"PRIMARY"!==n&&o.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},open(e){return new Promise(n=>{if(hu._connections[e])n(new du(e));else{if(!hu._structures[e])throw new Error(Yl("Impossible to find a structure for the database %s",e));let t=Math.max.apply(this,[1].concat(Object.keys(hu._structures[e]).map(n=>hu._structures[e][n].num||1)));const r=uu.open(e,t);r.onupgradeneeded=()=>{const n=r.result;iu(hu._structures[e],(e,t)=>{this.updateStructure(t,e,n)})},r.onsuccess=()=>{hu._connections[e]=r.result;let t=new du(e);n(t)}}})},add(e,n,t){var r;if(!(null===(r=null==t?void 0:t.keys)||void 0===r?void 0:r.PRIMARY)||!(null==t?void 0:t.fields))throw new Error(Yl("The database structure for %s is not valid (are there keys and field? Is there a primary?",n));hu._structures[e]||(hu._structures[e]={}),hu._structures[e][n]=t,hu._connections[e]&&this.updateStructure(n,t,hu._connections[e])}};function fu(e,n,t){let r=(new Date).getTime(),o={key:e,url:ru(e,0,e.length-33),loader:n,aborter:t,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);let i=bbn.env.loadersHistory.length;for(;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function Mu(e,...n){if("object"==typeof e){const t=[];return 1===n.length&&"string"==typeof n[0]?t.push(...n[0].split(".")):t.push(...n),t.reduce((e,n)=>{if(e)return e[e instanceof Array?parseInt(n):n]},e)}}function yu(e){if(!Ql(e)){if(!e.toString)throw tu(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function gu(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function pu(e,n,t,r="asc"){let o=Mu(e,t),i=Mu(n,t),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&Ql(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=yu(o).toLowerCase(),i=yu(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":gu(o)&&(o=o.getTime(),i=gu(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function bu(e){return e&&"object"==typeof e?Object.keys(e).length:0}function wu(e){return!e||(mu(e)?!e.length:"object"==typeof e&&!bu(e))}function vu(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Eu(e){let n=0;for(let t=0;t<e.length;t++){n=(n<<5)-n+e.charCodeAt(t),n|=0}return Math.abs(n).toString(16)}function Tu(e){let n=0;for(let t=0;t<e.length;t++){n=e.charCodeAt(t)+(n<<6)+(n<<16)-n,n|=0}return Math.abs(n).toString(16)}function Su(e){return Eu(e).padStart(8,"0")+Tu(e).padStart(8,"0")}function Du(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function zu(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,o=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,o=1);let i=t.parentNode,a=Array.from(i.children).filter(n=>n.tagName===e.tagName);if(!o&&a.length>1){let n=Array.from(i.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=i}return n}function Au(...e){var n;if(!e.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(let t of e){if(!bbn.cp.isComponent(t)||Du(t)||!(null===(n=t.$el)||void 0===n?void 0:n.bbnCid))return!1}return!0}function Hu(e,n=null,t=0,r=null,o=null){if(t||r||(r=new WeakSet),void 0===e)e="__BBN_UNDEFINED__";else if(null===e)e="__BBN_NULL__";else if(null===e)e="__BBN_NULL__";else if("function"==typeof e)e="__BBN_FUNCTION__"+e.toString();else if("symbol"==typeof e)e="__BBN_SYMBOL__"+e.toString();else if("string"==typeof e)e="__BBN_STRING__"+e;else if("number"==typeof e)e="__BBN_NUMBER__"+e.toString();else if("boolean"==typeof e)e="__BBN_BOOLEAN__"+e.toString();else if([void 0,Object,Array,null].includes(null==e?void 0:e.constructor)){if(bbn.fn.isArray(e))if(r.has(e)||n&&n<t)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);let i="";for(let a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],n,t+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||n&&n<t)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);let i="";for(let a in e){let s=a;"string"!=typeof s&&(s=o(s,o,1,1)),i+="__BBN_PROP_"+s+"__"+o(e[a],n,t+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Du(e)?Au(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+zu(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function ku(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Hu(e[r],t,0,null,Hu);return Su(n)}function Iu(e){var n="0123456789abcdef";function t(e){var t,r="";for(t=0;t<=3;t++)r+=n.charAt(e>>8*t+4&15)+n.charAt(e>>8*t&15);return r}function r(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function o(e,n,t,o,i,a){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(o,a)),i),t)}function i(e,n,t,r,i,a,s){return o(n&t|~n&r,e,n,i,a,s)}function a(e,n,t,r,i,a,s){return o(n&r|t&~r,e,n,i,a,s)}function s(e,n,t,r,i,a,s){return o(n^t^r,e,n,i,a,s)}function m(e,n,t,r,i,a,s){return o(t^(n|~r),e,n,i,a,s)}var l,u,c,d,h,f=function(e){var n,t=1+(e.length+8>>6),r=new Array(16*t);for(n=0;n<16*t;n++)r[n]=0;for(n=0;n<e.length;n++)r[n>>2]|=e.charCodeAt(n)<<n%4*8;return r[n>>2]|=128<<n%4*8,r[16*t-2]=8*e.length,r}(e),M=1732584193,y=-271733879,g=-1732584194,p=271733878;for(l=0;l<f.length;l+=16)u=M,c=y,d=g,h=p,M=i(M,y,g,p,f[l+0],7,-680876936),p=i(p,M,y,g,f[l+1],12,-389564586),g=i(g,p,M,y,f[l+2],17,606105819),y=i(y,g,p,M,f[l+3],22,-1044525330),M=i(M,y,g,p,f[l+4],7,-176418897),p=i(p,M,y,g,f[l+5],12,1200080426),g=i(g,p,M,y,f[l+6],17,-1473231341),y=i(y,g,p,M,f[l+7],22,-45705983),M=i(M,y,g,p,f[l+8],7,1770035416),p=i(p,M,y,g,f[l+9],12,-1958414417),g=i(g,p,M,y,f[l+10],17,-42063),y=i(y,g,p,M,f[l+11],22,-1990404162),M=i(M,y,g,p,f[l+12],7,1804603682),p=i(p,M,y,g,f[l+13],12,-40341101),g=i(g,p,M,y,f[l+14],17,-1502002290),M=a(M,y=i(y,g,p,M,f[l+15],22,1236535329),g,p,f[l+1],5,-165796510),p=a(p,M,y,g,f[l+6],9,-1069501632),g=a(g,p,M,y,f[l+11],14,643717713),y=a(y,g,p,M,f[l+0],20,-373897302),M=a(M,y,g,p,f[l+5],5,-701558691),p=a(p,M,y,g,f[l+10],9,38016083),g=a(g,p,M,y,f[l+15],14,-660478335),y=a(y,g,p,M,f[l+4],20,-405537848),M=a(M,y,g,p,f[l+9],5,568446438),p=a(p,M,y,g,f[l+14],9,-1019803690),g=a(g,p,M,y,f[l+3],14,-187363961),y=a(y,g,p,M,f[l+8],20,1163531501),M=a(M,y,g,p,f[l+13],5,-1444681467),p=a(p,M,y,g,f[l+2],9,-51403784),g=a(g,p,M,y,f[l+7],14,1735328473),M=s(M,y=a(y,g,p,M,f[l+12],20,-1926607734),g,p,f[l+5],4,-378558),p=s(p,M,y,g,f[l+8],11,-2022574463),g=s(g,p,M,y,f[l+11],16,1839030562),y=s(y,g,p,M,f[l+14],23,-35309556),M=s(M,y,g,p,f[l+1],4,-1530992060),p=s(p,M,y,g,f[l+4],11,1272893353),g=s(g,p,M,y,f[l+7],16,-155497632),y=s(y,g,p,M,f[l+10],23,-1094730640),M=s(M,y,g,p,f[l+13],4,681279174),p=s(p,M,y,g,f[l+0],11,-358537222),g=s(g,p,M,y,f[l+3],16,-722521979),y=s(y,g,p,M,f[l+6],23,76029189),M=s(M,y,g,p,f[l+9],4,-640364487),p=s(p,M,y,g,f[l+12],11,-421815835),g=s(g,p,M,y,f[l+15],16,530742520),M=m(M,y=s(y,g,p,M,f[l+2],23,-995338651),g,p,f[l+0],6,-198630844),p=m(p,M,y,g,f[l+7],10,1126891415),g=m(g,p,M,y,f[l+14],15,-1416354905),y=m(y,g,p,M,f[l+5],21,-57434055),M=m(M,y,g,p,f[l+12],6,1700485571),p=m(p,M,y,g,f[l+3],10,-1894986606),g=m(g,p,M,y,f[l+10],15,-1051523),y=m(y,g,p,M,f[l+1],21,-2054922799),M=m(M,y,g,p,f[l+8],6,1873313359),p=m(p,M,y,g,f[l+15],10,-30611744),g=m(g,p,M,y,f[l+6],15,-1560198380),y=m(y,g,p,M,f[l+13],21,1309151649),M=m(M,y,g,p,f[l+4],6,-145523070),p=m(p,M,y,g,f[l+11],10,-1120210379),g=m(g,p,M,y,f[l+2],15,718787259),y=m(y,g,p,M,f[l+9],21,-343485551),M=r(M,u),y=r(y,c),g=r(g,d),p=r(p,h);return t(M)+t(y)+t(g)+t(p)}function _u(e){const n="function"==typeof e?e.toString():e;if("string"!=typeof n)throw Error("Unexpected type "+typeof e+" while parsing function");let t,r="",o=!1,i=!1,a=!1,s="",m=0,l=0,u=[],c={},d="",h=['"',"'","`"],f=!1,M=!1,y=!1,g=!1,p=!1,b=!1,w="";for(let e=0;e<n.length;e++)if(y||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])y=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(y||g)continue;if(n[e]===d&&!f&&d)d="",r+=n[e];else if(d)f="\\"===n[e]&&!f,r+=n[e];else if(h.includes(n[e])&&!f)d=n[e],r+=n[e];else if("("===n[e]){if(m++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){s=r.trim();let e=s.match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);e&&(s=e[1])}r=""}}else if(")"===n[e])m===l+1&&(M?(c.default=r.trim(),M=!1):r&&(c.name=r.trim()),(c.name||c.default)&&(u.push(c),c={}),r=""),l++;else if(p&&"}"!==n[e])r+=n[e];else{if(m&&m===l&&":"===n[e]){const r=n.substring(e+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!r)throw Error("Unexpected ':' while parsing function");w=r[1],t=n.substring(e+r[0].length).trim();break}if(!(r||"="!==n[e]||">"!==n[e+1]||m!==l||l||o)){c.name=n.slice(0,e).trim(),u.push(c),c={},o=!0,t=bbn.fn.substr(n,e+2).trim();break}if(m===l&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(c.name=r.trim(),u.push(c),c={},r=""),o=!0,e++;continue}if("="===n[e]&&m>l&&!M)c.name=r.trim(),r="",M=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(m>l))throw Error("Unexpected ',' while parsing function");M?(c.default=r.trim(),M=!1):r&&(c.name=r.trim()),(c.name||c.default)&&(u.push(c),c={}),r=""}else if("{"===n[e]||"}"===n[e]){if(m===l){t=n.substring(e).trim();break}m>l?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(o){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(i=!0),m>l?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else y=!0,r="";if(!t){if(!o)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(b=!0);const v=u.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:u,argString:v,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:b,hash:Iu(t+(s?"-"+s:"")+(v?"-"+v:"")),returnType:w}}function Cu(e,n,t){if(t||(t=[]),e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==n?void 0:n.constructor))return!1;let r=Object.keys(e).sort(),o=Object.keys(n).sort();if(ku(r)!==ku(o))return!1;let i=!0;if(e&&"object"==typeof e){if(t.includes(e))return i;t.push(e)}return au(r,t=>{if(!Cu(e[t],n[t]))return i=!1,!1}),i}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=_u(e),r=_u(n),o=t.hash===r.hash;return o&&t.isBinary&&(o=!1),o}return!1}function Pu(e,n,t){switch(t){case"===":case"=":case"equal":case"eq":case"is":return e===n;case"!==":case"notequal":case"neq":case"isnot":return e!==n;case"!=":case"different":return e!=n;case"contains":case"contain":case"icontains":case"icontain":return!wu(e)&&!wu(n)&&-1!==yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!vu(e)&&!vu(n))||-1===yu(e.toLowerCase()).indexOf(yu(n.toLowerCase()));case"starts":case"start":return!vu(e)&&!vu(n)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof n&&(n=n.toString()||""),0===e.indexOf(n));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!vu(e)&&!vu(n)&&0===yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!vu(e)&&!vu(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!vu(e)&&!vu(n)&&yu(e).toLowerCase()===yu(n).toLowerCase();case"gt":case">":return e>n;case"gte":case">=":return e>=n;case"lt":case"<":return e<n;case"lte":case"<=":return e<=n;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(su(e,n))return Cu(e,n);default:return e==n}}function Gu(e,n){if(!n.conditions||!n.logic||!mu(n.conditions))throw new Error("Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects");let t="AND"===n.logic;return au(n.conditions,r=>{let o;if(r.conditions&&mu(r.conditions))o=Gu(e,r);else if(o=Pu(Mu(e,r.field),r.value,r.operator),o){let n=r.field.split("."),t=n.pop();n.length&&au(n,n=>e=e[n]),void 0===Mu(e,t)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function Ou(e,n="="){if(!su(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!mu(e.conditions)){let t=[];iu(e,(e,r)=>{su(e)&&"object"==typeof e.conditions?t.push(Ou(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Bu(e,n,t=null,r="=",o=0,i=!1){if(!Xl(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let a,s,m=!1;if(n)if("string"==typeof n)a={conditions:[{field:n,value:t,operator:r||"="}]};else if(i=!0===r,o="number"==typeof t?t:i?e.length-1:0,"function"==typeof n)m=!0,s=n;else if(su(n))if("field"in n&&"value"in n)a={conditions:[n],logic:"AND"};else if("conditions"in n)a=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});a={conditions:e,logic:"AND"}}else mu(n)&&(a={conditions:n,logic:"AND"});else m=!0,s=e=>Gu({value:e},Ou({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(m||a){if("number"!=typeof o&&(o=i?e.length-1:0),!s){const e=Ou(a);s=n=>Gu(n,e)}if(i)for(let n=o;n>=0;n--){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}else for(let n=o;n<e.length;n++){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}}return-1}function xu(e,n,t=null,r="=",o=0,i=!1,a=!1){let s=Bu(e,n,t,r,o,i);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?i:a}function Lu(e,n=null,t=!1){let r=Bu(bbn.env.loaders,{key:e});if(r>-1){let o=bbn.env.loaders.splice(r,1)[0],i=xu(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof n?(i.errorMessage=n,i.error=!t,i.abort=t):su(n)&&(i.success=!0)),!0}return!1}function Nu(e){let n=Bu(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function ju(e,n,t=null,r="=",o=0){if(!mu(e))try{e=Array.from(e)}catch(n){throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array")}let i={};const a=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)i=n;else if("string"==typeof n)i[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let m;m="function"==typeof n?n:(e,n)=>Gu(e,i);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(m(e[n],n)&&(bbn.env._enumerated.pop(),a.push(e[n]),bbn.env._enumerated.push(!0),o&&a.length>=o)));n++)bbn.env._enumerated.pop();return a}function Ru(e){if(bu(e)){bbn.var.colors||(bbn.var.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;iu(e,(e,n)=>{bbn.var.colors[n]=e,t.insertRule(".bbn-"+n+", .bbn-color-text-"+n+" {color: "+e+" !important;}",r),t.insertRule("svg.bbn-"+n+", .bbn-"+n+" svg, svg.bbn-color-text-"+n+", .bbn-color-text-"+n+" svg {fill: "+e+";}",r),t.insertRule(".bbn-bg-"+n+", .bbn-color-bg-"+n+", .bbn-color-background-"+n+" {background-color: "+e+" !important;}",r),t.insertRule(".bbn-border-"+n+", .bbn-color-border-"+n+" {border-color: "+e+" !important;}",r),t.insertRule(".bbn-color-"+n+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",r)})}}function Fu(e,n=null,t=""){if(e&&"FORM"===e.tagName){let r=(n,t)=>{let r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",n),r.setAttribute("value",t),e.appendChild(r)};n=JSON.parse(JSON.stringify(n||{})),t=t||"",n&&iu(n,(n,o)=>{let i=t?`${t}[${o}]`:o;n instanceof Date?r(i,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const o=`${i}[${t}]`;"object"==typeof n?Fu(e,n,o):r(o,n.toString())}):"object"!=typeof n||n instanceof File?r(i,n.toString()):Fu(e,n,i)})}}function Yu(e,n){let t=0;au(n,n=>{n.style[e]="auto"}),au(n,(n,r)=>{let o=n.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>t&&(t=i)}),au(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function Zu(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Wu(e,n,t,r=""){return t.toString().replace(su(e)?e:new RegExp(Zu(e),"g"+r),n)}function Uu(e,n,t){let r={};return n&&iu(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Iu((t||"json")+JSON.stringify(r))}function qu(e,n=null,t=null,r=null,o=null,i=null){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(t=e.data),e.datatype&&(n=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=Wu("//","/",e)),n||(n="json");let a=Uu(e,t,n),s=Nu(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&lu(t||{},{_bbn_token:bbn.env.token});const m=new AbortController;let l={responseType:n,signal:m.signal};"text"===n?l.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?l.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(l.headers={accept:"text/html","Content-Type":"text/html"});let u="get";su(t)&&bu(t)>0&&(l.data=t,u="post");let c=Kl.run(u,e,l).then(n=>{if(Lu(a,n),bbn.fn.defaultEndLoadingFunction(e,d,t,n),200===n.status)nu(r)&&r(n.data,n.headers);else{let e=1;nu(o)&&(e=o(c,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(c,n.message,n)}return n}).catch(n=>{let r=Kl.isCancel(n);if(Lu(a,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,d,t,n),r){let t=1;nu(i)&&(t=i(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;nu(o)&&(e=o(c,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(c,n.message,n.response)}return n.response}),d=fu(a,c,m);return bbn.fn.defaultStartLoadingFunction(e,d,t,a),c}}const $u=new TextDecoder;function Vu(e){return $u.decode(e)}function Ku(e,n){if(e&&Ql(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&ru(t,-r)===n)return ru(t,0,t.length-r)}return""}const Ju=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],Xu={years:"y",year:"y",YEARS:"y",YEAR:"y",Years:"y",Year:"y",YYYY:"y",YY:"y",yyyy:"y",yy:"y",months:"m",month:"m",Months:"m",Month:"m",MONTHS:"m",MONTH:"m",MMMM:"m",MMM:"m",MM:"m",weekday:"e",WEEKDAY:"e",ee:"e",EE:"e",ddd:"e",days:"d",day:"d",Days:"d",Day:"d",DAYS:"d",DAY:"d",DD:"d",dd:"d",hours:"h",hour:"h",Hours:"h",Hour:"h",HOURS:"h",HOUR:"h",HH:"h",hr:"h",hh:"h",milliseconds:"x",millisecond:"x",Milliseconds:"x",Millisecond:"x",MILLISECONDS:"x",MILLISECOND:"x",minutes:"i",minute:"i",Minutes:"i",Minute:"i",MINUTES:"i",MINUTE:"i",II:"i",ii:"i",mn:"i",mm:"i",min:"i",ms:"x",SSS:"x",sss:"x",SS:"s",ss:"s",seconds:"s",second:"s",Seconds:"s",Second:"s",SECONDS:"s",SECOND:"s",sec:"s",WW:"w",Y:"y",y:"y",M:"m",m:"m",e:"e",E:"e",D:"d",d:"d",H:"h",h:"h",n:"i",i:"i",s:"s",S:"s",W:"w",w:"w",ZZ:"z",Z:"z"},Qu={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function ec(...e){if(!e.length)return!1;for(let n of e)if(null!==n&&("object"==typeof n||"function"==typeof n))return!1;return!0}var nc,tc,rc,oc,ic=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},ac=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};const sc=jl.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class mc{static fromUnit(e,n){const t=Xu[n]||"ms",r=["y"===t?e:0,"m"===t?e:0,"w"===t?e:0,"d"===t?e:0,"h"===t?e:0,"i"===t?e:0,"s"===t?e:0,["y","m","w","d","h","i","s"].includes(t)?0:e],o=new jl.Duration(...r);return new mc(o)}constructor(e,n,t,r,o,i,a,s,m){nc.add(this),tc.set(this,void 0),rc.set(this,void 0),e instanceof jl.Duration?ic(this,tc,e,"f"):ic(this,tc,"object"==typeof e?new jl.Duration(e.years||0,e.months||0,e.weeks||0,e.days||0,e.hours||0,e.minutes||0,e.seconds||0,e.milliseconds||0,0,0):new jl.Duration(e||0,n||0,t||0,r||0,o||0,i||0,a||0,s||0,0,0),"f");const l=Xu[m||""]||m;ic(this,rc,l||"ms","f"),xu(Ju,e=>e[0]===l),Object.defineProperty(this,"isValid",{value:!1,writable:!1,configurable:!0})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return ac(this,tc,"f")}years(e=!1){return ac(this,nc,"m",oc).call(this,"year",e)}months(e=!1){return ac(this,nc,"m",oc).call(this,"month",e)}weeks(e=!1){return ac(this,nc,"m",oc).call(this,"week",e)}days(e=!1){return ac(this,nc,"m",oc).call(this,"day",e)}hours(e=!1){return ac(this,nc,"m",oc).call(this,"hour",e)}minutes(e=!1){return ac(this,nc,"m",oc).call(this,"minute",e)}seconds(e=!1){return ac(this,nc,"m",oc).call(this,"second",e)}toJSON(){return this.value.toJSON()}asYears(){return ac(this,tc,"f").total({unit:"year",relativeTo:sc})}asMonths(){return ac(this,tc,"f").total({unit:"month",relativeTo:sc})}asWeeks(){return ac(this,tc,"f").total({unit:"week",relativeTo:sc})}asDays(){return ac(this,tc,"f").total({unit:"day",relativeTo:sc})}asHours(){return ac(this,tc,"f").total({unit:"hour",relativeTo:sc})}asMinutes(){return ac(this,tc,"f").total({unit:"minute",relativeTo:sc})}asSeconds(){return ac(this,tc,"f").total({unit:"second",relativeTo:sc})}add(e,n){let t=ac(this,rc,"f");if(n)if(Xu[n]){const e=xu(Ju,e=>e[0]===Xu[n]);e&&(t=e[1])}else t=n;const r=t+"s";if(!["years","months","weeks","days","hours","minutes","seconds","milliseconds"].includes(r))throw new Error("Invalid unit for duration: "+(null!=n?n:t));const o={[r]:e},i=ac(this,tc,"f").add(o);return new mc(i,void 0,void 0,void 0,void 0,void 0,void 0,void 0,ac(this,rc,"f"))}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=ac(this,tc,"f");return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:sc}):e.total({unit:"millisecond"})}}tc=new WeakMap,rc=new WeakMap,nc=new WeakSet,oc=function(e,n){const t=ac(this,tc,"f");if(n)switch(e){case"year":return t.years;case"month":return t.months;case"week":return t.weeks;case"day":return t.days;case"hour":return t.hours;case"minute":return t.minutes;case"second":return t.seconds}const r=t.total({unit:e,relativeTo:sc});return Math.floor(r)};var lc,uc=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},cc=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};class dc{constructor(e){this.__bbnNoData=!0,this.__isBbnDt=!0,lc.set(this,void 0),this.getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),o=[t,...navigator.languages];for(let e=0;e<o.length;e++){if(!o[e])continue;const n=new Intl.DateTimeFormat(o[e],{weekday:"long"});for(let e=0;e<7;e++){const t=new Date(2023,0,1+e);if(n.format(t).toLowerCase()===r)return e}}throw new Error(`Unknown weekday name '${e}' for locale '${t}'`)},Object.defineProperty(this,"isValid",{value:!0,writable:!1,configurable:!0}),uc(this,lc,e,"f");const n=new Date;Object.defineProperty(this,"defaultValue",{value:{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:n.getHours(),minute:n.getMinutes(),second:n.getSeconds(),millisecond:n.getMilliseconds()},writable:!1,configurable:!1})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return cc(this,lc,"f")}get hasFullDate(){return"year"in this.value&&"month"in this.value&&"day"in this.value}toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=dc.systemTimeZoneId;let n;switch(this.kind){case"dateTime":return this.value.toZonedDateTime(e).toInstant().epochMilliseconds;case"date":return this.value.toZonedDateTime({timeZone:e,plainTime:{hour:this.defaultValue.hour,minute:this.defaultValue.minute,second:this.defaultValue.second,millisecond:this.defaultValue.millisecond}}).toInstant().epochMilliseconds;case"time":{const t=this.value;n=`${jl.Now.plainDateISO().toString()}T${t.toString()}[${e}]`}case"yearMonth":n=`${this.value.toPlainDate({day:1}).toString()}T00:00[${e}]`;case"monthDay":{const t=this.value,r=jl.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return jl.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return jl.Now.zonedDateTimeISO();case"dateTime":return jl.Now.plainDateTimeISO();case"date":return jl.Now.plainDateISO();case"time":return jl.Now.plainTimeISO();case"yearMonth":{const e=jl.Now.plainDateISO();return new jl.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=jl.Now.plainDateISO();return new jl.PlainMonthDay(e.month,e.day,void 0,e.year)}default:throw new Error(`Unsupported kind '${e}' in nowForKind`)}}withValue(e){return new(0,this.constructor)(e)}static compare(e,n,t){if(!e||!n)throw new TypeError("Both arguments must be Temporal values");const r=jl.Now.timeZoneId();let o=Xu[t]?xu(Ju,e=>e[0]===Xu[t])[1]:void 0;o=o?o+"s":void 0;const i=e=>e instanceof dc,a=e=>i(e)?e.value:e,s=e=>{if(i(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return jl.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof jl.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},m=a(e),l=a(n);if(m.constructor===l.constructor){const e=m.constructor,n=e.compare(m,l);if(void 0===o){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof m.until||"function"!=typeof m.since)throw new TypeError("This Temporal type does not support until/since");return m[1===n?"since":"until"](l,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}const u=new Set(["zoned","dateTime","date","yearMonth"]);if(i(e)&&i(n)&&u.has(e.kind)&&u.has(n.kind)){const t=s(e),r=s(n),i=jl.ZonedDateTime.compare(t,r);if(void 0===o)return i;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===i?"since":"until"](r,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}throw new TypeError("Cannot compare different Temporal or bbnDt types")}static parse(e,n,t="auto",r){return bbn.dt(e,n,t,r)}parse(e,n,t){return dc.parse(e,n,t||this.kind)}compare(e,n){return e instanceof dc||(e=bbn.dt(e,null,this.kind)),dc.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof mc){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new mc(e),t=this.value.add(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=mc.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof mc){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new mc(e),t=this.value.subtract(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=mc.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return mc.fromUnit(e,n)}isBefore(e,n){return this.compare(e,n)<0}isBeforeOrSame(e,n){return this.compare(e,n)<=0}isAfter(e,n){return this.compare(e,n)>0}isAfterOrSame(e,n){return this.compare(e,n)>=0}isSame(e,n){return 0===this.compare(e,n)}equals(e){return this.isSame(e)}toJSON(){if("toZonedDateTime"in cc(this,lc,"f")){const e=cc(this,lc,"f").toZonedDateTime(dc.systemTimeZoneId).withTimeZone("UTC");return bbn.dt(e).format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}if("zoned"===this.kind)return this.timezone("America/New_York").format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}timezone(e){switch(this.kind){case"zoned":if(void 0===e){return this.value.timeZoneId}{const n=this.value.withTimeZone(e);return bbn.dt(n)}case"dateTime":if(void 0===e){const e=`${this.value.toString()}[${dc.systemTimeZoneId}]`;return jl.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=jl.ZonedDateTime.from(n);return bbn.dt(t)}default:throw new Error(`timezone() is not supported for kind '${this.kind}'`)}}toString(){return new Date(this.valueOf()).toString()}year(e){if(this.value){if(!("year"in this.value))throw new Error("year() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({year:e});return new this.constructor(n)}return this.value.year}}month(e){if(this.value){if(!("month"in this.value))throw new Error("month() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({month:e});return new this.constructor(n)}return this.value.month}}day(e){if(this.value){if(!("day"in this.value))throw new Error("day() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({day:e});return new this.constructor(n)}return this.value.day}}hour(e){if(this.value){if(!("hour"in this.value)){if(this.hasFullDate)return 0;throw new Error("hour() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({hour:e});return new this.constructor(n)}return this.value.hour}}minute(e){if(this.value){if(!("minute"in this.value)){if(this.hasFullDate)return 0;throw new Error("minute() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({minute:e});return new this.constructor(n)}return this.value.minute}}second(e){if(this.value){if(!("second"in this.value)){if(this.hasFullDate)return 0;throw new Error("second() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({second:e});return new this.constructor(n)}return this.value.second}}millisecond(e){if(this.value){if(!("millisecond"in this.value)){if(this.hasFullDate)return 0;throw new Error("millisecond() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({millisecond:e});return new this.constructor(n)}return this.value.millisecond}}weekday(e,n){if(this.value){if(!("dayOfWeek"in this.value))throw new Error("weekday() is not supported for this type");return void 0===e||e instanceof Event?this.value.dayOfWeek%7:this.setWeekday(e,n)}}date(e){if(this.value){if(!this.hasFullDate)throw new Error("date() is not supported for this type");return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD:this.parse(e,"Y-m-d")}}datetime(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD+" "+this.HH+":"+this.II+":"+this.SS:"date"===this.kind?this.parse(this.date()+" "+e,"Y-m-d 00:00:00","dateTime"):this.parse(e,"Y-m-d H:i:s")}time(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.HH+":"+this.II+":"+this.SS:"zoned"===this.kind?this.parse(this.date()+" "+e+" GMT"+this.value.timeZoneId,"Y-m-d H:i:s[ GMT]Z","dateTime"):["dateTime","date"].includes(this.kind)?this.parse(this.date()+" "+e,"Y-m-d H:i:s","dateTime"):this.parse(e,"H:i:s")}fdate(e=!1,n=!1){return this.value?bbn.dt.locales.formatters[e?"long":"numeric"].format(new Date(this.toEpochMs())):""}ftime(e=!0){return this.value?this.format("HH:II"+(e?":SS":"")):""}week(){if(!this.value)return;const e=this.year(),n=new Date(Date.UTC(e,this.month()-1,this.day())),t=new Date(Date.UTC(e,0,1)),r=Math.floor((n.getTime()-t.getTime())/864e5),o=t.getUTCDay();let i=(bbn.dt.locales.firstDayOfWeek-o+7)%7;const a=0===i?7:i;if(r<a)return 1;const s=r-a;return 2+Math.floor(s/7)}get YYYY(){if("year"in this.value)return this.year().toString()}get YY(){if("year"in this.value)return ru(this.year().toString(),2,2)}get MMMM(){if("month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if("month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if("month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if("month"in this.value)return this.month().toString()}get EE(){if("dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if("day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if("day"in this.value)return this.day().toString()}get dddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if("day"in this.value)return this.day().toString()}get HH(){if("hour"in this.value){const e=parseInt(this.hour().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.hour.toString().padStart(2,"0")}get H(){return"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get mm(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get I(){return"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if("second"in this.value){const e=parseInt(this.second().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.second.toString().padStart(2,"0")}get SSS(){if("millisecond"in this.value){const e=parseInt(this.millisecond().toString());return e<10?"00"+e.toString():e<100?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.millisecond.toString().padStart(3,"0")}get S(){return"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString()}get Z(){if("zoned"===this.kind){return this.value.offset}}get ZZ(){if("zoned"===this.kind){return this.value.offset.replace(":","")}}unix(e=!1){if("number"==typeof e){return new(0,this.constructor)(new Date(e))}return e?this.toEpochMs():Math.floor(this.toEpochMs()/1e3)}format(e="YYYY-MM-DD HH:II:SS"){let n="";if(e){const t=new RegExp("([|]|"+Object.keys(Xu).join("|")+")","g");let r=0;au(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in Xu)if(e in this&&ec(this[e]))n+=this[e];else{n+=this[Qu[Xu[e]]]||""}else n+=e;else r--;else r++})}return n}calendar(e){const n=new this.constructor,t=this.startOf("day"),r=n.startOf("day"),o=t.diff(r,"day"),i={numeric:"auto"};e&&(i.style="short");const a=new Intl.RelativeTimeFormat(bbn.env.lang,i);let s="",m=[],l="";if(o>=-1&&o<=1)m=a.formatToParts(o,"day");else if(o>=-6&&o<-1)l=this.dddd+", ",m=a.formatToParts(o,"day");else{if(!(o<=6&&o>1))return this.fdate();l=this.dddd,m=[]}return bbn.fn.each(m,e=>{s+=e.value}),`${l}${s} ${this.ftime()}`}matchFormat(e,n){try{return this.parse(e,n),!0}catch(e){return!1}}getWeekday(e,n="long",t){if(!n){const n=this.getWeekday(e,"narrow",t),r=this.getWeekday(e,"short",t),o=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:o,long:o,short:r,narrow:n}}let r;if("letter"===n)r="narrow";else if("abbr"===n)r="short";else if("full"===n)r="long";else{if(!["long","short","narrow"].includes(n))throw new Error("Invalid mode for getWeekDay: "+n+'. Allowed values are "long", "short", "narrow", "letter", "abbr", "full".');r=n}return new Date(2023,0,1+e).toLocaleDateString([t||bbn.env.lang,...navigator.languages],{weekday:r})}setWeekday(e,n=!1,t){let r;if("string"==typeof e&&(e=this.getWeekdayIndex(e,t)),"number"!=typeof e)throw new TypeError("weekday must be a number (0–6) or a string");if(e<0||e>6)throw new RangeError("weekday number must be between 0 and 6");r=e;const o=this.weekday();let i;return n?(i=(o-r+7)%7,0===i&&(i=7),i=-i):(i=(r-o+7)%7,0===i&&(i=7)),this.add(i,"d")}diff(e,n="",t=!1){let r;if(e instanceof dc)r=e.toEpochMs();else if(e instanceof jl.ZonedDateTime||e instanceof jl.PlainDateTime||e instanceof jl.PlainDate||e instanceof jl.PlainTime||e instanceof jl.PlainYearMonth||e instanceof jl.PlainMonthDay){r={kind:this.kind,value:e}.toEpochMs()}else{if("string"!=typeof e&&"number"!=typeof e)throw bbn.fn.log("DATE??",e),new TypeError("Unsupported date argument for diff");r=this.parse(String(e),"").toEpochMs()}let o=this.toEpochMs()-r;if(t&&(o=Math.abs(o)),!n)return o;const i=Xu[n]||n,a=xu(Ju,e=>e[0]===i);if(!a)throw new Error("Invalid unit for diff: "+n);const[,,s]=a;return Math.floor(o/s)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of Ju)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){dc.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=Xu[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let o=this.diff(n,r);const i=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),a=xu(Ju,e=>e[0]===r);if(!a)throw new Error("Invalid unit for fromNow: "+e);let[,s]=a;return"millisecond"===s&&(s="second",o=Math.round(o/1e3)),bbn.fn.log("FROM NOW",o,s,i),i.format(o,s)}from(e,n=""){const t=this.diff(e),r=Xu[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const o=this.diff(e,r),i=r;return o>0?Yl("%d %s before",o,i):o<0?Yl("%d %s after",-o,i):Yl("The same %s",i)}startOf(e="d"){var n,t;const r=Xu[e]||e;if(!r)throw new Error("Invalid unit for startOf: "+e);let o=this.value;const i=e=>{const n={};return"hour"in e?(Object.assign(n,{hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),e.with(n)):e};switch(r){case"y":if(!("year"in o))throw new Error('startOf("y") only valid for year-based types');o=i(o.with({month:1,day:1}));break;case"m":if(!("month"in o))throw new Error('startOf("m") only valid for month-based types');o=i(o.with({day:1}));break;case"w":{const e="toPlainDate"in o?o.toPlainDate():o,r=e.dayOfWeek-1,a=e.subtract({days:r});o="toPlainDateTime"in o?i(a.toPlainDateTime(null!==(t=null===(n=o.toPlainTime)||void 0===n?void 0:n.call(o))&&void 0!==t?t:jl.PlainTime.from("00:00"))):a;break}case"d":o=i(o);break;case"h":o=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":o=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":o=o.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(o)}endOf(e="d"){const n=jl.Now.timeZoneId(),t=Xu[e]||e;let r,o=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return jl.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${jl.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return jl.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=jl.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=o.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=o.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(o.toPlainDate().dayOfWeek-1);r=o.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=o.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=o.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const i=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(i);case"dateTime":return this.withValue(i.toPlainDateTime());case"date":return this.withValue(i.toPlainDate());case"time":return this.withValue(i.toPlainTime());case"yearMonth":{const e=i.toPlainDate();return this.withValue(new jl.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=i.toPlainDate();return this.withValue(new jl.PlainMonthDay(e.month,e.day))}default:throw new Error("Unsupported kind in endOf")}}clone(){return this.withValue(this.value)}isLeapYear(){if(this.isValid){const e=this.year();return e%4==0&&e%100!=0||e%400==0}return!1}daysInMonth(){if(this.isValid)switch(this.month()){case 2:return this.year()%4==0?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}}valueOf(){return this.unix(!0)}}lc=new WeakMap,dc.systemTimeZoneId=jl.Now.timeZoneId();class hc extends dc{constructor(e,n,t,r,o,i,a){let s;if(e)if(void 0===n)if(e instanceof jl.PlainDateTime)s=e;else if(e instanceof Date)s=new jl.PlainDateTime(e.getFullYear(),e.getMonth()+1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");s=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(dc.systemTimeZoneId).toPlainDateTime()}else s=new jl.PlainDateTime(e,n,t||1,r||0,o||0,i||0,a||0);else s=jl.PlainDateTime.from(jl.Now.plainDateTimeISO());super(s),this.kind="dateTime"}format(e){return[!0,"long","full"].includes(e)&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),dc.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"2-digit",day:"2-digit"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class fc extends dc{constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof jl.PlainDate)r=e;else if(e instanceof Date)r=new jl.PlainDate(e.getFullYear(),e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);r=new jl.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new jl.PlainDate(e,n,t||1);else r=jl.PlainDate.from(jl.Now.plainDateISO());super(r),this.kind="date"}compareSameKind(e){const n=jl.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),dc.prototype.format.call(this,e)}ftime(e=!1){return"00:00"+(e?":00":"")}fdate(e=!1,n=!1){const t=new Date(this.year(),this.month()-1,this.day()),r=Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},n?{weekday:e?"long":"short"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],r).format(t)}}class Mc extends dc{constructor(e,n,t,r,o,i,a,s){let m;if(e)if(void 0===n)if(e instanceof jl.ZonedDateTime)m=e;else if(e instanceof Date)m=function(e,n=!1,t=jl.Now.timeZoneId()){const r=jl.Instant.fromEpochMilliseconds(e.getTime()).toZonedDateTimeISO(t);return n?r:r.toPlainDateTime()}(e,!0);else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtZoned");m=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{m=new jl.PlainDateTime(n,t,r||1,o||0,i||0,a||0,s||0).toZonedDateTime(e||jl.Now.timeZoneId())}else m=jl.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(m),this.kind="zoned"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class yc extends dc{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainYearMonth)t=e;else if(e instanceof Date)t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1);else{if("number"!=typeof n)throw new Error("Invalid value for bbnDtDateTime");{const e=new Date(n);t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new jl.PlainYearMonth(e,n);else{const e=new Date;t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t),this.kind="yearMonth"}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),dc.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1),o={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}class gc extends dc{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainMonthDay)t=e;else if(e instanceof Date)t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);t=new jl.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new jl.PlainMonthDay(e,n);else{const e=new Date;t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate())}super(t),this.kind="monthDay"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(2e3,this.month()-1,this.day()),o={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}function pc(e,n,t){let r="";const o=e.some(e=>"dayPeriod"===e.type),i=o||"h12"===n||"h11"===n,a=!!t.weekday,s="short"===t.month||"long"===t.month,m="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!a&&!s;for(const n of e)switch(n.type){case"year":"2-digit"===t.year?r+="YY":r+="YYYY";break;case"month":if("short"===t.month){r+="MMM";break}if("long"===t.month){r+="MMMM";break}if(m){r+="M";break}/^\d+$/.test(n.value)?r+=2===n.value.length?"MM":"M":r+=n.value.length>3?"MMMM":"MMM";break;case"day":if(m){r+="D";break}r+=2===n.value.length?"DD":"D";break;case"weekday":"short"===t.weekday||"narrow"===t.weekday?r+="ddd":"long"===t.weekday?r+="dddd":r+=n.value.length>3?"dddd":"ddd";break;case"hour":r+=i?2===n.value.length?"hh":"h":2===n.value.length?"HH":"H";break;case"minute":r+="II";break;case"second":r+="SS";break;case"dayPeriod":r+="A";break;case"timeZoneName":r+="z";break;case"literal":if(!n.value)break;if(/[A-Za-zÀ-ÖØ-öø-ÿ]/.test(n.value)){r+=`[${n.value.replace(/]/g,"\\]")}]`}else r+=n.value;break;default:r+=n.value}return r}const bc=()=>{if(Object.keys(bbn.dt.locales).length)return;const e=[bbn.env.lang,...navigator.languages],n=new Intl.DateTimeFormat(e,{month:"long"}),t=new Intl.DateTimeFormat(e,{month:"short"}),r=new Intl.DateTimeFormat(e,{weekday:"long"}),o=new Intl.DateTimeFormat(e,{weekday:"short"}),i=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),m=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),l=new Intl.Locale(e[0]),u=[],c=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);u.push(n.format(r)),c.push(t.format(r))}const d=new Date(2020,1,2),h=[],f=[];for(let e=0;e<7;e++){const n=new Date(d.getTime()+864e5*e);h.push(r.format(n)),f.push(o.format(n))}const{date:M,time:y,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],o=[],i=new Set,a=new Set,s=new Set,m=[{year:"numeric",month:"2-digit",day:"2-digit"},{year:"numeric",month:"numeric",day:"numeric"},{year:"numeric",month:"short",day:"numeric"},{year:"numeric",month:"long",day:"numeric"},{weekday:"short",year:"numeric",month:"short",day:"numeric"},{weekday:"long",year:"numeric",month:"long",day:"numeric"},{year:"numeric",month:"numeric"},{year:"numeric",month:"2-digit"},{year:"numeric",month:"short"},{year:"numeric",month:"long"},{month:"numeric",day:"numeric"},{month:"2-digit",day:"2-digit"},{month:"short",day:"numeric"},{month:"long",day:"numeric"}],l=[];for(const r of m){const o=new Intl.DateTimeFormat(e,r),a=pc(o.formatToParts(n),o.resolvedOptions().hourCycle,r);i.has(a)||(i.add(a),t.push({pattern:a,sample:o.format(n),options:r})),r.year&&r.month&&r.day&&l.push(r)}const u=[{hour:"numeric"},{hour:"2-digit",minute:"2-digit"},{hour:"2-digit",minute:"2-digit",second:"2-digit"},{hour:"2-digit",minute:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",timeZoneName:"long"}];for(const t of u){const o=new Intl.DateTimeFormat(e,t),i=pc(o.formatToParts(n),o.resolvedOptions().hourCycle,t);a.has(i)||(a.add(i),r.push({pattern:i,sample:o.format(n),options:t}))}for(const t of l)for(const r of u){const i=Object.assign(Object.assign({},t),r),a=new Intl.DateTimeFormat(e,i),m=pc(a.formatToParts(n),a.resolvedOptions().hourCycle,i);s.has(m)||(s.add(m),o.push({pattern:m,sample:a.format(n),options:i}))}return{date:t,time:r,datetime:o}})(e),p=l.getWeekInfo?l.getWeekInfo():{firstDay:1};lu(bbn.dt.locales,{formatters:{short:i,long:a,numeric:s,relative:m},firstDayOfWeek:p.firstDay,monthsLong:u,monthsShort:c,weekdaysLong:h,weekdaysShort:f,locale:l,date:M,time:y,datetime:g})};class wc extends dc{constructor(e,n,t,r){let o;if(e)if(void 0===e)if(e instanceof jl.PlainTime)o=e;else if(e instanceof Date)o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");if(void 0!==n)o=new jl.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);o=new jl.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else o=new jl.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(o),this.kind="time"}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}const vc=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch(n){return e.toLowerCase()}};function Ec(e,n,t="auto",r,o){var i,a,s,m,l,u,c;bc();const d=jl;if(!d)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let h=!0;o||(o=(null===(i=null===bbn||void 0===bbn?void 0:bbn.dt)||void 0===i?void 0:i.locales)||{});const f={monthsLong:null!==(a=null==o?void 0:o.monthsLong)&&void 0!==a?a:bbn.dt.locales.monthsLong,monthsShort:null!==(s=null==o?void 0:o.monthsShort)&&void 0!==s?s:bbn.dt.locales.monthsShort,weekdaysLong:null!==(m=null==o?void 0:o.weekdaysLong)&&void 0!==m?m:bbn.dt.locales.weekdaysLong,weekdaysShort:null!==(l=null==o?void 0:o.weekdaysShort)&&void 0!==l?l:bbn.dt.locales.weekdaysShort},M=(null===bbn||void 0===bbn?void 0:bbn.env)&&(null===(u=bbn.env)||void 0===u?void 0:u.lang)||(null===bbn||void 0===bbn?void 0:bbn.dt)&&(null===(c=bbn.dt)||void 0===c?void 0:c.locale)||Intl.DateTimeFormat().resolvedOptions().locale,y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function g(n,t="auto"){var o;const i=new hc,a={year:i.year(),month:1,day:1,hour:0,minute:0,second:0,ms:0,hasYear:!1,hasMonth:!1,hasDay:!1,hasHour:!1,hasMinute:!1,hasSecond:!1,hasMs:!1},s="auto"===t,m="zoned"===t.toLowerCase(),l="datetime"===t.toLowerCase(),u="date"===t.toLowerCase(),c="time"===t.toLowerCase(),g="yearmonth"===t.toLowerCase(),p="monthday"===t.toLowerCase(),b=[{token:"YYYY",regex:"\\d{4}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"YY",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);n.year=t>=70?1900+t:2e3+t,n.hasYear=!0}},{token:"Y",regex:"[+-]?\\d{1,6}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"MMMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.monthsLong.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.monthsShort.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid short month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MM",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"mm",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"M",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"m",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"DD",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"D",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"d",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"dddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.weekdaysLong.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.weekdaysShort.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid short weekday name: "+e);n.weekday=r}},{token:"EE",regex:"\\d{1}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>7)throw new Error("Invalid weekday number: "+t);n.weekday=t}},{token:"hh",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid 12-hour clock hour: "+t);n.hour=t,n.hasHour=!0,n.uses12Hour=!0}},{token:"HH",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"H",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"h",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"II",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"I",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"i",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"SS",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"S",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ss",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"s",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ms",regex:"\\d{1,3}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>999)throw new Error("Invalid millisecond: "+t);n.ms=t,n.hasMs=!0}},{token:"WWWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"W",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"ZZ",regex:"(?:Z?[+-]\\d{2}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),o=parseInt(r.slice(0,2),10),i=parseInt(r.slice(2),10);if(o<0||o>23||i<0||i>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+i)}},{token:"Z",regex:"(?:Z?[+-]\\d{2}\\:{1}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),[o,i]=r.split(":");let a=parseInt(o,10),s=parseInt(i,10);if(a<0||a>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*a+s)}},{token:"z",regex:"[A-Za-z_\\/]+",apply:(e,n)=>{n.timeZone=e}},{token:"A",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}},{token:"a",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}}],w=[...b].sort((e,n)=>n.token.length-e.token.length);let v="";const E=[];let T=0,S=0;for(;T<n.length;){if("["===n[T]){let e=T+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");v+=y(n),T=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,T)){e=t;break}e?(v+=`(${e.regex})`,S=v.length,e.apply?E.push(n=>e.apply(n,a)):E.push(()=>{}),T+=e.token.length):(v+=y(n[T]),T+=1)}const D=new RegExp("^"+bbn.fn.substr(v,0,S));let z=D.exec(e);if(!z){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new hc(i.year(),1,1,0,0,0,0);e=t.format(n),h=!1,z=D.exec(e)}}for(let e=1;e<z.length;e++){const n=z[e],t=E[e-1];null!=n&&t&&t(n)}if(a.uses12Hour){if(!a.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=a.hour;a.isPM?e<12&&(e+=12):12===e&&(e=0),a.hour=e}const A=a.hasYear||a.hasMonth||a.hasDay,H=a.hasYear&&a.hasMonth&&a.hasDay,k=a.hasYear&&a.hasMonth&&!a.hasDay,I=!a.hasYear&&a.hasMonth&&a.hasDay,_=a.hasHour||a.hasMinute||a.hasSecond||a.hasMs,C=null!=a.timeZone||null!=a.offsetMinutes;let P;if(m||C&&s){let e;try{e=new d.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms)}catch(e){throw new Error("Invalid date/time components")}if(a.timeZone){const n=d.TimeZone.from(a.timeZone),t=e.toZonedDateTime(n);P=new Mc(t)}else{const e=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.ms)-6e4*(null!==(o=a.offsetMinutes)&&void 0!==o?o:0);P=new Mc(d.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(d.Now.timeZoneId()))}}else if(l||s&&(h||A&&_)){if(!H&&!h)throw new Error("PlainDateTime requires year, month and day");const e=new d.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms);P=new hc(e)}else if(u||g||p||s&&A&&!_)if(u||H&&s){const e=new d.PlainDate(a.year,a.month,a.day);P=new fc(e)}else if(g||k&&s){const e=new d.PlainYearMonth(a.year,a.month);P=new yc(e)}else if(p||I&&s){const e=new d.PlainMonthDay(a.month,a.day,1972);P=new gc(e)}else{if(!s||!a.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new d.PlainDate(a.year,1,1);P=new fc(e)}}else{if(!(c||s&&!A&&_))throw new Error("No date or time information found in input");{const e=new d.PlainTime(a.hour,a.minute,a.second,1e6*a.ms);P=new wc(e)}}return P.setValid(h),P}if(Array.isArray(n)){let e=null;for(const r of n)try{return g(r,t)}catch(n){e=n}throw null!=e?e:new Error("No format matched")}return g(n,t)}const Tc=["YYYY-MM-DD HH:II:SS.ms","YYYY-MM-DD HH:II:SS","YYYY-MM-DD HH:II:SS[ GMT]Z","YYYY-MM-DD HH:II","YYYY-MM-DDTHH:II:SS.msZ","YYYY-MM-DDTHH:II:SSZ","YYYY-MM-DDTHH:II:SS","YYYY-MM-DDTHH:II","ddd[, ]DD MMM YYYY HH:II:SS[ GMT]","ddd MMM DD YYYY HH:II:SS[ GMT]Z","ddd MMM DD YYYY HH:II:SS","D MMM","D MMMM","D/M","YYYY-MM-DD","YYYY-MM","HH:II:SS","HH:II"];function Sc(e,n,t){const r=e.trim();if(!r)return null;bc();const o=e=>{for(const n of e)try{return Ec(r,n),n}catch(e){}return null};if(n){return o(Array.isArray(n)?n:[n])}const i=new Set,a=Tc.filter(e=>!i.has(e)&&(i.add(e),!0)),s=[...bbn.dt.locales.datetime.map(e=>e.pattern),...bbn.dt.locales.date.map(e=>e.pattern),...bbn.dt.locales.time.map(e=>e.pattern)].filter(e=>!i.has(e)&&(i.add(e),!0)),m=o([...a,...s]);return m||null}const Dc=(e,n=null,t="auto")=>{if(void 0===e)return new hc;if(!e){const e=new hc;return e.setValid(!1),e}if("string"==typeof e){if(n)return Ec(e,n,t,!0);{const n=Sc(e);if(n)return Ec(e,n,t);throw new Error(Yl("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new hc(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new hc(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof jl.PlainDateTime)return new hc(e);if(e instanceof jl.PlainDate)return new fc(e);if(e instanceof jl.PlainTime)return new Mc(e);if(e instanceof jl.PlainYearMonth)return new yc(e);if(e instanceof jl.PlainMonthDay)return new gc(e);if(e instanceof jl.ZonedDateTime)return new Mc(e);if(e instanceof jl.Duration)return new mc(e);throw bbn.fn.log("Invalid date value",e),new Error(Yl("Invalid date value"))};function zc(e){if(arguments.length>1){const e=[];for(let n=1;n<arguments.length;n++)e.push(arguments[n]);e.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,e)}throw new Error(e)}function Ac(e,n=null,t=null,r=null,o=null){let i=!1;if(n){i=!0;let a,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){zc(e.message||"")}if(s&&void 0===n.url&&(n.url=e),i=t&&nu(t)?t(n,o):bbn.fn.defaultLinkFunction(n,o),o&&s&&void 0!==n.content&&("value"in o?o.value=n.content:o.innerHTML=n.content),i&&s&&n.script&&(i="function"==typeof n.script?n.script(n.data?n.data:{},o||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),nu(r)&&(r=r(e,t))}catch(e){tu(e,n),zc(nu(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},o||!1)),i&&r&&nu(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,o),i&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(a=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,a))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function Hc(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),mu(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),su(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let o;au(n,n=>{let i=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):i?(o="is"+ru(i,0,1).toUpperCase()+ru(i,1).toLowerCase(),void 0===bbn.fn[o]?r.error=i+" "+bbn._("is not a valid type"):bbn.fn[o](e[n])||(r.error=n+" "+bbn._("is not a")+" "+i)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function kc(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Ic(e,n,t,...r){let o=!1;mu(n)||(n=[n]);const i=[];if(au(n,n=>{var t;if(n===String?n="string":n===Number?n="number":n===Array?n="array":n===Boolean?n="boolean":n===Object?n="object":n===Function&&(n="function"),nu(n)){if(i.push(n.name||(null===(t=n.constructor)||void 0===t?void 0:t.name)||n.toString()),e instanceof n)return o=!0,!1}else if(Ql(n)&&nu(bbn.fn["is"+kc(n)])){if(bbn.fn["is"+kc(n)](e))return o=!0,!1;i.push(n)}else zc(`The type ${n} is not recognized`)}),!o)throw tu(["Value given",e,"type",typeof e,"expected",i.join(" or ")]),r.length&&tu(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",i.join(" "+bbn._("or a")+" ")))}function _c(e){if(mu(e))return e.slice().map(e=>"object"==typeof e?_c(e):e);if(su(e)){return lu(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Dc.locales=Object.create(null),Dc.parse=Ec,Dc.guessFormat=Sc,Dc.time=()=>{},Dc.date=()=>{},Dc.dateTime=()=>{},Dc.duration=(e,n)=>e instanceof jl.Duration?new mc(e):mc.fromUnit(e,n),Dc.zoned=()=>{},Dc.monthDay=()=>{},Dc.yearMonth=()=>{};const Cc=(e,n="text/plain")=>{const t=new DataTransfer;t.setData(n,e);const r=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(r)};function Pc(e,n,t=null,r="="){if(!mu(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let o={};const i=[],a="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,o=n;else if("string"==typeof n)o[n]=t;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if("function"==typeof n)for(let t=0;t<e.length;t++)n(e[t],t)&&i.push(e[t]);else if(o=Ou(o,r),o.conditions&&o.logic)for(let n=0;n<e.length;n++)Gu(e[n],o)&&i.push(e[n]);return i}const Gc=[];for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>>1:n>>>1;Gc.push(n)}function Oc(...e){const n=Object.create(null);return e.length&&lu(n,...e),n}function Bc(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||Jl(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),12);if(19===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),parseInt(ru(e,11,2)),parseInt(ru(e,14,2)),parseInt(ru(e,17,2)))}else if(gu(e))return e;return!1}function xc(e,n=""){tu(e)}function Lc(e,n=null,t=null){tu(n,t)}function Nc(e,n,t=null,r=null){return!0}function jc(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!vu(n))return!1;return!0}let Rc=[];function Fc(e){if(Ql(e)&&e){for(;"/"===ru(e,e.length-1);)e=ru(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return ru(e,0,n);if(0===n)return"/"}return""}function Yc(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function Zc(e){if(e&&Ql(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function Wc(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function Uc(e,n,t=null){if(Wc(n))return void n.toBlob(n=>{let t=document.createElement("a");t.download=e,t.href=window.URL.createObjectURL(n),t.className="bbn-no",t.click(),window.URL.revokeObjectURL(t.href)},t||"image/png");t?-1===t.indexOf("/")&&(t="text/"+t):t=su(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let o=null;if(Ql(n))o=new Blob([n],{type:t});else try{o=n}catch(e){tu(e)}r.href=window.URL.createObjectURL(o),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}var qc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function $c(){return qc(this,void 0,void 0,function*(){var e;(null===(e=window.scheduler)||void 0===e?void 0:e.yield)?yield window.scheduler.yield():yield new Promise(requestAnimationFrame)})}var Vc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function Kc(e){let n;return"checkbox"===e.type?e.checked?(n=e.value,n||(n=1)):n=0:"radio"===e.type?e.checked&&(n=e.value):n=e.value,n}function Jc(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return au(r,(e,r)=>{if(t=Kc(e),void 0!==t&&!e.disabled){let r=e.name;if(-1===r.indexOf("[]")&&r.indexOf("[")>-1&&r.indexOf("]")>-1&&r.lastIndexOf("]")===r.length-1&&(r=Wu("][",".",r),r=Wu("[",".",r),r=Wu("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=ru(r,0,r.length-2),void 0===o[n]&&(o[n]=[]),o[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=o;for(let r=0;r<n.length;r++)void 0===o[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else o[r]=t}}),o}function Xc(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function Qc(e,n=null){let t=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof n)for(;e=e.parentElement.closest(n);)t.push(e);else for(!0===n&&t.push(e);e=e.parentElement;)t.push(e);return t}function ed(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function nd(){const e=navigator.userAgent.toLowerCase();return/iPhone|Android/i.test(navigator.userAgent)?"mobile":/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(e)?"tablet":"desktop"}function td(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),tu("RANGE",e);let t=e.cloneContents();tu("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function rd(e){return Ql(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function od(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function id(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function ad(e){let n,t,r={};if(su(e[0])&&1===e.length)return e[0];for(t=0;t<e.length;t++)n=typeof e[t],n=n.toLowerCase(),nu(e[t])?(r.errorFn&&!r.abortFn&&(r.abortFn=e[t]),r.successFn&&!r.errorFn?r.errorFn=e[t]:r.successFn||(r.successFn=e[t])):1===e[t]||!0===e[t]?r.force=!0:"string"===n?r.url?r.datatype=e[t]:0===e[t].indexOf("#")||0===e[t].indexOf(bbn.env.root+"#")?r.url=ru(e[t],bbn.env.root.length):(r.url=e[t],0===r.url.indexOf(bbn.env.root)&&(r.url=ru(r.url,bbn.env.root.length))):e[t]&&"object"===n&&(e[t]instanceof Event?r.e=e[t]:r.ele||1!==e[t].nodeType?"object"===n.toLowerCase()&&(r.obj=e[t]):r.ele=e[t]);return!r.url&&bu(r)&&(r.url=bbn.env.path),void 0===r.obj&&(r.obj={_bbn:"public"}),r.datatype||(r.datatype="json"),r}function sd(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(ru(e,0,7))?e:bbn.env.root+e,bbn.env.path=ru(bbn.env.url,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let o=window.history;if(o){let e=o.state,i={url:bbn.env.path,old_path:bbn.env.old_path||null,data:t||{},reload:!1};e&&e.url===bbn.env.path&&(e.data&&lu(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?od(n):bbn.env.siteTitle,r?(i.reload=!0,o.replaceState(i,n,bbn.env.url)):o.pushState(i,n,bbn.env.url)}}function md(...e){let n=ad(e),t=1;if(!0===n)return!0;if(!n)return md(window.location.href);if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return location.href=bbn.env.url+n.url,!0;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if(Nu(n.url))return!1;if((0===n.url.indexOf("http://")||0===n.url.indexOf("https://"))&&0!==n.url.indexOf(bbn.env.host))return n.e&&n.e.preventDefault(),window.open(n.url),!1;if(n.url!==bbn.env.params.join("/")||1===n.force){if(n.successFn)t=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){let e=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==e.data?(lu(n.obj,e.data),t=1):t=e}if(t){1!==t&&"string"==typeof t&&(n.url=t);let e=bbn._("The Ajax call to")+" "+n.url+" ";return qu(n.url,n.datatype,n.obj,t=>{t||tu(e+bbn._("returned no answer")),su(t)&&(0===Object.keys(t).length&&tu(e+bbn._("returned an empty object")),t.new_url?(t.old_path=n.url,n.url=t.new_url):t.url&&n.url!==t.url&&(t.old_path=n.url)),Ac(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==bbn.env.path.indexOf(n.url)&&sd(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}function ld(){let e=bbn.env.width!==window.innerWidth,n=bbn.env.height!==window.innerHeight;if(e||n){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),n&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));let t=parseInt(ed("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;au(o,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(n,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function ud(){return"mobile"===nd()}function cd(){return"tablet"===nd()}function dd(){return ud()||cd()}function hd(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function fd(e){const n=String(null!=e?e:"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,o=n[0].toLowerCase();for(let e=1;e<n.length;e++){const o=n[e];t||4!==o.length?r||2!==o.length&&3!==o.length||(r=o.toUpperCase()):t=o[0].toUpperCase()+o.slice(1).toLowerCase()}return{language:o,script:t,region:r}}const Md=Promise.resolve().then(function(){return Od});function yd(e){var n,t,r;const o=null!==(r=null!==(n=e.baseName)&&void 0!==n?n:null===(t=e.toString)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"und",{region:i}=fd(o),a=i&&Md[i]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:a.firstDay,weekend:a.weekend.slice(),minimalDays:a.minimalDays}}function gd(){!function(){if("undefined"==typeof Intl)return;if("function"!=typeof Intl.Locale){class e{constructor(e){const n=Array.isArray(e)?e[0]:e,t=String(null!=n?n:"und"),r=fd(t);this._tag=t,this._language=r.language,this._script=r.script,this._region=r.region}toString(){return this._tag}get baseName(){return this._tag}get language(){return this._language}get script(){return this._script}get region(){return this._region}getWeekInfo(){return yd(this)}get weekInfo(){return yd(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return yd(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():yd(this)}})}()}var pd=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function bd(){return pd(this,void 0,void 0,function*(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((()=>pd(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return xd}),yield Promise.resolve().then(function(){return Ld})}))()),function(){if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return!0;try{return new Intl.DateTimeFormat("en",{dateStyle:"medium"}),!1}catch(e){return!0}}()&&e.push((()=>pd(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Yd}),yield Promise.resolve().then(function(){return Zd})}))()),e.length>0&&(yield Promise.all(e)),gd()})}const wd=e=>{if(bbn.env.last_focus=bbn.dt().unix(),"ajax"!==bbn.env.nav)return;let n=e.target;if(n instanceof HTMLElement&&"A"!==n.tagName){let e=n;for(;e&&"A"!==e.tagName&&"BODY"!==e.tagName;)e=e.parentElement;n=e&&"A"===e.tagName?e:null}return n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")?(e.preventDefault(),e.stopPropagation(),md(n.getAttribute("href")),!1):void 0};function vd(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||Jl(ru(e,0,1)))){let n=document.createElement("div");n.style.width=e;let t=!!n.style.width.length;return n.remove(),t}return!1}function Ed(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!bbn.var.regexp.ip.test(n))return!1;return!0}function Td(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function Sd(e){const n=["BBN: "+e];n.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,n)}function Dd(e,n,t=null){if(!mu(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Ic(t,"function","The hash function must be a function"):t=ku;const r=new Map(n.map(e=>[t(e),e]));let o=[];n.forEach(e=>{o.push(e)});let i=e.length;for(;i--;)r.has(t(e[i]))||e.splice(i,1);for(let n=0;n<o.length;n++)if(n>=e.length||!Cu(e[n],o[n])){const t=Bu(e,o[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,o[n])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e}function zd(e,n="",t=null){let r=new FormData,o=(e,n="")=>{(!t||mu(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):mu(e)?au(e,(e,t)=>{o(e,n+"["+t+"]")}):su(e)&&Object.keys(e).length?iu(e,(t,r)=>{r in e&&o(t,n?n+"["+r+"]":r)}):vu(e)||void 0===e||r.append(n,e))};return o(e,n),r}function Ad(e){return"string"==typeof e?document.querySelector(e):e}function Hd(...e){let n=ad(e);if(n.url)return qu(n.url,n.datatype,n.obj,e=>{Ac(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function kd(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let o=e;const i=n.split(".");au(i,(e,n)=>{if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===n?o[e]=t:o=o[e]})}}function Id(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function _d(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=ru(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=ru(e,0,e.length-n.length);return e}function Cd(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.var.shortenLen),void 0!==t&&Ql(t)||(t="..."),e.length>n&&(e=ru(e,0,n)+t)),e}var Pd={_addLoader:fu,_compareValues:pu,_deleteLoader:Lu,abort:function(e){let n=Nu(e);(null==n?void 0:n.aborter)&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){au(ju(bbn.env.loaders,{url:e}),n=>{if(!n||!n.source)throw new Error("Impossible to find the loader with URL "+e);n.source.cancel("Operation canceled by the user.")})},addColors:Ru,addInputs:Fu,addStyle:function(e,n){su(n)&&iu(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("height",e)},adjustSize:Yu,adjustWidth:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("width",e)},ajax:qu,analyzeFunction:_u,animateCss:function(e,n,t){e.classList.add("animated"),e.classList.add(n),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof t&&t.call(this),r.target.classList.remove(n)})},arrayBuffer2String:Vu,arrayFromProp:function(e,n){let t=[];return au(e,(e,r)=>{t.push(Mu(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),lu(bbn[e],n)},baseName:Ku,br2nl:function(e){return Wu("<br />","\n",Wu("<br/>","\n",Wu("<br>","\n",e)))},calendar:function(e,n=!1){let t=Dc(e);return t.isValid?t.calendar():n&&Ql(n)?n:""},callback:Ac,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,n,t,r){return t?t.toUpperCase():n.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){let n=new Image;return n.src=e.toDataURL("image/png"),n},cast:function(e){var n;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(n=e.constructor)||void 0===n?void 0:n.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){let n=e.parentNode,t=n.clientWidth,r=n.clientHeight;for(;n&&(!t||!r);)n=e.parentNode,t=n.clientWidth,r=n.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+n.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+n.scrollLeft)+"px",e},checkProps:function(e,n,t=!1){return Hc(e,n,t).result},checkPropsDetails:Hc,checkPropsOrDie:function(e,n,t=!1){let r=Hc(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Ic,circularReplacer:function(){const e=new WeakSet;return(n,t)=>{if("object"==typeof t&&null!==t){if(e.has(t))return;e.add(t),[void 0,Object,Array,null].includes(t.constructor)||(t=Du(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Au(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:_c,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:Pu,compareConditions:Gu,copy:function(e,n){return new Promise(t=>{if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?(navigator.clipboard.write([new ClipboardItem({[e.type.toString()]:e})]).then(()=>{t(!0)}),n||Cc(e,e.type.toString())):su(e)&&nu(e.toBlob)?e.toBlob(r=>{const o=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([o]).then(()=>{n||Cc(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||Cc(e),t(!0)));let r=document.createElement("textarea");r.style.opacity="0",r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),n||Cc(e),t(!0)}t(!1)})},correctCase:kc,count:function(e,n,t=null,r="="){return Pc(e,n,t,r).length||0},crc32:function(e){let n=~0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);n=n>>>8^Gc[255&(n^r)]}return(-1^n)>>>0},createObject:Oc,cssExists:function(e){let n,t,r=document.styleSheets;for(let o=0;o<r.length;o++){n=1;try{t=r[o].rules||r[o].cssRules}catch(e){if(n=!1,"SecurityError"!==e.name)throw e}if(n)for(let n=0;n<t.length;n++)if(new RegExp("(^|\\s)"+Zu(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!mu(n);let o='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let i in n)o+="<li>",r&&(o+="<em>"+i+"</em>: "),n[i]&&(mu(n[i])||su(n[i]))?o+=e(n[i],t):o+=null===n[i]?"<em>null</em>":n[i].toString?n[i].toString():n[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',o},date:Bc,dateSQL:function(e,n){let t=Dc(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,o=[]){let i;return(i=Bu(n,t,0))>-1?(o.push(i),o):(au(n,(n,i)=>{if(mu(n[r])){let a=o.slice();a.push(i);let s=e(n[r],t,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:xc,defaultAjaxErrorFunction:Lc,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&nu(n)&&(n(),r=1),!r&&nu(t)&&t()},defaultEndLoadingFunction:Nc,defaultErrorFunction:function(e){tu(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,n){return!0},defaultPostLinkFunction:function(e,n=null){return!0},defaultPreLinkFunction:function(e,n=!1,t=null){return tu("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Ic(e,"object",bbn._("The obj must be an object in setProp")),Ic(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,o=!1){o||(Rc=[]);let i="unchanged";void 0===o&&(o=!1);let a=Oc();if(!nu(n)&&!nu(t)){if(jc(n)||jc(t)){let e=(s=n)===(m=t)||gu(s)&&gu(m)&&s.getTime()===m.getTime()?i:void 0===s?"created":void 0===m?"deleted":"updated";if(r||e!==i){let r=Oc();return Object.defineProperty(r,"type",{value:e,enumerable:!1}),Object.defineProperty(r,"data",{value:void 0===n?t:n,enumerable:!1}),Object.defineProperty(r,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==n&&Object.defineProperty(r,"newData",{value:t,enumerable:!1}),r}return!1}if(Du(n)||Du(t))return!1;if(Rc.includes(n)||Rc.includes(t))return!1;Rc.push(n,t);for(let o in n){if(nu(n[o]))continue;let i;void 0!==t[o]&&(i=t[o]);let s=e(n[o],i,r,!0);s&&(a[o]=s)}for(let o in t){if(nu(t[o])||void 0!==n[o])continue;let i=e(void 0,t[o],r,!0);i&&(a[o]=i)}}var s,m;return!(o&&!r&&!bu(a))&&a},dirName:Fc,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),qu(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",o="attachment; filename=";n=(null==r?void 0:r[t])&&0===r[t].indexOf(o)?ru(r[t],o.length+1,r[t].length-o.length-2):Ku(e)}if(Yc(t)){let e=Zc(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void Uc(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:Uc,each:au,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:zc,escapeDquotes:function(e){return Ql(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Zu,escapeSquotes:function(e){return Ql(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return Ql(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,n){let t="";e.match("^(http|https)://")&&(t+="http","s"===(e=e.substring(4)).substr(0,1)&&(t+="s",e=e.substring(1)),t+="://",e=e.substring(3)),au(Fc(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=Ku(e),o="?",i="";if(r.indexOf(o)){let e=r.split("?");o="&",i="?"+e[1],r=e[0]}return n&&Ql(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=o+n):n="",t+encodeURIComponent(r)+i+n},executeSlowly:function(e,n){return Vc(this,void 0,void 0,function*(){for(let t=0;t<e.length;t++){yield $c();let r=n(e[t],t);if(r instanceof Promise&&(r=yield r),!1===r)return!1}return!0})},extend:lu,extendOut:function e(...n){let t=null;for(let r of n){if(!su(r))throw new Error("Each argument for extendOut must be an object, "+typeof r+" given");if(null===t)t=r;else for(let n in r)su(t[n],r[n])?e(t[n],r[n]):void 0===t[n]&&(t[n]=r[n])}return t},fdate:function(e,n=!1){let t=Dc(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&Ql(n)?n:""},fdatetime:function(e,n=!1){let t=Dc(e);return t.isValid?t.fdate(!1,!0):n&&Ql(n)?n:""},fieldValue:Kc,fileExt:Zc,filter:Pc,filterToConditions:Ou,findAll:function e(n,t,r,o=[]){let i,a=0;for(;(i=Bu(n,t,a))>-1;)o.push(n[i]),a=i+1;return au(n,n=>{mu(n[r])&&e(n[r],t,r,o)}),o},firstVarElement:function(e){const n=e.indexOf("["),t=e.indexOf(".");return-1===n&&-1===t?e:-1===n?e.substring(0,t):-1===t?e.substring(0,n):e.substring(0,Math.min(n,t))},fori:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=r;o<=t;o++)if(!1===n(e[o],o))return}},forir:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=t;o>=r;o--)if(!1===n(e[o],o))return}},format:function(e){let n=Array.prototype.slice.call(arguments,1);if(n.length){let t=0;return e.replace(/\%([d|s])/g,(e,r)=>{let o=n[t++];return Ic(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,n=2){if(!e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(n<0?0:n))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},formatDate:function(e,n){const t=Dc(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return Jl(e)?e+"px":Ql(e)?e:!n&&"auto"},formdata:Jc,fphone:function(e){var n;if(Jl(e)&&(e=e.toString()),Ql(e)){const t=(null===(n=bbn.var)||void 0===n?void 0:n.phoneCodes)||[];let r="",o="",i="";if(t.length&&au(t,n=>{e.startsWith(n.prefix)&&n.prefix.length>o.length&&(o=n.prefix,i=n.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));const n=e.slice(o.length);for(let e=0;e<n.length;e++)e+1<=n.length&&e%2==0&&(i+="0"+(n[e+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));let n=0;return r+=i.replace(/[0-9]/g,()=>e[n++]||""),r}}return e},fromXml:function(e,n){let t=null;if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async=!1,!t.loadXML(e))throw t.parseError.reason+" "+t.parseError.srcText}function r(e,t){if("#text"==e.nodeName){let n=e.nodeValue;return void(n.trim()&&(t["#text"]=n))}let o={},i=t[e.nodeName];if(i?Array.isArray(i)?t[e.nodeName].push(o):t[e.nodeName]=[i,o]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[o]:t[e.nodeName]=o,e.attributes)for(let n of e.attributes)o[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,o)}let o={};for(let e of t.childNodes)r(e,o);return o},ftime:function(e,n){let t=Dc(e);return t.isValid?t.ftime():n&&Ql(n)?n:""},getAllTags:function(){return Xc(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:Qc,getAttributes:function(e){e.getAttributeNames||zc("The element is not a proper HTML Element");let n=Object.create(null);return e.getAttributeNames().forEach(t=>{n[t]=e.getAttribute(t)}),n},getBrowserName:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge"):case e.includes("edg/"):return"Edge";case e.includes("opr")&&!!window.opr:return"Opera";case e.includes("chrome")&&!!window.chrome:return"Chrome";case e.includes("trident"):return"Internet Explorer";case e.includes("firefox"):return"Firefox";case e.includes("safari"):return"Safari";default:return"Other"}},getBrowserVersion:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge/"):return e.split("edge/")[1].split(" ")[0];case e.includes("edg/"):return e.split("edg/")[1].split(" ")[0];case e.includes("opr/")&&!!window.opr:return e.split("opr/")[1].split(" ")[0];case e.includes("chrome/")&&!!window.chrome:return e.split("chrome/")[1].split(" ")[0];case e.includes("trident/"):return e.split("trident/")[1].split(" ")[0];case e.includes("firefox/"):return e.split("firefox/")[1].split(" ")[0];case e.includes("safari/"):return e.split("version/")[1].split(" ")[0];default:return""}},getChrono:function(e="default"){return bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){let n=e+"=",t=document.cookie.split(";");for(let e=0;e<t.length;e++){let r=t[e];for(;" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n)){let e=r.substring(n.length,r.length);if(e)return JSON.parse(unescape(e)).value}}return null},getCssVar:ed,getDay:function(e){let n=Bc(e);if(n){let e=n.getTime(),r=n.getYear(),o=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)o++;return o+Math.floor(e/864e5)}return!1},getDeviceType:nd,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]};return new Promise((o,i)=>{let a=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=td();r.str.push({type:"text/plain",data:r.raw}),n!==r.raw?r.str.push({type:"text/html",data:n}):0===r.raw.trim().indexOf("<")&&r.str.push({type:"text/html",data:"<meta charset='utf-8'><code style=\"white-space: pre; font-family: 'Courier New', sans-serif\">\n"+r.raw+"\n</code>"}),a=!0,o(r)}if(!a){let e=[],t=n.items.length;au(n.items,(i,s)=>{let m=i.kind,l=i.type;if("file"===m){let m=n.files[s];if(!l&&m.name){let e=m.name.split(".");l=e[e.length-1]}let u=m?m.name:bbn._("untitled"),c=m?m.size:null,d=m?m.lastModified:null,h=i.getAsFile();h?(a=!0,t--,r.files.push({type:l,data:h,name:u,size:c,mdate:d}),e.push(u),t||(r.raw||(r.raw=e.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+u)}else a=!0,i.getAsString(n=>{t--,r.str.push({type:l,data:n}),"text/plain"===l&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),o(r))})})}a||setTimeout(()=>{o(r)})})},getField:function(e,n,t="",r=null,o="=",i=0,a=!1,s=void 0){let m;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=a),n?(m=xu(e,t,r,o,i,a,void 0),void 0===m?s:m[n]):s},getFieldValues:function(e,n,t,r,o){Ic(n,"string"),t&&(e=ju(e,t,r,o));let i=[];return au(e,e=>-1===i.indexOf(e[n])?i.push(e[n]):null),i},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,o=>{"string"==typeof o?["binary","text"].includes(o.toLowerCase())?r=o.toLowerCase():t||(t=o,"image"===t&&(t="image/*")):bbn.fn.isFunction(o)&&(e?n||(n=o):e=o)});let o=document.createElement("input");o.type="file",t&&o.setAttribute("accept",t),o.onchange=function(t){var i;const a=null===(i=o.files)||void 0===i?void 0:i[0];if(!a)return;const s=new FileReader;"binary"===r?s.readAsArrayBuffer(a):s.readAsText(a,"UTF-8"),s.onload=function({target:n}){e&&e(null==n?void 0:n.result)},s.onerror=function(){n&&n("error reading file")}},o.click()},getIndex:function(e,n=""){return e.parentElement?(n||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(e=>e.matches(n)).indexOf(e)):-1},getHtml:function(e,n=!1){let t=e.innerHTML();return n&&(t=rd(t)),t.trim()},getHTMLOfSelection:td,getLoader:Nu,getPath:zu,getProp:function(e,n){return Ic(e,"object",bbn._("The obj must be an object in setProp")),Ic(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:Mu,getRequestId:Uu,getRow:xu,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){let e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);let n=e.offsetWidth;e.style.overflow="scroll";let t=document.createElement("div");t.style.width="100%",e.appendChild(t);let r=t.offsetWidth;e.parentNode.removeChild(e);let o=n-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,n){if(e.length!==n.length)throw new Error("Lengths must match.");const t=new Set(n);if(t.size!==n.length)throw new Error("dst has duplicates.");const r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==t.size||Array.from(r).some(e=>!t.has(e)))throw new Error("Arrays must contain the same unique values.");const o=new Map(n.map((e,n)=>[e,n])),i=e.map(e=>o.get(e)),a=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let o=0;o<n;o++){let n=e[o],i=0,a=t.length;for(;i<a;){const r=i+a>>1;e[t[r]]<n?i=r+1:a=r}i>0&&(r[o]=t[i-1]),t[i]=o}const o=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])o.push(e);return o.reverse()})(i),s=new Set(a.map(n=>e[n])),m=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)m[e]=m[e+1],s.has(n[e+1])&&(m[e]=e+1);const l=e.slice(),u=new Map(l.map((e,n)=>[e,n])),c=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=u.get(t);if(void 0===r)throw new Error("Inconsistent state");const o=m[e],i=-1!==o?u.get(n[o]):l.length;if(void 0===i)throw new Error("Inconsistent state");const a=r<i?i-1:i;if(r!==a){const[e]=l.splice(r,1);l.splice(a,0,e),c.push({from:r,to:a,value:t}),u.clear();for(let e=0;e<l.length;e++)u.set(l[e],e)}}return c},getText:function(e){return e.innerText().trim()},getTimeoff:function(){return bbn.env.isFocused?0:Math.round((new Date).getTime()/1e3-bbn.env.timeoff)},happy:function(...e){return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),tu.apply(this,e),this},hash:ku,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},history:function(){return window.history||!1},html2text:od,imageToCanvas:id,imgToBase64:function(e,n="image/png"){return id(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),tu.apply(this,e),this},init:function(e,n){let t;bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==ru(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&lu(!0,bbn,e),bbn.env.path=ru(bbn.env.url,bbn.env.root.length),t=bbn.env.path.split("/"),au(t,(e,n)=>{""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Ru(bbn.var.colors),bd(),document.addEventListener("visibilitychange",()=>{document.hidden?bbn.env.isVisible=!1:bbn.env.isVisible=!0}),document.addEventListener("focus",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!0,bbn.env.last_focus=hd()}),document.addEventListener("blur",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!1,bbn.env.last_focus=hd()}),document.addEventListener("click",wd),document.addEventListener("keydown",wd),document.addEventListener("focusin",wd),document.addEventListener("focusout",wd),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{ld()}),window.addEventListener("orientationchange",()=>{ld()}),ld(),dd()&&(document.body.classList.add("bbn-mobile"),cd()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){let n=window.history;if(!bbn.env.historyDisabled&&n&&bbn.fn.defaultHistoryFunction(n.state)){let e=n.state;e?md(e.url,lu({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&nu(e.data.script)&&e.data.script()}}),window.addEventListener("online",()=>{bbn.env.online=!0}),window.addEventListener("offline",()=>{bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&tu("Logging in bbn is enabled"))},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:mu,isBlob:Yc,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:Wc,isColor:function(...e){if(!e.length)return!1;var n=new RegExp("^(#[a-f0-9]{6}|#[a-f0-9]{3}|rgb *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|rgba *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|black|green|silver|gray|olive|white|yellow|maroon|navy|red|blue|purple|teal|fuchsia|aqua)$","i");for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isComment:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Comment))return!1;return!0},isCp:Au,isDataURL:function(...e){if(!e.length)return!1;for(let n of e)if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(n))return!1;return!0},isDate:gu,isDesktopDevice:function(){return"desktop"===nd()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!vd(n))return!1}return!0},isDom:Du,isEmail:function(...e){if(!e.length)return!1;let n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:wu,isEvent:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Event))return!1;return!0},isFocused:function(e,n=!1){return e===document.activeElement||n&&e.contains&&e.contains(document.activeElement)},isFunction:nu,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(...e){if(!e.length)return!1;for(let n of e){if(!Ql(n))return!1;if(!Ed(n)&&!bbn.var.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=Qc(e);if(t.length){if(Ql(n)){let e=!1;return au(t,t=>{if(t.matches&&t.matches(n))return e=!0,!1}),e}if(n instanceof HTMLElement)return t.indexOf(n)>-1}return!1},isInt:eu,isInViewport:function(e,n=!1){const t=e.getBoundingClientRect();if(n)return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight);const r=e.offsetHeight,o=e.offsetWidth;return t.top>=-r&&t.left>=-o&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Ed,isIterable:Xl,isMobile:dd,isMobileDevice:ud,isNotObject:jc,isNull:vu,isNumber:Jl,isObject:su,isPercent:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^\d+(?:\.\d+)?%$/))return!1;return!0},isPrimitive:ec,isPromise:function(...e){if(!e.length)return!1;for(let n of e)if("[object Promise]"!=={}.toString.apply(n))return!1;return!0},isPropSize:function(e){let n=!1;return au(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Cu,isSQLDate:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^([1-2]\d{3})-((0\d)|(1[12]))-(([0-2]\d)|(3[01]))(?:( [0-2]\d):([0-5]\d):([0-5]\d))?$/))return!1;return!0},isString:Ql,isSymbol:Td,isTabletDevice:cd,isURL:function(...e){if(!e.length)return!1;for(let n of e)if(!bbn.var.regexp.url.test(n))return!1;return!0},isUid:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^[0-9a-f]{32}$/i))return!1;return!0},isValidDimension:vd,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(n))return!1;return!0},isVue:function(...e){if(!e.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue){for(let n of e)if(!n||"function"!=typeof n.render)return!1}else for(let n of e)if(!(n instanceof window.Vue))return!1;return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||bbn.cp.isComponent(...e)},isWritable:function(e,n){let t;for(;e&&(t=Object.getOwnPropertyDescriptor(e,n),!t);)e=Object.getPrototypeOf(e);return!t||Boolean(t.writable||t.set)},iterate:iu,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),o=(r>>16)+n,i=(r>>8&255)+n,a=(255&r)+n;return o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),(t?"#":"")+(a|i<<8|o<<16).toString(16)}},link:md,log:tu,makeReactive:function e(n,t,r,o){const i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(n&&"object"==typeof n&&[void 0,Object,Array].includes(n.constructor)){if(n.__bbnIsProxy&&n.__bbnParent===r)return n;r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:Oc(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,m){const l=Reflect.get(s,m),u=s.__bbnRoot||s;if(Td(m))return Reflect.get(u,m);const c=o?o+"."+m:m,d=a+(Jl(m)?m.toString():m);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(m)&&mu(s))return function(...e){let n=u[m](...e);return Sd("DOING ARRAY STUFF"),tu(s.__bbnParent),t(s,"length",r),n};if(nu(l))return l;if("__bbnRoot"===m){let e=n;for(;e&&(null==e?void 0:e.__bbnTarget);)e=e.__bbnTarget;return e}return"__bbnIsProxy"===m||("__bbnTarget"===m?s:"__bbnParent"===m?r:"__bbnWatchers"===m?s.__bbnWatchers:0===m.indexOf("__bbn_")?Reflect.get(s,m):"length"===m&&mu(s.__bbnRoot||s)?u.length:m in s&&l&&"object"==typeof l&&[void 0,Object,Array].includes(l.constructor)?(l.__bbnIsProxy&&l.__bbnParent===r||(d in u||Reflect.defineProperty(u,d,{value:e(l,t,r,c),writable:!0,configurable:!0,enumerable:!1}),u[d].__bbnIsProxy&&!u.__bbnWatchers[i]&&(u.__bbnWatchers[i]=c)),u[d]):l)},set(n,s,m){if(Td(s))return Reflect.get(n,s,m);const l=n.__bbnRoot||n,u=o?o+"."+s:s;if(Td(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name,n,s,m]),!Cu(l[s],m)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(l,s,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1});else if(m&&"object"==typeof m&&[void 0,Object,Array].includes(m.constructor)){const n=a+(Jl(s)?s.toString():s);Reflect.defineProperty(l,n,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1}),l[n].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=u)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name+" "+(Jl(s)?s.toString():s),m,n]),Reflect.set(l,s,m),t(n,s,r)}return!0},defineProperty(n,i,s){const m=n,l=o?o+"."+i:i;if("__bbnWatchers"===i||Td(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(m,i,s);else{const n=a+(Jl(i)?i.toString():i);Reflect.defineProperty(m,n,{value:e(s.value,t,r,l),writable:!0,configurable:!0,enumerable:!1})}return t(n,i,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=a+(Jl(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,o=0){return n.map((n,i)=>(n=t(n,i,o),r&&n[r]&&mu(n[r])&&(n[r]=e(n[r],t,r,o+1)),n))},md5:Iu,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),t||(t=void 0===t&&bbn.env.money&&void 0!==bbn.env.money.currency?bbn.env.money.currency:""),i||(i=void 0===i&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.precision?bbn.env.money.precision:0),n||(n=!(void 0!==n||!bbn.env.money||void 0===bbn.env.money.kilo)&&bbn.env.money.kilo),r||(r=!(void 0!==r||!bbn.env.money||void 0===bbn.env.money.novalue)&&bbn.env.money.novalue),Jl(a)||(a=n?3:0),0===e&&"number"==typeof a&&a>0){let r=e.toFixed(a).replace(".",o);return t&&(r+=" "+(n?"K"+t:t)),r}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(t?" "+t:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");n&&e&&(e/=1e3,t&&(t="K"+t));let s=e.toFixed(a),m=0,l=1e4;return s&&(l=s.indexOf("."),l<=0?l=1e4:m=s.length-l),s.replace(/./g,function(e,n,t){return"."===e?o:n&&(t.length-n-m)%3==0&&n<l?i+e:e})+(t?" "+t:"")},move:function(e,n,t){if(t>=e.length){let n=t-e.length;for(;1+n--;)e.push(void 0)}return e.splice(t,0,e.splice(n,1)[0]),e},multiorder:function(e,n){if(!n)return e;let t;if(Array.isArray(n)||"object"!=typeof n)t=n;else for(var r in t=[],n)t.push({field:r,dir:n[r]});if(!Array.isArray(t))throw new Error("The orders argument must be an array");return e.slice().sort((e,n)=>{let r;for(let o of t)if(r=pu(e,n,o.field,o.dir),0!==r)return r;return 0})},mutateArray:Dd,mutateObject:function e(n,t,r){if(!su(n,t))throw new TypeError("mutateObject can only be called with objects parameters");r?Ic(r,"function","The hash function must be a function"):r=ku;const o=Object.keys(t);for(let e in n)o.includes(e)||delete n[e];return o.forEach(o=>{if(!Cu(n[o],t[o])){if(su(n[o],t[o]))return void e(n[o],t[o],r);if(mu(n[o],t[o]))return void Dd(n[o],t[o],r);n[o]=t[o]}}),n},nl2br:function(e,n){return Wu("\n","<br>"+(n?"\n":""),e)},numProperties:bu,objectToFormData:zd,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return pu(e,r,n,t)}):e},outerHeight:function(e){if((e=Ad(e))&&"offsetHeight"in e){let n=window.getComputedStyle(e),t=parseFloat(n.marginTop)+parseFloat(n.marginBottom);return Math.ceil(e.offsetHeight+t)}},outerWidth:function(e){e=Ad(e);let n=window.getComputedStyle(e),t=parseFloat(n.marginLeft)+parseFloat(n.marginRight);return Math.ceil(e.offsetWidth+t)},percent:function(e,n){return n/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:Hd,postOut:function(e,n,t=null,r=""){let o=document.body.querySelector("form#bbn-form_out");o||(o=document.createElement("form"),o.classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),kd(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),n||(n={}),(n=Oc(n)).bbn||(n.bbn="public"),Fu(o,n),o.submit(),t&&t())},printf:function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return void 0!==n[t]?n[t]:e})},quotes2html:function(e,n){return n&&0!==n.toLowerCase().indexOf("s")||(e=Wu("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=Wu('"',"&quot;",e)),e},randomInt:Id,randomString:function(e,n,t){let r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=Id(8,14)),"string"==typeof n?(t="n",delete i.l,delete i.u,i.n=n,r||(r=e)):"number"==typeof n&&e<n?r=Id(e,n):e&&(r=e);let a="";for(let e=0;e<r;e++)0===e?"n"!==t&&(o=-1===t.indexOf("u")?"l":"u"):o=t[Math.floor(Math.random()*t.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:yu,removeEmpty:function(e){var n=[];if(mu(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(mu(e[t])?e[t].length&&(r=!0):su(e[t])?bu(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:rd,removePrivateProp:ou,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;ru(e,-n.length)===n;)e=ru(e,0,e.length-n.length);for(;ru(e,0,n.length)===n;)e=ru(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:Wu,replaceSelection:function(e,n){let t,r,o;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,o=document.createDocumentFragment();t=n.firstChild;)o.appendChild(t)}const i=o.firstChild,a=o.lastChild;r.insertNode(o),t.removeAllRanges(),n?(i&&(r.setStartBefore(i),r.setEndAfter(a)),t.addRange(r)):(r.setStartAfter(a),t.addRange(r))}},resize:ld,rgb2hex:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""},riterate:function(e,n,t=!1){return iu(e,n,t,!0)},roundDecimal:function(e,n){return Number(Math.round(parseFloat(e+"e"+n+"e-"+n)))},sanitize:function(e,n="_"){let t=["[","]","{","}","(",")","-","+","*","/"],r="[";for(let e=0;e<n.length;e++)t.includes(n[e])&&(r+="\\"),r+=n[e];r+="]+";let o=new RegExp(r,"g");return _d(yu(e).replace(/[^a-z0-9]/gi,n).replace(o,n),n)},search:Bu,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,o=n.document;n.getSelection&&o.createRange?(t=n.getSelection(),r=o.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&(r=o.body.createTextRange(),r.moveToElementText(e),r.select())},selector:Ad,setCookie:function(e,n,t){let r="";if(t){let e=new Date;e.setTime(e.getTime()+24*t*60*60*1e3),r="; expires="+e.toUTCString()}let o=escape(JSON.stringify({value:n}));document.cookie=e+"="+o+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:sd,setProp:function(e,n,t,r=!0,o=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:o})},setProperty:kd,shorten:Cd,shortenObj:function e(n,t=100){let r=_c(n);return au(r,(n,o)=>{Ql(n)&&n.length>t?r[o]=Cd(n,t):n&&"object"==typeof n&&(r[o]=e(n))}),r},shuffle:function(e){let n,t=e.length;for(;0!=t;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e},simpleHash:Su,simpleHash1:Eu,simpleHash2:Tu,startChrono:function(e){let n=bbn.fn.microtimestamp();return this.constructor.chronos||Object.defineProperty(this.constructor,"chronos",{value:Object.create(null),writable:!1,configurable:!1}),this.constructor.chronos[e||"default"]=n,e},stopChrono:function(e,n){if(this.constructor.chronos[e||"default"]){let t=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],n&&(t=Math.round(t)/1e3),t}throw Error("No chrono with name "+(e||"default"))},stream:function(e,n,t,r,o,i){const a=Uu(e,t,"json"),s=Nu(a);if(null==s?void 0:s.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const m=new AbortController;let l="";const u=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{n(JSON.parse(e[t]))}catch(e){throw e}}},c=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:m.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),o=nu(n);r.read().then(function e({done:s,value:m}){if(s)return Lu(a,t),l&&u(l),void(i&&i());if(o)if(l+=Vu(m).trim(),bbn.fn.log(["STREAM RESULT",l.length,l]),l)try{u(l),l=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(n=>{let i=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Lu(a,t,i),i){let t=1;nu(o)&&(t=o(n.message,e)),t&&xc(n.message,e)}else{let e=1;nu(r)&&(e=r(n.request,n)),e&&Lc(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return fu(a,c,m),c},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,o=e.length;r<o;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,o=e.getAttribute("action")||bbn.env.path;if(""===o&&(o="."),"string"==typeof o&&(0!==o.indexOf("http")||-1!==o.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=Jc(e),r)){e.setAttribute("action",null);const n=[o,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Hd(...n)}},substr:ru,sum:function(e,n,t,r,o){let i=0;return au(Pc(e,t,r,o),e=>{let t="function"==typeof n?n(e):e[n];t&&(i+=parseFloat(t)||0)}),i},timestamp:hd,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let o="",i=e.length;return au(e,(e,a)=>{let s=mu(e)?e.length:Object.values(e).length,m=0;au(e,e=>{o+="string"==typeof e?r+Wu(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,m++,m<s&&(o+=n)}),a<i-1&&(o+=t+"\n")}),o},toggleFullScreen:function(){"mozRequestFullScreen"in window.document.documentElement?window.document.mozFullScreen?window.document.mozCancelFullScreen():"function"==typeof window.document.documentElement.mozRequestFullScreen&&window.document.documentElement.mozRequestFullScreen():"webkitRequestFullScreen"in window.document.documentElement?window.document.webkitIsFullScreen?window.document.webkitCancelFullScreen():"function"==typeof window.document.documentElement.webkitRequestFullScreen&&window.document.documentElement.webkitRequestFullScreen():"msRequestFullScreen"in window.document.documentElement?window.document.msFullscreenEnabled?window.document.msExitFullscreen():"function"==typeof window.document.documentElement.msRequestFullScreen&&window.document.documentElement.msRequestFullScreen():"requestFullscreen"in window.document&&(window.document.fullscreenEnabled?window.document.exitFullscreen():window.document.documentElement.requestFullscreen()),setTimeout(function(){ld()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;iu(e,(e,n)=>{t[n]=e})},treatAjaxArguments:ad,treatForHash:Hu,trim:_d,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(mu(e[t]))n+=JSON.stringify(e[t]);else{let r={};au(Object.keys(e[t]).sort(),n=>{r[n]=e[t][n]}),n+=JSON.stringify(r)}else"string"!=typeof e[t]?n+=e[t].toString():n+=e[t];else n+="__bbn_empty__";return Iu(n)},unique:Xc,upload:function(e,n,t=null,r=null,o=null){const i=()=>Kl.run("post",e||bbn.env.path,{data:zd(n),headers:{},onUploadProgress(e){if(o){let n=Math.round(100*e.loaded/e.total);o(n,e.loaded,e.total)}}});return t||r?i().then(e=>{t&&(tu("SUCCESS",e),t(e))}).catch(e=>{r&&(tu("ERROR",e),r(e))}):i()},warning:Sd,yieldToBrowser:$c};const Gd={version:"1.0.1",opt:{_cat:{}},app:{},_:Yl,$:function(e,n){if(null==n?void 0:n.querySelectorAll)return n.querySelectorAll(e);if(n)throw new Error("Invalid context");return document.body.querySelectorAll(e)},lng:{select_unselect_all:"Select/Clear all",select_all:"Select all",search:"Search",loading:"Loading...",choose:"Choose",error:"Error",server_response:"Server response",reload:"Reload",errorText:"Something went wrong",closeAll:"Close all",closeOthers:"Close others",pin:"Pin",arrange:"Arrange",cancel:"Cancel",unpin:"Unpin",yes:"Yes",no:"No",unknown:"Unknown",untitled:"Untitled",confirmation:"Confirmation",Today:"Today",Tomorrow:"Tomorrow",Yesterday:"Yesterday"},var:Zl,dt:Dc,com:Kl,env:Wl,db:hu,fn:Pd,info:[{value:"ajax",label:"Loading and streaming",description:"Functions related to Ajax requests",icon:"nf nf-fa-rocket"},{value:"browser",label:"Browser-only",description:"Functions that can only be run in the browser",icon:"nf nf-fa-desktop"},{value:"convert",label:"Conversion",description:"Functions related to data conversion",icon:"nf nf-fa-exchange"},{value:"datetime",label:"Date and time",description:"Functions related to dates and times",icon:"nf nf-fa-calendar"},{value:"form",label:"Form manipulation",description:"Functions related to form manipulation and validation",icon:"nf nf-fa-edit"},{value:"html",label:"HTML manipulation",description:"Functions related to HTML manipulation and DOM interaction",icon:"nf nf-fa-html5"},{value:"loop",label:"Looping",description:"Functions related to looping through arrays and objects",icon:"nf nf-fa-repeat"},{value:"misc",label:"Miscellaneous",description:"Miscellaneous functions that do not fit into other categories",icon:"nf nf-fa-cubes"},{value:"object",label:"Object manipulation",description:"Functions related to object manipulation and inspection",icon:"nf nf-fa-object_group"},{value:"phone",label:"Phone and contact",description:"Functions related to phone numbers and contact information",icon:"nf nf-fa-phone"},{value:"string",label:"String manipulation",description:"Functions related to string manipulation and formatting",icon:"nf nf-fa-text_height"},{value:"style",label:"Styling and layout",description:"Functions related to styling and layout management",icon:"nf nf-fa-paint_brush"},{value:"type",label:"Type checking",description:"Functions related to type checking and validation",icon:"nf nf-fa-check_square"}]};"undefined"!=typeof window&&(window.bbn=Gd,window.Temporal||(window.Temporal=jl));var Od=Object.freeze({__proto__:null,default:{AE:{firstDay:1,weekend:[6,7],minimalDays:1},AF:{firstDay:6,weekend:[4,5],minimalDays:1},AG:{firstDay:7,weekend:[6,7],minimalDays:1},AI:{firstDay:1,weekend:[6,7],minimalDays:1},AL:{firstDay:1,weekend:[6,7],minimalDays:1},AM:{firstDay:1,weekend:[6,7],minimalDays:1},AR:{firstDay:1,weekend:[6,7],minimalDays:1},AS:{firstDay:7,weekend:[6,7],minimalDays:1},AU:{firstDay:1,weekend:[6,7],minimalDays:1},AZ:{firstDay:1,weekend:[6,7],minimalDays:1},BA:{firstDay:1,weekend:[6,7],minimalDays:1},BD:{firstDay:7,weekend:[6,7],minimalDays:1},BH:{firstDay:6,weekend:[5,6],minimalDays:1},BM:{firstDay:1,weekend:[6,7],minimalDays:1},BN:{firstDay:1,weekend:[6,7],minimalDays:1},BR:{firstDay:7,weekend:[6,7],minimalDays:1},BS:{firstDay:7,weekend:[6,7],minimalDays:1},BT:{firstDay:7,weekend:[6,7],minimalDays:1},BW:{firstDay:7,weekend:[6,7],minimalDays:1},BY:{firstDay:1,weekend:[6,7],minimalDays:1},BZ:{firstDay:7,weekend:[6,7],minimalDays:1},CA:{firstDay:7,weekend:[6,7],minimalDays:1},CL:{firstDay:1,weekend:[6,7],minimalDays:1},CM:{firstDay:1,weekend:[6,7],minimalDays:1},CN:{firstDay:1,weekend:[6,7],minimalDays:1},CO:{firstDay:7,weekend:[6,7],minimalDays:1},CR:{firstDay:1,weekend:[6,7],minimalDays:1},CY:{firstDay:1,weekend:[6,7],minimalDays:1},DJ:{firstDay:6,weekend:[6,7],minimalDays:1},DM:{firstDay:7,weekend:[6,7],minimalDays:1},DO:{firstDay:7,weekend:[6,7],minimalDays:1},DZ:{firstDay:6,weekend:[5,6],minimalDays:1},EC:{firstDay:1,weekend:[6,7],minimalDays:1},EG:{firstDay:6,weekend:[5,6],minimalDays:1},ET:{firstDay:7,weekend:[6,7],minimalDays:1},"GB-alt-variant":{firstDay:7,weekend:[6,7],minimalDays:1},GE:{firstDay:1,weekend:[6,7],minimalDays:1},GT:{firstDay:7,weekend:[6,7],minimalDays:1},GU:{firstDay:7,weekend:[6,7],minimalDays:1},HK:{firstDay:7,weekend:[6,7],minimalDays:1},HN:{firstDay:7,weekend:[6,7],minimalDays:1},HR:{firstDay:1,weekend:[6,7],minimalDays:1},ID:{firstDay:7,weekend:[6,7],minimalDays:1},IL:{firstDay:7,weekend:[5,6],minimalDays:1},IN:{firstDay:7,weekend:[7],minimalDays:1},IQ:{firstDay:6,weekend:[5,6],minimalDays:1},IR:{firstDay:6,weekend:[5],minimalDays:1},IS:{firstDay:7,weekend:[6,7],minimalDays:4},JM:{firstDay:7,weekend:[6,7],minimalDays:1},JO:{firstDay:6,weekend:[5,6],minimalDays:1},JP:{firstDay:7,weekend:[6,7],minimalDays:1},KE:{firstDay:7,weekend:[6,7],minimalDays:1},KG:{firstDay:1,weekend:[6,7],minimalDays:1},KH:{firstDay:7,weekend:[6,7],minimalDays:1},KR:{firstDay:7,weekend:[6,7],minimalDays:1},KW:{firstDay:6,weekend:[5,6],minimalDays:1},KZ:{firstDay:1,weekend:[6,7],minimalDays:1},LA:{firstDay:7,weekend:[6,7],minimalDays:1},LB:{firstDay:1,weekend:[6,7],minimalDays:1},LK:{firstDay:1,weekend:[6,7],minimalDays:1},LV:{firstDay:1,weekend:[6,7],minimalDays:1},LY:{firstDay:6,weekend:[5,6],minimalDays:1},MD:{firstDay:1,weekend:[6,7],minimalDays:1},ME:{firstDay:1,weekend:[6,7],minimalDays:1},MH:{firstDay:7,weekend:[6,7],minimalDays:1},MK:{firstDay:1,weekend:[6,7],minimalDays:1},MM:{firstDay:7,weekend:[6,7],minimalDays:1},MN:{firstDay:1,weekend:[6,7],minimalDays:1},MO:{firstDay:7,weekend:[6,7],minimalDays:1},MT:{firstDay:7,weekend:[6,7],minimalDays:1},MV:{firstDay:5,weekend:[6,7],minimalDays:1},MX:{firstDay:7,weekend:[6,7],minimalDays:1},MY:{firstDay:1,weekend:[6,7],minimalDays:1},MZ:{firstDay:7,weekend:[6,7],minimalDays:1},NI:{firstDay:7,weekend:[6,7],minimalDays:1},NP:{firstDay:7,weekend:[6,7],minimalDays:1},NZ:{firstDay:1,weekend:[6,7],minimalDays:1},OM:{firstDay:6,weekend:[5,6],minimalDays:1},PA:{firstDay:7,weekend:[6,7],minimalDays:1},PE:{firstDay:7,weekend:[6,7],minimalDays:1},PH:{firstDay:7,weekend:[6,7],minimalDays:1},PK:{firstDay:7,weekend:[6,7],minimalDays:1},PR:{firstDay:7,weekend:[6,7],minimalDays:1},PT:{firstDay:7,weekend:[6,7],minimalDays:4},PY:{firstDay:7,weekend:[6,7],minimalDays:1},QA:{firstDay:6,weekend:[5,6],minimalDays:1},RO:{firstDay:1,weekend:[6,7],minimalDays:1},RS:{firstDay:1,weekend:[6,7],minimalDays:1},SA:{firstDay:7,weekend:[5,6],minimalDays:1},SD:{firstDay:6,weekend:[5,6],minimalDays:1},SG:{firstDay:7,weekend:[6,7],minimalDays:1},SI:{firstDay:1,weekend:[6,7],minimalDays:1},SV:{firstDay:7,weekend:[6,7],minimalDays:1},SY:{firstDay:6,weekend:[5,6],minimalDays:1},TH:{firstDay:7,weekend:[6,7],minimalDays:1},TJ:{firstDay:1,weekend:[6,7],minimalDays:1},TM:{firstDay:1,weekend:[6,7],minimalDays:1},TR:{firstDay:1,weekend:[6,7],minimalDays:1},TT:{firstDay:7,weekend:[6,7],minimalDays:1},TW:{firstDay:7,weekend:[6,7],minimalDays:1},UA:{firstDay:1,weekend:[6,7],minimalDays:1},UG:{firstDay:1,weekend:[7],minimalDays:1},UM:{firstDay:7,weekend:[6,7],minimalDays:1},US:{firstDay:7,weekend:[6,7],minimalDays:1},UY:{firstDay:1,weekend:[6,7],minimalDays:1},UZ:{firstDay:1,weekend:[6,7],minimalDays:1},VE:{firstDay:7,weekend:[6,7],minimalDays:1},VI:{firstDay:7,weekend:[6,7],minimalDays:1},VN:{firstDay:1,weekend:[6,7],minimalDays:1},WS:{firstDay:7,weekend:[6,7],minimalDays:1},XK:{firstDay:1,weekend:[6,7],minimalDays:1},YE:{firstDay:7,weekend:[5,6],minimalDays:1},ZA:{firstDay:7,weekend:[6,7],minimalDays:1},ZW:{firstDay:7,weekend:[6,7],minimalDays:1}}});Object.defineProperty(e,"__esModule",{value:!0});var Bd=require("tslib").__importDefault(require("./"));(0,require("./should-polyfill").shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:Bd.default,writable:!0,enumerable:!1,configurable:!0});var xd=Object.freeze({__proto__:null});Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{day:{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},"day-narrow":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0}d",other:"in {0}d"},past:{one:"{0}d ago",other:"{0}d ago"}},"day-short":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0}h",other:"in {0}h"},past:{one:"{0}h ago",other:"{0}h ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0}m",other:"in {0}m"},past:{one:"{0}m ago",other:"{0}m ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},month:{"-1":"last month",0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}},"month-narrow":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0}mo",other:"in {0}mo"},past:{one:"{0}mo ago",other:"{0}mo ago"}},"month-short":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}},nu:["latn"],quarter:{"-1":"last quarter",0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"}},"quarter-narrow":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0}q",other:"in {0}q"},past:{one:"{0}q ago",other:"{0}q ago"}},"quarter-short":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-narrow":{0:"now",future:{one:"in {0}s",other:"in {0}s"},past:{one:"{0}s ago",other:"{0}s ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},week:{"-1":"last week",0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"}},"week-narrow":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0}w",other:"in {0}w"},past:{one:"{0}w ago",other:"{0}w ago"}},"week-short":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"}},year:{"-1":"last year",0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}},"year-narrow":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0}y",other:"in {0}y"},past:{one:"{0}y ago",other:"{0}y ago"}},"year-short":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},locale:"en"});var Ld=Object.freeze({__proto__:null});Object.defineProperty(e,"__esModule",{value:!0});var Nd=require("./"),jd=require("@formatjs/ecma402-abstract"),Rd=require("./should-polyfill"),Fd=require("./src/to_locale_string");(0,Rd.shouldPolyfill)()&&((0,jd.defineProperty)(Intl,"DateTimeFormat",{value:Nd.DateTimeFormat}),(0,jd.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,Fd.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,jd.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,Fd.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,jd.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,Fd.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}}));var Yd=Object.freeze({__proto__:null});Intl.DateTimeFormat&&"function"==typeof Intl.DateTimeFormat.__addLocaleData&&Intl.DateTimeFormat.__addLocaleData({data:{am:"AM",pm:"PM",weekday:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},era:{narrow:{BC:"B",AD:"A"},short:{BC:"BC",AD:"AD"},long:{BC:"Before Christ",AD:"Anno Domini"}},month:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},timeZoneName:{"America/Rio_Branco":{long:["Acre Standard Time","Acre Summer Time"]},"Asia/Kabul":{long:["Afghanistan Time","Afghanistan Time"]},"Africa/Maputo":{long:["Central Africa Time","Central Africa Time"]},"Africa/Bujumbura":{long:["Central Africa Time","Central Africa Time"]},"Africa/Gaborone":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lubumbashi":{long:["Central Africa Time","Central Africa Time"]},"Africa/Blantyre":{long:["Central Africa Time","Central Africa Time"]},"Africa/Kigali":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lusaka":{long:["Central Africa Time","Central Africa Time"]},"Africa/Harare":{long:["Central Africa Time","Central Africa Time"]},"Africa/Nairobi":{long:["East Africa Time","East Africa Time"]},"Africa/Djibouti":{long:["East Africa Time","East Africa Time"]},"Africa/Asmera":{long:["East Africa Time","East Africa Time"]},"Africa/Addis_Ababa":{long:["East Africa Time","East Africa Time"]},"Indian/Comoro":{long:["East Africa Time","East Africa Time"]},"Indian/Antananarivo":{long:["East Africa Time","East Africa Time"]},"Africa/Mogadishu":{long:["East Africa Time","East Africa Time"]},"Africa/Dar_es_Salaam":{long:["East Africa Time","East Africa Time"]},"Africa/Kampala":{long:["East Africa Time","East Africa Time"]},"Indian/Mayotte":{long:["East Africa Time","East Africa Time"]},"Africa/Johannesburg":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Maseru":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Mbabane":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Lagos":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Luanda":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Porto-Novo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Kinshasa":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Bangui":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Brazzaville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Douala":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Libreville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Malabo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Niamey":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Ndjamena":{long:["West Africa Standard Time","West Africa Summer Time"]},"Asia/Aqtobe":{long:["West Kazakhstan Time","West Kazakhstan Time"]},"America/Juneau":{long:["Alaska Standard Time","Alaska Daylight Time"],short:["AKST","AKDT"]},"Asia/Almaty":{long:["East Kazakhstan Time","East Kazakhstan Time"]},"America/Manaus":{long:["Amazon Standard Time","Amazon Summer Time"]},"America/Chicago":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Belize":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Winnipeg":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Costa_Rica":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Guatemala":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Tegucigalpa":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Mexico_City":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/El_Salvador":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/New_York":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Nassau":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Toronto":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Port-au-Prince":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Jamaica":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Cayman":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Panama":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Denver":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Edmonton":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Los_Angeles":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Vancouver":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Tijuana":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"Asia/Anadyr":{long:["Anadyr Standard Time","Anadyr Summer Time"]},"Pacific/Apia":{long:["Apia Standard Time","Apia Daylight Time"]},"Asia/Riyadh":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Bahrain":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Baghdad":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Kuwait":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Qatar":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Aden":{long:["Arabian Standard Time","Arabian Daylight Time"]},"America/Buenos_Aires":{long:["Argentina Standard Time","Argentina Summer Time"]},"America/Argentina/San_Luis":{long:["Western Argentina Standard Time","Western Argentina Summer Time"]},"Asia/Ashgabat":{long:["Turkmenistan Standard Time","Turkmenistan Summer Time"]},"America/Halifax":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Antigua":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Anguilla":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Aruba":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Barbados":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Atlantic/Bermuda":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Kralendijk":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Curacao":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Dominica":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Grenada":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Thule":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Guadeloupe":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Kitts":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Lucia":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Marigot":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Martinique":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Montserrat":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Puerto_Rico":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Lower_Princes":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Port_of_Spain":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Vincent":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Tortola":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Thomas":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Australia/Adelaide":{long:["Australian Central Standard Time","Australian Central Daylight Time"]},"Australia/Eucla":{long:["Australian Central Western Standard Time","Australian Central Western Daylight Time"]},"Australia/Sydney":{long:["Australian Eastern Standard Time","Australian Eastern Daylight Time"]},"Australia/Perth":{long:["Australian Western Standard Time","Australian Western Daylight Time"]},"Atlantic/Azores":{long:["Azores Standard Time","Azores Summer Time"]},"Asia/Thimphu":{long:["Bhutan Time","Bhutan Time"]},"America/La_Paz":{long:["Bolivia Time","Bolivia Time"]},"Asia/Kuching":{long:["Malaysia Time","Malaysia Time"]},"America/Sao_Paulo":{long:["Brasilia Standard Time","Brasilia Summer Time"]},"Europe/London":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Asia/Brunei":{long:["Brunei Darussalam Time","Brunei Darussalam Time"]},"Atlantic/Cape_Verde":{long:["Cape Verde Standard Time","Cape Verde Summer Time"]},"Antarctica/Casey":{long:["Casey Time","Casey Time"]},"Pacific/Saipan":{long:["North Mariana Islands Time","North Mariana Islands Time"]},"Pacific/Guam":{long:["Guam Standard Time","Guam Standard Time"]},"Pacific/Chatham":{long:["Chatham Standard Time","Chatham Daylight Time"]},"America/Santiago":{long:["Chile Standard Time","Chile Summer Time"]},"Asia/Shanghai":{long:["China Standard Time","China Daylight Time"]},"Indian/Christmas":{long:["Christmas Island Time","Christmas Island Time"]},"Indian/Cocos":{long:["Cocos Islands Time","Cocos Islands Time"]},"America/Bogota":{long:["Colombia Standard Time","Colombia Summer Time"]},"Pacific/Rarotonga":{long:["Cook Islands Standard Time","Cook Islands Half Summer Time"]},"America/Havana":{long:["Cuba Standard Time","Cuba Daylight Time"]},"Antarctica/Davis":{long:["Davis Time","Davis Time"]},"Antarctica/DumontDUrville":{long:["Dumont-d’Urville Time","Dumont-d’Urville Time"]},"Asia/Dushanbe":{long:["Tajikistan Time","Tajikistan Time"]},"America/Paramaribo":{long:["Suriname Time","Suriname Time"]},"Asia/Dili":{long:["East Timor Time","East Timor Time"]},"Pacific/Easter":{long:["Easter Island Standard Time","Easter Island Summer Time"]},"America/Guayaquil":{long:["Ecuador Time","Ecuador Time"]},"Europe/Paris":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Andorra":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Tirane":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vienna":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Sarajevo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Brussels":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zurich":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Prague":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Berlin":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Copenhagen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Madrid":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Gibraltar":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zagreb":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Budapest":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Rome":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vaduz":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Luxembourg":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Monaco":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Podgorica":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Skopje":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Malta":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Amsterdam":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Oslo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Warsaw":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Belgrade":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Stockholm":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Ljubljana":{long:["Central European Standard Time","Central European Summer Time"]},"Arctic/Longyearbyen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bratislava":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/San_Marino":{long:["Central European Standard Time","Central European Summer Time"]},"Africa/Tunis":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vatican":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bucharest":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Mariehamn":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Sofia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Nicosia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Africa/Cairo":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Helsinki":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Athens":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Beirut":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Minsk":{long:["Further-eastern European Time","Further-eastern European Time"]},"Europe/Kaliningrad":{long:["Further-eastern European Time","Further-eastern European Time"]},"Atlantic/Canary":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Faeroe":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Stanley":{long:["Falkland Islands Standard Time","Falkland Islands Summer Time"]},"Pacific/Fiji":{long:["Fiji Standard Time","Fiji Summer Time"]},"America/Cayenne":{long:["French Guiana Time","French Guiana Time"]},"Indian/Kerguelen":{long:["French Southern & Antarctic Time","French Southern & Antarctic Time"]},"Asia/Bishkek":{long:["Kyrgyzstan Time","Kyrgyzstan Time"]},"Pacific/Galapagos":{long:["Galapagos Time","Galapagos Time"]},"Pacific/Gambier":{long:["Gambier Time","Gambier Time"]},"Pacific/Tarawa":{long:["Gilbert Islands Time","Gilbert Islands Time"]},"Atlantic/Reykjavik":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Ouagadougou":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Abidjan":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Accra":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Banjul":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Conakry":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Bamako":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Nouakchott":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Atlantic/St_Helena":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Freetown":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Dakar":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Lome":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"America/Godthab":{long:["West Greenland Standard Time","West Greenland Summer Time"]},"America/Scoresbysund":{long:["East Greenland Standard Time","East Greenland Summer Time"]},"Asia/Dubai":{long:["Gulf Standard Time","Gulf Standard Time"]},"Asia/Muscat":{long:["Gulf Standard Time","Gulf Standard Time"]},"America/Guyana":{long:["Guyana Time","Guyana Time"]},"Pacific/Honolulu":{long:["Hawaii-Aleutian Standard Time","Hawaii-Aleutian Daylight Time"],short:["HAST","HADT"]},"Asia/Hong_Kong":{long:["Hong Kong Standard Time","Hong Kong Summer Time"]},"Asia/Hovd":{long:["Hovd Standard Time","Hovd Summer Time"]},"Asia/Calcutta":{long:["India Standard Time","India Standard Time"]},"Asia/Colombo":{long:["Lanka Time","Lanka Time"]},"Indian/Chagos":{long:["Indian Ocean Time","Indian Ocean Time"]},"Asia/Bangkok":{long:["Indochina Time","Indochina Time"]},"Asia/Phnom_Penh":{long:["Indochina Time","Indochina Time"]},"Asia/Vientiane":{long:["Indochina Time","Indochina Time"]},"Asia/Makassar":{long:["Central Indonesia Time","Central Indonesia Time"]},"Asia/Jayapura":{long:["Eastern Indonesia Time","Eastern Indonesia Time"]},"Asia/Jakarta":{long:["Western Indonesia Time","Western Indonesia Time"]},"Asia/Tehran":{long:["Iran Standard Time","Iran Daylight Time"]},"Asia/Irkutsk":{long:["Irkutsk Standard Time","Irkutsk Summer Time"]},"Asia/Jerusalem":{long:["Israel Standard Time","Israel Daylight Time"]},"Asia/Tokyo":{long:["Japan Standard Time","Japan Daylight Time"]},"Asia/Kamchatka":{long:["Petropavlovsk-Kamchatski Standard Time","Petropavlovsk-Kamchatski Summer Time"]},"Asia/Karachi":{long:["Pakistan Standard Time","Pakistan Summer Time"]},"Asia/Qyzylorda":{long:["Qyzylorda Standard Time","Qyzylorda Summer Time"]},"Asia/Seoul":{long:["Korean Standard Time","Korean Daylight Time"]},"Pacific/Kosrae":{long:["Kosrae Time","Kosrae Time"]},"Asia/Krasnoyarsk":{long:["Krasnoyarsk Standard Time","Krasnoyarsk Summer Time"]},"Europe/Samara":{long:["Samara Standard Time","Samara Summer Time"]},"Pacific/Kiritimati":{long:["Line Islands Time","Line Islands Time"]},"Australia/Lord_Howe":{long:["Lord Howe Standard Time","Lord Howe Daylight Time"]},"Asia/Macau":{long:["Macao Standard Time","Macao Summer Time"]},"Asia/Magadan":{long:["Magadan Standard Time","Magadan Summer Time"]},"Indian/Maldives":{long:["Maldives Time","Maldives Time"]},"Pacific/Marquesas":{long:["Marquesas Time","Marquesas Time"]},"Pacific/Majuro":{long:["Marshall Islands Time","Marshall Islands Time"]},"Indian/Mauritius":{long:["Mauritius Standard Time","Mauritius Summer Time"]},"Antarctica/Mawson":{long:["Mawson Time","Mawson Time"]},"America/Mazatlan":{long:["Mexican Pacific Standard Time","Mexican Pacific Daylight Time"]},"Asia/Ulaanbaatar":{long:["Ulaanbaatar Standard Time","Ulaanbaatar Summer Time"]},"Europe/Moscow":{long:["Moscow Standard Time","Moscow Summer Time"]},"Asia/Rangoon":{long:["Myanmar Time","Myanmar Time"]},"Pacific/Nauru":{long:["Nauru Time","Nauru Time"]},"Asia/Katmandu":{long:["Nepal Time","Nepal Time"]},"Pacific/Noumea":{long:["New Caledonia Standard Time","New Caledonia Summer Time"]},"Pacific/Auckland":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"Antarctica/McMurdo":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"America/St_Johns":{long:["Newfoundland Standard Time","Newfoundland Daylight Time"]},"Pacific/Niue":{long:["Niue Time","Niue Time"]},"Pacific/Norfolk":{long:["Norfolk Island Standard Time","Norfolk Island Daylight Time"]},"America/Noronha":{long:["Fernando de Noronha Standard Time","Fernando de Noronha Summer Time"]},"Asia/Novosibirsk":{long:["Novosibirsk Standard Time","Novosibirsk Summer Time"]},"Asia/Omsk":{long:["Omsk Standard Time","Omsk Summer Time"]},"Pacific/Palau":{long:["Palau Time","Palau Time"]},"Pacific/Port_Moresby":{long:["Papua New Guinea Time","Papua New Guinea Time"]},"America/Asuncion":{long:["Paraguay Standard Time","Paraguay Summer Time"]},"America/Lima":{long:["Peru Standard Time","Peru Summer Time"]},"Asia/Manila":{long:["Philippine Standard Time","Philippine Summer Time"]},"Pacific/Enderbury":{long:["Phoenix Islands Time","Phoenix Islands Time"]},"America/Miquelon":{long:["St. Pierre & Miquelon Standard Time","St. Pierre & Miquelon Daylight Time"]},"Pacific/Pitcairn":{long:["Pitcairn Time","Pitcairn Time"]},"Pacific/Ponape":{long:["Ponape Time","Ponape Time"]},"Asia/Pyongyang":{long:["Pyongyang Time","Pyongyang Time"]},"Indian/Reunion":{long:["Réunion Time","Réunion Time"]},"Antarctica/Rothera":{long:["Rothera Time","Rothera Time"]},"Asia/Sakhalin":{long:["Sakhalin Standard Time","Sakhalin Summer Time"]},"Pacific/Pago_Pago":{long:["Samoa Standard Time","Samoa Daylight Time"]},"Indian/Mahe":{long:["Seychelles Time","Seychelles Time"]},"Asia/Singapore":{long:["Singapore Standard Time","Singapore Standard Time"]},"Pacific/Guadalcanal":{long:["Solomon Islands Time","Solomon Islands Time"]},"Atlantic/South_Georgia":{long:["South Georgia Time","South Georgia Time"]},"Asia/Yekaterinburg":{long:["Yekaterinburg Standard Time","Yekaterinburg Summer Time"]},"Antarctica/Syowa":{long:["Syowa Time","Syowa Time"]},"Pacific/Tahiti":{long:["Tahiti Time","Tahiti Time"]},"Asia/Taipei":{long:["Taipei Standard Time","Taipei Daylight Time"]},"Asia/Tashkent":{long:["Uzbekistan Standard Time","Uzbekistan Summer Time"]},"Pacific/Fakaofo":{long:["Tokelau Time","Tokelau Time"]},"Pacific/Tongatapu":{long:["Tonga Standard Time","Tonga Summer Time"]},"Pacific/Truk":{long:["Chuuk Time","Chuuk Time"]},"Pacific/Funafuti":{long:["Tuvalu Time","Tuvalu Time"]},"America/Montevideo":{long:["Uruguay Standard Time","Uruguay Summer Time"]},"Pacific/Efate":{long:["Vanuatu Standard Time","Vanuatu Summer Time"]},"America/Caracas":{long:["Venezuela Time","Venezuela Time"]},"Asia/Vladivostok":{long:["Vladivostok Standard Time","Vladivostok Summer Time"]},"Europe/Volgograd":{long:["Volgograd Standard Time","Volgograd Summer Time"]},"Antarctica/Vostok":{long:["Vostok Time","Vostok Time"]},"Pacific/Wake":{long:["Wake Island Time","Wake Island Time"]},"Pacific/Wallis":{long:["Wallis & Futuna Time","Wallis & Futuna Time"]},"Asia/Yakutsk":{long:["Yakutsk Standard Time","Yakutsk Summer Time"]},"America/Whitehorse":{long:["Yukon Time","Yukon Time"]},UTC:{long:["Coordinated Universal Time","Coordinated Universal Time"],short:["UTC","UTC"]}},gmtFormat:"GMT{0}",hourFormat:"+HH:mm;-HH:mm",dateFormat:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormat:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormat:{full:"{1}, {0}",long:"{1}, {0}",medium:"{1}, {0}",short:"{1}, {0}"},formats:{gregory:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a","Ehm-alt-ascii":"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a","Ehms-alt-ascii":"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMd:"M/d/y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a","h-alt-ascii":"h a",H:"HH",hm:"h:mm a","hm-alt-ascii":"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a","hms-alt-ascii":"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v","hmsv-alt-ascii":"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v","hmv-alt-ascii":"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y","EEEE, MMMM d, y":"EEEE, MMMM d, y","MMMM d, y":"MMMM d, y","MMM d, y":"MMM d, y","M/d/yy":"M/d/yy","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a":"h:mm:ss a","h:mm:ss a":"h:mm:ss a","h:mm a":"h:mm a","h:mm a":"h:mm a","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, Bh":"EEEE, MMMM d, y, h B","MMMM d, y, Bh":"MMMM d, y, h B","MMM d, y, Bh":"MMM d, y, h B","M/d/yy, Bh":"M/d/yy, h B","d, Bh":"d, h B","E, Bh":"ccc, h B","Ed, Bh":"d E, h B","Gy, Bh":"y G, h B","GyMd, Bh":"M/d/y G, h B","GyMMM, Bh":"MMM y G, h B","GyMMMd, Bh":"MMM d, y G, h B","GyMMMEd, Bh":"E, MMM d, y G, h B","M, Bh":"L, h B","Md, Bh":"M/d, h B","MEd, Bh":"E, M/d, h B","MMM, Bh":"LLL, h B","MMMd, Bh":"MMM d, h B","MMMEd, Bh":"E, MMM d, h B","MMMMd, Bh":"MMMM d, h B","y, Bh":"y, h B","yM, Bh":"M/y, h B","yMd, Bh":"M/d/y, h B","yMEd, Bh":"E, M/d/y, h B","yMMM, Bh":"MMM y, h B","yMMMd, Bh":"MMM d, y, h B","yMMMEd, Bh":"E, MMM d, y, h B","yMMMM, Bh":"MMMM y, h B","EEEE, MMMM d, y, Bhm":"EEEE, MMMM d, y, h:mm B","MMMM d, y, Bhm":"MMMM d, y, h:mm B","MMM d, y, Bhm":"MMM d, y, h:mm B","M/d/yy, Bhm":"M/d/yy, h:mm B","d, Bhm":"d, h:mm B","E, Bhm":"ccc, h:mm B","Ed, Bhm":"d E, h:mm B","Gy, Bhm":"y G, h:mm B","GyMd, Bhm":"M/d/y G, h:mm B","GyMMM, Bhm":"MMM y G, h:mm B","GyMMMd, Bhm":"MMM d, y G, h:mm B","GyMMMEd, Bhm":"E, MMM d, y G, h:mm B","M, Bhm":"L, h:mm B","Md, Bhm":"M/d, h:mm B","MEd, Bhm":"E, M/d, h:mm B","MMM, Bhm":"LLL, h:mm B","MMMd, Bhm":"MMM d, h:mm B","MMMEd, Bhm":"E, MMM d, h:mm B","MMMMd, Bhm":"MMMM d, h:mm B","y, Bhm":"y, h:mm B","yM, Bhm":"M/y, h:mm B","yMd, Bhm":"M/d/y, h:mm B","yMEd, Bhm":"E, M/d/y, h:mm B","yMMM, Bhm":"MMM y, h:mm B","yMMMd, Bhm":"MMM d, y, h:mm B","yMMMEd, Bhm":"E, MMM d, y, h:mm B","yMMMM, Bhm":"MMMM y, h:mm B","EEEE, MMMM d, y, Bhms":"EEEE, MMMM d, y, h:mm:ss B","MMMM d, y, Bhms":"MMMM d, y, h:mm:ss B","MMM d, y, Bhms":"MMM d, y, h:mm:ss B","M/d/yy, Bhms":"M/d/yy, h:mm:ss B","d, Bhms":"d, h:mm:ss B","E, Bhms":"ccc, h:mm:ss B","Ed, Bhms":"d E, h:mm:ss B","Gy, Bhms":"y G, h:mm:ss B","GyMd, Bhms":"M/d/y G, h:mm:ss B","GyMMM, Bhms":"MMM y G, h:mm:ss B","GyMMMd, Bhms":"MMM d, y G, h:mm:ss B","GyMMMEd, Bhms":"E, MMM d, y G, h:mm:ss B","M, Bhms":"L, h:mm:ss B","Md, Bhms":"M/d, h:mm:ss B","MEd, Bhms":"E, M/d, h:mm:ss B","MMM, Bhms":"LLL, h:mm:ss B","MMMd, Bhms":"MMM d, h:mm:ss B","MMMEd, Bhms":"E, MMM d, h:mm:ss B","MMMMd, Bhms":"MMMM d, h:mm:ss B","y, Bhms":"y, h:mm:ss B","yM, Bhms":"M/y, h:mm:ss B","yMd, Bhms":"M/d/y, h:mm:ss B","yMEd, Bhms":"E, M/d/y, h:mm:ss B","yMMM, Bhms":"MMM y, h:mm:ss B","yMMMd, Bhms":"MMM d, y, h:mm:ss B","yMMMEd, Bhms":"E, MMM d, y, h:mm:ss B","yMMMM, Bhms":"MMMM y, h:mm:ss B","EEEE, MMMM d, y, h":"EEEE, MMMM d, y, h a","MMMM d, y, h":"MMMM d, y, h a","MMM d, y, h":"MMM d, y, h a","M/d/yy, h":"M/d/yy, h a","d, h":"d, h a","E, h":"ccc, h a","Ed, h":"d E, h a","Gy, h":"y G, h a","GyMd, h":"M/d/y G, h a","GyMMM, h":"MMM y G, h a","GyMMMd, h":"MMM d, y G, h a","GyMMMEd, h":"E, MMM d, y G, h a","M, h":"L, h a","Md, h":"M/d, h a","MEd, h":"E, M/d, h a","MMM, h":"LLL, h a","MMMd, h":"MMM d, h a","MMMEd, h":"E, MMM d, h a","MMMMd, h":"MMMM d, h a","y, h":"y, h a","yM, h":"M/y, h a","yMd, h":"M/d/y, h a","yMEd, h":"E, M/d/y, h a","yMMM, h":"MMM y, h a","yMMMd, h":"MMM d, y, h a","yMMMEd, h":"E, MMM d, y, h a","yMMMM, h":"MMMM y, h a","EEEE, MMMM d, y, H":"EEEE, MMMM d, y, HH","MMMM d, y, H":"MMMM d, y, HH","MMM d, y, H":"MMM d, y, HH","M/d/yy, H":"M/d/yy, HH","d, H":"d, HH","E, H":"ccc, HH","Ed, H":"d E, HH","Gy, H":"y G, HH","GyMd, H":"M/d/y G, HH","GyMMM, H":"MMM y G, HH","GyMMMd, H":"MMM d, y G, HH","GyMMMEd, H":"E, MMM d, y G, HH","M, H":"L, HH","Md, H":"M/d, HH","MEd, H":"E, M/d, HH","MMM, H":"LLL, HH","MMMd, H":"MMM d, HH","MMMEd, H":"E, MMM d, HH","MMMMd, H":"MMMM d, HH","y, H":"y, HH","yM, H":"M/y, HH","yMd, H":"M/d/y, HH","yMEd, H":"E, M/d/y, HH","yMMM, H":"MMM y, HH","yMMMd, H":"MMM d, y, HH","yMMMEd, H":"E, MMM d, y, HH","yMMMM, H":"MMMM y, HH","EEEE, MMMM d, y, hm":"EEEE, MMMM d, y, h:mm a","MMMM d, y, hm":"MMMM d, y, h:mm a","MMM d, y, hm":"MMM d, y, h:mm a","M/d/yy, hm":"M/d/yy, h:mm a","d, hm":"d, h:mm a","E, hm":"ccc, h:mm a","Ed, hm":"d E, h:mm a","Gy, hm":"y G, h:mm a","GyMd, hm":"M/d/y G, h:mm a","GyMMM, hm":"MMM y G, h:mm a","GyMMMd, hm":"MMM d, y G, h:mm a","GyMMMEd, hm":"E, MMM d, y G, h:mm a","M, hm":"L, h:mm a","Md, hm":"M/d, h:mm a","MEd, hm":"E, M/d, h:mm a","MMM, hm":"LLL, h:mm a","MMMd, hm":"MMM d, h:mm a","MMMEd, hm":"E, MMM d, h:mm a","MMMMd, hm":"MMMM d, h:mm a","y, hm":"y, h:mm a","yM, hm":"M/y, h:mm a","yMd, hm":"M/d/y, h:mm a","yMEd, hm":"E, M/d/y, h:mm a","yMMM, hm":"MMM y, h:mm a","yMMMd, hm":"MMM d, y, h:mm a","yMMMEd, hm":"E, MMM d, y, h:mm a","yMMMM, hm":"MMMM y, h:mm a","EEEE, MMMM d, y, Hm":"EEEE, MMMM d, y, HH:mm","MMMM d, y, Hm":"MMMM d, y, HH:mm","MMM d, y, Hm":"MMM d, y, HH:mm","M/d/yy, Hm":"M/d/yy, HH:mm","d, Hm":"d, HH:mm","E, Hm":"ccc, HH:mm","Ed, Hm":"d E, HH:mm","Gy, Hm":"y G, HH:mm","GyMd, Hm":"M/d/y G, HH:mm","GyMMM, Hm":"MMM y G, HH:mm","GyMMMd, Hm":"MMM d, y G, HH:mm","GyMMMEd, Hm":"E, MMM d, y G, HH:mm","M, Hm":"L, HH:mm","Md, Hm":"M/d, HH:mm","MEd, Hm":"E, M/d, HH:mm","MMM, Hm":"LLL, HH:mm","MMMd, Hm":"MMM d, HH:mm","MMMEd, Hm":"E, MMM d, HH:mm","MMMMd, Hm":"MMMM d, HH:mm","y, Hm":"y, HH:mm","yM, Hm":"M/y, HH:mm","yMd, Hm":"M/d/y, HH:mm","yMEd, Hm":"E, M/d/y, HH:mm","yMMM, Hm":"MMM y, HH:mm","yMMMd, Hm":"MMM d, y, HH:mm","yMMMEd, Hm":"E, MMM d, y, HH:mm","yMMMM, Hm":"MMMM y, HH:mm","EEEE, MMMM d, y, hms":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, hms":"MMMM d, y, h:mm:ss a","MMM d, y, hms":"MMM d, y, h:mm:ss a","M/d/yy, hms":"M/d/yy, h:mm:ss a","d, hms":"d, h:mm:ss a","E, hms":"ccc, h:mm:ss a","Ed, hms":"d E, h:mm:ss a","Gy, hms":"y G, h:mm:ss a","GyMd, hms":"M/d/y G, h:mm:ss a","GyMMM, hms":"MMM y G, h:mm:ss a","GyMMMd, hms":"MMM d, y G, h:mm:ss a","GyMMMEd, hms":"E, MMM d, y G, h:mm:ss a","M, hms":"L, h:mm:ss a","Md, hms":"M/d, h:mm:ss a","MEd, hms":"E, M/d, h:mm:ss a","MMM, hms":"LLL, h:mm:ss a","MMMd, hms":"MMM d, h:mm:ss a","MMMEd, hms":"E, MMM d, h:mm:ss a","MMMMd, hms":"MMMM d, h:mm:ss a","y, hms":"y, h:mm:ss a","yM, hms":"M/y, h:mm:ss a","yMd, hms":"M/d/y, h:mm:ss a","yMEd, hms":"E, M/d/y, h:mm:ss a","yMMM, hms":"MMM y, h:mm:ss a","yMMMd, hms":"MMM d, y, h:mm:ss a","yMMMEd, hms":"E, MMM d, y, h:mm:ss a","yMMMM, hms":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, Hms":"EEEE, MMMM d, y, HH:mm:ss","MMMM d, y, Hms":"MMMM d, y, HH:mm:ss","MMM d, y, Hms":"MMM d, y, HH:mm:ss","M/d/yy, Hms":"M/d/yy, HH:mm:ss","d, Hms":"d, HH:mm:ss","E, Hms":"ccc, HH:mm:ss","Ed, Hms":"d E, HH:mm:ss","Gy, Hms":"y G, HH:mm:ss","GyMd, Hms":"M/d/y G, HH:mm:ss","GyMMM, Hms":"MMM y G, HH:mm:ss","GyMMMd, Hms":"MMM d, y G, HH:mm:ss","GyMMMEd, Hms":"E, MMM d, y G, HH:mm:ss","M, Hms":"L, HH:mm:ss","Md, Hms":"M/d, HH:mm:ss","MEd, Hms":"E, M/d, HH:mm:ss","MMM, Hms":"LLL, HH:mm:ss","MMMd, Hms":"MMM d, HH:mm:ss","MMMEd, Hms":"E, MMM d, HH:mm:ss","MMMMd, Hms":"MMMM d, HH:mm:ss","y, Hms":"y, HH:mm:ss","yM, Hms":"M/y, HH:mm:ss","yMd, Hms":"M/d/y, HH:mm:ss","yMEd, Hms":"E, M/d/y, HH:mm:ss","yMMM, Hms":"MMM y, HH:mm:ss","yMMMd, Hms":"MMM d, y, HH:mm:ss","yMMMEd, Hms":"E, MMM d, y, HH:mm:ss","yMMMM, Hms":"MMMM y, HH:mm:ss","EEEE, MMMM d, y, hmsv":"EEEE, MMMM d, y, h:mm:ss a v","MMMM d, y, hmsv":"MMMM d, y, h:mm:ss a v","MMM d, y, hmsv":"MMM d, y, h:mm:ss a v","M/d/yy, hmsv":"M/d/yy, h:mm:ss a v","d, hmsv":"d, h:mm:ss a v","E, hmsv":"ccc, h:mm:ss a v","Ed, hmsv":"d E, h:mm:ss a v","Gy, hmsv":"y G, h:mm:ss a v","GyMd, hmsv":"M/d/y G, h:mm:ss a v","GyMMM, hmsv":"MMM y G, h:mm:ss a v","GyMMMd, hmsv":"MMM d, y G, h:mm:ss a v","GyMMMEd, hmsv":"E, MMM d, y G, h:mm:ss a v","M, hmsv":"L, h:mm:ss a v","Md, hmsv":"M/d, h:mm:ss a v","MEd, hmsv":"E, M/d, h:mm:ss a v","MMM, hmsv":"LLL, h:mm:ss a v","MMMd, hmsv":"MMM d, h:mm:ss a v","MMMEd, hmsv":"E, MMM d, h:mm:ss a v","MMMMd, hmsv":"MMMM d, h:mm:ss a v","y, hmsv":"y, h:mm:ss a v","yM, hmsv":"M/y, h:mm:ss a v","yMd, hmsv":"M/d/y, h:mm:ss a v","yMEd, hmsv":"E, M/d/y, h:mm:ss a v","yMMM, hmsv":"MMM y, h:mm:ss a v","yMMMd, hmsv":"MMM d, y, h:mm:ss a v","yMMMEd, hmsv":"E, MMM d, y, h:mm:ss a v","yMMMM, hmsv":"MMMM y, h:mm:ss a v","EEEE, MMMM d, y, Hmsv":"EEEE, MMMM d, y, HH:mm:ss v","MMMM d, y, Hmsv":"MMMM d, y, HH:mm:ss v","MMM d, y, Hmsv":"MMM d, y, HH:mm:ss v","M/d/yy, Hmsv":"M/d/yy, HH:mm:ss v","d, Hmsv":"d, HH:mm:ss v","E, Hmsv":"ccc, HH:mm:ss v","Ed, Hmsv":"d E, HH:mm:ss v","Gy, Hmsv":"y G, HH:mm:ss v","GyMd, Hmsv":"M/d/y G, HH:mm:ss v","GyMMM, Hmsv":"MMM y G, HH:mm:ss v","GyMMMd, Hmsv":"MMM d, y G, HH:mm:ss v","GyMMMEd, Hmsv":"E, MMM d, y G, HH:mm:ss v","M, Hmsv":"L, HH:mm:ss v","Md, Hmsv":"M/d, HH:mm:ss v","MEd, Hmsv":"E, M/d, HH:mm:ss v","MMM, Hmsv":"LLL, HH:mm:ss v","MMMd, Hmsv":"MMM d, HH:mm:ss v","MMMEd, Hmsv":"E, MMM d, HH:mm:ss v","MMMMd, Hmsv":"MMMM d, HH:mm:ss v","y, Hmsv":"y, HH:mm:ss v","yM, Hmsv":"M/y, HH:mm:ss v","yMd, Hmsv":"M/d/y, HH:mm:ss v","yMEd, Hmsv":"E, M/d/y, HH:mm:ss v","yMMM, Hmsv":"MMM y, HH:mm:ss v","yMMMd, Hmsv":"MMM d, y, HH:mm:ss v","yMMMEd, Hmsv":"E, MMM d, y, HH:mm:ss v","yMMMM, Hmsv":"MMMM y, HH:mm:ss v","EEEE, MMMM d, y, hmv":"EEEE, MMMM d, y, h:mm a v","MMMM d, y, hmv":"MMMM d, y, h:mm a v","MMM d, y, hmv":"MMM d, y, h:mm a v","M/d/yy, hmv":"M/d/yy, h:mm a v","d, hmv":"d, h:mm a v","E, hmv":"ccc, h:mm a v","Ed, hmv":"d E, h:mm a v","Gy, hmv":"y G, h:mm a v","GyMd, hmv":"M/d/y G, h:mm a v","GyMMM, hmv":"MMM y G, h:mm a v","GyMMMd, hmv":"MMM d, y G, h:mm a v","GyMMMEd, hmv":"E, MMM d, y G, h:mm a v","M, hmv":"L, h:mm a v","Md, hmv":"M/d, h:mm a v","MEd, hmv":"E, M/d, h:mm a v","MMM, hmv":"LLL, h:mm a v","MMMd, hmv":"MMM d, h:mm a v","MMMEd, hmv":"E, MMM d, h:mm a v","MMMMd, hmv":"MMMM d, h:mm a v","y, hmv":"y, h:mm a v","yM, hmv":"M/y, h:mm a v","yMd, hmv":"M/d/y, h:mm a v","yMEd, hmv":"E, M/d/y, h:mm a v","yMMM, hmv":"MMM y, h:mm a v","yMMMd, hmv":"MMM d, y, h:mm a v","yMMMEd, hmv":"E, MMM d, y, h:mm a v","yMMMM, hmv":"MMMM y, h:mm a v","EEEE, MMMM d, y, Hmv":"EEEE, MMMM d, y, HH:mm v","MMMM d, y, Hmv":"MMMM d, y, HH:mm v","MMM d, y, Hmv":"MMM d, y, HH:mm v","M/d/yy, Hmv":"M/d/yy, HH:mm v","d, Hmv":"d, HH:mm v","E, Hmv":"ccc, HH:mm v","Ed, Hmv":"d E, HH:mm v","Gy, Hmv":"y G, HH:mm v","GyMd, Hmv":"M/d/y G, HH:mm v","GyMMM, Hmv":"MMM y G, HH:mm v","GyMMMd, Hmv":"MMM d, y G, HH:mm v","GyMMMEd, Hmv":"E, MMM d, y G, HH:mm v","M, Hmv":"L, HH:mm v","Md, Hmv":"M/d, HH:mm v","MEd, Hmv":"E, M/d, HH:mm v","MMM, Hmv":"LLL, HH:mm v","MMMd, Hmv":"MMM d, HH:mm v","MMMEd, Hmv":"E, MMM d, HH:mm v","MMMMd, Hmv":"MMMM d, HH:mm v","y, Hmv":"y, HH:mm v","yM, Hmv":"M/y, HH:mm v","yMd, Hmv":"M/d/y, HH:mm v","yMEd, Hmv":"E, M/d/y, HH:mm v","yMMM, Hmv":"MMM y, HH:mm v","yMMMd, Hmv":"MMM d, y, HH:mm v","yMMMEd, Hmv":"E, MMM d, y, HH:mm v","yMMMM, Hmv":"MMMM y, HH:mm v","EEEE, MMMM d, y, ms":"EEEE, MMMM d, y, mm:ss","MMMM d, y, ms":"MMMM d, y, mm:ss","MMM d, y, ms":"MMM d, y, mm:ss","M/d/yy, ms":"M/d/yy, mm:ss","d, ms":"d, mm:ss","E, ms":"ccc, mm:ss","Ed, ms":"d E, mm:ss","Gy, ms":"y G, mm:ss","GyMd, ms":"M/d/y G, mm:ss","GyMMM, ms":"MMM y G, mm:ss","GyMMMd, ms":"MMM d, y G, mm:ss","GyMMMEd, ms":"E, MMM d, y G, mm:ss","M, ms":"L, mm:ss","Md, ms":"M/d, mm:ss","MEd, ms":"E, M/d, mm:ss","MMM, ms":"LLL, mm:ss","MMMd, ms":"MMM d, mm:ss","MMMEd, ms":"E, MMM d, mm:ss","MMMMd, ms":"MMMM d, mm:ss","y, ms":"y, mm:ss","yM, ms":"M/y, mm:ss","yMd, ms":"M/d/y, mm:ss","yMEd, ms":"E, M/d/y, mm:ss","yMMM, ms":"MMM y, mm:ss","yMMMd, ms":"MMM d, y, mm:ss","yMMMEd, ms":"E, MMM d, y, mm:ss","yMMMM, ms":"MMMM y, mm:ss"}},intervalFormats:{intervalFormatFallback:"{0} – {1}",Bh:{B:"h B – h B",h:"h – h B"},Bhm:{B:"h:mm B – h:mm B",h:"h:mm – h:mm B",m:"h:mm – h:mm B"},d:{d:"d – d"},Gy:{G:"y G – y G",y:"y – y G"},GyM:{G:"M/y G – M/y G",M:"M/y – M/y G",y:"M/y – M/y G"},GyMd:{d:"M/d/y – M/d/y G",G:"M/d/y G – M/d/y G",M:"M/d/y – M/d/y G",y:"M/d/y – M/d/y G"},GyMEd:{d:"E, M/d/y – E, M/d/y G",G:"E, M/d/y G – E, M/d/y G",M:"E, M/d/y – E, M/d/y G",y:"E, M/d/y – E, M/d/y G"},GyMMM:{G:"MMM y G – MMM y G",M:"MMM – MMM y G",y:"MMM y – MMM y G"},GyMMMd:{d:"MMM d – d, y G",G:"MMM d, y G – MMM d, y G",M:"MMM d – MMM d, y G",y:"MMM d, y – MMM d, y G"},GyMMMEd:{d:"E, MMM d – E, MMM d, y G",G:"E, MMM d, y G – E, MMM d, y G",M:"E, MMM d – E, MMM d, y G",y:"E, MMM d, y – E, MMM d, y G"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}},hourCycle:"h12",nu:["latn"],ca:["gregory"],hc:["h12","","h23",""]},locale:"en"});var Zd=Object.freeze({__proto__:null});e.Temporal=jl,e.bbn=Gd,e.default=Gd,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bbn={})}(this,function(e){"use strict";function n(e,n,r,o,i){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(To(n));return t})(e,n),r,o,i)}function t(e,n,t,r,o,i){const a=E(n,t,r);if(o&&n!==a)throw new RangeError(vo(e,n,t,r,i));return a}function r(e){return null!==e&&/object|function/.test(typeof e)}function o(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const o=e(n,...r);return t.set(n,o),o}}function i(e){return a({name:e},1)}function a(e,n){return u(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return u(e=>({get:e,configurable:1}),e)}function m(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function l(e,n){const t={};let r=e.length;for(const o of n)t[e[--r]]=o;return t}function u(e,n,t){const r={};for(const o in n)r[o]=e(n[o],o,t);return r}function c(e,n,t){const r={};for(let o=0;o<n.length;o++){const i=n[o];r[i]=e(i,o,t)}return r}function d(e,n,t){const r={};for(let o=0;o<e.length;o++)r[n[o]]=t[e[o]];return r}function h(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function f(e,n){for(const t of n)if(t in e)return 1;return 0}function M(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function y(e,n,t){const r={...t};for(let t=0;t<n;t++)r[e[t]]=0;return r}function g(e,...n){return(...t)=>e(...n,...t)}function p(e){return e[0].toUpperCase()+e.substring(1)}function b(e){return e.slice().sort()}function w(e,n){return String(n).padStart(e,"0")}function v(e,n){return Math.sign(e-n)}function E(e,n,t){return Math.min(Math.max(e,n),t)}function T(e,n){return[Math.floor(e/n),S(e,n)]}function S(e,n){return(e%n+n)%n}function D(e,n){return[z(e,n),A(e,n)]}function z(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function H(e){return.5===Math.abs(e%1)}function k(e,n,t){let r=0,o=0;for(let i=0;i<=n;i++){const n=e[t[i]],a=pi[i],s=gi/a,[m,l]=D(n,s);r+=l*a,o+=m}const[i,a]=D(r,gi);return[o+i,a]}function I(e,n,t){const r={};for(let o=n;o>=0;o--){const n=pi[o];r[t[o]]=z(e,n),e=A(e,n)}return r}function _(e){if(void 0!==e)return P(e)}function C(e){return L(P(e))}function P(e){return x(Wi(e))}function G(e,n){if(null==n)throw new RangeError(To(e));return n}function O(e){if(!r(e))throw new TypeError(wo);return e}function B(e,n,t=e){if(typeof n!==e)throw new TypeError(Eo(t,n));return n}function x(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fo(n,e));return e||0}function L(e,n="number"){if(e<=0)throw new RangeError(Mo(n,e));return e}function N(e){if("symbol"==typeof e)throw new TypeError(bo);return String(e)}function j(e,n){return r(e)?String(e):Yi(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(po(e));return e}function F(e,n="number"){if("bigint"==typeof e)throw new TypeError(go(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yo(n,e));return e}function Y(e,n){return Math.trunc(F(e,n))||0}function Z(e,n){return x(F(e,n),n)}function W(e,n){return L(Y(e,n),n)}function U(e,n){let[t,r]=D(n,gi),o=e+t;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*gi),[o,r]}function q(e,n,t=1){return U(e[0]+n[0]*t,e[1]+n[1]*t)}function $(e,n){return U(e[0],e[1]+n)}function V(e,n){return q(n,e,-1)}function K(e,n){return v(e[0],n[0])||v(e[1],n[1])}function J(e,n,t){return-1===K(e,n)||1===K(e,t)}function X(e,n=1){const t=BigInt(gi/n);return[Number(e/t),Number(e%t)*n]}function Q(e,n=1){const t=gi/n,[r,o]=D(e,t);return[r,o*n]}function ee(e,n=1,t){const[r,o]=e,[i,a]=D(o,n);return r*(gi/n)+(i+(t?a/n:0))}function ne(e,n,t=T){const[r,o]=e,[i,a]=t(o,n);return[r*(gi/n)+i,a]}function te(e){return n(e,"isoYear",fa,ha,1),e.isoYear===fa?n(e,"isoMonth",4,12,1):e.isoYear===ha&&n(e,"isoMonth",1,9,1),e}function re(e){return oe({...e,...sa,isoHour:12}),e}function oe(e){const t=n(e,"isoYear",fa,ha,1),r=t===fa?1:t===ha?-1:0;return r&&ie(ue({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ie(e){if(!e||J(e,da,ca))throw new RangeError($o);return e}function ae(e){return k(e,5,na)[1]}function se(e){const[n,t]=T(e,gi);return[I(t,5,na),n]}function me(e){return ne(e,fi)}function le(e){return he(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function ue(e){const n=le(e);if(void 0!==n){const[t,r]=D(n,ui);return[t,r*hi+(e.isoMicrosecond||0)*di+(e.isoNanosecond||0)]}}function ce(e,n){const[t,r]=se(ae(e)-n);return ie(ue({...e,isoDay:e.isoDay+r,...t}))}function de(...e){return he(...e)/ci}function he(...e){const[n,t]=fe(...e),r=n.valueOf();if(!isNaN(r))return r-t*ui}function fe(e,n=1,t=1,r=0,o=0,i=0,a=0){const s=e===fa?1:e===ha?-1:0,m=new Date;return m.setUTCHours(r,o,i,a),m.setUTCFullYear(e,n-1,t+s),[m,s]}function Me(e,n){let[t,r]=$(e,n);r<0&&(r+=gi,t-=1);const[o,i]=T(r,hi),[a,s]=T(i,di);return ye(t*ui+o,a,s)}function ye(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-ua)/ui)*Math.sign(e),o=new Date(e-r*ui);return l(ra,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-ua)throw new RangeError($o);const t=e.formatToParts(n),r={};for(const e of t)r[e.type]=e.value;return r}function pe(e){return[e.isoYear,e.isoMonth,e.isoDay]}function be(e,n){return[n,0]}function we(){return ba}function ve(e,n){switch(n){case 2:return Te(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Ee(e){return Te(e)?366:365}function Te(e){return e%4==0&&(e%100!=0||e%400==0)}function Se(e){const[n,t]=fe(e.isoYear,e.isoMonth,e.isoDay);return S(n.getUTCDay()-t,7)||7}function De(e){return this.id===Li?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Ni?va(e):[]}function ze(e){const n=le(e);if(n<wa){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(Cs(Ni),n),{era:r,eraYear:o}=_r(t,Ni);return[r,o]}function Ae(e){return He(e),_e(e,1),e}function He(e){return Ie(e,1),e}function ke(e){return M(ta,e,Ie(e))}function Ie(e,t){const{isoYear:r}=e,o=n(e,"isoMonth",1,we(),t);return{isoYear:r,isoMonth:o,isoDay:n(e,"isoDay",1,ve(r,o),t)}}function _e(e,t){return l(na,[n(e,"isoHour",0,23,t),n(e,"isoMinute",0,59,t),n(e,"isoSecond",0,59,t),n(e,"isoMillisecond",0,999,t),n(e,"isoMicrosecond",0,999,t),n(e,"isoNanosecond",0,999,t)])}function Ce(e){return void 0===e?0:ja(O(e))}function Pe(e,n=0){e=Ye(e);const t=Ra(e),r=Fa(e,n);return[ja(e),r,t]}function Ge(e,n,t,r=9,o=0,i=4){n=Ye(n);let a=La(n,r,o),s=je(n),m=Ua(n,i);const l=xa(n,r,o,1);return null==a?a=Math.max(t,l):$e(a,l),s=Re(s,l,1),e&&(m=(e=>e<4?(e+2)%4:e)(m)),[a,l,s,m]}function Oe(e,n=6,t){let r=je(e=Ze(e,Ea));const o=Ua(e,7);let i=xa(e,n);return i=G(Ea,i),r=Re(r,i,void 0,t),[i,r,o]}function Be(e){return Ya(Ye(e))}function xe(e,n){return Le(Ye(e),n)}function Le(e,n=4){const t=Fe(e);return[Ua(e,4),...Ne(xa(e,n),t)]}function Ne(e,n){return null!=e?[pi[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function je(e){const n=e[Sa];return void 0===n?1:Y(n,Sa)}function Re(e,n,r,o){const i=o?gi:pi[n+1];if(i){const r=pi[n];if(i%((e=t(Sa,e,1,i/r-(o?0:1),1))*r))throw new RangeError(Eo(Sa,e))}else e=t(Sa,e,1,r?10**9:1,1);return e}function Fe(e){let n=e[Da];if(void 0!==n){if("number"!=typeof n){if("auto"===N(n))return;throw new RangeError(Eo(Da,n))}n=t(Da,Math.floor(n),0,9,1)}return n}function Ye(e){return void 0===e?{}:O(e)}function Ze(e,n){return"string"==typeof e?{[n]:e}:O(e)}function We(e){return{overflow:ka[e]}}function Ue(e,n,r=9,o=0,i){let a=n[e];if(void 0===a)return i?o:void 0;if(a=N(a),"auto"===a)return i?o:null;let s=mi[a];if(void 0===s&&(s=Ji[a]),void 0===s)throw new RangeError(Ao(e,a,mi));return t(e,s,o,r,1,li),s}function qe(e,n,t,r=0){const o=t[e];if(void 0===o)return r;const i=N(o),a=n[i];if(void 0===a)throw new RangeError(Ao(e,i,n));return a}function $e(e,n){if(n>e)throw new RangeError(ei)}function Ve(e){return{branding:Qa,epochNanoseconds:e}}function Ke(e,n,t){return{branding:Xa,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:Ka,calendar:n,...h(aa,e)}}function Xe(e,n=e.calendar){return{branding:Va,calendar:n,...h(oa,e)}}function Qe(e,n=e.calendar){return{branding:qa,calendar:n,...h(oa,e)}}function en(e,n=e.calendar){return{branding:$a,calendar:n,...h(oa,e)}}function nn(e){return{branding:Ja,...h(ia,e)}}function tn(e){return{branding:es,sign:gt(e),...h(qi,e)}}function rn(e){return ne(e.epochNanoseconds,hi)[0]}function on(e){return e.epochNanoseconds}function an(e,n){return ee(wt(e),pi[n],1)}function sn(e,n,t,r,o,i,a){const s=Ui[t],m={...n,[s]:n[s]+r},l=a(e,o,n),u=a(e,o,m);return[i(l),i(u)]}function mn(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(Lo);return ee(V(n,e))/r}function ln(e,n,t,r){return un(e,hn(n,t),r)}function un(e,n,t){const[r,o]=cn(e,n,t);return oe({...st(e,o),...r})}function cn(e,n,t){return se(wn(ae(e),n,t))}function dn(e){return wn(e,Mi,7)}function hn(e,n){return pi[e]*n}function fn(e){const n=Mn(e);return[n,st(n,1)]}function Mn(e){return ma(6,e)}function yn(e,n,t){const r=Math.min(St(e),6);return vt(bn(wt(e,r),n,t),r)}function gn(e,n,t,r,o,i,a,s,m,l){if(0===r&&1===o)return e;const u=ht(r,s)?dt(s)&&r<6&&t>=6?Tn:En:Sn;let[c,d,h]=u(e,n,t,r,o,i,a,s,m,l);return h&&7!==r&&(c=((e,n,t,r,o,i,a,s)=>{const m=gt(e);for(let l=r+1;l<=t;l++){if(7===l&&7!==t)continue;const r=ea(l,e);r[Ui[l]]+=m;const u=ee(V(a(s(o,i,r)),n));if(u&&Math.sign(u)!==m)break;e=r}return e})(c,d,t,Math.max(6,r),a,s,m,l)),c}function pn(e,n,t,r,o){if(6===n){const n=(e=>e[0]+e[1]/gi)(e);return[wn(n,t,r),0]}return bn(e,hn(n,t),r,o)}function bn(e,n,t,r){let[o,i]=e;r&&i<0&&(i+=gi,o-=1);const[a,s]=T(wn(i,n,t),gi);return U(o+a,s)}function wn(e,n,t){return vn(e/n,t)*n}function vn(e,n){return ns[n](e)}function En(e,n,t,r,o,i){const a=gt(e),s=wt(e),m=pn(s,r,o,i),l=V(s,m),u=Math.sign(m[0]-s[0])===a,c=vt(m,Math.min(t,6));return[{...e,...c},q(n,l),u]}function Tn(e,n,t,r,o,i,a,s,m,l){const u=gt(e)||1,c=ee(wt(e,5)),d=hn(r,o);let h=wn(c,d,i);const[f,M]=sn(a,{...e,...Qi},6,u,s,m,l),y=h-ee(V(f,M));let g=0;y&&Math.sign(y)!==u?n=$(f,h):(g+=u,h=wn(y,d,i),n=$(M,h));const p=Et(h);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Sn(e,n,t,r,o,i,a,s,m,l){const u=gt(e),c=Ui[r],d=ea(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const h=z(e[c],o)*o;d[c]=h;const[f,M]=sn(a,d,r,o*u,s,m,l),y=h+mn(n,f,M)*u*o,g=wn(y,o,i),p=Math.sign(g-y)===u;return d[c]=g,[d,p?M:f,p]}function Dn(e,n,t,r){const[o,i,a,s]=(e=>{const n=Le(e=Ye(e));return[e.timeZone,...n]})(r),m=void 0!==o;return((e,n,t,r,o,i)=>{t=bn(t,o,r,1);const a=n.R(t);return On(Me(t,a),i)+(e?jn(dn(a)):"Z")})(m,n(m?e(o):ts),t.epochNanoseconds,i,a,s)}function zn(e,n,t){const[r,o,i,a,s,m]=(e=>{e=Ye(e);const n=Ya(e),t=Fe(e),r=Wa(e),o=Ua(e,4),i=xa(e,4);return[n,Za(e),r,o,...Ne(i,t)]})(t);return((e,n,t,r,o,i,a,s,m,l)=>{r=bn(r,m,s,1);const u=e(t).R(r);return On(Me(r,u),l)+jn(dn(u),a)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,i)+Rn(n,o)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,o,i,a,s,m)}function An(e,n){const[t,r,o,i]=(e=>(e=Ye(e),[Ya(e),...Le(e)]))(n);return a=e.calendar,s=t,m=i,On(un(e,o,r),m)+Rn(a,s);var a,s,m}function Hn(e,n){return t=e.calendar,r=e,o=Be(n),Bn(r)+Rn(t,o);var t,r,o}function kn(e,n){return Pn(e.calendar,xn,e,Be(n))}function In(e,n){return Pn(e.calendar,Ln,e,Be(n))}function _n(e,n){const[t,r,o]=xe(n);return i=o,Nn(cn(e,r,t)[0],i);var i}function Cn(e,n){const[t,r,o]=xe(n,3);return r>1&&pt(e={...e,...yn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?yt(e):e,{hours:o,minutes:i}=r,[a,s]=ne(wt(r,3),fi,D);bt(a);const m=Yn(s,n),l=n>=0||!t||m;return(t<0?"-":"")+"P"+Gn({Y:Wn(r.years),M:Wn(r.months),W:Wn(r.weeks),D:Wn(r.days)})+(o||i||a||l?"T"+Gn({H:Wn(o),M:Wn(i),S:Wn(a,l)+m}):"")})(e,o)}function Pn(e,n,t,r){const o=r>1||0===r&&e!==xi;return 1===r?e===xi?n(t):Bn(t):o?Bn(t)+Fn(e,2===r):n(t)}function Gn(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function On(e,n){return Bn(e)+"T"+Nn(e,n)}function Bn(e){return xn(e)+"-"+si(e.isoDay)}function xn(e){const{isoYear:n}=e;return(n<0||n>9999?Zn(n)+w(6,Math.abs(n)):w(4,n))+"-"+si(e.isoMonth)}function Ln(e){return si(e.isoMonth)+"-"+si(e.isoDay)}function Nn(e,n){const t=[si(e.isoHour),si(e.isoMinute)];return-1!==n&&t.push(si(e.isoSecond)+((e,n,t,r)=>Yn(e*hi+n*di+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function jn(e,n=0){if(1===n)return"";const[t,r]=T(Math.abs(e),yi),[o,i]=T(r,Mi),[a,s]=T(i,fi);return Zn(e)+si(t)+":"+si(o)+(a||s?":"+si(a)+Yn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==xi)?Fn(e,2===n):""}function Fn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Yn(e,n){let t=w(9,e);return t=void 0===n?t.replace(as,""):t.slice(0,n),t?"."+t:""}function Zn(e){return e<0?"-":"+"}function Wn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function Un(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),o=Me(t,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function qn(e,n,t,r=0,o=0,i,a){if(void 0!==t&&1===r&&(1===r||a))return ce(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const o=ue(n);r&&(t=dn(t));for(const n of e){let e=ee(V(n,o));if(r&&(e=dn(e)),e===t)return n}})(s,n,t,i);if(void 0!==e)return e;if(0===r)throw new RangeError(Uo)}return a?ue(n):$n(e,n,o,s)}function $n(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qo);if(r.length)return r[3===t?1:0];const o=ue(n),i=((e,n)=>{const t=e.R($(n,-gi));return(e=>{if(e>gi)throw new RangeError(Wo);return e})(e.R($(n,gi))-t)})(e,o),a=i*(2===t?-1:1);return(r=e.I(Me(o,a)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=$(ue(n),-gi);return e.O(r,1)}function Kn(e,n,t){return Ve(ie(q(n.epochNanoseconds,(e=>{if(Tt(e))throw new RangeError(Xo);return wt(e,5)})(e?yt(t):t))))}function Jn(e,n,t,r,o,i=Object.create(null)){const a=n(r.timeZone),s=e(r.calendar);return{...r,...tt(a,s,r,t?yt(o):o,i)}}function Xn(e,n,t,r,o=Object.create(null)){const{calendar:i}=t;return Je(rt(e(i),t,n?yt(r):r,o),i)}function Qn(e,n,t,r,o){const{calendar:i}=t;return Xe(ot(e(i),t,n?yt(r):r,o),i)}function et(e,n,t,r,o){const i=t.calendar,a=e(i);let s=re(it(a,t));n&&(r=Mt(r)),r.sign<0&&(s=a.P(s,{...Xi,months:1}),s=st(s,-1));const m=a.P(s,r,o);return Qe(it(a,m),i)}function nt(e,n,t){return nn(at(n,e?yt(t):t)[0])}function tt(e,n,t,r,o){const i=wt(r,5);let a=t.epochNanoseconds;if(Tt(r)){const s=ss(t,e);a=q($n(e,{...ot(n,s,{...r,...Qi},o),...h(na,s)}),i)}else a=q(a,i),Ce(o);return{epochNanoseconds:ie(a)}}function rt(e,n,t,r){const[o,i]=at(n,t);return oe({...ot(e,n,{...t,...Qi,days:t.days+i},r),...o})}function ot(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);Ce(r);const o=t.days+wt(t,5)[0];return o?re(st(n,o)):n}function it(e,n,t=1){return st(n,t-e.day(n))}function at(e,n){const[t,r]=wt(n,5),[o,i]=se(ae(e)+r);return[o,t+i]}function st(e,n){return n?{...e,...ye(le(e)+n*ui)}:e}function mt(e,n,t){const r=e(t.calendar);return dt(t)?[t,r,n(t.timeZone)]:[{...t,...sa},r]}function lt(e){return e?on:ue}function ut(e){return e?g(tt,e):rt}function ct(e){return e?g(sr,e):mr}function dt(e){return e&&e.epochNanoseconds}function ht(e,n){return e<=6-(dt(n)?1:0)}function ft(e,n,t,r,o,i,a){const s=e(Ye(a).relativeTo),m=Math.max(St(o),St(i));if(ht(m,s))return tn(pt(((e,n,t,r)=>{const o=q(wt(e),wt(n),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError($o);return{...Xi,...vt(o,t)}})(o,i,m,r)));if(!s)throw new RangeError(Jo);r&&(i=yt(i));const[l,u,c]=mt(n,t,s),d=ut(c),h=ct(c),f=d(u,l,o);return tn(h(u,l,d(u,f,i),m))}function Mt(e){return tn(yt(e))}function yt(e){const n={};for(const t of Ui)n[t]=-1*e[t]||0;return n}function gt(e,n=Ui){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Ko);t=n}}return t}function pt(e){for(const n of Ki)t(n,e[n],-ms,ms,1);return bt(ee(wt(e),fi)),e}function bt(e){if(!Number.isSafeInteger(e))throw new RangeError(Vo)}function wt(e,n=6){return k(e,n,Ui)}function vt(e,n=6){const[t,r]=e,o=I(r,n,Ui);if(o[Ui[n]]+=t*(gi/pi[n]),!Number.isFinite(o[Ui[n]]))throw new RangeError($o);return o}function Et(e,n=5){return I(e,n,Ui)}function Tt(e){return Boolean(gt(e,Vi))}function St(e){let n=9;for(;n>0&&!e[Ui[n]];n--);return n}function Dt(e,n){return[e,n]}function zt(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=xt(e);if(void 0===n)throw new RangeError(ni(e));return n}function Ht(e,n,t){let r=Gt(Yi(e));if(!r||r.j)throw new RangeError(ni(e));return n?r.calendar===xi&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...sa}:{...r,isoDay:1,...sa}):t&&r.calendar===xi&&(r={...r,isoYear:pa}),Xe(r.C?_t(r):Ct(r))}function kt(e){if(e.calendar!==xi)throw new RangeError(ti(e.calendar))}function It(e,n,t=0,r=0){const o=Wt(e.timeZone),i=ls(o);let a;return Ae(e),a=e.C?qn(i,e,n,t,r,!i.$,e.j):Vn(i,e),Ke(a,o,Yr(e.calendar))}function _t(e){return Pt(oe(Ae(e)))}function Ct(e){return Pt(re(He(e)))}function Pt(e){return{...e,calendar:Yr(e.calendar)}}function Gt(e){const n=Es.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:Lt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Nt(e.slice(5)),...jt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ot(e){const n=ws.exec(e);return n?(e=>({isoYear:Lt(e),isoMonth:parseInt(e[4]),isoDay:1,...jt(e[5])}))(n):void 0}function Bt(e){const n=vs.exec(e);return n?(e=>({isoYear:pa,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...jt(e[3])}))(n):void 0}function xt(e,n){const t=Ss.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(ti(t));return(e=>{if(Math.abs(e)>=gi)throw new RangeError(Zo);return e})((Zt(e[2])*yi+Zt(e[3])*Mi+Zt(e[4])*fi+Rt(e[5]||""))*Yt(e[1]))})(t,n):void 0}function Lt(e){const n=Yt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(ti(-0));return n*t}function Nt(e){const n=Zt(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Zt(e[1]),isoMinute:Zt(e[2]),isoSecond:60===n?59:n}}function jt(e){let n,t;const r=[];if(e.replace(Ds,(e,o,i)=>{const a=Boolean(o),[s,m]=i.split("=").reverse();if(m){if("u-ca"===m)r.push(s),n||(n=a);else if(a||/[A-Z]/.test(m))throw new RangeError(ti(e))}else{if(t)throw new RangeError(ti(e));t=s}return""}),r.length>1&&n)throw new RangeError(ti(e));return{timeZone:t,calendar:r[0]||xi}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function Ft(e){return new RegExp(`^${e}$`,"i")}function Yt(e){return e&&"+"!==e?-1:1}function Zt(e){return void 0===e?0:parseInt(e)}function Wt(e){const n=qt(e);return"number"==typeof n?jn(n):n?(e=>{if(ks.test(e))throw new RangeError(Ro(e));if(Hs.test(e))throw new RangeError(Yo);return e.toLowerCase().split("/").map((e,n)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,(e,t)=>e.length<=2&&!n||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!t?p(e).replace(/island|noronha|murdo|rivadavia|urville/,p):e)).join("/")})(e):ts}function Ut(e){const n=qt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function qt(e){const n=xt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function $t(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return K(e.epochNanoseconds,n.epochNanoseconds)}function Kt(e,n){return Jt(e,n)||Xt(e,n)}function Jt(e,n){return v(le(e),le(n))}function Xt(e,n){return v(ae(e),ae(n))}function Qt(e,n){if(e===n)return 1;try{return Ut(e)===Ut(n)}catch(e){}}function er(e,n,t,r){const o=Ge(e,r,3,5),i=cr(n.epochNanoseconds,t.epochNanoseconds,...o);return tn(e?yt(i):i)}function nr(e,n,t,r,o,i){const a=yr(r.calendar,o.calendar),[s,m,l,u]=Ge(t,i,5),c=r.epochNanoseconds,d=o.epochNanoseconds,h=K(d,c);let f;if(h)if(s<6)f=cr(c,d,s,m,l,u);else{const t=n(((e,n)=>{if(!Qt(e,n))throw new RangeError(Fo);return e})(r.timeZone,o.timeZone)),c=e(a);f=lr(c,t,r,o,h,s,i),f=gn(f,d,s,m,l,u,c,r,on,g(tt,t))}else f=Xi;return tn(t?yt(f):f)}function tr(e,n,t,r,o){const i=yr(t.calendar,r.calendar),[a,s,m,l]=Ge(n,o,6),u=ue(t),c=ue(r),d=K(c,u);let h;if(d)if(a<=6)h=cr(u,c,a,s,m,l);else{const n=e(i);h=ur(n,t,r,d,a,o),h=gn(h,c,a,s,m,l,n,t,ue,rt)}else h=Xi;return tn(n?yt(h):h)}function rr(e,n,t,r,o){const i=yr(t.calendar,r.calendar);return ir(n,()=>e(i),t,r,...Ge(n,o,6,9,6))}function or(e,n,t,r,o){const i=yr(t.calendar,r.calendar),a=Ge(n,o,9,9,8),s=e(i),m=it(s,t),l=it(s,r);return m.isoYear===l.isoYear&&m.isoMonth===l.isoMonth&&m.isoDay===l.isoDay?tn(Xi):ir(n,()=>s,re(m),re(l),...a,8)}function ir(e,n,t,r,o,i,a,s,m=6){const l=ue(t),u=ue(r);if(void 0===l||void 0===u)throw new RangeError($o);let c;if(K(u,l))if(6===o)c=cr(l,u,o,i,a,s);else{const e=n();c=e.N(t,r,o),i===m&&1===a||(c=gn(c,u,o,i,a,s,e,t,ue,ot))}else c=Xi;return tn(e?yt(c):c)}function ar(e,n,t,r){const[o,i,a,s]=Ge(e,r,5,5),m=wn(Mr(n,t),hn(i,a),s),l={...Xi,...Et(m,o)};return tn(e?yt(l):l)}function sr(e,n,t,r,o,i){const a=K(r.epochNanoseconds,t.epochNanoseconds);return a?o<6?dr(t.epochNanoseconds,r.epochNanoseconds,o):lr(n,e,t,r,a,o,i):Xi}function mr(e,n,t,r,o){const i=ue(n),a=ue(t),s=K(a,i);return s?r<=6?dr(i,a,r):ur(e,n,t,s,r,o):Xi}function lr(e,n,t,r,o,i,a){const[s,m,l]=((e,n,t,r)=>{function o(){return c={...st(s,l++*-r),...a},d=$n(e,c),K(m,d)===-r}const i=ss(n,e),a=h(na,i),s=ss(t,e),m=t.epochNanoseconds;let l=0;const u=Mr(i,s);let c,d;if(Math.sign(u)===-r&&l++,o()&&(-1===r||o()))throw new RangeError(Lo);const f=ee(V(d,m));return[i,c,f]})(n,t,r,o);var u,c;return{...6===i?(u=s,c=m,{...Xi,days:hr(u,c)}):e.N(s,m,i,a),...Et(l)}}function ur(e,n,t,r,o,i){const[a,s,m]=((e,n,t)=>{let r=n,o=Mr(e,n);return Math.sign(o)===-t&&(r=st(n,-t),o+=gi*t),[e,r,o]})(n,t,r);return{...e.N(a,s,o,i),...Et(m)}}function cr(e,n,t,r,o,i){return{...Xi,...vt(pn(V(e,n),r,o,i),t)}}function dr(e,n,t){return{...Xi,...vt(V(e,n),t)}}function hr(e,n){return fr(le(e),le(n))}function fr(e,n){return Math.trunc((n-e)/ui)}function Mr(e,n){return ae(n)-ae(e)}function yr(e,n){if(e!==n)throw new RangeError(jo);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function br(e){const[n]=this.v(e);return fr(this.p(n),le(e))+1}function wr(e){const n=Is.exec(e);if(!n)throw new RangeError(Go(e));return[parseInt(n[1]),Boolean(n[2])]}function vr(e,n){return"M"+si(e)+(n?"L":"")}function Er(e,n,t){return e+(n||t&&e>=t?1:0)}function Tr(e,n){return e-(n&&e>=n?1:0)}function Sr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return ji[Ar(e)]}function zr(e){return Fi[Ar(e)]}function Ar(e){return Zr(e.id||xi)}function Hr(e){function n(e){return((e,n)=>({..._r(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=Cs(e),r=Zr(e);return{id:e,h:kr(n),l:Ir(n)}}function kr(e){return o(n=>{const t=le(n);return e(t)},WeakMap)}function Ir(e){const n=e(0).year-ga;return o(t=>{let r,o=he(t-n),i=0;const a=[],s=[];do{o+=400*ui}while((r=e(o)).year<=t);do{if(o+=(1-r.day)*ui,r.year===t&&(a.push(o),s.push(r.o)),o-=ui,++i>100||o<-ua)throw new RangeError(Lo)}while((r=e(o)).year>=t);return{i:a.reverse(),u:ii(s.reverse())}})}function _r(e,n){let t,r,o=Cr(e);if(e.era){const i=ji[n],a=Ri[n]||{};void 0!==i&&(t="islamic"===n?"ah":e.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),"bc"===t||"b"===t?t="bce":"ad"===t||"a"===t?t="ce":"beforeroc"===t&&(t="broc"),t=a[t]||t,r=o,o=Sr(r,i[t]||0))}return{era:t,eraYear:r,year:o}}function Cr(e){return parseInt(e.relatedYear||e.year)}function Pr(e){const{year:n,o:t,day:r}=this.h(e),{u:o}=this.l(n);return[n,o[t]+1,r]}function Gr(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ui}function Or(e,n){const t=Br.call(this,e);return[Tr(n,t),t===n]}function Br(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=zr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function xr(e){return fr(Gr.call(this,e),Gr.call(this,e+1))}function Lr(e,n){const{i:t}=this.l(e);let r=n+1,o=t;return r>t.length&&(r=1,o=this.l(e+1).i),fr(t[n-1],o[r-1])}function Nr(e){return this.l(e).i.length}function jr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function Fr(e){return Yr(Yi(e))}function Yr(e){if((e=e.toLowerCase())!==xi&&e!==Li){const n=Cs(e).resolvedOptions().calendar;if(Zr(e)!==Zr(n))throw new RangeError(No(e));return n}return e}function Zr(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Wr(e,n){return t=>t===xi?e:t===Li||t===Ni?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),_s(t))}function Ur(e,n,t,r){const o=qr(t,r,Pi,[],Si);if(void 0!==o.timeZone){const r=t.F(o),i=Vr(o),a=e(o.timeZone);return{epochNanoseconds:qn(n(a),{...r,...i},void 0!==o.offset?At(o.offset):void 0),timeZone:a}}return{...t.F(o),...sa}}function qr(e,n,t,r=[],o=[]){return $r(n,[...e.fields(t),...o].sort(),r)}function $r(e,n,t,r=!t){const o={};let i,a=0;for(const r of n){if(r===i)throw new RangeError(Do(r));if("constructor"===r||"__proto__"===r)throw new RangeError(So(r));let n=e[r];if(void 0!==n)a=1,Ys[r]&&(n=Ys[r](n,r)),o[r]=n;else if(t){if(t.includes(r))throw new TypeError(To(r));o[r]=Bi[r]}i=r}if(r&&!a)throw new TypeError(zo(n));return o}function Vr(e,n){return _e(Zs({...Bi,...e}),n)}function Kr(e,n,t,r,o){n=h(t=e.fields(t),n),r=$r(r,o=e.fields(o),[]);let i=e.k(n,r);return i=$r(i,[...t,...o].sort(),[]),e.F(i)}function Jr(e,n){const t=Dr(e),r=Ri[e.id||""]||{};let{era:o,eraYear:i,year:a}=n;if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)throw new TypeError(Io);if(!t)throw new RangeError(ko);const e=t[r[o]||o];if(void 0===e)throw new RangeError(Co(o));const n=Sr(i,e);if(void 0!==a&&a!==n)throw new RangeError(_o);a=n}else if(void 0===a)throw new TypeError(Po(t));return a}function Xr(e,n,r,o){let{month:i,monthCode:a}=n;if(void 0!==a){const n=((e,n,t,r)=>{const o=e.L(t),[i,a]=wr(n);let s=Er(i,a,o);if(a){const n=zr(e);if(void 0===n)throw new RangeError(xo);if(n>0){if(s>n)throw new RangeError(xo);if(void 0===o){if(1===r)throw new RangeError(xo);s--}}else{if(s!==-n)throw new RangeError(xo);if(void 0===o&&1===r)throw new RangeError(xo)}}return s})(e,a,r,o);if(void 0!==i&&i!==n)throw new RangeError(Oo);i=n,o=1}else if(void 0===i)throw new TypeError(Bo);return t("month",i,1,e.B(r),o)}function Qr(e,t,r,o,i){return n(t,"day",1,e.U(o,r),i)}function eo(e,n,t,r){let o=0;const i=[];for(const e of t)void 0!==n[e]?o=1:i.push(e);if(Object.assign(e,n),o)for(const n of r||i)delete e[n]}function no(e){const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:vr(i,a),day:o}}function to(e,n){return Je(ss(n,e))}function ro(e,n){return Xe(ss(n,e))}function oo(e,n){return nn(ss(n,e))}function io(e,n,t){const r=new Set(t);return(o,i)=>{const a=t&&f(o,t);if(!f(o=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,o),e)){if(i&&a)throw new TypeError("Invalid formatting options");o={...n,...o}}return t&&(o.timeZone=ts,["full","long"].includes(o.J)&&(o.J="medium")),o}}function ao(e,n=so,t=0){const[r,,,o]=e;return(i,a=vm,...s)=>{const m=n(o&&o(...s),i,a,r,t),l=m.resolvedOptions();return[m,...mo(e,l,s)]}}function so(e,n,t,r,o){if(t=r(t,o),e){if(void 0!==t.timeZone)throw new TypeError(oi);t.timeZone=e}return new Ma(n,t)}function mo(e,n,t){const[,r,o]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==xi)&&e!==n)throw new RangeError(jo)})(e.calendar,n.calendar,o),r(e,n)))}function lo(e,n){return{...e,calendar:n}}function uo(e){const n=co();return Me(n,e.R(n))}function co(){return Q(Date.now(),hi)}function ho(){return Im||(Im=(new Ma).resolvedOptions().timeZone)}const fo=(e,n)=>`Non-integer ${e}: ${n}`,Mo=(e,n)=>`Non-positive ${e}: ${n}`,yo=(e,n)=>`Non-finite ${e}: ${n}`,go=e=>`Cannot convert bigint to ${e}`,po=e=>`Invalid bigint: ${e}`,bo="Cannot convert Symbol to string",wo="Invalid object",vo=(e,n,t,r,o)=>o?vo(e,o[n],o[t],o[r]):Eo(e,n)+`; must be between ${t}-${r}`,Eo=(e,n)=>`Invalid ${e}: ${n}`,To=e=>`Missing ${e}`,So=e=>`Invalid field ${e}`,Do=e=>`Duplicate field ${e}`,zo=e=>"No valid fields: "+e.join(),Ao=(e,n,t)=>Eo(e,n)+"; must be "+Object.keys(t).join(),Ho="Invalid calling context",ko="Forbidden era/eraYear",Io="Mismatching era/eraYear",_o="Mismatching year/eraYear",Co=e=>`Invalid era: ${e}`,Po=e=>"Missing year"+(e?"/era/eraYear":""),Go=e=>`Invalid monthCode: ${e}`,Oo="Mismatching month/monthCode",Bo="Missing month/monthCode",xo="Invalid leap month",Lo="Invalid protocol results",No=e=>Eo("Calendar",e),jo="Mismatching Calendars",Ro=e=>Eo("TimeZone",e),Fo="Mismatching TimeZones",Yo="Forbidden ICU TimeZone",Zo="Out-of-bounds offset",Wo="Out-of-bounds TimeZone gap",Uo="Invalid TimeZone offset",qo="Ambiguous offset",$o="Out-of-bounds date",Vo="Out-of-bounds duration",Ko="Cannot mix duration signs",Jo="Missing relativeTo",Xo="Cannot use large units",Qo="Required smallestUnit or largestUnit",ei="smallestUnit > largestUnit",ni=e=>`Cannot parse: ${e}`,ti=e=>`Invalid substring: ${e}`,ri="Mismatching types for formatting",oi="Cannot specify TimeZone",ii=g(c,(e,n)=>n),ai=g(c,(e,n,t)=>t),si=g(w,2),mi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},li=Object.keys(mi),ui=864e5,ci=1e3,di=1e3,hi=1e6,fi=1e9,Mi=6e10,yi=36e11,gi=864e11,pi=[1,di,hi,fi,Mi,yi,gi],bi=li.slice(0,6),wi=b(bi),vi=["offset"],Ei=["timeZone"],Ti=bi.concat(vi),Si=Ti.concat(Ei),Di=["era","eraYear"],zi=Di.concat(["year"]),Ai=["year"],Hi=["monthCode"],ki=["month"].concat(Hi),Ii=["day"],_i=ki.concat(Ai),Ci=Hi.concat(Ai),Pi=Ii.concat(_i),Gi=Ii.concat(ki),Oi=Ii.concat(Hi),Bi=ai(bi,0),xi="iso8601",Li="gregory",Ni="japanese",ji={[Li]:{"gregory-inverse":-1,gregory:0},[Ni]:{"japanese-inverse":-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{"coptic-inverse":-1,coptic:0},roc:{"roc-inverse":-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Ri={[Li]:{bce:"gregory-inverse",ce:"gregory"},[Ni]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Fi={chinese:13,dangi:13,hebrew:-6},Yi=g(B,"string"),Zi=g(B,"boolean"),Wi=g(B,"number"),Ui=li.map(e=>e+"s"),qi=b(Ui),$i=Ui.slice(0,6),Vi=Ui.slice(6),Ki=Vi.slice(1),Ji=ii(Ui),Xi=ai(Ui,0),Qi=ai($i,0),ea=g(y,Ui),na=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],ta=["isoDay","isoMonth","isoYear"],ra=na.concat(ta),oa=b(ta),ia=b(na),aa=b(ra),sa=ai(ia,0),ma=g(y,ra),la=1e8,ua=la*ui,ca=[la,0],da=[-la,0],ha=275760,fa=-271821,Ma=Intl.DateTimeFormat,ya="en-GB",ga=1970,pa=1972,ba=12,wa=he(1868,9,8),va=o(ze,WeakMap),Ea="smallestUnit",Ta="unit",Sa="roundingIncrement",Da="fractionalSecondDigits",za="relativeTo",Aa="direction",Ha={constrain:0,reject:1},ka=Object.keys(Ha),Ia={compatible:0,reject:1,earlier:2,later:3},_a={reject:0,use:1,prefer:2,ignore:3},Ca={auto:0,never:1,critical:2,always:3},Pa={auto:0,never:1,critical:2},Ga={auto:0,never:1},Oa={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Ba={previous:-1,next:1},xa=g(Ue,Ea),La=g(Ue,"largestUnit"),Na=g(Ue,Ta),ja=g(qe,"overflow",Ha),Ra=g(qe,"disambiguation",Ia),Fa=g(qe,"offset",_a),Ya=g(qe,"calendarName",Ca),Za=g(qe,"timeZoneName",Pa),Wa=g(qe,"offset",Ga),Ua=g(qe,"roundingMode",Oa),qa="PlainYearMonth",$a="PlainMonthDay",Va="PlainDate",Ka="PlainDateTime",Ja="PlainTime",Xa="ZonedDateTime",Qa="Instant",es="Duration",ns=[Math.floor,e=>H(e)?Math.floor(e):Math.round(e),Math.ceil,e=>H(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>H(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>H(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,os=de(1847),is=de((new Date).getUTCFullYear()+10),as=/0+$/,ss=o(Un,WeakMap),ms=2**32-1,ls=o(e=>{const n=qt(e);return"object"==typeof n?new cs(n):new us(n||0)});class us{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=ue({...e,...sa});if(!n||Math.abs(n[0])>1e8)throw new RangeError($o)})(e),[ce(e,this.$)]}O(){}}class cs{constructor(e){this.nn=(e=>{function n(e){const n=E(e,a,s),[o,m]=zt(n),l=r(o),u=r(m);return l===u?l:t(i(o,m),l,u,e)}function t(n,t,r,o){let i,a;for(;(void 0===o||void 0===(i=o<n[0]?t:o>=n[1]?r:void 0))&&(a=n[1]-n[0]);){const t=n[0]+Math.floor(a/2);e(t)===r?n[1]=t:n[0]=t+1}return i}const r=o(e),i=o(Dt);let a=os,s=is;return{tn(e){const t=n(e-86400),r=n(e+86400),o=e-t,i=e-r;if(t===r)return[o];const a=n(o);return a===n(i)?[e-a]:t>r?[o,i]:[]},rn:n,O(e,n){const o=E(e,a,s);let[m,l]=zt(o);const u=rs*n,c=n<0?()=>l>a||(a=o,0):()=>m<s||(s=o,0);for(;c();){const o=r(m),a=r(l);if(o!==a){const r=i(m,l);t(r,o,a);const s=r[0];if((v(s,e)||1)===n)return s}m+=u,l+=u}}}})((e=>n=>{const t=ge(e,n*ci);return de(Cr(t),parseInt(t.month),parseInt(t.day),parseInt(t.hour),parseInt(t.minute),parseInt(t.second))-n})(e))}R(e){return this.nn.rn((e=>me(e)[0])(e))*fi}I(e){const[n,t]=[de((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*hi+r.isoMicrosecond*di+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ie($(Q(e,fi),t)))}O(e,n){const[t,r]=me(e),o=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==o)return Q(o,fi)}}const ds="([+-])",hs="(?:[.,](\\d{1,9}))?",fs=`(?:(?:${ds}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Ms="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+hs+")?)?",ys=ds+Ms,gs=fs+"-?(\\d{2})(?:[T ]"+Ms+"(Z|"+ys+")?)?",ps="\\[(!?)([^\\]]*)\\]",bs=`((?:${ps}){0,9})`,ws=Ft(fs+bs),vs=Ft("(?:--)?(\\d{2})-?(\\d{2})"+bs),Es=Ft(gs+bs),Ts=Ft("T?"+Ms+"(?:"+ys+")?"+bs),Ss=Ft(ys),Ds=new RegExp(ps,"g"),zs=Ft(`${ds}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${hs}H)?(?:(\\d+)${hs}M)?(?:(\\d+)${hs}S)?)?`),As=o(e=>new Ma(ya,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Hs=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,ks=/[^\w\/:+-]+/,Is=/^M(\d{2})(L?)$/,_s=o(Hr),Cs=o(e=>new Ma(ya,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Ps={P(e,n,r){const o=Ce(r);let i,{years:a,months:s,weeks:m,days:l}=n;if(l+=wt(n,5)[0],a||s)i=((e,n,r,o,i)=>{let[a,s,m]=e.v(n);if(r){const[n,o]=e.q(a,s);a+=r,s=Er(n,o,e.L(a)),s=t("month",s,1,e.B(a),i)}return o&&([a,s]=e.un(a,s,o)),m=t("day",m,1,e.U(a,s),i),e.p(a,s,m)})(this,e,a,s,o);else{if(!m&&!l)return e;i=le(e)}if(void 0===i)throw new RangeError($o);return i+=(7*m+l)*ui,re(ye(i))},N(e,n,t){if(t<=7){let r=0,o=hr({...e,...sa},{...n,...sa});return 7===t&&([r,o]=D(o,7)),{...Xi,weeks:r,days:o}}const r=this.v(e),o=this.v(n);let[i,a,s]=((e,n,t,r,o,i,a)=>{let s=o-n,m=i-t,l=a-r;if(s||m){const u=Math.sign(s||m);let c=e.U(o,i),d=0;if(Math.sign(l)===-u){const r=c;[o,i]=e.un(o,i,-u),s=o-n,m=i-t,c=e.U(o,i),d=u<0?-r:c}if(l=a-Math.min(r,c)+d,s){const[r,a]=e.q(n,t),[l,c]=e.q(o,i);if(m=l-r||Number(c)-Number(a),Math.sign(m)===-u){const t=u<0&&-e.B(o);s=(o-=u)-n,m=i-Er(r,a,e.L(o))+(t||e.B(o))}}}return[s,m,l]})(this,...r,...o);return 8===t&&(a+=this.cn(i,r[0]),i=0),{...Xi,years:i,months:a,days:s}},F(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t),i=Qr(this,e,o,r,t);return Xe(re(this.V(r,o,i)),this.id||xi)},K(e,n){const t=Ce(n),r=Jr(this,e),o=Xr(this,e,r,t);return Qe(te(this.V(r,o,1)),this.id||xi)},_(e,n){const t=Ce(n);let r,o,i,a=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===a&&s&&(a=pa),void 0!==a){const n=Xr(this,e,a,t);r=Qr(this,e,n,a,t);const s=this.L(a);o=Tr(n,s),i=n===s}else{if(void 0===e.monthCode)throw new TypeError(Bo);if([o,i]=wr(e.monthCode),this.id&&this.id!==Li&&this.id!==Ni)if(this.id&&"coptic"===Zr(this.id)&&0===t){const n=i||13!==o?30:6;r=e.day,r=E(r,1,n)}else if(this.id&&"chinese"===Zr(this.id)&&0===t){const n=!i||1!==o&&9!==o&&10!==o&&11!==o&&12!==o?30:29;r=e.day,r=E(r,1,n)}else r=e.day;else r=Qr(this,e,Xr(this,e,pa,t),pa,t)}const m=this.G(o,i,r);if(!m)throw new RangeError("Cannot guess year");const[l,u]=m;return en(re(this.V(l,u,r)),this.id||xi)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Di]:e},k(e,n){const t=Object.assign(Object.create(null),e);return eo(t,n,ki),Dr(this)&&(eo(t,n,zi),this.id===Ni&&eo(t,n,Gi,Di)),t},inLeapYear(e){const[n]=this.v(e);return this.sn(n)},monthsInYear(e){const[n]=this.v(e);return this.B(n)},daysInMonth(e){const[n,t]=this.v(e);return this.U(n,t)},daysInYear(e){const[n]=this.v(e);return this.fn(n)},dayOfYear:br,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,o]=this.q(n,t);return vr(r,o)},dayOfWeek:Se,daysInWeek:()=>7},Gs={v:pe,hn:De,q:be},Os={dayOfYear:br,v:pe,p:he},Bs=Object.assign({},Os,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=Ee(d+e),r=e||1,o=n(S(m+t*r,7));return u=(t+(o-l)*r)/7}const r=this.id?1:4,o=Se(e),i=this.dayOfYear(e),a=S(o-1,7),s=i-1,m=S(a-s,7),l=n(m);let u,c=Math.floor((s-l)/7)+1,d=e.isoYear;return c?c>t(0)&&(c=1,d++):(c=t(-1),d--),[c,d,u]}}),xs=Object.assign({},Ps,Bs,{v:pe,hn:De,q:be,G(e,n){if(!n)return[pa,e]},sn:Te,L(){},B:we,cn:e=>e*ba,U:ve,fn:Ee,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:he,un:(e,n,t)=>(e+=z(t,ba),(n+=A(t,ba))<1?(e--,n+=ba):n>ba&&(e++,n-=ba),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Ls={v:Pr,hn:jr,q:Or},Ns={dayOfYear:br,v:Pr,p:Gr,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},js=Object.assign({},Ps,Ns,{v:Pr,hn:jr,q:Or,G(e,n,t){const r=this.id&&"chinese"===Zr(this.id)?((e,n,t)=>{if(n)switch(e){case 1:return 1651;case 2:return t<30?1947:1765;case 3:return t<30?1966:1955;case 4:return t<30?1963:1944;case 5:return t<30?1971:1952;case 6:return t<30?1960:1941;case 7:return t<30?1968:1938;case 8:return t<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,n,t):pa;let[o,i,a]=Pr.call(this,{isoYear:r,isoMonth:ba,isoDay:31});const s=Br.call(this,o),m=i===s;1===(v(e,Tr(i,s))||v(Number(n),Number(m))||v(t,a))&&o--;for(let r=0;r<100;r++){const i=o-r,a=Br.call(this,i),s=Er(e,n,a);if(n===(s===a)&&t<=Lr.call(this,i,s))return[i,s]}},sn(e){const n=xr.call(this,e);return n>xr.call(this,e-1)&&n>xr.call(this,e+1)},L:Br,B:Nr,cn(e,n){const t=n+e,r=Math.sign(e),o=r<0?-1:0;let i=0;for(let e=n;e!==t;e+=r)i+=Nr.call(this,e+o);return i},U:Lr,fn:xr,V(e,n,t){return ye(Gr.call(this,e,n,t))},p:Gr,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError($o);if(t<0)for(;n<1;)n+=Nr.call(this,--e);else{let t;for(;n>(t=Nr.call(this,e));)n-=t,e++}}return[e,n]},year(e){return this.h(e).year},month(e){const{year:n,o:t}=this.h(e),{u:r}=this.l(n);return r[t]+1},day(e){return this.h(e).day}}),Rs=Wr(Gs,Ls),Fs=Wr(xs,js),Ys={...{era:j,eraYear:Y,year:Y,month:W,monthCode(e){const n=j(e);return wr(n),n},day:W},...ai(bi,Y),...ai(Ui,Z),offset(e){const n=j(e);return At(n),n}},Zs=g(d,bi,na),Ws=g(d,na,bi),Us="numeric",qs=["timeZoneName"],$s={month:Us,day:Us},Vs={year:Us,month:Us},Ks=Object.assign({},Vs,{day:Us}),Js={hour:Us,minute:Us,second:Us},Xs=Object.assign({},Ks,Js),Qs=Object.assign({},Xs,{timeZoneName:"short"}),em=Object.keys(Vs),nm=Object.keys($s),tm=Object.keys(Ks),rm=Object.keys(Js),om=["dateStyle"],im=em.concat(om),am=nm.concat(om),sm=tm.concat(om,["weekday"]),mm=rm.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),lm=sm.concat(mm),um=qs.concat(mm),cm=qs.concat(sm),dm=qs.concat(["day","weekday"],mm),hm=qs.concat(["year","weekday"],mm),fm=io(lm,Xs),Mm=io(lm,Qs),ym=io(lm,Xs,qs),gm=io(sm,Ks,um),pm=io(mm,Js,cm),bm=io(im,Vs,dm),wm=io(am,$s,hm),vm={},Em=new Ma(void 0,{calendar:xi}).resolvedOptions().calendar===xi,Tm=[fm,rn],Sm=[Mm,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Fo);return t}],Dm=[ym,le],zm=[gm,le],Am=[pm,e=>ae(e)/hi],Hm=[bm,le,Em],km=[wm,le,Em];let Im;function _m(e,n,t,r,o){function l(...e){if(!(this instanceof l))throw new TypeError(Ho);rl(this,n(...e))}function c(e,n){return Object.defineProperties(function(...n){return e.call(this,d(this),...n)},i(n))}function d(n){const t=tl(n);if(!t||t.branding!==e)throw new TypeError(Ho);return t}return Object.defineProperties(l.prototype,{...s(u(c,t)),...a(u(c,r)),...m("Temporal."+e)}),Object.defineProperties(l,{...a(o),...i(e)}),[l,e=>{const n=Object.create(l.prototype);return rl(n,e),n},d]}function Cm(e){if(tl(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Pm(e){return Gm(e)||xi}function Gm(e){const{calendar:n}=e;if(void 0!==n)return Om(n)}function Om(e){if(r(e)){const{calendar:n}=tl(e)||{};if(!n)throw new TypeError(No(e));return n}return(e=>Yr(function(e){const n=Gt(e)||Ot(e)||Bt(e);return n?n.calendar:e}(Yi(e))))(e)}function Bm(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return Fs(n)[t](e)};return n}function xm(){throw new TypeError("Cannot use valueOf")}function Lm(e){if(r(e)){const{timeZone:n}=tl(e)||{};if(!n)throw new TypeError(Ro(e));return n}return(e=>Wt(function(e){const n=Gt(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(Yi(e))))(e)}function Nm(e){if(r(e)){const n=tl(e);return n&&n.branding===es?n:function(e){const n=$r(e,qi);return tn(pt({...Xi,...n}))}(e)}return function(e){const n=(e=>{const n=zs.exec(e);return n?(e=>{function n(e,n,i){let a=0,s=0;if(i&&([a,o]=T(o,pi[i])),void 0!==e){if(r)throw new RangeError(ti(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(ti(e));return n})(e),t=1,n&&(o=Rt(n)*(pi[i]/fi),r=1)}return a+s}let t=0,r=0,o=0,i={...l(Ui,[n(e[2]),n(e[3]),n(e[4]),n(e[5]),n(e[6],e[7],5),n(e[8],e[9],4),n(e[10],e[11],3)]),...I(o,2,Ui)};if(!t)throw new RangeError(zo(Ui));return Yt(e[1])<0&&(i=yt(i)),i})(n):void 0})(Yi(e));if(!n)throw new RangeError(ni(e));return tn(pt(n))}(e)}function jm(e){if(void 0!==e){if(r(e)){const n=tl(e)||{};switch(n.branding){case Xa:case Va:return n;case Ka:return Xe(n)}const t=Pm(e);return{...Ur(Lm,ls,Fs(t),e),calendar:t}}return function(e){const n=Gt(Yi(e));if(!n)throw new RangeError(ni(e));if(n.timeZone)return It(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ni(e));return Ct(n)}(e)}}function Rm(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ja:return Ce(n),t;case Ka:return Ce(n),nn(t);case Xa:return Ce(n),oo(ls,t)}return function(e,n){return nn(Vr($r(e,wi,[],1),Ce(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Ts.exec(e);return n?(jt(n[10]),Nt(n)):void 0})(Yi(e));if(!t){if(t=Gt(e),!t)throw new RangeError(ni(e));if(!t.C)throw new RangeError(ni(e));if(t.j)throw new RangeError(ti("Z"));kt(t)}if((n=Ot(e))&&ke(n))throw new RangeError(ni(e));if((n=Bt(e))&&ke(n))throw new RangeError(ni(e));return nn(_e(t,1))}(e);return Ce(n),t}function Fm(e){return void 0===e?void 0:Rm(e)}function Ym(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Ka:return Ce(n),t;case Va:return Ce(n),Je({...t,...sa});case Xa:return Ce(n),to(ls,t)}return function(e,n,t){const r=qr(e,n,Pi,[],bi),o=Ce(t);return Je(oe({...e.F(r,We(o)),...Vr(r,o)}))}(Fs(Pm(e)),e,n)}const t=function(e){const n=Gt(Yi(e));if(!n||n.j)throw new RangeError(ni(e));return Je(_t(n))}(e);return Ce(n),t}function Zm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===$a)return Ce(n),t;const r=Gm(e);return function(e,n,t,r){const o=qr(e,t,Pi,Ii);return n&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=pa),e._(o,r)}(Fs(r||xi),!r,e,n)}const t=function(e,n){const t=Bt(Yi(n));if(t)return kt(t),en(He(t));const r=Ht(n,0,1),{calendar:o}=r,i=e(o),[a,s,m]=i.v(r),[l,u]=i.q(a,s),[c,d]=i.G(l,u,m);return en(re(i.V(c,d,m)),o)}(Fs,e);return Ce(n),t}function Wm(e,n){if(r(e)){const t=tl(e);return t&&t.branding===qa?(Ce(n),t):function(e,n,t,r){const o=qr(e,n,_i,r);return e.K(o,t)}(Fs(Pm(e)),e,n)}const t=function(e,n){const t=Ot(Yi(n));if(t)return kt(t),Qe(te(He(t)));const r=Ht(n,1);return Qe(it(e(r.calendar),r))}(Fs,e);return Ce(n),t}function Um(e,n){if(r(e)){const t=tl(e)||{};switch(t.branding){case Va:return Ce(n),t;case Ka:return Ce(n),Xe(t);case Xa:return Ce(n),ro(ls,t)}return function(e,n,t,r=[]){const o=qr(e,n,Pi,r);return e.F(o,t)}(Fs(Pm(e)),e,n)}const t=Ht(e);return Ce(n),t}function qm(e,n){if(r(e)){const t=tl(e);if(t&&t.branding===Xa)return Pe(n),t;const r=Pm(e);return function(e,n,t,r,o,i){const a=qr(t,o,Pi,Ei,Si),s=e(a.timeZone),[m,l,u]=Pe(i),c=t.F(a,We(m)),d=Vr(a,m);return Ke(qn(n(s),{...c,...d},void 0!==a.offset?At(a.offset):void 0,l,u),s,r)}(Lm,ls,Fs(r),r,e,n)}return function(e,n){const t=Gt(Yi(e));if(!t||!t.timeZone)throw new RangeError(ni(e));const{offset:r}=t,o=r?At(r):void 0,[,i,a]=Pe(n);return It(t,o,i,a)}(e,n)}function $m(e){return u(e=>n=>e(Vm(n)),e)}function Vm(e){return ss(e,ls)}function Km(e){if(r(e)){const n=tl(e);if(n)switch(n.branding){case Qa:return n;case Xa:return Ve(n.epochNanoseconds)}}return function(e){const n=Gt(e=j(e));if(!n)throw new RangeError(ni(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ni(e));t=At(n.offset)}return n.timeZone&&xt(n.timeZone,1),Ve(ce(Ae(n),t))}(e)}function Jm(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){Fl.set(this,((e,n)=>{const t=new Ma(e,n),r=t.resolvedOptions(),i=r.locale,a=h(Object.keys(n),r),s=o(el),m=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ri);for(const e of n)if(void 0===e)throw new TypeError(ri)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tl(e)||Number(e));let o,m=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(m++&&n!==o)throw new TypeError(ri);o=n}return o?s(o)(i,a,...r):[t,...r]};return m.X=t,m})(e,n))}const t=Ma.prototype,r=Object.getOwnPropertyDescriptors(t),a=Object.getOwnPropertyDescriptors(Ma);for(const n in r){const t=r[n],o=n.startsWith("format")&&Xm(n);"function"==typeof t.value?t.value="constructor"===n?e:o||Qm(n):o&&(t.get=function(){if(!Fl.has(this))throw new TypeError(Ho);return(...e)=>o.apply(this,e)},Object.defineProperties(t.get,i(`get ${n}`)))}return a.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,a),e}function Xm(e){return Object.defineProperties(function(...n){const t=Fl.get(this),[r,...o]=t(e.includes("Range"),...n);return r[e](...o)},i(e))}function Qm(e){return Object.defineProperties(function(...n){return Fl.get(this).X[e](...n)},i(e))}function el(e){const n=gl[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return ao(n,o(so),1)}const nl=new WeakMap,tl=nl.get.bind(nl),rl=nl.set.bind(nl),ol={era:function(e){if(void 0!==e)return Yi(e)},eraYear:_,year:P,month:C,daysInMonth:C,daysInYear:C,inLeapYear:Zi,monthsInYear:C},il={monthCode:Yi},al={day:C},sl={dayOfWeek:C,dayOfYear:C,weekOfYear:function(e){if(void 0!==e)return C(e)},yearOfWeek:_,daysInWeek:C},ml=Bm(Object.assign({},ol,il,al,sl)),ll=Bm({...ol,...il}),ul=Bm({...il,...al}),cl={calendarId:e=>e.calendar},dl=c(e=>n=>n[e],Ui.concat("sign")),hl=c((e,n)=>e=>e[na[n]],bi),fl={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,o=Math.floor(r/n),i=gi/n;return BigInt(t)*BigInt(i)+BigInt(o)})(e.epochNanoseconds)}},[Ml,yl]=_m(es,function(e=0,n=0,t=0,r=0,o=0,i=0,a=0,s=0,m=0,c=0){return tn(pt(u(Z,l(Ui,[e,n,t,r,o,i,a,s,m,c]))))},{...dl,blank:function(e){return!e.sign}},{with:(e,n)=>yl(function(e,n){return tn((t=e,r=n,pt({...t,...$r(r,qi)})));var t,r}(e,n)),negated:e=>yl(Mt(e)),abs:e=>yl(function(e){return-1===e.sign?Mt(e):e}(e)),add:(e,n,t)=>yl(ft(jm,Fs,ls,0,e,Nm(n),t)),subtract:(e,n,t)=>yl(ft(jm,Fs,ls,1,e,Nm(n),t)),round:(e,n)=>yl(function(e,n,t,r,o){const i=St(r),[a,s,m,l,u]=((e,n,t)=>{e=Ze(e,Ea);let r=La(e);const o=t(e[za]);let i=je(e);const a=Ua(e,7);let s=xa(e);if(void 0===r&&void 0===s)throw new RangeError(Qo);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),$e(r,s),i=Re(i,s,1),i>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,i,a,o]})(o,i,e),c=Math.max(i,a);if(!u&&c<=6)return tn(pt(((e,n,t,r,o)=>{const i=pn(wt(e),t,r,o);return{...Xi,...vt(i,n)}})(r,a,s,m,l)));if(!dt(u)&&!r.sign)return r;if(!u)throw new RangeError(Jo);const[d,h,f]=mt(n,t,u),M=lt(f),y=ut(f),g=ct(f),p=y(h,d,r);dt(u)||(oe(d),oe(p));let b=g(h,d,p,a);const w=r.sign,v=gt(b);if(w&&v&&w!==v)throw new RangeError(Lo);return b=gn(b,M(p),a,s,m,l,h,d,M,y),tn(b)}(jm,Fs,ls,e,n)),total:(e,n)=>function(e,n,t,r,o){const i=St(r),[a,s]=((e,n)=>{const t=n((e=Ze(e,Ta))[za]);let r=Na(e);return r=G(Ta,r),[r,t]})(o,e),m=Math.max(a,i);if(!s&&ht(m,s))return an(r,a);if(!s)throw new RangeError(Jo);if(!r.sign)return 0;const[l,u,c]=mt(n,t,s),d=lt(c),h=ut(c),f=ct(c),M=h(u,l,r);dt(s)||(oe(l),oe(M));const y=f(u,l,M,a);return ht(a,s)?an(y,a):((e,n,t,r,o,i,a)=>{const s=gt(e),[m,l]=sn(r,ea(t,e),t,s,o,i,a),u=mn(n,m,l);return e[Ui[t]]+u*s})(y,d(M),a,u,l,d,h)}(jm,Fs,ls,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):Cn(e)},toString:Cn,toJSON:e=>Cn(e),valueOf:xm},{from:e=>yl(Nm(e)),compare:(e,n,t)=>function(e,n,t,r,o,i){const a=e(Ye(i).relativeTo),s=Math.max(St(r),St(o));if(M(Ui,r,o))return 0;if(ht(s,a))return K(wt(r),wt(o));if(!a)throw new RangeError(Jo);const[m,l,u]=mt(n,t,a),c=lt(u),d=ut(u);return K(c(d(l,m,r)),c(d(l,m,o)))}(jm,Fs,ls,Nm(e),Nm(n),t)}),gl={Instant:Tm,PlainDateTime:Dm,PlainDate:zm,PlainTime:Am,PlainYearMonth:Hm,PlainMonthDay:km},pl=ao(Tm),bl=ao(Sm),wl=ao(Dm),vl=ao(zm),El=ao(Am),Tl=ao(Hm),Sl=ao(km),[Dl,zl]=_m(Ja,function(e=0,n=0,t=0,r=0,o=0,i=0){return nn(_e(u(Y,l(na,[e,n,t,r,o,i])),1))},hl,{with(e,n,t){return zl(function(e,n,t){return nn(((e,n,t)=>Vr({...h(wi,e),...$r(n,wi)},Ce(t)))(e,n,t))}(this,Cm(n),t))},add:(e,n)=>zl(nt(0,e,Nm(n))),subtract:(e,n)=>zl(nt(1,e,Nm(n))),until:(e,n,t)=>yl(ar(0,e,Rm(n),t)),since:(e,n,t)=>yl(ar(1,e,Rm(n),t)),round:(e,n)=>zl(function(e,n){const[t,r,o]=Oe(n,5);var i;return nn((i=o,cn(e,hn(t,r),i)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Xt(e,n)}(e,Rm(n)),toLocaleString(e,n,t){const[r,o]=El(n,t,e);return r.format(o)},toString:_n,toJSON:e=>_n(e),valueOf:xm},{from:(e,n)=>zl(Rm(e,n)),compare:(e,n)=>Xt(Rm(e),Rm(n))}),[Al,Hl]=_m(Ka,g(function(e,n,t,r,o=0,i=0,a=0,s=0,m=0,c=0,d=xi){return Je(oe(Ae(u(Y,l(ra,[n,t,r,o,i,a,s,m,c])))),e(d))},Fr),{...cl,...ml,...hl},{with:(e,n,t)=>Hl(function(e,n,t,r){const o=e(n.calendar),i=[...o.fields(Pi),...bi].sort(),a={...no(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const m=$r(t,i),l=Ce(r),u=o.k(a,m),c={...a,...m};return Je(oe({...o.F(u,We(l)),..._e(Zs(c),l)}))}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Hl(lo(e,Om(n))),withPlainTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),add:(e,n,t)=>Hl(Xn(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Hl(Xn(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(tr(Fs,0,e,Ym(n),t)),since:(e,n,t)=>yl(tr(Fs,1,e,Ym(n),t)),round:(e,n)=>Hl(function(e,n){return Je(ln(e,...Oe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)&&e.calendar===n.calendar}(e,Ym(n)),toZonedDateTime:(e,n,t)=>Bl(function(e,n,t,r){const o=((e,n,t,r)=>{const o=(e=>Ra(Ye(e)))(r);return $n(e(n),t,o)})(e,t,n,r);return Ke(ie(o),t,n.calendar)}(ls,e,Lm(n),t)),toPlainDate:e=>Gl(Xe(e)),toPlainTime:e=>zl(nn(e)),toLocaleString(e,n,t){const[r,o]=wl(n,t,e);return r.format(o)},toString:An,toJSON:e=>An(e),valueOf:xm},{from:(e,n)=>Hl(Ym(e,n)),compare:(e,n)=>Kt(Ym(e),Ym(n))}),[kl,Il]=_m($a,g(function(e,n,t,r=xi,o=pa){const i=Y(n),a=Y(t),s=e(r);return en(re(He({isoYear:Y(o),isoMonth:i,isoDay:a})),s)},Fr),{...cl,...ul},{with:(e,n,t)=>Il(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=(e=>{const n=Rs(e.calendar),[t,r,o]=n.v(e),[i,a]=n.q(t,r);return{monthCode:vr(i,a),day:o}})(n),s=$r(t,i),m=o.k(a,s);return o._(m,r)}(Fs,e,Cm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Zm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Oi,O(t),Ai))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Sl(n,t,e);return r.format(o)},toString:In,toJSON:e=>In(e),valueOf:xm},{from:(e,n)=>Il(Zm(e,n))}),[_l,Cl]=_m(qa,g(function(e,n,t,r=xi,o=1){const i=Y(n),a=Y(t),s=e(r);return Qe(te(He({isoYear:i,isoMonth:a,isoDay:Y(o)})),s)},Fr),{...cl,...ll},{with:(e,n,t)=>Cl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(_i).sort(),a=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[o,i]=n.q(t,r);return{year:t,monthCode:vr(o,i)}})(n),s=$r(t,i),m=o.k(a,s);return o.K(m,r)}(Fs,e,Cm(n),t)),add:(e,n,t)=>Cl(et(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Cl(et(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(or(Fs,0,e,Wm(n),t)),since:(e,n,t)=>yl(or(Fs,1,e,Wm(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Wm(n)),toPlainDate(e,n){return Gl(function(e,n,t,r){return((e,n,t)=>Kr(e,n,Ci,O(t),Ii))(e(n.calendar),t,r)}(Fs,e,this,n))},toLocaleString(e,n,t){const[r,o]=Tl(n,t,e);return r.format(o)},toString:kn,toJSON:e=>kn(e),valueOf:xm},{from:(e,n)=>Cl(Wm(e,n)),compare:(e,n)=>Jt(Wm(e),Wm(n))}),[Pl,Gl]=_m(Va,g(function(e,n,t,r,o=xi){return Xe(re(He(u(Y,{isoYear:n,isoMonth:t,isoDay:r}))),e(o))},Fr),{...cl,...ml},{with:(e,n,t)=>Gl(function(e,n,t,r){const o=e(n.calendar),i=o.fields(Pi).sort(),a=no(n),s=$r(t,i),m=o.k(a,s);return o.F(m,r)}(Fs,e,Cm(n),t)),withCalendar:(e,n)=>Gl(lo(e,Om(n))),add:(e,n,t)=>Gl(Qn(Fs,0,e,Nm(n),t)),subtract:(e,n,t)=>Gl(Qn(Fs,1,e,Nm(n),t)),until:(e,n,t)=>yl(rr(Fs,0,e,Um(n),t)),since:(e,n,t)=>yl(rr(Fs,1,e,Um(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Um(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Bl(function(e,n,t,r,o){const i=e(o.timeZone),a=o.plainTime,s=void 0!==a?n(a):void 0,m=t(i);let l;return l=s?$n(m,{...r,...s}):Vn(m,{...r,...sa}),Ke(l,i,r.calendar)}(Lm,Rm,ls,e,t))},toPlainDateTime:(e,n)=>Hl(function(e,n=sa){return Je(oe({...e,...n}))}(e,Fm(n))),toPlainYearMonth(e){return Cl(function(e,n,t){return((e,n)=>{const t=qr(e,n,Ci);return e.K(t,void 0)})(e(n.calendar),t)}(Fs,e,this))},toPlainMonthDay(e){return Il(function(e,n,t){return((e,n)=>{const t=qr(e,n,Oi);return e._(t)})(e(n.calendar),t)}(Fs,e,this))},toLocaleString(e,n,t){const[r,o]=vl(n,t,e);return r.format(o)},toString:Hn,toJSON:e=>Hn(e),valueOf:xm},{from:(e,n)=>Gl(Um(e,n)),compare:(e,n)=>Jt(Um(e),Um(n))}),[Ol,Bl]=_m(Xa,g(function(e,n,t,r,o=xi){return Ke(ie(X(R(t))),n(r),e(o))},Fr,function(e){return Wt(Yi(e))}),{...fl,...cl,...$m(ml),...$m(hl),offset:e=>jn(Vm(e).offsetNanoseconds),offsetNanoseconds:e=>Vm(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[o,i]=fn(r),a=ee(V(Vn(t,o),Vn(t,i)),yi,1);if(a<=0)throw new RangeError(Lo);return a}(ls,e)},{with:(e,n,t)=>Bl(function(e,n,t,r,o){const{calendar:i,timeZone:a}=t,s=e(i),m=n(a),l=[...s.fields(Pi),...Ti].sort(),u=(e=>{const n=ss(e,ls),t=jn(n.offsetNanoseconds),r=Rs(e.calendar),[o,i,a]=r.v(n),[s,m]=r.q(o,i),l=vr(s,m);return{...Ws(n),year:o,monthCode:l,day:a,offset:t}})(t),c=$r(r,l),d=s.k(u,c),h={...u,...c},[f,M,y]=Pe(o,2);return Ke(qn(m,{...s.F(d,We(f)),..._e(Zs(h),f)},At(h.offset),M,y),a,i)}(Fs,ls,e,Cm(n),t)),withCalendar:(e,n)=>Bl(lo(e,Om(n))),withTimeZone:(e,n)=>Bl(function(e,n){return{...e,timeZone:n}}(e,Lm(n))),withPlainTime:(e,n)=>Bl(function(e,n,t){const r=n.timeZone,o=e(r),i={...ss(n,o),...t||sa};let a;return a=t?qn(o,i,i.offsetNanoseconds,2):Vn(o,i),Ke(a,r,n.calendar)}(ls,e,Fm(n))),add:(e,n,t)=>Bl(Jn(Fs,ls,0,e,Nm(n),t)),subtract:(e,n,t)=>Bl(Jn(Fs,ls,1,e,Nm(n),t)),until:(e,n,t)=>yl(tn(nr(Fs,ls,0,e,qm(n),t))),since:(e,n,t)=>yl(tn(nr(Fs,ls,1,e,qm(n),t))),round:(e,n)=>Bl(function(e,n,t){let{epochNanoseconds:r,timeZone:o,calendar:i}=n;const[a,s,m]=Oe(t);if(0===a&&1===s)return n;const l=e(o);if(6===a)r=((e,n,t,r)=>{const o=ss(t,n),[i,a]=e(o),s=t.epochNanoseconds,m=Vn(n,i),l=Vn(n,a);if(J(s,m,l))throw new RangeError(Lo);return vn(mn(s,m,l),r)?l:m})(fn,l,n,m);else{const e=l.R(r);r=qn(l,ln(Me(r,e),a,s,m),e,2,0,1)}return Ke(r,o,i)}(ls,e,n)),startOfDay:e=>Bl(function(e,n){const{timeZone:t,calendar:r}=n,o=((e,n,t)=>Vn(n,e(ss(t,n))))(Mn,e(t),n);return Ke(o,t,r)}(ls,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Qt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,qm(n)),toInstant:e=>Ll(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>Hl(to(ls,e)),toPlainDate:e=>Gl(ro(ls,e)),toPlainTime:e=>zl(oo(ls,e)),toLocaleString(e,n,t={}){const[r,o]=bl(n,t,e);return r.format(o)},toString:(e,n)=>zn(ls,e,n),toJSON:e=>zn(ls,e),valueOf:xm,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,o=function(e){const n=Ze(e,Aa),t=qe(Aa,Ba,n,0);if(!t)throw new RangeError(Eo(Aa,t));return t}(n),i=ls(t).O(r,o);return i?Bl({...e,epochNanoseconds:i}):null}},{from:(e,n)=>Bl(qm(e,n)),compare:(e,n)=>Vt(qm(e),qm(n))}),[xl,Ll]=_m(Qa,function(e){return Ve(ie(X(R(e))))},fl,{add:(e,n)=>Ll(Kn(0,e,Nm(n))),subtract:(e,n)=>Ll(Kn(1,e,Nm(n))),until:(e,n,t)=>yl(er(0,e,Km(n),t)),since:(e,n,t)=>yl(er(1,e,Km(n),t)),round:(e,n)=>Ll(function(e,n){const[t,r,o]=Oe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,o,1))}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)}(e,Km(n)),toZonedDateTimeISO:(e,n)=>Bl(function(e,n,t=xi){return Ke(e.epochNanoseconds,n,t)}(e,Lm(n))),toLocaleString(e,n,t){const[r,o]=pl(n,t,e);return r.format(o)},toString:(e,n)=>Dn(Lm,ls,e,n),toJSON:e=>Dn(Lm,ls,e),valueOf:xm},{from:e=>Ll(Km(e)),fromEpochMilliseconds:e=>Ll(function(e){return Ve(ie(Q(Z(e),hi)))}(e)),fromEpochNanoseconds:e=>Ll(function(e){return Ve(ie(X(R(e))))}(e)),compare:(e,n)=>$t(Km(e),Km(n))}),Nl=Object.defineProperties({},{...m("Temporal.Now"),...a({timeZoneId:()=>ho(),instant:()=>Ll(Ve(co())),zonedDateTimeISO:(e=ho())=>Bl(Ke(co(),Lm(e),xi)),plainDateTimeISO:(e=ho())=>Hl(Je(uo(ls(Lm(e))),xi)),plainDateISO:(e=ho())=>Gl(Xe(uo(ls(Lm(e))),xi)),plainTimeISO:(e=ho())=>zl(nn(uo(ls(Lm(e)))))})}),jl=Object.defineProperties({},{...m("Temporal"),...a({PlainYearMonth:_l,PlainMonthDay:kl,PlainDate:Pl,PlainTime:Dl,PlainDateTime:Al,ZonedDateTime:Ol,Instant:xl,Duration:Ml,Now:Nl})}),Rl=Jm(),Fl=new WeakMap;function Yl(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let o=n[e++];o||(o="d"===r?0:"");const i=typeof o;return"d"===r&&"number"!==i?(o=parseFloat(o),isNaN(o)&&(o=0)):"s"===r&&"string"!==i&&(o=""+o),o})}return t}Object.create(Intl),a({DateTimeFormat:Rl});var Zl={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:[33,34,35,36,38,40],leftRight:[36,35,37,39],dels:[8,46,45],confirm:[13,9],alt:[20,16,17,18,144],numbers:[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105],numsigns:[109,110,189,190]},comparators:[">=","<=",">","<","="],operators:["+","-","/","*"],tags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],colors:{darkgrey:"#5a6a62",black:"#000000",anthracite:"#454545",grey:"#d3d3d3",white:"#ffffff",beige:"#fdfdfd",lightgrey:"#dcdcdc",pastelblue:"#ddebf6",cyan:"#00c8f8",blue:"#6e9ecf",indigo:"#3f51b5",navy:"#354458",webblue:"#2196f3",teal:"#009688",turquoise:"#1fda9a",pastelgreen:"#e2efda",palegreen:"#ccffcc",green:"#00a03e",olive:"#92b06a",pastelorange:"#fff2cc",yellow:"#fdf200",orange:"#ff9900",pink:"#eb65a0",purple:"#a333c8",red:"#db3340",brown:"#8c6954"},reserved:["abstract","boolean","break","byte","case","catch","char","class","continue","const","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","new","null","package","return","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","while","with"],mockText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",regexp:{url:new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),ip:/^((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,hostname:/^[a-z\d]([a-z\d-]{0,61}[a-z\d])?(\.[a-z\d]([a-z\d-]{0,61}[a-z\d])?)*$/i}},Wl={siteTitle:window.document.title,logging:!1,cdn:"",lang:"en",host:window.location.protocol+"//"+window.location.hostname,url:window.location.href,old_path:null,loading:!1,_enumerated:[],get isEnumerating(){return this._enumerated.length>0},width:0,height:0,focused:!1,last_focus:(new Date).getTime(),sleep:!1,theme:"dark",loaders:[],loadersHistory:[],maxLoadersHistory:50,resizeTimer:!1,hashChanged:0,params:[],isInit:!1,isFocused:!1,isVisible:!document.hidden,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:window.navigator.onLine},Ul=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};class ql extends Error{constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const $l=["POST","PUT","PATCH","DELETE"],Vl=(e,n,t={},r)=>{const o=new XMLHttpRequest,i=$l.includes(e.toUpperCase()),a=new Promise((r,a)=>{o.open(e.toUpperCase(),n,!0);const{body:s,headers:m}=((e,n)=>{const t=new Headers(n||{});let r=e;return null==e||e instanceof FormData||"object"!=typeof e||(t.set("Content-Type","application/json"),r=JSON.stringify(e)),{body:r,headers:t}})(t.data,t.headers);m.forEach((e,n)=>{o.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&o.upload&&o.upload.addEventListener("progress",e=>{const n=e.lengthComputable?e.total:void 0;t.onUploadProgress({loaded:e.loaded,total:n,progress:n?e.loaded/n:void 0})}),o.onreadystatechange=()=>{if(4!==o.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r.toLowerCase()]=o)}),n):n})(o.getAllResponseHeaders()),n=1223===o.status?204:o.status,i=o.statusText||"";let s=o.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(o.responseText)}catch(e){}const m={data:s,status:n,statusText:i,headers:e,config:t,request:o};if(n>=200&&n<300)r(m);else{const e=new Error("Request failed with status code "+n);e.response=m,e.config=t,e.request=o,a(e)}},o.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=o,a(e)},o.onabort=()=>{a(new ql("Request canceled"))},i?o.send(s):o.send()});return a.cancel=()=>o.abort(),a};var Kl={isCancel:e=>!(!e||!0!==e.__BBN_CANCEL__),run:(e,n,t={},r)=>{t.baseURL&&!/^https?:\/\//i.test(n)&&(n=t.baseURL.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,"")),n=((e,n)=>{if(!n)return e;const t=new URLSearchParams(n).toString();return t?e+(e.includes("?")?"&":"?")+t:e})(n,t.params);return"function"==typeof t.onUploadProgress&&$l.includes(e.toUpperCase())?Vl(e,n,t):((e,n,t={},r)=>{const o={method:e,headers:new Headers(t.headers||{}),signal:null==r?void 0:r.signal},i=$l.includes(e.toUpperCase());if(null!=t.data&&i&&(bbn.fn.log("DATA",t.data),"object"!=typeof t.data||t.data instanceof FormData?o.body=t.data:(o.headers.set("Content-Type","application/json"),o.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const a=fetch(n,o).then(e=>Ul(void 0,void 0,void 0,function*(){let n;const r=e.headers.get("content-type")||"";try{n=r.includes("application/json")?yield e.json():r.startsWith("text/")?yield e.text():r.includes("multipart/")?yield e.arrayBuffer():yield e.blob()}catch(t){n=yield e.text()}const o={data:n,status:e.status,statusText:e.statusText,headers:Object.fromEntries(e.headers.entries()),config:t,request:e};if(!e.ok){const n=new Error("Request failed with status code "+e.status);throw n.response=o,n.config=t,n.request=e,n}return o})).catch(e=>{if("AbortError"===e.name)throw new ql("Request canceled");throw e});return a.cancel=()=>r.abort(),a})(e,n,t,r)}};function Jl(...e){if(!e.length)return!1;for(let n of e)if(["boolean","object","symbol"].includes(typeof n)||""===n||isNaN(n))return!1;return!0}function Xl(...e){if(!e.length)return!1;for(let n of e)if(!n||"object"!=typeof n||!(Symbol.iterator in Object(n)))return!1;return!0}function Ql(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function eu(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function nu(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function tu(...e){var n,t,r;if((null===(n=bbn.env)||void 0===n?void 0:n.isDev)&&void 0!==(null===window||void 0===window?void 0:window.console)){let n,o=5,i="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&nu(console[e[0]._bbn_console_mode])?i=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,o=e[0]._bbn_console_level),e.shift());const a=window.console[i];if((null===(r=null===(t=window.bbn)||void 0===t?void 0:t.env)||void 0===r?void 0:r.loggingLevel)>=o){let t=0;for(;t<e.length;){let r=typeof e[t],o=[e[t]];"string"!==r&&"number"!==r||o.unshift("%c %s ",n),a.apply(window.console,o),t++}}}return this}function ru(e,n,t){if(!Ql(e)||!eu(n))throw tu(arguments),new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));return n<0&&(n=e.length+n),eu(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function ou(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)ru(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=ou(e[r],!0):t[r]=e[r]);return t||!1}function iu(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let o=Object.keys(t?ou(e):e);r&&o.reverse();for(let t of o)if(!1===n(e[t],t))break}return e}function au(e,n){if(!(Jl(e)&&e>0)){if(Xl(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return iu(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function su(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function mu(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function lu(...e){let n=!1,t=[];for(let r=0;r<e.length;r++)if(!0===e[r])n=!0;else{if(!e[r])continue;if("object"!=typeof e[r])throw new Error(bbn._("Error in extend: all arguments should be object, you have given ")+typeof e[r]);t.push(e[r])}if(!t.length)throw new Error("No argument given");let r,o=t[0];for(let e=1;e<t.length;e++)iu(t[e],(e,t)=>{n?mu(e)?(o[t]=mu(o[t])?o[t]:[],au(e,(e,n)=>{if(e&&"object"==typeof e){let r=o[t][n];mu(e)?mu(r)||(r=[]):su(r)||(r={}),o[t][n]=lu(!0,r,e)}else o[t][n]=e})):su(e)?o[t]=lu(!0,o[t]&&"object"==typeof o[t]?o[t]:Object.create(Object.getPrototypeOf(e)),e):o[t]=e:(o[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(o,[t]))&&(o[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(o.__bbnData&&o.__bbnData.unset(),Object.defineProperty(o,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),o}const uu=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB,cu=(e,n)=>{if(null==n?void 0:n.length){let t={};return iu(e,(e,r)=>{n.indexOf(r)>-1&&(t[r]=e)}),t}return e},du=function(e){const n=hu._connections[e],t=hu._structures[e];let r=null;const o=(e,n)=>{e.onerror=()=>{r=e.error,tu(e.error),n(e.error)}},i=(e,t)=>{const o=n.transaction([e],0===t.toLowerCase().indexOf("r")?"readonly":"readwrite");return o.onabort=()=>{throw r=o.error,new Error(o.error)},[o,o.objectStore(e)]};this.lastError=()=>r,this.insert=(e,n)=>(Array.isArray(n)||(n=[n]),new Promise(t=>{const[r,o]=i(e,"w");let a=n.length;au(n,e=>{const n=o.put(e);n.onerror=()=>{tu(n.error),a--}}),r.oncomplete=()=>{t(a)}})),this.update=(e,n,r,a)=>new Promise(s=>{this.selectAll(e,[],r).then(r=>{if(!r.length)return void s(0);const[m,l]=i(e,"w"),u=t[e],c=u.keys.PRIMARY.columns.length>1?u.keys.PRIMARY.columns:u.keys.PRIMARY.columns[0];let d=0;for(let e=0;e<r.length;e++){const t=lu({},a?{[c]:r[e][c]}:r[e],n);if(!t[c])throw new Error(Yl("No primary key in the data"));const i=l.put(t);o(i,s),i.onsuccess=()=>{d++}}m.oncomplete=()=>{s(d)}})}),this.delete=(e,n)=>new Promise(r=>{const[a,s]=i(e,"w"),m=t[e],l=m.keys.PRIMARY.columns.length>1?m.keys.PRIMARY.columns:m.keys.PRIMARY.columns[0];if(!n[l])throw new Error(Yl("No "));const u=s.delete(n[l]);o(u,r),a.oncomplete=()=>{r(1)}}),this.selectOne=(e,n,t,r,o,i)=>new Promise(i=>{this.selectAll(e,[n],t,r,o,1).then(e=>{var t,r;i(null!==(r=null===(t=null==e?void 0:e[0])||void 0===t?void 0:t[n])&&void 0!==r?r:void 0)})}),this.select=(e,n,t,r,o)=>new Promise(i=>{this.selectAll(e,n,t,r,o,1).then(e=>{i(e.length?e[0]:null)})}),this.selectAll=(e,n=[],r=null,a=null,s=0,m=null)=>new Promise(a=>{const[l,u]=i(e,"r"),c=t[e],d=c.keys.PRIMARY.columns.length>1?c.keys.PRIMARY.columns:c.keys.PRIMARY.columns[0],h=su(r)?Object.keys(r)[0]:!r||mu(r)?null:d,f=[];if(h===d)if(bbn.fn.isArray(null==r?void 0:r[d])){const e=Math.min(r[d].length,m||9999999);for(let t=s||0;t<e;t++){let i=u.get(r[d][t]);i.onsuccess=()=>{let t=i.result;f.push(cu(t,n)),f.length===e&&a(f)},o(i,a)}}else{let e=u.get((null==r?void 0:r[d])||r);e.onsuccess=()=>{let t=e.result;f.push(cu(t,n)),a(f)},o(e,a)}else{const e=u.openCursor();let t=0;e.onsuccess=e=>{const o=e.target.result;o?(r&&bbn.fn.search([o.value],r)||(t>=s&&(f.push(cu(o.value,n)),f.length===m&&a(f)),t++),o.continue()):a(f)},o(e,a)}}),this.getColumnValues=(e,t,r,o,i,a)=>new Promise(t=>{n.transaction([e],"read").objectStore(e)}),this.copyTable=(r,o,i=[],a=null,s=null,m=0,l=null)=>new Promise(u=>{if(n.objectStoreNames.contains(r)||hu.add(e,r,t[o]),!n.objectStoreNames.contains(r))throw u(0),new Error(Yl("The target table %s does not exist",r));this.selectAll(o,i,a,s,m,l).then(e=>{e.length?this.insert(r,e).then(e=>{u(e)}):u(0)})}),this.deleteTable=e=>new Promise(t=>{n.deleteObjectStore(e),t(!0)})},hu={_structures:{},_connections:{},_stores:{},ok:void 0!==uu,updateStructure(e,n,t){const r=n.keys.PRIMARY.columns.length>1?n.keys.PRIMARY.columns:n.keys.PRIMARY.columns[0];if(!t.objectStoreNames.contains(e)){const o=t.createObjectStore(e,{keyPath:r});iu(n.keys,(e,n)=>{"PRIMARY"!==n&&o.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},open(e){return new Promise(n=>{if(hu._connections[e])n(new du(e));else{if(!hu._structures[e])throw new Error(Yl("Impossible to find a structure for the database %s",e));let t=Math.max.apply(this,[1].concat(Object.keys(hu._structures[e]).map(n=>hu._structures[e][n].num||1)));const r=uu.open(e,t);r.onupgradeneeded=()=>{const n=r.result;iu(hu._structures[e],(e,t)=>{this.updateStructure(t,e,n)})},r.onsuccess=()=>{hu._connections[e]=r.result;let t=new du(e);n(t)}}})},add(e,n,t){var r;if(!(null===(r=null==t?void 0:t.keys)||void 0===r?void 0:r.PRIMARY)||!(null==t?void 0:t.fields))throw new Error(Yl("The database structure for %s is not valid (are there keys and field? Is there a primary?",n));hu._structures[e]||(hu._structures[e]={}),hu._structures[e][n]=t,hu._connections[e]&&this.updateStructure(n,t,hu._connections[e])}};function fu(e,n,t){let r=(new Date).getTime(),o={key:e,url:ru(e,0,e.length-33),loader:n,aborter:t,loading:!0,error:!1,abort:!1,errorMessage:!1,success:!1,start:r};bbn.env.loaders.push(o),bbn.env.loadersHistory.unshift(o);let i=bbn.env.loadersHistory.length;for(;i&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)i--,bbn.env.loading||bbn.env.loadersHistory.splice(i,1);return r}function Mu(e,...n){if("object"==typeof e){const t=[];return 1===n.length&&"string"==typeof n[0]?t.push(...n[0].split(".")):t.push(...n),t.reduce((e,n)=>{if(e)return e[e instanceof Array?parseInt(n):n]},e)}}function yu(e){if(!Ql(e)){if(!e.toString)throw tu(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function gu(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function pu(e,n,t,r="asc"){let o=Mu(e,t),i=Mu(n,t),a=(typeof o).toLowerCase(),s=(typeof i).toLowerCase();if("asc"!==r&&Ql(r)&&"desc"===r.toLowerCase()&&(r="desc"),a!==s)o=a,i=s;else switch(a){case"string":o=yu(o).toLowerCase(),i=yu(i).toLowerCase();break;case"boolean":o=o?1:0,i=i?1:0;break;case"object":gu(o)&&(o=o.getTime(),i=gu(i)?i.getTime():0)}return o<i?"desc"===r?1:-1:o>i?"desc"===r?-1:1:0}function bu(e){return e&&"object"==typeof e?Object.keys(e).length:0}function wu(e){return!e||(mu(e)?!e.length:"object"==typeof e&&!bu(e))}function vu(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Eu(e){let n=0;for(let t=0;t<e.length;t++){n=(n<<5)-n+e.charCodeAt(t),n|=0}return Math.abs(n).toString(16)}function Tu(e){let n=0;for(let t=0;t<e.length;t++){n=e.charCodeAt(t)+(n<<6)+(n<<16)-n,n|=0}return Math.abs(n).toString(16)}function Su(e){return Eu(e).padStart(8,"0")+Tu(e).padStart(8,"0")}function Du(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function zu(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,o=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,o=1);let i=t.parentNode,a=Array.from(i.children).filter(n=>n.tagName===e.tagName);if(!o&&a.length>1){let n=Array.from(i.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=i}return n}function Au(...e){var n;if(!e.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(let t of e){if(!bbn.cp.isComponent(t)||Du(t)||!(null===(n=t.$el)||void 0===n?void 0:n.bbnCid))return!1}return!0}function Hu(e,n=null,t=0,r=null,o=null){if(t||r||(r=new WeakSet),void 0===e)e="__BBN_UNDEFINED__";else if(null===e)e="__BBN_NULL__";else if(null===e)e="__BBN_NULL__";else if("function"==typeof e)e="__BBN_FUNCTION__"+e.toString();else if("symbol"==typeof e)e="__BBN_SYMBOL__"+e.toString();else if("string"==typeof e)e="__BBN_STRING__"+e;else if("number"==typeof e)e="__BBN_NUMBER__"+e.toString();else if("boolean"==typeof e)e="__BBN_BOOLEAN__"+e.toString();else if([void 0,Object,Array,null].includes(null==e?void 0:e.constructor)){if(bbn.fn.isArray(e))if(r.has(e)||n&&n<t)e="__BBN_ARRAY__"+e.constructor.toString();else{r.add(e);let i="";for(let a=0;a<e.length;a++)i+="__BBN_ITEM"+a.toString()+"__"+o(e[a],n,t+1,r,o);e="__BBN_ARRAY__"+i}else if("object"==typeof e)if(r.has(e)||n&&n<t)e="__BBN_OBJECT__"+(e.constructor?e.constructor.toString():"");else{r.add(e);let i="";for(let a in e){let s=a;"string"!=typeof s&&(s=o(s,o,1,1)),i+="__BBN_PROP_"+s+"__"+o(e[a],n,t+1,r,o)}e="__BBN_OBJECT__"+i}}else e=Du(e)?Au(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+zu(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function ku(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Hu(e[r],t,0,null,Hu);return Su(n)}function Iu(e){var n="0123456789abcdef";function t(e){var t,r="";for(t=0;t<=3;t++)r+=n.charAt(e>>8*t+4&15)+n.charAt(e>>8*t&15);return r}function r(e,n){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}function o(e,n,t,o,i,a){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(o,a)),i),t)}function i(e,n,t,r,i,a,s){return o(n&t|~n&r,e,n,i,a,s)}function a(e,n,t,r,i,a,s){return o(n&r|t&~r,e,n,i,a,s)}function s(e,n,t,r,i,a,s){return o(n^t^r,e,n,i,a,s)}function m(e,n,t,r,i,a,s){return o(t^(n|~r),e,n,i,a,s)}var l,u,c,d,h,f=function(e){var n,t=1+(e.length+8>>6),r=new Array(16*t);for(n=0;n<16*t;n++)r[n]=0;for(n=0;n<e.length;n++)r[n>>2]|=e.charCodeAt(n)<<n%4*8;return r[n>>2]|=128<<n%4*8,r[16*t-2]=8*e.length,r}(e),M=1732584193,y=-271733879,g=-1732584194,p=271733878;for(l=0;l<f.length;l+=16)u=M,c=y,d=g,h=p,M=i(M,y,g,p,f[l+0],7,-680876936),p=i(p,M,y,g,f[l+1],12,-389564586),g=i(g,p,M,y,f[l+2],17,606105819),y=i(y,g,p,M,f[l+3],22,-1044525330),M=i(M,y,g,p,f[l+4],7,-176418897),p=i(p,M,y,g,f[l+5],12,1200080426),g=i(g,p,M,y,f[l+6],17,-1473231341),y=i(y,g,p,M,f[l+7],22,-45705983),M=i(M,y,g,p,f[l+8],7,1770035416),p=i(p,M,y,g,f[l+9],12,-1958414417),g=i(g,p,M,y,f[l+10],17,-42063),y=i(y,g,p,M,f[l+11],22,-1990404162),M=i(M,y,g,p,f[l+12],7,1804603682),p=i(p,M,y,g,f[l+13],12,-40341101),g=i(g,p,M,y,f[l+14],17,-1502002290),M=a(M,y=i(y,g,p,M,f[l+15],22,1236535329),g,p,f[l+1],5,-165796510),p=a(p,M,y,g,f[l+6],9,-1069501632),g=a(g,p,M,y,f[l+11],14,643717713),y=a(y,g,p,M,f[l+0],20,-373897302),M=a(M,y,g,p,f[l+5],5,-701558691),p=a(p,M,y,g,f[l+10],9,38016083),g=a(g,p,M,y,f[l+15],14,-660478335),y=a(y,g,p,M,f[l+4],20,-405537848),M=a(M,y,g,p,f[l+9],5,568446438),p=a(p,M,y,g,f[l+14],9,-1019803690),g=a(g,p,M,y,f[l+3],14,-187363961),y=a(y,g,p,M,f[l+8],20,1163531501),M=a(M,y,g,p,f[l+13],5,-1444681467),p=a(p,M,y,g,f[l+2],9,-51403784),g=a(g,p,M,y,f[l+7],14,1735328473),M=s(M,y=a(y,g,p,M,f[l+12],20,-1926607734),g,p,f[l+5],4,-378558),p=s(p,M,y,g,f[l+8],11,-2022574463),g=s(g,p,M,y,f[l+11],16,1839030562),y=s(y,g,p,M,f[l+14],23,-35309556),M=s(M,y,g,p,f[l+1],4,-1530992060),p=s(p,M,y,g,f[l+4],11,1272893353),g=s(g,p,M,y,f[l+7],16,-155497632),y=s(y,g,p,M,f[l+10],23,-1094730640),M=s(M,y,g,p,f[l+13],4,681279174),p=s(p,M,y,g,f[l+0],11,-358537222),g=s(g,p,M,y,f[l+3],16,-722521979),y=s(y,g,p,M,f[l+6],23,76029189),M=s(M,y,g,p,f[l+9],4,-640364487),p=s(p,M,y,g,f[l+12],11,-421815835),g=s(g,p,M,y,f[l+15],16,530742520),M=m(M,y=s(y,g,p,M,f[l+2],23,-995338651),g,p,f[l+0],6,-198630844),p=m(p,M,y,g,f[l+7],10,1126891415),g=m(g,p,M,y,f[l+14],15,-1416354905),y=m(y,g,p,M,f[l+5],21,-57434055),M=m(M,y,g,p,f[l+12],6,1700485571),p=m(p,M,y,g,f[l+3],10,-1894986606),g=m(g,p,M,y,f[l+10],15,-1051523),y=m(y,g,p,M,f[l+1],21,-2054922799),M=m(M,y,g,p,f[l+8],6,1873313359),p=m(p,M,y,g,f[l+15],10,-30611744),g=m(g,p,M,y,f[l+6],15,-1560198380),y=m(y,g,p,M,f[l+13],21,1309151649),M=m(M,y,g,p,f[l+4],6,-145523070),p=m(p,M,y,g,f[l+11],10,-1120210379),g=m(g,p,M,y,f[l+2],15,718787259),y=m(y,g,p,M,f[l+9],21,-343485551),M=r(M,u),y=r(y,c),g=r(g,d),p=r(p,h);return t(M)+t(y)+t(g)+t(p)}function _u(e){const n="function"==typeof e?e.toString():e;if("string"!=typeof n)throw Error("Unexpected type "+typeof e+" while parsing function");let t,r="",o=!1,i=!1,a=!1,s="",m=0,l=0,u=[],c={},d="",h=['"',"'","`"],f=!1,M=!1,y=!1,g=!1,p=!1,b=!1,w="";for(let e=0;e<n.length;e++)if(y||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])y=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(y||g)continue;if(n[e]===d&&!f&&d)d="",r+=n[e];else if(d)f="\\"===n[e]&&!f,r+=n[e];else if(h.includes(n[e])&&!f)d=n[e],r+=n[e];else if("("===n[e]){if(m++,""!==r.trim()){if("function"===r.trim())a=!0;else if("async"!==r.trim()){s=r.trim();let e=s.match(/^([a-zA-Z0-9_]+)<[a-zA-Z0-9_]+>$/);e&&(s=e[1])}r=""}}else if(")"===n[e])m===l+1&&(M?(c.default=r.trim(),M=!1):r&&(c.name=r.trim()),(c.name||c.default)&&(u.push(c),c={}),r=""),l++;else if(p&&"}"!==n[e])r+=n[e];else{if(m&&m===l&&":"===n[e]){const r=n.substring(e+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!r)throw Error("Unexpected ':' while parsing function");w=r[1],t=n.substring(e+r[0].length).trim();break}if(!(r||"="!==n[e]||">"!==n[e+1]||m!==l||l||o)){c.name=n.slice(0,e).trim(),u.push(c),c={},o=!0,t=bbn.fn.substr(n,e+2).trim();break}if(m===l&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(c.name=r.trim(),u.push(c),c={},r=""),o=!0,e++;continue}if("="===n[e]&&m>l&&!M)c.name=r.trim(),r="",M=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(m>l))throw Error("Unexpected ',' while parsing function");M?(c.default=r.trim(),M=!1):r&&(c.name=r.trim()),(c.name||c.default)&&(u.push(c),c={}),r=""}else if("{"===n[e]||"}"===n[e]){if(m===l){t=n.substring(e).trim();break}m>l?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(o){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(i=!0),m>l?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else y=!0,r="";if(!t){if(!o)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(b=!0);const v=u.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:u,argString:v,isArrow:o,hasFunction:a,name:s,isAsync:i,isBinary:b,hash:Iu(t+(s?"-"+s:"")+(v?"-"+v:"")),returnType:w}}function Cu(e,n,t){if(t||(t=[]),e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(![void 0,Object,Array,null].includes(null==e?void 0:e.constructor)||![void 0,Object,Array,null].includes(null==n?void 0:n.constructor))return!1;let r=Object.keys(e).sort(),o=Object.keys(n).sort();if(ku(r)!==ku(o))return!1;let i=!0;if(e&&"object"==typeof e){if(t.includes(e))return i;t.push(e)}return au(r,t=>{if(!Cu(e[t],n[t]))return i=!1,!1}),i}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=_u(e),r=_u(n),o=t.hash===r.hash;return o&&t.isBinary&&(o=!1),o}return!1}function Pu(e,n,t){switch(t){case"===":case"=":case"equal":case"eq":case"is":return e===n;case"!==":case"notequal":case"neq":case"isnot":return e!==n;case"!=":case"different":return e!=n;case"contains":case"contain":case"icontains":case"icontain":return!wu(e)&&!wu(n)&&-1!==yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!vu(e)&&!vu(n))||-1===yu(e.toLowerCase()).indexOf(yu(n.toLowerCase()));case"starts":case"start":return!vu(e)&&!vu(n)&&("string"!=typeof e&&(e=e.toString()||""),"string"!=typeof n&&(n=n.toString()||""),0===e.indexOf(n));case"startswith":case"startsi":case"starti":case"istarts":case"istart":return!vu(e)&&!vu(n)&&0===yu(e).toLowerCase().indexOf(yu(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!vu(e)&&!vu(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!vu(e)&&!vu(n)&&yu(e).toLowerCase()===yu(n).toLowerCase();case"gt":case">":return e>n;case"gte":case">=":return e>=n;case"lt":case"<":return e<n;case"lte":case"<=":return e<=n;case"isnull":return null===e;case"isnotnull":return null!==e;case"isempty":return""===e;case"isnotempty":return""!==e;case"==":if(su(e,n))return Cu(e,n);default:return e==n}}function Gu(e,n){if(!n.conditions||!n.logic||!mu(n.conditions))throw new Error("Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects");let t="AND"===n.logic;return au(n.conditions,r=>{let o;if(r.conditions&&mu(r.conditions))o=Gu(e,r);else if(o=Pu(Mu(e,r.field),r.value,r.operator),o){let n=r.field.split("."),t=n.pop();n.length&&au(n,n=>e=e[n]),void 0===Mu(e,t)&&void 0!==r.value&&(o=!1)}if(o){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function Ou(e,n="="){if(!su(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!mu(e.conditions)){let t=[];iu(e,(e,r)=>{su(e)&&"object"==typeof e.conditions?t.push(Ou(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Bu(e,n,t=null,r="=",o=0,i=!1){if(!Xl(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let a,s,m=!1;if(n)if("string"==typeof n)a={conditions:[{field:n,value:t,operator:r||"="}]};else if(i=!0===r,o="number"==typeof t?t:i?e.length-1:0,"function"==typeof n)m=!0,s=n;else if(su(n))if("field"in n&&"value"in n)a={conditions:[n],logic:"AND"};else if("conditions"in n)a=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});a={conditions:e,logic:"AND"}}else mu(n)&&(a={conditions:n,logic:"AND"});else m=!0,s=e=>Gu({value:e},Ou({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(m||a){if("number"!=typeof o&&(o=i?e.length-1:0),!s){const e=Ou(a);s=n=>Gu(n,e)}if(i)for(let n=o;n>=0;n--){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}else for(let n=o;n<e.length;n++){if(bbn.env._enumerated.push(!0),s(e[n]))return bbn.env._enumerated.pop(),e[n],n;bbn.env._enumerated.pop()}}return-1}function xu(e,n,t=null,r="=",o=0,i=!1,a=!1){let s=Bu(e,n,t,r,o,i);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?i:a}function Lu(e,n=null,t=!1){let r=Bu(bbn.env.loaders,{key:e});if(r>-1){let o=bbn.env.loaders.splice(r,1)[0],i=xu(bbn.env.loadersHistory,{key:e,start:o.start});return i&&(i.loading=!1,i.duration=(new Date).getTime()-o.start,"string"==typeof n?(i.errorMessage=n,i.error=!t,i.abort=t):su(n)&&(i.success=!0)),!0}return!1}function Nu(e){let n=Bu(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function ju(e,n,t=null,r="=",o=0){if(!mu(e))try{e=Array.from(e)}catch(n){throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array")}let i={};const a=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)i=n;else if("string"==typeof n)i[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let m;m="function"==typeof n?n:(e,n)=>Gu(e,i);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(m(e[n],n)&&(bbn.env._enumerated.pop(),a.push(e[n]),bbn.env._enumerated.push(!0),o&&a.length>=o)));n++)bbn.env._enumerated.pop();return a}function Ru(e){if(bu(e)){bbn.var.colors||(bbn.var.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;iu(e,(e,n)=>{bbn.var.colors[n]=e,t.insertRule(".bbn-"+n+", .bbn-color-text-"+n+" {color: "+e+" !important;}",r),t.insertRule("svg.bbn-"+n+", .bbn-"+n+" svg, svg.bbn-color-text-"+n+", .bbn-color-text-"+n+" svg {fill: "+e+";}",r),t.insertRule(".bbn-bg-"+n+", .bbn-color-bg-"+n+", .bbn-color-background-"+n+" {background-color: "+e+" !important;}",r),t.insertRule(".bbn-border-"+n+", .bbn-color-border-"+n+" {border-color: "+e+" !important;}",r),t.insertRule(".bbn-color-"+n+" {border-color: "+e+"; background-color: "+e+"; color: "+e+";}",r)})}}function Fu(e,n=null,t=""){if(e&&"FORM"===e.tagName){let r=(n,t)=>{let r=document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",n),r.setAttribute("value",t),e.appendChild(r)};n=JSON.parse(JSON.stringify(n||{})),t=t||"",n&&iu(n,(n,o)=>{let i=t?`${t}[${o}]`:o;n instanceof Date?r(i,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const o=`${i}[${t}]`;"object"==typeof n?Fu(e,n,o):r(o,n.toString())}):"object"!=typeof n||n instanceof File?r(i,n.toString()):Fu(e,n,i)})}}function Yu(e,n){let t=0;au(n,n=>{n.style[e]="auto"}),au(n,(n,r)=>{let o=n.getBoundingClientRect(),i=o[e]%1?o[e]-o[e]%1+1:o[e];i>t&&(t=i)}),au(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function Zu(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Wu(e,n,t,r=""){return t.toString().replace(su(e)?e:new RegExp(Zu(e),"g"+r),n)}function Uu(e,n,t){let r={};return n&&iu(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Iu((t||"json")+JSON.stringify(r))}function qu(e,n=null,t=null,r=null,o=null,i=null){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(i=e.abort),e.failure&&(o=e.failure),e.success&&(r=e.success),e.data&&(t=e.data),e.datatype&&(n=e.datatype),e=e.url),e&&e&&"string"==typeof e){-1===e.indexOf("://")&&(e=Wu("//","/",e)),n||(n="json");let a=Uu(e,t,n),s=Nu(a);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&lu(t||{},{_bbn_token:bbn.env.token});const m=new AbortController;let l={responseType:n,signal:m.signal};"text"===n?l.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?l.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(l.headers={accept:"text/html","Content-Type":"text/html"});let u="get";su(t)&&bu(t)>0&&(l.data=t,u="post");let c=Kl.run(u,e,l).then(n=>{if(Lu(a,n),bbn.fn.defaultEndLoadingFunction(e,d,t,n),200===n.status)nu(r)&&r(n.data,n.headers);else{let e=1;nu(o)&&(e=o(c,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(c,n.message,n)}return n}).catch(n=>{let r=Kl.isCancel(n);if(Lu(a,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,d,t,n),r){let t=1;nu(i)&&(t=i(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;nu(o)&&(e=o(c,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(c,n.message,n.response)}return n.response}),d=fu(a,c,m);return bbn.fn.defaultStartLoadingFunction(e,d,t,a),c}}const $u=new TextDecoder;function Vu(e){return $u.decode(e)}function Ku(e,n){if(e&&Ql(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&ru(t,-r)===n)return ru(t,0,t.length-r)}return""}const Ju=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],Xu={years:"y",year:"y",YEARS:"y",YEAR:"y",Years:"y",Year:"y",YYYY:"y",YY:"y",yyyy:"y",yy:"y",months:"m",month:"m",Months:"m",Month:"m",MONTHS:"m",MONTH:"m",MMMM:"m",MMM:"m",MM:"m",weekday:"e",WEEKDAY:"e",ee:"e",EE:"e",ddd:"e",days:"d",day:"d",Days:"d",Day:"d",DAYS:"d",DAY:"d",DD:"d",dd:"d",hours:"h",hour:"h",Hours:"h",Hour:"h",HOURS:"h",HOUR:"h",HH:"h",hr:"h",hh:"h",milliseconds:"x",millisecond:"x",Milliseconds:"x",Millisecond:"x",MILLISECONDS:"x",MILLISECOND:"x",minutes:"i",minute:"i",Minutes:"i",Minute:"i",MINUTES:"i",MINUTE:"i",II:"i",ii:"i",mn:"i",mm:"i",min:"i",ms:"x",SSS:"x",sss:"x",SS:"s",ss:"s",seconds:"s",second:"s",Seconds:"s",Second:"s",SECONDS:"s",SECOND:"s",sec:"s",WW:"w",Y:"y",y:"y",M:"m",m:"m",e:"e",E:"e",D:"d",d:"d",H:"h",h:"h",n:"i",i:"i",s:"s",S:"s",W:"w",w:"w",ZZ:"z",Z:"z"},Qu={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function ec(...e){if(!e.length)return!1;for(let n of e)if(null!==n&&("object"==typeof n||"function"==typeof n))return!1;return!0}var nc,tc,rc,oc,ic=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},ac=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};const sc=jl.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class mc{static fromUnit(e,n){const t=Xu[n]||"ms",r=["y"===t?e:0,"m"===t?e:0,"w"===t?e:0,"d"===t?e:0,"h"===t?e:0,"i"===t?e:0,"s"===t?e:0,["y","m","w","d","h","i","s"].includes(t)?0:e],o=new jl.Duration(...r);return new mc(o)}constructor(e,n,t,r,o,i,a,s,m){nc.add(this),tc.set(this,void 0),rc.set(this,void 0),e instanceof jl.Duration?ic(this,tc,e,"f"):ic(this,tc,"object"==typeof e?new jl.Duration(e.years||0,e.months||0,e.weeks||0,e.days||0,e.hours||0,e.minutes||0,e.seconds||0,e.milliseconds||0,0,0):new jl.Duration(e||0,n||0,t||0,r||0,o||0,i||0,a||0,s||0,0,0),"f");const l=Xu[m||""]||m;ic(this,rc,l||"ms","f"),xu(Ju,e=>e[0]===l),Object.defineProperty(this,"isValid",{value:!1,writable:!1,configurable:!0})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return ac(this,tc,"f")}years(e=!1){return ac(this,nc,"m",oc).call(this,"year",e)}months(e=!1){return ac(this,nc,"m",oc).call(this,"month",e)}weeks(e=!1){return ac(this,nc,"m",oc).call(this,"week",e)}days(e=!1){return ac(this,nc,"m",oc).call(this,"day",e)}hours(e=!1){return ac(this,nc,"m",oc).call(this,"hour",e)}minutes(e=!1){return ac(this,nc,"m",oc).call(this,"minute",e)}seconds(e=!1){return ac(this,nc,"m",oc).call(this,"second",e)}toJSON(){return this.value.toJSON()}asYears(){return ac(this,tc,"f").total({unit:"year",relativeTo:sc})}asMonths(){return ac(this,tc,"f").total({unit:"month",relativeTo:sc})}asWeeks(){return ac(this,tc,"f").total({unit:"week",relativeTo:sc})}asDays(){return ac(this,tc,"f").total({unit:"day",relativeTo:sc})}asHours(){return ac(this,tc,"f").total({unit:"hour",relativeTo:sc})}asMinutes(){return ac(this,tc,"f").total({unit:"minute",relativeTo:sc})}asSeconds(){return ac(this,tc,"f").total({unit:"second",relativeTo:sc})}add(e,n){let t=ac(this,rc,"f");if(n)if(Xu[n]){const e=xu(Ju,e=>e[0]===Xu[n]);e&&(t=e[1])}else t=n;const r=t+"s";if(!["years","months","weeks","days","hours","minutes","seconds","milliseconds"].includes(r))throw new Error("Invalid unit for duration: "+(null!=n?n:t));const o={[r]:e},i=ac(this,tc,"f").add(o);return new mc(i,void 0,void 0,void 0,void 0,void 0,void 0,void 0,ac(this,rc,"f"))}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=ac(this,tc,"f");return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:sc}):e.total({unit:"millisecond"})}}tc=new WeakMap,rc=new WeakMap,nc=new WeakSet,oc=function(e,n){const t=ac(this,tc,"f");if(n)switch(e){case"year":return t.years;case"month":return t.months;case"week":return t.weeks;case"day":return t.days;case"hour":return t.hours;case"minute":return t.minutes;case"second":return t.seconds}const r=t.total({unit:e,relativeTo:sc});return Math.floor(r)};var lc,uc=function(e,n,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!o:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,t):o?o.value=t:n.set(e,t),t},cc=function(e,n,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?e!==n||!r:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)};class dc{constructor(e){this.__bbnNoData=!0,this.__isBbnDt=!0,lc.set(this,void 0),this.getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),o=[t,...navigator.languages];for(let e=0;e<o.length;e++){if(!o[e])continue;const n=new Intl.DateTimeFormat(o[e],{weekday:"long"});for(let e=0;e<7;e++){const t=new Date(2023,0,1+e);if(n.format(t).toLowerCase()===r)return e}}throw new Error(`Unknown weekday name '${e}' for locale '${t}'`)},Object.defineProperty(this,"isValid",{value:!0,writable:!1,configurable:!0}),uc(this,lc,e,"f");const n=new Date;Object.defineProperty(this,"defaultValue",{value:{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:n.getHours(),minute:n.getMinutes(),second:n.getSeconds(),millisecond:n.getMilliseconds()},writable:!1,configurable:!1})}setValid(e){Object.defineProperty(this,"isValid",{value:e,writable:!1,configurable:!1})}get value(){return cc(this,lc,"f")}get hasFullDate(){return"year"in this.value&&"month"in this.value&&"day"in this.value}toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=dc.systemTimeZoneId;let n;switch(this.kind){case"dateTime":return this.value.toZonedDateTime(e).toInstant().epochMilliseconds;case"date":return this.value.toZonedDateTime({timeZone:e,plainTime:{hour:this.defaultValue.hour,minute:this.defaultValue.minute,second:this.defaultValue.second,millisecond:this.defaultValue.millisecond}}).toInstant().epochMilliseconds;case"time":{const t=this.value;n=`${jl.Now.plainDateISO().toString()}T${t.toString()}[${e}]`}case"yearMonth":n=`${this.value.toPlainDate({day:1}).toString()}T00:00[${e}]`;case"monthDay":{const t=this.value,r=jl.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return jl.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return jl.Now.zonedDateTimeISO();case"dateTime":return jl.Now.plainDateTimeISO();case"date":return jl.Now.plainDateISO();case"time":return jl.Now.plainTimeISO();case"yearMonth":{const e=jl.Now.plainDateISO();return new jl.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=jl.Now.plainDateISO();return new jl.PlainMonthDay(e.month,e.day,void 0,e.year)}default:throw new Error(`Unsupported kind '${e}' in nowForKind`)}}withValue(e){return new(0,this.constructor)(e)}static compare(e,n,t){if(!e||!n)throw new TypeError("Both arguments must be Temporal values");const r=jl.Now.timeZoneId();let o=Xu[t]?xu(Ju,e=>e[0]===Xu[t])[1]:void 0;o=o?o+"s":void 0;const i=e=>e instanceof dc,a=e=>i(e)?e.value:e,s=e=>{if(i(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return jl.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return jl.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof jl.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},m=a(e),l=a(n);if(m.constructor===l.constructor){const e=m.constructor,n=e.compare(m,l);if(void 0===o){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof m.until||"function"!=typeof m.since)throw new TypeError("This Temporal type does not support until/since");return m[1===n?"since":"until"](l,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}const u=new Set(["zoned","dateTime","date","yearMonth"]);if(i(e)&&i(n)&&u.has(e.kind)&&u.has(n.kind)){const t=s(e),r=s(n),i=jl.ZonedDateTime.compare(t,r);if(void 0===o)return i;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===i?"since":"until"](r,{smallestUnit:o,largestUnit:o,roundingMode:"floor"}).sign}throw new TypeError("Cannot compare different Temporal or bbnDt types")}static parse(e,n,t="auto",r){return bbn.dt(e,n,t,r)}parse(e,n,t){return dc.parse(e,n,t||this.kind)}compare(e,n){return e instanceof dc||(e=bbn.dt(e,null,this.kind)),dc.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof mc){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new mc(e),t=this.value.add(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=mc.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof jl.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof mc){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new mc(e),t=this.value.subtract(n.value);return new this.constructor(t)}{if(!n)throw new Error("Unit must be specified when adding a number");const t=mc.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return mc.fromUnit(e,n)}isBefore(e,n){return this.compare(e,n)<0}isBeforeOrSame(e,n){return this.compare(e,n)<=0}isAfter(e,n){return this.compare(e,n)>0}isAfterOrSame(e,n){return this.compare(e,n)>=0}isSame(e,n){return 0===this.compare(e,n)}equals(e){return this.isSame(e)}toJSON(){if("toZonedDateTime"in cc(this,lc,"f")){const e=cc(this,lc,"f").toZonedDateTime(dc.systemTimeZoneId).withTimeZone("UTC");return bbn.dt(e).format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}if("zoned"===this.kind)return this.timezone("America/New_York").format("YYYY-MM-DDTHH:II:SS.SSS")+"Z"}timezone(e){switch(this.kind){case"zoned":if(void 0===e){return this.value.timeZoneId}{const n=this.value.withTimeZone(e);return bbn.dt(n)}case"dateTime":if(void 0===e){const e=`${this.value.toString()}[${dc.systemTimeZoneId}]`;return jl.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=jl.ZonedDateTime.from(n);return bbn.dt(t)}default:throw new Error(`timezone() is not supported for kind '${this.kind}'`)}}toString(){return new Date(this.valueOf()).toString()}year(e){if(this.value){if(!("year"in this.value))throw new Error("year() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({year:e});return new this.constructor(n)}return this.value.year}}month(e){if(this.value){if(!("month"in this.value))throw new Error("month() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({month:e});return new this.constructor(n)}return this.value.month}}day(e){if(this.value){if(!("day"in this.value))throw new Error("day() is not supported for this type");if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({day:e});return new this.constructor(n)}return this.value.day}}hour(e){if(this.value){if(!("hour"in this.value)){if(this.hasFullDate)return 0;throw new Error("hour() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({hour:e});return new this.constructor(n)}return this.value.hour}}minute(e){if(this.value){if(!("minute"in this.value)){if(this.hasFullDate)return 0;throw new Error("minute() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({minute:e});return new this.constructor(n)}return this.value.minute}}second(e){if(this.value){if(!("second"in this.value)){if(this.hasFullDate)return 0;throw new Error("second() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({second:e});return new this.constructor(n)}return this.value.second}}millisecond(e){if(this.value){if(!("millisecond"in this.value)){if(this.hasFullDate)return 0;throw new Error("millisecond() is not supported for this type")}if(void 0!==e&&!(e instanceof Event)){const n=this.value.with({millisecond:e});return new this.constructor(n)}return this.value.millisecond}}weekday(e,n){if(this.value){if(!("dayOfWeek"in this.value))throw new Error("weekday() is not supported for this type");return void 0===e||e instanceof Event?this.value.dayOfWeek%7:this.setWeekday(e,n)}}date(e){if(this.value){if(!this.hasFullDate)throw new Error("date() is not supported for this type");return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD:this.parse(e,"Y-m-d")}}datetime(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.YYYY+"-"+this.MM+"-"+this.DD+" "+this.HH+":"+this.II+":"+this.SS:"date"===this.kind?this.parse(this.date()+" "+e,"Y-m-d 00:00:00","dateTime"):this.parse(e,"Y-m-d H:i:s")}time(e){return!(0 in arguments)||void 0===e||e instanceof Event?this.HH+":"+this.II+":"+this.SS:"zoned"===this.kind?this.parse(this.date()+" "+e+" GMT"+this.value.timeZoneId,"Y-m-d H:i:s[ GMT]Z","dateTime"):["dateTime","date"].includes(this.kind)?this.parse(this.date()+" "+e,"Y-m-d H:i:s","dateTime"):this.parse(e,"H:i:s")}fdate(e=!1,n=!1){return this.value?bbn.dt.locales.formatters[e?"long":"numeric"].format(new Date(this.toEpochMs())):""}ftime(e=!0){return this.value?this.format("HH:II"+(e?":SS":"")):""}week(){if(!this.value)return;const e=this.year(),n=new Date(Date.UTC(e,this.month()-1,this.day())),t=new Date(Date.UTC(e,0,1)),r=Math.floor((n.getTime()-t.getTime())/864e5),o=t.getUTCDay();let i=(bbn.dt.locales.firstDayOfWeek-o+7)%7;const a=0===i?7:i;if(r<a)return 1;const s=r-a;return 2+Math.floor(s/7)}get YYYY(){if("year"in this.value)return this.year().toString()}get YY(){if("year"in this.value)return ru(this.year().toString(),2,2)}get MMMM(){if("month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if("month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if("month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if("month"in this.value)return this.month().toString()}get EE(){if("dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if("day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if("day"in this.value)return this.day().toString()}get dddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if("dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if("day"in this.value)return this.day().toString()}get HH(){if("hour"in this.value){const e=parseInt(this.hour().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.hour.toString().padStart(2,"0")}get H(){return"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get mm(){if("minute"in this.value){const e=parseInt(this.minute().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.minute.toString().padStart(2,"0")}get I(){return"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if("second"in this.value){const e=parseInt(this.second().toString());return e<10?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.second.toString().padStart(2,"0")}get SSS(){if("millisecond"in this.value){const e=parseInt(this.millisecond().toString());return e<10?"00"+e.toString():e<100?"0"+e.toString():e.toString()}if(this.hasFullDate)return this.defaultValue.millisecond.toString().padStart(3,"0")}get S(){return"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if("weekOfYear"in this.value)return this.value.weekOfYear.toString()}get Z(){if("zoned"===this.kind){return this.value.offset}}get ZZ(){if("zoned"===this.kind){return this.value.offset.replace(":","")}}unix(e=!1){if("number"==typeof e){return new(0,this.constructor)(new Date(e))}return e?this.toEpochMs():Math.floor(this.toEpochMs()/1e3)}format(e="YYYY-MM-DD HH:II:SS"){let n="";if(e){const t=new RegExp("([|]|"+Object.keys(Xu).join("|")+")","g");let r=0;au(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in Xu)if(e in this&&ec(this[e]))n+=this[e];else{n+=this[Qu[Xu[e]]]||""}else n+=e;else r--;else r++})}return n}calendar(e){const n=new this.constructor,t=this.startOf("day"),r=n.startOf("day"),o=t.diff(r,"day"),i={numeric:"auto"};e&&(i.style="short");const a=new Intl.RelativeTimeFormat(bbn.env.lang,i);let s="",m=[],l="";if(o>=-1&&o<=1)m=a.formatToParts(o,"day");else if(o>=-6&&o<-1)l=this.dddd+", ",m=a.formatToParts(o,"day");else{if(!(o<=6&&o>1))return this.fdate();l=this.dddd,m=[]}return bbn.fn.each(m,e=>{s+=e.value}),`${l}${s} ${this.ftime()}`}matchFormat(e,n){try{return this.parse(e,n),!0}catch(e){return!1}}getWeekday(e,n="long",t){if(!n){const n=this.getWeekday(e,"narrow",t),r=this.getWeekday(e,"short",t),o=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:o,long:o,short:r,narrow:n}}let r;if("letter"===n)r="narrow";else if("abbr"===n)r="short";else if("full"===n)r="long";else{if(!["long","short","narrow"].includes(n))throw new Error("Invalid mode for getWeekDay: "+n+'. Allowed values are "long", "short", "narrow", "letter", "abbr", "full".');r=n}return new Date(2023,0,1+e).toLocaleDateString([t||bbn.env.lang,...navigator.languages],{weekday:r})}setWeekday(e,n=!1,t){let r;if("string"==typeof e&&(e=this.getWeekdayIndex(e,t)),"number"!=typeof e)throw new TypeError("weekday must be a number (0–6) or a string");if(e<0||e>6)throw new RangeError("weekday number must be between 0 and 6");r=e;const o=this.weekday();let i;return n?(i=(o-r+7)%7,0===i&&(i=7),i=-i):(i=(r-o+7)%7,0===i&&(i=7)),this.add(i,"d")}diff(e,n="",t=!1){let r;if(e instanceof dc)r=e.toEpochMs();else if(e instanceof jl.ZonedDateTime||e instanceof jl.PlainDateTime||e instanceof jl.PlainDate||e instanceof jl.PlainTime||e instanceof jl.PlainYearMonth||e instanceof jl.PlainMonthDay){r={kind:this.kind,value:e}.toEpochMs()}else{if("string"!=typeof e&&"number"!=typeof e)throw bbn.fn.log("DATE??",e),new TypeError("Unsupported date argument for diff");r=this.parse(String(e),"").toEpochMs()}let o=this.toEpochMs()-r;if(t&&(o=Math.abs(o)),!n)return o;const i=Xu[n]||n,a=xu(Ju,e=>e[0]===i);if(!a)throw new Error("Invalid unit for diff: "+n);const[,,s]=a;return Math.floor(o/s)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of Ju)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){dc.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=Xu[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let o=this.diff(n,r);const i=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),a=xu(Ju,e=>e[0]===r);if(!a)throw new Error("Invalid unit for fromNow: "+e);let[,s]=a;return"millisecond"===s&&(s="second",o=Math.round(o/1e3)),bbn.fn.log("FROM NOW",o,s,i),i.format(o,s)}from(e,n=""){const t=this.diff(e),r=Xu[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const o=this.diff(e,r),i=r;return o>0?Yl("%d %s before",o,i):o<0?Yl("%d %s after",-o,i):Yl("The same %s",i)}startOf(e="d"){var n,t;const r=Xu[e]||e;if(!r)throw new Error("Invalid unit for startOf: "+e);let o=this.value;const i=e=>{const n={};return"hour"in e?(Object.assign(n,{hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),e.with(n)):e};switch(r){case"y":if(!("year"in o))throw new Error('startOf("y") only valid for year-based types');o=i(o.with({month:1,day:1}));break;case"m":if(!("month"in o))throw new Error('startOf("m") only valid for month-based types');o=i(o.with({day:1}));break;case"w":{const e="toPlainDate"in o?o.toPlainDate():o,r=e.dayOfWeek-1,a=e.subtract({days:r});o="toPlainDateTime"in o?i(a.toPlainDateTime(null!==(t=null===(n=o.toPlainTime)||void 0===n?void 0:n.call(o))&&void 0!==t?t:jl.PlainTime.from("00:00"))):a;break}case"d":o=i(o);break;case"h":o=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":o=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":o=o.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(o)}endOf(e="d"){const n=jl.Now.timeZoneId(),t=Xu[e]||e;let r,o=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return jl.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${jl.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return jl.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=jl.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return jl.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=o.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=o.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(o.toPlainDate().dayOfWeek-1);r=o.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=o.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=o.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=o.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=o.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const i=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(i);case"dateTime":return this.withValue(i.toPlainDateTime());case"date":return this.withValue(i.toPlainDate());case"time":return this.withValue(i.toPlainTime());case"yearMonth":{const e=i.toPlainDate();return this.withValue(new jl.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=i.toPlainDate();return this.withValue(new jl.PlainMonthDay(e.month,e.day))}default:throw new Error("Unsupported kind in endOf")}}clone(){return this.withValue(this.value)}isLeapYear(){if(this.isValid){const e=this.year();return e%4==0&&e%100!=0||e%400==0}return!1}daysInMonth(){if(this.isValid)switch(this.month()){case 2:return this.year()%4==0?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}}valueOf(){return this.unix(!0)}}lc=new WeakMap,dc.systemTimeZoneId=jl.Now.timeZoneId();class hc extends dc{constructor(e,n,t,r,o,i,a){let s;if(e)if(void 0===n)if(e instanceof jl.PlainDateTime)s=e;else if(e instanceof Date)s=new jl.PlainDateTime(e.getFullYear(),e.getMonth()+1,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");s=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(dc.systemTimeZoneId).toPlainDateTime()}else s=new jl.PlainDateTime(e,n,t||1,r||0,o||0,i||0,a||0);else s=jl.PlainDateTime.from(jl.Now.plainDateTimeISO());super(s),this.kind="dateTime"}format(e){return[!0,"long","full"].includes(e)&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),dc.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"2-digit",day:"2-digit"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class fc extends dc{constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof jl.PlainDate)r=e;else if(e instanceof Date)r=new jl.PlainDate(e.getFullYear(),e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);r=new jl.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new jl.PlainDate(e,n,t||1);else r=jl.PlainDate.from(jl.Now.plainDateISO());super(r),this.kind="date"}compareSameKind(e){const n=jl.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=xu(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),dc.prototype.format.call(this,e)}ftime(e=!1){return"00:00"+(e?":00":"")}fdate(e=!1,n=!1){const t=new Date(this.year(),this.month()-1,this.day()),r=Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},n?{weekday:e?"long":"short"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],r).format(t)}}class Mc extends dc{constructor(e,n,t,r,o,i,a,s){let m;if(e)if(void 0===n)if(e instanceof jl.ZonedDateTime)m=e;else if(e instanceof Date)m=function(e,n=!1,t=jl.Now.timeZoneId()){const r=jl.Instant.fromEpochMilliseconds(e.getTime()).toZonedDateTimeISO(t);return n?r:r.toPlainDateTime()}(e,!0);else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtZoned");m=jl.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{m=new jl.PlainDateTime(n,t,r||1,o||0,i||0,a||0,s||0).toZonedDateTime(e||jl.Now.timeZoneId())}else m=jl.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(m),this.kind="zoned"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1,this.day(),this.hour(),this.minute(),this.second()),o=Object.assign(Object.assign({year:"numeric",month:e?"long":"numeric",day:"numeric"},t?{weekday:e?"long":"short"}:{}),n?{hour:e?"2-digit":"numeric",minute:"2-digit"}:{});return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}class yc extends dc{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainYearMonth)t=e;else if(e instanceof Date)t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1);else{if("number"!=typeof n)throw new Error("Invalid value for bbnDtDateTime");{const e=new Date(n);t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new jl.PlainYearMonth(e,n);else{const e=new Date;t=new jl.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t),this.kind="yearMonth"}format(e){return!0===e&&(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=xu(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),dc.prototype.format.call(this,e)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(this.year(),this.month()-1),o={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}class gc extends dc{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof jl.PlainMonthDay)t=e;else if(e instanceof Date)t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");{const n=new Date(e);t=new jl.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new jl.PlainMonthDay(e,n);else{const e=new Date;t=new jl.PlainMonthDay(e.getMonth()+1,e.getDate())}super(t),this.kind="monthDay"}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(2e3,this.month()-1,this.day()),o={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],o).format(r)}}function pc(e,n,t){let r="";const o=e.some(e=>"dayPeriod"===e.type),i=o||"h12"===n||"h11"===n,a=!!t.weekday,s="short"===t.month||"long"===t.month,m="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!a&&!s;for(const n of e)switch(n.type){case"year":"2-digit"===t.year?r+="YY":r+="YYYY";break;case"month":if("short"===t.month){r+="MMM";break}if("long"===t.month){r+="MMMM";break}if(m){r+="M";break}/^\d+$/.test(n.value)?r+=2===n.value.length?"MM":"M":r+=n.value.length>3?"MMMM":"MMM";break;case"day":if(m){r+="D";break}r+=2===n.value.length?"DD":"D";break;case"weekday":"short"===t.weekday||"narrow"===t.weekday?r+="ddd":"long"===t.weekday?r+="dddd":r+=n.value.length>3?"dddd":"ddd";break;case"hour":r+=i?2===n.value.length?"hh":"h":2===n.value.length?"HH":"H";break;case"minute":r+="II";break;case"second":r+="SS";break;case"dayPeriod":r+="A";break;case"timeZoneName":r+="z";break;case"literal":if(!n.value)break;if(/[A-Za-zÀ-ÖØ-öø-ÿ]/.test(n.value)){r+=`[${n.value.replace(/]/g,"\\]")}]`}else r+=n.value;break;default:r+=n.value}return r}const bc=()=>{if(Object.keys(bbn.dt.locales).length)return;const e=[bbn.env.lang,...navigator.languages],n=new Intl.DateTimeFormat(e,{month:"long"}),t=new Intl.DateTimeFormat(e,{month:"short"}),r=new Intl.DateTimeFormat(e,{weekday:"long"}),o=new Intl.DateTimeFormat(e,{weekday:"short"}),i=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),m=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),l=new Intl.Locale(e[0]),u=[],c=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);u.push(n.format(r)),c.push(t.format(r))}const d=new Date(2020,1,2),h=[],f=[];for(let e=0;e<7;e++){const n=new Date(d.getTime()+864e5*e);h.push(r.format(n)),f.push(o.format(n))}const{date:M,time:y,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],o=[],i=new Set,a=new Set,s=new Set,m=[{year:"numeric",month:"2-digit",day:"2-digit"},{year:"numeric",month:"numeric",day:"numeric"},{year:"numeric",month:"short",day:"numeric"},{year:"numeric",month:"long",day:"numeric"},{weekday:"short",year:"numeric",month:"short",day:"numeric"},{weekday:"long",year:"numeric",month:"long",day:"numeric"},{year:"numeric",month:"numeric"},{year:"numeric",month:"2-digit"},{year:"numeric",month:"short"},{year:"numeric",month:"long"},{month:"numeric",day:"numeric"},{month:"2-digit",day:"2-digit"},{month:"short",day:"numeric"},{month:"long",day:"numeric"}],l=[];for(const r of m){const o=new Intl.DateTimeFormat(e,r),a=pc(o.formatToParts(n),o.resolvedOptions().hourCycle,r);i.has(a)||(i.add(a),t.push({pattern:a,sample:o.format(n),options:r})),r.year&&r.month&&r.day&&l.push(r)}const u=[{hour:"numeric"},{hour:"2-digit",minute:"2-digit"},{hour:"2-digit",minute:"2-digit",second:"2-digit"},{hour:"2-digit",minute:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"},{hour:"2-digit",minute:"2-digit",timeZoneName:"long"}];for(const t of u){const o=new Intl.DateTimeFormat(e,t),i=pc(o.formatToParts(n),o.resolvedOptions().hourCycle,t);a.has(i)||(a.add(i),r.push({pattern:i,sample:o.format(n),options:t}))}for(const t of l)for(const r of u){const i=Object.assign(Object.assign({},t),r),a=new Intl.DateTimeFormat(e,i),m=pc(a.formatToParts(n),a.resolvedOptions().hourCycle,i);s.has(m)||(s.add(m),o.push({pattern:m,sample:a.format(n),options:i}))}return{date:t,time:r,datetime:o}})(e),p=l.getWeekInfo?l.getWeekInfo():{firstDay:1};lu(bbn.dt.locales,{formatters:{short:i,long:a,numeric:s,relative:m},firstDayOfWeek:p.firstDay,monthsLong:u,monthsShort:c,weekdaysLong:h,weekdaysShort:f,locale:l,date:M,time:y,datetime:g})};class wc extends dc{constructor(e,n,t,r){let o;if(e)if(void 0===e)if(e instanceof jl.PlainTime)o=e;else if(e instanceof Date)o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds());else{if("number"!=typeof e)throw new Error("Invalid value for bbnDtDateTime");if(void 0!==n)o=new jl.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);o=new jl.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else o=new jl.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;o=new jl.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(o),this.kind="time"}ftime(e=!1){if(!this.value)return"";const n=new Date(2e3,1,1,this.hour(),this.minute(),this.second()),t={hour:"2-digit",minute:"2-digit"};e&&(t.second="2-digit");return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],t).format(n)}}const vc=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch(n){return e.toLowerCase()}};function Ec(e,n,t="auto",r,o){var i,a,s,m,l,u,c;bc();const d=jl;if(!d)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let h=!0;o||(o=(null===(i=null===bbn||void 0===bbn?void 0:bbn.dt)||void 0===i?void 0:i.locales)||{});const f={monthsLong:null!==(a=null==o?void 0:o.monthsLong)&&void 0!==a?a:bbn.dt.locales.monthsLong,monthsShort:null!==(s=null==o?void 0:o.monthsShort)&&void 0!==s?s:bbn.dt.locales.monthsShort,weekdaysLong:null!==(m=null==o?void 0:o.weekdaysLong)&&void 0!==m?m:bbn.dt.locales.weekdaysLong,weekdaysShort:null!==(l=null==o?void 0:o.weekdaysShort)&&void 0!==l?l:bbn.dt.locales.weekdaysShort},M=(null===bbn||void 0===bbn?void 0:bbn.env)&&(null===(u=bbn.env)||void 0===u?void 0:u.lang)||(null===bbn||void 0===bbn?void 0:bbn.dt)&&(null===(c=bbn.dt)||void 0===c?void 0:c.locale)||Intl.DateTimeFormat().resolvedOptions().locale,y=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function g(n,t="auto"){var o;const i=new hc,a={year:i.year(),month:1,day:1,hour:0,minute:0,second:0,ms:0,hasYear:!1,hasMonth:!1,hasDay:!1,hasHour:!1,hasMinute:!1,hasSecond:!1,hasMs:!1},s="auto"===t,m="zoned"===t.toLowerCase(),l="datetime"===t.toLowerCase(),u="date"===t.toLowerCase(),c="time"===t.toLowerCase(),g="yearmonth"===t.toLowerCase(),p="monthday"===t.toLowerCase(),b=[{token:"YYYY",regex:"\\d{4}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"YY",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);n.year=t>=70?1900+t:2e3+t,n.hasYear=!0}},{token:"Y",regex:"[+-]?\\d{1,6}",apply:(e,n)=>{n.year=parseInt(e,10),n.hasYear=!0}},{token:"MMMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.monthsLong.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MMM",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.monthsShort.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid short month name: "+e);n.month=r+1,n.hasMonth=!0}},{token:"MM",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"mm",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"M",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"m",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid month: "+t);n.month=t,n.hasMonth=!0}},{token:"DD",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"D",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"d",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>31)throw new Error("Invalid day of month: "+t);n.day=t,n.hasDay=!0}},{token:"dddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.weekdaysLong.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=vc(e,M),r=f.weekdaysShort.findIndex(e=>vc(e,M)===t);if(-1===r)throw new Error("Invalid short weekday name: "+e);n.weekday=r}},{token:"EE",regex:"\\d{1}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>7)throw new Error("Invalid weekday number: "+t);n.weekday=t}},{token:"hh",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>12)throw new Error("Invalid 12-hour clock hour: "+t);n.hour=t,n.hasHour=!0,n.uses12Hour=!0}},{token:"HH",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"H",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"h",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>23)throw new Error("Invalid hour: "+t);n.hour=t,n.hasHour=!0}},{token:"II",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"I",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"i",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid minute: "+t);n.minute=t,n.hasMinute=!0}},{token:"SS",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"S",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ss",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"s",regex:"\\d{2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>59)throw new Error("Invalid second: "+t);n.second=t,n.hasSecond=!0}},{token:"ms",regex:"\\d{1,3}",apply:(e,n)=>{const t=parseInt(e,10);if(t<0||t>999)throw new Error("Invalid millisecond: "+t);n.ms=t,n.hasMs=!0}},{token:"WWWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WWW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"WW",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"W",regex:"\\d{1,2}",apply:(e,n)=>{const t=parseInt(e,10);if(t<1||t>53)throw new Error("Invalid week number: "+t);n.week=t}},{token:"ZZ",regex:"(?:Z?[+-]\\d{2}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),o=parseInt(r.slice(0,2),10),i=parseInt(r.slice(2),10);if(o<0||o>23||i<0||i>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+i)}},{token:"Z",regex:"(?:Z?[+-]\\d{2}\\:{1}\\d{2})",apply:(e,n)=>{if("Z"===e||"z"===e)return void(n.offsetMinutes=0);const t="-"===e[0]?-1:1,r=e.slice(1),[o,i]=r.split(":");let a=parseInt(o,10),s=parseInt(i,10);if(a<0||a>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*a+s)}},{token:"z",regex:"[A-Za-z_\\/]+",apply:(e,n)=>{n.timeZone=e}},{token:"A",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}},{token:"a",regex:"(?:AM|PM|am|pm)",apply:(e,n)=>{n.isPM=/pm/i.test(e),n.hasAmPm=!0}}],w=[...b].sort((e,n)=>n.token.length-e.token.length);let v="";const E=[];let T=0,S=0;for(;T<n.length;){if("["===n[T]){let e=T+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");v+=y(n),T=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,T)){e=t;break}e?(v+=`(${e.regex})`,S=v.length,e.apply?E.push(n=>e.apply(n,a)):E.push(()=>{}),T+=e.token.length):(v+=y(n[T]),T+=1)}const D=new RegExp("^"+bbn.fn.substr(v,0,S));let z=D.exec(e);if(!z){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new hc(i.year(),1,1,0,0,0,0);e=t.format(n),h=!1,z=D.exec(e)}}for(let e=1;e<z.length;e++){const n=z[e],t=E[e-1];null!=n&&t&&t(n)}if(a.uses12Hour){if(!a.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=a.hour;a.isPM?e<12&&(e+=12):12===e&&(e=0),a.hour=e}const A=a.hasYear||a.hasMonth||a.hasDay,H=a.hasYear&&a.hasMonth&&a.hasDay,k=a.hasYear&&a.hasMonth&&!a.hasDay,I=!a.hasYear&&a.hasMonth&&a.hasDay,_=a.hasHour||a.hasMinute||a.hasSecond||a.hasMs,C=null!=a.timeZone||null!=a.offsetMinutes;let P;if(m||C&&s){let e;try{e=new d.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms)}catch(e){throw new Error("Invalid date/time components")}if(a.timeZone){const n=d.TimeZone.from(a.timeZone),t=e.toZonedDateTime(n);P=new Mc(t)}else{const e=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.ms)-6e4*(null!==(o=a.offsetMinutes)&&void 0!==o?o:0);P=new Mc(d.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(d.Now.timeZoneId()))}}else if(l||s&&(h||A&&_)){if(!H&&!h)throw new Error("PlainDateTime requires year, month and day");const e=new d.PlainDateTime(a.year,a.month,a.day,a.hour,a.minute,a.second,1e6*a.ms);P=new hc(e)}else if(u||g||p||s&&A&&!_)if(u||H&&s){const e=new d.PlainDate(a.year,a.month,a.day);P=new fc(e)}else if(g||k&&s){const e=new d.PlainYearMonth(a.year,a.month);P=new yc(e)}else if(p||I&&s){const e=new d.PlainMonthDay(a.month,a.day,1972);P=new gc(e)}else{if(!s||!a.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new d.PlainDate(a.year,1,1);P=new fc(e)}}else{if(!(c||s&&!A&&_))throw new Error("No date or time information found in input");{const e=new d.PlainTime(a.hour,a.minute,a.second,1e6*a.ms);P=new wc(e)}}return P.setValid(h),P}if(Array.isArray(n)){let e=null;for(const r of n)try{return g(r,t)}catch(n){e=n}throw null!=e?e:new Error("No format matched")}return g(n,t)}const Tc=["YYYY-MM-DD HH:II:SS.ms","YYYY-MM-DD HH:II:SS","YYYY-MM-DD HH:II:SS[ GMT]Z","YYYY-MM-DD HH:II","YYYY-MM-DDTHH:II:SS.msZ","YYYY-MM-DDTHH:II:SSZ","YYYY-MM-DDTHH:II:SS","YYYY-MM-DDTHH:II","ddd[, ]DD MMM YYYY HH:II:SS[ GMT]","ddd MMM DD YYYY HH:II:SS[ GMT]Z","ddd MMM DD YYYY HH:II:SS","D MMM","D MMMM","D/M","YYYY-MM-DD","YYYY-MM","HH:II:SS","HH:II"];function Sc(e,n,t){const r=e.trim();if(!r)return null;bc();const o=e=>{for(const n of e)try{return Ec(r,n),n}catch(e){}return null};if(n){return o(Array.isArray(n)?n:[n])}const i=new Set,a=Tc.filter(e=>!i.has(e)&&(i.add(e),!0)),s=[...bbn.dt.locales.datetime.map(e=>e.pattern),...bbn.dt.locales.date.map(e=>e.pattern),...bbn.dt.locales.time.map(e=>e.pattern)].filter(e=>!i.has(e)&&(i.add(e),!0)),m=o([...a,...s]);return m||null}const Dc=(e,n=null,t="auto")=>{if(void 0===e)return new hc;if(!e){const e=new hc;return e.setValid(!1),e}if("string"==typeof e){if(n)return Ec(e,n,t,!0);{const n=Sc(e);if(n)return Ec(e,n,t);throw new Error(Yl("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new hc(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new hc(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof jl.PlainDateTime)return new hc(e);if(e instanceof jl.PlainDate)return new fc(e);if(e instanceof jl.PlainTime)return new Mc(e);if(e instanceof jl.PlainYearMonth)return new yc(e);if(e instanceof jl.PlainMonthDay)return new gc(e);if(e instanceof jl.ZonedDateTime)return new Mc(e);if(e instanceof jl.Duration)return new mc(e);throw bbn.fn.log("Invalid date value",e),new Error(Yl("Invalid date value"))};function zc(e){if(arguments.length>1){const e=[];for(let n=1;n<arguments.length;n++)e.push(arguments[n]);e.unshift({_bbn_console_mode:"error",_bbn_console_level:1,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,e)}throw new Error(e)}function Ac(e,n=null,t=null,r=null,o=null){let i=!1;if(n){i=!0;let a,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){zc(e.message||"")}if(s&&void 0===n.url&&(n.url=e),i=t&&nu(t)?t(n,o):bbn.fn.defaultLinkFunction(n,o),o&&s&&void 0!==n.content&&("value"in o?o.value=n.content:o.innerHTML=n.content),i&&s&&n.script&&(i="function"==typeof n.script?n.script(n.data?n.data:{},o||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),nu(r)&&(r=r(e,t))}catch(e){tu(e,n),zc(nu(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},o||!1)),i&&r&&nu(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,o),i&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(a=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,a))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return i}function Hc(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),mu(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),su(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let o;au(n,n=>{let i=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):i?(o="is"+ru(i,0,1).toUpperCase()+ru(i,1).toLowerCase(),void 0===bbn.fn[o]?r.error=i+" "+bbn._("is not a valid type"):bbn.fn[o](e[n])||(r.error=n+" "+bbn._("is not a")+" "+i)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function kc(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Ic(e,n,t,...r){let o=!1;mu(n)||(n=[n]);const i=[];if(au(n,n=>{var t;if(n===String?n="string":n===Number?n="number":n===Array?n="array":n===Boolean?n="boolean":n===Object?n="object":n===Function&&(n="function"),nu(n)){if(i.push(n.name||(null===(t=n.constructor)||void 0===t?void 0:t.name)||n.toString()),e instanceof n)return o=!0,!1}else if(Ql(n)&&nu(bbn.fn["is"+kc(n)])){if(bbn.fn["is"+kc(n)](e))return o=!0,!1;i.push(n)}else zc(`The type ${n} is not recognized`)}),!o)throw tu(["Value given",e,"type",typeof e,"expected",i.join(" or ")]),r.length&&tu(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",i.join(" "+bbn._("or a")+" ")))}function _c(e){if(mu(e))return e.slice().map(e=>"object"==typeof e?_c(e):e);if(su(e)){return lu(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Dc.locales=Object.create(null),Dc.parse=Ec,Dc.guessFormat=Sc,Dc.time=()=>{},Dc.date=()=>{},Dc.dateTime=()=>{},Dc.duration=(e,n)=>e instanceof jl.Duration?new mc(e):mc.fromUnit(e,n),Dc.zoned=()=>{},Dc.monthDay=()=>{},Dc.yearMonth=()=>{};const Cc=(e,n="text/plain")=>{const t=new DataTransfer;t.setData(n,e);const r=new ClipboardEvent("copy",{bubbles:!0,cancelable:!0,clipboardData:t});document.dispatchEvent(r)};function Pc(e,n,t=null,r="="){if(!mu(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let o={};const i=[],a="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,o=n;else if("string"==typeof n)o[n]=t;else if(!a)throw new Error("Search function error: The prop argument should be a string or an object");if("function"==typeof n)for(let t=0;t<e.length;t++)n(e[t],t)&&i.push(e[t]);else if(o=Ou(o,r),o.conditions&&o.logic)for(let n=0;n<e.length;n++)Gu(e[n],o)&&i.push(e[n]);return i}const Gc=[];for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>>1:n>>>1;Gc.push(n)}function Oc(...e){const n=Object.create(null);return e.length&&lu(n,...e),n}function Bc(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||Jl(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),12);if(19===e.length)return new Date(parseInt(ru(e,0,4)),parseInt(ru(e,5,2))-1,parseInt(ru(e,8,2)),parseInt(ru(e,11,2)),parseInt(ru(e,14,2)),parseInt(ru(e,17,2)))}else if(gu(e))return e;return!1}function xc(e,n=""){tu(e)}function Lc(e,n=null,t=null){tu(n,t)}function Nc(e,n,t=null,r=null){return!0}function jc(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!vu(n))return!1;return!0}let Rc=[];function Fc(e){if(Ql(e)&&e){for(;"/"===ru(e,e.length-1);)e=ru(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return ru(e,0,n);if(0===n)return"/"}return""}function Yc(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function Zc(e){if(e&&Ql(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function Wc(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function Uc(e,n,t=null){if(Wc(n))return void n.toBlob(n=>{let t=document.createElement("a");t.download=e,t.href=window.URL.createObjectURL(n),t.className="bbn-no",t.click(),window.URL.revokeObjectURL(t.href)},t||"image/png");t?-1===t.indexOf("/")&&(t="text/"+t):t=su(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let o=null;if(Ql(n))o=new Blob([n],{type:t});else try{o=n}catch(e){tu(e)}r.href=window.URL.createObjectURL(o),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}var qc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function $c(){return qc(this,void 0,void 0,function*(){var e;(null===(e=window.scheduler)||void 0===e?void 0:e.yield)?yield window.scheduler.yield():yield new Promise(requestAnimationFrame)})}var Vc=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function Kc(e){let n;return"checkbox"===e.type?e.checked?(n=e.value,n||(n=1)):n=0:"radio"===e.type?e.checked&&(n=e.value):n=e.value,n}function Jc(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),o={};return au(r,(e,r)=>{if(t=Kc(e),void 0!==t&&!e.disabled){let r=e.name;if(-1===r.indexOf("[]")&&r.indexOf("[")>-1&&r.indexOf("]")>-1&&r.lastIndexOf("]")===r.length-1&&(r=Wu("][",".",r),r=Wu("[",".",r),r=Wu("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=ru(r,0,r.length-2),void 0===o[n]&&(o[n]=[]),o[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=o;for(let r=0;r<n.length;r++)void 0===o[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else o[r]=t}}),o}function Xc(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function Qc(e,n=null){let t=[];if("string"==typeof e&&(e=document.querySelector(e)),e instanceof HTMLElement&&e.parentElement)if("string"==typeof n)for(;e=e.parentElement.closest(n);)t.push(e);else for(!0===n&&t.push(e);e=e.parentElement;)t.push(e);return t}function ed(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function nd(){const e=navigator.userAgent.toLowerCase();return/iPhone|Android/i.test(navigator.userAgent)?"mobile":/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(e)?"tablet":"desktop"}function td(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),tu("RANGE",e);let t=e.cloneContents();tu("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function rd(e){return Ql(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function od(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function id(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function ad(e){let n,t,r={};if(su(e[0])&&1===e.length)return e[0];for(t=0;t<e.length;t++)n=typeof e[t],n=n.toLowerCase(),nu(e[t])?(r.errorFn&&!r.abortFn&&(r.abortFn=e[t]),r.successFn&&!r.errorFn?r.errorFn=e[t]:r.successFn||(r.successFn=e[t])):1===e[t]||!0===e[t]?r.force=!0:"string"===n?r.url?r.datatype=e[t]:0===e[t].indexOf("#")||0===e[t].indexOf(bbn.env.root+"#")?r.url=ru(e[t],bbn.env.root.length):(r.url=e[t],0===r.url.indexOf(bbn.env.root)&&(r.url=ru(r.url,bbn.env.root.length))):e[t]&&"object"===n&&(e[t]instanceof Event?r.e=e[t]:r.ele||1!==e[t].nodeType?"object"===n.toLowerCase()&&(r.obj=e[t]):r.ele=e[t]);return!r.url&&bu(r)&&(r.url=bbn.env.path),void 0===r.obj&&(r.obj={_bbn:"public"}),r.datatype||(r.datatype="json"),r}function sd(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(ru(e,0,7))?e:bbn.env.root+e,bbn.env.path=ru(bbn.env.url,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let o=window.history;if(o){let e=o.state,i={url:bbn.env.path,old_path:bbn.env.old_path||null,data:t||{},reload:!1};e&&e.url===bbn.env.path&&(e.data&&lu(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?od(n):bbn.env.siteTitle,r?(i.reload=!0,o.replaceState(i,n,bbn.env.url)):o.pushState(i,n,bbn.env.url)}}function md(...e){let n=ad(e),t=1;if(!0===n)return!0;if(!n)return md(window.location.href);if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return location.href=bbn.env.url+n.url,!0;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if(Nu(n.url))return!1;if((0===n.url.indexOf("http://")||0===n.url.indexOf("https://"))&&0!==n.url.indexOf(bbn.env.host))return n.e&&n.e.preventDefault(),window.open(n.url),!1;if(n.url!==bbn.env.params.join("/")||1===n.force){if(n.successFn)t=n.successFn(n.url);else if(bbn.fn.defaultPreLinkFunction){let e=bbn.fn.defaultPreLinkFunction(n.url,n.force,n.ele);void 0!==e.data?(lu(n.obj,e.data),t=1):t=e}if(t){1!==t&&"string"==typeof t&&(n.url=t);let e=bbn._("The Ajax call to")+" "+n.url+" ";return qu(n.url,n.datatype,n.obj,t=>{t||tu(e+bbn._("returned no answer")),su(t)&&(0===Object.keys(t).length&&tu(e+bbn._("returned an empty object")),t.new_url?(t.old_path=n.url,n.url=t.new_url):t.url&&n.url!==t.url&&(t.old_path=n.url)),Ac(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==bbn.env.path.indexOf(n.url)&&sd(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}function ld(){let e=bbn.env.width!==window.innerWidth,n=bbn.env.height!==window.innerHeight;if(e||n){e&&(bbn.env.width=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,document.documentElement.style.setProperty("--vw",.01*bbn.env.width+"px")),n&&(bbn.env.height=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,document.documentElement.style.setProperty("--vh",.01*bbn.env.height+"px"));let t=parseInt(ed("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),o=(document.body.className||"").split(" "),i=!1;au(o,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return i=!0,e!==r&&o.splice(n,1,r),!1}),i||o.push(r),bbn.fn.defaultResizeFunction(),document.body.className=o.join(" ")}}function ud(){return"mobile"===nd()}function cd(){return"tablet"===nd()}function dd(){return ud()||cd()}function hd(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function fd(e){const n=String(null!=e?e:"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,o=n[0].toLowerCase();for(let e=1;e<n.length;e++){const o=n[e];t||4!==o.length?r||2!==o.length&&3!==o.length||(r=o.toUpperCase()):t=o[0].toUpperCase()+o.slice(1).toLowerCase()}return{language:o,script:t,region:r}}const Md=Promise.resolve().then(function(){return Gd});function yd(e){var n,t,r;const o=null!==(r=null!==(n=e.baseName)&&void 0!==n?n:null===(t=e.toString)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"und",{region:i}=fd(o),a=i&&Md[i]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:a.firstDay,weekend:a.weekend.slice(),minimalDays:a.minimalDays}}function gd(){!function(){if("undefined"==typeof Intl)return;if("function"!=typeof Intl.Locale){class e{constructor(e){const n=Array.isArray(e)?e[0]:e,t=String(null!=n?n:"und"),r=fd(t);this._tag=t,this._language=r.language,this._script=r.script,this._region=r.region}toString(){return this._tag}get baseName(){return this._tag}get language(){return this._language}get script(){return this._script}get region(){return this._region}getWeekInfo(){return yd(this)}get weekInfo(){return yd(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return yd(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():yd(this)}})}()}var pd=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{m(r.next(e))}catch(e){i(e)}}function s(e){try{m(r.throw(e))}catch(e){i(e)}}function m(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}m((r=r.apply(e,n||[])).next())})};function bd(){return pd(this,void 0,void 0,function*(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((()=>pd(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Bd}),yield Promise.resolve().then(function(){return xd})}))()),function(){if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return!0;try{return new Intl.DateTimeFormat("en",{dateStyle:"medium"}),!1}catch(e){return!0}}()&&e.push((()=>pd(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Fd}),yield Promise.resolve().then(function(){return Yd})}))()),e.length>0&&(yield Promise.all(e)),gd()})}const wd=e=>{if(bbn.env.last_focus=bbn.dt().unix(),"ajax"!==bbn.env.nav)return;let n=e.target;if(n instanceof HTMLElement&&"A"!==n.tagName){let e=n;for(;e&&"A"!==e.tagName&&"BODY"!==e.tagName;)e=e.parentElement;n=e&&"A"===e.tagName?e:null}return n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")?(e.preventDefault(),e.stopPropagation(),md(n.getAttribute("href")),!1):void 0};function vd(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||Jl(ru(e,0,1)))){let n=document.createElement("div");n.style.width=e;let t=!!n.style.width.length;return n.remove(),t}return!1}function Ed(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!bbn.var.regexp.ip.test(n))return!1;return!0}function Td(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function Sd(e){const n=["BBN: "+e];n.unshift({_bbn_console_mode:"warn",_bbn_console_level:2,_bbn_console_style:"color: #E64141; background: #F7E195; font-size: 14px"}),tu.apply(this,n)}function Dd(e,n="",t=null){let r=new FormData,o=(e,n="")=>{(!t||mu(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):mu(e)?au(e,(e,t)=>{o(e,n+"["+t+"]")}):su(e)&&Object.keys(e).length?iu(e,(t,r)=>{r in e&&o(t,n?n+"["+r+"]":r)}):vu(e)||void 0===e||r.append(n,e))};return o(e,n),r}function zd(e){return"string"==typeof e?document.querySelector(e):e}function Ad(...e){let n=ad(e);if(n.url)return qu(n.url,n.datatype,n.obj,e=>{Ac(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function Hd(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let o=e;const i=n.split(".");au(i,(e,n)=>{if(!o){if(!r)throw new Error(bbn._("The object is invalid"));o={}}i.length-1===n?o[e]=t:o=o[e]})}}function kd(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function Id(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=ru(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=ru(e,0,e.length-n.length);return e}function _d(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.var.shortenLen),void 0!==t&&Ql(t)||(t="..."),e.length>n&&(e=ru(e,0,n)+t)),e}var Cd={_addLoader:fu,_compareValues:pu,_deleteLoader:Lu,abort:function(e){let n=Nu(e);(null==n?void 0:n.aborter)&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){au(ju(bbn.env.loaders,{url:e}),n=>{if(!n||!n.source)throw new Error("Impossible to find the loader with URL "+e);n.source.cancel("Operation canceled by the user.")})},addColors:Ru,addInputs:Fu,addStyle:function(e,n){su(n)&&iu(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("height",e)},adjustSize:Yu,adjustWidth:function(){let e=arguments;return 1===e.length&&Xl(e[0])&&(e=e[0]),Yu("width",e)},ajax:qu,analyzeFunction:_u,animateCss:function(e,n,t){e.classList.add("animated"),e.classList.add(n),e.addEventListener("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function e(r){r.target.removeEventListener(r.type,e),"function"==typeof t&&t.call(this),r.target.classList.remove(n)})},arrayBuffer2String:Vu,arrayFromProp:function(e,n){let t=[];return au(e,(e,r)=>{t.push(Mu(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),lu(bbn[e],n)},baseName:Ku,br2nl:function(e){return Wu("<br />","\n",Wu("<br/>","\n",Wu("<br>","\n",e)))},calendar:function(e,n=!1){let t=Dc(e);return t.isValid?t.calendar():n&&Ql(n)?n:""},callback:Ac,camelize:function(e){return e.replace(/^([A-Z])|[\s-](\w)/g,function(e,n,t,r){return t?t.toUpperCase():n.toLowerCase()})},camelToCss:function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}).replace("/^./",function(e){return e.toLowerCase()})},canvasToImage:function(e){let n=new Image;return n.src=e.toDataURL("image/png"),n},cast:function(e){var n;return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":(null===(n=e.constructor)||void 0===n?void 0:n.name)||"{}":e.toString?e.toString():"string"==typeof e?e:"":""},center:function(e){let n=e.parentNode,t=n.clientWidth,r=n.clientHeight;for(;n&&(!t||!r);)n=e.parentNode,t=n.clientWidth,r=n.clientHeight;return e.style.position="absolute",e.style.top=Math.max(0,(r-e.offsetHeight)/2+n.scrollTop)+"px",e.style.left=Math.max(0,(r-e.offsetWidth)/2+n.scrollLeft)+"px",e},checkProps:function(e,n,t=!1){return Hc(e,n,t).result},checkPropsDetails:Hc,checkPropsOrDie:function(e,n,t=!1){let r=Hc(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Ic,circularReplacer:function(){const e=new WeakSet;return(n,t)=>{if("object"==typeof t&&null!==t){if(e.has(t))return;e.add(t),[void 0,Object,Array,null].includes(t.constructor)||(t=Du(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Au(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:_c,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:Pu,compareConditions:Gu,copy:function(e,n){return new Promise(t=>{if(e){if(navigator&&navigator.clipboard)return void(e instanceof Blob?(navigator.clipboard.write([new ClipboardItem({[e.type.toString()]:e})]).then(()=>{t(!0)}),n||Cc(e,e.type.toString())):su(e)&&nu(e.toBlob)?e.toBlob(r=>{const o=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([o]).then(()=>{n||Cc(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||Cc(e),t(!0)));let r=document.createElement("textarea");r.style.opacity="0",r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r),n||Cc(e),t(!0)}t(!1)})},correctCase:kc,count:function(e,n,t=null,r="="){return Pc(e,n,t,r).length||0},crc32:function(e){let n=~0;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);n=n>>>8^Gc[255&(n^r)]}return(-1^n)>>>0},createObject:Oc,cssExists:function(e){let n,t,r=document.styleSheets;for(let o=0;o<r.length;o++){n=1;try{t=r[o].rules||r[o].cssRules}catch(e){if(n=!1,"SecurityError"!==e.name)throw e}if(n)for(let n=0;n<t.length;n++)if(new RegExp("(^|\\s)"+Zu(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!mu(n);let o='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let i in n)o+="<li>",r&&(o+="<em>"+i+"</em>: "),n[i]&&(mu(n[i])||su(n[i]))?o+=e(n[i],t):o+=null===n[i]?"<em>null</em>":n[i].toString?n[i].toString():n[i],o+="</li>";return o+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',o},date:Bc,dateSQL:function(e,n){let t=Dc(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,o=[]){let i;return(i=Bu(n,t,0))>-1?(o.push(i),o):(au(n,(n,i)=>{if(mu(n[r])){let a=o.slice();a.push(i);let s=e(n[r],t,r,a);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:xc,defaultAjaxErrorFunction:Lc,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&nu(n)&&(n(),r=1),!r&&nu(t)&&t()},defaultEndLoadingFunction:Nc,defaultErrorFunction:function(e){tu(e)},defaultHistoryFunction:function(e){return!0},defaultLinkFunction:function(e,n){return!0},defaultPostLinkFunction:function(e,n=null){return!0},defaultPreLinkFunction:function(e,n=!1,t=null){return tu("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Ic(e,"object",bbn._("The obj must be an object in setProp")),Ic(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,o=!1){o||(Rc=[]);let i="unchanged";void 0===o&&(o=!1);let a=Oc();if(!nu(n)&&!nu(t)){if(jc(n)||jc(t)){let e=(s=n)===(m=t)||gu(s)&&gu(m)&&s.getTime()===m.getTime()?i:void 0===s?"created":void 0===m?"deleted":"updated";if(r||e!==i){let r=Oc();return Object.defineProperty(r,"type",{value:e,enumerable:!1}),Object.defineProperty(r,"data",{value:void 0===n?t:n,enumerable:!1}),Object.defineProperty(r,"_bbnDiffObjProof",{value:!0,enumerable:!1}),void 0!==n&&Object.defineProperty(r,"newData",{value:t,enumerable:!1}),r}return!1}if(Du(n)||Du(t))return!1;if(Rc.includes(n)||Rc.includes(t))return!1;Rc.push(n,t);for(let o in n){if(nu(n[o]))continue;let i;void 0!==t[o]&&(i=t[o]);let s=e(n[o],i,r,!0);s&&(a[o]=s)}for(let o in t){if(nu(t[o])||void 0!==n[o])continue;let i=e(void 0,t[o],r,!0);i&&(a[o]=i)}}var s,m;return!(o&&!r&&!bu(a))&&a},dirName:Fc,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),qu(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",o="attachment; filename=";n=(null==r?void 0:r[t])&&0===r[t].indexOf(o)?ru(r[t],o.length+1,r[t].length-o.length-2):Ku(e)}if(Yc(t)){let e=Zc(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void Uc(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:Uc,each:au,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:zc,escapeDquotes:function(e){return Ql(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Zu,escapeSquotes:function(e){return Ql(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return Ql(e)?e.replace(/`/g,"\\`"):e},escapeUrl:function(e,n){let t="";e.match("^(http|https)://")&&(t+="http","s"===(e=e.substring(4)).substr(0,1)&&(t+="s",e=e.substring(1)),t+="://",e=e.substring(3)),au(Fc(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=Ku(e),o="?",i="";if(r.indexOf(o)){let e=r.split("?");o="&",i="?"+e[1],r=e[0]}return n&&Ql(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=o+n):n="",t+encodeURIComponent(r)+i+n},executeSlowly:function(e,n){return Vc(this,void 0,void 0,function*(){for(let t=0;t<e.length;t++){yield $c();let r=n(e[t],t);if(r instanceof Promise&&(r=yield r),!1===r)return!1}return!0})},extend:lu,extendOut:function e(...n){let t=null;for(let r of n){if(!su(r))throw new Error("Each argument for extendOut must be an object, "+typeof r+" given");if(null===t)t=r;else for(let n in r)su(t[n],r[n])?e(t[n],r[n]):void 0===t[n]&&(t[n]=r[n])}return t},fdate:function(e,n=!1){let t=Dc(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&Ql(n)?n:""},fdatetime:function(e,n=!1){let t=Dc(e);return t.isValid?t.fdate(!1,!0):n&&Ql(n)?n:""},fieldValue:Kc,fileExt:Zc,filter:Pc,filterToConditions:Ou,findAll:function e(n,t,r,o=[]){let i,a=0;for(;(i=Bu(n,t,a))>-1;)o.push(n[i]),a=i+1;return au(n,n=>{mu(n[r])&&e(n[r],t,r,o)}),o},firstVarElement:function(e){const n=e.indexOf("["),t=e.indexOf(".");return-1===n&&-1===t?e:-1===n?e.substring(0,t):-1===t?e.substring(0,n):e.substring(0,Math.min(n,t))},fori:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=r;o<=t;o++)if(!1===n(e[o],o))return}},forir:function(e,n,t=e.length-1,r=0){if(mu(e)){let o=e.length-1;Jl(t)&&0<t&&t<=o||(t=o),(!Jl(r)||!(0<=r&&r<o)||r>t)&&(r=0);for(let o=t;o>=r;o--)if(!1===n(e[o],o))return}},format:function(e){let n=Array.prototype.slice.call(arguments,1);if(n.length){let t=0;return e.replace(/\%([d|s])/g,(e,r)=>{let o=n[t++];return Ic(o,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),o})}return e},formatBytes:function(e,n=2){if(!e)return"0 B";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(n<0?0:n))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},formatDate:function(e,n){const t=Dc(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return Jl(e)?e+"px":Ql(e)?e:!n&&"auto"},formdata:Jc,fphone:function(e){var n;if(Jl(e)&&(e=e.toString()),Ql(e)){const t=(null===(n=bbn.var)||void 0===n?void 0:n.phoneCodes)||[];let r="",o="",i="";if(t.length&&au(t,n=>{e.startsWith(n.prefix)&&n.prefix.length>o.length&&(o=n.prefix,i=n.mask||"")}),!i.length&&e.startsWith("+")){o.length||(o=e.substr(0,3));const n=e.slice(o.length);for(let e=0;e<n.length;e++)e+1<=n.length&&e%2==0&&(i+="0"+(n[e+1]?"0":"")+" ");i=i.trim()}if(i.length){o.length&&(r=o+" ",e=e.slice(o.length));let n=0;return r+=i.replace(/[0-9]/g,()=>e[n++]||""),r}}return e},fromXml:function(e,n){let t=null;if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else{if(!window.ActiveXObject)throw new Error("cannot parse xml string!");if(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async=!1,!t.loadXML(e))throw t.parseError.reason+" "+t.parseError.srcText}function r(e,t){if("#text"==e.nodeName){let n=e.nodeValue;return void(n.trim()&&(t["#text"]=n))}let o={},i=t[e.nodeName];if(i?Array.isArray(i)?t[e.nodeName].push(o):t[e.nodeName]=[i,o]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[o]:t[e.nodeName]=o,e.attributes)for(let n of e.attributes)o[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,o)}let o={};for(let e of t.childNodes)r(e,o);return o},ftime:function(e,n){let t=Dc(e);return t.isValid?t.ftime():n&&Ql(n)?n:""},getAllTags:function(){return Xc(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:Qc,getAttributes:function(e){e.getAttributeNames||zc("The element is not a proper HTML Element");let n=Object.create(null);return e.getAttributeNames().forEach(t=>{n[t]=e.getAttribute(t)}),n},getBrowserName:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge"):case e.includes("edg/"):return"Edge";case e.includes("opr")&&!!window.opr:return"Opera";case e.includes("chrome")&&!!window.chrome:return"Chrome";case e.includes("trident"):return"Internet Explorer";case e.includes("firefox"):return"Firefox";case e.includes("safari"):return"Safari";default:return"Other"}},getBrowserVersion:function(){const e=navigator.userAgent.toLowerCase();switch(!0){case e.includes("edge/"):return e.split("edge/")[1].split(" ")[0];case e.includes("edg/"):return e.split("edg/")[1].split(" ")[0];case e.includes("opr/")&&!!window.opr:return e.split("opr/")[1].split(" ")[0];case e.includes("chrome/")&&!!window.chrome:return e.split("chrome/")[1].split(" ")[0];case e.includes("trident/"):return e.split("trident/")[1].split(" ")[0];case e.includes("firefox/"):return e.split("firefox/")[1].split(" ")[0];case e.includes("safari/"):return e.split("version/")[1].split(" ")[0];default:return""}},getChrono:function(e="default"){return bbn.fn.microtimestamp()-this.constructor.chronos[e]},getCookie:function(e){let n=e+"=",t=document.cookie.split(";");for(let e=0;e<t.length;e++){let r=t[e];for(;" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(n)){let e=r.substring(n.length,r.length);if(e)return JSON.parse(unescape(e)).value}}return null},getCssVar:ed,getDay:function(e){let n=Bc(e);if(n){let e=n.getTime(),r=n.getYear(),o=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)o++;return o+Math.floor(e/864e5)}return!1},getDeviceType:nd,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]};return new Promise((o,i)=>{let a=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=td();r.str.push({type:"text/plain",data:r.raw}),n!==r.raw?r.str.push({type:"text/html",data:n}):0===r.raw.trim().indexOf("<")&&r.str.push({type:"text/html",data:"<meta charset='utf-8'><code style=\"white-space: pre; font-family: 'Courier New', sans-serif\">\n"+r.raw+"\n</code>"}),a=!0,o(r)}if(!a){let e=[],t=n.items.length;au(n.items,(i,s)=>{let m=i.kind,l=i.type;if("file"===m){let m=n.files[s];if(!l&&m.name){let e=m.name.split(".");l=e[e.length-1]}let u=m?m.name:bbn._("untitled"),c=m?m.size:null,d=m?m.lastModified:null,h=i.getAsFile();h?(a=!0,t--,r.files.push({type:l,data:h,name:u,size:c,mdate:d}),e.push(u),t||(r.raw||(r.raw=e.join(", ")),o(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+u)}else a=!0,i.getAsString(n=>{t--,r.str.push({type:l,data:n}),"text/plain"===l&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),o(r))})})}a||setTimeout(()=>{o(r)})})},getField:function(e,n,t="",r=null,o="=",i=0,a=!1,s=void 0){let m;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=a),n?(m=xu(e,t,r,o,i,a,void 0),void 0===m?s:m[n]):s},getFieldValues:function(e,n,t,r,o){Ic(n,"string"),t&&(e=ju(e,t,r,o));let i=[];return au(e,e=>-1===i.indexOf(e[n])?i.push(e[n]):null),i},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,o=>{"string"==typeof o?["binary","text"].includes(o.toLowerCase())?r=o.toLowerCase():t||(t=o,"image"===t&&(t="image/*")):bbn.fn.isFunction(o)&&(e?n||(n=o):e=o)});let o=document.createElement("input");o.type="file",t&&o.setAttribute("accept",t),o.onchange=function(t){var i;const a=null===(i=o.files)||void 0===i?void 0:i[0];if(!a)return;const s=new FileReader;"binary"===r?s.readAsArrayBuffer(a):s.readAsText(a,"UTF-8"),s.onload=function({target:n}){e&&e(null==n?void 0:n.result)},s.onerror=function(){n&&n("error reading file")}},o.click()},getIndex:function(e,n=""){return e.parentElement?(n||Array.from(e.parentElement.children).indexOf(e),Array.from(e.parentElement.children).filter(e=>e.matches(n)).indexOf(e)):-1},getHtml:function(e,n=!1){let t=e.innerHTML();return n&&(t=rd(t)),t.trim()},getHTMLOfSelection:td,getLoader:Nu,getPath:zu,getProp:function(e,n){return Ic(e,"object",bbn._("The obj must be an object in setProp")),Ic(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:Mu,getRequestId:Uu,getRow:xu,getScrollBarSize:function(){if(void 0===bbn.env.scrollBarSize){let e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px","msOverflowStyle"in e.style&&(e.style.msOverflowStyle="scrollbar"),document.body.appendChild(e);let n=e.offsetWidth;e.style.overflow="scroll";let t=document.createElement("div");t.style.width="100%",e.appendChild(t);let r=t.offsetWidth;e.parentNode.removeChild(e);let o=n-r;bbn.env.scrollBarSize=o?o+1:0}return bbn.env.scrollBarSize},getSortingMoves:function(e,n){if(e.length!==n.length)throw new Error("Lengths must match.");const t=new Set(n);if(t.size!==n.length)throw new Error("dst has duplicates.");const r=new Set(e);if(r.size!==e.length)throw new Error("src has duplicates.");if(e.length!==t.size||Array.from(r).some(e=>!t.has(e)))throw new Error("Arrays must contain the same unique values.");const o=new Map(n.map((e,n)=>[e,n])),i=e.map(e=>o.get(e)),a=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let o=0;o<n;o++){let n=e[o],i=0,a=t.length;for(;i<a;){const r=i+a>>1;e[t[r]]<n?i=r+1:a=r}i>0&&(r[o]=t[i-1]),t[i]=o}const o=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])o.push(e);return o.reverse()})(i),s=new Set(a.map(n=>e[n])),m=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)m[e]=m[e+1],s.has(n[e+1])&&(m[e]=e+1);const l=e.slice(),u=new Map(l.map((e,n)=>[e,n])),c=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=u.get(t);if(void 0===r)throw new Error("Inconsistent state");const o=m[e],i=-1!==o?u.get(n[o]):l.length;if(void 0===i)throw new Error("Inconsistent state");const a=r<i?i-1:i;if(r!==a){const[e]=l.splice(r,1);l.splice(a,0,e),c.push({from:r,to:a,value:t}),u.clear();for(let e=0;e<l.length;e++)u.set(l[e],e)}}return c},getText:function(e){return e.innerText().trim()},getTimeoff:function(){return bbn.env.isFocused?0:Math.round((new Date).getTime()/1e3-bbn.env.timeoff)},happy:function(...e){return e.unshift({_bbn_console_level:3,_bbn_console_style:"color: white; background: green; font-size: 18px;"}),tu.apply(this,e),this},hash:ku,hex2rgb:function(e){"#"!==e.charAt(0)&&(e="#"+e),4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null},history:function(){return window.history||!1},html2text:od,imageToCanvas:id,imgToBase64:function(e,n="image/png"){return id(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),tu.apply(this,e),this},init:function(e,n){let t;bbn.env.isInit||(bbn.env.root=document.baseURI.length>0?document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==ru(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&lu(!0,bbn,e),bbn.env.path=ru(bbn.env.url,bbn.env.root.length),t=bbn.env.path.split("/"),au(t,(e,n)=>{""!==(e=decodeURI(e.trim()))&&bbn.env.params.push(e)}),bbn.var.colors&&Ru(bbn.var.colors),bd(),document.addEventListener("visibilitychange",()=>{document.hidden?bbn.env.isVisible=!1:bbn.env.isVisible=!0}),document.addEventListener("focus",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!0,bbn.env.last_focus=hd()}),document.addEventListener("blur",e=>{e.target instanceof HTMLElement&&!e.target.classList.contains("bbn-no")&&(bbn.env.focused=e.target),bbn.env.isFocused=!1,bbn.env.last_focus=hd()}),document.addEventListener("click",wd),document.addEventListener("keydown",wd),document.addEventListener("focusin",wd),document.addEventListener("focusout",wd),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{ld()}),window.addEventListener("orientationchange",()=>{ld()}),ld(),dd()&&(document.body.classList.add("bbn-mobile"),cd()&&document.body.classList.add("bbn-tablet")),window.history&&(window.onpopstate=function(e){let n=window.history;if(!bbn.env.historyDisabled&&n&&bbn.fn.defaultHistoryFunction(n.state)){let e=n.state;e?md(e.url,lu({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&nu(e.data.script)&&e.data.script()}}),window.addEventListener("online",()=>{bbn.env.online=!0}),window.addEventListener("offline",()=>{bbn.env.online=!1}),bbn.env.isInit=!0,document.dispatchEvent(new Event("bbninit")),bbn.env.logging&&tu("Logging in bbn is enabled"))},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:mu,isBlob:Yc,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:Wc,isColor:function(...e){if(!e.length)return!1;var n=new RegExp("^(#[a-f0-9]{6}|#[a-f0-9]{3}|rgb *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|rgba *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|black|green|silver|gray|olive|white|yellow|maroon|navy|red|blue|purple|teal|fuchsia|aqua)$","i");for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isComment:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Comment))return!1;return!0},isCp:Au,isDataURL:function(...e){if(!e.length)return!1;for(let n of e)if(!/^data:([a-z]+\/[a-z0-9\-\+\.]+(;[a-z\-]+\=[a-z0-9\-\.]+)?)?(;base64)?,/i.test(n))return!1;return!0},isDate:gu,isDesktopDevice:function(){return"desktop"===nd()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!vd(n))return!1}return!0},isDom:Du,isEmail:function(...e){if(!e.length)return!1;let n=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;for(let t of e){if(!Ql(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:wu,isEvent:function(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof Event))return!1;return!0},isFocused:function(e,n=!1){return e===document.activeElement||n&&e.contains&&e.contains(document.activeElement)},isFunction:nu,isHex:function(e){return Boolean(e.match(/^(0x)?[0-9a-f]+$/i))},isHostname:function(...e){if(!e.length)return!1;for(let n of e){if(!Ql(n))return!1;if(!Ed(n)&&!bbn.var.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=Qc(e);if(t.length){if(Ql(n)){let e=!1;return au(t,t=>{if(t.matches&&t.matches(n))return e=!0,!1}),e}if(n instanceof HTMLElement)return t.indexOf(n)>-1}return!1},isInt:eu,isInViewport:function(e,n=!1){const t=e.getBoundingClientRect();if(n)return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight);const r=e.offsetHeight,o=e.offsetWidth;return t.top>=-r&&t.left>=-o&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+o&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Ed,isIterable:Xl,isMobile:dd,isMobileDevice:ud,isNotObject:jc,isNull:vu,isNumber:Jl,isObject:su,isPercent:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^\d+(?:\.\d+)?%$/))return!1;return!0},isPrimitive:ec,isPromise:function(...e){if(!e.length)return!1;for(let n of e)if("[object Promise]"!=={}.toString.apply(n))return!1;return!0},isPropSize:function(e){let n=!1;return au(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Cu,isSQLDate:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^([1-2]\d{3})-((0\d)|(1[12]))-(([0-2]\d)|(3[01]))(?:( [0-2]\d):([0-5]\d):([0-5]\d))?$/))return!1;return!0},isString:Ql,isSymbol:Td,isTabletDevice:cd,isURL:function(...e){if(!e.length)return!1;for(let n of e)if(!bbn.var.regexp.url.test(n))return!1;return!0},isUid:function(...e){if(!e.length)return!1;for(let n of e)if("string"!=typeof n||!n.match(/^[0-9a-f]{32}$/i))return!1;return!0},isValidDimension:vd,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!Ql(n)||!/^[$A-Z_][0-9A-Z_$]*$/i.test(n))return!1;return!0},isVue:function(...e){if(!e.length)return!1;if("vue"in bbn&&window.Vue)if("app"in bbn.vue){for(let n of e)if(!n||"function"!=typeof n.render)return!1}else for(let n of e)if(!(n instanceof window.Vue))return!1;return!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent||bbn.cp.isComponent(...e)},isWritable:function(e,n){let t;for(;e&&(t=Object.getOwnPropertyDescriptor(e,n),!t);)e=Object.getPrototypeOf(e);return!t||Boolean(t.writable||t.set)},iterate:iu,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),o=(r>>16)+n,i=(r>>8&255)+n,a=(255&r)+n;return o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),(t?"#":"")+(a|i<<8|o<<16).toString(16)}},link:md,log:tu,makeReactive:function e(n,t,r,o){const i=(null==r?void 0:r.$cid)||"",a="__bbn_"+(i?i+"_":"");if(n&&"object"==typeof n&&[void 0,Object,Array].includes(n.constructor)){if(n.__bbnIsProxy&&n.__bbnParent===r)return n;r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:Oc(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,m){const l=Reflect.get(s,m),u=s.__bbnRoot||s;if(Td(m))return Reflect.get(u,m);const c=o?o+"."+m:m,d=a+(Jl(m)?m.toString():m);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(m)&&mu(s))return function(...e){let n=u[m](...e);return Sd("DOING ARRAY STUFF"),tu(s.__bbnParent),t(s,"length",r),n};if(nu(l))return l;if("__bbnRoot"===m){let e=n;for(;e&&(null==e?void 0:e.__bbnTarget);)e=e.__bbnTarget;return e}return"__bbnIsProxy"===m||("__bbnTarget"===m?s:"__bbnParent"===m?r:"__bbnWatchers"===m?s.__bbnWatchers:0===m.indexOf("__bbn_")?Reflect.get(s,m):"length"===m&&mu(s.__bbnRoot||s)?u.length:m in s&&l&&"object"==typeof l&&[void 0,Object,Array].includes(l.constructor)?(l.__bbnIsProxy&&l.__bbnParent===r||(d in u||Reflect.defineProperty(u,d,{value:e(l,t,r,c),writable:!0,configurable:!0,enumerable:!1}),u[d].__bbnIsProxy&&!u.__bbnWatchers[i]&&(u.__bbnWatchers[i]=c)),u[d]):l)},set(n,s,m){if(Td(s))return Reflect.get(n,s,m);const l=n.__bbnRoot||n,u=o?o+"."+s:s;if(Td(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name,n,s,m]),!Cu(l[s],m)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(l,s,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1});else if(m&&"object"==typeof m&&[void 0,Object,Array].includes(m.constructor)){const n=a+(Jl(s)?s.toString():s);Reflect.defineProperty(l,n,{value:e(m,t,r,u),writable:!0,configurable:!0,enumerable:!1}),l[n].__bbnIsProxy&&!l.__bbnWatchers[i]&&(l.__bbnWatchers[i]=u)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&tu(["Setting proxy prop in "+r.$options.name+" "+(Jl(s)?s.toString():s),m,n]),Reflect.set(l,s,m),t(n,s,r)}return!0},defineProperty(n,i,s){const m=n,l=o?o+"."+i:i;if("__bbnWatchers"===i||Td(i)||0===i.indexOf("__bbn_"))Reflect.defineProperty(m,i,s);else{const n=a+(Jl(i)?i.toString():i);Reflect.defineProperty(m,n,{value:e(s.value,t,r,l),writable:!0,configurable:!0,enumerable:!1})}return t(n,i,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=a+(Jl(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,o=0){return n.map((n,i)=>(n=t(n,i,o),r&&n[r]&&mu(n[r])&&(n[r]=e(n[r],t,r,o+1)),n))},md5:Iu,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,o,i,a){if(o||(o=void 0===o&&bbn.env.money&&void 0!==bbn.env.money.decimal?bbn.env.money.decimal:"."),t||(t=void 0===t&&bbn.env.money&&void 0!==bbn.env.money.currency?bbn.env.money.currency:""),i||(i=void 0===i&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.precision?bbn.env.money.precision:0),n||(n=!(void 0!==n||!bbn.env.money||void 0===bbn.env.money.kilo)&&bbn.env.money.kilo),r||(r=!(void 0!==r||!bbn.env.money||void 0===bbn.env.money.novalue)&&bbn.env.money.novalue),Jl(a)||(a=n?3:0),0===e&&"number"==typeof a&&a>0){let r=e.toFixed(a).replace(".",o);return t&&(r+=" "+(n?"K"+t:t)),r}if((isNaN(e)||!e)&&r)return r;if(isNaN(e)||!e)return 0+(t?" "+t:"");if("string"==typeof e&&(e=Number(e)),"number"!=typeof e)throw new Error("The value must be a number");n&&e&&(e/=1e3,t&&(t="K"+t));let s=e.toFixed(a),m=0,l=1e4;return s&&(l=s.indexOf("."),l<=0?l=1e4:m=s.length-l),s.replace(/./g,function(e,n,t){return"."===e?o:n&&(t.length-n-m)%3==0&&n<l?i+e:e})+(t?" "+t:"")},move:function(e,n,t){if(t>=e.length){let n=t-e.length;for(;1+n--;)e.push(void 0)}return e.splice(t,0,e.splice(n,1)[0]),e},multiorder:function(e,n){if(!n)return e;let t;if(Array.isArray(n)||"object"!=typeof n)t=n;else for(var r in t=[],n)t.push({field:r,dir:n[r]});if(!Array.isArray(t))throw new Error("The orders argument must be an array");return e.slice().sort((e,n)=>{let r;for(let o of t)if(r=pu(e,n,o.field,o.dir),0!==r)return r;return 0})},mutateArray:function(e,n,t=null){if(!mu(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Ic(t,"function","The hash function must be a function"):t=ku;const r=new Map(n.map(e=>[t(e),e]));let o=[];n.forEach(e=>{o.push(e)});let i=e.length;for(;i--;)r.has(t(e[i]))||e.splice(i,1);for(let n=0;n<o.length;n++)if(n>=e.length||!Cu(e[n],o[n])){const t=Bu(e,o[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,o[n])}return e.length>o.length&&e.splice(o.length,e.length-o.length),e},mutateObject:function(e,n,t){if(!su(e,n))throw new TypeError("mutateObject can only be called with objects parameters");t?Ic(t,"function","The hash function must be a function"):t=ku;const r=Object.keys(n);for(let n in e)r.includes(n)||delete e[n];return r.forEach(t=>{Cu(e[t],n[t])||(e[t]=n[t])}),e},nl2br:function(e,n){return Wu("\n","<br>"+(n?"\n":""),e)},numProperties:bu,objectToFormData:Dd,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return pu(e,r,n,t)}):e},outerHeight:function(e){if((e=zd(e))&&"offsetHeight"in e){let n=window.getComputedStyle(e),t=parseFloat(n.marginTop)+parseFloat(n.marginBottom);return Math.ceil(e.offsetHeight+t)}},outerWidth:function(e){e=zd(e);let n=window.getComputedStyle(e),t=parseFloat(n.marginLeft)+parseFloat(n.marginRight);return Math.ceil(e.offsetWidth+t)},percent:function(e,n){return n/100*e},pickValue:function(e){if(Array.isArray(e)&&e.length)return e[Math.floor(Math.random()*e.length)]},post:Ad,postOut:function(e,n,t=null,r=""){let o=document.body.querySelector("form#bbn-form_out");o||(o=document.createElement("form"),o.classList.add("bbn-no"),o.setAttribute("id","bbn-form_out"),o.setAttribute("method","post"),o.setAttribute("enctype","multipart/form-data-encoded"),Hd(o,"style.display","none"),document.body.appendChild(o)),o instanceof HTMLFormElement&&(o.innerHTML="",o.setAttribute("action",e),o.setAttribute("target",r||"_blank"),n||(n={}),(n=Oc(n)).bbn||(n.bbn="public"),Fu(o,n),o.submit(),t&&t())},printf:function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return void 0!==n[t]?n[t]:e})},quotes2html:function(e,n){return n&&0!==n.toLowerCase().indexOf("s")||(e=Wu("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=Wu('"',"&quot;",e)),e},randomInt:kd,randomString:function(e,n,t){let r,o,i={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=kd(8,14)),"string"==typeof n?(t="n",delete i.l,delete i.u,i.n=n,r||(r=e)):"number"==typeof n&&e<n?r=kd(e,n):e&&(r=e);let a="";for(let e=0;e<r;e++)0===e?"n"!==t&&(o=-1===t.indexOf("u")?"l":"u"):o=t[Math.floor(Math.random()*t.length)],a+=i[o][Math.floor(Math.random()*i[o].length)];return a},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:yu,removeEmpty:function(e){var n=[];if(mu(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(mu(e[t])?e[t].length&&(r=!0):su(e[t])?bu(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:rd,removePrivateProp:ou,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;ru(e,-n.length)===n;)e=ru(e,0,e.length-n.length);for(;ru(e,0,n.length)===n;)e=ru(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:Wu,replaceSelection:function(e,n){let t,r,o;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)o=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,o=document.createDocumentFragment();t=n.firstChild;)o.appendChild(t)}const i=o.firstChild,a=o.lastChild;r.insertNode(o),t.removeAllRanges(),n?(i&&(r.setStartBefore(i),r.setEndAfter(a)),t.addRange(r)):(r.setStartAfter(a),t.addRange(r))}},resize:ld,rgb2hex:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""},riterate:function(e,n,t=!1){return iu(e,n,t,!0)},roundDecimal:function(e,n){return Number(Math.round(parseFloat(e+"e"+n+"e-"+n)))},sanitize:function(e,n="_"){let t=["[","]","{","}","(",")","-","+","*","/"],r="[";for(let e=0;e<n.length;e++)t.includes(n[e])&&(r+="\\"),r+=n[e];r+="]+";let o=new RegExp(r,"g");return Id(yu(e).replace(/[^a-z0-9]/gi,n).replace(o,n),n)},search:Bu,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,o=n.document;n.getSelection&&o.createRange?(t=n.getSelection(),r=o.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in o.body&&"function"==typeof o.body.createTextRange&&(r=o.body.createTextRange(),r.moveToElementText(e),r.select())},selector:zd,setCookie:function(e,n,t){let r="";if(t){let e=new Date;e.setTime(e.getTime()+24*t*60*60*1e3),r="; expires="+e.toUTCString()}let o=escape(JSON.stringify({value:n}));document.cookie=e+"="+o+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:sd,setProp:function(e,n,t,r=!0,o=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:o})},setProperty:Hd,shorten:_d,shortenObj:function e(n,t=100){let r=_c(n);return au(r,(n,o)=>{Ql(n)&&n.length>t?r[o]=_d(n,t):n&&"object"==typeof n&&(r[o]=e(n))}),r},shuffle:function(e){let n,t=e.length;for(;0!=t;)n=Math.floor(Math.random()*t),t--,[e[t],e[n]]=[e[n],e[t]];return e},simpleHash:Su,simpleHash1:Eu,simpleHash2:Tu,startChrono:function(e){let n=bbn.fn.microtimestamp();return this.constructor.chronos||Object.defineProperty(this.constructor,"chronos",{value:Object.create(null),writable:!1,configurable:!1}),this.constructor.chronos[e||"default"]=n,e},stopChrono:function(e,n){if(this.constructor.chronos[e||"default"]){let t=bbn.fn.microtimestamp()-this.constructor.chronos[e||"default"];return delete this.constructor.chronos[e||"default"],n&&(t=Math.round(t)/1e3),t}throw Error("No chrono with name "+(e||"default"))},stream:function(e,n,t,r,o,i){const a=Uu(e,t,"json"),s=Nu(a);if(null==s?void 0:s.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const m=new AbortController;let l="";const u=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{n(JSON.parse(e[t]))}catch(e){throw e}}},c=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:m.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),o=nu(n);r.read().then(function e({done:s,value:m}){if(s)return Lu(a,t),l&&u(l),void(i&&i());if(o)if(l+=Vu(m).trim(),bbn.fn.log(["STREAM RESULT",l.length,l]),l)try{u(l),l=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+o]);return r.read().then(e)})}}).catch(n=>{let i=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Lu(a,t,i),i){let t=1;nu(o)&&(t=o(n.message,e)),t&&xc(n.message,e)}else{let e=1;nu(r)&&(e=r(n.request,n)),e&&Lc(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return fu(a,c,m),c},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,o=e.length;r<o;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,o=e.getAttribute("action")||bbn.env.path;if(""===o&&(o="."),"string"==typeof o&&(0!==o.indexOf("http")||-1!==o.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=Jc(e),r)){e.setAttribute("action",null);const n=[o,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Ad(...n)}},substr:ru,sum:function(e,n,t,r,o){let i=0;return au(Pc(e,t,r,o),e=>{let t="function"==typeof n?n(e):e[n];t&&(i+=parseFloat(t)||0)}),i},timestamp:hd,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let o="",i=e.length;return au(e,(e,a)=>{let s=mu(e)?e.length:Object.values(e).length,m=0;au(e,e=>{o+="string"==typeof e?r+Wu(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,m++,m<s&&(o+=n)}),a<i-1&&(o+=t+"\n")}),o},toggleFullScreen:function(){"mozRequestFullScreen"in window.document.documentElement?window.document.mozFullScreen?window.document.mozCancelFullScreen():"function"==typeof window.document.documentElement.mozRequestFullScreen&&window.document.documentElement.mozRequestFullScreen():"webkitRequestFullScreen"in window.document.documentElement?window.document.webkitIsFullScreen?window.document.webkitCancelFullScreen():"function"==typeof window.document.documentElement.webkitRequestFullScreen&&window.document.documentElement.webkitRequestFullScreen():"msRequestFullScreen"in window.document.documentElement?window.document.msFullscreenEnabled?window.document.msExitFullscreen():"function"==typeof window.document.documentElement.msRequestFullScreen&&window.document.documentElement.msRequestFullScreen():"requestFullscreen"in window.document&&(window.document.fullscreenEnabled?window.document.exitFullscreen():window.document.documentElement.requestFullscreen()),setTimeout(function(){ld()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;iu(e,(e,n)=>{t[n]=e})},treatAjaxArguments:ad,treatForHash:Hu,trim:Id,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(mu(e[t]))n+=JSON.stringify(e[t]);else{let r={};au(Object.keys(e[t]).sort(),n=>{r[n]=e[t][n]}),n+=JSON.stringify(r)}else"string"!=typeof e[t]?n+=e[t].toString():n+=e[t];else n+="__bbn_empty__";return Iu(n)},unique:Xc,upload:function(e,n,t=null,r=null,o=null){const i=()=>Kl.run("post",e||bbn.env.path,{data:Dd(n),headers:{},onUploadProgress(e){if(o){let n=Math.round(100*e.loaded/e.total);o(n,e.loaded,e.total)}}});return t||r?i().then(e=>{t&&(tu("SUCCESS",e),t(e))}).catch(e=>{r&&(tu("ERROR",e),r(e))}):i()},warning:Sd,yieldToBrowser:$c};const Pd={version:"1.0.1",opt:{_cat:{}},app:{},_:Yl,$:function(e,n){if(null==n?void 0:n.querySelectorAll)return n.querySelectorAll(e);if(n)throw new Error("Invalid context");return document.body.querySelectorAll(e)},lng:{select_unselect_all:"Select/Clear all",select_all:"Select all",search:"Search",loading:"Loading...",choose:"Choose",error:"Error",server_response:"Server response",reload:"Reload",errorText:"Something went wrong",closeAll:"Close all",closeOthers:"Close others",pin:"Pin",arrange:"Arrange",cancel:"Cancel",unpin:"Unpin",yes:"Yes",no:"No",unknown:"Unknown",untitled:"Untitled",confirmation:"Confirmation",Today:"Today",Tomorrow:"Tomorrow",Yesterday:"Yesterday"},var:Zl,dt:Dc,com:Kl,env:Wl,db:hu,fn:Cd,info:[{value:"ajax",label:"Loading and streaming",description:"Functions related to Ajax requests",icon:"nf nf-fa-rocket"},{value:"browser",label:"Browser-only",description:"Functions that can only be run in the browser",icon:"nf nf-fa-desktop"},{value:"convert",label:"Conversion",description:"Functions related to data conversion",icon:"nf nf-fa-exchange"},{value:"datetime",label:"Date and time",description:"Functions related to dates and times",icon:"nf nf-fa-calendar"},{value:"form",label:"Form manipulation",description:"Functions related to form manipulation and validation",icon:"nf nf-fa-edit"},{value:"html",label:"HTML manipulation",description:"Functions related to HTML manipulation and DOM interaction",icon:"nf nf-fa-html5"},{value:"loop",label:"Looping",description:"Functions related to looping through arrays and objects",icon:"nf nf-fa-repeat"},{value:"misc",label:"Miscellaneous",description:"Miscellaneous functions that do not fit into other categories",icon:"nf nf-fa-cubes"},{value:"object",label:"Object manipulation",description:"Functions related to object manipulation and inspection",icon:"nf nf-fa-object_group"},{value:"phone",label:"Phone and contact",description:"Functions related to phone numbers and contact information",icon:"nf nf-fa-phone"},{value:"string",label:"String manipulation",description:"Functions related to string manipulation and formatting",icon:"nf nf-fa-text_height"},{value:"style",label:"Styling and layout",description:"Functions related to styling and layout management",icon:"nf nf-fa-paint_brush"},{value:"type",label:"Type checking",description:"Functions related to type checking and validation",icon:"nf nf-fa-check_square"}]};"undefined"!=typeof window&&(window.bbn=Pd,window.Temporal||(window.Temporal=jl));var Gd=Object.freeze({__proto__:null,default:{AE:{firstDay:1,weekend:[6,7],minimalDays:1},AF:{firstDay:6,weekend:[4,5],minimalDays:1},AG:{firstDay:7,weekend:[6,7],minimalDays:1},AI:{firstDay:1,weekend:[6,7],minimalDays:1},AL:{firstDay:1,weekend:[6,7],minimalDays:1},AM:{firstDay:1,weekend:[6,7],minimalDays:1},AR:{firstDay:1,weekend:[6,7],minimalDays:1},AS:{firstDay:7,weekend:[6,7],minimalDays:1},AU:{firstDay:1,weekend:[6,7],minimalDays:1},AZ:{firstDay:1,weekend:[6,7],minimalDays:1},BA:{firstDay:1,weekend:[6,7],minimalDays:1},BD:{firstDay:7,weekend:[6,7],minimalDays:1},BH:{firstDay:6,weekend:[5,6],minimalDays:1},BM:{firstDay:1,weekend:[6,7],minimalDays:1},BN:{firstDay:1,weekend:[6,7],minimalDays:1},BR:{firstDay:7,weekend:[6,7],minimalDays:1},BS:{firstDay:7,weekend:[6,7],minimalDays:1},BT:{firstDay:7,weekend:[6,7],minimalDays:1},BW:{firstDay:7,weekend:[6,7],minimalDays:1},BY:{firstDay:1,weekend:[6,7],minimalDays:1},BZ:{firstDay:7,weekend:[6,7],minimalDays:1},CA:{firstDay:7,weekend:[6,7],minimalDays:1},CL:{firstDay:1,weekend:[6,7],minimalDays:1},CM:{firstDay:1,weekend:[6,7],minimalDays:1},CN:{firstDay:1,weekend:[6,7],minimalDays:1},CO:{firstDay:7,weekend:[6,7],minimalDays:1},CR:{firstDay:1,weekend:[6,7],minimalDays:1},CY:{firstDay:1,weekend:[6,7],minimalDays:1},DJ:{firstDay:6,weekend:[6,7],minimalDays:1},DM:{firstDay:7,weekend:[6,7],minimalDays:1},DO:{firstDay:7,weekend:[6,7],minimalDays:1},DZ:{firstDay:6,weekend:[5,6],minimalDays:1},EC:{firstDay:1,weekend:[6,7],minimalDays:1},EG:{firstDay:6,weekend:[5,6],minimalDays:1},ET:{firstDay:7,weekend:[6,7],minimalDays:1},"GB-alt-variant":{firstDay:7,weekend:[6,7],minimalDays:1},GE:{firstDay:1,weekend:[6,7],minimalDays:1},GT:{firstDay:7,weekend:[6,7],minimalDays:1},GU:{firstDay:7,weekend:[6,7],minimalDays:1},HK:{firstDay:7,weekend:[6,7],minimalDays:1},HN:{firstDay:7,weekend:[6,7],minimalDays:1},HR:{firstDay:1,weekend:[6,7],minimalDays:1},ID:{firstDay:7,weekend:[6,7],minimalDays:1},IL:{firstDay:7,weekend:[5,6],minimalDays:1},IN:{firstDay:7,weekend:[7],minimalDays:1},IQ:{firstDay:6,weekend:[5,6],minimalDays:1},IR:{firstDay:6,weekend:[5],minimalDays:1},IS:{firstDay:7,weekend:[6,7],minimalDays:4},JM:{firstDay:7,weekend:[6,7],minimalDays:1},JO:{firstDay:6,weekend:[5,6],minimalDays:1},JP:{firstDay:7,weekend:[6,7],minimalDays:1},KE:{firstDay:7,weekend:[6,7],minimalDays:1},KG:{firstDay:1,weekend:[6,7],minimalDays:1},KH:{firstDay:7,weekend:[6,7],minimalDays:1},KR:{firstDay:7,weekend:[6,7],minimalDays:1},KW:{firstDay:6,weekend:[5,6],minimalDays:1},KZ:{firstDay:1,weekend:[6,7],minimalDays:1},LA:{firstDay:7,weekend:[6,7],minimalDays:1},LB:{firstDay:1,weekend:[6,7],minimalDays:1},LK:{firstDay:1,weekend:[6,7],minimalDays:1},LV:{firstDay:1,weekend:[6,7],minimalDays:1},LY:{firstDay:6,weekend:[5,6],minimalDays:1},MD:{firstDay:1,weekend:[6,7],minimalDays:1},ME:{firstDay:1,weekend:[6,7],minimalDays:1},MH:{firstDay:7,weekend:[6,7],minimalDays:1},MK:{firstDay:1,weekend:[6,7],minimalDays:1},MM:{firstDay:7,weekend:[6,7],minimalDays:1},MN:{firstDay:1,weekend:[6,7],minimalDays:1},MO:{firstDay:7,weekend:[6,7],minimalDays:1},MT:{firstDay:7,weekend:[6,7],minimalDays:1},MV:{firstDay:5,weekend:[6,7],minimalDays:1},MX:{firstDay:7,weekend:[6,7],minimalDays:1},MY:{firstDay:1,weekend:[6,7],minimalDays:1},MZ:{firstDay:7,weekend:[6,7],minimalDays:1},NI:{firstDay:7,weekend:[6,7],minimalDays:1},NP:{firstDay:7,weekend:[6,7],minimalDays:1},NZ:{firstDay:1,weekend:[6,7],minimalDays:1},OM:{firstDay:6,weekend:[5,6],minimalDays:1},PA:{firstDay:7,weekend:[6,7],minimalDays:1},PE:{firstDay:7,weekend:[6,7],minimalDays:1},PH:{firstDay:7,weekend:[6,7],minimalDays:1},PK:{firstDay:7,weekend:[6,7],minimalDays:1},PR:{firstDay:7,weekend:[6,7],minimalDays:1},PT:{firstDay:7,weekend:[6,7],minimalDays:4},PY:{firstDay:7,weekend:[6,7],minimalDays:1},QA:{firstDay:6,weekend:[5,6],minimalDays:1},RO:{firstDay:1,weekend:[6,7],minimalDays:1},RS:{firstDay:1,weekend:[6,7],minimalDays:1},SA:{firstDay:7,weekend:[5,6],minimalDays:1},SD:{firstDay:6,weekend:[5,6],minimalDays:1},SG:{firstDay:7,weekend:[6,7],minimalDays:1},SI:{firstDay:1,weekend:[6,7],minimalDays:1},SV:{firstDay:7,weekend:[6,7],minimalDays:1},SY:{firstDay:6,weekend:[5,6],minimalDays:1},TH:{firstDay:7,weekend:[6,7],minimalDays:1},TJ:{firstDay:1,weekend:[6,7],minimalDays:1},TM:{firstDay:1,weekend:[6,7],minimalDays:1},TR:{firstDay:1,weekend:[6,7],minimalDays:1},TT:{firstDay:7,weekend:[6,7],minimalDays:1},TW:{firstDay:7,weekend:[6,7],minimalDays:1},UA:{firstDay:1,weekend:[6,7],minimalDays:1},UG:{firstDay:1,weekend:[7],minimalDays:1},UM:{firstDay:7,weekend:[6,7],minimalDays:1},US:{firstDay:7,weekend:[6,7],minimalDays:1},UY:{firstDay:1,weekend:[6,7],minimalDays:1},UZ:{firstDay:1,weekend:[6,7],minimalDays:1},VE:{firstDay:7,weekend:[6,7],minimalDays:1},VI:{firstDay:7,weekend:[6,7],minimalDays:1},VN:{firstDay:1,weekend:[6,7],minimalDays:1},WS:{firstDay:7,weekend:[6,7],minimalDays:1},XK:{firstDay:1,weekend:[6,7],minimalDays:1},YE:{firstDay:7,weekend:[5,6],minimalDays:1},ZA:{firstDay:7,weekend:[6,7],minimalDays:1},ZW:{firstDay:7,weekend:[6,7],minimalDays:1}}});Object.defineProperty(e,"__esModule",{value:!0});var Od=require("tslib").__importDefault(require("./"));(0,require("./should-polyfill").shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:Od.default,writable:!0,enumerable:!1,configurable:!0});var Bd=Object.freeze({__proto__:null});Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{day:{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},"day-narrow":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0}d",other:"in {0}d"},past:{one:"{0}d ago",other:"{0}d ago"}},"day-short":{"-1":"yesterday",0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0}h",other:"in {0}h"},past:{one:"{0}h ago",other:"{0}h ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0}m",other:"in {0}m"},past:{one:"{0}m ago",other:"{0}m ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},month:{"-1":"last month",0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}},"month-narrow":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0}mo",other:"in {0}mo"},past:{one:"{0}mo ago",other:"{0}mo ago"}},"month-short":{"-1":"last mo.",0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}},nu:["latn"],quarter:{"-1":"last quarter",0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"}},"quarter-narrow":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0}q",other:"in {0}q"},past:{one:"{0}q ago",other:"{0}q ago"}},"quarter-short":{"-1":"last qtr.",0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-narrow":{0:"now",future:{one:"in {0}s",other:"in {0}s"},past:{one:"{0}s ago",other:"{0}s ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},week:{"-1":"last week",0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"}},"week-narrow":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0}w",other:"in {0}w"},past:{one:"{0}w ago",other:"{0}w ago"}},"week-short":{"-1":"last wk.",0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"}},year:{"-1":"last year",0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}},"year-narrow":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0}y",other:"in {0}y"},past:{one:"{0}y ago",other:"{0}y ago"}},"year-short":{"-1":"last yr.",0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},locale:"en"});var xd=Object.freeze({__proto__:null});Object.defineProperty(e,"__esModule",{value:!0});var Ld=require("./"),Nd=require("@formatjs/ecma402-abstract"),jd=require("./should-polyfill"),Rd=require("./src/to_locale_string");(0,jd.shouldPolyfill)()&&((0,Nd.defineProperty)(Intl,"DateTimeFormat",{value:Ld.DateTimeFormat}),(0,Nd.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,Rd.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,Nd.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,Rd.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,Nd.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,Rd.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}}));var Fd=Object.freeze({__proto__:null});Intl.DateTimeFormat&&"function"==typeof Intl.DateTimeFormat.__addLocaleData&&Intl.DateTimeFormat.__addLocaleData({data:{am:"AM",pm:"PM",weekday:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},era:{narrow:{BC:"B",AD:"A"},short:{BC:"BC",AD:"AD"},long:{BC:"Before Christ",AD:"Anno Domini"}},month:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},timeZoneName:{"America/Rio_Branco":{long:["Acre Standard Time","Acre Summer Time"]},"Asia/Kabul":{long:["Afghanistan Time","Afghanistan Time"]},"Africa/Maputo":{long:["Central Africa Time","Central Africa Time"]},"Africa/Bujumbura":{long:["Central Africa Time","Central Africa Time"]},"Africa/Gaborone":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lubumbashi":{long:["Central Africa Time","Central Africa Time"]},"Africa/Blantyre":{long:["Central Africa Time","Central Africa Time"]},"Africa/Kigali":{long:["Central Africa Time","Central Africa Time"]},"Africa/Lusaka":{long:["Central Africa Time","Central Africa Time"]},"Africa/Harare":{long:["Central Africa Time","Central Africa Time"]},"Africa/Nairobi":{long:["East Africa Time","East Africa Time"]},"Africa/Djibouti":{long:["East Africa Time","East Africa Time"]},"Africa/Asmera":{long:["East Africa Time","East Africa Time"]},"Africa/Addis_Ababa":{long:["East Africa Time","East Africa Time"]},"Indian/Comoro":{long:["East Africa Time","East Africa Time"]},"Indian/Antananarivo":{long:["East Africa Time","East Africa Time"]},"Africa/Mogadishu":{long:["East Africa Time","East Africa Time"]},"Africa/Dar_es_Salaam":{long:["East Africa Time","East Africa Time"]},"Africa/Kampala":{long:["East Africa Time","East Africa Time"]},"Indian/Mayotte":{long:["East Africa Time","East Africa Time"]},"Africa/Johannesburg":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Maseru":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Mbabane":{long:["South Africa Standard Time","South Africa Standard Time"]},"Africa/Lagos":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Luanda":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Porto-Novo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Kinshasa":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Bangui":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Brazzaville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Douala":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Libreville":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Malabo":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Niamey":{long:["West Africa Standard Time","West Africa Summer Time"]},"Africa/Ndjamena":{long:["West Africa Standard Time","West Africa Summer Time"]},"Asia/Aqtobe":{long:["West Kazakhstan Time","West Kazakhstan Time"]},"America/Juneau":{long:["Alaska Standard Time","Alaska Daylight Time"],short:["AKST","AKDT"]},"Asia/Almaty":{long:["East Kazakhstan Time","East Kazakhstan Time"]},"America/Manaus":{long:["Amazon Standard Time","Amazon Summer Time"]},"America/Chicago":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Belize":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Winnipeg":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Costa_Rica":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Guatemala":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Tegucigalpa":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/Mexico_City":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/El_Salvador":{long:["Central Standard Time","Central Daylight Time"],short:["CST","CDT"]},"America/New_York":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Nassau":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Toronto":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Port-au-Prince":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Jamaica":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Cayman":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Panama":{long:["Eastern Standard Time","Eastern Daylight Time"],short:["EST","EDT"]},"America/Denver":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Edmonton":{long:["Mountain Standard Time","Mountain Daylight Time"],short:["MST","MDT"]},"America/Los_Angeles":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Vancouver":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"America/Tijuana":{long:["Pacific Standard Time","Pacific Daylight Time"],short:["PST","PDT"]},"Asia/Anadyr":{long:["Anadyr Standard Time","Anadyr Summer Time"]},"Pacific/Apia":{long:["Apia Standard Time","Apia Daylight Time"]},"Asia/Riyadh":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Bahrain":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Baghdad":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Kuwait":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Qatar":{long:["Arabian Standard Time","Arabian Daylight Time"]},"Asia/Aden":{long:["Arabian Standard Time","Arabian Daylight Time"]},"America/Buenos_Aires":{long:["Argentina Standard Time","Argentina Summer Time"]},"America/Argentina/San_Luis":{long:["Western Argentina Standard Time","Western Argentina Summer Time"]},"Asia/Ashgabat":{long:["Turkmenistan Standard Time","Turkmenistan Summer Time"]},"America/Halifax":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Antigua":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Anguilla":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Aruba":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Barbados":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Atlantic/Bermuda":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Kralendijk":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Curacao":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Dominica":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Grenada":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Thule":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Guadeloupe":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Kitts":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Lucia":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Marigot":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Martinique":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Montserrat":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Puerto_Rico":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Lower_Princes":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Port_of_Spain":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Vincent":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/Tortola":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"America/St_Thomas":{long:["Atlantic Standard Time","Atlantic Daylight Time"],short:["AST","ADT"]},"Australia/Adelaide":{long:["Australian Central Standard Time","Australian Central Daylight Time"]},"Australia/Eucla":{long:["Australian Central Western Standard Time","Australian Central Western Daylight Time"]},"Australia/Sydney":{long:["Australian Eastern Standard Time","Australian Eastern Daylight Time"]},"Australia/Perth":{long:["Australian Western Standard Time","Australian Western Daylight Time"]},"Atlantic/Azores":{long:["Azores Standard Time","Azores Summer Time"]},"Asia/Thimphu":{long:["Bhutan Time","Bhutan Time"]},"America/La_Paz":{long:["Bolivia Time","Bolivia Time"]},"Asia/Kuching":{long:["Malaysia Time","Malaysia Time"]},"America/Sao_Paulo":{long:["Brasilia Standard Time","Brasilia Summer Time"]},"Europe/London":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Asia/Brunei":{long:["Brunei Darussalam Time","Brunei Darussalam Time"]},"Atlantic/Cape_Verde":{long:["Cape Verde Standard Time","Cape Verde Summer Time"]},"Antarctica/Casey":{long:["Casey Time","Casey Time"]},"Pacific/Saipan":{long:["North Mariana Islands Time","North Mariana Islands Time"]},"Pacific/Guam":{long:["Guam Standard Time","Guam Standard Time"]},"Pacific/Chatham":{long:["Chatham Standard Time","Chatham Daylight Time"]},"America/Santiago":{long:["Chile Standard Time","Chile Summer Time"]},"Asia/Shanghai":{long:["China Standard Time","China Daylight Time"]},"Indian/Christmas":{long:["Christmas Island Time","Christmas Island Time"]},"Indian/Cocos":{long:["Cocos Islands Time","Cocos Islands Time"]},"America/Bogota":{long:["Colombia Standard Time","Colombia Summer Time"]},"Pacific/Rarotonga":{long:["Cook Islands Standard Time","Cook Islands Half Summer Time"]},"America/Havana":{long:["Cuba Standard Time","Cuba Daylight Time"]},"Antarctica/Davis":{long:["Davis Time","Davis Time"]},"Antarctica/DumontDUrville":{long:["Dumont-d’Urville Time","Dumont-d’Urville Time"]},"Asia/Dushanbe":{long:["Tajikistan Time","Tajikistan Time"]},"America/Paramaribo":{long:["Suriname Time","Suriname Time"]},"Asia/Dili":{long:["East Timor Time","East Timor Time"]},"Pacific/Easter":{long:["Easter Island Standard Time","Easter Island Summer Time"]},"America/Guayaquil":{long:["Ecuador Time","Ecuador Time"]},"Europe/Paris":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Andorra":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Tirane":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vienna":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Sarajevo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Brussels":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zurich":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Prague":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Berlin":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Copenhagen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Madrid":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Gibraltar":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Zagreb":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Budapest":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Rome":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vaduz":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Luxembourg":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Monaco":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Podgorica":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Skopje":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Malta":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Amsterdam":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Oslo":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Warsaw":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Belgrade":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Stockholm":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Ljubljana":{long:["Central European Standard Time","Central European Summer Time"]},"Arctic/Longyearbyen":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bratislava":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/San_Marino":{long:["Central European Standard Time","Central European Summer Time"]},"Africa/Tunis":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Vatican":{long:["Central European Standard Time","Central European Summer Time"]},"Europe/Bucharest":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Mariehamn":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Sofia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Nicosia":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Africa/Cairo":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Helsinki":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Athens":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Asia/Beirut":{long:["Eastern European Standard Time","Eastern European Summer Time"]},"Europe/Minsk":{long:["Further-eastern European Time","Further-eastern European Time"]},"Europe/Kaliningrad":{long:["Further-eastern European Time","Further-eastern European Time"]},"Atlantic/Canary":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Faeroe":{long:["Western European Standard Time","Western European Summer Time"]},"Atlantic/Stanley":{long:["Falkland Islands Standard Time","Falkland Islands Summer Time"]},"Pacific/Fiji":{long:["Fiji Standard Time","Fiji Summer Time"]},"America/Cayenne":{long:["French Guiana Time","French Guiana Time"]},"Indian/Kerguelen":{long:["French Southern & Antarctic Time","French Southern & Antarctic Time"]},"Asia/Bishkek":{long:["Kyrgyzstan Time","Kyrgyzstan Time"]},"Pacific/Galapagos":{long:["Galapagos Time","Galapagos Time"]},"Pacific/Gambier":{long:["Gambier Time","Gambier Time"]},"Pacific/Tarawa":{long:["Gilbert Islands Time","Gilbert Islands Time"]},"Atlantic/Reykjavik":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Ouagadougou":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Abidjan":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Accra":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Banjul":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Conakry":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Bamako":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Nouakchott":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Atlantic/St_Helena":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Freetown":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Dakar":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"Africa/Lome":{long:["Greenwich Mean Time","Greenwich Mean Time"],short:["GMT","GMT"]},"America/Godthab":{long:["West Greenland Standard Time","West Greenland Summer Time"]},"America/Scoresbysund":{long:["East Greenland Standard Time","East Greenland Summer Time"]},"Asia/Dubai":{long:["Gulf Standard Time","Gulf Standard Time"]},"Asia/Muscat":{long:["Gulf Standard Time","Gulf Standard Time"]},"America/Guyana":{long:["Guyana Time","Guyana Time"]},"Pacific/Honolulu":{long:["Hawaii-Aleutian Standard Time","Hawaii-Aleutian Daylight Time"],short:["HAST","HADT"]},"Asia/Hong_Kong":{long:["Hong Kong Standard Time","Hong Kong Summer Time"]},"Asia/Hovd":{long:["Hovd Standard Time","Hovd Summer Time"]},"Asia/Calcutta":{long:["India Standard Time","India Standard Time"]},"Asia/Colombo":{long:["Lanka Time","Lanka Time"]},"Indian/Chagos":{long:["Indian Ocean Time","Indian Ocean Time"]},"Asia/Bangkok":{long:["Indochina Time","Indochina Time"]},"Asia/Phnom_Penh":{long:["Indochina Time","Indochina Time"]},"Asia/Vientiane":{long:["Indochina Time","Indochina Time"]},"Asia/Makassar":{long:["Central Indonesia Time","Central Indonesia Time"]},"Asia/Jayapura":{long:["Eastern Indonesia Time","Eastern Indonesia Time"]},"Asia/Jakarta":{long:["Western Indonesia Time","Western Indonesia Time"]},"Asia/Tehran":{long:["Iran Standard Time","Iran Daylight Time"]},"Asia/Irkutsk":{long:["Irkutsk Standard Time","Irkutsk Summer Time"]},"Asia/Jerusalem":{long:["Israel Standard Time","Israel Daylight Time"]},"Asia/Tokyo":{long:["Japan Standard Time","Japan Daylight Time"]},"Asia/Kamchatka":{long:["Petropavlovsk-Kamchatski Standard Time","Petropavlovsk-Kamchatski Summer Time"]},"Asia/Karachi":{long:["Pakistan Standard Time","Pakistan Summer Time"]},"Asia/Qyzylorda":{long:["Qyzylorda Standard Time","Qyzylorda Summer Time"]},"Asia/Seoul":{long:["Korean Standard Time","Korean Daylight Time"]},"Pacific/Kosrae":{long:["Kosrae Time","Kosrae Time"]},"Asia/Krasnoyarsk":{long:["Krasnoyarsk Standard Time","Krasnoyarsk Summer Time"]},"Europe/Samara":{long:["Samara Standard Time","Samara Summer Time"]},"Pacific/Kiritimati":{long:["Line Islands Time","Line Islands Time"]},"Australia/Lord_Howe":{long:["Lord Howe Standard Time","Lord Howe Daylight Time"]},"Asia/Macau":{long:["Macao Standard Time","Macao Summer Time"]},"Asia/Magadan":{long:["Magadan Standard Time","Magadan Summer Time"]},"Indian/Maldives":{long:["Maldives Time","Maldives Time"]},"Pacific/Marquesas":{long:["Marquesas Time","Marquesas Time"]},"Pacific/Majuro":{long:["Marshall Islands Time","Marshall Islands Time"]},"Indian/Mauritius":{long:["Mauritius Standard Time","Mauritius Summer Time"]},"Antarctica/Mawson":{long:["Mawson Time","Mawson Time"]},"America/Mazatlan":{long:["Mexican Pacific Standard Time","Mexican Pacific Daylight Time"]},"Asia/Ulaanbaatar":{long:["Ulaanbaatar Standard Time","Ulaanbaatar Summer Time"]},"Europe/Moscow":{long:["Moscow Standard Time","Moscow Summer Time"]},"Asia/Rangoon":{long:["Myanmar Time","Myanmar Time"]},"Pacific/Nauru":{long:["Nauru Time","Nauru Time"]},"Asia/Katmandu":{long:["Nepal Time","Nepal Time"]},"Pacific/Noumea":{long:["New Caledonia Standard Time","New Caledonia Summer Time"]},"Pacific/Auckland":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"Antarctica/McMurdo":{long:["New Zealand Standard Time","New Zealand Daylight Time"]},"America/St_Johns":{long:["Newfoundland Standard Time","Newfoundland Daylight Time"]},"Pacific/Niue":{long:["Niue Time","Niue Time"]},"Pacific/Norfolk":{long:["Norfolk Island Standard Time","Norfolk Island Daylight Time"]},"America/Noronha":{long:["Fernando de Noronha Standard Time","Fernando de Noronha Summer Time"]},"Asia/Novosibirsk":{long:["Novosibirsk Standard Time","Novosibirsk Summer Time"]},"Asia/Omsk":{long:["Omsk Standard Time","Omsk Summer Time"]},"Pacific/Palau":{long:["Palau Time","Palau Time"]},"Pacific/Port_Moresby":{long:["Papua New Guinea Time","Papua New Guinea Time"]},"America/Asuncion":{long:["Paraguay Standard Time","Paraguay Summer Time"]},"America/Lima":{long:["Peru Standard Time","Peru Summer Time"]},"Asia/Manila":{long:["Philippine Standard Time","Philippine Summer Time"]},"Pacific/Enderbury":{long:["Phoenix Islands Time","Phoenix Islands Time"]},"America/Miquelon":{long:["St. Pierre & Miquelon Standard Time","St. Pierre & Miquelon Daylight Time"]},"Pacific/Pitcairn":{long:["Pitcairn Time","Pitcairn Time"]},"Pacific/Ponape":{long:["Ponape Time","Ponape Time"]},"Asia/Pyongyang":{long:["Pyongyang Time","Pyongyang Time"]},"Indian/Reunion":{long:["Réunion Time","Réunion Time"]},"Antarctica/Rothera":{long:["Rothera Time","Rothera Time"]},"Asia/Sakhalin":{long:["Sakhalin Standard Time","Sakhalin Summer Time"]},"Pacific/Pago_Pago":{long:["Samoa Standard Time","Samoa Daylight Time"]},"Indian/Mahe":{long:["Seychelles Time","Seychelles Time"]},"Asia/Singapore":{long:["Singapore Standard Time","Singapore Standard Time"]},"Pacific/Guadalcanal":{long:["Solomon Islands Time","Solomon Islands Time"]},"Atlantic/South_Georgia":{long:["South Georgia Time","South Georgia Time"]},"Asia/Yekaterinburg":{long:["Yekaterinburg Standard Time","Yekaterinburg Summer Time"]},"Antarctica/Syowa":{long:["Syowa Time","Syowa Time"]},"Pacific/Tahiti":{long:["Tahiti Time","Tahiti Time"]},"Asia/Taipei":{long:["Taipei Standard Time","Taipei Daylight Time"]},"Asia/Tashkent":{long:["Uzbekistan Standard Time","Uzbekistan Summer Time"]},"Pacific/Fakaofo":{long:["Tokelau Time","Tokelau Time"]},"Pacific/Tongatapu":{long:["Tonga Standard Time","Tonga Summer Time"]},"Pacific/Truk":{long:["Chuuk Time","Chuuk Time"]},"Pacific/Funafuti":{long:["Tuvalu Time","Tuvalu Time"]},"America/Montevideo":{long:["Uruguay Standard Time","Uruguay Summer Time"]},"Pacific/Efate":{long:["Vanuatu Standard Time","Vanuatu Summer Time"]},"America/Caracas":{long:["Venezuela Time","Venezuela Time"]},"Asia/Vladivostok":{long:["Vladivostok Standard Time","Vladivostok Summer Time"]},"Europe/Volgograd":{long:["Volgograd Standard Time","Volgograd Summer Time"]},"Antarctica/Vostok":{long:["Vostok Time","Vostok Time"]},"Pacific/Wake":{long:["Wake Island Time","Wake Island Time"]},"Pacific/Wallis":{long:["Wallis & Futuna Time","Wallis & Futuna Time"]},"Asia/Yakutsk":{long:["Yakutsk Standard Time","Yakutsk Summer Time"]},"America/Whitehorse":{long:["Yukon Time","Yukon Time"]},UTC:{long:["Coordinated Universal Time","Coordinated Universal Time"],short:["UTC","UTC"]}},gmtFormat:"GMT{0}",hourFormat:"+HH:mm;-HH:mm",dateFormat:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormat:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormat:{full:"{1}, {0}",long:"{1}, {0}",medium:"{1}, {0}",short:"{1}, {0}"},formats:{gregory:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a","Ehm-alt-ascii":"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a","Ehms-alt-ascii":"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMd:"M/d/y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a","h-alt-ascii":"h a",H:"HH",hm:"h:mm a","hm-alt-ascii":"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a","hms-alt-ascii":"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v","hmsv-alt-ascii":"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v","hmv-alt-ascii":"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y","EEEE, MMMM d, y":"EEEE, MMMM d, y","MMMM d, y":"MMMM d, y","MMM d, y":"MMM d, y","M/d/yy":"M/d/yy","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a zzzz":"h:mm:ss a zzzz","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a z":"h:mm:ss a z","h:mm:ss a":"h:mm:ss a","h:mm:ss a":"h:mm:ss a","h:mm a":"h:mm a","h:mm a":"h:mm a","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a zzzz":"EEEE, MMMM d, y, h:mm:ss a zzzz","MMMM d, y, h:mm:ss a zzzz":"MMMM d, y, h:mm:ss a zzzz","MMM d, y, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","M/d/yy, h:mm:ss a zzzz":"M/d/yy, h:mm:ss a zzzz","d, h:mm:ss a zzzz":"d, h:mm:ss a zzzz","E, h:mm:ss a zzzz":"ccc, h:mm:ss a zzzz","Ed, h:mm:ss a zzzz":"d E, h:mm:ss a zzzz","Gy, h:mm:ss a zzzz":"y G, h:mm:ss a zzzz","GyMd, h:mm:ss a zzzz":"M/d/y G, h:mm:ss a zzzz","GyMMM, h:mm:ss a zzzz":"MMM y G, h:mm:ss a zzzz","GyMMMd, h:mm:ss a zzzz":"MMM d, y G, h:mm:ss a zzzz","GyMMMEd, h:mm:ss a zzzz":"E, MMM d, y G, h:mm:ss a zzzz","M, h:mm:ss a zzzz":"L, h:mm:ss a zzzz","Md, h:mm:ss a zzzz":"M/d, h:mm:ss a zzzz","MEd, h:mm:ss a zzzz":"E, M/d, h:mm:ss a zzzz","MMM, h:mm:ss a zzzz":"LLL, h:mm:ss a zzzz","MMMd, h:mm:ss a zzzz":"MMM d, h:mm:ss a zzzz","MMMEd, h:mm:ss a zzzz":"E, MMM d, h:mm:ss a zzzz","MMMMd, h:mm:ss a zzzz":"MMMM d, h:mm:ss a zzzz","y, h:mm:ss a zzzz":"y, h:mm:ss a zzzz","yM, h:mm:ss a zzzz":"M/y, h:mm:ss a zzzz","yMd, h:mm:ss a zzzz":"M/d/y, h:mm:ss a zzzz","yMEd, h:mm:ss a zzzz":"E, M/d/y, h:mm:ss a zzzz","yMMM, h:mm:ss a zzzz":"MMM y, h:mm:ss a zzzz","yMMMd, h:mm:ss a zzzz":"MMM d, y, h:mm:ss a zzzz","yMMMEd, h:mm:ss a zzzz":"E, MMM d, y, h:mm:ss a zzzz","yMMMM, h:mm:ss a zzzz":"MMMM y, h:mm:ss a zzzz","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a z":"EEEE, MMMM d, y, h:mm:ss a z","MMMM d, y, h:mm:ss a z":"MMMM d, y, h:mm:ss a z","MMM d, y, h:mm:ss a z":"MMM d, y, h:mm:ss a z","M/d/yy, h:mm:ss a z":"M/d/yy, h:mm:ss a z","d, h:mm:ss a z":"d, h:mm:ss a z","E, h:mm:ss a z":"ccc, h:mm:ss a z","Ed, h:mm:ss a z":"d E, h:mm:ss a z","Gy, h:mm:ss a z":"y G, h:mm:ss a z","GyMd, h:mm:ss a z":"M/d/y G, h:mm:ss a z","GyMMM, h:mm:ss a z":"MMM y G, h:mm:ss a z","GyMMMd, h:mm:ss a z":"MMM d, y G, h:mm:ss a z","GyMMMEd, h:mm:ss a z":"E, MMM d, y G, h:mm:ss a z","M, h:mm:ss a z":"L, h:mm:ss a z","Md, h:mm:ss a z":"M/d, h:mm:ss a z","MEd, h:mm:ss a z":"E, M/d, h:mm:ss a z","MMM, h:mm:ss a z":"LLL, h:mm:ss a z","MMMd, h:mm:ss a z":"MMM d, h:mm:ss a z","MMMEd, h:mm:ss a z":"E, MMM d, h:mm:ss a z","MMMMd, h:mm:ss a z":"MMMM d, h:mm:ss a z","y, h:mm:ss a z":"y, h:mm:ss a z","yM, h:mm:ss a z":"M/y, h:mm:ss a z","yMd, h:mm:ss a z":"M/d/y, h:mm:ss a z","yMEd, h:mm:ss a z":"E, M/d/y, h:mm:ss a z","yMMM, h:mm:ss a z":"MMM y, h:mm:ss a z","yMMMd, h:mm:ss a z":"MMM d, y, h:mm:ss a z","yMMMEd, h:mm:ss a z":"E, MMM d, y, h:mm:ss a z","yMMMM, h:mm:ss a z":"MMMM y, h:mm:ss a z","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm:ss a":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, h:mm:ss a":"MMMM d, y, h:mm:ss a","MMM d, y, h:mm:ss a":"MMM d, y, h:mm:ss a","M/d/yy, h:mm:ss a":"M/d/yy, h:mm:ss a","d, h:mm:ss a":"d, h:mm:ss a","E, h:mm:ss a":"ccc, h:mm:ss a","Ed, h:mm:ss a":"d E, h:mm:ss a","Gy, h:mm:ss a":"y G, h:mm:ss a","GyMd, h:mm:ss a":"M/d/y G, h:mm:ss a","GyMMM, h:mm:ss a":"MMM y G, h:mm:ss a","GyMMMd, h:mm:ss a":"MMM d, y G, h:mm:ss a","GyMMMEd, h:mm:ss a":"E, MMM d, y G, h:mm:ss a","M, h:mm:ss a":"L, h:mm:ss a","Md, h:mm:ss a":"M/d, h:mm:ss a","MEd, h:mm:ss a":"E, M/d, h:mm:ss a","MMM, h:mm:ss a":"LLL, h:mm:ss a","MMMd, h:mm:ss a":"MMM d, h:mm:ss a","MMMEd, h:mm:ss a":"E, MMM d, h:mm:ss a","MMMMd, h:mm:ss a":"MMMM d, h:mm:ss a","y, h:mm:ss a":"y, h:mm:ss a","yM, h:mm:ss a":"M/y, h:mm:ss a","yMd, h:mm:ss a":"M/d/y, h:mm:ss a","yMEd, h:mm:ss a":"E, M/d/y, h:mm:ss a","yMMM, h:mm:ss a":"MMM y, h:mm:ss a","yMMMd, h:mm:ss a":"MMM d, y, h:mm:ss a","yMMMEd, h:mm:ss a":"E, MMM d, y, h:mm:ss a","yMMMM, h:mm:ss a":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, h:mm a":"EEEE, MMMM d, y, h:mm a","MMMM d, y, h:mm a":"MMMM d, y, h:mm a","MMM d, y, h:mm a":"MMM d, y, h:mm a","M/d/yy, h:mm a":"M/d/yy, h:mm a","d, h:mm a":"d, h:mm a","E, h:mm a":"ccc, h:mm a","Ed, h:mm a":"d E, h:mm a","Gy, h:mm a":"y G, h:mm a","GyMd, h:mm a":"M/d/y G, h:mm a","GyMMM, h:mm a":"MMM y G, h:mm a","GyMMMd, h:mm a":"MMM d, y G, h:mm a","GyMMMEd, h:mm a":"E, MMM d, y G, h:mm a","M, h:mm a":"L, h:mm a","Md, h:mm a":"M/d, h:mm a","MEd, h:mm a":"E, M/d, h:mm a","MMM, h:mm a":"LLL, h:mm a","MMMd, h:mm a":"MMM d, h:mm a","MMMEd, h:mm a":"E, MMM d, h:mm a","MMMMd, h:mm a":"MMMM d, h:mm a","y, h:mm a":"y, h:mm a","yM, h:mm a":"M/y, h:mm a","yMd, h:mm a":"M/d/y, h:mm a","yMEd, h:mm a":"E, M/d/y, h:mm a","yMMM, h:mm a":"MMM y, h:mm a","yMMMd, h:mm a":"MMM d, y, h:mm a","yMMMEd, h:mm a":"E, MMM d, y, h:mm a","yMMMM, h:mm a":"MMMM y, h:mm a","EEEE, MMMM d, y, Bh":"EEEE, MMMM d, y, h B","MMMM d, y, Bh":"MMMM d, y, h B","MMM d, y, Bh":"MMM d, y, h B","M/d/yy, Bh":"M/d/yy, h B","d, Bh":"d, h B","E, Bh":"ccc, h B","Ed, Bh":"d E, h B","Gy, Bh":"y G, h B","GyMd, Bh":"M/d/y G, h B","GyMMM, Bh":"MMM y G, h B","GyMMMd, Bh":"MMM d, y G, h B","GyMMMEd, Bh":"E, MMM d, y G, h B","M, Bh":"L, h B","Md, Bh":"M/d, h B","MEd, Bh":"E, M/d, h B","MMM, Bh":"LLL, h B","MMMd, Bh":"MMM d, h B","MMMEd, Bh":"E, MMM d, h B","MMMMd, Bh":"MMMM d, h B","y, Bh":"y, h B","yM, Bh":"M/y, h B","yMd, Bh":"M/d/y, h B","yMEd, Bh":"E, M/d/y, h B","yMMM, Bh":"MMM y, h B","yMMMd, Bh":"MMM d, y, h B","yMMMEd, Bh":"E, MMM d, y, h B","yMMMM, Bh":"MMMM y, h B","EEEE, MMMM d, y, Bhm":"EEEE, MMMM d, y, h:mm B","MMMM d, y, Bhm":"MMMM d, y, h:mm B","MMM d, y, Bhm":"MMM d, y, h:mm B","M/d/yy, Bhm":"M/d/yy, h:mm B","d, Bhm":"d, h:mm B","E, Bhm":"ccc, h:mm B","Ed, Bhm":"d E, h:mm B","Gy, Bhm":"y G, h:mm B","GyMd, Bhm":"M/d/y G, h:mm B","GyMMM, Bhm":"MMM y G, h:mm B","GyMMMd, Bhm":"MMM d, y G, h:mm B","GyMMMEd, Bhm":"E, MMM d, y G, h:mm B","M, Bhm":"L, h:mm B","Md, Bhm":"M/d, h:mm B","MEd, Bhm":"E, M/d, h:mm B","MMM, Bhm":"LLL, h:mm B","MMMd, Bhm":"MMM d, h:mm B","MMMEd, Bhm":"E, MMM d, h:mm B","MMMMd, Bhm":"MMMM d, h:mm B","y, Bhm":"y, h:mm B","yM, Bhm":"M/y, h:mm B","yMd, Bhm":"M/d/y, h:mm B","yMEd, Bhm":"E, M/d/y, h:mm B","yMMM, Bhm":"MMM y, h:mm B","yMMMd, Bhm":"MMM d, y, h:mm B","yMMMEd, Bhm":"E, MMM d, y, h:mm B","yMMMM, Bhm":"MMMM y, h:mm B","EEEE, MMMM d, y, Bhms":"EEEE, MMMM d, y, h:mm:ss B","MMMM d, y, Bhms":"MMMM d, y, h:mm:ss B","MMM d, y, Bhms":"MMM d, y, h:mm:ss B","M/d/yy, Bhms":"M/d/yy, h:mm:ss B","d, Bhms":"d, h:mm:ss B","E, Bhms":"ccc, h:mm:ss B","Ed, Bhms":"d E, h:mm:ss B","Gy, Bhms":"y G, h:mm:ss B","GyMd, Bhms":"M/d/y G, h:mm:ss B","GyMMM, Bhms":"MMM y G, h:mm:ss B","GyMMMd, Bhms":"MMM d, y G, h:mm:ss B","GyMMMEd, Bhms":"E, MMM d, y G, h:mm:ss B","M, Bhms":"L, h:mm:ss B","Md, Bhms":"M/d, h:mm:ss B","MEd, Bhms":"E, M/d, h:mm:ss B","MMM, Bhms":"LLL, h:mm:ss B","MMMd, Bhms":"MMM d, h:mm:ss B","MMMEd, Bhms":"E, MMM d, h:mm:ss B","MMMMd, Bhms":"MMMM d, h:mm:ss B","y, Bhms":"y, h:mm:ss B","yM, Bhms":"M/y, h:mm:ss B","yMd, Bhms":"M/d/y, h:mm:ss B","yMEd, Bhms":"E, M/d/y, h:mm:ss B","yMMM, Bhms":"MMM y, h:mm:ss B","yMMMd, Bhms":"MMM d, y, h:mm:ss B","yMMMEd, Bhms":"E, MMM d, y, h:mm:ss B","yMMMM, Bhms":"MMMM y, h:mm:ss B","EEEE, MMMM d, y, h":"EEEE, MMMM d, y, h a","MMMM d, y, h":"MMMM d, y, h a","MMM d, y, h":"MMM d, y, h a","M/d/yy, h":"M/d/yy, h a","d, h":"d, h a","E, h":"ccc, h a","Ed, h":"d E, h a","Gy, h":"y G, h a","GyMd, h":"M/d/y G, h a","GyMMM, h":"MMM y G, h a","GyMMMd, h":"MMM d, y G, h a","GyMMMEd, h":"E, MMM d, y G, h a","M, h":"L, h a","Md, h":"M/d, h a","MEd, h":"E, M/d, h a","MMM, h":"LLL, h a","MMMd, h":"MMM d, h a","MMMEd, h":"E, MMM d, h a","MMMMd, h":"MMMM d, h a","y, h":"y, h a","yM, h":"M/y, h a","yMd, h":"M/d/y, h a","yMEd, h":"E, M/d/y, h a","yMMM, h":"MMM y, h a","yMMMd, h":"MMM d, y, h a","yMMMEd, h":"E, MMM d, y, h a","yMMMM, h":"MMMM y, h a","EEEE, MMMM d, y, H":"EEEE, MMMM d, y, HH","MMMM d, y, H":"MMMM d, y, HH","MMM d, y, H":"MMM d, y, HH","M/d/yy, H":"M/d/yy, HH","d, H":"d, HH","E, H":"ccc, HH","Ed, H":"d E, HH","Gy, H":"y G, HH","GyMd, H":"M/d/y G, HH","GyMMM, H":"MMM y G, HH","GyMMMd, H":"MMM d, y G, HH","GyMMMEd, H":"E, MMM d, y G, HH","M, H":"L, HH","Md, H":"M/d, HH","MEd, H":"E, M/d, HH","MMM, H":"LLL, HH","MMMd, H":"MMM d, HH","MMMEd, H":"E, MMM d, HH","MMMMd, H":"MMMM d, HH","y, H":"y, HH","yM, H":"M/y, HH","yMd, H":"M/d/y, HH","yMEd, H":"E, M/d/y, HH","yMMM, H":"MMM y, HH","yMMMd, H":"MMM d, y, HH","yMMMEd, H":"E, MMM d, y, HH","yMMMM, H":"MMMM y, HH","EEEE, MMMM d, y, hm":"EEEE, MMMM d, y, h:mm a","MMMM d, y, hm":"MMMM d, y, h:mm a","MMM d, y, hm":"MMM d, y, h:mm a","M/d/yy, hm":"M/d/yy, h:mm a","d, hm":"d, h:mm a","E, hm":"ccc, h:mm a","Ed, hm":"d E, h:mm a","Gy, hm":"y G, h:mm a","GyMd, hm":"M/d/y G, h:mm a","GyMMM, hm":"MMM y G, h:mm a","GyMMMd, hm":"MMM d, y G, h:mm a","GyMMMEd, hm":"E, MMM d, y G, h:mm a","M, hm":"L, h:mm a","Md, hm":"M/d, h:mm a","MEd, hm":"E, M/d, h:mm a","MMM, hm":"LLL, h:mm a","MMMd, hm":"MMM d, h:mm a","MMMEd, hm":"E, MMM d, h:mm a","MMMMd, hm":"MMMM d, h:mm a","y, hm":"y, h:mm a","yM, hm":"M/y, h:mm a","yMd, hm":"M/d/y, h:mm a","yMEd, hm":"E, M/d/y, h:mm a","yMMM, hm":"MMM y, h:mm a","yMMMd, hm":"MMM d, y, h:mm a","yMMMEd, hm":"E, MMM d, y, h:mm a","yMMMM, hm":"MMMM y, h:mm a","EEEE, MMMM d, y, Hm":"EEEE, MMMM d, y, HH:mm","MMMM d, y, Hm":"MMMM d, y, HH:mm","MMM d, y, Hm":"MMM d, y, HH:mm","M/d/yy, Hm":"M/d/yy, HH:mm","d, Hm":"d, HH:mm","E, Hm":"ccc, HH:mm","Ed, Hm":"d E, HH:mm","Gy, Hm":"y G, HH:mm","GyMd, Hm":"M/d/y G, HH:mm","GyMMM, Hm":"MMM y G, HH:mm","GyMMMd, Hm":"MMM d, y G, HH:mm","GyMMMEd, Hm":"E, MMM d, y G, HH:mm","M, Hm":"L, HH:mm","Md, Hm":"M/d, HH:mm","MEd, Hm":"E, M/d, HH:mm","MMM, Hm":"LLL, HH:mm","MMMd, Hm":"MMM d, HH:mm","MMMEd, Hm":"E, MMM d, HH:mm","MMMMd, Hm":"MMMM d, HH:mm","y, Hm":"y, HH:mm","yM, Hm":"M/y, HH:mm","yMd, Hm":"M/d/y, HH:mm","yMEd, Hm":"E, M/d/y, HH:mm","yMMM, Hm":"MMM y, HH:mm","yMMMd, Hm":"MMM d, y, HH:mm","yMMMEd, Hm":"E, MMM d, y, HH:mm","yMMMM, Hm":"MMMM y, HH:mm","EEEE, MMMM d, y, hms":"EEEE, MMMM d, y, h:mm:ss a","MMMM d, y, hms":"MMMM d, y, h:mm:ss a","MMM d, y, hms":"MMM d, y, h:mm:ss a","M/d/yy, hms":"M/d/yy, h:mm:ss a","d, hms":"d, h:mm:ss a","E, hms":"ccc, h:mm:ss a","Ed, hms":"d E, h:mm:ss a","Gy, hms":"y G, h:mm:ss a","GyMd, hms":"M/d/y G, h:mm:ss a","GyMMM, hms":"MMM y G, h:mm:ss a","GyMMMd, hms":"MMM d, y G, h:mm:ss a","GyMMMEd, hms":"E, MMM d, y G, h:mm:ss a","M, hms":"L, h:mm:ss a","Md, hms":"M/d, h:mm:ss a","MEd, hms":"E, M/d, h:mm:ss a","MMM, hms":"LLL, h:mm:ss a","MMMd, hms":"MMM d, h:mm:ss a","MMMEd, hms":"E, MMM d, h:mm:ss a","MMMMd, hms":"MMMM d, h:mm:ss a","y, hms":"y, h:mm:ss a","yM, hms":"M/y, h:mm:ss a","yMd, hms":"M/d/y, h:mm:ss a","yMEd, hms":"E, M/d/y, h:mm:ss a","yMMM, hms":"MMM y, h:mm:ss a","yMMMd, hms":"MMM d, y, h:mm:ss a","yMMMEd, hms":"E, MMM d, y, h:mm:ss a","yMMMM, hms":"MMMM y, h:mm:ss a","EEEE, MMMM d, y, Hms":"EEEE, MMMM d, y, HH:mm:ss","MMMM d, y, Hms":"MMMM d, y, HH:mm:ss","MMM d, y, Hms":"MMM d, y, HH:mm:ss","M/d/yy, Hms":"M/d/yy, HH:mm:ss","d, Hms":"d, HH:mm:ss","E, Hms":"ccc, HH:mm:ss","Ed, Hms":"d E, HH:mm:ss","Gy, Hms":"y G, HH:mm:ss","GyMd, Hms":"M/d/y G, HH:mm:ss","GyMMM, Hms":"MMM y G, HH:mm:ss","GyMMMd, Hms":"MMM d, y G, HH:mm:ss","GyMMMEd, Hms":"E, MMM d, y G, HH:mm:ss","M, Hms":"L, HH:mm:ss","Md, Hms":"M/d, HH:mm:ss","MEd, Hms":"E, M/d, HH:mm:ss","MMM, Hms":"LLL, HH:mm:ss","MMMd, Hms":"MMM d, HH:mm:ss","MMMEd, Hms":"E, MMM d, HH:mm:ss","MMMMd, Hms":"MMMM d, HH:mm:ss","y, Hms":"y, HH:mm:ss","yM, Hms":"M/y, HH:mm:ss","yMd, Hms":"M/d/y, HH:mm:ss","yMEd, Hms":"E, M/d/y, HH:mm:ss","yMMM, Hms":"MMM y, HH:mm:ss","yMMMd, Hms":"MMM d, y, HH:mm:ss","yMMMEd, Hms":"E, MMM d, y, HH:mm:ss","yMMMM, Hms":"MMMM y, HH:mm:ss","EEEE, MMMM d, y, hmsv":"EEEE, MMMM d, y, h:mm:ss a v","MMMM d, y, hmsv":"MMMM d, y, h:mm:ss a v","MMM d, y, hmsv":"MMM d, y, h:mm:ss a v","M/d/yy, hmsv":"M/d/yy, h:mm:ss a v","d, hmsv":"d, h:mm:ss a v","E, hmsv":"ccc, h:mm:ss a v","Ed, hmsv":"d E, h:mm:ss a v","Gy, hmsv":"y G, h:mm:ss a v","GyMd, hmsv":"M/d/y G, h:mm:ss a v","GyMMM, hmsv":"MMM y G, h:mm:ss a v","GyMMMd, hmsv":"MMM d, y G, h:mm:ss a v","GyMMMEd, hmsv":"E, MMM d, y G, h:mm:ss a v","M, hmsv":"L, h:mm:ss a v","Md, hmsv":"M/d, h:mm:ss a v","MEd, hmsv":"E, M/d, h:mm:ss a v","MMM, hmsv":"LLL, h:mm:ss a v","MMMd, hmsv":"MMM d, h:mm:ss a v","MMMEd, hmsv":"E, MMM d, h:mm:ss a v","MMMMd, hmsv":"MMMM d, h:mm:ss a v","y, hmsv":"y, h:mm:ss a v","yM, hmsv":"M/y, h:mm:ss a v","yMd, hmsv":"M/d/y, h:mm:ss a v","yMEd, hmsv":"E, M/d/y, h:mm:ss a v","yMMM, hmsv":"MMM y, h:mm:ss a v","yMMMd, hmsv":"MMM d, y, h:mm:ss a v","yMMMEd, hmsv":"E, MMM d, y, h:mm:ss a v","yMMMM, hmsv":"MMMM y, h:mm:ss a v","EEEE, MMMM d, y, Hmsv":"EEEE, MMMM d, y, HH:mm:ss v","MMMM d, y, Hmsv":"MMMM d, y, HH:mm:ss v","MMM d, y, Hmsv":"MMM d, y, HH:mm:ss v","M/d/yy, Hmsv":"M/d/yy, HH:mm:ss v","d, Hmsv":"d, HH:mm:ss v","E, Hmsv":"ccc, HH:mm:ss v","Ed, Hmsv":"d E, HH:mm:ss v","Gy, Hmsv":"y G, HH:mm:ss v","GyMd, Hmsv":"M/d/y G, HH:mm:ss v","GyMMM, Hmsv":"MMM y G, HH:mm:ss v","GyMMMd, Hmsv":"MMM d, y G, HH:mm:ss v","GyMMMEd, Hmsv":"E, MMM d, y G, HH:mm:ss v","M, Hmsv":"L, HH:mm:ss v","Md, Hmsv":"M/d, HH:mm:ss v","MEd, Hmsv":"E, M/d, HH:mm:ss v","MMM, Hmsv":"LLL, HH:mm:ss v","MMMd, Hmsv":"MMM d, HH:mm:ss v","MMMEd, Hmsv":"E, MMM d, HH:mm:ss v","MMMMd, Hmsv":"MMMM d, HH:mm:ss v","y, Hmsv":"y, HH:mm:ss v","yM, Hmsv":"M/y, HH:mm:ss v","yMd, Hmsv":"M/d/y, HH:mm:ss v","yMEd, Hmsv":"E, M/d/y, HH:mm:ss v","yMMM, Hmsv":"MMM y, HH:mm:ss v","yMMMd, Hmsv":"MMM d, y, HH:mm:ss v","yMMMEd, Hmsv":"E, MMM d, y, HH:mm:ss v","yMMMM, Hmsv":"MMMM y, HH:mm:ss v","EEEE, MMMM d, y, hmv":"EEEE, MMMM d, y, h:mm a v","MMMM d, y, hmv":"MMMM d, y, h:mm a v","MMM d, y, hmv":"MMM d, y, h:mm a v","M/d/yy, hmv":"M/d/yy, h:mm a v","d, hmv":"d, h:mm a v","E, hmv":"ccc, h:mm a v","Ed, hmv":"d E, h:mm a v","Gy, hmv":"y G, h:mm a v","GyMd, hmv":"M/d/y G, h:mm a v","GyMMM, hmv":"MMM y G, h:mm a v","GyMMMd, hmv":"MMM d, y G, h:mm a v","GyMMMEd, hmv":"E, MMM d, y G, h:mm a v","M, hmv":"L, h:mm a v","Md, hmv":"M/d, h:mm a v","MEd, hmv":"E, M/d, h:mm a v","MMM, hmv":"LLL, h:mm a v","MMMd, hmv":"MMM d, h:mm a v","MMMEd, hmv":"E, MMM d, h:mm a v","MMMMd, hmv":"MMMM d, h:mm a v","y, hmv":"y, h:mm a v","yM, hmv":"M/y, h:mm a v","yMd, hmv":"M/d/y, h:mm a v","yMEd, hmv":"E, M/d/y, h:mm a v","yMMM, hmv":"MMM y, h:mm a v","yMMMd, hmv":"MMM d, y, h:mm a v","yMMMEd, hmv":"E, MMM d, y, h:mm a v","yMMMM, hmv":"MMMM y, h:mm a v","EEEE, MMMM d, y, Hmv":"EEEE, MMMM d, y, HH:mm v","MMMM d, y, Hmv":"MMMM d, y, HH:mm v","MMM d, y, Hmv":"MMM d, y, HH:mm v","M/d/yy, Hmv":"M/d/yy, HH:mm v","d, Hmv":"d, HH:mm v","E, Hmv":"ccc, HH:mm v","Ed, Hmv":"d E, HH:mm v","Gy, Hmv":"y G, HH:mm v","GyMd, Hmv":"M/d/y G, HH:mm v","GyMMM, Hmv":"MMM y G, HH:mm v","GyMMMd, Hmv":"MMM d, y G, HH:mm v","GyMMMEd, Hmv":"E, MMM d, y G, HH:mm v","M, Hmv":"L, HH:mm v","Md, Hmv":"M/d, HH:mm v","MEd, Hmv":"E, M/d, HH:mm v","MMM, Hmv":"LLL, HH:mm v","MMMd, Hmv":"MMM d, HH:mm v","MMMEd, Hmv":"E, MMM d, HH:mm v","MMMMd, Hmv":"MMMM d, HH:mm v","y, Hmv":"y, HH:mm v","yM, Hmv":"M/y, HH:mm v","yMd, Hmv":"M/d/y, HH:mm v","yMEd, Hmv":"E, M/d/y, HH:mm v","yMMM, Hmv":"MMM y, HH:mm v","yMMMd, Hmv":"MMM d, y, HH:mm v","yMMMEd, Hmv":"E, MMM d, y, HH:mm v","yMMMM, Hmv":"MMMM y, HH:mm v","EEEE, MMMM d, y, ms":"EEEE, MMMM d, y, mm:ss","MMMM d, y, ms":"MMMM d, y, mm:ss","MMM d, y, ms":"MMM d, y, mm:ss","M/d/yy, ms":"M/d/yy, mm:ss","d, ms":"d, mm:ss","E, ms":"ccc, mm:ss","Ed, ms":"d E, mm:ss","Gy, ms":"y G, mm:ss","GyMd, ms":"M/d/y G, mm:ss","GyMMM, ms":"MMM y G, mm:ss","GyMMMd, ms":"MMM d, y G, mm:ss","GyMMMEd, ms":"E, MMM d, y G, mm:ss","M, ms":"L, mm:ss","Md, ms":"M/d, mm:ss","MEd, ms":"E, M/d, mm:ss","MMM, ms":"LLL, mm:ss","MMMd, ms":"MMM d, mm:ss","MMMEd, ms":"E, MMM d, mm:ss","MMMMd, ms":"MMMM d, mm:ss","y, ms":"y, mm:ss","yM, ms":"M/y, mm:ss","yMd, ms":"M/d/y, mm:ss","yMEd, ms":"E, M/d/y, mm:ss","yMMM, ms":"MMM y, mm:ss","yMMMd, ms":"MMM d, y, mm:ss","yMMMEd, ms":"E, MMM d, y, mm:ss","yMMMM, ms":"MMMM y, mm:ss"}},intervalFormats:{intervalFormatFallback:"{0} – {1}",Bh:{B:"h B – h B",h:"h – h B"},Bhm:{B:"h:mm B – h:mm B",h:"h:mm – h:mm B",m:"h:mm – h:mm B"},d:{d:"d – d"},Gy:{G:"y G – y G",y:"y – y G"},GyM:{G:"M/y G – M/y G",M:"M/y – M/y G",y:"M/y – M/y G"},GyMd:{d:"M/d/y – M/d/y G",G:"M/d/y G – M/d/y G",M:"M/d/y – M/d/y G",y:"M/d/y – M/d/y G"},GyMEd:{d:"E, M/d/y – E, M/d/y G",G:"E, M/d/y G – E, M/d/y G",M:"E, M/d/y – E, M/d/y G",y:"E, M/d/y – E, M/d/y G"},GyMMM:{G:"MMM y G – MMM y G",M:"MMM – MMM y G",y:"MMM y – MMM y G"},GyMMMd:{d:"MMM d – d, y G",G:"MMM d, y G – MMM d, y G",M:"MMM d – MMM d, y G",y:"MMM d, y – MMM d, y G"},GyMMMEd:{d:"E, MMM d – E, MMM d, y G",G:"E, MMM d, y G – E, MMM d, y G",M:"E, MMM d – E, MMM d, y G",y:"E, MMM d, y – E, MMM d, y G"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}},hourCycle:"h12",nu:["latn"],ca:["gregory"],hc:["h12","","h23",""]},locale:"en"});var Yd=Object.freeze({__proto__:null});e.Temporal=jl,e.bbn=Pd,e.default=Pd,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=bbn.js.map