vue-spear-tip 0.4.4 → 0.4.7

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 (48) hide show
  1. package/README.md +4 -7
  2. package/dist/.vite/manifest.json +32 -32
  3. package/dist/{Button-BM4x8UTC.js → Button-CNuU5HqB.js} +10 -9
  4. package/dist/Button-IzqOMhqP.cjs +1 -0
  5. package/dist/{CodeHighlight-Ch_Skp9R.cjs → CodeHighlight-BcKpOwzv.cjs} +1 -1
  6. package/dist/{CodeHighlight-BtJ43HVq.js → CodeHighlight-C-7IT1Id.js} +1 -1
  7. package/dist/{DateField-fcmBEG4o.cjs → DateField-CYRNKQSI.cjs} +1 -1
  8. package/dist/{DateField-CMZ59XGG.js → DateField-FTkSpTiU.js} +2 -2
  9. package/dist/{FieldComponent.vue_vue_type_script_lang-h_4e5flf.js → FieldComponent.vue_vue_type_script_lang-BT32PExd.js} +1 -1
  10. package/dist/{FieldComponent.vue_vue_type_script_lang-BZ0JKynF.cjs → FieldComponent.vue_vue_type_script_lang-DWuu-Fih.cjs} +1 -1
  11. package/dist/Interfaces/IBaseVueComponent.d.ts +14 -2
  12. package/dist/Interfaces/IHammer.d.ts +21 -20
  13. package/dist/{SelectField-DdEJqLGt.cjs → SelectField-CzjtNgVT.cjs} +1 -1
  14. package/dist/{SelectField-pgxZKHNg.js → SelectField-DyA4UxP9.js} +2 -2
  15. package/dist/{StringField-Byqp-a6r.cjs → StringField-CGaoXR-6.cjs} +1 -1
  16. package/dist/{StringField-DQtU7cfZ.js → StringField-D7VlL-Jp.js} +2 -2
  17. package/dist/{SwitchField-Q6e29Po4.js → SwitchField-0kOF1ivu.js} +2 -2
  18. package/dist/{SwitchField-C1TKRONr.cjs → SwitchField-BplIlkCc.cjs} +1 -1
  19. package/dist/{Tabs-DR1PkD4G.cjs → Tabs-BVtQ9ry9.cjs} +1 -1
  20. package/dist/{Tabs--WKTgAGp.js → Tabs-Dze9VCLD.js} +1 -1
  21. package/dist/{TextField-mfW-UbBT.js → TextField-BRGeAinx.js} +2 -2
  22. package/dist/{TextField-ChglHPe8.cjs → TextField-BhOXU_9t.cjs} +1 -1
  23. package/dist/{index-DFvsHp5W.js → index-CZIk0r3J.js} +1618 -1580
  24. package/dist/index-DuXDoRjA.cjs +3 -0
  25. package/dist/replaceable/BaseComponent.vue +77 -25
  26. package/dist/vue-spear-tip.cjs.js +1 -1
  27. package/dist/vue-spear-tip.css +1 -1
  28. package/dist/vue-spear-tip.es.js +1 -1
  29. package/docs/index.html +1 -1
  30. package/docs/static/Button-Bz5IrKU7.css +1 -0
  31. package/docs/static/Button-CmMMSa6d.js +1 -0
  32. package/docs/static/{CodeHighlight-6K3rLIM2.js → CodeHighlight-DqcJi6RP.js} +1 -1
  33. package/docs/static/{DateField-CzzCC3Ij.js → DateField-Cc7ZMFE6.js} +1 -1
  34. package/docs/static/{FieldComponent.vue_vue_type_script_lang-BWX4RHd6.js → FieldComponent.vue_vue_type_script_lang-B9BnoGSI.js} +1 -1
  35. package/docs/static/{NoSymbolIcon-MgW5xise.js → NoSymbolIcon-uyJtkpe7.js} +1 -1
  36. package/docs/static/{SelectField-BFviA5Is.js → SelectField-DydszTCK.js} +1 -1
  37. package/docs/static/{StringField-eX3wQhT4.js → StringField-CMlNaHc_.js} +1 -1
  38. package/docs/static/{SwitchField-l137X54T.js → SwitchField-PLGRaUSv.js} +1 -1
  39. package/docs/static/{Tabs-CqsG9KCz.js → Tabs-DjEzQX44.js} +1 -1
  40. package/docs/static/{TextField-CA53Nw45.js → TextField-BFVUJJiK.js} +1 -1
  41. package/docs/static/index-DX-dLB4y.js +2 -0
  42. package/docs/static/{main-BLqmvqNv.js → main-CuUCc1ed.js} +5 -5
  43. package/package.json +1 -1
  44. package/dist/Button-DqoCbhgv.cjs +0 -1
  45. package/dist/index-C-oCSkuQ.cjs +0 -3
  46. package/docs/static/Button-BuXt8FG8.css +0 -1
  47. package/docs/static/Button-DF09jlnX.js +0 -1
  48. package/docs/static/index-C17t5Bw_.js +0 -2
