@everymatrix/casino-header-controller 1.67.3 → 1.68.0
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/{CasinoHamburgerMenu-qJFMD0lY.js → CasinoHamburgerMenu-BMkeLxFw.js} +1091 -1056
- package/components/{CasinoHamburgerMenu-F30AIdQa.js → CasinoHamburgerMenu-CTVc2-UF.js} +1085 -1050
- package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
- package/components/{CasinoHeaderController-DBUFDWMM.cjs → CasinoHeaderController-D9Zd6DdD.cjs} +1 -1
- package/components/{CasinoHeaderController-s3bKI18l.js → CasinoHeaderController-DvJ2fbVP.js} +90 -90
- package/components/{CasinoHeaderController-pekvzXc8.js → CasinoHeaderController-nGmOBYH5.js} +88 -88
- package/components/{CasinoSlider-xtEu7BaK.js → CasinoSlider-CTcAOyCp.js} +49 -49
- package/components/{CasinoSlider-CEn9AAOB.js → CasinoSlider-Deb0x84t.js} +81 -81
- package/components/{CasinoSlider-C8ldNewd.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
- package/components/{PlayerAccountBalanceModal-DAI5HzZi.cjs → PlayerAccountBalanceModal-BFDpI9Sy.cjs} +1 -1
- package/components/{PlayerAccountBalanceModal-Bonu08VK.js → PlayerAccountBalanceModal-CNXuqjqU.js} +61 -61
- package/components/{PlayerAccountBalanceModal-CJNc-yX5.js → PlayerAccountBalanceModal-DbULiu-f.js} +61 -61
- package/components/{PlayerDeposit-DmuFu2rX.cjs → PlayerDeposit-BXwT7NVp.cjs} +1 -1
- package/components/{PlayerDeposit-BsOgrGtE.js → PlayerDeposit-BZuTQSyp.js} +28 -28
- package/components/{PlayerDeposit-Cs0q3VJJ.js → PlayerDeposit-eY_YGhMJ.js} +28 -28
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-OGii9GZC.js → gamification-dropdown-8eb8a896-BIGhsjEp.js} +3 -3
- package/stencil/{gamification-dropdown-8eb8a896-DfTzIl57.cjs → gamification-dropdown-8eb8a896-BjUP17gj.cjs} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-DwjOP8LM.js → gamification-dropdown-8eb8a896-ChHEAdln.js} +7 -7
- package/stencil/{gamification-dropdown-Bl2Q7k92.cjs → gamification-dropdown-B8Psyzeb.cjs} +1 -1
- package/stencil/{gamification-dropdown-DTjKmeqH.js → gamification-dropdown-BWsuiPe-.js} +1 -1
- package/stencil/{gamification-dropdown-eYU0kMX0.js → gamification-dropdown-C54YsY6O.js} +1 -1
- package/stencil/{gamification-dropdown_4-EqEecNER.cjs → gamification-dropdown_4-BMWTb1Hi.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-C8FoQ9bl.js → gamification-dropdown_4-CIcYiW7L.js} +11 -11
- package/stencil/{gamification-dropdown_4-B46ceyMH.js → gamification-dropdown_4-DSQLLSbB.js} +11 -11
- package/stencil/{index-1ef3a64c-Y2S-mzZE.js → index-1ef3a64c-83J-RXdm.js} +192 -192
- package/stencil/index-1ef3a64c-Bi7BfDjU.cjs +1 -0
- package/stencil/{index-1ef3a64c-DfFwTbOB.js → index-1ef3a64c-hYuFvrwc.js} +185 -185
- package/stencil/index-71b1bdfa-0gP6xJac.cjs +1 -0
- package/stencil/{index-71b1bdfa-C8dE0ofS.js → index-71b1bdfa-CBlskF9r.js} +226 -226
- package/stencil/{index-71b1bdfa-_-dhHLGN.js → index-71b1bdfa-DU4nTCMc.js} +235 -235
- package/stencil/{player-elevate-card-DORq6Wij.cjs → player-elevate-card-5X5p1F8m.cjs} +1 -1
- package/stencil/{player-elevate-card-CESlrbxs.js → player-elevate-card-CU7Qildl.js} +2 -2
- package/stencil/{player-elevate-card-DAXoDLIH.js → player-elevate-card-IVb0Sf28.js} +2 -2
- package/stencil/{player-elevate-card-items-5071deed-DjG8kMBd.js → player-elevate-card-items-5071deed-CmKSIJsn.js} +79 -81
- package/stencil/player-elevate-card-items-5071deed-MX_MdgjK.cjs +102 -0
- package/stencil/{player-elevate-card-items-5071deed-C9dANr1l.js → player-elevate-card-items-5071deed-TVoEX2s0.js} +79 -81
- package/stencil/{player-elevate-pointcard-CjdTzOoF.cjs → player-elevate-pointcard-DcbEs06G.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-Do6iv014.js → player-elevate-pointcard-DkugTY8n.js} +2 -2
- package/stencil/{player-elevate-pointcard-DQXpvq40.js → player-elevate-pointcard-aaDwBSP6.js} +2 -2
- package/stencil/{player-rakeback-card-BoT6EgM7.cjs → player-rakeback-card-CN46KEaP.cjs} +1 -1
- package/stencil/{player-rakeback-card-BNSkyLB0.js → player-rakeback-card-Cw4WnuMK.js} +1 -1
- package/stencil/{player-rakeback-card-Bx_vN42o.js → player-rakeback-card-iG3S4W4O.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BJyawJS_.js → user-deposit-withdrawal-BvYavTHs.js} +46 -46
- package/stencil/{user-deposit-withdrawal-CC0ZAC_k.cjs → user-deposit-withdrawal-CrFUxhuF.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DKTq5kc3.js → user-deposit-withdrawal-TfRJdSfc.js} +46 -46
- package/components/CasinoHamburgerMenu-B3SEVofS.cjs +0 -21
- package/stencil/index-1ef3a64c-eLYHaH-f.cjs +0 -1
- package/stencil/index-71b1bdfa-MzSkzwf_.cjs +0 -1
- package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +0 -102
@@ -0,0 +1,102 @@
|
|
1
|
+
"use strict";const d=require("./index-71b1bdfa-0gP6xJac.cjs"),E=require("./locale-B_6Rn5-v.cjs");function Y(r){"@babel/helpers - typeof";return Y=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},Y(r)}function _(r){if(r===null||r===!0||r===!1)return NaN;var e=Number(r);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function h(r,e){if(e.length<r)throw new TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+e.length+" present")}function p(r){h(1,arguments);var e=Object.prototype.toString.call(r);return r instanceof Date||Y(r)==="object"&&e==="[object Date]"?new Date(r.getTime()):typeof r=="number"||e==="[object Number]"?new Date(r):((typeof r=="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 ee(r,e){h(2,arguments);var t=p(r).getTime(),a=_(e);return new Date(t+a)}var te={};function N(){return te}function X(r){var e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),r.getTime()-e.getTime()}function re(r){return h(1,arguments),r instanceof Date||Y(r)==="object"&&Object.prototype.toString.call(r)==="[object Date]"}function ae(r){if(h(1,arguments),!re(r)&&typeof r!="number")return!1;var e=p(r);return!isNaN(Number(e))}function ne(r,e){h(2,arguments);var t=_(e);return ee(r,-t)}var ie=864e5;function oe(r){h(1,arguments);var e=p(r),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),n=t-a;return Math.floor(n/ie)+1}function B(r){h(1,arguments);var e=1,t=p(r),a=t.getUTCDay(),n=(a<e?7:0)+a-e;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function Q(r){h(1,arguments);var e=p(r),t=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(t+1,0,4),a.setUTCHours(0,0,0,0);var n=B(a),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var o=B(i);return e.getTime()>=n.getTime()?t+1:e.getTime()>=o.getTime()?t:t-1}function se(r){h(1,arguments);var e=Q(r),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var a=B(t);return a}var le=6048e5;function ue(r){h(1,arguments);var e=p(r),t=B(e).getTime()-se(e).getTime();return Math.round(t/le)+1}function F(r,e){var t,a,n,i,o,l,c,u;h(1,arguments);var m=N(),f=_((t=(a=(n=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:m.weekStartsOn)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&t!==void 0?t:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=p(r),v=g.getUTCDay(),y=(v<f?7:0)+v-f;return g.setUTCDate(g.getUTCDate()-y),g.setUTCHours(0,0,0,0),g}function V(r,e){var t,a,n,i,o,l,c,u;h(1,arguments);var m=p(r),f=m.getUTCFullYear(),g=N(),v=_((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:g.firstWeekContainsDate)!==null&&a!==void 0?a:(c=g.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(f+1,0,v),y.setUTCHours(0,0,0,0);var P=F(y,e),x=new Date(0);x.setUTCFullYear(f,0,v),x.setUTCHours(0,0,0,0);var L=F(x,e);return m.getTime()>=P.getTime()?f+1:m.getTime()>=L.getTime()?f:f-1}function de(r,e){var t,a,n,i,o,l,c,u;h(1,arguments);var m=N(),f=_((t=(a=(n=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(o=e.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:m.firstWeekContainsDate)!==null&&a!==void 0?a:(c=m.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&t!==void 0?t:1),g=V(r,e),v=new Date(0);v.setUTCFullYear(g,0,f),v.setUTCHours(0,0,0,0);var y=F(v,e);return y}var ce=6048e5;function fe(r,e){h(1,arguments);var t=p(r),a=F(t,e).getTime()-de(t,e).getTime();return Math.round(a/ce)+1}function s(r,e){for(var t=r<0?"-":"",a=Math.abs(r).toString();a.length<e;)a="0"+a;return t+a}var he={y:function(e,t){var a=e.getUTCFullYear(),n=a>0?a:1-a;return s(t==="yy"?n%100:n,t.length)},M:function(e,t){var a=e.getUTCMonth();return t==="M"?String(a+1):s(a+1,2)},d:function(e,t){return s(e.getUTCDate(),t.length)},a:function(e,t){var a=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(e,t){return s(e.getUTCHours()%12||12,t.length)},H:function(e,t){return s(e.getUTCHours(),t.length)},m:function(e,t){return s(e.getUTCMinutes(),t.length)},s:function(e,t){return s(e.getUTCSeconds(),t.length)},S:function(e,t){var a=t.length,n=e.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,a-3));return s(i,t.length)}};const C=he;var M={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},me={G:function(e,t,a){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){var n=e.getUTCFullYear(),i=n>0?n:1-n;return a.ordinalNumber(i,{unit:"year"})}return C.y(e,t)},Y:function(e,t,a,n){var i=V(e,n),o=i>0?i:1-i;if(t==="YY"){var l=o%100;return s(l,2)}return t==="Yo"?a.ordinalNumber(o,{unit:"year"}):s(o,t.length)},R:function(e,t){var a=Q(e);return s(a,t.length)},u:function(e,t){var a=e.getUTCFullYear();return s(a,t.length)},Q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return s(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return s(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){var n=e.getUTCMonth();switch(t){case"M":case"MM":return C.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return s(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){var i=fe(e,n);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):s(i,t.length)},I:function(e,t,a){var n=ue(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):s(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getUTCDate(),{unit:"date"}):C.d(e,t)},D:function(e,t,a){var n=oe(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):s(n,t.length)},E:function(e,t,a){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return s(o,2);case"eo":return a.ordinalNumber(o,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return s(o,t.length);case"co":return a.ordinalNumber(o,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){var n=e.getUTCDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return s(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){var n=e.getUTCHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,a){var n=e.getUTCHours(),i;switch(n===12?i=M.noon:n===0?i=M.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){var n=e.getUTCHours(),i;switch(n>=17?i=M.evening:n>=12?i=M.afternoon:n>=4?i=M.morning:i=M.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){var n=e.getUTCHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return C.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getUTCHours(),{unit:"hour"}):C.H(e,t)},K:function(e,t,a){var n=e.getUTCHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},k:function(e,t,a){var n=e.getUTCHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):s(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):C.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):C.s(e,t)},S:function(e,t){return C.S(e,t)},X:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return q(o);case"XXXX":case"XX":return T(o);case"XXXXX":case"XXX":default:return T(o,":")}},x:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"x":return q(o);case"xxxx":case"xx":return T(o);case"xxxxx":case"xxx":default:return T(o,":")}},O:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(o,":");case"OOOO":default:return"GMT"+T(o,":")}},z:function(e,t,a,n){var i=n._originalDate||e,o=i.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(o,":");case"zzzz":default:return"GMT"+T(o,":")}},t:function(e,t,a,n){var i=n._originalDate||e,o=Math.floor(i.getTime()/1e3);return s(o,t.length)},T:function(e,t,a,n){var i=n._originalDate||e,o=i.getTime();return s(o,t.length)}};function A(r,e){var t=r>0?"-":"+",a=Math.abs(r),n=Math.floor(a/60),i=a%60;if(i===0)return t+String(n);var o=e;return t+String(n)+o+s(i,2)}function q(r,e){if(r%60===0){var t=r>0?"-":"+";return t+s(Math.abs(r)/60,2)}return T(r,e)}function T(r,e){var t=e||"",a=r>0?"-":"+",n=Math.abs(r),i=s(Math.floor(n/60),2),o=s(n%60,2);return a+i+t+o}const ve=me;var $=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},j=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ge=function(e,t){var a=e.match(/(P+)(p+)?/)||[],n=a[1],i=a[2];if(!i)return $(e,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",$(n,t)).replace("{{time}}",j(i,t))},we={p:j,P:ge};const ye=we;var pe=["D","DD"],be=["YY","YYYY"];function Ce(r){return pe.indexOf(r)!==-1}function xe(r){return be.indexOf(r)!==-1}function R(r,e,t){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Te={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"}},_e=function(e,t,a){var n,i=Te[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};const Me=_e;function I(r){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):r.defaultWidth,a=r.formats[t]||r.formats[r.defaultWidth];return a}}var Pe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Oe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},De={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Se={date:I({formats:Pe,defaultWidth:"full"}),time:I({formats:Oe,defaultWidth:"full"}),dateTime:I({formats:De,defaultWidth:"full"})};const ke=Se;var Ue={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},We=function(e,t,a,n){return Ue[e]};const Ee=We;function S(r){return function(e,t){var a=t!=null&&t.context?String(t.context):"standalone",n;if(a==="formatting"&&r.formattingValues){var i=r.defaultFormattingWidth||r.defaultWidth,o=t!=null&&t.width?String(t.width):i;n=r.formattingValues[o]||r.formattingValues[i]}else{var l=r.defaultWidth,c=t!=null&&t.width?String(t.width):r.defaultWidth;n=r.values[c]||r.values[l]}var u=r.argumentCallback?r.argumentCallback(e):e;return n[u]}}var Ye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Be={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Fe={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"]},Ne={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"]},Le={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"}},Ge={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"}},He=function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Ie={ordinalNumber:He,era:S({values:Ye,defaultWidth:"wide"}),quarter:S({values:Be,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:S({values:Fe,defaultWidth:"wide"}),day:S({values:Ne,defaultWidth:"wide"}),dayPeriod:S({values:Le,defaultWidth:"wide",formattingValues:Ge,defaultFormattingWidth:"wide"})};const Ae=Ie;function k(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.width,n=a&&r.matchPatterns[a]||r.matchPatterns[r.defaultMatchWidth],i=e.match(n);if(!i)return null;var o=i[0],l=a&&r.parsePatterns[a]||r.parsePatterns[r.defaultParseWidth],c=Array.isArray(l)?$e(l,function(f){return f.test(o)}):qe(l,function(f){return f.test(o)}),u;u=r.valueCallback?r.valueCallback(c):c,u=t.valueCallback?t.valueCallback(u):u;var m=e.slice(o.length);return{value:u,rest:m}}}function qe(r,e){for(var t in r)if(r.hasOwnProperty(t)&&e(r[t]))return t}function $e(r,e){for(var t=0;t<r.length;t++)if(e(r[t]))return t}function Re(r){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.match(r.matchPattern);if(!a)return null;var n=a[0],i=e.match(r.parsePattern);if(!i)return null;var o=r.valueCallback?r.valueCallback(i[0]):i[0];o=t.valueCallback?t.valueCallback(o):o;var l=e.slice(n.length);return{value:o,rest:l}}}var Xe=/^(\d+)(th|st|nd|rd)?/i,Qe=/\d+/i,Ve={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},je={any:[/^b/i,/^(a|c)/i]},ze={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Je={any:[/1/i,/2/i,/3/i,/4/i]},Ke={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},Ze={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]},et={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},tt={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]},rt={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},at={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}},nt={ordinalNumber:Re({matchPattern:Xe,parsePattern:Qe,valueCallback:function(e){return parseInt(e,10)}}),era:k({matchPatterns:Ve,defaultMatchWidth:"wide",parsePatterns:je,defaultParseWidth:"any"}),quarter:k({matchPatterns:ze,defaultMatchWidth:"wide",parsePatterns:Je,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:k({matchPatterns:Ke,defaultMatchWidth:"wide",parsePatterns:Ze,defaultParseWidth:"any"}),day:k({matchPatterns:et,defaultMatchWidth:"wide",parsePatterns:tt,defaultParseWidth:"any"}),dayPeriod:k({matchPatterns:rt,defaultMatchWidth:"any",parsePatterns:at,defaultParseWidth:"any"})};const it=nt;var ot={code:"en-US",formatDistance:Me,formatLong:ke,formatRelative:Ee,localize:Ae,match:it,options:{weekStartsOn:0,firstWeekContainsDate:1}};const st=ot;var lt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ut=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,dt=/^'([^]*?)'?$/,ct=/''/g,ft=/[a-zA-Z]/;function ht(r,e,t){var a,n,i,o,l,c,u,m,f,g,v,y,P,x;h(2,arguments);var L=String(e),O=N(),D=(a=(n=void 0)!==null&&n!==void 0?n:O.locale)!==null&&a!==void 0?a:st,G=_((i=(o=(l=(c=void 0)!==null&&c!==void 0?c:void 0)!==null&&l!==void 0?l:O.firstWeekContainsDate)!==null&&o!==void 0?o:(u=O.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(G>=1&&G<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=_((f=(g=(v=(y=void 0)!==null&&y!==void 0?y:void 0)!==null&&v!==void 0?v:O.weekStartsOn)!==null&&g!==void 0?g:(P=O.locale)===null||P===void 0||(x=P.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&f!==void 0?f:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw new RangeError("locale must contain localize property");if(!D.formatLong)throw new RangeError("locale must contain formatLong property");var U=p(r);if(!ae(U))throw new RangeError("Invalid time value");var z=X(U),J=ne(U,z),K={firstWeekContainsDate:G,weekStartsOn:H,locale:D,_originalDate:U},Z=L.match(ut).map(function(w){var b=w[0];if(b==="p"||b==="P"){var W=ye[b];return W(w,D.formatLong)}return w}).join("").match(lt).map(function(w){if(w==="''")return"'";var b=w[0];if(b==="'")return mt(w);var W=ve[b];if(W)return xe(w)&&R(w,e,String(r)),Ce(w)&&R(w,e,String(r)),W(J,w,D.localize,K);if(b.match(ft))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return w}).join("");return Z}function mt(r){var e=r.match(dt);return e?e[1].replace(ct,"'"):r}const vt=`<svg width="100%" height="28" style="opacity: 0" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<rect y="12" x="2" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
|
3
|
+
<rect y="12" x="2" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
|
4
|
+
<g filter="url(#filter_current_level)">
|
5
|
+
<circle id="circle_current_level" cx="74.5" cy="14.5" r="6.5" fill="white"/>
|
6
|
+
</g>
|
7
|
+
<g filter="url(#filter_heart_ball)">
|
8
|
+
<g filter="url(#filter_ball)">
|
9
|
+
<circle cx="169" cy="14" r="10" id="lock" fill="url(#paint0_linear_ball)"/>
|
10
|
+
</g>
|
11
|
+
<g filter="url(#filter_heart)">
|
12
|
+
<svg x="0" y="4" id="lock_box">
|
13
|
+
<path d="M10.217 6.42442c-0.713,-0.574,-1.304,-1.083,-1.928,-1.622c-0.348,-0.299,-0.707,-0.611,-1.101,-0.943l-0.013,-0.01c0,0,-0.023,-0.017,-0.04,-0.027l-0.167,-0.095l-0.15,0.12c0,0,-0.015,0.012,-0.024,0.02c-0.391,0.33,-0.749,0.64,-1.094,0.939c-0.622,0.539,-1.211,1.048,-1.924,1.624c-1.816,1.463,-3.598,3.263,-3.033,5.506c0.404,1.601,2.104,2.905,3.789,2.905c0.211,0,0.423,-0.02,0.626,-0.061c0.286,-0.058,0.572,-0.145,0.864,-0.265c-0.079,0.962,-0.413,1.864,-0.881,2.369l-0.423,0.459h0.633c0.633,0,1.018,-0.007,1.356,-0.013c0.248,-0.004,0.462,-0.008,0.72,-0.008c0.335,0,0.709,0.006,1.215,0.021l0.686,0.02l-0.474,-0.483c-0.504,-0.514,-0.847,-1.403,-0.923,-2.385c0.311,0.132,0.616,0.227,0.916,0.287c0.204,0.039,0.411,0.059,0.623,0.059c1.687,0,3.386,-1.304,3.789,-2.909c0.56,-2.243,-1.224,-4.041,-3.042,-5.504v-0.004z" fill="#933CBF"/>
|
14
|
+
<path d="M9.727,6.98459c-1.004,-0.83,-1.741,-1.515,-2.723,-2.365c-0.002,0,-0.004,-0.004,-0.007,-0.006c-0.002,0,-0.004,0.004,-0.006,0.006c-0.98,0.85,-1.715,1.537,-2.721,2.367c-1.455,1.202,-3.126,2.821,-2.638,4.81c0.37,1.511,2.091,2.751,3.665,2.43c0.389,-0.08,0.75,-0.224,1.094,-0.402c0,0.116,-0.004,0.233,-0.012,0.353c-0.064,0.991,-0.398,1.892,-0.86,2.401c1.481,0,1.481,-0.043,2.961,0c-0.481,-0.503,-0.834,-1.382,-0.9,-2.401c-0.008,-0.127,-0.012,-0.253,-0.012,-0.378c0.357,0.19,0.733,0.342,1.14,0.425c1.574,0.319,3.292,-0.922,3.661,-2.433c0.486,-1.992,-1.189,-3.609,-2.644,
|
15
|
+
-4.809l0.002,0.002z" fill="url(#paint1_linear_lock)"/>
|
16
|
+
<path d="M9.255,7.551c-0.844,-0.716,-1.462,-1.309,-2.286,-2.045c-0.002,0,-0.004,-0.004,-0.006,-0.006c0,0,-0.004,0.004,-0.006,0.006c-0.824,0.736,-1.44,1.329,-2.284,2.047c-0.919,0.782,-1.94,1.769,-2.214,2.943c-0.115,0.021,-0.914,0.044,-0.914,0.044l0.887,0.083c-0.039,0.206,-0.055,0.418,-0.041,0.638c0.087,-1.371,1.25,-2.507,2.282,-3.384c0.844,-0.718,1.462,-1.313,2.284,-2.047c0.002,-0.002,0.004,-0.004,0.006,-0.006c0.002,0,0.004,0.004,0.006,0.004c0.824,0.734,1.442,1.329,2.286,2.045c1.034,0.879,2.198,2.013,2.286,3.386c0.093,-1.517,-1.173,-2.761,-2.286,-3.708z" fill="#9040C9"/>
|
17
|
+
</svg>
|
18
|
+
</g>
|
19
|
+
</g>
|
20
|
+
<g filter="url(#filter_lock)">
|
21
|
+
<svg x="100%" y="9" id="heart_box">
|
22
|
+
<path d="M7,6c-0.19,-0.002,-0.377,0.052,-0.534,0.154c-0.158,0.103,-0.278,0.25,-0.346,0.42c-0.069,0.171,-0.081,0.357,-0.035,0.535c0.046,0.177,0.147,0.337,0.29,0.457v0.834c0,0.159,0.066,0.312,0.183,0.424c0.117,0.113,0.276,0.176,0.442,0.176c0.166,0,0.325,-0.063,0.442,-0.176c0.117,-0.112,0.183,-0.265,0.183,-0.424v-0.834c0.143,-0.12,0.244,-0.28,0.29,-0.457c0.046,-0.178,0.034,-0.364,-0.035,-0.535c-0.068,-0.17,-0.188,-0.317,-0.346,-0.42c-0.157,-0.102,-0.344,-0.156,-0.534,-0.154zm3.125,-2.4v-1.2c0,-0.796,-0.329,-1.559,-0.915,-2.121c-0.586,-0.563,-1.381,-0.879,-2.21,-0.879c-0.829,0,-1.624,0.316,-2.21,0.879c-0.586,0.562,-0.915,1.325,-0.915,2.121v1.2c-0.497,0,-0.974,0.19,-1.326,0.527c-0.351,0.338,-0.549,0.796,-0.549,1.273v4.2c0,0.477,0.198,0.935,0.549,1.273c0.352,0.337,0.829,0.527,1.326,0.527h6.25c0.497,0,0.974,-0.19,1.326,-0.527c0.351,-0.338,0.549,-0.796,0.549,-1.273v-4.2c0,-0.477,-0.198,-0.935,-0.549,-1.273c-0.352,-0.337,-0.829,-0.527,-1.326,-0.527zm-5,-1.2c0,-0.477,0.198,-0.935,0.549,-1.273c0.352,-0.337,0.829,-0.527,1.326,-0.527c0.497,0,0.974,0.19,1.326,0.527c0.351,0.338,0.549,0.796,0.549,1.273v1.2h-3.75v-1.2zm5.625,7.2c0,0.159,-0.066,0.312,-0.183,0.424c-0.117,0.113,-0.276,0.176,-0.442,0.176h-6.25c-0.166,0,-0.325,-0.063,-0.442,-0.176c-0.117,-0.112,-0.183,-0.265,-0.183,-0.424v-4.2c0,-0.159,0.066,-0.312,0.183,-0.424c0.117,-0.113,0.276,-0.176,0.442,-0.176h6.25c0.166,0,0.325,0.063,0.442,0.176c0.117,0.112,0.183,0.265,0.183,0.424v4.2z" fill="white"/>
|
23
|
+
</svg>
|
24
|
+
</g>
|
25
|
+
<defs>
|
26
|
+
<filter id="filter_current_level" x="64" y="4" width="21" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
27
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
28
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
29
|
+
<feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_305_23"/>
|
30
|
+
</filter>
|
31
|
+
<filter id="filter_heart_ball" x="155" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
32
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
33
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
34
|
+
<feOffset/>
|
35
|
+
<feGaussianBlur stdDeviation="2"/>
|
36
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
37
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
38
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
39
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
40
|
+
</filter>
|
41
|
+
<filter id="filter_ball" x="159" y="4" width="20" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
42
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
43
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
44
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
45
|
+
<feOffset dy="1"/>
|
46
|
+
<feGaussianBlur stdDeviation="1"/>
|
47
|
+
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
48
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
|
49
|
+
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_305_23"/>
|
50
|
+
</filter>
|
51
|
+
<filter id="filter_heart" x="161.636" y="5.72727" width="14.7271" height="15.6364" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
52
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
53
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
54
|
+
<feOffset/>
|
55
|
+
<feGaussianBlur stdDeviation="0.5"/>
|
56
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
57
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
58
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
59
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
60
|
+
</filter>
|
61
|
+
<filter id="filter_lock" x="50" y="7" width="12" height="14" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
62
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
63
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
64
|
+
<feOffset/>
|
65
|
+
<feGaussianBlur stdDeviation="0.5"/>
|
66
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
67
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
68
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
|
69
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
|
70
|
+
</filter>
|
71
|
+
<linearGradient id="paint0_linear_ball" x1="163" y1="6" x2="174.2" y2="22.6" gradientUnits="userSpaceOnUse">
|
72
|
+
<stop stop-color="#946AD7"/>
|
73
|
+
<stop offset="1" stop-color="#EFABEB"/>
|
74
|
+
</linearGradient>
|
75
|
+
<linearGradient id="paint1_linear_lock" x1="100%" y1="18.4056" x2="169.002" y2="10.2845" gradientUnits="userSpaceOnUse">
|
76
|
+
<stop stop-color="#814FD6"/>
|
77
|
+
<stop offset="1" stop-color="#D679D8"/>
|
78
|
+
</linearGradient>
|
79
|
+
</defs>
|
80
|
+
</svg>
|
81
|
+
`,gt=`<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
|
82
|
+
<g filter="url(#filter0_d_242_4231)">
|
83
|
+
<rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
|
84
|
+
<path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
|
85
|
+
<path d="M51 56H37L43.2474 63.1399C43.6458 63.5952 44.3542 63.5952 44.7526 63.1399L51 56Z" fill="#464646"/>
|
86
|
+
<circle cx="44" cy="38" r="7" fill="white"/>
|
87
|
+
<path d="M43.9405 34C44.5456 34 45.0362 34.4906 45.0362 35.0957C45.0362 35.7009 44.5456 36.1915 43.9405 36.1915C43.3353 36.1915 42.8447 35.7009 42.8447 35.0957C42.8447 34.4906 43.3353 34 43.9405 34Z" fill="#464646"/>
|
88
|
+
<path d="M45.8801 41.3737C45.8801 41.7617 45.5626 42.0791 45.1746 42.0791H44.3233H43.551H42.7055C42.3175 42.0791 42 41.7617 42 41.3737V41.3575C42 40.9695 42.3175 40.6521 42.7055 40.6521H42.8455V37.8714H42.3528C42.1588 37.8714 42 37.7127 42 37.5187V37.4936C42 37.2996 42.1588 37.1409 42.3528 37.1409H43.551H44.031H44.3233C44.7113 37.1409 45.0287 37.4583 45.0287 37.8463V40.6521H45.1746C45.5626 40.6521 45.8801 40.9696 45.8801 41.3576V41.3737Z" fill="#464646"/>
|
89
|
+
</g>
|
90
|
+
<defs>
|
91
|
+
<filter id="filter0_d_242_4231" x="0" y="0" width="126" height="91.4814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
92
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
93
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
94
|
+
<feOffset dy="4"/>
|
95
|
+
<feGaussianBlur stdDeviation="12"/>
|
96
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
97
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_242_4231"/>
|
98
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_242_4231" result="shape"/>
|
99
|
+
</filter>
|
100
|
+
</defs>
|
101
|
+
</svg>
|
102
|
+
`,wt=()=>d.h("span",{class:"LevelProgress",id:"LevelProgress",innerHTML:vt}),yt=({loyaltyPoints:r,spendablePoints:e,pointExpireString:t,language:a})=>d.h("div",{class:"PointsInfo"},r&&r>=0&&d.h("div",{class:"Points"},r," ",d.h("sub",{class:"XP"},E.translate("xp",a))),e&&d.h("div",{class:"Points"},e," ",d.h("sub",{class:"XP"},E.translate("sp",a))),t&&d.h("div",{class:"ExpirationPoints"},t," ")),pt=({language:r,onRedeemClick:e})=>d.h("div",{class:"CardCell Redeem"},d.h("div",{class:"RedeemButton",onClick:()=>{e()}},d.h("span",null,E.translate("redeem",r)))),bt=r=>d.h("div",{class:"CardCell PlayerName Txt"},r.playerName),Ct=r=>d.h("div",{class:"CardCell ElevateLevel"},d.h("span",{class:"LevelName",title:r.level},r.level),r.expireTime&&d.h("div",{class:"CardCell ExpirationDate Txt"},E.translate("expireOn",r.language),d.h("span",{class:"ExpireTime"},ht(new Date(r.expireTime),r.dateFormat||"yyyy-MM-dd")),!r.hideInfo&&d.h("span",{class:"fa Info",style:{background:`url(${d.getAssetPath("../static/info.svg")})`}},d.h("span",{class:"InfoTips",innerHTML:gt})))),xt=r=>{const e=r.loyaltyIconUrl?d.h("img",{class:"Badge",src:r.loyaltyIconUrl}):r.hideIfNull?"":d.h("div",{class:"Badge"}),t=r.playerAvatarUrl||d.getAssetPath("../static/user.svg");return d.h("div",{class:"PlayerAvatar",style:{position:`${r.onlyBadge?"":"relative"}`}},!r.onlyBadge&&d.h("img",{class:"Avatar",src:t}),e)};exports.PlayerAvatar=xt;exports.PlayerElevateCardRedeem=pt;exports.PlayerElevateLoyaltyLevel=Ct;exports.PlayerLoyaltyProcess=wt;exports.PlayerNameDiv=bt;exports.PlayerPoints=yt;exports.getTimezoneOffsetInMilliseconds=X;exports.requiredArgs=h;exports.toDate=p;
|