@everymatrix/player-account-controller-nd 1.50.0 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/components/GeneralLogout-BBoBE1Lx.cjs +8 -0
  2. package/components/{GeneralLogout-ATgFK7sR.js → GeneralLogout-CpfJL45A.js} +323 -317
  3. package/components/{PlayerAccountBettingHistory-Cy59ufCv.cjs → PlayerAccountBettingHistory-BhFyAw7S.cjs} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CFtSVoji.js → PlayerAccountBettingHistory-C6Jnecgm.js} +1 -1
  5. package/components/{PlayerAccountBiometrics-C6v6jJ9w.js → PlayerAccountBiometrics-CbgGBdjA.js} +1 -1
  6. package/components/{PlayerAccountBiometrics-BZ8i34dM.cjs → PlayerAccountBiometrics-U1ab8cUd.cjs} +1 -1
  7. package/components/{PlayerAccountClosureNd-COHgZ9-G.cjs → PlayerAccountClosureNd-CLRXe1KM.cjs} +1 -1
  8. package/components/{PlayerAccountClosureNd-DUcdQzUc.js → PlayerAccountClosureNd-CQa6GJ-9.js} +1 -1
  9. package/components/{PlayerAccountControllerNd-D5w3Kg-r.js → PlayerAccountControllerNd-BSVMbuxt.js} +20 -20
  10. package/components/{PlayerAccountControllerNd-CV9vO5ca.cjs → PlayerAccountControllerNd-CuHyqivG.cjs} +1 -1
  11. package/components/{PlayerAccountGamingLimits-qXOqPPkw.js → PlayerAccountGamingLimits-BysIpKq_.js} +2 -2
  12. package/components/{PlayerAccountGamingLimits-CV_NoRFx.cjs → PlayerAccountGamingLimits-ImaSq8Bu.cjs} +1 -1
  13. package/components/{PlayerAccountGamingLimitsConfirmationModal-Dzxus6A7.cjs → PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs} +1 -1
  14. package/components/{PlayerAccountGamingLimitsConfirmationModal-DbcnBHRs.js → PlayerAccountGamingLimitsConfirmationModal-C1JaSEj9.js} +1 -1
  15. package/components/{PlayerAccountGamingLimitsGroupEdit-V_JV0LSw.js → PlayerAccountGamingLimitsGroupEdit-DvbllfiB.js} +4 -4
  16. package/components/{PlayerAccountGamingLimitsGroupEdit-CZNV2Pxd.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +2 -2
  17. package/components/{PlayerAccountGamingLimitsHistory2Nd-BsiYLKxc.js → PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js} +1 -1
  18. package/components/{PlayerAccountGamingLimitsHistory2Nd-g_nVdqz_.cjs → PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsInfoCard-BjLZ3MaL.cjs → PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsInfoCard-C7DHDazS.js → PlayerAccountGamingLimitsInfoCard-Cf-_Q_Il.js} +3 -3
  21. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CA2a3x6-.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BCXkwI8L.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsPopup-DXmjH-pQ.js → PlayerAccountGamingLimitsPopup-BGVFSakv.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsPopup-Dz_qQuDe.cjs → PlayerAccountGamingLimitsPopup-C47JGdE1.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsWrapper2Nd-W0XSHSmQ.cjs → PlayerAccountGamingLimitsWrapper2Nd-B1d5eGWo.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Cqbi6OIR.js → PlayerAccountGamingLimitsWrapper2Nd-D2CBz_5K.js} +3 -3
  27. package/components/{PlayerAccountMenuNd-D1msRHN7.js → PlayerAccountMenuNd-Cy1yKfxC.js} +2 -2
  28. package/components/{PlayerAccountMenuNd-DHfc8luf.cjs → PlayerAccountMenuNd-T9fpXE8-.cjs} +1 -1
  29. package/components/{PlayerAccountModal-DEtLb1RB.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
  30. package/components/{PlayerAccountModal-BCywDW8T.js → PlayerAccountModal-CcuAGQY1.js} +1 -1
  31. package/components/{PlayerAccountNotifications-DEqB-PVw.cjs → PlayerAccountNotifications-B5y5G3E_.cjs} +1 -1
  32. package/components/{PlayerAccountNotifications-CmsfuwvE.js → PlayerAccountNotifications-BS8gXEjF.js} +1 -1
  33. package/components/{PlayerAccountSelfExclusionNd-7TYKpU1_.js → PlayerAccountSelfExclusionNd-DJdimTeI.js} +481 -2
  34. package/components/{PlayerAccountSelfExclusionNd-LiHqUC3T.cjs → PlayerAccountSelfExclusionNd-uHrwQnpT.cjs} +481 -3
  35. package/components/{PlayerAccountTimeout-CXeEUwpu.cjs → PlayerAccountTimeout-CNtkqjo7.cjs} +1 -1
  36. package/components/{PlayerAccountTimeout-DPrx1P_i.js → PlayerAccountTimeout-CoL4r8kh.js} +1 -1
  37. package/components/{PlayerActiveBonuses-DA6p75G4.cjs → PlayerActiveBonuses-DOOKCxQp.cjs} +1 -1
  38. package/components/{PlayerActiveBonuses-27KndevJ.js → PlayerActiveBonuses-Dm8oJ-8E.js} +2 -2
  39. package/components/{PlayerBonusCard-DCNIGmVp.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
  40. package/components/{PlayerBonusCard-DA08N08o.js → PlayerBonusCard-y6Mmy7BC.js} +2 -2
  41. package/components/{PlayerBonusHistory-BB5sG7OY.js → PlayerBonusHistory-BAqio45G.js} +4 -4
  42. package/components/{PlayerBonusHistory-DTgZPGWC.cjs → PlayerBonusHistory-CwcvkOns.cjs} +1 -1
  43. package/components/{PlayerChangePassword-BxwRqAxy.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
  44. package/components/{PlayerChangePassword-BP_oFQvT.js → PlayerChangePassword-CU9ISaq8.js} +1 -1
  45. package/components/{PlayerDeposit-bjlqIdhX.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
  46. package/components/{PlayerDeposit-CHF20-Fa.js → PlayerDeposit-BO3gHJ2M.js} +1 -1
  47. package/components/{PlayerGamingHistory-B_w-qsoF.cjs → PlayerGamingHistory-Bsrdosmr.cjs} +1 -1
  48. package/components/{PlayerGamingHistory-B4_0pXmI.js → PlayerGamingHistory-dHWr4quw.js} +4 -4
  49. package/components/{PlayerPendingWithdrawals-BgExjLDb.js → PlayerPendingWithdrawals-CSQvhjqu.js} +1 -1
  50. package/components/{PlayerPendingWithdrawals-C0HSC7tm.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
  51. package/components/{PlayerProfileInfo-CNKIiMA-.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
  52. package/components/{PlayerProfileInfo-Dmpc8_7w.js → PlayerProfileInfo-CFjLZ0AP.js} +1 -1
  53. package/components/{PlayerRealityCheck-CtU2sJN0.cjs → PlayerRealityCheck-B--KgOX7.cjs} +1 -1
  54. package/components/{PlayerRealityCheck-supovOsg.js → PlayerRealityCheck-CKMxPxsj.js} +1 -1
  55. package/components/{PlayerTransactionHistory-n-Knh2Ex.js → PlayerTransactionHistory-1P_fFQ9M.js} +1 -1
  56. package/components/{PlayerTransactionHistory-Dg7CD0Zs.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
  57. package/components/{PlayerWithdrawal-YdjDSwtZ.js → PlayerWithdrawal-Bho97r_v.js} +1 -1
  58. package/components/{PlayerWithdrawal-CGpOe7ya.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
  59. package/es2015/player-account-controller-nd.cjs +1 -1
  60. package/es2015/player-account-controller-nd.js +1 -1
  61. package/package.json +1 -1
  62. package/components/GeneralLogout-CnBIvtF1.cjs +0 -8
@@ -1,4 +1,4 @@
1
- "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var rs=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var ns=(s,t,e)=>t in s?wr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,jt=(s,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&ns(s,e,t[e]);if(rs)for(var e of rs(t))Ar.call(t,e)&&ns(s,e,t[e]);return s},Yt=(s,t)=>Er(s,Sr(t));var ft=(s,t,e)=>new Promise((o,i)=>{var r=l=>{try{a(e.next(l))}catch(c){i(c)}},n=l=>{try{a(e.throw(l))}catch(c){i(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./GeneralLogout-CnBIvtF1.cjs");var ei={exports:{}};(function(s,t){(function(e,o){s.exports=o()})(u.commonjsGlobal,function(){var e=1e3,o=6e4,i=36e5,r="millisecond",n="second",a="minute",l="hour",c="day",d="week",h="month",p="quarter",m="year",v="date",P="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,I={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var g=["th","st","nd","rd"],f=x%100;return"["+x+(g[(f-20)%10]||g[f]||g[0])+"]"}},H=function(x,g,f){var b=String(x);return!b||b.length>=g?x:""+Array(g+1-b.length).join(f)+x},Q={s:H,z:function(x){var g=-x.utcOffset(),f=Math.abs(g),b=Math.floor(f/60),_=f%60;return(g<=0?"+":"-")+H(b,2,"0")+":"+H(_,2,"0")},m:function x(g,f){if(g.date()<f.date())return-x(f,g);var b=12*(f.year()-g.year())+(f.month()-g.month()),_=g.clone().add(b,h),S=f-_<0,w=g.clone().add(b+(S?-1:1),h);return+(-(b+(f-_)/(S?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:m,w:d,d:c,D:v,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},G="en",V={};V[G]=I;var ne="$isDayjsObject",ae=function(x){return x instanceof le||!(!x||!x[ne])},oe=function x(g,f,b){var _;if(!g)return G;if(typeof g=="string"){var S=g.toLowerCase();V[S]&&(_=S),f&&(V[S]=f,_=S);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var M=g.name;V[M]=g,_=M}return!b&&_&&(G=_),_||!b&&G},L=function(x,g){if(ae(x))return x.clone();var f=typeof g=="object"?g:{};return f.date=x,f.args=arguments,new le(f)},k=Q;k.l=oe,k.i=ae,k.w=function(x,g){return L(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var le=function(){function x(f){this.$L=oe(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[ne]=!0}var g=x.prototype;return g.parse=function(f){this.$d=function(b){var _=b.date,S=b.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(N);if(w){var M=w[2]-1||0,D=(w[7]||"0").substring(0,3);return S?new Date(Date.UTC(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)):new Date(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)}}return new Date(_)}(f),this.init()},g.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==P},g.isSame=function(f,b){var _=L(f);return this.startOf(b)<=_&&_<=this.endOf(b)},g.isAfter=function(f,b){return L(f)<this.startOf(b)},g.isBefore=function(f,b){return this.endOf(b)<L(f)},g.$g=function(f,b,_){return k.u(f)?this[b]:this.set(_,f)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(f,b){var _=this,S=!!k.u(b)||b,w=k.p(f),M=function($,A){var J=k.w(_.$u?Date.UTC(_.$y,A,$):new Date(_.$y,A,$),_);return S?J:J.endOf(c)},D=function($,A){return k.w(_.toDate()[$].apply(_.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(A)),_)},z=this.$W,B=this.$M,j=this.$D,se="set"+(this.$u?"UTC":"");switch(w){case m:return S?M(1,0):M(31,11);case h:return S?M(1,B):M(0,B+1);case d:var ie=this.$locale().weekStart||0,y=(z<ie?z+7:z)-ie;return M(S?j-y:j+(6-y),B);case c:case v:return D(se+"Hours",0);case l:return D(se+"Minutes",1);case a:return D(se+"Seconds",2);case n:return D(se+"Milliseconds",3);default:return this.clone()}},g.endOf=function(f){return this.startOf(f,!1)},g.$set=function(f,b){var _,S=k.p(f),w="set"+(this.$u?"UTC":""),M=(_={},_[c]=w+"Date",_[v]=w+"Date",_[h]=w+"Month",_[m]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[S],D=S===c?this.$D+(b-this.$W):b;if(S===h||S===m){var z=this.clone().set(v,1);z.$d[M](D),z.init(),this.$d=z.set(v,Math.min(this.$D,z.daysInMonth())).$d}else M&&this.$d[M](D);return this.init(),this},g.set=function(f,b){return this.clone().$set(f,b)},g.get=function(f){return this[k.p(f)]()},g.add=function(f,b){var _,S=this;f=Number(f);var w=k.p(b),M=function(B){var j=L(S);return k.w(j.date(j.date()+Math.round(B*f)),S)};if(w===h)return this.set(h,this.$M+f);if(w===m)return this.set(m,this.$y+f);if(w===c)return M(1);if(w===d)return M(7);var D=(_={},_[a]=o,_[l]=i,_[n]=e,_)[w]||1,z=this.$d.getTime()+f*D;return k.w(z,this)},g.subtract=function(f,b){return this.add(-1*f,b)},g.format=function(f){var b=this,_=this.$locale();if(!this.isValid())return _.invalidDate||P;var S=f||"YYYY-MM-DDTHH:mm:ssZ",w=k.z(this),M=this.$H,D=this.$m,z=this.$M,B=_.weekdays,j=_.months,se=_.meridiem,ie=function(A,J,ee,be){return A&&(A[J]||A(b,S))||ee[J].slice(0,be)},y=function(A){return k.s(M%12||12,A,"0")},$=se||function(A,J,ee){var be=A<12?"AM":"PM";return ee?be.toLowerCase():be};return S.replace(O,function(A,J){return J||function(ee){switch(ee){case"YY":return String(b.$y).slice(-2);case"YYYY":return k.s(b.$y,4,"0");case"M":return z+1;case"MM":return k.s(z+1,2,"0");case"MMM":return ie(_.monthsShort,z,j,3);case"MMMM":return ie(j,z);case"D":return b.$D;case"DD":return k.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return ie(_.weekdaysMin,b.$W,B,2);case"ddd":return ie(_.weekdaysShort,b.$W,B,3);case"dddd":return B[b.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return y(1);case"hh":return y(2);case"a":return $(M,D,!0);case"A":return $(M,D,!1);case"m":return String(D);case"mm":return k.s(D,2,"0");case"s":return String(b.$s);case"ss":return k.s(b.$s,2,"0");case"SSS":return k.s(b.$ms,3,"0");case"Z":return w}return null}(A)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(f,b,_){var S,w=this,M=k.p(b),D=L(f),z=(D.utcOffset()-this.utcOffset())*o,B=this-D,j=function(){return k.m(w,D)};switch(M){case m:S=j()/12;break;case h:S=j();break;case p:S=j()/3;break;case d:S=(B-z)/6048e5;break;case c:S=(B-z)/864e5;break;case l:S=B/i;break;case a:S=B/o;break;case n:S=B/e;break;default:S=B}return _?S:k.a(S)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return V[this.$L]},g.locale=function(f,b){if(!f)return this.$L;var _=this.clone(),S=oe(f,b,!0);return S&&(_.$L=S),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),me=le.prototype;return L.prototype=me,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",c],["$M",h],["$y",m],["$D",v]].forEach(function(x){me[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),L.extend=function(x,g){return x.$i||(x(g,le,L),x.$i=!0),L},L.locale=oe,L.isDayjs=ae,L.unix=function(x){return L(1e3*x)},L.en=V[G],L.Ls=V,L.p={},L})})(ei);var kr=ei.exports;const Vt=u.getDefaultExportFromCjs(kr);function as(s,t){u.addMessages(s,t)}function Pr(s){u.$locale.set(s)}const ls={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognise that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a period of your choosing from the drop-down menu below.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During a self-exclusion period, withdrawals will be possible, please check",termsAndConditions:"Terms and Conditions",selfExclusionText4:"to see the exact process; however, depositing funds or placing bets will be restricted. In the case of permanent self-exclusion, revocation is only possible upon written request and must occur no sooner than six months after the initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText5:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until"},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText1:"我們認識到賭博可能帶來危害,因此為防止與賭博相關的問題,我們為用戶提供了排除本站所有投注形式的功能,您可從下拉菜單中選擇一個期間。",selfExclusionText2:'自我排除將從設置時開始生效,持續您選擇的期間。請在下方選擇一個時間範圍,然後點擊"保存"。',selfExclusionText3:"在自我排除期間,可進行提款操作,請查看",termsAndConditions:"條款和細則",selfExclusionText4:"了解具體流程;但存款或下注將受到限制。如選擇永久自我排除,撤銷申請僅可通過書面申請,且必須在最初申請六個月後才能進行。請注意,另一種請求自我排除的方法是通過以下方式聯繫客服:",selfExclusionText5:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText1:"Nous reconnaissons que le jeu peut être nuisible. Pour prévenir les problèmes liés au jeu, nous offrons à nos utilisateurs la possibilité de s’exclure de toutes les formes de paris sur notre site pour une durée de votre choix, à sélectionner dans le menu déroulant ci-dessous.",selfExclusionText2:"L'auto-exclusion prend effet dès qu'elle est définie pour la période choisie. Sélectionnez une durée ci-dessous, puis cliquez sur « Enregistrer ».",selfExclusionText3:"Pendant une période d'auto-exclusion, les retraits seront possibles. Veuillez consulter",termsAndConditions:"les Termes et Conditions",selfExclusionText4:"pour connaître le processus exact ; cependant, les dépôts et les paris seront restreints. En cas d'auto-exclusion permanente, la révocation n'est possible que sur demande écrite et ne peut avoir lieu avant six mois après la demande initiale. Veuillez noter qu'une autre façon de demander l'auto-exclusion est de contacter le service client comme suit :",selfExclusionText5:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à"},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"Recunoaștem că jocurile de noroc pot fi dăunătoare, așa că pentru a preveni problemele asociate acestora, oferim utilizatorilor posibilitatea de a se exclude de la toate formele de pariere de pe site-ul nostru pentru o perioadă la alegerea dvs. din meniul derulant de mai jos.",selfExclusionText2:"Auto-excluderea intră în vigoare din momentul setării pentru perioada aleasă. Selectați un interval de timp mai jos, apoi faceți clic pe „Salvează”.",selfExclusionText3:"Pe durata perioadei de auto-excludere, retragerile vor fi posibile. Vă rugăm să verificați",termsAndConditions:"Termenii și Condițiile",selfExclusionText4:"pentru a vedea procesul exact; cu toate acestea, depunerile sau pariurile vor fi restricționate. În cazul auto-excluderii permanente, revocarea este posibilă doar printr-o cerere scrisă și nu mai devreme de șase luni de la aplicarea inițială. Rețineți că o altă modalitate de a solicita auto-excluderea este să contactați Serviciul Clienți după cum urmează:",selfExclusionText5:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la"},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, por isso, para evitar problemas associados ao jogo, oferecemos aos nossos utilizadores a possibilidade de se excluírem de todas as formas de apostas no nosso site por um período à sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Guardar".',selfExclusionText3:"Durante o período de autoexclusão, os levantamentos serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas serão restringidos. No caso de autoexclusão permanente, a revogação só será possível mediante pedido por escrito e deve ocorrer não antes de seis meses após a solicitação inicial. Note que outra forma de solicitar autoexclusão é contactar o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Prepoznajemo da kockanje može biti štetno, stoga kako bismo spriječili probleme povezane s kockanjem, nudimo korisnicima mogućnost isključenja iz svih oblika klađenja na našoj stranici na razdoblje po vašem izboru iz donjeg padajućeg izbornika.",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka postavljanja za odabrano razdoblje. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom razdoblja samoisključenja, isplate će biti moguće. Molimo provjerite",termsAndConditions:"Uvjeti i odredbe",selfExclusionText4:"za točan proces; međutim, polaganje sredstava ili postavljanje oklada bit će ograničeno. U slučaju trajnog samoisključenja, povlačenje je moguće samo uz pisani zahtjev i ne ranije od šest mjeseci nakon početne prijave. Napominjemo da alternativni način za traženje samoisključenja uključuje kontaktiranje korisničke službe na sljedeći način:",selfExclusionText5:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do"},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, então, para prevenir problemas relacionados ao jogo, oferecemos aos nossos usuários a possibilidade de se excluir de todas as formas de apostas em nosso site por um período de sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Salvar".',selfExclusionText3:"Durante o período de autoexclusão, os saques serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas estarão restritos. No caso de autoexclusão permanente, a revogação só será possível mediante solicitação por escrito e deve ocorrer não antes de seis meses após o pedido inicial. Observe que outra forma de solicitar a autoexclusão é entrar em contato com o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText1:"Kumarın zararlı olabileceğini kabul ediyoruz, bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, aşağıdaki açılır menüden seçebileceğiniz bir süre boyunca sitemizdeki tüm bahislerden kendilerini hariç tutma olanağı sunuyoruz.",selfExclusionText2:'Kendi kendini hariç tutma, seçilen süre boyunca ayarlandığı andan itibaren yürürlüğe girer. Aşağıdan bir zaman dilimi seçin ve ardından "Kaydet"e tıklayın.',selfExclusionText3:"Kendi kendini hariç tutma süresi boyunca para çekme işlemleri mümkün olacaktır. Lütfen kontrol edin",termsAndConditions:"Hüküm ve Koşullar",selfExclusionText4:"tam süreci görmek için; ancak para yatırma veya bahis yapma kısıtlanacaktır. Kalıcı hariç tutma durumunda, iptal yalnızca yazılı talep üzerine ve ilk başvurudan en az altı ay sonra mümkün olacaktır. Kendi kendini hariç tutma talebinde bulunmanın alternatif bir yolu olarak aşağıdaki şekilde Müşteri Hizmetleri ile iletişime geçebilirsiniz:",selfExclusionText5:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar"}};/**
1
+ "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var rs=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var ns=(s,t,e)=>t in s?wr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,jt=(s,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&ns(s,e,t[e]);if(rs)for(var e of rs(t))Ar.call(t,e)&&ns(s,e,t[e]);return s},Yt=(s,t)=>Er(s,Sr(t));var ft=(s,t,e)=>new Promise((o,i)=>{var r=l=>{try{a(e.next(l))}catch(c){i(c)}},n=l=>{try{a(e.throw(l))}catch(c){i(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./GeneralLogout-BBoBE1Lx.cjs");var ei={exports:{}};(function(s,t){(function(e,o){s.exports=o()})(u.commonjsGlobal,function(){var e=1e3,o=6e4,i=36e5,r="millisecond",n="second",a="minute",l="hour",c="day",d="week",h="month",p="quarter",m="year",v="date",P="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,I={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var g=["th","st","nd","rd"],f=x%100;return"["+x+(g[(f-20)%10]||g[f]||g[0])+"]"}},H=function(x,g,f){var b=String(x);return!b||b.length>=g?x:""+Array(g+1-b.length).join(f)+x},Q={s:H,z:function(x){var g=-x.utcOffset(),f=Math.abs(g),b=Math.floor(f/60),_=f%60;return(g<=0?"+":"-")+H(b,2,"0")+":"+H(_,2,"0")},m:function x(g,f){if(g.date()<f.date())return-x(f,g);var b=12*(f.year()-g.year())+(f.month()-g.month()),_=g.clone().add(b,h),S=f-_<0,w=g.clone().add(b+(S?-1:1),h);return+(-(b+(f-_)/(S?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:m,w:d,d:c,D:v,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},G="en",V={};V[G]=I;var ne="$isDayjsObject",ae=function(x){return x instanceof le||!(!x||!x[ne])},oe=function x(g,f,b){var _;if(!g)return G;if(typeof g=="string"){var S=g.toLowerCase();V[S]&&(_=S),f&&(V[S]=f,_=S);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var M=g.name;V[M]=g,_=M}return!b&&_&&(G=_),_||!b&&G},L=function(x,g){if(ae(x))return x.clone();var f=typeof g=="object"?g:{};return f.date=x,f.args=arguments,new le(f)},k=Q;k.l=oe,k.i=ae,k.w=function(x,g){return L(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var le=function(){function x(f){this.$L=oe(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[ne]=!0}var g=x.prototype;return g.parse=function(f){this.$d=function(b){var _=b.date,S=b.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(N);if(w){var M=w[2]-1||0,D=(w[7]||"0").substring(0,3);return S?new Date(Date.UTC(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)):new Date(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)}}return new Date(_)}(f),this.init()},g.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==P},g.isSame=function(f,b){var _=L(f);return this.startOf(b)<=_&&_<=this.endOf(b)},g.isAfter=function(f,b){return L(f)<this.startOf(b)},g.isBefore=function(f,b){return this.endOf(b)<L(f)},g.$g=function(f,b,_){return k.u(f)?this[b]:this.set(_,f)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(f,b){var _=this,S=!!k.u(b)||b,w=k.p(f),M=function($,A){var J=k.w(_.$u?Date.UTC(_.$y,A,$):new Date(_.$y,A,$),_);return S?J:J.endOf(c)},D=function($,A){return k.w(_.toDate()[$].apply(_.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(A)),_)},z=this.$W,B=this.$M,j=this.$D,se="set"+(this.$u?"UTC":"");switch(w){case m:return S?M(1,0):M(31,11);case h:return S?M(1,B):M(0,B+1);case d:var ie=this.$locale().weekStart||0,y=(z<ie?z+7:z)-ie;return M(S?j-y:j+(6-y),B);case c:case v:return D(se+"Hours",0);case l:return D(se+"Minutes",1);case a:return D(se+"Seconds",2);case n:return D(se+"Milliseconds",3);default:return this.clone()}},g.endOf=function(f){return this.startOf(f,!1)},g.$set=function(f,b){var _,S=k.p(f),w="set"+(this.$u?"UTC":""),M=(_={},_[c]=w+"Date",_[v]=w+"Date",_[h]=w+"Month",_[m]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[S],D=S===c?this.$D+(b-this.$W):b;if(S===h||S===m){var z=this.clone().set(v,1);z.$d[M](D),z.init(),this.$d=z.set(v,Math.min(this.$D,z.daysInMonth())).$d}else M&&this.$d[M](D);return this.init(),this},g.set=function(f,b){return this.clone().$set(f,b)},g.get=function(f){return this[k.p(f)]()},g.add=function(f,b){var _,S=this;f=Number(f);var w=k.p(b),M=function(B){var j=L(S);return k.w(j.date(j.date()+Math.round(B*f)),S)};if(w===h)return this.set(h,this.$M+f);if(w===m)return this.set(m,this.$y+f);if(w===c)return M(1);if(w===d)return M(7);var D=(_={},_[a]=o,_[l]=i,_[n]=e,_)[w]||1,z=this.$d.getTime()+f*D;return k.w(z,this)},g.subtract=function(f,b){return this.add(-1*f,b)},g.format=function(f){var b=this,_=this.$locale();if(!this.isValid())return _.invalidDate||P;var S=f||"YYYY-MM-DDTHH:mm:ssZ",w=k.z(this),M=this.$H,D=this.$m,z=this.$M,B=_.weekdays,j=_.months,se=_.meridiem,ie=function(A,J,ee,be){return A&&(A[J]||A(b,S))||ee[J].slice(0,be)},y=function(A){return k.s(M%12||12,A,"0")},$=se||function(A,J,ee){var be=A<12?"AM":"PM";return ee?be.toLowerCase():be};return S.replace(O,function(A,J){return J||function(ee){switch(ee){case"YY":return String(b.$y).slice(-2);case"YYYY":return k.s(b.$y,4,"0");case"M":return z+1;case"MM":return k.s(z+1,2,"0");case"MMM":return ie(_.monthsShort,z,j,3);case"MMMM":return ie(j,z);case"D":return b.$D;case"DD":return k.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return ie(_.weekdaysMin,b.$W,B,2);case"ddd":return ie(_.weekdaysShort,b.$W,B,3);case"dddd":return B[b.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return y(1);case"hh":return y(2);case"a":return $(M,D,!0);case"A":return $(M,D,!1);case"m":return String(D);case"mm":return k.s(D,2,"0");case"s":return String(b.$s);case"ss":return k.s(b.$s,2,"0");case"SSS":return k.s(b.$ms,3,"0");case"Z":return w}return null}(A)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(f,b,_){var S,w=this,M=k.p(b),D=L(f),z=(D.utcOffset()-this.utcOffset())*o,B=this-D,j=function(){return k.m(w,D)};switch(M){case m:S=j()/12;break;case h:S=j();break;case p:S=j()/3;break;case d:S=(B-z)/6048e5;break;case c:S=(B-z)/864e5;break;case l:S=B/i;break;case a:S=B/o;break;case n:S=B/e;break;default:S=B}return _?S:k.a(S)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return V[this.$L]},g.locale=function(f,b){if(!f)return this.$L;var _=this.clone(),S=oe(f,b,!0);return S&&(_.$L=S),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),me=le.prototype;return L.prototype=me,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",c],["$M",h],["$y",m],["$D",v]].forEach(function(x){me[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),L.extend=function(x,g){return x.$i||(x(g,le,L),x.$i=!0),L},L.locale=oe,L.isDayjs=ae,L.unix=function(x){return L(1e3*x)},L.en=V[G],L.Ls=V,L.p={},L})})(ei);var kr=ei.exports;const Vt=u.getDefaultExportFromCjs(kr);function as(s,t){u.addMessages(s,t)}function Pr(s){u.$locale.set(s)}const ls={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognise that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a period of your choosing from the drop-down menu below.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During a self-exclusion period, withdrawals will be possible, please check",termsAndConditions:"Terms and Conditions",selfExclusionText4:"to see the exact process; however, depositing funds or placing bets will be restricted. In the case of permanent self-exclusion, revocation is only possible upon written request and must occur no sooner than six months after the initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText5:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until"},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText1:"我們認識到賭博可能帶來危害,因此為防止與賭博相關的問題,我們為用戶提供了排除本站所有投注形式的功能,您可從下拉菜單中選擇一個期間。",selfExclusionText2:'自我排除將從設置時開始生效,持續您選擇的期間。請在下方選擇一個時間範圍,然後點擊"保存"。',selfExclusionText3:"在自我排除期間,可進行提款操作,請查看",termsAndConditions:"條款和細則",selfExclusionText4:"了解具體流程;但存款或下注將受到限制。如選擇永久自我排除,撤銷申請僅可通過書面申請,且必須在最初申請六個月後才能進行。請注意,另一種請求自我排除的方法是通過以下方式聯繫客服:",selfExclusionText5:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText1:"Nous reconnaissons que le jeu peut être nuisible. Pour prévenir les problèmes liés au jeu, nous offrons à nos utilisateurs la possibilité de s’exclure de toutes les formes de paris sur notre site pour une durée de votre choix, à sélectionner dans le menu déroulant ci-dessous.",selfExclusionText2:"L'auto-exclusion prend effet dès qu'elle est définie pour la période choisie. Sélectionnez une durée ci-dessous, puis cliquez sur « Enregistrer ».",selfExclusionText3:"Pendant une période d'auto-exclusion, les retraits seront possibles. Veuillez consulter",termsAndConditions:"les Termes et Conditions",selfExclusionText4:"pour connaître le processus exact ; cependant, les dépôts et les paris seront restreints. En cas d'auto-exclusion permanente, la révocation n'est possible que sur demande écrite et ne peut avoir lieu avant six mois après la demande initiale. Veuillez noter qu'une autre façon de demander l'auto-exclusion est de contacter le service client comme suit :",selfExclusionText5:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à"},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"Recunoaștem că jocurile de noroc pot fi dăunătoare, așa că pentru a preveni problemele asociate acestora, oferim utilizatorilor posibilitatea de a se exclude de la toate formele de pariere de pe site-ul nostru pentru o perioadă la alegerea dvs. din meniul derulant de mai jos.",selfExclusionText2:"Auto-excluderea intră în vigoare din momentul setării pentru perioada aleasă. Selectați un interval de timp mai jos, apoi faceți clic pe „Salvează”.",selfExclusionText3:"Pe durata perioadei de auto-excludere, retragerile vor fi posibile. Vă rugăm să verificați",termsAndConditions:"Termenii și Condițiile",selfExclusionText4:"pentru a vedea procesul exact; cu toate acestea, depunerile sau pariurile vor fi restricționate. În cazul auto-excluderii permanente, revocarea este posibilă doar printr-o cerere scrisă și nu mai devreme de șase luni de la aplicarea inițială. Rețineți că o altă modalitate de a solicita auto-excluderea este să contactați Serviciul Clienți după cum urmează:",selfExclusionText5:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la"},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, por isso, para evitar problemas associados ao jogo, oferecemos aos nossos utilizadores a possibilidade de se excluírem de todas as formas de apostas no nosso site por um período à sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Guardar".',selfExclusionText3:"Durante o período de autoexclusão, os levantamentos serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas serão restringidos. No caso de autoexclusão permanente, a revogação só será possível mediante pedido por escrito e deve ocorrer não antes de seis meses após a solicitação inicial. Note que outra forma de solicitar autoexclusão é contactar o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Prepoznajemo da kockanje može biti štetno, stoga kako bismo spriječili probleme povezane s kockanjem, nudimo korisnicima mogućnost isključenja iz svih oblika klađenja na našoj stranici na razdoblje po vašem izboru iz donjeg padajućeg izbornika.",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka postavljanja za odabrano razdoblje. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom razdoblja samoisključenja, isplate će biti moguće. Molimo provjerite",termsAndConditions:"Uvjeti i odredbe",selfExclusionText4:"za točan proces; međutim, polaganje sredstava ili postavljanje oklada bit će ograničeno. U slučaju trajnog samoisključenja, povlačenje je moguće samo uz pisani zahtjev i ne ranije od šest mjeseci nakon početne prijave. Napominjemo da alternativni način za traženje samoisključenja uključuje kontaktiranje korisničke službe na sljedeći način:",selfExclusionText5:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do"},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, então, para prevenir problemas relacionados ao jogo, oferecemos aos nossos usuários a possibilidade de se excluir de todas as formas de apostas em nosso site por um período de sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Salvar".',selfExclusionText3:"Durante o período de autoexclusão, os saques serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas estarão restritos. No caso de autoexclusão permanente, a revogação só será possível mediante solicitação por escrito e deve ocorrer não antes de seis meses após o pedido inicial. Observe que outra forma de solicitar a autoexclusão é entrar em contato com o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText1:"Kumarın zararlı olabileceğini kabul ediyoruz, bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, aşağıdaki açılır menüden seçebileceğiniz bir süre boyunca sitemizdeki tüm bahislerden kendilerini hariç tutma olanağı sunuyoruz.",selfExclusionText2:'Kendi kendini hariç tutma, seçilen süre boyunca ayarlandığı andan itibaren yürürlüğe girer. Aşağıdan bir zaman dilimi seçin ve ardından "Kaydet"e tıklayın.',selfExclusionText3:"Kendi kendini hariç tutma süresi boyunca para çekme işlemleri mümkün olacaktır. Lütfen kontrol edin",termsAndConditions:"Hüküm ve Koşullar",selfExclusionText4:"tam süreci görmek için; ancak para yatırma veya bahis yapma kısıtlanacaktır. Kalıcı hariç tutma durumunda, iptal yalnızca yazılı talep üzerine ve ilk başvurudan en az altı ay sonra mümkün olacaktır. Kendi kendini hariç tutma talebinde bulunmanın alternatif bir yolu olarak aşağıdaki şekilde Müşteri Hizmetleri ile iletişime geçebilirsiniz:",selfExclusionText5:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar"}};/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -714,7 +714,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
714
714
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
715
715
  * Google as part of the polymer project is also subject to an additional IP
716
716
  * rights grant found at http://polymer.github.io/PATENTS.txt
717
- */const wa="3.5.1",Ls=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ea=Y(s=>{const t=xa(jo(s));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let c=l._properties;for(let d in c){let h=c[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function i(l,c,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(c)?console.warn(`Cannot redefine computed property '${c}'.`):l._createComputedProperty(c,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(c)?l._createReadOnlyProperty(c,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(c)&&console.warn(`Cannot make readOnly property '${c}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(c)?l._createReflectedProperty(c):d.reflectToAttribute===!1&&l._hasReflectEffect(c)&&console.warn(`Cannot make reflected property '${c}' non-reflected.`),d.notify&&!l._hasNotifyEffect(c)?l._createNotifyingProperty(c):d.notify===!1&&l._hasNotifyEffect(c)&&console.warn(`Cannot make notify property '${c}' non-notify.`),d.observer&&l._createPropertyObserver(c,d.observer,h[d.observer]),l._addPropertyToAttributeMap(c)}function r(l,c,d,h){if(!Ls){const p=c.content.querySelectorAll("style"),m=mi(c),v=yn(d),P=c.content.firstElementChild;for(let O=0;O<v.length;O++){let I=v[O];I.textContent=l._processStyleText(I.textContent,h),c.content.insertBefore(I,P)}let N=0;for(let O=0;O<m.length;O++){let I=m[O],H=p[N];H!==I?(I=I.cloneNode(!0),H.parentNode.insertBefore(I,H)):N++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(c,d),dn&&Ls&&rn){const p=c.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(v=>{m+=v.textContent,v.parentNode.removeChild(v)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let c=null;if(l&&(!kt||an)&&(c=et.import(l,"template"),kt&&!c))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return c}class a extends t{static get polymerElementVersion(){return wa}static _finalizeClass(){t._finalizeClass.call(this);const c=o(this);c&&this.createObservers(c,this._properties),this._prepareTemplate()}static _prepareTemplate(){let c=this.template;c&&(typeof c=="string"?(console.error("template getter must return HTMLTemplateElement"),c=null):ui||(c=c.cloneNode(!0))),this.prototype._template=c}static createProperties(c){for(let d in c)i(this.prototype,d,c[d],c)}static createObservers(c,d){const h=this.prototype;for(let p=0;p<c.length;p++)h._createMethodObserver(c[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let c=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof c=="function"&&(c=c()),this._template=c!==void 0?c:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(c){this._template=c}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const c=this.importMeta;if(c)this._importPath=Ro(c.url);else{const d=et.import(this.is);this._importPath=d&&d.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=nn,this.importPath=this.constructor.importPath;let c=e(this.constructor);if(c)for(let d in c){let h=c[d];if(this._canApplyPropertyDefault(d)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(d)?this._setPendingProperty(d,p,!0):this[d]=p}}}_canApplyPropertyDefault(c){return!this.hasOwnProperty(c)}static _processStyleText(c,d){return $o(c,d)}static _finalizeTemplate(c){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,d,c,p),this.prototype._bindTemplate(d)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(c){const d=q(this);if(d.attachShadow)return c?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:c}),d.shadowRoot.appendChild(c),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),ln&&window.ShadyDOM&&window.ShadyDOM.flushInitial(d.shadowRoot),d.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(c){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,c)}resolveUrl(c,d){return!d&&this.importPath&&(d=Je(this.importPath)),Je(c,d)}static _parseTemplateContent(c,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,c,d,h)}static _addTemplatePropertyEffect(c,d,h){return di&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!c.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,c,d,h)}}return a});/**
717
+ */const wa="3.5.2",Ls=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ea=Y(s=>{const t=xa(jo(s));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let c=l._properties;for(let d in c){let h=c[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function i(l,c,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(c)?console.warn(`Cannot redefine computed property '${c}'.`):l._createComputedProperty(c,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(c)?l._createReadOnlyProperty(c,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(c)&&console.warn(`Cannot make readOnly property '${c}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(c)?l._createReflectedProperty(c):d.reflectToAttribute===!1&&l._hasReflectEffect(c)&&console.warn(`Cannot make reflected property '${c}' non-reflected.`),d.notify&&!l._hasNotifyEffect(c)?l._createNotifyingProperty(c):d.notify===!1&&l._hasNotifyEffect(c)&&console.warn(`Cannot make notify property '${c}' non-notify.`),d.observer&&l._createPropertyObserver(c,d.observer,h[d.observer]),l._addPropertyToAttributeMap(c)}function r(l,c,d,h){if(!Ls){const p=c.content.querySelectorAll("style"),m=mi(c),v=yn(d),P=c.content.firstElementChild;for(let O=0;O<v.length;O++){let I=v[O];I.textContent=l._processStyleText(I.textContent,h),c.content.insertBefore(I,P)}let N=0;for(let O=0;O<m.length;O++){let I=m[O],H=p[N];H!==I?(I=I.cloneNode(!0),H.parentNode.insertBefore(I,H)):N++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(c,d),dn&&Ls&&rn){const p=c.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(v=>{m+=v.textContent,v.parentNode.removeChild(v)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let c=null;if(l&&(!kt||an)&&(c=et.import(l,"template"),kt&&!c))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return c}class a extends t{static get polymerElementVersion(){return wa}static _finalizeClass(){t._finalizeClass.call(this);const c=o(this);c&&this.createObservers(c,this._properties),this._prepareTemplate()}static _prepareTemplate(){let c=this.template;c&&(typeof c=="string"?(console.error("template getter must return HTMLTemplateElement"),c=null):ui||(c=c.cloneNode(!0))),this.prototype._template=c}static createProperties(c){for(let d in c)i(this.prototype,d,c[d],c)}static createObservers(c,d){const h=this.prototype;for(let p=0;p<c.length;p++)h._createMethodObserver(c[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let c=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof c=="function"&&(c=c()),this._template=c!==void 0?c:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(c){this._template=c}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const c=this.importMeta;if(c)this._importPath=Ro(c.url);else{const d=et.import(this.is);this._importPath=d&&d.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=nn,this.importPath=this.constructor.importPath;let c=e(this.constructor);if(c)for(let d in c){let h=c[d];if(this._canApplyPropertyDefault(d)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(d)?this._setPendingProperty(d,p,!0):this[d]=p}}}_canApplyPropertyDefault(c){return!this.hasOwnProperty(c)}static _processStyleText(c,d){return $o(c,d)}static _finalizeTemplate(c){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,d,c,p),this.prototype._bindTemplate(d)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(c){const d=q(this);if(d.attachShadow)return c?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:c}),d.shadowRoot.appendChild(c),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),ln&&window.ShadyDOM&&window.ShadyDOM.flushInitial(d.shadowRoot),d.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(c){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,c)}resolveUrl(c,d){return!d&&this.importPath&&(d=Je(this.importPath)),Je(c,d)}static _parseTemplateContent(c,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,c,d,h)}static _addTemplatePropertyEffect(c,d,h){return di&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!c.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,c,d,h)}}return a});/**
718
718
  @license
719
719
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
720
720
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2066,7 +2066,485 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2066
2066
  * @license
2067
2067
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2068
2068
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2069
- */const He=Y(s=>typeof s.prototype.addController=="function"?s:class extends s{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}}),qa=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,wt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function Ka(){function s(){return!0}return Li(s)}function Ga(){try{return Ja()?!0:Xa()?wt?!Za():!Ka():!1}catch(s){return!1}}function Ja(){return localStorage.getItem("vaadin.developmentmode.force")}function Xa(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Za(){return!!(wt&&Object.keys(wt).map(t=>wt[t]).filter(t=>t.productionMode).length>0)}function Li(s,t){if(typeof s!="function")return;const e=qa.exec(s.toString());if(e)try{s=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return s(t)}window.Vaadin=window.Vaadin||{};const Rs=function(s,t){if(window.Vaadin.developmentMode)return Li(s,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=Ga());function Qa(){}const el=function(){if(typeof Rs=="function")return Rs(Qa)};/**
2069
+ */const He=Y(s=>typeof s.prototype.addController=="function"?s:class extends s{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}}),qa=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,wt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function Ka(){function s(){return!0}return Li(s)}function Ga(){try{return Ja()?!0:Xa()?wt?!Za():!Ka():!1}catch(s){return!1}}function Ja(){return localStorage.getItem("vaadin.developmentmode.force")}function Xa(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Za(){return!!(wt&&Object.keys(wt).map(t=>wt[t]).filter(t=>t.productionMode).length>0)}function Li(s,t){if(typeof s!="function")return;const e=qa.exec(s.toString());if(e)try{s=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return s(t)}window.Vaadin=window.Vaadin||{};const Rs=function(s,t){if(window.Vaadin.developmentMode)return Li(s,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=Ga());function Qa(){/*! vaadin-dev-mode:start
2070
+ (function () {
2071
+ 'use strict';
2072
+
2073
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
2074
+ return typeof obj;
2075
+ } : function (obj) {
2076
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2077
+ };
2078
+
2079
+ var classCallCheck = function (instance, Constructor) {
2080
+ if (!(instance instanceof Constructor)) {
2081
+ throw new TypeError("Cannot call a class as a function");
2082
+ }
2083
+ };
2084
+
2085
+ var createClass = function () {
2086
+ function defineProperties(target, props) {
2087
+ for (var i = 0; i < props.length; i++) {
2088
+ var descriptor = props[i];
2089
+ descriptor.enumerable = descriptor.enumerable || false;
2090
+ descriptor.configurable = true;
2091
+ if ("value" in descriptor) descriptor.writable = true;
2092
+ Object.defineProperty(target, descriptor.key, descriptor);
2093
+ }
2094
+ }
2095
+
2096
+ return function (Constructor, protoProps, staticProps) {
2097
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
2098
+ if (staticProps) defineProperties(Constructor, staticProps);
2099
+ return Constructor;
2100
+ };
2101
+ }();
2102
+
2103
+ var getPolymerVersion = function getPolymerVersion() {
2104
+ return window.Polymer && window.Polymer.version;
2105
+ };
2106
+
2107
+ var StatisticsGatherer = function () {
2108
+ function StatisticsGatherer(logger) {
2109
+ classCallCheck(this, StatisticsGatherer);
2110
+
2111
+ this.now = new Date().getTime();
2112
+ this.logger = logger;
2113
+ }
2114
+
2115
+ createClass(StatisticsGatherer, [{
2116
+ key: 'frameworkVersionDetectors',
2117
+ value: function frameworkVersionDetectors() {
2118
+ return {
2119
+ 'Flow': function Flow() {
2120
+ if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
2121
+ var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
2122
+ return window.Vaadin.Flow.clients[key];
2123
+ }).filter(function (client) {
2124
+ return client.getVersionInfo;
2125
+ }).map(function (client) {
2126
+ return client.getVersionInfo().flow;
2127
+ });
2128
+ if (flowVersions.length > 0) {
2129
+ return flowVersions[0];
2130
+ }
2131
+ }
2132
+ },
2133
+ 'Vaadin Framework': function VaadinFramework() {
2134
+ if (window.vaadin && window.vaadin.clients) {
2135
+ var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
2136
+ return client.getVersionInfo;
2137
+ }).map(function (client) {
2138
+ return client.getVersionInfo().vaadinVersion;
2139
+ });
2140
+ if (frameworkVersions.length > 0) {
2141
+ return frameworkVersions[0];
2142
+ }
2143
+ }
2144
+ },
2145
+ 'AngularJs': function AngularJs() {
2146
+ if (window.angular && window.angular.version && window.angular.version) {
2147
+ return window.angular.version.full;
2148
+ }
2149
+ },
2150
+ 'Angular': function Angular() {
2151
+ if (window.ng) {
2152
+ var tags = document.querySelectorAll("[ng-version]");
2153
+ if (tags.length > 0) {
2154
+ return tags[0].getAttribute("ng-version");
2155
+ }
2156
+ return "Unknown";
2157
+ }
2158
+ },
2159
+ 'Backbone.js': function BackboneJs() {
2160
+ if (window.Backbone) {
2161
+ return window.Backbone.VERSION;
2162
+ }
2163
+ },
2164
+ 'React': function React() {
2165
+ var reactSelector = '[data-reactroot], [data-reactid]';
2166
+ if (!!document.querySelector(reactSelector)) {
2167
+ // React does not publish the version by default
2168
+ return "unknown";
2169
+ }
2170
+ },
2171
+ 'Ember': function Ember() {
2172
+ if (window.Em && window.Em.VERSION) {
2173
+ return window.Em.VERSION;
2174
+ } else if (window.Ember && window.Ember.VERSION) {
2175
+ return window.Ember.VERSION;
2176
+ }
2177
+ },
2178
+ 'jQuery': function (_jQuery) {
2179
+ function jQuery() {
2180
+ return _jQuery.apply(this, arguments);
2181
+ }
2182
+
2183
+ jQuery.toString = function () {
2184
+ return _jQuery.toString();
2185
+ };
2186
+
2187
+ return jQuery;
2188
+ }(function () {
2189
+ if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
2190
+ return jQuery.prototype.jquery;
2191
+ }
2192
+ }),
2193
+ 'Polymer': function Polymer() {
2194
+ var version = getPolymerVersion();
2195
+ if (version) {
2196
+ return version;
2197
+ }
2198
+ },
2199
+ 'LitElement': function LitElement() {
2200
+ var version = window.litElementVersions && window.litElementVersions[0];
2201
+ if (version) {
2202
+ return version;
2203
+ }
2204
+ },
2205
+ 'LitHtml': function LitHtml() {
2206
+ var version = window.litHtmlVersions && window.litHtmlVersions[0];
2207
+ if (version) {
2208
+ return version;
2209
+ }
2210
+ },
2211
+ 'Vue.js': function VueJs() {
2212
+ if (window.Vue) {
2213
+ return window.Vue.version;
2214
+ }
2215
+ }
2216
+ };
2217
+ }
2218
+ }, {
2219
+ key: 'getUsedVaadinElements',
2220
+ value: function getUsedVaadinElements(elements) {
2221
+ var version = getPolymerVersion();
2222
+ var elementClasses = void 0;
2223
+ // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
2224
+ // Check all locations calling the method getEntries() in
2225
+ // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
2226
+ // Currently it is only used by BootstrapHandler.
2227
+ if (version && version.indexOf('2') === 0) {
2228
+ // Polymer 2: components classes are stored in window.Vaadin
2229
+ elementClasses = Object.keys(window.Vaadin).map(function (c) {
2230
+ return window.Vaadin[c];
2231
+ }).filter(function (c) {
2232
+ return c.is;
2233
+ });
2234
+ } else {
2235
+ // Polymer 3: components classes are stored in window.Vaadin.registrations
2236
+ elementClasses = window.Vaadin.registrations || [];
2237
+ }
2238
+ elementClasses.forEach(function (klass) {
2239
+ var version = klass.version ? klass.version : "0.0.0";
2240
+ elements[klass.is] = { version: version };
2241
+ });
2242
+ }
2243
+ }, {
2244
+ key: 'getUsedVaadinThemes',
2245
+ value: function getUsedVaadinThemes(themes) {
2246
+ ['Lumo', 'Material'].forEach(function (themeName) {
2247
+ var theme;
2248
+ var version = getPolymerVersion();
2249
+ if (version && version.indexOf('2') === 0) {
2250
+ // Polymer 2: themes are stored in window.Vaadin
2251
+ theme = window.Vaadin[themeName];
2252
+ } else {
2253
+ // Polymer 3: themes are stored in custom element registry
2254
+ theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
2255
+ }
2256
+ if (theme && theme.version) {
2257
+ themes[themeName] = { version: theme.version };
2258
+ }
2259
+ });
2260
+ }
2261
+ }, {
2262
+ key: 'getFrameworks',
2263
+ value: function getFrameworks(frameworks) {
2264
+ var detectors = this.frameworkVersionDetectors();
2265
+ Object.keys(detectors).forEach(function (framework) {
2266
+ var detector = detectors[framework];
2267
+ try {
2268
+ var version = detector();
2269
+ if (version) {
2270
+ frameworks[framework] = { version: version };
2271
+ }
2272
+ } catch (e) {}
2273
+ });
2274
+ }
2275
+ }, {
2276
+ key: 'gather',
2277
+ value: function gather(storage) {
2278
+ var storedStats = storage.read();
2279
+ var gatheredStats = {};
2280
+ var types = ["elements", "frameworks", "themes"];
2281
+
2282
+ types.forEach(function (type) {
2283
+ gatheredStats[type] = {};
2284
+ if (!storedStats[type]) {
2285
+ storedStats[type] = {};
2286
+ }
2287
+ });
2288
+
2289
+ var previousStats = JSON.stringify(storedStats);
2290
+
2291
+ this.getUsedVaadinElements(gatheredStats.elements);
2292
+ this.getFrameworks(gatheredStats.frameworks);
2293
+ this.getUsedVaadinThemes(gatheredStats.themes);
2294
+
2295
+ var now = this.now;
2296
+ types.forEach(function (type) {
2297
+ var keys = Object.keys(gatheredStats[type]);
2298
+ keys.forEach(function (key) {
2299
+ if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
2300
+ storedStats[type][key] = { firstUsed: now };
2301
+ }
2302
+ // Discards any previously logged version number
2303
+ storedStats[type][key].version = gatheredStats[type][key].version;
2304
+ storedStats[type][key].lastUsed = now;
2305
+ });
2306
+ });
2307
+
2308
+ var newStats = JSON.stringify(storedStats);
2309
+ storage.write(newStats);
2310
+ if (newStats != previousStats && Object.keys(storedStats).length > 0) {
2311
+ this.logger.debug("New stats: " + newStats);
2312
+ }
2313
+ }
2314
+ }]);
2315
+ return StatisticsGatherer;
2316
+ }();
2317
+
2318
+ var StatisticsStorage = function () {
2319
+ function StatisticsStorage(key) {
2320
+ classCallCheck(this, StatisticsStorage);
2321
+
2322
+ this.key = key;
2323
+ }
2324
+
2325
+ createClass(StatisticsStorage, [{
2326
+ key: 'read',
2327
+ value: function read() {
2328
+ var localStorageStatsString = localStorage.getItem(this.key);
2329
+ try {
2330
+ return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
2331
+ } catch (e) {
2332
+ return {};
2333
+ }
2334
+ }
2335
+ }, {
2336
+ key: 'write',
2337
+ value: function write(data) {
2338
+ localStorage.setItem(this.key, data);
2339
+ }
2340
+ }, {
2341
+ key: 'clear',
2342
+ value: function clear() {
2343
+ localStorage.removeItem(this.key);
2344
+ }
2345
+ }, {
2346
+ key: 'isEmpty',
2347
+ value: function isEmpty() {
2348
+ var storedStats = this.read();
2349
+ var empty = true;
2350
+ Object.keys(storedStats).forEach(function (key) {
2351
+ if (Object.keys(storedStats[key]).length > 0) {
2352
+ empty = false;
2353
+ }
2354
+ });
2355
+
2356
+ return empty;
2357
+ }
2358
+ }]);
2359
+ return StatisticsStorage;
2360
+ }();
2361
+
2362
+ var StatisticsSender = function () {
2363
+ function StatisticsSender(url, logger) {
2364
+ classCallCheck(this, StatisticsSender);
2365
+
2366
+ this.url = url;
2367
+ this.logger = logger;
2368
+ }
2369
+
2370
+ createClass(StatisticsSender, [{
2371
+ key: 'send',
2372
+ value: function send(data, errorHandler) {
2373
+ var logger = this.logger;
2374
+
2375
+ if (navigator.onLine === false) {
2376
+ logger.debug("Offline, can't send");
2377
+ errorHandler();
2378
+ return;
2379
+ }
2380
+ logger.debug("Sending data to " + this.url);
2381
+
2382
+ var req = new XMLHttpRequest();
2383
+ req.withCredentials = true;
2384
+ req.addEventListener("load", function () {
2385
+ // Stats sent, nothing more to do
2386
+ logger.debug("Response: " + req.responseText);
2387
+ });
2388
+ req.addEventListener("error", function () {
2389
+ logger.debug("Send failed");
2390
+ errorHandler();
2391
+ });
2392
+ req.addEventListener("abort", function () {
2393
+ logger.debug("Send aborted");
2394
+ errorHandler();
2395
+ });
2396
+ req.open("POST", this.url);
2397
+ req.setRequestHeader("Content-Type", "application/json");
2398
+ req.send(data);
2399
+ }
2400
+ }]);
2401
+ return StatisticsSender;
2402
+ }();
2403
+
2404
+ var StatisticsLogger = function () {
2405
+ function StatisticsLogger(id) {
2406
+ classCallCheck(this, StatisticsLogger);
2407
+
2408
+ this.id = id;
2409
+ }
2410
+
2411
+ createClass(StatisticsLogger, [{
2412
+ key: '_isDebug',
2413
+ value: function _isDebug() {
2414
+ return localStorage.getItem("vaadin." + this.id + ".debug");
2415
+ }
2416
+ }, {
2417
+ key: 'debug',
2418
+ value: function debug(msg) {
2419
+ if (this._isDebug()) {
2420
+ console.info(this.id + ": " + msg);
2421
+ }
2422
+ }
2423
+ }]);
2424
+ return StatisticsLogger;
2425
+ }();
2426
+
2427
+ var UsageStatistics = function () {
2428
+ function UsageStatistics() {
2429
+ classCallCheck(this, UsageStatistics);
2430
+
2431
+ this.now = new Date();
2432
+ this.timeNow = this.now.getTime();
2433
+ this.gatherDelay = 10; // Delay between loading this file and gathering stats
2434
+ this.initialDelay = 24 * 60 * 60;
2435
+
2436
+ this.logger = new StatisticsLogger("statistics");
2437
+ this.storage = new StatisticsStorage("vaadin.statistics.basket");
2438
+ this.gatherer = new StatisticsGatherer(this.logger);
2439
+ this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
2440
+ }
2441
+
2442
+ createClass(UsageStatistics, [{
2443
+ key: 'maybeGatherAndSend',
2444
+ value: function maybeGatherAndSend() {
2445
+ var _this = this;
2446
+
2447
+ if (localStorage.getItem(UsageStatistics.optOutKey)) {
2448
+ return;
2449
+ }
2450
+ this.gatherer.gather(this.storage);
2451
+ setTimeout(function () {
2452
+ _this.maybeSend();
2453
+ }, this.gatherDelay * 1000);
2454
+ }
2455
+ }, {
2456
+ key: 'lottery',
2457
+ value: function lottery() {
2458
+ return true;
2459
+ }
2460
+ }, {
2461
+ key: 'currentMonth',
2462
+ value: function currentMonth() {
2463
+ return this.now.getYear() * 12 + this.now.getMonth();
2464
+ }
2465
+ }, {
2466
+ key: 'maybeSend',
2467
+ value: function maybeSend() {
2468
+ var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2469
+ var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
2470
+
2471
+ if (!firstUse) {
2472
+ // Use a grace period to avoid interfering with tests, incognito mode etc
2473
+ firstUse = this.timeNow;
2474
+ localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
2475
+ }
2476
+
2477
+ if (this.timeNow < firstUse + this.initialDelay * 1000) {
2478
+ this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
2479
+ return;
2480
+ }
2481
+ if (this.currentMonth() <= monthProcessed) {
2482
+ this.logger.debug("This month has already been processed");
2483
+ return;
2484
+ }
2485
+ localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
2486
+ // Use random sampling
2487
+ if (this.lottery()) {
2488
+ this.logger.debug("Congratulations, we have a winner!");
2489
+ } else {
2490
+ this.logger.debug("Sorry, no stats from you this time");
2491
+ return;
2492
+ }
2493
+
2494
+ this.send();
2495
+ }
2496
+ }, {
2497
+ key: 'send',
2498
+ value: function send() {
2499
+ // Ensure we have the latest data
2500
+ this.gatherer.gather(this.storage);
2501
+
2502
+ // Read, send and clean up
2503
+ var data = this.storage.read();
2504
+ data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
2505
+ data["usageStatisticsVersion"] = UsageStatistics.version;
2506
+ var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
2507
+ var self = this;
2508
+ this.sender.send(info + JSON.stringify(data), function () {
2509
+ // Revert the 'month processed' flag
2510
+ localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
2511
+ });
2512
+ }
2513
+ }], [{
2514
+ key: 'version',
2515
+ get: function get$1() {
2516
+ return '2.1.2';
2517
+ }
2518
+ }, {
2519
+ key: 'firstUseKey',
2520
+ get: function get$1() {
2521
+ return 'vaadin.statistics.firstuse';
2522
+ }
2523
+ }, {
2524
+ key: 'monthProcessedKey',
2525
+ get: function get$1() {
2526
+ return 'vaadin.statistics.monthProcessed';
2527
+ }
2528
+ }, {
2529
+ key: 'optOutKey',
2530
+ get: function get$1() {
2531
+ return 'vaadin.statistics.optout';
2532
+ }
2533
+ }]);
2534
+ return UsageStatistics;
2535
+ }();
2536
+
2537
+ try {
2538
+ window.Vaadin = window.Vaadin || {};
2539
+ window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
2540
+ window.Vaadin.usageStatsChecker.maybeGatherAndSend();
2541
+ } catch (e) {
2542
+ // Intentionally ignored as this is not a problem in the app being developed
2543
+ }
2544
+
2545
+ }());
2546
+
2547
+ vaadin-dev-mode:end **/}const el=function(){if(typeof Rs=="function")return Rs(Qa)};/**
2070
2548
  * @license
2071
2549
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2072
2550
  * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt