@everymatrix/player-account-controller 1.62.4 → 1.63.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.
- package/components/{PlayerAccountController-CG8fgLLM.cjs → PlayerAccountController-B3xiGG1j.cjs} +1 -1
- package/components/{PlayerAccountController-D-z3BhRg.js → PlayerAccountController-Buqw-sP2.js} +7 -7
- package/components/{PlayerAccountController-CmoCYSjc.js → PlayerAccountController-DUO2eqjO.js} +7 -7
- package/components/{PlayerAccountGamingLimits-CazKuri6.js → PlayerAccountGamingLimits-Bnkjuzum.js} +1 -1
- package/components/{PlayerAccountGamingLimits-T_6zt26G.cjs → PlayerAccountGamingLimits-DLbWmmx-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C43ExhLF.js → PlayerAccountGamingLimits-DWUjOPm7.js} +1 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-1v80Qe8n.js +2892 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DDffyxA7.js +2892 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js → PlayerAccountGamingLimitsInfoCard-Di-tNlvO.js} +282 -286
- package/components/{PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js → PlayerAccountGamingLimitsInfoCard-yR5VICHH.js} +282 -286
- package/components/PlayerAccountGamingLimitsWrapper2-CaACpJkX.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-D9XQMqqT.js → PlayerAccountGamingLimitsWrapper2-DZoCbGgg.js} +384 -328
- package/components/{PlayerAccountGamingLimitsWrapper2-CiEh5iuU.js → PlayerAccountGamingLimitsWrapper2-DxjSzonV.js} +426 -361
- package/components/{PlayerActiveBonuses-K3C-mEXB.js → PlayerActiveBonuses-BozoNh70.js} +1 -1
- package/components/{PlayerActiveBonuses-BMD0VJ2_.cjs → PlayerActiveBonuses-DIJBqD-t.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CpZclWGh.js → PlayerActiveBonuses-TfvFcCW-.js} +1 -1
- package/components/{PlayerBonusCard-69HwaVge.cjs → PlayerBonusCard-BDWqqpGz.cjs} +1 -1
- package/components/{PlayerBonusCard-CqTwze07.js → PlayerBonusCard-Beuw08iH.js} +48 -48
- package/components/{PlayerBonusCard-C1HOmtzk.js → PlayerBonusCard-DUP59qHI.js} +48 -48
- package/components/{PlayerBonusHistory-BLVjkz2G.js → PlayerBonusHistory-ASRMz78k.js} +141 -141
- package/components/PlayerBonusHistory-B73-NLob.cjs +1 -0
- package/components/{PlayerBonusHistory-CHIhzG2z.js → PlayerBonusHistory-DhXgcysO.js} +140 -140
- package/components/PlayerGamingHistory-DMheKbk2.cjs +1 -0
- package/components/{PlayerGamingHistory-D3MM0M-d.js → PlayerGamingHistory-Do_PZpjy.js} +139 -139
- package/components/{PlayerGamingHistory-Dwci4jbI.js → PlayerGamingHistory-DyqZjf6k.js} +144 -144
- package/components/PlayerRealityCheck-ByaALjkI.js +663 -0
- package/components/PlayerRealityCheck-DordAxiB.js +679 -0
- package/components/PlayerRealityCheck-DwUIXfJJ.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-DdAfq3Rf.js → index-1ef3a64c-C3248BpZ.js} +1 -1
- package/stencil/{index-1ef3a64c-CFORB4wR.js → index-1ef3a64c-D_6fm_mH.js} +1 -1
- package/stencil/{index-1ef3a64c-BXZ-SGgO.cjs → index-1ef3a64c-d6wOzDuW.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Di_btQhd.cjs → user-deposit-withdrawal-8SEgGGEs.cjs} +1 -2
- package/stencil/{user-deposit-withdrawal-DKYb9yA4.js → user-deposit-withdrawal-BIEaZv3-.js} +1 -2
- package/stencil/{user-deposit-withdrawal-DDiaA6g4.js → user-deposit-withdrawal-C8A8VDip.js} +1 -2
- package/components/PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs +0 -10
- package/components/PlayerAccountGamingLimitsGroupEdit-D-PNbWFM.js +0 -4113
- package/components/PlayerAccountGamingLimitsGroupEdit-RindahYU.js +0 -4113
- package/components/PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-CXvt0xT1.cjs +0 -1
- package/components/PlayerBonusHistory-CmSqqsTj.cjs +0 -1
- package/components/PlayerGamingHistory-ClPLNmQZ.cjs +0 -1
- package/components/PlayerRealityCheck-BPjD8dSn.cjs +0 -1
- package/components/PlayerRealityCheck-Car60VrF.js +0 -652
- package/components/PlayerRealityCheck-DcKE6Uql.js +0 -668
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("./GeneralLogout-CG738i36.cjs");function ue(t){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(t)}function R(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function A(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function q(t){A(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||ue(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ke(t,e){A(2,arguments);var i=q(t),n=R(e);return isNaN(n)?new Date(NaN):(n&&i.setDate(i.getDate()+n),i)}function Ze(t,e){A(2,arguments);var i=q(t),n=R(e);if(isNaN(n))return new Date(NaN);if(!n)return i;var r=i.getDate(),o=new Date(i.getTime());o.setMonth(i.getMonth()+n+1,0);var s=o.getDate();return r>=s?o:(i.setFullYear(o.getFullYear(),o.getMonth(),r),i)}function $e(t,e){A(2,arguments);var i=q(t).getTime(),n=R(e);return new Date(i+n)}var et={};function ce(){return et}function tt(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function it(t){A(1,arguments);var e=q(t);return e.setHours(0,0,0,0),e}function at(t){return A(1,arguments),t instanceof Date||ue(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function nt(t){if(A(1,arguments),!at(t)&&typeof t!="number")return!1;var e=q(t);return!isNaN(Number(e))}function rt(t){A(1,arguments);var e=q(t);return e.setHours(23,59,59,999),e}function ot(t,e){A(2,arguments);var i=R(e);return $e(t,-i)}var st=864e5;function lt(t){A(1,arguments);var e=q(t),i=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),r=i-n;return Math.floor(r/st)+1}function me(t){A(1,arguments);var e=1,i=q(t),n=i.getUTCDay(),r=(n<e?7:0)+n-e;return i.setUTCDate(i.getUTCDate()-r),i.setUTCHours(0,0,0,0),i}function Fe(t){A(1,arguments);var e=q(t),i=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(i+1,0,4),n.setUTCHours(0,0,0,0);var r=me(n),o=new Date(0);o.setUTCFullYear(i,0,4),o.setUTCHours(0,0,0,0);var s=me(o);return e.getTime()>=r.getTime()?i+1:e.getTime()>=s.getTime()?i:i-1}function ut(t){A(1,arguments);var e=Fe(t),i=new Date(0);i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0);var n=me(i);return n}var mt=6048e5;function dt(t){A(1,arguments);var e=q(t),i=me(e).getTime()-ut(e).getTime();return Math.round(i/mt)+1}function de(t,e){var i,n,r,o,s,l,u,d;A(1,arguments);var c=ce(),y=R((i=(n=(r=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:0);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=q(t),p=v.getUTCDay(),k=(p<y?7:0)+p-y;return v.setUTCDate(v.getUTCDate()-k),v.setUTCHours(0,0,0,0),v}function je(t,e){var i,n,r,o,s,l,u,d;A(1,arguments);var c=q(t),y=c.getUTCFullYear(),v=ce(),p=R((i=(n=(r=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:v.firstWeekContainsDate)!==null&&n!==void 0?n:(u=v.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=new Date(0);k.setUTCFullYear(y+1,0,p),k.setUTCHours(0,0,0,0);var f=de(k,e),h=new Date(0);h.setUTCFullYear(y,0,p),h.setUTCHours(0,0,0,0);var w=de(h,e);return c.getTime()>=f.getTime()?y+1:c.getTime()>=w.getTime()?y:y-1}function ct(t,e){var i,n,r,o,s,l,u,d;A(1,arguments);var c=ce(),y=R((i=(n=(r=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:1),v=je(t,e),p=new Date(0);p.setUTCFullYear(v,0,y),p.setUTCHours(0,0,0,0);var k=de(p,e);return k}var ft=6048e5;function pt(t,e){A(1,arguments);var i=q(t),n=de(i,e).getTime()-ct(i,e).getTime();return Math.round(n/ft)+1}function T(t,e){for(var i=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return i+n}var K={y:function(e,i){var n=e.getUTCFullYear(),r=n>0?n:1-n;return T(i==="yy"?r%100:r,i.length)},M:function(e,i){var n=e.getUTCMonth();return i==="M"?String(n+1):T(n+1,2)},d:function(e,i){return T(e.getUTCDate(),i.length)},a:function(e,i){var n=e.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,i){return T(e.getUTCHours()%12||12,i.length)},H:function(e,i){return T(e.getUTCHours(),i.length)},m:function(e,i){return T(e.getUTCMinutes(),i.length)},s:function(e,i){return T(e.getUTCSeconds(),i.length)},S:function(e,i){var n=i.length,r=e.getUTCMilliseconds(),o=Math.floor(r*Math.pow(10,n-3));return T(o,i.length)}},re={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ht={G:function(e,i,n){var r=e.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,i,n){if(i==="yo"){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return K.y(e,i)},Y:function(e,i,n,r){var o=je(e,r),s=o>0?o:1-o;if(i==="YY"){var l=s%100;return T(l,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):T(s,i.length)},R:function(e,i){var n=Fe(e);return T(n,i.length)},u:function(e,i){var n=e.getUTCFullYear();return T(n,i.length)},Q:function(e,i,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(i){case"Q":return String(r);case"QQ":return T(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,i,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(i){case"q":return String(r);case"qq":return T(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,i,n){var r=e.getUTCMonth();switch(i){case"M":case"MM":return K.M(e,i);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,i,n){var r=e.getUTCMonth();switch(i){case"L":return String(r+1);case"LL":return T(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,i,n,r){var o=pt(e,r);return i==="wo"?n.ordinalNumber(o,{unit:"week"}):T(o,i.length)},I:function(e,i,n){var r=dt(e);return i==="Io"?n.ordinalNumber(r,{unit:"week"}):T(r,i.length)},d:function(e,i,n){return i==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):K.d(e,i)},D:function(e,i,n){var r=lt(e);return i==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):T(r,i.length)},E:function(e,i,n){var r=e.getUTCDay();switch(i){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,i,n,r){var o=e.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return T(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,i,n,r){var o=e.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return T(s,i.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,i,n){var r=e.getUTCDay(),o=r===0?7:r;switch(i){case"i":return String(o);case"ii":return T(o,i.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,i,n){var r=e.getUTCHours(),o=r/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,i,n){var r=e.getUTCHours(),o;switch(r===12?o=re.noon:r===0?o=re.midnight:o=r/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,i,n){var r=e.getUTCHours(),o;switch(r>=17?o=re.evening:r>=12?o=re.afternoon:r>=4?o=re.morning:o=re.night,i){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,i,n){if(i==="ho"){var r=e.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return K.h(e,i)},H:function(e,i,n){return i==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):K.H(e,i)},K:function(e,i,n){var r=e.getUTCHours()%12;return i==="Ko"?n.ordinalNumber(r,{unit:"hour"}):T(r,i.length)},k:function(e,i,n){var r=e.getUTCHours();return r===0&&(r=24),i==="ko"?n.ordinalNumber(r,{unit:"hour"}):T(r,i.length)},m:function(e,i,n){return i==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):K.m(e,i)},s:function(e,i,n){return i==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):K.s(e,i)},S:function(e,i){return K.S(e,i)},X:function(e,i,n,r){var o=r._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(i){case"X":return ye(s);case"XXXX":case"XX":return ae(s);case"XXXXX":case"XXX":default:return ae(s,":")}},x:function(e,i,n,r){var o=r._originalDate||e,s=o.getTimezoneOffset();switch(i){case"x":return ye(s);case"xxxx":case"xx":return ae(s);case"xxxxx":case"xxx":default:return ae(s,":")}},O:function(e,i,n,r){var o=r._originalDate||e,s=o.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+ve(s,":");case"OOOO":default:return"GMT"+ae(s,":")}},z:function(e,i,n,r){var o=r._originalDate||e,s=o.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+ve(s,":");case"zzzz":default:return"GMT"+ae(s,":")}},t:function(e,i,n,r){var o=r._originalDate||e,s=Math.floor(o.getTime()/1e3);return T(s,i.length)},T:function(e,i,n,r){var o=r._originalDate||e,s=o.getTime();return T(s,i.length)}};function ve(t,e){var i=t>0?"-":"+",n=Math.abs(t),r=Math.floor(n/60),o=n%60;if(o===0)return i+String(r);var s=e;return i+String(r)+s+T(o,2)}function ye(t,e){if(t%60===0){var i=t>0?"-":"+";return i+T(Math.abs(t)/60,2)}return ae(t,e)}function ae(t,e){var i=e||"",n=t>0?"-":"+",r=Math.abs(t),o=T(Math.floor(r/60),2),s=T(r%60,2);return n+o+i+s}var we=function(e,i){switch(e){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},qe=function(e,i){switch(e){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},gt=function(e,i){var n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return we(e,i);var s;switch(r){case"P":s=i.dateTime({width:"short"});break;case"PP":s=i.dateTime({width:"medium"});break;case"PPP":s=i.dateTime({width:"long"});break;case"PPPP":default:s=i.dateTime({width:"full"});break}return s.replace("{{date}}",we(r,i)).replace("{{time}}",qe(o,i))},vt={p:qe,P:gt},yt=["D","DD"],wt=["YY","YYYY"];function bt(t){return yt.indexOf(t)!==-1}function _t(t){return wt.indexOf(t)!==-1}function be(t,e,i){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Lt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tt=function(e,i,n){var r,o=Lt[e];return typeof o=="string"?r=o:i===1?r=o.one:r=o.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function pe(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=e.width?String(e.width):t.defaultWidth,n=t.formats[i]||t.formats[t.defaultWidth];return n}}var kt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ct={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Mt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Dt={date:pe({formats:kt,defaultWidth:"full"}),time:pe({formats:Ct,defaultWidth:"full"}),dateTime:pe({formats:Mt,defaultWidth:"full"})},Et={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},At=function(e,i,n,r){return Et[e]};function oe(t){return function(e,i){var n=i!=null&&i.context?String(i.context):"standalone",r;if(n==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=i!=null&&i.width?String(i.width):o;r=t.formattingValues[s]||t.formattingValues[o]}else{var l=t.defaultWidth,u=i!=null&&i.width?String(i.width):t.defaultWidth;r=t.values[u]||t.values[l]}var d=t.argumentCallback?t.argumentCallback(e):e;return r[d]}}var Ot={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},St={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Pt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Wt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Nt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Yt=function(e,i){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},It={ordinalNumber:Yt,era:oe({values:Ot,defaultWidth:"wide"}),quarter:oe({values:St,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:oe({values:Pt,defaultWidth:"wide"}),day:oe({values:Wt,defaultWidth:"wide"}),dayPeriod:oe({values:Nt,defaultWidth:"wide",formattingValues:xt,defaultFormattingWidth:"wide"})};function se(t){return function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.width,r=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=e.match(r);if(!o)return null;var s=o[0],l=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(l)?Ft(l,function(y){return y.test(s)}):Ut(l,function(y){return y.test(s)}),d;d=t.valueCallback?t.valueCallback(u):u,d=i.valueCallback?i.valueCallback(d):d;var c=e.slice(s.length);return{value:d,rest:c}}}function Ut(t,e){for(var i in t)if(t.hasOwnProperty(i)&&e(t[i]))return i}function Ft(t,e){for(var i=0;i<t.length;i++)if(e(t[i]))return i}function jt(t){return function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var r=n[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=i.valueCallback?i.valueCallback(s):s;var l=e.slice(r.length);return{value:s,rest:l}}}var qt=/^(\d+)(th|st|nd|rd)?/i,Bt=/\d+/i,Ht={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vt={any:[/^b/i,/^(a|c)/i]},zt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gt={any:[/1/i,/2/i,/3/i,/4/i]},Rt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Qt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Jt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Kt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Zt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$t={ordinalNumber:jt({matchPattern:qt,parsePattern:Bt,valueCallback:function(e){return parseInt(e,10)}}),era:se({matchPatterns:Ht,defaultMatchWidth:"wide",parsePatterns:Vt,defaultParseWidth:"any"}),quarter:se({matchPatterns:zt,defaultMatchWidth:"wide",parsePatterns:Gt,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:se({matchPatterns:Rt,defaultMatchWidth:"wide",parsePatterns:Qt,defaultParseWidth:"any"}),day:se({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Jt,defaultParseWidth:"any"}),dayPeriod:se({matchPatterns:Kt,defaultMatchWidth:"any",parsePatterns:Zt,defaultParseWidth:"any"})},ei={code:"en-US",formatDistance:Tt,formatLong:Dt,formatRelative:At,localize:It,match:$t,options:{weekStartsOn:0,firstWeekContainsDate:1}},ti=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ii=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ai=/^'([^]*?)'?$/,ni=/''/g,ri=/[a-zA-Z]/;function le(t,e,i){var n,r,o,s,l,u,d,c,y,v,p,k,f,h;A(2,arguments);var w=String(e),_=ce(),b=(n=(r=void 0)!==null&&r!==void 0?r:_.locale)!==null&&n!==void 0?n:ei,x=R((o=(s=(l=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&l!==void 0?l:_.firstWeekContainsDate)!==null&&s!==void 0?s:(d=_.locale)===null||d===void 0||(c=d.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var W=R((y=(v=(p=(k=void 0)!==null&&k!==void 0?k:void 0)!==null&&p!==void 0?p:_.weekStartsOn)!==null&&v!==void 0?v:(f=_.locale)===null||f===void 0||(h=f.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&y!==void 0?y:0);if(!(W>=0&&W<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");var M=q(t);if(!nt(M))throw new RangeError("Invalid time value");var z=tt(M),C=ot(M,z),Y={firstWeekContainsDate:x,weekStartsOn:W,locale:b,_originalDate:M},B=w.match(ii).map(function(D){var I=D[0];if(I==="p"||I==="P"){var H=vt[I];return H(D,b.formatLong)}return D}).join("").match(ti).map(function(D){if(D==="''")return"'";var I=D[0];if(I==="'")return oi(D);var H=ht[I];if(H)return _t(D)&&be(D,e,String(t)),bt(D)&&be(D,e,String(t)),H(C,D,b.localize,Y);if(I.match(ri))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return D}).join("");return B}function oi(t){var e=t.match(ai);return e?e[1].replace(ni,"'"):t}function si(t){return A(1,arguments),q(t).getFullYear()}function li(t,e){A(2,arguments);var i=R(e);return Ke(t,-i)}function ui(t,e){A(2,arguments);var i=R(e);return Ze(t,-i)}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",e.element)})}function _e(t,e){a.addMessages(t,e)}function mi(t){a.$locale.set(t)}const Le={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-DISAz4QD.cjs")).then(({default:e})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-confirmation-modal")&&customElements.define("player-account-gaming-limits-confirmation-modal",e.element)})}function di(t){a.append_styles(t,"svelte-bv14kn",".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}")}function Te(t,e,i){const n=t.slice();return n[56]=e[i],n[57]=e,n[58]=i,n}function ke(t,e,i){const n=t.slice();return n[59]=e[i],n}function Ce(t,e,i){const n=t.slice();return n[56]=e[i],n[58]=i,n}function ci(t){let e,i,n,r,o,s,l,u,d,c,y=t[18]("back")+"",v,p,k;return{c(){e=a.element("div"),i=a.svg_element("svg"),n=a.svg_element("defs"),r=a.svg_element("style"),o=a.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),s=a.svg_element("g"),l=a.svg_element("g"),u=a.svg_element("path"),d=a.space(),c=a.element("h2"),v=a.text(y),a.attr(u,"class","aaa"),a.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),a.attr(u,"transform","translate(15 15) rotate(180)"),a.attr(l,"transform","translate(20 158)"),a.attr(s,"transform","translate(-20 -158)"),a.attr(i,"xmlns","http://www.w3.org/2000/svg"),a.attr(i,"width","15"),a.attr(i,"height","15"),a.attr(i,"viewBox","0 0 15 15"),a.attr(c,"class","MyAccountCategoryTitleMobile"),a.attr(e,"class","MenuReturnButton")},m(f,h){a.insert(f,e,h),a.append(e,i),a.append(i,n),a.append(n,r),a.append(r,o),a.append(i,s),a.append(s,l),a.append(l,u),a.append(e,d),a.append(e,c),a.append(c,v),p||(k=a.listen(e,"click",t[22]),p=!0)},p(f,h){h[0]&262144&&y!==(y=f[18]("back")+"")&&a.set_data(v,y)},d(f){f&&a.detach(e),p=!1,k()}}}function Me(t){let e,i,n=t[18]("success")+"",r;return{c(){e=a.element("div"),i=a.element("p"),r=a.text(n),a.attr(e,"class","AccountEditLimitSuccessfulChangeContainer")},m(o,s){a.insert(o,e,s),a.append(e,i),a.append(i,r)},p(o,s){s[0]&262144&&n!==(n=o[18]("success")+"")&&a.set_data(r,n)},d(o){o&&a.detach(e)}}}function De(t){let e,i=a.ensure_array_like(t[14]),n=[];for(let r=0;r<i.length;r+=1)n[r]=Ae(Ce(t,i,r));return{c(){e=a.element("div");for(let r=0;r<n.length;r+=1)n[r].c();a.attr(e,"class","AccountEditLimitSuccessfulChangeContainer")},m(r,o){a.insert(r,e,o);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(r,o){if(o[0]&409600){i=a.ensure_array_like(r[14]);let s;for(s=0;s<i.length;s+=1){const l=Ce(r,i,s);n[s]?n[s].p(l,o):(n[s]=Ae(l),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=i.length}},d(r){r&&a.detach(e),a.destroy_each(n,r)}}}function Ee(t){let e,i=t[18]("remove")+"",n,r,o=(t[56].expiryDate?le(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",s;return{c(){e=a.element("p"),n=a.text(i),r=a.space(),s=a.text(o)},m(l,u){a.insert(l,e,u),a.append(e,n),a.append(e,r),a.append(e,s)},p(l,u){u[0]&262144&&i!==(i=l[18]("remove")+"")&&a.set_data(n,i),u[0]&16384&&o!==(o=(l[56].expiryDate?le(new Date(l[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&a.set_data(s,o)},d(l){l&&a.detach(e)}}}function Ae(t){let e,i=t[56].period==t[17][t[58]].period&&Ee(t);return{c(){i&&i.c(),e=a.empty()},m(n,r){i&&i.m(n,r),a.insert(n,e,r)},p(n,r){n[56].period==n[17][n[58]].period?i?i.p(n,r):(i=Ee(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&a.detach(e),i&&i.d(n)}}}function Oe(t){let e,i,n=a.ensure_array_like(t[14]),r=[];for(let o=0;o<n.length;o+=1)r[o]=Ue(Te(t,n,o));return{c(){e=a.element("div"),i=a.element("div");for(let o=0;o<r.length;o+=1)r[o].c();a.attr(i,"class","AccountEditLimitsContainer"),a.attr(e,"class","AccountEditContent")},m(o,s){a.insert(o,e,s),a.append(e,i);for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(i,null)},p(o,s){if(s[0]&18836560){n=a.ensure_array_like(o[14]);let l;for(l=0;l<n.length;l+=1){const u=Te(o,n,l);r[l]?r[l].p(u,s):(r[l]=Ue(u),r[l].c(),r[l].m(i,null))}for(;l<r.length;l+=1)r[l].d(1);r.length=n.length}},d(o){o&&a.detach(e),a.destroy_each(r,o)}}}function Se(t){let e,i,n=t[18]("noLimit")+"",r,o,s,l,u,d,c,y,v=a.ensure_array_like(t[20].get(t[6])[t[58]].values),p=[];for(let w=0;w<v.length;w+=1)p[w]=We(ke(t,v,w));function k(){t[30].call(e,t[58])}let f=t[17][t[58]].amount==="Custom"&&Ne(t),h=t[56].isModified===!0&&Ie(t);return{c(){e=a.element("select"),i=a.element("option"),r=a.text(n);for(let w=0;w<p.length;w+=1)p[w].c();s=a.space(),l=a.element("div"),f&&f.c(),u=a.space(),h&&h.c(),d=a.empty(),i.__value="",a.set_input_value(i,i.__value),i.disabled=!0,i.selected=!0,i.hidden=!0,a.attr(e,"class","AccountEditField "+(t[19]?"TimeoutSelectMobile":"")),e.disabled=o=t[56].isModified===!0,t[17][t[58]].amount===void 0&&a.add_render_callback(k),a.attr(l,"class","AccountEditLimitsInputContainer")},m(w,_){a.insert(w,e,_),a.append(e,i),a.append(i,r);for(let b=0;b<p.length;b+=1)p[b]&&p[b].m(e,null);a.select_option(e,t[17][t[58]].amount,!0),a.insert(w,s,_),a.insert(w,l,_),f&&f.m(l,null),a.insert(w,u,_),h&&h.m(w,_),a.insert(w,d,_),c||(y=[a.listen(e,"change",k),a.listen(e,"change",function(){a.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)})],c=!0)},p(w,_){if(t=w,_[0]&262144&&n!==(n=t[18]("noLimit")+"")&&a.set_data(r,n),_[0]&1048656){v=a.ensure_array_like(t[20].get(t[6])[t[58]].values);let b;for(b=0;b<v.length;b+=1){const x=ke(t,v,b);p[b]?p[b].p(x,_):(p[b]=We(x),p[b].c(),p[b].m(e,null))}for(;b<p.length;b+=1)p[b].d(1);p.length=v.length}_[0]&16384&&o!==(o=t[56].isModified===!0)&&(e.disabled=o),_[0]&1179712&&a.select_option(e,t[17][t[58]].amount),t[17][t[58]].amount==="Custom"?f?f.p(t,_):(f=Ne(t),f.c(),f.m(l,null)):f&&(f.d(1),f=null),t[56].isModified===!0?h?h.p(t,_):(h=Ie(t),h.c(),h.m(d.parentNode,d)):h&&(h.d(1),h=null)},d(w){w&&(a.detach(e),a.detach(s),a.detach(l),a.detach(u),a.detach(d)),a.destroy_each(p,w),f&&f.d(),h&&h.d(w),c=!1,a.run_all(y)}}}function Pe(t){let e=(t[6]!=="Time Limit"?t[4]:" minutes")+"",i;return{c(){i=a.text(e)},m(n,r){a.insert(n,i,r)},p(n,r){r[0]&80&&e!==(e=(n[6]!=="Time Limit"?n[4]:" minutes")+"")&&a.set_data(i,e)},d(n){n&&a.detach(i)}}}function We(t){let e,i=t[59]+"",n,r,o,s,l=t[59]!=="No limit"&&t[59]!=="Custom"&&Pe(t);return{c(){e=a.element("option"),n=a.text(i),r=a.space(),l&&l.c(),o=a.space(),e.__value=s=t[59],a.set_input_value(e,e.__value)},m(u,d){a.insert(u,e,d),a.append(e,n),a.append(e,r),l&&l.m(e,null),a.append(e,o)},p(u,d){d[0]&64&&i!==(i=u[59]+"")&&a.set_data(n,i),u[59]!=="No limit"&&u[59]!=="Custom"?l?l.p(u,d):(l=Pe(u),l.c(),l.m(e,o)):l&&(l.d(1),l=null),d[0]&64&&s!==(s=u[59])&&(e.__value=s,a.set_input_value(e,e.__value))},d(u){u&&a.detach(e),l&&l.d()}}}function Ne(t){let e;function i(o,s){return o[6]!=="Time Limit"?pi:fi}let n=i(t),r=n(t);return{c(){r.c(),e=a.empty()},m(o,s){r.m(o,s),a.insert(o,e,s)},p(o,s){n===(n=i(o))&&r?r.p(o,s):(r.d(1),r=n(o),r&&(r.c(),r.m(e.parentNode,e)))},d(o){o&&a.detach(e),r.d(o)}}}function fi(t){let e,i,n,r,o,s;function l(){t[32].call(e,t[58])}let u=t[13][t[58]]==1&&xe(t);return{c(){e=a.element("input"),n=a.space(),r=a.element("p"),u&&u.c(),a.attr(e,"type","number"),a.attr(e,"class","AccountEditField AccountEditFieldCustom"),e.disabled=i=t[56].isModified===!0,a.attr(r,"class","AccountEditWarningText")},m(d,c){a.insert(d,e,c),a.set_input_value(e,t[17][t[58]].value),a.insert(d,n,c),a.insert(d,r,c),u&&u.m(r,null),o||(s=[a.listen(e,"keyup",function(){a.is_function(t[24](t[17][t[58]],t[58],!0,t[16]))&&t[24](t[17][t[58]],t[58],!0,t[16]).apply(this,arguments)}),a.listen(e,"input",l)],o=!0)},p(d,c){t=d,c[0]&16384&&i!==(i=t[56].isModified===!0)&&(e.disabled=i),c[0]&1179712&&a.to_number(e.value)!==t[17][t[58]].value&&a.set_input_value(e,t[17][t[58]].value),t[13][t[58]]==1?u?u.p(t,c):(u=xe(t),u.c(),u.m(r,null)):u&&(u.d(1),u=null)},d(d){d&&(a.detach(e),a.detach(n),a.detach(r)),u&&u.d(),o=!1,a.run_all(s)}}}function pi(t){let e,i,n,r,o,s;function l(){t[31].call(e,t[58])}let u=t[13][t[58]]==1&&Ye(t);return{c(){e=a.element("input"),n=a.space(),r=a.element("p"),u&&u.c(),a.attr(e,"type","number"),a.attr(e,"class","AccountEditField AccountEditFieldCustom"),e.disabled=i=t[56].isModified===!0,a.attr(r,"class","AccountEditWarningText")},m(d,c){a.insert(d,e,c),a.set_input_value(e,t[17][t[58]].value),a.insert(d,n,c),a.insert(d,r,c),u&&u.m(r,null),o||(s=[a.listen(e,"keyup",function(){a.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)}),a.listen(e,"input",l)],o=!0)},p(d,c){t=d,c[0]&16384&&i!==(i=t[56].isModified===!0)&&(e.disabled=i),c[0]&1179712&&a.to_number(e.value)!==t[17][t[58]].value&&a.set_input_value(e,t[17][t[58]].value),t[13][t[58]]==1?u?u.p(t,c):(u=Ye(t),u.c(),u.m(r,null)):u&&(u.d(1),u=null)},d(d){d&&(a.detach(e),a.detach(n),a.detach(r)),u&&u.d(),o=!1,a.run_all(s)}}}function xe(t){let e,i=t[18]("invalidInputMessageTime",{values:{minTime:t[10],maxTime:t[11]}})+"",n;return{c(){e=a.element("p"),n=a.text(i),a.attr(e,"class","InvalidInput")},m(r,o){a.insert(r,e,o),a.append(e,n)},p(r,o){o[0]&265216&&i!==(i=r[18]("invalidInputMessageTime",{values:{minTime:r[10],maxTime:r[11]}})+"")&&a.set_data(n,i)},d(r){r&&a.detach(e)}}}function Ye(t){let e,i=t[18]("invalidInputMessageLimit")+"",n;return{c(){e=a.element("p"),n=a.text(i),a.attr(e,"class","InvalidInput")},m(r,o){a.insert(r,e,o),a.append(e,n)},p(r,o){o[0]&262144&&i!==(i=r[18]("invalidInputMessageLimit")+"")&&a.set_data(n,i)},d(r){r&&a.detach(e)}}}function Ie(t){let e,i=t[18]("expirationDate")+"",n,r,o,s=(t[56].expiryDate?le(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",l,u,d,c,y,v,p=t[18]("changedLimitTextBefore")+"",k,f,h=(t[56].updateAmount>0?t[56].updateAmount:0)+"",w,_,b=(t[56].minutes!==void 0?" minutes":t[4])+"",x,W,M=t[18]("changedLimitTextAfter")+"",z;return{c(){e=a.element("p"),n=a.text(i),r=a.space(),o=a.element("span"),l=a.text(s),u=a.space(),d=a.element("div"),c=a.element("p"),y=a.element("span"),y.textContent="i",v=a.element("span"),k=a.text(p),f=a.space(),w=a.text(h),_=a.space(),x=a.text(b),W=a.text(". "),z=a.text(M),a.attr(e,"class","AccountEditLimitsExpiryDate"),a.attr(y,"class","AccountEditLimitChangePeriodIcon"),a.attr(d,"class","AccountEditLimitsPeriodChangeContainer")},m(C,Y){a.insert(C,e,Y),a.append(e,n),a.append(e,r),a.append(e,o),a.append(o,l),a.insert(C,u,Y),a.insert(C,d,Y),a.append(d,c),a.append(c,y),a.append(c,v),a.append(v,k),a.append(v,f),a.append(v,w),a.append(v,_),a.append(v,x),a.append(v,W),a.append(v,z)},p(C,Y){Y[0]&262144&&i!==(i=C[18]("expirationDate")+"")&&a.set_data(n,i),Y[0]&16384&&s!==(s=(C[56].expiryDate?le(new Date(C[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&a.set_data(l,s),Y[0]&262144&&p!==(p=C[18]("changedLimitTextBefore")+"")&&a.set_data(k,p),Y[0]&16384&&h!==(h=(C[56].updateAmount>0?C[56].updateAmount:0)+"")&&a.set_data(w,h),Y[0]&16400&&b!==(b=(C[56].minutes!==void 0?" minutes":C[4])+"")&&a.set_data(x,b),Y[0]&262144&&M!==(M=C[18]("changedLimitTextAfter")+"")&&a.set_data(z,M)},d(C){C&&(a.detach(e),a.detach(u),a.detach(d))}}}function Ue(t){let e,i,n=t[18](""+t[56].period.charAt(0).toLowerCase()+t[56].period.substring(1))+"",r,o,s,l=t[56].period==t[17][t[58]].period&&Se(t);return{c(){e=a.element("div"),i=a.element("p"),r=a.text(n),o=a.space(),l&&l.c(),s=a.space(),a.attr(i,"class","AccountEditLimitsTitle"),a.attr(e,"class","AccountEditLimitsBox")},m(u,d){a.insert(u,e,d),a.append(e,i),a.append(i,r),a.append(e,o),l&&l.m(e,null),a.append(e,s)},p(u,d){d[0]&278528&&n!==(n=u[18](""+u[56].period.charAt(0).toLowerCase()+u[56].period.substring(1))+"")&&a.set_data(r,n),u[56].period==u[17][u[58]].period?l?l.p(u,d):(l=Se(u),l.c(),l.m(e,s)):l&&(l.d(1),l=null)},d(u){u&&a.detach(e),l&&l.d()}}}function hi(t){let e,i,n,r,o,s,l,u,d,c,y,v,p=t[18]("back")+"",k,f,h,w,_=(t[1]?t[9]:"")+"",b,x,W,M,z,C,Y,B,D,I,H,E,J=t[18]("save")+"",Z,N,$,ne,ee,Q,te,ie,X=t[19]&&ci(t),F=t[2]&&Me(t),U=t[3]&&De(t),j=t[8]&&Oe(t);return{c(){e=a.element("div"),X&&X.c(),i=a.space(),n=a.element("div"),r=a.svg_element("svg"),o=a.svg_element("defs"),s=a.svg_element("style"),l=a.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),u=a.svg_element("g"),d=a.svg_element("g"),c=a.svg_element("path"),y=a.space(),v=a.element("h2"),k=a.text(p),f=a.space(),h=a.element("div"),w=a.element("h6"),b=a.text(_),x=a.space(),W=a.element("div"),M=a.element("span"),M.textContent="i",z=a.space(),C=a.element("player-account-gaming-limits-popup"),Y=a.space(),F&&F.c(),B=a.space(),U&&U.c(),D=a.space(),j&&j.c(),I=a.space(),H=a.element("div"),E=a.element("button"),Z=a.text(J),ne=a.space(),ee=a.element("player-account-modal"),Q=a.element("player-account-gaming-limits-confirmation-modal"),a.attr(c,"class","aaa"),a.attr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),a.attr(c,"transform","translate(15 15) rotate(180)"),a.attr(d,"transform","translate(20 158)"),a.attr(u,"transform","translate(-20 -158)"),a.attr(r,"xmlns","http://www.w3.org/2000/svg"),a.attr(r,"width","20"),a.attr(r,"height","20"),a.attr(r,"viewBox","0 0 15 15"),a.attr(v,"class","MyAccountCategoryTitle "+(t[19]?"MyAccountCategoryTitleNone":"")),a.attr(n,"class","MenuReturnButton "+(t[19]?"MyAccountCategoryTitleNone":"")),a.attr(M,"class","AccountEditLimitsIcon"),a.set_custom_element_data(C,"showpopup",t[7]),a.set_custom_element_data(C,"lang",t[0]),a.attr(W,"class","AccountEditLimitsIconWrapper"),a.attr(h,"class","AccountEditLimitsHeader"),a.attr(E,"class",N="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled")),E.disabled=$=!t[15],a.attr(H,"class","AccountEditLimitsControlArea"),a.attr(e,"class","AccountEditLimitsWrapper "+(t[19]?"AccountEditLimitsMobileWrapper":"")),a.set_custom_element_data(Q,"modaltext",t[12]),a.set_custom_element_data(Q,"modalsource","groupEdit"),a.set_custom_element_data(Q,"lang",t[0])},m(L,O){a.insert(L,e,O),X&&X.m(e,null),a.append(e,i),a.append(e,n),a.append(n,r),a.append(r,o),a.append(o,s),a.append(s,l),a.append(r,u),a.append(u,d),a.append(d,c),a.append(n,y),a.append(n,v),a.append(v,k),a.append(e,f),a.append(e,h),a.append(h,w),a.append(w,b),a.append(h,x),a.append(h,W),a.append(W,M),a.append(W,z),a.append(W,C),a.append(e,Y),F&&F.m(e,null),a.append(e,B),U&&U.m(e,null),a.append(e,D),j&&j.m(e,null),a.append(e,I),a.append(e,H),a.append(H,E),a.append(E,Z),t[34](e),a.insert(L,ne,O),a.insert(L,ee,O),a.append(ee,Q),te||(ie=[a.listen(n,"click",t[22]),a.listen(M,"click",a.prevent_default(t[21])),a.listen(E,"click",t[33])],te=!0)},p(L,O){L[19]&&X.p(L,O),O[0]&262144&&p!==(p=L[18]("back")+"")&&a.set_data(k,p),O[0]&514&&_!==(_=(L[1]?L[9]:"")+"")&&a.set_data(b,_),O[0]&128&&a.set_custom_element_data(C,"showpopup",L[7]),O[0]&1&&a.set_custom_element_data(C,"lang",L[0]),L[2]?F?F.p(L,O):(F=Me(L),F.c(),F.m(e,B)):F&&(F.d(1),F=null),L[3]?U?U.p(L,O):(U=De(L),U.c(),U.m(e,D)):U&&(U.d(1),U=null),L[8]?j?j.p(L,O):(j=Oe(L),j.c(),j.m(e,I)):j&&(j.d(1),j=null),O[0]&262144&&J!==(J=L[18]("save")+"")&&a.set_data(Z,J),O[0]&32768&&N!==(N="AccountEditLimitsSaveButton "+(L[15]?"":"AccountEditLimitsButtonDisabled"))&&a.attr(E,"class",N),O[0]&32768&&$!==($=!L[15])&&(E.disabled=$),O[0]&4096&&a.set_custom_element_data(Q,"modaltext",L[12]),O[0]&1&&a.set_custom_element_data(Q,"lang",L[0])},i:a.noop,o:a.noop,d(L){L&&(a.detach(e),a.detach(ne),a.detach(ee)),X&&X.d(),F&&F.d(),U&&U.d(),j&&j.d(),t[34](null),te=!1,a.run_all(ie)}}}function gi(t,e,i){let n;a.component_subscribe(t,a.$format,m=>i(18,n=m));let{limitsdata:r=[]}=e,{showsuccessnotification:o=!1}=e,{showdeletenotification:s=!1}=e,{currency:l=""}=e,{lang:u="en"}=e,{separatelimits:d="true"}=e,{clientstyling:c=""}=e,{clientstylingurl:y=""}=e,{mbsource:v}=e,{translationurl:p=""}=e;const k=()=>{fetch(p).then(g=>g.json()).then(g=>{Object.keys(g).forEach(S=>{_e(S,g[S])})}).catch(g=>{console.log(g)})};Object.keys(Le).forEach(m=>{_e(m,Le[m])});let f,h,w=!1,_=!1,b="",x=!1,W=0,M=0,z="",C=window.navigator.userAgent,Y=a.getDevice(C)!=="PC",B=new Array(3).fill(0),D={},I=[],H=[],E=!1,J=[];const Z={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/};let N=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],$=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],ne=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],ee=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],Q=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}];const te=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),ie=new Map([["Deposit Limit",$],["Time Limit",Q],["Wagering Limit",ne],["Loss Limit",ee]]),X=()=>{i(7,w=!0)},F=()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},U=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},j=()=>{if(x){f==="Time Limit"?N.forEach(g=>{if(d=="true"){if(g.value!=0){let S={period:g.period,minutes:g.value};I.push(S)}}else D.forEach(S=>{S.period===g.period&&(S.minutes=g.value)})}):N.forEach(g=>{if(d=="true"){if(g.value!=0){let S={period:g.period,amount:g.value,currency:l};I.push(S)}}else D.forEach(S=>{S.period===g.period&&(S.amount=g.value,S.currency=l)})});let m={};d=="true"?m={[te.get(f)]:[...I]}:m={[te.get(f)]:[...D]},I.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:te.get(f)},window.location.href),i(15,E=!1)}},L=(m,g,S,P)=>{switch(m.amount){case"Custom":if(f=="Time Limit")if(i(10,W=60),m.period==="Daily"?i(11,M=1440):m.period=="Weekly"?i(11,M=10080):i(11,M=43200),m.value&&Z.time.test(m.value)&&m.value>W&&m.value<=M){i(13,B[g]=0,B);let V=P[g];m.period==V.period&&m.value==V.amount?(i(15,E=!1),O(m,P)):i(15,E=!0)}else i(13,B[g]=1,B),i(15,E=!1);else m.value&&Z.amount.test(m.value)?(i(13,B[g]=0,B),m.period==P[g].period&&m.value==P[g].amount?(i(15,E=!!E),O(m,P)):i(15,E=!0),d!="true"&&N.forEach(V=>{V.value==0&&i(15,E=!1)})):(i(13,B[g]=1,B),i(15,E=!1));break;default:m.period==P[g].period?(O(m,P),i(15,E=m.value!=P[g].amount)):i(15,E=!0),N.forEach(V=>{(V.value==0&&d!="true"||V.amount=="Custom"&&!Z.amount.test(V.value.toString()))&&i(15,E=!1)});break}},O=(m,g)=>{let S=JSON.parse(JSON.stringify(g));N.forEach(P=>{S.forEach(V=>{P.period==m.period&&(P.amount!=="Custom"&&P.amount!=="No limit"?P.value=JSON.parse(P.amount):P.amount==="No limit"&&(P.value=0)),V.period===P.period&&(V.amount=P.value)})})},He=(m,g,S,P)=>{let V=m.values;!g.amount||g.amount==="No limit"?S.forEach(G=>{G.period===g.period&&(G.amount=g.amount,G.value=0)}):V.includes(JSON.stringify(g.amount))?S.forEach(G=>{G.period===g.period&&(G.amount=JSON.stringify(g.amount),G.value=g.amount)}):S.forEach(G=>{G.period===g.period&&(G.amount="Custom",G.value=g.amount)})},Ve=m=>{H.forEach(g=>{m.period===g.period&&(f==="Time Limit"&&(i(10,W=60),m.period==="Daily"?i(11,M=1440):m.period=="Weekly"?i(11,M=10080):i(11,M=43200)),g.values.indexOf(m.amount)>-1&&(m.amount==="No limit"?m.amount=0:m.amount=JSON.parse(m.amount)))})},ze=()=>{J.forEach(m=>{Ve(m)}),D.forEach(m=>{H.forEach(g=>{m.period===g.period&&He(g,m,N)})})},he=()=>{let m="";m=f==="Time Limit"?"time limit":f==="Deposit Limit"?"deposit limit":f==="Wagering Limit"?"wagering limit":"loss limit",i(12,z=n("changeLimitsText",{values:{limit:m}}))},fe=()=>{mi(u),he(),i(16,J=JSON.parse(JSON.stringify(r))),i(14,D=JSON.parse(JSON.stringify(r))),H=f==="Wagering Limit"?ne:f==="Loss Limit"?ee:f==="Deposit Limit"?$:f==="Time Limit"?Q:[],ze()},ge=m=>{if(m.data)switch(m.data.type){case"LanguageChanged":i(0,u=m.data.lang),he();break;case"EditPlayerLimit":i(6,f=m.data.name),i(9,b=n(f.charAt(0).toLowerCase()+f.substring(1).replace(/\s/g,""))),fe(),i(8,_=!0);break;case"ClosePlayerAccountGamingLimitsPopup":i(7,w=!1);break;case"GamingLimitsConfirmChanges":x=!0,j();break;case"CancelGamingLimitsChanges":i(8,_=!1),setTimeout(()=>{i(8,_=!0)},10),fe(),i(15,E=!1),x=!1;break}};a.onMount(()=>(window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge)}));function Ge(m){N[m].amount=a.select_value(this),i(17,N),i(20,ie),i(6,f)}function Re(m){N[m].value=a.to_number(this.value),i(17,N),i(20,ie),i(6,f)}function Qe(m){N[m].value=a.to_number(this.value),i(17,N),i(20,ie),i(6,f)}const Xe=()=>U();function Je(m){a.binding_callbacks[m?"unshift":"push"](()=>{h=m,i(5,h)})}return t.$$set=m=>{"limitsdata"in m&&i(1,r=m.limitsdata),"showsuccessnotification"in m&&i(2,o=m.showsuccessnotification),"showdeletenotification"in m&&i(3,s=m.showdeletenotification),"currency"in m&&i(4,l=m.currency),"lang"in m&&i(0,u=m.lang),"separatelimits"in m&&i(25,d=m.separatelimits),"clientstyling"in m&&i(26,c=m.clientstyling),"clientstylingurl"in m&&i(27,y=m.clientstylingurl),"mbsource"in m&&i(28,v=m.mbsource),"translationurl"in m&&i(29,p=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&12&&o&&s&&fe(),t.$$.dirty[0]&3,t.$$.dirty[0]&67108896&&c&&h&&a.setClientStyling(h,c),t.$$.dirty[0]&134217760&&y&&h&&a.setClientStylingURL(h,y),t.$$.dirty[0]&268435488&&v&&h&&a.setStreamStyling(h,`${v}.Style`),t.$$.dirty[0]&536870912&&p&&k()},[u,r,o,s,l,h,f,w,_,b,W,M,z,B,D,E,J,N,n,Y,ie,X,F,U,L,d,c,y,v,p,Ge,Re,Qe,Xe,Je]}class Be extends a.SvelteComponent{constructor(e){super(),a.init(this,e,gi,hi,a.safe_not_equal,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,currency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,mbsource:28,translationurl:29},di,[-1,-1,-1])}get limitsdata(){return this.$$.ctx[1]}set limitsdata(e){this.$$set({limitsdata:e}),a.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(e){this.$$set({showsuccessnotification:e}),a.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(e){this.$$set({showdeletenotification:e}),a.flush()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),a.flush()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),a.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(e){this.$$set({separatelimits:e}),a.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),a.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),a.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(e){this.$$set({mbsource:e}),a.flush()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),a.flush()}}a.create_custom_element(Be,{limitsdata:{},showsuccessnotification:{type:"Boolean"},showdeletenotification:{type:"Boolean"},currency:{},lang:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);const vi=Object.freeze(Object.defineProperty({__proto__:null,default:Be},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountGamingLimitsGroupEdit_ce=vi;exports.endOfDay=rt;exports.format=le;exports.getYear=si;exports.startOfDay=it;exports.subDays=li;exports.subMonths=ui;exports.toDate=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs"),B=require("./PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-ldgjli",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?B.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?B.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?B.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?B.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):B.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(F=>{H(F,v[F])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((F,W)=>{v.find(P=>P.period===F)||(v=g(v,W,F));const q=v.find(P=>P.period===F);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,F)=>{const W={period:F,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|