@bbn/bbn 2.0.237 → 2.0.238

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.
Files changed (83) hide show
  1. package/dist/$.js +1 -1
  2. package/dist/bbn.js +3 -3
  3. package/dist/bbn.js.map +1 -1
  4. package/dist/bbn.sw.js +3 -3
  5. package/dist/bbn.sw.js.map +1 -1
  6. package/dist/com.js +13 -21
  7. package/dist/{vars.d.ts → data.d.ts} +1 -0
  8. package/dist/{vars.js → data.js} +1 -0
  9. package/dist/db/classes/Object.d.ts +3 -0
  10. package/dist/db/classes/Object.js +458 -0
  11. package/dist/db/classes/ObjectProxy.d.ts +18 -0
  12. package/dist/db/classes/ObjectProxy.js +77 -0
  13. package/dist/db/classes/Proxy.d.ts +17 -0
  14. package/dist/db/classes/Proxy.js +66 -0
  15. package/dist/db/functions/fieldsFromFilter.d.ts +1 -0
  16. package/dist/db/functions/fieldsFromFilter.js +33 -0
  17. package/dist/db/functions/getPrimaryKey.d.ts +2 -0
  18. package/dist/db/functions/getPrimaryKey.js +8 -0
  19. package/dist/db/functions/requestToPromise.d.ts +1 -0
  20. package/dist/db/functions/requestToPromise.js +6 -0
  21. package/dist/db/functions/transactionDone.d.ts +1 -0
  22. package/dist/db/functions/transactionDone.js +7 -0
  23. package/dist/db/functions/transformResult.d.ts +1 -0
  24. package/dist/db/functions/transformResult.js +16 -0
  25. package/dist/db/types.d.ts +54 -0
  26. package/dist/db/types.js +1 -0
  27. package/dist/db.d.ts +1 -65
  28. package/dist/db.js +1 -557
  29. package/dist/dt/classes/{date.d.ts → Date.d.ts} +1 -1
  30. package/dist/dt/classes/{date.js → Date.js} +8 -3
  31. package/dist/dt/classes/{dateTime.d.ts → DateTime.d.ts} +1 -1
  32. package/dist/dt/classes/{dateTime.js → DateTime.js} +9 -3
  33. package/dist/dt/classes/{dt.d.ts → Dt.d.ts} +1 -1
  34. package/dist/dt/classes/{dt.js → Dt.js} +36 -48
  35. package/dist/dt/classes/Duration.js +193 -0
  36. package/dist/dt/classes/{monthDay.d.ts → MonthDay.d.ts} +1 -1
  37. package/dist/dt/classes/{monthDay.js → MonthDay.js} +2 -2
  38. package/dist/dt/classes/{time.d.ts → Time.d.ts} +1 -1
  39. package/dist/dt/classes/{time.js → Time.js} +2 -2
  40. package/dist/dt/classes/{yearMonth.d.ts → YearMonth.d.ts} +1 -1
  41. package/dist/dt/classes/{yearMonth.js → YearMonth.js} +2 -2
  42. package/dist/dt/classes/{zoned.d.ts → Zoned.d.ts} +1 -1
  43. package/dist/dt/classes/{zoned.js → Zoned.js} +9 -3
  44. package/dist/dt/functions/buildLocaleFromIntl.js +1 -1
  45. package/dist/dt/functions/guessFormat.js +1 -1
  46. package/dist/dt/functions/intl-weekinfo-polyfill.js +11 -4
  47. package/dist/dt/functions/parse.js +20 -22
  48. package/dist/dt/functions/setupIntl.js +33 -44
  49. package/dist/dt.d.ts +1 -1
  50. package/dist/dt.js +9 -7
  51. package/dist/env.d.ts +1 -1
  52. package/dist/env.js +6 -7
  53. package/dist/fn/ajax/abort.js +1 -1
  54. package/dist/fn/ajax/ajax.d.ts +1 -1
  55. package/dist/fn/ajax/ajax.js +2 -2
  56. package/dist/fn/ajax/download.js +1 -1
  57. package/dist/fn/ajax/getFileContent.js +2 -3
  58. package/dist/fn/ajax/link.js +2 -2
  59. package/dist/fn/ajax/stream.js +2 -2
  60. package/dist/fn/browser/executeSlowly.js +11 -22
  61. package/dist/fn/browser/log.js +2 -3
  62. package/dist/fn/browser/yieldToBrowser.js +7 -19
  63. package/dist/fn/html/makeReactive.js +2 -2
  64. package/dist/fn/init.d.ts +1 -1
  65. package/dist/fn/init.js +4 -5
  66. package/dist/fn/object/_filter.js +1 -1
  67. package/dist/fn/phone/fphone.js +1 -2
  68. package/dist/fn/string/cast.js +1 -2
  69. package/dist/fn/string/shorten.js +1 -1
  70. package/dist/fn/string/treatForHash.js +1 -1
  71. package/dist/fn/style/addColors.d.ts +1 -1
  72. package/dist/fn/style/addColors.js +4 -4
  73. package/dist/fn/type/checkType.js +1 -2
  74. package/dist/fn/type/isCp.js +1 -2
  75. package/dist/fn/type/isHostname.js +1 -1
  76. package/dist/fn/type/isIP.js +1 -1
  77. package/dist/fn/type/isSame.js +2 -2
  78. package/dist/fn/type/isURL.js +1 -1
  79. package/dist/index-no-dep.js +2 -2
  80. package/dist/index.js +2 -2
  81. package/package.json +1 -1
  82. package/dist/dt/classes/duration.js +0 -199
  83. /package/dist/dt/classes/{duration.d.ts → Duration.d.ts} +0 -0
package/dist/bbn.sw.js CHANGED
@@ -1,4 +1,4 @@
1
- function e(e,n){return n.forEach(function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach(function(t){if("default"!==t&&!(t in e)){var r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:function(){return n[t]}})}})}),Object.freeze(e)}function n(e,n,r,i,a){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(_i(n));return t})(e,n),r,i,a)}function t(e,n,t,r,i,a){const o=_(n,t,r);if(i&&n!==o)throw new RangeError(wi(e,n,t,r,a));return o}function r(e){return null!==e&&/object|function/.test(typeof e)}function i(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const i=e(n,...r);return t.set(n,i),i}}function a(e){return o({name:e},1)}function o(e,n){return l(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return l(e=>({get:e,configurable:1}),e)}function u(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function c(e,n){const t={};let r=e.length;for(const i of n)t[e[--r]]=i;return t}function l(e,n,t){const r={};for(const i in n)r[i]=e(n[i],i,t);return r}function d(e,n,t){const r={};for(let i=0;i<n.length;i++){const a=n[i];r[a]=e(a,i,t)}return r}function m(e,n,t){const r={};for(let i=0;i<e.length;i++)r[n[i]]=t[e[i]];return r}function f(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function h(e,n){for(const t of n)if(t in e)return 1;return 0}function y(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function M(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 v(e){return e.slice().sort()}function w(e,n){return String(n).padStart(e,"0")}function b(e,n){return Math.sign(e-n)}function _(e,n,t){return Math.min(Math.max(e,n),t)}function E(e,n){return[Math.floor(e/n),T(e,n)]}function T(e,n){return(e%n+n)%n}function D(e,n){return[S(e,n),A(e,n)]}function S(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function k(e){return.5===Math.abs(e%1)}function C(e,n,t){let r=0,i=0;for(let a=0;a<=n;a++){const n=e[t[a]],o=ga[a],s=Ma/o,[u,c]=D(n,s);r+=c*o,i+=u}const[a,o]=D(r,Ma);return[i+a,o]}function P(e,n,t){const r={};for(let i=n;i>=0;i--){const n=ga[i];r[t[i]]=S(e,n),e=A(e,n)}return r}function N(e){if(void 0!==e)return H(e)}function z(e){return G(H(e))}function H(e){return L(Ua(e))}function I(e,n){if(null==n)throw new RangeError(_i(e));return n}function F(e){if(!r(e))throw new TypeError(vi);return e}function O(e,n,t=e){if(typeof n!==e)throw new TypeError(bi(t,n));return n}function L(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fi(n,e));return e||0}function G(e,n="number"){if(e<=0)throw new RangeError(hi(n,e));return e}function B(e){if("symbol"==typeof e)throw new TypeError(pi);return String(e)}function x(e,n){return r(e)?String(e):ja(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(gi(e));return e}function j(e,n="number"){if("bigint"==typeof e)throw new TypeError(Mi(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yi(n,e));return e}function Z(e,n){return Math.trunc(j(e,n))||0}function U(e,n){return L(j(e,n),n)}function Y(e,n){return G(Z(e,n),n)}function q(e,n){let[t,r]=D(n,Ma),i=e+t;const a=Math.sign(i);return a&&a===-Math.sign(r)&&(i-=a,r+=a*Ma),[i,r]}function W(e,n,t=1){return q(e[0]+n[0]*t,e[1]+n[1]*t)}function K(e,n){return q(e[0],e[1]+n)}function V(e,n){return W(n,e,-1)}function $(e,n){return b(e[0],n[0])||b(e[1],n[1])}function J(e,n,t){return-1===$(e,n)||1===$(e,t)}function Q(e,n=1){const t=BigInt(Ma/n);return[Number(e/t),Number(e%t)*n]}function X(e,n=1){const t=Ma/n,[r,i]=D(e,t);return[r,i*n]}function ee(e,n=1,t){const[r,i]=e,[a,o]=D(i,n);return r*(Ma/n)+(a+(t?o/n:0))}function ne(e,n,t=E){const[r,i]=e,[a,o]=t(i,n);return[r*(Ma/n)+a,o]}function te(e){return n(e,"isoYear",ho,fo,1),e.isoYear===ho?n(e,"isoMonth",4,12,1):e.isoYear===fo&&n(e,"isoMonth",1,9,1),e}function re(e){return ie({...e,...oo,isoHour:12}),e}function ie(e){const t=n(e,"isoYear",ho,fo,1),r=t===ho?1:t===fo?-1:0;return r&&ae(le({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ae(e){if(!e||J(e,mo,lo))throw new RangeError(Wi);return e}function oe(e){return C(e,5,eo)[1]}function se(e){const[n,t]=E(e,Ma);return[P(t,5,eo),n]}function ue(e){return ne(e,fa)}function ce(e){return fe(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function le(e){const n=ce(e);if(void 0!==n){const[t,r]=D(n,ca);return[t,r*ma+(e.isoMicrosecond||0)*da+(e.isoNanosecond||0)]}}function de(e,n){const[t,r]=se(oe(e)-n);return ae(le({...e,isoDay:e.isoDay+r,...t}))}function me(...e){return fe(...e)/la}function fe(...e){const[n,t]=he(...e),r=n.valueOf();if(!isNaN(r))return r-t*ca}function he(e,n=1,t=1,r=0,i=0,a=0,o=0){const s=e===ho?1:e===fo?-1:0,u=new Date;return u.setUTCHours(r,i,a,o),u.setUTCFullYear(e,n-1,t+s),[u,s]}function ye(e,n){let[t,r]=K(e,n);r<0&&(r+=Ma,t-=1);const[i,a]=E(r,ma),[o,s]=E(a,da);return Me(t*ca+i,o,s)}function Me(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-co)/ca)*Math.sign(e),i=new Date(e-r*ca);return c(to,[i.getUTCFullYear(),i.getUTCMonth()+1,i.getUTCDate()+r,i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-co)throw new RangeError(Wi);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 ve(e,n){return[n,0]}function we(){return vo}function be(e,n){switch(n){case 2:return Ee(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function _e(e){return Ee(e)?366:365}function Ee(e){return e%4==0&&(e%100!=0||e%400==0)}function Te(e){const[n,t]=he(e.isoYear,e.isoMonth,e.isoDay);return T(n.getUTCDay()-t,7)||7}function De(e){return this.id===La?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Ga?bo(e):[]}function Se(e){const n=ce(e);if(n<wo){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(zs(Ga),n),{era:r,eraYear:i}=Nr(t,Ga);return[r,i]}function Ae(e){return ke(e),Ne(e,1),e}function ke(e){return Pe(e,1),e}function Ce(e){return y(no,e,Pe(e))}function Pe(e,t){const{isoYear:r}=e,i=n(e,"isoMonth",1,we(),t);return{isoYear:r,isoMonth:i,isoDay:n(e,"isoDay",1,be(r,i),t)}}function Ne(e,t){return c(eo,[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 ze(e){return void 0===e?0:xo(F(e))}function He(e,n=0){e=Ze(e);const t=Ro(e),r=jo(e,n);return[xo(e),r,t]}function Ie(e,n,t,r=9,i=0,a=4){n=Ze(n);let o=Go(n,r,i),s=xe(n),u=qo(n,a);const c=Lo(n,r,i,1);return null==o?o=Math.max(t,c):Ke(o,c),s=Re(s,c,1),e&&(u=(e=>e<4?(e+2)%4:e)(u)),[o,c,s,u]}function Fe(e,n=6,t){let r=xe(e=Ue(e,_o));const i=qo(e,7);let a=Lo(e,n);return a=I(_o,a),r=Re(r,a,void 0,t),[a,r,i]}function Oe(e){return Zo(Ze(e))}function Le(e,n){return Ge(Ze(e),n)}function Ge(e,n=4){const t=je(e);return[qo(e,4),...Be(Lo(e,n),t)]}function Be(e,n){return null!=e?[ga[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function xe(e){const n=e[To];return void 0===n?1:Z(n,To)}function Re(e,n,r,i){const a=i?Ma:ga[n+1];if(a){const r=ga[n];if(a%((e=t(To,e,1,a/r-(i?0:1),1))*r))throw new RangeError(bi(To,e))}else e=t(To,e,1,r?10**9:1,1);return e}function je(e){let n=e[Do];if(void 0!==n){if("number"!=typeof n){if("auto"===B(n))return;throw new RangeError(bi(Do,n))}n=t(Do,Math.floor(n),0,9,1)}return n}function Ze(e){return void 0===e?{}:F(e)}function Ue(e,n){return"string"==typeof e?{[n]:e}:F(e)}function Ye(e){return{overflow:Co[e]}}function qe(e,n,r=9,i=0,a){let o=n[e];if(void 0===o)return a?i:void 0;if(o=B(o),"auto"===o)return a?i:null;let s=sa[o];if(void 0===s&&(s=$a[o]),void 0===s)throw new RangeError(Si(e,o,sa));return t(e,s,i,r,1,ua),s}function We(e,n,t,r=0){const i=t[e];if(void 0===i)return r;const a=B(i),o=n[a];if(void 0===o)throw new RangeError(Si(e,a,n));return o}function Ke(e,n){if(n>e)throw new RangeError(Xi)}function Ve(e){return{branding:Xo,epochNanoseconds:e}}function $e(e,n,t){return{branding:Qo,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:$o,calendar:n,...f(ao,e)}}function Qe(e,n=e.calendar){return{branding:Vo,calendar:n,...f(ro,e)}}function Xe(e,n=e.calendar){return{branding:Wo,calendar:n,...f(ro,e)}}function en(e,n=e.calendar){return{branding:Ko,calendar:n,...f(ro,e)}}function nn(e){return{branding:Jo,...f(io,e)}}function tn(e){return{branding:es,sign:gt(e),...f(qa,e)}}function rn(e){return ne(e.epochNanoseconds,ma)[0]}function an(e){return e.epochNanoseconds}function on(e,n){return ee(wt(e),ga[n],1)}function sn(e,n,t,r,i,a,o){const s=Ya[t],u={...n,[s]:n[s]+r},c=o(e,i,n),l=o(e,i,u);return[a(c),a(l)]}function un(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(Li);return ee(V(n,e))/r}function cn(e,n,t,r){return ln(e,fn(n,t),r)}function ln(e,n,t){const[r,i]=dn(e,n,t);return ie({...st(e,i),...r})}function dn(e,n,t){return se(wn(oe(e),n,t))}function mn(e){return wn(e,ha,7)}function fn(e,n){return ga[e]*n}function hn(e){const n=yn(e);return[n,st(n,1)]}function yn(e){return so(6,e)}function Mn(e,n,t){const r=Math.min(Tt(e),6);return bt(vn(wt(e,r),n,t),r)}function gn(e,n,t,r,i,a,o,s,u,c){if(0===r&&1===i)return e;const l=ft(r,s)?mt(s)&&r<6&&t>=6?En:_n:Tn;let[d,m,f]=l(e,n,t,r,i,a,o,s,u,c);return f&&7!==r&&(d=((e,n,t,r,i,a,o,s)=>{const u=gt(e);for(let c=r+1;c<=t;c++){if(7===c&&7!==t)continue;const r=Xa(c,e);r[Ya[c]]+=u;const l=ee(V(o(s(i,a,r)),n));if(l&&Math.sign(l)!==u)break;e=r}return e})(d,m,t,Math.max(6,r),o,s,u,c)),d}function pn(e,n,t,r,i){if(6===n){const n=(e=>e[0]+e[1]/Ma)(e);return[wn(n,t,r),0]}return vn(e,fn(n,t),r,i)}function vn(e,n,t,r){let[i,a]=e;r&&a<0&&(a+=Ma,i-=1);const[o,s]=E(wn(a,n,t),Ma);return q(i+o,s)}function wn(e,n,t){return bn(e/n,t)*n}function bn(e,n){return ns[n](e)}function _n(e,n,t,r,i,a){const o=gt(e),s=wt(e),u=pn(s,r,i,a),c=V(s,u),l=Math.sign(u[0]-s[0])===o,d=bt(u,Math.min(t,6));return[{...e,...d},W(n,c),l]}function En(e,n,t,r,i,a,o,s,u,c){const l=gt(e)||1,d=ee(wt(e,5)),m=fn(r,i);let f=wn(d,m,a);const[h,y]=sn(o,{...e,...Qa},6,l,s,u,c),M=f-ee(V(h,y));let g=0;M&&Math.sign(M)!==l?n=K(h,f):(g+=l,f=wn(M,m,a),n=K(y,f));const p=_t(f);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Tn(e,n,t,r,i,a,o,s,u,c){const l=gt(e),d=Ya[r],m=Xa(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const f=S(e[d],i)*i;m[d]=f;const[h,y]=sn(o,m,r,i*l,s,u,c),M=f+un(n,h,y)*l*i,g=wn(M,i,a),p=Math.sign(g-M)===l;return m[d]=g,[m,p?y:h,p]}function Dn(e,n,t,r){const[i,a,o,s]=(e=>{const n=Ge(e=Ze(e));return[e.timeZone,...n]})(r),u=void 0!==i;return((e,n,t,r,i,a)=>{t=vn(t,i,r,1);const o=n.R(t);return Fn(ye(t,o),a)+(e?xn(mn(o)):"Z")})(u,n(u?e(i):ts),t.epochNanoseconds,a,o,s)}function Sn(e,n,t){const[r,i,a,o,s,u]=(e=>{e=Ze(e);const n=Zo(e),t=je(e),r=Yo(e),i=qo(e,4),a=Lo(e,4);return[n,Uo(e),r,i,...Be(a,t)]})(t);return((e,n,t,r,i,a,o,s,u,c)=>{r=vn(r,u,s,1);const l=e(t).R(r);return Fn(ye(r,l),c)+xn(mn(l),o)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,a)+Rn(n,i)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,i,a,o,s,u)}function An(e,n){const[t,r,i,a]=(e=>(e=Ze(e),[Zo(e),...Ge(e)]))(n);return o=e.calendar,s=t,u=a,Fn(ln(e,i,r),u)+Rn(o,s);var o,s,u}function kn(e,n){return t=e.calendar,r=e,i=Oe(n),On(r)+Rn(t,i);var t,r,i}function Cn(e,n){return Hn(e.calendar,Ln,e,Oe(n))}function Pn(e,n){return Hn(e.calendar,Gn,e,Oe(n))}function Nn(e,n){const[t,r,i]=Le(n);return a=i,Bn(dn(e,r,t)[0],a);var a}function zn(e,n){const[t,r,i]=Le(n,3);return r>1&&pt(e={...e,...Mn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?Mt(e):e,{hours:i,minutes:a}=r,[o,s]=ne(wt(r,3),fa,D);vt(o);const u=Zn(s,n),c=n>=0||!t||u;return(t<0?"-":"")+"P"+In({Y:Yn(r.years),M:Yn(r.months),W:Yn(r.weeks),D:Yn(r.days)})+(i||a||o||c?"T"+In({H:Yn(i),M:Yn(a),S:Yn(o,c)+u}):"")})(e,i)}function Hn(e,n,t,r){const i=r>1||0===r&&e!==Oa;return 1===r?e===Oa?n(t):On(t):i?On(t)+jn(e,2===r):n(t)}function In(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function Fn(e,n){return On(e)+"T"+Bn(e,n)}function On(e){return Ln(e)+"-"+oa(e.isoDay)}function Ln(e){const{isoYear:n}=e;return(n<0||n>9999?Un(n)+w(6,Math.abs(n)):w(4,n))+"-"+oa(e.isoMonth)}function Gn(e){return oa(e.isoMonth)+"-"+oa(e.isoDay)}function Bn(e,n){const t=[oa(e.isoHour),oa(e.isoMinute)];return-1!==n&&t.push(oa(e.isoSecond)+((e,n,t,r)=>Zn(e*ma+n*da+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function xn(e,n=0){if(1===n)return"";const[t,r]=E(Math.abs(e),ya),[i,a]=E(r,ha),[o,s]=E(a,fa);return Un(e)+oa(t)+":"+oa(i)+(o||s?":"+oa(o)+Zn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==Oa)?jn(e,2===n):""}function jn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Zn(e,n){let t=w(9,e);return t=void 0===n?t.replace(os,""):t.slice(0,n),t?"."+t:""}function Un(e){return e<0?"-":"+"}function Yn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function qn(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),i=ye(t,r);return{calendar:e.calendar,...i,offsetNanoseconds:r}}function Wn(e,n,t,r=0,i=0,a,o){if(void 0!==t&&1===r&&(1===r||o))return de(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const i=le(n);r&&(t=mn(t));for(const n of e){let e=ee(V(n,i));if(r&&(e=mn(e)),e===t)return n}})(s,n,t,a);if(void 0!==e)return e;if(0===r)throw new RangeError(Yi)}return o?le(n):Kn(e,n,i,s)}function Kn(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qi);if(r.length)return r[3===t?1:0];const i=le(n),a=((e,n)=>{const t=e.R(K(n,-Ma));return(e=>{if(e>Ma)throw new RangeError(Ui);return e})(e.R(K(n,Ma))-t)})(e,i),o=a*(2===t?-1:1);return(r=e.I(ye(i,o)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=K(le(n),-Ma);return e.O(r,1)}function $n(e,n,t){return Ve(ae(W(n.epochNanoseconds,(e=>{if(Et(e))throw new RangeError(Ji);return wt(e,5)})(e?Mt(t):t))))}function Jn(e,n,t,r,i,a=Object.create(null)){const o=n(r.timeZone),s=e(r.calendar);return{...r,...tt(o,s,r,t?Mt(i):i,a)}}function Qn(e,n,t,r,i=Object.create(null)){const{calendar:a}=t;return Je(rt(e(a),t,n?Mt(r):r,i),a)}function Xn(e,n,t,r,i){const{calendar:a}=t;return Qe(it(e(a),t,n?Mt(r):r,i),a)}function et(e,n,t,r,i){const a=t.calendar,o=e(a);let s=re(at(o,t));n&&(r=yt(r)),r.sign<0&&(s=o.P(s,{...Ja,months:1}),s=st(s,-1));const u=o.P(s,r,i);return Xe(at(o,u),a)}function nt(e,n,t){return nn(ot(n,e?Mt(t):t)[0])}function tt(e,n,t,r,i){const a=wt(r,5);let o=t.epochNanoseconds;if(Et(r)){const s=ss(t,e);o=W(Kn(e,{...it(n,s,{...r,...Qa},i),...f(eo,s)}),a)}else o=W(o,a),ze(i);return{epochNanoseconds:ae(o)}}function rt(e,n,t,r){const[i,a]=ot(n,t);return ie({...it(e,n,{...t,...Qa,days:t.days+a},r),...i})}function it(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);ze(r);const i=t.days+wt(t,5)[0];return i?re(st(n,i)):n}function at(e,n,t=1){return st(n,t-e.day(n))}function ot(e,n){const[t,r]=wt(n,5),[i,a]=se(oe(e)+r);return[i,t+a]}function st(e,n){return n?{...e,...Me(ce(e)+n*ca)}:e}function ut(e,n,t){const r=e(t.calendar);return mt(t)?[t,r,n(t.timeZone)]:[{...t,...oo},r]}function ct(e){return e?an:le}function lt(e){return e?g(tt,e):rt}function dt(e){return e?g(sr,e):ur}function mt(e){return e&&e.epochNanoseconds}function ft(e,n){return e<=6-(mt(n)?1:0)}function ht(e,n,t,r,i,a,o){const s=e(Ze(o).relativeTo),u=Math.max(Tt(i),Tt(a));if(ft(u,s))return tn(pt(((e,n,t,r)=>{const i=W(wt(e),wt(n),r?-1:1);if(!Number.isFinite(i[0]))throw new RangeError(Wi);return{...Ja,...bt(i,t)}})(i,a,u,r)));if(!s)throw new RangeError($i);r&&(a=Mt(a));const[c,l,d]=ut(n,t,s),m=lt(d),f=dt(d),h=m(l,c,i);return tn(f(l,c,m(l,h,a),u))}function yt(e){return tn(Mt(e))}function Mt(e){const n={};for(const t of Ya)n[t]=-1*e[t]||0;return n}function gt(e,n=Ya){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Vi);t=n}}return t}function pt(e){for(const n of Va)t(n,e[n],-us,us,1);return vt(ee(wt(e),fa)),e}function vt(e){if(!Number.isSafeInteger(e))throw new RangeError(Ki)}function wt(e,n=6){return C(e,n,Ya)}function bt(e,n=6){const[t,r]=e,i=P(r,n,Ya);if(i[Ya[n]]+=t*(Ma/ga[n]),!Number.isFinite(i[Ya[n]]))throw new RangeError(Wi);return i}function _t(e,n=5){return P(e,n,Ya)}function Et(e){return Boolean(gt(e,Ka))}function Tt(e){let n=9;for(;n>0&&!e[Ya[n]];n--);return n}function Dt(e,n){return[e,n]}function St(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=Lt(e);if(void 0===n)throw new RangeError(ea(e));return n}function kt(e,n,t){let r=It(ja(e));if(!r||r.j)throw new RangeError(ea(e));return n?r.calendar===Oa&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...oo}:{...r,isoDay:1,...oo}):t&&r.calendar===Oa&&(r={...r,isoYear:po}),Qe(r.C?Nt(r):zt(r))}function Ct(e){if(e.calendar!==Oa)throw new RangeError(na(e.calendar))}function Pt(e,n,t=0,r=0){const i=Yt(e.timeZone),a=cs(i);let o;return Ae(e),o=e.C?Wn(a,e,n,t,r,!a.$,e.j):Vn(a,e),$e(o,i,Zr(e.calendar))}function Nt(e){return Ht(ie(Ae(e)))}function zt(e){return Ht(re(ke(e)))}function Ht(e){return{...e,calendar:Zr(e.calendar)}}function It(e){const n=_s.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:Gt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Bt(e.slice(5)),...xt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ft(e){const n=ws.exec(e);return n?(e=>({isoYear:Gt(e),isoMonth:parseInt(e[4]),isoDay:1,...xt(e[5])}))(n):void 0}function Ot(e){const n=bs.exec(e);return n?(e=>({isoYear:po,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...xt(e[3])}))(n):void 0}function Lt(e,n){const t=Ts.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(na(t));return(e=>{if(Math.abs(e)>=Ma)throw new RangeError(Zi);return e})((Ut(e[2])*ya+Ut(e[3])*ha+Ut(e[4])*fa+Rt(e[5]||""))*Zt(e[1]))})(t,n):void 0}function Gt(e){const n=Zt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(na(-0));return n*t}function Bt(e){const n=Ut(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Ut(e[1]),isoMinute:Ut(e[2]),isoSecond:60===n?59:n}}function xt(e){let n,t;const r=[];if(e.replace(Ds,(e,i,a)=>{const o=Boolean(i),[s,u]=a.split("=").reverse();if(u){if("u-ca"===u)r.push(s),n||(n=o);else if(o||/[A-Z]/.test(u))throw new RangeError(na(e))}else{if(t)throw new RangeError(na(e));t=s}return""}),r.length>1&&n)throw new RangeError(na(e));return{timeZone:t,calendar:r[0]||Oa}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function jt(e){return new RegExp(`^${e}$`,"i")}function Zt(e){return e&&"+"!==e?-1:1}function Ut(e){return void 0===e?0:parseInt(e)}function Yt(e){const n=Wt(e);return"number"==typeof n?xn(n):n?(e=>{if(Cs.test(e))throw new RangeError(xi(e));if(ks.test(e))throw new RangeError(ji);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 qt(e){const n=Wt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function Wt(e){const n=Lt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function Kt(e,n){return $(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return $(e.epochNanoseconds,n.epochNanoseconds)}function $t(e,n){return Jt(e,n)||Qt(e,n)}function Jt(e,n){return b(ce(e),ce(n))}function Qt(e,n){return b(oe(e),oe(n))}function Xt(e,n){if(e===n)return 1;try{return qt(e)===qt(n)}catch(e){}}function er(e,n,t,r){const i=Ie(e,r,3,5),a=dr(n.epochNanoseconds,t.epochNanoseconds,...i);return tn(e?Mt(a):a)}function nr(e,n,t,r,i,a){const o=Mr(r.calendar,i.calendar),[s,u,c,l]=Ie(t,a,5),d=r.epochNanoseconds,m=i.epochNanoseconds,f=$(m,d);let h;if(f)if(s<6)h=dr(d,m,s,u,c,l);else{const t=n(((e,n)=>{if(!Xt(e,n))throw new RangeError(Ri);return e})(r.timeZone,i.timeZone)),d=e(o);h=cr(d,t,r,i,f,s,a),h=gn(h,m,s,u,c,l,d,r,an,g(tt,t))}else h=Ja;return tn(t?Mt(h):h)}function tr(e,n,t,r,i){const a=Mr(t.calendar,r.calendar),[o,s,u,c]=Ie(n,i,6),l=le(t),d=le(r),m=$(d,l);let f;if(m)if(o<=6)f=dr(l,d,o,s,u,c);else{const n=e(a);f=lr(n,t,r,m,o,i),f=gn(f,d,o,s,u,c,n,t,le,rt)}else f=Ja;return tn(n?Mt(f):f)}function rr(e,n,t,r,i){const a=Mr(t.calendar,r.calendar);return ar(n,()=>e(a),t,r,...Ie(n,i,6,9,6))}function ir(e,n,t,r,i){const a=Mr(t.calendar,r.calendar),o=Ie(n,i,9,9,8),s=e(a),u=at(s,t),c=at(s,r);return u.isoYear===c.isoYear&&u.isoMonth===c.isoMonth&&u.isoDay===c.isoDay?tn(Ja):ar(n,()=>s,re(u),re(c),...o,8)}function ar(e,n,t,r,i,a,o,s,u=6){const c=le(t),l=le(r);if(void 0===c||void 0===l)throw new RangeError(Wi);let d;if($(l,c))if(6===i)d=dr(c,l,i,a,o,s);else{const e=n();d=e.N(t,r,i),a===u&&1===o||(d=gn(d,l,i,a,o,s,e,t,le,it))}else d=Ja;return tn(e?Mt(d):d)}function or(e,n,t,r){const[i,a,o,s]=Ie(e,r,5,5),u=wn(yr(n,t),fn(a,o),s),c={...Ja,..._t(u,i)};return tn(e?Mt(c):c)}function sr(e,n,t,r,i,a){const o=$(r.epochNanoseconds,t.epochNanoseconds);return o?i<6?mr(t.epochNanoseconds,r.epochNanoseconds,i):cr(n,e,t,r,o,i,a):Ja}function ur(e,n,t,r,i){const a=le(n),o=le(t),s=$(o,a);return s?r<=6?mr(a,o,r):lr(e,n,t,s,r,i):Ja}function cr(e,n,t,r,i,a,o){const[s,u,c]=((e,n,t,r)=>{function i(){return d={...st(s,c++*-r),...o},m=Kn(e,d),$(u,m)===-r}const a=ss(n,e),o=f(eo,a),s=ss(t,e),u=t.epochNanoseconds;let c=0;const l=yr(a,s);let d,m;if(Math.sign(l)===-r&&c++,i()&&(-1===r||i()))throw new RangeError(Li);const h=ee(V(m,u));return[a,d,h]})(n,t,r,i);var l,d;return{...6===a?(l=s,d=u,{...Ja,days:fr(l,d)}):e.N(s,u,a,o),..._t(c)}}function lr(e,n,t,r,i,a){const[o,s,u]=((e,n,t)=>{let r=n,i=yr(e,n);return Math.sign(i)===-t&&(r=st(n,-t),i+=Ma*t),[e,r,i]})(n,t,r);return{...e.N(o,s,i,a),..._t(u)}}function dr(e,n,t,r,i,a){return{...Ja,...bt(pn(V(e,n),r,i,a),t)}}function mr(e,n,t){return{...Ja,...bt(V(e,n),t)}}function fr(e,n){return hr(ce(e),ce(n))}function hr(e,n){return Math.trunc((n-e)/ca)}function yr(e,n){return oe(n)-oe(e)}function Mr(e,n){if(e!==n)throw new RangeError(Bi);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function vr(e){const[n]=this.v(e);return hr(this.p(n),ce(e))+1}function wr(e){const n=Ps.exec(e);if(!n)throw new RangeError(Hi(e));return[parseInt(n[1]),Boolean(n[2])]}function br(e,n){return"M"+oa(e)+(n?"L":"")}function _r(e,n,t){return e+(n||t&&e>=t?1:0)}function Er(e,n){return e-(n&&e>=n?1:0)}function Tr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return Ba[Ar(e)]}function Sr(e){return Ra[Ar(e)]}function Ar(e){return Ur(e.id||Oa)}function kr(e){function n(e){return((e,n)=>({...Nr(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=zs(e),r=Ur(e);return{id:e,h:Cr(n),l:Pr(n)}}function Cr(e){return i(n=>{const t=ce(n);return e(t)},WeakMap)}function Pr(e){const n=e(0).year-go;return i(t=>{let r,i=fe(t-n),a=0;const o=[],s=[];do{i+=400*ca}while((r=e(i)).year<=t);do{if(i+=(1-r.day)*ca,r.year===t&&(o.push(i),s.push(r.o)),i-=ca,++a>100||i<-co)throw new RangeError(Li)}while((r=e(i)).year>=t);return{i:o.reverse(),u:ia(s.reverse())}})}function Nr(e,n){let t,r,i=zr(e);if(e.era){const a=Ba[n],o=xa[n]||{};void 0!==a&&(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=o[t]||t,r=i,i=Tr(r,a[t]||0))}return{era:t,eraYear:r,year:i}}function zr(e){return parseInt(e.relatedYear||e.year)}function Hr(e){const{year:n,o:t,day:r}=this.h(e),{u:i}=this.l(n);return[n,i[t]+1,r]}function Ir(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ca}function Fr(e,n){const t=Or.call(this,e);return[Er(n,t),t===n]}function Or(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=Sr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function Lr(e){return hr(Ir.call(this,e),Ir.call(this,e+1))}function Gr(e,n){const{i:t}=this.l(e);let r=n+1,i=t;return r>t.length&&(r=1,i=this.l(e+1).i),hr(t[n-1],i[r-1])}function Br(e){return this.l(e).i.length}function xr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function jr(e){return Zr(ja(e))}function Zr(e){if((e=e.toLowerCase())!==Oa&&e!==La){const n=zs(e).resolvedOptions().calendar;if(Ur(e)!==Ur(n))throw new RangeError(Gi(e));return n}return e}function Ur(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Yr(e,n){return t=>t===Oa?e:t===La||t===Ga?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),Ns(t))}function qr(e,n,t,r){const i=Wr(t,r,za,[],Ea);if(void 0!==i.timeZone){const r=t.F(i),a=Vr(i),o=e(i.timeZone);return{epochNanoseconds:Wn(n(o),{...r,...a},void 0!==i.offset?At(i.offset):void 0),timeZone:o}}return{...t.F(i),...oo}}function Wr(e,n,t,r=[],i=[]){return Kr(n,[...e.fields(t),...i].sort(),r)}function Kr(e,n,t,r=!t){const i={};let a,o=0;for(const r of n){if(r===a)throw new RangeError(Ti(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Ei(r));let n=e[r];if(void 0!==n)o=1,Zs[r]&&(n=Zs[r](n,r)),i[r]=n;else if(t){if(t.includes(r))throw new TypeError(_i(r));i[r]=Fa[r]}a=r}if(r&&!o)throw new TypeError(Di(n));return i}function Vr(e,n){return Ne(Us({...Fa,...e}),n)}function $r(e,n,t,r,i){n=f(t=e.fields(t),n),r=Kr(r,i=e.fields(i),[]);let a=e.k(n,r);return a=Kr(a,[...t,...i].sort(),[]),e.F(a)}function Jr(e,n){const t=Dr(e),r=xa[e.id||""]||{};let{era:i,eraYear:a,year:o}=n;if(void 0!==i||void 0!==a){if(void 0===i||void 0===a)throw new TypeError(Ci);if(!t)throw new RangeError(ki);const e=t[r[i]||i];if(void 0===e)throw new RangeError(Ni(i));const n=Tr(a,e);if(void 0!==o&&o!==n)throw new RangeError(Pi);o=n}else if(void 0===o)throw new TypeError(zi(t));return o}function Qr(e,n,r,i){let{month:a,monthCode:o}=n;if(void 0!==o){const n=((e,n,t,r)=>{const i=e.L(t),[a,o]=wr(n);let s=_r(a,o,i);if(o){const n=Sr(e);if(void 0===n)throw new RangeError(Oi);if(n>0){if(s>n)throw new RangeError(Oi);if(void 0===i){if(1===r)throw new RangeError(Oi);s--}}else{if(s!==-n)throw new RangeError(Oi);if(void 0===i&&1===r)throw new RangeError(Oi)}}return s})(e,o,r,i);if(void 0!==a&&a!==n)throw new RangeError(Ii);a=n,i=1}else if(void 0===a)throw new TypeError(Fi);return t("month",a,1,e.B(r),i)}function Xr(e,t,r,i,a){return n(t,"day",1,e.U(i,r),a)}function ei(e,n,t,r){let i=0;const a=[];for(const e of t)void 0!==n[e]?i=1:a.push(e);if(Object.assign(e,n),i)for(const n of r||a)delete e[n]}function ni(e){const n=Rs(e.calendar),[t,r,i]=n.v(e),[a,o]=n.q(t,r);return{year:t,monthCode:br(a,o),day:i}}function ti(e,n){return Je(ss(n,e))}function ri(e,n){return Qe(ss(n,e))}function ii(e,n){return nn(ss(n,e))}function ai(e,n,t){const r=new Set(t);return(i,a)=>{const o=t&&h(i,t);if(!h(i=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,i),e)){if(a&&o)throw new TypeError("Invalid formatting options");i={...n,...i}}return t&&(i.timeZone=ts,["full","long"].includes(i.J)&&(i.J="medium")),i}}function oi(e,n=si,t=0){const[r,,,i]=e;return(a,o=bu,...s)=>{const u=n(i&&i(...s),a,o,r,t),c=u.resolvedOptions();return[u,...ui(e,c,s)]}}function si(e,n,t,r,i){if(t=r(t,i),e){if(void 0!==t.timeZone)throw new TypeError(ra);t.timeZone=e}return new yo(n,t)}function ui(e,n,t){const[,r,i]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==Oa)&&e!==n)throw new RangeError(Bi)})(e.calendar,n.calendar,i),r(e,n)))}function ci(e,n){return{...e,calendar:n}}function li(e){const n=di();return ye(n,e.R(n))}function di(){return X(Date.now(),ma)}function mi(){return Pu||(Pu=(new yo).resolvedOptions().timeZone)}const fi=(e,n)=>`Non-integer ${e}: ${n}`,hi=(e,n)=>`Non-positive ${e}: ${n}`,yi=(e,n)=>`Non-finite ${e}: ${n}`,Mi=e=>`Cannot convert bigint to ${e}`,gi=e=>`Invalid bigint: ${e}`,pi="Cannot convert Symbol to string",vi="Invalid object",wi=(e,n,t,r,i)=>i?wi(e,i[n],i[t],i[r]):bi(e,n)+`; must be between ${t}-${r}`,bi=(e,n)=>`Invalid ${e}: ${n}`,_i=e=>`Missing ${e}`,Ei=e=>`Invalid field ${e}`,Ti=e=>`Duplicate field ${e}`,Di=e=>"No valid fields: "+e.join(),Si=(e,n,t)=>bi(e,n)+"; must be "+Object.keys(t).join(),Ai="Invalid calling context",ki="Forbidden era/eraYear",Ci="Mismatching era/eraYear",Pi="Mismatching year/eraYear",Ni=e=>`Invalid era: ${e}`,zi=e=>"Missing year"+(e?"/era/eraYear":""),Hi=e=>`Invalid monthCode: ${e}`,Ii="Mismatching month/monthCode",Fi="Missing month/monthCode",Oi="Invalid leap month",Li="Invalid protocol results",Gi=e=>bi("Calendar",e),Bi="Mismatching Calendars",xi=e=>bi("TimeZone",e),Ri="Mismatching TimeZones",ji="Forbidden ICU TimeZone",Zi="Out-of-bounds offset",Ui="Out-of-bounds TimeZone gap",Yi="Invalid TimeZone offset",qi="Ambiguous offset",Wi="Out-of-bounds date",Ki="Out-of-bounds duration",Vi="Cannot mix duration signs",$i="Missing relativeTo",Ji="Cannot use large units",Qi="Required smallestUnit or largestUnit",Xi="smallestUnit > largestUnit",ea=e=>`Cannot parse: ${e}`,na=e=>`Invalid substring: ${e}`,ta="Mismatching types for formatting",ra="Cannot specify TimeZone",ia=g(d,(e,n)=>n),aa=g(d,(e,n,t)=>t),oa=g(w,2),sa={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},ua=Object.keys(sa),ca=864e5,la=1e3,da=1e3,ma=1e6,fa=1e9,ha=6e10,ya=36e11,Ma=864e11,ga=[1,da,ma,fa,ha,ya,Ma],pa=ua.slice(0,6),va=v(pa),wa=["offset"],ba=["timeZone"],_a=pa.concat(wa),Ea=_a.concat(ba),Ta=["era","eraYear"],Da=Ta.concat(["year"]),Sa=["year"],Aa=["monthCode"],ka=["month"].concat(Aa),Ca=["day"],Pa=ka.concat(Sa),Na=Aa.concat(Sa),za=Ca.concat(Pa),Ha=Ca.concat(ka),Ia=Ca.concat(Aa),Fa=aa(pa,0),Oa="iso8601",La="gregory",Ga="japanese",Ba={[La]:{"gregory-inverse":-1,gregory:0},[Ga]:{"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}},xa={[La]:{bce:"gregory-inverse",ce:"gregory"},[Ga]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Ra={chinese:13,dangi:13,hebrew:-6},ja=g(O,"string"),Za=g(O,"boolean"),Ua=g(O,"number"),Ya=ua.map(e=>e+"s"),qa=v(Ya),Wa=Ya.slice(0,6),Ka=Ya.slice(6),Va=Ka.slice(1),$a=ia(Ya),Ja=aa(Ya,0),Qa=aa(Wa,0),Xa=g(M,Ya),eo=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],no=["isoDay","isoMonth","isoYear"],to=eo.concat(no),ro=v(no),io=v(eo),ao=v(to),oo=aa(io,0),so=g(M,to),uo=1e8,co=uo*ca,lo=[uo,0],mo=[-uo,0],fo=275760,ho=-271821,yo=Intl.DateTimeFormat,Mo="en-GB",go=1970,po=1972,vo=12,wo=fe(1868,9,8),bo=i(Se,WeakMap),_o="smallestUnit",Eo="unit",To="roundingIncrement",Do="fractionalSecondDigits",So="relativeTo",Ao="direction",ko={constrain:0,reject:1},Co=Object.keys(ko),Po={compatible:0,reject:1,earlier:2,later:3},No={reject:0,use:1,prefer:2,ignore:3},zo={auto:0,never:1,critical:2,always:3},Ho={auto:0,never:1,critical:2},Io={auto:0,never:1},Fo={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Oo={previous:-1,next:1},Lo=g(qe,_o),Go=g(qe,"largestUnit"),Bo=g(qe,Eo),xo=g(We,"overflow",ko),Ro=g(We,"disambiguation",Po),jo=g(We,"offset",No),Zo=g(We,"calendarName",zo),Uo=g(We,"timeZoneName",Ho),Yo=g(We,"offset",Io),qo=g(We,"roundingMode",Fo),Wo="PlainYearMonth",Ko="PlainMonthDay",Vo="PlainDate",$o="PlainDateTime",Jo="PlainTime",Qo="ZonedDateTime",Xo="Instant",es="Duration",ns=[Math.floor,e=>k(e)?Math.floor(e):Math.round(e),Math.ceil,e=>k(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>k(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=>k(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,is=me(1847),as=me((new Date).getUTCFullYear()+10),os=/0+$/,ss=i(qn,WeakMap),us=2**32-1,cs=i(e=>{const n=Wt(e);return"object"==typeof n?new ds(n):new ls(n||0)});class ls{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=le({...e,...oo});if(!n||Math.abs(n[0])>1e8)throw new RangeError(Wi)})(e),[de(e,this.$)]}O(){}}class ds{constructor(e){this.nn=(e=>{function n(e){const n=_(e,o,s),[i,u]=St(n),c=r(i),l=r(u);return c===l?c:t(a(i,u),c,l,e)}function t(n,t,r,i){let a,o;for(;(void 0===i||void 0===(a=i<n[0]?t:i>=n[1]?r:void 0))&&(o=n[1]-n[0]);){const t=n[0]+Math.floor(o/2);e(t)===r?n[1]=t:n[0]=t+1}return a}const r=i(e),a=i(Dt);let o=is,s=as;return{tn(e){const t=n(e-86400),r=n(e+86400),i=e-t,a=e-r;if(t===r)return[i];const o=n(i);return o===n(a)?[e-o]:t>r?[i,a]:[]},rn:n,O(e,n){const i=_(e,o,s);let[u,c]=St(i);const l=rs*n,d=n<0?()=>c>o||(o=i,0):()=>u<s||(s=i,0);for(;d();){const i=r(u),o=r(c);if(i!==o){const r=a(u,c);t(r,i,o);const s=r[0];if((b(s,e)||1)===n)return s}u+=l,c+=l}}}})((e=>n=>{const t=ge(e,n*la);return me(zr(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=>ue(e)[0])(e))*fa}I(e){const[n,t]=[me((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*ma+r.isoMicrosecond*da+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ae(K(X(e,fa),t)))}O(e,n){const[t,r]=ue(e),i=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==i)return X(i,fa)}}const ms="([+-])",fs="(?:[.,](\\d{1,9}))?",hs=`(?:(?:${ms}(\\d{6}))|(\\d{4}))-?(\\d{2})`,ys="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+fs+")?)?",Ms=ms+ys,gs=hs+"-?(\\d{2})(?:[T ]"+ys+"(Z|"+Ms+")?)?",ps="\\[(!?)([^\\]]*)\\]",vs=`((?:${ps}){0,9})`,ws=jt(hs+vs),bs=jt("(?:--)?(\\d{2})-?(\\d{2})"+vs),_s=jt(gs+vs),Es=jt("T?"+ys+"(?:"+Ms+")?"+vs),Ts=jt(Ms),Ds=new RegExp(ps,"g"),Ss=jt(`${ms}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${fs}H)?(?:(\\d+)${fs}M)?(?:(\\d+)${fs}S)?)?`),As=i(e=>new yo(Mo,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),ks=/^(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$/,Cs=/[^\w\/:+-]+/,Ps=/^M(\d{2})(L?)$/,Ns=i(kr),zs=i(e=>new yo(Mo,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Hs={P(e,n,r){const i=ze(r);let a,{years:o,months:s,weeks:u,days:c}=n;if(c+=wt(n,5)[0],o||s)a=((e,n,r,i,a)=>{let[o,s,u]=e.v(n);if(r){const[n,i]=e.q(o,s);o+=r,s=_r(n,i,e.L(o)),s=t("month",s,1,e.B(o),a)}return i&&([o,s]=e.un(o,s,i)),u=t("day",u,1,e.U(o,s),a),e.p(o,s,u)})(this,e,o,s,i);else{if(!u&&!c)return e;a=ce(e)}if(void 0===a)throw new RangeError(Wi);return a+=(7*u+c)*ca,re(Me(a))},N(e,n,t){if(t<=7){let r=0,i=fr({...e,...oo},{...n,...oo});return 7===t&&([r,i]=D(i,7)),{...Ja,weeks:r,days:i}}const r=this.v(e),i=this.v(n);let[a,o,s]=((e,n,t,r,i,a,o)=>{let s=i-n,u=a-t,c=o-r;if(s||u){const l=Math.sign(s||u);let d=e.U(i,a),m=0;if(Math.sign(c)===-l){const r=d;[i,a]=e.un(i,a,-l),s=i-n,u=a-t,d=e.U(i,a),m=l<0?-r:d}if(c=o-Math.min(r,d)+m,s){const[r,o]=e.q(n,t),[c,d]=e.q(i,a);if(u=c-r||Number(d)-Number(o),Math.sign(u)===-l){const t=l<0&&-e.B(i);s=(i-=l)-n,u=a-_r(r,o,e.L(i))+(t||e.B(i))}}}return[s,u,c]})(this,...r,...i);return 8===t&&(o+=this.cn(a,r[0]),a=0),{...Ja,years:a,months:o,days:s}},F(e,n){const t=ze(n),r=Jr(this,e),i=Qr(this,e,r,t),a=Xr(this,e,i,r,t);return Qe(re(this.V(r,i,a)),this.id||Oa)},K(e,n){const t=ze(n),r=Jr(this,e),i=Qr(this,e,r,t);return Xe(te(this.V(r,i,1)),this.id||Oa)},_(e,n){const t=ze(n);let r,i,a,o=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===o&&s&&(o=po),void 0!==o){const n=Qr(this,e,o,t);r=Xr(this,e,n,o,t);const s=this.L(o);i=Er(n,s),a=n===s}else{if(void 0===e.monthCode)throw new TypeError(Fi);if([i,a]=wr(e.monthCode),this.id&&this.id!==La&&this.id!==Ga)if(this.id&&"coptic"===Ur(this.id)&&0===t){const n=a||13!==i?30:6;r=e.day,r=_(r,1,n)}else if(this.id&&"chinese"===Ur(this.id)&&0===t){const n=!a||1!==i&&9!==i&&10!==i&&11!==i&&12!==i?30:29;r=e.day,r=_(r,1,n)}else r=e.day;else r=Xr(this,e,Qr(this,e,po,t),po,t)}const u=this.G(i,a,r);if(!u)throw new RangeError("Cannot guess year");const[c,l]=u;return en(re(this.V(c,l,r)),this.id||Oa)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Ta]:e},k(e,n){const t=Object.assign(Object.create(null),e);return ei(t,n,ka),Dr(this)&&(ei(t,n,Da),this.id===Ga&&ei(t,n,Ha,Ta)),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:vr,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,i]=this.q(n,t);return br(r,i)},dayOfWeek:Te,daysInWeek:()=>7},Is={v:pe,hn:De,q:ve},Fs={dayOfYear:vr,v:pe,p:fe},Os=Object.assign({},Fs,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=_e(m+e),r=e||1,i=n(T(u+t*r,7));return l=(t+(i-c)*r)/7}const r=this.id?1:4,i=Te(e),a=this.dayOfYear(e),o=T(i-1,7),s=a-1,u=T(o-s,7),c=n(u);let l,d=Math.floor((s-c)/7)+1,m=e.isoYear;return d?d>t(0)&&(d=1,m++):(d=t(-1),m--),[d,m,l]}}),Ls=Object.assign({},Hs,Os,{v:pe,hn:De,q:ve,G(e,n){if(!n)return[po,e]},sn:Ee,L(){},B:we,cn:e=>e*vo,U:be,fn:_e,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:fe,un:(e,n,t)=>(e+=S(t,vo),(n+=A(t,vo))<1?(e--,n+=vo):n>vo&&(e++,n-=vo),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Gs={v:Hr,hn:xr,q:Fr},Bs={dayOfYear:vr,v:Hr,p:Ir,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},xs=Object.assign({},Hs,Bs,{v:Hr,hn:xr,q:Fr,G(e,n,t){const r=this.id&&"chinese"===Ur(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):po;let[i,a,o]=Hr.call(this,{isoYear:r,isoMonth:vo,isoDay:31});const s=Or.call(this,i),u=a===s;1===(b(e,Er(a,s))||b(Number(n),Number(u))||b(t,o))&&i--;for(let r=0;r<100;r++){const a=i-r,o=Or.call(this,a),s=_r(e,n,o);if(n===(s===o)&&t<=Gr.call(this,a,s))return[a,s]}},sn(e){const n=Lr.call(this,e);return n>Lr.call(this,e-1)&&n>Lr.call(this,e+1)},L:Or,B:Br,cn(e,n){const t=n+e,r=Math.sign(e),i=r<0?-1:0;let a=0;for(let e=n;e!==t;e+=r)a+=Br.call(this,e+i);return a},U:Gr,fn:Lr,V(e,n,t){return Me(Ir.call(this,e,n,t))},p:Ir,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError(Wi);if(t<0)for(;n<1;)n+=Br.call(this,--e);else{let t;for(;n>(t=Br.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=Yr(Is,Gs),js=Yr(Ls,xs),Zs={...{era:x,eraYear:Z,year:Z,month:Y,monthCode(e){const n=x(e);return wr(n),n},day:Y},...aa(pa,Z),...aa(Ya,U),offset(e){const n=x(e);return At(n),n}},Us=g(m,pa,eo),Ys=g(m,eo,pa),qs="numeric",Ws=["timeZoneName"],Ks={month:qs,day:qs},Vs={year:qs,month:qs},$s=Object.assign({},Vs,{day:qs}),Js={hour:qs,minute:qs,second:qs},Qs=Object.assign({},$s,Js),Xs=Object.assign({},Qs,{timeZoneName:"short"}),eu=Object.keys(Vs),nu=Object.keys(Ks),tu=Object.keys($s),ru=Object.keys(Js),iu=["dateStyle"],au=eu.concat(iu),ou=nu.concat(iu),su=tu.concat(iu,["weekday"]),uu=ru.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),cu=su.concat(uu),lu=Ws.concat(uu),du=Ws.concat(su),mu=Ws.concat(["day","weekday"],uu),fu=Ws.concat(["year","weekday"],uu),hu=ai(cu,Qs),yu=ai(cu,Xs),Mu=ai(cu,Qs,Ws),gu=ai(su,$s,lu),pu=ai(uu,Js,du),vu=ai(au,Vs,mu),wu=ai(ou,Ks,fu),bu={},_u=new yo(void 0,{calendar:Oa}).resolvedOptions().calendar===Oa,Eu=[hu,rn],Tu=[yu,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Ri);return t}],Du=[Mu,ce],Su=[gu,ce],Au=[pu,e=>oe(e)/ma],ku=[vu,ce,_u],Cu=[wu,ce,_u];let Pu;function Nu(e,n,t,r,i){function c(...e){if(!(this instanceof c))throw new TypeError(Ai);rc(this,n(...e))}function d(e,n){return Object.defineProperties(function(...n){return e.call(this,m(this),...n)},a(n))}function m(n){const t=tc(n);if(!t||t.branding!==e)throw new TypeError(Ai);return t}return Object.defineProperties(c.prototype,{...s(l(d,t)),...o(l(d,r)),...u("Temporal."+e)}),Object.defineProperties(c,{...o(i),...a(e)}),[c,e=>{const n=Object.create(c.prototype);return rc(n,e),n},m]}function zu(e){if(tc(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Hu(e){return Iu(e)||Oa}function Iu(e){const{calendar:n}=e;if(void 0!==n)return Fu(n)}function Fu(e){if(r(e)){const{calendar:n}=tc(e)||{};if(!n)throw new TypeError(Gi(e));return n}return(e=>Zr(function(e){const n=It(e)||Ft(e)||Ot(e);return n?n.calendar:e}(ja(e))))(e)}function Ou(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return js(n)[t](e)};return n}function Lu(){throw new TypeError("Cannot use valueOf")}function Gu(e){if(r(e)){const{timeZone:n}=tc(e)||{};if(!n)throw new TypeError(xi(e));return n}return(e=>Yt(function(e){const n=It(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(ja(e))))(e)}function Bu(e){if(r(e)){const n=tc(e);return n&&n.branding===es?n:function(e){const n=Kr(e,qa);return tn(pt({...Ja,...n}))}(e)}return function(e){const n=(e=>{const n=Ss.exec(e);return n?(e=>{function n(e,n,a){let o=0,s=0;if(a&&([o,i]=E(i,ga[a])),void 0!==e){if(r)throw new RangeError(na(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(na(e));return n})(e),t=1,n&&(i=Rt(n)*(ga[a]/fa),r=1)}return o+s}let t=0,r=0,i=0,a={...c(Ya,[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)]),...P(i,2,Ya)};if(!t)throw new RangeError(Di(Ya));return Zt(e[1])<0&&(a=Mt(a)),a})(n):void 0})(ja(e));if(!n)throw new RangeError(ea(e));return tn(pt(n))}(e)}function xu(e){if(void 0!==e){if(r(e)){const n=tc(e)||{};switch(n.branding){case Qo:case Vo:return n;case $o:return Qe(n)}const t=Hu(e);return{...qr(Gu,cs,js(t),e),calendar:t}}return function(e){const n=It(ja(e));if(!n)throw new RangeError(ea(e));if(n.timeZone)return Pt(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ea(e));return zt(n)}(e)}}function Ru(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case Jo:return ze(n),t;case $o:return ze(n),nn(t);case Qo:return ze(n),ii(cs,t)}return function(e,n){return nn(Vr(Kr(e,va,[],1),ze(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Es.exec(e);return n?(xt(n[10]),Bt(n)):void 0})(ja(e));if(!t){if(t=It(e),!t)throw new RangeError(ea(e));if(!t.C)throw new RangeError(ea(e));if(t.j)throw new RangeError(na("Z"));Ct(t)}if((n=Ft(e))&&Ce(n))throw new RangeError(ea(e));if((n=Ot(e))&&Ce(n))throw new RangeError(ea(e));return nn(Ne(t,1))}(e);return ze(n),t}function ju(e){return void 0===e?void 0:Ru(e)}function Zu(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case $o:return ze(n),t;case Vo:return ze(n),Je({...t,...oo});case Qo:return ze(n),ti(cs,t)}return function(e,n,t){const r=Wr(e,n,za,[],pa),i=ze(t);return Je(ie({...e.F(r,Ye(i)),...Vr(r,i)}))}(js(Hu(e)),e,n)}const t=function(e){const n=It(ja(e));if(!n||n.j)throw new RangeError(ea(e));return Je(Nt(n))}(e);return ze(n),t}function Uu(e,n){if(r(e)){const t=tc(e);if(t&&t.branding===Ko)return ze(n),t;const r=Iu(e);return function(e,n,t,r){const i=Wr(e,t,za,Ca);return n&&void 0!==i.month&&void 0===i.monthCode&&void 0===i.year&&(i.year=po),e._(i,r)}(js(r||Oa),!r,e,n)}const t=function(e,n){const t=Ot(ja(n));if(t)return Ct(t),en(ke(t));const r=kt(n,0,1),{calendar:i}=r,a=e(i),[o,s,u]=a.v(r),[c,l]=a.q(o,s),[d,m]=a.G(c,l,u);return en(re(a.V(d,m,u)),i)}(js,e);return ze(n),t}function Yu(e,n){if(r(e)){const t=tc(e);return t&&t.branding===Wo?(ze(n),t):function(e,n,t,r){const i=Wr(e,n,Pa,r);return e.K(i,t)}(js(Hu(e)),e,n)}const t=function(e,n){const t=Ft(ja(n));if(t)return Ct(t),Xe(te(ke(t)));const r=kt(n,1);return Xe(at(e(r.calendar),r))}(js,e);return ze(n),t}function qu(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case Vo:return ze(n),t;case $o:return ze(n),Qe(t);case Qo:return ze(n),ri(cs,t)}return function(e,n,t,r=[]){const i=Wr(e,n,za,r);return e.F(i,t)}(js(Hu(e)),e,n)}const t=kt(e);return ze(n),t}function Wu(e,n){if(r(e)){const t=tc(e);if(t&&t.branding===Qo)return He(n),t;const r=Hu(e);return function(e,n,t,r,i,a){const o=Wr(t,i,za,ba,Ea),s=e(o.timeZone),[u,c,l]=He(a),d=t.F(o,Ye(u)),m=Vr(o,u);return $e(Wn(n(s),{...d,...m},void 0!==o.offset?At(o.offset):void 0,c,l),s,r)}(Gu,cs,js(r),r,e,n)}return function(e,n){const t=It(ja(e));if(!t||!t.timeZone)throw new RangeError(ea(e));const{offset:r}=t,i=r?At(r):void 0,[,a,o]=He(n);return Pt(t,i,a,o)}(e,n)}function Ku(e){return l(e=>n=>e(Vu(n)),e)}function Vu(e){return ss(e,cs)}function $u(e){if(r(e)){const n=tc(e);if(n)switch(n.branding){case Xo:return n;case Qo:return Ve(n.epochNanoseconds)}}return function(e){const n=It(e=x(e));if(!n)throw new RangeError(ea(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ea(e));t=At(n.offset)}return n.timeZone&&Lt(n.timeZone,1),Ve(de(Ae(n),t))}(e)}function Ju(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){jc.set(this,((e,n)=>{const t=new yo(e,n),r=t.resolvedOptions(),a=r.locale,o=f(Object.keys(n),r),s=i(ec),u=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ta);for(const e of n)if(void 0===e)throw new TypeError(ta)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tc(e)||Number(e));let i,u=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(u++&&n!==i)throw new TypeError(ta);i=n}return i?s(i)(a,o,...r):[t,...r]};return u.X=t,u})(e,n))}const t=yo.prototype,r=Object.getOwnPropertyDescriptors(t),o=Object.getOwnPropertyDescriptors(yo);for(const n in r){const t=r[n],i=n.startsWith("format")&&Qu(n);"function"==typeof t.value?t.value="constructor"===n?e:i||Xu(n):i&&(t.get=function(){if(!jc.has(this))throw new TypeError(Ai);return(...e)=>i.apply(this,e)},Object.defineProperties(t.get,a(`get ${n}`)))}return o.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,o),e}function Qu(e){return Object.defineProperties(function(...n){const t=jc.get(this),[r,...i]=t(e.includes("Range"),...n);return r[e](...i)},a(e))}function Xu(e){return Object.defineProperties(function(...n){return jc.get(this).X[e](...n)},a(e))}function ec(e){const n=gc[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return oi(n,i(si),1)}const nc=new WeakMap,tc=nc.get.bind(nc),rc=nc.set.bind(nc),ic={era:function(e){if(void 0!==e)return ja(e)},eraYear:N,year:H,month:z,daysInMonth:z,daysInYear:z,inLeapYear:Za,monthsInYear:z},ac={monthCode:ja},oc={day:z},sc={dayOfWeek:z,dayOfYear:z,weekOfYear:function(e){if(void 0!==e)return z(e)},yearOfWeek:N,daysInWeek:z},uc=Ou(Object.assign({},ic,ac,oc,sc)),cc=Ou({...ic,...ac}),lc=Ou({...ac,...oc}),dc={calendarId:e=>e.calendar},mc=d(e=>n=>n[e],Ya.concat("sign")),fc=d((e,n)=>e=>e[eo[n]],pa),hc={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,i=Math.floor(r/n),a=Ma/n;return BigInt(t)*BigInt(a)+BigInt(i)})(e.epochNanoseconds)}},[yc,Mc]=Nu(es,function(e=0,n=0,t=0,r=0,i=0,a=0,o=0,s=0,u=0,d=0){return tn(pt(l(U,c(Ya,[e,n,t,r,i,a,o,s,u,d]))))},{...mc,blank:function(e){return!e.sign}},{with:(e,n)=>Mc(function(e,n){return tn((t=e,r=n,pt({...t,...Kr(r,qa)})));var t,r}(e,n)),negated:e=>Mc(yt(e)),abs:e=>Mc(function(e){return-1===e.sign?yt(e):e}(e)),add:(e,n,t)=>Mc(ht(xu,js,cs,0,e,Bu(n),t)),subtract:(e,n,t)=>Mc(ht(xu,js,cs,1,e,Bu(n),t)),round:(e,n)=>Mc(function(e,n,t,r,i){const a=Tt(r),[o,s,u,c,l]=((e,n,t)=>{e=Ue(e,_o);let r=Go(e);const i=t(e[So]);let a=xe(e);const o=qo(e,7);let s=Lo(e);if(void 0===r&&void 0===s)throw new RangeError(Qi);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),Ke(r,s),a=Re(a,s,1),a>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,a,o,i]})(i,a,e),d=Math.max(a,o);if(!l&&d<=6)return tn(pt(((e,n,t,r,i)=>{const a=pn(wt(e),t,r,i);return{...Ja,...bt(a,n)}})(r,o,s,u,c)));if(!mt(l)&&!r.sign)return r;if(!l)throw new RangeError($i);const[m,f,h]=ut(n,t,l),y=ct(h),M=lt(h),g=dt(h),p=M(f,m,r);mt(l)||(ie(m),ie(p));let v=g(f,m,p,o);const w=r.sign,b=gt(v);if(w&&b&&w!==b)throw new RangeError(Li);return v=gn(v,y(p),o,s,u,c,f,m,y,M),tn(v)}(xu,js,cs,e,n)),total:(e,n)=>function(e,n,t,r,i){const a=Tt(r),[o,s]=((e,n)=>{const t=n((e=Ue(e,Eo))[So]);let r=Bo(e);return r=I(Eo,r),[r,t]})(i,e),u=Math.max(o,a);if(!s&&ft(u,s))return on(r,o);if(!s)throw new RangeError($i);if(!r.sign)return 0;const[c,l,d]=ut(n,t,s),m=ct(d),f=lt(d),h=dt(d),y=f(l,c,r);mt(s)||(ie(c),ie(y));const M=h(l,c,y,o);return ft(o,s)?on(M,o):((e,n,t,r,i,a,o)=>{const s=gt(e),[u,c]=sn(r,Xa(t,e),t,s,i,a,o),l=un(n,u,c);return e[Ya[t]]+l*s})(M,m(y),o,l,c,m,f)}(xu,js,cs,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):zn(e)},toString:zn,toJSON:e=>zn(e),valueOf:Lu},{from:e=>Mc(Bu(e)),compare:(e,n,t)=>function(e,n,t,r,i,a){const o=e(Ze(a).relativeTo),s=Math.max(Tt(r),Tt(i));if(y(Ya,r,i))return 0;if(ft(s,o))return $(wt(r),wt(i));if(!o)throw new RangeError($i);const[u,c,l]=ut(n,t,o),d=ct(l),m=lt(l);return $(d(m(c,u,r)),d(m(c,u,i)))}(xu,js,cs,Bu(e),Bu(n),t)}),gc={Instant:Eu,PlainDateTime:Du,PlainDate:Su,PlainTime:Au,PlainYearMonth:ku,PlainMonthDay:Cu},pc=oi(Eu),vc=oi(Tu),wc=oi(Du),bc=oi(Su),_c=oi(Au),Ec=oi(ku),Tc=oi(Cu),[Dc,Sc]=Nu(Jo,function(e=0,n=0,t=0,r=0,i=0,a=0){return nn(Ne(l(Z,c(eo,[e,n,t,r,i,a])),1))},fc,{with(e,n,t){return Sc(function(e,n,t){return nn(((e,n,t)=>Vr({...f(va,e),...Kr(n,va)},ze(t)))(e,n,t))}(this,zu(n),t))},add:(e,n)=>Sc(nt(0,e,Bu(n))),subtract:(e,n)=>Sc(nt(1,e,Bu(n))),until:(e,n,t)=>Mc(or(0,e,Ru(n),t)),since:(e,n,t)=>Mc(or(1,e,Ru(n),t)),round:(e,n)=>Sc(function(e,n){const[t,r,i]=Fe(n,5);var a;return nn((a=i,dn(e,fn(t,r),a)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Qt(e,n)}(e,Ru(n)),toLocaleString(e,n,t){const[r,i]=_c(n,t,e);return r.format(i)},toString:Nn,toJSON:e=>Nn(e),valueOf:Lu},{from:(e,n)=>Sc(Ru(e,n)),compare:(e,n)=>Qt(Ru(e),Ru(n))}),[Ac,kc]=Nu($o,g(function(e,n,t,r,i=0,a=0,o=0,s=0,u=0,d=0,m=Oa){return Je(ie(Ae(l(Z,c(to,[n,t,r,i,a,o,s,u,d])))),e(m))},jr),{...dc,...uc,...fc},{with:(e,n,t)=>kc(function(e,n,t,r){const i=e(n.calendar),a=[...i.fields(za),...pa].sort(),o={...ni(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const u=Kr(t,a),c=ze(r),l=i.k(o,u),d={...o,...u};return Je(ie({...i.F(l,Ye(c)),...Ne(Us(d),c)}))}(js,e,zu(n),t)),withCalendar:(e,n)=>kc(ci(e,Fu(n))),withPlainTime:(e,n)=>kc(function(e,n=oo){return Je(ie({...e,...n}))}(e,ju(n))),add:(e,n,t)=>kc(Qn(js,0,e,Bu(n),t)),subtract:(e,n,t)=>kc(Qn(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(tr(js,0,e,Zu(n),t)),since:(e,n,t)=>Mc(tr(js,1,e,Zu(n),t)),round:(e,n)=>kc(function(e,n){return Je(cn(e,...Fe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)&&e.calendar===n.calendar}(e,Zu(n)),toZonedDateTime:(e,n,t)=>Oc(function(e,n,t,r){const i=((e,n,t,r)=>{const i=(e=>Ro(Ze(e)))(r);return Kn(e(n),t,i)})(e,t,n,r);return $e(ae(i),t,n.calendar)}(cs,e,Gu(n),t)),toPlainDate:e=>Ic(Qe(e)),toPlainTime:e=>Sc(nn(e)),toLocaleString(e,n,t){const[r,i]=wc(n,t,e);return r.format(i)},toString:An,toJSON:e=>An(e),valueOf:Lu},{from:(e,n)=>kc(Zu(e,n)),compare:(e,n)=>$t(Zu(e),Zu(n))}),[Cc,Pc]=Nu(Ko,g(function(e,n,t,r=Oa,i=po){const a=Z(n),o=Z(t),s=e(r);return en(re(ke({isoYear:Z(i),isoMonth:a,isoDay:o})),s)},jr),{...dc,...lc},{with:(e,n,t)=>Pc(function(e,n,t,r){const i=e(n.calendar),a=i.fields(za).sort(),o=(e=>{const n=Rs(e.calendar),[t,r,i]=n.v(e),[a,o]=n.q(t,r);return{monthCode:br(a,o),day:i}})(n),s=Kr(t,a),u=i.k(o,s);return i._(u,r)}(js,e,zu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Uu(n)),toPlainDate(e,n){return Ic(function(e,n,t,r){return((e,n,t)=>$r(e,n,Ia,F(t),Sa))(e(n.calendar),t,r)}(js,e,this,n))},toLocaleString(e,n,t){const[r,i]=Tc(n,t,e);return r.format(i)},toString:Pn,toJSON:e=>Pn(e),valueOf:Lu},{from:(e,n)=>Pc(Uu(e,n))}),[Nc,zc]=Nu(Wo,g(function(e,n,t,r=Oa,i=1){const a=Z(n),o=Z(t),s=e(r);return Xe(te(ke({isoYear:a,isoMonth:o,isoDay:Z(i)})),s)},jr),{...dc,...cc},{with:(e,n,t)=>zc(function(e,n,t,r){const i=e(n.calendar),a=i.fields(Pa).sort(),o=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:br(i,a)}})(n),s=Kr(t,a),u=i.k(o,s);return i.K(u,r)}(js,e,zu(n),t)),add:(e,n,t)=>zc(et(js,0,e,Bu(n),t)),subtract:(e,n,t)=>zc(et(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(ir(js,0,e,Yu(n),t)),since:(e,n,t)=>Mc(ir(js,1,e,Yu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Yu(n)),toPlainDate(e,n){return Ic(function(e,n,t,r){return((e,n,t)=>$r(e,n,Na,F(t),Ca))(e(n.calendar),t,r)}(js,e,this,n))},toLocaleString(e,n,t){const[r,i]=Ec(n,t,e);return r.format(i)},toString:Cn,toJSON:e=>Cn(e),valueOf:Lu},{from:(e,n)=>zc(Yu(e,n)),compare:(e,n)=>Jt(Yu(e),Yu(n))}),[Hc,Ic]=Nu(Vo,g(function(e,n,t,r,i=Oa){return Qe(re(ke(l(Z,{isoYear:n,isoMonth:t,isoDay:r}))),e(i))},jr),{...dc,...uc},{with:(e,n,t)=>Ic(function(e,n,t,r){const i=e(n.calendar),a=i.fields(za).sort(),o=ni(n),s=Kr(t,a),u=i.k(o,s);return i.F(u,r)}(js,e,zu(n),t)),withCalendar:(e,n)=>Ic(ci(e,Fu(n))),add:(e,n,t)=>Ic(Xn(js,0,e,Bu(n),t)),subtract:(e,n,t)=>Ic(Xn(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(rr(js,0,e,qu(n),t)),since:(e,n,t)=>Mc(rr(js,1,e,qu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,qu(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Oc(function(e,n,t,r,i){const a=e(i.timeZone),o=i.plainTime,s=void 0!==o?n(o):void 0,u=t(a);let c;return c=s?Kn(u,{...r,...s}):Vn(u,{...r,...oo}),$e(c,a,r.calendar)}(Gu,Ru,cs,e,t))},toPlainDateTime:(e,n)=>kc(function(e,n=oo){return Je(ie({...e,...n}))}(e,ju(n))),toPlainYearMonth(e){return zc(function(e,n,t){return((e,n)=>{const t=Wr(e,n,Na);return e.K(t,void 0)})(e(n.calendar),t)}(js,e,this))},toPlainMonthDay(e){return Pc(function(e,n,t){return((e,n)=>{const t=Wr(e,n,Ia);return e._(t)})(e(n.calendar),t)}(js,e,this))},toLocaleString(e,n,t){const[r,i]=bc(n,t,e);return r.format(i)},toString:kn,toJSON:e=>kn(e),valueOf:Lu},{from:(e,n)=>Ic(qu(e,n)),compare:(e,n)=>Jt(qu(e),qu(n))}),[Fc,Oc]=Nu(Qo,g(function(e,n,t,r,i=Oa){return $e(ae(Q(R(t))),n(r),e(i))},jr,function(e){return Yt(ja(e))}),{...hc,...dc,...Ku(uc),...Ku(fc),offset:e=>xn(Vu(e).offsetNanoseconds),offsetNanoseconds:e=>Vu(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[i,a]=hn(r),o=ee(V(Vn(t,i),Vn(t,a)),ya,1);if(o<=0)throw new RangeError(Li);return o}(cs,e)},{with:(e,n,t)=>Oc(function(e,n,t,r,i){const{calendar:a,timeZone:o}=t,s=e(a),u=n(o),c=[...s.fields(za),..._a].sort(),l=(e=>{const n=ss(e,cs),t=xn(n.offsetNanoseconds),r=Rs(e.calendar),[i,a,o]=r.v(n),[s,u]=r.q(i,a),c=br(s,u);return{...Ys(n),year:i,monthCode:c,day:o,offset:t}})(t),d=Kr(r,c),m=s.k(l,d),f={...l,...d},[h,y,M]=He(i,2);return $e(Wn(u,{...s.F(m,Ye(h)),...Ne(Us(f),h)},At(f.offset),y,M),o,a)}(js,cs,e,zu(n),t)),withCalendar:(e,n)=>Oc(ci(e,Fu(n))),withTimeZone:(e,n)=>Oc(function(e,n){return{...e,timeZone:n}}(e,Gu(n))),withPlainTime:(e,n)=>Oc(function(e,n,t){const r=n.timeZone,i=e(r),a={...ss(n,i),...t||oo};let o;return o=t?Wn(i,a,a.offsetNanoseconds,2):Vn(i,a),$e(o,r,n.calendar)}(cs,e,ju(n))),add:(e,n,t)=>Oc(Jn(js,cs,0,e,Bu(n),t)),subtract:(e,n,t)=>Oc(Jn(js,cs,1,e,Bu(n),t)),until:(e,n,t)=>Mc(tn(nr(js,cs,0,e,Wu(n),t))),since:(e,n,t)=>Mc(tn(nr(js,cs,1,e,Wu(n),t))),round:(e,n)=>Oc(function(e,n,t){let{epochNanoseconds:r,timeZone:i,calendar:a}=n;const[o,s,u]=Fe(t);if(0===o&&1===s)return n;const c=e(i);if(6===o)r=((e,n,t,r)=>{const i=ss(t,n),[a,o]=e(i),s=t.epochNanoseconds,u=Vn(n,a),c=Vn(n,o);if(J(s,u,c))throw new RangeError(Li);return bn(un(s,u,c),r)?c:u})(hn,c,n,u);else{const e=c.R(r);r=Wn(c,cn(ye(r,e),o,s,u),e,2,0,1)}return $e(r,i,a)}(cs,e,n)),startOfDay:e=>Oc(function(e,n){const{timeZone:t,calendar:r}=n,i=((e,n,t)=>Vn(n,e(ss(t,n))))(yn,e(t),n);return $e(i,t,r)}(cs,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Xt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,Wu(n)),toInstant:e=>Gc(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>kc(ti(cs,e)),toPlainDate:e=>Ic(ri(cs,e)),toPlainTime:e=>Sc(ii(cs,e)),toLocaleString(e,n,t={}){const[r,i]=vc(n,t,e);return r.format(i)},toString:(e,n)=>Sn(cs,e,n),toJSON:e=>Sn(cs,e),valueOf:Lu,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,i=function(e){const n=Ue(e,Ao),t=We(Ao,Oo,n,0);if(!t)throw new RangeError(bi(Ao,t));return t}(n),a=cs(t).O(r,i);return a?Oc({...e,epochNanoseconds:a}):null}},{from:(e,n)=>Oc(Wu(e,n)),compare:(e,n)=>Vt(Wu(e),Wu(n))}),[Lc,Gc]=Nu(Xo,function(e){return Ve(ae(Q(R(e))))},hc,{add:(e,n)=>Gc($n(0,e,Bu(n))),subtract:(e,n)=>Gc($n(1,e,Bu(n))),until:(e,n,t)=>Mc(er(0,e,$u(n),t)),since:(e,n,t)=>Mc(er(1,e,$u(n),t)),round:(e,n)=>Gc(function(e,n){const[t,r,i]=Fe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,i,1))}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)}(e,$u(n)),toZonedDateTimeISO:(e,n)=>Oc(function(e,n,t=Oa){return $e(e.epochNanoseconds,n,t)}(e,Gu(n))),toLocaleString(e,n,t){const[r,i]=pc(n,t,e);return r.format(i)},toString:(e,n)=>Dn(Gu,cs,e,n),toJSON:e=>Dn(Gu,cs,e),valueOf:Lu},{from:e=>Gc($u(e)),fromEpochMilliseconds:e=>Gc(function(e){return Ve(ae(X(U(e),ma)))}(e)),fromEpochNanoseconds:e=>Gc(function(e){return Ve(ae(Q(R(e))))}(e)),compare:(e,n)=>Kt($u(e),$u(n))}),Bc=Object.defineProperties({},{...u("Temporal.Now"),...o({timeZoneId:()=>mi(),instant:()=>Gc(Ve(di())),zonedDateTimeISO:(e=mi())=>Oc($e(di(),Gu(e),Oa)),plainDateTimeISO:(e=mi())=>kc(Je(li(cs(Gu(e))),Oa)),plainDateISO:(e=mi())=>Ic(Qe(li(cs(Gu(e))),Oa)),plainTimeISO:(e=mi())=>Sc(nn(li(cs(Gu(e)))))})}),xc=Object.defineProperties({},{...u("Temporal"),...o({PlainYearMonth:Nc,PlainMonthDay:Cc,PlainDate:Hc,PlainTime:Dc,PlainDateTime:Ac,ZonedDateTime:Fc,Instant:Lc,Duration:yc,Now:Bc})}),Rc=Ju(),jc=new WeakMap;function Zc(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let i=n[e++];i||(i="d"===r?0:"");const a=typeof i;return"d"===r&&"number"!==a?(i=parseFloat(i),isNaN(i)&&(i=0)):"s"===r&&"string"!==a&&(i=""+i),i})}return t}Object.create(Intl),o({DateTimeFormat:Rc});var Uc,Yc,qc,Wc,Kc,Vc,$c={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:["PageUp","PageDown","End","Home","ArrowUp","ArrowDown"],leftRight:["Home","End","ArrowLeft","ArrowRight"],dels:["Backspace","Delete","Insert"],confirm:["Enter","Tab"],alt:["CapsLock","Shift","Control","Alt","NumLock"],numbers:["0","1","2","3","4","5","6","7","8","9","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9"],numsigns:["NumpadSubtract","NumpadDecimal","-","."]},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}},Jc={siteTitle:null===(Uc=globalThis.document)||void 0===Uc?void 0:Uc.title,logging:!1,cdn:"",lang:"en",host:(null===(Yc=globalThis.location)||void 0===Yc?void 0:Yc.protocol)+"//"+(null===(qc=globalThis.location)||void 0===qc?void 0:qc.hostname),url:null===(Wc=globalThis.location)||void 0===Wc?void 0:Wc.href,old_path:null,getParameters:{},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:!(null===(Kc=globalThis.document)||void 0===Kc?void 0:Kc.hidden),timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:null===(Vc=globalThis.navigator)||void 0===Vc?void 0:Vc.onLine},Qc=function(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})};class Xc extends Error{constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const el=["POST","PUT","PATCH","DELETE"],nl=(e,n,t={},r)=>{const i=new XMLHttpRequest,a=el.includes(e.toUpperCase()),o=new Promise((r,o)=>{i.open(e.toUpperCase(),n,!0);const{body:s,headers:u}=((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);u.forEach((e,n)=>{i.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&i.upload&&i.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})}),i.onreadystatechange=()=>{if(4!==i.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),i=t.join(": ");r&&(n[r.toLowerCase()]=i)}),n):n})(i.getAllResponseHeaders()),n=1223===i.status?204:i.status,a=i.statusText||"";let s=i.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(i.responseText)}catch(e){}const u={data:s,status:n,statusText:a,headers:e,config:t,request:i};if(n>=200&&n<300)r(u);else{const e=new Error("Request failed with status code "+n);e.response=u,e.config=t,e.request=i,o(e)}},i.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=i,o(e)},i.onabort=()=>{o(new Xc("Request canceled"))},a?i.send(s):i.send()});return o.cancel=()=>i.abort(),o};var tl={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&&el.includes(e.toUpperCase())?nl(e,n,t):((e,n,t={},r)=>{const i={method:e,headers:new Headers(t.headers||{}),signal:null==r?void 0:r.signal},a=el.includes(e.toUpperCase());if(null!=t.data&&a&&("object"!=typeof t.data||t.data instanceof FormData?i.body=t.data:(i.headers.set("Content-Type","application/json"),i.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const o=fetch(n,i).then(e=>Qc(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 i={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=i,n.config=t,n.request=e,n}return i})).catch(e=>{if("AbortError"===e.name)throw new Xc("Request canceled");throw e});return o.cancel=()=>r.abort(),o})(e,n,t,r)}};function rl(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function il(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function al(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function ol(...e){var n,t,r,i;if((null===(t=null===(n=globalThis.bbn)||void 0===n?void 0:n.env)||void 0===t?void 0:t.logging)&&void 0!==globalThis.console){let n,t=5,a="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&al(globalThis.console[e[0]._bbn_console_mode])?a=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,t=e[0]._bbn_console_level),e.shift());const o=globalThis.console[a];if((null===(i=null===(r=globalThis.bbn)||void 0===r?void 0:r.env)||void 0===i?void 0:i.loggingLevel)>=t){let t=0;for(;t<e.length;){let r=typeof e[t],i=[e[t]];"string"!==r&&"number"!==r||i.unshift("%c %s ",n),o.apply(globalThis.console,i),t++}}}}function sl(e,n,t){if(!rl(e)||!il(n))throw ol(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),il(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function ul(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)sl(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=ul(e[r],!0):t[r]=e[r]);return t||!1}function cl(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let i=Object.keys(t?ul(e):e);r&&i.reverse();for(let t of i)if(!1===n(e[t],t))break}return e}function ll(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function dl(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function ml(...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 fl(...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 hl(e,n){if(!(ml(e)&&e>0)){if(fl(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return cl(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function yl(...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,i=t[0];for(let e=1;e<t.length;e++)cl(t[e],(e,t)=>{n?dl(e)?(i[t]=dl(i[t])?i[t]:[],hl(e,(e,n)=>{if(e&&"object"==typeof e){let r=i[t][n];dl(e)?dl(r)||(r=[]):ll(r)||(r={}),i[t][n]=yl(!0,r,e)}else i[t][n]=e})):ll(e)?i[t]=yl(!0,i[t]&&"object"==typeof i[t]?i[t]:Object.create(Object.getPrototypeOf(e)),e):i[t]=e:(i[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(i,[t]))&&(i[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(i.__bbnData&&i.__bbnData.unset(),Object.defineProperty(i,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),i}var Ml=function(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})};const gl=globalThis.indexedDB||globalThis.webkitIndexedDB||globalThis.mozIndexedDB||globalThis.OIndexedDB||globalThis.msIndexedDB,pl=(e,n)=>{if(e){if(null==n?void 0:n.length){const t={};return cl(e,(e,r)=>{n.includes(r)&&(t[r]=e)}),t}return e}},vl=(e,n=[])=>{var t;return(null===(t=null==e?void 0:e.conditions)||void 0===t?void 0:t.length)?e.conditions.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&vl(e,n)}):ll(e)?cl(e,(e,t)=>{n.includes(t)||n.push(t)}):dl(e)&&e.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&vl(e,n)}),n},wl=e=>{var n,t;if(!(null===(t=null===(n=e.keys)||void 0===n?void 0:n.PRIMARY)||void 0===t?void 0:t.columns))throw new Error(Zc("No primary key defined in the structure"));const r=e.keys.PRIMARY.columns;return r.length>1?r:r[0]},bl=e=>new Promise((n,t)=>{e.onsuccess=()=>n(e.result),e.onerror=()=>t(e.error)}),_l=e=>new Promise((n,t)=>{e.oncomplete=()=>n(),e.onabort=()=>t(e.error),e.onerror=()=>t(e.error)});class El{constructor(e){this.lastErr=null,this.dbName=e}hasMissingStores(e,n){const t=Tl._structures[e]||{};return Object.keys(t).some(e=>!n.objectStoreNames.contains(e))}getConnection(){return Ml(this,arguments,void 0,function*(e=""){let n=Tl._connections[e||this.dbName];if(!n){if(yield Tl.open(e||this.dbName),!Tl._connections[e||this.dbName])throw new Error(Zc("The database %s is not open",this.dbName));n=Tl._connections[e||this.dbName]}return n})}get structure(){const e=Tl._structures[this.dbName];if(!e)throw new Error(Zc("No structure defined for database %s",this.dbName));return e}getStore(e,n){return Ml(this,void 0,void 0,function*(){const t=yield this.getConnection();if(!this.structure[e])throw new Error(Zc("Table %s is not defined in database structure %s",e,this.dbName));if(!t.objectStoreNames.contains(e))throw new Error(Zc("Table %s does not exist in database %s. Schema upgrade required.",e,this.dbName));const r=t.transaction([e],n);r.onabort=()=>{this.lastErr=r.error,ol("Abort in store transaction: "+e,r.error)},r.onerror=()=>{this.lastErr=r.error,ol("Error in store transaction: "+e,r.error)};try{const n=r.objectStore(e);return[r,n]}catch(n){throw this.lastErr=n,ol("Error getting object store: "+e,n),new Error(Zc("Error getting table %s from database %s",e,this.dbName))}})}lastError(){return this.lastErr}close(){const e=Tl._connections[this.dbName];e&&(e.close(),delete Tl._connections[this.dbName])}insert(e,n){return Ml(this,void 0,void 0,function*(){const t=Array.isArray(n)?n:[n];if(!t.length)return 0;const[r,i]=yield this.getStore(e,"readwrite");let a=0;for(const e of t){const n=i.put(e);n.onsuccess=()=>{a++},n.onerror=()=>{this.lastErr=n.error,ol(n.error)}}return yield _l(r),a})}update(e,n,t){return Ml(this,arguments,void 0,function*(e,n,t,r=!1){const i=yield this.selectAll(e,[],t);if(!i.length)return 0;const a=this.structure[e],o=wl(a);if(Array.isArray(o))throw new Error(Zc("Composite primary keys are not supported by this update implementation"));const[s,u]=yield this.getStore(e,"readwrite");let c=0;for(const e of i){const t=yl({},r?{[o]:e[o]}:e,n);if(!(o in t))throw new Error(Zc("No primary key in the data"));const i=u.put(t);i.onsuccess=()=>{c++},i.onerror=()=>{this.lastErr=i.error,ol(i.error)}}return yield _l(s),c})}delete(e,n){return Ml(this,void 0,void 0,function*(){const t=this.structure[e],r=wl(t);if(Array.isArray(r))throw new Error(Zc("Composite primary keys are not supported by this delete implementation"));if(!(r in n))throw new Error(Zc("No primary key in the filter"));const[i,a]=yield this.getStore(e,"readwrite");return a.delete(n[r]),yield _l(i),1})}selectOne(e,n){return Ml(this,arguments,void 0,function*(e,n,t=null,r=null,i=0,a=1){var o;const s=yield this.selectAll(e,[n],t,r,i,a);return null===(o=null==s?void 0:s[0])||void 0===o?void 0:o[n]})}select(e){return Ml(this,arguments,void 0,function*(e,n=[],t=null,r=null,i=0){const a=yield this.selectAll(e,n,t,r,i,1);return a.length?a[0]:null})}selectAll(e){return Ml(this,arguments,void 0,function*(e,n=[],t=null,r=null,i=0,a=null){const[o,s]=yield this.getStore(e,"readonly"),u=this.structure[e],c=wl(u),l=[],d=ll(t)?Object.keys(t)[0]:!t||dl(t)?null:c;if(!Array.isArray(c)&&d===c){if(Array.isArray(null==t?void 0:t[c])){const e=t[c],r=Math.min(e.length-i,null!=a?a:e.length),u=e.slice(i,i+r);for(const e of u){const t=yield bl(s.get(e)),r=pl(t,n);r&&l.push(r)}return yield _l(o),l}const e=ll(t)?t[c]:t,r=yield bl(s.get(e)),u=pl(r,n);return u&&l.push(u),yield _l(o),l}return yield new Promise((e,r)=>{const o=s.openCursor();let u=0;o.onsuccess=r=>{var o,s;const c=r.target.result;if(!c)return void e();if(!t||!(null===(s=null===(o=globalThis.bbn)||void 0===o?void 0:o.fn)||void 0===s?void 0:s.search)||0===globalThis.bbn.fn.search([c.value],t)){if(u>=i){const t=pl(c.value,n);if(t&&l.push(t),null!==a&&l.length>=a)return void e()}u++}c.continue()},o.onerror=()=>{this.lastErr=o.error,ol(o.error),r(o.error)}}),yield _l(o),l})}getColumnValues(e,n){return Ml(this,arguments,void 0,function*(e,n,t=null,r=null,i=0,a=null){return(yield this.selectAll(e,vl(t,[n]),t,r,i,a)).map(e=>e[n]).filter(e=>void 0!==e)})}copyTable(e,n){return Ml(this,arguments,void 0,function*(e,n,t=[],r=null,i=null,a=0,o=null){if(!this.structure[n])throw new Error(Zc("Source table %s does not exist in structure",n));let s=yield this.getConnection();if(s.objectStoreNames.contains(e)||(s.close(),yield Tl.add(this.dbName,e,this.structure[n]),s=yield this.getConnection()),!s.objectStoreNames.contains(e))throw new Error(Zc("The target table %s does not exist",e));const u=yield this.selectAll(n,t,r,i,a,o);if(!u.length)return 0;const c=yield this.insert(e,u);return s.close(),c})}deleteTable(e){return Ml(this,void 0,void 0,function*(){return yield Tl.remove(this.dbName,e),!0})}}const Tl={_structures:{},_connections:{},_objects:{},_stores:{},ok:void 0!==gl,close(e){const n=this._connections[e];n&&(n.close(),delete this._connections[e]),this._objects[e]&&delete this._objects[e]},updateStructure(e,n,t){const r=wl(n);if(!t.objectStoreNames.contains(e)){const i=t.createObjectStore(e,{keyPath:r});cl(n.keys,(e,n)=>{"PRIMARY"!==n&&i.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},importStructure(e,n){return Ml(this,void 0,void 0,function*(){var t,r,i;if(this._structures[e]||(this._structures[e]={}),this._connections[e])throw new Error(Zc("Database %s is already open. Close it before adding a new store.",e));yield this.open(e);let a=this._connections[e],o=!1;for(const s in n){if(!(null===(r=null===(t=n[s])||void 0===t?void 0:t.keys)||void 0===r?void 0:r.PRIMARY)||!(null===(i=n[s])||void 0===i?void 0:i.fields))throw ol("Error on importStructure with store "+s,n[s]),new Error(Zc("The database structure for %s is not valid (missing keys, fields, or primary key)",s));this._structures[e][s]=n[s];a.objectStoreNames.contains(s)||(o=!0)}o&&(yield this.reopenWithUpgrade(e)),this.close(e)})},getExistingVersion(e){return Ml(this,void 0,void 0,function*(){const n=this._connections[e];return n?n.version:new Promise((n,t)=>{if(!gl)return void t(new Error(Zc("IndexedDB is not available")));const r=gl.open(e);r.onsuccess=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onupgradeneeded=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onerror=()=>t(r.error)})})},reopenWithUpgrade(e){return Ml(this,void 0,void 0,function*(){if(!this._structures[e])throw new Error(Zc("Impossible to find a structure for the database %s",e));const n=yield this.getExistingVersion(e),t=n+1;return ol(Zc("Going from version %s to version %s for database %s",n,t,e)),this._connections[e]&&this.close(e),yield this.open(e,t)})},open(e,n){return Ml(this,void 0,void 0,function*(){if(!gl)throw new Error(Zc("IndexedDB is not available"));if(!this._structures[e])throw new Error(Zc("Impossible to find a structure for the database %s",e));return this._objects[e]&&this._connections[e]||(yield new Promise((t,r)=>{const i=n?gl.open(e,n):gl.open(e);i.onupgradeneeded=()=>{const n=i.result;this._connections[e]=i.result;cl(this._structures[e]||{},(e,t)=>{n.objectStoreNames.contains(t)||this.updateStructure(t,e,n)})},i.onsuccess=()=>{this._connections[e]=i.result,t(i.result)},i.onerror=()=>r(i.error),i.onblocked=n=>{r(Zc("open: Upgrade blocked for database %s. Please close other connections to proceed.",e))}}),this._objects[e]=new El(e)),this._objects[e]})},add(e,n,t){return Ml(this,void 0,void 0,function*(){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 ol("Error on add",t),new Error(Zc("The database structure for %s is not valid (missing keys, fields, or primary key)",n));if(this._structures[e]||(this._structures[e]={}),this._structures[e][n]=t,this._connections[e])throw new Error(Zc("Database %s is already open. Close it before adding a new store.",e));yield this.open(e);let i=this._connections[e];if(!i.objectStoreNames.contains(n)){if(yield this.reopenWithUpgrade(e),!this._connections[e])throw new Error(Zc("The database %s is not open after upgrade",e));i=this._connections[e]}return this.close(e),!0})},remove(e,n){return Ml(this,void 0,void 0,function*(){const t=this._structures[e];if(!(null==t?void 0:t[n]))return;const r=t[n];delete t[n];try{const t=this._connections[e];if(!t)return;const r=t.version+1;this.close(e),yield new Promise((t,i)=>{if(!gl)return void i(new Error(Zc("IndexedDB is not available")));const a=gl.open(e,r);a.onupgradeneeded=()=>{const e=a.result;e.objectStoreNames.contains(n)&&(e.deleteObjectStore(n),e.close())},a.onsuccess=()=>{a.result.close(),t()},a.onerror=()=>i(a.error),a.onblocked=()=>i(new Error(Zc("Remove blocked for database %s",e)))})}catch(e){throw t[n]=r,e}})}};function Dl(e,n,t){let r=(new Date).getTime(),i={key:e,url:sl(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(i),bbn.env.loadersHistory.unshift(i);let a=bbn.env.loadersHistory.length;for(;a&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)a--,bbn.env.loading||bbn.env.loadersHistory.splice(a,1);return r}function Sl(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 Al(e){if(!rl(e)){if(!e.toString)throw ol(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function kl(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function Cl(e,n,t,r="asc"){let i=Sl(e,t),a=Sl(n,t),o=(typeof i).toLowerCase(),s=(typeof a).toLowerCase();if("asc"!==r&&rl(r)&&"desc"===r.toLowerCase()&&(r="desc"),o!==s)i=o,a=s;else switch(o){case"string":i=Al(i).toLowerCase(),a=Al(a).toLowerCase();break;case"boolean":i=i?1:0,a=a?1:0;break;case"object":kl(i)&&(i=i.getTime(),a=kl(a)?a.getTime():0)}return i<a?"desc"===r?1:-1:i>a?"desc"===r?-1:1:0}function Pl(e){return e&&"object"==typeof e?Object.keys(e).length:0}function Nl(e){return!e||(dl(e)?!e.length:"object"==typeof e&&!Pl(e))}function zl(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Hl(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 Il(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 Fl(e){return Hl(e).padStart(8,"0")+Il(e).padStart(8,"0")}function Ol(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function Ll(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,i=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,i=1);let a=t.parentNode,o=Array.from(a.children).filter(n=>n.tagName===e.tagName);if(!i&&o.length>1){let n=Array.from(a.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=a}return n}function Gl(...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)||Ol(t)||!(null===(n=t.$el)||void 0===n?void 0:n.bbnCid))return!1}return!0}function Bl(e,n=null,t=0,r=null,i=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 a="";for(let o=0;o<e.length;o++)a+="__BBN_ITEM"+o.toString()+"__"+i(e[o],n,t+1,r,i);e="__BBN_ARRAY__"+a}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 a="";for(let o in e){let s=o;"string"!=typeof s&&(s=i(s,i,1,1)),a+="__BBN_PROP_"+s+"__"+i(e[o],n,t+1,r,i)}e="__BBN_OBJECT__"+a}}else e=Ol(e)?Gl(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+Ll(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function xl(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Bl(e[r],t,0,null,Bl);return Fl(n)}function Rl(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 i(e,n,t,i,a,o){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(i,o)),a),t)}function a(e,n,t,r,a,o,s){return i(n&t|~n&r,e,n,a,o,s)}function o(e,n,t,r,a,o,s){return i(n&r|t&~r,e,n,a,o,s)}function s(e,n,t,r,a,o,s){return i(n^t^r,e,n,a,o,s)}function u(e,n,t,r,a,o,s){return i(t^(n|~r),e,n,a,o,s)}var c,l,d,m,f,h=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),y=1732584193,M=-271733879,g=-1732584194,p=271733878;for(c=0;c<h.length;c+=16)l=y,d=M,m=g,f=p,y=a(y,M,g,p,h[c+0],7,-680876936),p=a(p,y,M,g,h[c+1],12,-389564586),g=a(g,p,y,M,h[c+2],17,606105819),M=a(M,g,p,y,h[c+3],22,-1044525330),y=a(y,M,g,p,h[c+4],7,-176418897),p=a(p,y,M,g,h[c+5],12,1200080426),g=a(g,p,y,M,h[c+6],17,-1473231341),M=a(M,g,p,y,h[c+7],22,-45705983),y=a(y,M,g,p,h[c+8],7,1770035416),p=a(p,y,M,g,h[c+9],12,-1958414417),g=a(g,p,y,M,h[c+10],17,-42063),M=a(M,g,p,y,h[c+11],22,-1990404162),y=a(y,M,g,p,h[c+12],7,1804603682),p=a(p,y,M,g,h[c+13],12,-40341101),g=a(g,p,y,M,h[c+14],17,-1502002290),y=o(y,M=a(M,g,p,y,h[c+15],22,1236535329),g,p,h[c+1],5,-165796510),p=o(p,y,M,g,h[c+6],9,-1069501632),g=o(g,p,y,M,h[c+11],14,643717713),M=o(M,g,p,y,h[c+0],20,-373897302),y=o(y,M,g,p,h[c+5],5,-701558691),p=o(p,y,M,g,h[c+10],9,38016083),g=o(g,p,y,M,h[c+15],14,-660478335),M=o(M,g,p,y,h[c+4],20,-405537848),y=o(y,M,g,p,h[c+9],5,568446438),p=o(p,y,M,g,h[c+14],9,-1019803690),g=o(g,p,y,M,h[c+3],14,-187363961),M=o(M,g,p,y,h[c+8],20,1163531501),y=o(y,M,g,p,h[c+13],5,-1444681467),p=o(p,y,M,g,h[c+2],9,-51403784),g=o(g,p,y,M,h[c+7],14,1735328473),y=s(y,M=o(M,g,p,y,h[c+12],20,-1926607734),g,p,h[c+5],4,-378558),p=s(p,y,M,g,h[c+8],11,-2022574463),g=s(g,p,y,M,h[c+11],16,1839030562),M=s(M,g,p,y,h[c+14],23,-35309556),y=s(y,M,g,p,h[c+1],4,-1530992060),p=s(p,y,M,g,h[c+4],11,1272893353),g=s(g,p,y,M,h[c+7],16,-155497632),M=s(M,g,p,y,h[c+10],23,-1094730640),y=s(y,M,g,p,h[c+13],4,681279174),p=s(p,y,M,g,h[c+0],11,-358537222),g=s(g,p,y,M,h[c+3],16,-722521979),M=s(M,g,p,y,h[c+6],23,76029189),y=s(y,M,g,p,h[c+9],4,-640364487),p=s(p,y,M,g,h[c+12],11,-421815835),g=s(g,p,y,M,h[c+15],16,530742520),y=u(y,M=s(M,g,p,y,h[c+2],23,-995338651),g,p,h[c+0],6,-198630844),p=u(p,y,M,g,h[c+7],10,1126891415),g=u(g,p,y,M,h[c+14],15,-1416354905),M=u(M,g,p,y,h[c+5],21,-57434055),y=u(y,M,g,p,h[c+12],6,1700485571),p=u(p,y,M,g,h[c+3],10,-1894986606),g=u(g,p,y,M,h[c+10],15,-1051523),M=u(M,g,p,y,h[c+1],21,-2054922799),y=u(y,M,g,p,h[c+8],6,1873313359),p=u(p,y,M,g,h[c+15],10,-30611744),g=u(g,p,y,M,h[c+6],15,-1560198380),M=u(M,g,p,y,h[c+13],21,1309151649),y=u(y,M,g,p,h[c+4],6,-145523070),p=u(p,y,M,g,h[c+11],10,-1120210379),g=u(g,p,y,M,h[c+2],15,718787259),M=u(M,g,p,y,h[c+9],21,-343485551),y=r(y,l),M=r(M,d),g=r(g,m),p=r(p,f);return t(y)+t(M)+t(g)+t(p)}function jl(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="",i=!1,a=!1,o=!1,s="",u=0,c=0,l=[],d={},m="",f=['"',"'","`"],h=!1,y=!1,M=!1,g=!1,p=!1,v=!1,w="";for(let e=0;e<n.length;e++)if(M||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])M=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(M||g)continue;if(n[e]===m&&!h&&m)m="",r+=n[e];else if(m)h="\\"===n[e]&&!h,r+=n[e];else if(f.includes(n[e])&&!h)m=n[e],r+=n[e];else if("("===n[e]){if(u++,""!==r.trim()){if("function"===r.trim())o=!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])u===c+1&&(y?(d.default=r.trim(),y=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(l.push(d),d={}),r=""),c++;else if(p&&"}"!==n[e])r+=n[e];else{if(u&&u===c&&":"===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]||u!==c||c||i)){d.name=n.slice(0,e).trim(),l.push(d),d={},i=!0,t=bbn.fn.substr(n,e+2).trim();break}if(u===c&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(d.name=r.trim(),l.push(d),d={},r=""),i=!0,e++;continue}if("="===n[e]&&u>c&&!y)d.name=r.trim(),r="",y=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(u>c))throw Error("Unexpected ',' while parsing function");y?(d.default=r.trim(),y=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(l.push(d),d={}),r=""}else if("{"===n[e]||"}"===n[e]){if(u===c){t=n.substring(e).trim();break}u>c?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(i){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(a=!0),u>c?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else M=!0,r="";if(!t){if(!i)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(v=!0);const b=l.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:l,argString:b,isArrow:i,hasFunction:o,name:s,isAsync:a,isBinary:v,hash:Rl(t+(s?"-"+s:"")+(b?"-"+b:"")),returnType:w}}function Zl(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(),i=Object.keys(n).sort();if(xl(r)!==xl(i))return!1;let a=!0;if(e&&"object"==typeof e){if(t.includes(e))return a;t.push(e)}return hl(r,t=>{if(!Zl(e[t],n[t]))return a=!1,!1}),a}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=jl(e),r=jl(n),i=t.hash===r.hash;return i&&t.isBinary&&(i=!1),i}return!1}function Ul(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!Nl(e)&&!Nl(n)&&-1!==Al(e).toLowerCase().indexOf(Al(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!zl(e)&&!zl(n))||-1===Al(e.toLowerCase()).indexOf(Al(n.toLowerCase()));case"starts":case"start":return!zl(e)&&!zl(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!zl(e)&&!zl(n)&&0===Al(e).toLowerCase().indexOf(Al(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!zl(e)&&!zl(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!zl(e)&&!zl(n)&&Al(e).toLowerCase()===Al(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(ll(e,n))return Zl(e,n);default:return e==n}}function Yl(e,n){if(!n.conditions||!n.logic||!dl(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 hl(n.conditions,r=>{let i;if(r.conditions&&dl(r.conditions))i=Yl(e,r);else if(i=Ul(Sl(e,r.field),r.value,r.operator),i){let n=r.field.split("."),t=n.pop();n.length&&hl(n,n=>e=e[n]),void 0===Sl(e,t)&&void 0!==r.value&&(i=!1)}if(i){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function ql(e,n="="){if(!ll(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!dl(e.conditions)){let t=[];cl(e,(e,r)=>{ll(e)&&"object"==typeof e.conditions?t.push(ql(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Wl(e,n,t=null,r="=",i=0,a=!1){if(!fl(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let o,s,u=!1;if(n)if("string"==typeof n)o={conditions:[{field:n,value:t,operator:r||"="}]};else if(a=!0===r,i="number"==typeof t?t:a?e.length-1:0,"function"==typeof n)u=!0,s=n;else if(ll(n))if("field"in n&&"value"in n)o={conditions:[n],logic:"AND"};else if("conditions"in n)o=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});o={conditions:e,logic:"AND"}}else dl(n)&&(o={conditions:n,logic:"AND"});else u=!0,s=e=>Yl({value:e},ql({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(u||o){if("number"!=typeof i&&(i=a?e.length-1:0),!s){const e=ql(o);s=n=>Yl(n,e)}if(a)for(let n=i;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=i;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 Kl(e,n,t=null,r="=",i=0,a=!1,o=!1){let s=Wl(e,n,t,r,i,a);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?a:o}function Vl(e,n=null,t=!1){let r=Wl(bbn.env.loaders,{key:e});if(r>-1){let i=bbn.env.loaders.splice(r,1)[0],a=Kl(bbn.env.loadersHistory,{key:e,start:i.start});return a&&(a.loading=!1,a.duration=(new Date).getTime()-i.start,"string"==typeof n?(a.errorMessage=n,a.error=!t,a.abort=t):ll(n)&&(a.success=!0)),!0}return!1}function $l(e){let n=Wl(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function Jl(e,n,t=null,r="=",i=0){if(!dl(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 a={};const o=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)a=n;else if("string"==typeof n)a[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let u;u="function"==typeof n?n:(e,n)=>Yl(e,a);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(u(e[n],n)&&(bbn.env._enumerated.pop(),o.push(e[n]),bbn.env._enumerated.push(!0),i&&o.length>=i)));n++)bbn.env._enumerated.pop();return o}function Ql(e){if(Pl(e)){bbn.var.colors||(bbn.var.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;cl(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 Xl(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&&cl(n,(n,i)=>{let a=t?`${t}[${i}]`:i;n instanceof Date?r(a,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const i=`${a}[${t}]`;"object"==typeof n?Xl(e,n,i):r(i,n.toString())}):"object"!=typeof n||n instanceof File?r(a,n.toString()):Xl(e,n,a)})}}function ed(e,n){let t=0;hl(n,n=>{n.style[e]="auto"}),hl(n,(n,r)=>{let i=n.getBoundingClientRect(),a=i[e]%1?i[e]-i[e]%1+1:i[e];a>t&&(t=a)}),hl(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function nd(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function td(e,n,t,r=""){return t.toString().replace(ll(e)?e:new RegExp(nd(e),"g"+r),n)}function rd(e,n,t){let r={};return n&&cl(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Rl((t||"json")+JSON.stringify(r))}function id(e,n=null,t=null,r=null,i=null,a=null){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(a=e.abort),e.failure&&(i=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=td("//","/",e)),n||(n="json");let o=rd(e,t,n),s=$l(o);if(null==s?void 0:s.loader)return s.loader;bbn.env.token&&yl(t||{},{_bbn_token:bbn.env.token});const u=new AbortController;let c={responseType:n,signal:u.signal};"text"===n?c.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?c.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(c.headers={accept:"text/html","Content-Type":"text/html"});let l="get";ll(t)&&Pl(t)>0&&(c.data=t,l="post");let d=tl.run(l,e,c).then(n=>{if(Vl(o,n),bbn.fn.defaultEndLoadingFunction(e,m,t,n),200===n.status)al(r)&&r(n.data,n.headers);else{let e=1;al(i)&&(e=i(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n)}return n}).catch(n=>{let r=tl.isCancel(n);if(Vl(o,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,m,t,n),r){let t=1;al(a)&&(t=a(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;al(i)&&(e=i(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n.response)}return n.response}),m=Dl(o,d,u);return bbn.fn.defaultStartLoadingFunction(e,m,t,o),d}}const ad=new TextDecoder;function od(e){return ad.decode(e)}function sd(e,n){if(e&&rl(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&sl(t,-r)===n)return sl(t,0,t.length-r)}return""}const ud=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],cd={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"},ld={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function dd(...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 md,fd,hd,yd,Md=function(e,n,t,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!i:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,t):i?i.value=t:n.set(e,t),t},gd=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 pd=xc.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class vd{static fromUnit(e,n){const t=cd[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],i=new xc.Duration(...r);return new vd(i)}constructor(e,n,t,r,i,a,o,s,u){md.add(this),fd.set(this,void 0),hd.set(this,void 0),e instanceof xc.Duration?Md(this,fd,e,"f"):Md(this,fd,"object"==typeof e?new xc.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 xc.Duration(e||0,n||0,t||0,r||0,i||0,a||0,o||0,s||0,0,0),"f");const c=cd[u||""]||u;Md(this,hd,c||"ms","f"),Kl(ud,e=>e[0]===c),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 gd(this,fd,"f")}years(e=!1){return gd(this,md,"m",yd).call(this,"year",e)}months(e=!1){return gd(this,md,"m",yd).call(this,"month",e)}weeks(e=!1){return gd(this,md,"m",yd).call(this,"week",e)}days(e=!1){return gd(this,md,"m",yd).call(this,"day",e)}hours(e=!1){return gd(this,md,"m",yd).call(this,"hour",e)}minutes(e=!1){return gd(this,md,"m",yd).call(this,"minute",e)}seconds(e=!1){return gd(this,md,"m",yd).call(this,"second",e)}toJSON(){return this.value.toJSON()}asYears(){return gd(this,fd,"f").total({unit:"year",relativeTo:pd})}asMonths(){return gd(this,fd,"f").total({unit:"month",relativeTo:pd})}asWeeks(){return gd(this,fd,"f").total({unit:"week",relativeTo:pd})}asDays(){return gd(this,fd,"f").total({unit:"day",relativeTo:pd})}asHours(){return gd(this,fd,"f").total({unit:"hour",relativeTo:pd})}asMinutes(){return gd(this,fd,"f").total({unit:"minute",relativeTo:pd})}asSeconds(){return gd(this,fd,"f").total({unit:"second",relativeTo:pd})}add(e,n){let t=gd(this,hd,"f");if(n)if(cd[n]){const e=Kl(ud,e=>e[0]===cd[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 i={[r]:e},a=gd(this,fd,"f").add(i);return new vd(a,void 0,void 0,void 0,void 0,void 0,void 0,void 0,gd(this,hd,"f"))}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=gd(this,fd,"f");return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:pd}):e.total({unit:"millisecond"})}}fd=new WeakMap,hd=new WeakMap,md=new WeakSet,yd=function(e,n){const t=gd(this,fd,"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:pd});return Math.floor(r)};var wd,bd=function(e,n,t,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!i:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,t):i?i.value=t:n.set(e,t),t},_d=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 Ed{constructor(e){this.__bbnNoData=!0,this.__isBbnDt=!0,wd.set(this,void 0),this.getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),i=[t,...navigator.languages];for(let e=0;e<i.length;e++){if(!i[e])continue;const n=new Intl.DateTimeFormat(i[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}),bd(this,wd,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 _d(this,wd,"f")}get hasFullDate(){return!!this.value&&"year"in this.value&&"month"in this.value&&"day"in this.value}toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=Ed.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=`${xc.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=xc.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return xc.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return xc.Now.zonedDateTimeISO();case"dateTime":return xc.Now.plainDateTimeISO();case"date":return xc.Now.plainDateISO();case"time":return xc.Now.plainTimeISO();case"yearMonth":{const e=xc.Now.plainDateISO();return new xc.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=xc.Now.plainDateISO();return new xc.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=xc.Now.timeZoneId();let i=t&&cd[t]?Kl(ud,e=>e[0]===cd[t])[1]:void 0;i=i?i+"s":void 0;const a=e=>e instanceof Ed,o=e=>a(e)?e.value:e,s=e=>{if(a(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return xc.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return xc.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return xc.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof xc.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},u=o(e),c=o(n);if(u.constructor===c.constructor){const e=u.constructor,n=e.compare(u,c);if(void 0===i){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof u.until||"function"!=typeof u.since)throw new TypeError("This Temporal type does not support until/since");return u[1===n?"since":"until"](c,{smallestUnit:i,largestUnit:i,roundingMode:"floor"}).sign}const l=new Set(["zoned","dateTime","date","yearMonth"]);if(a(e)&&a(n)&&l.has(e.kind)&&l.has(n.kind)){const t=s(e),r=s(n),a=xc.ZonedDateTime.compare(t,r);if(void 0===i)return a;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===a?"since":"until"](r,{smallestUnit:i,largestUnit:i,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 Ed.parse(e,n,t||this.kind)}compare(e,n){return e instanceof Ed||(e=bbn.dt(e,null,this.kind)),Ed.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof xc.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof vd){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new vd(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=vd.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof xc.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof vd){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new vd(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=vd.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return vd.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(_d(this,wd,"f")&&"toZonedDateTime"in _d(this,wd,"f")){const e=_d(this,wd,"f").toZonedDateTime(Ed.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()}[${Ed.systemTimeZoneId}]`;return xc.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=xc.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)&&parseInt(e)){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)&&parseInt(e)){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),i=t.getUTCDay();let a=(bbn.dt.locales.firstDayOfWeek-i+7)%7;const o=0===a?7:a;if(r<o)return 1;const s=r-o;return 2+Math.floor(s/7)}get YYYY(){if(this.value&&"year"in this.value)return this.year().toString()}get YY(){if(this.value&&"year"in this.value)return sl(this.year().toString(),2,2)}get MMMM(){if(this.value&&"month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if(this.value&&"month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if(this.value&&"month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if(this.value&&"month"in this.value)return this.month().toString()}get EE(){if(this.value&&"dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if(this.value&&"day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if(this.value&&"day"in this.value)return this.day().toString()}get dddd(){if(this.value&&"dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if(this.value&&"dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if(this.value&&"day"in this.value)return this.day().toString()}get HH(){if(this.value&&"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 this.value&&"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if(this.value&&"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(this.value&&"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 this.value&&"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if(this.value&&"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(this.value&&"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 this.value&&"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if(this.value&&"weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if(this.value&&"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(cd).join("|")+")","g");let r=0;hl(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in cd)if(e in this&&dd(this[e]))n+=this[e];else{n+=this[ld[cd[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"),i=t.diff(r,"day"),a={numeric:"auto"};e&&(a.style="short");const o=new Intl.RelativeTimeFormat(bbn.env.lang,a);let s="",u=[],c="";if(i>=-1&&i<=1)u=o.formatToParts(i,"day");else if(i>=-6&&i<-1)c=this.dddd+", ",u=o.formatToParts(i,"day");else{if(!(i<=6&&i>1))return this.fdate();c=this.dddd,u=[]}return bbn.fn.each(u,e=>{s+=e.value}),`${c}${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),i=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:i,long:i,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 i=this.weekday();let a;return n?(a=(i-r+7)%7,0===a&&(a=7),a=-a):(a=(r-i+7)%7,0===a&&(a=7)),this.add(a,"d")}diff(e,n="",t=!1){let r;if(e instanceof Ed)r=e.toEpochMs();else if(e instanceof xc.ZonedDateTime||e instanceof xc.PlainDateTime||e instanceof xc.PlainDate||e instanceof xc.PlainTime||e instanceof xc.PlainYearMonth||e instanceof xc.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 i=this.toEpochMs()-r;if(t&&(i=Math.abs(i)),!n)return i;const a=cd[n]||n,o=Kl(ud,e=>e[0]===a);if(!o)throw new Error("Invalid unit for diff: "+n);const[,,s]=o,u=i/s;return u<0?Math.ceil(u):Math.floor(u)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of ud)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){Ed.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=cd[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let i=this.diff(n,r);const a=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),o=Kl(ud,e=>e[0]===r);if(!o)throw new Error("Invalid unit for fromNow: "+e);let[,s]=o;return"millisecond"===s&&(s="second",i=Math.round(i/1e3)),bbn.fn.log("FROM NOW",i,s,a),a.format(i,s)}from(e,n=""){const t=this.diff(e),r=cd[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const i=this.diff(e,r),a=r;return i>0?Zc("%d %s before",i,a):i<0?Zc("%d %s after",-i,a):Zc("The same %s",a)}startOf(e="d"){var n,t;const r=cd[e]||e;if(!r)throw new Error("Invalid unit for startOf: "+e);let i=this.value;const a=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 i))throw new Error('startOf("y") only valid for year-based types');i=a(i.with({month:1,day:1}));break;case"m":if(!("month"in i))throw new Error('startOf("m") only valid for month-based types');i=a(i.with({day:1}));break;case"w":{const e="toPlainDate"in i?i.toPlainDate():i,r=e.dayOfWeek-1,o=e.subtract({days:r});i="toPlainDateTime"in i?a(o.toPlainDateTime(null!==(t=null===(n=i.toPlainTime)||void 0===n?void 0:n.call(i))&&void 0!==t?t:xc.PlainTime.from("00:00"))):o;break}case"d":i=a(i);break;case"h":i=i.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":i=i.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":i=i.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(i)}endOf(e="d"){const n=xc.Now.timeZoneId(),t=cd[e]||e;let r,i=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return xc.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${xc.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return xc.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=xc.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=i.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=i.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(i.toPlainDate().dayOfWeek-1);r=i.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=i.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=i.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=i.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=i.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const a=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(a);case"dateTime":return this.withValue(a.toPlainDateTime());case"date":return this.withValue(a.toPlainDate());case"time":return this.withValue(a.toPlainTime());case"yearMonth":{const e=a.toPlainDate();return this.withValue(new xc.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=a.toPlainDate();return this.withValue(new xc.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}return 0}valueOf(){return this.unix(!0)}}wd=new WeakMap,Ed.systemTimeZoneId=xc.Now.timeZoneId();class Td extends Ed{constructor(e,n,t,r,i,a,o){let s;if(e)if(void 0===n)if(e instanceof xc.PlainDateTime)s=e;else if(e instanceof Date)s=new xc.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=xc.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Ed.systemTimeZoneId).toPlainDateTime()}else s=new xc.PlainDateTime(e,n,t||1,r||0,i||0,a||0,o||0);else s=xc.PlainDateTime.from(xc.Now.plainDateTimeISO());super(s),this.kind="dateTime"}format(e){return[!0,"long","full"].includes(e)&&(e=Kl(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=Kl(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),Ed.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()),i=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],i).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 Dd extends Ed{constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof xc.PlainDate)r=e;else if(e instanceof Date)r=new xc.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 xc.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new xc.PlainDate(e,n,t||1);else r=xc.PlainDate.from(xc.Now.plainDateISO());super(r),this.kind="date"}compareSameKind(e){const n=xc.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=Kl(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=Kl(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),Ed.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 Sd extends Ed{constructor(e,n,t,r,i,a,o,s){let u;if(e)if(void 0===n)if(e instanceof xc.ZonedDateTime)u=e;else if(e instanceof Date)u=function(e,n=!1,t=xc.Now.timeZoneId()){const r=xc.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");u=xc.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{u=new xc.PlainDateTime(n,t,r||1,i||0,a||0,o||0,s||0).toZonedDateTime(e||xc.Now.timeZoneId())}else u=xc.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(u),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()),i=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],i).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 Ad extends Ed{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof xc.PlainYearMonth)t=e;else if(e instanceof Date)t=new xc.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 xc.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new xc.PlainYearMonth(e,n);else{const e=new Date;t=new xc.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t),this.kind="yearMonth"}format(e){return!0===e&&(e=Kl(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=Kl(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),Ed.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),i={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],i).format(r)}}class kd extends Ed{constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof xc.PlainMonthDay)t=e;else if(e instanceof Date)t=new xc.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 xc.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new xc.PlainMonthDay(e,n);else{const e=new Date;t=new xc.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()),i={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],i).format(r)}}function Cd(e,n,t){let r="";const i=e.some(e=>"dayPeriod"===e.type),a=i||"h12"===n||"h11"===n,o=!!t.weekday,s="short"===t.month||"long"===t.month,u="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!o&&!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(u){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(u){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+=a?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 Pd=()=>{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"}),i=new Intl.DateTimeFormat(e,{weekday:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),o=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),u=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),c=new Intl.Locale(e[0]),l=[],d=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);l.push(n.format(r)),d.push(t.format(r))}const m=new Date(2020,1,2),f=[],h=[];for(let e=0;e<7;e++){const n=new Date(m.getTime()+864e5*e);f.push(r.format(n)),h.push(i.format(n))}const{date:y,time:M,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],i=[],a=new Set,o=new Set,s=new Set,u=[{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"}],c=[];for(const r of u){const i=new Intl.DateTimeFormat(e,r),o=Cd(i.formatToParts(n),i.resolvedOptions().hourCycle,r);a.has(o)||(a.add(o),t.push({pattern:o,sample:i.format(n),options:r})),r.year&&r.month&&r.day&&c.push(r)}const l=[{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 l){const i=new Intl.DateTimeFormat(e,t),a=Cd(i.formatToParts(n),i.resolvedOptions().hourCycle,t);o.has(a)||(o.add(a),r.push({pattern:a,sample:i.format(n),options:t}))}for(const t of c)for(const r of l){const a=Object.assign(Object.assign({},t),r),o=new Intl.DateTimeFormat(e,a),u=Cd(o.formatToParts(n),o.resolvedOptions().hourCycle,a);s.has(u)||(s.add(u),i.push({pattern:u,sample:o.format(n),options:a}))}return{date:t,time:r,datetime:i}})(e),p=c.getWeekInfo?c.getWeekInfo():{firstDay:1};yl(bbn.dt.locales,{formatters:{short:a,long:o,numeric:s,relative:u},firstDayOfWeek:p.firstDay,monthsLong:l,monthsShort:d,weekdaysLong:f,weekdaysShort:h,locale:c,date:y,time:M,datetime:g})};class Nd extends Ed{constructor(e,n,t,r){let i;if(e)if(void 0===e)if(e instanceof xc.PlainTime)i=e;else if(e instanceof Date)i=new xc.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)i=new xc.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);i=new xc.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else i=new xc.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;i=new xc.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(i),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 zd=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch(n){return e.toLowerCase()}};function Hd(e,n,t="auto",r,i){var a,o,s,u,c,l,d;Pd();const m=xc;if(!m)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let f=!0;i||(i=(null===(a=null===bbn||void 0===bbn?void 0:bbn.dt)||void 0===a?void 0:a.locales)||{});const h={monthsLong:null!==(o=null==i?void 0:i.monthsLong)&&void 0!==o?o:bbn.dt.locales.monthsLong,monthsShort:null!==(s=null==i?void 0:i.monthsShort)&&void 0!==s?s:bbn.dt.locales.monthsShort,weekdaysLong:null!==(u=null==i?void 0:i.weekdaysLong)&&void 0!==u?u:bbn.dt.locales.weekdaysLong,weekdaysShort:null!==(c=null==i?void 0:i.weekdaysShort)&&void 0!==c?c:bbn.dt.locales.weekdaysShort},y=(null===bbn||void 0===bbn?void 0:bbn.env)&&(null===(l=bbn.env)||void 0===l?void 0:l.lang)||(null===bbn||void 0===bbn?void 0:bbn.dt)&&(null===(d=bbn.dt)||void 0===d?void 0:d.locale)||Intl.DateTimeFormat().resolvedOptions().locale,M=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function g(n,t="auto"){var i;const a=new Td,o={year:a.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,u="zoned"===t.toLowerCase(),c="datetime"===t.toLowerCase(),l="date"===t.toLowerCase(),d="time"===t.toLowerCase(),g="yearmonth"===t.toLowerCase(),p="monthday"===t.toLowerCase(),v=[{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=zd(e,y),r=h.monthsLong.findIndex(e=>zd(e,y)===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=zd(e,y),r=h.monthsShort.findIndex(e=>zd(e,y)===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=zd(e,y),r=h.weekdaysLong.findIndex(e=>zd(e,y)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=zd(e,y),r=h.weekdaysShort.findIndex(e=>zd(e,y)===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),i=parseInt(r.slice(0,2),10),a=parseInt(r.slice(2),10);if(i<0||i>23||a<0||a>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*i+a)}},{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),[i,a]=r.split(":");let o=parseInt(i,10),s=parseInt(a,10);if(o<0||o>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+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=[...v].sort((e,n)=>n.token.length-e.token.length);let b="";const _=[];let E=0,T=0;for(;E<n.length;){if("["===n[E]){let e=E+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");b+=M(n),E=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,E)){e=t;break}e?(b+=`(${e.regex})`,T=b.length,e.apply?_.push(n=>e.apply(n,o)):_.push(()=>{}),E+=e.token.length):(b+=M(n[E]),E+=1)}const D=new RegExp("^"+bbn.fn.substr(b,0,T));let S=D.exec(e);if(!S){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new Td(a.year(),1,1,0,0,0,0);e=t.format(n),f=!1,S=D.exec(e)}}if(S)for(let e=1;e<S.length;e++){const n=S[e],t=_[e-1];null!=n&&t&&t(n)}if(o.uses12Hour){if(!o.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=o.hour;o.isPM?e<12&&(e+=12):12===e&&(e=0),o.hour=e}const A=o.hasYear||o.hasMonth||o.hasDay,k=o.hasYear&&o.hasMonth&&o.hasDay,C=o.hasYear&&o.hasMonth&&!o.hasDay,P=!o.hasYear&&o.hasMonth&&o.hasDay,N=o.hasHour||o.hasMinute||o.hasSecond||o.hasMs,z=null!=o.timeZone||null!=o.offsetMinutes;let H;if(u||z&&s){let e;try{e=new m.PlainDateTime(o.year,o.month,o.day,o.hour,o.minute,o.second,1e6*o.ms)}catch(e){throw new Error("Invalid date/time components")}if(o.timeZone){const n=m.TimeZone.from(o.timeZone),t=e.toZonedDateTime(n);H=new Sd(t)}else{const e=Date.UTC(o.year,o.month-1,o.day,o.hour,o.minute,o.second,o.ms)-6e4*(null!==(i=o.offsetMinutes)&&void 0!==i?i:0);H=new Sd(m.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(m.Now.timeZoneId()))}}else if(c||s&&(f||A&&N)){if(!k&&!f)throw new Error("PlainDateTime requires year, month and day");const e=new m.PlainDateTime(o.year,o.month,o.day,o.hour,o.minute,o.second,1e6*o.ms);H=new Td(e)}else if(l||g||p||s&&A&&!N)if(l||k&&s){const e=new m.PlainDate(o.year,o.month,o.day);H=new Dd(e)}else if(g||C&&s){const e=new m.PlainYearMonth(o.year,o.month);H=new Ad(e)}else if(p||P&&s){const e=new m.PlainMonthDay(o.month,o.day,1972);H=new kd(e)}else{if(!s||!o.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new m.PlainDate(o.year,1,1);H=new Dd(e)}}else{if(!(d||s&&!A&&N))throw new Error("No date or time information found in input");{const e=new m.PlainTime(o.hour,o.minute,o.second,1e6*o.ms);H=new Nd(e)}}return H.setValid(f),H}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 Id=["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 Fd(e,n,t){const r=e.trim();if(!r)return null;Pd();const i=e=>{for(const n of e)try{return Hd(r,n),n}catch(e){}return null};if(n){return i(Array.isArray(n)?n:[n])}const a=new Set,o=Id.filter(e=>!a.has(e)&&(a.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=>!a.has(e)&&(a.add(e),!0)),u=i([...o,...s]);return u||null}const Od=(e,n=null,t="auto")=>{if(void 0===e)return new Td;if(!e){const e=new Td;return e.setValid(!1),e}if("string"==typeof e){if(n)return Hd(e,n,t,!0);{const n=Fd(e);if(n)return Hd(e,n,t);throw new Error(Zc("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new Td(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new Td(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof xc.PlainDateTime)return new Td(e);if(e instanceof xc.PlainDate)return new Dd(e);if(e instanceof xc.PlainTime)return new Sd(e);if(e instanceof xc.PlainYearMonth)return new Ad(e);if(e instanceof xc.PlainMonthDay)return new kd(e);if(e instanceof xc.ZonedDateTime)return new Sd(e);if(e instanceof xc.Duration)return new vd(e);throw bbn.fn.log("Invalid date value",e),new Error(Zc("Invalid date value"))};function Ld(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"}),ol.apply(this,e)}throw new Error(e)}function Gd(e,n=null,t=null,r=null,i=null){let a=!1;if(n){a=!0;let o,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){Ld(e.message||"")}if(s&&void 0===n.url&&(n.url=e),a=t&&al(t)?t(n,i):bbn.fn.defaultLinkFunction(n,i),i&&s&&void 0!==n.content&&("value"in i?i.value=n.content:i.innerHTML=n.content),a&&s&&n.script&&(a="function"==typeof n.script?n.script(n.data?n.data:{},i||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),al(r)&&(r=r(e,t))}catch(e){ol(e,n),Ld(al(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},i||!1)),a&&r&&al(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,i),a&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(o=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,o))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return a}function Bd(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),dl(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),ll(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let i;hl(n,n=>{let a=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):a?(i="is"+sl(a,0,1).toUpperCase()+sl(a,1).toLowerCase(),void 0===bbn.fn[i]?r.error=a+" "+bbn._("is not a valid type"):bbn.fn[i](e[n])||(r.error=n+" "+bbn._("is not a")+" "+a)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function xd(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Rd(e,n,t,...r){let i=!1;dl(n)||(n=[n]);const a=[];if(hl(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"),al(n)){if(a.push(n.name||(null===(t=n.constructor)||void 0===t?void 0:t.name)||n.toString()),e instanceof n)return i=!0,!1}else if(rl(n)&&al(bbn.fn["is"+xd(n)])){if(bbn.fn["is"+xd(n)](e))return i=!0,!1;a.push(n)}else Ld(`The type ${n} is not recognized`)}),!i)throw ol(["Value given",e,"type",typeof e,"expected",a.join(" or ")]),r.length&&ol(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",a.join(" "+bbn._("or a")+" ")))}function jd(e){if(dl(e))return e.slice().map(e=>"object"==typeof e?jd(e):e);if(ll(e)){return yl(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Od.locales=Object.create(null),Od.parse=Hd,Od.guessFormat=Fd,Od.time=()=>{},Od.date=()=>{},Od.dateTime=()=>{},Od.duration=(e,n)=>e instanceof xc.Duration?new vd(e):vd.fromUnit(e,n||"ms"),Od.zoned=()=>{},Od.monthDay=()=>{},Od.yearMonth=()=>{};const Zd=(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 Ud(e,n,t=null,r="="){if(!dl(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let i={};const a=[],o="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,i=n;else if("string"==typeof n)i[n]=t;else if(!o)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)&&a.push(e[t]);else if(i=ql(i,r),i.conditions&&i.logic)for(let n=0;n<e.length;n++)Yl(e[n],i)&&a.push(e[n]);return a}const Yd=[];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;Yd.push(n)}function qd(...e){const n=Object.create(null);return e.length&&yl(n,...e),n}function Wd(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||ml(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(sl(e,0,4)),parseInt(sl(e,5,2))-1,parseInt(sl(e,8,2)),12);if(19===e.length)return new Date(parseInt(sl(e,0,4)),parseInt(sl(e,5,2))-1,parseInt(sl(e,8,2)),parseInt(sl(e,11,2)),parseInt(sl(e,14,2)),parseInt(sl(e,17,2)))}else if(kl(e))return e;return!1}function Kd(e,n=""){ol(e)}function Vd(e,n=null,t=null){ol(n,t)}function $d(e,n,t=null,r=null){return!0}function Jd(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!zl(n))return!1;return!0}let Qd=[];function Xd(e){if(rl(e)&&e){for(;"/"===sl(e,e.length-1);)e=sl(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return sl(e,0,n);if(0===n)return"/"}return""}function em(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function nm(e){if(e&&rl(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function tm(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function rm(e,n,t=null){if(tm(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=ll(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let i=null;if(rl(n))i=new Blob([n],{type:t});else try{i=n}catch(e){ol(e)}r.href=window.URL.createObjectURL(i),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}var im=function(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})};function am(){return im(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 om=function(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})};function sm(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 um(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),i={};return hl(r,(e,r)=>{if(t=sm(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=td("][",".",r),r=td("[",".",r),r=td("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=sl(r,0,r.length-2),void 0===i[n]&&(i[n]=[]),i[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=i;for(let r=0;r<n.length;r++)void 0===i[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else i[r]=t}}),i}function cm(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function lm(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 dm(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function mm(){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 fm(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),ol("RANGE",e);let t=e.cloneContents();ol("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function hm(e){return rl(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function ym(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function Mm(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function gm(e){let n,t={};if(ll(e[0])&&1===e.length)return e[0];for(let r=0;r<e.length;r++)n=typeof e[r],n=n.toLowerCase(),al(e[r])?(t.errorFn&&!t.abortFn&&(t.abortFn=e[r]),t.successFn&&!t.errorFn?t.errorFn=e[r]:t.successFn||(t.successFn=e[r])):1===e[r]||!0===e[r]?t.force=!0:"string"===n?t.url?t.datatype=e[r]:(t.url=e[r],0===t.url.indexOf(bbn.env.root)&&(t.url=sl(t.url,bbn.env.root.length))):e[r]&&"object"===n&&(e[r]instanceof Event?t.e=e[r]:t.ele||1!==e[r].nodeType?"object"===n.toLowerCase()&&(t.obj=e[r]):t.ele=e[r]);return!t.url&&Pl(t)&&(t.url=bbn.env.path),void 0===t.obj&&(t.obj={_bbn:"public"}),t.datatype||(t.datatype="json"),t}function pm(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(sl(e,0,7))?e:bbn.env.root+e;const[i,a]=bbn.env.url.split("?"),o=a?a.split("&").reduce((e,n)=>{const[t,r]=n.split("=");return e[t]=r,e},{}):{};bbn.env.getParameters=o,bbn.env.path=sl(i,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let s=window.history;if(s){let e=s.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&&yl(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?ym(n):bbn.env.siteTitle,r?(i.reload=!0,s.replaceState(i,n,bbn.env.url)):s.pushState(i,n,bbn.env.url)}}function vm(...e){let n=gm(e),t=1;if(n){if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return n.e&&n.e.preventDefault(),document.location.hash=n.url.substring(1),!1;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if($l(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.e&&n.e.preventDefault(),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?(yl(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 id(n.url,n.datatype,n.obj,t=>{t||ol(e+bbn._("returned no answer")),ll(t)&&(0===Object.keys(t).length&&ol(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)),Gd(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==bbn.env.path.indexOf(n.url)&&pm(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}}function wm(){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(dm("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),i=(document.body.className||"").split(" "),a=!1;hl(i,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return a=!0,e!==r&&i.splice(n,1,r),!1}),a||i.push(r),bbn.fn.defaultResizeFunction(),document.body.className=i.join(" ")}}function bm(){return"mobile"===mm()}function _m(){return"tablet"===mm()}function Em(){return bm()||_m()}function Tm(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function Dm(e){const n=String(null!=e?e:"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,i=n[0].toLowerCase();for(let e=1;e<n.length;e++){const i=n[e];t||4!==i.length?r||2!==i.length&&3!==i.length||(r=i.toUpperCase()):t=i[0].toUpperCase()+i.slice(1).toLowerCase()}return{language:i,script:t,region:r}}const Sm=globalThis.document?Promise.resolve().then(function(){return qm}):{};function Am(e){var n,t,r;const i=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:a}=Dm(i),o=a&&Sm[a]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:o.firstDay,weekend:o.weekend.slice(),minimalDays:o.minimalDays}}function km(){!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=Dm(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 Am(this)}get weekInfo(){return Am(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return Am(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():Am(this)}})}()}var Cm=function(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})};function Pm(){return Cm(this,void 0,void 0,function*(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((()=>Cm(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return kg}),yield Promise.resolve().then(function(){return Pg})}))()),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((()=>Cm(this,void 0,void 0,function*(){yield Promise.resolve().then(function(){return Bp}),yield Promise.resolve().then(function(){return xp})}))()),e.length>0&&(yield Promise.all(e)),km()})}const Nm=()=>{bbn.env.last_focus=bbn.dt().unix()},zm=e=>{if(Nm(),"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}n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")&&(ol("Link clicked: "+n.getAttribute("href")),vm(n.getAttribute("href"),e))};function Hm(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||ml(sl(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 Im(...e){if(!e.length)return!1;for(let n of e)if(!rl(n)||!bbn.var.regexp.ip.test(n))return!1;return!0}function Fm(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function Om(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"}),ol.apply(this,n)}function Lm(e,n="",t=null){let r=new FormData,i=(e,n="")=>{(!t||dl(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):dl(e)?hl(e,(e,t)=>{i(e,n+"["+t+"]")}):ll(e)&&Object.keys(e).length?cl(e,(t,r)=>{r in e&&i(t,n?n+"["+r+"]":r)}):zl(e)||void 0===e||r.append(n,e))};return i(e,n),r}function Gm(e){return"string"==typeof e?document.querySelector(e):e}function Bm(...e){let n=gm(e);if(n.url)return id(n.url,n.datatype,n.obj,e=>{Gd(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function xm(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let i=e;const a=n.split(".");hl(a,(e,n)=>{if(!i){if(!r)throw new Error(bbn._("The object is invalid"));i={}}a.length-1===n?i[e]=t:i=i[e]})}}function Rm(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function jm(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=sl(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=sl(e,0,e.length-n.length);return e}function Zm(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.var.shortenLen),void 0!==t&&rl(t)||(t="..."),e.length>n&&(e=sl(e,0,n)+t)),e}var Um={_addLoader:Dl,_compareValues:Cl,_deleteLoader:Vl,abort:function(e){let n=$l(e);(null==n?void 0:n.aborter)&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){hl(Jl(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:Ql,addInputs:Xl,addStyle:function(e,n){ll(n)&&cl(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&fl(e[0])&&(e=e[0]),ed("height",e)},adjustSize:ed,adjustWidth:function(){let e=arguments;return 1===e.length&&fl(e[0])&&(e=e[0]),ed("width",e)},ajax:id,analyzeFunction:jl,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:od,arrayFromProp:function(e,n){let t=[];return hl(e,(e,r)=>{t.push(Sl(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),yl(bbn[e],n)},baseName:sd,br2nl:function(e){return td("<br />","\n",td("<br/>","\n",td("<br>","\n",e)))},calendar:function(e,n=!1){let t=Od(e);return t.isValid?t.calendar():n&&rl(n)?n:""},callback:Gd,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 Bd(e,n,t).result},checkPropsDetails:Bd,checkPropsOrDie:function(e,n,t=!1){let r=Bd(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Rd,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=Ol(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Gl(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:jd,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:Ul,compareConditions:Yl,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||Zd(e,e.type.toString())):ll(e)&&al(e.toBlob)?e.toBlob(r=>{const i=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([i]).then(()=>{n||Zd(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||Zd(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||Zd(e),t(!0)}t(!1)})},correctCase:xd,count:function(e,n,t=null,r="="){return Ud(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^Yd[255&(n^r)]}return(-1^n)>>>0},createObject:qd,cssExists:function(e){let n,t,r=document.styleSheets;for(let i=0;i<r.length;i++){n=1;try{t=r[i].rules||r[i].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)"+nd(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!dl(n);let i='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let a in n)i+="<li>",r&&(i+="<em>"+a+"</em>: "),n[a]&&(dl(n[a])||ll(n[a]))?i+=e(n[a],t):i+=null===n[a]?"<em>null</em>":n[a].toString?n[a].toString():n[a],i+="</li>";return i+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',i},date:Wd,dateSQL:function(e,n){let t=Od(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,i=[]){let a;return(a=Wl(n,t,0))>-1?(i.push(a),i):(hl(n,(n,a)=>{if(dl(n[r])){let o=i.slice();o.push(a);let s=e(n[r],t,r,o);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:Kd,defaultAjaxErrorFunction:Vd,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&al(n)&&(n(),r=1),!r&&al(t)&&t()},defaultEndLoadingFunction:$d,defaultErrorFunction:function(e){ol(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 ol("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Rd(e,"object",bbn._("The obj must be an object in setProp")),Rd(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,i=!1){i||(Qd=[]);let a="unchanged";void 0===i&&(i=!1);let o=qd();if(!al(n)&&!al(t)){if(Jd(n)||Jd(t)){let e=(s=n)===(u=t)||kl(s)&&kl(u)&&s.getTime()===u.getTime()?a:void 0===s?"created":void 0===u?"deleted":"updated";if(r||e!==a){let r=qd();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(Ol(n)||Ol(t))return!1;if(Qd.includes(n)||Qd.includes(t))return!1;Qd.push(n,t);for(let i in n){if(al(n[i]))continue;let a;void 0!==t[i]&&(a=t[i]);let s=e(n[i],a,r,!0);s&&(o[i]=s)}for(let i in t){if(al(t[i])||void 0!==n[i])continue;let a=e(void 0,t[i],r,!0);a&&(o[i]=a)}}var s,u;return!(i&&!r&&!Pl(o))&&o},dirName:Xd,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),id(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",i="attachment; filename=";n=(null==r?void 0:r[t])&&0===r[t].indexOf(i)?sl(r[t],i.length+1,r[t].length-i.length-2):sd(e)}if(em(t)){let e=nm(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void rm(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:rm,each:hl,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:Ld,escapeDquotes:function(e){return rl(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:nd,escapeSquotes:function(e){return rl(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return rl(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)),hl(Xd(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=sd(e),i="?",a="";if(r.indexOf(i)){let e=r.split("?");i="&",a="?"+e[1],r=e[0]}return n&&rl(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=i+n):n="",t+encodeURIComponent(r)+a+n},executeSlowly:function(e,n){return om(this,void 0,void 0,function*(){for(let t=0;t<e.length;t++){yield am();let r=n(e[t],t);if(r instanceof Promise&&(r=yield r),!1===r)return!1}return!0})},extend:yl,extendOut:function e(...n){let t=null;for(let r of n){if(!ll(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)ll(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=Od(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&rl(n)?n:""},fdatetime:function(e,n=!1){let t=Od(e);return t.isValid?t.fdate(!1,!0):n&&rl(n)?n:""},fieldValue:sm,fileExt:nm,filter:Ud,filterToConditions:ql,findAll:function e(n,t,r,i=[]){let a,o=0;for(;(a=Wl(n,t,o))>-1;)i.push(n[a]),o=a+1;return hl(n,n=>{dl(n[r])&&e(n[r],t,r,i)}),i},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(dl(e)){let i=e.length-1;ml(t)&&0<t&&t<=i||(t=i),(!ml(r)||!(0<=r&&r<i)||r>t)&&(r=0);for(let i=r;i<=t;i++)if(!1===n(e[i],i))return}},forir:function(e,n,t=e.length-1,r=0){if(dl(e)){let i=e.length-1;ml(t)&&0<t&&t<=i||(t=i),(!ml(r)||!(0<=r&&r<i)||r>t)&&(r=0);for(let i=t;i>=r;i--)if(!1===n(e[i],i))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 i=n[t++];return Rd(i,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),i})}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=Od(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return ml(e)?e+"px":rl(e)?e:!n&&"auto"},formdata:um,fphone:function(e){var n;if(ml(e)&&(e=e.toString()),rl(e)){const t=(null===(n=bbn.var)||void 0===n?void 0:n.phoneCodes)||[];let r="",i="",a="";if(t.length&&hl(t,n=>{e.startsWith(n.prefix)&&n.prefix.length>i.length&&(i=n.prefix,a=n.mask||"")}),!a.length&&e.startsWith("+")){i.length||(i=e.substr(0,3));const n=e.slice(i.length);for(let e=0;e<n.length;e++)e+1<=n.length&&e%2==0&&(a+="0"+(n[e+1]?"0":"")+" ");a=a.trim()}if(a.length){i.length&&(r=i+" ",e=e.slice(i.length));let n=0;return r+=a.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 i={},a=t[e.nodeName];if(a?Array.isArray(a)?t[e.nodeName].push(i):t[e.nodeName]=[a,i]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[i]:t[e.nodeName]=i,e.attributes)for(let n of e.attributes)i[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,i)}let i={};for(let e of t.childNodes)r(e,i);return i},ftime:function(e,n){let t=Od(e);return t.isValid?t.ftime():n&&rl(n)?n:""},getAllTags:function(){return cm(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:lm,getAttributes:function(e){e.getAttributeNames||Ld("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:dm,getDay:function(e){let n=Wd(e);if(n){let e=n.getTime(),r=n.getYear(),i=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)i++;return i+Math.floor(e/864e5)}return!1},getDeviceType:mm,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]},i=new Promise((i,a)=>{let o=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=fm();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>"}),o=!0,i(r)}if(!o){let e=[],t=n.items.length;hl(n.items,(a,s)=>{let u=a.kind,c=a.type;if("file"===u){let u=n.files[s];if(!c&&u.name){let e=u.name.split(".");c=e[e.length-1]}let l=u?u.name:bbn._("untitled"),d=u?u.size:null,m=u?u.lastModified:null,f=a.getAsFile();f?(o=!0,t--,r.files.push({type:c,data:f,name:l,size:d,mdate:m}),e.push(l),t||(r.raw||(r.raw=e.join(", ")),i(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+l)}else o=!0,a.getAsString(n=>{t--,r.str.push({type:c,data:n}),"text/plain"===c&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),i(r))})})}o||setTimeout(()=>{i(r)})});return i},getField:function(e,n,t="",r=null,i="=",a=0,o=!1,s=void 0){let u;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=o),n?(u=Kl(e,t,r,i,a,o,void 0),void 0===u?s:u[n]):s},getFieldValues:function(e,n,t,r,i){Rd(n,"string"),t&&(e=Jl(e,t,r,i));let a=[];return hl(e,e=>-1===a.indexOf(e[n])?a.push(e[n]):null),a},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,i=>{"string"==typeof i?["binary","text"].includes(i.toLowerCase())?r=i.toLowerCase():t||(t=i,"image"===t&&(t="image/*")):bbn.fn.isFunction(i)&&(e?n||(n=i):e=i)});let i=document.createElement("input");i.type="file",t&&i.setAttribute("accept",t),i.onchange=function(t){var a;const o=null===(a=i.files)||void 0===a?void 0:a[0];if(!o)return;const s=new FileReader;"binary"===r?s.readAsArrayBuffer(o):s.readAsText(o,"UTF-8"),s.onload=function({target:n}){e&&e(null==n?void 0:n.result)},s.onerror=function(){n&&n("error reading file")}},i.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=hm(t)),t.trim()},getHTMLOfSelection:fm,getLoader:$l,getPath:Ll,getProp:function(e,n){return Rd(e,"object",bbn._("The obj must be an object in setProp")),Rd(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:Sl,getRequestId:rd,getRow:Kl,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 i=n-r;bbn.env.scrollBarSize=i?i+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 i=new Map(n.map((e,n)=>[e,n])),a=e.map(e=>i.get(e)),o=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let i=0;i<n;i++){let n=e[i],a=0,o=t.length;for(;a<o;){const r=a+o>>1;e[t[r]]<n?a=r+1:o=r}a>0&&(r[i]=t[a-1]),t[a]=i}const i=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])i.push(e);return i.reverse()})(a),s=new Set(o.map(n=>e[n])),u=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)u[e]=u[e+1],s.has(n[e+1])&&(u[e]=e+1);const c=e.slice(),l=new Map(c.map((e,n)=>[e,n])),d=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=l.get(t);if(void 0===r)throw new Error("Inconsistent state");const i=u[e],a=-1!==i?l.get(n[i]):c.length;if(void 0===a)throw new Error("Inconsistent state");const o=r<a?a-1:a;if(r!==o){const[e]=c.splice(r,1);c.splice(o,0,e),d.push({from:r,to:o,value:t}),l.clear();for(let e=0;e<c.length;e++)l.set(c[e],e)}}return d},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;"}),ol.apply(this,e),this},hash:xl,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:ym,imageToCanvas:Mm,imgToBase64:function(e,n="image/png"){return Mm(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),ol.apply(this,e),this},init:function(e,n){var t,r;if(!bbn.env.isInit){bbn.env.root=(null===(r=null===(t=globalThis.document)||void 0===t?void 0:t.baseURI)||void 0===r?void 0:r.length)?globalThis.document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==sl(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&yl(!0,bbn,e);const[n,i]=bbn.env.url.split("?"),a=i?i.split("&").reduce((e,n)=>{const[t,r]=n.split("=");return e[t]=r,e},{}):{};bbn.env.getParameters=a,bbn.env.path=sl(n,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e),Pm(),globalThis.document&&(bbn.var.colors&&Ql(bbn.var.colors),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=Tm()}),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=Tm()}),document.addEventListener("click",zm),document.addEventListener("keydown",zm),document.addEventListener("focusin",Nm),document.addEventListener("focusout",Nm),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{wm()}),window.addEventListener("orientationchange",()=>{wm()}),wm(),Em()&&(document.body.classList.add("bbn-mobile"),_m()&&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?vm(e.url,yl({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&al(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")))}},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:dl,isBlob:em,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:tm,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(!rl(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:Gl,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:kl,isDesktopDevice:function(){return"desktop"===mm()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!Hm(n))return!1}return!0},isDom:Ol,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(!rl(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:Nl,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:al,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(!rl(n))return!1;if(!Im(n)&&!bbn.var.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=lm(e);if(t.length){if(rl(n)){let e=!1;return hl(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:il,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,i=e.offsetWidth;return t.top>=-r&&t.left>=-i&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+i&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:Im,isIterable:fl,isMobile:Em,isMobileDevice:bm,isNotObject:Jd,isNull:zl,isNumber:ml,isObject:ll,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:dd,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 hl(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Zl,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:rl,isSymbol:Fm,isTabletDevice:_m,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:Hm,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!rl(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:cl,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),i=(r>>16)+n,a=(r>>8&255)+n,o=(255&r)+n;return i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),o>255?o=255:o<0&&(o=0),(t?"#":"")+(o|a<<8|i<<16).toString(16)}},link:vm,log:ol,makeReactive:function e(n,t,r,i){const a=(null==r?void 0:r.$cid)||"",o="__bbn_"+(a?a+"_":"");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&&ol(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:qd(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,u){const c=Reflect.get(s,u),l=s.__bbnRoot||s;if(Fm(u))return Reflect.get(l,u);const d=i?i+"."+u:u,m=o+(ml(u)?u.toString():u);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(u)&&dl(s))return function(...e){let n=l[u](...e);return Om("DOING ARRAY STUFF"),ol(s.__bbnParent),t(s,"length",r),n};if(al(c))return c;if("__bbnRoot"===u){let e=n;for(;e&&(null==e?void 0:e.__bbnTarget);)e=e.__bbnTarget;return e}return"__bbnIsProxy"===u||("__bbnTarget"===u?s:"__bbnParent"===u?r:"__bbnWatchers"===u?s.__bbnWatchers:0===u.indexOf("__bbn_")?Reflect.get(s,u):"length"===u&&dl(s.__bbnRoot||s)?l.length:u in s&&c&&"object"==typeof c&&[void 0,Object,Array].includes(c.constructor)?(c.__bbnIsProxy&&c.__bbnParent===r||(m in l||Reflect.defineProperty(l,m,{value:e(c,t,r,d),writable:!0,configurable:!0,enumerable:!1}),l[m].__bbnIsProxy&&!l.__bbnWatchers[a]&&(l.__bbnWatchers[a]=d)),l[m]):c)},set(n,s,u){if(Fm(s))return Reflect.get(n,s,u);const c=n.__bbnRoot||n,l=i?i+"."+s:s;if(Fm(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&ol(["Setting proxy prop in "+r.$options.name,n,s,u]),!Zl(c[s],u)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(c,s,{value:e(u,t,r,l),writable:!0,configurable:!0,enumerable:!1});else if(u&&"object"==typeof u&&[void 0,Object,Array].includes(u.constructor)){const n=o+(ml(s)?s.toString():s);Reflect.defineProperty(c,n,{value:e(u,t,r,l),writable:!0,configurable:!0,enumerable:!1}),c[n].__bbnIsProxy&&!c.__bbnWatchers[a]&&(c.__bbnWatchers[a]=l)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&ol(["Setting proxy prop in "+r.$options.name+" "+(ml(s)?s.toString():s),u,n]),Reflect.set(c,s,u),t(n,s,r)}return!0},defineProperty(n,a,s){const u=n,c=i?i+"."+a:a;if("__bbnWatchers"===a||Fm(a)||0===a.indexOf("__bbn_"))Reflect.defineProperty(u,a,s);else{const n=o+(ml(a)?a.toString():a);Reflect.defineProperty(u,n,{value:e(s.value,t,r,c),writable:!0,configurable:!0,enumerable:!1})}return t(n,a,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=o+(ml(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,i=0){return n.map((n,a)=>(n=t(n,a,i),r&&n[r]&&dl(n[r])&&(n[r]=e(n[r],t,r,i+1)),n))},md5:Rl,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,i,a,o){if(i||(i=void 0===i&&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:""),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),o||(o=void 0===o&&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),ml(o)||(o=n?3:0),0===e&&"number"==typeof o&&o>0){let r=e.toFixed(o).replace(".",i);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(o),u=0,c=1e4;return s&&(c=s.indexOf("."),c<=0?c=1e4:u=s.length-c),s.replace(/./g,function(e,n,t){return"."===e?i:n&&(t.length-n-u)%3==0&&n<c?a+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 i of t)if(r=Cl(e,n,i.field,i.dir),0!==r)return r;return 0})},mutateArray:function(e,n,t=null){if(!dl(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Rd(t,"function","The hash function must be a function"):t=xl;const r=new Map(n.map(e=>[t(e),e]));let i=[];n.forEach(e=>{i.push(e)});let a=e.length;for(;a--;)r.has(t(e[a]))||e.splice(a,1);for(let n=0;n<i.length;n++)if(n>=e.length||!Zl(e[n],i[n])){const t=Wl(e,i[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,i[n])}return e.length>i.length&&e.splice(i.length,e.length-i.length),e},mutateObject:function(e,n,t){if(!ll(e,n))throw new TypeError("mutateObject can only be called with objects parameters");t?Rd(t,"function","The hash function must be a function"):t=xl;const r=Object.keys(n);for(let n in e)r.includes(n)||delete e[n];return r.forEach(t=>{Zl(e[t],n[t])||(e[t]=n[t])}),e},nl2br:function(e,n){return td("\n","<br>"+(n?"\n":""),e)},numProperties:Pl,objectToFormData:Lm,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return Cl(e,r,n,t)}):e},outerHeight:function(e){if((e=Gm(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=Gm(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:Bm,postOut:function(e,n,t=null,r=""){let i=document.body.querySelector("form#bbn-form_out");i||(i=document.createElement("form"),i.classList.add("bbn-no"),i.setAttribute("id","bbn-form_out"),i.setAttribute("method","post"),i.setAttribute("enctype","multipart/form-data-encoded"),xm(i,"style.display","none"),document.body.appendChild(i)),i instanceof HTMLFormElement&&(i.innerHTML="",i.setAttribute("action",e),i.setAttribute("target",r||"_blank"),n||(n={}),(n=qd(n)).bbn||(n.bbn="public"),Xl(i,n),i.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=td("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=td('"',"&quot;",e)),e},randomInt:Rm,randomString:function(e,n,t){let r,i,a={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=Rm(8,14)),"string"==typeof n?(t="n",delete a.l,delete a.u,a.n=n,r||(r=e)):"number"==typeof n&&e<n?r=Rm(e,n):e&&(r=e);let o="";for(let e=0;e<r;e++)0===e?"n"!==t&&(i=-1===t.indexOf("u")?"l":"u"):i=t[Math.floor(Math.random()*t.length)],o+=a[i][Math.floor(Math.random()*a[i].length)];return o},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:Al,removeEmpty:function(e){var n=[];if(dl(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(dl(e[t])?e[t].length&&(r=!0):ll(e[t])?Pl(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:hm,removePrivateProp:ul,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;sl(e,-n.length)===n;)e=sl(e,0,e.length-n.length);for(;sl(e,0,n.length)===n;)e=sl(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:td,replaceSelection:function(e,n){let t,r,i;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)i=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,i=document.createDocumentFragment();t=n.firstChild;)i.appendChild(t)}const a=i.firstChild,o=i.lastChild;r.insertNode(i),t.removeAllRanges(),n?(a&&(r.setStartBefore(a),r.setEndAfter(o)),t.addRange(r)):(r.setStartAfter(o),t.addRange(r))}},resize:wm,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 cl(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 i=new RegExp(r,"g");return jm(Al(e).replace(/[^a-z0-9]/gi,n).replace(i,n),n)},search:Wl,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,i=n.document;n.getSelection&&i.createRange?(t=n.getSelection(),r=i.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in i.body&&"function"==typeof i.body.createTextRange&&(r=i.body.createTextRange(),r.moveToElementText(e),r.select())},selector:Gm,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 i=escape(JSON.stringify({value:n}));document.cookie=e+"="+i+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:pm,setProp:function(e,n,t,r=!0,i=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:i})},setProperty:xm,shorten:Zm,shortenObj:function e(n,t=100){let r=jd(n);return hl(r,(n,i)=>{rl(n)&&n.length>t?r[i]=Zm(n,t):n&&"object"==typeof n&&(r[i]=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:Fl,simpleHash1:Hl,simpleHash2:Il,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,i,a){const o=rd(e,t,"json"),s=$l(o);if(null==s?void 0:s.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const u=new AbortController;let c="";const l=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{const r=JSON.parse(e[t]);(null==r?void 0:r.__bbn_stream_ping__)||n(r)}catch(e){throw e}}},d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:u.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),i=al(n);r.read().then(function e({done:s,value:u}){if(s)return Vl(o,t),c&&l(c),void(a&&a());if(i)if(c+=od(u).trim(),bbn.fn.log(["STREAM RESULT",c.length,c]),c)try{l(c),c=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+i]);return r.read().then(e)})}}).catch(n=>{let a=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Vl(o,t,a),a){let t=1;al(i)&&(t=i(n.message,e)),t&&Kd(n.message,e)}else{let e=1;al(r)&&(e=r(n.request,n)),e&&Vd(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return Dl(o,d,u),d},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,i=e.getAttribute("action")||bbn.env.path;if(""===i&&(i="."),"string"==typeof i&&(0!==i.indexOf("http")||-1!==i.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=um(e),r)){e.setAttribute("action",null);const n=[i,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Bm(...n)}},substr:sl,sum:function(e,n,t,r,i){let a=0;return hl(Ud(e,t,r,i),e=>{let t="function"==typeof n?n(e):e[n];t&&(a+=parseFloat(t)||0)}),a},timestamp:Tm,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let i="",a=e.length;return hl(e,(e,o)=>{let s=dl(e)?e.length:Object.values(e).length,u=0;hl(e,e=>{i+="string"==typeof e?r+td(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,u++,u<s&&(i+=n)}),o<a-1&&(i+=t+"\n")}),i},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(){wm()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;cl(e,(e,n)=>{t[n]=e})},treatAjaxArguments:gm,treatForHash:Bl,trim:jm,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(dl(e[t]))n+=JSON.stringify(e[t]);else{let r={};hl(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 Rl(n)},unique:cm,upload:function(e,n,t=null,r=null,i=null){const a=()=>tl.run("post",e||bbn.env.path,{data:Lm(n),headers:{},onUploadProgress(e){if(i){let n=Math.round(100*e.loaded/e.total);i(n,e.loaded,e.total)}}});return t||r?a().then(e=>{t&&(ol("SUCCESS",e),t(e))}).catch(e=>{r&&(ol("ERROR",e),r(e))}):a()},warning:Om,yieldToBrowser:am};const Ym={version:"1.0.1",opt:{_cat:{}},app:{},_:Zc,$: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:$c,dt:Od,com:tl,env:Jc,db:Tl,fn:Um,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 globalThis&&(globalThis.bbn=Ym,"Temporal"in globalThis||(globalThis.Temporal=xc));var qm=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}}});function Wm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Km(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if("function"==typeof n){var t=function e(){var t=!1;try{t=this instanceof e}catch{}return t?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var Vm={},$m=function(e,n){return $m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},$m(e,n)};function Jm(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}$m(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var Qm=function(){return Qm=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},Qm.apply(this,arguments)};function Xm(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]])}return t}function ef(e,n,t,r){var i,a=arguments.length,o=a<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,n,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(n,t,o):i(n,t))||o);return a>3&&o&&Object.defineProperty(n,t,o),o}function nf(e,n){return function(t,r){n(t,r,e)}}function tf(e,n,t,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!n&&e?r.static?e:e.prototype:null,d=n||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),m=!1,f=t.length-1;f>=0;f--){var h={};for(var y in r)h[y]="access"===y?{}:r[y];for(var y in r.access)h.access[y]=r.access[y];h.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var M=(0,t[f])("accessor"===u?{get:d.get,set:d.set}:d[c],h);if("accessor"===u){if(void 0===M)continue;if(null===M||"object"!=typeof M)throw new TypeError("Object expected");(s=o(M.get))&&(d.get=s),(s=o(M.set))&&(d.set=s),(s=o(M.init))&&i.unshift(s)}else(s=o(M))&&("field"===u?i.unshift(s):d[c]=s)}l&&Object.defineProperty(l,r.name,d),m=!0}function rf(e,n,t){for(var r=arguments.length>2,i=0;i<n.length;i++)t=r?n[i].call(e,t):n[i].call(e);return r?t:void 0}function af(e){return"symbol"==typeof e?e:"".concat(e)}function of(e,n,t){return"symbol"==typeof n&&(n=n.description?"[".concat(n.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:t?"".concat(t," ",n):n})}function sf(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function uf(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})}function cf(e,n){var t,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(t=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=n.call(e,a)}catch(e){s=[6,e],r=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var lf=Object.create?function(e,n,t,r){void 0===r&&(r=t);var i=Object.getOwnPropertyDescriptor(n,t);i&&!("get"in i?!n.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,i)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]};function df(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||lf(n,e,t)}function mf(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function ff(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,a=t.call(e),o=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(i)throw i.error}}return o}function hf(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(ff(arguments[n]));return e}function yf(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),i=0;for(n=0;n<t;n++)for(var a=arguments[n],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function Mf(e,n,t){if(t||2===arguments.length)for(var r,i=0,a=n.length;i<a;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return e.concat(r||Array.prototype.slice.call(n))}function gf(e){return this instanceof gf?(this.v=e,this):new gf(e)}function pf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),a=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(n){return Promise.resolve(n).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function o(e,n){i[e]&&(r[e]=function(n){return new Promise(function(t,r){a.push([e,n,t,r])>1||s(e,n)})},n&&(r[e]=n(r[e])))}function s(e,n){try{!function(e){e.value instanceof gf?Promise.resolve(e.value.v).then(u,c):l(a[0][2],e)}(i[e](n))}catch(e){l(a[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,n){e(n),a.shift(),a.length&&s(a[0][0],a[0][1])}}function vf(e){var n,t;return n={},r("next"),r("throw",function(e){throw e}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=e[r]?function(n){return(t=!t)?{value:gf(e[r](n)),done:!1}:i?i(n):n}:i}}function wf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=mf(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,i){(function(e,n,t,r){Promise.resolve(r).then(function(n){e({value:n,done:t})},n)})(r,i,(n=e[t](n)).done,n.value)})}}}function bf(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}var _f=Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n},Ef=function(e){return Ef=Object.getOwnPropertyNames||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[n.length]=t);return n},Ef(e)};function Tf(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t=Ef(e),r=0;r<t.length;r++)"default"!==t[r]&&lf(n,e,t[r]);return _f(n,e),n}function Df(e){return e&&e.__esModule?e:{default:e}}function Sf(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)}function Af(e,n,t,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!i:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,t):i?i.value=t:n.set(e,t),t}function kf(e,n){if(null===n||"object"!=typeof n&&"function"!=typeof n)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?n===e:e.has(n)}function Cf(e,n,t){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var r,i;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose],t&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:n,dispose:r,async:t})}else t&&e.stack.push({async:!0});return n}var Pf="function"==typeof SuppressedError?SuppressedError:function(e,n,t){var r=new Error(t);return r.name="SuppressedError",r.error=e,r.suppressed=n,r};function Nf(e){function n(n){e.error=e.hasError?new Pf(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}var t,r=0;return function i(){for(;t=e.stack.pop();)try{if(!t.async&&1===r)return r=0,e.stack.push(t),Promise.resolve().then(i);if(t.dispose){var a=t.dispose.call(t.value);if(t.async)return r|=2,Promise.resolve(a).then(i,function(e){return n(e),i()})}else r|=1}catch(e){n(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function zf(e,n){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,t,r,i,a){return t?n?".jsx":".js":!r||i&&a?r+i+"."+a.toLowerCase()+"js":e}):e}var Hf={__extends:Jm,__assign:Qm,__rest:Xm,__decorate:ef,__param:nf,__esDecorate:tf,__runInitializers:rf,__propKey:af,__setFunctionName:of,__metadata:sf,__awaiter:uf,__generator:cf,__createBinding:lf,__exportStar:df,__values:mf,__read:ff,__spread:hf,__spreadArrays:yf,__spreadArray:Mf,__await:gf,__asyncGenerator:pf,__asyncDelegator:vf,__asyncValues:wf,__makeTemplateObject:bf,__importStar:Tf,__importDefault:Df,__classPrivateFieldGet:Sf,__classPrivateFieldSet:Af,__classPrivateFieldIn:kf,__addDisposableResource:Cf,__disposeResources:Nf,__rewriteRelativeImportExtension:zf},If=Km(Object.freeze({__proto__:null,__addDisposableResource:Cf,get __assign(){return Qm},__asyncDelegator:vf,__asyncGenerator:pf,__asyncValues:wf,__await:gf,__awaiter:uf,__classPrivateFieldGet:Sf,__classPrivateFieldIn:kf,__classPrivateFieldSet:Af,__createBinding:lf,__decorate:ef,__disposeResources:Nf,__esDecorate:tf,__exportStar:df,__extends:Jm,__generator:cf,__importDefault:Df,__importStar:Tf,__makeTemplateObject:bf,__metadata:sf,__param:nf,__propKey:af,__read:ff,__rest:Xm,__rewriteRelativeImportExtension:zf,__runInitializers:rf,__setFunctionName:of,__spread:hf,__spreadArray:Mf,__spreadArrays:yf,__values:mf,default:Hf})),Ff={};function Of(e){return Intl.getCanonicalLocales(e)}
1
+ function e(e,n){return n.forEach(function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach(function(t){if("default"!==t&&!(t in e)){var r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:function(){return n[t]}})}})}),Object.freeze(e)}function n(e,n,r,i,a){return t(n,((e,n)=>{const t=e[n];if(void 0===t)throw new TypeError(_i(n));return t})(e,n),r,i,a)}function t(e,n,t,r,i,a){const o=_(n,t,r);if(i&&n!==o)throw new RangeError(vi(e,n,t,r,a));return o}function r(e){return null!==e&&/object|function/.test(typeof e)}function i(e,n=Map){const t=new n;return(n,...r)=>{if(t.has(n))return t.get(n);const i=e(n,...r);return t.set(n,i),i}}function a(e){return o({name:e},1)}function o(e,n){return l(e=>({value:e,configurable:1,writable:!n}),e)}function s(e){return l(e=>({get:e,configurable:1}),e)}function u(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function c(e,n){const t={};let r=e.length;for(const i of n)t[e[--r]]=i;return t}function l(e,n,t){const r={};for(const i in n)r[i]=e(n[i],i,t);return r}function d(e,n,t){const r={};for(let i=0;i<n.length;i++){const a=n[i];r[a]=e(a,i,t)}return r}function m(e,n,t){const r={};for(let i=0;i<e.length;i++)r[n[i]]=t[e[i]];return r}function f(e,n){const t=Object.create(null);for(const r of e)t[r]=n[r];return t}function h(e,n){for(const t of n)if(t in e)return 1;return 0}function y(e,n,t){for(const r of e)if(n[r]!==t[r])return 0;return 1}function M(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 w(e){return e.slice().sort()}function v(e,n){return String(n).padStart(e,"0")}function b(e,n){return Math.sign(e-n)}function _(e,n,t){return Math.min(Math.max(e,n),t)}function E(e,n){return[Math.floor(e/n),T(e,n)]}function T(e,n){return(e%n+n)%n}function D(e,n){return[S(e,n),A(e,n)]}function S(e,n){return Math.trunc(e/n)||0}function A(e,n){return e%n||0}function k(e){return.5===Math.abs(e%1)}function C(e,n,t){let r=0,i=0;for(let a=0;a<=n;a++){const n=e[t[a]],o=ga[a],s=Ma/o,[u,c]=D(n,s);r+=c*o,i+=u}const[a,o]=D(r,Ma);return[i+a,o]}function N(e,n,t){const r={};for(let i=n;i>=0;i--){const n=ga[i];r[t[i]]=S(e,n),e=A(e,n)}return r}function P(e){if(void 0!==e)return I(e)}function z(e){return G(I(e))}function I(e){return L(Ua(e))}function H(e,n){if(null==n)throw new RangeError(_i(e));return n}function F(e){if(!r(e))throw new TypeError(wi);return e}function O(e,n,t=e){if(typeof n!==e)throw new TypeError(bi(t,n));return n}function L(e,n="number"){if(!Number.isInteger(e))throw new RangeError(fi(n,e));return e||0}function G(e,n="number"){if(e<=0)throw new RangeError(hi(n,e));return e}function B(e){if("symbol"==typeof e)throw new TypeError(pi);return String(e)}function x(e,n){return r(e)?String(e):ja(e,n)}function R(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(gi(e));return e}function j(e,n="number"){if("bigint"==typeof e)throw new TypeError(Mi(n));if(e=Number(e),!Number.isFinite(e))throw new RangeError(yi(n,e));return e}function Z(e,n){return Math.trunc(j(e,n))||0}function U(e,n){return L(j(e,n),n)}function Y(e,n){return G(Z(e,n),n)}function q(e,n){let[t,r]=D(n,Ma),i=e+t;const a=Math.sign(i);return a&&a===-Math.sign(r)&&(i-=a,r+=a*Ma),[i,r]}function W(e,n,t=1){return q(e[0]+n[0]*t,e[1]+n[1]*t)}function K(e,n){return q(e[0],e[1]+n)}function V(e,n){return W(n,e,-1)}function $(e,n){return b(e[0],n[0])||b(e[1],n[1])}function J(e,n,t){return-1===$(e,n)||1===$(e,t)}function Q(e,n=1){const t=BigInt(Ma/n);return[Number(e/t),Number(e%t)*n]}function X(e,n=1){const t=Ma/n,[r,i]=D(e,t);return[r,i*n]}function ee(e,n=1,t){const[r,i]=e,[a,o]=D(i,n);return r*(Ma/n)+(a+(t?o/n:0))}function ne(e,n,t=E){const[r,i]=e,[a,o]=t(i,n);return[r*(Ma/n)+a,o]}function te(e){return n(e,"isoYear",ho,fo,1),e.isoYear===ho?n(e,"isoMonth",4,12,1):e.isoYear===fo&&n(e,"isoMonth",1,9,1),e}function re(e){return ie({...e,...oo,isoHour:12}),e}function ie(e){const t=n(e,"isoYear",ho,fo,1),r=t===ho?1:t===fo?-1:0;return r&&ae(le({...e,isoDay:e.isoDay+r,isoNanosecond:e.isoNanosecond-r})),e}function ae(e){if(!e||J(e,mo,lo))throw new RangeError(Wi);return e}function oe(e){return C(e,5,eo)[1]}function se(e){const[n,t]=E(e,Ma);return[N(t,5,eo),n]}function ue(e){return ne(e,fa)}function ce(e){return fe(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function le(e){const n=ce(e);if(void 0!==n){const[t,r]=D(n,ca);return[t,r*ma+(e.isoMicrosecond||0)*da+(e.isoNanosecond||0)]}}function de(e,n){const[t,r]=se(oe(e)-n);return ae(le({...e,isoDay:e.isoDay+r,...t}))}function me(...e){return fe(...e)/la}function fe(...e){const[n,t]=he(...e),r=n.valueOf();if(!isNaN(r))return r-t*ca}function he(e,n=1,t=1,r=0,i=0,a=0,o=0){const s=e===ho?1:e===fo?-1:0,u=new Date;return u.setUTCHours(r,i,a,o),u.setUTCFullYear(e,n-1,t+s),[u,s]}function ye(e,n){let[t,r]=K(e,n);r<0&&(r+=Ma,t-=1);const[i,a]=E(r,ma),[o,s]=E(a,da);return Me(t*ca+i,o,s)}function Me(e,n=0,t=0){const r=Math.ceil(Math.max(0,Math.abs(e)-co)/ca)*Math.sign(e),i=new Date(e-r*ca);return c(to,[i.getUTCFullYear(),i.getUTCMonth()+1,i.getUTCDate()+r,i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds(),n,t])}function ge(e,n){if(n<-co)throw new RangeError(Wi);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 we(e,n){return[n,0]}function ve(){return wo}function be(e,n){switch(n){case 2:return Ee(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function _e(e){return Ee(e)?366:365}function Ee(e){return e%4==0&&(e%100!=0||e%400==0)}function Te(e){const[n,t]=he(e.isoYear,e.isoMonth,e.isoDay);return T(n.getUTCDay()-t,7)||7}function De(e){return this.id===La?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(e):this.id===Ga?bo(e):[]}function Se(e){const n=ce(e);if(n<vo){const{isoYear:n}=e;return n<1?["japanese-inverse",1-n]:["japanese",n]}const t=ge(zs(Ga),n),{era:r,eraYear:i}=Pr(t,Ga);return[r,i]}function Ae(e){return ke(e),Pe(e,1),e}function ke(e){return Ne(e,1),e}function Ce(e){return y(no,e,Ne(e))}function Ne(e,t){const{isoYear:r}=e,i=n(e,"isoMonth",1,ve(),t);return{isoYear:r,isoMonth:i,isoDay:n(e,"isoDay",1,be(r,i),t)}}function Pe(e,t){return c(eo,[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 ze(e){return void 0===e?0:xo(F(e))}function Ie(e,n=0){e=Ze(e);const t=Ro(e),r=jo(e,n);return[xo(e),r,t]}function He(e,n,t,r=9,i=0,a=4){n=Ze(n);let o=Go(n,r,i),s=xe(n),u=qo(n,a);const c=Lo(n,r,i,1);return null==o?o=Math.max(t,c):Ke(o,c),s=Re(s,c,1),e&&(u=(e=>e<4?(e+2)%4:e)(u)),[o,c,s,u]}function Fe(e,n=6,t){let r=xe(e=Ue(e,_o));const i=qo(e,7);let a=Lo(e,n);return a=H(_o,a),r=Re(r,a,void 0,t),[a,r,i]}function Oe(e){return Zo(Ze(e))}function Le(e,n){return Ge(Ze(e),n)}function Ge(e,n=4){const t=je(e);return[qo(e,4),...Be(Lo(e,n),t)]}function Be(e,n){return null!=e?[ga[e],e<4?9-3*e:-1]:[void 0===n?1:10**(9-n),n]}function xe(e){const n=e[To];return void 0===n?1:Z(n,To)}function Re(e,n,r,i){const a=i?Ma:ga[n+1];if(a){const r=ga[n];if(a%((e=t(To,e,1,a/r-(i?0:1),1))*r))throw new RangeError(bi(To,e))}else e=t(To,e,1,r?10**9:1,1);return e}function je(e){let n=e[Do];if(void 0!==n){if("number"!=typeof n){if("auto"===B(n))return;throw new RangeError(bi(Do,n))}n=t(Do,Math.floor(n),0,9,1)}return n}function Ze(e){return void 0===e?{}:F(e)}function Ue(e,n){return"string"==typeof e?{[n]:e}:F(e)}function Ye(e){return{overflow:Co[e]}}function qe(e,n,r=9,i=0,a){let o=n[e];if(void 0===o)return a?i:void 0;if(o=B(o),"auto"===o)return a?i:null;let s=sa[o];if(void 0===s&&(s=$a[o]),void 0===s)throw new RangeError(Si(e,o,sa));return t(e,s,i,r,1,ua),s}function We(e,n,t,r=0){const i=t[e];if(void 0===i)return r;const a=B(i),o=n[a];if(void 0===o)throw new RangeError(Si(e,a,n));return o}function Ke(e,n){if(n>e)throw new RangeError(Xi)}function Ve(e){return{branding:Xo,epochNanoseconds:e}}function $e(e,n,t){return{branding:Qo,calendar:t,timeZone:n,epochNanoseconds:e}}function Je(e,n=e.calendar){return{branding:$o,calendar:n,...f(ao,e)}}function Qe(e,n=e.calendar){return{branding:Vo,calendar:n,...f(ro,e)}}function Xe(e,n=e.calendar){return{branding:Wo,calendar:n,...f(ro,e)}}function en(e,n=e.calendar){return{branding:Ko,calendar:n,...f(ro,e)}}function nn(e){return{branding:Jo,...f(io,e)}}function tn(e){return{branding:es,sign:gt(e),...f(qa,e)}}function rn(e){return ne(e.epochNanoseconds,ma)[0]}function an(e){return e.epochNanoseconds}function on(e,n){return ee(vt(e),ga[n],1)}function sn(e,n,t,r,i,a,o){const s=Ya[t],u={...n,[s]:n[s]+r},c=o(e,i,n),l=o(e,i,u);return[a(c),a(l)]}function un(e,n,t){const r=ee(V(n,t));if(!r)throw new RangeError(Li);return ee(V(n,e))/r}function cn(e,n,t,r){return ln(e,fn(n,t),r)}function ln(e,n,t){const[r,i]=dn(e,n,t);return ie({...st(e,i),...r})}function dn(e,n,t){return se(vn(oe(e),n,t))}function mn(e){return vn(e,ha,7)}function fn(e,n){return ga[e]*n}function hn(e){const n=yn(e);return[n,st(n,1)]}function yn(e){return so(6,e)}function Mn(e,n,t){const r=Math.min(Tt(e),6);return bt(wn(vt(e,r),n,t),r)}function gn(e,n,t,r,i,a,o,s,u,c){if(0===r&&1===i)return e;const l=ft(r,s)?mt(s)&&r<6&&t>=6?En:_n:Tn;let[d,m,f]=l(e,n,t,r,i,a,o,s,u,c);return f&&7!==r&&(d=((e,n,t,r,i,a,o,s)=>{const u=gt(e);for(let c=r+1;c<=t;c++){if(7===c&&7!==t)continue;const r=Xa(c,e);r[Ya[c]]+=u;const l=ee(V(o(s(i,a,r)),n));if(l&&Math.sign(l)!==u)break;e=r}return e})(d,m,t,Math.max(6,r),o,s,u,c)),d}function pn(e,n,t,r,i){if(6===n){const n=(e=>e[0]+e[1]/Ma)(e);return[vn(n,t,r),0]}return wn(e,fn(n,t),r,i)}function wn(e,n,t,r){let[i,a]=e;r&&a<0&&(a+=Ma,i-=1);const[o,s]=E(vn(a,n,t),Ma);return q(i+o,s)}function vn(e,n,t){return bn(e/n,t)*n}function bn(e,n){return ns[n](e)}function _n(e,n,t,r,i,a){const o=gt(e),s=vt(e),u=pn(s,r,i,a),c=V(s,u),l=Math.sign(u[0]-s[0])===o,d=bt(u,Math.min(t,6));return[{...e,...d},W(n,c),l]}function En(e,n,t,r,i,a,o,s,u,c){const l=gt(e)||1,d=ee(vt(e,5)),m=fn(r,i);let f=vn(d,m,a);const[h,y]=sn(o,{...e,...Qa},6,l,s,u,c),M=f-ee(V(h,y));let g=0;M&&Math.sign(M)!==l?n=K(h,f):(g+=l,f=vn(M,m,a),n=K(y,f));const p=_t(f);return[{...e,...p,days:e.days+g},n,Boolean(g)]}function Tn(e,n,t,r,i,a,o,s,u,c){const l=gt(e),d=Ya[r],m=Xa(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const f=S(e[d],i)*i;m[d]=f;const[h,y]=sn(o,m,r,i*l,s,u,c),M=f+un(n,h,y)*l*i,g=vn(M,i,a),p=Math.sign(g-M)===l;return m[d]=g,[m,p?y:h,p]}function Dn(e,n,t,r){const[i,a,o,s]=(e=>{const n=Ge(e=Ze(e));return[e.timeZone,...n]})(r),u=void 0!==i;return((e,n,t,r,i,a)=>{t=wn(t,i,r,1);const o=n.R(t);return Fn(ye(t,o),a)+(e?xn(mn(o)):"Z")})(u,n(u?e(i):ts),t.epochNanoseconds,a,o,s)}function Sn(e,n,t){const[r,i,a,o,s,u]=(e=>{e=Ze(e);const n=Zo(e),t=je(e),r=Yo(e),i=qo(e,4),a=Lo(e,4);return[n,Uo(e),r,i,...Be(a,t)]})(t);return((e,n,t,r,i,a,o,s,u,c)=>{r=wn(r,u,s,1);const l=e(t).R(r);return Fn(ye(r,l),c)+xn(mn(l),o)+((e,n)=>1!==n?"["+(2===n?"!":"")+e+"]":"")(t,a)+Rn(n,i)})(e,n.calendar,n.timeZone,n.epochNanoseconds,r,i,a,o,s,u)}function An(e,n){const[t,r,i,a]=(e=>(e=Ze(e),[Zo(e),...Ge(e)]))(n);return o=e.calendar,s=t,u=a,Fn(ln(e,i,r),u)+Rn(o,s);var o,s,u}function kn(e,n){return t=e.calendar,r=e,i=Oe(n),On(r)+Rn(t,i);var t,r,i}function Cn(e,n){return In(e.calendar,Ln,e,Oe(n))}function Nn(e,n){return In(e.calendar,Gn,e,Oe(n))}function Pn(e,n){const[t,r,i]=Le(n);return a=i,Bn(dn(e,r,t)[0],a);var a}function zn(e,n){const[t,r,i]=Le(n,3);return r>1&&pt(e={...e,...Mn(e,r,t)}),((e,n)=>{const{sign:t}=e,r=-1===t?Mt(e):e,{hours:i,minutes:a}=r,[o,s]=ne(vt(r,3),fa,D);wt(o);const u=Zn(s,n),c=n>=0||!t||u;return(t<0?"-":"")+"P"+Hn({Y:Yn(r.years),M:Yn(r.months),W:Yn(r.weeks),D:Yn(r.days)})+(i||a||o||c?"T"+Hn({H:Yn(i),M:Yn(a),S:Yn(o,c)+u}):"")})(e,i)}function In(e,n,t,r){const i=r>1||0===r&&e!==Oa;return 1===r?e===Oa?n(t):On(t):i?On(t)+jn(e,2===r):n(t)}function Hn(e){const n=[];for(const t in e){const r=e[t];r&&n.push(r,t)}return n.join("")}function Fn(e,n){return On(e)+"T"+Bn(e,n)}function On(e){return Ln(e)+"-"+oa(e.isoDay)}function Ln(e){const{isoYear:n}=e;return(n<0||n>9999?Un(n)+v(6,Math.abs(n)):v(4,n))+"-"+oa(e.isoMonth)}function Gn(e){return oa(e.isoMonth)+"-"+oa(e.isoDay)}function Bn(e,n){const t=[oa(e.isoHour),oa(e.isoMinute)];return-1!==n&&t.push(oa(e.isoSecond)+((e,n,t,r)=>Zn(e*ma+n*da+t,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,n)),t.join(":")}function xn(e,n=0){if(1===n)return"";const[t,r]=E(Math.abs(e),ya),[i,a]=E(r,ha),[o,s]=E(a,fa);return Un(e)+oa(t)+":"+oa(i)+(o||s?":"+oa(o)+Zn(s):"")}function Rn(e,n){return 1!==n&&(n>1||0===n&&e!==Oa)?jn(e,2===n):""}function jn(e,n){return"["+(n?"!":"")+"u-ca="+e+"]"}function Zn(e,n){let t=v(9,e);return t=void 0===n?t.replace(os,""):t.slice(0,n),t?"."+t:""}function Un(e){return e<0?"-":"+"}function Yn(e,n){return e||n?e.toLocaleString("fullwide",{useGrouping:0}):""}function qn(e,n){const{epochNanoseconds:t}=e,r=(n.R?n:n(e.timeZone)).R(t),i=ye(t,r);return{calendar:e.calendar,...i,offsetNanoseconds:r}}function Wn(e,n,t,r=0,i=0,a,o){if(void 0!==t&&1===r&&(1===r||o))return de(n,t);const s=e.I(n);if(void 0!==t&&3!==r){const e=((e,n,t,r)=>{const i=le(n);r&&(t=mn(t));for(const n of e){let e=ee(V(n,i));if(r&&(e=mn(e)),e===t)return n}})(s,n,t,a);if(void 0!==e)return e;if(0===r)throw new RangeError(Yi)}return o?le(n):Kn(e,n,i,s)}function Kn(e,n,t=0,r=e.I(n)){if(1===r.length)return r[0];if(1===t)throw new RangeError(qi);if(r.length)return r[3===t?1:0];const i=le(n),a=((e,n)=>{const t=e.R(K(n,-Ma));return(e=>{if(e>Ma)throw new RangeError(Ui);return e})(e.R(K(n,Ma))-t)})(e,i),o=a*(2===t?-1:1);return(r=e.I(ye(i,o)))[2===t?0:r.length-1]}function Vn(e,n){const t=e.I(n);if(t.length)return t[0];const r=K(le(n),-Ma);return e.O(r,1)}function $n(e,n,t){return Ve(ae(W(n.epochNanoseconds,(e=>{if(Et(e))throw new RangeError(Ji);return vt(e,5)})(e?Mt(t):t))))}function Jn(e,n,t,r,i,a=Object.create(null)){const o=n(r.timeZone),s=e(r.calendar);return{...r,...tt(o,s,r,t?Mt(i):i,a)}}function Qn(e,n,t,r,i=Object.create(null)){const{calendar:a}=t;return Je(rt(e(a),t,n?Mt(r):r,i),a)}function Xn(e,n,t,r,i){const{calendar:a}=t;return Qe(it(e(a),t,n?Mt(r):r,i),a)}function et(e,n,t,r,i){const a=t.calendar,o=e(a);let s=re(at(o,t));n&&(r=yt(r)),r.sign<0&&(s=o.P(s,{...Ja,months:1}),s=st(s,-1));const u=o.P(s,r,i);return Xe(at(o,u),a)}function nt(e,n,t){return nn(ot(n,e?Mt(t):t)[0])}function tt(e,n,t,r,i){const a=vt(r,5);let o=t.epochNanoseconds;if(Et(r)){const s=ss(t,e);o=W(Kn(e,{...it(n,s,{...r,...Qa},i),...f(eo,s)}),a)}else o=W(o,a),ze(i);return{epochNanoseconds:ae(o)}}function rt(e,n,t,r){const[i,a]=ot(n,t);return ie({...it(e,n,{...t,...Qa,days:t.days+a},r),...i})}function it(e,n,t,r){if(t.years||t.months||t.weeks)return e.P(n,t,r);ze(r);const i=t.days+vt(t,5)[0];return i?re(st(n,i)):n}function at(e,n,t=1){return st(n,t-e.day(n))}function ot(e,n){const[t,r]=vt(n,5),[i,a]=se(oe(e)+r);return[i,t+a]}function st(e,n){return n?{...e,...Me(ce(e)+n*ca)}:e}function ut(e,n,t){const r=e(t.calendar);return mt(t)?[t,r,n(t.timeZone)]:[{...t,...oo},r]}function ct(e){return e?an:le}function lt(e){return e?g(tt,e):rt}function dt(e){return e?g(sr,e):ur}function mt(e){return e&&e.epochNanoseconds}function ft(e,n){return e<=6-(mt(n)?1:0)}function ht(e,n,t,r,i,a,o){const s=e(Ze(o).relativeTo),u=Math.max(Tt(i),Tt(a));if(ft(u,s))return tn(pt(((e,n,t,r)=>{const i=W(vt(e),vt(n),r?-1:1);if(!Number.isFinite(i[0]))throw new RangeError(Wi);return{...Ja,...bt(i,t)}})(i,a,u,r)));if(!s)throw new RangeError($i);r&&(a=Mt(a));const[c,l,d]=ut(n,t,s),m=lt(d),f=dt(d),h=m(l,c,i);return tn(f(l,c,m(l,h,a),u))}function yt(e){return tn(Mt(e))}function Mt(e){const n={};for(const t of Ya)n[t]=-1*e[t]||0;return n}function gt(e,n=Ya){let t=0;for(const r of n){const n=Math.sign(e[r]);if(n){if(t&&t!==n)throw new RangeError(Vi);t=n}}return t}function pt(e){for(const n of Va)t(n,e[n],-us,us,1);return wt(ee(vt(e),fa)),e}function wt(e){if(!Number.isSafeInteger(e))throw new RangeError(Ki)}function vt(e,n=6){return C(e,n,Ya)}function bt(e,n=6){const[t,r]=e,i=N(r,n,Ya);if(i[Ya[n]]+=t*(Ma/ga[n]),!Number.isFinite(i[Ya[n]]))throw new RangeError(Wi);return i}function _t(e,n=5){return N(e,n,Ya)}function Et(e){return Boolean(gt(e,Ka))}function Tt(e){let n=9;for(;n>0&&!e[Ya[n]];n--);return n}function Dt(e,n){return[e,n]}function St(e){const n=Math.floor(e/rs)*rs;return[n,n+rs]}function At(e){const n=Lt(e);if(void 0===n)throw new RangeError(ea(e));return n}function kt(e,n,t){let r=Ht(ja(e));if(!r||r.j)throw new RangeError(ea(e));return n?r.calendar===Oa&&(r=-271821===r.isoYear&&4===r.isoMonth?{...r,isoDay:20,...oo}:{...r,isoDay:1,...oo}):t&&r.calendar===Oa&&(r={...r,isoYear:po}),Qe(r.C?Pt(r):zt(r))}function Ct(e){if(e.calendar!==Oa)throw new RangeError(na(e.calendar))}function Nt(e,n,t=0,r=0){const i=Yt(e.timeZone),a=cs(i);let o;return Ae(e),o=e.C?Wn(a,e,n,t,r,!a.$,e.j):Vn(a,e),$e(o,i,Zr(e.calendar))}function Pt(e){return It(ie(Ae(e)))}function zt(e){return It(re(ke(e)))}function It(e){return{...e,calendar:Zr(e.calendar)}}function Ht(e){const n=_s.exec(e);return n?(e=>{const n=e[10],t="Z"===(n||"").toUpperCase();return{isoYear:Gt(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Bt(e.slice(5)),...xt(e[16]),C:Boolean(e[6]),j:t,offset:t?void 0:n}})(n):void 0}function Ft(e){const n=vs.exec(e);return n?(e=>({isoYear:Gt(e),isoMonth:parseInt(e[4]),isoDay:1,...xt(e[5])}))(n):void 0}function Ot(e){const n=bs.exec(e);return n?(e=>({isoYear:po,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...xt(e[3])}))(n):void 0}function Lt(e,n){const t=Ts.exec(e);return t?((e,n)=>{const t=e[4]||e[5];if(n&&t)throw new RangeError(na(t));return(e=>{if(Math.abs(e)>=Ma)throw new RangeError(Zi);return e})((Ut(e[2])*ya+Ut(e[3])*ha+Ut(e[4])*fa+Rt(e[5]||""))*Zt(e[1]))})(t,n):void 0}function Gt(e){const n=Zt(e[1]),t=parseInt(e[2]||e[3]);if(n<0&&!t)throw new RangeError(na(-0));return n*t}function Bt(e){const n=Ut(e[3]);return{...se(Rt(e[4]||""))[0],isoHour:Ut(e[1]),isoMinute:Ut(e[2]),isoSecond:60===n?59:n}}function xt(e){let n,t;const r=[];if(e.replace(Ds,(e,i,a)=>{const o=Boolean(i),[s,u]=a.split("=").reverse();if(u){if("u-ca"===u)r.push(s),n||(n=o);else if(o||/[A-Z]/.test(u))throw new RangeError(na(e))}else{if(t)throw new RangeError(na(e));t=s}return""}),r.length>1&&n)throw new RangeError(na(e));return{timeZone:t,calendar:r[0]||Oa}}function Rt(e){return parseInt(e.padEnd(9,"0"))}function jt(e){return new RegExp(`^${e}$`,"i")}function Zt(e){return e&&"+"!==e?-1:1}function Ut(e){return void 0===e?0:parseInt(e)}function Yt(e){const n=Wt(e);return"number"==typeof n?xn(n):n?(e=>{if(Cs.test(e))throw new RangeError(xi(e));if(ks.test(e))throw new RangeError(ji);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 qt(e){const n=Wt(e);return"number"==typeof n?n:n?n.resolvedOptions().timeZone:ts}function Wt(e){const n=Lt(e=e.toUpperCase(),1);return void 0!==n?n:e!==ts?As(e):void 0}function Kt(e,n){return $(e.epochNanoseconds,n.epochNanoseconds)}function Vt(e,n){return $(e.epochNanoseconds,n.epochNanoseconds)}function $t(e,n){return Jt(e,n)||Qt(e,n)}function Jt(e,n){return b(ce(e),ce(n))}function Qt(e,n){return b(oe(e),oe(n))}function Xt(e,n){if(e===n)return 1;try{return qt(e)===qt(n)}catch(e){}}function er(e,n,t,r){const i=He(e,r,3,5),a=dr(n.epochNanoseconds,t.epochNanoseconds,...i);return tn(e?Mt(a):a)}function nr(e,n,t,r,i,a){const o=Mr(r.calendar,i.calendar),[s,u,c,l]=He(t,a,5),d=r.epochNanoseconds,m=i.epochNanoseconds,f=$(m,d);let h;if(f)if(s<6)h=dr(d,m,s,u,c,l);else{const t=n(((e,n)=>{if(!Xt(e,n))throw new RangeError(Ri);return e})(r.timeZone,i.timeZone)),d=e(o);h=cr(d,t,r,i,f,s,a),h=gn(h,m,s,u,c,l,d,r,an,g(tt,t))}else h=Ja;return tn(t?Mt(h):h)}function tr(e,n,t,r,i){const a=Mr(t.calendar,r.calendar),[o,s,u,c]=He(n,i,6),l=le(t),d=le(r),m=$(d,l);let f;if(m)if(o<=6)f=dr(l,d,o,s,u,c);else{const n=e(a);f=lr(n,t,r,m,o,i),f=gn(f,d,o,s,u,c,n,t,le,rt)}else f=Ja;return tn(n?Mt(f):f)}function rr(e,n,t,r,i){const a=Mr(t.calendar,r.calendar);return ar(n,()=>e(a),t,r,...He(n,i,6,9,6))}function ir(e,n,t,r,i){const a=Mr(t.calendar,r.calendar),o=He(n,i,9,9,8),s=e(a),u=at(s,t),c=at(s,r);return u.isoYear===c.isoYear&&u.isoMonth===c.isoMonth&&u.isoDay===c.isoDay?tn(Ja):ar(n,()=>s,re(u),re(c),...o,8)}function ar(e,n,t,r,i,a,o,s,u=6){const c=le(t),l=le(r);if(void 0===c||void 0===l)throw new RangeError(Wi);let d;if($(l,c))if(6===i)d=dr(c,l,i,a,o,s);else{const e=n();d=e.N(t,r,i),a===u&&1===o||(d=gn(d,l,i,a,o,s,e,t,le,it))}else d=Ja;return tn(e?Mt(d):d)}function or(e,n,t,r){const[i,a,o,s]=He(e,r,5,5),u=vn(yr(n,t),fn(a,o),s),c={...Ja,..._t(u,i)};return tn(e?Mt(c):c)}function sr(e,n,t,r,i,a){const o=$(r.epochNanoseconds,t.epochNanoseconds);return o?i<6?mr(t.epochNanoseconds,r.epochNanoseconds,i):cr(n,e,t,r,o,i,a):Ja}function ur(e,n,t,r,i){const a=le(n),o=le(t),s=$(o,a);return s?r<=6?mr(a,o,r):lr(e,n,t,s,r,i):Ja}function cr(e,n,t,r,i,a,o){const[s,u,c]=((e,n,t,r)=>{function i(){return d={...st(s,c++*-r),...o},m=Kn(e,d),$(u,m)===-r}const a=ss(n,e),o=f(eo,a),s=ss(t,e),u=t.epochNanoseconds;let c=0;const l=yr(a,s);let d,m;if(Math.sign(l)===-r&&c++,i()&&(-1===r||i()))throw new RangeError(Li);const h=ee(V(m,u));return[a,d,h]})(n,t,r,i);var l,d;return{...6===a?(l=s,d=u,{...Ja,days:fr(l,d)}):e.N(s,u,a,o),..._t(c)}}function lr(e,n,t,r,i,a){const[o,s,u]=((e,n,t)=>{let r=n,i=yr(e,n);return Math.sign(i)===-t&&(r=st(n,-t),i+=Ma*t),[e,r,i]})(n,t,r);return{...e.N(o,s,i,a),..._t(u)}}function dr(e,n,t,r,i,a){return{...Ja,...bt(pn(V(e,n),r,i,a),t)}}function mr(e,n,t){return{...Ja,...bt(V(e,n),t)}}function fr(e,n){return hr(ce(e),ce(n))}function hr(e,n){return Math.trunc((n-e)/ca)}function yr(e,n){return oe(n)-oe(e)}function Mr(e,n){if(e!==n)throw new RangeError(Bi);return e}function gr(e){return this.m(e)[0]}function pr(e){return this.m(e)[1]}function wr(e){const[n]=this.v(e);return hr(this.p(n),ce(e))+1}function vr(e){const n=Ns.exec(e);if(!n)throw new RangeError(Ii(e));return[parseInt(n[1]),Boolean(n[2])]}function br(e,n){return"M"+oa(e)+(n?"L":"")}function _r(e,n,t){return e+(n||t&&e>=t?1:0)}function Er(e,n){return e-(n&&e>=n?1:0)}function Tr(e,n){return(n+e)*(Math.sign(n)||1)||0}function Dr(e){return Ba[Ar(e)]}function Sr(e){return Ra[Ar(e)]}function Ar(e){return Ur(e.id||Oa)}function kr(e){function n(e){return((e,n)=>({...Pr(e,n),o:e.month,day:parseInt(e.day)}))(ge(t,e),r)}const t=zs(e),r=Ur(e);return{id:e,h:Cr(n),l:Nr(n)}}function Cr(e){return i(n=>{const t=ce(n);return e(t)},WeakMap)}function Nr(e){const n=e(0).year-go;return i(t=>{let r,i=fe(t-n),a=0;const o=[],s=[];do{i+=400*ca}while((r=e(i)).year<=t);do{if(i+=(1-r.day)*ca,r.year===t&&(o.push(i),s.push(r.o)),i-=ca,++a>100||i<-co)throw new RangeError(Li)}while((r=e(i)).year>=t);return{i:o.reverse(),u:ia(s.reverse())}})}function Pr(e,n){let t,r,i=zr(e);if(e.era){const a=Ba[n],o=xa[n]||{};void 0!==a&&(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=o[t]||t,r=i,i=Tr(r,a[t]||0))}return{era:t,eraYear:r,year:i}}function zr(e){return parseInt(e.relatedYear||e.year)}function Ir(e){const{year:n,o:t,day:r}=this.h(e),{u:i}=this.l(n);return[n,i[t]+1,r]}function Hr(e,n=1,t=1){return this.l(e).i[n-1]+(t-1)*ca}function Fr(e,n){const t=Or.call(this,e);return[Er(n,t),t===n]}function Or(e){const n=Rr(this,e),t=Rr(this,e-1),r=n.length;if(r>t.length){const e=Sr(this);if(e<0)return-e;for(let e=0;e<r;e++)if(n[e]!==t[e])return e+1}}function Lr(e){return hr(Hr.call(this,e),Hr.call(this,e+1))}function Gr(e,n){const{i:t}=this.l(e);let r=n+1,i=t;return r>t.length&&(r=1,i=this.l(e+1).i),hr(t[n-1],i[r-1])}function Br(e){return this.l(e).i.length}function xr(e){const n=this.h(e);return[n.era,n.eraYear]}function Rr(e,n){return Object.keys(e.l(n).u)}function jr(e){return Zr(ja(e))}function Zr(e){if((e=e.toLowerCase())!==Oa&&e!==La){const n=zs(e).resolvedOptions().calendar;if(Ur(e)!==Ur(n))throw new RangeError(Gi(e));return n}return e}function Ur(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function Yr(e,n){return t=>t===Oa?e:t===La||t===Ga?Object.assign(Object.create(e),{id:t}):Object.assign(Object.create(n),Ps(t))}function qr(e,n,t,r){const i=Wr(t,r,za,[],Ea);if(void 0!==i.timeZone){const r=t.F(i),a=Vr(i),o=e(i.timeZone);return{epochNanoseconds:Wn(n(o),{...r,...a},void 0!==i.offset?At(i.offset):void 0),timeZone:o}}return{...t.F(i),...oo}}function Wr(e,n,t,r=[],i=[]){return Kr(n,[...e.fields(t),...i].sort(),r)}function Kr(e,n,t,r=!t){const i={};let a,o=0;for(const r of n){if(r===a)throw new RangeError(Ti(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Ei(r));let n=e[r];if(void 0!==n)o=1,Zs[r]&&(n=Zs[r](n,r)),i[r]=n;else if(t){if(t.includes(r))throw new TypeError(_i(r));i[r]=Fa[r]}a=r}if(r&&!o)throw new TypeError(Di(n));return i}function Vr(e,n){return Pe(Us({...Fa,...e}),n)}function $r(e,n,t,r,i){n=f(t=e.fields(t),n),r=Kr(r,i=e.fields(i),[]);let a=e.k(n,r);return a=Kr(a,[...t,...i].sort(),[]),e.F(a)}function Jr(e,n){const t=Dr(e),r=xa[e.id||""]||{};let{era:i,eraYear:a,year:o}=n;if(void 0!==i||void 0!==a){if(void 0===i||void 0===a)throw new TypeError(Ci);if(!t)throw new RangeError(ki);const e=t[r[i]||i];if(void 0===e)throw new RangeError(Pi(i));const n=Tr(a,e);if(void 0!==o&&o!==n)throw new RangeError(Ni);o=n}else if(void 0===o)throw new TypeError(zi(t));return o}function Qr(e,n,r,i){let{month:a,monthCode:o}=n;if(void 0!==o){const n=((e,n,t,r)=>{const i=e.L(t),[a,o]=vr(n);let s=_r(a,o,i);if(o){const n=Sr(e);if(void 0===n)throw new RangeError(Oi);if(n>0){if(s>n)throw new RangeError(Oi);if(void 0===i){if(1===r)throw new RangeError(Oi);s--}}else{if(s!==-n)throw new RangeError(Oi);if(void 0===i&&1===r)throw new RangeError(Oi)}}return s})(e,o,r,i);if(void 0!==a&&a!==n)throw new RangeError(Hi);a=n,i=1}else if(void 0===a)throw new TypeError(Fi);return t("month",a,1,e.B(r),i)}function Xr(e,t,r,i,a){return n(t,"day",1,e.U(i,r),a)}function ei(e,n,t,r){let i=0;const a=[];for(const e of t)void 0!==n[e]?i=1:a.push(e);if(Object.assign(e,n),i)for(const n of r||a)delete e[n]}function ni(e){const n=Rs(e.calendar),[t,r,i]=n.v(e),[a,o]=n.q(t,r);return{year:t,monthCode:br(a,o),day:i}}function ti(e,n){return Je(ss(n,e))}function ri(e,n){return Qe(ss(n,e))}function ii(e,n){return nn(ss(n,e))}function ai(e,n,t){const r=new Set(t);return(i,a)=>{const o=t&&h(i,t);if(!h(i=((e,n)=>{const t={};for(const r in n)e.has(r)||(t[r]=n[r]);return t})(r,i),e)){if(a&&o)throw new TypeError("Invalid formatting options");i={...n,...i}}return t&&(i.timeZone=ts,["full","long"].includes(i.J)&&(i.J="medium")),i}}function oi(e,n=si,t=0){const[r,,,i]=e;return(a,o=bu,...s)=>{const u=n(i&&i(...s),a,o,r,t),c=u.resolvedOptions();return[u,...ui(e,c,s)]}}function si(e,n,t,r,i){if(t=r(t,i),e){if(void 0!==t.timeZone)throw new TypeError(ra);t.timeZone=e}return new yo(n,t)}function ui(e,n,t){const[,r,i]=e;return t.map(e=>(e.calendar&&((e,n,t)=>{if((t||e!==Oa)&&e!==n)throw new RangeError(Bi)})(e.calendar,n.calendar,i),r(e,n)))}function ci(e,n){return{...e,calendar:n}}function li(e){const n=di();return ye(n,e.R(n))}function di(){return X(Date.now(),ma)}function mi(){return Nu||(Nu=(new yo).resolvedOptions().timeZone)}const fi=(e,n)=>`Non-integer ${e}: ${n}`,hi=(e,n)=>`Non-positive ${e}: ${n}`,yi=(e,n)=>`Non-finite ${e}: ${n}`,Mi=e=>`Cannot convert bigint to ${e}`,gi=e=>`Invalid bigint: ${e}`,pi="Cannot convert Symbol to string",wi="Invalid object",vi=(e,n,t,r,i)=>i?vi(e,i[n],i[t],i[r]):bi(e,n)+`; must be between ${t}-${r}`,bi=(e,n)=>`Invalid ${e}: ${n}`,_i=e=>`Missing ${e}`,Ei=e=>`Invalid field ${e}`,Ti=e=>`Duplicate field ${e}`,Di=e=>"No valid fields: "+e.join(),Si=(e,n,t)=>bi(e,n)+"; must be "+Object.keys(t).join(),Ai="Invalid calling context",ki="Forbidden era/eraYear",Ci="Mismatching era/eraYear",Ni="Mismatching year/eraYear",Pi=e=>`Invalid era: ${e}`,zi=e=>"Missing year"+(e?"/era/eraYear":""),Ii=e=>`Invalid monthCode: ${e}`,Hi="Mismatching month/monthCode",Fi="Missing month/monthCode",Oi="Invalid leap month",Li="Invalid protocol results",Gi=e=>bi("Calendar",e),Bi="Mismatching Calendars",xi=e=>bi("TimeZone",e),Ri="Mismatching TimeZones",ji="Forbidden ICU TimeZone",Zi="Out-of-bounds offset",Ui="Out-of-bounds TimeZone gap",Yi="Invalid TimeZone offset",qi="Ambiguous offset",Wi="Out-of-bounds date",Ki="Out-of-bounds duration",Vi="Cannot mix duration signs",$i="Missing relativeTo",Ji="Cannot use large units",Qi="Required smallestUnit or largestUnit",Xi="smallestUnit > largestUnit",ea=e=>`Cannot parse: ${e}`,na=e=>`Invalid substring: ${e}`,ta="Mismatching types for formatting",ra="Cannot specify TimeZone",ia=g(d,(e,n)=>n),aa=g(d,(e,n,t)=>t),oa=g(v,2),sa={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},ua=Object.keys(sa),ca=864e5,la=1e3,da=1e3,ma=1e6,fa=1e9,ha=6e10,ya=36e11,Ma=864e11,ga=[1,da,ma,fa,ha,ya,Ma],pa=ua.slice(0,6),wa=w(pa),va=["offset"],ba=["timeZone"],_a=pa.concat(va),Ea=_a.concat(ba),Ta=["era","eraYear"],Da=Ta.concat(["year"]),Sa=["year"],Aa=["monthCode"],ka=["month"].concat(Aa),Ca=["day"],Na=ka.concat(Sa),Pa=Aa.concat(Sa),za=Ca.concat(Na),Ia=Ca.concat(ka),Ha=Ca.concat(Aa),Fa=aa(pa,0),Oa="iso8601",La="gregory",Ga="japanese",Ba={[La]:{"gregory-inverse":-1,gregory:0},[Ga]:{"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}},xa={[La]:{bce:"gregory-inverse",ce:"gregory"},[Ga]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Ra={chinese:13,dangi:13,hebrew:-6},ja=g(O,"string"),Za=g(O,"boolean"),Ua=g(O,"number"),Ya=ua.map(e=>e+"s"),qa=w(Ya),Wa=Ya.slice(0,6),Ka=Ya.slice(6),Va=Ka.slice(1),$a=ia(Ya),Ja=aa(Ya,0),Qa=aa(Wa,0),Xa=g(M,Ya),eo=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],no=["isoDay","isoMonth","isoYear"],to=eo.concat(no),ro=w(no),io=w(eo),ao=w(to),oo=aa(io,0),so=g(M,to),uo=1e8,co=uo*ca,lo=[uo,0],mo=[-uo,0],fo=275760,ho=-271821,yo=Intl.DateTimeFormat,Mo="en-GB",go=1970,po=1972,wo=12,vo=fe(1868,9,8),bo=i(Se,WeakMap),_o="smallestUnit",Eo="unit",To="roundingIncrement",Do="fractionalSecondDigits",So="relativeTo",Ao="direction",ko={constrain:0,reject:1},Co=Object.keys(ko),No={compatible:0,reject:1,earlier:2,later:3},Po={reject:0,use:1,prefer:2,ignore:3},zo={auto:0,never:1,critical:2,always:3},Io={auto:0,never:1,critical:2},Ho={auto:0,never:1},Fo={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Oo={previous:-1,next:1},Lo=g(qe,_o),Go=g(qe,"largestUnit"),Bo=g(qe,Eo),xo=g(We,"overflow",ko),Ro=g(We,"disambiguation",No),jo=g(We,"offset",Po),Zo=g(We,"calendarName",zo),Uo=g(We,"timeZoneName",Io),Yo=g(We,"offset",Ho),qo=g(We,"roundingMode",Fo),Wo="PlainYearMonth",Ko="PlainMonthDay",Vo="PlainDate",$o="PlainDateTime",Jo="PlainTime",Qo="ZonedDateTime",Xo="Instant",es="Duration",ns=[Math.floor,e=>k(e)?Math.floor(e):Math.round(e),Math.ceil,e=>k(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>k(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=>k(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ts="UTC",rs=5184e3,is=me(1847),as=me((new Date).getUTCFullYear()+10),os=/0+$/,ss=i(qn,WeakMap),us=2**32-1,cs=i(e=>{const n=Wt(e);return"object"==typeof n?new ds(n):new ls(n||0)});class ls{constructor(e){this.$=e}R(){return this.$}I(e){return(e=>{const n=le({...e,...oo});if(!n||Math.abs(n[0])>1e8)throw new RangeError(Wi)})(e),[de(e,this.$)]}O(){}}class ds{constructor(e){this.nn=(e=>{function n(e){const n=_(e,o,s),[i,u]=St(n),c=r(i),l=r(u);return c===l?c:t(a(i,u),c,l,e)}function t(n,t,r,i){let a,o;for(;(void 0===i||void 0===(a=i<n[0]?t:i>=n[1]?r:void 0))&&(o=n[1]-n[0]);){const t=n[0]+Math.floor(o/2);e(t)===r?n[1]=t:n[0]=t+1}return a}const r=i(e),a=i(Dt);let o=is,s=as;return{tn(e){const t=n(e-86400),r=n(e+86400),i=e-t,a=e-r;if(t===r)return[i];const o=n(i);return o===n(a)?[e-o]:t>r?[i,a]:[]},rn:n,O(e,n){const i=_(e,o,s);let[u,c]=St(i);const l=rs*n,d=n<0?()=>c>o||(o=i,0):()=>u<s||(s=i,0);for(;d();){const i=r(u),o=r(c);if(i!==o){const r=a(u,c);t(r,i,o);const s=r[0];if((b(s,e)||1)===n)return s}u+=l,c+=l}}}})((e=>n=>{const t=ge(e,n*la);return me(zr(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=>ue(e)[0])(e))*fa}I(e){const[n,t]=[me((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*ma+r.isoMicrosecond*da+r.isoNanosecond];var r;return this.nn.tn(n).map(e=>ae(K(X(e,fa),t)))}O(e,n){const[t,r]=ue(e),i=this.nn.O(t+(n>0||r?1:0),n);if(void 0!==i)return X(i,fa)}}const ms="([+-])",fs="(?:[.,](\\d{1,9}))?",hs=`(?:(?:${ms}(\\d{6}))|(\\d{4}))-?(\\d{2})`,ys="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+fs+")?)?",Ms=ms+ys,gs=hs+"-?(\\d{2})(?:[T ]"+ys+"(Z|"+Ms+")?)?",ps="\\[(!?)([^\\]]*)\\]",ws=`((?:${ps}){0,9})`,vs=jt(hs+ws),bs=jt("(?:--)?(\\d{2})-?(\\d{2})"+ws),_s=jt(gs+ws),Es=jt("T?"+ys+"(?:"+Ms+")?"+ws),Ts=jt(Ms),Ds=new RegExp(ps,"g"),Ss=jt(`${ms}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${fs}H)?(?:(\\d+)${fs}M)?(?:(\\d+)${fs}S)?)?`),As=i(e=>new yo(Mo,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),ks=/^(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$/,Cs=/[^\w\/:+-]+/,Ns=/^M(\d{2})(L?)$/,Ps=i(kr),zs=i(e=>new yo(Mo,{calendar:e,timeZone:ts,era:"short",year:"numeric",month:"short",day:"numeric"})),Is={P(e,n,r){const i=ze(r);let a,{years:o,months:s,weeks:u,days:c}=n;if(c+=vt(n,5)[0],o||s)a=((e,n,r,i,a)=>{let[o,s,u]=e.v(n);if(r){const[n,i]=e.q(o,s);o+=r,s=_r(n,i,e.L(o)),s=t("month",s,1,e.B(o),a)}return i&&([o,s]=e.un(o,s,i)),u=t("day",u,1,e.U(o,s),a),e.p(o,s,u)})(this,e,o,s,i);else{if(!u&&!c)return e;a=ce(e)}if(void 0===a)throw new RangeError(Wi);return a+=(7*u+c)*ca,re(Me(a))},N(e,n,t){if(t<=7){let r=0,i=fr({...e,...oo},{...n,...oo});return 7===t&&([r,i]=D(i,7)),{...Ja,weeks:r,days:i}}const r=this.v(e),i=this.v(n);let[a,o,s]=((e,n,t,r,i,a,o)=>{let s=i-n,u=a-t,c=o-r;if(s||u){const l=Math.sign(s||u);let d=e.U(i,a),m=0;if(Math.sign(c)===-l){const r=d;[i,a]=e.un(i,a,-l),s=i-n,u=a-t,d=e.U(i,a),m=l<0?-r:d}if(c=o-Math.min(r,d)+m,s){const[r,o]=e.q(n,t),[c,d]=e.q(i,a);if(u=c-r||Number(d)-Number(o),Math.sign(u)===-l){const t=l<0&&-e.B(i);s=(i-=l)-n,u=a-_r(r,o,e.L(i))+(t||e.B(i))}}}return[s,u,c]})(this,...r,...i);return 8===t&&(o+=this.cn(a,r[0]),a=0),{...Ja,years:a,months:o,days:s}},F(e,n){const t=ze(n),r=Jr(this,e),i=Qr(this,e,r,t),a=Xr(this,e,i,r,t);return Qe(re(this.V(r,i,a)),this.id||Oa)},K(e,n){const t=ze(n),r=Jr(this,e),i=Qr(this,e,r,t);return Xe(te(this.V(r,i,1)),this.id||Oa)},_(e,n){const t=ze(n);let r,i,a,o=void 0!==e.eraYear||void 0!==e.year?Jr(this,e):void 0;const s=!this.id;if(void 0===o&&s&&(o=po),void 0!==o){const n=Qr(this,e,o,t);r=Xr(this,e,n,o,t);const s=this.L(o);i=Er(n,s),a=n===s}else{if(void 0===e.monthCode)throw new TypeError(Fi);if([i,a]=vr(e.monthCode),this.id&&this.id!==La&&this.id!==Ga)if(this.id&&"coptic"===Ur(this.id)&&0===t){const n=a||13!==i?30:6;r=e.day,r=_(r,1,n)}else if(this.id&&"chinese"===Ur(this.id)&&0===t){const n=!a||1!==i&&9!==i&&10!==i&&11!==i&&12!==i?30:29;r=e.day,r=_(r,1,n)}else r=e.day;else r=Xr(this,e,Qr(this,e,po,t),po,t)}const u=this.G(i,a,r);if(!u)throw new RangeError("Cannot guess year");const[c,l]=u;return en(re(this.V(c,l,r)),this.id||Oa)},fields(e){return Dr(this)&&e.includes("year")?[...e,...Ta]:e},k(e,n){const t=Object.assign(Object.create(null),e);return ei(t,n,ka),Dr(this)&&(ei(t,n,Da),this.id===Ga&&ei(t,n,Ia,Ta)),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:wr,era(e){return this.hn(e)[0]},eraYear(e){return this.hn(e)[1]},monthCode(e){const[n,t]=this.v(e),[r,i]=this.q(n,t);return br(r,i)},dayOfWeek:Te,daysInWeek:()=>7},Hs={v:pe,hn:De,q:we},Fs={dayOfYear:wr,v:pe,p:fe},Os=Object.assign({},Fs,{weekOfYear:gr,yearOfWeek:pr,m(e){function n(e){return(7-e<r?7:0)-e}function t(e){const t=_e(m+e),r=e||1,i=n(T(u+t*r,7));return l=(t+(i-c)*r)/7}const r=this.id?1:4,i=Te(e),a=this.dayOfYear(e),o=T(i-1,7),s=a-1,u=T(o-s,7),c=n(u);let l,d=Math.floor((s-c)/7)+1,m=e.isoYear;return d?d>t(0)&&(d=1,m++):(d=t(-1),m--),[d,m,l]}}),Ls=Object.assign({},Is,Os,{v:pe,hn:De,q:we,G(e,n){if(!n)return[po,e]},sn:Ee,L(){},B:ve,cn:e=>e*wo,U:be,fn:_e,V:(e,n,t)=>({isoYear:e,isoMonth:n,isoDay:t}),p:fe,un:(e,n,t)=>(e+=S(t,wo),(n+=A(t,wo))<1?(e--,n+=wo):n>wo&&(e++,n-=wo),[e,n]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Gs={v:Ir,hn:xr,q:Fr},Bs={dayOfYear:wr,v:Ir,p:Hr,weekOfYear:gr,yearOfWeek:pr,m:()=>[]},xs=Object.assign({},Is,Bs,{v:Ir,hn:xr,q:Fr,G(e,n,t){const r=this.id&&"chinese"===Ur(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):po;let[i,a,o]=Ir.call(this,{isoYear:r,isoMonth:wo,isoDay:31});const s=Or.call(this,i),u=a===s;1===(b(e,Er(a,s))||b(Number(n),Number(u))||b(t,o))&&i--;for(let r=0;r<100;r++){const a=i-r,o=Or.call(this,a),s=_r(e,n,o);if(n===(s===o)&&t<=Gr.call(this,a,s))return[a,s]}},sn(e){const n=Lr.call(this,e);return n>Lr.call(this,e-1)&&n>Lr.call(this,e+1)},L:Or,B:Br,cn(e,n){const t=n+e,r=Math.sign(e),i=r<0?-1:0;let a=0;for(let e=n;e!==t;e+=r)a+=Br.call(this,e+i);return a},U:Gr,fn:Lr,V(e,n,t){return Me(Hr.call(this,e,n,t))},p:Hr,un(e,n,t){if(t){if(n+=t,!Number.isSafeInteger(n))throw new RangeError(Wi);if(t<0)for(;n<1;)n+=Br.call(this,--e);else{let t;for(;n>(t=Br.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=Yr(Hs,Gs),js=Yr(Ls,xs),Zs={...{era:x,eraYear:Z,year:Z,month:Y,monthCode(e){const n=x(e);return vr(n),n},day:Y},...aa(pa,Z),...aa(Ya,U),offset(e){const n=x(e);return At(n),n}},Us=g(m,pa,eo),Ys=g(m,eo,pa),qs="numeric",Ws=["timeZoneName"],Ks={month:qs,day:qs},Vs={year:qs,month:qs},$s=Object.assign({},Vs,{day:qs}),Js={hour:qs,minute:qs,second:qs},Qs=Object.assign({},$s,Js),Xs=Object.assign({},Qs,{timeZoneName:"short"}),eu=Object.keys(Vs),nu=Object.keys(Ks),tu=Object.keys($s),ru=Object.keys(Js),iu=["dateStyle"],au=eu.concat(iu),ou=nu.concat(iu),su=tu.concat(iu,["weekday"]),uu=ru.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),cu=su.concat(uu),lu=Ws.concat(uu),du=Ws.concat(su),mu=Ws.concat(["day","weekday"],uu),fu=Ws.concat(["year","weekday"],uu),hu=ai(cu,Qs),yu=ai(cu,Xs),Mu=ai(cu,Qs,Ws),gu=ai(su,$s,lu),pu=ai(uu,Js,du),wu=ai(au,Vs,mu),vu=ai(ou,Ks,fu),bu={},_u=new yo(void 0,{calendar:Oa}).resolvedOptions().calendar===Oa,Eu=[hu,rn],Tu=[yu,rn,0,(e,n)=>{const t=e.timeZone;if(n&&n.timeZone!==t)throw new RangeError(Ri);return t}],Du=[Mu,ce],Su=[gu,ce],Au=[pu,e=>oe(e)/ma],ku=[wu,ce,_u],Cu=[vu,ce,_u];let Nu;function Pu(e,n,t,r,i){function c(...e){if(!(this instanceof c))throw new TypeError(Ai);rc(this,n(...e))}function d(e,n){return Object.defineProperties(function(...n){return e.call(this,m(this),...n)},a(n))}function m(n){const t=tc(n);if(!t||t.branding!==e)throw new TypeError(Ai);return t}return Object.defineProperties(c.prototype,{...s(l(d,t)),...o(l(d,r)),...u("Temporal."+e)}),Object.defineProperties(c,{...o(i),...a(e)}),[c,e=>{const n=Object.create(c.prototype);return rc(n,e),n},m]}function zu(e){if(tc(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Iu(e){return Hu(e)||Oa}function Hu(e){const{calendar:n}=e;if(void 0!==n)return Fu(n)}function Fu(e){if(r(e)){const{calendar:n}=tc(e)||{};if(!n)throw new TypeError(Gi(e));return n}return(e=>Zr(function(e){const n=Ht(e)||Ft(e)||Ot(e);return n?n.calendar:e}(ja(e))))(e)}function Ou(e){const n={};for(const t in e)n[t]=e=>{const{calendar:n}=e;return js(n)[t](e)};return n}function Lu(){throw new TypeError("Cannot use valueOf")}function Gu(e){if(r(e)){const{timeZone:n}=tc(e)||{};if(!n)throw new TypeError(xi(e));return n}return(e=>Yt(function(e){const n=Ht(e);return n&&(n.timeZone||n.j&&ts||n.offset)||e}(ja(e))))(e)}function Bu(e){if(r(e)){const n=tc(e);return n&&n.branding===es?n:function(e){const n=Kr(e,qa);return tn(pt({...Ja,...n}))}(e)}return function(e){const n=(e=>{const n=Ss.exec(e);return n?(e=>{function n(e,n,a){let o=0,s=0;if(a&&([o,i]=E(i,ga[a])),void 0!==e){if(r)throw new RangeError(na(e));s=(e=>{const n=parseInt(e);if(!Number.isFinite(n))throw new RangeError(na(e));return n})(e),t=1,n&&(i=Rt(n)*(ga[a]/fa),r=1)}return o+s}let t=0,r=0,i=0,a={...c(Ya,[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)]),...N(i,2,Ya)};if(!t)throw new RangeError(Di(Ya));return Zt(e[1])<0&&(a=Mt(a)),a})(n):void 0})(ja(e));if(!n)throw new RangeError(ea(e));return tn(pt(n))}(e)}function xu(e){if(void 0!==e){if(r(e)){const n=tc(e)||{};switch(n.branding){case Qo:case Vo:return n;case $o:return Qe(n)}const t=Iu(e);return{...qr(Gu,cs,js(t),e),calendar:t}}return function(e){const n=Ht(ja(e));if(!n)throw new RangeError(ea(e));if(n.timeZone)return Nt(n,n.offset?At(n.offset):void 0);if(n.j)throw new RangeError(ea(e));return zt(n)}(e)}}function Ru(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case Jo:return ze(n),t;case $o:return ze(n),nn(t);case Qo:return ze(n),ii(cs,t)}return function(e,n){return nn(Vr(Kr(e,wa,[],1),ze(n)))}(e,n)}const t=function(e){let n,t=(e=>{const n=Es.exec(e);return n?(xt(n[10]),Bt(n)):void 0})(ja(e));if(!t){if(t=Ht(e),!t)throw new RangeError(ea(e));if(!t.C)throw new RangeError(ea(e));if(t.j)throw new RangeError(na("Z"));Ct(t)}if((n=Ft(e))&&Ce(n))throw new RangeError(ea(e));if((n=Ot(e))&&Ce(n))throw new RangeError(ea(e));return nn(Pe(t,1))}(e);return ze(n),t}function ju(e){return void 0===e?void 0:Ru(e)}function Zu(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case $o:return ze(n),t;case Vo:return ze(n),Je({...t,...oo});case Qo:return ze(n),ti(cs,t)}return function(e,n,t){const r=Wr(e,n,za,[],pa),i=ze(t);return Je(ie({...e.F(r,Ye(i)),...Vr(r,i)}))}(js(Iu(e)),e,n)}const t=function(e){const n=Ht(ja(e));if(!n||n.j)throw new RangeError(ea(e));return Je(Pt(n))}(e);return ze(n),t}function Uu(e,n){if(r(e)){const t=tc(e);if(t&&t.branding===Ko)return ze(n),t;const r=Hu(e);return function(e,n,t,r){const i=Wr(e,t,za,Ca);return n&&void 0!==i.month&&void 0===i.monthCode&&void 0===i.year&&(i.year=po),e._(i,r)}(js(r||Oa),!r,e,n)}const t=function(e,n){const t=Ot(ja(n));if(t)return Ct(t),en(ke(t));const r=kt(n,0,1),{calendar:i}=r,a=e(i),[o,s,u]=a.v(r),[c,l]=a.q(o,s),[d,m]=a.G(c,l,u);return en(re(a.V(d,m,u)),i)}(js,e);return ze(n),t}function Yu(e,n){if(r(e)){const t=tc(e);return t&&t.branding===Wo?(ze(n),t):function(e,n,t,r){const i=Wr(e,n,Na,r);return e.K(i,t)}(js(Iu(e)),e,n)}const t=function(e,n){const t=Ft(ja(n));if(t)return Ct(t),Xe(te(ke(t)));const r=kt(n,1);return Xe(at(e(r.calendar),r))}(js,e);return ze(n),t}function qu(e,n){if(r(e)){const t=tc(e)||{};switch(t.branding){case Vo:return ze(n),t;case $o:return ze(n),Qe(t);case Qo:return ze(n),ri(cs,t)}return function(e,n,t,r=[]){const i=Wr(e,n,za,r);return e.F(i,t)}(js(Iu(e)),e,n)}const t=kt(e);return ze(n),t}function Wu(e,n){if(r(e)){const t=tc(e);if(t&&t.branding===Qo)return Ie(n),t;const r=Iu(e);return function(e,n,t,r,i,a){const o=Wr(t,i,za,ba,Ea),s=e(o.timeZone),[u,c,l]=Ie(a),d=t.F(o,Ye(u)),m=Vr(o,u);return $e(Wn(n(s),{...d,...m},void 0!==o.offset?At(o.offset):void 0,c,l),s,r)}(Gu,cs,js(r),r,e,n)}return function(e,n){const t=Ht(ja(e));if(!t||!t.timeZone)throw new RangeError(ea(e));const{offset:r}=t,i=r?At(r):void 0,[,a,o]=Ie(n);return Nt(t,i,a,o)}(e,n)}function Ku(e){return l(e=>n=>e(Vu(n)),e)}function Vu(e){return ss(e,cs)}function $u(e){if(r(e)){const n=tc(e);if(n)switch(n.branding){case Xo:return n;case Qo:return Ve(n.epochNanoseconds)}}return function(e){const n=Ht(e=x(e));if(!n)throw new RangeError(ea(e));let t;if(n.j)t=0;else{if(!n.offset)throw new RangeError(ea(e));t=At(n.offset)}return n.timeZone&&Lt(n.timeZone,1),Ve(de(Ae(n),t))}(e)}function Ju(){function e(e,t){return new n(e,t)}function n(e,n=Object.create(null)){jc.set(this,((e,n)=>{const t=new yo(e,n),r=t.resolvedOptions(),a=r.locale,o=f(Object.keys(n),r),s=i(ec),u=(e,...n)=>{if(e){if(2!==n.length)throw new TypeError(ta);for(const e of n)if(void 0===e)throw new TypeError(ta)}e||void 0!==n[0]||(n=[]);const r=n.map(e=>tc(e)||Number(e));let i,u=0;for(const e of r){const n="object"==typeof e?e.branding:void 0;if(u++&&n!==i)throw new TypeError(ta);i=n}return i?s(i)(a,o,...r):[t,...r]};return u.X=t,u})(e,n))}const t=yo.prototype,r=Object.getOwnPropertyDescriptors(t),o=Object.getOwnPropertyDescriptors(yo);for(const n in r){const t=r[n],i=n.startsWith("format")&&Qu(n);"function"==typeof t.value?t.value="constructor"===n?e:i||Xu(n):i&&(t.get=function(){if(!jc.has(this))throw new TypeError(Ai);return(...e)=>i.apply(this,e)},Object.defineProperties(t.get,a(`get ${n}`)))}return o.prototype.value=n.prototype=Object.create({},r),Object.defineProperties(e,o),e}function Qu(e){return Object.defineProperties(function(...n){const t=jc.get(this),[r,...i]=t(e.includes("Range"),...n);return r[e](...i)},a(e))}function Xu(e){return Object.defineProperties(function(...n){return jc.get(this).X[e](...n)},a(e))}function ec(e){const n=gc[e];if(!n)throw new TypeError((e=>`Cannot format ${e}`)(e));return oi(n,i(si),1)}const nc=new WeakMap,tc=nc.get.bind(nc),rc=nc.set.bind(nc),ic={era:function(e){if(void 0!==e)return ja(e)},eraYear:P,year:I,month:z,daysInMonth:z,daysInYear:z,inLeapYear:Za,monthsInYear:z},ac={monthCode:ja},oc={day:z},sc={dayOfWeek:z,dayOfYear:z,weekOfYear:function(e){if(void 0!==e)return z(e)},yearOfWeek:P,daysInWeek:z},uc=Ou(Object.assign({},ic,ac,oc,sc)),cc=Ou({...ic,...ac}),lc=Ou({...ac,...oc}),dc={calendarId:e=>e.calendar},mc=d(e=>n=>n[e],Ya.concat("sign")),fc=d((e,n)=>e=>e[eo[n]],pa),hc={epochMilliseconds:rn,epochNanoseconds:function(e){return((e,n=1)=>{const[t,r]=e,i=Math.floor(r/n),a=Ma/n;return BigInt(t)*BigInt(a)+BigInt(i)})(e.epochNanoseconds)}},[yc,Mc]=Pu(es,function(e=0,n=0,t=0,r=0,i=0,a=0,o=0,s=0,u=0,d=0){return tn(pt(l(U,c(Ya,[e,n,t,r,i,a,o,s,u,d]))))},{...mc,blank:function(e){return!e.sign}},{with:(e,n)=>Mc(function(e,n){return tn((t=e,r=n,pt({...t,...Kr(r,qa)})));var t,r}(e,n)),negated:e=>Mc(yt(e)),abs:e=>Mc(function(e){return-1===e.sign?yt(e):e}(e)),add:(e,n,t)=>Mc(ht(xu,js,cs,0,e,Bu(n),t)),subtract:(e,n,t)=>Mc(ht(xu,js,cs,1,e,Bu(n),t)),round:(e,n)=>Mc(function(e,n,t,r,i){const a=Tt(r),[o,s,u,c,l]=((e,n,t)=>{e=Ue(e,_o);let r=Go(e);const i=t(e[So]);let a=xe(e);const o=qo(e,7);let s=Lo(e);if(void 0===r&&void 0===s)throw new RangeError(Qi);if(null==s&&(s=0),null==r&&(r=Math.max(s,n)),Ke(r,s),a=Re(a,s,1),a>1&&s>5&&r!==s)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[r,s,a,o,i]})(i,a,e),d=Math.max(a,o);if(!l&&d<=6)return tn(pt(((e,n,t,r,i)=>{const a=pn(vt(e),t,r,i);return{...Ja,...bt(a,n)}})(r,o,s,u,c)));if(!mt(l)&&!r.sign)return r;if(!l)throw new RangeError($i);const[m,f,h]=ut(n,t,l),y=ct(h),M=lt(h),g=dt(h),p=M(f,m,r);mt(l)||(ie(m),ie(p));let w=g(f,m,p,o);const v=r.sign,b=gt(w);if(v&&b&&v!==b)throw new RangeError(Li);return w=gn(w,y(p),o,s,u,c,f,m,y,M),tn(w)}(xu,js,cs,e,n)),total:(e,n)=>function(e,n,t,r,i){const a=Tt(r),[o,s]=((e,n)=>{const t=n((e=Ue(e,Eo))[So]);let r=Bo(e);return r=H(Eo,r),[r,t]})(i,e),u=Math.max(o,a);if(!s&&ft(u,s))return on(r,o);if(!s)throw new RangeError($i);if(!r.sign)return 0;const[c,l,d]=ut(n,t,s),m=ct(d),f=lt(d),h=dt(d),y=f(l,c,r);mt(s)||(ie(c),ie(y));const M=h(l,c,y,o);return ft(o,s)?on(M,o):((e,n,t,r,i,a,o)=>{const s=gt(e),[u,c]=sn(r,Xa(t,e),t,s,i,a,o),l=un(n,u,c);return e[Ya[t]]+l*s})(M,m(y),o,l,c,m,f)}(xu,js,cs,e,n),toLocaleString(e,n,t){return Intl.DurationFormat?new Intl.DurationFormat(n,t).format(this):zn(e)},toString:zn,toJSON:e=>zn(e),valueOf:Lu},{from:e=>Mc(Bu(e)),compare:(e,n,t)=>function(e,n,t,r,i,a){const o=e(Ze(a).relativeTo),s=Math.max(Tt(r),Tt(i));if(y(Ya,r,i))return 0;if(ft(s,o))return $(vt(r),vt(i));if(!o)throw new RangeError($i);const[u,c,l]=ut(n,t,o),d=ct(l),m=lt(l);return $(d(m(c,u,r)),d(m(c,u,i)))}(xu,js,cs,Bu(e),Bu(n),t)}),gc={Instant:Eu,PlainDateTime:Du,PlainDate:Su,PlainTime:Au,PlainYearMonth:ku,PlainMonthDay:Cu},pc=oi(Eu),wc=oi(Tu),vc=oi(Du),bc=oi(Su),_c=oi(Au),Ec=oi(ku),Tc=oi(Cu),[Dc,Sc]=Pu(Jo,function(e=0,n=0,t=0,r=0,i=0,a=0){return nn(Pe(l(Z,c(eo,[e,n,t,r,i,a])),1))},fc,{with(e,n,t){return Sc(function(e,n,t){return nn(((e,n,t)=>Vr({...f(wa,e),...Kr(n,wa)},ze(t)))(e,n,t))}(this,zu(n),t))},add:(e,n)=>Sc(nt(0,e,Bu(n))),subtract:(e,n)=>Sc(nt(1,e,Bu(n))),until:(e,n,t)=>Mc(or(0,e,Ru(n),t)),since:(e,n,t)=>Mc(or(1,e,Ru(n),t)),round:(e,n)=>Sc(function(e,n){const[t,r,i]=Fe(n,5);var a;return nn((a=i,dn(e,fn(t,r),a)[0]))}(e,n)),equals:(e,n)=>function(e,n){return!Qt(e,n)}(e,Ru(n)),toLocaleString(e,n,t){const[r,i]=_c(n,t,e);return r.format(i)},toString:Pn,toJSON:e=>Pn(e),valueOf:Lu},{from:(e,n)=>Sc(Ru(e,n)),compare:(e,n)=>Qt(Ru(e),Ru(n))}),[Ac,kc]=Pu($o,g(function(e,n,t,r,i=0,a=0,o=0,s=0,u=0,d=0,m=Oa){return Je(ie(Ae(l(Z,c(to,[n,t,r,i,a,o,s,u,d])))),e(m))},jr),{...dc,...uc,...fc},{with:(e,n,t)=>kc(function(e,n,t,r){const i=e(n.calendar),a=[...i.fields(za),...pa].sort(),o={...ni(s=n),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;const u=Kr(t,a),c=ze(r),l=i.k(o,u),d={...o,...u};return Je(ie({...i.F(l,Ye(c)),...Pe(Us(d),c)}))}(js,e,zu(n),t)),withCalendar:(e,n)=>kc(ci(e,Fu(n))),withPlainTime:(e,n)=>kc(function(e,n=oo){return Je(ie({...e,...n}))}(e,ju(n))),add:(e,n,t)=>kc(Qn(js,0,e,Bu(n),t)),subtract:(e,n,t)=>kc(Qn(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(tr(js,0,e,Zu(n),t)),since:(e,n,t)=>Mc(tr(js,1,e,Zu(n),t)),round:(e,n)=>kc(function(e,n){return Je(cn(e,...Fe(n)),e.calendar)}(e,n)),equals:(e,n)=>function(e,n){return!$t(e,n)&&e.calendar===n.calendar}(e,Zu(n)),toZonedDateTime:(e,n,t)=>Oc(function(e,n,t,r){const i=((e,n,t,r)=>{const i=(e=>Ro(Ze(e)))(r);return Kn(e(n),t,i)})(e,t,n,r);return $e(ae(i),t,n.calendar)}(cs,e,Gu(n),t)),toPlainDate:e=>Hc(Qe(e)),toPlainTime:e=>Sc(nn(e)),toLocaleString(e,n,t){const[r,i]=vc(n,t,e);return r.format(i)},toString:An,toJSON:e=>An(e),valueOf:Lu},{from:(e,n)=>kc(Zu(e,n)),compare:(e,n)=>$t(Zu(e),Zu(n))}),[Cc,Nc]=Pu(Ko,g(function(e,n,t,r=Oa,i=po){const a=Z(n),o=Z(t),s=e(r);return en(re(ke({isoYear:Z(i),isoMonth:a,isoDay:o})),s)},jr),{...dc,...lc},{with:(e,n,t)=>Nc(function(e,n,t,r){const i=e(n.calendar),a=i.fields(za).sort(),o=(e=>{const n=Rs(e.calendar),[t,r,i]=n.v(e),[a,o]=n.q(t,r);return{monthCode:br(a,o),day:i}})(n),s=Kr(t,a),u=i.k(o,s);return i._(u,r)}(js,e,zu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Uu(n)),toPlainDate(e,n){return Hc(function(e,n,t,r){return((e,n,t)=>$r(e,n,Ha,F(t),Sa))(e(n.calendar),t,r)}(js,e,this,n))},toLocaleString(e,n,t){const[r,i]=Tc(n,t,e);return r.format(i)},toString:Nn,toJSON:e=>Nn(e),valueOf:Lu},{from:(e,n)=>Nc(Uu(e,n))}),[Pc,zc]=Pu(Wo,g(function(e,n,t,r=Oa,i=1){const a=Z(n),o=Z(t),s=e(r);return Xe(te(ke({isoYear:a,isoMonth:o,isoDay:Z(i)})),s)},jr),{...dc,...cc},{with:(e,n,t)=>zc(function(e,n,t,r){const i=e(n.calendar),a=i.fields(Na).sort(),o=(e=>{const n=Rs(e.calendar),[t,r]=n.v(e),[i,a]=n.q(t,r);return{year:t,monthCode:br(i,a)}})(n),s=Kr(t,a),u=i.k(o,s);return i.K(u,r)}(js,e,zu(n),t)),add:(e,n,t)=>zc(et(js,0,e,Bu(n),t)),subtract:(e,n,t)=>zc(et(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(ir(js,0,e,Yu(n),t)),since:(e,n,t)=>Mc(ir(js,1,e,Yu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,Yu(n)),toPlainDate(e,n){return Hc(function(e,n,t,r){return((e,n,t)=>$r(e,n,Pa,F(t),Ca))(e(n.calendar),t,r)}(js,e,this,n))},toLocaleString(e,n,t){const[r,i]=Ec(n,t,e);return r.format(i)},toString:Cn,toJSON:e=>Cn(e),valueOf:Lu},{from:(e,n)=>zc(Yu(e,n)),compare:(e,n)=>Jt(Yu(e),Yu(n))}),[Ic,Hc]=Pu(Vo,g(function(e,n,t,r,i=Oa){return Qe(re(ke(l(Z,{isoYear:n,isoMonth:t,isoDay:r}))),e(i))},jr),{...dc,...uc},{with:(e,n,t)=>Hc(function(e,n,t,r){const i=e(n.calendar),a=i.fields(za).sort(),o=ni(n),s=Kr(t,a),u=i.k(o,s);return i.F(u,r)}(js,e,zu(n),t)),withCalendar:(e,n)=>Hc(ci(e,Fu(n))),add:(e,n,t)=>Hc(Xn(js,0,e,Bu(n),t)),subtract:(e,n,t)=>Hc(Xn(js,1,e,Bu(n),t)),until:(e,n,t)=>Mc(rr(js,0,e,qu(n),t)),since:(e,n,t)=>Mc(rr(js,1,e,qu(n),t)),equals:(e,n)=>function(e,n){return!Jt(e,n)&&e.calendar===n.calendar}(e,qu(n)),toZonedDateTime(e,n){const t=r(n)?n:{timeZone:n};return Oc(function(e,n,t,r,i){const a=e(i.timeZone),o=i.plainTime,s=void 0!==o?n(o):void 0,u=t(a);let c;return c=s?Kn(u,{...r,...s}):Vn(u,{...r,...oo}),$e(c,a,r.calendar)}(Gu,Ru,cs,e,t))},toPlainDateTime:(e,n)=>kc(function(e,n=oo){return Je(ie({...e,...n}))}(e,ju(n))),toPlainYearMonth(e){return zc(function(e,n,t){return((e,n)=>{const t=Wr(e,n,Pa);return e.K(t,void 0)})(e(n.calendar),t)}(js,e,this))},toPlainMonthDay(e){return Nc(function(e,n,t){return((e,n)=>{const t=Wr(e,n,Ha);return e._(t)})(e(n.calendar),t)}(js,e,this))},toLocaleString(e,n,t){const[r,i]=bc(n,t,e);return r.format(i)},toString:kn,toJSON:e=>kn(e),valueOf:Lu},{from:(e,n)=>Hc(qu(e,n)),compare:(e,n)=>Jt(qu(e),qu(n))}),[Fc,Oc]=Pu(Qo,g(function(e,n,t,r,i=Oa){return $e(ae(Q(R(t))),n(r),e(i))},jr,function(e){return Yt(ja(e))}),{...hc,...dc,...Ku(uc),...Ku(fc),offset:e=>xn(Vu(e).offsetNanoseconds),offsetNanoseconds:e=>Vu(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>function(e,n){const t=e(n.timeZone),r=ss(n,t),[i,a]=hn(r),o=ee(V(Vn(t,i),Vn(t,a)),ya,1);if(o<=0)throw new RangeError(Li);return o}(cs,e)},{with:(e,n,t)=>Oc(function(e,n,t,r,i){const{calendar:a,timeZone:o}=t,s=e(a),u=n(o),c=[...s.fields(za),..._a].sort(),l=(e=>{const n=ss(e,cs),t=xn(n.offsetNanoseconds),r=Rs(e.calendar),[i,a,o]=r.v(n),[s,u]=r.q(i,a),c=br(s,u);return{...Ys(n),year:i,monthCode:c,day:o,offset:t}})(t),d=Kr(r,c),m=s.k(l,d),f={...l,...d},[h,y,M]=Ie(i,2);return $e(Wn(u,{...s.F(m,Ye(h)),...Pe(Us(f),h)},At(f.offset),y,M),o,a)}(js,cs,e,zu(n),t)),withCalendar:(e,n)=>Oc(ci(e,Fu(n))),withTimeZone:(e,n)=>Oc(function(e,n){return{...e,timeZone:n}}(e,Gu(n))),withPlainTime:(e,n)=>Oc(function(e,n,t){const r=n.timeZone,i=e(r),a={...ss(n,i),...t||oo};let o;return o=t?Wn(i,a,a.offsetNanoseconds,2):Vn(i,a),$e(o,r,n.calendar)}(cs,e,ju(n))),add:(e,n,t)=>Oc(Jn(js,cs,0,e,Bu(n),t)),subtract:(e,n,t)=>Oc(Jn(js,cs,1,e,Bu(n),t)),until:(e,n,t)=>Mc(tn(nr(js,cs,0,e,Wu(n),t))),since:(e,n,t)=>Mc(tn(nr(js,cs,1,e,Wu(n),t))),round:(e,n)=>Oc(function(e,n,t){let{epochNanoseconds:r,timeZone:i,calendar:a}=n;const[o,s,u]=Fe(t);if(0===o&&1===s)return n;const c=e(i);if(6===o)r=((e,n,t,r)=>{const i=ss(t,n),[a,o]=e(i),s=t.epochNanoseconds,u=Vn(n,a),c=Vn(n,o);if(J(s,u,c))throw new RangeError(Li);return bn(un(s,u,c),r)?c:u})(hn,c,n,u);else{const e=c.R(r);r=Wn(c,cn(ye(r,e),o,s,u),e,2,0,1)}return $e(r,i,a)}(cs,e,n)),startOfDay:e=>Oc(function(e,n){const{timeZone:t,calendar:r}=n,i=((e,n,t)=>Vn(n,e(ss(t,n))))(yn,e(t),n);return $e(i,t,r)}(cs,e)),equals:(e,n)=>function(e,n){return!Vt(e,n)&&!!Xt(e.timeZone,n.timeZone)&&e.calendar===n.calendar}(e,Wu(n)),toInstant:e=>Gc(function(e){return Ve(e.epochNanoseconds)}(e)),toPlainDateTime:e=>kc(ti(cs,e)),toPlainDate:e=>Hc(ri(cs,e)),toPlainTime:e=>Sc(ii(cs,e)),toLocaleString(e,n,t={}){const[r,i]=wc(n,t,e);return r.format(i)},toString:(e,n)=>Sn(cs,e,n),toJSON:e=>Sn(cs,e),valueOf:Lu,getTimeZoneTransition(e,n){const{timeZone:t,epochNanoseconds:r}=e,i=function(e){const n=Ue(e,Ao),t=We(Ao,Oo,n,0);if(!t)throw new RangeError(bi(Ao,t));return t}(n),a=cs(t).O(r,i);return a?Oc({...e,epochNanoseconds:a}):null}},{from:(e,n)=>Oc(Wu(e,n)),compare:(e,n)=>Vt(Wu(e),Wu(n))}),[Lc,Gc]=Pu(Xo,function(e){return Ve(ae(Q(R(e))))},hc,{add:(e,n)=>Gc($n(0,e,Bu(n))),subtract:(e,n)=>Gc($n(1,e,Bu(n))),until:(e,n,t)=>Mc(er(0,e,$u(n),t)),since:(e,n,t)=>Mc(er(1,e,$u(n),t)),round:(e,n)=>Gc(function(e,n){const[t,r,i]=Fe(n,5,1);return Ve(pn(e.epochNanoseconds,t,r,i,1))}(e,n)),equals:(e,n)=>function(e,n){return!Kt(e,n)}(e,$u(n)),toZonedDateTimeISO:(e,n)=>Oc(function(e,n,t=Oa){return $e(e.epochNanoseconds,n,t)}(e,Gu(n))),toLocaleString(e,n,t){const[r,i]=pc(n,t,e);return r.format(i)},toString:(e,n)=>Dn(Gu,cs,e,n),toJSON:e=>Dn(Gu,cs,e),valueOf:Lu},{from:e=>Gc($u(e)),fromEpochMilliseconds:e=>Gc(function(e){return Ve(ae(X(U(e),ma)))}(e)),fromEpochNanoseconds:e=>Gc(function(e){return Ve(ae(Q(R(e))))}(e)),compare:(e,n)=>Kt($u(e),$u(n))}),Bc=Object.defineProperties({},{...u("Temporal.Now"),...o({timeZoneId:()=>mi(),instant:()=>Gc(Ve(di())),zonedDateTimeISO:(e=mi())=>Oc($e(di(),Gu(e),Oa)),plainDateTimeISO:(e=mi())=>kc(Je(li(cs(Gu(e))),Oa)),plainDateISO:(e=mi())=>Hc(Qe(li(cs(Gu(e))),Oa)),plainTimeISO:(e=mi())=>Sc(nn(li(cs(Gu(e)))))})}),xc=Object.defineProperties({},{...u("Temporal"),...o({PlainYearMonth:Pc,PlainMonthDay:Cc,PlainDate:Ic,PlainTime:Dc,PlainDateTime:Ac,ZonedDateTime:Fc,Instant:Lc,Duration:yc,Now:Bc})}),Rc=Ju(),jc=new WeakMap;function Zc(e,...n){let t=bbn.lng[e]||e;if(n.length){let e=0;return t.replace(/\%([d|s])/g,(t,r)=>{let i=n[e++];i||(i="d"===r?0:"");const a=typeof i;return"d"===r&&"number"!==a?(i=parseFloat(i),isNaN(i)&&(i=0)):"s"===r&&"string"!==a&&(i=""+i),i})}return t}Object.create(Intl),o({DateTimeFormat:Rc});var Uc={loggers:{_num:0},datatypes:["xml","html","script","json","jsonp","text","blob"],shortenLen:30,keys:{upDown:["PageUp","PageDown","End","Home","ArrowUp","ArrowDown"],leftRight:["Home","End","ArrowLeft","ArrowRight"],dels:["Backspace","Delete","Insert"],confirm:["Enter","Tab"],alt:["CapsLock","Shift","Control","Alt","NumLock"],numbers:["0","1","2","3","4","5","6","7","8","9","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9"],numsigns:["NumpadSubtract","NumpadDecimal","-","."]},comparators:[">=","<=",">","<","="],operators:["+","-","/","*"],dbRequestId:0,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}},Yc={siteTitle:globalThis.document?.title,logging:!1,cdn:"",lang:"en",host:globalThis.location?.protocol+"//"+globalThis.location?.hostname,url:globalThis.location?.href,root:"",getParameters:{},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:!globalThis.document?.hidden,timeoff:Math.round((new Date).getTime()/1e3),loggingLevel:5,ignoreUnload:!1,historyDisabled:!1,nav:"ajax",online:globalThis.navigator?.onLine};class qc extends Error{__BBN_CANCEL__;constructor(e){super(e||"Request canceled"),this.name="Cancel",this.__BBN_CANCEL__=!0}}const Wc=["POST","PUT","PATCH","DELETE"],Kc=(e,n,t={},r)=>{const i=new XMLHttpRequest,a=Wc.includes(e.toUpperCase()),o=new Promise((r,o)=>{i.open(e.toUpperCase(),n,!0);const{body:s,headers:u}=((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);u.forEach((e,n)=>{i.setRequestHeader(n,e)}),"function"==typeof t.onUploadProgress&&i.upload&&i.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})}),i.onreadystatechange=()=>{if(4!==i.readyState)return;const e=(e=>{const n={};return e?(e.trim().split(/[\r\n]+/).forEach(e=>{const t=e.split(": "),r=t.shift(),i=t.join(": ");r&&(n[r.toLowerCase()]=i)}),n):n})(i.getAllResponseHeaders()),n=1223===i.status?204:i.status,a=i.statusText||"";let s=i.responseText;if((e["content-type"]||"").includes("application/json"))try{s=JSON.parse(i.responseText)}catch(e){}const u={data:s,status:n,statusText:a,headers:e,config:t,request:i};if(n>=200&&n<300)r(u);else{const e=new Error("Request failed with status code "+n);e.response=u,e.config=t,e.request=i,o(e)}},i.onerror=()=>{const e=new Error("Network Error");e.config=t,e.request=i,o(e)},i.onabort=()=>{o(new qc("Request canceled"))},a?i.send(s):i.send()});return o.cancel=()=>i.abort(),o};var Vc={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&&Wc.includes(e.toUpperCase())?Kc(e,n,t):((e,n,t={},r)=>{const i={method:e,headers:new Headers(t.headers||{}),signal:r?.signal},a=Wc.includes(e.toUpperCase());if(null!=t.data&&a&&("object"!=typeof t.data||t.data instanceof FormData?i.body=t.data:(i.headers.set("Content-Type","application/json"),i.body=JSON.stringify(t.data))),t.params){const e=new URLSearchParams(t.params).toString();n+=(n.includes("?")?"&":"?")+e}const o=fetch(n,i).then(async e=>{let n;const r=e.headers.get("content-type")||"";try{n=r.includes("application/json")?await e.json():r.startsWith("text/")?await e.text():r.includes("multipart/")?await e.arrayBuffer():await e.blob()}catch{n=await e.text()}const i={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=i,n.config=t,n.request=e,n}return i}).catch(e=>{if("AbortError"===e.name)throw new qc("Request canceled");throw e});return o.cancel=()=>r.abort(),o})(e,n,t,r)}};function $c(...e){if(!e.length)return!1;for(let n of e)if("[object String]"!=={}.toString.apply(n))return!1;return!0}function Jc(...e){if(!e.length)return!1;for(let n of e)if(!Number.isInteger(n))return!1;return!0}function Qc(...e){if(!e.length)return!1;for(let n of e)if(!(n&&n.constructor&&n.call&&n.apply))return!1;return!0}function Xc(...e){if(globalThis.bbn?.env?.logging&&void 0!==globalThis.console){let n,t=5,r="log";e[0]&&"object"==typeof e[0]&&e[0]._bbn_console_style&&(e[0]._bbn_console_mode&&Qc(globalThis.console[e[0]._bbn_console_mode])?r=e[0]._bbn_console_mode:(n=e[0]._bbn_console_style,t=e[0]._bbn_console_level),e.shift());const i=globalThis.console[r];if(globalThis.bbn?.env?.loggingLevel>=t){let t=0;for(;t<e.length;){let r=typeof e[t],a=[e[t]];"string"!==r&&"number"!==r||a.unshift("%c %s ",n),i.apply(globalThis.console,a),t++}}}}function el(e,n,t){if(!$c(e)||!Jc(n))throw Xc(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),Jc(t)?e.substring(n,(t<0?e.length:n)+t):e.substring(n)}function nl(e,n=!1){let t=null;if("object"==typeof e)for(var r in t={},e)el(r,0,1).match(/^[A-z0-9]$/)&&r in e&&(n&&"object"==typeof e[r]?t[r]=nl(e[r],!0):t[r]=e[r]);return t||!1}function tl(e,n,t=!1,r=!1){if(null!==e&&"object"==typeof e){let i=Object.keys(t?nl(e):e);r&&i.reverse();for(let t of i)if(!1===n(e[t],t))break}return e}function rl(...e){if(!e.length)return!1;for(let n of e)if("[object Object]"!=={}.toString.apply(n))return!1;return!0}function il(...e){if(!e.length)return!1;for(let n of e)if(!Array.isArray(n))return!1;return!0}function al(...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 ol(...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 sl(e,n){if(!(al(e)&&e>0)){if(ol(e)){for(let t=0;t<e.length;t++)if(!1===n(e[t],t))return;return e}return tl(e,n)}for(let t=0;t<e;t++)if(!1===n(t,t))return}function ul(...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,i=t[0];for(let e=1;e<t.length;e++)tl(t[e],(e,t)=>{n?il(e)?(i[t]=il(i[t])?i[t]:[],sl(e,(e,n)=>{if(e&&"object"==typeof e){let r=i[t][n];il(e)?il(r)||(r=[]):rl(r)||(r={}),i[t][n]=ul(!0,r,e)}else i[t][n]=e})):rl(e)?i[t]=ul(!0,i[t]&&"object"==typeof i[t]?i[t]:Object.create(Object.getPrototypeOf(e)),e):i[t]=e:(i[t]!==e||void 0===e&&!Object.prototype.hasOwnProperty.apply(i,[t]))&&(i[t]=e)}),r||(r=!!t[e].__bbnNoData);return r&&"bbnData"in window&&(i.__bbnData&&i.__bbnData.unset(),Object.defineProperty(i,"__bbnNoData",{value:!0,enumerable:!1,configurable:!1,writable:!1})),i}function cl(e){return new Promise((n,t)=>{e.oncomplete=()=>n(),e.onabort=()=>t(e.error),e.onerror=()=>t(e.error)})}function ll(e){if(!e.keys?.PRIMARY?.columns)throw new Error(Zc("No primary key defined in the structure"));const n=e.keys.PRIMARY.columns;return n.length>1?n:n[0]}function dl(e){return new Promise((n,t)=>{e.onsuccess=()=>n(e.result),e.onerror=()=>t(e.error)})}function ml(e,n){if(e){if(n?.length){const t={};return tl(e,(e,r)=>{n.includes(r)&&(t[r]=e)}),t}return e}}function fl(e,n=[]){return e?.conditions?.length?e.conditions.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&fl(e,n)}):rl(e)?tl(e,(e,t)=>{n.includes(t)||n.push(t)}):il(e)&&e.forEach(e=>{e.field&&!n.includes(e.field)?n.push(e.field):e.conditions&&fl(e,n)}),n}let hl=0;function yl(e,n,t){return new Promise((r,i)=>{if(!navigator.serviceWorker?.controller)return void i(new Error("No active service worker controller"));const a=++hl,o=new MessageChannel;o.port1.onmessage=n=>{const t=n.data;t?.id===a&&(t.error&&(e.lastErr=t.error),t.ok?r(t.result):i(new Error(t.error||"IndexedDB service worker error")),o.port1.close())};const s={id:a,database:e.dbName,method:n,args:t};navigator.serviceWorker.controller.postMessage(s,[o.port2])})}class Ml{_dbName;lastErr=null;constructor(e){this._dbName=e}get dbName(){return this._dbName}insert(e,n){return yl(this,"insert",[e,n])}update(e,n,t,r=!1){return yl(this,"update",[e,n,t,r])}delete(e,n){return yl(this,"delete",[e,n])}selectOne(e,n,t,r,i,a){return yl(this,"selectOne",[e,n,t,r,i,a])}select(e,n,t,r,i){return yl(this,"select",[e,n,t,r,i])}selectAll(e,n,t,r,i,a){return yl(this,"selectAll",[e,n,t,r,i,a])}getColumnValues(e,n,t,r,i,a){return yl(this,"getColumnValues",[e,n,t,r,i,a])}copyTable(e,n,t,r,i,a,o){return yl(this,"copyTable",[e,n,t,r,i,a,o])}deleteTable(e){return yl(this,"deleteTable",[e])}close(){yl(this,"close",[])}lastError(){return this.lastErr}}let gl=bbn.data.dbRequestId;function pl(e,n,t){return new Promise((r,i)=>{if(!navigator.serviceWorker?.controller)return void i(new Error("No active service worker controller"));const a=++gl,o=new MessageChannel;o.port1.onmessage=e=>{const n=e.data;n?.id===a&&(n.ok?r(n.result):i(new Error(n.error||"IndexedDB service worker error")),o.port1.close())};const s={id:a,database:e,method:n,args:t};navigator.serviceWorker.controller.postMessage(s,[o.port2])})}const wl={_structures:{},_connections:{},_objects:{},_stores:{},ok:!0,open:async(e,n)=>(await pl(e,"manager.open",[e,n]),new Ml(e)),add:async(e,n,t)=>pl(e,"manager.add",[e,n,t]),remove:async(e,n)=>pl(e,"manager.remove",[e,n]),importStructure:async(e,n)=>pl(e,"manager.importStructure",[e,n]),reopenWithUpgrade:async e=>(await pl(e,"manager.reopenWithUpgrade",[e]),new Ml(e)),getExistingVersion:async e=>pl(e,"manager.getExistingVersion",[e]),close(e){pl(e,"manager.close",[e])},updateStructure(){throw new Error("updateStructure cannot be called from the window proxy")}},vl=globalThis.indexedDB||globalThis.webkitIndexedDB||globalThis.mozIndexedDB||globalThis.OIndexedDB||globalThis.msIndexedDB;class bl{dbName;lastErr=null;constructor(e){this.dbName=e}hasMissingStores(e,n){const t=_l._structures[e]||{};return Object.keys(t).some(e=>!n.objectStoreNames.contains(e))}async getConnection(e=""){let n=_l._connections[e||this.dbName];if(!n){if(await _l.open(e||this.dbName),!_l._connections[e||this.dbName])throw new Error(Zc("The database %s is not open",this.dbName));n=_l._connections[e||this.dbName]}return n}get structure(){const e=_l._structures[this.dbName];if(!e)throw new Error(Zc("No structure defined for database %s",this.dbName));return e}async getStore(e,n){const t=await this.getConnection();if(!this.structure[e])throw new Error(Zc("Table %s is not defined in database structure %s",e,this.dbName));if(!t.objectStoreNames.contains(e))throw new Error(Zc("Table %s does not exist in database %s. Schema upgrade required.",e,this.dbName));const r=t.transaction([e],n);r.onabort=()=>{this.lastErr=r.error,Xc("Abort in store transaction: "+e,r.error)},r.onerror=()=>{this.lastErr=r.error,Xc("Error in store transaction: "+e,r.error)};try{const n=r.objectStore(e);return[r,n]}catch(n){throw this.lastErr=n,Xc("Error getting object store: "+e,n),new Error(Zc("Error getting table %s from database %s",e,this.dbName))}}lastError(){return this.lastErr}close(){const e=_l._connections[this.dbName];e&&(e.close(),delete _l._connections[this.dbName])}async insert(e,n){const t=Array.isArray(n)?n:[n];if(!t.length)return 0;const[r,i]=await this.getStore(e,"readwrite");let a=0;for(const e of t){const n=i.put(e);n.onsuccess=()=>{a++},n.onerror=()=>{this.lastErr=n.error,Xc(n.error)}}return await cl(r),a}async update(e,n,t,r=!1){const i=await this.selectAll(e,[],t);if(!i.length)return 0;const a=ll(this.structure[e]);if(Array.isArray(a))throw new Error(Zc("Composite primary keys are not supported by this update implementation"));const[o,s]=await this.getStore(e,"readwrite");let u=0;for(const e of i){const t=ul({},r?{[a]:e[a]}:e,n);if(!(a in t))throw new Error(Zc("No primary key in the data"));const i=s.put(t);i.onsuccess=()=>{u++},i.onerror=()=>{this.lastErr=i.error,Xc(i.error)}}return await cl(o),u}async delete(e,n){const t=ll(this.structure[e]);if(Array.isArray(t))throw new Error(Zc("Composite primary keys are not supported by this delete implementation"));if(!(t in n))throw new Error(Zc("No primary key in the filter"));const[r,i]=await this.getStore(e,"readwrite");return i.delete(n[t]),await cl(r),1}async selectOne(e,n,t=null,r=null,i=0,a=1){const o=await this.selectAll(e,[n],t,r,i,a);return o?.[0]?.[n]}async select(e,n=[],t=null,r=null,i=0){const a=await this.selectAll(e,n,t,r,i,1);return a.length?a[0]:null}async selectAll(e,n=[],t=null,r=null,i=0,a=null){const[o,s]=await this.getStore(e,"readonly"),u=ll(this.structure[e]),c=[],l=rl(t)?Object.keys(t)[0]:!t||il(t)?null:u;if(!Array.isArray(u)&&l===u){if(Array.isArray(t?.[u])){const e=t[u],r=Math.min(e.length-i,a??e.length),l=e.slice(i,i+r);for(const e of l){const t=ml(await dl(s.get(e)),n);t&&c.push(t)}return await cl(o),c}const e=rl(t)?t[u]:t,r=ml(await dl(s.get(e)),n);return r&&c.push(r),await cl(o),c}return await new Promise((e,r)=>{const o=s.openCursor();let u=0;o.onsuccess=r=>{const o=r.target.result;if(!o)return void e();if(!t||!globalThis.bbn?.fn?.search||0===globalThis.bbn.fn.search([o.value],t)){if(u>=i){const t=ml(o.value,n);if(t&&c.push(t),null!==a&&c.length>=a)return void e()}u++}o.continue()},o.onerror=()=>{this.lastErr=o.error,Xc(o.error),r(o.error)}}),await cl(o),c}async getColumnValues(e,n,t=null,r=null,i=0,a=null){return(await this.selectAll(e,fl(t,[n]),t,r,i,a)).map(e=>e[n]).filter(e=>void 0!==e)}async copyTable(e,n,t=[],r=null,i=null,a=0,o=null){if(!this.structure[n])throw new Error(Zc("Source table %s does not exist in structure",n));let s=await this.getConnection();if(s.objectStoreNames.contains(e)||(s.close(),await _l.add(this.dbName,e,this.structure[n]),s=await this.getConnection()),!s.objectStoreNames.contains(e))throw new Error(Zc("The target table %s does not exist",e));const u=await this.selectAll(n,t,r,i,a,o);if(!u.length)return 0;const c=await this.insert(e,u);return s.close(),c}async deleteTable(e){return await _l.remove(this.dbName,e),!0}}const _l={_structures:{},_connections:{},_objects:{},_stores:{},ok:void 0!==vl,close(e){const n=this._connections[e];n&&(n.close(),delete this._connections[e]),this._objects[e]&&delete this._objects[e]},updateStructure(e,n,t){const r=ll(n);if(!t.objectStoreNames.contains(e)){const i=t.createObjectStore(e,{keyPath:r});tl(n.keys,(e,n)=>{"PRIMARY"!==n&&i.createIndex(n,e.columns.length>1?e.columns:e.columns[0],{unique:!!e.unique})})}},async importStructure(e,n){if(this._structures[e]||(this._structures[e]={}),this._connections[e])throw new Error(Zc("Database %s is already open. Close it before adding a new store.",e));await this.open(e);const t=this._connections[e];let r=!1;for(const i in n){if(!n[i]?.keys?.PRIMARY||!n[i]?.fields)throw Xc("Error on importStructure with store "+i,n[i]),new Error(Zc("The database structure for %s is not valid (missing keys, fields, or primary key)",i));this._structures[e][i]=n[i];t.objectStoreNames.contains(i)||(r=!0)}r&&await this.reopenWithUpgrade(e),this.close(e)},async getExistingVersion(e){const n=this._connections[e];return n?n.version:new Promise((n,t)=>{if(!vl)return void t(new Error(Zc("IndexedDB is not available")));const r=vl.open(e);r.onsuccess=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onupgradeneeded=()=>{const e=r.result,t=e.version;e.close(),n(t)},r.onerror=()=>t(r.error)})},async reopenWithUpgrade(e){if(!this._structures[e])throw new Error(Zc("Impossible to find a structure for the database %s",e));const n=await this.getExistingVersion(e),t=n+1;return Xc(Zc("Going from version %s to version %s for database %s",n,t,e)),this._connections[e]&&this.close(e),await this.open(e,t)},async open(e,n){if(!vl)throw new Error(Zc("IndexedDB is not available"));if(navigator.serviceWorker?.controller)return new Promise(n=>n(new wl(e)));if(!this._structures[e])throw new Error(Zc("Impossible to find a structure for the database %s",e));return this._objects[e]&&this._connections[e]||(await new Promise((t,r)=>{const i=n?vl.open(e,n):vl.open(e);i.onupgradeneeded=()=>{const n=i.result;this._connections[e]=i.result;tl(this._structures[e]||{},(e,t)=>{n.objectStoreNames.contains(t)||this.updateStructure(t,e,n)})},i.onsuccess=()=>{this._connections[e]=i.result,t(i.result)},i.onerror=()=>r(i.error),i.onblocked=n=>{r(Zc("open: Upgrade blocked for database %s. Please close other connections to proceed.",e))}}),this._objects[e]=new bl(e)),this._objects[e]},async add(e,n,t){if(!t?.keys?.PRIMARY||!t?.fields)throw Xc("Error on add",t),new Error(Zc("The database structure for %s is not valid (missing keys, fields, or primary key)",n));if(this._structures[e]||(this._structures[e]={}),this._structures[e][n]=t,this._connections[e])throw new Error(Zc("Database %s is already open. Close it before adding a new store.",e));await this.open(e);let r=this._connections[e];if(!r.objectStoreNames.contains(n)){if(await this.reopenWithUpgrade(e),!this._connections[e])throw new Error(Zc("The database %s is not open after upgrade",e));r=this._connections[e]}return this.close(e),!0},async remove(e,n){const t=this._structures[e];if(!t?.[n])return;const r=t[n];delete t[n];try{const t=this._connections[e];if(!t)return;const r=t.version+1;this.close(e),await new Promise((t,i)=>{if(!vl)return void i(new Error(Zc("IndexedDB is not available")));const a=vl.open(e,r);a.onupgradeneeded=()=>{const e=a.result;e.objectStoreNames.contains(n)&&(e.deleteObjectStore(n),e.close())},a.onsuccess=()=>{a.result.close(),t()},a.onerror=()=>i(a.error),a.onblocked=()=>i(new Error(Zc("Remove blocked for database %s",e)))})}catch(e){throw t[n]=r,e}}};function El(e,n,t){let r=(new Date).getTime(),i={key:e,url:el(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(i),bbn.env.loadersHistory.unshift(i);let a=bbn.env.loadersHistory.length;for(;a&&bbn.env.loadersHistory.length>bbn.env.maxLoadersHistory;)a--,bbn.env.loading||bbn.env.loadersHistory.splice(a,1);return r}function Tl(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 Dl(e){if(!$c(e)){if(!e.toString)throw Xc(e),new Error(bbn._("removeAccent expects a string"));e=e.toString()}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Sl(...e){if(!e.length)return!1;for(let n of e)if("[object Date]"!=={}.toString.apply(n))return!1;return!0}function Al(e,n,t,r="asc"){let i=Tl(e,t),a=Tl(n,t),o=(typeof i).toLowerCase(),s=(typeof a).toLowerCase();if("asc"!==r&&$c(r)&&"desc"===r.toLowerCase()&&(r="desc"),o!==s)i=o,a=s;else switch(o){case"string":i=Dl(i).toLowerCase(),a=Dl(a).toLowerCase();break;case"boolean":i=i?1:0,a=a?1:0;break;case"object":Sl(i)&&(i=i.getTime(),a=Sl(a)?a.getTime():0)}return i<a?"desc"===r?1:-1:i>a?"desc"===r?-1:1:0}function kl(e){return e&&"object"==typeof e?Object.keys(e).length:0}function Cl(e){return!e||(il(e)?!e.length:"object"==typeof e&&!kl(e))}function Nl(...e){if(!e.length)return!1;for(let n of e)if("[object Null]"!=={}.toString.apply(n))return!1;return!0}function Pl(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 zl(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 Il(e){return Pl(e).padStart(8,"0")+zl(e).padStart(8,"0")}function Hl(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLElement))return!1;return!0}function Fl(e){let n="",t=e;if(e.id)return"#"+e.id;for(;t&&t!==document.body;){let e=t,r=e.localName,i=0;if(!r)break;if(e===document.body)break;e.id&&(n="#"+e.id+">"+n,i=1);let a=t.parentNode,o=Array.from(a.children).filter(n=>n.tagName===e.tagName);if(!i&&o.length>1){let n=Array.from(a.children).indexOf(e)+1;n>1&&(r+=":nth-child("+n+")")}n=r+(n?">"+n:""),t=a}return n}function Ol(...e){if(!e.length)return!1;if(!("cp"in bbn)||!("isComponent"in bbn.cp)||"function"!=typeof bbn.cp.isComponent)return!1;for(let n of e){if(!bbn.cp.isComponent(n)||Hl(n)||!n.$el?.bbnCid)return!1}return!0}function Ll(e,n=null,t=0,r=null,i=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(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 a="";for(let o=0;o<e.length;o++)a+="__BBN_ITEM"+o.toString()+"__"+i(e[o],n,t+1,r,i);e="__BBN_ARRAY__"+a}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 a="";for(let o in e){let s=o;"string"!=typeof s&&(s=i(s,i,1,1)),a+="__BBN_PROP_"+s+"__"+i(e[o],n,t+1,r,i)}e="__BBN_OBJECT__"+a}}else e=Hl(e)?Ol(e)?"__BBN_CP__"+e.$cid:e.bbnId?"__BBN_DOM__"+e.tagName+"/"+e.bbnId+e.bbnHash:"__BBN_DOM__"+Fl(e):"__BBN_UNKNOWN_OBJECT__"+e.constructor.toString();return e}function Gl(...e){let n="",t=null;2===e.length&&"number"==typeof e[1]&&(t=e[1],e=[e[0]]);for(let r in e)n+=Ll(e[r],t,0,null,Ll);return Il(n)}function Bl(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 i(e,n,t,i,a,o){return r(function(e,n){return e<<n|e>>>32-n}(r(r(n,e),r(i,o)),a),t)}function a(e,n,t,r,a,o,s){return i(n&t|~n&r,e,n,a,o,s)}function o(e,n,t,r,a,o,s){return i(n&r|t&~r,e,n,a,o,s)}function s(e,n,t,r,a,o,s){return i(n^t^r,e,n,a,o,s)}function u(e,n,t,r,a,o,s){return i(t^(n|~r),e,n,a,o,s)}var c,l,d,m,f,h=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),y=1732584193,M=-271733879,g=-1732584194,p=271733878;for(c=0;c<h.length;c+=16)l=y,d=M,m=g,f=p,y=a(y,M,g,p,h[c+0],7,-680876936),p=a(p,y,M,g,h[c+1],12,-389564586),g=a(g,p,y,M,h[c+2],17,606105819),M=a(M,g,p,y,h[c+3],22,-1044525330),y=a(y,M,g,p,h[c+4],7,-176418897),p=a(p,y,M,g,h[c+5],12,1200080426),g=a(g,p,y,M,h[c+6],17,-1473231341),M=a(M,g,p,y,h[c+7],22,-45705983),y=a(y,M,g,p,h[c+8],7,1770035416),p=a(p,y,M,g,h[c+9],12,-1958414417),g=a(g,p,y,M,h[c+10],17,-42063),M=a(M,g,p,y,h[c+11],22,-1990404162),y=a(y,M,g,p,h[c+12],7,1804603682),p=a(p,y,M,g,h[c+13],12,-40341101),g=a(g,p,y,M,h[c+14],17,-1502002290),y=o(y,M=a(M,g,p,y,h[c+15],22,1236535329),g,p,h[c+1],5,-165796510),p=o(p,y,M,g,h[c+6],9,-1069501632),g=o(g,p,y,M,h[c+11],14,643717713),M=o(M,g,p,y,h[c+0],20,-373897302),y=o(y,M,g,p,h[c+5],5,-701558691),p=o(p,y,M,g,h[c+10],9,38016083),g=o(g,p,y,M,h[c+15],14,-660478335),M=o(M,g,p,y,h[c+4],20,-405537848),y=o(y,M,g,p,h[c+9],5,568446438),p=o(p,y,M,g,h[c+14],9,-1019803690),g=o(g,p,y,M,h[c+3],14,-187363961),M=o(M,g,p,y,h[c+8],20,1163531501),y=o(y,M,g,p,h[c+13],5,-1444681467),p=o(p,y,M,g,h[c+2],9,-51403784),g=o(g,p,y,M,h[c+7],14,1735328473),y=s(y,M=o(M,g,p,y,h[c+12],20,-1926607734),g,p,h[c+5],4,-378558),p=s(p,y,M,g,h[c+8],11,-2022574463),g=s(g,p,y,M,h[c+11],16,1839030562),M=s(M,g,p,y,h[c+14],23,-35309556),y=s(y,M,g,p,h[c+1],4,-1530992060),p=s(p,y,M,g,h[c+4],11,1272893353),g=s(g,p,y,M,h[c+7],16,-155497632),M=s(M,g,p,y,h[c+10],23,-1094730640),y=s(y,M,g,p,h[c+13],4,681279174),p=s(p,y,M,g,h[c+0],11,-358537222),g=s(g,p,y,M,h[c+3],16,-722521979),M=s(M,g,p,y,h[c+6],23,76029189),y=s(y,M,g,p,h[c+9],4,-640364487),p=s(p,y,M,g,h[c+12],11,-421815835),g=s(g,p,y,M,h[c+15],16,530742520),y=u(y,M=s(M,g,p,y,h[c+2],23,-995338651),g,p,h[c+0],6,-198630844),p=u(p,y,M,g,h[c+7],10,1126891415),g=u(g,p,y,M,h[c+14],15,-1416354905),M=u(M,g,p,y,h[c+5],21,-57434055),y=u(y,M,g,p,h[c+12],6,1700485571),p=u(p,y,M,g,h[c+3],10,-1894986606),g=u(g,p,y,M,h[c+10],15,-1051523),M=u(M,g,p,y,h[c+1],21,-2054922799),y=u(y,M,g,p,h[c+8],6,1873313359),p=u(p,y,M,g,h[c+15],10,-30611744),g=u(g,p,y,M,h[c+6],15,-1560198380),M=u(M,g,p,y,h[c+13],21,1309151649),y=u(y,M,g,p,h[c+4],6,-145523070),p=u(p,y,M,g,h[c+11],10,-1120210379),g=u(g,p,y,M,h[c+2],15,718787259),M=u(M,g,p,y,h[c+9],21,-343485551),y=r(y,l),M=r(M,d),g=r(g,m),p=r(p,f);return t(y)+t(M)+t(g)+t(p)}function xl(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="",i=!1,a=!1,o=!1,s="",u=0,c=0,l=[],d={},m="",f=['"',"'","`"],h=!1,y=!1,M=!1,g=!1,p=!1,w=!1,v="";for(let e=0;e<n.length;e++)if(M||"/"!==n[e]||"*"!==n[e+1])if("/"===n[e]&&"*"===n[e-1])M=!1;else if(g||"/"!==n[e]||"/"!==n[e+1])if("\n"===n[e])g=!1;else{if(M||g)continue;if(n[e]===m&&!h&&m)m="",r+=n[e];else if(m)h="\\"===n[e]&&!h,r+=n[e];else if(f.includes(n[e])&&!h)m=n[e],r+=n[e];else if("("===n[e]){if(u++,""!==r.trim()){if("function"===r.trim())o=!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])u===c+1&&(y?(d.default=r.trim(),y=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(l.push(d),d={}),r=""),c++;else if(p&&"}"!==n[e])r+=n[e];else{if(u&&u===c&&":"===n[e]){const r=n.substring(e+1).trim().match(/^\s*([a-zA-Z0-9_]+)\s*\{/);if(!r)throw Error("Unexpected ':' while parsing function");v=r[1],t=n.substring(e+r[0].length).trim();break}if(!(r||"="!==n[e]||">"!==n[e+1]||u!==c||c||i)){d.name=n.slice(0,e).trim(),l.push(d),d={},i=!0,t=bbn.fn.substr(n,e+2).trim();break}if(u===c&&"="===n[e]&&">"===n[e+1]){""!==r.trim()&&(d.name=r.trim(),l.push(d),d={},r=""),i=!0,e++;continue}if("="===n[e]&&u>c&&!y)d.name=r.trim(),r="",y=!0;else if(","===n[e])if(p)r+=n[e];else{if(!(u>c))throw Error("Unexpected ',' while parsing function");y?(d.default=r.trim(),y=!1):r&&(d.name=r.trim()),(d.name||d.default)&&(l.push(d),d={}),r=""}else if("{"===n[e]||"}"===n[e]){if(u===c){t=n.substring(e).trim();break}u>c?"{"!==n[e]||p?"}"===n[e]&&p&&(p=!1,r+=n[e]):(p=!0,r=n[e]):r=""}else{if(i){t=n.substring(n.indexOf("=>")+2).trim();break}" "===n[e]?""!==r.trim()&&("async"===r.trim()&&(a=!0),u>c?r+=n[e]:r=""):r+=n[e]}}}else g=!0,r="";else M=!0,r="";if(!t){if(!i)throw Error("Unexpected end of function while parsing function");t=r}t.substr(0,25).indexOf("[native code]")>-1&&(w=!0);const b=l.map(e=>e.name+(e.default?" = "+e.default:"")).join(", ");return{body:t,args:l,argString:b,isArrow:i,hasFunction:o,name:s,isAsync:a,isBinary:w,hash:Bl(t+(s?"-"+s:"")+(b?"-"+b:"")),returnType:v}}function Rl(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(e?.constructor)||![void 0,Object,Array,null].includes(n?.constructor))return!1;let r=Object.keys(e).sort(),i=Object.keys(n).sort();if(Gl(r)!==Gl(i))return!1;let a=!0;if(e&&"object"==typeof e){if(t.includes(e))return a;t.push(e)}return sl(r,t=>{if(!Rl(e[t],n[t]))return a=!1,!1}),a}if(e&&n&&"function"==typeof e&&"function"==typeof n){let t=xl(e),r=xl(n),i=t.hash===r.hash;return i&&t.isBinary&&(i=!1),i}return!1}function jl(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!Cl(e)&&!Cl(n)&&-1!==Dl(e).toLowerCase().indexOf(Dl(n).toLowerCase());case"doesnotcontain":case"donotcontain":return!(!Nl(e)&&!Nl(n))||-1===Dl(e.toLowerCase()).indexOf(Dl(n.toLowerCase()));case"starts":case"start":return!Nl(e)&&!Nl(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!Nl(e)&&!Nl(n)&&0===Dl(e).toLowerCase().indexOf(Dl(n).toLowerCase());case"endswith":case"endsi":case"endi":case"iends":case"iend":return!Nl(e)&&!Nl(n)&&e.lastIndexOf(n)===e.length-n.length;case"like":return!Nl(e)&&!Nl(n)&&Dl(e).toLowerCase()===Dl(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(rl(e,n))return Rl(e,n);default:return e==n}}function Zl(e,n){if(!n.conditions||!n.logic||!il(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 sl(n.conditions,r=>{let i;if(r.conditions&&il(r.conditions))i=Zl(e,r);else if(i=jl(Tl(e,r.field),r.value,r.operator),i){let n=r.field.split("."),t=n.pop();n.length&&sl(n,n=>e=e[n]),void 0===Tl(e,t)&&void 0!==r.value&&(i=!1)}if(i){if("OR"===n.logic)return t=!0,!1}else if("AND"===n.logic)return t=!1,!1}),t}function Ul(e,n="="){if(!rl(e))throw new Error("Error in filterToCondition: filter must be an object");if(!e.conditions||!il(e.conditions)){let t=[];tl(e,(e,r)=>{rl(e)&&"object"==typeof e.conditions?t.push(Ul(e)):t.push({field:r,operator:n,value:e})}),e={conditions:t}}return e.logic||(e.logic="AND"),e}function Yl(e,n,t=null,r="=",i=0,a=!1){if(!ol(e))throw new Error(bbn._("The first argument for a search should be iterable")+" "+typeof e+" "+bbn._("given"));if(!e.length)return-1;let o,s,u=!1;if(n)if("string"==typeof n)o={conditions:[{field:n,value:t,operator:r||"="}]};else if(a=!0===r,i="number"==typeof t?t:a?e.length-1:0,"function"==typeof n)u=!0,s=n;else if(rl(n))if("field"in n&&"value"in n)o={conditions:[n],logic:"AND"};else if("conditions"in n)o=n;else{const e=[];for(let t in n)e.push({field:t,value:n[t],operator:"="});o={conditions:e,logic:"AND"}}else il(n)&&(o={conditions:n,logic:"AND"});else u=!0,s=e=>Zl({value:e},Ul({logic:"AND",conditions:[{field:"value",operator:r||"=",value:t}]}));if(u||o){if("number"!=typeof i&&(i=a?e.length-1:0),!s){const e=Ul(o);s=n=>Zl(n,e)}if(a)for(let n=i;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=i;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 ql(e,n,t=null,r="=",i=0,a=!1,o=!1){let s=Yl(e,n,t,r,i,a);return s>-1?e[s]:n&&["object","function"].includes(typeof n)&&5 in arguments?a:o}function Wl(e,n=null,t=!1){let r=Yl(bbn.env.loaders,{key:e});if(r>-1){let i=bbn.env.loaders.splice(r,1)[0],a=ql(bbn.env.loadersHistory,{key:e,start:i.start});return a&&(a.loading=!1,a.duration=(new Date).getTime()-i.start,"string"==typeof n?(a.errorMessage=n,a.error=!t,a.abort=t):rl(n)&&(a.success=!0)),!0}return!1}function Kl(e){let n=Yl(bbn.env.loaders,{key:e});return n>-1?bbn.env.loaders[n]:null}function Vl(e,n,t=null,r="=",i=0){if(!il(e))try{e=Array.from(e)}catch{throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array")}let a={};const o=[],s="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)a=n;else if("string"==typeof n)a[n]=t;else if(!s)throw new Error("Search function error: The prop argument should be a string or an object");let u;u="function"==typeof n?n:(e,n)=>Zl(e,a);for(let n=0;n<e.length&&(bbn.env._enumerated.push(!0),!(u(e[n],n)&&(bbn.env._enumerated.pop(),o.push(e[n]),bbn.env._enumerated.push(!0),i&&o.length>=i)));n++)bbn.env._enumerated.pop();return o}function $l(e){if(kl(e)){bbn.data.colors||(bbn.data.colors={});let n=document.createElement("style");document.head.appendChild(n);let t=n.sheet,r=0;tl(e,(e,n)=>{bbn.data.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 Jl(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&&tl(n,(n,i)=>{let a=t?`${t}[${i}]`:i;n instanceof Date?r(a,n.toISOString()):n instanceof Array?n.forEach((n,t)=>{const i=`${a}[${t}]`;"object"==typeof n?Jl(e,n,i):r(i,n.toString())}):"object"!=typeof n||n instanceof File?r(a,n.toString()):Jl(e,n,a)})}}function Ql(e,n){let t=0;sl(n,n=>{n.style[e]="auto"}),sl(n,(n,r)=>{let i=n.getBoundingClientRect(),a=i[e]%1?i[e]-i[e]%1+1:i[e];a>t&&(t=a)}),sl(n,(n,r)=>{t&&(n.style[e]=t+"px")})}function Xl(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function ed(e,n,t,r=""){return t.toString().replace(rl(e)?e:new RegExp(Xl(e),"g"+r),n)}function nd(e,n,t){let r={};return n&&tl(n,(e,n)=>{-1===n.indexOf("_bbn")&&(r[n]=e)}),e+":"+Bl((t||"json")+JSON.stringify(r))}function td(e,n,t,r,i,a){if(null===n&&e&&"object"==typeof e&&e.url&&(e.abort&&(a=e.abort),e.failure&&(i=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=ed("//","/",e)),n||(n="json");let o=nd(e,t,n),s=Kl(o);if(s?.loader)return s.loader;bbn.env.token&&ul(t||{},{_bbn_token:bbn.env.token});const u=new AbortController;let c={responseType:n,signal:u.signal};"text"===n?c.headers={accept:"text/javascript","Content-Type":"text/javascript"}:"json"===n?c.headers={accept:"application/json","Content-Type":"application/json"}:"html"===n&&(c.headers={accept:"text/html","Content-Type":"text/html"});let l="get";rl(t)&&kl(t)>0&&(c.data=t,l="post");let d=Vc.run(l,e,c).then(n=>{if(Wl(o,n),bbn.fn.defaultEndLoadingFunction(e,m,t,n),200===n.status)Qc(r)&&r(n.data,n.headers);else{let e=1;Qc(i)&&(e=i(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n)}return n}).catch(n=>{let r=Vc.isCancel(n);if(Wl(o,n.message||n.response.data,r),bbn.fn.defaultEndLoadingFunction(e,m,t,n),r){let t=1;Qc(a)&&(t=a(n.message,e)),t&&bbn.fn.defaultAjaxAbortFunction(n.message,e)}else{let e=1;Qc(i)&&(e=i(d,n.message,n)),e&&bbn.fn.defaultAjaxErrorFunction(d,n.message,n.response)}return n.response}),m=El(o,d,u);return bbn.fn.defaultStartLoadingFunction(e,m,t,o),d}}const rd=new TextDecoder;function id(e){return rd.decode(e)}function ad(e,n){if(e&&$c(e)){let t=e.split("/").pop();if(!n)return t;let r=n.length;if(t&&el(t,-r)===n)return el(t,0,t.length-r)}return""}const od=[["y","year",31536e6],["m","month",2592e6],["w","week",6048e5],["d","day",864e5],["h","hour",36e5],["i","minute",6e4],["s","second",1e3],["x","millisecond",1]],sd={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"},ud={y:"YYYY",m:"MM",d:"DD",e:"EE",w:"WW",h:"HH",i:"II",s:"SS",x:"SSS",z:"Z"};function cd(...e){if(!e.length)return!1;for(let n of e)if(null!==n&&("object"==typeof n||"function"==typeof n))return!1;return!0}const ld=xc.ZonedDateTime.from("1970-01-01T00:00Z[UTC]");class dd{#e;#n;static fromUnit(e,n){const t=sd[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],i=new xc.Duration(...r);return new dd(i)}constructor(e,n,t,r,i,a,o,s,u){e instanceof xc.Duration?this.#e=e:this.#e="object"==typeof e?new xc.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 xc.Duration(e||0,n||0,t||0,r||0,i||0,a||0,o||0,s||0,0,0);const c=sd[u||""]||u;this.#n=c||"ms",ql(od,e=>e[0]===c),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 this.#e}#t(e,n){const t=this.#e;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:ld});return Math.floor(r)}years(e=!1){return this.#t("year",e)}months(e=!1){return this.#t("month",e)}weeks(e=!1){return this.#t("week",e)}days(e=!1){return this.#t("day",e)}hours(e=!1){return this.#t("hour",e)}minutes(e=!1){return this.#t("minute",e)}seconds(e=!1){return this.#t("second",e)}toJSON(){return this.value.toJSON()}asYears(){return this.#e.total({unit:"year",relativeTo:ld})}asMonths(){return this.#e.total({unit:"month",relativeTo:ld})}asWeeks(){return this.#e.total({unit:"week",relativeTo:ld})}asDays(){return this.#e.total({unit:"day",relativeTo:ld})}asHours(){return this.#e.total({unit:"hour",relativeTo:ld})}asMinutes(){return this.#e.total({unit:"minute",relativeTo:ld})}asSeconds(){return this.#e.total({unit:"second",relativeTo:ld})}add(e,n){let t=this.#n;if(n)if(sd[n]){const e=ql(od,e=>e[0]===sd[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: "+(n??t));const i={[r]:e},a=this.#e.add(i);return new dd(a,void 0,void 0,void 0,void 0,void 0,void 0,void 0,this.#n)}subtract(e,n){return this.add(-e,n)}toMilliseconds(){const e=this.#e;return e.years||e.months||e.weeks||e.days?e.total({unit:"millisecond",relativeTo:ld}):e.total({unit:"millisecond"})}}class md{__bbnNoData=!0;__isBbnDt=!0;#e;isValid;defaultValue;constructor(e){Object.defineProperty(this,"isValid",{value:!0,writable:!1,configurable:!0}),this.#e=e;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 this.#e}get hasFullDate(){return!!this.value&&"year"in this.value&&"month"in this.value&&"day"in this.value}static systemTimeZoneId=xc.Now.timeZoneId();toEpochMs(){if("zoned"===this.kind){return this.value.toInstant().epochMilliseconds}const e=md.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=`${xc.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=xc.Now.plainDateISO();n=`${t.toPlainDate({year:r.year}).toString()}T00:00[${e}]`}}if(n){return xc.ZonedDateTime.from(n).toInstant().epochMilliseconds}throw new Error(`Unsupported kind '${this.kind}' in toEpochMs`)}static nowForKind(e){switch(e){case"zoned":return xc.Now.zonedDateTimeISO();case"dateTime":return xc.Now.plainDateTimeISO();case"date":return xc.Now.plainDateISO();case"time":return xc.Now.plainTimeISO();case"yearMonth":{const e=xc.Now.plainDateISO();return new xc.PlainYearMonth(e.year,e.month)}case"monthDay":{const e=xc.Now.plainDateISO();return new xc.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=xc.Now.timeZoneId();let i=t&&sd[t]?ql(od,e=>e[0]===sd[t])[1]:void 0;i=i?i+"s":void 0;const a=e=>e instanceof md,o=e=>a(e)?e.value:e,s=e=>{if(a(e))switch(e.kind){case"zoned":return e.value;case"dateTime":{const n=`${e.value.toString()}[${r}]`;return xc.ZonedDateTime.from(n)}case"date":{const n=`${e.value.toString()}T00:00[${r}]`;return xc.ZonedDateTime.from(n)}case"yearMonth":{const n=`${e.value.toPlainDate({day:1}).toString()}T00:00[${r}]`;return xc.ZonedDateTime.from(n)}default:throw new TypeError(`Cannot convert kind '${e.kind}' to ZonedDateTime for comparison`)}if(e instanceof xc.ZonedDateTime)return e;throw new TypeError("toZdt expects a bbnDt wrapper or ZonedDateTime")},u=o(e),c=o(n);if(u.constructor===c.constructor){const e=u.constructor,n=e.compare(u,c);if(void 0===i){if("function"!=typeof e.compare)throw new TypeError("This Temporal type has no static compare");return n}if("function"!=typeof u.until||"function"!=typeof u.since)throw new TypeError("This Temporal type does not support until/since");return u[1===n?"since":"until"](c,{smallestUnit:i,largestUnit:i,roundingMode:"floor"}).sign}const l=new Set(["zoned","dateTime","date","yearMonth"]);if(a(e)&&a(n)&&l.has(e.kind)&&l.has(n.kind)){const t=s(e),r=s(n),a=xc.ZonedDateTime.compare(t,r);if(void 0===i)return a;if("function"!=typeof t.until||"function"!=typeof t.since)throw new TypeError("ZonedDateTime does not support until/since");return t[1===a?"since":"until"](r,{smallestUnit:i,largestUnit:i,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 md.parse(e,n,t||this.kind)}compare(e,n){return e instanceof md||(e=bbn.dt(e,null,this.kind)),md.compare(this,e,n)}add(e,n){if(this.value){if(this.value instanceof xc.PlainMonthDay||"function"!=typeof this.value.add)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof dd){const n=this.value.add(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new dd(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=dd.fromUnit(e,n),r=this.value.add(t.value);return new this.constructor(r)}}}subtract(e,n){if(this.value){if(this.value instanceof xc.PlainMonthDay||"function"!=typeof this.value.subtract)throw new TypeError("This Temporal type does not support add/subtract");if(e instanceof dd){const n=this.value.subtract(e.value);return new this.constructor(n)}if("object"==typeof e){const n=new dd(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=dd.fromUnit(e,n),r=this.value.subtract(t.value);return new this.constructor(r)}}}duration(e,n){return dd.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(this.#e&&"toZonedDateTime"in this.#e){const e=this.#e.toZonedDateTime(md.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()}[${md.systemTimeZoneId}]`;return xc.ZonedDateTime.from(e).timeZoneId}{const n=`${this.value.toString()}[${e}]`,t=xc.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)&&parseInt(e)){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)&&parseInt(e)){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),i=t.getUTCDay();let a=(bbn.dt.locales.firstDayOfWeek-i+7)%7;const o=0===a?7:a;if(r<o)return 1;const s=r-o;return 2+Math.floor(s/7)}get YYYY(){if(this.value&&"year"in this.value)return this.year().toString()}get YY(){if(this.value&&"year"in this.value)return el(this.year().toString(),2,2)}get MMMM(){if(this.value&&"month"in this.value)return bbn.dt.locales.monthsLong[this.month()-1]}get MMM(){if(this.value&&"month"in this.value)return bbn.dt.locales.monthsShort[this.month()-1]}get MM(){if(this.value&&"month"in this.value){const e=parseInt(this.month().toString());return e<10?"0"+e.toString():e.toString()}}get M(){if(this.value&&"month"in this.value)return this.month().toString()}get EE(){if(this.value&&"dayOfWeek"in this.value)return this.value.dayOfWeek.toString()}get DD(){if(this.value&&"day"in this.value){const e=parseInt(this.day().toString());return e<10?"0"+e.toString():e.toString()}}get d(){if(this.value&&"day"in this.value)return this.day().toString()}get dddd(){if(this.value&&"dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"long")}get ddd(){if(this.value&&"dayOfWeek"in this.value)return this.getWeekday(this.value.dayOfWeek,"short")}get D(){if(this.value&&"day"in this.value)return this.day().toString()}get HH(){if(this.value&&"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 this.value&&"hour"in this.value?this.hour().toString():this.hasFullDate?"0":void 0}get II(){if(this.value&&"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(this.value&&"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 this.value&&"minute"in this.value?this.minute().toString():this.hasFullDate?"0":void 0}get SS(){if(this.value&&"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(this.value&&"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 this.value&&"second"in this.value?this.second().toString():this.hasFullDate?"0":void 0}get WW(){if(this.value&&"weekOfYear"in this.value)return this.value.weekOfYear.toString().padStart(2,"0")}get W(){if(this.value&&"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(sd).join("|")+")","g");let r=0;sl(e.split(t),e=>{if("["!==e)if("]"!==e)if(r>0)n+=e;else if(e in sd)if(e in this&&cd(this[e]))n+=this[e];else{n+=this[ud[sd[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"),i=t.diff(r,"day"),a={numeric:"auto"};e&&(a.style="short");const o=new Intl.RelativeTimeFormat(bbn.env.lang,a);let s="",u=[],c="";if(i>=-1&&i<=1)u=o.formatToParts(i,"day");else if(i>=-6&&i<-1)c=this.dddd+", ",u=o.formatToParts(i,"day");else{if(!(i<=6&&i>1))return this.fdate();c=this.dddd,u=[]}return bbn.fn.each(u,e=>{s+=e.value}),`${c}${s} ${this.ftime()}`}matchFormat(e,n){try{return this.parse(e,n),!0}catch{return!1}}getWeekday(e,n="long",t){if(!n){const n=this.getWeekday(e,"narrow",t),r=this.getWeekday(e,"short",t),i=this.getWeekday(e,"long",t);return{letter:n,abbr:r,full:i,long:i,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})}getWeekdayIndex=(e,n)=>{const t=n||bbn.env.lang,r=e.trim().toLowerCase(),i=[t,...navigator.languages];for(let e=0;e<i.length;e++){if(!i[e])continue;const n=new Intl.DateTimeFormat(i[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}'`)};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 i=this.weekday();let a;return n?(a=(i-r+7)%7,0===a&&(a=7),a=-a):(a=(r-i+7)%7,0===a&&(a=7)),this.add(a,"d")}diff(e,n="",t=!1){let r;if(e instanceof md)r=e.toEpochMs();else if(e instanceof xc.ZonedDateTime||e instanceof xc.PlainDateTime||e instanceof xc.PlainDate||e instanceof xc.PlainTime||e instanceof xc.PlainYearMonth||e instanceof xc.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 i=this.toEpochMs()-r;if(t&&(i=Math.abs(i)),!n)return i;const a=sd[n]||n,o=ql(od,e=>e[0]===a);if(!o)throw new Error("Invalid unit for diff: "+n);const[,,s]=o,u=i/s;return u<0?Math.ceil(u):Math.floor(u)}guessUnit(e){const n=Math.abs(e);for(const[e,t,r]of od)if(n>=r||"millisecond"===t)return e;return null}fromNow(e=""){md.nowForKind(this.kind);const n=bbn.dt(void 0,null,this.kind),t=this.diff(n),r=sd[e]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromNow");let i=this.diff(n,r);const a=new Intl.RelativeTimeFormat([bbn.env.lang,...navigator.languages],{numeric:"auto"}),o=ql(od,e=>e[0]===r);if(!o)throw new Error("Invalid unit for fromNow: "+e);let[,s]=o;return"millisecond"===s&&(s="second",i=Math.round(i/1e3)),bbn.fn.log("FROM NOW",i,s,a),a.format(i,s)}from(e,n=""){const t=this.diff(e),r=sd[n]||this.guessUnit(t);if(!r)throw new Error("Cannot guess unit for fromDate");const i=this.diff(e,r),a=r;return i>0?Zc("%d %s before",i,a):i<0?Zc("%d %s after",-i,a):Zc("The same %s",a)}startOf(e="d"){const n=sd[e]||e;if(!n)throw new Error("Invalid unit for startOf: "+e);let t=this.value;const r=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(n){case"y":if(!("year"in t))throw new Error('startOf("y") only valid for year-based types');t=r(t.with({month:1,day:1}));break;case"m":if(!("month"in t))throw new Error('startOf("m") only valid for month-based types');t=r(t.with({day:1}));break;case"w":{const e="toPlainDate"in t?t.toPlainDate():t,n=e.dayOfWeek-1,i=e.subtract({days:n});t="toPlainDateTime"in t?r(i.toPlainDateTime(t.toPlainTime?.()??xc.PlainTime.from("00:00"))):i;break}case"d":t=r(t);break;case"h":t=t.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"i":t=t.with({second:0,millisecond:0,microsecond:0,nanosecond:0});break;case"s":t=t.with({millisecond:0,microsecond:0,nanosecond:0});break;default:throw new Error("Invalid unit for startOf: "+e)}return this.withValue(t)}endOf(e="d"){const n=xc.Now.timeZoneId(),t=sd[e]||e;let r,i=(()=>{switch(this.kind){case"zoned":return this.value;case"dateTime":{const e=`${this.value.toString()}[${n}]`;return xc.ZonedDateTime.from(e)}case"date":{const e=`${this.value.toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(e)}case"time":{const e=this.value,t=`${xc.Now.plainDateISO().toString()}T${e.toString()}[${n}]`;return xc.ZonedDateTime.from(t)}case"yearMonth":{const e=`${this.value.toPlainDate({day:1}).toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(e)}case"monthDay":{const e=this.value,t=xc.Now.plainDateISO(),r=`${e.toPlainDate({year:t.year}).toString()}T00:00[${n}]`;return xc.ZonedDateTime.from(r)}default:throw new Error("Unsupported kind in endOf")}})(this.value);switch(t){case"y":r=i.with({month:1,day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({years:1});break;case"m":r=i.with({day:1,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({months:1});break;case"w":{const e=-(i.toPlainDate().dayOfWeek-1);r=i.add({days:e}).with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({weeks:1});break}case"d":r=i.with({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({days:1});break;case"h":r=i.with({minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}).add({hours:1});break;case"i":case"n":case"min":r=i.with({second:0,millisecond:0,microsecond:0,nanosecond:0}).add({minutes:1});break;case"s":r=i.with({millisecond:0,microsecond:0,nanosecond:0}).add({seconds:1});break;default:throw new Error("Invalid unit for endOf: "+e)}const a=r.subtract({milliseconds:1});switch(this.kind){case"zoned":return this.withValue(a);case"dateTime":return this.withValue(a.toPlainDateTime());case"date":return this.withValue(a.toPlainDate());case"time":return this.withValue(a.toPlainTime());case"yearMonth":{const e=a.toPlainDate();return this.withValue(new xc.PlainYearMonth(e.year,e.month))}case"monthDay":{const e=a.toPlainDate();return this.withValue(new xc.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}return 0}valueOf(){return this.unix(!0)}}class fd extends md{kind="dateTime";constructor(e,n,t,r,i,a,o){let s;if(e)if(void 0===n)if(e instanceof xc.PlainDateTime)s=e;else if(e instanceof Date)s=new xc.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=xc.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(md.systemTimeZoneId).toPlainDateTime()}else s=new xc.PlainDateTime(e,n,t||1,r||0,i||0,a||0,o||0);else s=xc.PlainDateTime.from(xc.Now.plainDateTimeISO());super(s)}format(e){return[!0,"long","full"].includes(e)&&(e=ql(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long",hour:"2-digit",minute:"2-digit",second:void 0}).pattern),e||(e=ql(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:void 0}).pattern),md.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()),i={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],i).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 hd extends md{kind="date";constructor(e,n,t){let r;if(e)if(void 0===n)if(e instanceof xc.PlainDate)r=e;else if(e instanceof Date)r=new xc.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 xc.PlainDate(n.getFullYear(),n.getMonth()+1,n.getDate())}}else r=new xc.PlainDate(e,n,t||1);else r=xc.PlainDate.from(xc.Now.plainDateISO());super(r)}compareSameKind(e){const n=xc.PlainDate.compare(this.value,e.value);return n<0?-1:n>0?1:0}format(e){return!0===e&&(e=ql(bbn.dt.locales.date,{year:"numeric",month:"long",day:"long",weekday:"long"}).pattern),e||(e=ql(bbn.dt.locales.date,{year:"numeric",month:"numeric",day:"numeric"}).pattern),md.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={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 yd extends md{kind="zoned";constructor(e,n,t,r,i,a,o,s){let u;if(e)if(void 0===n)if(e instanceof xc.ZonedDateTime)u=e;else if(e instanceof Date)u=function(e,n=!1,t=xc.Now.timeZoneId()){const r=xc.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");u=xc.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone)}else{u=new xc.PlainDateTime(n,t,r||1,i||0,a||0,o||0,s||0).toZonedDateTime(e||xc.Now.timeZoneId())}else u=xc.Now.zonedDateTimeISO(Intl.DateTimeFormat().resolvedOptions().timeZone);super(u)}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()),i={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],i).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 Md extends md{kind="yearMonth";constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof xc.PlainYearMonth)t=e;else if(e instanceof Date)t=new xc.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 xc.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}}else t=new xc.PlainYearMonth(e,n);else{const e=new Date;t=new xc.PlainYearMonth(e.getFullYear(),e.getMonth()+1)}super(t)}format(e){return!0===e&&(e=ql(bbn.dt.locales.date,e=>"numeric"===e.year&&"long"===e.month&&!("day"in e)).pattern),e||(e=ql(bbn.dt.locales.date,e=>"numeric"===e.year&&"numeric"===e.month&&!("day"in e)).pattern),md.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),i={year:"numeric",month:e?"long":"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],i).format(r)}}class gd extends md{kind="monthDay";constructor(e,n){let t;if(e)if(void 0===n)if(e instanceof xc.PlainMonthDay)t=e;else if(e instanceof Date)t=new xc.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 xc.PlainMonthDay(n.getMonth()+1,n.getDate())}}else t=new xc.PlainMonthDay(e,n);else{const e=new Date;t=new xc.PlainMonthDay(e.getMonth()+1,e.getDate())}super(t)}fdate(e=!1,n=!1,t=!1){if(!this.value)return"";const r=new Date(2e3,this.month()-1,this.day()),i={month:e?"long":"numeric",day:"numeric"};return new Intl.DateTimeFormat([bbn.env.lang,...navigator.languages],i).format(r)}}function pd(e,n,t){let r="";const i=e.some(e=>"dayPeriod"===e.type),a=i||"h12"===n||"h11"===n,o=!!t.weekday,s="short"===t.month||"long"===t.month,u="numeric"===t.year&&"numeric"===t.month&&"numeric"===t.day&&!o&&!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(u){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(u){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+=a?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 wd=()=>{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"}),i=new Intl.DateTimeFormat(e,{weekday:"short"}),a=new Intl.DateTimeFormat(e,{dateStyle:"short",timeStyle:"short"}),o=new Intl.DateTimeFormat(e,{dateStyle:"long",timeStyle:"long"}),s=new Intl.DateTimeFormat(e,{year:"numeric",month:"numeric",day:"numeric"}),u=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),c=new Intl.Locale(e[0]),l=[],d=[];for(let e=0;e<12;e++){const r=new Date(2020,e,1);l.push(n.format(r)),d.push(t.format(r))}const m=new Date(2020,1,2),f=[],h=[];for(let e=0;e<7;e++){const n=new Date(m.getTime()+864e5*e);f.push(r.format(n)),h.push(i.format(n))}const{date:y,time:M,datetime:g}=(e=>{e||(e=[bbn.env.lang,...navigator.languages]);const n=new Date(Date.UTC(2e3,0,2,13,45,30)),t=[],r=[],i=[],a=new Set,o=new Set,s=new Set,u=[{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"}],c=[];for(const r of u){const i=new Intl.DateTimeFormat(e,r),o=pd(i.formatToParts(n),i.resolvedOptions().hourCycle,r);a.has(o)||(a.add(o),t.push({pattern:o,sample:i.format(n),options:r})),r.year&&r.month&&r.day&&c.push(r)}const l=[{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 l){const i=new Intl.DateTimeFormat(e,t),a=pd(i.formatToParts(n),i.resolvedOptions().hourCycle,t);o.has(a)||(o.add(a),r.push({pattern:a,sample:i.format(n),options:t}))}for(const t of c)for(const r of l){const a={...t,...r},o=new Intl.DateTimeFormat(e,a),u=pd(o.formatToParts(n),o.resolvedOptions().hourCycle,a);s.has(u)||(s.add(u),i.push({pattern:u,sample:o.format(n),options:a}))}return{date:t,time:r,datetime:i}})(e),p=c.getWeekInfo?c.getWeekInfo():{firstDay:1};ul(bbn.dt.locales,{formatters:{short:a,long:o,numeric:s,relative:u},firstDayOfWeek:p.firstDay,monthsLong:l,monthsShort:d,weekdaysLong:f,weekdaysShort:h,locale:c,date:y,time:M,datetime:g})};class vd extends md{kind="time";constructor(e,n,t,r){let i;if(e)if(void 0===e)if(e instanceof xc.PlainTime)i=e;else if(e instanceof Date)i=new xc.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)i=new xc.PlainTime(e,n,t||0,r||0);else{const n=new Date(e);i=new xc.PlainTime(n.getHours(),n.getMinutes(),n.getSeconds(),1e6*n.getMilliseconds())}}else i=new xc.PlainTime(e,n||0,t||0,r||0);else{const e=new Date;i=new xc.PlainTime(e.getHours(),e.getMinutes(),e.getSeconds(),1e6*e.getMilliseconds())}super(i)}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 bd=function(e,n){try{return n?e.toLocaleLowerCase(n):e.toLowerCase()}catch{return e.toLowerCase()}};function _d(e,n,t="auto",r,i){wd();const a=xc;if(!a)throw new Error("Temporal API is required (load @js-temporal/polyfill)");let o=!0;i||(i=bbn?.dt?.locales||{});const s={monthsLong:i?.monthsLong??bbn.dt.locales.monthsLong,monthsShort:i?.monthsShort??bbn.dt.locales.monthsShort,weekdaysLong:i?.weekdaysLong??bbn.dt.locales.weekdaysLong,weekdaysShort:i?.weekdaysShort??bbn.dt.locales.weekdaysShort},u=bbn?.env&&bbn.env?.lang||bbn?.dt&&bbn.dt?.locale||Intl.DateTimeFormat().resolvedOptions().locale,c=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function l(n,t="auto"){const i=new fd,l={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},d="auto"===t,m="zoned"===t.toLowerCase(),f="datetime"===t.toLowerCase(),h="date"===t.toLowerCase(),y="time"===t.toLowerCase(),M="yearmonth"===t.toLowerCase(),g="monthday"===t.toLowerCase(),p=[{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=bd(e,u),r=s.monthsLong.findIndex(e=>bd(e,u)===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=bd(e,u),r=s.monthsShort.findIndex(e=>bd(e,u)===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=bd(e,u),r=s.weekdaysLong.findIndex(e=>bd(e,u)===t);if(-1===r)throw new Error("Invalid weekday name: "+e);n.weekday=r}},{token:"ddd",regex:"[^\\d\\s]+",apply:(e,n)=>{const t=bd(e,u),r=s.weekdaysShort.findIndex(e=>bd(e,u)===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),i=parseInt(r.slice(0,2),10),a=parseInt(r.slice(2),10);if(i<0||i>23||a<0||a>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*i+a)}},{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),[i,a]=r.split(":");let o=parseInt(i,10),s=parseInt(a,10);if(o<0||o>23||s<0||s>59)throw new Error("Invalid timezone offset: "+e);n.offsetMinutes=t*(60*o+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=[...p].sort((e,n)=>n.token.length-e.token.length);let v="";const b=[];let _=0,E=0;for(;_<n.length;){if("["===n[_]){let e=_+1,t="";for(;e<n.length&&"]"!==n[e];)t+=n[e],e++;if(e<n.length&&"]"===n[e]){const n=t.replace(/\\]/g,"]");v+=c(n),_=e+1;continue}}let e=null;for(const t of w)if(n.startsWith(t.token,_)){e=t;break}e?(v+=`(${e.regex})`,E=v.length,e.apply?b.push(n=>e.apply(n,l)):b.push(()=>{}),_+=e.token.length):(v+=c(n[_]),_+=1)}const T=new RegExp("^"+bbn.fn.substr(v,0,E));let D=T.exec(e);if(!D){if(!r)throw new Error(`Date string "${e}" does not match format "${n}"`);{const t=new fd(i.year(),1,1,0,0,0,0);e=t.format(n),o=!1,D=T.exec(e)}}if(D)for(let e=1;e<D.length;e++){const n=D[e],t=b[e-1];null!=n&&t&&t(n)}if(l.uses12Hour){if(!l.hasAmPm)throw new Error("AM/PM marker (A or a) is required with 12-hour format (hh)");let e=l.hour;l.isPM?e<12&&(e+=12):12===e&&(e=0),l.hour=e}const S=l.hasYear||l.hasMonth||l.hasDay,A=l.hasYear&&l.hasMonth&&l.hasDay,k=l.hasYear&&l.hasMonth&&!l.hasDay,C=!l.hasYear&&l.hasMonth&&l.hasDay,N=l.hasHour||l.hasMinute||l.hasSecond||l.hasMs,P=null!=l.timeZone||null!=l.offsetMinutes;let z;if(m||P&&d){let e;try{e=new a.PlainDateTime(l.year,l.month,l.day,l.hour,l.minute,l.second,1e6*l.ms)}catch{throw new Error("Invalid date/time components")}if(l.timeZone){const n=a.TimeZone.from(l.timeZone),t=e.toZonedDateTime(n);z=new yd(t)}else{const e=Date.UTC(l.year,l.month-1,l.day,l.hour,l.minute,l.second,l.ms)-6e4*(l.offsetMinutes??0);z=new yd(a.Instant.fromEpochMilliseconds(e).toZonedDateTimeISO(a.Now.timeZoneId()))}}else if(f||d&&(o||S&&N)){if(!A&&!o)throw new Error("PlainDateTime requires year, month and day");const e=new a.PlainDateTime(l.year,l.month,l.day,l.hour,l.minute,l.second,1e6*l.ms);z=new fd(e)}else if(h||M||g||d&&S&&!N)if(h||A&&d){const e=new a.PlainDate(l.year,l.month,l.day);z=new hd(e)}else if(M||k&&d){const e=new a.PlainYearMonth(l.year,l.month);z=new Md(e)}else if(g||C&&d){const e=new a.PlainMonthDay(l.month,l.day,1972);z=new gd(e)}else{if(!d||!l.hasYear)throw new Error("Not enough date components for a known Temporal type");{const e=new a.PlainDate(l.year,1,1);z=new hd(e)}}else{if(!(y||d&&!S&&N))throw new Error("No date or time information found in input");{const e=new a.PlainTime(l.hour,l.minute,l.second,1e6*l.ms);z=new vd(e)}}return z.setValid(o),z}if(Array.isArray(n)){let e=null;for(const r of n)try{return l(r,t)}catch(n){e=n}throw e??new Error("No format matched")}return l(n,t)}const Ed=["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 Td(e,n,t){const r=e.trim();if(!r)return null;wd();const i=e=>{for(const n of e)try{return _d(r,n),n}catch{}return null};if(n){return i(Array.isArray(n)?n:[n])}const a=new Set,o=Ed.filter(e=>!a.has(e)&&(a.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=>!a.has(e)&&(a.add(e),!0)),u=i([...o,...s]);return u||null}const Dd=(e,n=null,t="auto")=>{if(void 0===e)return new fd;if(!e){const e=new fd;return e.setValid(!1),e}if("string"==typeof e){if(n)return _d(e,n,t,!0);{const n=Td(e);if(n)return _d(e,n,t);throw new Error(Zc("Could not guess the date format for value: %s",e))}}if("number"==typeof e)return new fd(Math.floor(Math.abs(e)<99999999999?1e3*e:e));if(e.__isBbnDt)return e;if(e instanceof Date){const n=e;return new fd(n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())}if(e instanceof xc.PlainDateTime)return new fd(e);if(e instanceof xc.PlainDate)return new hd(e);if(e instanceof xc.PlainTime)return new yd(e);if(e instanceof xc.PlainYearMonth)return new Md(e);if(e instanceof xc.PlainMonthDay)return new gd(e);if(e instanceof xc.ZonedDateTime)return new yd(e);if(e instanceof xc.Duration)return new dd(e);throw bbn.fn.log("Invalid date value",e),new Error(Zc("Invalid date value"))};function Sd(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"}),Xc.apply(this,e)}throw new Error(e)}function Ad(e,n=null,t=null,r=null,i=null){let a=!1;if(n){a=!0;let o,s="object"===(typeof n).toLowerCase();if(s&&n.prescript)try{new Function(n.prescript)()}catch(e){Sd(e.message||"")}if(s&&void 0===n.url&&(n.url=e),a=t&&Qc(t)?t(n,i):bbn.fn.defaultLinkFunction(n,i),i&&s&&void 0!==n.content&&("value"in i?i.value=n.content:i.innerHTML=n.content),a&&s&&n.script&&(a="function"==typeof n.script?n.script(n.data?n.data:{},i||null):((e,t)=>{let r=null;try{r=new Function(n.script)(),Qc(r)&&(r=r(e,t))}catch(e){Xc(e,n),Sd(Qc(e.getMessage)?e.getMessage():null)}return r})(n.data?n.data:{},i||!1)),a&&r&&Qc(r)?r(n):s&&bbn.fn.defaultPostLinkFunction&&bbn.fn.defaultPostLinkFunction(n,i),a&&s&&n.postscript){new Function(n.postscript)(n.postscript)}s&&n.error&&(o=n.errorTitle||bbn.lng.server_response,bbn.fn.defaultErrorFunction(n.error,o))}else bbn.fn.defaultErrorFunction(bbn.lng.errorText,bbn.lng.error);return a}function kd(e,n,t=!1){let r={error:!1,result:!0};if("string"==typeof n&&(n=[n]),il(n)||(r.error=bbn._("checkProps must receive a string or an array as props argument")),rl(e)||(r.error=bbn._("checkProps must receive an object as obj argument")),!r.error){let i;sl(n,n=>{let a=(n=n.trim().split(":"))[1]||!1;if(n=n[0],void 0===e[n]?r.error=n+" "+bbn._("is not defined"):a?(i="is"+el(a,0,1).toUpperCase()+el(a,1).toLowerCase(),void 0===bbn.fn[i]?r.error=a+" "+bbn._("is not a valid type"):bbn.fn[i](e[n])||(r.error=n+" "+bbn._("is not a")+" "+a)):t&&!e[n]&&(r.error=n+" "+bbn._("is empty")),r.error)return!1})}return r.error&&(r.result=!1),r}function Cd(e){return e.replace(/[A-z]{1}/,e=>e.toUpperCase())}function Nd(e,n,t,...r){let i=!1;il(n)||(n=[n]);const a=[];if(sl(n,n=>{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"),Qc(n)){if(a.push(n.name||n.constructor?.name||n.toString()),e instanceof n)return i=!0,!1}else if($c(n)&&Qc(bbn.fn["is"+Cd(n)])){if(bbn.fn["is"+Cd(n)](e))return i=!0,!1;a.push(n)}else Sd(`The type ${n} is not recognized`)}),!i)throw Xc(["Value given",e,"type",typeof e,"expected",a.join(" or ")]),r.length&&Xc(r),new Error((t?t+" - ":"")+bbn._("The value should be a %s",a.join(" "+bbn._("or a")+" ")))}function Pd(e){if(il(e))return e.slice().map(e=>"object"==typeof e?Pd(e):e);if(rl(e)){return ul(!0,Object.create(Object.getPrototypeOf(e)),e)}return e}Dd.locales=Object.create(null),wd(),Dd.parse=_d,Dd.guessFormat=Td,Dd.time=()=>{},Dd.date=()=>{},Dd.dateTime=()=>{},Dd.duration=(e,n)=>e instanceof xc.Duration?new dd(e):dd.fromUnit(e,n||"ms"),Dd.zoned=()=>{},Dd.monthDay=()=>{},Dd.yearMonth=()=>{};const zd=(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 Id(e,n,t=null,r="="){if(!il(e))throw bbn.fn.log("NOT ARRAY",e),new Error("Error in filter: The first argument must be an array");let i={};const a=[],o="function"==typeof n;if(!n||!e.length)return e;if("object"==typeof n)r=t,i=n;else if("string"==typeof n)i[n]=t;else if(!o)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)&&a.push(e[t]);else if(i=Ul(i,r),i.conditions&&i.logic)for(let n=0;n<e.length;n++)Zl(e[n],i)&&a.push(e[n]);return a}const Hd=[];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;Hd.push(n)}function Fd(...e){const n=Object.create(null);return e.length&&ul(n,...e),n}function Od(e){let n=typeof e;if(void 0===e)return new Date;if("number"===n||al(e)&&""!==e)return e<1e10&&(e*=1e3),new Date(e);if("string"===n){if(10===e.length)return new Date(parseInt(el(e,0,4)),parseInt(el(e,5,2))-1,parseInt(el(e,8,2)),12);if(19===e.length)return new Date(parseInt(el(e,0,4)),parseInt(el(e,5,2))-1,parseInt(el(e,8,2)),parseInt(el(e,11,2)),parseInt(el(e,14,2)),parseInt(el(e,17,2)))}else if(Sl(e))return e;return!1}function Ld(e,n=""){Xc(e)}function Gd(e,n=null,t=null){Xc(n,t)}function Bd(e,n,t=null,r=null){return!0}function xd(...e){if(!e.length)return!1;for(let n of e)if("object"==typeof n&&!Nl(n))return!1;return!0}let Rd=[];function jd(e){if($c(e)&&e){for(;"/"===el(e,e.length-1);)e=el(e,0,e.length-1);let n=e.lastIndexOf("/");if(n>0)return el(e,0,n);if(0===n)return"/"}return""}function Zd(...e){if(!e.length)return!1;for(let n of e)if("[object Blob]"!=={}.toString.apply(n))return!1;return!0}function Ud(e){if(e&&$c(e)){let n=e.split(".");if(n[0]&&n.length>1)return n[n.length-1].toLowerCase()}return""}function Yd(...e){if(!e.length)return!1;for(let n of e)if(!(n instanceof HTMLCanvasElement))return!1;return!0}function qd(e,n,t=null){if(Yd(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=rl(n)&&n.type?n.type:"octet/stream";let r=window.document.createElement("a");r.className="bbn-no";let i=null;if($c(n))i=new Blob([n],{type:t});else try{i=n}catch(e){Xc(e)}r.href=window.URL.createObjectURL(i),r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(r.href),document.body.removeChild(r)}async function Wd(){window.scheduler?.yield?await window.scheduler.yield():await new Promise(requestAnimationFrame)}function Kd(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 Vd(e){let n,t,r=e.querySelectorAll("input[name],select[name],textarea[name],button[name]"),i={};return sl(r,(e,r)=>{if(t=Kd(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=ed("][",".",r),r=ed("[",".",r),r=ed("]","",r)),r.length>2&&r.indexOf("[]")===r.length-2)n=el(r,0,r.length-2),void 0===i[n]&&(i[n]=[]),i[n].push(t);else if(r.indexOf(".")>-1){let e,n=r.split(".");e=i;for(let r=0;r<n.length;r++)void 0===i[n[r]]&&(r<n.length-1?e[n[r]]={}:e[n[r]]=t),e=e[n[r]]}else i[r]=t}}),i}function $d(e){return e.filter((e,n,t)=>n===t.indexOf(e))}function Jd(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 Qd(e){0!==e.indexOf("--")&&(e="--"+e);let n=getComputedStyle(document.documentElement).getPropertyValue(e);return"string"==typeof n&&(n=n.trim()),n}function Xd(){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 em(){let e,n=window.getSelection();if(n.rangeCount>0){e=n.getRangeAt(0),Xc("RANGE",e);let t=e.cloneContents();Xc("clonedSelection",t);let r=document.createElement("div");return r.appendChild(t),r.innerHTML}return""}function nm(e){return $c(e)?e.replace(/<!--[\s\S]*?-->/g,""):e}function tm(e){let n=document.createElement("div");return n.innerHTML=e,e=n.innerText}function rm(e){let n=document.createElement("canvas");return n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0),n}function im(e){let n,t={};if(rl(e[0])&&1===e.length)return e[0];for(let r=0;r<e.length;r++)n=typeof e[r],n=n.toLowerCase(),Qc(e[r])?(t.errorFn&&!t.abortFn&&(t.abortFn=e[r]),t.successFn&&!t.errorFn?t.errorFn=e[r]:t.successFn||(t.successFn=e[r])):1===e[r]||!0===e[r]?t.force=!0:"string"===n?t.url?t.datatype=e[r]:(t.url=e[r],0===t.url.indexOf(bbn.env.root)&&(t.url=el(t.url,bbn.env.root.length))):e[r]&&"object"===n&&(e[r]instanceof Event?t.e=e[r]:t.ele||1!==e[r].nodeType?"object"===n.toLowerCase()&&(t.obj=e[r]):t.ele=e[r]);return!t.url&&kl(t)&&(t.url=bbn.env.path),void 0===t.obj&&(t.obj={_bbn:"public"}),t.datatype||(t.datatype="json"),t}function am(e,n,t=null,r=!1){bbn.env.old_path=bbn.env.path,bbn.env.url=["https:/","http://"].includes(el(e,0,7))?e:bbn.env.root+e;const[i,a]=bbn.env.url.split("?"),o=a?a.split("&").reduce((e,n)=>{const[t,r]=n.split("=");return e[t]=r,e},{}):{};bbn.env.getParameters=o,bbn.env.path=el(i,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e);let s=window.history;if(s){let e=s.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&&ul(i.data,e.data),e.title&&!n&&(n=e.title),r=!0),n=n?tm(n):bbn.env.siteTitle,r?(i.reload=!0,s.replaceState(i,n,bbn.env.url)):s.pushState(i,n,bbn.env.url)}}function om(...e){let n=im(e),t=1;if(n){if(0===n.url.indexOf("javascript:"))return!0;if(0===n.url.indexOf("data:"))return!0;if(0===n.url.indexOf("#"))return n.e&&n.e.preventDefault(),document.location.hash=n.url.substring(1),!1;if(0===n.url.indexOf("mailto:"))return bbn.env.ignoreUnload=!0,window.location.href=n.url,setTimeout(()=>{bbn.env.ignoreUnload=!1},0),!1;if(Kl(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.e&&n.e.preventDefault(),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?(ul(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 td(n.url,n.datatype,n.obj,t=>{t||Xc(e+bbn._("returned no answer")),rl(t)&&(0===Object.keys(t).length&&Xc(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)),Ad(n.url,t,n.successFn,null,n.ele)&&void 0===t.noNav&&0!==(bbn.env?.path||"").indexOf(n.url)&&am(n.url,(t.title?t.title+" - ":"")+bbn.env.siteTitle)},n.errorFn||null)}}return!0}}function sm(){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(Qd("mobile-limit"))||650,r="bbn-screen-"+(bbn.env.width<t?"small":"regular"),i=(document.body.className||"").split(" "),a=!1;sl(i,(e,n)=>{if(3===e.split("-").length&&0===e.indexOf("bbn-screen-"))return a=!0,e!==r&&i.splice(n,1,r),!1}),a||i.push(r),bbn.fn.defaultResizeFunction(),document.body.className=i.join(" ")}}function um(){return"mobile"===Xd()}function cm(){return"tablet"===Xd()}function lm(){return um()||cm()}function dm(e=!1){let n=(new Date).getTime();return e?Math.round(n/1e3):n}function mm(e){const n=String(e??"").split("-").filter(Boolean);if(!n.length)return{language:"und"};let t,r,i=n[0].toLowerCase();for(let e=1;e<n.length;e++){const i=n[e];t||4!==i.length?r||2!==i.length&&3!==i.length||(r=i.toUpperCase()):t=i[0].toUpperCase()+i.slice(1).toLowerCase()}return{language:i,script:t,region:r}}const fm=globalThis.document?Promise.resolve().then(function(){return zm}):{};function hm(e){const n=e.baseName??e.toString?.()??"und",{region:t}=mm(n),r=t&&fm[t]||{firstDay:1,weekend:[6,7],minimalDays:4};return{firstDay:r.firstDay,weekend:r.weekend.slice(),minimalDays:r.minimalDays}}function ym(){!function(){if("undefined"==typeof Intl)return;if("function"!=typeof Intl.Locale){class e{_tag;_language;_script;_region;minimize;maximize;constructor(e){const n=Array.isArray(e)?e[0]:e,t=String(n??"und"),r=mm(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 hm(this)}get weekInfo(){return hm(this)}}Intl.Locale=e}const e=Intl.Locale.prototype;"function"!=typeof e.getWeekInfo&&(e.getWeekInfo=function(){return hm(this)}),Object.getOwnPropertyDescriptor(e,"weekInfo")||Object.defineProperty(e,"weekInfo",{configurable:!0,enumerable:!0,get(){return"function"==typeof this.getWeekInfo?this.getWeekInfo():hm(this)}})}()}async function Mm(){const e=[];"undefined"!=typeof Intl&&"function"==typeof Intl.RelativeTimeFormat||e.push((async()=>{await Promise.resolve().then(function(){return mg}),await Promise.resolve().then(function(){return hg})})()),function(){if("undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat)return!0;try{return new Intl.DateTimeFormat("en",{dateStyle:"medium"}),!1}catch{return!0}}()&&e.push((async()=>{await Promise.resolve().then(function(){return Ep}),await Promise.resolve().then(function(){return Tp})})()),e.length>0&&await Promise.all(e),ym()}const gm=()=>{bbn.env.last_focus=bbn.dt().unix()},pm=e=>{if(gm(),"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}n instanceof HTMLElement&&n.hasAttribute("href")&&!n.hasAttribute("target")&&!n.classList.contains("bbn-no")&&(Xc("Link clicked: "+n.getAttribute("href")),om(n.getAttribute("href"),e))};function wm(e){if("string"==typeof e&&e.length>0&&(0===e.indexOf("calc")||al(el(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 vm(...e){if(!e.length)return!1;for(let n of e)if(!$c(n)||!bbn.data.regexp.ip.test(n))return!1;return!0}function bm(...e){if(!e.length)return!1;for(let n of e)if("[object Symbol]"!=={}.toString.apply(n))return!1;return!0}function _m(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"}),Xc.apply(this,n)}function Em(e,n="",t=null){let r=new FormData,i=(e,n="")=>{(!t||il(t)&&!t.includes(n))&&(e instanceof File?r.append(n,e):il(e)?sl(e,(e,t)=>{i(e,n+"["+t+"]")}):rl(e)&&Object.keys(e).length?tl(e,(t,r)=>{r in e&&i(t,n?n+"["+r+"]":r)}):Nl(e)||void 0===e||r.append(n,e))};return i(e,n),r}function Tm(e){return"string"==typeof e?document.querySelector(e):e}function Dm(...e){let n=im(e);if(n.url)return td(n.url,n.datatype,n.obj,e=>{Ad(n.url,e,n.successFn,n.errorFn,n.ele)},n.errorFn,n.abortFn)}function Sm(e,n,t,r){if("object"==typeof e&&"string"==typeof n){let i=e;const a=n.split(".");sl(a,(e,n)=>{if(!i){if(!r)throw new Error(bbn._("The object is invalid"));i={}}a.length-1===n?i[e]=t:i=i[e]})}}function Am(e,n){return Math.floor(Math.random()*(n-e+1)+e)}function km(e,n=" "){if(" "===n)return e.trim();if(!n)return e;if(n===e)return"";for(;0===e.indexOf(n);)e=el(e,n.length);for(;e.lastIndexOf(n)===e.length-n.length;)e=el(e,0,e.length-n.length);return e}function Cm(e,n,t){return"string"==typeof e.toLowerCase()&&(n||(n=bbn.data.shortenLen),void 0!==t&&$c(t)||(t="..."),e.length>n&&(e=el(e,0,n)+t)),e}var Nm={_addLoader:El,_compareValues:Al,_deleteLoader:Wl,abort:function(e){let n=Kl(e);n?.aborter&&n.aborter.abort("Operation canceled by the user.")},abortURL:function(e){sl(Vl(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:$l,addInputs:Jl,addStyle:function(e,n){rl(n)&&tl(n,(n,t)=>{e.style[t]=n})},adjustHeight:function(){let e=arguments;return 1===e.length&&ol(e[0])&&(e=e[0]),Ql("height",e)},adjustSize:Ql,adjustWidth:function(){let e=arguments;return 1===e.length&&ol(e[0])&&(e=e[0]),Ql("width",e)},ajax:td,analyzeFunction:xl,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:id,arrayFromProp:function(e,n){let t=[];return sl(e,(e,r)=>{t.push(Tl(e,n))}),t},autoExtend:function(e,n){bbn[e]||(bbn[e]={}),ul(bbn[e],n)},baseName:ad,br2nl:function(e){return ed("<br />","\n",ed("<br/>","\n",ed("<br>","\n",e)))},calendar:function(e,n=!1){let t=Dd(e);return t.isValid?t.calendar():n&&$c(n)?n:""},callback:Ad,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){return e?"object"==typeof e?bbn.fn.isArray(e)?"Array ("+e.length+")":e.constructor?.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 kd(e,n,t).result},checkPropsDetails:kd,checkPropsOrDie:function(e,n,t=!1){let r=kd(e,n,t);if(r.error)throw new Error(r.error);return!0},checkType:Nd,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=Hl(t)?t.bbnId?"__BBN_DOM__"+t.tagName+"/"+t.bbnId+t.bbnHash:"__BBN_DOM__"+t.tagName+"/"+t.className:Ol(t)?"__BBN_CP__"+t.$options.name+"/"+t.$cid:t.constructor.toString())}return t}},clone:Pd,colorToHex:function(e){let n=document.createElement("canvas").getContext("2d");return n.fillStyle=e,n.fillStyle},compare:jl,compareConditions:Zl,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||zd(e,e.type.toString())):rl(e)&&Qc(e.toBlob)?e.toBlob(r=>{const i=new ClipboardItem({[r.type.toString()]:r});navigator.clipboard.write([i]).then(()=>{n||zd(e,r.type.toString()),t(!0)})}):(navigator.clipboard.writeText(e),n||zd(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||zd(e),t(!0)}t(!1)})},correctCase:Cd,count:function(e,n,t=null,r="="){return Id(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^Hd[255&(n^r)]}return(-1^n)>>>0},createObject:Fd,cssExists:function(e){let n,t,r=document.styleSheets;for(let i=0;i<r.length;i++){n=1;try{t=r[i].rules||r[i].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)"+Xl(e)+"(\\{|\\s)","g").test(t[n].selectorText))return!0}return!1},data2Html:function e(n,t=""){const r=!il(n);let i='<ul class="bbn-bottom-xspadding '+(t||"bbn-ul")+'">';for(let a in n)i+="<li>",r&&(i+="<em>"+a+"</em>: "),n[a]&&(il(n[a])||rl(n[a]))?i+=e(n[a],t):i+=null===n[a]?"<em>null</em>":n[a].toString?n[a].toString():n[a],i+="</li>";return i+='</ul><div class="bbn-bottom-xspadding '+(t||"bbn-div")+'"></div>',i},date:Od,dateSQL:function(e,n){let t=Dd(e);if(t)return t.format("YYYY-MM-DD"+(n?"":" HH:mm:ss"))},deepPath:function e(n,t,r,i=[]){let a;return(a=Yl(n,t,0))>-1?(i.push(a),i):(sl(n,(n,a)=>{if(il(n[r])){let o=i.slice();o.push(a);let s=e(n[r],t,r,o);if(!1!==s)return s}}),!1)},defaultAjaxAbortFunction:Ld,defaultAjaxErrorFunction:Gd,defaultAlertFunction:function(e,n=null){alert(e)},defaultConfirmFunction:function(e,n,t=null){let r=0;confirm(e)&&Qc(n)&&(n(),r=1),!r&&Qc(t)&&t()},defaultEndLoadingFunction:Bd,defaultErrorFunction:function(e){Xc(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 Xc("defaultPreLinkFunction",e,n,t),!0},defaultResizeFunction:function(){return!0},defaultStartLoadingFunction:function(e,n,t,r){return!0},deleteProp:function(e,n){Nd(e,"object",bbn._("The obj must be an object in setProp")),Nd(n,"string",bbn._("The prop must be a string in setProp")),delete e[n]},diffObj:function e(n,t,r=!1,i=!1){i||(Rd=[]);let a="unchanged";void 0===i&&(i=!1);let o=Fd();if(!Qc(n)&&!Qc(t)){if(xd(n)||xd(t)){let e=(s=n)===(u=t)||Sl(s)&&Sl(u)&&s.getTime()===u.getTime()?a:void 0===s?"created":void 0===u?"deleted":"updated";if(r||e!==a){let r=Fd();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(Hl(n)||Hl(t))return!1;if(Rd.includes(n)||Rd.includes(t))return!1;Rd.push(n,t);for(let i in n){if(Qc(n[i]))continue;let a;void 0!==t[i]&&(a=t[i]);let s=e(n[i],a,r,!0);s&&(o[i]=s)}for(let i in t){if(Qc(t[i])||void 0!==n[i])continue;let a=e(void 0,t[i],r,!0);a&&(o[i]=a)}}var s,u;return!(i&&!r&&!kl(o))&&o},dirName:jd,download:function(e,n="",t=null){return n&&"object"==typeof n&&(t=n,n=""),td(e,"blob",t||{_bbn_download:1},(t,r)=>{if(!n){let t="content-disposition",i="attachment; filename=";n=r?.[t]&&0===r[t].indexOf(i)?el(r[t],i.length+1,r[t].length-i.length-2):ad(e)}if(Zd(t)){let e=Ud(n),r=["php","html"];if("string"==typeof n&&("type"in t&&"text/html"!==t.type||r.includes(e)))return void qd(n,t)}},e=>{bbn.fn.defaultAjaxErrorFunction(e)})},downloadContent:qd,each:sl,eraseCookie:function(e){document.cookie=e+"=; Max-Age=-99999999;"},error:Sd,escapeDquotes:function(e){return $c(e)?e.replace(/"/g,'\\"'):e},escapeRegExp:Xl,escapeSquotes:function(e){return $c(e)?e.replace(/'/g,"\\'"):e},escapeTicks:function(e){return $c(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)),sl(jd(e).split("/"),e=>{t+=encodeURIComponent(e)+"/"});let r=ad(e),i="?",a="";if(r.indexOf(i)){let e=r.split("?");i="&",a="?"+e[1],r=e[0]}return n&&$c(n)?(n.match("^(\\&|\\?)")&&(n=n.substring(1)),n=i+n):n="",t+encodeURIComponent(r)+a+n},executeSlowly:async function(e,n){for(let t=0;t<e.length;t++){await Wd();let r=n(e[t],t);if(r instanceof Promise&&(r=await r),!1===r)return!1}return!0},extend:ul,extendOut:function e(...n){let t=null;for(let r of n){if(!rl(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)rl(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=Dd(e),r=!1;return!0===n&&(r=!0),t.isValid?t.fdate(!1,r):n&&$c(n)?n:""},fdatetime:function(e,n=!1){let t=Dd(e);return t.isValid?t.fdate(!1,!0):n&&$c(n)?n:""},fieldValue:Kd,fileExt:Ud,filter:Id,filterToConditions:Ul,findAll:function e(n,t,r,i=[]){let a,o=0;for(;(a=Yl(n,t,o))>-1;)i.push(n[a]),o=a+1;return sl(n,n=>{il(n[r])&&e(n[r],t,r,i)}),i},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(il(e)){let i=e.length-1;al(t)&&0<t&&t<=i||(t=i),(!al(r)||!(0<=r&&r<i)||r>t)&&(r=0);for(let i=r;i<=t;i++)if(!1===n(e[i],i))return}},forir:function(e,n,t=e.length-1,r=0){if(il(e)){let i=e.length-1;al(t)&&0<t&&t<=i||(t=i),(!al(r)||!(0<=r&&r<i)||r>t)&&(r=0);for(let i=t;i>=r;i--)if(!1===n(e[i],i))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 i=n[t++];return Nd(i,"d"===r?"number":"string",bbn._("The value doesn't correspond to the format")),i})}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=Dd(e);return t.isValid?t.format(n):""},formatSize:function(e,n){return al(e)?e+"px":$c(e)?e:!n&&"auto"},formdata:Vd,fphone:function(e){if(al(e)&&(e=e.toString()),$c(e)){const n=bbn.data?.phoneCodes||[];let t="",r="",i="";if(n.length&&sl(n,n=>{e.startsWith(n.prefix)&&n.prefix.length>r.length&&(r=n.prefix,i=n.mask||"")}),!i.length&&e.startsWith("+")){r.length||(r=e.substr(0,3));const n=e.slice(r.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){r.length&&(t=r+" ",e=e.slice(r.length));let n=0;return t+=i.replace(/[0-9]/g,()=>e[n++]||""),t}}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 i={},a=t[e.nodeName];if(a?Array.isArray(a)?t[e.nodeName].push(i):t[e.nodeName]=[a,i]:n&&-1!=n.indexOf(e.nodeName)?t[e.nodeName]=[i]:t[e.nodeName]=i,e.attributes)for(let n of e.attributes)i[n.nodeName]=n.nodeValue;for(let n of e.childNodes)r(n,i)}let i={};for(let e of t.childNodes)r(e,i);return i},ftime:function(e,n){let t=Dd(e);return t.isValid?t.ftime():n&&$c(n)?n:""},getAllTags:function(){return $d(Array.prototype.map.apply(document.all,[e=>e.tagName.toLowerCase()]))},getAncestors:Jd,getAttributes:function(e){e.getAttributeNames||Sd("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:Qd,getDay:function(e){let n=Od(e);if(n){let e=n.getTime(),r=n.getYear(),i=365*(r-1970);n.getMonth()<2&&r--;for(var t=1972;t<=r;t+=4)i++;return i+Math.floor(e/864e5)}return!1},getDeviceType:Xd,getEventData:function(e){let n=e.dataTransfer||e.clipboardData,t=n.getData("Text"),r={raw:t,files:[],str:[]},i=new Promise((i,a)=>{let o=!(n instanceof DataTransfer);if(!t&&"copy"===e.type){let e=window.getSelection();r.raw=e.toString();let n=em();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>"}),o=!0,i(r)}if(!o){let e=[],t=n.items.length;sl(n.items,(a,s)=>{let u=a.kind,c=a.type;if("file"===u){let u=n.files[s];if(!c&&u.name){let e=u.name.split(".");c=e[e.length-1]}let l=u?u.name:bbn._("untitled"),d=u?u.size:null,m=u?u.lastModified:null,f=a.getAsFile();f?(o=!0,t--,r.files.push({type:c,data:f,name:l,size:d,mdate:m}),e.push(l),t||(r.raw||(r.raw=e.join(", ")),i(r))):bbn.fn.defaultErrorFunction(bbn._("Impossible to read the file")+" "+l)}else o=!0,a.getAsString(n=>{t--,r.str.push({type:c,data:n}),"text/plain"===c&&e.push(name),t||(r.raw||(r.raw=e.join(", ")),i(r))})})}o||setTimeout(()=>{i(r)})});return i},getField:function(e,n,t="",r=null,i="=",a=0,o=!1,s=void 0){let u;return t&&["object","function"].includes(typeof t)&&6 in arguments&&(s=o),n?(u=ql(e,t,r,i,a,o,void 0),void 0===u?s:u[n]):s},getFieldValues:function(e,n,t,r,i){Nd(n,"string"),t&&(e=Vl(e,t,r,i));let a=[];return sl(e,e=>-1===a.indexOf(e[n])?a.push(e[n]):null),a},getFileContent:function(){let e,n,t="",r="text";bbn.fn.each(arguments,i=>{"string"==typeof i?["binary","text"].includes(i.toLowerCase())?r=i.toLowerCase():t||(t=i,"image"===t&&(t="image/*")):bbn.fn.isFunction(i)&&(e?n||(n=i):e=i)});let i=document.createElement("input");i.type="file",t&&i.setAttribute("accept",t),i.onchange=function(t){const a=i.files?.[0];if(!a)return;const o=new FileReader;"binary"===r?o.readAsArrayBuffer(a):o.readAsText(a,"UTF-8"),o.onload=function({target:n}){e&&e(n?.result)},o.onerror=function(){n&&n("error reading file")}},i.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=nm(t)),t.trim()},getHTMLOfSelection:em,getLoader:Kl,getPath:Fl,getProp:function(e,n){return Nd(e,"object",bbn._("The obj must be an object in setProp")),Nd(n,"string",bbn._("The prop must be a string in setProp")),e[n]},getProperty:Tl,getRequestId:nd,getRow:ql,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 i=n-r;bbn.env.scrollBarSize=i?i+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 i=new Map(n.map((e,n)=>[e,n])),a=e.map(e=>i.get(e)),o=(e=>{const n=e.length,t=[],r=Array(n).fill(-1);for(let i=0;i<n;i++){let n=e[i],a=0,o=t.length;for(;a<o;){const r=a+o>>1;e[t[r]]<n?a=r+1:o=r}a>0&&(r[i]=t[a-1]),t[a]=i}const i=[];for(let e=t.length?t[t.length-1]:-1;-1!==e;e=r[e])i.push(e);return i.reverse()})(a),s=new Set(o.map(n=>e[n])),u=Array(n.length).fill(-1);for(let e=n.length-2;e>=0;e--)u[e]=u[e+1],s.has(n[e+1])&&(u[e]=e+1);const c=e.slice(),l=new Map(c.map((e,n)=>[e,n])),d=[];for(let e=0;e<n.length;e++){const t=n[e];if(s.has(t))continue;const r=l.get(t);if(void 0===r)throw new Error("Inconsistent state");const i=u[e],a=-1!==i?l.get(n[i]):c.length;if(void 0===a)throw new Error("Inconsistent state");const o=r<a?a-1:a;if(r!==o){const[e]=c.splice(r,1);c.splice(o,0,e),d.push({from:r,to:o,value:t}),l.clear();for(let e=0;e<c.length;e++)l.set(c[e],e)}}return d},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;"}),Xc.apply(this,e),this},hash:Gl,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:tm,imageToCanvas:rm,imgToBase64:function(e,n="image/png"){return rm(e).toDataURL(n)},info:function(...e){return e.unshift({_bbn_console_level:4,_bbn_console_style:"color: #EEE; background: blue; font-size: 12px;"}),Xc.apply(this,e),this},init:function(e,n){if(!bbn.env.isInit){bbn.env.root=globalThis.document?.baseURI?.length?globalThis.document.baseURI:bbn.env.host,bbn.env.root.length&&"/"!==el(bbn.env.root,-1)&&(bbn.env.root+="/"),"object"==typeof e&&ul(!0,bbn,e);const[n,t]=bbn.env.url.split("?"),r=t?t.split("&").reduce((e,n)=>{const[t,r]=n.split("=");return e[t]=r,e},{}):{};bbn.env.getParameters=r,bbn.env.path=el(n,bbn.env.root.length),bbn.env.params=bbn.env.path.split("/").filter(e=>""!==e),Mm(),globalThis.document&&(bbn.data.colors&&$l(bbn.data.colors),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=dm()}),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=dm()}),document.addEventListener("click",pm),document.addEventListener("keydown",pm),document.addEventListener("focusin",gm),document.addEventListener("focusout",gm),window.addEventListener("hashchange",()=>{bbn.env.hashChanged=(new Date).getTime()},!1),window.addEventListener("resize",()=>{sm()}),window.addEventListener("orientationchange",()=>{sm()}),sm(),lm()&&(document.body.classList.add("bbn-mobile"),cm()&&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?om(e.url,ul({title:e.title||bbn.env.siteTitle},e.data||{})):e&&e.data&&Qc(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")))}},isActiveInterface:function(e=600){return!!bbn.env.last_focus&&(new Date).getTime()-bbn.env.last_focus<1e3*e},isArray:il,isBlob:Zd,isBoolean:function(...e){if(!e.length)return!1;for(let n of e)if(![!0,!1].includes(n))return!1;return!0},isCanvas:Yd,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(!$c(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:Ol,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:Sl,isDesktopDevice:function(){return"desktop"===Xd()},isDimension:function(...e){if(!e.length)return!1;for(let n of e){if("number"!=typeof n||n<0)return!1;if(!wm(n))return!1}return!0},isDom:Hl,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(!$c(t))return!1;if(!n.test(t))return!1}return!0},isEmpty:Cl,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:Qc,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(!$c(n))return!1;if(!vm(n)&&!bbn.data.regexp.hostname.test(n))return!1}return!0},isInside:function(e,n){let t=Jd(e);if(t.length){if($c(n)){let e=!1;return sl(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:Jc,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,i=e.offsetWidth;return t.top>=-r&&t.left>=-i&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+i&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+r},isIP:vm,isIterable:ol,isMobile:lm,isMobileDevice:um,isNotObject:xd,isNull:Nl,isNumber:al,isObject:rl,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:cd,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 sl(["width","height","gap","margin","padding","top","left","right","bottom"],t=>{if(-1!==e.indexOf(t))return n=!0,!1}),n},isSame:Rl,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:$c,isSymbol:bm,isTabletDevice:cm,isURL:function(...e){if(!e.length)return!1;for(let n of e)if(!bbn.data.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:wm,isValidName:function(...e){if(!e.length)return!1;for(let n of e)if(!$c(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:tl,lightenDarkenHex:function(e,n){if(e&&n){let t="#"===e[0];e=t?e.slice(1):e;let r=parseInt(e,16),i=(r>>16)+n,a=(r>>8&255)+n,o=(255&r)+n;return i>255?i=255:i<0&&(i=0),a>255?a=255:a<0&&(a=0),o>255?o=255:o<0&&(o=0),(t?"#":"")+(o|a<<8|i<<16).toString(16)}},link:om,log:Xc,makeReactive:function e(n,t,r,i){const a=r?.$cid||"",o="__bbn_"+(a?a+"_":"");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&&Xc(["MAKING bbn-loadbar",n]),n.__bbnWatchers||Reflect.defineProperty(n,"__bbnWatchers",{value:Fd(),writable:!0,configurable:!0,enumerable:!1});return new Proxy(n,{get(s,u){const c=Reflect.get(s,u),l=s.__bbnRoot||s;if(bm(u))return Reflect.get(l,u);const d=i?i+"."+u:u,m=o+(al(u)?u.toString():u);if(["fill","pop","push","reverse","shift","sort","splice","unshift"].includes(u)&&il(s))return function(...e){let n=l[u](...e);return _m("DOING ARRAY STUFF"),Xc(s.__bbnParent),t(s,"length",r),n};if(Qc(c))return c;if("__bbnRoot"===u){let e=n;for(;e&&e?.__bbnTarget;)e=e.__bbnTarget;return e}return"__bbnIsProxy"===u||("__bbnTarget"===u?s:"__bbnParent"===u?r:"__bbnWatchers"===u?s.__bbnWatchers:0===u.indexOf("__bbn_")?Reflect.get(s,u):"length"===u&&il(s.__bbnRoot||s)?l.length:u in s&&c&&"object"==typeof c&&[void 0,Object,Array].includes(c.constructor)?(c.__bbnIsProxy&&c.__bbnParent===r||(m in l||Reflect.defineProperty(l,m,{value:e(c,t,r,d),writable:!0,configurable:!0,enumerable:!1}),l[m].__bbnIsProxy&&!l.__bbnWatchers[a]&&(l.__bbnWatchers[a]=d)),l[m]):c)},set(n,s,u){if(bm(s))return Reflect.get(n,s,u);const c=n.__bbnRoot||n,l=i?i+"."+s:s;if(bm(s))return Reflect.get(n,s);if(r&&r.$options&&"bbn-loadbar"===r.$options.name&&Xc(["Setting proxy prop in "+r.$options.name,n,s,u]),!Rl(c[s],u)){if(0===s.indexOf("__bbn_"))Reflect.defineProperty(c,s,{value:e(u,t,r,l),writable:!0,configurable:!0,enumerable:!1});else if(u&&"object"==typeof u&&[void 0,Object,Array].includes(u.constructor)){const n=o+(al(s)?s.toString():s);Reflect.defineProperty(c,n,{value:e(u,t,r,l),writable:!0,configurable:!0,enumerable:!1}),c[n].__bbnIsProxy&&!c.__bbnWatchers[a]&&(c.__bbnWatchers[a]=l)}r&&r.$options&&"bbn-loadbar"===r.$options.name&&Xc(["Setting proxy prop in "+r.$options.name+" "+(al(s)?s.toString():s),u,n]),Reflect.set(c,s,u),t(n,s,r)}return!0},defineProperty(n,a,s){const u=n,c=i?i+"."+a:a;if("__bbnWatchers"===a||bm(a)||0===a.indexOf("__bbn_"))Reflect.defineProperty(u,a,s);else{const n=o+(al(a)?a.toString():a);Reflect.defineProperty(u,n,{value:e(s.value,t,r,c),writable:!0,configurable:!0,enumerable:!1})}return t(n,a,r),!0},deleteProperty(e,n){const t=e;if(0===n.indexOf("__bbn_"))Reflect.deleteProperty(t,n);else{const r=o+(al(n)?n.toString():n);Reflect.deleteProperty(t,r),Reflect.deleteProperty(e,n)}return!0}})}return n},map:function e(n,t,r,i=0){return n.map((n,a)=>(n=t(n,a,i),r&&n[r]&&il(n[r])&&(n[r]=e(n[r],t,r,i+1)),n))},md5:Bl,microtimestamp:function(){return window.performance.now()+performance.timeOrigin},money:function(e,n,t,r,i,a,o){if(i||(i=void 0===i&&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:""),a||(a=void 0===a&&bbn.env.money&&void 0!==bbn.env.money.thousands?bbn.env.money.thousands:" "),o||(o=void 0===o&&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),al(o)||(o=n?3:0),0===e&&"number"==typeof o&&o>0){let r=e.toFixed(o).replace(".",i);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(o),u=0,c=1e4;return s&&(c=s.indexOf("."),c<=0?c=1e4:u=s.length-c),s.replace(/./g,function(e,n,t){return"."===e?i:n&&(t.length-n-u)%3==0&&n<c?a+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 i of t)if(r=Al(e,n,i.field,i.dir),0!==r)return r;return 0})},mutateArray:function(e,n,t=null){if(!il(e,n))throw new TypeError("mutateArray can only be called with arrays");t?Nd(t,"function","The hash function must be a function"):t=Gl;const r=new Map(n.map(e=>[t(e),e]));let i=[];n.forEach(e=>{i.push(e)});let a=e.length;for(;a--;)r.has(t(e[a]))||e.splice(a,1);for(let n=0;n<i.length;n++)if(n>=e.length||!Rl(e[n],i[n])){const t=Yl(e,i[n]);if(-1!==t){const[r]=e.splice(t,1);e.splice(n,0,r)}else e.splice(n,0,i[n])}return e.length>i.length&&e.splice(i.length,e.length-i.length),e},mutateObject:function(e,n,t){if(!rl(e,n))throw new TypeError("mutateObject can only be called with objects parameters");t?Nd(t,"function","The hash function must be a function"):t=Gl;const r=Object.keys(n);for(let n in e)r.includes(n)||delete e[n];return r.forEach(t=>{Rl(e[t],n[t])||(e[t]=n[t])}),e},nl2br:function(e,n){return ed("\n","<br>"+(n?"\n":""),e)},numProperties:kl,objectToFormData:Em,order:function(e,n,t="asc"){return e?e.sort(function(e,r){return Al(e,r,n,t)}):e},outerHeight:function(e){if((e=Tm(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=Tm(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:Dm,postOut:function(e,n,t=null,r=""){let i=document.body.querySelector("form#bbn-form_out");i||(i=document.createElement("form"),i.classList.add("bbn-no"),i.setAttribute("id","bbn-form_out"),i.setAttribute("method","post"),i.setAttribute("enctype","multipart/form-data-encoded"),Sm(i,"style.display","none"),document.body.appendChild(i)),i instanceof HTMLFormElement&&(i.innerHTML="",i.setAttribute("action",e),i.setAttribute("target",r||"_blank"),n||(n={}),(n=Fd(n)).bbn||(n.bbn="public"),Jl(i,n),i.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=ed("'","&#39;",e)),n&&0!==n.toLowerCase().indexOf("d")||(e=ed('"',"&quot;",e)),e},randomInt:Am,randomString:function(e,n,t){let r,i,a={n:"0123456789",l:"abcdefghijklmnopqrstuvwxyz",u:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};t||(t="nlu"),e||(r=Am(8,14)),"string"==typeof n?(t="n",delete a.l,delete a.u,a.n=n,r||(r=e)):"number"==typeof n&&e<n?r=Am(e,n):e&&(r=e);let o="";for(let e=0;e<r;e++)0===e?"n"!==t&&(i=-1===t.indexOf("u")?"l":"u"):i=t[Math.floor(Math.random()*t.length)],o+=a[i][Math.floor(Math.random()*a[i].length)];return o},range:function(e,n,t){return Array.from({length:(n-e)/t+1},(n,r)=>e+r*t)},removeAccents:Dl,removeEmpty:function(e){var n=[];if(il(e))for(let t=0;t<e.length;t++){let r=!1;e[t]&&(il(e[t])?e[t].length&&(r=!0):rl(e[t])?kl(e[t])&&(r=!0):r=!0),r&&n.push(e[t])}return n},removeExtraSpaces:function(e){return e.replace(/\s+/g," ").trim()},removeHtmlComments:nm,removePrivateProp:nl,removeTrailingChars:function(e,n){if(n||(n=" "),n.length){for(;el(e,-n.length)===n;)e=el(e,0,e.length-n.length);for(;el(e,0,n.length)===n;)e=el(e,n.length)}return e},repeat:function(e,n){return e.repeat(n)},replaceAll:ed,replaceSelection:function(e,n){let t,r,i;if(t=window.getSelection(),t.getRangeAt&&t.rangeCount){if(r=window.getSelection().getRangeAt(0),r.deleteContents(),r.createContextualFragment)i=r.createContextualFragment(e);else{const n=document.createElement("div");let t;for(n.innerHTML=e,i=document.createDocumentFragment();t=n.firstChild;)i.appendChild(t)}const a=i.firstChild,o=i.lastChild;r.insertNode(i),t.removeAllRanges(),n?(a&&(r.setStartBefore(a),r.setEndAfter(o)),t.addRange(r)):(r.setStartAfter(o),t.addRange(r))}},resize:sm,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 tl(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 i=new RegExp(r,"g");return km(Dl(e).replace(/[^a-z0-9]/gi,n).replace(i,n),n)},search:Yl,selectElementText:function(e,n=null){if(n=n||window,e instanceof HTMLInputElement)return void e.select();let t,r,i=n.document;n.getSelection&&i.createRange?(t=n.getSelection(),r=i.createRange(),r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r)):"createTextRange"in i.body&&"function"==typeof i.body.createTextRange&&(r=i.body.createTextRange(),r.moveToElementText(e),r.select())},selector:Tm,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 i=escape(JSON.stringify({value:n}));document.cookie=e+"="+i+r+"; path=/"},setCssVar:function(e,n){0!==e.indexOf("--")&&(e="--"+e),document.documentElement.style.setProperty(e,n)},setNavigationVars:am,setProp:function(e,n,t,r=!0,i=!0){Object.defineProperty(e,n,{value:t,writable:r,configurable:i})},setProperty:Sm,shorten:Cm,shortenObj:function e(n,t=100){let r=Pd(n);return sl(r,(n,i)=>{$c(n)&&n.length>t?r[i]=Cm(n,t):n&&"object"==typeof n&&(r[i]=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:Il,simpleHash1:Pl,simpleHash2:zl,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,i,a){const o=nd(e,t,"json"),s=Kl(o);if(s?.loader)return s.loader;t||(t={}),bbn.env.token&&(t._bbn_token=bbn.env.token);const u=new AbortController;let c="";const l=e=>{if(e.length){e=e.indexOf("\n")>-1?bbn.fn.removeEmpty(e.split("\n")):[e];for(let t in e)try{const r=JSON.parse(e[t]);r?.__bbn_stream_ping__||n(r)}catch(e){throw e}}},d=fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",signal:u.signal,body:JSON.stringify(t||{})}).then(e=>{if(e.body){const r=e.body.getReader(),i=Qc(n);r.read().then(function e({done:s,value:u}){if(s)return Wl(o,t),c&&l(c),void(a&&a());if(i)if(c+=id(u).trim(),bbn.fn.log(["STREAM RESULT",c.length,c]),c)try{l(c),c=""}catch(e){}else n();else bbn.fn.log(["STREAM SUCCESS IS FN? "+i]);return r.read().then(e)})}}).catch(n=>{let a=!(!(s=n)||!0!==s.__BBN_CANCEL__);var s;if(Wl(o,t,a),a){let t=1;Qc(i)&&(t=i(n.message,e)),t&&Ld(n.message,e)}else{let e=1;Qc(r)&&(e=r(n.request,n)),e&&Gd(n.request,n.response?n.response.data:"",n.response?n.response.status:n)}});return El(o,d,u),d},string2ArrayBuffer:function(e){for(var n=new ArrayBuffer(2*e.length),t=new Uint16Array(n),r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n},submit:function(e,n,t){let r,i=e.getAttribute("action")||bbn.env.path;if(""===i&&(i="."),"string"==typeof i&&(0!==i.indexOf("http")||-1!==i.indexOf(window.document.location.hostname))&&!e.getAttribute("target")&&(n&&n.preventDefault(),r=Vd(e),r)){e.setAttribute("action",null);const n=[i,r];!t&&e.getAttribute("data-script")&&(t=(t=new Function(e.getAttribute("data-script")))()),t&&n.push(t),Dm(...n)}},substr:el,sum:function(e,n,t,r,i){let a=0;return sl(Id(e,t,r,i),e=>{let t="function"==typeof n?n(e):e[n];t&&(a+=parseFloat(t)||0)}),a},timestamp:dm,toCSV:function(e,n=",",t="",r='"'){n||(n=","),r||(r='"');let i="",a=e.length;return sl(e,(e,o)=>{let s=il(e)?e.length:Object.values(e).length,u=0;sl(e,e=>{i+="string"==typeof e?r+ed(r,"\\"+r,e)+r:0===e?"0":e&&e.toString?e.toString():r+r,u++,u<s&&(i+=n)}),o<a-1&&(i+=t+"\n")}),i},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(){sm()},0)},translate:function(e,n){let t=n?bbn.lng[0===n.indexOf("_")?n:"_"+n]:bbn.lng;tl(e,(e,n)=>{t[n]=e})},treatAjaxArguments:im,treatForHash:Ll,trim:km,uniqString:function(...e){for(var n="",t=0;t<e.length;t++)if(e[t])if("object"==typeof e[t])if(il(e[t]))n+=JSON.stringify(e[t]);else{let r={};sl(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 Bl(n)},unique:$d,upload:function(e,n,t=null,r=null,i=null){const a=()=>Vc.run("post",e||bbn.env.path,{data:Em(n),headers:{},onUploadProgress(e){if(i){let n=Math.round(100*e.loaded/e.total);i(n,e.loaded,e.total)}}});return t||r?a().then(e=>{t&&(Xc("SUCCESS",e),t(e))}).catch(e=>{r&&(Xc("ERROR",e),r(e))}):a()},warning:_m,yieldToBrowser:Wd};const Pm={version:"1.0.1",opt:{_cat:{}},app:{},_:Zc,$:function(e,n){if(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"},data:Uc,dt:Dd,com:Vc,env:Yc,db:_l,fn:Nm,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 globalThis&&(globalThis.bbn=Pm,"Temporal"in globalThis||(globalThis.Temporal=xc));var zm=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}}});function Im(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if("function"==typeof n){var t=function e(){var t=!1;try{t=this instanceof e}catch{}return t?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var Hm={},Fm=function(e,n){return Fm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},Fm(e,n)};function Om(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}Fm(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var Lm=function(){return Lm=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},Lm.apply(this,arguments)};function Gm(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]])}return t}function Bm(e,n,t,r){var i,a=arguments.length,o=a<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,n,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(n,t,o):i(n,t))||o);return a>3&&o&&Object.defineProperty(n,t,o),o}function xm(e,n){return function(t,r){n(t,r,e)}}function Rm(e,n,t,r,i,a){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!n&&e?r.static?e:e.prototype:null,d=n||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),m=!1,f=t.length-1;f>=0;f--){var h={};for(var y in r)h[y]="access"===y?{}:r[y];for(var y in r.access)h.access[y]=r.access[y];h.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var M=(0,t[f])("accessor"===u?{get:d.get,set:d.set}:d[c],h);if("accessor"===u){if(void 0===M)continue;if(null===M||"object"!=typeof M)throw new TypeError("Object expected");(s=o(M.get))&&(d.get=s),(s=o(M.set))&&(d.set=s),(s=o(M.init))&&i.unshift(s)}else(s=o(M))&&("field"===u?i.unshift(s):d[c]=s)}l&&Object.defineProperty(l,r.name,d),m=!0}function jm(e,n,t){for(var r=arguments.length>2,i=0;i<n.length;i++)t=r?n[i].call(e,t):n[i].call(e);return r?t:void 0}function Zm(e){return"symbol"==typeof e?e:"".concat(e)}function Um(e,n,t){return"symbol"==typeof n&&(n=n.description?"[".concat(n.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:t?"".concat(t," ",n):n})}function Ym(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function qm(e,n,t,r){return new(t||(t=Promise))(function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,s)}u((r=r.apply(e,n||[])).next())})}function Wm(e,n){var t,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(t=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=n.call(e,a)}catch(e){s=[6,e],r=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var Km=Object.create?function(e,n,t,r){void 0===r&&(r=t);var i=Object.getOwnPropertyDescriptor(n,t);i&&!("get"in i?!n.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,i)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]};function Vm(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||Km(n,e,t)}function $m(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jm(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,a=t.call(e),o=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(i)throw i.error}}return o}function Qm(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(Jm(arguments[n]));return e}function Xm(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var r=Array(e),i=0;for(n=0;n<t;n++)for(var a=arguments[n],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r}function ef(e,n,t){if(t||2===arguments.length)for(var r,i=0,a=n.length;i<a;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return e.concat(r||Array.prototype.slice.call(n))}function nf(e){return this instanceof nf?(this.v=e,this):new nf(e)}function tf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),a=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(n){return Promise.resolve(n).then(e,c)}}),r[Symbol.asyncIterator]=function(){return this},r;function o(e,n){i[e]&&(r[e]=function(n){return new Promise(function(t,r){a.push([e,n,t,r])>1||s(e,n)})},n&&(r[e]=n(r[e])))}function s(e,n){try{!function(e){e.value instanceof nf?Promise.resolve(e.value.v).then(u,c):l(a[0][2],e)}(i[e](n))}catch(e){l(a[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,n){e(n),a.shift(),a.length&&s(a[0][0],a[0][1])}}function rf(e){var n,t;return n={},r("next"),r("throw",function(e){throw e}),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=e[r]?function(n){return(t=!t)?{value:nf(e[r](n)),done:!1}:i?i(n):n}:i}}function af(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=$m(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,i){(function(e,n,t,r){Promise.resolve(r).then(function(n){e({value:n,done:t})},n)})(r,i,(n=e[t](n)).done,n.value)})}}}function of(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}var sf=Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n},uf=function(e){return uf=Object.getOwnPropertyNames||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[n.length]=t);return n},uf(e)};function cf(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t=uf(e),r=0;r<t.length;r++)"default"!==t[r]&&Km(n,e,t[r]);return sf(n,e),n}function lf(e){return e&&e.__esModule?e:{default:e}}function df(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)}function mf(e,n,t,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?e!==n||!i:!n.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,t):i?i.value=t:n.set(e,t),t}function ff(e,n){if(null===n||"object"!=typeof n&&"function"!=typeof n)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?n===e:e.has(n)}function hf(e,n,t){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var r,i;if(t){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose],t&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:n,dispose:r,async:t})}else t&&e.stack.push({async:!0});return n}var yf="function"==typeof SuppressedError?SuppressedError:function(e,n,t){var r=new Error(t);return r.name="SuppressedError",r.error=e,r.suppressed=n,r};function Mf(e){function n(n){e.error=e.hasError?new yf(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}var t,r=0;return function i(){for(;t=e.stack.pop();)try{if(!t.async&&1===r)return r=0,e.stack.push(t),Promise.resolve().then(i);if(t.dispose){var a=t.dispose.call(t.value);if(t.async)return r|=2,Promise.resolve(a).then(i,function(e){return n(e),i()})}else r|=1}catch(e){n(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function gf(e,n){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,t,r,i,a){return t?n?".jsx":".js":!r||i&&a?r+i+"."+a.toLowerCase()+"js":e}):e}var pf={__extends:Om,__assign:Lm,__rest:Gm,__decorate:Bm,__param:xm,__esDecorate:Rm,__runInitializers:jm,__propKey:Zm,__setFunctionName:Um,__metadata:Ym,__awaiter:qm,__generator:Wm,__createBinding:Km,__exportStar:Vm,__values:$m,__read:Jm,__spread:Qm,__spreadArrays:Xm,__spreadArray:ef,__await:nf,__asyncGenerator:tf,__asyncDelegator:rf,__asyncValues:af,__makeTemplateObject:of,__importStar:cf,__importDefault:lf,__classPrivateFieldGet:df,__classPrivateFieldSet:mf,__classPrivateFieldIn:ff,__addDisposableResource:hf,__disposeResources:Mf,__rewriteRelativeImportExtension:gf},wf=Im(Object.freeze({__proto__:null,__addDisposableResource:hf,get __assign(){return Lm},__asyncDelegator:rf,__asyncGenerator:tf,__asyncValues:af,__await:nf,__awaiter:qm,__classPrivateFieldGet:df,__classPrivateFieldIn:ff,__classPrivateFieldSet:mf,__createBinding:Km,__decorate:Bm,__disposeResources:Mf,__esDecorate:Rm,__exportStar:Vm,__extends:Om,__generator:Wm,__importDefault:lf,__importStar:cf,__makeTemplateObject:of,__metadata:Ym,__param:xm,__propKey:Zm,__read:Jm,__rest:Gm,__rewriteRelativeImportExtension:gf,__runInitializers:jm,__setFunctionName:Um,__spread:Qm,__spreadArray:ef,__spreadArrays:Xm,__values:$m,default:pf})),vf={};function bf(e){return Intl.getCanonicalLocales(e)}
2
2
  /*!
3
3
  * decimal.js v10.6.0
4
4
  * An arbitrary-precision Decimal type for JavaScript.
@@ -6,7 +6,7 @@ function e(e,n){return n.forEach(function(n){n&&"string"!=typeof n&&!Array.isArr
6
6
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
7
7
  * MIT Licence
8
8
  */
9
- var Lf,Gf,Bf=9e15,xf=1e9,Rf="0123456789abcdef",jf="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Zf="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Uf={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Bf,maxE:Bf,crypto:!1},Yf=!0,qf="[DecimalError] ",Wf=qf+"Invalid argument: ",Kf=qf+"Precision limit exceeded",Vf=qf+"crypto unavailable",$f="[object Decimal]",Jf=Math.floor,Qf=Math.pow,Xf=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,eh=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,nh=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,th=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,rh=1e7,ih=jf.length-1,ah=Zf.length-1,oh={toStringTag:$f};function sh(e){var n,t,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,n=1;n<i;n++)(t=7-(r=e[n]+"").length)&&(a+=ph(t)),a+=r;(t=7-(r=(o=e[n])+"").length)&&(a+=ph(t))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function uh(e,n,t){if(e!==~~e||e<n||e>t)throw Error(Wf+e)}function ch(e,n,t,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),a=Qf(10,7-n),s=e[i]%a|0,null==r?n<3?(0==n?s=s/100|0:1==n&&(s=s/10|0),o=t<4&&99999==s||t>3&&49999==s||5e4==s||0==s):o=(t<4&&s+1==a||t>3&&s+1==a/2)&&(e[i+1]/a/100|0)==Qf(10,n-2)-1||(s==a/2||0==s)&&!(e[i+1]/a/100|0):n<4?(0==n?s=s/1e3|0:1==n?s=s/100|0:2==n&&(s=s/10|0),o=(r||t<4)&&9999==s||!r&&t>3&&4999==s):o=((r||t<4)&&s+1==a||!r&&t>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==Qf(10,n-3)-1,o}function lh(e,n,t){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=n;for(a[0]+=Rf.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>t-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/t|0,a[r]%=t)}return a.reverse()}oh.absoluteValue=oh.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),mh(e)},oh.ceil=function(){return mh(new this.constructor(this),this.e+1,2)},oh.clampedTo=oh.clamp=function(e,n){var t=this,r=t.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(Wf+n);return t.cmp(e)<0?e:t.cmp(n)>0?n:new r(t)},oh.comparedTo=oh.cmp=function(e){var n,t,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,u=a.s,c=e.s;if(!o||!s)return u&&c?u!==c?u:o===s?0:!o^u<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?u:s[0]?-c:0;if(u!==c)return u;if(a.e!==e.e)return a.e>e.e^u<0?1:-1;for(n=0,t=(r=o.length)<(i=s.length)?r:i;n<t;++n)if(o[n]!==s[n])return o[n]>s[n]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},oh.cosine=oh.cos=function(){var e,n,t=this,r=t.constructor;return t.d?t.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r,i;if(n.isZero())return n;r=n.d.length,r<32?i=(1/kh(4,t=Math.ceil(r/3))).toString():(t=16,i="2.3283064365386962890625e-10");e.precision+=t,n=Ah(e,1,n.times(i),new e(1));for(var a=t;a--;){var o=n.times(n);n=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,n}(r,Ch(r,t)),r.precision=e,r.rounding=n,mh(2==Gf||3==Gf?t.neg():t,e,n,!0)):new r(1):new r(NaN)},oh.cubeRoot=oh.cbrt=function(){var e,n,t,r,i,a,o,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(Yf=!1,(a=l.s*Qf(l.s*l,1/3))&&Math.abs(a)!=1/0?r=new d(a.toString()):(t=sh(l.d),(a=((e=l.e)-t.length+1)%3)&&(t+=1==a||-2==a?"0":"00"),a=Qf(t,1/3),e=Jf((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(t=a==1/0?"5e"+e:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+e)).s=l.s),o=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=dh(c.plus(l).times(s),c.plus(u),o+2,1),sh(s.d).slice(0,o)===(t=sh(r.d)).slice(0,o)){if("9999"!=(t=t.slice(o-3,o+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(mh(r,e+1,1),n=!r.times(r).times(r).eq(l));break}if(!i&&(mh(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}o+=4,i=1}return Yf=!0,mh(r,e,d.rounding,n)},oh.decimalPlaces=oh.dp=function(){var e,n=this.d,t=NaN;if(n){if(t=7*((e=n.length-1)-Jf(this.e/7)),e=n[e])for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},oh.dividedBy=oh.div=function(e){return dh(this,new this.constructor(e))},oh.dividedToIntegerBy=oh.divToInt=function(e){var n=this.constructor;return mh(dh(this,new n(e),0,1,1),n.precision,n.rounding)},oh.equals=oh.eq=function(e){return 0===this.cmp(e)},oh.floor=function(){return mh(new this.constructor(this),this.e+1,3)},oh.greaterThan=oh.gt=function(e){return this.cmp(e)>0},oh.greaterThanOrEqualTo=oh.gte=function(e){var n=this.cmp(e);return 1==n||0===n},oh.hyperbolicCosine=oh.cosh=function(){var e,n,t,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;t=o.precision,r=o.rounding,o.precision=t+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?n=(1/kh(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),a=Ah(o,1,a.times(n),new o(1),!0);for(var u,c=e,l=new o(8);c--;)u=a.times(a),a=s.minus(u.times(l.minus(u.times(l))));return mh(a,o.precision=t,o.rounding=r,!0)},oh.hyperbolicSine=oh.sinh=function(){var e,n,t,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(n=a.precision,t=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=Ah(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=Ah(a,2,i=i.times(1/kh(5,e)),i,!0);for(var o,s=new a(5),u=new a(16),c=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(u.times(o).plus(c))))}return a.precision=n,a.rounding=t,mh(i,n,t,!0)},oh.hyperbolicTangent=oh.tanh=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,dh(t.sinh(),t.cosh(),r.precision=e,r.rounding=n)):new r(t.s)},oh.inverseCosine=oh.acos=function(){var e=this,n=e.constructor,t=e.abs().cmp(1),r=n.precision,i=n.rounding;return-1!==t?0===t?e.isNeg()?Mh(n,r,i):new n(0):new n(NaN):e.isZero()?Mh(n,r+4,i).times(.5):(n.precision=r+6,n.rounding=1,e=new n(1).minus(e).div(e.plus(1)).sqrt().atan(),n.precision=r,n.rounding=i,e.times(2))},oh.inverseHyperbolicCosine=oh.acosh=function(){var e,n,t=this,r=t.constructor;return t.lte(1)?new r(t.eq(1)?0:NaN):t.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(t.e),t.sd())+4,r.rounding=1,Yf=!1,t=t.times(t).minus(1).sqrt().plus(t),Yf=!0,r.precision=e,r.rounding=n,t.ln()):new r(t)},oh.inverseHyperbolicSine=oh.asinh=function(){var e,n,t=this,r=t.constructor;return!t.isFinite()||t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,r.rounding=1,Yf=!1,t=t.times(t).plus(1).sqrt().plus(t),Yf=!0,r.precision=e,r.rounding=n,t.ln())},oh.inverseHyperbolicTangent=oh.atanh=function(){var e,n,t,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,n=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?mh(new a(i),e,n,!0):(a.precision=t=r-i.e,i=dh(i.plus(1),new a(1).minus(i),t+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=n,i.times(.5))):new a(NaN)},oh.inverseSine=oh.asin=function(){var e,n,t,r,i=this,a=i.constructor;return i.isZero()?new a(i):(n=i.abs().cmp(1),t=a.precision,r=a.rounding,-1!==n?0===n?((e=Mh(a,t+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=t+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=t,a.rounding=r,i.times(2)))},oh.inverseTangent=oh.atan=function(){var e,n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,m=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=ah)return(o=Mh(l,d+4,m).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(d+4<=ah)return(o=Mh(l,d+4,m).times(.5)).s=c.s,o}for(l.precision=s=d+10,l.rounding=1,e=t=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(Yf=!1,n=Math.ceil(s/7),r=1,u=c.times(c),o=new l(c),i=c;-1!==e;)if(i=i.times(u),a=o.minus(i.div(r+=2)),i=i.times(u),void 0!==(o=a.plus(i.div(r+=2))).d[n])for(e=n;o.d[e]===a.d[e]&&e--;);return t&&(o=o.times(2<<t-1)),Yf=!0,mh(o,l.precision=d,l.rounding=m,!0)},oh.isFinite=function(){return!!this.d},oh.isInteger=oh.isInt=function(){return!!this.d&&Jf(this.e/7)>this.d.length-2},oh.isNaN=function(){return!this.s},oh.isNegative=oh.isNeg=function(){return this.s<0},oh.isPositive=oh.isPos=function(){return this.s>0},oh.isZero=function(){return!!this.d&&0===this.d[0]},oh.lessThan=oh.lt=function(e){return this.cmp(e)<0},oh.lessThanOrEqualTo=oh.lte=function(e){return this.cmp(e)<1},oh.logarithm=oh.log=function(e){var n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,m=l.rounding;if(null==e)e=new l(10),n=!0;else{if(t=(e=new l(e)).d,e.s<0||!t||!t[0]||e.eq(1))return new l(NaN);n=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new l(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(n)if(t.length>1)a=!0;else{for(i=t[0];i%10==0;)i/=10;a=1!==i}if(Yf=!1,o=Eh(c,s=d+5),r=n?yh(l,s+10):Eh(e,s),ch((u=dh(o,r,s,1)).d,i=d,m))do{if(o=Eh(c,s+=10),r=n?yh(l,s+10):Eh(e,s),u=dh(o,r,s,1),!a){+sh(u.d).slice(i+1,i+15)+1==1e14&&(u=mh(u,d+1,0));break}}while(ch(u.d,i+=10,m));return Yf=!0,mh(u,d,m)},oh.minus=oh.sub=function(e){var n,t,r,i,a,o,s,u,c,l,d,m,f=this,h=f.constructor;if(e=new h(e),!f.d||!e.d)return f.s&&e.s?f.d?e.s=-e.s:e=new h(e.d||f.s!==e.s?f:NaN):e=new h(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(c=f.d,m=e.d,s=h.precision,u=h.rounding,!c[0]||!m[0]){if(m[0])e.s=-e.s;else{if(!c[0])return new h(3===u?-0:0);e=new h(f)}return Yf?mh(e,s,u):e}if(t=Jf(e.e/7),l=Jf(f.e/7),c=c.slice(),a=l-t){for((d=a<0)?(n=c,a=-a,o=m.length):(n=m,t=l,o=c.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,n.length=1),n.reverse(),r=a;r--;)n.push(0);n.reverse()}else{for((d=(r=c.length)<(o=m.length))&&(o=r),r=0;r<o;r++)if(c[r]!=m[r]){d=c[r]<m[r];break}a=0}for(d&&(n=c,c=m,m=n,e.s=-e.s),o=c.length,r=m.length-o;r>0;--r)c[o++]=0;for(r=m.length;r>a;){if(c[--r]<m[r]){for(i=r;i&&0===c[--i];)c[i]=rh-1;--c[i],c[r]+=rh}c[r]-=m[r]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--t;return c[0]?(e.d=c,e.e=hh(c,t),Yf?mh(e,s,u):e):new h(3===u?-0:0)},oh.modulo=oh.mod=function(e){var n,t=this,r=t.constructor;return e=new r(e),!t.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||t.d&&!t.d[0]?mh(new r(t),r.precision,r.rounding):(Yf=!1,9==r.modulo?(n=dh(t,e.abs(),0,3,1)).s*=e.s:n=dh(t,e,0,r.modulo,1),n=n.times(e),Yf=!0,t.minus(n))},oh.naturalExponential=oh.exp=function(){return _h(this)},oh.naturalLogarithm=oh.ln=function(){return Eh(this)},oh.negated=oh.neg=function(){var e=new this.constructor(this);return e.s=-e.s,mh(e)},oh.plus=oh.add=function(e){var n,t,r,i,a,o,s,u,c,l,d=this,m=d.constructor;if(e=new m(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new m(e.d||d.s===e.s?d:NaN)):e=new m(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,l=e.d,s=m.precision,u=m.rounding,!c[0]||!l[0])return l[0]||(e=new m(d)),Yf?mh(e,s,u):e;if(a=Jf(d.e/7),r=Jf(e.e/7),c=c.slice(),i=a-r){for(i<0?(t=c,i=-i,o=l.length):(t=l,r=a,o=c.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for((o=c.length)-(i=l.length)<0&&(i=o,t=l,l=c,c=t),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/rh|0,c[i]%=rh;for(n&&(c.unshift(n),++r),o=c.length;0==c[--o];)c.pop();return e.d=c,e.e=hh(c,r),Yf?mh(e,s,u):e},oh.precision=oh.sd=function(e){var n,t=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(Wf+e);return t.d?(n=gh(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n},oh.round=function(){var e=this,n=e.constructor;return mh(new n(e),e.e+1,n.rounding)},oh.sine=oh.sin=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r=n.d.length;if(r<3)return n.isZero()?n:Ah(e,2,n,n);t=1.4*Math.sqrt(r),t=t>16?16:0|t,n=n.times(1/kh(5,t)),n=Ah(e,2,n,n);for(var i,a=new e(5),o=new e(16),s=new e(20);t--;)i=n.times(n),n=n.times(a.plus(i.times(o.times(i).minus(s))));return n}(r,Ch(r,t)),r.precision=e,r.rounding=n,mh(Gf>2?t.neg():t,e,n,!0)):new r(NaN)},oh.squareRoot=oh.sqrt=function(){var e,n,t,r,i,a,o=this,s=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);for(Yf=!1,0==(c=Math.sqrt(+o))||c==1/0?(((n=sh(s)).length+u)%2==0&&(n+="0"),c=Math.sqrt(n),u=Jf((u+1)/2)-(u<0||u%2),r=new l(n=c==1/0?"5e"+u:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+u)):r=new l(c.toString()),t=(u=l.precision)+3;;)if(r=(a=r).plus(dh(o,a,t+2,1)).times(.5),sh(a.d).slice(0,t)===(n=sh(r.d)).slice(0,t)){if("9999"!=(n=n.slice(t-3,t+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(mh(r,u+1,1),e=!r.times(r).eq(o));break}if(!i&&(mh(a,u+1,0),a.times(a).eq(o))){r=a;break}t+=4,i=1}return Yf=!0,mh(r,u,l.rounding,e)},oh.tangent=oh.tan=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,(t=t.sin()).s=1,t=dh(t,new r(1).minus(t.times(t)).sqrt(),e+10,0),r.precision=e,r.rounding=n,mh(2==Gf||4==Gf?t.neg():t,e,n,!0)):new r(NaN)},oh.times=oh.mul=function(e){var n,t,r,i,a,o,s,u,c,l=this,d=l.constructor,m=l.d,f=(e=new d(e)).d;if(e.s*=l.s,!(m&&m[0]&&f&&f[0]))return new d(!e.s||m&&!m[0]&&!f||f&&!f[0]&&!m?NaN:m&&f?0*e.s:e.s/0);for(t=Jf(l.e/7)+Jf(e.e/7),(u=m.length)<(c=f.length)&&(a=m,m=f,f=a,o=u,u=c,c=o),a=[],r=o=u+c;r--;)a.push(0);for(r=c;--r>=0;){for(n=0,i=u+r;i>r;)s=a[i]+f[r]*m[i-r-1]+n,a[i--]=s%rh|0,n=s/rh|0;a[i]=(a[i]+n)%rh|0}for(;!a[--o];)a.pop();return n?++t:a.shift(),e.d=a,e.e=hh(a,t),Yf?mh(e,d.precision,d.rounding):e},oh.toBinary=function(e,n){return Ph(this,2,e,n)},oh.toDecimalPlaces=oh.toDP=function(e,n){var t=this,r=t.constructor;return t=new r(t),void 0===e?t:(uh(e,0,xf),void 0===n?n=r.rounding:uh(n,0,8),mh(t,e+t.e+1,n))},oh.toExponential=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=fh(r,!0):(uh(e,0,xf),void 0===n?n=i.rounding:uh(n,0,8),t=fh(r=mh(new i(r),e+1,n),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+t:t},oh.toFixed=function(e,n){var t,r,i=this,a=i.constructor;return void 0===e?t=fh(i):(uh(e,0,xf),void 0===n?n=a.rounding:uh(n,0,8),t=fh(r=mh(new a(i),e+i.e+1,n),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t},oh.toFraction=function(e){var n,t,r,i,a,o,s,u,c,l,d,m,f=this,h=f.d,y=f.constructor;if(!h)return new y(f);if(c=t=new y(1),r=u=new y(0),o=(a=(n=new y(r)).e=gh(h)-f.e-1)%7,n.d[0]=Qf(10,o<0?7+o:o),null==e)e=a>0?n:c;else{if(!(s=new y(e)).isInt()||s.lt(c))throw Error(Wf+s);e=s.gt(n)?a>0?n:c:s}for(Yf=!1,s=new y(sh(h)),l=y.precision,y.precision=a=7*h.length*2;d=dh(s,n,0,1,1),1!=(i=t.plus(d.times(r))).cmp(e);)t=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=n,n=s.minus(d.times(i)),s=i;return i=dh(e.minus(t),r,0,1,1),u=u.plus(i.times(c)),t=t.plus(i.times(r)),u.s=c.s=f.s,m=dh(c,r,a,1).minus(f).abs().cmp(dh(u,t,a,1).minus(f).abs())<1?[c,r]:[u,t],y.precision=l,Yf=!0,m},oh.toHexadecimal=oh.toHex=function(e,n){return Ph(this,16,e,n)},oh.toNearest=function(e,n){var t=this,r=t.constructor;if(t=new r(t),null==e){if(!t.d)return t;e=new r(1),n=r.rounding}else{if(e=new r(e),void 0===n?n=r.rounding:uh(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(Yf=!1,t=dh(t,e,0,n,1).times(e),Yf=!0,mh(t)):(e.s=t.s,t=e),t},oh.toNumber=function(){return+this},oh.toOctal=function(e,n){return Ph(this,8,e,n)},oh.toPower=oh.pow=function(e){var n,t,r,i,a,o,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(Qf(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,a=u.rounding,e.eq(1))return mh(s,r,a);if((n=Jf(e.e/7))>=e.d.length-1&&(t=c<0?-c:c)<=9007199254740991)return i=vh(u,s,t,r),e.s<0?new u(1).div(i):mh(i,r,a);if((o=s.s)<0){if(n<e.d.length-1)return new u(NaN);if(1&e.d[n]||(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(n=0!=(t=Qf(+s,c))&&isFinite(t)?new u(t+"").e:Jf(c*(Math.log("0."+sh(s.d))/Math.LN10+s.e+1)))>u.maxE+1||n<u.minE-1?new u(n>0?o/0:0):(Yf=!1,u.rounding=s.s=1,t=Math.min(12,(n+"").length),(i=_h(e.times(Eh(s,r+t)),r)).d&&ch((i=mh(i,r+5,1)).d,r,a)&&(n=r+10,+sh((i=mh(_h(e.times(Eh(s,n+t)),n),n+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=mh(i,r+1,0))),i.s=o,Yf=!0,u.rounding=a,mh(i,r,a))},oh.toPrecision=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=fh(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(uh(e,1,xf),void 0===n?n=i.rounding:uh(n,0,8),t=fh(r=mh(new i(r),e,n),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+t:t},oh.toSignificantDigits=oh.toSD=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(uh(e,1,xf),void 0===n?n=t.rounding:uh(n,0,8)),mh(new t(this),e,n)},oh.toString=function(){var e=this,n=e.constructor,t=fh(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},oh.truncated=oh.trunc=function(){return mh(new this.constructor(this),this.e+1,1)},oh.valueOf=oh.toJSON=function(){var e=this,n=e.constructor,t=fh(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};var dh=function(){function e(e,n,t){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*n+i,e[a]=r%t|0,i=r/t|0;return i&&e.unshift(i),e}function n(e,n,t,r){var i,a;if(t!=r)a=t>r?1:-1;else for(i=a=0;i<t;i++)if(e[i]!=n[i]){a=e[i]>n[i]?1:-1;break}return a}function t(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,a,o,s,u){var c,l,d,m,f,h,y,M,g,p,v,w,b,_,E,T,D,S,A,k,C=r.constructor,P=r.s==i.s?1:-1,N=r.d,z=i.d;if(!(N&&N[0]&&z&&z[0]))return new C(r.s&&i.s&&(N?!z||N[0]!=z[0]:z)?N&&0==N[0]||!z?0*P:P/0:NaN);for(u?(f=1,l=r.e-i.e):(u=rh,f=7,l=Jf(r.e/f)-Jf(i.e/f)),A=z.length,D=N.length,p=(g=new C(P)).d=[],d=0;z[d]==(N[d]||0);d++);if(z[d]>(N[d]||0)&&l--,null==a?(_=a=C.precision,o=C.rounding):_=s?a+(r.e-i.e)+1:a,_<0)p.push(1),h=!0;else{if(_=_/f+2|0,d=0,1==A){for(m=0,z=z[0],_++;(d<D||m)&&_--;d++)E=m*u+(N[d]||0),p[d]=E/z|0,m=E%z|0;h=m||d<D}else{for((m=u/(z[0]+1)|0)>1&&(z=e(z,m,u),N=e(N,m,u),A=z.length,D=N.length),T=A,w=(v=N.slice(0,A)).length;w<A;)v[w++]=0;(k=z.slice()).unshift(0),S=z[0],z[1]>=u/2&&++S;do{m=0,(c=n(z,v,A,w))<0?(b=v[0],A!=w&&(b=b*u+(v[1]||0)),(m=b/S|0)>1?(m>=u&&(m=u-1),1==(c=n(y=e(z,m,u),v,M=y.length,w=v.length))&&(m--,t(y,A<M?k:z,M,u))):(0==m&&(c=m=1),y=z.slice()),(M=y.length)<w&&y.unshift(0),t(v,y,w,u),-1==c&&(c=n(z,v,A,w=v.length))<1&&(m++,t(v,A<w?k:z,w,u)),w=v.length):0===c&&(m++,v=[0]),p[d++]=m,c&&v[0]?v[w++]=N[T]||0:(v=[N[T]],w=1)}while((T++<D||void 0!==v[0])&&_--);h=void 0!==v[0]}p[0]||p.shift()}if(1==f)g.e=l,Lf=h;else{for(d=1,m=p[0];m>=10;m/=10)d++;g.e=d+l*f-1,mh(g,s?a+g.e+1:a,o,h)}return g}}();function mh(e,n,t,r){var i,a,o,s,u,c,l,d,m,f=e.constructor;e:if(null!=n){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((a=n-i)<0)a+=7,o=n,u=(l=d[m=0])/Qf(10,i-o-1)%10|0;else if((m=Math.ceil((a+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=m;)d.push(0);l=u=0,i=1,o=(a%=7)-7+1}else{for(l=s=d[m],i=1;s>=10;s/=10)i++;u=(o=(a%=7)-7+i)<0?0:l/Qf(10,i-o-1)%10|0}if(r=r||n<0||void 0!==d[m+1]||(o<0?l:l%Qf(10,i-o-1)),c=t<4?(u||r)&&(0==t||t==(e.s<0?3:2)):u>5||5==u&&(4==t||r||6==t&&(a>0?o>0?l/Qf(10,i-o):0:d[m-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,c?(n-=e.e+1,d[0]=Qf(10,(7-n%7)%7),e.e=-n||0):d[0]=e.e=0,e;if(0==a?(d.length=m,s=1,m--):(d.length=m+1,s=Qf(10,7-a),d[m]=o>0?(l/Qf(10,i-o)%Qf(10,o)|0)*s:0),c)for(;;){if(0==m){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==rh&&(d[0]=1));break}if(d[m]+=s,d[m]!=rh)break;d[m--]=0,s=1}for(a=d.length;0===d[--a];)d.pop()}return Yf&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function fh(e,n,t){if(!e.isFinite())return Th(e);var r,i=e.e,a=sh(e.d),o=a.length;return n?(t&&(r=t-o)>0?a=a.charAt(0)+"."+a.slice(1)+ph(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+ph(-i-1)+a,t&&(r=t-o)>0&&(a+=ph(r))):i>=o?(a+=ph(i+1-o),t&&(r=t-i-1)>0&&(a=a+"."+ph(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),t&&(r=t-o)>0&&(i+1===o&&(a+="."),a+=ph(r))),a}function hh(e,n){var t=e[0];for(n*=7;t>=10;t/=10)n++;return n}function yh(e,n,t){if(n>ih)throw Yf=!0,t&&(e.precision=t),Error(Kf);return mh(new e(jf),n,1,!0)}function Mh(e,n,t){if(n>ah)throw Error(Kf);return mh(new e(Zf),n,t,!0)}function gh(e){var n=e.length-1,t=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function ph(e){for(var n="";e--;)n+="0";return n}function vh(e,n,t,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(Yf=!1;;){if(t%2&&Nh((a=a.times(n)).d,o)&&(i=!0),0===(t=Jf(t/2))){t=a.d.length-1,i&&0===a.d[t]&&++a.d[t];break}Nh((n=n.times(n)).d,o)}return Yf=!0,a}function wh(e){return 1&e.d[e.d.length-1]}function bh(e,n,t){for(var r,i,a=new e(n[0]),o=0;++o<n.length;){if(!(i=new e(n[o])).s){a=i;break}((r=a.cmp(i))===t||0===r&&a.s===t)&&(a=i)}return a}function _h(e,n){var t,r,i,a,o,s,u,c=0,l=0,d=0,m=e.constructor,f=m.rounding,h=m.precision;if(!e.d||!e.d[0]||e.e>17)return new m(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(Yf=!1,u=h):u=n,s=new m(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(Qf(2,d))/Math.LN10*2+5|0,t=a=o=new m(1),m.precision=u;;){if(a=mh(a.times(e),u,1),t=t.times(++l),sh((s=o.plus(dh(a,t,u,1))).d).slice(0,u)===sh(o.d).slice(0,u)){for(i=d;i--;)o=mh(o.times(o),u,1);if(null!=n)return m.precision=h,o;if(!(c<3&&ch(o.d,u-r,f,c)))return mh(o,m.precision=h,f,Yf=!0);m.precision=u+=10,t=a=s=new m(1),l=0,c++}o=s}}function Eh(e,n){var t,r,i,a,o,s,u,c,l,d,m,f=1,h=e,y=h.d,M=h.constructor,g=M.rounding,p=M.precision;if(h.s<0||!y||!y[0]||!h.e&&1==y[0]&&1==y.length)return new M(y&&!y[0]?-1/0:1!=h.s?NaN:y?0:h);if(null==n?(Yf=!1,l=p):l=n,M.precision=l+=10,r=(t=sh(y)).charAt(0),!(Math.abs(a=h.e)<15e14))return c=yh(M,l+2,p).times(a+""),h=Eh(new M(r+"."+t.slice(1)),l-10).plus(c),M.precision=p,null==n?mh(h,p,g,Yf=!0):h;for(;r<7&&1!=r||1==r&&t.charAt(1)>3;)r=(t=sh((h=h.times(e)).d)).charAt(0),f++;for(a=h.e,r>1?(h=new M("0."+t),a++):h=new M(r+"."+t.slice(1)),d=h,u=o=h=dh(h.minus(1),h.plus(1),l,1),m=mh(h.times(h),l,1),i=3;;){if(o=mh(o.times(m),l,1),sh((c=u.plus(dh(o,new M(i),l,1))).d).slice(0,l)===sh(u.d).slice(0,l)){if(u=u.times(2),0!==a&&(u=u.plus(yh(M,l+2,p).times(a+""))),u=dh(u,new M(f),l,1),null!=n)return M.precision=p,u;if(!ch(u.d,l-10,g,s))return mh(u,M.precision=p,g,Yf=!0);M.precision=l+=10,c=o=h=dh(d.minus(1),d.plus(1),l,1),m=mh(h.times(h),l,1),i=s=1}u=c,i+=2}}function Th(e){return String(e.s*e.s/0)}function Dh(e,n){var t,r,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),r=0;48===n.charCodeAt(r);r++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(r,i)){if(i-=r,e.e=t=t-r-1,e.d=[],r=(t+1)%7,t<0&&(r+=7),r<i){for(r&&e.d.push(+n.slice(0,r)),i-=7;r<i;)e.d.push(+n.slice(r,r+=7));r=7-(n=n.slice(r)).length}else r-=i;for(;r--;)n+="0";e.d.push(+n),Yf&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function Sh(e,n){var t,r,i,a,o,s,u,c,l;if(n.indexOf("_")>-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),th.test(n))return Dh(e,n)}else if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(eh.test(n))t=16,n=n.toLowerCase();else if(Xf.test(n))t=2;else{if(!nh.test(n))throw Error(Wf+n);t=8}for((a=n.search(/p/i))>0?(u=+n.slice(a+1),n=n.substring(2,a)):n=n.slice(2),o=(a=n.indexOf("."))>=0,r=e.constructor,o&&(a=(s=(n=n.replace(".","")).length)-a,i=vh(r,new r(t),a,2*a)),a=l=(c=lh(n,t,rh)).length-1;0===c[a];--a)c.pop();return a<0?new r(0*e.s):(e.e=hh(c,l),e.d=c,Yf=!1,o&&(e=dh(e,i,4*s)),u&&(e=e.times(Math.abs(u)<54?Qf(2,u):py.pow(2,u))),Yf=!0,e)}function Ah(e,n,t,r,i){var a,o,s,u,c=e.precision,l=Math.ceil(c/7);for(Yf=!1,u=t.times(t),s=new e(r);;){if(o=dh(s.times(u),new e(n++*n++),c,1),s=i?r.plus(o):r.minus(o),r=dh(o.times(u),new e(n++*n++),c,1),void 0!==(o=s.plus(r)).d[l]){for(a=l;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return Yf=!0,o.d.length=l+1,o}function kh(e,n){for(var t=e;--n;)t*=e;return t}function Ch(e,n){var t,r=n.s<0,i=Mh(e,e.precision,1),a=i.times(.5);if((n=n.abs()).lte(a))return Gf=r?4:1,n;if((t=n.divToInt(i)).isZero())Gf=r?3:2;else{if((n=n.minus(t.times(i))).lte(a))return Gf=wh(t)?r?2:3:r?4:1,n;Gf=wh(t)?r?1:4:r?3:2}return n.minus(i).abs()}function Ph(e,n,t,r){var i,a,o,s,u,c,l,d,m,f=e.constructor,h=void 0!==t;if(h?(uh(t,1,xf),void 0===r?r=f.rounding:uh(r,0,8)):(t=f.precision,r=f.rounding),e.isFinite()){for(h?(i=2,16==n?t=4*t-3:8==n&&(t=3*t-2)):i=n,(o=(l=fh(e)).indexOf("."))>=0&&(l=l.replace(".",""),(m=new f(1)).e=l.length-o,m.d=lh(fh(m),10,i),m.e=m.d.length),a=u=(d=lh(l,10,i)).length;0==d[--u];)d.pop();if(d[0]){if(o<0?a--:((e=new f(e)).d=d,e.e=a,d=(e=dh(e,m,t,r,0,i)).d,a=e.e,c=Lf),o=d[t],s=i/2,c=c||void 0!==d[t+1],c=r<4?(void 0!==o||c)&&(0===r||r===(e.s<0?3:2)):o>s||o===s&&(4===r||c||6===r&&1&d[t-1]||r===(e.s<0?8:7)),d.length=t,c)for(;++d[--t]>i-1;)d[t]=0,t||(++a,d.unshift(1));for(u=d.length;!d[u-1];--u);for(o=0,l="";o<u;o++)l+=Rf.charAt(d[o]);if(h){if(u>1)if(16==n||8==n){for(o=16==n?4:3,--u;u%o;u++)l+="0";for(u=(d=lh(l,i,n)).length;!d[u-1];--u);for(o=1,l="1.";o<u;o++)l+=Rf.charAt(d[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)l="0"+l;l="0."+l}else if(++a>u)for(a-=u;a--;)l+="0";else a<u&&(l=l.slice(0,a)+"."+l.slice(a))}else l=h?"0p+0":"0";l=(16==n?"0x":2==n?"0b":8==n?"0o":"")+l}else l=Th(e);return e.s<0?"-"+l:l}function Nh(e,n){if(e.length>n)return e.length=n,!0}function zh(e){return new this(e).abs()}function Hh(e){return new this(e).acos()}function Ih(e){return new this(e).acosh()}function Fh(e,n){return new this(e).plus(n)}function Oh(e){return new this(e).asin()}function Lh(e){return new this(e).asinh()}function Gh(e){return new this(e).atan()}function Bh(e){return new this(e).atanh()}function xh(e,n){e=new this(e),n=new this(n);var t,r=this.precision,i=this.rounding,a=r+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(t=n.s<0?Mh(this,r,i):new this(0)).s=e.s:!e.d||n.isZero()?(t=Mh(this,a,1).times(.5)).s=e.s:n.s<0?(this.precision=a,this.rounding=1,t=this.atan(dh(e,n,a,1)),n=Mh(this,a,1),this.precision=r,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(dh(e,n,a,1)):(t=Mh(this,a,1).times(n.s>0?.25:.75)).s=e.s:t=new this(NaN),t}function Rh(e){return new this(e).cbrt()}function jh(e){return mh(e=new this(e),e.e+1,2)}function Zh(e,n,t){return new this(e).clamp(n,t)}function Uh(e){if(!e||"object"!=typeof e)throw Error(qf+"Object expected");var n,t,r,i=!0===e.defaults,a=["precision",1,xf,"rounding",0,8,"toExpNeg",-Bf,0,"toExpPos",0,Bf,"maxE",0,Bf,"minE",-Bf,0,"modulo",0,9];for(n=0;n<a.length;n+=3)if(t=a[n],i&&(this[t]=Uf[t]),void 0!==(r=e[t])){if(!(Jf(r)===r&&r>=a[n+1]&&r<=a[n+2]))throw Error(Wf+t+": "+r);this[t]=r}if(t="crypto",i&&(this[t]=Uf[t]),void 0!==(r=e[t])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(Wf+t+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(Vf);this[t]=!0}else this[t]=!1}return this}function Yh(e){return new this(e).cos()}function qh(e){return new this(e).cosh()}function Wh(e,n){return new this(e).div(n)}function Kh(e){return new this(e).exp()}function Vh(e){return mh(e=new this(e),e.e+1,3)}function $h(){var e,n,t=new this(0);for(Yf=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return Yf=!0,new this(1/0);t=n}return Yf=!0,t.sqrt()}function Jh(e){return e instanceof py||e&&e.toStringTag===$f||!1}function Qh(e){return new this(e).ln()}function Xh(e,n){return new this(e).log(n)}function ey(e){return new this(e).log(2)}function ny(e){return new this(e).log(10)}function ty(){return bh(this,arguments,-1)}function ry(){return bh(this,arguments,1)}function iy(e,n){return new this(e).mod(n)}function ay(e,n){return new this(e).mul(n)}function oy(e,n){return new this(e).pow(n)}function sy(e){var n,t,r,i,a=0,o=new this(1),s=[];if(void 0===e?e=this.precision:uh(e,1,xf),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=n[a])>=429e7?n[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else{if(!crypto.randomBytes)throw Error(Vf);for(n=crypto.randomBytes(r*=4);a<r;)(i=n[a]+(n[a+1]<<8)+(n[a+2]<<16)+((127&n[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,a):(s.push(i%1e7),a+=4);a=r/4}else for(;a<r;)s[a++]=1e7*Math.random()|0;for(e%=7,(r=s[--a])&&e&&(i=Qf(10,7-e),s[a]=(r/i|0)*i);0===s[a];a--)s.pop();if(a<0)t=0,s=[0];else{for(t=-1;0===s[0];t-=7)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<7&&(t-=7-r)}return o.e=t,o.d=s,o}function uy(e){return mh(e=new this(e),e.e+1,this.rounding)}function cy(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function ly(e){return new this(e).sin()}function dy(e){return new this(e).sinh()}function my(e){return new this(e).sqrt()}function fy(e,n){return new this(e).sub(n)}function hy(){var e=0,n=arguments,t=new this(n[e]);for(Yf=!1;t.s&&++e<n.length;)t=t.plus(n[e]);return Yf=!0,mh(t,this.precision,this.rounding)}function yy(e){return new this(e).tan()}function My(e){return new this(e).tanh()}function gy(e){return mh(e=new this(e),e.e+1,1)}oh[Symbol.for("nodejs.util.inspect.custom")]=oh.toString,oh[Symbol.toStringTag]="Decimal";var py=oh.constructor=function e(n){var t,r,i;function a(e){var n,t,r,i=this;if(!(i instanceof a))return new a(e);if(i.constructor=a,Jh(e))return i.s=e.s,void(Yf?!e.d||e.e>a.maxE?(i.e=NaN,i.d=null):e.e<a.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,t=e;t>=10;t/=10)n++;return void(Yf?n>a.maxE?(i.e=NaN,i.d=null):n<a.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):Dh(i,e.toString())}if("string"===r)return 45===(t=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===t&&(e=e.slice(1)),i.s=1),th.test(e)?Dh(i,e):Sh(i,e);if("bigint"===r)return e<0?(e=-e,i.s=-1):i.s=1,Dh(i,e.toString());throw Error(Wf+e)}if(a.prototype=oh,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=Uh,a.clone=e,a.isDecimal=Jh,a.abs=zh,a.acos=Hh,a.acosh=Ih,a.add=Fh,a.asin=Oh,a.asinh=Lh,a.atan=Gh,a.atanh=Bh,a.atan2=xh,a.cbrt=Rh,a.ceil=jh,a.clamp=Zh,a.cos=Yh,a.cosh=qh,a.div=Wh,a.exp=Kh,a.floor=Vh,a.hypot=$h,a.ln=Qh,a.log=Xh,a.log10=ny,a.log2=ey,a.max=ty,a.min=ry,a.mod=iy,a.mul=ay,a.pow=oy,a.random=sy,a.round=uy,a.sign=cy,a.sin=ly,a.sinh=dy,a.sqrt=my,a.sub=fy,a.sum=hy,a.tan=yy,a.tanh=My,a.trunc=gy,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)n.hasOwnProperty(r=i[t++])||(n[r]=this[r]);return a.config(n),a}(Uf);jf=new py(jf),Zf=new py(Zf),new py(10);var vy=new py(0),wy=new py(-0);function by(e,n){var t=n&&n.cache?n.cache:ky,r=n&&n.serializer?n.serializer:Sy;return(n&&n.strategy?n.strategy:Dy)(e,{cache:t,serializer:r})}function _y(e,n,t,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:t(r),o=n.get(a);return void 0===o&&(o=e.call(this,r),n.set(a,o)),o}function Ey(e,n,t){var r=Array.prototype.slice.call(arguments,3),i=t(r),a=n.get(i);return void 0===a&&(a=e.apply(this,r),n.set(i,a)),a}function Ty(e,n,t,r,i){return t.bind(n,e,r,i)}function Dy(e,n){return Ty(e,this,1===e.length?_y:Ey,n.cache.create(),n.serializer)}var Sy=function(){return JSON.stringify(arguments)},Ay=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,n){this.cache[e]=n},e}(),ky={create:function(){return new Ay}},Cy={variadic:function(e,n){return Ty(e,this,Ey,n.cache.create(),n.serializer)}};function Py(e,n){if("function"==typeof e.repeat)return e.repeat(n);for(var t=new Array(n),r=0;r<t.length;r++)t[r]=e;return t.join("")}function Ny(e,n,t,r){e.get(n)||e.set(n,Object.create(null)),e.get(n)[t]=r}function zy(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var i=e.get(n);if(!i)throw new TypeError("".concat(n," InternalSlot has not been initialized"));return t.reduce(function(e,n){return e[n]=i[n],e},Object.create(null))}function Hy(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}var Iy=by(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.NumberFormat).bind.apply(e,Mf([void 0],n,!1)))},{strategy:Cy.variadic}),Fy=by(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.DateTimeFormat).bind.apply(e,Mf([void 0],n,!1)))},{strategy:Cy.variadic}),Oy=by(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.PluralRules).bind.apply(e,Mf([void 0],n,!1)))},{strategy:Cy.variadic}),Ly=by(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.Locale).bind.apply(e,Mf([void 0],n,!1)))},{strategy:Cy.variadic}),Gy=by(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.ListFormat).bind.apply(e,Mf([void 0],n,!1)))},{strategy:Cy.variadic});function By(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function xy(e){if("number"==typeof e)return new py(e);if(Hy("bigint"!=typeof e&&"symbol"!=typeof e,"BigInt and Symbol are not supported",TypeError),void 0===e)return new py(NaN);if(null===e||0===e)return vy;if(!0===e)return new py(1);if("string"==typeof e)try{return new py(e)}catch(e){return new py(NaN)}Hy("object"==typeof e,"object expected",TypeError);var n=nM(e,"number");return Hy("object"!=typeof n,"object expected",TypeError),xy(n)}function Ry(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function jy(e){return new Array(e)}function Zy(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var Uy=864e5;function Yy(e,n){return e-Math.floor(e/n)*n}function qy(e){return Math.floor(e/Uy)}function Wy(e){if(e<100){var n=new Date(0);return n.setUTCFullYear(e,0,1),n.setUTCHours(0,0,0,0),n.getTime()/Uy}return Date.UTC(e,0)/Uy}function Ky(e){return new Date(e).getUTCFullYear()}function Vy(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function $y(e){return qy(e)-Wy(Ky(e))}function Jy(e){return 365===Vy(Ky(e))?0:1}function Qy(e){var n=$y(e),t=Jy(e);if(n>=0&&n<31)return 0;if(n<59+t)return 1;if(n<90+t)return 2;if(n<120+t)return 3;if(n<151+t)return 4;if(n<181+t)return 5;if(n<212+t)return 6;if(n<243+t)return 7;if(n<273+t)return 8;if(n<304+t)return 9;if(n<334+t)return 10;if(n<365+t)return 11;throw new Error("Invalid time")}var Xy=1e3;function eM(e){return"function"==typeof e}function nM(e,n){if("object"==typeof e&&null!=e){var t=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0,r=void 0;if(void 0!==t){void 0===n?r="default":"string"===n?r="string":(Hy("number"===n,'preferredType must be "string" or "number"'),r="number");var i=t.call(e,r);if("object"!=typeof i)return i;throw new TypeError("Cannot convert exotic object to primitive.")}return void 0===n&&(n="number"),function(e,n){for(var t=0,r="string"===n?["toString","valueOf"]:["valueOf","toString"];t<r.length;t++){var i=e[r[t]];if(eM(i)){var a=i.call(e);if("object"!=typeof a)return a}}throw new TypeError("Cannot convert object to primitive value")}(e,n)}return e}function tM(e){return void 0===e?Object.create(null):Ry(e)}function rM(e,n,t,r){if(void 0===e)return r;var i=Number(e);if(isNaN(i)||i<n||i>t)throw new RangeError("".concat(i," is outside of range [").concat(n,", ").concat(t,"]"));return Math.floor(i)}function iM(e,n,t,r,i){return rM(e[n],t,r,i)}function aM(e,n,t,r,i){if("object"!=typeof e)throw new TypeError("Options must be an object");var a=e[n];if(void 0!==a){if("boolean"!==t&&"string"!==t)throw new TypeError("invalid type");if("boolean"===t&&(a=Boolean(a)),"string"===t&&(a=By(a)),void 0!==r&&!r.filter(function(e){return e==a}).length)throw new RangeError("".concat(a," is not within ").concat(r.join(", ")));return a}return i}function oM(e,n,t,r,i,a){var o=e[n];if(void 0===o)return a;if(!0===o)return r;if(!1===Boolean(o))return i;if("true"===(o=By(o))||"false"===o)return a;if(-1===(t||[]).indexOf(o))throw new RangeError("Invalid value ".concat(o));return o}var sM=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function uM(e){return e.slice(e.indexOf("-")+1)}var cM=sM.map(uM);function lM(e){return cM.indexOf(e)>-1}var dM=/[^A-Z]/;function mM(e){return e=e.replace(/([a-z])/g,function(e,n){return n.toUpperCase()}),3===e.length&&!dM.test(e)}function fM(e){if(e=e.replace(/([A-Z])/g,function(e,n){return n.toLowerCase()}),lM(e))return!0;var n=e.split("-per-");if(2!==n.length)return!1;var t=n[0],r=n[1];return!(!lM(t)||!lM(r))}function hM(e,n,t,r){if(e.eq(n))return n;if(Hy(n.lessThan(e)&&e.lessThan(t),"x should be between r1 and r2 but x=".concat(e,", r1=").concat(n,", r2=").concat(t)),"zero"===r)return n;if("infinity"===r)return t;var i=e.minus(n),a=t.minus(e);return i.lessThan(a)?n:a.lessThan(i)?t:(Hy(i.eq(a),"d1 should be equal to d2"),"half-zero"===r?n:"half-infinity"===r?t:(Hy("half-even"===r,"unsignedRoundingMode should be half-even"),n.div(t.minus(n)).mod(2).isZero()?n:t))}var yM=new Set(["unit","exponentMinusSign","minusSign","plusSign","percentSign","exponentSeparator","percent","percentSign","currency","literal"]);function MM(e,n,t){for(var r=(0,t.getInternalSlots)(e),i=r.dataLocaleData.numbers.symbols[r.numberingSystem],a=new RegExp("s?[".concat(i.rangeSign,"]s?")),o=n.findIndex(function(e){return"literal"===e.type&&a.test(e.value)}),s=[],u=o-1;u>=0&&yM.has(n[u].type);u--)s.unshift(n[u]);if(Array.from(s.map(function(e){return e.value}).join("")).length>1)return(c=Array.from(n)).splice(o-s.length,s.length),c;var c,l=[];for(u=o+1;u<n.length&&yM.has(n[u].type);u++)l.push(n[u]);return Array.from(l.map(function(e){return e.value}).join("")).length>1?((c=Array.from(n)).splice(o+1,l.length),c):n}function gM(e,n){var t=e.notation,r=e.dataLocaleData,i=e.numberingSystem;switch(t){case"standard":return 0;case"scientific":return n.toNumber();case"engineering":return n.div(3).floor().times(3).toNumber();default:Hy("compact"===t,"Invalid notation");var a=e.compactDisplay,o=e.style,s=e.currencyDisplay,u=void 0;if("currency"===o&&"name"!==s){u=(r.numbers.currency[i]||r.numbers.currency[r.numbers.nu[0]]).short}else{var c=r.numbers.decimal[i]||r.numbers.decimal[r.numbers.nu[0]];u="long"===a?c.long:c.short}if(!u)return 0;var l=py.pow(10,n).toString(),d=Object.keys(u);if(l<d[0])return 0;if(l>d[d.length-1])return d[d.length-1].length-1;var m=d.indexOf(l);if(-1===m)return 0;var f=d[m];return"0"===u[f].other?0:f.length-u[f].other.match(/0+/)[0].length}}py.set({toExpPos:100});var pM={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},vM={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function wM(e,n){return n?pM[e]:vM[e]}function bM(e,n){return e.times(py.pow(10,-n))}function _M(e,n,t,r,i){var a,o,s,u,c=t,l=function(e,n,t){var r=e.times(py.pow(10,n)).floor().div(t).floor().times(t);return{n1:r,r1:bM(r,n)}}(e,c,r),d=l.n1,m=l.r1,f=function(e,n,t){var r=e.times(py.pow(10,n)).ceil().div(t).ceil().times(t);return{n2:r,r2:bM(r,n)}}(e,c,r),h=f.n2,y=f.r2;if(hM(e,m,y,i).eq(m)?(a=d,o=m):(a=h,o=y),s=a.isZero()?"0":a.toString(),0!==c){var M=s.length;if(M<=c)s=Py("0",c-M+1)+s,M=c+1;var g=s.slice(0,M-c),p=s.slice(s.length-c);s=g+"."+p,u=g.length}else u=s.length;for(var v=t-n;v>0&&"0"===s[s.length-1];)s=s.slice(0,s.length-1),v--;return"."===s[s.length-1]&&(s=s.slice(0,s.length-1)),{formattedString:s,roundedNumber:o,integerDigitsCount:u,roundingMagnitude:-c}}function EM(e,n,t,r){var i,a,o,s,u=t;if(e.isZero())i=Py("0",u),a=0,o=vy;else{var c=function(e,n){for(var t=py.pow(10,n),r=py.pow(10,n-1),i=e.div(r).log(10).plus(n).minus(1).ceil();;){var a=e.div(py.pow(10,i.minus(n).plus(1))).floor();if(a.lessThan(t)&&a.greaterThanOrEqualTo(r)){var o=a.times(py.pow(10,i.minus(n).plus(1)));if(o.lessThanOrEqualTo(e))return{n1:a,e1:i,r1:o}}i=i.minus(1)}}(e,u),l=c.n1,d=c.e1,m=c.r1,f=function(e,n){for(var t=py.pow(10,n),r=py.pow(10,n-1),i=e.div(t).log(10).plus(n).minus(1).floor();;){var a=e.div(py.pow(10,i.minus(n).plus(1))).ceil();if(a.lessThan(t)&&a.greaterThanOrEqualTo(r)){var o=a.times(py.pow(10,i.minus(n).plus(1)));if(o.greaterThanOrEqualTo(e))return{n2:a,e2:i,r2:o}}i=i.plus(1)}}(e,u),h=f.n2,y=f.e2,M=f.r2,g=void 0;hM(e,m,M,r).eq(m)?(g=l,a=d.toNumber(),o=m):(g=h,a=y.toNumber(),o=M),i=g.toString()}if(a>=u-1?(i+=Py("0",a-u+1),s=a+1):a>=0?(i=i.slice(0,a+1)+"."+i.slice(i.length-(u-(a+1))),s=a+1):(Hy(a<0,"e should be less than 0"),i="0."+Py("0",-a-1)+i,s=1),i.includes(".")&&t>n){for(var p=t-n;p>0&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),p--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1))}return{formattedString:i,roundedNumber:o,integerDigitsCount:s,roundingMagnitude:a}}function TM(e,n){var t,r,i=n;i.isZero()&&i.isNegative()?(t="negative",i=vy):(Hy(i.isFinite(),"NumberFormatDigitInternalSlots value is not finite"),"negative"===(t=i.lessThan(0)?"negative":"positive")&&(i=i.negated()));var a=e.roundingType,o=wM(e.roundingMode,"negative"===t);switch(a){case"significantDigits":r=EM(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o);break;case"fractionDigits":r=_M(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);break;default:var s=EM(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o),u=_M(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);"morePrecision"===e.roundingType?r=s.roundingMagnitude<=u.roundingMagnitude?s:u:(Hy("lessPrecision"===e.roundingType,"Invalid roundingType"),r=s.roundingMagnitude<=u.roundingMagnitude?u:s)}i=r.roundedNumber;var c=r.formattedString;if("stripIfInteger"===e.trailingZeroDisplay&&i.isInteger()){var l=c.indexOf(".");l>-1&&(c=c.slice(0,l))}var d=r.integerDigitsCount,m=e.minimumIntegerDigits;d<m&&(c=Py("0",m-d)+c);return"negative"===t&&(i=i.isZero()?wy:i.negated()),{roundedNumber:i,formattedString:c}}function DM(e,n){if(n.isZero())return[0,0];n.isNegative()&&(n=n.negated());var t=n.log(10).floor(),r=gM(e,t),i=TM(e,n=n.times(py.pow(10,-r)));return i.roundedNumber.isZero()||i.roundedNumber.log(10).floor().eq(t.minus(r))?[r,t.toNumber()]:[gM(e,t.plus(1)),t.plus(1).toNumber()]}function SM(e,n){var t=n.currencyDigitsData;return Zy(t,e)?t[e]:2}py.set({toExpPos:100});var AM=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/,kM={adlm:["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],cakm:["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],hmnp:["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],mathdbl:["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],mathmono:["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],mathsanb:["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],mathsans:["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],rohg:["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],wcho:["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]},CM=new RegExp("^".concat(AM.source)),PM=new RegExp("".concat(AM.source,"$")),NM=/[#0](?:[\.,][#0]+)*/g;function zM(e,n,t,r){var i,a,o,s=e.sign,u=e.exponent,c=e.magnitude,l=r.notation,d=r.style,m=r.numberingSystem,f=n.numbers.nu[0],h=null;if("compact"===l&&c&&(h=function(e,n,t,r,i,a,o){var s,u,c=e.roundedNumber,l=e.sign,d=e.magnitude,m=String(Math.pow(10,d)),f=t.numbers.nu[0];if("currency"===r&&"name"!==a){var h=null===(s=((y=t.numbers.currency)[o]||y[f]).short)||void 0===s?void 0:s[m];if(!h)return null;u=FM(n,c.toNumber(),h)}else{var y,M=((y=t.numbers.decimal)[o]||y[f])[i][m];if(!M)return null;u=FM(n,c.toNumber(),M)}if("0"===u)return null;return u=IM(u,l).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),u}(e,t,n,d,r.compactDisplay,r.currencyDisplay,m)),"currency"===d&&"name"!==r.currencyDisplay){var y=n.currencies[r.currency];if(y)switch(r.currencyDisplay){case"code":a=r.currency;break;case"symbol":a=y.symbol;break;default:a=y.narrow}else a=r.currency}if(h)o=h;else if("decimal"===d||"unit"===d||"currency"===d&&"name"===r.currencyDisplay)o=IM((n.numbers.decimal[m]||n.numbers.decimal[f]).standard,s);else if("currency"===d){o=IM((g=n.numbers.currency[m]||n.numbers.currency[f])[r.currencySign],s)}else{o=IM(n.numbers.percent[m]||n.numbers.percent[f],s)}var M=NM.exec(o)[0];if(o=o.replace(NM,"{0}").replace(/'(.)'/g,"$1"),"currency"===d&&"name"!==r.currencyDisplay){var g,p=(g=n.numbers.currency[m]||n.numbers.currency[f]).currencySpacing.afterInsertBetween;p&&!PM.test(a)&&(o=o.replace("¤{0}","¤".concat(p,"{0}")));var v=g.currencySpacing.beforeInsertBetween;v&&!CM.test(a)&&(o=o.replace("{0}¤","{0}".concat(v,"¤")))}for(var w=o.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),b=[],_=n.numbers.symbols[m]||n.numbers.symbols[f],E=0,T=w;E<T.length;E++){if(Z=T[E])switch(Z){case"{0}":b.push.apply(b,HM(_,e,l,u,m,!h&&(null===(i=r.useGrouping)||void 0===i||i),M,d,r.roundingIncrement,wM(r.roundingMode,-1===s)));break;case"-":b.push({type:"minusSign",value:_.minusSign});break;case"+":b.push({type:"plusSign",value:_.plusSign});break;case"%":b.push({type:"percentSign",value:_.percentSign});break;case"¤":b.push({type:"currency",value:a});break;default:/^\{c:/.test(Z)?b.push({type:"compact",value:Z.substring(3,Z.length-1)}):b.push({type:"literal",value:Z})}}switch(d){case"currency":if("name"===r.currencyDisplay){var D=(n.numbers.currency[m]||n.numbers.currency[f]).unitPattern,S=void 0,A=n.currencies[r.currency];S=A?FM(t,e.roundedNumber.times(py.pow(10,u)).toNumber(),A.displayName):r.currency;for(var k=[],C=0,P=D.split(/(\{[01]\})/g);C<P.length;C++){switch(Z=P[C]){case"{0}":k.push.apply(k,b);break;case"{1}":k.push({type:"currency",value:S});break;default:Z&&k.push({type:"literal",value:Z})}}return k}return b;case"unit":var N=r.unit,z=r.unitDisplay,H=n.units.simple[N];D=void 0;if(H)D=FM(t,e.roundedNumber.times(py.pow(10,u)).toNumber(),n.units.simple[N][z]);else{var I=N.split("-per-"),F=I[0],O=I[1];H=n.units.simple[F];var L=FM(t,e.roundedNumber.times(py.pow(10,u)).toNumber(),n.units.simple[F][z]),G=n.units.simple[O].perUnit[z];if(G)D=G.replace("{0}",L);else{var B=n.units.compound.per[z],x=FM(t,1,n.units.simple[O][z]);D=D=B.replace("{0}",L).replace("{1}",x.replace("{0}",""))}}k=[];for(var R=0,j=D.split(/(\s*\{0\}\s*)/);R<j.length;R++){var Z=j[R],U=/^(\s*)\{0\}(\s*)$/.exec(Z);U?(U[1]&&k.push({type:"literal",value:U[1]}),k.push.apply(k,b),U[2]&&k.push({type:"literal",value:U[2]})):Z&&k.push({type:"unit",value:Z})}return k;default:return b}}function HM(e,n,t,r,i,a,o,s,u,c){var l=[],d=n.formattedString,m=n.roundedNumber;if(m.isNaN())return[{type:"nan",value:d}];if(!m.isFinite())return[{type:"infinity",value:d}];var f=kM[i];f&&(d=d.replace(/\d/g,function(e){return f[+e]||e}));var h,y,M=d.indexOf(".");M>0?(h=d.slice(0,M),y=d.slice(M+1)):h=d;var g=!1;if("always"===a?g=!0:"min2"===a?g=m.greaterThanOrEqualTo(1e4):("auto"===a||a)&&(g="compact"!==t||m.greaterThanOrEqualTo(1e4)),g){var p="currency"===s&&null!=e.currencyGroup?e.currencyGroup:e.group,v=[],w=o.split(".")[0].split(","),b=3,_=3;w.length>1&&(b=w[w.length-1].length),w.length>2&&(_=w[w.length-2].length);var E=h.length-b;if(E>0){for(v.push(h.slice(E,E+b)),E-=_;E>0;E-=_)v.push(h.slice(E,E+_));v.push(h.slice(0,E+_))}else v.push(h);for(;v.length>0;){var T=v.pop();l.push({type:"integer",value:T}),v.length>0&&l.push({type:"group",value:p})}}else l.push({type:"integer",value:h});if(void 0!==y){var D="currency"===s&&null!=e.currencyDecimal?e.currencyDecimal:e.decimal;l.push({type:"decimal",value:D},{type:"fraction",value:y})}if(("scientific"===t||"engineering"===t)&&m.isFinite()){l.push({type:"exponentSeparator",value:e.exponential}),r<0&&(l.push({type:"exponentMinusSign",value:e.minusSign}),r=-r);var S=_M(new py(r),0,0,u,c);l.push({type:"exponentInteger",value:S.formattedString})}return l}function IM(e,n){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var t=e.split(";"),r=t[0],i=t[1];switch(n){case 0:return r;case-1:return i;default:return i.indexOf("-")>=0?i.replace(/-/g,"+"):"+".concat(r)}}function FM(e,n,t){return t[e.select(n)]||t.other}function OM(e,n){var t=e.dataLocaleData.numbers.symbols[e.numberingSystem].approximatelySign;return n.push({type:"approximatelySign",value:t}),n}function LM(e,n){var t,r,i,a=n,o=0,s=e.pl,u=e.dataLocaleData,c=e.numberingSystem,l=u.numbers.symbols[c]||u.numbers.symbols[u.numbers.nu[0]],d=0;if(a.isNaN())r=l.nan;else if(a.isFinite()){a.isZero()||(Hy(a.isFinite(),"Input must be a mathematical value"),"percent"==e.style&&(a=a.times(100)),d=(t=DM(e,a))[0],o=t[1],a=a.times(py.pow(10,-d)));var m=TM(e,a);r=m.formattedString,a=m.roundedNumber}else r=l.infinity;var f=e.signDisplay;switch(f){case"never":i=0;break;case"auto":i=a.isPositive()||a.isNaN()?0:-1;break;case"always":i=a.isPositive()||a.isNaN()?1:-1;break;case"exceptZero":i=a.isZero()?0:a.isNegative()?-1:1;break;default:Hy("negative"===f,'signDisplay must be "negative"'),i=a.isNegative()&&!a.isZero()?-1:0}return zM({roundedNumber:a,formattedString:r,exponent:d,magnitude:o,sign:i},e.dataLocaleData,s,e)}function GM(e,n){return LM(e,n).map(function(e){return e.value}).join("")}function BM(e,n,t,r){var i=r.getInternalSlots;Hy(!n.isNaN()&&!t.isNaN(),"Input must be a number",RangeError);var a=i(e),o=LM(a,n),s=LM(a,t);if(GM(a,n)===GM(a,t)){var u=OM(a,o);return u.forEach(function(e){e.source="shared"}),u}var c=[];o.forEach(function(e){e.source="startRange",c.push(e)});var l=a.dataLocaleData.numbers.symbols[a.numberingSystem].rangeSign;return c.push({type:"literal",value:l,source:"shared"}),s.forEach(function(e){e.source="endRange",c.push(e)}),MM(e,c,{getInternalSlots:i})}var xM={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},RM={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},jM=/-u(?:-[0-9a-z]{2,8})+/gi;function ZM(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}var UM;function YM(){var e,n;if(!UM){var t=null===(n=null===(e=xM.supplemental.languageMatching["written-new"][0])||void 0===e?void 0:e.paradigmLocales)||void 0===n?void 0:n._locales.split(" "),r=xM.supplemental.languageMatching["written-new"].slice(1,5),i=xM.supplemental.languageMatching["written-new"].slice(5).map(function(e){var n=Object.keys(e)[0],t=e[n];return{supported:n,desired:t._desired,distance:+t._distance,oneway:"true"===t.oneway}},{});UM={matches:i,matchVariables:r.reduce(function(e,n){var t=Object.keys(n)[0],r=n[t];return e[t.slice(1)]=r._value.split("+"),e},{}),paradigmLocales:Mf(Mf([],t,!0),t.map(function(e){return new Intl.Locale(e.replace(/_/g,"-")).maximize().toString()}),!0)}}return UM}function qM(e,n,t){var r=n.split("-"),i=r[0],a=r[1],o=r[2],s=!0;if(o&&"$"===o[0]){var u="!"!==o[1],c=(u?t[o.slice(1)]:t[o.slice(2)]).map(function(e){return RM[e]||[e]}).reduce(function(e,n){return Mf(Mf([],e,!0),n,!0)},[]);s&&(s=!(c.indexOf(e.region||"")>-1!=u))}else s&&(s=!e.region||("*"===o||o===e.region));return s&&(s=!e.script||("*"===a||a===e.script)),s&&(s=!e.language||("*"===i||i===e.language)),s}function WM(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function KM(e,n,t){for(var r=0,i=t.matches;r<i.length;r++){var a=i[r],o=qM(e,a.desired,t.matchVariables)&&qM(n,a.supported,t.matchVariables);if(a.oneway||o||(o=qM(e,a.supported,t.matchVariables)&&qM(n,a.desired,t.matchVariables)),o){var s=10*a.distance;return t.paradigmLocales.indexOf(WM(e))>-1!=t.paradigmLocales.indexOf(WM(n))>-1?s-1:s}}throw new Error("No matching distance found")}function VM(e,n,t){void 0===t&&(t=838);var r=1/0,i={matchedDesiredLocale:"",distances:{}};return e.forEach(function(e,t){i.distances[e]||(i.distances[e]={}),n.forEach(function(n){var a=function(e,n){var t=new Intl.Locale(e).maximize(),r=new Intl.Locale(n).maximize(),i={language:t.language,script:t.script||"",region:t.region||""},a={language:r.language,script:r.script||"",region:r.region||""},o=0,s=YM();return i.language!==a.language&&(o+=KM({language:t.language,script:"",region:""},{language:r.language,script:"",region:""},s)),i.script!==a.script&&(o+=KM({language:t.language,script:i.script,region:""},{language:r.language,script:a.script,region:""},s)),i.region!==a.region&&(o+=KM(i,a,s)),o}(e,n)+0+40*t;i.distances[e][n]=a,a<r&&(r=a,i.matchedDesiredLocale=e,i.matchedSupportedLocale=n)})}),r>=t&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0),i}function $M(e){return Intl.getCanonicalLocales(e)[0]}function JM(e,n){for(var t=n;;){if(e.indexOf(t)>-1)return t;var r=t.lastIndexOf("-");if(!~r)return;r>=2&&"-"===t[r-2]&&(r-=2),t=t.slice(0,r)}}function QM(e,n,t,r,i,a){var o,s;s="lookup"===t.localeMatcher?function(e,n,t){for(var r={locale:""},i=0,a=n;i<a.length;i++){var o=a[i],s=o.replace(jM,""),u=JM(e,s);if(u)return r.locale=u,o!==s&&(r.extension=o.slice(s.length,o.length)),r}return r.locale=t(),r}(Array.from(e),n,a):function(e,n,t){var r,i,a=[],o=n.reduce(function(e,n){var t=n.replace(jM,"");return a.push(t),e[t]=n,e},{}),s=VM(a,e);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(r=s.matchedSupportedLocale,i=o[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),r?{locale:r,extension:i}:{locale:t()}}(Array.from(e),n,a),null==s&&(s={locale:a(),extension:""});var u,c,l=s.locale,d=i[l],m={locale:"en",dataLocale:l};s.extension?(u=function(e){ZM(e===e.toLowerCase(),"Expected extension to be lowercase"),ZM("-u-"===e.slice(0,3),"Expected extension to be a Unicode locale extension");for(var n,t=[],r=[],i=e.length,a=3;a<i;){var o=e.indexOf("-",a),s=void 0;s=-1===o?i-a:o-a;var u=e.slice(a,a+s);ZM(s>=2,"Expected a subtag to have at least 2 characters"),void 0===n&&2!=s?-1===t.indexOf(u)&&t.push(u):2===s?(n={key:u,value:""},void 0===r.find(function(e){return e.key===(null==n?void 0:n.key)})&&r.push(n)):""===(null==n?void 0:n.value)?n.value=u:(ZM(void 0!==n,"Expected keyword to be defined"),n.value+="-"+u),a+=s+1}return{attributes:t,keywords:r}}(s.extension),c=u.keywords):c=[];for(var f=[],h=function(e){var n=null!==(o=null==d?void 0:d[e])&&void 0!==o?o:[];ZM(Array.isArray(n),"keyLocaleData for ".concat(e," must be an array"));var r=n[0];ZM(void 0===r||"string"==typeof r,"value must be a string or undefined");var i=void 0,a=c.find(function(n){return n.key===e});if(a){var s=a.value;""!==s?n.indexOf(s)>-1&&(i={key:e,value:r=s}):n.indexOf("true")>-1&&(i={key:e,value:r="true"})}var u=t[e];(ZM(null==u||"string"==typeof u,"optionsValue must be a string or undefined"),"string"==typeof u)&&(u=function(e,n){var t=n.toLowerCase();return ZM(void 0!==e,"ukey must be defined"),t}(e.toLowerCase(),u),""===u&&(u="true"));u!==r&&n.indexOf(u)>-1&&(r=u,i=void 0),i&&f.push(i),m[e]=r},y=0,M=r;y<M.length;y++){h(M[y])}return f.length>0&&(l=function(e,n,t){ZM(-1===e.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");for(var r="-u",i=0,a=n;i<a.length;i++){var o=a[i];r+="-".concat(o)}for(var s=0,u=t;s<u.length;s++){var c=u[s],l=c.key,d=c.value;r+="-".concat(l),""!==d&&(r+="-".concat(d))}if("-u"===r)return $M(e);var m=e.indexOf("-x-");return $M(-1===m?e+r:e.slice(0,m)+r+e.slice(m))}(l,[],f)),m.locale=l,m}function XM(e,n){for(var t=[],r=0,i=n;r<i.length;r++){var a=JM(e,i[r].replace(jM,""));a&&t.push(a)}return t}var eg,ng=Object.freeze({__proto__:null,LookupSupportedLocales:XM,ResolveLocale:QM,match:function(e,n,t,r){return QM(n,(i=e,Intl.getCanonicalLocales(i)),{localeMatcher:(null==r?void 0:r.algorithm)||"best fit"},[],{},function(){return t}).locale;var i}}),tg=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);function rg(e,n,t,r,i){var a=iM(n,"minimumIntegerDigits",1,21,1),o=n.minimumFractionDigits,s=n.maximumFractionDigits,u=n.minimumSignificantDigits,c=n.maximumSignificantDigits;e.minimumIntegerDigits=a;var l=iM(n,"roundingIncrement",1,5e3,1);Hy(tg.has(l),"Invalid rounding increment value: ".concat(l,".\nValid values are ").concat(Array.from(tg).join(", "),"."));var d=aM(n,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),m=aM(n,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),f=aM(n,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");1!==l&&(r=t),e.roundingIncrement=l,e.roundingMode=d,e.trailingZeroDisplay=f;var h=void 0!==u||void 0!==c,y=void 0!==o||void 0!==s,M=!0,g=!0;if("auto"===m&&(M=h,(h||!y&&"compact"===i)&&(g=!1)),M&&(h?(e.minimumSignificantDigits=rM(u,1,21,1),e.maximumSignificantDigits=rM(c,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),g)if(y){if(o=rM(o,0,100,void 0),s=rM(s,0,100,void 0),void 0===o)Hy(void 0!==s,"maximumFractionDigits must be defined"),o=Math.min(t,s);else if(void 0===s)s=Math.max(r,o);else if(o>s)throw new RangeError("Invalid range, ".concat(o," > ").concat(s));e.minimumFractionDigits=o,e.maximumFractionDigits=s}else e.minimumFractionDigits=t,e.maximumFractionDigits=r;M||g?"morePrecision"===m?(e.roundingType="morePrecision",e.roundingPriority="morePrecision"):"lessPrecision"===m?(e.roundingType="lessPrecision",e.roundingPriority="lessPrecision"):h?(e.roundingType="significantDigits",e.roundingPriority="auto"):(e.roundingType="fractionDigits",e.roundingPriority="auto"):(e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2,e.roundingType="morePrecision",e.roundingPriority="morePrecision"),1!==l&&(Hy("fractionDigits"===e.roundingType,"Invalid roundingType",TypeError),Hy(e.maximumFractionDigits===e.minimumFractionDigits,"With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.",RangeError))}function ig(e,n){void 0===n&&(n=Object.create(null));var t=aM(n,"style","string",["decimal","percent","currency","unit"],"decimal");e.style=t;var r=aM(n,"currency","string",void 0,void 0);Hy(void 0===r||mM(r),"Malformed currency code",RangeError),Hy("currency"!==t||void 0!==r,"currency cannot be undefined",TypeError);var i=aM(n,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),a=aM(n,"currencySign","string",["standard","accounting"],"standard"),o=aM(n,"unit","string",void 0,void 0);Hy(void 0===o||fM(o),"Invalid unit argument for Intl.NumberFormat()",RangeError),Hy("unit"!==t||void 0!==o,"unit cannot be undefined",TypeError);var s=aM(n,"unitDisplay","string",["short","narrow","long"],"short");"currency"===t&&(e.currency=r.toUpperCase(),e.currencyDisplay=i,e.currencySign=a),"unit"===t&&(e.unit=o,e.unitDisplay=s)}!function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type="MISSING_LOCALE_DATA",n}Jm(n,e)}(Error),function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(eg||(eg={}));var ag,og=Object.freeze({__proto__:null,ApplyUnsignedRoundingMode:hM,ArrayCreate:jy,CanonicalizeLocaleList:Of,CanonicalizeTimeZoneName:function(e,n){var t=n.zoneNames,r=n.uppercaseLinks,i=e.toUpperCase(),a=t.reduce(function(e,n){return e[n.toUpperCase()]=n,e},{}),o=r[i]||a[i];return"Etc/UTC"===o||"Etc/GMT"===o?"UTC":o},CoerceOptionsToObject:tM,CollapseNumberRange:MM,ComputeExponent:DM,ComputeExponentForMagnitude:gM,CurrencyDigits:SM,DateFromTime:function(e){var n=$y(e),t=Qy(e),r=Jy(e);if(0===t)return n+1;if(1===t)return n-30;if(2===t)return n-58-r;if(3===t)return n-89-r;if(4===t)return n-119-r;if(5===t)return n-150-r;if(6===t)return n-180-r;if(7===t)return n-211-r;if(8===t)return n-242-r;if(9===t)return n-272-r;if(10===t)return n-303-r;if(11===t)return n-333-r;throw new Error("Invalid time")},Day:qy,DayFromYear:Wy,DayWithinYear:$y,DaysInYear:Vy,FormatApproximately:OM,FormatNumeric:GM,FormatNumericRange:function(e,n,t,r){return BM(e,n,t,{getInternalSlots:r.getInternalSlots}).map(function(e){return e.value}).join("")},FormatNumericRangeToParts:function(e,n,t,r){return BM(e,n,t,{getInternalSlots:r.getInternalSlots}).map(function(e,n){return{type:e.type,value:e.value,source:e.source,result:n.toString()}})},FormatNumericToParts:function(e,n,t){for(var r=LM(t.getInternalSlots(e),n),i=jy(0),a=0,o=r;a<o.length;a++){var s=o[a];i.push({type:s.type,value:s.value})}return i},FormatNumericToString:TM,GetNumberOption:iM,GetOption:aM,GetOptionsObject:function(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")},GetStringOrBooleanOption:oM,GetUnsignedRoundingMode:wM,HasOwnProperty:Zy,HourFromTime:function(e){return Yy(Math.floor(e/36e5),24)},InLeapYear:Jy,InitializeNumberFormat:function(e,n,t,r){var i=r.getInternalSlots,a=r.localeData,o=r.availableLocales,s=r.numberingSystemNames,u=r.getDefaultLocale,c=r.currencyDigitsData,l=Of(n),d=tM(t),m=Object.create(null),f=aM(d,"localeMatcher","string",["lookup","best fit"],"best fit");m.localeMatcher=f;var h=aM(d,"numberingSystem","string",void 0,void 0);if(void 0!==h&&s.indexOf(h)<0)throw RangeError("Invalid numberingSystems: ".concat(h));m.nu=h;var y=QM(Array.from(o),l,m,["nu"],a,u),M=a[y.dataLocale];Hy(!!M,"Missing locale data for ".concat(y.dataLocale));var g=i(e);g.locale=y.locale,g.dataLocale=y.dataLocale,g.numberingSystem=y.nu,g.dataLocaleData=M,ig(g,d);var p,v,w=g.style,b=aM(d,"notation","string",["standard","scientific","engineering","compact"],"standard");if(g.notation=b,"currency"===w&&"standard"===b){var _=SM(g.currency,{currencyDigitsData:c});p=_,v=_}else p=0,v="percent"===w?0:3;rg(g,d,p,v,b);var E=aM(d,"compactDisplay","string",["short","long"],"short"),T="auto";"compact"===b&&(g.compactDisplay=E,T="min2");var D=oM(d,"useGrouping",["min2","auto","always"],"always",!1,T);g.useGrouping=D;var S=aM(d,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto");return g.signDisplay=S,e},IsSanctionedSimpleUnitIdentifier:lM,IsValidTimeZoneName:function(e,n){var t=n.zoneNamesFromData,r=n.uppercaseLinks,i=e.toUpperCase(),a=new Set,o=new Set;return t.map(function(e){return e.toUpperCase()}).forEach(function(e){return a.add(e)}),Object.keys(r).forEach(function(e){o.add(e.toUpperCase()),a.add(r[e].toUpperCase())}),a.has(i)||o.has(i)},IsWellFormedCurrencyCode:mM,IsWellFormedUnitIdentifier:fM,MinFromTime:function(e){return Yy(Math.floor(e/6e4),60)},MonthFromTime:Qy,OrdinaryHasInstance:function(e,n,t){if(!eM(e))return!1;if(null==t?void 0:t.boundTargetFunction)return n instanceof(null==t?void 0:t.boundTargetFunction);if("object"!=typeof n)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,n)},PartitionNumberPattern:LM,PartitionNumberRangePattern:BM,PartitionPattern:function(e){for(var n=[],t=e.indexOf("{"),r=0,i=0,a=e.length;t<e.length&&t>-1;)Hy((r=e.indexOf("}",t))>t,"Invalid pattern ".concat(e)),t>i&&n.push({type:"literal",value:e.substring(i,t)}),n.push({type:e.substring(t+1,r),value:void 0}),i=r+1,t=e.indexOf("{",i);return i<a&&n.push({type:"literal",value:e.substring(i,a)}),n},get RangePatternType(){return eg},SANCTIONED_UNITS:sM,SIMPLE_UNITS:cM,SameValue:function(e,n){return Object.is?Object.is(e,n):e===n?0!==e||1/e==1/n:e!=e&&n!=n},SecFromTime:function(e){return Yy(Math.floor(e/Xy),60)},SetNumberFormatDigitOptions:rg,SetNumberFormatUnitOptions:ig,SupportedLocales:function(e,n,t){return void 0!==t&&aM(t=Ry(t),"localeMatcher","string",["lookup","best fit"],"best fit"),XM(Array.from(e),n)},TimeClip:function(e){return e.isFinite()?e.abs().greaterThan(8640000000000001)?new py(NaN):function(e){var n=xy(e);if(n.isNaN()||n.isZero())return vy;if(n.isFinite())return n;var t=n.abs().floor();return n.isNegative()&&(t=t.negated()),t}(e):new py(NaN)},TimeFromYear:function(e){return Date.UTC(e,0)},ToIntlMathematicalValue:function(e){var n=nM(e,"number");if("bigint"==typeof n)return new py(n);if(void 0===n)return new py(NaN);if(!0===n)return new py(1);if(!1===n)return new py(0);if(null===n)return new py(0);try{return new py(n)}catch(e){return new py(NaN)}},ToNumber:xy,ToObject:Ry,ToPrimitive:nM,ToRawFixed:_M,ToRawPrecision:EM,ToString:By,Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0},WeekDay:function(e){return Yy(qy(e)+4,7)},YearFromTime:Ky,ZERO:vy,_formatToParts:zM,createDataProperty:function(e,n,t){Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:t})},createMemoizedDateTimeFormat:Fy,createMemoizedListFormat:Gy,createMemoizedLocale:Ly,createMemoizedNumberFormat:Iy,createMemoizedPluralRules:Oy,defineProperty:function(e,n,t){var r=t.value;Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:!0,value:r})},getInternalSlot:function(e,n,t){return zy(e,n,t)[t]},getMultiInternalSlots:zy,invariant:Hy,isLiteralPart:function(e){return"literal"===e.type},isMissingLocaleDataError:function(e){return"MISSING_LOCALE_DATA"===e.type},msFromTime:function(e){return Yy(e,Xy)},removeUnitNamespace:uM,setInternalSlot:Ny,setMultiInternalSlots:function(e,n,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];Ny(e,n,a,t[a])}}}),sg=Km(og),ug={},cg=Km(ng);var lg,dg={},mg={};var fg,hg,yg={};function Mg(){if(hg)return dg;hg=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.PartitionRelativeTimePattern=function(r,i,a,o){var s=o.getInternalSlots;if((0,e.invariant)("Number"===(0,e.Type)(i),"value must be number, instead got ".concat(typeof i),TypeError),(0,e.invariant)("String"===(0,e.Type)(a),"unit must be number, instead got ".concat(typeof i),TypeError),isNaN(i)||!isFinite(i))throw new RangeError("Invalid value ".concat(i));var u=(0,n.SingularRelativeTimeUnit)(a),c=s(r),l=c.fields,d=c.style,m=c.numeric,f=c.pluralRules,h=c.numberFormat,y=u;"short"===d?y="".concat(u,"-short"):"narrow"===d&&(y="".concat(u,"-narrow"));y in l||(y=u);var M=l[y];if("auto"===m&&(0,e.ToString)(i)in M)return[{type:"literal",value:M[(0,e.ToString)(i)]}];var g="future";((0,e.SameValue)(i,-0)||i<0)&&(g="past");var p=M[g],v="function"==typeof h.formatToParts?h.formatToParts(Math.abs(i)):[{type:"literal",value:h.format(Math.abs(i)),unit:a}],w=f.select(i),b=p[w];return(0,t.MakePartsList)(b,u,v)};var e=sg,n=function(){if(lg)return mg;lg=1,Object.defineProperty(mg,"__esModule",{value:!0}),mg.SingularRelativeTimeUnit=function(n){if((0,e.invariant)("String"===(0,e.Type)(n),"unit must be a string"),"seconds"===n)return"second";if("minutes"===n)return"minute";if("hours"===n)return"hour";if("days"===n)return"day";if("weeks"===n)return"week";if("months"===n)return"month";if("quarters"===n)return"quarter";if("years"===n)return"year";if("second"!==n&&"minute"!==n&&"hour"!==n&&"day"!==n&&"week"!==n&&"month"!==n&&"quarter"!==n&&"year"!==n)throw new RangeError("invalid unit");return n};var e=sg;return mg}(),t=function(){if(fg)return yg;fg=1,Object.defineProperty(yg,"__esModule",{value:!0}),yg.MakePartsList=function(n,t,r){for(var i=[],a=0,o=(0,e.PartitionPattern)(n);a<o.length;a++){var s=o[a];if("literal"===s.type)i.push({type:"literal",value:s.value});else{(0,e.invariant)("0"===s.type,"Malformed pattern ".concat(n));for(var u=0,c=r;u<c.length;u++){var l=c[u];i.push({type:l.type,value:l.value,unit:t})}}}return i};var e=sg;return yg}();return dg}var gg,pg,vg={};function wg(){if(pg)return Ff;pg=1,Object.defineProperty(Ff,"__esModule",{value:!0});var e=If,n=sg,t=function(){if(ag)return ug;ag=1,Object.defineProperty(ug,"__esModule",{value:!0}),ug.InitializeRelativeTimeFormat=function(r,i,a,o){var s=o.getInternalSlots,u=o.availableLocales,c=o.relevantExtensionKeys,l=o.localeData,d=o.getDefaultLocale,m=s(r);m.initializedRelativeTimeFormat=!0;var f=(0,e.CanonicalizeLocaleList)(i),h=Object.create(null),y=(0,e.CoerceOptionsToObject)(a),M=(0,e.GetOption)(y,"localeMatcher","string",["best fit","lookup"],"best fit");h.localeMatcher=M;var g=(0,e.GetOption)(y,"numberingSystem","string",void 0,void 0);if(void 0!==g&&!t.test(g))throw new RangeError("Invalid numbering system ".concat(g));h.nu=g;var p=(0,n.ResolveLocale)(u,f,h,c,l,d),v=p.locale,w=p.nu;m.locale=v,m.style=(0,e.GetOption)(y,"style","string",["long","narrow","short"],"long"),m.numeric=(0,e.GetOption)(y,"numeric","string",["always","auto"],"always");var b=l[p.dataLocale];return(0,e.invariant)(!!b,"Missing locale data for ".concat(p.dataLocale)),m.fields=b,m.numberFormat=(0,e.createMemoizedNumberFormat)(i),m.pluralRules=(0,e.createMemoizedPluralRules)(i),m.numberingSystem=w,r};var e=sg,n=cg,t=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;return ug}(),r=Mg(),i=e.__importDefault(function(){if(gg)return vg;gg=1,Object.defineProperty(vg,"__esModule",{value:!0}),vg.default=function(n){var t=e.get(n);return t||(t=Object.create(null),e.set(n,t)),t};var e=new WeakMap;return vg}()),a=function(){function e(n,r){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return(0,t.InitializeRelativeTimeFormat)(this,n,r,{getInternalSlots:i.default,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!(0,i.default)(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return(0,r.PartitionRelativeTimePattern)(this,Number(e),(0,n.ToString)(t),{getInternalSlots:i.default}).map(function(e){return e.value}).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!(0,i.default)(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return(0,r.PartitionRelativeTimePattern)(this,Number(e),(0,n.ToString)(t),{getInternalSlots:i.default})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=(0,i.default)(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},e.supportedLocalesOf=function(t,r){return(0,n.SupportedLocales)(e.availableLocales,(0,n.CanonicalizeLocaleList)(t),r)},e.__addLocaleData=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=0,i=n;r<i.length;r++){var a=i[r],o=a.data,s=a.locale,u=new Intl.Locale(s).minimize().toString();e.localeData[s]=e.localeData[u]=o,e.availableLocales.add(u),e.availableLocales.add(s),e.__defaultLocale||(e.__defaultLocale=u)}},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=new Set,e.__defaultLocale="",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e}();Ff.default=a;try{"undefined"!=typeof Symbol&&Object.defineProperty(a.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}return Ff}var bg,_g,Eg,Tg={},Dg={};function Sg(){if(_g)return Tg;_g=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.shouldPolyfill=function(t){void 0===t&&(t="en");if(!("RelativeTimeFormat"in Intl)||!function(e){if(!e)return!0;var n=Array.isArray(e)?e:[e];return Intl.RelativeTimeFormat.supportedLocalesOf(n).length===n.length}(t)||!function(e){try{return"numberingSystem"in new Intl.RelativeTimeFormat(e||"en",{numeric:"auto"}).resolvedOptions()}catch(e){return!1}}(t))return(0,e.match)([t],n.supportedLocales,"en")};var e=cg,n=(bg||(bg=1,Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.supportedLocales=void 0,Dg.supportedLocales=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]),Dg);return Tg}var Ag=function(){if(Eg)return Vm;Eg=1,Object.defineProperty(Vm,"__esModule",{value:!0});var e=If.__importDefault(wg());return(0,Sg().shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:e.default,writable:!0,enumerable:!1,configurable:!0}),Vm}(),kg=e({__proto__:null,default:Wm(Ag)},[Ag]);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 Cg,Pg=Object.freeze({__proto__:null}),Ng={},zg={},Hg={},Ig={exports:{}},Fg=Ig.exports;function Og(){return Cg||(Cg=1,e=Ig,function(n){
9
+ var _f,Ef,Tf=9e15,Df=1e9,Sf="0123456789abcdef",Af="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",kf="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Cf={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Tf,maxE:Tf,crypto:!1},Nf=!0,Pf="[DecimalError] ",zf=Pf+"Invalid argument: ",If=Pf+"Precision limit exceeded",Hf=Pf+"crypto unavailable",Ff="[object Decimal]",Of=Math.floor,Lf=Math.pow,Gf=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Bf=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,xf=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Rf=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,jf=1e7,Zf=Af.length-1,Uf=kf.length-1,Yf={toStringTag:Ff};function qf(e){var n,t,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,n=1;n<i;n++)(t=7-(r=e[n]+"").length)&&(a+=rh(t)),a+=r;(t=7-(r=(o=e[n])+"").length)&&(a+=rh(t))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function Wf(e,n,t){if(e!==~~e||e<n||e>t)throw Error(zf+e)}function Kf(e,n,t,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),a=Lf(10,7-n),s=e[i]%a|0,null==r?n<3?(0==n?s=s/100|0:1==n&&(s=s/10|0),o=t<4&&99999==s||t>3&&49999==s||5e4==s||0==s):o=(t<4&&s+1==a||t>3&&s+1==a/2)&&(e[i+1]/a/100|0)==Lf(10,n-2)-1||(s==a/2||0==s)&&!(e[i+1]/a/100|0):n<4?(0==n?s=s/1e3|0:1==n?s=s/100|0:2==n&&(s=s/10|0),o=(r||t<4)&&9999==s||!r&&t>3&&4999==s):o=((r||t<4)&&s+1==a||!r&&t>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==Lf(10,n-3)-1,o}function Vf(e,n,t){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=n;for(a[0]+=Sf.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>t-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/t|0,a[r]%=t)}return a.reverse()}Yf.absoluteValue=Yf.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),Jf(e)},Yf.ceil=function(){return Jf(new this.constructor(this),this.e+1,2)},Yf.clampedTo=Yf.clamp=function(e,n){var t=this,r=t.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(zf+n);return t.cmp(e)<0?e:t.cmp(n)>0?n:new r(t)},Yf.comparedTo=Yf.cmp=function(e){var n,t,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,u=a.s,c=e.s;if(!o||!s)return u&&c?u!==c?u:o===s?0:!o^u<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?u:s[0]?-c:0;if(u!==c)return u;if(a.e!==e.e)return a.e>e.e^u<0?1:-1;for(n=0,t=(r=o.length)<(i=s.length)?r:i;n<t;++n)if(o[n]!==s[n])return o[n]>s[n]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},Yf.cosine=Yf.cos=function(){var e,n,t=this,r=t.constructor;return t.d?t.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r,i;if(n.isZero())return n;r=n.d.length,r<32?i=(1/fh(4,t=Math.ceil(r/3))).toString():(t=16,i="2.3283064365386962890625e-10");e.precision+=t,n=mh(e,1,n.times(i),new e(1));for(var a=t;a--;){var o=n.times(n);n=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,n}(r,hh(r,t)),r.precision=e,r.rounding=n,Jf(2==Ef||3==Ef?t.neg():t,e,n,!0)):new r(1):new r(NaN)},Yf.cubeRoot=Yf.cbrt=function(){var e,n,t,r,i,a,o,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(Nf=!1,(a=l.s*Lf(l.s*l,1/3))&&Math.abs(a)!=1/0?r=new d(a.toString()):(t=qf(l.d),(a=((e=l.e)-t.length+1)%3)&&(t+=1==a||-2==a?"0":"00"),a=Lf(t,1/3),e=Of((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(t=a==1/0?"5e"+e:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+e)).s=l.s),o=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=$f(c.plus(l).times(s),c.plus(u),o+2,1),qf(s.d).slice(0,o)===(t=qf(r.d)).slice(0,o)){if("9999"!=(t=t.slice(o-3,o+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(Jf(r,e+1,1),n=!r.times(r).times(r).eq(l));break}if(!i&&(Jf(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}o+=4,i=1}return Nf=!0,Jf(r,e,d.rounding,n)},Yf.decimalPlaces=Yf.dp=function(){var e,n=this.d,t=NaN;if(n){if(t=7*((e=n.length-1)-Of(this.e/7)),e=n[e])for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},Yf.dividedBy=Yf.div=function(e){return $f(this,new this.constructor(e))},Yf.dividedToIntegerBy=Yf.divToInt=function(e){var n=this.constructor;return Jf($f(this,new n(e),0,1,1),n.precision,n.rounding)},Yf.equals=Yf.eq=function(e){return 0===this.cmp(e)},Yf.floor=function(){return Jf(new this.constructor(this),this.e+1,3)},Yf.greaterThan=Yf.gt=function(e){return this.cmp(e)>0},Yf.greaterThanOrEqualTo=Yf.gte=function(e){var n=this.cmp(e);return 1==n||0===n},Yf.hyperbolicCosine=Yf.cosh=function(){var e,n,t,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;t=o.precision,r=o.rounding,o.precision=t+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?n=(1/fh(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),a=mh(o,1,a.times(n),new o(1),!0);for(var u,c=e,l=new o(8);c--;)u=a.times(a),a=s.minus(u.times(l.minus(u.times(l))));return Jf(a,o.precision=t,o.rounding=r,!0)},Yf.hyperbolicSine=Yf.sinh=function(){var e,n,t,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(n=a.precision,t=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=mh(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=mh(a,2,i=i.times(1/fh(5,e)),i,!0);for(var o,s=new a(5),u=new a(16),c=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(u.times(o).plus(c))))}return a.precision=n,a.rounding=t,Jf(i,n,t,!0)},Yf.hyperbolicTangent=Yf.tanh=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,$f(t.sinh(),t.cosh(),r.precision=e,r.rounding=n)):new r(t.s)},Yf.inverseCosine=Yf.acos=function(){var e=this,n=e.constructor,t=e.abs().cmp(1),r=n.precision,i=n.rounding;return-1!==t?0===t?e.isNeg()?nh(n,r,i):new n(0):new n(NaN):e.isZero()?nh(n,r+4,i).times(.5):(n.precision=r+6,n.rounding=1,e=new n(1).minus(e).div(e.plus(1)).sqrt().atan(),n.precision=r,n.rounding=i,e.times(2))},Yf.inverseHyperbolicCosine=Yf.acosh=function(){var e,n,t=this,r=t.constructor;return t.lte(1)?new r(t.eq(1)?0:NaN):t.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(t.e),t.sd())+4,r.rounding=1,Nf=!1,t=t.times(t).minus(1).sqrt().plus(t),Nf=!0,r.precision=e,r.rounding=n,t.ln()):new r(t)},Yf.inverseHyperbolicSine=Yf.asinh=function(){var e,n,t=this,r=t.constructor;return!t.isFinite()||t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,r.rounding=1,Nf=!1,t=t.times(t).plus(1).sqrt().plus(t),Nf=!0,r.precision=e,r.rounding=n,t.ln())},Yf.inverseHyperbolicTangent=Yf.atanh=function(){var e,n,t,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,n=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?Jf(new a(i),e,n,!0):(a.precision=t=r-i.e,i=$f(i.plus(1),new a(1).minus(i),t+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=n,i.times(.5))):new a(NaN)},Yf.inverseSine=Yf.asin=function(){var e,n,t,r,i=this,a=i.constructor;return i.isZero()?new a(i):(n=i.abs().cmp(1),t=a.precision,r=a.rounding,-1!==n?0===n?((e=nh(a,t+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=t+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=t,a.rounding=r,i.times(2)))},Yf.inverseTangent=Yf.atan=function(){var e,n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,m=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=Uf)return(o=nh(l,d+4,m).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(d+4<=Uf)return(o=nh(l,d+4,m).times(.5)).s=c.s,o}for(l.precision=s=d+10,l.rounding=1,e=t=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(Nf=!1,n=Math.ceil(s/7),r=1,u=c.times(c),o=new l(c),i=c;-1!==e;)if(i=i.times(u),a=o.minus(i.div(r+=2)),i=i.times(u),void 0!==(o=a.plus(i.div(r+=2))).d[n])for(e=n;o.d[e]===a.d[e]&&e--;);return t&&(o=o.times(2<<t-1)),Nf=!0,Jf(o,l.precision=d,l.rounding=m,!0)},Yf.isFinite=function(){return!!this.d},Yf.isInteger=Yf.isInt=function(){return!!this.d&&Of(this.e/7)>this.d.length-2},Yf.isNaN=function(){return!this.s},Yf.isNegative=Yf.isNeg=function(){return this.s<0},Yf.isPositive=Yf.isPos=function(){return this.s>0},Yf.isZero=function(){return!!this.d&&0===this.d[0]},Yf.lessThan=Yf.lt=function(e){return this.cmp(e)<0},Yf.lessThanOrEqualTo=Yf.lte=function(e){return this.cmp(e)<1},Yf.logarithm=Yf.log=function(e){var n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,m=l.rounding;if(null==e)e=new l(10),n=!0;else{if(t=(e=new l(e)).d,e.s<0||!t||!t[0]||e.eq(1))return new l(NaN);n=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new l(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(n)if(t.length>1)a=!0;else{for(i=t[0];i%10==0;)i/=10;a=1!==i}if(Nf=!1,o=uh(c,s=d+5),r=n?eh(l,s+10):uh(e,s),Kf((u=$f(o,r,s,1)).d,i=d,m))do{if(o=uh(c,s+=10),r=n?eh(l,s+10):uh(e,s),u=$f(o,r,s,1),!a){+qf(u.d).slice(i+1,i+15)+1==1e14&&(u=Jf(u,d+1,0));break}}while(Kf(u.d,i+=10,m));return Nf=!0,Jf(u,d,m)},Yf.minus=Yf.sub=function(e){var n,t,r,i,a,o,s,u,c,l,d,m,f=this,h=f.constructor;if(e=new h(e),!f.d||!e.d)return f.s&&e.s?f.d?e.s=-e.s:e=new h(e.d||f.s!==e.s?f:NaN):e=new h(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(c=f.d,m=e.d,s=h.precision,u=h.rounding,!c[0]||!m[0]){if(m[0])e.s=-e.s;else{if(!c[0])return new h(3===u?-0:0);e=new h(f)}return Nf?Jf(e,s,u):e}if(t=Of(e.e/7),l=Of(f.e/7),c=c.slice(),a=l-t){for((d=a<0)?(n=c,a=-a,o=m.length):(n=m,t=l,o=c.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,n.length=1),n.reverse(),r=a;r--;)n.push(0);n.reverse()}else{for((d=(r=c.length)<(o=m.length))&&(o=r),r=0;r<o;r++)if(c[r]!=m[r]){d=c[r]<m[r];break}a=0}for(d&&(n=c,c=m,m=n,e.s=-e.s),o=c.length,r=m.length-o;r>0;--r)c[o++]=0;for(r=m.length;r>a;){if(c[--r]<m[r]){for(i=r;i&&0===c[--i];)c[i]=jf-1;--c[i],c[r]+=jf}c[r]-=m[r]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--t;return c[0]?(e.d=c,e.e=Xf(c,t),Nf?Jf(e,s,u):e):new h(3===u?-0:0)},Yf.modulo=Yf.mod=function(e){var n,t=this,r=t.constructor;return e=new r(e),!t.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||t.d&&!t.d[0]?Jf(new r(t),r.precision,r.rounding):(Nf=!1,9==r.modulo?(n=$f(t,e.abs(),0,3,1)).s*=e.s:n=$f(t,e,0,r.modulo,1),n=n.times(e),Nf=!0,t.minus(n))},Yf.naturalExponential=Yf.exp=function(){return sh(this)},Yf.naturalLogarithm=Yf.ln=function(){return uh(this)},Yf.negated=Yf.neg=function(){var e=new this.constructor(this);return e.s=-e.s,Jf(e)},Yf.plus=Yf.add=function(e){var n,t,r,i,a,o,s,u,c,l,d=this,m=d.constructor;if(e=new m(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new m(e.d||d.s===e.s?d:NaN)):e=new m(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,l=e.d,s=m.precision,u=m.rounding,!c[0]||!l[0])return l[0]||(e=new m(d)),Nf?Jf(e,s,u):e;if(a=Of(d.e/7),r=Of(e.e/7),c=c.slice(),i=a-r){for(i<0?(t=c,i=-i,o=l.length):(t=l,r=a,o=c.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for((o=c.length)-(i=l.length)<0&&(i=o,t=l,l=c,c=t),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/jf|0,c[i]%=jf;for(n&&(c.unshift(n),++r),o=c.length;0==c[--o];)c.pop();return e.d=c,e.e=Xf(c,r),Nf?Jf(e,s,u):e},Yf.precision=Yf.sd=function(e){var n,t=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(zf+e);return t.d?(n=th(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n},Yf.round=function(){var e=this,n=e.constructor;return Jf(new n(e),e.e+1,n.rounding)},Yf.sine=Yf.sin=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r=n.d.length;if(r<3)return n.isZero()?n:mh(e,2,n,n);t=1.4*Math.sqrt(r),t=t>16?16:0|t,n=n.times(1/fh(5,t)),n=mh(e,2,n,n);for(var i,a=new e(5),o=new e(16),s=new e(20);t--;)i=n.times(n),n=n.times(a.plus(i.times(o.times(i).minus(s))));return n}(r,hh(r,t)),r.precision=e,r.rounding=n,Jf(Ef>2?t.neg():t,e,n,!0)):new r(NaN)},Yf.squareRoot=Yf.sqrt=function(){var e,n,t,r,i,a,o=this,s=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);for(Nf=!1,0==(c=Math.sqrt(+o))||c==1/0?(((n=qf(s)).length+u)%2==0&&(n+="0"),c=Math.sqrt(n),u=Of((u+1)/2)-(u<0||u%2),r=new l(n=c==1/0?"5e"+u:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+u)):r=new l(c.toString()),t=(u=l.precision)+3;;)if(r=(a=r).plus($f(o,a,t+2,1)).times(.5),qf(a.d).slice(0,t)===(n=qf(r.d)).slice(0,t)){if("9999"!=(n=n.slice(t-3,t+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(Jf(r,u+1,1),e=!r.times(r).eq(o));break}if(!i&&(Jf(a,u+1,0),a.times(a).eq(o))){r=a;break}t+=4,i=1}return Nf=!0,Jf(r,u,l.rounding,e)},Yf.tangent=Yf.tan=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,(t=t.sin()).s=1,t=$f(t,new r(1).minus(t.times(t)).sqrt(),e+10,0),r.precision=e,r.rounding=n,Jf(2==Ef||4==Ef?t.neg():t,e,n,!0)):new r(NaN)},Yf.times=Yf.mul=function(e){var n,t,r,i,a,o,s,u,c,l=this,d=l.constructor,m=l.d,f=(e=new d(e)).d;if(e.s*=l.s,!(m&&m[0]&&f&&f[0]))return new d(!e.s||m&&!m[0]&&!f||f&&!f[0]&&!m?NaN:m&&f?0*e.s:e.s/0);for(t=Of(l.e/7)+Of(e.e/7),(u=m.length)<(c=f.length)&&(a=m,m=f,f=a,o=u,u=c,c=o),a=[],r=o=u+c;r--;)a.push(0);for(r=c;--r>=0;){for(n=0,i=u+r;i>r;)s=a[i]+f[r]*m[i-r-1]+n,a[i--]=s%jf|0,n=s/jf|0;a[i]=(a[i]+n)%jf|0}for(;!a[--o];)a.pop();return n?++t:a.shift(),e.d=a,e.e=Xf(a,t),Nf?Jf(e,d.precision,d.rounding):e},Yf.toBinary=function(e,n){return yh(this,2,e,n)},Yf.toDecimalPlaces=Yf.toDP=function(e,n){var t=this,r=t.constructor;return t=new r(t),void 0===e?t:(Wf(e,0,Df),void 0===n?n=r.rounding:Wf(n,0,8),Jf(t,e+t.e+1,n))},Yf.toExponential=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=Qf(r,!0):(Wf(e,0,Df),void 0===n?n=i.rounding:Wf(n,0,8),t=Qf(r=Jf(new i(r),e+1,n),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+t:t},Yf.toFixed=function(e,n){var t,r,i=this,a=i.constructor;return void 0===e?t=Qf(i):(Wf(e,0,Df),void 0===n?n=a.rounding:Wf(n,0,8),t=Qf(r=Jf(new a(i),e+i.e+1,n),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t},Yf.toFraction=function(e){var n,t,r,i,a,o,s,u,c,l,d,m,f=this,h=f.d,y=f.constructor;if(!h)return new y(f);if(c=t=new y(1),r=u=new y(0),o=(a=(n=new y(r)).e=th(h)-f.e-1)%7,n.d[0]=Lf(10,o<0?7+o:o),null==e)e=a>0?n:c;else{if(!(s=new y(e)).isInt()||s.lt(c))throw Error(zf+s);e=s.gt(n)?a>0?n:c:s}for(Nf=!1,s=new y(qf(h)),l=y.precision,y.precision=a=7*h.length*2;d=$f(s,n,0,1,1),1!=(i=t.plus(d.times(r))).cmp(e);)t=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=n,n=s.minus(d.times(i)),s=i;return i=$f(e.minus(t),r,0,1,1),u=u.plus(i.times(c)),t=t.plus(i.times(r)),u.s=c.s=f.s,m=$f(c,r,a,1).minus(f).abs().cmp($f(u,t,a,1).minus(f).abs())<1?[c,r]:[u,t],y.precision=l,Nf=!0,m},Yf.toHexadecimal=Yf.toHex=function(e,n){return yh(this,16,e,n)},Yf.toNearest=function(e,n){var t=this,r=t.constructor;if(t=new r(t),null==e){if(!t.d)return t;e=new r(1),n=r.rounding}else{if(e=new r(e),void 0===n?n=r.rounding:Wf(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(Nf=!1,t=$f(t,e,0,n,1).times(e),Nf=!0,Jf(t)):(e.s=t.s,t=e),t},Yf.toNumber=function(){return+this},Yf.toOctal=function(e,n){return yh(this,8,e,n)},Yf.toPower=Yf.pow=function(e){var n,t,r,i,a,o,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(Lf(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,a=u.rounding,e.eq(1))return Jf(s,r,a);if((n=Of(e.e/7))>=e.d.length-1&&(t=c<0?-c:c)<=9007199254740991)return i=ih(u,s,t,r),e.s<0?new u(1).div(i):Jf(i,r,a);if((o=s.s)<0){if(n<e.d.length-1)return new u(NaN);if(1&e.d[n]||(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(n=0!=(t=Lf(+s,c))&&isFinite(t)?new u(t+"").e:Of(c*(Math.log("0."+qf(s.d))/Math.LN10+s.e+1)))>u.maxE+1||n<u.minE-1?new u(n>0?o/0:0):(Nf=!1,u.rounding=s.s=1,t=Math.min(12,(n+"").length),(i=sh(e.times(uh(s,r+t)),r)).d&&Kf((i=Jf(i,r+5,1)).d,r,a)&&(n=r+10,+qf((i=Jf(sh(e.times(uh(s,n+t)),n),n+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=Jf(i,r+1,0))),i.s=o,Nf=!0,u.rounding=a,Jf(i,r,a))},Yf.toPrecision=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=Qf(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(Wf(e,1,Df),void 0===n?n=i.rounding:Wf(n,0,8),t=Qf(r=Jf(new i(r),e,n),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+t:t},Yf.toSignificantDigits=Yf.toSD=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(Wf(e,1,Df),void 0===n?n=t.rounding:Wf(n,0,8)),Jf(new t(this),e,n)},Yf.toString=function(){var e=this,n=e.constructor,t=Qf(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},Yf.truncated=Yf.trunc=function(){return Jf(new this.constructor(this),this.e+1,1)},Yf.valueOf=Yf.toJSON=function(){var e=this,n=e.constructor,t=Qf(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};var $f=function(){function e(e,n,t){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*n+i,e[a]=r%t|0,i=r/t|0;return i&&e.unshift(i),e}function n(e,n,t,r){var i,a;if(t!=r)a=t>r?1:-1;else for(i=a=0;i<t;i++)if(e[i]!=n[i]){a=e[i]>n[i]?1:-1;break}return a}function t(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,a,o,s,u){var c,l,d,m,f,h,y,M,g,p,w,v,b,_,E,T,D,S,A,k,C=r.constructor,N=r.s==i.s?1:-1,P=r.d,z=i.d;if(!(P&&P[0]&&z&&z[0]))return new C(r.s&&i.s&&(P?!z||P[0]!=z[0]:z)?P&&0==P[0]||!z?0*N:N/0:NaN);for(u?(f=1,l=r.e-i.e):(u=jf,f=7,l=Of(r.e/f)-Of(i.e/f)),A=z.length,D=P.length,p=(g=new C(N)).d=[],d=0;z[d]==(P[d]||0);d++);if(z[d]>(P[d]||0)&&l--,null==a?(_=a=C.precision,o=C.rounding):_=s?a+(r.e-i.e)+1:a,_<0)p.push(1),h=!0;else{if(_=_/f+2|0,d=0,1==A){for(m=0,z=z[0],_++;(d<D||m)&&_--;d++)E=m*u+(P[d]||0),p[d]=E/z|0,m=E%z|0;h=m||d<D}else{for((m=u/(z[0]+1)|0)>1&&(z=e(z,m,u),P=e(P,m,u),A=z.length,D=P.length),T=A,v=(w=P.slice(0,A)).length;v<A;)w[v++]=0;(k=z.slice()).unshift(0),S=z[0],z[1]>=u/2&&++S;do{m=0,(c=n(z,w,A,v))<0?(b=w[0],A!=v&&(b=b*u+(w[1]||0)),(m=b/S|0)>1?(m>=u&&(m=u-1),1==(c=n(y=e(z,m,u),w,M=y.length,v=w.length))&&(m--,t(y,A<M?k:z,M,u))):(0==m&&(c=m=1),y=z.slice()),(M=y.length)<v&&y.unshift(0),t(w,y,v,u),-1==c&&(c=n(z,w,A,v=w.length))<1&&(m++,t(w,A<v?k:z,v,u)),v=w.length):0===c&&(m++,w=[0]),p[d++]=m,c&&w[0]?w[v++]=P[T]||0:(w=[P[T]],v=1)}while((T++<D||void 0!==w[0])&&_--);h=void 0!==w[0]}p[0]||p.shift()}if(1==f)g.e=l,_f=h;else{for(d=1,m=p[0];m>=10;m/=10)d++;g.e=d+l*f-1,Jf(g,s?a+g.e+1:a,o,h)}return g}}();function Jf(e,n,t,r){var i,a,o,s,u,c,l,d,m,f=e.constructor;e:if(null!=n){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((a=n-i)<0)a+=7,o=n,u=(l=d[m=0])/Lf(10,i-o-1)%10|0;else if((m=Math.ceil((a+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=m;)d.push(0);l=u=0,i=1,o=(a%=7)-7+1}else{for(l=s=d[m],i=1;s>=10;s/=10)i++;u=(o=(a%=7)-7+i)<0?0:l/Lf(10,i-o-1)%10|0}if(r=r||n<0||void 0!==d[m+1]||(o<0?l:l%Lf(10,i-o-1)),c=t<4?(u||r)&&(0==t||t==(e.s<0?3:2)):u>5||5==u&&(4==t||r||6==t&&(a>0?o>0?l/Lf(10,i-o):0:d[m-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,c?(n-=e.e+1,d[0]=Lf(10,(7-n%7)%7),e.e=-n||0):d[0]=e.e=0,e;if(0==a?(d.length=m,s=1,m--):(d.length=m+1,s=Lf(10,7-a),d[m]=o>0?(l/Lf(10,i-o)%Lf(10,o)|0)*s:0),c)for(;;){if(0==m){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==jf&&(d[0]=1));break}if(d[m]+=s,d[m]!=jf)break;d[m--]=0,s=1}for(a=d.length;0===d[--a];)d.pop()}return Nf&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function Qf(e,n,t){if(!e.isFinite())return ch(e);var r,i=e.e,a=qf(e.d),o=a.length;return n?(t&&(r=t-o)>0?a=a.charAt(0)+"."+a.slice(1)+rh(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+rh(-i-1)+a,t&&(r=t-o)>0&&(a+=rh(r))):i>=o?(a+=rh(i+1-o),t&&(r=t-i-1)>0&&(a=a+"."+rh(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),t&&(r=t-o)>0&&(i+1===o&&(a+="."),a+=rh(r))),a}function Xf(e,n){var t=e[0];for(n*=7;t>=10;t/=10)n++;return n}function eh(e,n,t){if(n>Zf)throw Nf=!0,t&&(e.precision=t),Error(If);return Jf(new e(Af),n,1,!0)}function nh(e,n,t){if(n>Uf)throw Error(If);return Jf(new e(kf),n,t,!0)}function th(e){var n=e.length-1,t=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function rh(e){for(var n="";e--;)n+="0";return n}function ih(e,n,t,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(Nf=!1;;){if(t%2&&Mh((a=a.times(n)).d,o)&&(i=!0),0===(t=Of(t/2))){t=a.d.length-1,i&&0===a.d[t]&&++a.d[t];break}Mh((n=n.times(n)).d,o)}return Nf=!0,a}function ah(e){return 1&e.d[e.d.length-1]}function oh(e,n,t){for(var r,i,a=new e(n[0]),o=0;++o<n.length;){if(!(i=new e(n[o])).s){a=i;break}((r=a.cmp(i))===t||0===r&&a.s===t)&&(a=i)}return a}function sh(e,n){var t,r,i,a,o,s,u,c=0,l=0,d=0,m=e.constructor,f=m.rounding,h=m.precision;if(!e.d||!e.d[0]||e.e>17)return new m(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(Nf=!1,u=h):u=n,s=new m(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(Lf(2,d))/Math.LN10*2+5|0,t=a=o=new m(1),m.precision=u;;){if(a=Jf(a.times(e),u,1),t=t.times(++l),qf((s=o.plus($f(a,t,u,1))).d).slice(0,u)===qf(o.d).slice(0,u)){for(i=d;i--;)o=Jf(o.times(o),u,1);if(null!=n)return m.precision=h,o;if(!(c<3&&Kf(o.d,u-r,f,c)))return Jf(o,m.precision=h,f,Nf=!0);m.precision=u+=10,t=a=s=new m(1),l=0,c++}o=s}}function uh(e,n){var t,r,i,a,o,s,u,c,l,d,m,f=1,h=e,y=h.d,M=h.constructor,g=M.rounding,p=M.precision;if(h.s<0||!y||!y[0]||!h.e&&1==y[0]&&1==y.length)return new M(y&&!y[0]?-1/0:1!=h.s?NaN:y?0:h);if(null==n?(Nf=!1,l=p):l=n,M.precision=l+=10,r=(t=qf(y)).charAt(0),!(Math.abs(a=h.e)<15e14))return c=eh(M,l+2,p).times(a+""),h=uh(new M(r+"."+t.slice(1)),l-10).plus(c),M.precision=p,null==n?Jf(h,p,g,Nf=!0):h;for(;r<7&&1!=r||1==r&&t.charAt(1)>3;)r=(t=qf((h=h.times(e)).d)).charAt(0),f++;for(a=h.e,r>1?(h=new M("0."+t),a++):h=new M(r+"."+t.slice(1)),d=h,u=o=h=$f(h.minus(1),h.plus(1),l,1),m=Jf(h.times(h),l,1),i=3;;){if(o=Jf(o.times(m),l,1),qf((c=u.plus($f(o,new M(i),l,1))).d).slice(0,l)===qf(u.d).slice(0,l)){if(u=u.times(2),0!==a&&(u=u.plus(eh(M,l+2,p).times(a+""))),u=$f(u,new M(f),l,1),null!=n)return M.precision=p,u;if(!Kf(u.d,l-10,g,s))return Jf(u,M.precision=p,g,Nf=!0);M.precision=l+=10,c=o=h=$f(d.minus(1),d.plus(1),l,1),m=Jf(h.times(h),l,1),i=s=1}u=c,i+=2}}function ch(e){return String(e.s*e.s/0)}function lh(e,n){var t,r,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),r=0;48===n.charCodeAt(r);r++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(r,i)){if(i-=r,e.e=t=t-r-1,e.d=[],r=(t+1)%7,t<0&&(r+=7),r<i){for(r&&e.d.push(+n.slice(0,r)),i-=7;r<i;)e.d.push(+n.slice(r,r+=7));r=7-(n=n.slice(r)).length}else r-=i;for(;r--;)n+="0";e.d.push(+n),Nf&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function dh(e,n){var t,r,i,a,o,s,u,c,l;if(n.indexOf("_")>-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),Rf.test(n))return lh(e,n)}else if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(Bf.test(n))t=16,n=n.toLowerCase();else if(Gf.test(n))t=2;else{if(!xf.test(n))throw Error(zf+n);t=8}for((a=n.search(/p/i))>0?(u=+n.slice(a+1),n=n.substring(2,a)):n=n.slice(2),o=(a=n.indexOf("."))>=0,r=e.constructor,o&&(a=(s=(n=n.replace(".","")).length)-a,i=ih(r,new r(t),a,2*a)),a=l=(c=Vf(n,t,jf)).length-1;0===c[a];--a)c.pop();return a<0?new r(0*e.s):(e.e=Xf(c,l),e.d=c,Nf=!1,o&&(e=$f(e,i,4*s)),u&&(e=e.times(Math.abs(u)<54?Lf(2,u):ry.pow(2,u))),Nf=!0,e)}function mh(e,n,t,r,i){var a,o,s,u,c=e.precision,l=Math.ceil(c/7);for(Nf=!1,u=t.times(t),s=new e(r);;){if(o=$f(s.times(u),new e(n++*n++),c,1),s=i?r.plus(o):r.minus(o),r=$f(o.times(u),new e(n++*n++),c,1),void 0!==(o=s.plus(r)).d[l]){for(a=l;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return Nf=!0,o.d.length=l+1,o}function fh(e,n){for(var t=e;--n;)t*=e;return t}function hh(e,n){var t,r=n.s<0,i=nh(e,e.precision,1),a=i.times(.5);if((n=n.abs()).lte(a))return Ef=r?4:1,n;if((t=n.divToInt(i)).isZero())Ef=r?3:2;else{if((n=n.minus(t.times(i))).lte(a))return Ef=ah(t)?r?2:3:r?4:1,n;Ef=ah(t)?r?1:4:r?3:2}return n.minus(i).abs()}function yh(e,n,t,r){var i,a,o,s,u,c,l,d,m,f=e.constructor,h=void 0!==t;if(h?(Wf(t,1,Df),void 0===r?r=f.rounding:Wf(r,0,8)):(t=f.precision,r=f.rounding),e.isFinite()){for(h?(i=2,16==n?t=4*t-3:8==n&&(t=3*t-2)):i=n,(o=(l=Qf(e)).indexOf("."))>=0&&(l=l.replace(".",""),(m=new f(1)).e=l.length-o,m.d=Vf(Qf(m),10,i),m.e=m.d.length),a=u=(d=Vf(l,10,i)).length;0==d[--u];)d.pop();if(d[0]){if(o<0?a--:((e=new f(e)).d=d,e.e=a,d=(e=$f(e,m,t,r,0,i)).d,a=e.e,c=_f),o=d[t],s=i/2,c=c||void 0!==d[t+1],c=r<4?(void 0!==o||c)&&(0===r||r===(e.s<0?3:2)):o>s||o===s&&(4===r||c||6===r&&1&d[t-1]||r===(e.s<0?8:7)),d.length=t,c)for(;++d[--t]>i-1;)d[t]=0,t||(++a,d.unshift(1));for(u=d.length;!d[u-1];--u);for(o=0,l="";o<u;o++)l+=Sf.charAt(d[o]);if(h){if(u>1)if(16==n||8==n){for(o=16==n?4:3,--u;u%o;u++)l+="0";for(u=(d=Vf(l,i,n)).length;!d[u-1];--u);for(o=1,l="1.";o<u;o++)l+=Sf.charAt(d[o])}else l=l.charAt(0)+"."+l.slice(1);l=l+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)l="0"+l;l="0."+l}else if(++a>u)for(a-=u;a--;)l+="0";else a<u&&(l=l.slice(0,a)+"."+l.slice(a))}else l=h?"0p+0":"0";l=(16==n?"0x":2==n?"0b":8==n?"0o":"")+l}else l=ch(e);return e.s<0?"-"+l:l}function Mh(e,n){if(e.length>n)return e.length=n,!0}function gh(e){return new this(e).abs()}function ph(e){return new this(e).acos()}function wh(e){return new this(e).acosh()}function vh(e,n){return new this(e).plus(n)}function bh(e){return new this(e).asin()}function _h(e){return new this(e).asinh()}function Eh(e){return new this(e).atan()}function Th(e){return new this(e).atanh()}function Dh(e,n){e=new this(e),n=new this(n);var t,r=this.precision,i=this.rounding,a=r+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(t=n.s<0?nh(this,r,i):new this(0)).s=e.s:!e.d||n.isZero()?(t=nh(this,a,1).times(.5)).s=e.s:n.s<0?(this.precision=a,this.rounding=1,t=this.atan($f(e,n,a,1)),n=nh(this,a,1),this.precision=r,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan($f(e,n,a,1)):(t=nh(this,a,1).times(n.s>0?.25:.75)).s=e.s:t=new this(NaN),t}function Sh(e){return new this(e).cbrt()}function Ah(e){return Jf(e=new this(e),e.e+1,2)}function kh(e,n,t){return new this(e).clamp(n,t)}function Ch(e){if(!e||"object"!=typeof e)throw Error(Pf+"Object expected");var n,t,r,i=!0===e.defaults,a=["precision",1,Df,"rounding",0,8,"toExpNeg",-Tf,0,"toExpPos",0,Tf,"maxE",0,Tf,"minE",-Tf,0,"modulo",0,9];for(n=0;n<a.length;n+=3)if(t=a[n],i&&(this[t]=Cf[t]),void 0!==(r=e[t])){if(!(Of(r)===r&&r>=a[n+1]&&r<=a[n+2]))throw Error(zf+t+": "+r);this[t]=r}if(t="crypto",i&&(this[t]=Cf[t]),void 0!==(r=e[t])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(zf+t+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(Hf);this[t]=!0}else this[t]=!1}return this}function Nh(e){return new this(e).cos()}function Ph(e){return new this(e).cosh()}function zh(e,n){return new this(e).div(n)}function Ih(e){return new this(e).exp()}function Hh(e){return Jf(e=new this(e),e.e+1,3)}function Fh(){var e,n,t=new this(0);for(Nf=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return Nf=!0,new this(1/0);t=n}return Nf=!0,t.sqrt()}function Oh(e){return e instanceof ry||e&&e.toStringTag===Ff||!1}function Lh(e){return new this(e).ln()}function Gh(e,n){return new this(e).log(n)}function Bh(e){return new this(e).log(2)}function xh(e){return new this(e).log(10)}function Rh(){return oh(this,arguments,-1)}function jh(){return oh(this,arguments,1)}function Zh(e,n){return new this(e).mod(n)}function Uh(e,n){return new this(e).mul(n)}function Yh(e,n){return new this(e).pow(n)}function qh(e){var n,t,r,i,a=0,o=new this(1),s=[];if(void 0===e?e=this.precision:Wf(e,1,Df),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=n[a])>=429e7?n[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else{if(!crypto.randomBytes)throw Error(Hf);for(n=crypto.randomBytes(r*=4);a<r;)(i=n[a]+(n[a+1]<<8)+(n[a+2]<<16)+((127&n[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,a):(s.push(i%1e7),a+=4);a=r/4}else for(;a<r;)s[a++]=1e7*Math.random()|0;for(e%=7,(r=s[--a])&&e&&(i=Lf(10,7-e),s[a]=(r/i|0)*i);0===s[a];a--)s.pop();if(a<0)t=0,s=[0];else{for(t=-1;0===s[0];t-=7)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<7&&(t-=7-r)}return o.e=t,o.d=s,o}function Wh(e){return Jf(e=new this(e),e.e+1,this.rounding)}function Kh(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Vh(e){return new this(e).sin()}function $h(e){return new this(e).sinh()}function Jh(e){return new this(e).sqrt()}function Qh(e,n){return new this(e).sub(n)}function Xh(){var e=0,n=arguments,t=new this(n[e]);for(Nf=!1;t.s&&++e<n.length;)t=t.plus(n[e]);return Nf=!0,Jf(t,this.precision,this.rounding)}function ey(e){return new this(e).tan()}function ny(e){return new this(e).tanh()}function ty(e){return Jf(e=new this(e),e.e+1,1)}Yf[Symbol.for("nodejs.util.inspect.custom")]=Yf.toString,Yf[Symbol.toStringTag]="Decimal";var ry=Yf.constructor=function e(n){var t,r,i;function a(e){var n,t,r,i=this;if(!(i instanceof a))return new a(e);if(i.constructor=a,Oh(e))return i.s=e.s,void(Nf?!e.d||e.e>a.maxE?(i.e=NaN,i.d=null):e.e<a.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,t=e;t>=10;t/=10)n++;return void(Nf?n>a.maxE?(i.e=NaN,i.d=null):n<a.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):lh(i,e.toString())}if("string"===r)return 45===(t=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===t&&(e=e.slice(1)),i.s=1),Rf.test(e)?lh(i,e):dh(i,e);if("bigint"===r)return e<0?(e=-e,i.s=-1):i.s=1,lh(i,e.toString());throw Error(zf+e)}if(a.prototype=Yf,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=Ch,a.clone=e,a.isDecimal=Oh,a.abs=gh,a.acos=ph,a.acosh=wh,a.add=vh,a.asin=bh,a.asinh=_h,a.atan=Eh,a.atanh=Th,a.atan2=Dh,a.cbrt=Sh,a.ceil=Ah,a.clamp=kh,a.cos=Nh,a.cosh=Ph,a.div=zh,a.exp=Ih,a.floor=Hh,a.hypot=Fh,a.ln=Lh,a.log=Gh,a.log10=xh,a.log2=Bh,a.max=Rh,a.min=jh,a.mod=Zh,a.mul=Uh,a.pow=Yh,a.random=qh,a.round=Wh,a.sign=Kh,a.sin=Vh,a.sinh=$h,a.sqrt=Jh,a.sub=Qh,a.sum=Xh,a.tan=ey,a.tanh=ny,a.trunc=ty,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)n.hasOwnProperty(r=i[t++])||(n[r]=this[r]);return a.config(n),a}(Cf);Af=new ry(Af),kf=new ry(kf),new ry(10);var iy=new ry(0),ay=new ry(-0);function oy(e,n){var t=n&&n.cache?n.cache:fy,r=n&&n.serializer?n.serializer:dy;return(n&&n.strategy?n.strategy:ly)(e,{cache:t,serializer:r})}function sy(e,n,t,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:t(r),o=n.get(a);return void 0===o&&(o=e.call(this,r),n.set(a,o)),o}function uy(e,n,t){var r=Array.prototype.slice.call(arguments,3),i=t(r),a=n.get(i);return void 0===a&&(a=e.apply(this,r),n.set(i,a)),a}function cy(e,n,t,r,i){return t.bind(n,e,r,i)}function ly(e,n){return cy(e,this,1===e.length?sy:uy,n.cache.create(),n.serializer)}var dy=function(){return JSON.stringify(arguments)},my=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,n){this.cache[e]=n},e}(),fy={create:function(){return new my}},hy={variadic:function(e,n){return cy(e,this,uy,n.cache.create(),n.serializer)}};function yy(e,n){if("function"==typeof e.repeat)return e.repeat(n);for(var t=new Array(n),r=0;r<t.length;r++)t[r]=e;return t.join("")}function My(e,n,t,r){e.get(n)||e.set(n,Object.create(null)),e.get(n)[t]=r}function gy(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var i=e.get(n);if(!i)throw new TypeError("".concat(n," InternalSlot has not been initialized"));return t.reduce(function(e,n){return e[n]=i[n],e},Object.create(null))}function py(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}var wy=oy(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.NumberFormat).bind.apply(e,ef([void 0],n,!1)))},{strategy:hy.variadic}),vy=oy(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.DateTimeFormat).bind.apply(e,ef([void 0],n,!1)))},{strategy:hy.variadic}),by=oy(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.PluralRules).bind.apply(e,ef([void 0],n,!1)))},{strategy:hy.variadic}),_y=oy(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.Locale).bind.apply(e,ef([void 0],n,!1)))},{strategy:hy.variadic}),Ey=oy(function(){for(var e,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return new((e=Intl.ListFormat).bind.apply(e,ef([void 0],n,!1)))},{strategy:hy.variadic});function Ty(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function Dy(e){if("number"==typeof e)return new ry(e);if(py("bigint"!=typeof e&&"symbol"!=typeof e,"BigInt and Symbol are not supported",TypeError),void 0===e)return new ry(NaN);if(null===e||0===e)return iy;if(!0===e)return new ry(1);if("string"==typeof e)try{return new ry(e)}catch(e){return new ry(NaN)}py("object"==typeof e,"object expected",TypeError);var n=xy(e,"number");return py("object"!=typeof n,"object expected",TypeError),Dy(n)}function Sy(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function Ay(e){return new Array(e)}function ky(e,n){return Object.prototype.hasOwnProperty.call(e,n)}var Cy=864e5;function Ny(e,n){return e-Math.floor(e/n)*n}function Py(e){return Math.floor(e/Cy)}function zy(e){if(e<100){var n=new Date(0);return n.setUTCFullYear(e,0,1),n.setUTCHours(0,0,0,0),n.getTime()/Cy}return Date.UTC(e,0)/Cy}function Iy(e){return new Date(e).getUTCFullYear()}function Hy(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function Fy(e){return Py(e)-zy(Iy(e))}function Oy(e){return 365===Hy(Iy(e))?0:1}function Ly(e){var n=Fy(e),t=Oy(e);if(n>=0&&n<31)return 0;if(n<59+t)return 1;if(n<90+t)return 2;if(n<120+t)return 3;if(n<151+t)return 4;if(n<181+t)return 5;if(n<212+t)return 6;if(n<243+t)return 7;if(n<273+t)return 8;if(n<304+t)return 9;if(n<334+t)return 10;if(n<365+t)return 11;throw new Error("Invalid time")}var Gy=1e3;function By(e){return"function"==typeof e}function xy(e,n){if("object"==typeof e&&null!=e){var t=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0,r=void 0;if(void 0!==t){void 0===n?r="default":"string"===n?r="string":(py("number"===n,'preferredType must be "string" or "number"'),r="number");var i=t.call(e,r);if("object"!=typeof i)return i;throw new TypeError("Cannot convert exotic object to primitive.")}return void 0===n&&(n="number"),function(e,n){for(var t=0,r="string"===n?["toString","valueOf"]:["valueOf","toString"];t<r.length;t++){var i=e[r[t]];if(By(i)){var a=i.call(e);if("object"!=typeof a)return a}}throw new TypeError("Cannot convert object to primitive value")}(e,n)}return e}function Ry(e){return void 0===e?Object.create(null):Sy(e)}function jy(e,n,t,r){if(void 0===e)return r;var i=Number(e);if(isNaN(i)||i<n||i>t)throw new RangeError("".concat(i," is outside of range [").concat(n,", ").concat(t,"]"));return Math.floor(i)}function Zy(e,n,t,r,i){return jy(e[n],t,r,i)}function Uy(e,n,t,r,i){if("object"!=typeof e)throw new TypeError("Options must be an object");var a=e[n];if(void 0!==a){if("boolean"!==t&&"string"!==t)throw new TypeError("invalid type");if("boolean"===t&&(a=Boolean(a)),"string"===t&&(a=Ty(a)),void 0!==r&&!r.filter(function(e){return e==a}).length)throw new RangeError("".concat(a," is not within ").concat(r.join(", ")));return a}return i}function Yy(e,n,t,r,i,a){var o=e[n];if(void 0===o)return a;if(!0===o)return r;if(!1===Boolean(o))return i;if("true"===(o=Ty(o))||"false"===o)return a;if(-1===(t||[]).indexOf(o))throw new RangeError("Invalid value ".concat(o));return o}var qy=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function Wy(e){return e.slice(e.indexOf("-")+1)}var Ky=qy.map(Wy);function Vy(e){return Ky.indexOf(e)>-1}var $y=/[^A-Z]/;function Jy(e){return e=e.replace(/([a-z])/g,function(e,n){return n.toUpperCase()}),3===e.length&&!$y.test(e)}function Qy(e){if(e=e.replace(/([A-Z])/g,function(e,n){return n.toLowerCase()}),Vy(e))return!0;var n=e.split("-per-");if(2!==n.length)return!1;var t=n[0],r=n[1];return!(!Vy(t)||!Vy(r))}function Xy(e,n,t,r){if(e.eq(n))return n;if(py(n.lessThan(e)&&e.lessThan(t),"x should be between r1 and r2 but x=".concat(e,", r1=").concat(n,", r2=").concat(t)),"zero"===r)return n;if("infinity"===r)return t;var i=e.minus(n),a=t.minus(e);return i.lessThan(a)?n:a.lessThan(i)?t:(py(i.eq(a),"d1 should be equal to d2"),"half-zero"===r?n:"half-infinity"===r?t:(py("half-even"===r,"unsignedRoundingMode should be half-even"),n.div(t.minus(n)).mod(2).isZero()?n:t))}var eM=new Set(["unit","exponentMinusSign","minusSign","plusSign","percentSign","exponentSeparator","percent","percentSign","currency","literal"]);function nM(e,n,t){for(var r=(0,t.getInternalSlots)(e),i=r.dataLocaleData.numbers.symbols[r.numberingSystem],a=new RegExp("s?[".concat(i.rangeSign,"]s?")),o=n.findIndex(function(e){return"literal"===e.type&&a.test(e.value)}),s=[],u=o-1;u>=0&&eM.has(n[u].type);u--)s.unshift(n[u]);if(Array.from(s.map(function(e){return e.value}).join("")).length>1)return(c=Array.from(n)).splice(o-s.length,s.length),c;var c,l=[];for(u=o+1;u<n.length&&eM.has(n[u].type);u++)l.push(n[u]);return Array.from(l.map(function(e){return e.value}).join("")).length>1?((c=Array.from(n)).splice(o+1,l.length),c):n}function tM(e,n){var t=e.notation,r=e.dataLocaleData,i=e.numberingSystem;switch(t){case"standard":return 0;case"scientific":return n.toNumber();case"engineering":return n.div(3).floor().times(3).toNumber();default:py("compact"===t,"Invalid notation");var a=e.compactDisplay,o=e.style,s=e.currencyDisplay,u=void 0;if("currency"===o&&"name"!==s){u=(r.numbers.currency[i]||r.numbers.currency[r.numbers.nu[0]]).short}else{var c=r.numbers.decimal[i]||r.numbers.decimal[r.numbers.nu[0]];u="long"===a?c.long:c.short}if(!u)return 0;var l=ry.pow(10,n).toString(),d=Object.keys(u);if(l<d[0])return 0;if(l>d[d.length-1])return d[d.length-1].length-1;var m=d.indexOf(l);if(-1===m)return 0;var f=d[m];return"0"===u[f].other?0:f.length-u[f].other.match(/0+/)[0].length}}ry.set({toExpPos:100});var rM={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},iM={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function aM(e,n){return n?rM[e]:iM[e]}function oM(e,n){return e.times(ry.pow(10,-n))}function sM(e,n,t,r,i){var a,o,s,u,c=t,l=function(e,n,t){var r=e.times(ry.pow(10,n)).floor().div(t).floor().times(t);return{n1:r,r1:oM(r,n)}}(e,c,r),d=l.n1,m=l.r1,f=function(e,n,t){var r=e.times(ry.pow(10,n)).ceil().div(t).ceil().times(t);return{n2:r,r2:oM(r,n)}}(e,c,r),h=f.n2,y=f.r2;if(Xy(e,m,y,i).eq(m)?(a=d,o=m):(a=h,o=y),s=a.isZero()?"0":a.toString(),0!==c){var M=s.length;if(M<=c)s=yy("0",c-M+1)+s,M=c+1;var g=s.slice(0,M-c),p=s.slice(s.length-c);s=g+"."+p,u=g.length}else u=s.length;for(var w=t-n;w>0&&"0"===s[s.length-1];)s=s.slice(0,s.length-1),w--;return"."===s[s.length-1]&&(s=s.slice(0,s.length-1)),{formattedString:s,roundedNumber:o,integerDigitsCount:u,roundingMagnitude:-c}}function uM(e,n,t,r){var i,a,o,s,u=t;if(e.isZero())i=yy("0",u),a=0,o=iy;else{var c=function(e,n){for(var t=ry.pow(10,n),r=ry.pow(10,n-1),i=e.div(r).log(10).plus(n).minus(1).ceil();;){var a=e.div(ry.pow(10,i.minus(n).plus(1))).floor();if(a.lessThan(t)&&a.greaterThanOrEqualTo(r)){var o=a.times(ry.pow(10,i.minus(n).plus(1)));if(o.lessThanOrEqualTo(e))return{n1:a,e1:i,r1:o}}i=i.minus(1)}}(e,u),l=c.n1,d=c.e1,m=c.r1,f=function(e,n){for(var t=ry.pow(10,n),r=ry.pow(10,n-1),i=e.div(t).log(10).plus(n).minus(1).floor();;){var a=e.div(ry.pow(10,i.minus(n).plus(1))).ceil();if(a.lessThan(t)&&a.greaterThanOrEqualTo(r)){var o=a.times(ry.pow(10,i.minus(n).plus(1)));if(o.greaterThanOrEqualTo(e))return{n2:a,e2:i,r2:o}}i=i.plus(1)}}(e,u),h=f.n2,y=f.e2,M=f.r2,g=void 0;Xy(e,m,M,r).eq(m)?(g=l,a=d.toNumber(),o=m):(g=h,a=y.toNumber(),o=M),i=g.toString()}if(a>=u-1?(i+=yy("0",a-u+1),s=a+1):a>=0?(i=i.slice(0,a+1)+"."+i.slice(i.length-(u-(a+1))),s=a+1):(py(a<0,"e should be less than 0"),i="0."+yy("0",-a-1)+i,s=1),i.includes(".")&&t>n){for(var p=t-n;p>0&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),p--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1))}return{formattedString:i,roundedNumber:o,integerDigitsCount:s,roundingMagnitude:a}}function cM(e,n){var t,r,i=n;i.isZero()&&i.isNegative()?(t="negative",i=iy):(py(i.isFinite(),"NumberFormatDigitInternalSlots value is not finite"),"negative"===(t=i.lessThan(0)?"negative":"positive")&&(i=i.negated()));var a=e.roundingType,o=aM(e.roundingMode,"negative"===t);switch(a){case"significantDigits":r=uM(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o);break;case"fractionDigits":r=sM(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);break;default:var s=uM(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o),u=sM(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);"morePrecision"===e.roundingType?r=s.roundingMagnitude<=u.roundingMagnitude?s:u:(py("lessPrecision"===e.roundingType,"Invalid roundingType"),r=s.roundingMagnitude<=u.roundingMagnitude?u:s)}i=r.roundedNumber;var c=r.formattedString;if("stripIfInteger"===e.trailingZeroDisplay&&i.isInteger()){var l=c.indexOf(".");l>-1&&(c=c.slice(0,l))}var d=r.integerDigitsCount,m=e.minimumIntegerDigits;d<m&&(c=yy("0",m-d)+c);return"negative"===t&&(i=i.isZero()?ay:i.negated()),{roundedNumber:i,formattedString:c}}function lM(e,n){if(n.isZero())return[0,0];n.isNegative()&&(n=n.negated());var t=n.log(10).floor(),r=tM(e,t),i=cM(e,n=n.times(ry.pow(10,-r)));return i.roundedNumber.isZero()||i.roundedNumber.log(10).floor().eq(t.minus(r))?[r,t.toNumber()]:[tM(e,t.plus(1)),t.plus(1).toNumber()]}function dM(e,n){var t=n.currencyDigitsData;return ky(t,e)?t[e]:2}ry.set({toExpPos:100});var mM=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/,fM={adlm:["𞥐","𞥑","𞥒","𞥓","𞥔","𞥕","𞥖","𞥗","𞥘","𞥙"],ahom:["𑜰","𑜱","𑜲","𑜳","𑜴","𑜵","𑜶","𑜷","𑜸","𑜹"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["𑱐","𑱑","𑱒","𑱓","𑱔","𑱕","𑱖","𑱗","𑱘","𑱙"],brah:["𑁦","𑁧","𑁨","𑁩","𑁪","𑁫","𑁬","𑁭","𑁮","𑁯"],cakm:["𑄶","𑄷","𑄸","𑄹","𑄺","𑄻","𑄼","𑄽","𑄾","𑄿"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["𑥐","𑥑","𑥒","𑥓","𑥔","𑥕","𑥖","𑥗","𑥘","𑥙"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gong:["𑶠","𑶡","𑶢","𑶣","𑶤","𑶥","𑶦","𑶧","𑶨","𑶩"],gonm:["𑵐","𑵑","𑵒","𑵓","𑵔","𑵕","𑵖","𑵗","𑵘","𑵙"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["𖭐","𖭑","𖭒","𖭓","𖭔","𖭕","𖭖","𖭗","𖭘","𖭙"],hmnp:["𞅀","𞅁","𞅂","𞅃","𞅄","𞅅","𞅆","𞅇","𞅈","𞅉"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["𝟎","𝟏","𝟐","𝟑","𝟒","𝟓","𝟔","𝟕","𝟖","𝟗"],mathdbl:["𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"],mathmono:["𝟶","𝟷","𝟸","𝟹","𝟺","𝟻","𝟼","𝟽","𝟾","𝟿"],mathsanb:["𝟬","𝟭","𝟮","𝟯","𝟰","𝟱","𝟲","𝟳","𝟴","𝟵"],mathsans:["𝟢","𝟣","𝟤","𝟥","𝟦","𝟧","𝟨","𝟩","𝟪","𝟫"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["𑙐","𑙑","𑙒","𑙓","𑙔","𑙕","𑙖","𑙗","𑙘","𑙙"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["𖩠","𖩡","𖩢","𖩣","𖩤","𖩥","𖩦","𖩧","𖩨","𖩩"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["𑑐","𑑑","𑑒","𑑓","𑑔","𑑕","𑑖","𑑗","𑑘","𑑙"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["𐒠","𐒡","𐒢","𐒣","𐒤","𐒥","𐒦","𐒧","𐒨","𐒩"],rohg:["𐴰","𐴱","𐴲","𐴳","𐴴","𐴵","𐴶","𐴷","𐴸","𐴹"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["🯰","🯱","🯲","🯳","🯴","🯵","🯶","🯷","🯸","🯹"],shrd:["𑇐","𑇑","𑇒","𑇓","𑇔","𑇕","𑇖","𑇗","𑇘","𑇙"],sind:["𑋰","𑋱","𑋲","𑋳","𑋴","𑋵","𑋶","𑋷","𑋸","𑋹"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["𑃰","𑃱","𑃲","𑃳","𑃴","𑃵","𑃶","𑃷","𑃸","𑃹"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["𑛀","𑛁","𑛂","𑛃","𑛄","𑛅","𑛆","𑛇","𑛈","𑛉"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["𑓐","𑓑","𑓒","𑓓","𑓔","𑓕","𑓖","𑓗","𑓘","𑓙"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["𑣠","𑣡","𑣢","𑣣","𑣤","𑣥","𑣦","𑣧","𑣨","𑣩"],wcho:["𞋰","𞋱","𞋲","𞋳","𞋴","𞋵","𞋶","𞋷","𞋸","𞋹"]},hM=new RegExp("^".concat(mM.source)),yM=new RegExp("".concat(mM.source,"$")),MM=/[#0](?:[\.,][#0]+)*/g;function gM(e,n,t,r){var i,a,o,s=e.sign,u=e.exponent,c=e.magnitude,l=r.notation,d=r.style,m=r.numberingSystem,f=n.numbers.nu[0],h=null;if("compact"===l&&c&&(h=function(e,n,t,r,i,a,o){var s,u,c=e.roundedNumber,l=e.sign,d=e.magnitude,m=String(Math.pow(10,d)),f=t.numbers.nu[0];if("currency"===r&&"name"!==a){var h=null===(s=((y=t.numbers.currency)[o]||y[f]).short)||void 0===s?void 0:s[m];if(!h)return null;u=vM(n,c.toNumber(),h)}else{var y,M=((y=t.numbers.decimal)[o]||y[f])[i][m];if(!M)return null;u=vM(n,c.toNumber(),M)}if("0"===u)return null;return u=wM(u,l).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0"),u}(e,t,n,d,r.compactDisplay,r.currencyDisplay,m)),"currency"===d&&"name"!==r.currencyDisplay){var y=n.currencies[r.currency];if(y)switch(r.currencyDisplay){case"code":a=r.currency;break;case"symbol":a=y.symbol;break;default:a=y.narrow}else a=r.currency}if(h)o=h;else if("decimal"===d||"unit"===d||"currency"===d&&"name"===r.currencyDisplay)o=wM((n.numbers.decimal[m]||n.numbers.decimal[f]).standard,s);else if("currency"===d){o=wM((g=n.numbers.currency[m]||n.numbers.currency[f])[r.currencySign],s)}else{o=wM(n.numbers.percent[m]||n.numbers.percent[f],s)}var M=MM.exec(o)[0];if(o=o.replace(MM,"{0}").replace(/'(.)'/g,"$1"),"currency"===d&&"name"!==r.currencyDisplay){var g,p=(g=n.numbers.currency[m]||n.numbers.currency[f]).currencySpacing.afterInsertBetween;p&&!yM.test(a)&&(o=o.replace("¤{0}","¤".concat(p,"{0}")));var w=g.currencySpacing.beforeInsertBetween;w&&!hM.test(a)&&(o=o.replace("{0}¤","{0}".concat(w,"¤")))}for(var v=o.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),b=[],_=n.numbers.symbols[m]||n.numbers.symbols[f],E=0,T=v;E<T.length;E++){if(Z=T[E])switch(Z){case"{0}":b.push.apply(b,pM(_,e,l,u,m,!h&&(null===(i=r.useGrouping)||void 0===i||i),M,d,r.roundingIncrement,aM(r.roundingMode,-1===s)));break;case"-":b.push({type:"minusSign",value:_.minusSign});break;case"+":b.push({type:"plusSign",value:_.plusSign});break;case"%":b.push({type:"percentSign",value:_.percentSign});break;case"¤":b.push({type:"currency",value:a});break;default:/^\{c:/.test(Z)?b.push({type:"compact",value:Z.substring(3,Z.length-1)}):b.push({type:"literal",value:Z})}}switch(d){case"currency":if("name"===r.currencyDisplay){var D=(n.numbers.currency[m]||n.numbers.currency[f]).unitPattern,S=void 0,A=n.currencies[r.currency];S=A?vM(t,e.roundedNumber.times(ry.pow(10,u)).toNumber(),A.displayName):r.currency;for(var k=[],C=0,N=D.split(/(\{[01]\})/g);C<N.length;C++){switch(Z=N[C]){case"{0}":k.push.apply(k,b);break;case"{1}":k.push({type:"currency",value:S});break;default:Z&&k.push({type:"literal",value:Z})}}return k}return b;case"unit":var P=r.unit,z=r.unitDisplay,I=n.units.simple[P];D=void 0;if(I)D=vM(t,e.roundedNumber.times(ry.pow(10,u)).toNumber(),n.units.simple[P][z]);else{var H=P.split("-per-"),F=H[0],O=H[1];I=n.units.simple[F];var L=vM(t,e.roundedNumber.times(ry.pow(10,u)).toNumber(),n.units.simple[F][z]),G=n.units.simple[O].perUnit[z];if(G)D=G.replace("{0}",L);else{var B=n.units.compound.per[z],x=vM(t,1,n.units.simple[O][z]);D=D=B.replace("{0}",L).replace("{1}",x.replace("{0}",""))}}k=[];for(var R=0,j=D.split(/(\s*\{0\}\s*)/);R<j.length;R++){var Z=j[R],U=/^(\s*)\{0\}(\s*)$/.exec(Z);U?(U[1]&&k.push({type:"literal",value:U[1]}),k.push.apply(k,b),U[2]&&k.push({type:"literal",value:U[2]})):Z&&k.push({type:"unit",value:Z})}return k;default:return b}}function pM(e,n,t,r,i,a,o,s,u,c){var l=[],d=n.formattedString,m=n.roundedNumber;if(m.isNaN())return[{type:"nan",value:d}];if(!m.isFinite())return[{type:"infinity",value:d}];var f=fM[i];f&&(d=d.replace(/\d/g,function(e){return f[+e]||e}));var h,y,M=d.indexOf(".");M>0?(h=d.slice(0,M),y=d.slice(M+1)):h=d;var g=!1;if("always"===a?g=!0:"min2"===a?g=m.greaterThanOrEqualTo(1e4):("auto"===a||a)&&(g="compact"!==t||m.greaterThanOrEqualTo(1e4)),g){var p="currency"===s&&null!=e.currencyGroup?e.currencyGroup:e.group,w=[],v=o.split(".")[0].split(","),b=3,_=3;v.length>1&&(b=v[v.length-1].length),v.length>2&&(_=v[v.length-2].length);var E=h.length-b;if(E>0){for(w.push(h.slice(E,E+b)),E-=_;E>0;E-=_)w.push(h.slice(E,E+_));w.push(h.slice(0,E+_))}else w.push(h);for(;w.length>0;){var T=w.pop();l.push({type:"integer",value:T}),w.length>0&&l.push({type:"group",value:p})}}else l.push({type:"integer",value:h});if(void 0!==y){var D="currency"===s&&null!=e.currencyDecimal?e.currencyDecimal:e.decimal;l.push({type:"decimal",value:D},{type:"fraction",value:y})}if(("scientific"===t||"engineering"===t)&&m.isFinite()){l.push({type:"exponentSeparator",value:e.exponential}),r<0&&(l.push({type:"exponentMinusSign",value:e.minusSign}),r=-r);var S=sM(new ry(r),0,0,u,c);l.push({type:"exponentInteger",value:S.formattedString})}return l}function wM(e,n){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var t=e.split(";"),r=t[0],i=t[1];switch(n){case 0:return r;case-1:return i;default:return i.indexOf("-")>=0?i.replace(/-/g,"+"):"+".concat(r)}}function vM(e,n,t){return t[e.select(n)]||t.other}function bM(e,n){var t=e.dataLocaleData.numbers.symbols[e.numberingSystem].approximatelySign;return n.push({type:"approximatelySign",value:t}),n}function _M(e,n){var t,r,i,a=n,o=0,s=e.pl,u=e.dataLocaleData,c=e.numberingSystem,l=u.numbers.symbols[c]||u.numbers.symbols[u.numbers.nu[0]],d=0;if(a.isNaN())r=l.nan;else if(a.isFinite()){a.isZero()||(py(a.isFinite(),"Input must be a mathematical value"),"percent"==e.style&&(a=a.times(100)),d=(t=lM(e,a))[0],o=t[1],a=a.times(ry.pow(10,-d)));var m=cM(e,a);r=m.formattedString,a=m.roundedNumber}else r=l.infinity;var f=e.signDisplay;switch(f){case"never":i=0;break;case"auto":i=a.isPositive()||a.isNaN()?0:-1;break;case"always":i=a.isPositive()||a.isNaN()?1:-1;break;case"exceptZero":i=a.isZero()?0:a.isNegative()?-1:1;break;default:py("negative"===f,'signDisplay must be "negative"'),i=a.isNegative()&&!a.isZero()?-1:0}return gM({roundedNumber:a,formattedString:r,exponent:d,magnitude:o,sign:i},e.dataLocaleData,s,e)}function EM(e,n){return _M(e,n).map(function(e){return e.value}).join("")}function TM(e,n,t,r){var i=r.getInternalSlots;py(!n.isNaN()&&!t.isNaN(),"Input must be a number",RangeError);var a=i(e),o=_M(a,n),s=_M(a,t);if(EM(a,n)===EM(a,t)){var u=bM(a,o);return u.forEach(function(e){e.source="shared"}),u}var c=[];o.forEach(function(e){e.source="startRange",c.push(e)});var l=a.dataLocaleData.numbers.symbols[a.numberingSystem].rangeSign;return c.push({type:"literal",value:l,source:"shared"}),s.forEach(function(e){e.source="endRange",c.push(e)}),nM(e,c,{getInternalSlots:i})}var DM={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},SM={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},AM=/-u(?:-[0-9a-z]{2,8})+/gi;function kM(e,n,t){if(void 0===t&&(t=Error),!e)throw new t(n)}var CM;function NM(){var e,n;if(!CM){var t=null===(n=null===(e=DM.supplemental.languageMatching["written-new"][0])||void 0===e?void 0:e.paradigmLocales)||void 0===n?void 0:n._locales.split(" "),r=DM.supplemental.languageMatching["written-new"].slice(1,5),i=DM.supplemental.languageMatching["written-new"].slice(5).map(function(e){var n=Object.keys(e)[0],t=e[n];return{supported:n,desired:t._desired,distance:+t._distance,oneway:"true"===t.oneway}},{});CM={matches:i,matchVariables:r.reduce(function(e,n){var t=Object.keys(n)[0],r=n[t];return e[t.slice(1)]=r._value.split("+"),e},{}),paradigmLocales:ef(ef([],t,!0),t.map(function(e){return new Intl.Locale(e.replace(/_/g,"-")).maximize().toString()}),!0)}}return CM}function PM(e,n,t){var r=n.split("-"),i=r[0],a=r[1],o=r[2],s=!0;if(o&&"$"===o[0]){var u="!"!==o[1],c=(u?t[o.slice(1)]:t[o.slice(2)]).map(function(e){return SM[e]||[e]}).reduce(function(e,n){return ef(ef([],e,!0),n,!0)},[]);s&&(s=!(c.indexOf(e.region||"")>-1!=u))}else s&&(s=!e.region||("*"===o||o===e.region));return s&&(s=!e.script||("*"===a||a===e.script)),s&&(s=!e.language||("*"===i||i===e.language)),s}function zM(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function IM(e,n,t){for(var r=0,i=t.matches;r<i.length;r++){var a=i[r],o=PM(e,a.desired,t.matchVariables)&&PM(n,a.supported,t.matchVariables);if(a.oneway||o||(o=PM(e,a.supported,t.matchVariables)&&PM(n,a.desired,t.matchVariables)),o){var s=10*a.distance;return t.paradigmLocales.indexOf(zM(e))>-1!=t.paradigmLocales.indexOf(zM(n))>-1?s-1:s}}throw new Error("No matching distance found")}function HM(e,n,t){void 0===t&&(t=838);var r=1/0,i={matchedDesiredLocale:"",distances:{}};return e.forEach(function(e,t){i.distances[e]||(i.distances[e]={}),n.forEach(function(n){var a=function(e,n){var t=new Intl.Locale(e).maximize(),r=new Intl.Locale(n).maximize(),i={language:t.language,script:t.script||"",region:t.region||""},a={language:r.language,script:r.script||"",region:r.region||""},o=0,s=NM();return i.language!==a.language&&(o+=IM({language:t.language,script:"",region:""},{language:r.language,script:"",region:""},s)),i.script!==a.script&&(o+=IM({language:t.language,script:i.script,region:""},{language:r.language,script:a.script,region:""},s)),i.region!==a.region&&(o+=IM(i,a,s)),o}(e,n)+0+40*t;i.distances[e][n]=a,a<r&&(r=a,i.matchedDesiredLocale=e,i.matchedSupportedLocale=n)})}),r>=t&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0),i}function FM(e){return Intl.getCanonicalLocales(e)[0]}function OM(e,n){for(var t=n;;){if(e.indexOf(t)>-1)return t;var r=t.lastIndexOf("-");if(!~r)return;r>=2&&"-"===t[r-2]&&(r-=2),t=t.slice(0,r)}}function LM(e,n,t,r,i,a){var o,s;s="lookup"===t.localeMatcher?function(e,n,t){for(var r={locale:""},i=0,a=n;i<a.length;i++){var o=a[i],s=o.replace(AM,""),u=OM(e,s);if(u)return r.locale=u,o!==s&&(r.extension=o.slice(s.length,o.length)),r}return r.locale=t(),r}(Array.from(e),n,a):function(e,n,t){var r,i,a=[],o=n.reduce(function(e,n){var t=n.replace(AM,"");return a.push(t),e[t]=n,e},{}),s=HM(a,e);return s.matchedSupportedLocale&&s.matchedDesiredLocale&&(r=s.matchedSupportedLocale,i=o[s.matchedDesiredLocale].slice(s.matchedDesiredLocale.length)||void 0),r?{locale:r,extension:i}:{locale:t()}}(Array.from(e),n,a),null==s&&(s={locale:a(),extension:""});var u,c,l=s.locale,d=i[l],m={locale:"en",dataLocale:l};s.extension?(u=function(e){kM(e===e.toLowerCase(),"Expected extension to be lowercase"),kM("-u-"===e.slice(0,3),"Expected extension to be a Unicode locale extension");for(var n,t=[],r=[],i=e.length,a=3;a<i;){var o=e.indexOf("-",a),s=void 0;s=-1===o?i-a:o-a;var u=e.slice(a,a+s);kM(s>=2,"Expected a subtag to have at least 2 characters"),void 0===n&&2!=s?-1===t.indexOf(u)&&t.push(u):2===s?(n={key:u,value:""},void 0===r.find(function(e){return e.key===(null==n?void 0:n.key)})&&r.push(n)):""===(null==n?void 0:n.value)?n.value=u:(kM(void 0!==n,"Expected keyword to be defined"),n.value+="-"+u),a+=s+1}return{attributes:t,keywords:r}}(s.extension),c=u.keywords):c=[];for(var f=[],h=function(e){var n=null!==(o=null==d?void 0:d[e])&&void 0!==o?o:[];kM(Array.isArray(n),"keyLocaleData for ".concat(e," must be an array"));var r=n[0];kM(void 0===r||"string"==typeof r,"value must be a string or undefined");var i=void 0,a=c.find(function(n){return n.key===e});if(a){var s=a.value;""!==s?n.indexOf(s)>-1&&(i={key:e,value:r=s}):n.indexOf("true")>-1&&(i={key:e,value:r="true"})}var u=t[e];(kM(null==u||"string"==typeof u,"optionsValue must be a string or undefined"),"string"==typeof u)&&(u=function(e,n){var t=n.toLowerCase();return kM(void 0!==e,"ukey must be defined"),t}(e.toLowerCase(),u),""===u&&(u="true"));u!==r&&n.indexOf(u)>-1&&(r=u,i=void 0),i&&f.push(i),m[e]=r},y=0,M=r;y<M.length;y++){h(M[y])}return f.length>0&&(l=function(e,n,t){kM(-1===e.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");for(var r="-u",i=0,a=n;i<a.length;i++){var o=a[i];r+="-".concat(o)}for(var s=0,u=t;s<u.length;s++){var c=u[s],l=c.key,d=c.value;r+="-".concat(l),""!==d&&(r+="-".concat(d))}if("-u"===r)return FM(e);var m=e.indexOf("-x-");return FM(-1===m?e+r:e.slice(0,m)+r+e.slice(m))}(l,[],f)),m.locale=l,m}function GM(e,n){for(var t=[],r=0,i=n;r<i.length;r++){var a=OM(e,i[r].replace(AM,""));a&&t.push(a)}return t}var BM,xM=Object.freeze({__proto__:null,LookupSupportedLocales:GM,ResolveLocale:LM,match:function(e,n,t,r){return LM(n,(i=e,Intl.getCanonicalLocales(i)),{localeMatcher:(null==r?void 0:r.algorithm)||"best fit"},[],{},function(){return t}).locale;var i}}),RM=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);function jM(e,n,t,r,i){var a=Zy(n,"minimumIntegerDigits",1,21,1),o=n.minimumFractionDigits,s=n.maximumFractionDigits,u=n.minimumSignificantDigits,c=n.maximumSignificantDigits;e.minimumIntegerDigits=a;var l=Zy(n,"roundingIncrement",1,5e3,1);py(RM.has(l),"Invalid rounding increment value: ".concat(l,".\nValid values are ").concat(Array.from(RM).join(", "),"."));var d=Uy(n,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),m=Uy(n,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),f=Uy(n,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");1!==l&&(r=t),e.roundingIncrement=l,e.roundingMode=d,e.trailingZeroDisplay=f;var h=void 0!==u||void 0!==c,y=void 0!==o||void 0!==s,M=!0,g=!0;if("auto"===m&&(M=h,(h||!y&&"compact"===i)&&(g=!1)),M&&(h?(e.minimumSignificantDigits=jy(u,1,21,1),e.maximumSignificantDigits=jy(c,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),g)if(y){if(o=jy(o,0,100,void 0),s=jy(s,0,100,void 0),void 0===o)py(void 0!==s,"maximumFractionDigits must be defined"),o=Math.min(t,s);else if(void 0===s)s=Math.max(r,o);else if(o>s)throw new RangeError("Invalid range, ".concat(o," > ").concat(s));e.minimumFractionDigits=o,e.maximumFractionDigits=s}else e.minimumFractionDigits=t,e.maximumFractionDigits=r;M||g?"morePrecision"===m?(e.roundingType="morePrecision",e.roundingPriority="morePrecision"):"lessPrecision"===m?(e.roundingType="lessPrecision",e.roundingPriority="lessPrecision"):h?(e.roundingType="significantDigits",e.roundingPriority="auto"):(e.roundingType="fractionDigits",e.roundingPriority="auto"):(e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2,e.roundingType="morePrecision",e.roundingPriority="morePrecision"),1!==l&&(py("fractionDigits"===e.roundingType,"Invalid roundingType",TypeError),py(e.maximumFractionDigits===e.minimumFractionDigits,"With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.",RangeError))}function ZM(e,n){void 0===n&&(n=Object.create(null));var t=Uy(n,"style","string",["decimal","percent","currency","unit"],"decimal");e.style=t;var r=Uy(n,"currency","string",void 0,void 0);py(void 0===r||Jy(r),"Malformed currency code",RangeError),py("currency"!==t||void 0!==r,"currency cannot be undefined",TypeError);var i=Uy(n,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),a=Uy(n,"currencySign","string",["standard","accounting"],"standard"),o=Uy(n,"unit","string",void 0,void 0);py(void 0===o||Qy(o),"Invalid unit argument for Intl.NumberFormat()",RangeError),py("unit"!==t||void 0!==o,"unit cannot be undefined",TypeError);var s=Uy(n,"unitDisplay","string",["short","narrow","long"],"short");"currency"===t&&(e.currency=r.toUpperCase(),e.currencyDisplay=i,e.currencySign=a),"unit"===t&&(e.unit=o,e.unitDisplay=s)}!function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type="MISSING_LOCALE_DATA",n}Om(n,e)}(Error),function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(BM||(BM={}));var UM,YM=Object.freeze({__proto__:null,ApplyUnsignedRoundingMode:Xy,ArrayCreate:Ay,CanonicalizeLocaleList:bf,CanonicalizeTimeZoneName:function(e,n){var t=n.zoneNames,r=n.uppercaseLinks,i=e.toUpperCase(),a=t.reduce(function(e,n){return e[n.toUpperCase()]=n,e},{}),o=r[i]||a[i];return"Etc/UTC"===o||"Etc/GMT"===o?"UTC":o},CoerceOptionsToObject:Ry,CollapseNumberRange:nM,ComputeExponent:lM,ComputeExponentForMagnitude:tM,CurrencyDigits:dM,DateFromTime:function(e){var n=Fy(e),t=Ly(e),r=Oy(e);if(0===t)return n+1;if(1===t)return n-30;if(2===t)return n-58-r;if(3===t)return n-89-r;if(4===t)return n-119-r;if(5===t)return n-150-r;if(6===t)return n-180-r;if(7===t)return n-211-r;if(8===t)return n-242-r;if(9===t)return n-272-r;if(10===t)return n-303-r;if(11===t)return n-333-r;throw new Error("Invalid time")},Day:Py,DayFromYear:zy,DayWithinYear:Fy,DaysInYear:Hy,FormatApproximately:bM,FormatNumeric:EM,FormatNumericRange:function(e,n,t,r){return TM(e,n,t,{getInternalSlots:r.getInternalSlots}).map(function(e){return e.value}).join("")},FormatNumericRangeToParts:function(e,n,t,r){return TM(e,n,t,{getInternalSlots:r.getInternalSlots}).map(function(e,n){return{type:e.type,value:e.value,source:e.source,result:n.toString()}})},FormatNumericToParts:function(e,n,t){for(var r=_M(t.getInternalSlots(e),n),i=Ay(0),a=0,o=r;a<o.length;a++){var s=o[a];i.push({type:s.type,value:s.value})}return i},FormatNumericToString:cM,GetNumberOption:Zy,GetOption:Uy,GetOptionsObject:function(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")},GetStringOrBooleanOption:Yy,GetUnsignedRoundingMode:aM,HasOwnProperty:ky,HourFromTime:function(e){return Ny(Math.floor(e/36e5),24)},InLeapYear:Oy,InitializeNumberFormat:function(e,n,t,r){var i=r.getInternalSlots,a=r.localeData,o=r.availableLocales,s=r.numberingSystemNames,u=r.getDefaultLocale,c=r.currencyDigitsData,l=bf(n),d=Ry(t),m=Object.create(null),f=Uy(d,"localeMatcher","string",["lookup","best fit"],"best fit");m.localeMatcher=f;var h=Uy(d,"numberingSystem","string",void 0,void 0);if(void 0!==h&&s.indexOf(h)<0)throw RangeError("Invalid numberingSystems: ".concat(h));m.nu=h;var y=LM(Array.from(o),l,m,["nu"],a,u),M=a[y.dataLocale];py(!!M,"Missing locale data for ".concat(y.dataLocale));var g=i(e);g.locale=y.locale,g.dataLocale=y.dataLocale,g.numberingSystem=y.nu,g.dataLocaleData=M,ZM(g,d);var p,w,v=g.style,b=Uy(d,"notation","string",["standard","scientific","engineering","compact"],"standard");if(g.notation=b,"currency"===v&&"standard"===b){var _=dM(g.currency,{currencyDigitsData:c});p=_,w=_}else p=0,w="percent"===v?0:3;jM(g,d,p,w,b);var E=Uy(d,"compactDisplay","string",["short","long"],"short"),T="auto";"compact"===b&&(g.compactDisplay=E,T="min2");var D=Yy(d,"useGrouping",["min2","auto","always"],"always",!1,T);g.useGrouping=D;var S=Uy(d,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto");return g.signDisplay=S,e},IsSanctionedSimpleUnitIdentifier:Vy,IsValidTimeZoneName:function(e,n){var t=n.zoneNamesFromData,r=n.uppercaseLinks,i=e.toUpperCase(),a=new Set,o=new Set;return t.map(function(e){return e.toUpperCase()}).forEach(function(e){return a.add(e)}),Object.keys(r).forEach(function(e){o.add(e.toUpperCase()),a.add(r[e].toUpperCase())}),a.has(i)||o.has(i)},IsWellFormedCurrencyCode:Jy,IsWellFormedUnitIdentifier:Qy,MinFromTime:function(e){return Ny(Math.floor(e/6e4),60)},MonthFromTime:Ly,OrdinaryHasInstance:function(e,n,t){if(!By(e))return!1;if(null==t?void 0:t.boundTargetFunction)return n instanceof(null==t?void 0:t.boundTargetFunction);if("object"!=typeof n)return!1;var r=e.prototype;if("object"!=typeof r)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(r,n)},PartitionNumberPattern:_M,PartitionNumberRangePattern:TM,PartitionPattern:function(e){for(var n=[],t=e.indexOf("{"),r=0,i=0,a=e.length;t<e.length&&t>-1;)py((r=e.indexOf("}",t))>t,"Invalid pattern ".concat(e)),t>i&&n.push({type:"literal",value:e.substring(i,t)}),n.push({type:e.substring(t+1,r),value:void 0}),i=r+1,t=e.indexOf("{",i);return i<a&&n.push({type:"literal",value:e.substring(i,a)}),n},get RangePatternType(){return BM},SANCTIONED_UNITS:qy,SIMPLE_UNITS:Ky,SameValue:function(e,n){return Object.is?Object.is(e,n):e===n?0!==e||1/e==1/n:e!=e&&n!=n},SecFromTime:function(e){return Ny(Math.floor(e/Gy),60)},SetNumberFormatDigitOptions:jM,SetNumberFormatUnitOptions:ZM,SupportedLocales:function(e,n,t){return void 0!==t&&Uy(t=Sy(t),"localeMatcher","string",["lookup","best fit"],"best fit"),GM(Array.from(e),n)},TimeClip:function(e){return e.isFinite()?e.abs().greaterThan(8640000000000001)?new ry(NaN):function(e){var n=Dy(e);if(n.isNaN()||n.isZero())return iy;if(n.isFinite())return n;var t=n.abs().floor();return n.isNegative()&&(t=t.negated()),t}(e):new ry(NaN)},TimeFromYear:function(e){return Date.UTC(e,0)},ToIntlMathematicalValue:function(e){var n=xy(e,"number");if("bigint"==typeof n)return new ry(n);if(void 0===n)return new ry(NaN);if(!0===n)return new ry(1);if(!1===n)return new ry(0);if(null===n)return new ry(0);try{return new ry(n)}catch(e){return new ry(NaN)}},ToNumber:Dy,ToObject:Sy,ToPrimitive:xy,ToRawFixed:sM,ToRawPrecision:uM,ToString:Ty,Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0},WeekDay:function(e){return Ny(Py(e)+4,7)},YearFromTime:Iy,ZERO:iy,_formatToParts:gM,createDataProperty:function(e,n,t){Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:t})},createMemoizedDateTimeFormat:vy,createMemoizedListFormat:Ey,createMemoizedLocale:_y,createMemoizedNumberFormat:wy,createMemoizedPluralRules:by,defineProperty:function(e,n,t){var r=t.value;Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:!0,value:r})},getInternalSlot:function(e,n,t){return gy(e,n,t)[t]},getMultiInternalSlots:gy,invariant:py,isLiteralPart:function(e){return"literal"===e.type},isMissingLocaleDataError:function(e){return"MISSING_LOCALE_DATA"===e.type},msFromTime:function(e){return Ny(e,Gy)},removeUnitNamespace:Wy,setInternalSlot:My,setMultiInternalSlots:function(e,n,t){for(var r=0,i=Object.keys(t);r<i.length;r++){var a=i[r];My(e,n,a,t[a])}}}),qM=Im(YM),WM={},KM=Im(xM);var VM,$M={},JM={};var QM,XM,eg={};function ng(){if(XM)return $M;XM=1,Object.defineProperty($M,"__esModule",{value:!0}),$M.PartitionRelativeTimePattern=function(r,i,a,o){var s=o.getInternalSlots;if((0,e.invariant)("Number"===(0,e.Type)(i),"value must be number, instead got ".concat(typeof i),TypeError),(0,e.invariant)("String"===(0,e.Type)(a),"unit must be number, instead got ".concat(typeof i),TypeError),isNaN(i)||!isFinite(i))throw new RangeError("Invalid value ".concat(i));var u=(0,n.SingularRelativeTimeUnit)(a),c=s(r),l=c.fields,d=c.style,m=c.numeric,f=c.pluralRules,h=c.numberFormat,y=u;"short"===d?y="".concat(u,"-short"):"narrow"===d&&(y="".concat(u,"-narrow"));y in l||(y=u);var M=l[y];if("auto"===m&&(0,e.ToString)(i)in M)return[{type:"literal",value:M[(0,e.ToString)(i)]}];var g="future";((0,e.SameValue)(i,-0)||i<0)&&(g="past");var p=M[g],w="function"==typeof h.formatToParts?h.formatToParts(Math.abs(i)):[{type:"literal",value:h.format(Math.abs(i)),unit:a}],v=f.select(i),b=p[v];return(0,t.MakePartsList)(b,u,w)};var e=qM,n=function(){if(VM)return JM;VM=1,Object.defineProperty(JM,"__esModule",{value:!0}),JM.SingularRelativeTimeUnit=function(n){if((0,e.invariant)("String"===(0,e.Type)(n),"unit must be a string"),"seconds"===n)return"second";if("minutes"===n)return"minute";if("hours"===n)return"hour";if("days"===n)return"day";if("weeks"===n)return"week";if("months"===n)return"month";if("quarters"===n)return"quarter";if("years"===n)return"year";if("second"!==n&&"minute"!==n&&"hour"!==n&&"day"!==n&&"week"!==n&&"month"!==n&&"quarter"!==n&&"year"!==n)throw new RangeError("invalid unit");return n};var e=qM;return JM}(),t=function(){if(QM)return eg;QM=1,Object.defineProperty(eg,"__esModule",{value:!0}),eg.MakePartsList=function(n,t,r){for(var i=[],a=0,o=(0,e.PartitionPattern)(n);a<o.length;a++){var s=o[a];if("literal"===s.type)i.push({type:"literal",value:s.value});else{(0,e.invariant)("0"===s.type,"Malformed pattern ".concat(n));for(var u=0,c=r;u<c.length;u++){var l=c[u];i.push({type:l.type,value:l.value,unit:t})}}}return i};var e=qM;return eg}();return $M}var tg,rg,ig={};function ag(){if(rg)return vf;rg=1,Object.defineProperty(vf,"__esModule",{value:!0});var e=wf,n=qM,t=function(){if(UM)return WM;UM=1,Object.defineProperty(WM,"__esModule",{value:!0}),WM.InitializeRelativeTimeFormat=function(r,i,a,o){var s=o.getInternalSlots,u=o.availableLocales,c=o.relevantExtensionKeys,l=o.localeData,d=o.getDefaultLocale,m=s(r);m.initializedRelativeTimeFormat=!0;var f=(0,e.CanonicalizeLocaleList)(i),h=Object.create(null),y=(0,e.CoerceOptionsToObject)(a),M=(0,e.GetOption)(y,"localeMatcher","string",["best fit","lookup"],"best fit");h.localeMatcher=M;var g=(0,e.GetOption)(y,"numberingSystem","string",void 0,void 0);if(void 0!==g&&!t.test(g))throw new RangeError("Invalid numbering system ".concat(g));h.nu=g;var p=(0,n.ResolveLocale)(u,f,h,c,l,d),w=p.locale,v=p.nu;m.locale=w,m.style=(0,e.GetOption)(y,"style","string",["long","narrow","short"],"long"),m.numeric=(0,e.GetOption)(y,"numeric","string",["always","auto"],"always");var b=l[p.dataLocale];return(0,e.invariant)(!!b,"Missing locale data for ".concat(p.dataLocale)),m.fields=b,m.numberFormat=(0,e.createMemoizedNumberFormat)(i),m.pluralRules=(0,e.createMemoizedPluralRules)(i),m.numberingSystem=v,r};var e=qM,n=KM,t=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;return WM}(),r=ng(),i=e.__importDefault(function(){if(tg)return ig;tg=1,Object.defineProperty(ig,"__esModule",{value:!0}),ig.default=function(n){var t=e.get(n);return t||(t=Object.create(null),e.set(n,t)),t};var e=new WeakMap;return ig}()),a=function(){function e(n,r){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return(0,t.InitializeRelativeTimeFormat)(this,n,r,{getInternalSlots:i.default,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!(0,i.default)(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return(0,r.PartitionRelativeTimePattern)(this,Number(e),(0,n.ToString)(t),{getInternalSlots:i.default}).map(function(e){return e.value}).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!(0,i.default)(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return(0,r.PartitionRelativeTimePattern)(this,Number(e),(0,n.ToString)(t),{getInternalSlots:i.default})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=(0,i.default)(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},e.supportedLocalesOf=function(t,r){return(0,n.SupportedLocales)(e.availableLocales,(0,n.CanonicalizeLocaleList)(t),r)},e.__addLocaleData=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r=0,i=n;r<i.length;r++){var a=i[r],o=a.data,s=a.locale,u=new Intl.Locale(s).minimize().toString();e.localeData[s]=e.localeData[u]=o,e.availableLocales.add(u),e.availableLocales.add(s),e.__defaultLocale||(e.__defaultLocale=u)}},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=new Set,e.__defaultLocale="",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e}();vf.default=a;try{"undefined"!=typeof Symbol&&Object.defineProperty(a.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(a.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}return vf}var og,sg,ug,cg={},lg={};function dg(){if(sg)return cg;sg=1,Object.defineProperty(cg,"__esModule",{value:!0}),cg.shouldPolyfill=function(t){void 0===t&&(t="en");if(!("RelativeTimeFormat"in Intl)||!function(e){if(!e)return!0;var n=Array.isArray(e)?e:[e];return Intl.RelativeTimeFormat.supportedLocalesOf(n).length===n.length}(t)||!function(e){try{return"numberingSystem"in new Intl.RelativeTimeFormat(e||"en",{numeric:"auto"}).resolvedOptions()}catch(e){return!1}}(t))return(0,e.match)([t],n.supportedLocales,"en")};var e=KM,n=(og||(og=1,Object.defineProperty(lg,"__esModule",{value:!0}),lg.supportedLocales=void 0,lg.supportedLocales=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]),lg);return cg}var mg=e({__proto__:null},[function(){if(ug)return Hm;ug=1,Object.defineProperty(Hm,"__esModule",{value:!0});var e=wf.__importDefault(ag());return(0,dg().shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:e.default,writable:!0,enumerable:!1,configurable:!0}),Hm}()]);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 fg,hg=Object.freeze({__proto__:null}),yg={},Mg={},gg={},pg={exports:{}},wg=pg.exports;function vg(){return fg||(fg=1,e=pg,function(n){
10
10
  /*!
11
11
  * decimal.js v10.6.0
12
12
  * An arbitrary-precision Decimal type for JavaScript.
@@ -14,5 +14,5 @@ var Lf,Gf,Bf=9e15,xf=1e9,Rf="0123456789abcdef",jf="2.302585092994045684017991454
14
14
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
15
15
  * MIT Licence
16
16
  */
17
- var t,r,i,a,o=9e15,s=1e9,u="0123456789abcdef",c="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",l="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",d={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-o,maxE:o,crypto:!1},m=!0,f="[DecimalError] ",h=f+"Invalid argument: ",y=f+"Precision limit exceeded",M=f+"crypto unavailable",g="[object Decimal]",p=Math.floor,v=Math.pow,w=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,b=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,E=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,T=1e7,D=c.length-1,S=l.length-1,A={toStringTag:g};function k(e){var n,t,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,n=1;n<i;n++)(t=7-(r=e[n]+"").length)&&(a+=B(t)),a+=r;(t=7-(r=(o=e[n])+"").length)&&(a+=B(t))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function C(e,n,t){if(e!==~~e||e<n||e>t)throw Error(h+e)}function P(e,n,t,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),a=v(10,7-n),s=e[i]%a|0,null==r?n<3?(0==n?s=s/100|0:1==n&&(s=s/10|0),o=t<4&&99999==s||t>3&&49999==s||5e4==s||0==s):o=(t<4&&s+1==a||t>3&&s+1==a/2)&&(e[i+1]/a/100|0)==v(10,n-2)-1||(s==a/2||0==s)&&!(e[i+1]/a/100|0):n<4?(0==n?s=s/1e3|0:1==n?s=s/100|0:2==n&&(s=s/10|0),o=(r||t<4)&&9999==s||!r&&t>3&&4999==s):o=((r||t<4)&&s+1==a||!r&&t>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==v(10,n-3)-1,o}function N(e,n,t){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=n;for(a[0]+=u.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>t-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/t|0,a[r]%=t)}return a.reverse()}A.absoluteValue=A.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),H(e)},A.ceil=function(){return H(new this.constructor(this),this.e+1,2)},A.clampedTo=A.clamp=function(e,n){var t=this,r=t.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(h+n);return t.cmp(e)<0?e:t.cmp(n)>0?n:new r(t)},A.comparedTo=A.cmp=function(e){var n,t,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,u=a.s,c=e.s;if(!o||!s)return u&&c?u!==c?u:o===s?0:!o^u<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?u:s[0]?-c:0;if(u!==c)return u;if(a.e!==e.e)return a.e>e.e^u<0?1:-1;for(n=0,t=(r=o.length)<(i=s.length)?r:i;n<t;++n)if(o[n]!==s[n])return o[n]>s[n]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},A.cosine=A.cos=function(){var e,n,t=this,r=t.constructor;return t.d?t.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r,i;if(n.isZero())return n;(r=n.d.length)<32?i=(1/V(4,t=Math.ceil(r/3))).toString():(t=16,i="2.3283064365386962890625e-10"),e.precision+=t,n=K(e,1,n.times(i),new e(1));for(var a=t;a--;){var o=n.times(n);n=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,n}(r,$(r,t)),r.precision=e,r.rounding=n,H(2==a||3==a?t.neg():t,e,n,!0)):new r(1):new r(NaN)},A.cubeRoot=A.cbrt=function(){var e,n,t,r,i,a,o,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(m=!1,(a=l.s*v(l.s*l,1/3))&&Math.abs(a)!=1/0?r=new d(a.toString()):(t=k(l.d),(a=((e=l.e)-t.length+1)%3)&&(t+=1==a||-2==a?"0":"00"),a=v(t,1/3),e=p((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(t=a==1/0?"5e"+e:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+e)).s=l.s),o=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=z(c.plus(l).times(s),c.plus(u),o+2,1),k(s.d).slice(0,o)===(t=k(r.d)).slice(0,o)){if("9999"!=(t=t.slice(o-3,o+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(H(r,e+1,1),n=!r.times(r).times(r).eq(l));break}if(!i&&(H(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}o+=4,i=1}return m=!0,H(r,e,d.rounding,n)},A.decimalPlaces=A.dp=function(){var e,n=this.d,t=NaN;if(n){if(t=7*((e=n.length-1)-p(this.e/7)),e=n[e])for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},A.dividedBy=A.div=function(e){return z(this,new this.constructor(e))},A.dividedToIntegerBy=A.divToInt=function(e){var n=this.constructor;return H(z(this,new n(e),0,1,1),n.precision,n.rounding)},A.equals=A.eq=function(e){return 0===this.cmp(e)},A.floor=function(){return H(new this.constructor(this),this.e+1,3)},A.greaterThan=A.gt=function(e){return this.cmp(e)>0},A.greaterThanOrEqualTo=A.gte=function(e){var n=this.cmp(e);return 1==n||0===n},A.hyperbolicCosine=A.cosh=function(){var e,n,t,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;t=o.precision,r=o.rounding,o.precision=t+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?n=(1/V(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),a=K(o,1,a.times(n),new o(1),!0);for(var u,c=e,l=new o(8);c--;)u=a.times(a),a=s.minus(u.times(l.minus(u.times(l))));return H(a,o.precision=t,o.rounding=r,!0)},A.hyperbolicSine=A.sinh=function(){var e,n,t,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(n=a.precision,t=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=K(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=K(a,2,i=i.times(1/V(5,e)),i,!0);for(var o,s=new a(5),u=new a(16),c=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(u.times(o).plus(c))))}return a.precision=n,a.rounding=t,H(i,n,t,!0)},A.hyperbolicTangent=A.tanh=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,z(t.sinh(),t.cosh(),r.precision=e,r.rounding=n)):new r(t.s)},A.inverseCosine=A.acos=function(){var e=this,n=e.constructor,t=e.abs().cmp(1),r=n.precision,i=n.rounding;return-1!==t?0===t?e.isNeg()?L(n,r,i):new n(0):new n(NaN):e.isZero()?L(n,r+4,i).times(.5):(n.precision=r+6,n.rounding=1,e=new n(1).minus(e).div(e.plus(1)).sqrt().atan(),n.precision=r,n.rounding=i,e.times(2))},A.inverseHyperbolicCosine=A.acosh=function(){var e,n,t=this,r=t.constructor;return t.lte(1)?new r(t.eq(1)?0:NaN):t.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(t.e),t.sd())+4,r.rounding=1,m=!1,t=t.times(t).minus(1).sqrt().plus(t),m=!0,r.precision=e,r.rounding=n,t.ln()):new r(t)},A.inverseHyperbolicSine=A.asinh=function(){var e,n,t=this,r=t.constructor;return!t.isFinite()||t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,r.rounding=1,m=!1,t=t.times(t).plus(1).sqrt().plus(t),m=!0,r.precision=e,r.rounding=n,t.ln())},A.inverseHyperbolicTangent=A.atanh=function(){var e,n,t,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,n=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?H(new a(i),e,n,!0):(a.precision=t=r-i.e,i=z(i.plus(1),new a(1).minus(i),t+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=n,i.times(.5))):new a(NaN)},A.inverseSine=A.asin=function(){var e,n,t,r,i=this,a=i.constructor;return i.isZero()?new a(i):(n=i.abs().cmp(1),t=a.precision,r=a.rounding,-1!==n?0===n?((e=L(a,t+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=t+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=t,a.rounding=r,i.times(2)))},A.inverseTangent=A.atan=function(){var e,n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=S)return(o=L(l,d+4,f).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(d+4<=S)return(o=L(l,d+4,f).times(.5)).s=c.s,o}for(l.precision=s=d+10,l.rounding=1,e=t=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(m=!1,n=Math.ceil(s/7),r=1,u=c.times(c),o=new l(c),i=c;-1!==e;)if(i=i.times(u),a=o.minus(i.div(r+=2)),i=i.times(u),void 0!==(o=a.plus(i.div(r+=2))).d[n])for(e=n;o.d[e]===a.d[e]&&e--;);return t&&(o=o.times(2<<t-1)),m=!0,H(o,l.precision=d,l.rounding=f,!0)},A.isFinite=function(){return!!this.d},A.isInteger=A.isInt=function(){return!!this.d&&p(this.e/7)>this.d.length-2},A.isNaN=function(){return!this.s},A.isNegative=A.isNeg=function(){return this.s<0},A.isPositive=A.isPos=function(){return this.s>0},A.isZero=function(){return!!this.d&&0===this.d[0]},A.lessThan=A.lt=function(e){return this.cmp(e)<0},A.lessThanOrEqualTo=A.lte=function(e){return this.cmp(e)<1},A.logarithm=A.log=function(e){var n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(null==e)e=new l(10),n=!0;else{if(t=(e=new l(e)).d,e.s<0||!t||!t[0]||e.eq(1))return new l(NaN);n=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new l(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(n)if(t.length>1)a=!0;else{for(i=t[0];i%10==0;)i/=10;a=1!==i}if(m=!1,o=U(c,s=d+5),r=n?O(l,s+10):U(e,s),P((u=z(o,r,s,1)).d,i=d,f))do{if(o=U(c,s+=10),r=n?O(l,s+10):U(e,s),u=z(o,r,s,1),!a){+k(u.d).slice(i+1,i+15)+1==1e14&&(u=H(u,d+1,0));break}}while(P(u.d,i+=10,f));return m=!0,H(u,d,f)},A.minus=A.sub=function(e){var n,t,r,i,a,o,s,u,c,l,d,f,h=this,y=h.constructor;if(e=new y(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new y(e.d||h.s!==e.s?h:NaN):e=new y(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,f=e.d,s=y.precision,u=y.rounding,!c[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!c[0])return new y(3===u?-0:0);e=new y(h)}return m?H(e,s,u):e}if(t=p(e.e/7),l=p(h.e/7),c=c.slice(),a=l-t){for((d=a<0)?(n=c,a=-a,o=f.length):(n=f,t=l,o=c.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,n.length=1),n.reverse(),r=a;r--;)n.push(0);n.reverse()}else{for((d=(r=c.length)<(o=f.length))&&(o=r),r=0;r<o;r++)if(c[r]!=f[r]){d=c[r]<f[r];break}a=0}for(d&&(n=c,c=f,f=n,e.s=-e.s),o=c.length,r=f.length-o;r>0;--r)c[o++]=0;for(r=f.length;r>a;){if(c[--r]<f[r]){for(i=r;i&&0===c[--i];)c[i]=T-1;--c[i],c[r]+=T}c[r]-=f[r]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--t;return c[0]?(e.d=c,e.e=F(c,t),m?H(e,s,u):e):new y(3===u?-0:0)},A.modulo=A.mod=function(e){var n,t=this,r=t.constructor;return e=new r(e),!t.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||t.d&&!t.d[0]?H(new r(t),r.precision,r.rounding):(m=!1,9==r.modulo?(n=z(t,e.abs(),0,3,1)).s*=e.s:n=z(t,e,0,r.modulo,1),n=n.times(e),m=!0,t.minus(n))},A.naturalExponential=A.exp=function(){return Z(this)},A.naturalLogarithm=A.ln=function(){return U(this)},A.negated=A.neg=function(){var e=new this.constructor(this);return e.s=-e.s,H(e)},A.plus=A.add=function(e){var n,t,r,i,a,o,s,u,c,l,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new f(e.d||d.s===e.s?d:NaN)):e=new f(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,l=e.d,s=f.precision,u=f.rounding,!c[0]||!l[0])return l[0]||(e=new f(d)),m?H(e,s,u):e;if(a=p(d.e/7),r=p(e.e/7),c=c.slice(),i=a-r){for(i<0?(t=c,i=-i,o=l.length):(t=l,r=a,o=c.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for((o=c.length)-(i=l.length)<0&&(i=o,t=l,l=c,c=t),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/T|0,c[i]%=T;for(n&&(c.unshift(n),++r),o=c.length;0==c[--o];)c.pop();return e.d=c,e.e=F(c,r),m?H(e,s,u):e},A.precision=A.sd=function(e){var n,t=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return t.d?(n=G(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n},A.round=function(){var e=this,n=e.constructor;return H(new n(e),e.e+1,n.rounding)},A.sine=A.sin=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r=n.d.length;if(r<3)return n.isZero()?n:K(e,2,n,n);t=(t=1.4*Math.sqrt(r))>16?16:0|t,n=n.times(1/V(5,t)),n=K(e,2,n,n);for(var i,a=new e(5),o=new e(16),s=new e(20);t--;)i=n.times(n),n=n.times(a.plus(i.times(o.times(i).minus(s))));return n}(r,$(r,t)),r.precision=e,r.rounding=n,H(a>2?t.neg():t,e,n,!0)):new r(NaN)},A.squareRoot=A.sqrt=function(){var e,n,t,r,i,a,o=this,s=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);for(m=!1,0==(c=Math.sqrt(+o))||c==1/0?(((n=k(s)).length+u)%2==0&&(n+="0"),c=Math.sqrt(n),u=p((u+1)/2)-(u<0||u%2),r=new l(n=c==1/0?"5e"+u:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+u)):r=new l(c.toString()),t=(u=l.precision)+3;;)if(r=(a=r).plus(z(o,a,t+2,1)).times(.5),k(a.d).slice(0,t)===(n=k(r.d)).slice(0,t)){if("9999"!=(n=n.slice(t-3,t+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(H(r,u+1,1),e=!r.times(r).eq(o));break}if(!i&&(H(a,u+1,0),a.times(a).eq(o))){r=a;break}t+=4,i=1}return m=!0,H(r,u,l.rounding,e)},A.tangent=A.tan=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,(t=t.sin()).s=1,t=z(t,new r(1).minus(t.times(t)).sqrt(),e+10,0),r.precision=e,r.rounding=n,H(2==a||4==a?t.neg():t,e,n,!0)):new r(NaN)},A.times=A.mul=function(e){var n,t,r,i,a,o,s,u,c,l=this,d=l.constructor,f=l.d,h=(e=new d(e)).d;if(e.s*=l.s,!(f&&f[0]&&h&&h[0]))return new d(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:f&&h?0*e.s:e.s/0);for(t=p(l.e/7)+p(e.e/7),(u=f.length)<(c=h.length)&&(a=f,f=h,h=a,o=u,u=c,c=o),a=[],r=o=u+c;r--;)a.push(0);for(r=c;--r>=0;){for(n=0,i=u+r;i>r;)s=a[i]+h[r]*f[i-r-1]+n,a[i--]=s%T|0,n=s/T|0;a[i]=(a[i]+n)%T|0}for(;!a[--o];)a.pop();return n?++t:a.shift(),e.d=a,e.e=F(a,t),m?H(e,d.precision,d.rounding):e},A.toBinary=function(e,n){return J(this,2,e,n)},A.toDecimalPlaces=A.toDP=function(e,n){var t=this,r=t.constructor;return t=new r(t),void 0===e?t:(C(e,0,s),void 0===n?n=r.rounding:C(n,0,8),H(t,e+t.e+1,n))},A.toExponential=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=I(r,!0):(C(e,0,s),void 0===n?n=i.rounding:C(n,0,8),t=I(r=H(new i(r),e+1,n),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+t:t},A.toFixed=function(e,n){var t,r,i=this,a=i.constructor;return void 0===e?t=I(i):(C(e,0,s),void 0===n?n=a.rounding:C(n,0,8),t=I(r=H(new a(i),e+i.e+1,n),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t},A.toFraction=function(e){var n,t,r,i,a,o,s,u,c,l,d,f,y=this,M=y.d,g=y.constructor;if(!M)return new g(y);if(c=t=new g(1),r=u=new g(0),o=(a=(n=new g(r)).e=G(M)-y.e-1)%7,n.d[0]=v(10,o<0?7+o:o),null==e)e=a>0?n:c;else{if(!(s=new g(e)).isInt()||s.lt(c))throw Error(h+s);e=s.gt(n)?a>0?n:c:s}for(m=!1,s=new g(k(M)),l=g.precision,g.precision=a=7*M.length*2;d=z(s,n,0,1,1),1!=(i=t.plus(d.times(r))).cmp(e);)t=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=n,n=s.minus(d.times(i)),s=i;return i=z(e.minus(t),r,0,1,1),u=u.plus(i.times(c)),t=t.plus(i.times(r)),u.s=c.s=y.s,f=z(c,r,a,1).minus(y).abs().cmp(z(u,t,a,1).minus(y).abs())<1?[c,r]:[u,t],g.precision=l,m=!0,f},A.toHexadecimal=A.toHex=function(e,n){return J(this,16,e,n)},A.toNearest=function(e,n){var t=this,r=t.constructor;if(t=new r(t),null==e){if(!t.d)return t;e=new r(1),n=r.rounding}else{if(e=new r(e),void 0===n?n=r.rounding:C(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(m=!1,t=z(t,e,0,n,1).times(e),m=!0,H(t)):(e.s=t.s,t=e),t},A.toNumber=function(){return+this},A.toOctal=function(e,n){return J(this,8,e,n)},A.toPower=A.pow=function(e){var n,t,r,i,a,o,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(v(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,a=u.rounding,e.eq(1))return H(s,r,a);if((n=p(e.e/7))>=e.d.length-1&&(t=c<0?-c:c)<=9007199254740991)return i=x(u,s,t,r),e.s<0?new u(1).div(i):H(i,r,a);if((o=s.s)<0){if(n<e.d.length-1)return new u(NaN);if(1&e.d[n]||(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(n=0!=(t=v(+s,c))&&isFinite(t)?new u(t+"").e:p(c*(Math.log("0."+k(s.d))/Math.LN10+s.e+1)))>u.maxE+1||n<u.minE-1?new u(n>0?o/0:0):(m=!1,u.rounding=s.s=1,t=Math.min(12,(n+"").length),(i=Z(e.times(U(s,r+t)),r)).d&&P((i=H(i,r+5,1)).d,r,a)&&(n=r+10,+k((i=H(Z(e.times(U(s,n+t)),n),n+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=H(i,r+1,0))),i.s=o,m=!0,u.rounding=a,H(i,r,a))},A.toPrecision=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=I(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(C(e,1,s),void 0===n?n=i.rounding:C(n,0,8),t=I(r=H(new i(r),e,n),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+t:t},A.toSignificantDigits=A.toSD=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(C(e,1,s),void 0===n?n=t.rounding:C(n,0,8)),H(new t(this),e,n)},A.toString=function(){var e=this,n=e.constructor,t=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},A.truncated=A.trunc=function(){return H(new this.constructor(this),this.e+1,1)},A.valueOf=A.toJSON=function(){var e=this,n=e.constructor,t=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};var z=function(){function e(e,n,t){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*n+i,e[a]=r%t|0,i=r/t|0;return i&&e.unshift(i),e}function n(e,n,t,r){var i,a;if(t!=r)a=t>r?1:-1;else for(i=a=0;i<t;i++)if(e[i]!=n[i]){a=e[i]>n[i]?1:-1;break}return a}function t(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;)e.shift()}return function(i,a,o,s,u,c){var l,d,m,f,h,y,M,g,v,w,b,_,E,D,S,A,k,C,P,N,z=i.constructor,I=i.s==a.s?1:-1,F=i.d,O=a.d;if(!(F&&F[0]&&O&&O[0]))return new z(i.s&&a.s&&(F?!O||F[0]!=O[0]:O)?F&&0==F[0]||!O?0*I:I/0:NaN);for(c?(h=1,d=i.e-a.e):(c=T,h=7,d=p(i.e/h)-p(a.e/h)),P=O.length,k=F.length,w=(v=new z(I)).d=[],m=0;O[m]==(F[m]||0);m++);if(O[m]>(F[m]||0)&&d--,null==o?(D=o=z.precision,s=z.rounding):D=u?o+(i.e-a.e)+1:o,D<0)w.push(1),y=!0;else{if(D=D/h+2|0,m=0,1==P){for(f=0,O=O[0],D++;(m<k||f)&&D--;m++)S=f*c+(F[m]||0),w[m]=S/O|0,f=S%O|0;y=f||m<k}else{for((f=c/(O[0]+1)|0)>1&&(O=e(O,f,c),F=e(F,f,c),P=O.length,k=F.length),A=P,_=(b=F.slice(0,P)).length;_<P;)b[_++]=0;(N=O.slice()).unshift(0),C=O[0],O[1]>=c/2&&++C;do{f=0,(l=n(O,b,P,_))<0?(E=b[0],P!=_&&(E=E*c+(b[1]||0)),(f=E/C|0)>1?(f>=c&&(f=c-1),1==(l=n(M=e(O,f,c),b,g=M.length,_=b.length))&&(f--,t(M,P<g?N:O,g,c))):(0==f&&(l=f=1),M=O.slice()),(g=M.length)<_&&M.unshift(0),t(b,M,_,c),-1==l&&(l=n(O,b,P,_=b.length))<1&&(f++,t(b,P<_?N:O,_,c)),_=b.length):0===l&&(f++,b=[0]),w[m++]=f,l&&b[0]?b[_++]=F[A]||0:(b=[F[A]],_=1)}while((A++<k||void 0!==b[0])&&D--);y=void 0!==b[0]}w[0]||w.shift()}if(1==h)v.e=d,r=y;else{for(m=1,f=w[0];f>=10;f/=10)m++;v.e=m+d*h-1,H(v,u?o+v.e+1:o,s,y)}return v}}();function H(e,n,t,r){var i,a,o,s,u,c,l,d,f,h=e.constructor;e:if(null!=n){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((a=n-i)<0)a+=7,o=n,u=(l=d[f=0])/v(10,i-o-1)%10|0;else if((f=Math.ceil((a+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=f;)d.push(0);l=u=0,i=1,o=(a%=7)-7+1}else{for(l=s=d[f],i=1;s>=10;s/=10)i++;u=(o=(a%=7)-7+i)<0?0:l/v(10,i-o-1)%10|0}if(r=r||n<0||void 0!==d[f+1]||(o<0?l:l%v(10,i-o-1)),c=t<4?(u||r)&&(0==t||t==(e.s<0?3:2)):u>5||5==u&&(4==t||r||6==t&&(a>0?o>0?l/v(10,i-o):0:d[f-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,c?(n-=e.e+1,d[0]=v(10,(7-n%7)%7),e.e=-n||0):d[0]=e.e=0,e;if(0==a?(d.length=f,s=1,f--):(d.length=f+1,s=v(10,7-a),d[f]=o>0?(l/v(10,i-o)%v(10,o)|0)*s:0),c)for(;;){if(0==f){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==T&&(d[0]=1));break}if(d[f]+=s,d[f]!=T)break;d[f--]=0,s=1}for(a=d.length;0===d[--a];)d.pop()}return m&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e<h.minE&&(e.e=0,e.d=[0])),e}function I(e,n,t){if(!e.isFinite())return Y(e);var r,i=e.e,a=k(e.d),o=a.length;return n?(t&&(r=t-o)>0?a=a.charAt(0)+"."+a.slice(1)+B(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+B(-i-1)+a,t&&(r=t-o)>0&&(a+=B(r))):i>=o?(a+=B(i+1-o),t&&(r=t-i-1)>0&&(a=a+"."+B(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),t&&(r=t-o)>0&&(i+1===o&&(a+="."),a+=B(r))),a}function F(e,n){var t=e[0];for(n*=7;t>=10;t/=10)n++;return n}function O(e,n,t){if(n>D)throw m=!0,t&&(e.precision=t),Error(y);return H(new e(c),n,1,!0)}function L(e,n,t){if(n>S)throw Error(y);return H(new e(l),n,t,!0)}function G(e){var n=e.length-1,t=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function B(e){for(var n="";e--;)n+="0";return n}function x(e,n,t,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(m=!1;;){if(t%2&&Q((a=a.times(n)).d,o)&&(i=!0),0===(t=p(t/2))){t=a.d.length-1,i&&0===a.d[t]&&++a.d[t];break}Q((n=n.times(n)).d,o)}return m=!0,a}function R(e){return 1&e.d[e.d.length-1]}function j(e,n,t){for(var r,i,a=new e(n[0]),o=0;++o<n.length;){if(!(i=new e(n[o])).s){a=i;break}((r=a.cmp(i))===t||0===r&&a.s===t)&&(a=i)}return a}function Z(e,n){var t,r,i,a,o,s,u,c=0,l=0,d=0,f=e.constructor,h=f.rounding,y=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(m=!1,u=y):u=n,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(v(2,d))/Math.LN10*2+5|0,t=a=o=new f(1),f.precision=u;;){if(a=H(a.times(e),u,1),t=t.times(++l),k((s=o.plus(z(a,t,u,1))).d).slice(0,u)===k(o.d).slice(0,u)){for(i=d;i--;)o=H(o.times(o),u,1);if(null!=n)return f.precision=y,o;if(!(c<3&&P(o.d,u-r,h,c)))return H(o,f.precision=y,h,m=!0);f.precision=u+=10,t=a=s=new f(1),l=0,c++}o=s}}function U(e,n){var t,r,i,a,o,s,u,c,l,d,f,h=1,y=e,M=y.d,g=y.constructor,p=g.rounding,v=g.precision;if(y.s<0||!M||!M[0]||!y.e&&1==M[0]&&1==M.length)return new g(M&&!M[0]?-1/0:1!=y.s?NaN:M?0:y);if(null==n?(m=!1,l=v):l=n,g.precision=l+=10,r=(t=k(M)).charAt(0),!(Math.abs(a=y.e)<15e14))return c=O(g,l+2,v).times(a+""),y=U(new g(r+"."+t.slice(1)),l-10).plus(c),g.precision=v,null==n?H(y,v,p,m=!0):y;for(;r<7&&1!=r||1==r&&t.charAt(1)>3;)r=(t=k((y=y.times(e)).d)).charAt(0),h++;for(a=y.e,r>1?(y=new g("0."+t),a++):y=new g(r+"."+t.slice(1)),d=y,u=o=y=z(y.minus(1),y.plus(1),l,1),f=H(y.times(y),l,1),i=3;;){if(o=H(o.times(f),l,1),k((c=u.plus(z(o,new g(i),l,1))).d).slice(0,l)===k(u.d).slice(0,l)){if(u=u.times(2),0!==a&&(u=u.plus(O(g,l+2,v).times(a+""))),u=z(u,new g(h),l,1),null!=n)return g.precision=v,u;if(!P(u.d,l-10,p,s))return H(u,g.precision=v,p,m=!0);g.precision=l+=10,c=o=y=z(d.minus(1),d.plus(1),l,1),f=H(y.times(y),l,1),i=s=1}u=c,i+=2}}function Y(e){return String(e.s*e.s/0)}function q(e,n){var t,r,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),r=0;48===n.charCodeAt(r);r++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(r,i)){if(i-=r,e.e=t=t-r-1,e.d=[],r=(t+1)%7,t<0&&(r+=7),r<i){for(r&&e.d.push(+n.slice(0,r)),i-=7;r<i;)e.d.push(+n.slice(r,r+=7));r=7-(n=n.slice(r)).length}else r-=i;for(;r--;)n+="0";e.d.push(+n),m&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function W(e,n){var r,i,a,o,s,u,c,l,d;if(n.indexOf("_")>-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),E.test(n))return q(e,n)}else if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(b.test(n))r=16,n=n.toLowerCase();else if(w.test(n))r=2;else{if(!_.test(n))throw Error(h+n);r=8}for((o=n.search(/p/i))>0?(c=+n.slice(o+1),n=n.substring(2,o)):n=n.slice(2),s=(o=n.indexOf("."))>=0,i=e.constructor,s&&(o=(u=(n=n.replace(".","")).length)-o,a=x(i,new i(r),o,2*o)),o=d=(l=N(n,r,T)).length-1;0===l[o];--o)l.pop();return o<0?new i(0*e.s):(e.e=F(l,d),e.d=l,m=!1,s&&(e=z(e,a,4*u)),c&&(e=e.times(Math.abs(c)<54?v(2,c):t.pow(2,c))),m=!0,e)}function K(e,n,t,r,i){var a,o,s,u,c=e.precision,l=Math.ceil(c/7);for(m=!1,u=t.times(t),s=new e(r);;){if(o=z(s.times(u),new e(n++*n++),c,1),s=i?r.plus(o):r.minus(o),r=z(o.times(u),new e(n++*n++),c,1),void 0!==(o=s.plus(r)).d[l]){for(a=l;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return m=!0,o.d.length=l+1,o}function V(e,n){for(var t=e;--n;)t*=e;return t}function $(e,n){var t,r=n.s<0,i=L(e,e.precision,1),o=i.times(.5);if((n=n.abs()).lte(o))return a=r?4:1,n;if((t=n.divToInt(i)).isZero())a=r?3:2;else{if((n=n.minus(t.times(i))).lte(o))return a=R(t)?r?2:3:r?4:1,n;a=R(t)?r?1:4:r?3:2}return n.minus(i).abs()}function J(e,n,t,i){var a,o,c,l,d,m,f,h,y,M=e.constructor,g=void 0!==t;if(g?(C(t,1,s),void 0===i?i=M.rounding:C(i,0,8)):(t=M.precision,i=M.rounding),e.isFinite()){for(g?(a=2,16==n?t=4*t-3:8==n&&(t=3*t-2)):a=n,(c=(f=I(e)).indexOf("."))>=0&&(f=f.replace(".",""),(y=new M(1)).e=f.length-c,y.d=N(I(y),10,a),y.e=y.d.length),o=d=(h=N(f,10,a)).length;0==h[--d];)h.pop();if(h[0]){if(c<0?o--:((e=new M(e)).d=h,e.e=o,h=(e=z(e,y,t,i,0,a)).d,o=e.e,m=r),c=h[t],l=a/2,m=m||void 0!==h[t+1],m=i<4?(void 0!==c||m)&&(0===i||i===(e.s<0?3:2)):c>l||c===l&&(4===i||m||6===i&&1&h[t-1]||i===(e.s<0?8:7)),h.length=t,m)for(;++h[--t]>a-1;)h[t]=0,t||(++o,h.unshift(1));for(d=h.length;!h[d-1];--d);for(c=0,f="";c<d;c++)f+=u.charAt(h[c]);if(g){if(d>1)if(16==n||8==n){for(c=16==n?4:3,--d;d%c;d++)f+="0";for(d=(h=N(f,a,n)).length;!h[d-1];--d);for(c=1,f="1.";c<d;c++)f+=u.charAt(h[c])}else f=f.charAt(0)+"."+f.slice(1);f=f+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)f="0"+f;f="0."+f}else if(++o>d)for(o-=d;o--;)f+="0";else o<d&&(f=f.slice(0,o)+"."+f.slice(o))}else f=g?"0p+0":"0";f=(16==n?"0x":2==n?"0b":8==n?"0o":"")+f}else f=Y(e);return e.s<0?"-"+f:f}function Q(e,n){if(e.length>n)return e.length=n,!0}function X(e){return new this(e).abs()}function ee(e){return new this(e).acos()}function ne(e){return new this(e).acosh()}function te(e,n){return new this(e).plus(n)}function re(e){return new this(e).asin()}function ie(e){return new this(e).asinh()}function ae(e){return new this(e).atan()}function oe(e){return new this(e).atanh()}function se(e,n){e=new this(e),n=new this(n);var t,r=this.precision,i=this.rounding,a=r+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(t=n.s<0?L(this,r,i):new this(0)).s=e.s:!e.d||n.isZero()?(t=L(this,a,1).times(.5)).s=e.s:n.s<0?(this.precision=a,this.rounding=1,t=this.atan(z(e,n,a,1)),n=L(this,a,1),this.precision=r,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(z(e,n,a,1)):(t=L(this,a,1).times(n.s>0?.25:.75)).s=e.s:t=new this(NaN),t}function ue(e){return new this(e).cbrt()}function ce(e){return H(e=new this(e),e.e+1,2)}function le(e,n,t){return new this(e).clamp(n,t)}function de(e){if(!e||"object"!=typeof e)throw Error(f+"Object expected");var n,t,r,i=!0===e.defaults,a=["precision",1,s,"rounding",0,8,"toExpNeg",-o,0,"toExpPos",0,o,"maxE",0,o,"minE",-o,0,"modulo",0,9];for(n=0;n<a.length;n+=3)if(t=a[n],i&&(this[t]=d[t]),void 0!==(r=e[t])){if(!(p(r)===r&&r>=a[n+1]&&r<=a[n+2]))throw Error(h+t+": "+r);this[t]=r}if(t="crypto",i&&(this[t]=d[t]),void 0!==(r=e[t])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+t+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(M);this[t]=!0}else this[t]=!1}return this}function me(e){return new this(e).cos()}function fe(e){return new this(e).cosh()}function he(e,n){return new this(e).div(n)}function ye(e){return new this(e).exp()}function Me(e){return H(e=new this(e),e.e+1,3)}function ge(){var e,n,t=new this(0);for(m=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return m=!0,new this(1/0);t=n}return m=!0,t.sqrt()}function pe(e){return e instanceof t||e&&e.toStringTag===g||!1}function ve(e){return new this(e).ln()}function we(e,n){return new this(e).log(n)}function be(e){return new this(e).log(2)}function _e(e){return new this(e).log(10)}function Ee(){return j(this,arguments,-1)}function Te(){return j(this,arguments,1)}function De(e,n){return new this(e).mod(n)}function Se(e,n){return new this(e).mul(n)}function Ae(e,n){return new this(e).pow(n)}function ke(e){var n,t,r,i,a=0,o=new this(1),u=[];if(void 0===e?e=this.precision:C(e,1,s),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=n[a])>=429e7?n[a]=crypto.getRandomValues(new Uint32Array(1))[0]:u[a++]=i%1e7;else{if(!crypto.randomBytes)throw Error(M);for(n=crypto.randomBytes(r*=4);a<r;)(i=n[a]+(n[a+1]<<8)+(n[a+2]<<16)+((127&n[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,a):(u.push(i%1e7),a+=4);a=r/4}else for(;a<r;)u[a++]=1e7*Math.random()|0;for(e%=7,(r=u[--a])&&e&&(i=v(10,7-e),u[a]=(r/i|0)*i);0===u[a];a--)u.pop();if(a<0)t=0,u=[0];else{for(t=-1;0===u[0];t-=7)u.shift();for(r=1,i=u[0];i>=10;i/=10)r++;r<7&&(t-=7-r)}return o.e=t,o.d=u,o}function Ce(e){return H(e=new this(e),e.e+1,this.rounding)}function Pe(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Ne(e){return new this(e).sin()}function ze(e){return new this(e).sinh()}function He(e){return new this(e).sqrt()}function Ie(e,n){return new this(e).sub(n)}function Fe(){var e=0,n=arguments,t=new this(n[e]);for(m=!1;t.s&&++e<n.length;)t=t.plus(n[e]);return m=!0,H(t,this.precision,this.rounding)}function Oe(e){return new this(e).tan()}function Le(e){return new this(e).tanh()}function Ge(e){return H(e=new this(e),e.e+1,1)}t=function e(n){var t,r,i;function a(e){var n,t,r,i=this;if(!(i instanceof a))return new a(e);if(i.constructor=a,pe(e))return i.s=e.s,void(m?!e.d||e.e>a.maxE?(i.e=NaN,i.d=null):e.e<a.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"==(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,t=e;t>=10;t/=10)n++;return void(m?n>a.maxE?(i.e=NaN,i.d=null):n<a.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):q(i,e.toString())}if("string"===r)return 45===(t=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===t&&(e=e.slice(1)),i.s=1),E.test(e)?q(i,e):W(i,e);if("bigint"===r)return e<0?(e=-e,i.s=-1):i.s=1,q(i,e.toString());throw Error(h+e)}if(a.prototype=A,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=de,a.clone=e,a.isDecimal=pe,a.abs=X,a.acos=ee,a.acosh=ne,a.add=te,a.asin=re,a.asinh=ie,a.atan=ae,a.atanh=oe,a.atan2=se,a.cbrt=ue,a.ceil=ce,a.clamp=le,a.cos=me,a.cosh=fe,a.div=he,a.exp=ye,a.floor=Me,a.hypot=ge,a.ln=ve,a.log=we,a.log10=_e,a.log2=be,a.max=Ee,a.min=Te,a.mod=De,a.mul=Se,a.pow=Ae,a.random=ke,a.round=Ce,a.sign=Pe,a.sin=Ne,a.sinh=ze,a.sqrt=He,a.sub=Ie,a.sum=Fe,a.tan=Oe,a.tanh=Le,a.trunc=Ge,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)n.hasOwnProperty(r=i[t++])||(n[r]=this[r]);return a.config(n),a}(d),t.prototype.constructor=t,t.default=t.Decimal=t,c=new t(c),l=new t(l),e.exports?("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(A[Symbol.for("nodejs.util.inspect.custom")]=A.toString,A[Symbol.toStringTag]="Decimal"),e.exports=t):(n||(n="undefined"!=typeof self&&self&&self.self==self?self:window),i=n.Decimal,t.noConflict=function(){return n.Decimal=i,t},n.Decimal=t)}(Fg)),Ig.exports;var e}var Lg,Gg={},Bg={},xg={},Rg={};function jg(){if(Lg)return Rg;Lg=1,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.ToLocalTime=function(n,t,r,i){var a=i.tzData;(0,e.invariant)("gregory"===t,"We only support Gregory calendar right now");var o=function(e,n,t){var r,i=t[n];if(!i)return[0,!1];for(var a=0,o=0,s=!1;a<=i.length;a++)if(a===i.length||1e3*i[a][0]>e){o=(r=i[a-1])[2],s=r[3];break}return[1e3*o,s]}(n.toNumber(),r,a),s=o[0],u=o[1],c=n.plus(s).toNumber(),l=(0,e.YearFromTime)(c);return{weekday:(0,e.WeekDay)(c),era:l<0?"BC":"AD",year:l,relatedYear:void 0,yearName:void 0,month:(0,e.MonthFromTime)(c),day:(0,e.DateFromTime)(c),hour:(0,e.HourFromTime)(c),minute:(0,e.MinFromTime)(c),second:(0,e.SecFromTime)(c),millisecond:(0,e.msFromTime)(c),inDST:u,timeZoneOffset:s}};var e=sg;return Rg}var Zg,Ug,Yg,qg,Wg={};function Kg(){return Zg||(Zg=1,Object.defineProperty(Wg,"__esModule",{value:!0}),Wg.offsetPenalty=Wg.shortMorePenalty=Wg.shortLessPenalty=Wg.longMorePenalty=Wg.longLessPenalty=Wg.differentNumericTypePenalty=Wg.additionPenalty=Wg.removalPenalty=Wg.DATE_TIME_PROPS=void 0,Wg.DATE_TIME_PROPS=["weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName"],Wg.removalPenalty=120,Wg.additionPenalty=20,Wg.differentNumericTypePenalty=15,Wg.longLessPenalty=8,Wg.longMorePenalty=6,Wg.shortLessPenalty=6,Wg.shortMorePenalty=3,Wg.offsetPenalty=1),Wg}function Vg(){if(Ug)return xg;Ug=1,Object.defineProperty(xg,"__esModule",{value:!0}),xg.FormatDateTimePattern=function(i,o,s,u){var c=u.getInternalSlots,l=u.localeData,d=u.getDefaultTimeZone,m=u.tzData;s=(0,e.TimeClip)(s);var f=c(i),h=f.dataLocale,y=l[h],M=f.locale,g=Object.create(null);g.useGrouping=!1;var p=(0,e.createMemoizedNumberFormat)(M,g),v=Object.create(null);v.minimumIntegerDigits=2,v.useGrouping=!1;var w,b=(0,e.createMemoizedNumberFormat)(M,v),_=f.fractionalSecondDigits;if(void 0!==_){var E=Object.create(null);E.minimumIntegerDigits=_,E.useGrouping=!1,w=(0,e.createMemoizedNumberFormat)(M,E)}for(var T=(0,t.ToLocalTime)(s,f.calendar,f.timeZone,{tzData:m}),D=[],S=0,A=o;S<A.length;S++){var k=A[S],C=k.type;if("literal"===C)D.push({type:"literal",value:k.value});else if("fractionalSecondDigits"===C){var P=new n.default(T.millisecond).times(10).pow((_||0)-3).floor().toNumber();D.push({type:"fractionalSecond",value:w.format(P)})}else if("dayPeriod"===C){var N=T[z=f.dayPeriod];D.push({type:C,value:N})}else if("timeZoneName"===C){var z=f.timeZoneName,H=(N=void 0,y.timeZoneName),I=y.gmtFormat,F=y.hourFormat,O=H[f.timeZone||d()];N=O&&O[z]?O[z][+T.inDST]:a(I,F,T.timeZoneOffset,z),D.push({type:C,value:N})}else if(r.DATE_TIME_PROPS.indexOf(C)>-1){N="",z=f[C],P=T[C];"year"===C&&P<=0&&(P=1-P),"month"===C&&P++;var L=f.hourCycle;"hour"!==C||"h11"!==L&&"h12"!==L||0===(P%=12)&&"h12"===L&&(P=12),"hour"===C&&"h24"===L&&0===P&&(P=24),"numeric"===z?N=p.format(P):"2-digit"===z?(N=b.format(P)).length>2&&(N=N.slice(N.length-2,N.length)):"narrow"!==z&&"short"!==z&&"long"!==z||(N="era"===C?y[C][z][P]:"month"===C?y.month[z][P-1]:y[C][z][P]),D.push({type:C,value:N})}else if("ampm"===C){N=void 0;N=(P=T.hour)>11?y.pm:y.am,D.push({type:"dayPeriod",value:N})}else if("relatedYear"===C){P=T.relatedYear,N=p.format(P);D.push({type:"relatedYear",value:N})}else if("yearName"===C){P=T.yearName,N=p.format(P);D.push({type:"yearName",value:N})}}return D};var e=sg,n=If.__importDefault(Og()),t=jg(),r=Kg();function i(e){return e<10?"0".concat(e):String(e)}function a(e,n,t,r){var a=Math.floor(t/6e4),o=Math.abs(a)%60,s=Math.floor(Math.abs(a)/60),u=n.split(";"),c=u[0],l=u[1],d="",m=t<0?l:c;return"long"===r?d=m.replace("HH",i(s)).replace("H",String(s)).replace("mm",i(o)).replace("m",String(o)):(o||s)&&(o||(m=m.replace(/:?m+/,"")),d=m.replace(/H+/,String(s)).replace(/m+/,String(o))),e.replace("{0}",d)}return xg}function $g(){if(Yg)return Bg;Yg=1,Object.defineProperty(Bg,"__esModule",{value:!0}),Bg.PartitionDateTimePattern=function(t,r,i){r=(0,e.TimeClip)(r),(0,e.invariant)(!r.isNaN(),"Invalid time",RangeError);var a=(0,i.getInternalSlots)(t).pattern;return(0,n.FormatDateTimePattern)(t,(0,e.PartitionPattern)(a),r,i)};var e=sg,n=Vg();return Bg}var Jg,Qg,Xg={},ep={};function np(){if(Jg)return ep;Jg=1,Object.defineProperty(ep,"__esModule",{value:!0}),ep.PartitionDateTimeRangePattern=function(i,a,o,s){if(a=(0,e.TimeClip)(a),a.isNaN())throw new RangeError("Invalid start time");if(o=(0,e.TimeClip)(o),o.isNaN())throw new RangeError("Invalid end time");for(var u,c=s.getInternalSlots,l=s.tzData,d=c(i),m=(0,t.ToLocalTime)(a,d.calendar,d.timeZone,{tzData:l}),f=(0,t.ToLocalTime)(o,d.calendar,d.timeZone,{tzData:l}),h=d.pattern,y=d.rangePatterns,M=!0,g=!1,p=0,v=r;p<v.length;p++){var w=v[p];if(M&&!g){var b=w in y?y[w]:void 0;if(void 0!==u&&void 0===b)g=!0;else if(u=b,"ampm"===w){var _=m.hour,E=f.hour;(_>11&&E<11||_<11&&E>11)&&(M=!1)}else if("dayPeriod"===w);else if("fractionalSecondDigits"===w){var T=d.fractionalSecondDigits;void 0===T&&(T=3);_=Math.floor(m.millisecond*Math.pow(10,T-3)),E=Math.floor(f.millisecond*Math.pow(10,T-3));(0,e.SameValue)(_,E)||(M=!1)}else{_=m[w],E=f[w];(0,e.SameValue)(_,E)||(M=!1)}}}if(M){for(var D=(0,n.FormatDateTimePattern)(i,(0,e.PartitionPattern)(h),a,s),S=0,A=D;S<A.length;S++){A[S].source=e.RangePatternType.shared}return D}var k=[];if(void 0===u)for(var C=0,P=(u=y.default).patternParts;C<P.length;C++){var N=P[C];"{0}"!==N.pattern&&"{1}"!==N.pattern||(N.pattern=h)}for(var z=0,H=u.patternParts;z<H.length;z++){var I=H[z],F=I.source,O=I.pattern,L=void 0;L=F===e.RangePatternType.startRange||F===e.RangePatternType.shared?a:o;for(var G=(0,e.PartitionPattern)(O),B=(0,n.FormatDateTimePattern)(i,G,L,s),x=0,R=B;x<R.length;x++){R[x].source=F}k=k.concat(B)}return k};var e=sg,n=Vg(),t=jg(),r=["era","year","month","day","dayPeriod","ampm","hour","minute","second","fractionalSecondDigits"];return ep}var tp,rp={};var ip,ap={};var op,sp={},up={};var cp,lp,dp={},mp={};function fp(){if(cp)return mp;cp=1,Object.defineProperty(mp,"__esModule",{value:!0}),mp.processDateTimePattern=o,mp.parseDateTimeSkeleton=function(n,r,c,l){void 0===r&&(r=n);var d={pattern:"",pattern12:"",skeleton:n,rawPattern:r,rangePatterns:{},rangePatterns12:{}};if(c)for(var m in c){var f=a(m),h={patternParts:[]},y=o(c[m],h),M=y[0],g=y[1];d.rangePatterns[f]=e.__assign(e.__assign({},h),{patternParts:u(M)}),d.rangePatterns12[f]=e.__assign(e.__assign({},h),{patternParts:u(g)})}if(l){var p=s(l);d.rangePatterns.default={patternParts:p},d.rangePatterns12.default={patternParts:p}}n.replace(t,function(e){return i(e,d)});var v=o(r),w=v[0],b=v[1];return d.pattern=w,d.pattern12=b,d},mp.splitFallbackRangePattern=s,mp.splitRangePattern=u;var e=If,n=sg,t=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function i(e,n){var t=e.length;switch(e[0]){case"G":return n.era=4===t?"long":5===t?"narrow":"short","{era}";case"y":case"Y":case"u":case"U":case"r":return n.year=2===t?"2-digit":"numeric","{year}";case"q":case"Q":throw new RangeError("`w/Q` (quarter) patterns are not supported");case"M":case"L":return n.month=["numeric","2-digit","short","long","narrow"][t-1],"{month}";case"w":case"W":throw new RangeError("`w/W` (week of year) patterns are not supported");case"d":return n.day=["numeric","2-digit"][t-1],"{day}";case"D":case"F":case"g":return n.day="numeric","{day}";case"E":return n.weekday=4===t?"long":5===t?"narrow":"short","{weekday}";case"e":case"c":return n.weekday=[void 0,void 0,"short","long","narrow","short"][t-1],"{weekday}";case"a":case"b":case"B":return n.hour12=!0,"{ampm}";case"h":case"K":return n.hour=["numeric","2-digit"][t-1],n.hour12=!0,"{hour}";case"H":case"k":return n.hour=["numeric","2-digit"][t-1],"{hour}";case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":return n.minute=["numeric","2-digit"][t-1],"{minute}";case"s":return n.second=["numeric","2-digit"][t-1],"{second}";case"S":case"A":return n.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return n.timeZoneName=t<4?"short":"long","{timeZoneName}"}return""}function a(e){switch(e){case"G":return"era";case"y":case"Y":case"u":case"U":case"r":return"year";case"M":case"L":return"month";case"d":case"D":case"F":case"g":return"day";case"a":case"b":case"B":return"ampm";case"h":case"H":case"K":case"k":return"hour";case"m":return"minute";case"s":case"S":case"A":return"second";default:throw new RangeError("Invalid range pattern token")}}function o(e,n){var a=[],o=e.replace(/'{2}/g,"{apostrophe}").replace(/'(.*?)'/g,function(e,n){return a.push(n),"$$".concat(a.length-1,"$$")}).replace(t,function(e){return i(e,n||{})});return a.length&&(o=o.replace(/\$\$(\d+)\$\$/g,function(e,n){return a[+n]}).replace(/\{apostrophe\}/g,"'")),[o.replace(/([\s\uFEFF\xA0])\{ampm\}([\s\uFEFF\xA0])/,"$1").replace("{ampm}","").replace(r,""),o]}function s(e){return e.split(/(\{[0|1]\})/g).filter(Boolean).map(function(e){switch(e){case"{0}":return{source:n.RangePatternType.startRange,pattern:e};case"{1}":return{source:n.RangePatternType.endRange,pattern:e};default:return{source:n.RangePatternType.shared,pattern:e}}})}function u(e){for(var t,r=/\{(.*?)\}/g,i={},a=0;t=r.exec(e);){if(t[0]in i){a=t.index;break}i[t[0]]=t.index}return a?[{source:n.RangePatternType.startRange,pattern:e.slice(0,a)},{source:n.RangePatternType.endRange,pattern:e.slice(a)}]:[{source:n.RangePatternType.startRange,pattern:e}]}return mp}var hp,yp={};var Mp,gp,pp={};function vp(){if(Mp)return pp;Mp=1,Object.defineProperty(pp,"__esModule",{value:!0}),pp.ToDateTimeOptions=function(n,t,r){n=void 0===n?null:(0,e.ToObject)(n);n=Object.create(n);var i=!0;if("date"===t||"any"===t)for(var a=0,o=["weekday","year","month","day"];a<o.length;a++){void 0!==n[o[a]]&&(i=!1)}if("time"===t||"any"===t)for(var s=0,u=["dayPeriod","hour","minute","second","fractionalSecondDigits"];s<u.length;s++){void 0!==n[u[s]]&&(i=!1)}void 0===n.dateStyle&&void 0===n.timeStyle||(i=!1);if("date"===t&&n.timeStyle)throw new TypeError("Intl.DateTimeFormat date was required but timeStyle was included");if("time"===t&&n.dateStyle)throw new TypeError("Intl.DateTimeFormat time was required but dateStyle was included");if(i&&("date"===r||"all"===r))for(var c=0,l=["year","month","day"];c<l.length;c++){n[l[c]]="numeric"}if(i&&("time"===r||"all"===r))for(var d=0,m=["hour","minute","second"];d<m.length;d++){n[m[d]]="numeric"}return n};var e=sg;return pp}function wp(){if(gp)return sp;gp=1,Object.defineProperty(sp,"__esModule",{value:!0}),sp.InitializeDateTimeFormat=function(c,l,d,m){var f=m.getInternalSlots,h=m.availableLocales,y=m.localeData,M=m.getDefaultLocale,g=m.getDefaultTimeZone,p=m.relevantExtensionKeys,v=m.tzData,w=m.uppercaseLinks,b=(0,e.CanonicalizeLocaleList)(l),_=(0,a.ToDateTimeOptions)(d,"any","date"),E=Object.create(null),T=(0,e.GetOption)(_,"localeMatcher","string",["lookup","best fit"],"best fit");E.localeMatcher=T;var D=(0,e.GetOption)(_,"calendar","string",void 0,void 0);if(void 0!==D&&!u.test(D))throw new RangeError("Malformed calendar");var S=f(c);E.ca=D;var A=(0,e.GetOption)(_,"numberingSystem","string",void 0,void 0);if(void 0!==A&&!u.test(A))throw new RangeError("Malformed numbering system");E.nu=A;var k=(0,e.GetOption)(_,"hour12","boolean",void 0,void 0),C=(0,e.GetOption)(_,"hourCycle","string",["h11","h12","h23","h24"],void 0);void 0!==k&&(C=null);E.hc=C;var P=(0,n.ResolveLocale)(h,b,E,p,y,M);S.locale=P.locale,D=P.ca,S.calendar=D,S.hourCycle=P.hc,S.numberingSystem=P.nu;var N=P.dataLocale;S.dataLocale=N;var z=_.timeZone;if(void 0!==z){if(z=String(z),!(0,e.IsValidTimeZoneName)(z,{zoneNamesFromData:Object.keys(v),uppercaseLinks:w}))throw new RangeError("Invalid timeZoneName");z=(0,e.CanonicalizeTimeZoneName)(z,{zoneNames:Object.keys(v),uppercaseLinks:w})}else z=g();S.timeZone=z,(E=Object.create(null)).weekday=(0,e.GetOption)(_,"weekday","string",["narrow","short","long"],void 0),E.era=(0,e.GetOption)(_,"era","string",["narrow","short","long"],void 0),E.year=(0,e.GetOption)(_,"year","string",["2-digit","numeric"],void 0),E.month=(0,e.GetOption)(_,"month","string",["2-digit","numeric","narrow","short","long"],void 0),E.day=(0,e.GetOption)(_,"day","string",["2-digit","numeric"],void 0),E.hour=(0,e.GetOption)(_,"hour","string",["2-digit","numeric"],void 0),E.minute=(0,e.GetOption)(_,"minute","string",["2-digit","numeric"],void 0),E.second=(0,e.GetOption)(_,"second","string",["2-digit","numeric"],void 0),E.timeZoneName=(0,e.GetOption)(_,"timeZoneName","string",["long","short","longOffset","shortOffset","longGeneric","shortGeneric"],void 0),E.fractionalSecondDigits=(0,e.GetNumberOption)(_,"fractionalSecondDigits",1,3,void 0);var H=y[N];(0,e.invariant)(!!H,"Missing locale data for ".concat(N));var I=H.formats[D];if(!I)throw new RangeError('Calendar "'.concat(D,'" is not supported. Try setting "calendar" to 1 of the following: ').concat(Object.keys(H.formats).join(", ")));var F=(0,e.GetOption)(_,"formatMatcher","string",["basic","best fit"],"best fit"),O=(0,e.GetOption)(_,"dateStyle","string",["full","long","medium","short"],void 0);S.dateStyle=O;var L,G,B,x=(0,e.GetOption)(_,"timeStyle","string",["full","long","medium","short"],void 0);if(S.timeStyle=x,void 0===O&&void 0===x)if("basic"===F)L=(0,t.BasicFormatMatcher)(E,I);else{if(function(e){for(var n=0,t=["hour","minute","second"];n<t.length;n++){if(void 0!==e[t[n]])return!0}return!1}(E)){var R=s(S.hourCycle,H.hourCycle,k);E.hour12="h11"===R||"h12"===R}L=(0,r.BestFitFormatMatcher)(E,I)}else{for(var j=0,Z=o.DATE_TIME_PROPS;j<Z.length;j++){if(void 0!==(Y=E[U=Z[j]]))throw new TypeError("Intl.DateTimeFormat can't set option ".concat(U," when ").concat(O?"dateStyle":"timeStyle"," is used"))}L=(0,i.DateTimeStyleFormat)(O,x,H)}for(var U in S.format=L,E){var Y;void 0!==(Y=L[U])&&(S[U]=Y)}if(void 0!==S.hour){R=s(S.hourCycle,H.hourCycle,k);S.hourCycle=R,"h11"===R||"h12"===R?(G=L.pattern12,B=L.rangePatterns12):(G=L.pattern,B=L.rangePatterns)}else S.hourCycle=void 0,G=L.pattern,B=L.rangePatterns;return S.pattern=G,S.rangePatterns=B,c};var e=sg,n=cg,t=function(){if(op)return up;op=1,Object.defineProperty(up,"__esModule",{value:!0}),up.BasicFormatMatcher=function(r,i){var a=-1/0,o=i[0];(0,n.invariant)(Array.isArray(i),"formats should be a list of things");for(var s=0,u=i;s<u.length;s++){for(var c=u[s],l=0,d=0,m=t.DATE_TIME_PROPS;d<m.length;d++){var f=m[d],h=r[f],y=c[f];if(void 0===h&&void 0!==y)l-=t.additionPenalty;else if(void 0!==h&&void 0===y)l-=t.removalPenalty;else if("timeZoneName"===f)"short"===h||"shortGeneric"===h?"shortOffset"===y?l-=t.offsetPenalty:"longOffset"===y?l-=t.offsetPenalty+t.shortMorePenalty:"short"===h&&"long"===y||"shortGeneric"===h&&"longGeneric"===y?l-=t.shortMorePenalty:h!==y&&(l-=t.removalPenalty):"shortOffset"===h&&"longOffset"===y?l-=t.shortMorePenalty:"long"===h||"longGeneric"===h?"longOffset"===y?l-=t.offsetPenalty:"shortOffset"===y?l-=t.offsetPenalty+t.longLessPenalty:"long"===h&&"short"===y||"longGeneric"===h&&"shortGeneric"===y?l-=t.longLessPenalty:h!==y&&(l-=t.removalPenalty):"longOffset"===h&&"shortOffset"===y?l-=t.longLessPenalty:h!==y&&(l-=t.removalPenalty);else if(h!==y){var M=void 0,g=(M="fractionalSecondDigits"===f?[1,2,3]:["2-digit","numeric","narrow","short","long"]).indexOf(h),p=M.indexOf(y),v=Math.max(-2,Math.min(p-g,2));2===v?l-=t.longMorePenalty:1===v?l-=t.shortMorePenalty:-1===v?l-=t.shortLessPenalty:-2===v&&(l-=t.longLessPenalty)}}l>a&&(a=l,o=c)}return e.__assign({},o)};var e=If,n=sg,t=Kg();return up}(),r=function(){if(lp)return dp;lp=1,Object.defineProperty(dp,"__esModule",{value:!0}),dp.bestFitFormatMatcherScore=a,dp.BestFitFormatMatcher=function(r,o){var s=-1/0,u=o[0];(0,n.invariant)(Array.isArray(o),"formats should be a list of things");for(var c=0,l=o;c<l.length;c++){var d=l[c],m=a(r,d);m>s&&(s=m,u=d)}var f=e.__assign({},u),h={rawPattern:u.rawPattern};for(var y in(0,t.processDateTimePattern)(u.rawPattern,h),f){var M=f[y],g=h[y],p=r[y];"minute"!==y&&"second"!==y&&p&&(i(g)&&!i(p)||M!==p&&(h[y]=p))}return h.pattern=f.pattern,h.pattern12=f.pattern12,h.skeleton=f.skeleton,h.rangePatterns=f.rangePatterns,h.rangePatterns12=f.rangePatterns12,h};var e=If,n=sg,t=fp(),r=Kg();function i(e){return"numeric"===e||"2-digit"===e}function a(e,n){var t=0;e.hour12&&!n.hour12?t-=r.removalPenalty:!e.hour12&&n.hour12&&(t-=r.additionPenalty);for(var a=0,o=r.DATE_TIME_PROPS;a<o.length;a++){var s=o[a],u=e[s],c=n[s];if(void 0===u&&void 0!==c)t-=r.additionPenalty;else if(void 0!==u&&void 0===c)t-=r.removalPenalty;else if(u!==c)if(i(u)!==i(c))t-=r.differentNumericTypePenalty;else{var l=["2-digit","numeric","narrow","short","long"],d=l.indexOf(u),m=l.indexOf(c),f=Math.max(-2,Math.min(m-d,2));2===f?t-=r.longMorePenalty:1===f?t-=r.shortMorePenalty:-1===f?t-=r.shortLessPenalty:-2===f&&(t-=r.longLessPenalty)}}return t}return dp}(),i=function(){if(hp)return yp;hp=1,Object.defineProperty(yp,"__esModule",{value:!0}),yp.DateTimeStyleFormat=function(n,t,r){var i,a;if(void 0!==t&&((0,e.invariant)("full"===t||"long"===t||"medium"===t||"short"===t,"invalid timeStyle"),a=r.timeFormat[t]),void 0!==n&&((0,e.invariant)("full"===n||"long"===n||"medium"===n||"short"===n,"invalid dateStyle"),i=r.dateFormat[n]),void 0!==n&&void 0!==t){var o={};for(var s in i)"pattern"!==s&&(o[s]=i[s]);for(var s in a)"pattern"!==s&&"pattern12"!==s&&(o[s]=a[s]);var u=r.dateTimeFormat[n],c=u.replace("{0}",a.pattern).replace("{1}",i.pattern);if(o.pattern=c,"pattern12"in a){var l=u.replace("{0}",a.pattern12).replace("{1}",i.pattern);o.pattern12=l}return o}return void 0!==t?a:((0,e.invariant)(void 0!==n,"dateStyle should not be undefined"),i)};var e=sg;return yp}(),a=vp(),o=Kg();function s(n,t,r){return null==n&&(n=t),void 0!==r&&(r?n="h11"===t||"h23"===t?"h11":"h12":((0,e.invariant)(!r,"hour12 must not be set"),n="h11"===t||"h23"===t?"h23":"h24")),n}var u=/^[a-z0-9]{3,8}$/i;return sp}var bp,_p={};var Ep,Tp={};var Dp,Sp,Ap,kp={};function Cp(){return Sp||(Sp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DateTimeFormat=void 0;var n=If,t=sg,r=n.__importDefault(Og()),i=function(){if(qg)return Gg;qg=1,Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.FormatDateTime=function(n,t,r){for(var i="",a=0,o=(0,e.PartitionDateTimePattern)(n,t,r);a<o.length;a++)i+=o[a].value;return i};var e=$g();return Gg}(),a=function(){if(Qg)return Xg;Qg=1,Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.FormatDateTimeRange=function(n,t,r,i){for(var a="",o=0,s=(0,e.PartitionDateTimeRangePattern)(n,t,r,i);o<s.length;o++)a+=s[o].value;return a};var e=np();return Xg}(),o=function(){if(tp)return rp;tp=1,Object.defineProperty(rp,"__esModule",{value:!0}),rp.FormatDateTimeRangeToParts=function(n,t,r,i){for(var a=(0,e.PartitionDateTimeRangePattern)(n,t,r,i),o=new Array(0),s=0,u=a;s<u.length;s++){var c=u[s];o.push({type:c.type,value:c.value,source:c.source})}return o};var e=np();return rp}(),s=function(){if(ip)return ap;ip=1,Object.defineProperty(ap,"__esModule",{value:!0}),ap.FormatDateTimeToParts=function(t,r,i){for(var a=(0,n.PartitionDateTimePattern)(t,r,i),o=(0,e.ArrayCreate)(0),s=0,u=a;s<u.length;s++){var c=u[s];o.push({type:c.type,value:c.value})}return o};var e=sg,n=$g();return ap}(),u=wp(),c=fp(),l=Kg(),d=n.__importDefault((bp||(bp=1,Object.defineProperty(_p,"__esModule",{value:!0}),_p.default={"Africa/Accra":"Africa/Abidjan","Africa/Addis_Ababa":"Africa/Nairobi","Africa/Asmara":"Africa/Nairobi","Africa/Asmera":"Africa/Nairobi","Africa/Bamako":"Africa/Abidjan","Africa/Bangui":"Africa/Lagos","Africa/Banjul":"Africa/Abidjan","Africa/Blantyre":"Africa/Maputo","Africa/Brazzaville":"Africa/Lagos","Africa/Bujumbura":"Africa/Maputo","Africa/Conakry":"Africa/Abidjan","Africa/Dakar":"Africa/Abidjan","Africa/Dar_es_Salaam":"Africa/Nairobi","Africa/Djibouti":"Africa/Nairobi","Africa/Douala":"Africa/Lagos","Africa/Freetown":"Africa/Abidjan","Africa/Gaborone":"Africa/Maputo","Africa/Harare":"Africa/Maputo","Africa/Kampala":"Africa/Nairobi","Africa/Kigali":"Africa/Maputo","Africa/Kinshasa":"Africa/Lagos","Africa/Libreville":"Africa/Lagos","Africa/Lome":"Africa/Abidjan","Africa/Luanda":"Africa/Lagos","Africa/Lubumbashi":"Africa/Maputo","Africa/Lusaka":"Africa/Maputo","Africa/Malabo":"Africa/Lagos","Africa/Maseru":"Africa/Johannesburg","Africa/Mbabane":"Africa/Johannesburg","Africa/Mogadishu":"Africa/Nairobi","Africa/Niamey":"Africa/Lagos","Africa/Nouakchott":"Africa/Abidjan","Africa/Ouagadougou":"Africa/Abidjan","Africa/Porto-Novo":"Africa/Lagos","Africa/Timbuktu":"Africa/Abidjan","America/Anguilla":"America/Puerto_Rico","America/Antigua":"America/Puerto_Rico","America/Argentina/ComodRivadavia":"America/Argentina/Catamarca","America/Aruba":"America/Puerto_Rico","America/Atikokan":"America/Panama","America/Atka":"America/Adak","America/Blanc-Sablon":"America/Puerto_Rico","America/Buenos_Aires":"America/Argentina/Buenos_Aires","America/Catamarca":"America/Argentina/Catamarca","America/Cayman":"America/Panama","America/Coral_Harbour":"America/Panama","America/Cordoba":"America/Argentina/Cordoba","America/Creston":"America/Phoenix","America/Curacao":"America/Puerto_Rico","America/Dominica":"America/Puerto_Rico","America/Ensenada":"America/Tijuana","America/Fort_Wayne":"America/Indiana/Indianapolis","America/Godthab":"America/Nuuk","America/Grenada":"America/Puerto_Rico","America/Guadeloupe":"America/Puerto_Rico","America/Indianapolis":"America/Indiana/Indianapolis","America/Jujuy":"America/Argentina/Jujuy","America/Knox_IN":"America/Indiana/Knox","America/Kralendijk":"America/Puerto_Rico","America/Louisville":"America/Kentucky/Louisville","America/Lower_Princes":"America/Puerto_Rico","America/Marigot":"America/Puerto_Rico","America/Mendoza":"America/Argentina/Mendoza","America/Montreal":"America/Toronto","America/Montserrat":"America/Puerto_Rico","America/Nassau":"America/Toronto","America/Nipigon":"America/Toronto","America/Pangnirtung":"America/Iqaluit","America/Port_of_Spain":"America/Puerto_Rico","America/Porto_Acre":"America/Rio_Branco","America/Rainy_River":"America/Winnipeg","America/Rosario":"America/Argentina/Cordoba","America/Santa_Isabel":"America/Tijuana","America/Shiprock":"America/Denver","America/St_Barthelemy":"America/Puerto_Rico","America/St_Kitts":"America/Puerto_Rico","America/St_Lucia":"America/Puerto_Rico","America/St_Thomas":"America/Puerto_Rico","America/St_Vincent":"America/Puerto_Rico","America/Thunder_Bay":"America/Toronto","America/Tortola":"America/Puerto_Rico","America/Virgin":"America/Puerto_Rico","America/Yellowknife":"America/Edmonton","Antarctica/DumontDUrville":"Pacific/Port_Moresby","Antarctica/McMurdo":"Pacific/Auckland","Antarctica/South_Pole":"Pacific/Auckland","Antarctica/Syowa":"Asia/Riyadh","Arctic/Longyearbyen":"Europe/Berlin","Asia/Aden":"Asia/Riyadh","Asia/Ashkhabad":"Asia/Ashgabat","Asia/Bahrain":"Asia/Qatar","Asia/Brunei":"Asia/Kuching","Asia/Calcutta":"Asia/Kolkata","Asia/Choibalsan":"Asia/Ulaanbaatar","Asia/Chongqing":"Asia/Shanghai","Asia/Chungking":"Asia/Shanghai","Asia/Dacca":"Asia/Dhaka","Asia/Harbin":"Asia/Shanghai","Asia/Istanbul":"Europe/Istanbul","Asia/Kashgar":"Asia/Urumqi","Asia/Katmandu":"Asia/Kathmandu","Asia/Kuala_Lumpur":"Asia/Singapore","Asia/Kuwait":"Asia/Riyadh","Asia/Macao":"Asia/Macau","Asia/Muscat":"Asia/Dubai","Asia/Phnom_Penh":"Asia/Bangkok","Asia/Rangoon":"Asia/Yangon","Asia/Saigon":"Asia/Ho_Chi_Minh","Asia/Tel_Aviv":"Asia/Jerusalem","Asia/Thimbu":"Asia/Thimphu","Asia/Ujung_Pandang":"Asia/Makassar","Asia/Ulan_Bator":"Asia/Ulaanbaatar","Asia/Vientiane":"Asia/Bangkok","Atlantic/Faeroe":"Atlantic/Faroe","Atlantic/Jan_Mayen":"Europe/Berlin","Atlantic/Reykjavik":"Africa/Abidjan","Atlantic/St_Helena":"Africa/Abidjan","Australia/ACT":"Australia/Sydney","Australia/Canberra":"Australia/Sydney","Australia/Currie":"Australia/Hobart","Australia/LHI":"Australia/Lord_Howe","Australia/NSW":"Australia/Sydney","Australia/North":"Australia/Darwin","Australia/Queensland":"Australia/Brisbane","Australia/South":"Australia/Adelaide","Australia/Tasmania":"Australia/Hobart","Australia/Victoria":"Australia/Melbourne","Australia/West":"Australia/Perth","Australia/Yancowinna":"Australia/Broken_Hill","Brazil/Acre":"America/Rio_Branco","Brazil/DeNoronha":"America/Noronha","Brazil/East":"America/Sao_Paulo","Brazil/West":"America/Manaus",CET:"Europe/Brussels",CST6CDT:"America/Chicago","Canada/Atlantic":"America/Halifax","Canada/Central":"America/Winnipeg","Canada/Eastern":"America/Toronto","Canada/Mountain":"America/Edmonton","Canada/Newfoundland":"America/St_Johns","Canada/Pacific":"America/Vancouver","Canada/Saskatchewan":"America/Regina","Canada/Yukon":"America/Whitehorse","Chile/Continental":"America/Santiago","Chile/EasterIsland":"Pacific/Easter",Cuba:"America/Havana",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",Egypt:"Africa/Cairo",Eire:"Europe/Dublin","Etc/GMT+0":"Etc/GMT","Etc/GMT-0":"Etc/GMT","Etc/GMT0":"Etc/GMT","Etc/Greenwich":"Etc/GMT","Etc/UCT":"Etc/UTC","Etc/Universal":"Etc/UTC","Etc/Zulu":"Etc/UTC","Europe/Amsterdam":"Europe/Brussels","Europe/Belfast":"Europe/London","Europe/Bratislava":"Europe/Prague","Europe/Busingen":"Europe/Zurich","Europe/Copenhagen":"Europe/Berlin","Europe/Guernsey":"Europe/London","Europe/Isle_of_Man":"Europe/London","Europe/Jersey":"Europe/London","Europe/Kiev":"Europe/Kyiv","Europe/Ljubljana":"Europe/Belgrade","Europe/Luxembourg":"Europe/Brussels","Europe/Mariehamn":"Europe/Helsinki","Europe/Monaco":"Europe/Paris","Europe/Nicosia":"Asia/Nicosia","Europe/Oslo":"Europe/Berlin","Europe/Podgorica":"Europe/Belgrade","Europe/San_Marino":"Europe/Rome","Europe/Sarajevo":"Europe/Belgrade","Europe/Skopje":"Europe/Belgrade","Europe/Stockholm":"Europe/Berlin","Europe/Tiraspol":"Europe/Chisinau","Europe/Uzhgorod":"Europe/Kyiv","Europe/Vaduz":"Europe/Zurich","Europe/Vatican":"Europe/Rome","Europe/Zagreb":"Europe/Belgrade","Europe/Zaporozhye":"Europe/Kyiv",GB:"Europe/London","GB-Eire":"Europe/London","GMT+0":"Etc/GMT","GMT-0":"Etc/GMT",GMT0:"Etc/GMT",Greenwich:"Etc/GMT",HST:"Pacific/Honolulu",Hongkong:"Asia/Hong_Kong",Iceland:"Africa/Abidjan","Indian/Antananarivo":"Africa/Nairobi","Indian/Christmas":"Asia/Bangkok","Indian/Cocos":"Asia/Yangon","Indian/Comoro":"Africa/Nairobi","Indian/Kerguelen":"Indian/Maldives","Indian/Mahe":"Asia/Dubai","Indian/Mayotte":"Africa/Nairobi","Indian/Reunion":"Asia/Dubai",Iran:"Asia/Tehran",Israel:"Asia/Jerusalem",Jamaica:"America/Jamaica",Japan:"Asia/Tokyo",Kwajalein:"Pacific/Kwajalein",Libya:"Africa/Tripoli",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver","Mexico/BajaNorte":"America/Tijuana","Mexico/BajaSur":"America/Mazatlan","Mexico/General":"America/Mexico_City",NZ:"Pacific/Auckland","NZ-CHAT":"Pacific/Chatham",Navajo:"America/Denver",PRC:"Asia/Shanghai",PST8PDT:"America/Los_Angeles","Pacific/Chuuk":"Pacific/Port_Moresby","Pacific/Enderbury":"Pacific/Kanton","Pacific/Funafuti":"Pacific/Tarawa","Pacific/Johnston":"Pacific/Honolulu","Pacific/Majuro":"Pacific/Tarawa","Pacific/Midway":"Pacific/Pago_Pago","Pacific/Pohnpei":"Pacific/Guadalcanal","Pacific/Ponape":"Pacific/Guadalcanal","Pacific/Saipan":"Pacific/Guam","Pacific/Samoa":"Pacific/Pago_Pago","Pacific/Truk":"Pacific/Port_Moresby","Pacific/Wake":"Pacific/Tarawa","Pacific/Wallis":"Pacific/Tarawa","Pacific/Yap":"Pacific/Port_Moresby",Poland:"Europe/Warsaw",Portugal:"Europe/Lisbon",ROC:"Asia/Taipei",ROK:"Asia/Seoul",Singapore:"Asia/Singapore",Turkey:"Europe/Istanbul",UCT:"Etc/UTC","US/Alaska":"America/Anchorage","US/Aleutian":"America/Adak","US/Arizona":"America/Phoenix","US/Central":"America/Chicago","US/East-Indiana":"America/Indiana/Indianapolis","US/Eastern":"America/New_York","US/Hawaii":"Pacific/Honolulu","US/Indiana-Starke":"America/Indiana/Knox","US/Michigan":"America/Detroit","US/Mountain":"America/Denver","US/Pacific":"America/Los_Angeles","US/Samoa":"Pacific/Pago_Pago",UTC:"Etc/UTC",Universal:"Etc/UTC","W-SU":"Europe/Moscow",WET:"Europe/Lisbon",Zulu:"Etc/UTC"}),_p)),m=n.__importDefault(function(){if(Ep)return Tp;Ep=1,Object.defineProperty(Tp,"__esModule",{value:!0}),Tp.default=function(n){var t=e.get(n);return t||(t=Object.create(null),e.set(n,t)),t};var e=new WeakMap;return Tp}()),f=function(){if(Dp)return kp;Dp=1,Object.defineProperty(kp,"__esModule",{value:!0}),kp.pack=function(n){var t=Object.keys(n.zones);return t.sort(),{zones:t.map(function(t){return e.__spreadArray([t],n.zones[t].map(function(n){var t=n[0],r=n.slice(1);return e.__spreadArray([""===t?"":t.toString(36)],r,!0).join(",")}),!0).join("|")}),abbrvs:n.abbrvs.join("|"),offsets:n.offsets.map(function(e){return e.toString(36)}).join("|")}},kp.unpack=function(e){for(var n=e.abbrvs.split("|"),t=e.offsets.split("|").map(function(e){return parseInt(e,36)}),r={},i=0,a=e.zones;i<a.length;i++){var o=a[i].split("|"),s=o[0],u=o.slice(1);r[s]=u.map(function(e){return e.split(",")}).map(function(e){var r=e[0],i=e[1],a=e[2],o=e[3];return[""===r?-1/0:parseInt(r,36),n[+i],t[+a],"1"===o]})}return r};var e=If;return kp}(),h=Object.keys(d.default).reduce(function(e,n){return e[n.toUpperCase()]=d.default[n],e},{}),y=["locale","calendar","numberingSystem","dateStyle","timeStyle","timeZone","hourCycle","weekday","era","year","month","day","hour","minute","second","timeZoneName"],M={enumerable:!1,configurable:!0,get:function(){if("object"!=typeof this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))throw TypeError("Intl.DateTimeFormat format property accessor called on incompatible receiver");var n=(0,m.default)(this),a=this,o=n.boundFormat;if(void 0===o){o=function(n){var o;return o=void 0===n?new r.default(Date.now()):(0,t.ToNumber)(n),(0,i.FormatDateTime)(a,o,{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})};try{Object.defineProperty(o,"name",{configurable:!0,enumerable:!1,writable:!1,value:""})}catch(e){}n.boundFormat=o}return o}};try{Object.defineProperty(M.get,"name",{configurable:!0,enumerable:!1,writable:!1,value:"get format"})}catch(e){}e.DateTimeFormat=function(n,r){if(!this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))return new e.DateTimeFormat(n,r);(0,u.InitializeDateTimeFormat)(this,n,r,{tzData:e.DateTimeFormat.tzData,uppercaseLinks:h,availableLocales:e.DateTimeFormat.availableLocales,relevantExtensionKeys:e.DateTimeFormat.relevantExtensionKeys,getDefaultLocale:e.DateTimeFormat.getDefaultLocale,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone,getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData});var i=(0,m.default)(this).dataLocale,a=e.DateTimeFormat.localeData[i];(0,t.invariant)(void 0!==a,"Cannot load locale-dependent data for ".concat(i,"."))},(0,t.defineProperty)(e.DateTimeFormat,"supportedLocalesOf",{value:function(n,r){return(0,t.SupportedLocales)(e.DateTimeFormat.availableLocales,(0,t.CanonicalizeLocaleList)(n),r)}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"resolvedOptions",{value:function(){if("object"!=typeof this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))throw TypeError("Method Intl.DateTimeFormat.prototype.resolvedOptions called on incompatible receiver");for(var n=(0,m.default)(this),r={},i=0,a=y;i<a.length;i++){var o=a[i],s=n[o];if("hourCycle"===o){var u="h11"===s||"h12"===s||"h23"!==s&&"h24"!==s&&void 0;void 0!==u&&(r.hour12=u)}l.DATE_TIME_PROPS.indexOf(o)>-1&&(void 0===n.dateStyle&&void 0===n.timeStyle||(s=void 0)),void 0!==s&&(r[o]=s)}return r}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatToParts",{value:function(n){var i;return i=void 0===n?new r.default(Date.now()):(0,t.ToNumber)(n),(0,s.FormatDateTimeToParts)(this,i,{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatRangeToParts",{value:function(n,r){return(0,t.invariant)("object"==typeof this,"receiver is not an object",TypeError),(0,t.invariant)(void 0!==n&&void 0!==r,"startDate/endDate cannot be undefined",TypeError),(0,o.FormatDateTimeRangeToParts)(this,(0,t.ToNumber)(n),(0,t.ToNumber)(r),{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatRange",{value:function(n,r){return(0,t.invariant)("object"==typeof this,"receiver is not an object",TypeError),(0,t.invariant)(void 0!==n&&void 0!==r,"startDate/endDate cannot be undefined",TypeError),(0,a.FormatDateTimeRange)(this,(0,t.ToNumber)(n),(0,t.ToNumber)(r),{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}});e.DateTimeFormat.__setDefaultTimeZone=function(n){if(void 0!==n){if(n=String(n),!(0,t.IsValidTimeZoneName)(n,{zoneNamesFromData:Object.keys(e.DateTimeFormat.tzData),uppercaseLinks:h}))throw new RangeError("Invalid timeZoneName");n=(0,t.CanonicalizeTimeZoneName)(n,{zoneNames:Object.keys(e.DateTimeFormat.tzData),uppercaseLinks:h})}else n="UTC";e.DateTimeFormat.__defaultTimeZone=n},e.DateTimeFormat.relevantExtensionKeys=["nu","ca","hc"],e.DateTimeFormat.__defaultTimeZone="UTC",e.DateTimeFormat.getDefaultTimeZone=function(){return e.DateTimeFormat.__defaultTimeZone},e.DateTimeFormat.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=function(t,r){var i=t.dateFormat,a=t.timeFormat,o=t.dateTimeFormat,s=t.formats,u=t.intervalFormats,l=n.__rest(t,["dateFormat","timeFormat","dateTimeFormat","formats","intervalFormats"]),d=n.__assign(n.__assign({},l),{dateFormat:{full:(0,c.parseDateTimeSkeleton)(i.full),long:(0,c.parseDateTimeSkeleton)(i.long),medium:(0,c.parseDateTimeSkeleton)(i.medium),short:(0,c.parseDateTimeSkeleton)(i.short)},timeFormat:{full:(0,c.parseDateTimeSkeleton)(a.full),long:(0,c.parseDateTimeSkeleton)(a.long),medium:(0,c.parseDateTimeSkeleton)(a.medium),short:(0,c.parseDateTimeSkeleton)(a.short)},dateTimeFormat:{full:(0,c.parseDateTimeSkeleton)(o.full).pattern,long:(0,c.parseDateTimeSkeleton)(o.long).pattern,medium:(0,c.parseDateTimeSkeleton)(o.medium).pattern,short:(0,c.parseDateTimeSkeleton)(o.short).pattern},formats:{}}),m=function(e){d.formats[e]=Object.keys(s[e]).map(function(n){return(0,c.parseDateTimeSkeleton)(n,s[e][n],u[n],u.intervalFormatFallback)})};for(var f in s)m(f);var h=new Intl.Locale(r).minimize().toString();e.DateTimeFormat.localeData[r]=e.DateTimeFormat.localeData[h]=d,e.DateTimeFormat.availableLocales.add(r),e.DateTimeFormat.availableLocales.add(h),e.DateTimeFormat.__defaultLocale||(e.DateTimeFormat.__defaultLocale=h)},a=0,o=t;a<o.length;a++){var s=o[a];i(s.data,s.locale)}},Object.defineProperty(e.DateTimeFormat.prototype,"format",M),e.DateTimeFormat.__defaultLocale="",e.DateTimeFormat.localeData={},e.DateTimeFormat.availableLocales=new Set,e.DateTimeFormat.getDefaultLocale=function(){return e.DateTimeFormat.__defaultLocale},e.DateTimeFormat.polyfilled=!0,e.DateTimeFormat.tzData={},e.DateTimeFormat.__addTZData=function(n){e.DateTimeFormat.tzData=(0,f.unpack)(n)};try{"undefined"!=typeof Symbol&&Object.defineProperty(e.DateTimeFormat.prototype,Symbol.toStringTag,{value:"Intl.DateTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(e.DateTimeFormat.prototype.constructor,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}(Hg)),Hg}var Pp,Np,zp={},Hp={};function Ip(){if(Np)return zp;Np=1,Object.defineProperty(zp,"__esModule",{value:!0}),zp.shouldPolyfill=function(t){void 0===t&&(t="en");if(!("DateTimeFormat"in Intl)||!("formatToParts"in Intl.DateTimeFormat.prototype)||!("formatRange"in Intl.DateTimeFormat.prototype)||function(){try{return"dayPeriod"!==new Intl.DateTimeFormat("en",{hourCycle:"h11",hour:"numeric"}).formatToParts(0)[2].type}catch(e){return!1}}()||function(){try{return!!new Intl.DateTimeFormat("en",{dateStyle:"short",hour:"numeric"}).format(new Date(0))}catch(e){return!1}}()||!function(){try{return!!new Intl.DateTimeFormat(void 0,{dateStyle:"short"}).resolvedOptions().dateStyle}catch(e){return!1}}()||!function(e){if(!e)return!0;var n=Array.isArray(e)?e:[e];return Intl.DateTimeFormat.supportedLocalesOf(n).length===n.length}(t))return t?(0,e.match)([t],n.supportedLocales,"en"):void 0};var e=cg,n=(Pp||(Pp=1,Object.defineProperty(Hp,"__esModule",{value:!0}),Hp.supportedLocales=void 0,Hp.supportedLocales=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]),Hp);return zp}var Fp,Op,Lp={};var Gp=function(){if(Op)return Ng;Op=1,Object.defineProperty(Ng,"__esModule",{value:!0});var e,n=(Ap||(Ap=1,e=zg,Object.defineProperty(e,"__esModule",{value:!0}),If.__exportStar(Cp(),e)),zg),t=sg,r=Ip(),i=function(){if(Fp)return Lp;Fp=1,Object.defineProperty(Lp,"__esModule",{value:!0}),Lp.toLocaleString=function(n,t,r){return new e.DateTimeFormat(t,r).format(n)},Lp.toLocaleDateString=function(t,r,i){return new e.DateTimeFormat(r,(0,n.ToDateTimeOptions)(i,"date","date")).format(t)},Lp.toLocaleTimeString=function(t,r,i){return new e.DateTimeFormat(r,(0,n.ToDateTimeOptions)(i,"time","time")).format(t)};var e=Cp(),n=vp();return Lp}();return(0,r.shouldPolyfill)()&&((0,t.defineProperty)(Intl,"DateTimeFormat",{value:n.DateTimeFormat}),(0,t.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,i.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,t.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,i.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,t.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,i.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}})),Ng}(),Bp=e({__proto__:null,default:Wm(Gp)},[Gp]);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 xp=Object.freeze({__proto__:null});export{xc as Temporal,Ym as bbn,Ym as default};
17
+ var t,r,i,a,o=9e15,s=1e9,u="0123456789abcdef",c="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",l="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",d={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-o,maxE:o,crypto:!1},m=!0,f="[DecimalError] ",h=f+"Invalid argument: ",y=f+"Precision limit exceeded",M=f+"crypto unavailable",g="[object Decimal]",p=Math.floor,w=Math.pow,v=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,b=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,E=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,T=1e7,D=c.length-1,S=l.length-1,A={toStringTag:g};function k(e){var n,t,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,n=1;n<i;n++)(t=7-(r=e[n]+"").length)&&(a+=B(t)),a+=r;(t=7-(r=(o=e[n])+"").length)&&(a+=B(t))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function C(e,n,t){if(e!==~~e||e<n||e>t)throw Error(h+e)}function N(e,n,t,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),a=w(10,7-n),s=e[i]%a|0,null==r?n<3?(0==n?s=s/100|0:1==n&&(s=s/10|0),o=t<4&&99999==s||t>3&&49999==s||5e4==s||0==s):o=(t<4&&s+1==a||t>3&&s+1==a/2)&&(e[i+1]/a/100|0)==w(10,n-2)-1||(s==a/2||0==s)&&!(e[i+1]/a/100|0):n<4?(0==n?s=s/1e3|0:1==n?s=s/100|0:2==n&&(s=s/10|0),o=(r||t<4)&&9999==s||!r&&t>3&&4999==s):o=((r||t<4)&&s+1==a||!r&&t>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==w(10,n-3)-1,o}function P(e,n,t){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=n;for(a[0]+=u.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>t-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/t|0,a[r]%=t)}return a.reverse()}A.absoluteValue=A.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),I(e)},A.ceil=function(){return I(new this.constructor(this),this.e+1,2)},A.clampedTo=A.clamp=function(e,n){var t=this,r=t.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(h+n);return t.cmp(e)<0?e:t.cmp(n)>0?n:new r(t)},A.comparedTo=A.cmp=function(e){var n,t,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,u=a.s,c=e.s;if(!o||!s)return u&&c?u!==c?u:o===s?0:!o^u<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?u:s[0]?-c:0;if(u!==c)return u;if(a.e!==e.e)return a.e>e.e^u<0?1:-1;for(n=0,t=(r=o.length)<(i=s.length)?r:i;n<t;++n)if(o[n]!==s[n])return o[n]>s[n]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},A.cosine=A.cos=function(){var e,n,t=this,r=t.constructor;return t.d?t.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r,i;if(n.isZero())return n;(r=n.d.length)<32?i=(1/V(4,t=Math.ceil(r/3))).toString():(t=16,i="2.3283064365386962890625e-10"),e.precision+=t,n=K(e,1,n.times(i),new e(1));for(var a=t;a--;){var o=n.times(n);n=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,n}(r,$(r,t)),r.precision=e,r.rounding=n,I(2==a||3==a?t.neg():t,e,n,!0)):new r(1):new r(NaN)},A.cubeRoot=A.cbrt=function(){var e,n,t,r,i,a,o,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(m=!1,(a=l.s*w(l.s*l,1/3))&&Math.abs(a)!=1/0?r=new d(a.toString()):(t=k(l.d),(a=((e=l.e)-t.length+1)%3)&&(t+=1==a||-2==a?"0":"00"),a=w(t,1/3),e=p((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(t=a==1/0?"5e"+e:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+e)).s=l.s),o=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=z(c.plus(l).times(s),c.plus(u),o+2,1),k(s.d).slice(0,o)===(t=k(r.d)).slice(0,o)){if("9999"!=(t=t.slice(o-3,o+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(I(r,e+1,1),n=!r.times(r).times(r).eq(l));break}if(!i&&(I(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}o+=4,i=1}return m=!0,I(r,e,d.rounding,n)},A.decimalPlaces=A.dp=function(){var e,n=this.d,t=NaN;if(n){if(t=7*((e=n.length-1)-p(this.e/7)),e=n[e])for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},A.dividedBy=A.div=function(e){return z(this,new this.constructor(e))},A.dividedToIntegerBy=A.divToInt=function(e){var n=this.constructor;return I(z(this,new n(e),0,1,1),n.precision,n.rounding)},A.equals=A.eq=function(e){return 0===this.cmp(e)},A.floor=function(){return I(new this.constructor(this),this.e+1,3)},A.greaterThan=A.gt=function(e){return this.cmp(e)>0},A.greaterThanOrEqualTo=A.gte=function(e){var n=this.cmp(e);return 1==n||0===n},A.hyperbolicCosine=A.cosh=function(){var e,n,t,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;t=o.precision,r=o.rounding,o.precision=t+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?n=(1/V(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),a=K(o,1,a.times(n),new o(1),!0);for(var u,c=e,l=new o(8);c--;)u=a.times(a),a=s.minus(u.times(l.minus(u.times(l))));return I(a,o.precision=t,o.rounding=r,!0)},A.hyperbolicSine=A.sinh=function(){var e,n,t,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(n=a.precision,t=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=K(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=K(a,2,i=i.times(1/V(5,e)),i,!0);for(var o,s=new a(5),u=new a(16),c=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(u.times(o).plus(c))))}return a.precision=n,a.rounding=t,I(i,n,t,!0)},A.hyperbolicTangent=A.tanh=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,z(t.sinh(),t.cosh(),r.precision=e,r.rounding=n)):new r(t.s)},A.inverseCosine=A.acos=function(){var e=this,n=e.constructor,t=e.abs().cmp(1),r=n.precision,i=n.rounding;return-1!==t?0===t?e.isNeg()?L(n,r,i):new n(0):new n(NaN):e.isZero()?L(n,r+4,i).times(.5):(n.precision=r+6,n.rounding=1,e=new n(1).minus(e).div(e.plus(1)).sqrt().atan(),n.precision=r,n.rounding=i,e.times(2))},A.inverseHyperbolicCosine=A.acosh=function(){var e,n,t=this,r=t.constructor;return t.lte(1)?new r(t.eq(1)?0:NaN):t.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(t.e),t.sd())+4,r.rounding=1,m=!1,t=t.times(t).minus(1).sqrt().plus(t),m=!0,r.precision=e,r.rounding=n,t.ln()):new r(t)},A.inverseHyperbolicSine=A.asinh=function(){var e,n,t=this,r=t.constructor;return!t.isFinite()||t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,r.rounding=1,m=!1,t=t.times(t).plus(1).sqrt().plus(t),m=!0,r.precision=e,r.rounding=n,t.ln())},A.inverseHyperbolicTangent=A.atanh=function(){var e,n,t,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,n=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?I(new a(i),e,n,!0):(a.precision=t=r-i.e,i=z(i.plus(1),new a(1).minus(i),t+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=n,i.times(.5))):new a(NaN)},A.inverseSine=A.asin=function(){var e,n,t,r,i=this,a=i.constructor;return i.isZero()?new a(i):(n=i.abs().cmp(1),t=a.precision,r=a.rounding,-1!==n?0===n?((e=L(a,t+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=t+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=t,a.rounding=r,i.times(2)))},A.inverseTangent=A.atan=function(){var e,n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=S)return(o=L(l,d+4,f).times(.25)).s=c.s,o}else{if(!c.s)return new l(NaN);if(d+4<=S)return(o=L(l,d+4,f).times(.5)).s=c.s,o}for(l.precision=s=d+10,l.rounding=1,e=t=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(m=!1,n=Math.ceil(s/7),r=1,u=c.times(c),o=new l(c),i=c;-1!==e;)if(i=i.times(u),a=o.minus(i.div(r+=2)),i=i.times(u),void 0!==(o=a.plus(i.div(r+=2))).d[n])for(e=n;o.d[e]===a.d[e]&&e--;);return t&&(o=o.times(2<<t-1)),m=!0,I(o,l.precision=d,l.rounding=f,!0)},A.isFinite=function(){return!!this.d},A.isInteger=A.isInt=function(){return!!this.d&&p(this.e/7)>this.d.length-2},A.isNaN=function(){return!this.s},A.isNegative=A.isNeg=function(){return this.s<0},A.isPositive=A.isPos=function(){return this.s>0},A.isZero=function(){return!!this.d&&0===this.d[0]},A.lessThan=A.lt=function(e){return this.cmp(e)<0},A.lessThanOrEqualTo=A.lte=function(e){return this.cmp(e)<1},A.logarithm=A.log=function(e){var n,t,r,i,a,o,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(null==e)e=new l(10),n=!0;else{if(t=(e=new l(e)).d,e.s<0||!t||!t[0]||e.eq(1))return new l(NaN);n=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new l(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(n)if(t.length>1)a=!0;else{for(i=t[0];i%10==0;)i/=10;a=1!==i}if(m=!1,o=U(c,s=d+5),r=n?O(l,s+10):U(e,s),N((u=z(o,r,s,1)).d,i=d,f))do{if(o=U(c,s+=10),r=n?O(l,s+10):U(e,s),u=z(o,r,s,1),!a){+k(u.d).slice(i+1,i+15)+1==1e14&&(u=I(u,d+1,0));break}}while(N(u.d,i+=10,f));return m=!0,I(u,d,f)},A.minus=A.sub=function(e){var n,t,r,i,a,o,s,u,c,l,d,f,h=this,y=h.constructor;if(e=new y(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new y(e.d||h.s!==e.s?h:NaN):e=new y(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,f=e.d,s=y.precision,u=y.rounding,!c[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!c[0])return new y(3===u?-0:0);e=new y(h)}return m?I(e,s,u):e}if(t=p(e.e/7),l=p(h.e/7),c=c.slice(),a=l-t){for((d=a<0)?(n=c,a=-a,o=f.length):(n=f,t=l,o=c.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,n.length=1),n.reverse(),r=a;r--;)n.push(0);n.reverse()}else{for((d=(r=c.length)<(o=f.length))&&(o=r),r=0;r<o;r++)if(c[r]!=f[r]){d=c[r]<f[r];break}a=0}for(d&&(n=c,c=f,f=n,e.s=-e.s),o=c.length,r=f.length-o;r>0;--r)c[o++]=0;for(r=f.length;r>a;){if(c[--r]<f[r]){for(i=r;i&&0===c[--i];)c[i]=T-1;--c[i],c[r]+=T}c[r]-=f[r]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--t;return c[0]?(e.d=c,e.e=F(c,t),m?I(e,s,u):e):new y(3===u?-0:0)},A.modulo=A.mod=function(e){var n,t=this,r=t.constructor;return e=new r(e),!t.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||t.d&&!t.d[0]?I(new r(t),r.precision,r.rounding):(m=!1,9==r.modulo?(n=z(t,e.abs(),0,3,1)).s*=e.s:n=z(t,e,0,r.modulo,1),n=n.times(e),m=!0,t.minus(n))},A.naturalExponential=A.exp=function(){return Z(this)},A.naturalLogarithm=A.ln=function(){return U(this)},A.negated=A.neg=function(){var e=new this.constructor(this);return e.s=-e.s,I(e)},A.plus=A.add=function(e){var n,t,r,i,a,o,s,u,c,l,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new f(e.d||d.s===e.s?d:NaN)):e=new f(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,l=e.d,s=f.precision,u=f.rounding,!c[0]||!l[0])return l[0]||(e=new f(d)),m?I(e,s,u):e;if(a=p(d.e/7),r=p(e.e/7),c=c.slice(),i=a-r){for(i<0?(t=c,i=-i,o=l.length):(t=l,r=a,o=c.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for((o=c.length)-(i=l.length)<0&&(i=o,t=l,l=c,c=t),n=0;i;)n=(c[--i]=c[i]+l[i]+n)/T|0,c[i]%=T;for(n&&(c.unshift(n),++r),o=c.length;0==c[--o];)c.pop();return e.d=c,e.e=F(c,r),m?I(e,s,u):e},A.precision=A.sd=function(e){var n,t=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return t.d?(n=G(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n},A.round=function(){var e=this,n=e.constructor;return I(new n(e),e.e+1,n.rounding)},A.sine=A.sin=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r=n.d.length;if(r<3)return n.isZero()?n:K(e,2,n,n);t=(t=1.4*Math.sqrt(r))>16?16:0|t,n=n.times(1/V(5,t)),n=K(e,2,n,n);for(var i,a=new e(5),o=new e(16),s=new e(20);t--;)i=n.times(n),n=n.times(a.plus(i.times(o.times(i).minus(s))));return n}(r,$(r,t)),r.precision=e,r.rounding=n,I(a>2?t.neg():t,e,n,!0)):new r(NaN)},A.squareRoot=A.sqrt=function(){var e,n,t,r,i,a,o=this,s=o.d,u=o.e,c=o.s,l=o.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);for(m=!1,0==(c=Math.sqrt(+o))||c==1/0?(((n=k(s)).length+u)%2==0&&(n+="0"),c=Math.sqrt(n),u=p((u+1)/2)-(u<0||u%2),r=new l(n=c==1/0?"5e"+u:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+u)):r=new l(c.toString()),t=(u=l.precision)+3;;)if(r=(a=r).plus(z(o,a,t+2,1)).times(.5),k(a.d).slice(0,t)===(n=k(r.d)).slice(0,t)){if("9999"!=(n=n.slice(t-3,t+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(I(r,u+1,1),e=!r.times(r).eq(o));break}if(!i&&(I(a,u+1,0),a.times(a).eq(o))){r=a;break}t+=4,i=1}return m=!0,I(r,u,l.rounding,e)},A.tangent=A.tan=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,(t=t.sin()).s=1,t=z(t,new r(1).minus(t.times(t)).sqrt(),e+10,0),r.precision=e,r.rounding=n,I(2==a||4==a?t.neg():t,e,n,!0)):new r(NaN)},A.times=A.mul=function(e){var n,t,r,i,a,o,s,u,c,l=this,d=l.constructor,f=l.d,h=(e=new d(e)).d;if(e.s*=l.s,!(f&&f[0]&&h&&h[0]))return new d(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:f&&h?0*e.s:e.s/0);for(t=p(l.e/7)+p(e.e/7),(u=f.length)<(c=h.length)&&(a=f,f=h,h=a,o=u,u=c,c=o),a=[],r=o=u+c;r--;)a.push(0);for(r=c;--r>=0;){for(n=0,i=u+r;i>r;)s=a[i]+h[r]*f[i-r-1]+n,a[i--]=s%T|0,n=s/T|0;a[i]=(a[i]+n)%T|0}for(;!a[--o];)a.pop();return n?++t:a.shift(),e.d=a,e.e=F(a,t),m?I(e,d.precision,d.rounding):e},A.toBinary=function(e,n){return J(this,2,e,n)},A.toDecimalPlaces=A.toDP=function(e,n){var t=this,r=t.constructor;return t=new r(t),void 0===e?t:(C(e,0,s),void 0===n?n=r.rounding:C(n,0,8),I(t,e+t.e+1,n))},A.toExponential=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=H(r,!0):(C(e,0,s),void 0===n?n=i.rounding:C(n,0,8),t=H(r=I(new i(r),e+1,n),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+t:t},A.toFixed=function(e,n){var t,r,i=this,a=i.constructor;return void 0===e?t=H(i):(C(e,0,s),void 0===n?n=a.rounding:C(n,0,8),t=H(r=I(new a(i),e+i.e+1,n),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t},A.toFraction=function(e){var n,t,r,i,a,o,s,u,c,l,d,f,y=this,M=y.d,g=y.constructor;if(!M)return new g(y);if(c=t=new g(1),r=u=new g(0),o=(a=(n=new g(r)).e=G(M)-y.e-1)%7,n.d[0]=w(10,o<0?7+o:o),null==e)e=a>0?n:c;else{if(!(s=new g(e)).isInt()||s.lt(c))throw Error(h+s);e=s.gt(n)?a>0?n:c:s}for(m=!1,s=new g(k(M)),l=g.precision,g.precision=a=7*M.length*2;d=z(s,n,0,1,1),1!=(i=t.plus(d.times(r))).cmp(e);)t=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=n,n=s.minus(d.times(i)),s=i;return i=z(e.minus(t),r,0,1,1),u=u.plus(i.times(c)),t=t.plus(i.times(r)),u.s=c.s=y.s,f=z(c,r,a,1).minus(y).abs().cmp(z(u,t,a,1).minus(y).abs())<1?[c,r]:[u,t],g.precision=l,m=!0,f},A.toHexadecimal=A.toHex=function(e,n){return J(this,16,e,n)},A.toNearest=function(e,n){var t=this,r=t.constructor;if(t=new r(t),null==e){if(!t.d)return t;e=new r(1),n=r.rounding}else{if(e=new r(e),void 0===n?n=r.rounding:C(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(m=!1,t=z(t,e,0,n,1).times(e),m=!0,I(t)):(e.s=t.s,t=e),t},A.toNumber=function(){return+this},A.toOctal=function(e,n){return J(this,8,e,n)},A.toPower=A.pow=function(e){var n,t,r,i,a,o,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(w(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,a=u.rounding,e.eq(1))return I(s,r,a);if((n=p(e.e/7))>=e.d.length-1&&(t=c<0?-c:c)<=9007199254740991)return i=x(u,s,t,r),e.s<0?new u(1).div(i):I(i,r,a);if((o=s.s)<0){if(n<e.d.length-1)return new u(NaN);if(1&e.d[n]||(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(n=0!=(t=w(+s,c))&&isFinite(t)?new u(t+"").e:p(c*(Math.log("0."+k(s.d))/Math.LN10+s.e+1)))>u.maxE+1||n<u.minE-1?new u(n>0?o/0:0):(m=!1,u.rounding=s.s=1,t=Math.min(12,(n+"").length),(i=Z(e.times(U(s,r+t)),r)).d&&N((i=I(i,r+5,1)).d,r,a)&&(n=r+10,+k((i=I(Z(e.times(U(s,n+t)),n),n+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=I(i,r+1,0))),i.s=o,m=!0,u.rounding=a,I(i,r,a))},A.toPrecision=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=H(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(C(e,1,s),void 0===n?n=i.rounding:C(n,0,8),t=H(r=I(new i(r),e,n),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+t:t},A.toSignificantDigits=A.toSD=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(C(e,1,s),void 0===n?n=t.rounding:C(n,0,8)),I(new t(this),e,n)},A.toString=function(){var e=this,n=e.constructor,t=H(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},A.truncated=A.trunc=function(){return I(new this.constructor(this),this.e+1,1)},A.valueOf=A.toJSON=function(){var e=this,n=e.constructor,t=H(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};var z=function(){function e(e,n,t){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*n+i,e[a]=r%t|0,i=r/t|0;return i&&e.unshift(i),e}function n(e,n,t,r){var i,a;if(t!=r)a=t>r?1:-1;else for(i=a=0;i<t;i++)if(e[i]!=n[i]){a=e[i]>n[i]?1:-1;break}return a}function t(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]<n[t]?1:0,e[t]=i*r+e[t]-n[t];for(;!e[0]&&e.length>1;)e.shift()}return function(i,a,o,s,u,c){var l,d,m,f,h,y,M,g,w,v,b,_,E,D,S,A,k,C,N,P,z=i.constructor,H=i.s==a.s?1:-1,F=i.d,O=a.d;if(!(F&&F[0]&&O&&O[0]))return new z(i.s&&a.s&&(F?!O||F[0]!=O[0]:O)?F&&0==F[0]||!O?0*H:H/0:NaN);for(c?(h=1,d=i.e-a.e):(c=T,h=7,d=p(i.e/h)-p(a.e/h)),N=O.length,k=F.length,v=(w=new z(H)).d=[],m=0;O[m]==(F[m]||0);m++);if(O[m]>(F[m]||0)&&d--,null==o?(D=o=z.precision,s=z.rounding):D=u?o+(i.e-a.e)+1:o,D<0)v.push(1),y=!0;else{if(D=D/h+2|0,m=0,1==N){for(f=0,O=O[0],D++;(m<k||f)&&D--;m++)S=f*c+(F[m]||0),v[m]=S/O|0,f=S%O|0;y=f||m<k}else{for((f=c/(O[0]+1)|0)>1&&(O=e(O,f,c),F=e(F,f,c),N=O.length,k=F.length),A=N,_=(b=F.slice(0,N)).length;_<N;)b[_++]=0;(P=O.slice()).unshift(0),C=O[0],O[1]>=c/2&&++C;do{f=0,(l=n(O,b,N,_))<0?(E=b[0],N!=_&&(E=E*c+(b[1]||0)),(f=E/C|0)>1?(f>=c&&(f=c-1),1==(l=n(M=e(O,f,c),b,g=M.length,_=b.length))&&(f--,t(M,N<g?P:O,g,c))):(0==f&&(l=f=1),M=O.slice()),(g=M.length)<_&&M.unshift(0),t(b,M,_,c),-1==l&&(l=n(O,b,N,_=b.length))<1&&(f++,t(b,N<_?P:O,_,c)),_=b.length):0===l&&(f++,b=[0]),v[m++]=f,l&&b[0]?b[_++]=F[A]||0:(b=[F[A]],_=1)}while((A++<k||void 0!==b[0])&&D--);y=void 0!==b[0]}v[0]||v.shift()}if(1==h)w.e=d,r=y;else{for(m=1,f=v[0];f>=10;f/=10)m++;w.e=m+d*h-1,I(w,u?o+w.e+1:o,s,y)}return w}}();function I(e,n,t,r){var i,a,o,s,u,c,l,d,f,h=e.constructor;e:if(null!=n){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((a=n-i)<0)a+=7,o=n,u=(l=d[f=0])/w(10,i-o-1)%10|0;else if((f=Math.ceil((a+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=f;)d.push(0);l=u=0,i=1,o=(a%=7)-7+1}else{for(l=s=d[f],i=1;s>=10;s/=10)i++;u=(o=(a%=7)-7+i)<0?0:l/w(10,i-o-1)%10|0}if(r=r||n<0||void 0!==d[f+1]||(o<0?l:l%w(10,i-o-1)),c=t<4?(u||r)&&(0==t||t==(e.s<0?3:2)):u>5||5==u&&(4==t||r||6==t&&(a>0?o>0?l/w(10,i-o):0:d[f-1])%10&1||t==(e.s<0?8:7)),n<1||!d[0])return d.length=0,c?(n-=e.e+1,d[0]=w(10,(7-n%7)%7),e.e=-n||0):d[0]=e.e=0,e;if(0==a?(d.length=f,s=1,f--):(d.length=f+1,s=w(10,7-a),d[f]=o>0?(l/w(10,i-o)%w(10,o)|0)*s:0),c)for(;;){if(0==f){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==T&&(d[0]=1));break}if(d[f]+=s,d[f]!=T)break;d[f--]=0,s=1}for(a=d.length;0===d[--a];)d.pop()}return m&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e<h.minE&&(e.e=0,e.d=[0])),e}function H(e,n,t){if(!e.isFinite())return Y(e);var r,i=e.e,a=k(e.d),o=a.length;return n?(t&&(r=t-o)>0?a=a.charAt(0)+"."+a.slice(1)+B(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+B(-i-1)+a,t&&(r=t-o)>0&&(a+=B(r))):i>=o?(a+=B(i+1-o),t&&(r=t-i-1)>0&&(a=a+"."+B(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),t&&(r=t-o)>0&&(i+1===o&&(a+="."),a+=B(r))),a}function F(e,n){var t=e[0];for(n*=7;t>=10;t/=10)n++;return n}function O(e,n,t){if(n>D)throw m=!0,t&&(e.precision=t),Error(y);return I(new e(c),n,1,!0)}function L(e,n,t){if(n>S)throw Error(y);return I(new e(l),n,t,!0)}function G(e){var n=e.length-1,t=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function B(e){for(var n="";e--;)n+="0";return n}function x(e,n,t,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(m=!1;;){if(t%2&&Q((a=a.times(n)).d,o)&&(i=!0),0===(t=p(t/2))){t=a.d.length-1,i&&0===a.d[t]&&++a.d[t];break}Q((n=n.times(n)).d,o)}return m=!0,a}function R(e){return 1&e.d[e.d.length-1]}function j(e,n,t){for(var r,i,a=new e(n[0]),o=0;++o<n.length;){if(!(i=new e(n[o])).s){a=i;break}((r=a.cmp(i))===t||0===r&&a.s===t)&&(a=i)}return a}function Z(e,n){var t,r,i,a,o,s,u,c=0,l=0,d=0,f=e.constructor,h=f.rounding,y=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(m=!1,u=y):u=n,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(w(2,d))/Math.LN10*2+5|0,t=a=o=new f(1),f.precision=u;;){if(a=I(a.times(e),u,1),t=t.times(++l),k((s=o.plus(z(a,t,u,1))).d).slice(0,u)===k(o.d).slice(0,u)){for(i=d;i--;)o=I(o.times(o),u,1);if(null!=n)return f.precision=y,o;if(!(c<3&&N(o.d,u-r,h,c)))return I(o,f.precision=y,h,m=!0);f.precision=u+=10,t=a=s=new f(1),l=0,c++}o=s}}function U(e,n){var t,r,i,a,o,s,u,c,l,d,f,h=1,y=e,M=y.d,g=y.constructor,p=g.rounding,w=g.precision;if(y.s<0||!M||!M[0]||!y.e&&1==M[0]&&1==M.length)return new g(M&&!M[0]?-1/0:1!=y.s?NaN:M?0:y);if(null==n?(m=!1,l=w):l=n,g.precision=l+=10,r=(t=k(M)).charAt(0),!(Math.abs(a=y.e)<15e14))return c=O(g,l+2,w).times(a+""),y=U(new g(r+"."+t.slice(1)),l-10).plus(c),g.precision=w,null==n?I(y,w,p,m=!0):y;for(;r<7&&1!=r||1==r&&t.charAt(1)>3;)r=(t=k((y=y.times(e)).d)).charAt(0),h++;for(a=y.e,r>1?(y=new g("0."+t),a++):y=new g(r+"."+t.slice(1)),d=y,u=o=y=z(y.minus(1),y.plus(1),l,1),f=I(y.times(y),l,1),i=3;;){if(o=I(o.times(f),l,1),k((c=u.plus(z(o,new g(i),l,1))).d).slice(0,l)===k(u.d).slice(0,l)){if(u=u.times(2),0!==a&&(u=u.plus(O(g,l+2,w).times(a+""))),u=z(u,new g(h),l,1),null!=n)return g.precision=w,u;if(!N(u.d,l-10,p,s))return I(u,g.precision=w,p,m=!0);g.precision=l+=10,c=o=y=z(d.minus(1),d.plus(1),l,1),f=I(y.times(y),l,1),i=s=1}u=c,i+=2}}function Y(e){return String(e.s*e.s/0)}function q(e,n){var t,r,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),r=0;48===n.charCodeAt(r);r++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(r,i)){if(i-=r,e.e=t=t-r-1,e.d=[],r=(t+1)%7,t<0&&(r+=7),r<i){for(r&&e.d.push(+n.slice(0,r)),i-=7;r<i;)e.d.push(+n.slice(r,r+=7));r=7-(n=n.slice(r)).length}else r-=i;for(;r--;)n+="0";e.d.push(+n),m&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function W(e,n){var r,i,a,o,s,u,c,l,d;if(n.indexOf("_")>-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),E.test(n))return q(e,n)}else if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(b.test(n))r=16,n=n.toLowerCase();else if(v.test(n))r=2;else{if(!_.test(n))throw Error(h+n);r=8}for((o=n.search(/p/i))>0?(c=+n.slice(o+1),n=n.substring(2,o)):n=n.slice(2),s=(o=n.indexOf("."))>=0,i=e.constructor,s&&(o=(u=(n=n.replace(".","")).length)-o,a=x(i,new i(r),o,2*o)),o=d=(l=P(n,r,T)).length-1;0===l[o];--o)l.pop();return o<0?new i(0*e.s):(e.e=F(l,d),e.d=l,m=!1,s&&(e=z(e,a,4*u)),c&&(e=e.times(Math.abs(c)<54?w(2,c):t.pow(2,c))),m=!0,e)}function K(e,n,t,r,i){var a,o,s,u,c=e.precision,l=Math.ceil(c/7);for(m=!1,u=t.times(t),s=new e(r);;){if(o=z(s.times(u),new e(n++*n++),c,1),s=i?r.plus(o):r.minus(o),r=z(o.times(u),new e(n++*n++),c,1),void 0!==(o=s.plus(r)).d[l]){for(a=l;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return m=!0,o.d.length=l+1,o}function V(e,n){for(var t=e;--n;)t*=e;return t}function $(e,n){var t,r=n.s<0,i=L(e,e.precision,1),o=i.times(.5);if((n=n.abs()).lte(o))return a=r?4:1,n;if((t=n.divToInt(i)).isZero())a=r?3:2;else{if((n=n.minus(t.times(i))).lte(o))return a=R(t)?r?2:3:r?4:1,n;a=R(t)?r?1:4:r?3:2}return n.minus(i).abs()}function J(e,n,t,i){var a,o,c,l,d,m,f,h,y,M=e.constructor,g=void 0!==t;if(g?(C(t,1,s),void 0===i?i=M.rounding:C(i,0,8)):(t=M.precision,i=M.rounding),e.isFinite()){for(g?(a=2,16==n?t=4*t-3:8==n&&(t=3*t-2)):a=n,(c=(f=H(e)).indexOf("."))>=0&&(f=f.replace(".",""),(y=new M(1)).e=f.length-c,y.d=P(H(y),10,a),y.e=y.d.length),o=d=(h=P(f,10,a)).length;0==h[--d];)h.pop();if(h[0]){if(c<0?o--:((e=new M(e)).d=h,e.e=o,h=(e=z(e,y,t,i,0,a)).d,o=e.e,m=r),c=h[t],l=a/2,m=m||void 0!==h[t+1],m=i<4?(void 0!==c||m)&&(0===i||i===(e.s<0?3:2)):c>l||c===l&&(4===i||m||6===i&&1&h[t-1]||i===(e.s<0?8:7)),h.length=t,m)for(;++h[--t]>a-1;)h[t]=0,t||(++o,h.unshift(1));for(d=h.length;!h[d-1];--d);for(c=0,f="";c<d;c++)f+=u.charAt(h[c]);if(g){if(d>1)if(16==n||8==n){for(c=16==n?4:3,--d;d%c;d++)f+="0";for(d=(h=P(f,a,n)).length;!h[d-1];--d);for(c=1,f="1.";c<d;c++)f+=u.charAt(h[c])}else f=f.charAt(0)+"."+f.slice(1);f=f+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)f="0"+f;f="0."+f}else if(++o>d)for(o-=d;o--;)f+="0";else o<d&&(f=f.slice(0,o)+"."+f.slice(o))}else f=g?"0p+0":"0";f=(16==n?"0x":2==n?"0b":8==n?"0o":"")+f}else f=Y(e);return e.s<0?"-"+f:f}function Q(e,n){if(e.length>n)return e.length=n,!0}function X(e){return new this(e).abs()}function ee(e){return new this(e).acos()}function ne(e){return new this(e).acosh()}function te(e,n){return new this(e).plus(n)}function re(e){return new this(e).asin()}function ie(e){return new this(e).asinh()}function ae(e){return new this(e).atan()}function oe(e){return new this(e).atanh()}function se(e,n){e=new this(e),n=new this(n);var t,r=this.precision,i=this.rounding,a=r+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(t=n.s<0?L(this,r,i):new this(0)).s=e.s:!e.d||n.isZero()?(t=L(this,a,1).times(.5)).s=e.s:n.s<0?(this.precision=a,this.rounding=1,t=this.atan(z(e,n,a,1)),n=L(this,a,1),this.precision=r,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(z(e,n,a,1)):(t=L(this,a,1).times(n.s>0?.25:.75)).s=e.s:t=new this(NaN),t}function ue(e){return new this(e).cbrt()}function ce(e){return I(e=new this(e),e.e+1,2)}function le(e,n,t){return new this(e).clamp(n,t)}function de(e){if(!e||"object"!=typeof e)throw Error(f+"Object expected");var n,t,r,i=!0===e.defaults,a=["precision",1,s,"rounding",0,8,"toExpNeg",-o,0,"toExpPos",0,o,"maxE",0,o,"minE",-o,0,"modulo",0,9];for(n=0;n<a.length;n+=3)if(t=a[n],i&&(this[t]=d[t]),void 0!==(r=e[t])){if(!(p(r)===r&&r>=a[n+1]&&r<=a[n+2]))throw Error(h+t+": "+r);this[t]=r}if(t="crypto",i&&(this[t]=d[t]),void 0!==(r=e[t])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+t+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(M);this[t]=!0}else this[t]=!1}return this}function me(e){return new this(e).cos()}function fe(e){return new this(e).cosh()}function he(e,n){return new this(e).div(n)}function ye(e){return new this(e).exp()}function Me(e){return I(e=new this(e),e.e+1,3)}function ge(){var e,n,t=new this(0);for(m=!1,e=0;e<arguments.length;)if((n=new this(arguments[e++])).d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return m=!0,new this(1/0);t=n}return m=!0,t.sqrt()}function pe(e){return e instanceof t||e&&e.toStringTag===g||!1}function we(e){return new this(e).ln()}function ve(e,n){return new this(e).log(n)}function be(e){return new this(e).log(2)}function _e(e){return new this(e).log(10)}function Ee(){return j(this,arguments,-1)}function Te(){return j(this,arguments,1)}function De(e,n){return new this(e).mod(n)}function Se(e,n){return new this(e).mul(n)}function Ae(e,n){return new this(e).pow(n)}function ke(e){var n,t,r,i,a=0,o=new this(1),u=[];if(void 0===e?e=this.precision:C(e,1,s),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=n[a])>=429e7?n[a]=crypto.getRandomValues(new Uint32Array(1))[0]:u[a++]=i%1e7;else{if(!crypto.randomBytes)throw Error(M);for(n=crypto.randomBytes(r*=4);a<r;)(i=n[a]+(n[a+1]<<8)+(n[a+2]<<16)+((127&n[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(n,a):(u.push(i%1e7),a+=4);a=r/4}else for(;a<r;)u[a++]=1e7*Math.random()|0;for(e%=7,(r=u[--a])&&e&&(i=w(10,7-e),u[a]=(r/i|0)*i);0===u[a];a--)u.pop();if(a<0)t=0,u=[0];else{for(t=-1;0===u[0];t-=7)u.shift();for(r=1,i=u[0];i>=10;i/=10)r++;r<7&&(t-=7-r)}return o.e=t,o.d=u,o}function Ce(e){return I(e=new this(e),e.e+1,this.rounding)}function Ne(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Pe(e){return new this(e).sin()}function ze(e){return new this(e).sinh()}function Ie(e){return new this(e).sqrt()}function He(e,n){return new this(e).sub(n)}function Fe(){var e=0,n=arguments,t=new this(n[e]);for(m=!1;t.s&&++e<n.length;)t=t.plus(n[e]);return m=!0,I(t,this.precision,this.rounding)}function Oe(e){return new this(e).tan()}function Le(e){return new this(e).tanh()}function Ge(e){return I(e=new this(e),e.e+1,1)}t=function e(n){var t,r,i;function a(e){var n,t,r,i=this;if(!(i instanceof a))return new a(e);if(i.constructor=a,pe(e))return i.s=e.s,void(m?!e.d||e.e>a.maxE?(i.e=NaN,i.d=null):e.e<a.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"==(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(n=0,t=e;t>=10;t/=10)n++;return void(m?n>a.maxE?(i.e=NaN,i.d=null):n<a.minE?(i.e=0,i.d=[0]):(i.e=n,i.d=[e]):(i.e=n,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):q(i,e.toString())}if("string"===r)return 45===(t=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===t&&(e=e.slice(1)),i.s=1),E.test(e)?q(i,e):W(i,e);if("bigint"===r)return e<0?(e=-e,i.s=-1):i.s=1,q(i,e.toString());throw Error(h+e)}if(a.prototype=A,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=de,a.clone=e,a.isDecimal=pe,a.abs=X,a.acos=ee,a.acosh=ne,a.add=te,a.asin=re,a.asinh=ie,a.atan=ae,a.atanh=oe,a.atan2=se,a.cbrt=ue,a.ceil=ce,a.clamp=le,a.cos=me,a.cosh=fe,a.div=he,a.exp=ye,a.floor=Me,a.hypot=ge,a.ln=we,a.log=ve,a.log10=_e,a.log2=be,a.max=Ee,a.min=Te,a.mod=De,a.mul=Se,a.pow=Ae,a.random=ke,a.round=Ce,a.sign=Ne,a.sin=Pe,a.sinh=ze,a.sqrt=Ie,a.sub=He,a.sum=Fe,a.tan=Oe,a.tanh=Le,a.trunc=Ge,void 0===n&&(n={}),n&&!0!==n.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)n.hasOwnProperty(r=i[t++])||(n[r]=this[r]);return a.config(n),a}(d),t.prototype.constructor=t,t.default=t.Decimal=t,c=new t(c),l=new t(l),e.exports?("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(A[Symbol.for("nodejs.util.inspect.custom")]=A.toString,A[Symbol.toStringTag]="Decimal"),e.exports=t):(n||(n="undefined"!=typeof self&&self&&self.self==self?self:window),i=n.Decimal,t.noConflict=function(){return n.Decimal=i,t},n.Decimal=t)}(wg)),pg.exports;var e}var bg,_g={},Eg={},Tg={},Dg={};function Sg(){if(bg)return Dg;bg=1,Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.ToLocalTime=function(n,t,r,i){var a=i.tzData;(0,e.invariant)("gregory"===t,"We only support Gregory calendar right now");var o=function(e,n,t){var r,i=t[n];if(!i)return[0,!1];for(var a=0,o=0,s=!1;a<=i.length;a++)if(a===i.length||1e3*i[a][0]>e){o=(r=i[a-1])[2],s=r[3];break}return[1e3*o,s]}(n.toNumber(),r,a),s=o[0],u=o[1],c=n.plus(s).toNumber(),l=(0,e.YearFromTime)(c);return{weekday:(0,e.WeekDay)(c),era:l<0?"BC":"AD",year:l,relatedYear:void 0,yearName:void 0,month:(0,e.MonthFromTime)(c),day:(0,e.DateFromTime)(c),hour:(0,e.HourFromTime)(c),minute:(0,e.MinFromTime)(c),second:(0,e.SecFromTime)(c),millisecond:(0,e.msFromTime)(c),inDST:u,timeZoneOffset:s}};var e=qM;return Dg}var Ag,kg,Cg,Ng,Pg={};function zg(){return Ag||(Ag=1,Object.defineProperty(Pg,"__esModule",{value:!0}),Pg.offsetPenalty=Pg.shortMorePenalty=Pg.shortLessPenalty=Pg.longMorePenalty=Pg.longLessPenalty=Pg.differentNumericTypePenalty=Pg.additionPenalty=Pg.removalPenalty=Pg.DATE_TIME_PROPS=void 0,Pg.DATE_TIME_PROPS=["weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName"],Pg.removalPenalty=120,Pg.additionPenalty=20,Pg.differentNumericTypePenalty=15,Pg.longLessPenalty=8,Pg.longMorePenalty=6,Pg.shortLessPenalty=6,Pg.shortMorePenalty=3,Pg.offsetPenalty=1),Pg}function Ig(){if(kg)return Tg;kg=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.FormatDateTimePattern=function(i,o,s,u){var c=u.getInternalSlots,l=u.localeData,d=u.getDefaultTimeZone,m=u.tzData;s=(0,e.TimeClip)(s);var f=c(i),h=f.dataLocale,y=l[h],M=f.locale,g=Object.create(null);g.useGrouping=!1;var p=(0,e.createMemoizedNumberFormat)(M,g),w=Object.create(null);w.minimumIntegerDigits=2,w.useGrouping=!1;var v,b=(0,e.createMemoizedNumberFormat)(M,w),_=f.fractionalSecondDigits;if(void 0!==_){var E=Object.create(null);E.minimumIntegerDigits=_,E.useGrouping=!1,v=(0,e.createMemoizedNumberFormat)(M,E)}for(var T=(0,t.ToLocalTime)(s,f.calendar,f.timeZone,{tzData:m}),D=[],S=0,A=o;S<A.length;S++){var k=A[S],C=k.type;if("literal"===C)D.push({type:"literal",value:k.value});else if("fractionalSecondDigits"===C){var N=new n.default(T.millisecond).times(10).pow((_||0)-3).floor().toNumber();D.push({type:"fractionalSecond",value:v.format(N)})}else if("dayPeriod"===C){var P=T[z=f.dayPeriod];D.push({type:C,value:P})}else if("timeZoneName"===C){var z=f.timeZoneName,I=(P=void 0,y.timeZoneName),H=y.gmtFormat,F=y.hourFormat,O=I[f.timeZone||d()];P=O&&O[z]?O[z][+T.inDST]:a(H,F,T.timeZoneOffset,z),D.push({type:C,value:P})}else if(r.DATE_TIME_PROPS.indexOf(C)>-1){P="",z=f[C],N=T[C];"year"===C&&N<=0&&(N=1-N),"month"===C&&N++;var L=f.hourCycle;"hour"!==C||"h11"!==L&&"h12"!==L||0===(N%=12)&&"h12"===L&&(N=12),"hour"===C&&"h24"===L&&0===N&&(N=24),"numeric"===z?P=p.format(N):"2-digit"===z?(P=b.format(N)).length>2&&(P=P.slice(P.length-2,P.length)):"narrow"!==z&&"short"!==z&&"long"!==z||(P="era"===C?y[C][z][N]:"month"===C?y.month[z][N-1]:y[C][z][N]),D.push({type:C,value:P})}else if("ampm"===C){P=void 0;P=(N=T.hour)>11?y.pm:y.am,D.push({type:"dayPeriod",value:P})}else if("relatedYear"===C){N=T.relatedYear,P=p.format(N);D.push({type:"relatedYear",value:P})}else if("yearName"===C){N=T.yearName,P=p.format(N);D.push({type:"yearName",value:P})}}return D};var e=qM,n=wf.__importDefault(vg()),t=Sg(),r=zg();function i(e){return e<10?"0".concat(e):String(e)}function a(e,n,t,r){var a=Math.floor(t/6e4),o=Math.abs(a)%60,s=Math.floor(Math.abs(a)/60),u=n.split(";"),c=u[0],l=u[1],d="",m=t<0?l:c;return"long"===r?d=m.replace("HH",i(s)).replace("H",String(s)).replace("mm",i(o)).replace("m",String(o)):(o||s)&&(o||(m=m.replace(/:?m+/,"")),d=m.replace(/H+/,String(s)).replace(/m+/,String(o))),e.replace("{0}",d)}return Tg}function Hg(){if(Cg)return Eg;Cg=1,Object.defineProperty(Eg,"__esModule",{value:!0}),Eg.PartitionDateTimePattern=function(t,r,i){r=(0,e.TimeClip)(r),(0,e.invariant)(!r.isNaN(),"Invalid time",RangeError);var a=(0,i.getInternalSlots)(t).pattern;return(0,n.FormatDateTimePattern)(t,(0,e.PartitionPattern)(a),r,i)};var e=qM,n=Ig();return Eg}var Fg,Og,Lg={},Gg={};function Bg(){if(Fg)return Gg;Fg=1,Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.PartitionDateTimeRangePattern=function(i,a,o,s){if(a=(0,e.TimeClip)(a),a.isNaN())throw new RangeError("Invalid start time");if(o=(0,e.TimeClip)(o),o.isNaN())throw new RangeError("Invalid end time");for(var u,c=s.getInternalSlots,l=s.tzData,d=c(i),m=(0,t.ToLocalTime)(a,d.calendar,d.timeZone,{tzData:l}),f=(0,t.ToLocalTime)(o,d.calendar,d.timeZone,{tzData:l}),h=d.pattern,y=d.rangePatterns,M=!0,g=!1,p=0,w=r;p<w.length;p++){var v=w[p];if(M&&!g){var b=v in y?y[v]:void 0;if(void 0!==u&&void 0===b)g=!0;else if(u=b,"ampm"===v){var _=m.hour,E=f.hour;(_>11&&E<11||_<11&&E>11)&&(M=!1)}else if("dayPeriod"===v);else if("fractionalSecondDigits"===v){var T=d.fractionalSecondDigits;void 0===T&&(T=3);_=Math.floor(m.millisecond*Math.pow(10,T-3)),E=Math.floor(f.millisecond*Math.pow(10,T-3));(0,e.SameValue)(_,E)||(M=!1)}else{_=m[v],E=f[v];(0,e.SameValue)(_,E)||(M=!1)}}}if(M){for(var D=(0,n.FormatDateTimePattern)(i,(0,e.PartitionPattern)(h),a,s),S=0,A=D;S<A.length;S++){A[S].source=e.RangePatternType.shared}return D}var k=[];if(void 0===u)for(var C=0,N=(u=y.default).patternParts;C<N.length;C++){var P=N[C];"{0}"!==P.pattern&&"{1}"!==P.pattern||(P.pattern=h)}for(var z=0,I=u.patternParts;z<I.length;z++){var H=I[z],F=H.source,O=H.pattern,L=void 0;L=F===e.RangePatternType.startRange||F===e.RangePatternType.shared?a:o;for(var G=(0,e.PartitionPattern)(O),B=(0,n.FormatDateTimePattern)(i,G,L,s),x=0,R=B;x<R.length;x++){R[x].source=F}k=k.concat(B)}return k};var e=qM,n=Ig(),t=Sg(),r=["era","year","month","day","dayPeriod","ampm","hour","minute","second","fractionalSecondDigits"];return Gg}var xg,Rg={};var jg,Zg={};var Ug,Yg={},qg={};var Wg,Kg,Vg={},$g={};function Jg(){if(Wg)return $g;Wg=1,Object.defineProperty($g,"__esModule",{value:!0}),$g.processDateTimePattern=o,$g.parseDateTimeSkeleton=function(n,r,c,l){void 0===r&&(r=n);var d={pattern:"",pattern12:"",skeleton:n,rawPattern:r,rangePatterns:{},rangePatterns12:{}};if(c)for(var m in c){var f=a(m),h={patternParts:[]},y=o(c[m],h),M=y[0],g=y[1];d.rangePatterns[f]=e.__assign(e.__assign({},h),{patternParts:u(M)}),d.rangePatterns12[f]=e.__assign(e.__assign({},h),{patternParts:u(g)})}if(l){var p=s(l);d.rangePatterns.default={patternParts:p},d.rangePatterns12.default={patternParts:p}}n.replace(t,function(e){return i(e,d)});var w=o(r),v=w[0],b=w[1];return d.pattern=v,d.pattern12=b,d},$g.splitFallbackRangePattern=s,$g.splitRangePattern=u;var e=wf,n=qM,t=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function i(e,n){var t=e.length;switch(e[0]){case"G":return n.era=4===t?"long":5===t?"narrow":"short","{era}";case"y":case"Y":case"u":case"U":case"r":return n.year=2===t?"2-digit":"numeric","{year}";case"q":case"Q":throw new RangeError("`w/Q` (quarter) patterns are not supported");case"M":case"L":return n.month=["numeric","2-digit","short","long","narrow"][t-1],"{month}";case"w":case"W":throw new RangeError("`w/W` (week of year) patterns are not supported");case"d":return n.day=["numeric","2-digit"][t-1],"{day}";case"D":case"F":case"g":return n.day="numeric","{day}";case"E":return n.weekday=4===t?"long":5===t?"narrow":"short","{weekday}";case"e":case"c":return n.weekday=[void 0,void 0,"short","long","narrow","short"][t-1],"{weekday}";case"a":case"b":case"B":return n.hour12=!0,"{ampm}";case"h":case"K":return n.hour=["numeric","2-digit"][t-1],n.hour12=!0,"{hour}";case"H":case"k":return n.hour=["numeric","2-digit"][t-1],"{hour}";case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":return n.minute=["numeric","2-digit"][t-1],"{minute}";case"s":return n.second=["numeric","2-digit"][t-1],"{second}";case"S":case"A":return n.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return n.timeZoneName=t<4?"short":"long","{timeZoneName}"}return""}function a(e){switch(e){case"G":return"era";case"y":case"Y":case"u":case"U":case"r":return"year";case"M":case"L":return"month";case"d":case"D":case"F":case"g":return"day";case"a":case"b":case"B":return"ampm";case"h":case"H":case"K":case"k":return"hour";case"m":return"minute";case"s":case"S":case"A":return"second";default:throw new RangeError("Invalid range pattern token")}}function o(e,n){var a=[],o=e.replace(/'{2}/g,"{apostrophe}").replace(/'(.*?)'/g,function(e,n){return a.push(n),"$$".concat(a.length-1,"$$")}).replace(t,function(e){return i(e,n||{})});return a.length&&(o=o.replace(/\$\$(\d+)\$\$/g,function(e,n){return a[+n]}).replace(/\{apostrophe\}/g,"'")),[o.replace(/([\s\uFEFF\xA0])\{ampm\}([\s\uFEFF\xA0])/,"$1").replace("{ampm}","").replace(r,""),o]}function s(e){return e.split(/(\{[0|1]\})/g).filter(Boolean).map(function(e){switch(e){case"{0}":return{source:n.RangePatternType.startRange,pattern:e};case"{1}":return{source:n.RangePatternType.endRange,pattern:e};default:return{source:n.RangePatternType.shared,pattern:e}}})}function u(e){for(var t,r=/\{(.*?)\}/g,i={},a=0;t=r.exec(e);){if(t[0]in i){a=t.index;break}i[t[0]]=t.index}return a?[{source:n.RangePatternType.startRange,pattern:e.slice(0,a)},{source:n.RangePatternType.endRange,pattern:e.slice(a)}]:[{source:n.RangePatternType.startRange,pattern:e}]}return $g}var Qg,Xg={};var ep,np,tp={};function rp(){if(ep)return tp;ep=1,Object.defineProperty(tp,"__esModule",{value:!0}),tp.ToDateTimeOptions=function(n,t,r){n=void 0===n?null:(0,e.ToObject)(n);n=Object.create(n);var i=!0;if("date"===t||"any"===t)for(var a=0,o=["weekday","year","month","day"];a<o.length;a++){void 0!==n[o[a]]&&(i=!1)}if("time"===t||"any"===t)for(var s=0,u=["dayPeriod","hour","minute","second","fractionalSecondDigits"];s<u.length;s++){void 0!==n[u[s]]&&(i=!1)}void 0===n.dateStyle&&void 0===n.timeStyle||(i=!1);if("date"===t&&n.timeStyle)throw new TypeError("Intl.DateTimeFormat date was required but timeStyle was included");if("time"===t&&n.dateStyle)throw new TypeError("Intl.DateTimeFormat time was required but dateStyle was included");if(i&&("date"===r||"all"===r))for(var c=0,l=["year","month","day"];c<l.length;c++){n[l[c]]="numeric"}if(i&&("time"===r||"all"===r))for(var d=0,m=["hour","minute","second"];d<m.length;d++){n[m[d]]="numeric"}return n};var e=qM;return tp}function ip(){if(np)return Yg;np=1,Object.defineProperty(Yg,"__esModule",{value:!0}),Yg.InitializeDateTimeFormat=function(c,l,d,m){var f=m.getInternalSlots,h=m.availableLocales,y=m.localeData,M=m.getDefaultLocale,g=m.getDefaultTimeZone,p=m.relevantExtensionKeys,w=m.tzData,v=m.uppercaseLinks,b=(0,e.CanonicalizeLocaleList)(l),_=(0,a.ToDateTimeOptions)(d,"any","date"),E=Object.create(null),T=(0,e.GetOption)(_,"localeMatcher","string",["lookup","best fit"],"best fit");E.localeMatcher=T;var D=(0,e.GetOption)(_,"calendar","string",void 0,void 0);if(void 0!==D&&!u.test(D))throw new RangeError("Malformed calendar");var S=f(c);E.ca=D;var A=(0,e.GetOption)(_,"numberingSystem","string",void 0,void 0);if(void 0!==A&&!u.test(A))throw new RangeError("Malformed numbering system");E.nu=A;var k=(0,e.GetOption)(_,"hour12","boolean",void 0,void 0),C=(0,e.GetOption)(_,"hourCycle","string",["h11","h12","h23","h24"],void 0);void 0!==k&&(C=null);E.hc=C;var N=(0,n.ResolveLocale)(h,b,E,p,y,M);S.locale=N.locale,D=N.ca,S.calendar=D,S.hourCycle=N.hc,S.numberingSystem=N.nu;var P=N.dataLocale;S.dataLocale=P;var z=_.timeZone;if(void 0!==z){if(z=String(z),!(0,e.IsValidTimeZoneName)(z,{zoneNamesFromData:Object.keys(w),uppercaseLinks:v}))throw new RangeError("Invalid timeZoneName");z=(0,e.CanonicalizeTimeZoneName)(z,{zoneNames:Object.keys(w),uppercaseLinks:v})}else z=g();S.timeZone=z,(E=Object.create(null)).weekday=(0,e.GetOption)(_,"weekday","string",["narrow","short","long"],void 0),E.era=(0,e.GetOption)(_,"era","string",["narrow","short","long"],void 0),E.year=(0,e.GetOption)(_,"year","string",["2-digit","numeric"],void 0),E.month=(0,e.GetOption)(_,"month","string",["2-digit","numeric","narrow","short","long"],void 0),E.day=(0,e.GetOption)(_,"day","string",["2-digit","numeric"],void 0),E.hour=(0,e.GetOption)(_,"hour","string",["2-digit","numeric"],void 0),E.minute=(0,e.GetOption)(_,"minute","string",["2-digit","numeric"],void 0),E.second=(0,e.GetOption)(_,"second","string",["2-digit","numeric"],void 0),E.timeZoneName=(0,e.GetOption)(_,"timeZoneName","string",["long","short","longOffset","shortOffset","longGeneric","shortGeneric"],void 0),E.fractionalSecondDigits=(0,e.GetNumberOption)(_,"fractionalSecondDigits",1,3,void 0);var I=y[P];(0,e.invariant)(!!I,"Missing locale data for ".concat(P));var H=I.formats[D];if(!H)throw new RangeError('Calendar "'.concat(D,'" is not supported. Try setting "calendar" to 1 of the following: ').concat(Object.keys(I.formats).join(", ")));var F=(0,e.GetOption)(_,"formatMatcher","string",["basic","best fit"],"best fit"),O=(0,e.GetOption)(_,"dateStyle","string",["full","long","medium","short"],void 0);S.dateStyle=O;var L,G,B,x=(0,e.GetOption)(_,"timeStyle","string",["full","long","medium","short"],void 0);if(S.timeStyle=x,void 0===O&&void 0===x)if("basic"===F)L=(0,t.BasicFormatMatcher)(E,H);else{if(function(e){for(var n=0,t=["hour","minute","second"];n<t.length;n++){if(void 0!==e[t[n]])return!0}return!1}(E)){var R=s(S.hourCycle,I.hourCycle,k);E.hour12="h11"===R||"h12"===R}L=(0,r.BestFitFormatMatcher)(E,H)}else{for(var j=0,Z=o.DATE_TIME_PROPS;j<Z.length;j++){if(void 0!==(Y=E[U=Z[j]]))throw new TypeError("Intl.DateTimeFormat can't set option ".concat(U," when ").concat(O?"dateStyle":"timeStyle"," is used"))}L=(0,i.DateTimeStyleFormat)(O,x,I)}for(var U in S.format=L,E){var Y;void 0!==(Y=L[U])&&(S[U]=Y)}if(void 0!==S.hour){R=s(S.hourCycle,I.hourCycle,k);S.hourCycle=R,"h11"===R||"h12"===R?(G=L.pattern12,B=L.rangePatterns12):(G=L.pattern,B=L.rangePatterns)}else S.hourCycle=void 0,G=L.pattern,B=L.rangePatterns;return S.pattern=G,S.rangePatterns=B,c};var e=qM,n=KM,t=function(){if(Ug)return qg;Ug=1,Object.defineProperty(qg,"__esModule",{value:!0}),qg.BasicFormatMatcher=function(r,i){var a=-1/0,o=i[0];(0,n.invariant)(Array.isArray(i),"formats should be a list of things");for(var s=0,u=i;s<u.length;s++){for(var c=u[s],l=0,d=0,m=t.DATE_TIME_PROPS;d<m.length;d++){var f=m[d],h=r[f],y=c[f];if(void 0===h&&void 0!==y)l-=t.additionPenalty;else if(void 0!==h&&void 0===y)l-=t.removalPenalty;else if("timeZoneName"===f)"short"===h||"shortGeneric"===h?"shortOffset"===y?l-=t.offsetPenalty:"longOffset"===y?l-=t.offsetPenalty+t.shortMorePenalty:"short"===h&&"long"===y||"shortGeneric"===h&&"longGeneric"===y?l-=t.shortMorePenalty:h!==y&&(l-=t.removalPenalty):"shortOffset"===h&&"longOffset"===y?l-=t.shortMorePenalty:"long"===h||"longGeneric"===h?"longOffset"===y?l-=t.offsetPenalty:"shortOffset"===y?l-=t.offsetPenalty+t.longLessPenalty:"long"===h&&"short"===y||"longGeneric"===h&&"shortGeneric"===y?l-=t.longLessPenalty:h!==y&&(l-=t.removalPenalty):"longOffset"===h&&"shortOffset"===y?l-=t.longLessPenalty:h!==y&&(l-=t.removalPenalty);else if(h!==y){var M=void 0,g=(M="fractionalSecondDigits"===f?[1,2,3]:["2-digit","numeric","narrow","short","long"]).indexOf(h),p=M.indexOf(y),w=Math.max(-2,Math.min(p-g,2));2===w?l-=t.longMorePenalty:1===w?l-=t.shortMorePenalty:-1===w?l-=t.shortLessPenalty:-2===w&&(l-=t.longLessPenalty)}}l>a&&(a=l,o=c)}return e.__assign({},o)};var e=wf,n=qM,t=zg();return qg}(),r=function(){if(Kg)return Vg;Kg=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.bestFitFormatMatcherScore=a,Vg.BestFitFormatMatcher=function(r,o){var s=-1/0,u=o[0];(0,n.invariant)(Array.isArray(o),"formats should be a list of things");for(var c=0,l=o;c<l.length;c++){var d=l[c],m=a(r,d);m>s&&(s=m,u=d)}var f=e.__assign({},u),h={rawPattern:u.rawPattern};for(var y in(0,t.processDateTimePattern)(u.rawPattern,h),f){var M=f[y],g=h[y],p=r[y];"minute"!==y&&"second"!==y&&p&&(i(g)&&!i(p)||M!==p&&(h[y]=p))}return h.pattern=f.pattern,h.pattern12=f.pattern12,h.skeleton=f.skeleton,h.rangePatterns=f.rangePatterns,h.rangePatterns12=f.rangePatterns12,h};var e=wf,n=qM,t=Jg(),r=zg();function i(e){return"numeric"===e||"2-digit"===e}function a(e,n){var t=0;e.hour12&&!n.hour12?t-=r.removalPenalty:!e.hour12&&n.hour12&&(t-=r.additionPenalty);for(var a=0,o=r.DATE_TIME_PROPS;a<o.length;a++){var s=o[a],u=e[s],c=n[s];if(void 0===u&&void 0!==c)t-=r.additionPenalty;else if(void 0!==u&&void 0===c)t-=r.removalPenalty;else if(u!==c)if(i(u)!==i(c))t-=r.differentNumericTypePenalty;else{var l=["2-digit","numeric","narrow","short","long"],d=l.indexOf(u),m=l.indexOf(c),f=Math.max(-2,Math.min(m-d,2));2===f?t-=r.longMorePenalty:1===f?t-=r.shortMorePenalty:-1===f?t-=r.shortLessPenalty:-2===f&&(t-=r.longLessPenalty)}}return t}return Vg}(),i=function(){if(Qg)return Xg;Qg=1,Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.DateTimeStyleFormat=function(n,t,r){var i,a;if(void 0!==t&&((0,e.invariant)("full"===t||"long"===t||"medium"===t||"short"===t,"invalid timeStyle"),a=r.timeFormat[t]),void 0!==n&&((0,e.invariant)("full"===n||"long"===n||"medium"===n||"short"===n,"invalid dateStyle"),i=r.dateFormat[n]),void 0!==n&&void 0!==t){var o={};for(var s in i)"pattern"!==s&&(o[s]=i[s]);for(var s in a)"pattern"!==s&&"pattern12"!==s&&(o[s]=a[s]);var u=r.dateTimeFormat[n],c=u.replace("{0}",a.pattern).replace("{1}",i.pattern);if(o.pattern=c,"pattern12"in a){var l=u.replace("{0}",a.pattern12).replace("{1}",i.pattern);o.pattern12=l}return o}return void 0!==t?a:((0,e.invariant)(void 0!==n,"dateStyle should not be undefined"),i)};var e=qM;return Xg}(),a=rp(),o=zg();function s(n,t,r){return null==n&&(n=t),void 0!==r&&(r?n="h11"===t||"h23"===t?"h11":"h12":((0,e.invariant)(!r,"hour12 must not be set"),n="h11"===t||"h23"===t?"h23":"h24")),n}var u=/^[a-z0-9]{3,8}$/i;return Yg}var ap,op={};var sp,up={};var cp,lp,dp,mp={};function fp(){return lp||(lp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DateTimeFormat=void 0;var n=wf,t=qM,r=n.__importDefault(vg()),i=function(){if(Ng)return _g;Ng=1,Object.defineProperty(_g,"__esModule",{value:!0}),_g.FormatDateTime=function(n,t,r){for(var i="",a=0,o=(0,e.PartitionDateTimePattern)(n,t,r);a<o.length;a++)i+=o[a].value;return i};var e=Hg();return _g}(),a=function(){if(Og)return Lg;Og=1,Object.defineProperty(Lg,"__esModule",{value:!0}),Lg.FormatDateTimeRange=function(n,t,r,i){for(var a="",o=0,s=(0,e.PartitionDateTimeRangePattern)(n,t,r,i);o<s.length;o++)a+=s[o].value;return a};var e=Bg();return Lg}(),o=function(){if(xg)return Rg;xg=1,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.FormatDateTimeRangeToParts=function(n,t,r,i){for(var a=(0,e.PartitionDateTimeRangePattern)(n,t,r,i),o=new Array(0),s=0,u=a;s<u.length;s++){var c=u[s];o.push({type:c.type,value:c.value,source:c.source})}return o};var e=Bg();return Rg}(),s=function(){if(jg)return Zg;jg=1,Object.defineProperty(Zg,"__esModule",{value:!0}),Zg.FormatDateTimeToParts=function(t,r,i){for(var a=(0,n.PartitionDateTimePattern)(t,r,i),o=(0,e.ArrayCreate)(0),s=0,u=a;s<u.length;s++){var c=u[s];o.push({type:c.type,value:c.value})}return o};var e=qM,n=Hg();return Zg}(),u=ip(),c=Jg(),l=zg(),d=n.__importDefault((ap||(ap=1,Object.defineProperty(op,"__esModule",{value:!0}),op.default={"Africa/Accra":"Africa/Abidjan","Africa/Addis_Ababa":"Africa/Nairobi","Africa/Asmara":"Africa/Nairobi","Africa/Asmera":"Africa/Nairobi","Africa/Bamako":"Africa/Abidjan","Africa/Bangui":"Africa/Lagos","Africa/Banjul":"Africa/Abidjan","Africa/Blantyre":"Africa/Maputo","Africa/Brazzaville":"Africa/Lagos","Africa/Bujumbura":"Africa/Maputo","Africa/Conakry":"Africa/Abidjan","Africa/Dakar":"Africa/Abidjan","Africa/Dar_es_Salaam":"Africa/Nairobi","Africa/Djibouti":"Africa/Nairobi","Africa/Douala":"Africa/Lagos","Africa/Freetown":"Africa/Abidjan","Africa/Gaborone":"Africa/Maputo","Africa/Harare":"Africa/Maputo","Africa/Kampala":"Africa/Nairobi","Africa/Kigali":"Africa/Maputo","Africa/Kinshasa":"Africa/Lagos","Africa/Libreville":"Africa/Lagos","Africa/Lome":"Africa/Abidjan","Africa/Luanda":"Africa/Lagos","Africa/Lubumbashi":"Africa/Maputo","Africa/Lusaka":"Africa/Maputo","Africa/Malabo":"Africa/Lagos","Africa/Maseru":"Africa/Johannesburg","Africa/Mbabane":"Africa/Johannesburg","Africa/Mogadishu":"Africa/Nairobi","Africa/Niamey":"Africa/Lagos","Africa/Nouakchott":"Africa/Abidjan","Africa/Ouagadougou":"Africa/Abidjan","Africa/Porto-Novo":"Africa/Lagos","Africa/Timbuktu":"Africa/Abidjan","America/Anguilla":"America/Puerto_Rico","America/Antigua":"America/Puerto_Rico","America/Argentina/ComodRivadavia":"America/Argentina/Catamarca","America/Aruba":"America/Puerto_Rico","America/Atikokan":"America/Panama","America/Atka":"America/Adak","America/Blanc-Sablon":"America/Puerto_Rico","America/Buenos_Aires":"America/Argentina/Buenos_Aires","America/Catamarca":"America/Argentina/Catamarca","America/Cayman":"America/Panama","America/Coral_Harbour":"America/Panama","America/Cordoba":"America/Argentina/Cordoba","America/Creston":"America/Phoenix","America/Curacao":"America/Puerto_Rico","America/Dominica":"America/Puerto_Rico","America/Ensenada":"America/Tijuana","America/Fort_Wayne":"America/Indiana/Indianapolis","America/Godthab":"America/Nuuk","America/Grenada":"America/Puerto_Rico","America/Guadeloupe":"America/Puerto_Rico","America/Indianapolis":"America/Indiana/Indianapolis","America/Jujuy":"America/Argentina/Jujuy","America/Knox_IN":"America/Indiana/Knox","America/Kralendijk":"America/Puerto_Rico","America/Louisville":"America/Kentucky/Louisville","America/Lower_Princes":"America/Puerto_Rico","America/Marigot":"America/Puerto_Rico","America/Mendoza":"America/Argentina/Mendoza","America/Montreal":"America/Toronto","America/Montserrat":"America/Puerto_Rico","America/Nassau":"America/Toronto","America/Nipigon":"America/Toronto","America/Pangnirtung":"America/Iqaluit","America/Port_of_Spain":"America/Puerto_Rico","America/Porto_Acre":"America/Rio_Branco","America/Rainy_River":"America/Winnipeg","America/Rosario":"America/Argentina/Cordoba","America/Santa_Isabel":"America/Tijuana","America/Shiprock":"America/Denver","America/St_Barthelemy":"America/Puerto_Rico","America/St_Kitts":"America/Puerto_Rico","America/St_Lucia":"America/Puerto_Rico","America/St_Thomas":"America/Puerto_Rico","America/St_Vincent":"America/Puerto_Rico","America/Thunder_Bay":"America/Toronto","America/Tortola":"America/Puerto_Rico","America/Virgin":"America/Puerto_Rico","America/Yellowknife":"America/Edmonton","Antarctica/DumontDUrville":"Pacific/Port_Moresby","Antarctica/McMurdo":"Pacific/Auckland","Antarctica/South_Pole":"Pacific/Auckland","Antarctica/Syowa":"Asia/Riyadh","Arctic/Longyearbyen":"Europe/Berlin","Asia/Aden":"Asia/Riyadh","Asia/Ashkhabad":"Asia/Ashgabat","Asia/Bahrain":"Asia/Qatar","Asia/Brunei":"Asia/Kuching","Asia/Calcutta":"Asia/Kolkata","Asia/Choibalsan":"Asia/Ulaanbaatar","Asia/Chongqing":"Asia/Shanghai","Asia/Chungking":"Asia/Shanghai","Asia/Dacca":"Asia/Dhaka","Asia/Harbin":"Asia/Shanghai","Asia/Istanbul":"Europe/Istanbul","Asia/Kashgar":"Asia/Urumqi","Asia/Katmandu":"Asia/Kathmandu","Asia/Kuala_Lumpur":"Asia/Singapore","Asia/Kuwait":"Asia/Riyadh","Asia/Macao":"Asia/Macau","Asia/Muscat":"Asia/Dubai","Asia/Phnom_Penh":"Asia/Bangkok","Asia/Rangoon":"Asia/Yangon","Asia/Saigon":"Asia/Ho_Chi_Minh","Asia/Tel_Aviv":"Asia/Jerusalem","Asia/Thimbu":"Asia/Thimphu","Asia/Ujung_Pandang":"Asia/Makassar","Asia/Ulan_Bator":"Asia/Ulaanbaatar","Asia/Vientiane":"Asia/Bangkok","Atlantic/Faeroe":"Atlantic/Faroe","Atlantic/Jan_Mayen":"Europe/Berlin","Atlantic/Reykjavik":"Africa/Abidjan","Atlantic/St_Helena":"Africa/Abidjan","Australia/ACT":"Australia/Sydney","Australia/Canberra":"Australia/Sydney","Australia/Currie":"Australia/Hobart","Australia/LHI":"Australia/Lord_Howe","Australia/NSW":"Australia/Sydney","Australia/North":"Australia/Darwin","Australia/Queensland":"Australia/Brisbane","Australia/South":"Australia/Adelaide","Australia/Tasmania":"Australia/Hobart","Australia/Victoria":"Australia/Melbourne","Australia/West":"Australia/Perth","Australia/Yancowinna":"Australia/Broken_Hill","Brazil/Acre":"America/Rio_Branco","Brazil/DeNoronha":"America/Noronha","Brazil/East":"America/Sao_Paulo","Brazil/West":"America/Manaus",CET:"Europe/Brussels",CST6CDT:"America/Chicago","Canada/Atlantic":"America/Halifax","Canada/Central":"America/Winnipeg","Canada/Eastern":"America/Toronto","Canada/Mountain":"America/Edmonton","Canada/Newfoundland":"America/St_Johns","Canada/Pacific":"America/Vancouver","Canada/Saskatchewan":"America/Regina","Canada/Yukon":"America/Whitehorse","Chile/Continental":"America/Santiago","Chile/EasterIsland":"Pacific/Easter",Cuba:"America/Havana",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",Egypt:"Africa/Cairo",Eire:"Europe/Dublin","Etc/GMT+0":"Etc/GMT","Etc/GMT-0":"Etc/GMT","Etc/GMT0":"Etc/GMT","Etc/Greenwich":"Etc/GMT","Etc/UCT":"Etc/UTC","Etc/Universal":"Etc/UTC","Etc/Zulu":"Etc/UTC","Europe/Amsterdam":"Europe/Brussels","Europe/Belfast":"Europe/London","Europe/Bratislava":"Europe/Prague","Europe/Busingen":"Europe/Zurich","Europe/Copenhagen":"Europe/Berlin","Europe/Guernsey":"Europe/London","Europe/Isle_of_Man":"Europe/London","Europe/Jersey":"Europe/London","Europe/Kiev":"Europe/Kyiv","Europe/Ljubljana":"Europe/Belgrade","Europe/Luxembourg":"Europe/Brussels","Europe/Mariehamn":"Europe/Helsinki","Europe/Monaco":"Europe/Paris","Europe/Nicosia":"Asia/Nicosia","Europe/Oslo":"Europe/Berlin","Europe/Podgorica":"Europe/Belgrade","Europe/San_Marino":"Europe/Rome","Europe/Sarajevo":"Europe/Belgrade","Europe/Skopje":"Europe/Belgrade","Europe/Stockholm":"Europe/Berlin","Europe/Tiraspol":"Europe/Chisinau","Europe/Uzhgorod":"Europe/Kyiv","Europe/Vaduz":"Europe/Zurich","Europe/Vatican":"Europe/Rome","Europe/Zagreb":"Europe/Belgrade","Europe/Zaporozhye":"Europe/Kyiv",GB:"Europe/London","GB-Eire":"Europe/London","GMT+0":"Etc/GMT","GMT-0":"Etc/GMT",GMT0:"Etc/GMT",Greenwich:"Etc/GMT",HST:"Pacific/Honolulu",Hongkong:"Asia/Hong_Kong",Iceland:"Africa/Abidjan","Indian/Antananarivo":"Africa/Nairobi","Indian/Christmas":"Asia/Bangkok","Indian/Cocos":"Asia/Yangon","Indian/Comoro":"Africa/Nairobi","Indian/Kerguelen":"Indian/Maldives","Indian/Mahe":"Asia/Dubai","Indian/Mayotte":"Africa/Nairobi","Indian/Reunion":"Asia/Dubai",Iran:"Asia/Tehran",Israel:"Asia/Jerusalem",Jamaica:"America/Jamaica",Japan:"Asia/Tokyo",Kwajalein:"Pacific/Kwajalein",Libya:"Africa/Tripoli",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver","Mexico/BajaNorte":"America/Tijuana","Mexico/BajaSur":"America/Mazatlan","Mexico/General":"America/Mexico_City",NZ:"Pacific/Auckland","NZ-CHAT":"Pacific/Chatham",Navajo:"America/Denver",PRC:"Asia/Shanghai",PST8PDT:"America/Los_Angeles","Pacific/Chuuk":"Pacific/Port_Moresby","Pacific/Enderbury":"Pacific/Kanton","Pacific/Funafuti":"Pacific/Tarawa","Pacific/Johnston":"Pacific/Honolulu","Pacific/Majuro":"Pacific/Tarawa","Pacific/Midway":"Pacific/Pago_Pago","Pacific/Pohnpei":"Pacific/Guadalcanal","Pacific/Ponape":"Pacific/Guadalcanal","Pacific/Saipan":"Pacific/Guam","Pacific/Samoa":"Pacific/Pago_Pago","Pacific/Truk":"Pacific/Port_Moresby","Pacific/Wake":"Pacific/Tarawa","Pacific/Wallis":"Pacific/Tarawa","Pacific/Yap":"Pacific/Port_Moresby",Poland:"Europe/Warsaw",Portugal:"Europe/Lisbon",ROC:"Asia/Taipei",ROK:"Asia/Seoul",Singapore:"Asia/Singapore",Turkey:"Europe/Istanbul",UCT:"Etc/UTC","US/Alaska":"America/Anchorage","US/Aleutian":"America/Adak","US/Arizona":"America/Phoenix","US/Central":"America/Chicago","US/East-Indiana":"America/Indiana/Indianapolis","US/Eastern":"America/New_York","US/Hawaii":"Pacific/Honolulu","US/Indiana-Starke":"America/Indiana/Knox","US/Michigan":"America/Detroit","US/Mountain":"America/Denver","US/Pacific":"America/Los_Angeles","US/Samoa":"Pacific/Pago_Pago",UTC:"Etc/UTC",Universal:"Etc/UTC","W-SU":"Europe/Moscow",WET:"Europe/Lisbon",Zulu:"Etc/UTC"}),op)),m=n.__importDefault(function(){if(sp)return up;sp=1,Object.defineProperty(up,"__esModule",{value:!0}),up.default=function(n){var t=e.get(n);return t||(t=Object.create(null),e.set(n,t)),t};var e=new WeakMap;return up}()),f=function(){if(cp)return mp;cp=1,Object.defineProperty(mp,"__esModule",{value:!0}),mp.pack=function(n){var t=Object.keys(n.zones);return t.sort(),{zones:t.map(function(t){return e.__spreadArray([t],n.zones[t].map(function(n){var t=n[0],r=n.slice(1);return e.__spreadArray([""===t?"":t.toString(36)],r,!0).join(",")}),!0).join("|")}),abbrvs:n.abbrvs.join("|"),offsets:n.offsets.map(function(e){return e.toString(36)}).join("|")}},mp.unpack=function(e){for(var n=e.abbrvs.split("|"),t=e.offsets.split("|").map(function(e){return parseInt(e,36)}),r={},i=0,a=e.zones;i<a.length;i++){var o=a[i].split("|"),s=o[0],u=o.slice(1);r[s]=u.map(function(e){return e.split(",")}).map(function(e){var r=e[0],i=e[1],a=e[2],o=e[3];return[""===r?-1/0:parseInt(r,36),n[+i],t[+a],"1"===o]})}return r};var e=wf;return mp}(),h=Object.keys(d.default).reduce(function(e,n){return e[n.toUpperCase()]=d.default[n],e},{}),y=["locale","calendar","numberingSystem","dateStyle","timeStyle","timeZone","hourCycle","weekday","era","year","month","day","hour","minute","second","timeZoneName"],M={enumerable:!1,configurable:!0,get:function(){if("object"!=typeof this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))throw TypeError("Intl.DateTimeFormat format property accessor called on incompatible receiver");var n=(0,m.default)(this),a=this,o=n.boundFormat;if(void 0===o){o=function(n){var o;return o=void 0===n?new r.default(Date.now()):(0,t.ToNumber)(n),(0,i.FormatDateTime)(a,o,{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})};try{Object.defineProperty(o,"name",{configurable:!0,enumerable:!1,writable:!1,value:""})}catch(e){}n.boundFormat=o}return o}};try{Object.defineProperty(M.get,"name",{configurable:!0,enumerable:!1,writable:!1,value:"get format"})}catch(e){}e.DateTimeFormat=function(n,r){if(!this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))return new e.DateTimeFormat(n,r);(0,u.InitializeDateTimeFormat)(this,n,r,{tzData:e.DateTimeFormat.tzData,uppercaseLinks:h,availableLocales:e.DateTimeFormat.availableLocales,relevantExtensionKeys:e.DateTimeFormat.relevantExtensionKeys,getDefaultLocale:e.DateTimeFormat.getDefaultLocale,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone,getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData});var i=(0,m.default)(this).dataLocale,a=e.DateTimeFormat.localeData[i];(0,t.invariant)(void 0!==a,"Cannot load locale-dependent data for ".concat(i,"."))},(0,t.defineProperty)(e.DateTimeFormat,"supportedLocalesOf",{value:function(n,r){return(0,t.SupportedLocales)(e.DateTimeFormat.availableLocales,(0,t.CanonicalizeLocaleList)(n),r)}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"resolvedOptions",{value:function(){if("object"!=typeof this||!(0,t.OrdinaryHasInstance)(e.DateTimeFormat,this))throw TypeError("Method Intl.DateTimeFormat.prototype.resolvedOptions called on incompatible receiver");for(var n=(0,m.default)(this),r={},i=0,a=y;i<a.length;i++){var o=a[i],s=n[o];if("hourCycle"===o){var u="h11"===s||"h12"===s||"h23"!==s&&"h24"!==s&&void 0;void 0!==u&&(r.hour12=u)}l.DATE_TIME_PROPS.indexOf(o)>-1&&(void 0===n.dateStyle&&void 0===n.timeStyle||(s=void 0)),void 0!==s&&(r[o]=s)}return r}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatToParts",{value:function(n){var i;return i=void 0===n?new r.default(Date.now()):(0,t.ToNumber)(n),(0,s.FormatDateTimeToParts)(this,i,{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatRangeToParts",{value:function(n,r){return(0,t.invariant)("object"==typeof this,"receiver is not an object",TypeError),(0,t.invariant)(void 0!==n&&void 0!==r,"startDate/endDate cannot be undefined",TypeError),(0,o.FormatDateTimeRangeToParts)(this,(0,t.ToNumber)(n),(0,t.ToNumber)(r),{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}}),(0,t.defineProperty)(e.DateTimeFormat.prototype,"formatRange",{value:function(n,r){return(0,t.invariant)("object"==typeof this,"receiver is not an object",TypeError),(0,t.invariant)(void 0!==n&&void 0!==r,"startDate/endDate cannot be undefined",TypeError),(0,a.FormatDateTimeRange)(this,(0,t.ToNumber)(n),(0,t.ToNumber)(r),{getInternalSlots:m.default,localeData:e.DateTimeFormat.localeData,tzData:e.DateTimeFormat.tzData,getDefaultTimeZone:e.DateTimeFormat.getDefaultTimeZone})}});e.DateTimeFormat.__setDefaultTimeZone=function(n){if(void 0!==n){if(n=String(n),!(0,t.IsValidTimeZoneName)(n,{zoneNamesFromData:Object.keys(e.DateTimeFormat.tzData),uppercaseLinks:h}))throw new RangeError("Invalid timeZoneName");n=(0,t.CanonicalizeTimeZoneName)(n,{zoneNames:Object.keys(e.DateTimeFormat.tzData),uppercaseLinks:h})}else n="UTC";e.DateTimeFormat.__defaultTimeZone=n},e.DateTimeFormat.relevantExtensionKeys=["nu","ca","hc"],e.DateTimeFormat.__defaultTimeZone="UTC",e.DateTimeFormat.getDefaultTimeZone=function(){return e.DateTimeFormat.__defaultTimeZone},e.DateTimeFormat.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=function(t,r){var i=t.dateFormat,a=t.timeFormat,o=t.dateTimeFormat,s=t.formats,u=t.intervalFormats,l=n.__rest(t,["dateFormat","timeFormat","dateTimeFormat","formats","intervalFormats"]),d=n.__assign(n.__assign({},l),{dateFormat:{full:(0,c.parseDateTimeSkeleton)(i.full),long:(0,c.parseDateTimeSkeleton)(i.long),medium:(0,c.parseDateTimeSkeleton)(i.medium),short:(0,c.parseDateTimeSkeleton)(i.short)},timeFormat:{full:(0,c.parseDateTimeSkeleton)(a.full),long:(0,c.parseDateTimeSkeleton)(a.long),medium:(0,c.parseDateTimeSkeleton)(a.medium),short:(0,c.parseDateTimeSkeleton)(a.short)},dateTimeFormat:{full:(0,c.parseDateTimeSkeleton)(o.full).pattern,long:(0,c.parseDateTimeSkeleton)(o.long).pattern,medium:(0,c.parseDateTimeSkeleton)(o.medium).pattern,short:(0,c.parseDateTimeSkeleton)(o.short).pattern},formats:{}}),m=function(e){d.formats[e]=Object.keys(s[e]).map(function(n){return(0,c.parseDateTimeSkeleton)(n,s[e][n],u[n],u.intervalFormatFallback)})};for(var f in s)m(f);var h=new Intl.Locale(r).minimize().toString();e.DateTimeFormat.localeData[r]=e.DateTimeFormat.localeData[h]=d,e.DateTimeFormat.availableLocales.add(r),e.DateTimeFormat.availableLocales.add(h),e.DateTimeFormat.__defaultLocale||(e.DateTimeFormat.__defaultLocale=h)},a=0,o=t;a<o.length;a++){var s=o[a];i(s.data,s.locale)}},Object.defineProperty(e.DateTimeFormat.prototype,"format",M),e.DateTimeFormat.__defaultLocale="",e.DateTimeFormat.localeData={},e.DateTimeFormat.availableLocales=new Set,e.DateTimeFormat.getDefaultLocale=function(){return e.DateTimeFormat.__defaultLocale},e.DateTimeFormat.polyfilled=!0,e.DateTimeFormat.tzData={},e.DateTimeFormat.__addTZData=function(n){e.DateTimeFormat.tzData=(0,f.unpack)(n)};try{"undefined"!=typeof Symbol&&Object.defineProperty(e.DateTimeFormat.prototype,Symbol.toStringTag,{value:"Intl.DateTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(e.DateTimeFormat.prototype.constructor,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}(gg)),gg}var hp,yp,Mp={},gp={};function pp(){if(yp)return Mp;yp=1,Object.defineProperty(Mp,"__esModule",{value:!0}),Mp.shouldPolyfill=function(t){void 0===t&&(t="en");if(!("DateTimeFormat"in Intl)||!("formatToParts"in Intl.DateTimeFormat.prototype)||!("formatRange"in Intl.DateTimeFormat.prototype)||function(){try{return"dayPeriod"!==new Intl.DateTimeFormat("en",{hourCycle:"h11",hour:"numeric"}).formatToParts(0)[2].type}catch(e){return!1}}()||function(){try{return!!new Intl.DateTimeFormat("en",{dateStyle:"short",hour:"numeric"}).format(new Date(0))}catch(e){return!1}}()||!function(){try{return!!new Intl.DateTimeFormat(void 0,{dateStyle:"short"}).resolvedOptions().dateStyle}catch(e){return!1}}()||!function(e){if(!e)return!0;var n=Array.isArray(e)?e:[e];return Intl.DateTimeFormat.supportedLocalesOf(n).length===n.length}(t))return t?(0,e.match)([t],n.supportedLocales,"en"):void 0};var e=KM,n=(hp||(hp=1,Object.defineProperty(gp,"__esModule",{value:!0}),gp.supportedLocales=void 0,gp.supportedLocales=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]),gp);return Mp}var wp,vp,bp={};var _p=function(){if(vp)return yg;vp=1,Object.defineProperty(yg,"__esModule",{value:!0});var e,n=(dp||(dp=1,e=Mg,Object.defineProperty(e,"__esModule",{value:!0}),wf.__exportStar(fp(),e)),Mg),t=qM,r=pp(),i=function(){if(wp)return bp;wp=1,Object.defineProperty(bp,"__esModule",{value:!0}),bp.toLocaleString=function(n,t,r){return new e.DateTimeFormat(t,r).format(n)},bp.toLocaleDateString=function(t,r,i){return new e.DateTimeFormat(r,(0,n.ToDateTimeOptions)(i,"date","date")).format(t)},bp.toLocaleTimeString=function(t,r,i){return new e.DateTimeFormat(r,(0,n.ToDateTimeOptions)(i,"time","time")).format(t)};var e=fp(),n=rp();return bp}();return(0,r.shouldPolyfill)()&&((0,t.defineProperty)(Intl,"DateTimeFormat",{value:n.DateTimeFormat}),(0,t.defineProperty)(Date.prototype,"toLocaleString",{value:function(e,n){void 0===n&&(n={dateStyle:"short",timeStyle:"medium"});try{return(0,i.toLocaleString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,t.defineProperty)(Date.prototype,"toLocaleDateString",{value:function(e,n){void 0===n&&(n={dateStyle:"short"});try{return(0,i.toLocaleDateString)(this,e,n)}catch(e){return"Invalid Date"}}}),(0,t.defineProperty)(Date.prototype,"toLocaleTimeString",{value:function(e,n){void 0===n&&(n={timeStyle:"medium"});try{return(0,i.toLocaleTimeString)(this,e,n)}catch(e){return"Invalid Date"}}})),yg}(),Ep=e({__proto__:null},[_p]);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 Tp=Object.freeze({__proto__:null});export{xc as Temporal,Pm as bbn,Pm as default};
18
18
  //# sourceMappingURL=bbn.sw.js.map