@@ -0,0 +1,3 @@
1
+ "use strict";var Nl=Object.defineProperty;var ka=t=>{throw TypeError(t)};var r=(t,e)=>Nl(t,"name",{value:e,configurable:!0});var oi=(t,e,n)=>e.has(t)||ka("Cannot "+n);var st=(t,e,n)=>(oi(t,e,"read from private field"),n?n.call(t):e.get(t)),mr=(t,e,n)=>e.has(t)?ka("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),gr=(t,e,n,o)=>(oi(t,e,"write to private field"),o?o.call(t,n):e.set(t,n),n),Tt=(t,e,n)=>(oi(t,e,"access private method"),n);const q=require("vue");function It(t,e,n,o,i){return ye(e,((s,c)=>{const h=s[c];if(h===void 0)throw new TypeError(ys(c));return h})(t,e),n,o,i)}r(It,"clampProp");function ye(t,e,n,o,i,s){const c=kr(e,n,o);if(i&&e!==c)throw new RangeError(ku(t,e,n,o,s));return c}r(ye,"clampEntity");function Ot(t){return t!==null&&/object|function/.test(typeof t)}r(Ot,"s");function Ft(t,e=Map){const n=new e;return(o,...i)=>{if(n.has(o))return n.get(o);const s=t(o,...i);return n.set(o,s),s}}r(Ft,"on");function Sr(t){return $n({name:t},1)}r(Sr,"r");function $n(t,e){return Te((n=>({value:n,configurable:1,writable:!e})),t)}r($n,"n");function Rl(t){return Te((e=>({get:e,configurable:1})),t)}r(Rl,"t");function Oi(t){return{[Symbol.toStringTag]:{value:t,configurable:1}}}r(Oi,"o");function Yn(t,e){const n={};let o=t.length;for(const i of e)n[t[--o]]=i;return n}r(Yn,"zipProps");function Te(t,e,n){const o={};for(const i in e)o[i]=t(e[i],i,n);return o}r(Te,"e");function Bo(t,e,n){const o={};for(let i=0;i<e.length;i++){const s=e[i];o[s]=t(s,i,n)}return o}r(Bo,"g");function hc(t,e,n){const o={};for(let i=0;i<t.length;i++)o[e[i]]=n[t[i]];return o}r(hc,"remapProps");function Wt(t,e){const n=Object.create(null);for(const o of t)n[o]=e[o];return n}r(Wt,"nn");function Ea(t,e){for(const n of e)if(n in t)return 1;return 0}r(Ea,"hasAnyPropsByName");function fc(t,e,n){for(const o of t)if(e[o]!==n[o])return 0;return 1}r(fc,"allPropsEqual");function dc(t,e,n){const o={...n};for(let i=0;i<e;i++)o[t[i]]=0;return o}r(dc,"zeroOutProps");function Z(t,...e){return(...n)=>t(...e,...n)}r(Z,"Pt");function Ba(t){return t[0].toUpperCase()+t.substring(1)}r(Ba,"capitalize");function Ir(t){return t.slice().sort()}r(Ir,"sortStrings");function fo(t,e){return String(e).padStart(t,"0")}r(fo,"padNumber");function $e(t,e){return Math.sign(t-e)}r($e,"compareNumbers");function kr(t,e,n){return Math.min(Math.max(t,e),n)}r(kr,"clampNumber");function ve(t,e){return[Math.floor(t/e),Tr(t,e)]}r(ve,"divModFloor");function Tr(t,e){return(t%e+e)%e}r(Tr,"modFloor");function Fe(t,e){return[Oo(t,e),_i(t,e)]}r(Fe,"divModTrunc");function Oo(t,e){return Math.trunc(t/e)||0}r(Oo,"divTrunc");function _i(t,e){return t%e||0}r(_i,"modTrunc");function oo(t){return Math.abs(t%1)===.5}r(oo,"hasHalf");function pc(t,e,n){let o=0,i=0;for(let h=0;h<=e;h++){const p=t[n[h]],m=ce[h],b=J/m,[y,l]=Fe(p,b);o+=l*m,i+=y}const[s,c]=Fe(o,J);return[i+s,c]}r(pc,"givenFieldsToBigNano");function _o(t,e,n){const o={};for(let i=e;i>=0;i--){const s=ce[i];o[n[i]]=Oo(t,s),t=_i(t,s)}return o}r(_o,"nanoToGivenFields");function $l(t){if(t!==void 0)return wt(t)}r($l,"d");function jl(t){if(t!==void 0)return ge(t)}r(jl,"P");function mc(t){if(t!==void 0)return xi(t)}r(mc,"S");function ge(t){return bc(xi(t))}r(ge,"h");function xi(t){return vc(Gf(t))}r(xi,"T");function gc(t,e){if(e==null)throw new RangeError(ys(t));return e}r(gc,"requirePropDefined");function Pr(t){if(!Ot(t))throw new TypeError(yf);return t}r(Pr,"requireObjectLike");function Mi(t,e,n=t){if(typeof e!==t)throw new TypeError(Je(n,e));return e}r(Mi,"requireType");function vc(t,e="number"){if(!Number.isInteger(t))throw new RangeError(pf(e,t));return t||0}r(vc,"ze");function bc(t,e="number"){if(t<=0)throw new RangeError(mf(e,t));return t}r(bc,"requireNumberIsPositive");function Di(t){if(typeof t=="symbol")throw new TypeError(wf);return String(t)}r(Di,"toString");function co(t,e){return Ot(t)?String(t):wt(t,e)}r(co,"toStringViaPrimitive");function Ii(t){if(typeof t=="string")return BigInt(t);if(typeof t!="bigint")throw new TypeError(bf(t));return t}r(Ii,"toBigInt");function wc(t,e="number"){if(typeof t=="bigint")throw new TypeError(vf(e));if(t=Number(t),!Number.isFinite(t))throw new RangeError(gf(e,t));return t}r(wc,"toNumber");function kt(t,e){return Math.trunc(wc(t,e))||0}r(kt,"toInteger");function Pi(t,e){return vc(wc(t,e),e)}r(Pi,"toStrictInteger");function Oa(t,e){return bc(kt(t,e),e)}r(Oa,"toPositiveInteger");function Ai(t,e){let[n,o]=Fe(e,J),i=t+n;const s=Math.sign(i);return s&&s===-Math.sign(o)&&(i-=s,o+=s*J),[i,o]}r(Ai,"createBigNano");function jn(t,e,n=1){return Ai(t[0]+e[0]*n,t[1]+e[1]*n)}r(jn,"addBigNanos");function pn(t,e){return Ai(t[0],t[1]+e)}r(pn,"moveBigNano");function se(t,e){return jn(e,t,-1)}r(se,"diffBigNanos");function Yt(t,e){return $e(t[0],e[0])||$e(t[1],e[1])}r(Yt,"compareBigNanos");function yc(t,e,n){return Yt(t,e)===-1||Yt(t,n)===1}r(yc,"bigNanoOutside");function Ni(t,e=1){const n=BigInt(J/e);return[Number(t/n),Number(t%n)*e]}r(Ni,"bigIntToBigNano");function po(t,e=1){const n=J/e,[o,i]=Fe(t,n);return[o,i*e]}r(po,"Ge");function ae(t,e=1,n){const[o,i]=t,[s,c]=Fe(i,e);return o*(J/e)+(s+(n?c/e:0))}r(ae,"bigNanoToNumber");function Ri(t,e,n=ve){const[o,i]=t,[s,c]=n(i,e);return[o*(J/e)+s,c]}r(Ri,"divModBigNano");function $i(t){return It(t,"isoYear",Mr,xr,1),t.isoYear===Mr?It(t,"isoMonth",4,12,1):t.isoYear===xr&&It(t,"isoMonth",1,9,1),t}r($i,"checkIsoYearMonthInBounds");function Zt(t){return Nt({...t,...Rt,isoHour:12}),t}r(Zt,"checkIsoDateInBounds");function Nt(t){const e=It(t,"isoYear",Mr,xr,1),n=e===Mr?1:e===xr?-1:0;return n&&ue(pt({...t,isoDay:t.isoDay+n,isoNanosecond:t.isoNanosecond-n})),t}r(Nt,"checkIsoDateTimeInBounds");function ue(t){if(!t||yc(t,nd,ed))throw new RangeError(Ke);return t}r(ue,"checkEpochNanoInBounds");function Ye(t){return pc(t,5,Jt)[1]}r(Ye,"isoTimeFieldsToNano");function xo(t){const[e,n]=ve(t,J);return[_o(n,5,Jt),e]}r(xo,"nanoToIsoTimeAndDay");function _a(t){return Ri(t,ie)}r(_a,"epochNanoToSecMod");function Et(t){return Hn(t.isoYear,t.isoMonth,t.isoDay,t.isoHour,t.isoMinute,t.isoSecond,t.isoMillisecond)}r(Et,"isoToEpochMilli");function pt(t){const e=Et(t);if(e!==void 0){const[n,o]=Fe(e,At);return[n,o*ke+(t.isoMicrosecond||0)*Fr+(t.isoNanosecond||0)]}}r(pt,"isoToEpochNano");function ji(t,e){const[n,o]=xo(Ye(t)-e);return ue(pt({...t,isoDay:t.isoDay+o,...n}))}r(ji,"isoToEpochNanoWithOffset");function mo(...t){return Hn(...t)/Pu}r(mo,"isoArgsToEpochSec");function Hn(...t){const[e,n]=Tc(...t),o=e.valueOf();if(!isNaN(o))return o-n*At}r(Hn,"isoArgsToEpochMilli");function Tc(t,e=1,n=1,o=0,i=0,s=0,c=0){const h=t===Mr?1:t===xr?-1:0,p=new Date;return p.setUTCHours(o,i,s,c),p.setUTCFullYear(t,e-1,n+h),[p,h]}r(Tc,"isoToLegacyDate");function zn(t,e){let[n,o]=pn(t,e);o<0&&(o+=J,n-=1);const[i,s]=ve(o,ke),[c,h]=ve(s,Fr);return Mo(n*At+i,c,h)}r(zn,"epochNanoToIso");function Mo(t,e=0,n=0){const o=Math.ceil(Math.max(0,Math.abs(t)-Is)/At)*Math.sign(t),i=new Date(t-o*At);return Yn(Jo,[i.getUTCFullYear(),i.getUTCMonth()+1,i.getUTCDate()+o,i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds(),e,n])}r(Mo,"epochMilliToIso");function Vi(t,e){if(e<-Is)throw new RangeError(Ke);const n=t.formatToParts(e),o={};for(const i of n)o[i.type]=i.value;return o}r(Vi,"hashIntlFormatParts");function Fi(t){return[t.isoYear,t.isoMonth,t.isoDay]}r(Fi,"computeIsoDateParts");function Cc(t,e){return[e,0]}r(Cc,"computeIsoMonthCodeParts");function Sc(){return Ie}r(Sc,"computeIsoMonthsInYear");function kc(t,e){switch(e){case 2:return Yi(t)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}r(kc,"computeIsoDaysInMonth");function Ec(t){return Yi(t)?366:365}r(Ec,"computeIsoDaysInYear");function Yi(t){return t%4==0&&(t%100!=0||t%400==0)}r(Yi,"computeIsoInLeapYear");function Bc(t){const[e,n]=Tc(t.isoYear,t.isoMonth,t.isoDay);return Tr(e.getUTCDay()-n,7)||7}r(Bc,"computeIsoDayOfWeek");function Oc(t){return this.id===Jn?(({isoYear:e})=>e<1?["gregory-inverse",1-e]:["gregory",e])(t):this.id===qe?id(t):[]}r(Oc,"computeIsoEraParts");function Vl(t){const e=Et(t);if(e<od){const{isoYear:s}=t;return s<1?["japanese-inverse",1-s]:["japanese",s]}const n=Vi(Hs(qe),e),{era:o,eraYear:i}=du(n,qe);return[o,i]}r(Vl,"computeJapaneseEraParts");function Do(t){return bn(t),qn(t,1),t}r(Do,"checkIsoDateTimeFields");function bn(t){return _c(t,1),t}r(bn,"checkIsoDateFields");function xa(t){return fc(xs,t,_c(t))}r(xa,"isIsoDateFieldsValid");function _c(t,e){const{isoYear:n}=t,o=It(t,"isoMonth",1,Sc(),e);return{isoYear:n,isoMonth:o,isoDay:It(t,"isoDay",1,kc(n,o),e)}}r(_c,"constrainIsoDateFields");function qn(t,e){return Yn(Jt,[It(t,"isoHour",0,23,e),It(t,"isoMinute",0,59,e),It(t,"isoSecond",0,59,e),It(t,"isoMillisecond",0,999,e),It(t,"isoMicrosecond",0,999,e),It(t,"isoNanosecond",0,999,e)])}r(qn,"constrainIsoTimeFields");function W(t){return t===void 0?0:Wu(Pr(t))}r(W,"mt");function Io(t,e=0){t=le(t);const n=Gu(t),o=md(t,e);return[Wu(t),o,n]}r(Io,"je");function Un(t,e,n,o=9,i=0,s=4){e=le(e);let c=Lu(e,o,i),h=qi(e),p=zr(e,s);const m=Hr(e,o,i,1);return c==null?c=Math.max(n,m):Ic(c,m),h=Ui(h,m,1),t&&(p=(b=>b<4?(b+2)%4:b)(p)),[c,m,h,p]}r(Un,"refineDiffOptions");function Po(t,e=6,n){let o=qi(t=Ao(t,To));const i=zr(t,7);let s=Hr(t,e);return s=gc(To,s),o=Ui(o,s,void 0,n),[s,o,i]}r(Po,"refineRoundingOptions");function Hi(t){return Ps(le(t))}r(Hi,"refineDateDisplayOptions");function xc(t,e){return zi(le(t),e)}r(xc,"refineTimeDisplayOptions");function Fl(t){const e=Ao(t,fi),n=Ze(fi,dd,e,0);if(!n)throw new RangeError(Je(fi,n));return n}r(Fl,"Me");function zi(t,e=4){const n=Dc(t);return[zr(t,4),...Mc(Hr(t,e),n)]}r(zi,"refineTimeDisplayTuple");function Mc(t,e){return t!=null?[ce[t],t<4?9-3*t:-1]:[e===void 0?1:10**(9-e),e]}r(Mc,"refineSmallestUnitAndSubsecDigits");function qi(t){const e=t[Cr];return e===void 0?1:kt(e,Cr)}r(qi,"parseRoundingIncInteger");function Ui(t,e,n,o){const i=o?J:ce[e+1];if(i){const s=ce[e];if(i%((t=ye(Cr,t,1,i/s-(o?0:1),1))*s))throw new RangeError(Je(Cr,t))}else t=ye(Cr,t,1,n?10**9:1,1);return t}r(Ui,"refineRoundingInc");function Dc(t){let e=t[hi];if(e!==void 0){if(typeof e!="number"){if(Di(e)==="auto")return;throw new RangeError(Je(hi,e))}e=ye(hi,Math.floor(e),0,9,1)}return e}r(Dc,"refineSubsecDigits");function le(t){return t===void 0?{}:Pr(t)}r(le,"normalizeOptions");function Ao(t,e){return typeof t=="string"?{[e]:t}:Pr(t)}r(Ao,"normalizeOptionsOrString");function No(t){return{overflow:sd[t]}}r(No,"fabricateOverflowOptions");function Zi(t,e,n=9,o=0,i){let s=e[t];if(s===void 0)return i?o:void 0;if(s=Di(s),s==="auto")return i?o:null;let c=gi[s];if(c===void 0&&(c=Kf[s]),c===void 0)throw new RangeError(Bu(t,s,gi));return ye(t,c,o,n,1,Ts),c}r(Zi,"refineUnitOption");function Ze(t,e,n,o=0){const i=n[t];if(i===void 0)return o;const s=Di(i),c=e[s];if(c===void 0)throw new RangeError(Bu(t,s,e));return c}r(Ze,"refineChoiceOption");function Ic(t,e){if(e>t)throw new RangeError(Yf)}r(Ic,"checkLargestSmallestUnit");function Ce(t){return{branding:$s,epochNanoseconds:t}}r(Ce,"xe");function Gt(t,e,n){return{branding:Qe,calendar:n,timeZone:e,epochNanoseconds:t}}r(Gt,"_e");function Xt(t,e=t.calendar){return{branding:Kn,calendar:e,...Wt(Qf,t)}}r(Xt,"jt");function Se(t,e=t.calendar){return{branding:qr,calendar:e,...Wt(Ms,t)}}r(Se,"W");function Er(t,e=t.calendar){return{branding:As,calendar:e,...Wt(Ms,t)}}r(Er,"createPlainYearMonthSlots");function go(t,e=t.calendar){return{branding:Ns,calendar:e,...Wt(Ms,t)}}r(go,"createPlainMonthDaySlots");function he(t){return{branding:Rs,...Wt(zu,t)}}r(he,"St");function ft(t){return{branding:js,sign:Le(t),...Wt(Bs,t)}}r(ft,"Oe");function Li(t){return Ri(t.epochNanoseconds,ke)[0]}r(Li,"I");function Yl(t){return((e,n=1)=>{const[o,i]=e,s=Math.floor(i/n),c=J/n;return BigInt(o)*BigInt(c)+BigInt(s)})(t.epochNanoseconds)}r(Yl,"v");function Pc(t){return t.epochNanoseconds}r(Pc,"extractEpochNano");function Hl(t,e,n,o,i){const s=mn(o),[c,h]=((B,x)=>{const k=x((B=Ao(B,wi))[Uu]);let E=pd(B);return E=gc(wi,E),[E,k]})(i,t),p=Math.max(c,s);if(!h&&Or(p,h))return Ma(o,c);if(!h)throw new RangeError(Wo);if(!o.sign)return 0;const[m,b,y]=Fo(e,n,h),l=ns(y),v=Yo(y),d=rs(y),f=v(b,m,o);Vn(h)||(Nt(m),Nt(f));const w=d(b,m,f,c);return Or(c,h)?Ma(w,c):((B,x,k,E,I,$,j)=>{const G=Le(B),[U,$t]=Wi(E,_s(k,B),k,G,I,$,j),Mt=Gi(x,U,$t);return B[X[k]]+Mt*G})(w,l(f),c,b,m,l,v)}r(Hl,"J");function Ma(t,e){return ae(mt(t),ce[e],1)}r(Ma,"totalDayTimeDuration");function Wi(t,e,n,o,i,s,c){const h=X[n],p={...e,[h]:e[h]+o},m=c(t,i,e),b=c(t,i,p);return[s(m),s(b)]}r(Wi,"clampRelativeDuration");function Gi(t,e,n){const o=ae(se(e,n));if(!o)throw new RangeError(Xn);return ae(se(e,t))/o}r(Gi,"computeEpochNanoFrac");function zl(t,e){const[n,o,i]=Po(e,5,1);return Ce($o(t.epochNanoseconds,n,o,i,1))}r(zl,"Le");function ql(t,e,n){let{epochNanoseconds:o,timeZone:i,calendar:s}=e;const[c,h,p]=Po(n);if(c===0&&h===1)return e;const m=t(i);if(c===6)o=((b,y,l,v)=>{const d=zt(l,y),[f,w]=b(d),B=l.epochNanoseconds,x=ze(y,f),k=ze(y,w);if(yc(B,x,k))throw new RangeError(Xn);return jc(Gi(B,x,k),v)?k:x})(Rc,m,e,p);else{const b=m.R(o);o=Zn(m,Ac(zn(o,b),c,h,p),b,2,0,1)}return Gt(o,i,s)}r(ql,"Ie");function Ul(t,e){return Xt(Ac(t,...Po(e)),t.calendar)}r(Ul,"vt");function Zl(t,e){const[n,o,i]=Po(e,5);var s;return he((s=i,Xi(t,Ar(n,o),s)[0]))}r(Zl,"lt");function Ll(t,e){const n=t(e.timeZone),o=zt(e,n),[i,s]=Rc(o),c=ae(se(ze(n,i),ze(n,s)),Xo,1);if(c<=0)throw new RangeError(Xn);return c}r(Ll,"Te");function Wl(t,e){const{timeZone:n,calendar:o}=e,i=((s,c,h)=>ze(c,s(zt(h,c))))($c,t(n),e);return Gt(i,n,o)}r(Wl,"ve");function Ac(t,e,n,o){return Nc(t,Ar(e,n),o)}r(Ac,"roundDateTime");function Nc(t,e,n){const[o,i]=Xi(t,e,n);return Nt({...wn(t,i),...o})}r(Nc,"roundDateTimeToNano");function Xi(t,e,n){return xo(He(Ye(t),e,n))}r(Xi,"roundTimeToNano");function vo(t){return He(t,Go,7)}r(vo,"roundToMinute");function Ar(t,e){return ce[t]*e}r(Ar,"computeNanoInc");function Rc(t){const e=$c(t);return[e,wn(e,1)]}r(Rc,"computeDayInterval");function $c(t){return td(6,t)}r($c,"computeDayFloor");function Gl(t,e,n){const o=Math.min(mn(t),6);return Ln(jo(mt(t,o),e,n),o)}r(Gl,"roundDayTimeDurationByInc");function Ro(t,e,n,o,i,s,c,h,p,m){if(o===0&&i===1)return t;const b=Or(o,h)?Vn(h)&&o<6&&n>=6?Jl:Xl:Kl;let[y,l,v]=b(t,e,n,o,i,s,c,h,p,m);return v&&o!==7&&(y=((d,f,w,B,x,k,E,I)=>{const $=Le(d);for(let j=B+1;j<=w;j++){if(j===7&&w!==7)continue;const G=_s(j,d);G[X[j]]+=$;const U=ae(se(E(I(x,k,G)),f));if(U&&Math.sign(U)!==$)break;d=G}return d})(y,l,n,Math.max(6,o),c,h,p,m)),y}r(Ro,"roundRelativeDuration");function $o(t,e,n,o,i){if(e===6){const s=(c=>c[0]+c[1]/J)(t);return[He(s,n,o),0]}return jo(t,Ar(e,n),o,i)}r($o,"roundBigNano");function jo(t,e,n,o){let[i,s]=t;o&&s<0&&(s+=J,i-=1);const[c,h]=ve(He(s,e,n),J);return Ai(i+c,h)}r(jo,"roundBigNanoByInc");function He(t,e,n){return jc(t/e,n)*e}r(He,"roundByInc");function jc(t,e){return bd[e](t)}r(jc,"roundWithMode");function Xl(t,e,n,o,i,s){const c=Le(t),h=mt(t),p=$o(h,o,i,s),m=se(h,p),b=Math.sign(p[0]-h[0])===c,y=Ln(p,Math.min(n,6));return[{...t,...y},jn(e,m),b]}r(Xl,"nudgeDayTimeDuration");function Jl(t,e,n,o,i,s,c,h,p,m){const b=Le(t)||1,y=ae(mt(t,5)),l=Ar(o,i);let v=He(y,l,s);const[d,f]=Wi(c,{...t,...Os},6,b,h,p,m),w=v-ae(se(d,f));let B=0;w&&Math.sign(w)!==b?e=pn(d,v):(B+=b,v=He(w,l,s),e=pn(f,v));const x=Ho(v);return[{...t,...x,days:t.days+B},e,!!B]}r(Jl,"nudgeZonedTimeDuration");function Kl(t,e,n,o,i,s,c,h,p,m){const b=Le(t),y=X[o],l=_s(o,t);o===7&&(t={...t,weeks:t.weeks+Math.trunc(t.days/7)});const v=Oo(t[y],i)*i;l[y]=v;const[d,f]=Wi(c,l,o,i*b,h,p,m),w=v+Gi(e,d,f)*b*i,B=He(w,i,s),x=Math.sign(B-w)===b;return l[y]=B,[l,x?f:d,x]}r(Kl,"nudgeRelativeDuration");function Da(t,e,n,o){const[i,s,c,h]=(m=>{const b=zi(m=le(m));return[m.timeZone,...b]})(o),p=i!==void 0;return((m,b,y,l,v,d)=>{y=jo(y,v,l,1);const f=b.R(y);return Ji(zn(y,f),d)+(m?Nr(vo(f)):"Z")})(p,e(p?t(i):Sn),n.epochNanoseconds,s,c,h)}r(Da,"ke");function Ia(t,e,n){const[o,i,s,c,h,p]=(m=>{m=le(m);const b=Ps(m),y=Dc(m),l=vd(m),v=zr(m,4),d=Hr(m,4);return[b,gd(m),l,v,...Mc(d,y)]})(n);return((m,b,y,l,v,d,f,w,B,x)=>{l=jo(l,B,w,1);const k=m(y).R(l);return Ji(zn(l,k),x)+Nr(vo(k),f)+((E,I)=>I!==1?"["+(I===2?"!":"")+E+"]":"")(y,d)+Ki(b,v)})(t,e.calendar,e.timeZone,e.epochNanoseconds,o,i,s,c,h,p)}r(Ia,"Fe");function Pa(t,e){const[n,o,i,s]=(m=>(m=le(m),[Ps(m),...zi(m)]))(e);return c=t.calendar,h=n,p=s,Ji(Nc(t,i,o),p)+Ki(c,h);var c,h,p}r(Pa,"Ft");function Aa(t,e){return n=t.calendar,o=t,i=Hi(e),bo(o)+Ki(n,i);var n,o,i}r(Aa,"ce");function Na(t,e){return Vc(t.calendar,Fc,t,Hi(e))}r(Na,"Kt");function Ra(t,e){return Vc(t.calendar,Ql,t,Hi(e))}r(Ra,"Jt");function $a(t,e){const[n,o,i]=xc(e);return s=i,Yc(Xi(t,o,n)[0],s);var s}r($a,"ct");function ii(t,e){const[n,o,i]=xc(e,3);return o>1&&yn(t={...t,...Gl(t,o,n)}),((s,c)=>{const{sign:h}=s,p=h===-1?_t(s):s,{hours:m,minutes:b}=p,[y,l]=Ri(mt(p,3),ie,Fe);Uc(y);const v=Qi(l,c),d=c>=0||!h||v;return(h<0?"-":"")+"P"+ja({Y:hn(p.years),M:hn(p.months),W:hn(p.weeks),D:hn(p.days)})+(m||b||y||d?"T"+ja({H:hn(m),M:hn(b),S:hn(y,d)+v}):"")})(t,i)}r(ii,"k");function Vc(t,e,n,o){const i=o>1||o===0&&t!==L;return o===1?t===L?e(n):bo(n):i?bo(n)+Hc(t,o===2):e(n)}r(Vc,"formatDateLikeIso");function ja(t){const e=[];for(const n in t){const o=t[n];o&&e.push(o,n)}return e.join("")}r(ja,"formatDurationFragments");function Ji(t,e){return bo(t)+"T"+Yc(t,e)}r(Ji,"formatIsoDateTimeFields");function bo(t){return Fc(t)+"-"+Lt(t.isoDay)}r(bo,"formatIsoDateFields");function Fc(t){const{isoYear:e}=t;return(e<0||e>9999?zc(e)+fo(6,Math.abs(e)):fo(4,e))+"-"+Lt(t.isoMonth)}r(Fc,"formatIsoYearMonthFields");function Ql(t){return Lt(t.isoMonth)+"-"+Lt(t.isoDay)}r(Ql,"formatIsoMonthDayFields");function Yc(t,e){const n=[Lt(t.isoHour),Lt(t.isoMinute)];return e!==-1&&n.push(Lt(t.isoSecond)+((o,i,s,c)=>Qi(o*ke+i*Fr+s,c))(t.isoMillisecond,t.isoMicrosecond,t.isoNanosecond,e)),n.join(":")}r(Yc,"formatIsoTimeFields");function Nr(t,e=0){if(e===1)return"";const[n,o]=ve(Math.abs(t),Xo),[i,s]=ve(o,Go),[c,h]=ve(s,ie);return zc(t)+Lt(n)+":"+Lt(i)+(c||h?":"+Lt(c)+Qi(h):"")}r(Nr,"Se");function Ki(t,e){return e!==1&&(e>1||e===0&&t!==L)?Hc(t,e===2):""}r(Ki,"formatCalendar");function Hc(t,e){return"["+(e?"!":"")+"u-ca="+t+"]"}r(Hc,"formatCalendarId");function Qi(t,e){let n=fo(9,t);return n=e===void 0?n.replace(Td,""):n.slice(0,e),n?"."+n:""}r(Qi,"formatSubsecNano");function zc(t){return t<0?"-":"+"}r(zc,"getSignStr");function hn(t,e){return t||e?t.toLocaleString("fullwide",{useGrouping:0}):""}r(hn,"formatDurationNumber");function th(t,e){const{epochNanoseconds:n}=t,o=(e.R?e:e(t.timeZone)).R(n),i=zn(n,o);return{calendar:t.calendar,...i,offsetNanoseconds:o}}r(th,"_zonedEpochSlotsToIso");function Zn(t,e,n,o=0,i=0,s,c){if(n!==void 0&&o===1&&(o===1||c))return ji(e,n);const h=t.I(e);if(n!==void 0&&o!==3){const p=((m,b,y,l)=>{const v=pt(b);l&&(y=vo(y));for(const d of m){let f=ae(se(d,v));if(l&&(f=vo(f)),f===y)return d}})(h,e,n,s);if(p!==void 0)return p;if(o===0)throw new RangeError(Nf)}return c?pt(e):Rr(t,e,i,h)}r(Zn,"getMatchingInstantFor");function Rr(t,e,n=0,o=t.I(e)){if(o.length===1)return o[0];if(n===1)throw new RangeError(Rf);if(o.length)return o[n===3?1:0];const i=pt(e),s=((h,p)=>{const m=h.R(pn(p,-J));return(b=>{if(b>J)throw new RangeError(Af);return b})(h.R(pn(p,J))-m)})(t,i),c=s*(n===2?-1:1);return(o=t.I(zn(i,c)))[n===2?0:o.length-1]}r(Rr,"getSingleInstantFor");function ze(t,e){const n=t.I(e);if(n.length)return n[0];const o=pn(pt(e),-J);return t.O(o,1)}r(ze,"getStartOfDayInstantFor");function Va(t,e,n){return Ce(ue(jn(e.epochNanoseconds,(o=>{if(Zc(o))throw new RangeError(Vf);return mt(o,5)})(t?_t(n):n))))}r(Va,"Ye");function Fa(t,e,n,o,i,s=Object.create(null)){const c=e(o.timeZone),h=t(o.calendar);return{...o,...ts(c,h,o,n?_t(i):i,s)}}r(Fa,"pe");function Ya(t,e,n,o,i=Object.create(null)){const{calendar:s}=n;return Xt(es(t(s),n,e?_t(o):o,i),s)}r(Ya,"wt");function Ha(t,e,n,o,i){const{calendar:s}=n;return Se(Vo(t(s),n,e?_t(o):o,i),s)}r(Ha,"ne");function za(t,e,n,o,i){const s=n.calendar,c=t(s);let h=Zt(Br(c,n));e&&(o=os(o)),o.sign<0&&(h=c.P(h,{...gt,months:1}),h=wn(h,-1));const p=c.P(h,o,i);return Er(Br(c,p),s)}r(za,"Gt");function qa(t,e,n){return he(qc(e,t?_t(n):n)[0])}r(qa,"at");function ts(t,e,n,o,i){const s=mt(o,5);let c=n.epochNanoseconds;if(Zc(o)){const h=zt(n,t);c=jn(Rr(t,{...Vo(e,h,{...o,...Os},i),...Wt(Jt,h)}),s)}else c=jn(c,s),W(i);return{epochNanoseconds:ue(c)}}r(ts,"moveZonedEpochs");function es(t,e,n,o){const[i,s]=qc(e,n);return Nt({...Vo(t,e,{...n,...Os,days:n.days+s},o),...i})}r(es,"moveDateTime");function Vo(t,e,n,o){if(n.years||n.months||n.weeks)return t.P(e,n,o);W(o);const i=n.days+mt(n,5)[0];return i?Zt(wn(e,i)):e}r(Vo,"moveDate");function Br(t,e,n=1){return wn(e,n-t.day(e))}r(Br,"moveToDayOfMonthUnsafe");function qc(t,e){const[n,o]=mt(e,5),[i,s]=xo(Ye(t)+o);return[i,n+s]}r(qc,"moveTime");function wn(t,e){return e?{...t,...Mo(Et(t)+e*At)}:t}r(wn,"moveByDays");function Fo(t,e,n){const o=t(n.calendar);return Vn(n)?[n,o,e(n.timeZone)]:[{...n,...Rt},o]}r(Fo,"createMarkerSystem");function ns(t){return t?Pc:pt}r(ns,"createMarkerToEpochNano");function Yo(t){return t?Z(ts,t):es}r(Yo,"createMoveMarker");function rs(t){return t?Z(kh,t):Eh}r(rs,"createDiffMarkers");function Vn(t){return t&&t.epochNanoseconds}r(Vn,"isZonedEpochSlots");function Or(t,e){return t<=6-(Vn(e)?1:0)}r(Or,"isUniformUnit");function Ua(t,e,n,o,i,s,c){const h=t(le(c).relativeTo),p=Math.max(mn(i),mn(s));if(Or(p,h))return ft(yn(((f,w,B,x)=>{const k=jn(mt(f),mt(w),x?-1:1);if(!Number.isFinite(k[0]))throw new RangeError(Ke);return{...gt,...Ln(k,B)}})(i,s,p,o)));if(!h)throw new RangeError(Wo);o&&(s=_t(s));const[m,b,y]=Fo(e,n,h),l=Yo(y),v=rs(y),d=l(b,m,i);return ft(v(b,m,l(b,d,s),p))}r(Ua,"E");function eh(t,e,n,o,i){const s=mn(o),[c,h,p,m,b]=(($,j,G)=>{$=Ao($,To);let U=Lu($);const $t=G($[Uu]);let Mt=qi($);const Oe=zr($,7);let at=Hr($);if(U===void 0&&at===void 0)throw new RangeError(Ff);if(at==null&&(at=0),U==null&&(U=Math.max(at,j)),Ic(U,at),Mt=Ui(Mt,at,1),Mt>1&&at>5&&U!==at)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");return[U,at,Mt,Oe,$t]})(i,s,t),y=Math.max(s,c);if(!b&&y<=6)return ft(yn((($,j,G,U,$t)=>{const Mt=$o(mt($),G,U,$t);return{...gt,...Ln(Mt,j)}})(o,c,h,p,m)));if(!Vn(b)&&!o.sign)return o;if(!b)throw new RangeError(Wo);const[l,v,d]=Fo(e,n,b),f=ns(d),w=Yo(d),B=rs(d),x=w(v,l,o);Vn(b)||(Nt(l),Nt(x));let k=B(v,l,x,c);const E=o.sign,I=Le(k);if(E&&I&&E!==I)throw new RangeError(Xn);return k=Ro(k,f(x),c,h,p,m,v,l,f,w),ft(k)}r(eh,"V");function nh(t){return t.sign===-1?os(t):t}r(nh,"Y");function os(t){return ft(_t(t))}r(os,"B");function _t(t){const e={};for(const n of X)e[n]=-1*t[n]||0;return e}r(_t,"negateDurationFields");function rh(t){return!t.sign}r(rh,"y");function Le(t,e=X){let n=0;for(const o of e){const i=Math.sign(t[o]);if(i){if(n&&n!==i)throw new RangeError(jf);n=i}}return n}r(Le,"computeDurationSign");function yn(t){for(const e of Jf)ye(e,t[e],-nc,nc,1);return Uc(ae(mt(t),ie)),t}r(yn,"checkDurationUnits");function Uc(t){if(!Number.isSafeInteger(t))throw new RangeError($f)}r(Uc,"checkDurationTimeUnit");function mt(t,e=6){return pc(t,e,X)}r(mt,"durationFieldsToBigNano");function Ln(t,e=6){const[n,o]=t,i=_o(o,e,X);if(i[X[e]]+=n*(J/ce[e]),!Number.isFinite(i[X[e]]))throw new RangeError(Ke);return i}r(Ln,"nanoToDurationDayTimeFields");function Ho(t,e=5){return _o(t,e,X)}r(Ho,"nanoToDurationTimeFields");function Zc(t){return!!Le(t,Hu)}r(Zc,"durationHasDateParts");function mn(t){let e=9;for(;e>0&&!t[X[e]];e--);return e}r(mn,"getMaxDurationUnit");function oh(t,e){return[t,e]}r(oh,"createSplitTuple");function Za(t){const e=Math.floor(t/lo)*lo;return[e,e+lo]}r(Za,"computePeriod");function ih(t){const e=We(t=co(t));if(!e)throw new RangeError(Pt(t));let n;if(e.j)n=0;else{if(!e.offset)throw new RangeError(Pt(t));n=Tn(e.offset)}return e.timeZone&&us(e.timeZone,1),Ce(ji(Do(e),n))}r(ih,"We");function sh(t){const e=We(wt(t));if(!e)throw new RangeError(Pt(t));if(e.timeZone)return Lc(e,e.offset?Tn(e.offset):void 0);if(e.j)throw new RangeError(Pt(t));return Gc(e)}r(sh,"H");function ah(t,e){const n=We(wt(t));if(!n||!n.timeZone)throw new RangeError(Pt(t));const{offset:o}=n,i=o?Tn(o):void 0,[,s,c]=Io(e);return Lc(n,i,s,c)}r(ah,"Ae");function Tn(t){const e=us(t);if(e===void 0)throw new RangeError(Pt(t));return e}r(Tn,"parseOffsetNano");function ch(t){const e=We(wt(t));if(!e||e.j)throw new RangeError(Pt(t));return Xt(Wc(e))}r(ch,"Bt");function is(t,e,n){let o=We(wt(t));if(!o||o.j)throw new RangeError(Pt(t));return e?o.calendar===L&&(o=o.isoYear===-271821&&o.isoMonth===4?{...o,isoDay:20,...Rt}:{...o,isoDay:1,...Rt}):n&&o.calendar===L&&(o={...o,isoYear:we}),Se(o.C?Wc(o):Gc(o))}r(is,"de");function uh(t,e){const n=as(wt(e));if(n)return ss(n),Er($i(bn(n)));const o=is(e,1);return Er(Br(t(o.calendar),o))}r(uh,"_t");function ss(t){if(t.calendar!==L)throw new RangeError(be(t.calendar))}r(ss,"requireIsoCalendar");function lh(t,e){const n=cs(wt(e));if(n)return ss(n),go(bn(n));const o=is(e,0,1),{calendar:i}=o,s=t(i),[c,h,p]=s.v(o),[m,b]=s.q(c,h),[y,l]=s.G(m,b,p);return go(Zt(s.V(y,l,p)),i)}r(lh,"xt");function hh(t){let e,n=(o=>{const i=Bd.exec(o);return i?(zo(i[10]),Kc(i)):void 0})(wt(t));if(!n){if(n=We(t),!n)throw new RangeError(Pt(t));if(!n.C)throw new RangeError(Pt(t));if(n.j)throw new RangeError(be("Z"));ss(n)}if((e=as(t))&&xa(e))throw new RangeError(Pt(t));if((e=cs(t))&&xa(e))throw new RangeError(Pt(t));return he(qn(n,1))}r(hh,"ht");function fh(t){const e=(n=>{const o=xd.exec(n);return o?(i=>{function s(b,y,l){let v=0,d=0;if(l&&([v,p]=ve(p,ce[l])),b!==void 0){if(h)throw new RangeError(be(b));d=(f=>{const w=parseInt(f);if(!Number.isFinite(w))throw new RangeError(be(f));return w})(b),c=1,y&&(p=ls(y)*(ce[l]/ie),h=1)}return v+d}r(s,"parseUnit");let c=0,h=0,p=0,m={...Yn(X,[s(i[2]),s(i[3]),s(i[4]),s(i[5]),s(i[6],i[7],5),s(i[8],i[9],4),s(i[10],i[11],3)]),..._o(p,2,X)};if(!c)throw new RangeError(Eu(X));return hs(i[1])<0&&(m=_t(m)),m})(o):void 0})(wt(t));if(!e)throw new RangeError(Pt(t));return ft(yn(e))}r(fh,"R");function dh(t){const e=We(t)||as(t)||cs(t);return e?e.calendar:t}r(dh,"f");function ph(t){const e=We(t);return e&&(e.timeZone||e.j&&Sn||e.offset)||t}r(ph,"Z");function Lc(t,e,n=0,o=0){const i=fs(t.timeZone),s=Y(i);let c;return Do(t),c=t.C?Zn(s,t,e,n,o,!s.$,t.j):ze(s,t),Gt(c,i,Lo(t.calendar))}r(Lc,"finalizeZonedDateTime");function Wc(t){return Xc(Nt(Do(t)))}r(Wc,"finalizeDateTime");function Gc(t){return Xc(Zt(bn(t)))}r(Gc,"finalizeDate");function Xc(t){return{...t,calendar:Lo(t.calendar)}}r(Xc,"resolveSlotsCalendar");function We(t){const e=Ed.exec(t);return e?(n=>{const o=n[10],i=(o||"").toUpperCase()==="Z";return{isoYear:Jc(n),isoMonth:parseInt(n[4]),isoDay:parseInt(n[5]),...Kc(n.slice(5)),...zo(n[16]),C:!!n[6],j:i,offset:i?void 0:o}})(e):void 0}r(We,"parseDateTimeLike");function as(t){const e=Sd.exec(t);return e?(n=>({isoYear:Jc(n),isoMonth:parseInt(n[4]),isoDay:1,...zo(n[5])}))(e):void 0}r(as,"parseYearMonthOnly");function cs(t){const e=kd.exec(t);return e?(n=>({isoYear:we,isoMonth:parseInt(n[1]),isoDay:parseInt(n[2]),...zo(n[3])}))(e):void 0}r(cs,"parseMonthDayOnly");function us(t,e){const n=Od.exec(t);return n?((o,i)=>{const s=o[4]||o[5];if(i&&s)throw new RangeError(be(s));return(c=>{if(Math.abs(c)>=J)throw new RangeError(Pf);return c})((An(o[2])*Xo+An(o[3])*Go+An(o[4])*ie+ls(o[5]||""))*hs(o[1]))})(n,e):void 0}r(us,"parseOffsetNanoMaybe");function Jc(t){const e=hs(t[1]),n=parseInt(t[2]||t[3]);if(e<0&&!n)throw new RangeError(be(-0));return e*n}r(Jc,"organizeIsoYearParts");function Kc(t){const e=An(t[3]);return{...xo(ls(t[4]||""))[0],isoHour:An(t[1]),isoMinute:An(t[2]),isoSecond:e===60?59:e}}r(Kc,"organizeTimeParts");function zo(t){let e,n;const o=[];if(t.replace(_d,((i,s,c)=>{const h=!!s,[p,m]=c.split("=").reverse();if(m){if(m==="u-ca")o.push(p),e||(e=h);else if(h||/[A-Z]/.test(m))throw new RangeError(be(i))}else{if(n)throw new RangeError(be(i));n=p}return""})),o.length>1&&e)throw new RangeError(be(t));return{timeZone:n,calendar:o[0]||L}}r(zo,"organizeAnnotationParts");function ls(t){return parseInt(t.padEnd(9,"0"))}r(ls,"parseSubsecNano");function Wn(t){return new RegExp(`^${t}$`,"i")}r(Wn,"createRegExp");function hs(t){return t&&t!=="+"?-1:1}r(hs,"parseSign");function An(t){return t===void 0?0:parseInt(t)}r(An,"parseInt0");function mh(t){return fs(wt(t))}r(mh,"Ze");function fs(t){const e=ds(t);return typeof e=="number"?Nr(e):e?(n=>{if(Id.test(n))throw new RangeError(Mu(n));if(Dd.test(n))throw new RangeError(If);return n.toLowerCase().split("/").map(((o,i)=>(o.length<=3||/\d/.test(o))&&!/etc|yap/.test(o)?o.toUpperCase():o.replace(/baja|dumont|[a-z]+/g,((s,c)=>s.length<=2&&!i||s==="in"||s==="chat"?s.toUpperCase():s.length>2||!c?Ba(s).replace(/island|noronha|murdo|rivadavia|urville/,Ba):s)))).join("/")})(t):Sn}r(fs,"M");function La(t){const e=ds(t);return typeof e=="number"?e:e?e.resolvedOptions().timeZone:Sn}r(La,"getTimeZoneAtomic");function ds(t){const e=us(t=t.toUpperCase(),1);return e!==void 0?e:t!==Sn?Md(t):void 0}r(ds,"getTimeZoneEssence");function Qc(t,e){return Yt(t.epochNanoseconds,e.epochNanoseconds)}r(Qc,"Ke");function tu(t,e){return Yt(t.epochNanoseconds,e.epochNanoseconds)}r(tu,"Be");function gh(t,e,n,o,i,s){const c=t(le(s).relativeTo),h=Math.max(mn(o),mn(i));if(fc(X,o,i))return 0;if(Or(h,c))return Yt(mt(o),mt(i));if(!c)throw new RangeError(Wo);const[p,m,b]=Fo(e,n,c),y=ns(b),l=Yo(b);return Yt(y(l(m,p,o)),y(l(m,p,i)))}r(gh,"K");function eu(t,e){return Gn(t,e)||ps(t,e)}r(eu,"Yt");function Gn(t,e){return $e(Et(t),Et(e))}r(Gn,"te");function ps(t,e){return $e(Ye(t),Ye(e))}r(ps,"Dt");function vh(t,e){return!Qc(t,e)}r(vh,"Ve");function bh(t,e){return!tu(t,e)&&!!nu(t.timeZone,e.timeZone)&&t.calendar===e.calendar}r(bh,"Ce");function wh(t,e){return!eu(t,e)&&t.calendar===e.calendar}r(wh,"Ct");function yh(t,e){return!Gn(t,e)&&t.calendar===e.calendar}r(yh,"re");function Th(t,e){return!Gn(t,e)&&t.calendar===e.calendar}r(Th,"$t");function Ch(t,e){return!Gn(t,e)&&t.calendar===e.calendar}r(Ch,"Lt");function Sh(t,e){return!ps(t,e)}r(Sh,"st");function nu(t,e){if(t===e)return 1;try{return La(t)===La(e)}catch{}}r(nu,"isTimeZoneIdsEqual");function Wa(t,e,n,o){const i=Un(t,o,3,5),s=qo(e.epochNanoseconds,n.epochNanoseconds,...i);return ft(t?_t(s):s)}r(Wa,"Ee");function Ga(t,e,n,o,i,s){const c=Zo(o.calendar,i.calendar),[h,p,m,b]=Un(n,s,5),y=o.epochNanoseconds,l=i.epochNanoseconds,v=Yt(l,y);let d;if(v)if(h<6)d=qo(y,l,h,p,m,b);else{const f=e(((B,x)=>{if(!nu(B,x))throw new RangeError(Du);return B})(o.timeZone,i.timeZone)),w=t(c);d=ou(w,f,o,i,v,h,s),d=Ro(d,l,h,p,m,b,w,o,Pc,Z(ts,f))}else d=gt;return ft(n?_t(d):d)}r(Ga,"we");function Xa(t,e,n,o,i){const s=Zo(n.calendar,o.calendar),[c,h,p,m]=Un(e,i,6),b=pt(n),y=pt(o),l=Yt(y,b);let v;if(l)if(c<=6)v=qo(b,y,c,h,p,m);else{const d=t(s);v=iu(d,n,o,l,c,i),v=Ro(v,y,c,h,p,m,d,n,pt,es)}else v=gt;return ft(e?_t(v):v)}r(Xa,"It");function Ja(t,e,n,o,i){const s=Zo(n.calendar,o.calendar);return ru(e,(()=>t(s)),n,o,...Un(e,i,6,9,6))}r(Ja,"oe");function Ka(t,e,n,o,i){const s=Zo(n.calendar,o.calendar),c=Un(e,i,9,9,8),h=t(s),p=Br(h,n),m=Br(h,o);return p.isoYear===m.isoYear&&p.isoMonth===m.isoMonth&&p.isoDay===m.isoDay?ft(gt):ru(e,(()=>h),Zt(p),Zt(m),...c,8)}r(Ka,"zt");function ru(t,e,n,o,i,s,c,h,p=6){const m=pt(n),b=pt(o);if(m===void 0||b===void 0)throw new RangeError(Ke);let y;if(Yt(b,m))if(i===6)y=qo(m,b,i,s,c,h);else{const l=e();y=l.N(n,o,i),s===p&&c===1||(y=Ro(y,b,i,s,c,h,l,n,pt,Vo))}else y=gt;return ft(t?_t(y):y)}r(ru,"diffDateLike");function Qa(t,e,n,o){const[i,s,c,h]=Un(t,o,5,5),p=He(ms(e,n),Ar(s,c),h),m={...gt,...Ho(p,i)};return ft(t?_t(m):m)}r(Qa,"it");function kh(t,e,n,o,i,s){const c=Yt(o.epochNanoseconds,n.epochNanoseconds);return c?i<6?su(n.epochNanoseconds,o.epochNanoseconds,i):ou(e,t,n,o,c,i,s):gt}r(kh,"diffZonedEpochsExact");function Eh(t,e,n,o,i){const s=pt(e),c=pt(n),h=Yt(c,s);return h?o<=6?su(s,c,o):iu(t,e,n,h,o,i):gt}r(Eh,"diffDateTimesExact");function ou(t,e,n,o,i,s,c){const[h,p,m]=((l,v,d,f)=>{function w(){return j={...wn(k,I++*-f),...x},G=Rr(l,j),Yt(E,G)===-f}r(w,"updateMid");const B=zt(v,l),x=Wt(Jt,B),k=zt(d,l),E=d.epochNanoseconds;let I=0;const $=ms(B,k);let j,G;if(Math.sign($)===-f&&I++,w()&&(f===-1||w()))throw new RangeError(Xn);const U=ae(se(G,E));return[B,j,U]})(e,n,o,i);var b,y;return{...s===6?(b=h,y=p,{...gt,days:au(b,y)}):t.N(h,p,s,c),...Ho(m)}}r(ou,"diffZonedEpochsBig");function iu(t,e,n,o,i,s){const[c,h,p]=((m,b,y)=>{let l=b,v=ms(m,b);return Math.sign(v)===-y&&(l=wn(b,-y),v+=J*y),[m,l,v]})(e,n,o);return{...t.N(c,h,i,s),...Ho(p)}}r(iu,"diffDateTimesBig");function qo(t,e,n,o,i,s){return{...gt,...Ln($o(se(t,e),o,i,s),n)}}r(qo,"diffEpochNanos");function su(t,e,n){return{...gt,...Ln(se(t,e),n)}}r(su,"diffEpochNanosExact");function au(t,e){return Uo(Et(t),Et(e))}r(au,"diffDays");function Uo(t,e){return Math.trunc((e-t)/At)}r(Uo,"diffEpochMilliByDay");function ms(t,e){return Ye(e)-Ye(t)}r(ms,"diffTimes");function Zo(t,e){if(t!==e)throw new RangeError(xu);return t}r(Zo,"getCommonCalendarId");function cu(t){return this.m(t)[0]}r(cu,"computeNativeWeekOfYear");function uu(t){return this.m(t)[1]}r(uu,"computeNativeYearOfWeek");function gs(t){const[e]=this.v(t);return Uo(this.p(e),Et(t))+1}r(gs,"computeNativeDayOfYear");function vs(t){const e=Pd.exec(t);if(!e)throw new RangeError(Mf(t));return[parseInt(e[1]),!!e[2]]}r(vs,"parseMonthCode");function $r(t,e){return"M"+Lt(t)+(e?"L":"")}r($r,"formatMonthCode");function wo(t,e,n){return t+(e||n&&t>=n?1:0)}r(wo,"monthCodeNumberToMonth");function bs(t,e){return t-(e&&t>=e?1:0)}r(bs,"monthToMonthCodeNumber");function lu(t,e){return(e+t)*(Math.sign(e)||1)||0}r(lu,"eraYearToYear");function di(t){return Fu[fu(t)]}r(di,"getCalendarEraOrigins");function hu(t){return Lf[fu(t)]}r(hu,"getCalendarLeapMonthMeta");function fu(t){return gn(t.id||L)}r(fu,"getCalendarIdBase");function Bh(t){function e(i){return((s,c)=>({...du(s,c),o:s.month,day:parseInt(s.day)}))(Vi(n,i),o)}r(e,"epochMilliToIntlFields");const n=Hs(t),o=gn(t);return{id:t,h:Oh(e),l:_h(e)}}r(Bh,"createIntlCalendar");function Oh(t){return Ft((e=>{const n=Et(e);return t(n)}),WeakMap)}r(Oh,"createIntlFieldCache");function _h(t){const e=t(0).year-rd;return Ft((n=>{let o,i=Hn(n-e),s=0;const c=[],h=[];do i+=400*At;while((o=t(i)).year<=n);do if(i+=(1-o.day)*At,o.year===n&&(c.push(i),h.push(o.o)),i-=At,++s>100||i<-Is)throw new RangeError(Xn);while((o=t(i)).year>=n);return{i:c.reverse(),u:Iu(h.reverse())}}))}r(_h,"createIntlYearDataCache");function du(t,e){let n,o,i=pu(t);if(t.era){const s=Fu[e],c=Yu[e]||{};s!==void 0&&(n=e==="islamic"?"ah":t.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),n==="bc"||n==="b"?n="bce":n==="ad"||n==="a"?n="ce":n==="beforeroc"&&(n="broc"),n=c[n]||n,o=i,i=lu(o,s[n]||0))}return{era:n,eraYear:o,year:i}}r(du,"parseIntlYear");function pu(t){return parseInt(t.relatedYear||t.year)}r(pu,"parseIntlPartsYear");function yo(t){const{year:e,o:n,day:o}=this.h(t),{u:i}=this.l(e);return[e,i[n]+1,o]}r(yo,"computeIntlDateParts");function _r(t,e=1,n=1){return this.l(t).i[e-1]+(n-1)*At}r(_r,"computeIntlEpochMilli");function mu(t,e){const n=uo.call(this,t);return[bs(e,n),n===e]}r(mu,"computeIntlMonthCodeParts");function uo(t){const e=ec(this,t),n=ec(this,t-1),o=e.length;if(o>n.length){const i=hu(this);if(i<0)return-i;for(let s=0;s<o;s++)if(e[s]!==n[s])return s+1}}r(uo,"computeIntlLeapMonth");function io(t){return Uo(_r.call(this,t),_r.call(this,t+1))}r(io,"computeIntlDaysInYear");function tc(t,e){const{i:n}=this.l(t);let o=e+1,i=n;return o>n.length&&(o=1,i=this.l(t+1).i),Uo(n[e-1],i[o-1])}r(tc,"computeIntlDaysInMonth");function so(t){return this.l(t).i.length}r(so,"computeIntlMonthsInYear");function gu(t){const e=this.h(t);return[e.era,e.eraYear]}r(gu,"computeIntlEraParts");function ec(t,e){return Object.keys(t.l(e).u)}r(ec,"queryMonthStrings");function jr(t){return Lo(wt(t))}r(jr,"Mt");function Lo(t){if((t=t.toLowerCase())!==L&&t!==Jn){const e=Hs(t).resolvedOptions().calendar;if(gn(t)!==gn(e))throw new RangeError(_u(t));return e}return t}r(Lo,"u");function gn(t){return t==="islamicc"&&(t="islamic"),t.split("-")[0]}r(gn,"computeCalendarIdBase");function vu(t,e){return n=>n===L?t:n===Jn||n===qe?Object.assign(Object.create(t),{id:n}):Object.assign(Object.create(e),Ad(n))}r(vu,"createNativeOpsCreator");function xh(t,e,n,o){const i=Ge(n,o,Be,[],Ru);if(i.timeZone!==void 0){const s=n.F(i),c=Vr(i),h=t(i.timeZone);return{epochNanoseconds:Zn(e(h),{...s,...c},i.offset!==void 0?Tn(i.offset):void 0),timeZone:h}}return{...n.F(i),...Rt}}r(xh,"$");function Mh(t,e,n,o,i,s){const c=Ge(n,i,Be,Au,Ru),h=t(c.timeZone),[p,m,b]=Io(s),y=n.F(c,No(p)),l=Vr(c,p);return Gt(Zn(e(h),{...y,...l},c.offset!==void 0?Tn(c.offset):void 0,m,b),h,o)}r(Mh,"Ne");function Dh(t,e,n){const o=Ge(t,e,Be,[],Ee),i=W(n);return Xt(Nt({...t.F(o,No(i)),...Vr(o,i)}))}r(Dh,"At");function Ih(t,e,n,o=[]){const i=Ge(t,e,Be,o);return t.F(i,n)}r(Ih,"me");function Ph(t,e,n,o){const i=Ge(t,e,Es,o);return t.K(i,n)}r(Ph,"Xt");function Ah(t,e,n,o){const i=Ge(t,n,Be,Yr);return e&&i.month!==void 0&&i.monthCode===void 0&&i.year===void 0&&(i.year=we),t._(i,o)}r(Ah,"Rt");function Nh(t,e){return he(Vr(Ht(t,vi,[],1),W(e)))}r(Nh,"Tt");function Rh(t){const e=Ht(t,Bs);return ft(yn({...gt,...e}))}r(Rh,"q");function Ge(t,e,n,o=[],i=[]){return Ht(e,[...t.fields(n),...i].sort(),o)}r(Ge,"refineCalendarFields");function Ht(t,e,n,o=!n){const i={};let s,c=0;for(const h of e){if(h===s)throw new RangeError(Cf(h));if(h==="constructor"||h==="__proto__")throw new RangeError(Tf(h));let p=t[h];if(p!==void 0)c=1,rc[h]&&(p=rc[h](p,h)),i[h]=p;else if(n){if(n.includes(h))throw new TypeError(ys(h));i[h]=Vu[h]}s=h}if(o&&!c)throw new TypeError(Eu(e));return i}r(Ht,"refineFields");function Vr(t,e){return qn(zs({...Vu,...t}),e)}r(Vr,"refineTimeBag");function $h(t,e,n,o,i){const{calendar:s,timeZone:c}=n,h=t(s),p=e(c),m=[...h.fields(Be),...Nu].sort(),b=(B=>{const x=zt(B,Y),k=Nr(x.offsetNanoseconds),E=Qo(B.calendar),[I,$,j]=E.v(x),[G,U]=E.q(I,$),$t=$r(G,U);return{...Hd(x),year:I,monthCode:$t,day:j,offset:k}})(n),y=Ht(o,m),l=h.k(b,y),v={...b,...y},[d,f,w]=Io(i,2);return Gt(Zn(p,{...h.F(l,No(d)),...qn(zs(v),d)},Tn(v.offset),f,w),c,s)}r($h,"De");function jh(t,e,n,o){const i=t(e.calendar),s=[...i.fields(Be),...Ee].sort(),c={...wu(h=e),hour:h.isoHour,minute:h.isoMinute,second:h.isoSecond,millisecond:h.isoMillisecond,microsecond:h.isoMicrosecond,nanosecond:h.isoNanosecond};var h;const p=Ht(n,s),m=W(o),b=i.k(c,p),y={...c,...p};return Xt(Nt({...i.F(b,No(m)),...qn(zs(y),m)}))}r(jh,"gt");function Vh(t,e,n,o){const i=t(e.calendar),s=i.fields(Be).sort(),c=wu(e),h=Ht(n,s),p=i.k(c,h);return i.F(p,o)}r(Vh,"ee");function Fh(t,e,n,o){const i=t(e.calendar),s=i.fields(Es).sort(),c=(m=>{const b=Qo(m.calendar),[y,l]=b.v(m),[v,d]=b.q(y,l);return{year:y,monthCode:$r(v,d)}})(e),h=Ht(n,s),p=i.k(c,h);return i.K(p,o)}r(Fh,"Wt");function Yh(t,e,n,o){const i=t(e.calendar),s=i.fields(Be).sort(),c=(m=>{const b=Qo(m.calendar),[y,l,v]=b.v(m),[d,f]=b.q(y,l);return{monthCode:$r(d,f),day:v}})(e),h=Ht(n,s),p=i.k(c,h);return i._(p,o)}r(Yh,"Et");function Hh(t,e,n){return he(((o,i,s)=>Vr({...Wt(vi,o),...Ht(i,vi)},W(s)))(t,e,n))}r(Hh,"rt");function zh(t,e){return ft((n=t,o=e,yn({...n,...Ht(o,Bs)})));var n,o}r(zh,"A");function bu(t,e,n,o,i){e=Wt(n=t.fields(n),e),o=Ht(o,i=t.fields(i),[]);let s=t.k(e,o);return s=Ht(s,[...n,...i].sort(),[]),t.F(s)}r(bu,"convertToIso");function si(t,e){const n=di(t),o=Yu[t.id||""]||{};let{era:i,eraYear:s,year:c}=e;if(i!==void 0||s!==void 0){if(i===void 0||s===void 0)throw new TypeError(Bf);if(!n)throw new RangeError(Ef);const h=n[o[i]||i];if(h===void 0)throw new RangeError(_f(i));const p=lu(s,h);if(c!==void 0&&c!==p)throw new RangeError(Of);c=p}else if(c===void 0)throw new TypeError(xf(n));return c}r(si,"refineYear");function ao(t,e,n,o){let{month:i,monthCode:s}=e;if(s!==void 0){const c=((h,p,m,b)=>{const y=h.L(m),[l,v]=vs(p);let d=wo(l,v,y);if(v){const f=hu(h);if(f===void 0)throw new RangeError(br);if(f>0){if(d>f)throw new RangeError(br);if(y===void 0){if(b===1)throw new RangeError(br);d--}}else{if(d!==-f)throw new RangeError(br);if(y===void 0&&b===1)throw new RangeError(br)}}return d})(t,s,n,o);if(i!==void 0&&i!==c)throw new RangeError(Df);i=c,o=1}else if(i===void 0)throw new TypeError(Ou);return ye("month",i,1,t.B(n),o)}r(ao,"refineMonth");function ai(t,e,n,o,i){return It(e,"day",1,t.U(o,n),i)}r(ai,"refineDay");function ci(t,e,n,o){let i=0;const s=[];for(const c of n)e[c]!==void 0?i=1:s.push(c);if(Object.assign(t,e),i)for(const c of o||s)delete t[c]}r(ci,"spliceFields");function wu(t){const e=Qo(t.calendar),[n,o,i]=e.v(t),[s,c]=e.q(n,o);return{year:n,monthCode:$r(s,c),day:i}}r(wu,"computeDateEssentials");function qh(t){return Ce(ue(Ni(Ii(t))))}r(qh,"qe");function Uh(t,e,n,o,i=L){return Gt(ue(Ni(Ii(n))),e(o),t(i))}r(Uh,"ye");function Zh(t,e,n,o,i=0,s=0,c=0,h=0,p=0,m=0,b=L){return Xt(Nt(Do(Te(kt,Yn(Jo,[e,n,o,i,s,c,h,p,m])))),t(b))}r(Zh,"Zt");function Lh(t,e,n,o,i=L){return Se(Zt(bn(Te(kt,{isoYear:e,isoMonth:n,isoDay:o}))),t(i))}r(Lh,"ue");function Wh(t,e,n,o=L,i=1){const s=kt(e),c=kt(n),h=t(o);return Er($i(bn({isoYear:s,isoMonth:c,isoDay:kt(i)})),h)}r(Wh,"Qt");function Gh(t,e,n,o=L,i=we){const s=kt(e),c=kt(n),h=t(o);return go(Zt(bn({isoYear:kt(i),isoMonth:s,isoDay:c})),h)}r(Gh,"kt");function Xh(t=0,e=0,n=0,o=0,i=0,s=0){return he(qn(Te(kt,Yn(Jt,[t,e,n,o,i,s])),1))}r(Xh,"ut");function Jh(t=0,e=0,n=0,o=0,i=0,s=0,c=0,h=0,p=0,m=0){return ft(yn(Te(Pi,Yn(X,[t,e,n,o,i,s,c,h,p,m]))))}r(Jh,"j");function Kh(t,e,n=L){return Gt(t.epochNanoseconds,e,n)}r(Kh,"Je");function Qh(t){return Ce(t.epochNanoseconds)}r(Qh,"be");function yu(t,e){return Xt(zt(e,t))}r(yu,"yt");function Tu(t,e){return Se(zt(e,t))}r(Tu,"fe");function Cu(t,e){return he(zt(e,t))}r(Cu,"dt");function tf(t,e,n,o){const i=((s,c,h,p)=>{const m=(b=>Gu(le(b)))(p);return Rr(s(c),h,m)})(t,n,e,o);return Gt(ue(i),n,e.calendar)}r(tf,"bt");function ef(t,e,n,o,i){const s=t(i.timeZone),c=i.plainTime,h=c!==void 0?e(c):void 0,p=n(s);let m;return m=h?Rr(p,{...o,...h}):ze(p,{...o,...Rt}),Gt(m,s,o.calendar)}r(ef,"ae");function nf(t,e=Rt){return Xt(Nt({...t,...e}))}r(nf,"ie");function rf(t,e,n){return((o,i)=>{const s=Ge(o,i,$u);return o.K(s,void 0)})(t(e.calendar),n)}r(rf,"le");function of(t,e,n){return((o,i)=>{const s=Ge(o,i,ju);return o._(s)})(t(e.calendar),n)}r(of,"se");function sf(t,e,n,o){return((i,s,c)=>bu(i,s,$u,Pr(c),Yr))(t(e.calendar),n,o)}r(sf,"Ht");function af(t,e,n,o){return((i,s,c)=>bu(i,s,ju,Pr(c),Cs))(t(e.calendar),n,o)}r(af,"Vt");function cf(t){return Ce(ue(po(Pi(t),ke)))}r(cf,"$e");function uf(t){return Ce(ue(Ni(Ii(t))))}r(uf,"He");function Cn(t,e,n){const o=new Set(n);return(i,s)=>{const c=n&&Ea(i,n);if(!Ea(i=((h,p)=>{const m={};for(const b in p)h.has(b)||(m[b]=p[b]);return m})(o,i),t)){if(s&&c)throw new TypeError("Invalid formatting options");i={...e,...i}}return n&&(i.timeZone=Sn,["full","long"].includes(i.J)&&(i.J="medium")),i}}r(Cn,"createOptionsTransformer");function Xe(t,e=Su,n=0){const[o,,,i]=t;return(s,c=ap,...h)=>{const p=e(i&&i(...h),s,c,o,n),m=p.resolvedOptions();return[p,...lf(t,m,h)]}}r(Xe,"Q");function Su(t,e,n,o,i){if(n=o(n,i),t){if(n.timeZone!==void 0)throw new TypeError(zf);n.timeZone=t}return new je(e,n)}r(Su,"an");function lf(t,e,n){const[,o,i]=t;return n.map((s=>(s.calendar&&((c,h,p)=>{if((p||c!==L)&&c!==h)throw new RangeError(xu)})(s.calendar,e.calendar,i),o(s,e))))}r(lf,"toEpochMillis");function hf(t,e,n){const o=e.timeZone,i=t(o),s={...zt(e,i),...n||Rt};let c;return c=n?Zn(i,s,s.offsetNanoseconds,2):ze(i,s),Gt(c,o,e.calendar)}r(hf,"ge");function ff(t,e=Rt){return Xt(Nt({...t,...e}))}r(ff,"Ot");function ws(t,e){return{...t,calendar:e}}r(ws,"pt");function df(t,e){return{...t,timeZone:e}}r(df,"Pe");function ui(t){const e=pi();return zn(e,t.R(e))}r(ui,"tn");function pi(){return po(Date.now(),ke)}r(pi,"Xe");function vr(){return oc||(oc=new je().resolvedOptions().timeZone)}r(vr,"Ue");const pf=r((t,e)=>`Non-integer ${t}: ${e}`,"expectedInteger"),mf=r((t,e)=>`Non-positive ${t}: ${e}`,"expectedPositive"),gf=r((t,e)=>`Non-finite ${t}: ${e}`,"expectedFinite"),vf=r(t=>`Cannot convert bigint to ${t}`,"forbiddenBigIntToNumber"),bf=r(t=>`Invalid bigint: ${t}`,"invalidBigInt"),wf="Cannot convert Symbol to string",yf="Invalid object",ku=r((t,e,n,o,i)=>i?ku(t,i[e],i[n],i[o]):Je(t,e)+`; must be between ${n}-${o}`,"numberOutOfRange"),Je=r((t,e)=>`Invalid ${t}: ${e}`,"invalidEntity"),ys=r(t=>`Missing ${t}`,"missingField"),Tf=r(t=>`Invalid field ${t}`,"forbiddenField"),Cf=r(t=>`Duplicate field ${t}`,"duplicateFields"),Eu=r(t=>"No valid fields: "+t.join(),"noValidFields"),Sf="Invalid bag",Bu=r((t,e,n)=>Je(t,e)+"; must be "+Object.keys(n).join(),"invalidChoice"),kf="Cannot use valueOf",mi="Invalid calling context",Ef="Forbidden era/eraYear",Bf="Mismatching era/eraYear",Of="Mismatching year/eraYear",_f=r(t=>`Invalid era: ${t}`,"invalidEra"),xf=r(t=>"Missing year"+(t?"/era/eraYear":""),"missingYear"),Mf=r(t=>`Invalid monthCode: ${t}`,"invalidMonthCode"),Df="Mismatching month/monthCode",Ou="Missing month/monthCode",br="Invalid leap month",Xn="Invalid protocol results",_u=r(t=>Je("Calendar",t),"c"),xu="Mismatching Calendars",Mu=r(t=>Je("TimeZone",t),"F"),Du="Mismatching TimeZones",If="Forbidden ICU TimeZone",Pf="Out-of-bounds offset",Af="Out-of-bounds TimeZone gap",Nf="Invalid TimeZone offset",Rf="Ambiguous offset",Ke="Out-of-bounds date",$f="Out-of-bounds duration",jf="Cannot mix duration signs",Wo="Missing relativeTo",Vf="Cannot use large units",Ff="Required smallestUnit or largestUnit",Yf="smallestUnit > largestUnit",Pt=r(t=>`Cannot parse: ${t}`,"failedParse"),be=r(t=>`Invalid substring: ${t}`,"invalidSubstring"),Hf=r(t=>`Cannot format ${t}`,"rn"),li="Mismatching types for formatting",zf="Cannot specify TimeZone",Iu=Z(Bo,((t,e)=>e)),Fn=Z(Bo,((t,e,n)=>n)),Lt=Z(fo,2),gi={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Ts=Object.keys(gi),At=864e5,Pu=1e3,Fr=1e3,ke=1e6,ie=1e9,Go=6e10,Xo=36e11,J=864e11,ce=[1,Fr,ke,ie,Go,Xo,J],Ee=Ts.slice(0,6),vi=Ir(Ee),qf=["offset"],Au=["timeZone"],Nu=Ee.concat(qf),Ru=Nu.concat(Au),bi=["era","eraYear"],Uf=bi.concat(["year"]),Cs=["year"],Ss=["monthCode"],ks=["month"].concat(Ss),Yr=["day"],Es=ks.concat(Cs),$u=Ss.concat(Cs),Be=Yr.concat(Es),Zf=Yr.concat(ks),ju=Yr.concat(Ss),Vu=Fn(Ee,0),L="iso8601",Jn="gregory",qe="japanese",Fu={[Jn]:{"gregory-inverse":-1,gregory:0},[qe]:{"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}},Yu={[Jn]:{bce:"gregory-inverse",ce:"gregory"},[qe]:{bce:"japanese-inverse",ce:"japanese"},ethiopic:{era0:"ethioaa",era1:"ethiopic"},coptic:{era0:"coptic-inverse",era1:"coptic"},roc:{broc:"roc-inverse",minguo:"roc"}},Lf={chinese:13,dangi:13,hebrew:-6},wt=Z(Mi,"string"),Wf=Z(Mi,"boolean"),Gf=Z(Mi,"number"),X=Ts.map((t=>t+"s")),Bs=Ir(X),Xf=X.slice(0,6),Hu=X.slice(6),Jf=Hu.slice(1),Kf=Iu(X),gt=Fn(X,0),Os=Fn(Xf,0),_s=Z(dc,X),Jt=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],xs=["isoDay","isoMonth","isoYear"],Jo=Jt.concat(xs),Ms=Ir(xs),zu=Ir(Jt),Qf=Ir(Jo),Rt=Fn(zu,0),td=Z(dc,Jo),Ds=1e8,Is=Ds*At,ed=[Ds,0],nd=[-Ds,0],xr=275760,Mr=-271821,je=Intl.DateTimeFormat,qu="en-GB",rd=1970,we=1972,Ie=12,od=Hn(1868,9,8),id=Ft(Vl,WeakMap),To="smallestUnit",wi="unit",Cr="roundingIncrement",hi="fractionalSecondDigits",Uu="relativeTo",fi="direction",Zu={constrain:0,reject:1},sd=Object.keys(Zu),ad={compatible:0,reject:1,earlier:2,later:3},cd={reject:0,use:1,prefer:2,ignore:3},ud={auto:0,never:1,critical:2,always:3},ld={auto:0,never:1,critical:2},hd={auto:0,never:1},fd={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},dd={previous:-1,next:1},Hr=Z(Zi,To),Lu=Z(Zi,"largestUnit"),pd=Z(Zi,wi),Wu=Z(Ze,"overflow",Zu),Gu=Z(Ze,"disambiguation",ad),md=Z(Ze,"offset",cd),Ps=Z(Ze,"calendarName",ud),gd=Z(Ze,"timeZoneName",ld),vd=Z(Ze,"offset",hd),zr=Z(Ze,"roundingMode",fd),As="PlainYearMonth",Ns="PlainMonthDay",qr="PlainDate",Kn="PlainDateTime",Rs="PlainTime",Qe="ZonedDateTime",$s="Instant",js="Duration",bd=[Math.floor,t=>oo(t)?Math.floor(t):Math.round(t),Math.ceil,t=>oo(t)?Math.ceil(t):Math.round(t),Math.trunc,t=>oo(t)?Math.trunc(t)||0:Math.round(t),t=>t<0?Math.floor(t):Math.ceil(t),t=>Math.sign(t)*Math.round(Math.abs(t))||0,t=>oo(t)?(t=Math.trunc(t)||0)+t%2:Math.round(t)],Sn="UTC",lo=5184e3,wd=mo(1847),yd=mo(new Date().getUTCFullYear()+10),Td=/0+$/,zt=Ft(th,WeakMap),nc=2**32-1,Y=Ft((t=>{const e=ds(t);return typeof e=="object"?new Ti(e):new yi(e||0)})),oa=class oa{constructor(e){this.$=e}R(){return this.$}I(e){return(n=>{const o=pt({...n,...Rt});if(!o||Math.abs(o[0])>1e8)throw new RangeError(Ke)})(e),[ji(e,this.$)]}O(){}};r(oa,"FixedTimeZone");let yi=oa;const ia=class ia{constructor(e){this.nn=(n=>{function o(m){const b=kr(m,h,p),[y,l]=Za(b),v=s(y),d=s(l);return v===d?v:i(c(y,l),v,d,m)}r(o,"getOffsetSec");function i(m,b,y,l){let v,d;for(;(l===void 0||(v=l<m[0]?b:l>=m[1]?y:void 0)===void 0)&&(d=m[1]-m[0]);){const f=m[0]+Math.floor(d/2);n(f)===y?m[1]=f:m[0]=f+1}return v}r(i,"pinch");const s=Ft(n),c=Ft(oh);let h=wd,p=yd;return{tn(m){const b=o(m-86400),y=o(m+86400),l=m-b,v=m-y;if(b===y)return[l];const d=o(l);return d===o(v)?[m-d]:b>y?[l,v]:[]},rn:o,O(m,b){const y=kr(m,h,p);let[l,v]=Za(y);const d=lo*b,f=b<0?()=>v>h||(h=y,0):()=>l<p||(p=y,0);for(;f();){const w=s(l),B=s(v);if(w!==B){const x=c(l,v);i(x,w,B);const k=x[0];if(($e(k,m)||1)===b)return k}l+=d,v+=d}}}})((n=>o=>{const i=Vi(n,o*Pu);return mo(pu(i),parseInt(i.month),parseInt(i.day),parseInt(i.hour),parseInt(i.minute),parseInt(i.second))-o})(e))}R(e){return this.nn.rn((n=>_a(n)[0])(e))*ie}I(e){const[n,o]=[mo((i=e).isoYear,i.isoMonth,i.isoDay,i.isoHour,i.isoMinute,i.isoSecond),i.isoMillisecond*ke+i.isoMicrosecond*Fr+i.isoNanosecond];var i;return this.nn.tn(n).map((s=>ue(pn(po(s,ie),o))))}O(e,n){const[o,i]=_a(e),s=this.nn.O(o+(n>0||i?1:0),n);if(s!==void 0)return po(s,ie)}};r(ia,"IntlTimeZone");let Ti=ia;const Vs="([+-])",ho="(?:[.,](\\d{1,9}))?",Xu=`(?:(?:${Vs}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Fs="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+ho+")?)?",Ys=Vs+Fs,Cd=Xu+"-?(\\d{2})(?:[T ]"+Fs+"(Z|"+Ys+")?)?",Ju="\\[(!?)([^\\]]*)\\]",Ko=`((?:${Ju}){0,9})`,Sd=Wn(Xu+Ko),kd=Wn("(?:--)?(\\d{2})-?(\\d{2})"+Ko),Ed=Wn(Cd+Ko),Bd=Wn("T?"+Fs+"(?:"+Ys+")?"+Ko),Od=Wn(Ys),_d=new RegExp(Ju,"g"),xd=Wn(`${Vs}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${ho}H)?(?:(\\d+)${ho}M)?(?:(\\d+)${ho}S)?)?`),Md=Ft((t=>new je(qu,{timeZone:t,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Dd=/^(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$/,Id=/[^\w\/:+-]+/,Pd=/^M(\d{2})(L?)$/,Ad=Ft(Bh),Hs=Ft((t=>new je(qu,{calendar:t,timeZone:Sn,era:"short",year:"numeric",month:"short",day:"numeric"}))),Ku={P(t,e,n){const o=W(n);let i,{years:s,months:c,weeks:h,days:p}=e;if(p+=mt(e,5)[0],s||c)i=((m,b,y,l,v)=>{let[d,f,w]=m.v(b);if(y){const[B,x]=m.q(d,f);d+=y,f=wo(B,x,m.L(d)),f=ye("month",f,1,m.B(d),v)}return l&&([d,f]=m.un(d,f,l)),w=ye("day",w,1,m.U(d,f),v),m.p(d,f,w)})(this,t,s,c,o);else{if(!h&&!p)return t;i=Et(t)}if(i===void 0)throw new RangeError(Ke);return i+=(7*h+p)*At,Zt(Mo(i))},N(t,e,n){if(n<=7){let p=0,m=au({...t,...Rt},{...e,...Rt});return n===7&&([p,m]=Fe(m,7)),{...gt,weeks:p,days:m}}const o=this.v(t),i=this.v(e);let[s,c,h]=((p,m,b,y,l,v,d)=>{let f=l-m,w=v-b,B=d-y;if(f||w){const x=Math.sign(f||w);let k=p.U(l,v),E=0;if(Math.sign(B)===-x){const I=k;[l,v]=p.un(l,v,-x),f=l-m,w=v-b,k=p.U(l,v),E=x<0?-I:k}if(B=d-Math.min(y,k)+E,f){const[I,$]=p.q(m,b),[j,G]=p.q(l,v);if(w=j-I||Number(G)-Number($),Math.sign(w)===-x){const U=x<0&&-p.B(l);f=(l-=x)-m,w=v-wo(I,$,p.L(l))+(U||p.B(l))}}}return[f,w,B]})(this,...o,...i);return n===8&&(c+=this.cn(s,o[0]),s=0),{...gt,years:s,months:c,days:h}},F(t,e){const n=W(e),o=si(this,t),i=ao(this,t,o,n),s=ai(this,t,i,o,n);return Se(Zt(this.V(o,i,s)),this.id||L)},K(t,e){const n=W(e),o=si(this,t),i=ao(this,t,o,n);return Er($i(this.V(o,i,1)),this.id||L)},_(t,e){const n=W(e);let o,i,s,c=t.eraYear!==void 0||t.year!==void 0?si(this,t):void 0;const h=!this.id;if(c===void 0&&h&&(c=we),c!==void 0){const y=ao(this,t,c,n);o=ai(this,t,y,c,n);const l=this.L(c);i=bs(y,l),s=y===l}else{if(t.monthCode===void 0)throw new TypeError(Ou);if([i,s]=vs(t.monthCode),this.id&&this.id!==Jn&&this.id!==qe)if(this.id&&gn(this.id)==="coptic"&&n===0){const y=s||i!==13?30:6;o=t.day,o=kr(o,1,y)}else if(this.id&&gn(this.id)==="chinese"&&n===0){const y=!s||i!==1&&i!==9&&i!==10&&i!==11&&i!==12?30:29;o=t.day,o=kr(o,1,y)}else o=t.day;else o=ai(this,t,ao(this,t,we,n),we,n)}const p=this.G(i,s,o);if(!p)throw new RangeError("Cannot guess year");const[m,b]=p;return go(Zt(this.V(m,b,o)),this.id||L)},fields(t){return di(this)&&t.includes("year")?[...t,...bi]:t},k(t,e){const n=Object.assign(Object.create(null),t);return ci(n,e,ks),di(this)&&(ci(n,e,Uf),this.id===qe&&ci(n,e,Zf,bi)),n},inLeapYear(t){const[e]=this.v(t);return this.sn(e)},monthsInYear(t){const[e]=this.v(t);return this.B(e)},daysInMonth(t){const[e,n]=this.v(t);return this.U(e,n)},daysInYear(t){const[e]=this.v(t);return this.fn(e)},dayOfYear:gs,era(t){return this.hn(t)[0]},eraYear(t){return this.hn(t)[1]},monthCode(t){const[e,n]=this.v(t),[o,i]=this.q(e,n);return $r(o,i)},dayOfWeek:Bc,daysInWeek(){return 7}},Nd={v:Fi,hn:Oc,q:Cc},Rd={dayOfYear:gs,v:Fi,p:Hn},$d=Object.assign({},Rd,{weekOfYear:cu,yearOfWeek:uu,m(t){function e(v){return(7-v<o?7:0)-v}r(e,"computeWeekShift");function n(v){const d=Ec(l+v),f=v||1,w=e(Tr(p+d*f,7));return b=(d+(w-m)*f)/7}r(n,"computeWeeksInYear");const o=this.id?1:4,i=Bc(t),s=this.dayOfYear(t),c=Tr(i-1,7),h=s-1,p=Tr(c-h,7),m=e(p);let b,y=Math.floor((h-m)/7)+1,l=t.isoYear;return y?y>n(0)&&(y=1,l++):(y=n(-1),l--),[y,l,b]}}),jd=Object.assign({},Ku,$d,{v:Fi,hn:Oc,q:Cc,G(t,e){if(!e)return[we,t]},sn:Yi,L(){},B:Sc,cn:r(t=>t*Ie,"cn"),U:kc,fn:Ec,V:r((t,e,n)=>({isoYear:t,isoMonth:e,isoDay:n}),"V"),p:Hn,un:r((t,e,n)=>(t+=Oo(n,Ie),(e+=_i(n,Ie))<1?(t--,e+=Ie):e>Ie&&(t++,e-=Ie),[t,e]),"un"),year(t){return t.isoYear},month(t){return t.isoMonth},day:r(t=>t.isoDay,"day")}),Vd={v:yo,hn:gu,q:mu},Fd={dayOfYear:gs,v:yo,p:_r,weekOfYear:cu,yearOfWeek:uu,m(){return[]}},Yd=Object.assign({},Ku,Fd,{v:yo,hn:gu,q:mu,G(t,e,n){const o=this.id&&gn(this.id)==="chinese"?((m,b,y)=>{if(b)switch(m){case 1:return 1651;case 2:return y<30?1947:1765;case 3:return y<30?1966:1955;case 4:return y<30?1963:1944;case 5:return y<30?1971:1952;case 6:return y<30?1960:1941;case 7:return y<30?1968:1938;case 8:return y<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(t,e,n):we;let[i,s,c]=yo.call(this,{isoYear:o,isoMonth:Ie,isoDay:31});const h=uo.call(this,i),p=s===h;($e(t,bs(s,h))||$e(Number(e),Number(p))||$e(n,c))===1&&i--;for(let m=0;m<100;m++){const b=i-m,y=uo.call(this,b),l=wo(t,e,y);if(e===(l===y)&&n<=tc.call(this,b,l))return[b,l]}},sn(t){const e=io.call(this,t);return e>io.call(this,t-1)&&e>io.call(this,t+1)},L:uo,B:so,cn(t,e){const n=e+t,o=Math.sign(t),i=o<0?-1:0;let s=0;for(let c=e;c!==n;c+=o)s+=so.call(this,c+i);return s},U:tc,fn:io,V(t,e,n){return Mo(_r.call(this,t,e,n))},p:_r,un(t,e,n){if(n){if(e+=n,!Number.isSafeInteger(e))throw new RangeError(Ke);if(n<0)for(;e<1;)e+=so.call(this,--t);else{let o;for(;e>(o=so.call(this,t));)e-=o,t++}}return[t,e]},year(t){return this.h(t).year},month(t){const{year:e,o:n}=this.h(t),{u:o}=this.l(e);return o[n]+1},day(t){return this.h(t).day}}),Qo=vu(Nd,Vd),N=vu(jd,Yd),rc={era:co,eraYear:kt,year:kt,month:Oa,monthCode(t){const e=co(t);return vs(e),e},day:Oa,...Fn(Ee,kt),...Fn(X,Pi),offset(t){const e=co(t);return Tn(e),e}},zs=Z(hc,Ee,Jt),Hd=Z(hc,Jt,Ee),Ve="numeric",Ur=["timeZoneName"],Qu={month:Ve,day:Ve},qs={year:Ve,month:Ve},Us=Object.assign({},qs,{day:Ve}),Zs={hour:Ve,minute:Ve,second:Ve},Ls=Object.assign({},Us,Zs),zd=Object.assign({},Ls,{timeZoneName:"short"}),qd=Object.keys(qs),Ud=Object.keys(Qu),Zd=Object.keys(Us),Ld=Object.keys(Zs),Ws=["dateStyle"],Wd=qd.concat(Ws),Gd=Ud.concat(Ws),Gs=Zd.concat(Ws,["weekday"]),Zr=Ld.concat(["dayPeriod","timeStyle","fractionalSecondDigits"]),Xs=Gs.concat(Zr),Xd=Ur.concat(Zr),Jd=Ur.concat(Gs),Kd=Ur.concat(["day","weekday"],Zr),Qd=Ur.concat(["year","weekday"],Zr),tp=Cn(Xs,Ls),ep=Cn(Xs,zd),np=Cn(Xs,Ls,Ur),rp=Cn(Gs,Us,Xd),op=Cn(Zr,Zs,Jd),ip=Cn(Wd,qs,Kd),sp=Cn(Gd,Qu,Qd),ap={},tl=new je(void 0,{calendar:L}).resolvedOptions().calendar===L,el=[tp,Li],cp=[ep,Li,0,(t,e)=>{const n=t.timeZone;if(e&&e.timeZone!==n)throw new RangeError(Du);return n}],nl=[np,Et],rl=[rp,Et],ol=[op,t=>Ye(t)/ke],il=[ip,Et,tl],sl=[sp,Et,tl];let oc;function tn(t,e,n,o,i){function s(...p){if(!(this instanceof s))throw new TypeError(mi);ac(this,e(...p))}r(s,"Class");function c(p,m){return Object.defineProperties((function(...b){return p.call(this,h(this),...b)}),Sr(m))}r(c,"bindMethod");function h(p){const m=xt(p);if(!m||m.branding!==t)throw new TypeError(mi);return m}return r(h,"getSpecificSlots"),Object.defineProperties(s.prototype,{...Rl(Te(c,n)),...$n(Te(c,o)),...Oi("Temporal."+t)}),Object.defineProperties(s,{...$n(i),...Sr(t)}),[s,p=>{const m=Object.create(s.prototype);return ac(m,p),m},h]}r(tn,"createSlotClass");function Qn(t){if(xt(t)||t.calendar!==void 0||t.timeZone!==void 0)throw new TypeError(Sf);return t}r(Qn,"rejectInvalidBag");function Lr(t){return al(t)||L}r(Lr,"getCalendarIdFromBag");function al(t){const{calendar:e}=t;if(e!==void 0)return ti(e)}r(al,"extractCalendarIdFromBag");function ti(t){if(Ot(t)){const{calendar:e}=xt(t)||{};if(!e)throw new TypeError(_u(t));return e}return(e=>Lo(dh(wt(e))))(t)}r(ti,"refineCalendarArg");function Js(t){const e={};for(const n in t)e[n]=o=>{const{calendar:i}=o;return N(i)[n](o)};return e}r(Js,"createCalendarGetters");function en(){throw new TypeError(kf)}r(en,"neverValueOf");function Vt(t){if(Ot(t)){const{timeZone:e}=xt(t)||{};if(!e)throw new TypeError(Mu(t));return e}return(e=>fs(ph(wt(e))))(t)}r(Vt,"refineTimeZoneArg");function ht(t){if(Ot(t)){const e=xt(t);return e&&e.branding===js?e:Rh(t)}return fh(t)}r(ht,"toDurationSlots");function wr(t){if(t!==void 0){if(Ot(t)){const e=xt(t)||{};switch(e.branding){case Qe:case qr:return e;case Kn:return Se(e)}const n=Lr(t);return{...xh(Vt,Y,N(n),t),calendar:n}}return sh(t)}}r(wr,"refinePublicRelativeTo");function Pe(t,e){if(Ot(t)){const o=xt(t)||{};switch(o.branding){case Rs:return W(e),o;case Kn:return W(e),he(o);case Qe:return W(e),Cu(Y,o)}return Nh(t,e)}const n=hh(t);return W(e),n}r(Pe,"toPlainTimeSlots");function Ks(t){return t===void 0?void 0:Pe(t)}r(Ks,"optionalToPlainTimeFields");function xn(t,e){if(Ot(t)){const o=xt(t)||{};switch(o.branding){case Kn:return W(e),o;case qr:return W(e),Xt({...o,...Rt});case Qe:return W(e),yu(Y,o)}return Dh(N(Lr(t)),t,e)}const n=ch(t);return W(e),n}r(xn,"toPlainDateTimeSlots");function ic(t,e){if(Ot(t)){const o=xt(t);if(o&&o.branding===Ns)return W(e),o;const i=al(t);return Ah(N(i||L),!i,t,e)}const n=lh(N,t);return W(e),n}r(ic,"toPlainMonthDaySlots");function Mn(t,e){if(Ot(t)){const o=xt(t);return o&&o.branding===As?(W(e),o):Ph(N(Lr(t)),t,e)}const n=uh(N,t);return W(e),n}r(Mn,"toPlainYearMonthSlots");function Dn(t,e){if(Ot(t)){const o=xt(t)||{};switch(o.branding){case qr:return W(e),o;case Kn:return W(e),Se(o);case Qe:return W(e),Tu(Y,o)}return Ih(N(Lr(t)),t,e)}const n=is(t);return W(e),n}r(Dn,"toPlainDateSlots");function In(t,e){if(Ot(t)){const n=xt(t);if(n&&n.branding===Qe)return Io(e),n;const o=Lr(t);return Mh(Vt,Y,N(o),o,t,e)}return ah(t,e)}r(In,"toZonedDateTimeSlots");function sc(t){return Te((e=>n=>e(Ci(n))),t)}r(sc,"adaptDateMethods");function Ci(t){return zt(t,Y)}r(Ci,"slotsToIso");function Pn(t){if(Ot(t)){const e=xt(t);if(e)switch(e.branding){case $s:return e;case Qe:return Ce(e.epochNanoseconds)}}return ih(t)}r(Pn,"toInstantSlots");function up(){function t(s,c){return new e(s,c)}r(t,"DateTimeFormatFunc");function e(s,c=Object.create(null)){So.set(this,((h,p)=>{const m=new je(h,p),b=m.resolvedOptions(),y=b.locale,l=Wt(Object.keys(p),b),v=Ft(fp),d=r((f,...w)=>{if(f){if(w.length!==2)throw new TypeError(li);for(const E of w)if(E===void 0)throw new TypeError(li)}f||w[0]!==void 0||(w=[]);const B=w.map((E=>xt(E)||Number(E)));let x,k=0;for(const E of B){const I=typeof E=="object"?E.branding:void 0;if(k++&&I!==x)throw new TypeError(li);x=I}return x?v(x)(y,l,...B):[m,...B]},"prepFormat");return d.X=m,d})(s,c))}r(e,"DateTimeFormatNew");const n=je.prototype,o=Object.getOwnPropertyDescriptors(n),i=Object.getOwnPropertyDescriptors(je);for(const s in o){const c=o[s],h=s.startsWith("format")&&lp(s);typeof c.value=="function"?c.value=s==="constructor"?t:h||hp(s):h&&(c.get=function(){if(!So.has(this))throw new TypeError(mi);return(...p)=>h.apply(this,p)},Object.defineProperties(c.get,Sr(`get ${s}`)))}return i.prototype.value=e.prototype=Object.create({},o),Object.defineProperties(t,i),t}r(up,"createDateTimeFormatClass");function lp(t){return Object.defineProperties((function(...e){const n=So.get(this),[o,...i]=n(t.includes("Range"),...e);return o[t](...i)}),Sr(t))}r(lp,"createFormatMethod");function hp(t){return Object.defineProperties((function(...e){return So.get(this).X[t](...e)}),Sr(t))}r(hp,"createProxiedMethod");function fp(t){const e=bp[t];if(!e)throw new TypeError(Hf(t));return Xe(e,Ft(Su),1)}r(fp,"createFormatPrepperForBranding");const Co=new WeakMap,xt=Co.get.bind(Co),ac=Co.set.bind(Co),cl={era:$l,eraYear:mc,year:xi,month:ge,daysInMonth:ge,daysInYear:ge,inLeapYear:Wf,monthsInYear:ge},Qs={monthCode:wt},ul={day:ge},dp={dayOfWeek:ge,dayOfYear:ge,weekOfYear:jl,yearOfWeek:mc,daysInWeek:ge},ta=Js(Object.assign({},cl,Qs,ul,dp)),pp=Js({...cl,...Qs}),mp=Js({...Qs,...ul}),Wr={calendarId:r(t=>t.calendar,"calendarId")},gp=Bo((t=>e=>e[t]),X.concat("sign")),ea=Bo(((t,e)=>n=>n[Jt[e]]),Ee),ll={epochMilliseconds:Li,epochNanoseconds:Yl},[vp,rt]=tn(js,Jh,{...gp,blank:rh},{with:r((t,e)=>rt(zh(t,e)),"with"),negated:r(t=>rt(os(t)),"negated"),abs:r(t=>rt(nh(t)),"abs"),add:r((t,e,n)=>rt(Ua(wr,N,Y,0,t,ht(e),n)),"add"),subtract:r((t,e,n)=>rt(Ua(wr,N,Y,1,t,ht(e),n)),"subtract"),round:r((t,e)=>rt(eh(wr,N,Y,t,e)),"round"),total:r((t,e)=>Hl(wr,N,Y,t,e),"total"),toLocaleString(t,e,n){return Intl.DurationFormat?new Intl.DurationFormat(e,n).format(this):ii(t)},toString:ii,toJSON:r(t=>ii(t),"toJSON"),valueOf:en},{from:r(t=>rt(ht(t)),"from"),compare:r((t,e,n)=>gh(wr,N,Y,ht(t),ht(e),n),"compare")}),bp={Instant:el,PlainDateTime:nl,PlainDate:rl,PlainTime:ol,PlainYearMonth:il,PlainMonthDay:sl},wp=Xe(el),yp=Xe(cp),Tp=Xe(nl),Cp=Xe(rl),Sp=Xe(ol),kp=Xe(il),Ep=Xe(sl),[Bp,Ne]=tn(Rs,Xh,ea,{with(t,e,n){return Ne(Hh(this,Qn(e),n))},add:r((t,e)=>Ne(qa(0,t,ht(e))),"add"),subtract:r((t,e)=>Ne(qa(1,t,ht(e))),"subtract"),until:r((t,e,n)=>rt(Qa(0,t,Pe(e),n)),"until"),since:r((t,e,n)=>rt(Qa(1,t,Pe(e),n)),"since"),round:r((t,e)=>Ne(Zl(t,e)),"round"),equals:r((t,e)=>Sh(t,Pe(e)),"equals"),toLocaleString(t,e,n){const[o,i]=Sp(e,n,t);return o.format(i)},toString:$a,toJSON:r(t=>$a(t),"toJSON"),valueOf:en},{from:r((t,e)=>Ne(Pe(t,e)),"from"),compare:r((t,e)=>ps(Pe(t),Pe(e)),"compare")}),[Op,re]=tn(Kn,Z(Zh,jr),{...Wr,...ta,...ea},{with:r((t,e,n)=>re(jh(N,t,Qn(e),n)),"with"),withCalendar:r((t,e)=>re(ws(t,ti(e))),"withCalendar"),withPlainTime:r((t,e)=>re(ff(t,Ks(e))),"withPlainTime"),add:r((t,e,n)=>re(Ya(N,0,t,ht(e),n)),"add"),subtract:r((t,e,n)=>re(Ya(N,1,t,ht(e),n)),"subtract"),until:r((t,e,n)=>rt(Xa(N,0,t,xn(e),n)),"until"),since:r((t,e,n)=>rt(Xa(N,1,t,xn(e),n)),"since"),round:r((t,e)=>re(Ul(t,e)),"round"),equals:r((t,e)=>wh(t,xn(e)),"equals"),toZonedDateTime:r((t,e,n)=>St(tf(Y,t,Vt(e),n)),"toZonedDateTime"),toPlainDate:r(t=>oe(Se(t)),"toPlainDate"),toPlainTime:r(t=>Ne(he(t)),"toPlainTime"),toLocaleString(t,e,n){const[o,i]=Tp(e,n,t);return o.format(i)},toString:Pa,toJSON:r(t=>Pa(t),"toJSON"),valueOf:en},{from:r((t,e)=>re(xn(t,e)),"from"),compare:r((t,e)=>eu(xn(t),xn(e)),"compare")}),[_p,Si]=tn(Ns,Z(Gh,jr),{...Wr,...mp},{with:r((t,e,n)=>Si(Yh(N,t,Qn(e),n)),"with"),equals:r((t,e)=>Ch(t,ic(e)),"equals"),toPlainDate(t,e){return oe(af(N,t,this,e))},toLocaleString(t,e,n){const[o,i]=Ep(e,n,t);return o.format(i)},toString:Ra,toJSON:r(t=>Ra(t),"toJSON"),valueOf:en},{from:r((t,e)=>Si(ic(t,e)),"from")}),[xp,yr]=tn(As,Z(Wh,jr),{...Wr,...pp},{with:r((t,e,n)=>yr(Fh(N,t,Qn(e),n)),"with"),add:r((t,e,n)=>yr(za(N,0,t,ht(e),n)),"add"),subtract:r((t,e,n)=>yr(za(N,1,t,ht(e),n)),"subtract"),until:r((t,e,n)=>rt(Ka(N,0,t,Mn(e),n)),"until"),since:r((t,e,n)=>rt(Ka(N,1,t,Mn(e),n)),"since"),equals:r((t,e)=>Th(t,Mn(e)),"equals"),toPlainDate(t,e){return oe(sf(N,t,this,e))},toLocaleString(t,e,n){const[o,i]=kp(e,n,t);return o.format(i)},toString:Na,toJSON:r(t=>Na(t),"toJSON"),valueOf:en},{from:r((t,e)=>yr(Mn(t,e)),"from"),compare:r((t,e)=>Gn(Mn(t),Mn(e)),"compare")}),[Mp,oe]=tn(qr,Z(Lh,jr),{...Wr,...ta},{with:r((t,e,n)=>oe(Vh(N,t,Qn(e),n)),"with"),withCalendar:r((t,e)=>oe(ws(t,ti(e))),"withCalendar"),add:r((t,e,n)=>oe(Ha(N,0,t,ht(e),n)),"add"),subtract:r((t,e,n)=>oe(Ha(N,1,t,ht(e),n)),"subtract"),until:r((t,e,n)=>rt(Ja(N,0,t,Dn(e),n)),"until"),since:r((t,e,n)=>rt(Ja(N,1,t,Dn(e),n)),"since"),equals:r((t,e)=>yh(t,Dn(e)),"equals"),toZonedDateTime(t,e){const n=Ot(e)?e:{timeZone:e};return St(ef(Vt,Pe,Y,t,n))},toPlainDateTime:r((t,e)=>re(nf(t,Ks(e))),"toPlainDateTime"),toPlainYearMonth(t){return yr(rf(N,t,this))},toPlainMonthDay(t){return Si(of(N,t,this))},toLocaleString(t,e,n){const[o,i]=Cp(e,n,t);return o.format(i)},toString:Aa,toJSON:r(t=>Aa(t),"toJSON"),valueOf:en},{from:r((t,e)=>oe(Dn(t,e)),"from"),compare:r((t,e)=>Gn(Dn(t),Dn(e)),"compare")}),[Dp,St]=tn(Qe,Z(Uh,jr,mh),{...ll,...Wr,...sc(ta),...sc(ea),offset:r(t=>Nr(Ci(t).offsetNanoseconds),"offset"),offsetNanoseconds:r(t=>Ci(t).offsetNanoseconds,"offsetNanoseconds"),timeZoneId:r(t=>t.timeZone,"timeZoneId"),hoursInDay:r(t=>Ll(Y,t),"hoursInDay")},{with:r((t,e,n)=>St($h(N,Y,t,Qn(e),n)),"with"),withCalendar:r((t,e)=>St(ws(t,ti(e))),"withCalendar"),withTimeZone:r((t,e)=>St(df(t,Vt(e))),"withTimeZone"),withPlainTime:r((t,e)=>St(hf(Y,t,Ks(e))),"withPlainTime"),add:r((t,e,n)=>St(Fa(N,Y,0,t,ht(e),n)),"add"),subtract:r((t,e,n)=>St(Fa(N,Y,1,t,ht(e),n)),"subtract"),until:r((t,e,n)=>rt(ft(Ga(N,Y,0,t,In(e),n))),"until"),since:r((t,e,n)=>rt(ft(Ga(N,Y,1,t,In(e),n))),"since"),round:r((t,e)=>St(ql(Y,t,e)),"round"),startOfDay:r(t=>St(Wl(Y,t)),"startOfDay"),equals:r((t,e)=>bh(t,In(e)),"equals"),toInstant:r(t=>Ae(Qh(t)),"toInstant"),toPlainDateTime:r(t=>re(yu(Y,t)),"toPlainDateTime"),toPlainDate:r(t=>oe(Tu(Y,t)),"toPlainDate"),toPlainTime:r(t=>Ne(Cu(Y,t)),"toPlainTime"),toLocaleString(t,e,n={}){const[o,i]=yp(e,n,t);return o.format(i)},toString:r((t,e)=>Ia(Y,t,e),"toString"),toJSON:r(t=>Ia(Y,t),"toJSON"),valueOf:en,getTimeZoneTransition(t,e){const{timeZone:n,epochNanoseconds:o}=t,i=Fl(e),s=Y(n).O(o,i);return s?St({...t,epochNanoseconds:s}):null}},{from:r((t,e)=>St(In(t,e)),"from"),compare:r((t,e)=>tu(In(t),In(e)),"compare")}),[Ip,Ae]=tn($s,qh,ll,{add:r((t,e)=>Ae(Va(0,t,ht(e))),"add"),subtract:r((t,e)=>Ae(Va(1,t,ht(e))),"subtract"),until:r((t,e,n)=>rt(Wa(0,t,Pn(e),n)),"until"),since:r((t,e,n)=>rt(Wa(1,t,Pn(e),n)),"since"),round:r((t,e)=>Ae(zl(t,e)),"round"),equals:r((t,e)=>vh(t,Pn(e)),"equals"),toZonedDateTimeISO:r((t,e)=>St(Kh(t,Vt(e))),"toZonedDateTimeISO"),toLocaleString(t,e,n){const[o,i]=wp(e,n,t);return o.format(i)},toString:r((t,e)=>Da(Vt,Y,t,e),"toString"),toJSON:r(t=>Da(Vt,Y,t),"toJSON"),valueOf:en},{from:r(t=>Ae(Pn(t)),"from"),fromEpochMilliseconds:r(t=>Ae(cf(t)),"fromEpochMilliseconds"),fromEpochNanoseconds:r(t=>Ae(uf(t)),"fromEpochNanoseconds"),compare:r((t,e)=>Qc(Pn(t),Pn(e)),"compare")}),Pp=Object.defineProperties({},{...Oi("Temporal.Now"),...$n({timeZoneId:r(()=>vr(),"timeZoneId"),instant:r(()=>Ae(Ce(pi())),"instant"),zonedDateTimeISO:r((t=vr())=>St(Gt(pi(),Vt(t),L)),"zonedDateTimeISO"),plainDateTimeISO:r((t=vr())=>re(Xt(ui(Y(Vt(t))),L)),"plainDateTimeISO"),plainDateISO:r((t=vr())=>oe(Se(ui(Y(Vt(t))),L)),"plainDateISO"),plainTimeISO:r((t=vr())=>Ne(he(ui(Y(Vt(t))))),"plainTimeISO")})}),pe=Object.defineProperties({},{...Oi("Temporal"),...$n({PlainYearMonth:xp,PlainMonthDay:_p,PlainDate:Mp,PlainTime:Bp,PlainDateTime:Op,ZonedDateTime:Dp,Instant:Ip,Duration:vp,Now:Pp})}),Ap=up(),So=new WeakMap;Object.create(Intl),$n({DateTimeFormat:Ap});function Np(t,e){if(t instanceof pe.ZonedDateTime)return t;if(t instanceof Date)return $VST.DT(t.getTime());if(e||(e=$VST.DTTZ??pe.Now.timeZoneId()),e=e,typeof t=="number")return pe.Instant.fromEpochMilliseconds(t).toZonedDateTimeISO(e);if(!t)return pe.Now.zonedDateTimeISO(e);try{let n="";if(typeof t=="string")try{return pe.PlainDateTime.from(t).toZonedDateTime(e)}catch{n=t}try{return pe.Instant.from(t.includes(" ")?t.replace(" ","T")+"Z":t).toZonedDateTimeISO(e)}catch{try{return pe.PlainDate.from(t).toZonedDateTime(e)}catch{t.includes(" ")&&(n=t.replace(" ","T")),!n.includes(".")&&!n.includes("Z")&&!n.includes("+")&&(n+=".000"),!n.endsWith("Z")&&!/[+-]\d{2}(:?\d{2})?$/.test(n)&&(n+="Z"),/[+-]\d{2}$/.test(n)&&(n+=":00")}return pe.Instant.from(n).toZonedDateTimeISO(e)}}catch(n){return console.error?.("Не удалось преобразовать строку в формат ISO 8601",n),pe.Now.zonedDateTimeISO(e)}}r(Np,"DT");const sa=class sa{listeners={};addEventListener(e,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){this.listeners[e]&&(this.listeners[e]=this.listeners[e].filter(o=>o!==n))}dispatchEvent(e,n){this.listeners[e]&&this.listeners[e].forEach(o=>o(n))}};r(sa,"EventManager");let ki=sa;const na=new ki;(function(t,e){function n(H){for(var z={},A=0;A<H.length;A++)z[H[A].toUpperCase()]=H[A];return z}r(n,"i");function o(H,z){return typeof H==b&&vt(z).indexOf(vt(H))!==-1}r(o,"r");function i(H,z){if(typeof H==b)return H=H.replace(/^\s\s*/,""),typeof z==p?H:H.substring(0,500)}r(i,"b");function s(H,z){for(var A,K,F,et,it,D=0;D<z.length&&!et;){for(var ut=z[D],tt=z[D+1],Qt=A=0;Qt<ut.length&&!et&&ut[Qt];)if(et=ut[Qt++].exec(H))for(K=0;K<tt.length;K++)it=et[++A],typeof(F=tt[K])==m&&0<F.length?F.length===2?typeof F[1]==h?this[F[0]]=F[1].call(this,it):this[F[0]]=F[1]:F.length===3?typeof F[1]!=h||F[1].exec&&F[1].test?this[F[0]]=it?it.replace(F[1],F[2]):e:this[F[0]]=it?F[1].call(this,it,F[2]):e:F.length===4&&(this[F[0]]=it?F[3].call(this,it.replace(F[1],F[2])):e):this[F]=it||e;D+=2}}r(s,"w");function c(H,z){for(var A in z)if(typeof z[A]==m&&0<z[A].length){for(var K=0;K<z[A].length;K++)if(o(z[A][K],H))return A==="?"?e:A}else if(o(z[A],H))return A==="?"?e:A;return z.hasOwnProperty("*")?z["*"]:H}r(c,"e");var h="function",p="undefined",m="object",b="string",y="major",l="model",v="name",d="type",f="vendor",w="version",B="architecture",x="console",k="mobile",E="tablet",I="smarttv",$="wearable",j="embedded",G="Amazon",U="Apple",$t="ASUS",Mt="BlackBerry",Oe="Browser",at="Chrome",rn="Firefox",on="Google",tr="Honor",sn="Huawei",_e="LG",er="Microsoft",nr="Motorola",xe="Nvidia",kn="OnePlus",Me="Opera",rr="OPPO",Kt="Samsung",Xr="Sharp",fe="Sony",or="Xiaomi",En="Zebra",Jr="Facebook",Bn="Chromium OS",Kr="Mac OS",Qr=" Browser",vt=r(function(H){return H.toLowerCase()},"K"),ir={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},sr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,w],[/opios[\/ ]+([\w\.]+)/i],[w,[v,Me+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,Me+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,Me]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[w,[v,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[v,"UC"+Oe]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[v,"Smart Lenovo "+Oe]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+Oe],w],[/\bfocus\/([\w\.]+)/i],[w,[v,rn+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,Me+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,Me+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI"+Qr]],[/fxios\/([\w\.-]+)/i],[w,[v,rn]],[/\bqihoobrowser\/?([\w\.]*)/i],[w,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Qr],w],[/samsungbrowser\/([\w\.]+)/i],[w,[v,Kt+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[w,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[w,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Jr],w],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[v,at+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,at+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+Oe]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[w,c,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[v,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],w],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[v,rn+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[v,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[w,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[B,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[B,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[B,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[B,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[B,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[B,/ower/,"",vt]],[/ sun4\w[;\)]/i],[[B,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[B,vt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[f,Kt],[d,E]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[l,[f,Kt],[d,k]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[f,U],[d,k]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[f,U],[d,E]],[/(macintosh);/i],[l,[f,U]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[f,Xr],[d,k]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[f,tr],[d,E]],[/honor([-\w ]+)[;\)]/i],[l,[f,tr],[d,k]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[l,[f,sn],[d,E]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[f,sn],[d,k]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[f,or],[d,E]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[f,or],[d,k]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[f,rr],[d,k]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[f,c,{OnePlus:["304","403","203"],"*":rr}],[d,E]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[f,"Vivo"],[d,k]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[f,"Realme"],[d,k]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[f,nr],[d,k]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[f,nr],[d,E]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[f,_e],[d,E]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[f,_e],[d,k]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[f,"Lenovo"],[d,E]],[/(nokia) (t[12][01])/i],[f,l,[d,E]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[l,/_/g," "],[d,k],[f,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[f,on],[d,E]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[f,on],[d,k]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[f,fe],[d,k]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[f,fe],[d,E]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[f,kn],[d,k]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[f,G],[d,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[f,G],[d,k]],[/(playbook);[-\w\),; ]+(rim)/i],[l,f,[d,E]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[f,Mt],[d,k]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[f,$t],[d,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[f,$t],[d,k]],[/(nexus 9)/i],[l,[f,"HTC"],[d,E]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[l,/_/g," "],[d,k]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[l,[f,"TCL"],[d,E]],[/(itel) ((\w+))/i],[[f,vt],l,[d,c,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[f,"Acer"],[d,E]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[f,"Meizu"],[d,k]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[f,"Ulefone"],[d,k]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[f,"Energizer"],[d,k]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[f,"Cat"],[d,k]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[f,"Smartfren"],[d,k]],[/droid.+; (a(?:015|06[35]|142p?))/i],[l,[f,"Nothing"],[d,k]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[f,"Archos"],[d,E]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[f,"Archos"],[d,k]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[f,l,[d,E]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[f,l,[d,k]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,l,[d,E]],[/(surface duo)/i],[l,[f,er],[d,E]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[f,"Fairphone"],[d,k]],[/(u304aa)/i],[l,[f,"AT&T"],[d,k]],[/\bsie-(\w*)/i],[l,[f,"Siemens"],[d,k]],[/\b(rct\w+) b/i],[l,[f,"RCA"],[d,E]],[/\b(venue[\d ]{2,7}) b/i],[l,[f,"Dell"],[d,E]],[/\b(q(?:mv|ta)\w+) b/i],[l,[f,"Verizon"],[d,E]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[f,"Barnes & Noble"],[d,E]],[/\b(tm\d{3}\w+) b/i],[l,[f,"NuVision"],[d,E]],[/\b(k88) b/i],[l,[f,"ZTE"],[d,E]],[/\b(nx\d{3}j) b/i],[l,[f,"ZTE"],[d,k]],[/\b(gen\d{3}) b.+49h/i],[l,[f,"Swiss"],[d,k]],[/\b(zur\d{3}) b/i],[l,[f,"Swiss"],[d,E]],[/\b((zeki)?tb.*\b) b/i],[l,[f,"Zeki"],[d,E]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],l,[d,E]],[/\b(ns-?\w{0,9}) b/i],[l,[f,"Insignia"],[d,E]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[f,"NextBook"],[d,E]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],l,[d,k]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],l,[d,k]],[/\b(ph-1) /i],[l,[f,"Essential"],[d,k]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[f,"Envizen"],[d,E]],[/\b(trio[-\w\. ]+) b/i],[l,[f,"MachSpeed"],[d,E]],[/\btu_(1491) b/i],[l,[f,"Rotor"],[d,E]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[f,xe],[d,E]],[/(sprint) (\w+)/i],[f,l,[d,k]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[f,er],[d,k]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[f,En],[d,E]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[f,En],[d,k]],[/smart-tv.+(samsung)/i],[f,[d,I]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[f,Kt],[d,I]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,_e],[d,I]],[/(apple) ?tv/i],[f,[l,U+" TV"],[d,I]],[/crkey/i],[[l,at+"cast"],[f,on],[d,I]],[/droid.+aft(\w+)( bui|\))/i],[l,[f,G],[d,I]],[/(shield \w+ tv)/i],[l,[f,xe],[d,I]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[f,Xr],[d,I]],[/(bravia[\w ]+)( bui|\))/i],[l,[f,fe],[d,I]],[/(mi(tv|box)-?\w+) bui/i],[l,[f,or],[d,I]],[/Hbbtv.*(technisat) (.*);/i],[f,l,[d,I]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,i],[l,i],[d,I]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[l,[d,I]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,I]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,l,[d,x]],[/droid.+; (shield)( bui|\))/i],[l,[f,xe],[d,x]],[/(playstation \w+)/i],[l,[f,fe],[d,x]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[f,er],[d,x]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[f,Kt],[d,$]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[f,l,[d,$]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[f,rr],[d,$]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[f,U],[d,$]],[/(opwwe\d{3})/i],[l,[f,kn],[d,$]],[/(moto 360)/i],[l,[f,nr],[d,$]],[/(smartwatch 3)/i],[l,[f,fe],[d,$]],[/(g watch r)/i],[l,[f,_e],[d,$]],[/droid.+; (wt63?0{2,3})\)/i],[l,[f,En],[d,$]],[/droid.+; (glass) \d/i],[l,[f,on],[d,$]],[/(pico) (4|neo3(?: link|pro)?)/i],[f,l,[d,$]],[/; (quest( \d| pro)?)/i],[l,[f,Jr],[d,$]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[d,j]],[/(aeobc)\b/i],[l,[f,G],[d,j]],[/(homepod).+mac os/i],[l,[f,U],[d,j]],[/windows iot/i],[[d,j]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[d,k]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[d,E]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,E]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,k]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[v,w],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,w],[/ladybird\//i],[[v,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,w],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[v,[w,c,ir]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,c,ir],[v,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,Kr],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,v],[/(ubuntu) ([\w\.]+) like android/i],[[v,/(.+)/,"$1 Touch"],w],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[v,w],[/\(bb(10);/i],[w,[v,Mt]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[w,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[v,rn+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[v,at+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,Bn],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,w],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,w]]},ot=r(function(H,z){if(typeof H==m&&(z=H,H=e),!(this instanceof ot))return new ot(H,z).getResult();var A=typeof t!=p&&t.navigator?t.navigator:e,K=H||(A&&A.userAgent?A.userAgent:""),F=A&&A.userAgentData?A.userAgentData:e,et=z?(function(D,ut){var tt,Qt={};for(tt in D)ut[tt]&&ut[tt].length%2==0?Qt[tt]=ut[tt].concat(D[tt]):Qt[tt]=D[tt];return Qt})(sr,z):sr,it=A&&A.userAgent==K;return this.getBrowser=function(){var D,ut={};return ut[v]=e,ut[w]=e,s.call(ut,K,et.browser),ut[y]=typeof(D=ut[w])==b?D.replace(/[^\d\.]/g,"").split(".")[0]:e,it&&A&&A.brave&&typeof A.brave.isBrave==h&&(ut[v]="Brave"),ut},this.getCPU=function(){var D={};return D[B]=e,s.call(D,K,et.cpu),D},this.getDevice=function(){var D={};return D[f]=e,D[l]=e,D[d]=e,s.call(D,K,et.device),it&&!D[d]&&F&&F.mobile&&(D[d]=k),it&&D[l]=="Macintosh"&&A&&typeof A.standalone!=p&&A.maxTouchPoints&&2<A.maxTouchPoints&&(D[l]="iPad",D[d]=E),D},this.getEngine=function(){var D={};return D[v]=e,D[w]=e,s.call(D,K,et.engine),D},this.getOS=function(){var D={};return D[v]=e,D[w]=e,s.call(D,K,et.os),it&&!D[v]&&F&&F.platform&&F.platform!="Unknown"&&(D[v]=F.platform.replace(/chrome os/i,Bn).replace(/macos/i,Kr)),D},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return K},this.setUA=function(D){return K=typeof D==b&&500<D.length?i(D,500):D,this},this.setUA(K),this},"J");ot.VERSION="1.0.41",ot.BROWSER=n([v,w,y]),ot.CPU=n([B]),ot.DEVICE=n([l,f,d,x,k,I,E,$,j]),ot.ENGINE=ot.OS=n([v,w]),typeof exports!=p?(typeof module!=p&&module.exports&&(exports=module.exports=ot),exports.UAParser=ot):typeof define==h&&define.amd?define(function(){return ot}):typeof t!=p&&(t.UAParser=ot);var ct,qt=typeof t!=p&&(t.jQuery||t.Zepto);qt&&!qt.ua&&(ct=new ot,qt.ua=ct.getResult(),qt.ua.get=function(){return ct.getUA()},qt.ua.set=function(H){ct.setUA(H);var z,A=ct.getResult();for(z in A)qt.ua[z]=A[z]})})(typeof window=="object"?window:void 0);const Rp=globalThis.UAParser;delete globalThis.UAParser;var Dr,lt,Re,dt,Ct;const Eo=class Eo{constructor(){mr(this,dt);mr(this,Dr);mr(this,lt);mr(this,Re,null);gr(this,Dr,navigator.userAgent),gr(this,lt,new Rp(navigator.userAgent??"unknown").getResult()),gr(this,Re,this)}userAgentData(){return{...st(Tt(this,dt,Ct).call(this),lt)}}browserName(){return st(Tt(this,dt,Ct).call(this),lt).browser.name??"unknown"}browserVersion(){return st(Tt(this,dt,Ct).call(this),lt).browser.version??"unknown"}browserMajor(){return st(Tt(this,dt,Ct).call(this),lt).browser.major??"unknown"}browserEngine(){return st(Tt(this,dt,Ct).call(this),lt).engine.name??"unknown"}browserEngineVersion(){return st(Tt(this,dt,Ct).call(this),lt).engine.version??"unknown"}device(){return st(Tt(this,dt,Ct).call(this),lt).device.type??"desktop"}deviceModel(){return st(Tt(this,dt,Ct).call(this),lt).device.model??"unknown"}deviceVendor(){return st(Tt(this,dt,Ct).call(this),lt).device.vendor??"unknown"}osName(){return st(Tt(this,dt,Ct).call(this),lt).os.name??"unknown"}osVendor(){return st(Tt(this,dt,Ct).call(this),lt).os.vendor??"unknown"}osVersion(){return st(Tt(this,dt,Ct).call(this),lt).os.version??"unknown"}cpuArchitecture(){return st(Tt(this,dt,Ct).call(this),lt).cpu.architecture??"unknown"}};Dr=new WeakMap,lt=new WeakMap,Re=new WeakMap,dt=new WeakSet,Ct=r(function(){return(!st(this,Re)||st(st(this,Re),Dr)!=navigator.userAgent)&&gr(this,Re,new Eo),st(this,Re)},"#instance"),r(Eo,"DeviceInfo");let Ei=Eo;(function(t,e,n,o){function i(a,u,g){return setTimeout(m(a,g),u)}r(i,"e");function s(a,u,g){return Array.isArray(a)?(c(a,g[u],g),!0):!1}r(s,"f");function c(a,u,g){var T;if(a)if(a.forEach)a.forEach(u,g);else if(a.length!==o)for(T=0;T<a.length;)u.call(g,a[T],T,a),T++;else for(T in a)a.hasOwnProperty(T)&&u.call(g,a[T],T,a)}r(c,"g");function h(a,u,g){var T="DEPRECATED METHOD: "+u+`
2
+ `+g+` AT
3
+ `;return function(){var C=new Error("get-stack-trace"),M=C&&C.stack?C.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",P=t.console&&(t.console.warn||t.console.log);return P&&P.call(t.console,T,M),a.apply(this,arguments)}}r(h,"h");function p(a,u,g){var T,C=u.prototype;T=a.prototype=Object.create(C),T.constructor=a,T._super=C,g&&tt(T,g)}r(p,"i");function m(a,u){return function(){return a.apply(u,arguments)}}r(m,"j");function b(a,u){return typeof a==dl?a.apply(u&&u[0]||o,u):a}r(b,"k");function y(a,u){return a===o?u:a}r(y,"l");function l(a,u,g){c(w(u),function(T){a.addEventListener(T,g,!1)})}r(l,"m");function v(a,u,g){c(w(u),function(T){a.removeEventListener(T,g,!1)})}r(v,"n");function d(a,u){for(;a;){if(a==u)return!0;a=a.parentNode}return!1}r(d,"o");function f(a,u){return a.indexOf(u)>-1}r(f,"p");function w(a){return a.trim().split(/\s+/g)}r(w,"q");function B(a,u,g){if(a.indexOf&&!g)return a.indexOf(u);for(var T=0;T<a.length;){if(g&&a[T][g]==u||!g&&a[T]===u)return T;T++}return-1}r(B,"r");function x(a){return Array.prototype.slice.call(a,0)}r(x,"s");function k(a,u,g){for(var T=[],C=[],M=0;M<a.length;){var P=a[M][u];B(C,P)<0&&T.push(a[M]),C[M]=P,M++}return T=T.sort(function(Q,Ut){return Q[u]>Ut[u]}),T}r(k,"t");function E(a,u){for(var g,T,C=u[0].toUpperCase()+u.slice(1),M=0;M<Qt.length;){if(g=Qt[M],T=g?g+C:u,T in a)return T;M++}return o}r(E,"u");function I(){return ml++}r(I,"v");function $(a){var u=a.ownerDocument||a;return u.defaultView||u.parentWindow||t}r($,"w");function j(a,u){var g=this;this.manager=a,this.callback=u,this.element=a.element,this.target=a.options.inputTarget,this.domHandler=function(T){b(a.options.enable,[a])&&g.handler(T)},this.init()}r(j,"x");function G(a){var u=a.options.inputClass;return new(u||(vl?kn:bl?Kt:da?fe:xe))(a,U)}r(G,"y");function U(a,u,g){var T=g.pointers.length,C=g.changedPointers.length,M=u&bt&&T-C===0,P=u&(nt|yt)&&T-C===0;g.isFirst=!!M,g.isFinal=!!P,M&&(a.session={}),g.eventType=u,$t(a,g),a.emit("hammer.input",g),a.recognize(g),a.session.prevInput=g}r(U,"z");function $t(a,u){var g=a.session,T=u.pointers,C=T.length;g.firstInput||(g.firstInput=at(u)),C>1&&!g.firstMultiple?g.firstMultiple=at(u):C===1&&(g.firstMultiple=!1);var M=g.firstInput,P=g.firstMultiple,Q=P?P.center:M.center,Ut=u.center=rn(T);u.timeStamp=ei(),u.deltaTime=u.timeStamp-M.timeStamp,u.angle=_e(Q,Ut),u.distance=sn(Q,Ut),Mt(g,u),u.offsetDirection=tr(u.deltaX,u.deltaY);var Dt=on(u.deltaTime,u.deltaX,u.deltaY);u.overallVelocityX=Dt.x,u.overallVelocityY=Dt.y,u.overallVelocity=an(Dt.x)>an(Dt.y)?Dt.x:Dt.y,u.scale=P?nr(P.pointers,T):1,u.rotation=P?er(P.pointers,T):0,u.maxPointers=g.prevInput?u.pointers.length>g.prevInput.maxPointers?u.pointers.length:g.prevInput.maxPointers:u.pointers.length,Oe(g,u);var ne=a.element;d(u.srcEvent.target,ne)&&(ne=u.srcEvent.target),u.target=ne}r($t,"A");function Mt(a,u){var g=u.center,T=a.offsetDelta||{},C=a.prevDelta||{},M=a.prevInput||{};u.eventType!==bt&&M.eventType!==nt||(C=a.prevDelta={x:M.deltaX||0,y:M.deltaY||0},T=a.offsetDelta={x:g.x,y:g.y}),u.deltaX=C.x+(g.x-T.x),u.deltaY=C.y+(g.y-T.y)}r(Mt,"B");function Oe(a,u){var g,T,C,M,P=a.lastInterval||u,Q=u.timeStamp-P.timeStamp;if(u.eventType!=yt&&(Q>Tl||P.velocity===o)){var Ut=u.deltaX-P.deltaX,Dt=u.deltaY-P.deltaY,ne=on(Q,Ut,Dt);T=ne.x,C=ne.y,g=an(ne.x)>an(ne.y)?ne.x:ne.y,M=tr(Ut,Dt),a.lastInterval=u}else g=P.velocity,T=P.velocityX,C=P.velocityY,M=P.direction;u.velocity=g,u.velocityX=T,u.velocityY=C,u.direction=M}r(Oe,"C");function at(a){for(var u=[],g=0;g<a.pointers.length;)u[g]={clientX:On(a.pointers[g].clientX),clientY:On(a.pointers[g].clientY)},g++;return{timeStamp:ei(),pointers:u,center:rn(u),deltaX:a.deltaX,deltaY:a.deltaY}}r(at,"D");function rn(a){var u=a.length;if(u===1)return{x:On(a[0].clientX),y:On(a[0].clientY)};for(var g=0,T=0,C=0;u>C;)g+=a[C].clientX,T+=a[C].clientY,C++;return{x:On(g/u),y:On(T/u)}}r(rn,"E");function on(a,u,g){return{x:u/a||0,y:g/a||0}}r(on,"F");function tr(a,u){return a===u?to:an(a)>=an(u)?0>a?cr:ur:0>u?lr:hr}r(tr,"G");function sn(a,u,g){g||(g=ma);var T=u[g[0]]-a[g[0]],C=u[g[1]]-a[g[1]];return Math.sqrt(T*T+C*C)}r(sn,"H");function _e(a,u,g){g||(g=ma);var T=u[g[0]]-a[g[0]],C=u[g[1]]-a[g[1]];return 180*Math.atan2(C,T)/Math.PI}r(_e,"I");function er(a,u){return _e(u[1],u[0],eo)+_e(a[1],a[0],eo)}r(er,"J");function nr(a,u){return sn(u[0],u[1],eo)/sn(a[0],a[1],eo)}r(nr,"K");function xe(){this.evEl=Sl,this.evWin=kl,this.pressed=!1,j.apply(this,arguments)}r(xe,"L");function kn(){this.evEl=ga,this.evWin=va,j.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r(kn,"M");function Me(){this.evTarget=_l,this.evWin=xl,this.started=!1,j.apply(this,arguments)}r(Me,"N");function rr(a,u){var g=x(a.touches),T=x(a.changedTouches);return u&(nt|yt)&&(g=k(g.concat(T),"identifier")),[g,T]}r(rr,"O");function Kt(){this.evTarget=Dl,this.targetIds={},j.apply(this,arguments)}r(Kt,"P");function Xr(a,u){var g=x(a.touches),T=this.targetIds;if(u&(bt|cn)&&g.length===1)return T[g[0].identifier]=!0,[g,g];var C,M,P=x(a.changedTouches),Q=[],Ut=this.target;if(M=g.filter(function(Dt){return d(Dt.target,Ut)}),u===bt)for(C=0;C<M.length;)T[M[C].identifier]=!0,C++;for(C=0;C<P.length;)T[P[C].identifier]&&Q.push(P[C]),u&(nt|yt)&&delete T[P[C].identifier],C++;return Q.length?[k(M.concat(Q),"identifier"),Q]:void 0}r(Xr,"Q");function fe(){j.apply(this,arguments);var a=m(this.handler,this);this.touch=new Kt(this.manager,a),this.mouse=new xe(this.manager,a),this.primaryTouch=null,this.lastTouches=[]}r(fe,"R");function or(a,u){a&bt?(this.primaryTouch=u.changedPointers[0].identifier,En.call(this,u)):a&(nt|yt)&&En.call(this,u)}r(or,"S");function En(a){var u=a.changedPointers[0];if(u.identifier===this.primaryTouch){var g={x:u.clientX,y:u.clientY};this.lastTouches.push(g);var T=this.lastTouches,C=r(function(){var M=T.indexOf(g);M>-1&&T.splice(M,1)},"e");setTimeout(C,Il)}}r(En,"T");function Jr(a){for(var u=a.srcEvent.clientX,g=a.srcEvent.clientY,T=0;T<this.lastTouches.length;T++){var C=this.lastTouches[T],M=Math.abs(u-C.x),P=Math.abs(g-C.y);if(ba>=M&&ba>=P)return!0}return!1}r(Jr,"U");function Bn(a,u){this.manager=a,this.set(u)}r(Bn,"V");function Kr(a){if(f(a,ln))return ln;var u=f(a,fr),g=f(a,dr);return u&&g?ln:u||g?u?fr:dr:f(a,ri)?ri:Ca}r(Kr,"W");function Qr(){if(!ya)return!1;var a={},u=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(g){a[g]=u?t.CSS.supports("touch-action",g):!0}),a}r(Qr,"X");function vt(a){this.options=tt({},this.defaults,a||{}),this.id=I(),this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=ro,this.simultaneous={},this.requireFail=[]}r(vt,"Y");function ir(a){return a&pr?"cancel":a&De?"end":a&_n?"move":a&jt?"start":""}r(ir,"Z");function sr(a){return a==hr?"down":a==lr?"up":a==cr?"left":a==ur?"right":""}r(sr,"$");function ot(a,u){var g=u.manager;return g?g.get(a):a}r(ot,"_");function ct(){vt.apply(this,arguments)}r(ct,"aa");function qt(){ct.apply(this,arguments),this.pX=null,this.pY=null}r(qt,"ba");function H(){ct.apply(this,arguments)}r(H,"ca");function z(){vt.apply(this,arguments),this._timer=null,this._input=null}r(z,"da");function A(){ct.apply(this,arguments)}r(A,"ea");function K(){ct.apply(this,arguments)}r(K,"fa");function F(){vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}r(F,"ga");function et(a,u){return u=u||{},u.recognizers=y(u.recognizers,et.defaults.preset),new it(a,u)}r(et,"ha");function it(a,u){this.options=tt({},et.defaults,u||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=a,this.input=G(this),this.touchAction=new Bn(this,this.options.touchAction),D(this,!0),c(this.options.recognizers,function(g){var T=this.add(new g[0](g[1]));g[2]&&T.recognizeWith(g[2]),g[3]&&T.requireFailure(g[3])},this)}r(it,"ia");function D(a,u){var g=a.element;if(g.style){var T;c(a.options.cssProps,function(C,M){T=E(g.style,M),u?(a.oldCssProps[T]=g.style[T],g.style[T]=C):g.style[T]=a.oldCssProps[T]||""}),u||(a.oldCssProps={})}}r(D,"ja");function ut(a,u){var g=e.createEvent("Event");g.initEvent(a,!0,!0),g.gesture=u,u.target.dispatchEvent(g)}r(ut,"ka");var tt,Qt=["","webkit","Moz","MS","ms","o"],fl=e.createElement("div"),dl="function",On=Math.round,an=Math.abs,ei=Date.now;tt=typeof Object.assign!="function"?function(a){if(a===o||a===null)throw new TypeError("Cannot convert undefined or null to object");for(var u=Object(a),g=1;g<arguments.length;g++){var T=arguments[g];if(T!==o&&T!==null)for(var C in T)T.hasOwnProperty(C)&&(u[C]=T[C])}return u}:Object.assign;var fa=h(function(a,u,g){for(var T=Object.keys(u),C=0;C<T.length;)(!g||g&&a[T[C]]===o)&&(a[T[C]]=u[T[C]]),C++;return a},"extend","Use `assign`."),pl=h(function(a,u){return fa(a,u,!0)},"merge","Use `assign`."),ml=1,gl=/mobile|tablet|ip(ad|hone|od)|android/i,da="ontouchstart"in t,vl=E(t,"PointerEvent")!==o,bl=da&&gl.test(navigator.userAgent),ar="touch",wl="pen",ni="mouse",yl="kinect",Tl=25,bt=1,cn=2,nt=4,yt=8,to=1,cr=2,ur=4,lr=8,hr=16,te=cr|ur,un=lr|hr,pa=te|un,ma=["x","y"],eo=["clientX","clientY"];j.prototype={handler:r(function(){},"handler"),init:r(function(){this.evEl&&l(this.element,this.evEl,this.domHandler),this.evTarget&&l(this.target,this.evTarget,this.domHandler),this.evWin&&l($(this.element),this.evWin,this.domHandler)},"init"),destroy:r(function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v($(this.element),this.evWin,this.domHandler)},"destroy")};var Cl={mousedown:bt,mousemove:cn,mouseup:nt},Sl="mousedown",kl="mousemove mouseup";p(xe,j,{handler:r(function(a){var u=Cl[a.type];u&bt&&a.button===0&&(this.pressed=!0),u&cn&&a.which!==1&&(u=nt),this.pressed&&(u&nt&&(this.pressed=!1),this.callback(this.manager,u,{pointers:[a],changedPointers:[a],pointerType:ni,srcEvent:a}))},"handler")});var El={pointerdown:bt,pointermove:cn,pointerup:nt,pointercancel:yt,pointerout:yt},Bl={2:ar,3:wl,4:ni,5:yl},ga="pointerdown",va="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(ga="MSPointerDown",va="MSPointerMove MSPointerUp MSPointerCancel"),p(kn,j,{handler:r(function(a){var u=this.store,g=!1,T=a.type.toLowerCase().replace("ms",""),C=El[T],M=Bl[a.pointerType]||a.pointerType,P=M==ar,Q=B(u,a.pointerId,"pointerId");C&bt&&(a.button===0||P)?0>Q&&(u.push(a),Q=u.length-1):C&(nt|yt)&&(g=!0),0>Q||(u[Q]=a,this.callback(this.manager,C,{pointers:u,changedPointers:[a],pointerType:M,srcEvent:a}),g&&u.splice(Q,1))},"handler")});var Ol={touchstart:bt,touchmove:cn,touchend:nt,touchcancel:yt},_l="touchstart",xl="touchstart touchmove touchend touchcancel";p(Me,j,{handler:r(function(a){var u=Ol[a.type];if(u===bt&&(this.started=!0),this.started){var g=rr.call(this,a,u);u&(nt|yt)&&g[0].length-g[1].length===0&&(this.started=!1),this.callback(this.manager,u,{pointers:g[0],changedPointers:g[1],pointerType:ar,srcEvent:a})}},"handler")});var Ml={touchstart:bt,touchmove:cn,touchend:nt,touchcancel:yt},Dl="touchstart touchmove touchend touchcancel";p(Kt,j,{handler:r(function(a){var u=Ml[a.type],g=Xr.call(this,a,u);g&&this.callback(this.manager,u,{pointers:g[0],changedPointers:g[1],pointerType:ar,srcEvent:a})},"handler")});var Il=2500,ba=25;p(fe,j,{handler:r(function(a,u,g){var T=g.pointerType==ar,C=g.pointerType==ni;if(!(C&&g.sourceCapabilities&&g.sourceCapabilities.firesTouchEvents)){if(T)or.call(this,u,g);else if(C&&Jr.call(this,g))return;this.callback(a,u,g)}},"handler"),destroy:r(function(){this.touch.destroy(),this.mouse.destroy()},"destroy")});var wa=E(fl.style,"touchAction"),ya=wa!==o,Ta="compute",Ca="auto",ri="manipulation",ln="none",fr="pan-x",dr="pan-y",no=Qr();Bn.prototype={set:r(function(a){a==Ta&&(a=this.compute()),ya&&this.manager.element.style&&no[a]&&(this.manager.element.style[wa]=a),this.actions=a.toLowerCase().trim()},"set"),update:r(function(){this.set(this.manager.options.touchAction)},"update"),compute:r(function(){var a=[];return c(this.manager.recognizers,function(u){b(u.options.enable,[u])&&(a=a.concat(u.getTouchAction()))}),Kr(a.join(" "))},"compute"),preventDefaults:r(function(a){var u=a.srcEvent,g=a.offsetDirection;if(this.manager.session.prevented)return void u.preventDefault();var T=this.actions,C=f(T,ln)&&!no[ln],M=f(T,dr)&&!no[dr],P=f(T,fr)&&!no[fr];if(C){var Q=a.pointers.length===1,Ut=a.distance<2,Dt=a.deltaTime<250;if(Q&&Ut&&Dt)return}return P&&M?void 0:C||M&&g&te||P&&g&un?this.preventSrc(u):void 0},"preventDefaults"),preventSrc:r(function(a){this.manager.session.prevented=!0,a.preventDefault()},"preventSrc")};var ro=1,jt=2,_n=4,De=8,de=De,pr=16,ee=32;vt.prototype={defaults:{},set:r(function(a){return tt(this.options,a),this.manager&&this.manager.touchAction.update(),this},"set"),recognizeWith:r(function(a){if(s(a,"recognizeWith",this))return this;var u=this.simultaneous;return a=ot(a,this),u[a.id]||(u[a.id]=a,a.recognizeWith(this)),this},"recognizeWith"),dropRecognizeWith:r(function(a){return s(a,"dropRecognizeWith",this)?this:(a=ot(a,this),delete this.simultaneous[a.id],this)},"dropRecognizeWith"),requireFailure:r(function(a){if(s(a,"requireFailure",this))return this;var u=this.requireFail;return a=ot(a,this),B(u,a)===-1&&(u.push(a),a.requireFailure(this)),this},"requireFailure"),dropRequireFailure:r(function(a){if(s(a,"dropRequireFailure",this))return this;a=ot(a,this);var u=B(this.requireFail,a);return u>-1&&this.requireFail.splice(u,1),this},"dropRequireFailure"),hasRequireFailures:r(function(){return this.requireFail.length>0},"hasRequireFailures"),canRecognizeWith:r(function(a){return!!this.simultaneous[a.id]},"canRecognizeWith"),emit:r(function(a){function u(C){g.manager.emit(C,a)}r(u,"b");var g=this,T=this.state;De>T&&u(g.options.event+ir(T)),u(g.options.event),a.additionalEvent&&u(a.additionalEvent),T>=De&&u(g.options.event+ir(T))},"emit"),tryEmit:r(function(a){return this.canEmit()?this.emit(a):void(this.state=ee)},"tryEmit"),canEmit:r(function(){for(var a=0;a<this.requireFail.length;){if(!(this.requireFail[a].state&(ee|ro)))return!1;a++}return!0},"canEmit"),recognize:r(function(a){var u=tt({},a);return b(this.options.enable,[this,u])?(this.state&(de|pr|ee)&&(this.state=ro),this.state=this.process(u),void(this.state&(jt|_n|De|pr)&&this.tryEmit(u))):(this.reset(),void(this.state=ee))},"recognize"),process:r(function(a){},"process"),getTouchAction:r(function(){},"getTouchAction"),reset:r(function(){},"reset")},p(ct,vt,{defaults:{pointers:1},attrTest:r(function(a){var u=this.options.pointers;return u===0||a.pointers.length===u},"attrTest"),process:r(function(a){var u=this.state,g=a.eventType,T=u&(jt|_n),C=this.attrTest(a);return T&&(g&yt||!C)?u|pr:T||C?g&nt?u|De:u&jt?u|_n:jt:ee},"process")}),p(qt,ct,{defaults:{event:"pan",threshold:10,pointers:1,direction:pa},getTouchAction:r(function(){var a=this.options.direction,u=[];return a&te&&u.push(dr),a&un&&u.push(fr),u},"getTouchAction"),directionTest:r(function(a){var u=this.options,g=!0,T=a.distance,C=a.direction,M=a.deltaX,P=a.deltaY;return C&u.direction||(u.direction&te?(C=M===0?to:0>M?cr:ur,g=M!=this.pX,T=Math.abs(a.deltaX)):(C=P===0?to:0>P?lr:hr,g=P!=this.pY,T=Math.abs(a.deltaY))),a.direction=C,g&&T>u.threshold&&C&u.direction},"directionTest"),attrTest:r(function(a){return ct.prototype.attrTest.call(this,a)&&(this.state&jt||!(this.state&jt)&&this.directionTest(a))},"attrTest"),emit:r(function(a){this.pX=a.deltaX,this.pY=a.deltaY;var u=sr(a.direction);u&&(a.additionalEvent=this.options.event+u),this._super.emit.call(this,a)},"emit")}),p(H,ct,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:r(function(){return[ln]},"getTouchAction"),attrTest:r(function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&jt)},"attrTest"),emit:r(function(a){if(a.scale!==1){var u=a.scale<1?"in":"out";a.additionalEvent=this.options.event+u}this._super.emit.call(this,a)},"emit")}),p(z,vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:r(function(){return[Ca]},"getTouchAction"),process:r(function(a){var u=this.options,g=a.pointers.length===u.pointers,T=a.distance<u.threshold,C=a.deltaTime>u.time;if(this._input=a,!T||!g||a.eventType&(nt|yt)&&!C)this.reset();else if(a.eventType&bt)this.reset(),this._timer=i(function(){this.state=de,this.tryEmit()},u.time,this);else if(a.eventType&nt)return de;return ee},"process"),reset:r(function(){clearTimeout(this._timer)},"reset"),emit:r(function(a){this.state===de&&(a&&a.eventType&nt?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=ei(),this.manager.emit(this.options.event,this._input)))},"emit")}),p(A,ct,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:r(function(){return[ln]},"getTouchAction"),attrTest:r(function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&jt)},"attrTest")}),p(K,ct,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:te|un,pointers:1},getTouchAction:r(function(){return qt.prototype.getTouchAction.call(this)},"getTouchAction"),attrTest:r(function(a){var u,g=this.options.direction;return g&(te|un)?u=a.overallVelocity:g&te?u=a.overallVelocityX:g&un&&(u=a.overallVelocityY),this._super.attrTest.call(this,a)&&g&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&an(u)>this.options.velocity&&a.eventType&nt},"attrTest"),emit:r(function(a){var u=sr(a.offsetDirection);u&&this.manager.emit(this.options.event+u,a),this.manager.emit(this.options.event,a)},"emit")}),p(F,vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:r(function(){return[ri]},"getTouchAction"),process:r(function(a){var u=this.options,g=a.pointers.length===u.pointers,T=a.distance<u.threshold,C=a.deltaTime<u.time;if(this.reset(),a.eventType&bt&&this.count===0)return this.failTimeout();if(T&&C&&g){if(a.eventType!=nt)return this.failTimeout();var M=this.pTime?a.timeStamp-this.pTime<u.interval:!0,P=!this.pCenter||sn(this.pCenter,a.center)<u.posThreshold;this.pTime=a.timeStamp,this.pCenter=a.center,P&&M?this.count+=1:this.count=1,this._input=a;var Q=this.count%u.taps;if(Q===0)return this.hasRequireFailures()?(this._timer=i(function(){this.state=de,this.tryEmit()},u.interval,this),jt):de}return ee},"process"),failTimeout:r(function(){return this._timer=i(function(){this.state=ee},this.options.interval,this),ee},"failTimeout"),reset:r(function(){clearTimeout(this._timer)},"reset"),emit:r(function(){this.state==de&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},"emit")}),et.VERSION="2.0.8",et.defaults={domEvents:!1,touchAction:Ta,enable:!0,inputTarget:null,inputClass:null,preset:[[A,{enable:!1}],[H,{enable:!1},["rotate"]],[K,{direction:te}],[qt,{direction:te},["swipe"]],[F],[F,{event:"doubletap",taps:2},["tap"]],[z]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Pl=1,Sa=2;it.prototype={set:r(function(a){return tt(this.options,a),a.touchAction&&this.touchAction.update(),a.inputTarget&&(this.input.destroy(),this.input.target=a.inputTarget,this.input.init()),this},"set"),stop:r(function(a){this.session.stopped=a?Sa:Pl},"stop"),recognize:r(function(a){var u=this.session;if(!u.stopped){this.touchAction.preventDefaults(a);var g,T=this.recognizers,C=u.curRecognizer;(!C||C&&C.state&de)&&(C=u.curRecognizer=null);for(var M=0;M<T.length;)g=T[M],u.stopped===Sa||C&&g!=C&&!g.canRecognizeWith(C)?g.reset():g.recognize(a),!C&&g.state&(jt|_n|De)&&(C=u.curRecognizer=g),M++}},"recognize"),get:r(function(a){if(a instanceof vt)return a;for(var u=this.recognizers,g=0;g<u.length;g++)if(u[g].options.event==a)return u[g];return null},"get"),add:r(function(a){if(s(a,"add",this))return this;var u=this.get(a.options.event);return u&&this.remove(u),this.recognizers.push(a),a.manager=this,this.touchAction.update(),a},"add"),remove:r(function(a){if(s(a,"remove",this))return this;if(a=this.get(a)){var u=this.recognizers,g=B(u,a);g!==-1&&(u.splice(g,1),this.touchAction.update())}return this},"remove"),on:r(function(a,u){if(a!==o&&u!==o){var g=this.handlers;return c(w(a),function(T){g[T]=g[T]||[],g[T].push(u)}),this}},"on"),off:r(function(a,u){if(a!==o){var g=this.handlers;return c(w(a),function(T){u?g[T]&&g[T].splice(B(g[T],u),1):delete g[T]}),this}},"off"),emit:r(function(a,u){this.options.domEvents&&ut(a,u);var g=this.handlers[a]&&this.handlers[a].slice();if(g&&g.length){u.type=a,u.preventDefault=function(){u.srcEvent.preventDefault()};for(var T=0;T<g.length;)g[T](u),T++}},"emit"),destroy:r(function(){this.element&&D(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},"destroy")},tt(et,{INPUT_START:bt,INPUT_MOVE:cn,INPUT_END:nt,INPUT_CANCEL:yt,STATE_POSSIBLE:ro,STATE_BEGAN:jt,STATE_CHANGED:_n,STATE_ENDED:De,STATE_RECOGNIZED:de,STATE_CANCELLED:pr,STATE_FAILED:ee,DIRECTION_NONE:to,DIRECTION_LEFT:cr,DIRECTION_RIGHT:ur,DIRECTION_UP:lr,DIRECTION_DOWN:hr,DIRECTION_HORIZONTAL:te,DIRECTION_VERTICAL:un,DIRECTION_ALL:pa,Manager:it,Input:j,TouchAction:Bn,TouchInput:Kt,MouseInput:xe,PointerEventInput:kn,TouchMouseInput:fe,SingleTouchInput:Me,Recognizer:vt,AttrRecognizer:ct,Tap:F,Pan:qt,Swipe:K,Pinch:H,Rotate:A,Press:z,on:l,off:v,each:c,merge:pl,extend:fa,assign:tt,inherit:p,bindFn:m,prefixed:E});var Al=typeof t<"u"?t:typeof self<"u"?self:{};Al.Hammer=et,typeof define=="function"&&define.amd?define(function(){return et}):typeof module<"u"&&module.exports?module.exports=et:t[n]=et})(window,document,"Hammer");let $p=globalThis.Hammer;delete globalThis?.Hammer;let Bt={};Bt.DT=Np;Bt.$on=(t,e)=>{na.addEventListener(t,e)};Bt.$off=(t,e)=>{na.removeEventListener(t,e)};Bt.$emit=(t,e)=>{na.dispatchEvent(t,e)};Bt.copyToClipboard=t=>{if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(t).then(()=>{}).catch(e=>{console.error("Ошибка при копировании текста: ",e)});else{const e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e);const n=document.getSelection()?.rangeCount>0?document.getSelection()?.getRangeAt(0):!1;e.select();const o=document.execCommand("copy");document.body.removeChild(e),n&&(document.getSelection()?.removeAllRanges(),document.getSelection()?.addRange(n)),o||console.error("Не удалось скопировать текст")}};Bt.generateSecurePassword=(t=18)=>{const e=[...Array(t)].map((n,o,i)=>o<4?"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!%^()_+[]{}|;:<>?"[Math.floor(Math.random()*(o===0||o===1?26:o===2?10:32))]:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!%^()_+[]{}|;:<>?"[Math.floor(Math.random()*72)]).sort(()=>Math.random()-.5).join("");return/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_]).{12,}$/.test(e)?e:$VST.generateSecurePassword(t)};Bt.generateRandomKey=(t=32)=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let o=0;o<t;o++)n+=e.charAt(Math.floor(Math.random()*e.length));return n};Bt.safeStringify=(t,e=2,n=20)=>{const o=new WeakSet,i=r((s,c,h=0)=>{if(h>n)return"[Max Depth Reached]";if(c===null||typeof c!="object")return c;if(o.has(c))return"[Circular]";if(c instanceof Date)return c.toISOString();if(c instanceof RegExp)return c.toString();if(c instanceof Error)return{name:c.name,message:c.message,stack:c.stack};if(o.add(c),Array.isArray(c))return c.map((m,b)=>i(String(b),m,h+1));const p={};for(const[m,b]of Object.entries(c))p[m]=i(m,b,h+1);return p},"stringifyWithDepth");try{const s=i("",t);return JSON.stringify(s,null,e)}catch(s){return`{"error": "Stringify failed: ${s.message}"}`}};Bt.device=()=>new Ei;Bt.Hammer=$p;window.addEventListener("resize",t=>$VST.$emit("$VST.viewPortResize"));Bt.__REGISTERED_HOTKEYS={};window.addEventListener("keydown",t=>{let e="",n=t.key=="Meta"&&/Mac OS/.test(navigator.userAgent)||t.ctrlKey;if(t.code=="Minus"?e="-":t.code=="Equal"?e="=":t.code=="Enter"?e="enter":t.code=="Escape"||t.key=="Escape"?e="escape":t.code=="BracketLeft"?e="[":t.code=="BracketRight"?e="]":t.code=="Semicolon"?e=";":t.code=="Quote"?e="'":t.code=="Backslash"?e="\\":t.code=="Comma"?e=",":t.code=="Period"?e=".":t.code=="Slash"?e="/":t.code=="Backquote"?e="`":t.code=="Unidentified"||t.code=="f1"?e="f1":["f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"].includes(t.code?.toLowerCase())?e=t.code?.toLowerCase():(e=t.code?.toString().toLowerCase(),typeof e=="string"?e.startsWith("digit")?e=e.slice(5):e=e.slice(3):e=""),e){const o=`${e}_${n?1:0}_${t.altKey?1:0}_${t.shiftKey?1:0}`;Bt.__REGISTERED_HOTKEYS[o]&&(t.preventDefault(),Bt.__REGISTERED_HOTKEYS[o].callback(t))}});const aa=class aa{mixins=[];components={};componentsParent={};emits=[];emitsParent=[];inject=[];injectParent=[];provide={};provideParent={};instance=this;$attrs={};$data={};$root;$emit(e,...n){}$forceUpdate(e){}$watch(e,n,o){}$nextTick(e){}$={};setup(e,n,o){}beforeCreate(){}created(){}beforeMount(){}mounted(){}beforeUpdate(){}updated(){}beforeUnmount(){}unmounted(){}setupParent(e,n,o){}beforeCreateParent(){}createdParent(){}beforeMountParent(){}mountedParent(){}beforeUpdateParent(){}updatedParent(){}beforeUnmountParent(){}unmountedParent(){}nextTick(e,n=1){}hasExternalHandlerEvent(e){return!1}};r(aa,"VueClass");let vn=aa;const jp=["$attrs","$data","$el","$off","$on","$emit","$forceUpdate","$nextTick","$options","$parent","$props","$refs","$root","$slots","$watch"];typeof globalThis.$VST>"u"&&(globalThis.$VST={});function Vp(t){return typeof t=="function"?cc(t):e=>cc(e,t)}r(Vp,"VueClassComponentDecorator");function cc(t,e={autodoc:!1}){let n=new t;return(()=>{let o={};const i=t?.___VST?.props??{},s=t?.___VST?.watch??{},c=t?.___VST?.computed??{},h=Object.assign({},s[t.name]??{}),p=[];let m=t;for(;m&&m.name!=="VueClass";)m.name&&!p.includes(m.name)&&p.unshift(m.name),m=Object.getPrototypeOf(m);for(const f of p){if(i?.[f])for(const w in i[f])o[w]||(o[w]=i[f][w]);if(s?.[f])for(const w in s[f])h[w]||(h[w]=s[f][w])}const b={};let y=Object.getPrototypeOf(n);do o=Object.assign(o,i?.[y.constructor.name]??{});while((y=Object.getPrototypeOf(y))instanceof vn);for(const f of lc(n))o[f]?o[f].default=n[f]:b[f]=n[f];const l={},v=new Bi;for(const f of Fp(uc(n),uc(v,!0)))l[f]=n[f];for(const f of lc(n))o[f]?o[f].default=n[f]:b[f]=n[f];const d=Object.assign({},c[t.name]??{});for(const f in d)delete n[f];return q.defineComponent({props:o,watch:h,computed:d,name:n.name??n.instance?.constructor?.name,mixins:n.mixins,components:{...n.componentsParent??{},...n.components},emits:n.emits.concat(n.emitsParent),inject:n.inject.concat(n.injectParent),provide:{...n.provideParent,...n.provide},setup:r(function(f,w){n=new t;const B={...n.setupParent.bind(this)(f,w,n)||{},...n.setup.bind(this)(f,w,n)||{}};if(Object.keys(B).length)for(const x in B)n[x]=B[x];return B},"setup"),beforeCreate:r(function(){for(const f in this.$props)n[f]=this.$props[f];n.$options=this.$options,n.$parent=this.$parent,n.$root=this.$root,n.$slots=this.$slots,n.instance=n,this.name=n.name??n.instance?.constructor.name,this.nextTick=n.nextTick=(f,w=1)=>{const B=r(x=>{this.$nextTick(()=>{x>1?B(x-1):typeof f=="function"&&!(f instanceof Promise)&&f?.call?.(this)})},"recursiveNextTick");B(w)},n.beforeCreateParent.call(this),n.beforeCreate.call(this)},"beforeCreate"),created:r(function(){this.name=n.name??n.instance?.constructor.name;for(let f in l)this[f]=n?.[f].bind?.(this);n.createdParent.call(this),n.created.call(this)},"created"),beforeMount:r(function(){n.beforeMountParent.call(this),n.beforeMount.call(this)},"beforeMount"),mounted:r(function(){n.mountedParent.call(this),n.mounted.call(this)},"mounted"),beforeUpdate:r(function(){n.beforeUpdateParent.call(this),n.beforeUpdate.call(this)},"beforeUpdate"),updated:r(function(){n.updatedParent.call(this),n.updated.call(this)},"updated"),beforeUnmount:r(function(){n.beforeUnmountParent.call(this),n.beforeUnmount.call(this)},"beforeUnmount"),unmounted:r(function(){n.unmountedParent.call(this),n.unmounted.call(this)},"unmounted"),data:r(function(){return{...b,__vue_class_instance__:null}},"data")})})()}r(cc,"createComponent");const hl=Vp;function uc(t,e=!1){let n=new Set,o=t;do{if(!e&&o.constructor.name==="VueClass")break;Object.getOwnPropertyNames(o).map(i=>n.add(i))}while(o=Object.getPrototypeOf(o));return[...n.keys()].filter(i=>typeof t[i]=="function"&&typeof Object[i]!="function")}r(uc,"getMethods");function lc(t,e=!1){let n=new Set,o=t;do{if(!e&&o.constructor.name==="VueClass")break;Object.getOwnPropertyNames(o).map(i=>n.add(i))}while(o=Object.getPrototypeOf(o));return[...n.keys()].filter(i=>jp.indexOf(i)===-1&&i!=="__vue_props__"&&t[i]!=="function"&&typeof Object[i]!="function")}r(lc,"getObjProps");function Fp(t,e){return t.filter(n=>!e.includes(n))}r(Fp,"arrayDiff");const ca=class ca extends vn{};r(ca,"VueClassChild");let Bi=ca,fn={};const _=r((t,...e)=>(n,o,i)=>{if(typeof n?.constructor?.name!="string")return;let s=n.constructor?.___VST??{};s.props||(s.props={}),fn[n.constructor.name]||(fn[n.constructor.name]=new n.constructor,fn[n.constructor.name].name=fn?.[n.constructor.name]?.constructor?.name?.toString()??fn?.[n.constructor.name]?.name??"");let c=typeof t=="object"?t:{type:[t,...e]};fn[n.constructor.name][o]&&(c.default=fn[n.constructor.name][o]),s.props[n.constructor.name]||(s.props[n.constructor.name]={});const h=[];let p=Object.getPrototypeOf(n.constructor);for(;p&&p.constructor!==Object;)p.name&&h.push(p.name),p=Object.getPrototypeOf(p);s.parents=h,s.props[n.constructor.name][o]=c,n.constructor.___VST=s},"Prop");let dn={};const nn=r(function(t,e=!1,n=!1){return(o,i,s)=>{if(typeof o?.constructor?.name!="string")return;let c=o.constructor?.___VST??{};c.watch||(c.watch={}),dn[o.constructor.name]||(dn[o.constructor.name]=new o.constructor,dn[o.constructor.name].name=dn?.[o.constructor.name]?.constructor?.name?.toString()??dn?.[o.constructor?.name]?.name??""),o?.constructor?.prototype?.__vue_watch__||(o.constructor.prototype.__vue_watch__={}),o?.constructor?.prototype?.__vue_watch__[o.constructor.name]||(o.constructor.prototype.__vue_watch__[o.constructor.name]={},o.constructor.prototype.__vue_watch__[o.constructor.name][t]=dn[o.constructor.name][i]),c.watch[o.constructor.name]||(c.watch[o.constructor.name]={}),c.watch[o.constructor.name][t]={handler:dn[o.constructor.name][i],deep:e,immediate:n},o.constructor.___VST=c}},"Watch");let me={};const Yp=r(function(t){return(e,n,o)=>{if(typeof e?.constructor?.name!="string")return;let i=e.constructor?.___VST??{};i.computed||(i.computed={}),me[e.constructor.name]||(me[e.constructor.name]=new e.constructor,me[e.constructor.name].name=me?.[e.constructor.name]?.constructor?.name?.toString()??me?.[e.constructor.name]?.name??""),e?.constructor?.prototype?.__vue_computed__||(e.constructor.prototype.__vue_computed__={}),e?.constructor?.prototype?.__vue_computed__[e.constructor.name]||(e.constructor.prototype.__vue_computed__[e.constructor.name]={}),e.constructor.prototype.__vue_computed__[e.constructor.name][t??n]=me[e.constructor.name][n],i.computed[e.constructor.name]||(i.computed[e.constructor.name]={});let s=me[e.constructor.name][n];me[e.constructor.name][n]=void 0,delete me[e.constructor.name][n],i.computed[e.constructor.name][t??n]={get:s},e.constructor.___VST=i}},"Computed");var Nn;let ra=(Nn=class extends vn{VST;Settings={directives:{clickTap:"onViewPortResize"}};emitsParent=["update:modelValue","clickTap"];constructor(){if(super(),this.VST=globalThis.$VST,!this.VST.$reactive){const e=q.ref(window.innerWidth),n=q.ref(window.innerHeight),o=this.VST.device().osName()?.toLowerCase().includes("android"),i=this.VST.device().deviceVendor()=="Apple",s=r(()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,"hasTouchpad"),c=this.VST.device().osName()?.toLowerCase().includes("ios")||this.VST.device().deviceModel()?.toLowerCase().includes("iphone")||this.VST.device().browserEngine()?.toLowerCase().includes("safari")&&this.VST.device().device()=="mobile";this.VST.$reactive=q.reactive({locale:(Intl?new Intl.DateTimeFormat()?.resolvedOptions?.()?.locale:navigator.language)||"en",isMobile:q.computed(()=>e.value<768||n.value<768&&e.value<1e3),isMobileHorizontal:q.computed(()=>n.value<768&&e.value<1e3),isTablet:q.computed(()=>e.value<1280&&e.value>=768),isNotebook:q.computed(()=>e.value<=1366&&e.value>=1280),isDesktop:q.computed(()=>e.value>1366),viewPortType:q.computed(()=>e.value<768||n.value<768&&e.value<1e3?"mobile":s()&&e.value<1440||e.value<1280?"tablet":e.value<1366?"notebook":"desktop"),get isIphone(){return c},get isApple(){return i},get isAndroid(){return o},get hasTouchpad(){return s()},viewPortWidth:q.computed(()=>e.value),viewPortHeight:q.computed(()=>n.value)}),window.addEventListener("resize",()=>{e.value=window.innerWidth,n.value=window.innerHeight})}this.__VSTBaseComponent={hammer:[],endCallbacks:[],keyBindingsCallbacks:{}}}__VSTBaseComponent={};createdParent(){this.VST.$on("$VST.viewPortResize",this.onViewPortResize),this.hookWhenComponentDestroy(()=>this.VST.$off("$VST.viewPortResize",this.onViewPortResize))}mountedParent(){this.$el instanceof HTMLElement&&(this.__VSTBaseComponent.clickTapHammer=new this.VST.Hammer(this.$el),this.__VSTBaseComponent.clickTapHammer.on("tap",()=>this.onComponentClickOrTap())),this.updatedParent()}updatedParent(){this.__VSTBaseComponent.clickTapHammer&&(this.__VSTBaseComponent.clickTapHammer.destroy(),this.__VSTBaseComponent.clickTapHammer=new this.VST.Hammer(this.$el),this.__VSTBaseComponent.clickTapHammer.on("tap",()=>this.onComponentClickOrTap()));for(const e of this.__VSTBaseComponent.hammer){e.instance?.destroy?.();const n=this.$el?.querySelector(e.selector);(n instanceof HTMLElement||n instanceof SVGElement)&&(e.instance=new this.VST.Hammer(n),e.instance.on(e.event,e.callback))}}beforeUnmountParent(){for(const e of this.__VSTBaseComponent?.endCallbacks??[])e();for(let e in this.__VSTBaseComponent.keyBindingsCallbacks??{})delete $VST.__REGISTERED_HOTKEYS[e];this.__VSTBaseComponent.clickTapHammer?.destroy?.()}registerReactiveEvent(e,n,o){const i=this.$el?.querySelector(n);let s;(i instanceof HTMLElement||i instanceof SVGElement)&&(s=new this.VST.Hammer(i),s.on(e,o)),this.__VSTBaseComponent.hammer.push({event:e,callback:o,instance:s,selector:n})}onViewPortResize(){}onComponentClickOrTap(){}hookWhenComponentDestroy(e){this.__VSTBaseComponent.endCallbacks.push(e)}registerHotKey(e,n,o,i,s){const c=`${e}_${o?1:0}_${i?1:0}_${s?1:0}`;this.__VSTBaseComponent.keyBindingsCallbacks[c]=$VST.__REGISTERED_HOTKEYS[c]={callback:n,ctrlOrCommand:o,alt:i,shift:s}}},r(Nn,"BaseComponent"),Nn);globalThis.$VST={...Bt};const Hp=hl;function O(t,e,n,o){var i=arguments.length,s=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,n):o,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,o);else for(var h=t.length-1;h>=0;h--)(c=t[h])&&(s=(i<3?c(s):i>3?c(e,n,s):c(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}r(O,"__decorate");function S(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}r(S,"__metadata");var Rn;let V=(Rn=class extends ra{emits=["click","touchstart","touchend","mousedown","mouseup","clickTap","clickTouch","clickOrTouchstart","clickOrTouchend","mousedownOrTouchstart","mouseupOrTouchend","keydownEnter"];icon="";iconRight="";badge="";badgeBg=null;badgeColor=null;style={};bg=null;color=null;borderColor=null;bgActive=null;colorActive=null;colorHover=null;borderColorActive=null;boxShadowColor=null;fontSize="1rem";size="lg";fontFamily=null;bgGradientTop=null;bgGradientBottom=null;disabled=!1;shine=!1;type="button";title=null;disabledTitle=null;dataTheme="black";dataDisabledTheme="gray";dataPlacement="top";dataOffset="top";width="calc(100% - 8px)";borderRadius="3px";link=null;linkRevert=null;theme="default";backgroundCss="";boxShadowCss="";isOnHover=!1;isButtonActive=!1;randomClass="";dataThemeInner="";showButton=!0;currentBg=null;currentColor=null;currentColorHover=null;currentBorderColor=null;currentBgActive=null;currentBorderColorActive=null;currentBoxShadowColor=null;currentColorActive=null;innerTitle=null;mountedParent(){this.randomClass="button-c"+Math.random().toString().split(".")[1],this.updateTheme(),this.registerReactiveEvent("tap",`.${this.randomClass}-click-tap`,e=>this.clickTap(e.srcEvent))}updateTheme(){const e="#ccc",n="#000",o="#cacaca",i="#ccc",s="#b6b6b6",c="#5b5a5a";this.currentBorderColor=this.currentColor=this.currentBg=this.currentColorActive=null,this.theme=="primary"&&(this.currentBg="#005bbf",this.currentColor="#fff",this.currentBorderColor="#0367d5",this.currentBgActive="#005fc8",this.currentBorderColorActive="#0871e3",this.currentBoxShadowColor="#065e8d",this.currentColorActive="#fff",this.currentColorHover="#fff"),this.theme=="success"?(this.currentBg="#0aa86d",this.currentColor="#fff",this.currentBorderColor="#24a876",this.currentBgActive="#0b9762",this.currentBorderColorActive="#0b9762",this.currentBoxShadowColor="#31735b",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="danger"?(this.currentBg="#FF3B30",this.currentColor="#fff",this.currentBorderColor="#FF3B30",this.currentBgActive="#FF3B30",this.currentBorderColorActive="#FF3B30",this.currentBoxShadowColor="#ff8179",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="pink"?(this.currentBg="#ff6161",this.currentColor="#fff",this.currentBorderColor="#ff4741c9",this.currentBgActive="#ff6a60",this.currentBorderColorActive="#ff4141",this.currentBoxShadowColor="#ff6a60",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="warning"?(this.currentBg="#FF9500",this.currentColor="#fff",this.currentBorderColor="#FF9500",this.currentBgActive="#ffb546",this.currentBorderColorActive="#ffb546",this.currentBoxShadowColor="#ffbe64",this.currentColorActive="#fdff98",this.currentColorHover="#fff8e8"):this.theme=="info"?(this.currentBg="#78d9ff",this.currentColor="#203464",this.currentColorHover="#34aff1",this.currentBorderColor="#3db0ee",this.currentBgActive="#78d9ff",this.currentBorderColorActive="#78d9ff",this.currentBoxShadowColor="#78d9ff",this.currentColorActive="#fff",this.currentColorHover="#304460"):this.theme=="yellow"?(this.currentBg="#ffd900",this.currentColor="#444",this.currentBorderColor="#ffd900",this.currentBgActive="#ffc400",this.currentBorderColorActive="#f3c922",this.currentBoxShadowColor="#cac838",this.currentColorActive="#fff"):this.theme=="white"?(this.currentBg="#ffffff",this.currentColor="#444",this.currentColorHover="#164205",this.currentBorderColor="#cacaca",this.currentBgActive="#efede7",this.currentBorderColorActive="##cacaca",this.currentBoxShadowColor="#b3b3ab",this.currentColorActive="#164205"):this.theme=="purple"?(this.currentBg="#942cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#a539f3",this.currentBgActive="#b755ff",this.currentBorderColorActive="#b755ff",this.currentBoxShadowColor="#7f18c5",this.currentColorActive="#ffffff"):this.theme=="indigo"?(this.currentBg="#5b2cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#6b39f3",this.currentBgActive="#8855ff",this.currentBorderColorActive="#6f55ff",this.currentBoxShadowColor="#5a18c5",this.currentColorActive="#ffffff"):this.theme=="black"?(this.currentBg="#32383e",this.currentColor="#fff",this.currentColorHover="#ebf8b3",this.currentBorderColor="#32383e",this.currentBgActive="#3b4249",this.currentBorderColorActive="#3b4249",this.currentBoxShadowColor="#32383e",this.currentColorActive="#ffffff"):this.theme=="grey"&&(this.currentBg="#5f6163",this.currentColor="#fff",this.currentColorHover="#cec6c4",this.currentBorderColor="#898d90",this.currentBgActive="#878c92",this.currentBorderColorActive="#686c71",this.currentBoxShadowColor="#626a71",this.currentColorActive="#ffffff"),this.currentBg=this.bg??this.currentBg??e,this.currentColor=this.color??this.currentColor??n,this.currentBorderColor=this.borderColor??this.currentBorderColor??o,this.currentBgActive=this.bgActive??this.currentBgActive??i,this.currentBorderColorActive=this.borderColorActive??this.currentBorderColorActive??s,this.currentBoxShadowColor=this.boxShadowColor??this.currentBoxShadowColor??c,this.currentColorActive=this.colorActive??this.currentColorActive??null,this.boxShadowCss=this.disabled?"box-shadow: none":`box-shadow: 0px 1px 2px 0px ${this.currentBoxShadowColor}`,this.dataThemeInner=this.disabled?this.dataDisabledTheme:this.dataTheme,this.backgroundCss="background: "+(this.bgGradientTop&&this.bgGradientBottom?`linear-gradient(to bottom, ${this.bgGradientTop}, ${this.bgGradientBottom})`:this.bg)}touchstart(e){this.disabled||(this.$emit("touchstart",e,this),this.VST.$reactive.hasTouchpad&&(this.$emit("clickTouch",e,this),this.$emit("clickOrTouchstart",e,this)))}touchend(e){this.disabled||(this.$emit("touchend",e,this),this.VST.$reactive.hasTouchpad||this.$emit("clickOrTouchend",e,this))}mouseup(e){this.disabled||(this.$emit("mouseup",e,this),this.$emit("mouseupOrTouchend",e,this),this.$emit("clickOrTouchend",e,this))}mousedown(e){this.disabled||(this.$emit("mousedown",e,this),this.$emit("mousedownOrTouchstart",e,this))}keydownEnter(e){this.disabled||this.$emit("keydownEnter",e,this)}click(e){this.clickTap(e)}focus(){this.$refs?.button?.focus()}clickTap(e){this.disabled||(this.$emit("click",e,this),this.$emit("clickTap",e,this))}onComponentClickOrTap(){}_onThemeChanged(){this.updateTheme()}_onTitleChanged(e){this.innerTitle=null,e&&this.nextTick(()=>this.innerTitle=e)}_onDisabledChanged(e){this.dataThemeInner=e?this.dataDisabledTheme:this.dataTheme,this.showButton=!1,this.nextTick(()=>this.showButton=!0)}},r(Rn,"ButtonInherited"),Rn);O([_(String),S("design:type",String)],V.prototype,"icon",void 0);O([_(String),S("design:type",String)],V.prototype,"iconRight",void 0);O([_(String),S("design:type",String)],V.prototype,"badge",void 0);O([_(String),S("design:type",Object)],V.prototype,"badgeBg",void 0);O([_(String),S("design:type",Object)],V.prototype,"badgeColor",void 0);O([_(Object),S("design:type",Object)],V.prototype,"style",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"bg",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"color",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"borderColor",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"bgActive",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"colorActive",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"colorHover",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"borderColorActive",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"boxShadowColor",void 0);O([_(String),S("design:type",Object)],V.prototype,"fontSize",void 0);O([_(String),S("design:type",Object)],V.prototype,"size",void 0);O([_(String),S("design:type",Object)],V.prototype,"fontFamily",void 0);O([_(String),S("design:type",Object)],V.prototype,"bgGradientTop",void 0);O([_(String),S("design:type",Object)],V.prototype,"bgGradientBottom",void 0);O([_(Boolean),S("design:type",Boolean)],V.prototype,"disabled",void 0);O([_(Boolean),S("design:type",Boolean)],V.prototype,"shine",void 0);O([_(String),S("design:type",String)],V.prototype,"type",void 0);O([_(String),S("design:type",Object)],V.prototype,"title",void 0);O([_(String),S("design:type",Object)],V.prototype,"disabledTitle",void 0);O([_(String),S("design:type",String)],V.prototype,"dataTheme",void 0);O([_(String),S("design:type",String)],V.prototype,"dataDisabledTheme",void 0);O([_(String),S("design:type",String)],V.prototype,"dataPlacement",void 0);O([_(String),S("design:type",String)],V.prototype,"dataOffset",void 0);O([_(String),S("design:type",String)],V.prototype,"width",void 0);O([_(String),S("design:type",String)],V.prototype,"borderRadius",void 0);O([_(String),S("design:type",Object)],V.prototype,"link",void 0);O([_(String),S("design:type",Object)],V.prototype,"linkRevert",void 0);O([_(String,null),S("design:type",Object)],V.prototype,"theme",void 0);O([nn("theme"),S("design:type",Function),S("design:paramtypes",[]),S("design:returntype",void 0)],V.prototype,"_onThemeChanged",null);O([nn("title",!1,!0),S("design:type",Function),S("design:paramtypes",[String]),S("design:returntype",void 0)],V.prototype,"_onTitleChanged",null);O([nn("disabled"),S("design:type",Function),S("design:paramtypes",[Boolean]),S("design:returntype",void 0)],V.prototype,"_onDisabledChanged",null);const zp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Button-IzqOMhqP.cjs"))),ua=class ua extends vn{VST;Settings={directives:{clickTap:"onViewPortResize"}};emitsParent=["update:modelValue","clickTap"];constructor(){if(super(),this.VST=globalThis.$VST,!this.VST.$reactive){const e=q.ref(window.innerWidth),n=q.ref(window.innerHeight),o=this.VST.device().osName()?.toLowerCase().includes("android"),i=this.VST.device().deviceVendor()=="Apple",s=r(()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,"hasTouchpad"),c=this.VST.device().osName()?.toLowerCase().includes("ios")||this.VST.device().deviceModel()?.toLowerCase().includes("iphone")||this.VST.device().browserEngine()?.toLowerCase().includes("safari")&&this.VST.device().device()=="mobile";this.VST.$reactive=q.reactive({locale:(Intl?new Intl.DateTimeFormat()?.resolvedOptions?.()?.locale:navigator.language)||"en",isMobile:q.computed(()=>e.value<768||n.value<768&&e.value<1e3),isMobileHorizontal:q.computed(()=>n.value<768&&e.value<1e3),isTablet:q.computed(()=>e.value<1280&&e.value>=768),isNotebook:q.computed(()=>e.value<=1366&&e.value>=1280),isDesktop:q.computed(()=>e.value>1366),viewPortType:q.computed(()=>e.value<768||n.value<768&&e.value<1e3?"mobile":s()&&e.value<1440||e.value<1280?"tablet":e.value<1366?"notebook":"desktop"),get isIphone(){return c},get isApple(){return i},get isAndroid(){return o},get hasTouchpad(){return s()},viewPortWidth:q.computed(()=>e.value),viewPortHeight:q.computed(()=>n.value)}),window.addEventListener("resize",()=>{e.value=window.innerWidth,n.value=window.innerHeight})}this.__VSTBaseComponent={hammer:[],endCallbacks:[],keyBindingsCallbacks:{}}}__VSTBaseComponent={};createdParent(){this.VST.$on("$VST.viewPortResize",this.onViewPortResize),this.hookWhenComponentDestroy(()=>this.VST.$off("$VST.viewPortResize",this.onViewPortResize))}mountedParent(){this.$el instanceof HTMLElement&&(this.__VSTBaseComponent.clickTapHammer=new this.VST.Hammer(this.$el),this.__VSTBaseComponent.clickTapHammer.on("tap",()=>this.onComponentClickOrTap())),this.updatedParent()}updatedParent(){this.__VSTBaseComponent.clickTapHammer&&(this.__VSTBaseComponent.clickTapHammer.destroy(),this.__VSTBaseComponent.clickTapHammer=new this.VST.Hammer(this.$el),this.__VSTBaseComponent.clickTapHammer.on("tap",()=>this.onComponentClickOrTap()));for(const e of this.__VSTBaseComponent.hammer){e.instance?.destroy?.();const n=this.$el?.querySelector(e.selector);(n instanceof HTMLElement||n instanceof SVGElement)&&(e.instance=new this.VST.Hammer(n),e.instance.on(e.event,e.callback))}}beforeUnmountParent(){for(const e of this.__VSTBaseComponent?.endCallbacks??[])e();for(let e in this.__VSTBaseComponent.keyBindingsCallbacks??{})delete $VST.__REGISTERED_HOTKEYS[e];this.__VSTBaseComponent.clickTapHammer?.destroy?.()}registerReactiveEvent(e,n,o){const i=this.$el?.querySelector(n);let s;(i instanceof HTMLElement||i instanceof SVGElement)&&(s=new this.VST.Hammer(i),s.on(e,o)),this.__VSTBaseComponent.hammer.push({event:e,callback:o,instance:s,selector:n})}onViewPortResize(){}onComponentClickOrTap(){}hookWhenComponentDestroy(e){this.__VSTBaseComponent.endCallbacks.push(e)}registerHotKey(e,n,o,i,s){const c=`${e}_${o?1:0}_${i?1:0}_${s?1:0}`;this.__VSTBaseComponent.keyBindingsCallbacks[c]=$VST.__REGISTERED_HOTKEYS[c]={callback:n,ctrlOrCommand:o,alt:i,shift:s}}};r(ua,"BaseComponent");let ko=ua;const la=class la extends ko{emits=["click","touchstart","touchend","mousedown","mouseup","clickTap","clickTouch","clickOrTouchstart","clickOrTouchend","mousedownOrTouchstart","mouseupOrTouchend","keydownEnter"];icon="";iconRight="";badge="";badgeBg=null;badgeColor=null;style={};bg=null;color=null;borderColor=null;bgActive=null;colorActive=null;colorHover=null;borderColorActive=null;boxShadowColor=null;fontSize="1rem";size="lg";fontFamily=null;bgGradientTop=null;bgGradientBottom=null;disabled=!1;shine=!1;type="button";title=null;disabledTitle=null;dataTheme="black";dataDisabledTheme="gray";dataPlacement="top";dataOffset="top";width="calc(100% - 8px)";borderRadius="3px";link=null;linkRevert=null;theme="default";backgroundCss="";boxShadowCss="";isOnHover=!1;isButtonActive=!1;randomClass="";dataThemeInner="";showButton=!0;currentBg=null;currentColor=null;currentColorHover=null;currentBorderColor=null;currentBgActive=null;currentBorderColorActive=null;currentBoxShadowColor=null;currentColorActive=null;innerTitle=null;mountedParent(){this.randomClass="button-c"+Math.random().toString().split(".")[1],this.updateTheme(),this.registerReactiveEvent("tap",`.${this.randomClass}-click-tap`,e=>this.clickTap(e.srcEvent))}updateTheme(){const e="#ccc",n="#000",o="#cacaca",i="#ccc",s="#b6b6b6",c="#5b5a5a";this.currentBorderColor=this.currentColor=this.currentBg=this.currentColorActive=null,this.theme=="primary"&&(this.currentBg="#005bbf",this.currentColor="#fff",this.currentBorderColor="#0367d5",this.currentBgActive="#005fc8",this.currentBorderColorActive="#0871e3",this.currentBoxShadowColor="#065e8d",this.currentColorActive="#fff",this.currentColorHover="#fff"),this.theme=="success"?(this.currentBg="#0aa86d",this.currentColor="#fff",this.currentBorderColor="#24a876",this.currentBgActive="#0b9762",this.currentBorderColorActive="#0b9762",this.currentBoxShadowColor="#31735b",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="danger"?(this.currentBg="#FF3B30",this.currentColor="#fff",this.currentBorderColor="#FF3B30",this.currentBgActive="#FF3B30",this.currentBorderColorActive="#FF3B30",this.currentBoxShadowColor="#ff8179",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="pink"?(this.currentBg="#ff6161",this.currentColor="#fff",this.currentBorderColor="#ff4741c9",this.currentBgActive="#ff6a60",this.currentBorderColorActive="#ff4141",this.currentBoxShadowColor="#ff6a60",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="warning"?(this.currentBg="#FF9500",this.currentColor="#fff",this.currentBorderColor="#FF9500",this.currentBgActive="#ffb546",this.currentBorderColorActive="#ffb546",this.currentBoxShadowColor="#ffbe64",this.currentColorActive="#fdff98",this.currentColorHover="#fff8e8"):this.theme=="info"?(this.currentBg="#78d9ff",this.currentColor="#203464",this.currentColorHover="#34aff1",this.currentBorderColor="#3db0ee",this.currentBgActive="#78d9ff",this.currentBorderColorActive="#78d9ff",this.currentBoxShadowColor="#78d9ff",this.currentColorActive="#fff",this.currentColorHover="#304460"):this.theme=="yellow"?(this.currentBg="#ffd900",this.currentColor="#444",this.currentBorderColor="#ffd900",this.currentBgActive="#ffc400",this.currentBorderColorActive="#f3c922",this.currentBoxShadowColor="#cac838",this.currentColorActive="#fff"):this.theme=="white"?(this.currentBg="#ffffff",this.currentColor="#444",this.currentColorHover="#164205",this.currentBorderColor="#cacaca",this.currentBgActive="#efede7",this.currentBorderColorActive="##cacaca",this.currentBoxShadowColor="#b3b3ab",this.currentColorActive="#164205"):this.theme=="purple"?(this.currentBg="#942cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#a539f3",this.currentBgActive="#b755ff",this.currentBorderColorActive="#b755ff",this.currentBoxShadowColor="#7f18c5",this.currentColorActive="#ffffff"):this.theme=="indigo"?(this.currentBg="#5b2cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#6b39f3",this.currentBgActive="#8855ff",this.currentBorderColorActive="#6f55ff",this.currentBoxShadowColor="#5a18c5",this.currentColorActive="#ffffff"):this.theme=="black"?(this.currentBg="#32383e",this.currentColor="#fff",this.currentColorHover="#ebf8b3",this.currentBorderColor="#32383e",this.currentBgActive="#3b4249",this.currentBorderColorActive="#3b4249",this.currentBoxShadowColor="#32383e",this.currentColorActive="#ffffff"):this.theme=="grey"&&(this.currentBg="#5f6163",this.currentColor="#fff",this.currentColorHover="#cec6c4",this.currentBorderColor="#898d90",this.currentBgActive="#878c92",this.currentBorderColorActive="#686c71",this.currentBoxShadowColor="#626a71",this.currentColorActive="#ffffff"),this.currentBg=this.bg??this.currentBg??e,this.currentColor=this.color??this.currentColor??n,this.currentBorderColor=this.borderColor??this.currentBorderColor??o,this.currentBgActive=this.bgActive??this.currentBgActive??i,this.currentBorderColorActive=this.borderColorActive??this.currentBorderColorActive??s,this.currentBoxShadowColor=this.boxShadowColor??this.currentBoxShadowColor??c,this.currentColorActive=this.colorActive??this.currentColorActive??null,this.boxShadowCss=this.disabled?"box-shadow: none":`box-shadow: 0px 1px 2px 0px ${this.currentBoxShadowColor}`,this.dataThemeInner=this.disabled?this.dataDisabledTheme:this.dataTheme,this.backgroundCss="background: "+(this.bgGradientTop&&this.bgGradientBottom?`linear-gradient(to bottom, ${this.bgGradientTop}, ${this.bgGradientBottom})`:this.bg)}touchstart(e){this.disabled||(this.$emit("touchstart",e,this),this.VST.$reactive.hasTouchpad&&(this.$emit("clickTouch",e,this),this.$emit("clickOrTouchstart",e,this)))}touchend(e){this.disabled||(this.$emit("touchend",e,this),this.VST.$reactive.hasTouchpad||this.$emit("clickOrTouchend",e,this))}mouseup(e){this.disabled||(this.$emit("mouseup",e,this),this.$emit("mouseupOrTouchend",e,this),this.$emit("clickOrTouchend",e,this))}mousedown(e){this.disabled||(this.$emit("mousedown",e,this),this.$emit("mousedownOrTouchstart",e,this))}keydownEnter(e){this.disabled||this.$emit("keydownEnter",e,this)}click(e){this.clickTap(e)}focus(){this.$refs?.button?.focus()}clickTap(e){this.disabled||(this.$emit("click",e,this),this.$emit("clickTap",e,this))}onComponentClickOrTap(){}_onThemeChanged(){this.updateTheme()}_onTitleChanged(e){this.innerTitle=null,e&&this.nextTick(()=>this.innerTitle=e)}_onDisabledChanged(e){this.dataThemeInner=e?this.dataDisabledTheme:this.dataTheme,this.showButton=!1,this.nextTick(()=>this.showButton=!0)}};r(la,"ButtonInherited");let R=la;O([_(String),S("design:type",String)],R.prototype,"icon",void 0);O([_(String),S("design:type",String)],R.prototype,"iconRight",void 0);O([_(String),S("design:type",String)],R.prototype,"badge",void 0);O([_(String),S("design:type",Object)],R.prototype,"badgeBg",void 0);O([_(String),S("design:type",Object)],R.prototype,"badgeColor",void 0);O([_(Object),S("design:type",Object)],R.prototype,"style",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"bg",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"color",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"borderColor",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"bgActive",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"colorActive",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"colorHover",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"borderColorActive",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"boxShadowColor",void 0);O([_(String),S("design:type",Object)],R.prototype,"fontSize",void 0);O([_(String),S("design:type",Object)],R.prototype,"size",void 0);O([_(String),S("design:type",Object)],R.prototype,"fontFamily",void 0);O([_(String),S("design:type",Object)],R.prototype,"bgGradientTop",void 0);O([_(String),S("design:type",Object)],R.prototype,"bgGradientBottom",void 0);O([_(Boolean),S("design:type",Boolean)],R.prototype,"disabled",void 0);O([_(Boolean),S("design:type",Boolean)],R.prototype,"shine",void 0);O([_(String),S("design:type",String)],R.prototype,"type",void 0);O([_(String),S("design:type",Object)],R.prototype,"title",void 0);O([_(String),S("design:type",Object)],R.prototype,"disabledTitle",void 0);O([_(String),S("design:type",String)],R.prototype,"dataTheme",void 0);O([_(String),S("design:type",String)],R.prototype,"dataDisabledTheme",void 0);O([_(String),S("design:type",String)],R.prototype,"dataPlacement",void 0);O([_(String),S("design:type",String)],R.prototype,"dataOffset",void 0);O([_(String),S("design:type",String)],R.prototype,"width",void 0);O([_(String),S("design:type",String)],R.prototype,"borderRadius",void 0);O([_(String),S("design:type",Object)],R.prototype,"link",void 0);O([_(String),S("design:type",Object)],R.prototype,"linkRevert",void 0);O([_(String,null),S("design:type",Object)],R.prototype,"theme",void 0);O([nn("theme"),S("design:type",Function),S("design:paramtypes",[]),S("design:returntype",void 0)],R.prototype,"_onThemeChanged",null);O([nn("title",!1,!0),S("design:type",Function),S("design:paramtypes",[String]),S("design:returntype",void 0)],R.prototype,"_onTitleChanged",null);O([nn("disabled"),S("design:type",Function),S("design:paramtypes",[Boolean]),S("design:returntype",void 0)],R.prototype,"_onDisabledChanged",null);const qp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Tabs-BVtQ9ry9.cjs"))),Up=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./SelectField-CzjtNgVT.cjs"))),Zp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./StringField-CGaoXR-6.cjs"))),Lp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./SwitchField-BplIlkCc.cjs"))),Wp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./TextField-BhOXU_9t.cjs"))),Gp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./DateField-CYRNKQSI.cjs")));var Xp=Object.defineProperty,Jp=Object.getOwnPropertyDescriptor,Gr=r((t,e,n,o)=>{for(var i=o>1?void 0:o?Jp(e,n):e,s=t.length-1,c;s>=0;s--)(c=t[s])&&(i=(o?c(e,n,i):c(i))||i);return o&&i&&Xp(e,n,i),i},"__decorateClass");const ha=class ha extends ra{inputValue=null;modelValue=null;default=null;disabled=!1;emitsParent=["update:modelValue"];value=null;constructor(){super()}createdParent(){this.value=this.modelValue||this.inputValue||null}mountedParent(){}onValueChange(e){}_valueWatch(e){this.onValueChange(e)}getValue(){return this.value}setValue(e){this.value=e}};r(ha,"FieldComponent");let Ue=ha;Gr([_(String,Number,Array,Object,Boolean,null)],Ue.prototype,"inputValue",2);Gr([_(String,Number,Array,Object,Boolean,null)],Ue.prototype,"modelValue",2);Gr([_(String,Number,Array,Object,Boolean)],Ue.prototype,"default",2);Gr([_(Boolean)],Ue.prototype,"disabled",2);Gr([nn("value",!0)],Ue.prototype,"_valueWatch",1);const Kp=q.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./CodeHighlight-BcKpOwzv.cjs")));exports.BaseComponent=ra;exports.BaseComponent$1=ko;exports.ButtonInherited=V;exports.ButtonInherited$1=R;exports.Computed=Yp;exports.FieldComponent=Ue;exports.Prop=_;exports.VST=Hp;exports.VSTButton=zp;exports.VSTStringField=Zp;exports.VueClass=vn;exports.VueClassComponent=hl;exports.Watch=nn;exports.index=Kp;exports.index$1=qp;exports.index$2=Up;exports.index$3=Lp;exports.index$4=Wp;exports.index$5=Gp;
@@ -1,12 +1,24 @@
1
1
  <script lang="ts">
2
2
  import {reactive, computed, ref} from 'vue'
3
- import IBaseVueComponent from '../Interfaces/IBaseVueComponent'
3
+ import IBaseVueComponent, {BaseComponentEventInput, BaseComponentEvents} from '../Interfaces/IBaseVueComponent'
4
4
  import {VueClass} from '../core'
5
5
  import {IGlobalVST} from '../Interfaces/IGlobalVST'
6
+ import {IHammerManager} from '../Interfaces/IHammer'
6
7
 
7
8
  /** Base component */
8
9
  export default abstract class BaseComponent extends VueClass implements IBaseVueComponent {
9
10
  readonly VST: IGlobalVST
11
+
12
+ readonly Settings: {
13
+ directives: {
14
+ clickTap: boolean|string
15
+ }
16
+ } = {
17
+ directives: {
18
+ clickTap: 'onViewPortResize'
19
+ }
20
+ }
21
+
10
22
  emitsParent = ['update:modelValue', 'clickTap']
11
23
  declare readonly $root: {
12
24
  [key: string]: any
@@ -73,56 +85,79 @@ export default abstract class BaseComponent extends VueClass implements IBaseVue
73
85
  windowHeight.value = window.innerHeight
74
86
  })
75
87
  }
88
+ this.__VSTBaseComponent = {
89
+ hammer: [],
90
+ endCallbacks: [],
91
+ keyBindingsCallbacks: {},
92
+ }
76
93
  }
77
94
 
78
95
  /**
79
96
  * Свойство с динамическими данными, специфичными для компонента
80
97
  * @private
81
98
  */
82
- private ___VST_BASE: {
83
- endCallbacks: (() => any)[]
84
- keyBindingsCallbacks: {[key:string]:{
85
- callback: (e: Event) => any,
86
- ctrlOrCommand: boolean,
87
- alt: boolean,
88
- shift: boolean,
89
- }}
90
- } = {} as BaseComponent['___VST_BASE']
99
+ private readonly __VSTBaseComponent: IVSTBaseBaseComponent = {} as IVSTBaseBaseComponent
91
100
 
92
- createdParent() {
93
- this.___VST_BASE = {
94
- endCallbacks: [],
95
- keyBindingsCallbacks: {},
96
- }
97
101
 
102
+ createdParent() {
98
103
  this.VST.$on('$VST.viewPortResize', this.onViewPortResize)
99
104
  this.hookWhenComponentDestroy(() => this.VST.$off('$VST.viewPortResize', this.onViewPortResize))
100
105
  }
101
106
 
102
107
  mountedParent() {
103
108
  if (this.$el instanceof HTMLElement) {
104
- const componentHammer = new this.VST.Hammer(this.$el)
105
- componentHammer.on('tap', () => this.onComponentClickOrTap())
106
- this.hookWhenComponentDestroy(() => componentHammer.destroy())
109
+ this.__VSTBaseComponent.clickTapHammer = new this.VST.Hammer(this.$el)
110
+ this.__VSTBaseComponent.clickTapHammer.on('tap', () => this.onComponentClickOrTap())
111
+ }
112
+ this.updatedParent()
113
+ }
114
+
115
+ updatedParent() {
116
+ if (this.__VSTBaseComponent.clickTapHammer) {
117
+ this.__VSTBaseComponent.clickTapHammer.destroy()
118
+ this.__VSTBaseComponent.clickTapHammer = new this.VST.Hammer(this.$el)
119
+ this.__VSTBaseComponent.clickTapHammer.on('tap', () => this.onComponentClickOrTap())
120
+ }
121
+ for (const h of this.__VSTBaseComponent.hammer) {
122
+ h.instance?.destroy?.()
123
+ const el = this.$el?.querySelector(h.selector)
124
+ if (el instanceof HTMLElement || el instanceof SVGElement) {
125
+ h.instance = new this.VST.Hammer(el) as any
126
+ h.instance!.on(h.event, h.callback as any)
127
+ }
107
128
  }
108
129
  }
109
130
 
110
131
  beforeUnmountParent() {
111
- for (const callback of this.___VST_BASE?.endCallbacks ?? []) callback()
112
- for (let hk in this.___VST_BASE.keyBindingsCallbacks ?? {}) { // @ts-ignore
132
+ for (const callback of this.__VSTBaseComponent?.endCallbacks ?? []) callback()
133
+ for (let hk in this.__VSTBaseComponent.keyBindingsCallbacks ?? {}) {
113
134
  delete $VST.__REGISTERED_HOTKEYS[hk]
114
135
  }
136
+ this.__VSTBaseComponent.clickTapHammer?.destroy?.()
137
+ }
138
+
139
+ registerReactiveEvent(event: BaseComponentEvents, componentSelector: string, callback: (e: BaseComponentEventInput) => any) {
140
+ const el = this.$el?.querySelector(componentSelector)
141
+ let hammer
142
+ if (el instanceof HTMLElement || el instanceof SVGElement) {
143
+ hammer = new this.VST.Hammer(el) as any
144
+ hammer.on(event, callback)
145
+ }
146
+ this.__VSTBaseComponent.hammer.push({
147
+ event,
148
+ callback,
149
+ instance: hammer,
150
+ selector: componentSelector,
151
+ })
115
152
  }
116
153
 
117
154
  onViewPortResize() {
118
155
 
119
156
  }
120
- onComponentClickOrTap() {
121
- this.$emit('clickTap', this.$el)
122
- }
157
+ onComponentClickOrTap() {}
123
158
 
124
159
  hookWhenComponentDestroy(end: () => any): void {
125
- this.___VST_BASE.endCallbacks.push(end)
160
+ this.__VSTBaseComponent.endCallbacks.push(end)
126
161
  }
127
162
 
128
163
  registerHotKey(key:
@@ -135,7 +170,7 @@ export default abstract class BaseComponent extends VueClass implements IBaseVue
135
170
  shift: boolean,
136
171
  ): void {
137
172
  const k = `${key}_${ctrlOrCommand ? 1 : 0}_${alt ? 1 : 0}_${shift ? 1 : 0}`
138
- this.___VST_BASE.keyBindingsCallbacks[k] = $VST.__REGISTERED_HOTKEYS[k] = {
173
+ this.__VSTBaseComponent.keyBindingsCallbacks[k] = $VST.__REGISTERED_HOTKEYS[k] = {
139
174
  callback,
140
175
  ctrlOrCommand,
141
176
  alt,
@@ -143,4 +178,21 @@ export default abstract class BaseComponent extends VueClass implements IBaseVue
143
178
  }
144
179
  }
145
180
  }
181
+
182
+ interface IVSTBaseBaseComponent {
183
+ hammer: {
184
+ instance?: IHammerManager
185
+ event: BaseComponentEvents
186
+ selector: string
187
+ callback: (e: BaseComponentEventInput) => void
188
+ }[]
189
+ clickTapHammer?: IHammerManager
190
+ endCallbacks: (() => any)[]
191
+ keyBindingsCallbacks: {[key:string]:{
192
+ callback: (e: Event) => any
193
+ ctrlOrCommand: boolean
194
+ alt: boolean
195
+ shift: boolean
196
+ }}
197
+ }
146
198
  </script>
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C-oCSkuQ.cjs");exports.BaseComponent=e.BaseComponent$1;exports.Button=e.VSTButton;exports.ButtonInherited=e.ButtonInherited$1;exports.CodeHighlight=e.index;exports.Computed=e.Computed;exports.DateField=e.index$5;exports.FieldComponent=e.FieldComponent;exports.Prop=e.Prop;exports.SelectField=e.index$2;exports.StringField=e.VSTStringField;exports.SwitchField=e.index$3;exports.Tabs=e.index$1;exports.TextField=e.index$4;exports.VST=e.VST;exports.VueClass=e.VueClass;exports.VueClassComponent=e.VueClassComponent;exports.Watch=e.Watch;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DuXDoRjA.cjs");exports.BaseComponent=e.BaseComponent$1;exports.Button=e.VSTButton;exports.ButtonInherited=e.ButtonInherited$1;exports.CodeHighlight=e.index;exports.Computed=e.Computed;exports.DateField=e.index$5;exports.FieldComponent=e.FieldComponent;exports.Prop=e.Prop;exports.SelectField=e.index$2;exports.StringField=e.VSTStringField;exports.SwitchField=e.index$3;exports.Tabs=e.index$1;exports.TextField=e.index$4;exports.VST=e.VST;exports.VueClass=e.VueClass;exports.VueClassComponent=e.VueClassComponent;exports.Watch=e.Watch;