@everymatrix/player-bonus-history 1.19.6 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2228,7 +2228,7 @@
2228
2228
  :host([clear-button-visible][has-value]:not([disabled]):not([readonly])) [part='clear-button'] {
2229
2229
  display: block;
2230
2230
  }
2231
- `];class fh{constructor(e){(this.host=e).addEventListener("opened-changed",()=>{e.opened||this.__setVirtualKeyboardEnabled(!1)}),e.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),e.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(e){this.host.inputElement&&(this.host.inputElement.inputMode=e?"":"none")}}w("vaadin-date-picker",[u,Hl],{moduleId:"vaadin-date-picker-styles"});class _h extends(a=dh(or(Va(Vs))),class extends xa(Zl(lh(Tl(a)))){static get properties(){return{_selectedDate:{type:Date},_focusedDate:Date,value:{type:String,observer:"_valueChanged",notify:!0,value:""},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged"},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean},_fullscreen:{type:Boolean,value:!1},_fullscreenMediaQuery:{value:"(max-width: 420px), (max-height: 420px)"},_touchPrevented:Array,i18n:{type:Object,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,week:"Week",calendar:"Calendar",today:"Today",cancel:"Cancel",formatDate:e=>{var t=String(e.year).replace(/\d+/,e=>"0000".substr(e.length)+e);return[e.month+1,e.day,t].join("/")},parseDate:e=>{var e=e.split("/"),t=new Date;let r,n=t.getMonth(),i=t.getFullYear();if(3===e.length?(i=parseInt(e[2]),e[2].length<3&&0<=i&&(i+=i<50?2e3:1900),n=parseInt(e[0])-1,r=parseInt(e[1])):2===e.length?(n=parseInt(e[0])-1,r=parseInt(e[1])):1===e.length&&(r=parseInt(e[0])),void 0!==r)return{day:r,month:n,year:i}},formatTitle:(e,t)=>e+" "+t})},min:{type:String,observer:"_minChanged"},max:{type:String,observer:"_maxChanged"},_minDate:{type:Date,value:""},_maxDate:{type:Date,value:""},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:Ea},_webkitOverflowScroll:{type:Boolean,value:""===document.createElement("div").style.webkitOverflowScrolling},_focusOverlayOnOpen:Boolean,_overlayInitialized:Boolean}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n.formatDate)","_focusedDateChanged(_focusedDate, i18n.formatDate)"]}get clearElement(){return null}get _inputValue(){return this.inputElement?this.inputElement.value:void 0}set _inputValue(e){this.inputElement&&(this.inputElement.value=e)}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this)}_onFocus(e){super._onFocus(e),this._noInput&&e.target.blur()}_onBlur(e){if(super._onBlur(e),!this.opened){if(this.autoOpenDisabled){const e=this._getParsedDate();this._isValidDate(e)&&this._selectDate(e)}""===this.inputElement.value&&this.__dispatchChange?(this.validate(),this.value="",this.__dispatchChange=!1):this.validate()}}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new Kl(this._fullscreenMediaQuery,e=>{this._fullscreen=e})),this.addController(new fh(this))}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}_propertiesChanged(e,t,r){super._propertiesChanged(e,t,r),"value"in t&&this.__dispatchChange&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this.__dispatchChange=!1)}open(){this.disabled||this.readonly||(this.opened=!0)}close(){(this._overlayInitialized||this.autoOpenDisabled)&&this.$.overlay.close()}_initOverlay(){this.$.overlay.removeAttribute("disable-upgrade"),this._overlayInitialized=!0,this.$.overlay.addEventListener("opened-changed",e=>this.opened=e.detail.value),this.$.overlay.addEventListener("vaadin-overlay-escape-press",()=>{this._focusedDate=this._selectedDate,this._close()}),this._overlayContent.addEventListener("close",this._close.bind(this)),this._overlayContent.addEventListener("focus-input",this._focusAndSelect.bind(this)),this._overlayContent.addEventListener("date-tap",e=>{this.__userConfirmedDate=!0,this._selectDate(e.detail.date),this._close(e)}),this._overlayContent.addEventListener("date-selected",e=>{this.__userConfirmedDate=!0,this._selectDate(e.detail.date)}),this._overlayContent.addEventListener("focusin",()=>{this._setFocused(!0)}),this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}validate(){return!(this.invalid=!this.checkValidity())}checkValidity(){var e=!this._inputValue||this._selectedDate&&this._inputValue===this._getFormattedDate(this.i18n.formatDate,this._selectedDate),t=!this._selectedDate||Wl(this._selectedDate,this._minDate,this._maxDate);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),e&&t&&r}_selectDate(e){var t=this._formatISO(e);this.value!==t&&(this.__dispatchChange=!0),this._selectedDate=e}_close(e){e&&e.stopPropagation(),this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_parseDate(e){var t,e=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/.exec(e);if(e)return(t=new Date(0,0)).setFullYear(parseInt(e[1],10)),t.setMonth(parseInt(e[2],10)-1),t.setDate(parseInt(e[3],10)),t}_isNoInput(e,t,r,n,i,o){return!e||t&&(!o||i)||r&&i||!n.parseDate}_formatISO(e){if(!(e instanceof Date))return"";var t=(e,t="00")=>(t+e).substr((t+e).length-t.length);let r="",n="0000",i=e.getFullYear();return i<0?(i=-i,r="-",n="000000"):1e4<=e.getFullYear()&&(r="+",n="000000"),[r+t(i,n),t(e.getMonth()+1),t(e.getDate())].join("-")}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){e&&!this._overlayInitialized&&this._initOverlay(),this._overlayInitialized&&(this.$.overlay.opened=e),this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,t){void 0!==e&&void 0!==t&&(t=this._formatISO(e),this.__keepInputValue||this._applyInputValue(e),t!==this.value&&(this.validate(),this.value=t),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,t){void 0===e||void 0===t||this._ignoreFocusedDateChange||this._noInput||this._applyInputValue(e)}__getOverlayTheme(e,t){if(t)return e}_handleDateChange(e,t,r){t?(t=this._parseDate(t))?zl(this[e],t)||(this[e]=t,this.value&&this.validate()):this.value=r:this[e]=""}_valueChanged(e,t){this._handleDateChange("_selectedDate",e,t),this._toggleHasValue(!!e)}_minChanged(e,t){this._handleDateChange("_minDate",e,t)}_maxChanged(e,t){this._handleDateChange("_maxDate",e,t)}_onOverlayOpened(){this._openedWithFocusRing=this.hasAttribute("focus-ring");var e=this._parseDate(this.initialPosition),t=this._selectedDate||this._overlayContent.initialPosition||e||new Date;e||Wl(t,this._minDate,this._maxDate)?this._overlayContent.initialPosition=t:this._overlayContent.initialPosition=jl(t,[this._minDate,this._maxDate]),this._overlayContent.scrollToDate(this._overlayContent.focusedDate||this._overlayContent.initialPosition),this._ignoreFocusedDateChange=!0,this._overlayContent.focusedDate=this._overlayContent.focusedDate||this._overlayContent.initialPosition,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._webkitOverflowScroll&&(this._touchPrevented=this._preventWebkitOverflowScrollingTouch(this.parentElement)),this._focusOverlayOnOpen?(this._overlayContent.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus(),this._noInput&&this.focusElement&&(this.focusElement.blur(),this._overlayContent.focusDateElement())}_preventWebkitOverflowScrollingTouch(e){for(var t,r=[];e;)"touch"===window.getComputedStyle(e).webkitOverflowScrolling&&(t=e.style.webkitOverflowScrolling,e.style.webkitOverflowScrolling="auto",r.push({element:e,oldInlineValue:t})),e=e.parentElement;return r}_selectParsedOrFocusedDate(){var e;this._ignoreFocusedDateChange=!0,this.i18n.parseDate?(e=this._inputValue||"",e=this._getParsedDate(e),this._isValidDate(e)?this._selectDate(e):(this.__keepInputValue=!0,this._selectDate(null),this._selectedDate=null,this.__keepInputValue=!1)):this._focusedDate&&this._selectDate(this._focusedDate),this._ignoreFocusedDateChange=!1}_onOverlayClosed(){window.removeEventListener("scroll",this._boundOnScroll,!0),this._touchPrevented&&(this._touchPrevented.forEach(e=>e.element.style.webkitOverflowScrolling=e.oldInlineValue),this._touchPrevented=[]),this.__userConfirmedDate?this.__userConfirmedDate=!1:this._selectParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),this.value||this.validate(),this.getRootNode().activeElement!==this.inputElement&&this._setFocused(!1)}_onScroll(e){e.target!==window&&this._overlayContent.contains(e.target)||this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputValue.length)}_applyInputValue(e){this._inputValue=e?this._getFormattedDate(this.i18n.formatDate,e):""}_getFormattedDate(e,t){return e(Vl(t))}_setSelectionRange(e,t){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,t)}_isValidDate(e){return e&&!isNaN(e.getTime())}_onChange(e){""!==this.inputElement.value||e.detail&&e.detail.sourceEvent&&e.detail.sourceEvent.__fromClearButton||(this.__dispatchChange=!0),e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){this.autoOpenDisabled&&!this._noInput||(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.value="",this._inputValue="",this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_onKeyDown(e){switch(super._onKeyDown(e),!this._noInput||-1===[9].indexOf(e.keyCode)&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDate(this._focusedDate))}}_onEnter(e){var t=this._getParsedDate(),t=this._isValidDate(t);if(this.opened)this._overlayInitialized&&this._overlayContent.focusedDate&&t&&this._selectDate(this._overlayContent.focusedDate),this.close();else if(t||""===this.inputElement.value){const e=this.value;this._selectParsedOrFocusedDate(),e===this.value&&this.validate()}else this.validate()}_onEscape(e){if(!this.opened)return this.clearButtonVisible&&this.value?(e.stopPropagation(),void this._onClearButtonClick(e)):void(this.autoOpenDisabled?(""===this.inputElement.value&&this._selectDate(null),this._applyInputValue(this._selectedDate)):(this._focusedDate=this._selectedDate,this._selectParsedOrFocusedDate()))}_getParsedDate(e=this._inputValue){e=this.i18n.parseDate&&this.i18n.parseDate(e);return e&&this._parseDate(`${e.year}-${e.month+1}-`+e.day)}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){this.opened||!this.inputElement.value||this.autoOpenDisabled||this.open(),this._userInputValueChanged()}_userInputValueChanged(){var e;this._inputValue&&(e=this._getParsedDate(),this._isValidDate(e))&&(this._ignoreFocusedDateChange=!0,zl(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}get _overlayContent(){return this.$.overlay.content.querySelector("#overlay-content")}}){static get is(){return"vaadin-date-picker"}static get template(){return Ws`
2231
+ `];class fh{constructor(e){(this.host=e).addEventListener("opened-changed",()=>{e.opened||this.__setVirtualKeyboardEnabled(!1)}),e.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),e.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(e){this.host.inputElement&&(this.host.inputElement.inputMode=e?"":"none")}}var _h;w("vaadin-date-picker",[u,Hl],{moduleId:"vaadin-date-picker-styles"});class yh extends(a=dh(or(Va(Vs))),class extends xa(Zl(lh(Tl(a)))){static get properties(){return{_selectedDate:{type:Date},_focusedDate:Date,value:{type:String,observer:"_valueChanged",notify:!0,value:""},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged"},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean},_fullscreen:{type:Boolean,value:!1},_fullscreenMediaQuery:{value:"(max-width: 420px), (max-height: 420px)"},_touchPrevented:Array,i18n:{type:Object,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,week:"Week",calendar:"Calendar",today:"Today",cancel:"Cancel",formatDate:e=>{var t=String(e.year).replace(/\d+/,e=>"0000".substr(e.length)+e);return[e.month+1,e.day,t].join("/")},parseDate:e=>{var e=e.split("/"),t=new Date;let r,n=t.getMonth(),i=t.getFullYear();if(3===e.length?(i=parseInt(e[2]),e[2].length<3&&0<=i&&(i+=i<50?2e3:1900),n=parseInt(e[0])-1,r=parseInt(e[1])):2===e.length?(n=parseInt(e[0])-1,r=parseInt(e[1])):1===e.length&&(r=parseInt(e[0])),void 0!==r)return{day:r,month:n,year:i}},formatTitle:(e,t)=>e+" "+t})},min:{type:String,observer:"_minChanged"},max:{type:String,observer:"_maxChanged"},_minDate:{type:Date,value:""},_maxDate:{type:Date,value:""},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:Ea},_webkitOverflowScroll:{type:Boolean,value:""===document.createElement("div").style.webkitOverflowScrolling},_focusOverlayOnOpen:Boolean,_overlayInitialized:Boolean}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n.formatDate)","_focusedDateChanged(_focusedDate, i18n.formatDate)"]}get clearElement(){return null}get _inputValue(){return this.inputElement?this.inputElement.value:void 0}set _inputValue(e){this.inputElement&&(this.inputElement.value=e)}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this)}_onFocus(e){super._onFocus(e),this._noInput&&e.target.blur()}_onBlur(e){if(super._onBlur(e),!this.opened){if(this.autoOpenDisabled){const e=this._getParsedDate();this._isValidDate(e)&&this._selectDate(e)}""===this.inputElement.value&&this.__dispatchChange?(this.validate(),this.value="",this.__dispatchChange=!1):this.validate()}}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new Kl(this._fullscreenMediaQuery,e=>{this._fullscreen=e})),this.addController(new fh(this))}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}_propertiesChanged(e,t,r){super._propertiesChanged(e,t,r),"value"in t&&this.__dispatchChange&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this.__dispatchChange=!1)}open(){this.disabled||this.readonly||(this.opened=!0)}close(){(this._overlayInitialized||this.autoOpenDisabled)&&this.$.overlay.close()}_initOverlay(){this.$.overlay.removeAttribute("disable-upgrade"),this._overlayInitialized=!0,this.$.overlay.addEventListener("opened-changed",e=>this.opened=e.detail.value),this.$.overlay.addEventListener("vaadin-overlay-escape-press",()=>{this._focusedDate=this._selectedDate,this._close()}),this._overlayContent.addEventListener("close",this._close.bind(this)),this._overlayContent.addEventListener("focus-input",this._focusAndSelect.bind(this)),this._overlayContent.addEventListener("date-tap",e=>{this.__userConfirmedDate=!0,this._selectDate(e.detail.date),this._close(e)}),this._overlayContent.addEventListener("date-selected",e=>{this.__userConfirmedDate=!0,this._selectDate(e.detail.date)}),this._overlayContent.addEventListener("focusin",()=>{this._setFocused(!0)}),this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}validate(){return!(this.invalid=!this.checkValidity())}checkValidity(){var e=!this._inputValue||this._selectedDate&&this._inputValue===this._getFormattedDate(this.i18n.formatDate,this._selectedDate),t=!this._selectedDate||Wl(this._selectedDate,this._minDate,this._maxDate);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),e&&t&&r}_selectDate(e){var t=this._formatISO(e);this.value!==t&&(this.__dispatchChange=!0),this._selectedDate=e}_close(e){e&&e.stopPropagation(),this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_parseDate(e){var t,e=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/.exec(e);if(e)return(t=new Date(0,0)).setFullYear(parseInt(e[1],10)),t.setMonth(parseInt(e[2],10)-1),t.setDate(parseInt(e[3],10)),t}_isNoInput(e,t,r,n,i,o){return!e||t&&(!o||i)||r&&i||!n.parseDate}_formatISO(e){if(!(e instanceof Date))return"";var t=(e,t="00")=>(t+e).substr((t+e).length-t.length);let r="",n="0000",i=e.getFullYear();return i<0?(i=-i,r="-",n="000000"):1e4<=e.getFullYear()&&(r="+",n="000000"),[r+t(i,n),t(e.getMonth()+1),t(e.getDate())].join("-")}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){e&&!this._overlayInitialized&&this._initOverlay(),this._overlayInitialized&&(this.$.overlay.opened=e),this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,t){void 0!==e&&void 0!==t&&(t=this._formatISO(e),this.__keepInputValue||this._applyInputValue(e),t!==this.value&&(this.validate(),this.value=t),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,t){void 0===e||void 0===t||this._ignoreFocusedDateChange||this._noInput||this._applyInputValue(e)}__getOverlayTheme(e,t){if(t)return e}_handleDateChange(e,t,r){t?(t=this._parseDate(t))?zl(this[e],t)||(this[e]=t,this.value&&this.validate()):this.value=r:this[e]=""}_valueChanged(e,t){this._handleDateChange("_selectedDate",e,t),this._toggleHasValue(!!e)}_minChanged(e,t){this._handleDateChange("_minDate",e,t)}_maxChanged(e,t){this._handleDateChange("_maxDate",e,t)}_onOverlayOpened(){this._openedWithFocusRing=this.hasAttribute("focus-ring");var e=this._parseDate(this.initialPosition),t=this._selectedDate||this._overlayContent.initialPosition||e||new Date;e||Wl(t,this._minDate,this._maxDate)?this._overlayContent.initialPosition=t:this._overlayContent.initialPosition=jl(t,[this._minDate,this._maxDate]),this._overlayContent.scrollToDate(this._overlayContent.focusedDate||this._overlayContent.initialPosition),this._ignoreFocusedDateChange=!0,this._overlayContent.focusedDate=this._overlayContent.focusedDate||this._overlayContent.initialPosition,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._webkitOverflowScroll&&(this._touchPrevented=this._preventWebkitOverflowScrollingTouch(this.parentElement)),this._focusOverlayOnOpen?(this._overlayContent.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus(),this._noInput&&this.focusElement&&(this.focusElement.blur(),this._overlayContent.focusDateElement())}_preventWebkitOverflowScrollingTouch(e){for(var t,r=[];e;)"touch"===window.getComputedStyle(e).webkitOverflowScrolling&&(t=e.style.webkitOverflowScrolling,e.style.webkitOverflowScrolling="auto",r.push({element:e,oldInlineValue:t})),e=e.parentElement;return r}_selectParsedOrFocusedDate(){var e;this._ignoreFocusedDateChange=!0,this.i18n.parseDate?(e=this._inputValue||"",e=this._getParsedDate(e),this._isValidDate(e)?this._selectDate(e):(this.__keepInputValue=!0,this._selectDate(null),this._selectedDate=null,this.__keepInputValue=!1)):this._focusedDate&&this._selectDate(this._focusedDate),this._ignoreFocusedDateChange=!1}_onOverlayClosed(){window.removeEventListener("scroll",this._boundOnScroll,!0),this._touchPrevented&&(this._touchPrevented.forEach(e=>e.element.style.webkitOverflowScrolling=e.oldInlineValue),this._touchPrevented=[]),this.__userConfirmedDate?this.__userConfirmedDate=!1:this._selectParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),this.value||this.validate(),this.getRootNode().activeElement!==this.inputElement&&this._setFocused(!1)}_onScroll(e){e.target!==window&&this._overlayContent.contains(e.target)||this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputValue.length)}_applyInputValue(e){this._inputValue=e?this._getFormattedDate(this.i18n.formatDate,e):""}_getFormattedDate(e,t){return e(Vl(t))}_setSelectionRange(e,t){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,t)}_isValidDate(e){return e&&!isNaN(e.getTime())}_onChange(e){""!==this.inputElement.value||e.detail&&e.detail.sourceEvent&&e.detail.sourceEvent.__fromClearButton||(this.__dispatchChange=!0),e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){this.autoOpenDisabled&&!this._noInput||(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.value="",this._inputValue="",this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_onKeyDown(e){switch(super._onKeyDown(e),!this._noInput||-1===[9].indexOf(e.keyCode)&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDate(this._focusedDate))}}_onEnter(e){var t=this._getParsedDate(),t=this._isValidDate(t);if(this.opened)this._overlayInitialized&&this._overlayContent.focusedDate&&t&&this._selectDate(this._overlayContent.focusedDate),this.close();else if(t||""===this.inputElement.value){const e=this.value;this._selectParsedOrFocusedDate(),e===this.value&&this.validate()}else this.validate()}_onEscape(e){if(!this.opened)return this.clearButtonVisible&&this.value?(e.stopPropagation(),void this._onClearButtonClick(e)):void(this.autoOpenDisabled?(""===this.inputElement.value&&this._selectDate(null),this._applyInputValue(this._selectedDate)):(this._focusedDate=this._selectedDate,this._selectParsedOrFocusedDate()))}_getParsedDate(e=this._inputValue){e=this.i18n.parseDate&&this.i18n.parseDate(e);return e&&this._parseDate(`${e.year}-${e.month+1}-`+e.day)}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){this.opened||!this.inputElement.value||this.autoOpenDisabled||this.open(),this._userInputValueChanged()}_userInputValueChanged(){var e;this._inputValue&&(e=this._getParsedDate(),this._isValidDate(e))&&(this._ignoreFocusedDateChange=!0,zl(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}get _overlayContent(){return this.$.overlay.content.querySelector("#overlay-content")}}){static get is(){return"vaadin-date-picker"}static get template(){return Ws`
2232
2232
  <style>
2233
2233
  :host([opened]) {
2234
2234
  pointer-events: auto;
@@ -2289,5 +2289,5 @@
2289
2289
  ></vaadin-date-picker-overlay-content>
2290
2290
  </template>
2291
2291
  </vaadin-date-picker-overlay>
2292
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new ph(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new mh(this.inputElement,this._labelController)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault())}_initOverlay(){super._initOverlay(),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.blur(),e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function yh(e,t){Qr(e,t)}customElements.define(_h.is,_h);const gh={en:{title:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."},"zh-hk":{title:"獎金歷史",dateFrom:"從:",dateTo:"至:",dateFilter:"篩選",noBonusHistory:"您目前沒有獎金歷史。"},fr:{title:"Historique du bonus",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtre",noBonusHistory:"Vous n'avez pas d'historique de bonus pour le moment."},ro:{title:"Istoric bonusuri",dateFrom:"De la",dateTo:"La",dateFilter:"Filtru",noBonusHistory:"Nu ai bonusuri pentru perioada selectata."},es:{title:"Historial de Bonos",dateFrom:"Desde:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene Bonos para el periodo seleccionado."},pt:{title:"Histórico de bônus",dateFrom:"A partir de:",dateTo:"Para:",dateFilter:"Filtro:",noBonusHistory:"Você não tem histórico de bônus no momento."}};function vh(e,t,r){e=e.slice();return e[42]=t[r],e[44]=r,e}function bh(e,t,r){e=e.slice();return e[45]=t[r],e}function wh(t){let i,o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ch(bh(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=B()},m(t,r){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,r);W(t,i,r)},p(t,r){if(8199&r[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){var n=bh(t,o,e);s[e]?s[e].p(n,r):(s[e]=Ch(n),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){I(s,e),e&&j(i)}}}function Eh(e){let r,n,i=e[14]("noBonusHistory")+"";return{c(){r=t("p"),n=V(i)},m(e,t){W(e,r,t),z(r,n)},p(e,t){16384&t[0]&&i!==(i=e[14]("noBonusHistory")+"")&&K(n,i)},d(e){e&&j(r)}}}function xh(e){let r,n,i,o,s,a,l,h,u,c;return{c(){R(r=t("player-bonus-card"),"bonuswalletid",n=e[45].walletId),R(r,"bonusdate",i=e[45].granted),R(r,"bonusstatus",o=e[45].status),R(r,"bonusname",s=e[45].name),R(r,"bonustype",a=e[45].type),R(r,"bonusamount",l=e[45].extension.grantedPlayerCurrencyAmount),R(r,"bonuswageringamount",h=e[45].fulfilledWR+" / "+e[45].originalWageringRequirement),R(r,"bonusremainingamount",u=e[45].currentAmount),R(r,"bonuscurrency",c=e[45].currency),R(r,"lang",e[0]),R(r,"clientstyling",e[1]),R(r,"clientstylingurl",e[2])},m(e,t){W(e,r,t)},p(e,t){8192&t[0]&&n!==(n=e[45].walletId)&&R(r,"bonuswalletid",n),8192&t[0]&&i!==(i=e[45].granted)&&R(r,"bonusdate",i),8192&t[0]&&o!==(o=e[45].status)&&R(r,"bonusstatus",o),8192&t[0]&&s!==(s=e[45].name)&&R(r,"bonusname",s),8192&t[0]&&a!==(a=e[45].type)&&R(r,"bonustype",a),8192&t[0]&&l!==(l=e[45].extension.grantedPlayerCurrencyAmount)&&R(r,"bonusamount",l),8192&t[0]&&h!==(h=e[45].fulfilledWR+" / "+e[45].originalWageringRequirement)&&R(r,"bonuswageringamount",h),8192&t[0]&&u!==(u=e[45].currentAmount)&&R(r,"bonusremainingamount",u),8192&t[0]&&c!==(c=e[45].currency)&&R(r,"bonuscurrency",c),1&t[0]&&R(r,"lang",e[0]),2&t[0]&&R(r,"clientstyling",e[1]),4&t[0]&&R(r,"clientstylingurl",e[2])},d(e){e&&j(r)}}}function Ah(e){let r,n,i,o,s,a,l;return{c(){R(r=t("player-bonus-card"),"bonuswalletid",n=e[45].walletId),R(r,"bonusdate",i=e[45].granted),R(r,"bonusstatus",o=e[45].status),R(r,"bonusname",s=e[45].name),R(r,"bonustype",a=e[45].type),R(r,"bonuscurrency",l=e[45].currency),R(r,"lang",e[0]),R(r,"clientstyling",e[1]),R(r,"clientstylingurl",e[2])},m(e,t){W(e,r,t)},p(e,t){8192&t[0]&&n!==(n=e[45].walletId)&&R(r,"bonuswalletid",n),8192&t[0]&&i!==(i=e[45].granted)&&R(r,"bonusdate",i),8192&t[0]&&o!==(o=e[45].status)&&R(r,"bonusstatus",o),8192&t[0]&&s!==(s=e[45].name)&&R(r,"bonusname",s),8192&t[0]&&a!==(a=e[45].type)&&R(r,"bonustype",a),8192&t[0]&&l!==(l=e[45].currency)&&R(r,"bonuscurrency",l),1&t[0]&&R(r,"lang",e[0]),2&t[0]&&R(r,"clientstyling",e[1]),4&t[0]&&R(r,"clientstylingurl",e[2])},d(e){e&&j(r)}}}function Ch(e){let r;function n(e){return"freeRound"===e[45].type?Ah:xh}let i=n(e),o=i(e);return{c(){o.c(),r=B()},m(e,t){o.m(e,t),W(e,r,t)},p(e,t){i===(i=n(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o.d(e),e&&j(r)}}}function Th(r){let i,o,n,e,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w=Array(r[11]),E=[];for(let e=0;e<w.length;e+=1)E[e]=Sh(vh(r,w,e));return{c(){i=t("div"),o=t("span"),n=V("|<"),s=G(),a=t("span"),l=V("<"),u=G();for(let e=0;e<E.length;e+=1)E[e].c();c=G(),d=t("span"),p=V(">"),f=G(),_=t("span"),y=V(">|"),q(o,"class",e="BonusesFirst "+(0===r[12]?"Inactive":"")),q(a,"class",h="BonusesPrev "+(0===r[12]?"Inactive":"")),q(d,"class",m="BonusesNext "+(r[12]===r[11]-1?"Inactive":"")),q(_,"class",g="BonusesLast "+(r[12]===r[11]-1?"Inactive":"")),q(i,"class","BonusesPaginationWrapper "+(r[15]?"BonusesPaginationWrapperMobile":""))},m(e,t){W(e,i,t),z(i,o),z(o,n),z(i,s),z(i,a),z(a,l),z(i,u);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(i,null);z(i,c),z(i,d),z(d,p),z(i,f),z(i,_),z(_,y),v||(b=[$(o,"click",r[26]),$(a,"click",r[27]),$(d,"click",r[29]),$(_,"click",r[30])],v=!0)},p(t,r){if(4096&r[0]&&e!==(e="BonusesFirst "+(0===t[12]?"Inactive":""))&&q(o,"class",e),4096&r[0]&&h!==(h="BonusesPrev "+(0===t[12]?"Inactive":""))&&q(a,"class",h),137216&r[0]){let e;for(w=Array(t[11]),e=0;e<w.length;e+=1){var n=vh(t,w,e);E[e]?E[e].p(n,r):(E[e]=Sh(n),E[e].c(),E[e].m(i,c))}for(;e<E.length;e+=1)E[e].d(1);E.length=w.length}6144&r[0]&&m!==(m="BonusesNext "+(t[12]===t[11]-1?"Inactive":""))&&q(d,"class",m),6144&r[0]&&g!==(g="BonusesLast "+(t[12]===t[11]-1?"Inactive":""))&&q(_,"class",g)},d(e){e&&j(i),I(E,e),v=!1,D(b)}}}function Sh(r){let n,i,o,s,a,e=r[44]+1+"";function l(){return r[28](r[44])}return{c(){n=t("span"),i=V(e),q(n,"class",o="BonusesPage "+(r[44]===r[12]?"BonusPageActive":""))},m(e,t){W(e,n,t),z(n,i),s||(a=$(n,"click",l),s=!0)},p(e,t){r=e,4096&t[0]&&o!==(o="BonusesPage "+(r[44]===r[12]?"BonusPageActive":""))&&q(n,"class",o)},d(e){e&&j(n),s=!1,a()}}}function Ph(r){let n,i=function(r){let n,i,o,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w,E,x,A,C,T,S,P,D=r[14]("title")+"",k=r[14]("dateFrom")+"",O=r[14]("dateTo")+"",M=r[14]("dateFilter")+"",N=r[15]&&function(r){let n,i,o,s,a,l,h,u,c,d,p,m,f,_=r[14]("title")+"";return{c(){n=t("div"),i=F("svg"),o=F("defs"),s=F("style"),a=V(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=F("g"),h=F("g"),u=F("path"),c=G(),d=t("h2"),p=V(_),q(u,"class","aaa"),q(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),q(u,"transform","translate(15 15) rotate(180)"),q(h,"transform","translate(20 158)"),q(l,"transform","translate(-20 -158)"),q(i,"xmlns","http://www.w3.org/2000/svg"),q(i,"width","15"),q(i,"height","15"),q(i,"viewBox","0 0 15 15"),q(d,"class","BonusesTitleMobile"),q(n,"class","MenuReturnButton")},m(e,t){W(e,n,t),z(n,i),z(i,o),z(o,s),z(s,a),z(i,l),z(l,h),z(h,u),z(n,c),z(n,d),z(d,p),m||(f=$(n,"click",r[22]),m=!0)},p(e,t){16384&t[0]&&_!==(_=e[14]("title")+"")&&K(p,_)},d(e){e&&j(n),m=!1,f()}}}(r);function I(e){return 0===e[13].length?Eh:wh}let B=I(r),H=B(r),L=0!==r[13].length&&Th(r);return{c(){n=t("div"),N&&N.c(),i=G(),o=t("h2"),s=V(D),a=G(),l=t("div"),h=t("div"),u=t("div"),c=t("label"),d=V(k),p=G(),m=t("vaadin-date-picker"),f=G(),_=t("div"),y=t("label"),g=V(O),v=G(),b=t("vaadin-date-picker"),w=G(),E=t("button"),x=V(M),A=G(),C=t("div"),H.c(),T=G(),L&&L.c(),q(o,"class","BonusesTitle "+(r[15]?"BonusesTitleNone":"")),q(o,"part","BonusesTitle "+(r[15]?"BonusesTitleNone":"")),q(c,"for","BonusCalendarStartDate"),R(m,"max",r[6]),R(m,"value",r[7]),R(m,"placeholder","From"),R(m,"class","VaadinDatePicker"),q(u,"class","BonusesCalendarStartDate "+(r[15]?"BonusesCalendarMobile":"")),q(y,"for","BonusesCalendarEndDate"),R(b,"max",r[6]),R(b,"value",r[6]),R(b,"placeholder","To"),R(b,"class","VaadinDatePicker"),q(_,"class","BonusesCalendarEndDate "+(r[15]?"BonusesCalendarMobile":"")),q(h,"class","BonusesCalendarContainer "+(r[15]?"BonusesCalendarContainerMobile":"")),q(E,"class","BonusesCalendarFilter "+(r[15]?"BonusesCalendarFilterMobile":"")),q(l,"class","BonusCalendarWrapper "+(r[15]?"BonusCalendarWrapperMobile":"")),q(C,"class","BonusesGrid "+(r[15]?"BonusesGridMobile":"")),q(n,"class","BonusesWrapper "+(r[15]?"BonusesWrapperMobile":""))},m(e,t){W(e,n,t),N&&N.m(n,null),z(n,i),z(n,o),z(o,s),z(n,a),z(n,l),z(l,h),z(h,u),z(u,c),z(c,d),z(u,p),z(u,m),r[23](m),z(h,f),z(h,_),z(_,y),z(y,g),z(_,v),z(_,b),r[24](b),z(l,w),z(l,E),z(E,x),z(n,A),z(n,C),H.m(C,null),z(n,T),L&&L.m(n,null),S||(P=$(E,"click",r[25]),S=!0)},p(e,t){e[15]&&N.p(e,t),16384&t[0]&&D!==(D=e[14]("title")+"")&&K(s,D),16384&t[0]&&k!==(k=e[14]("dateFrom")+"")&&K(d,k),64&t[0]&&R(m,"max",e[6]),128&t[0]&&R(m,"value",e[7]),16384&t[0]&&O!==(O=e[14]("dateTo")+"")&&K(g,O),64&t[0]&&R(b,"max",e[6]),64&t[0]&&R(b,"value",e[6]),16384&t[0]&&M!==(M=e[14]("dateFilter")+"")&&K(x,M),B===(B=I(e))&&H?H.p(e,t):(H.d(1),(H=B(e))&&(H.c(),H.m(C,null))),0!==e[13].length?L?L.p(e,t):((L=Th(e)).c(),L.m(n,null)):L&&(L.d(1),L=null)},d(e){e&&j(n),N&&N.d(),r[23](null),r[24](null),H.d(),L&&L.d(),S=!1,P()}}}(r);return{c(){n=t("div"),i.c(),this.c=U},m(e,t){W(e,n,t),i.m(n,null),r[31](n)},p(e,t){i.p(e,t)},i:U,o:U,d(e){e&&j(n),i.d(),r[31](null)}}}function Dh(t,e,n){let r;N(t,In,e=>n(14,r=e));let i,o,s,a,l,{endpoint:h=""}=e,{session:u=""}=e,{playerid:c=""}=e,{lang:d="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{translationurl:f=""}=e,_=window.navigator.userAgent,y="PC"!==Bn(_),g=(a=Rn(new Date).format("YYYY-MM-DD"),l=Rn(new Date).subtract(3,"months").format("YYYY-MM-DD")),v=a,b=0,w=0,E=0,x=0,A=0,C=[];Object.keys(gh).forEach(e=>{yh(e,gh[e])});const T=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},S=t=>{var e=new URL(`${h}/player/${c}/bonusWallet`),r=`status=closed,status=forfeited,status=released,status=expired,type=standard,type=freeround,type=freebet,granted=[${new Date(g).toISOString()}~${new Date(v).toISOString()}]`,r=(e.searchParams.append("filter",r),e.searchParams.append("pagination",`offset=${t},limit=6`),{method:"GET",headers:{"X-SessionId":u}});fetch(e.href,r).then(e=>e.json()).then(e=>{n(11,x=Math.ceil(e.total/6)),0<=t-6&&n(8,b=t-6),t+6<e.total&&n(9,w=t+6),n(10,E=6*(x-1)),n(12,A=t/6),n(13,C=e.items)},e=>{console.error(e)})},P=e=>{g=e.target.value},D=e=>{v=e.target.value};e=()=>()=>{o.removeEventListener("change",P),s.removeEventListener("change",D)},function(){if(L)return L;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e);return t.$$set=e=>{"endpoint"in e&&n(18,h=e.endpoint),"session"in e&&n(19,u=e.session),"playerid"in e&&n(20,c=e.playerid),"lang"in e&&n(0,d=e.lang),"clientstyling"in e&&n(1,p=e.clientstyling),"clientstylingurl"in e&&n(2,m=e.clientstylingurl),"translationurl"in e&&n(21,f=e.translationurl)},t.$$.update=()=>{if(1&t.$$.dirty[0]&&d&&(e=d,bn.set(e)),48&t.$$.dirty[0]&&o&&s&&(o.addEventListener("change",P,!1),s.addEventListener("change",D,!1)),1835008&t.$$.dirty[0]&&u&&c&&h&&S(0),12&t.$$.dirty[0]&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;10&t.$$.dirty[0]&&p&&i&&((e=document.createElement("style")).innerHTML=p,i.appendChild(e)),2097152&t.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{yh(e,t[e])})}).catch(e=>{console.log(e)})},[d,p,m,i,o,s,a,l,b,w,E,x,A,C,r,y,T,S,h,u,c,f,()=>T(),function(e){Z[e?"unshift":"push"](()=>{o=e,n(4,o)})},function(e){Z[e?"unshift":"push"](()=>{s=e,n(5,s)})},()=>S(0),()=>S(0),()=>S(b),e=>S(6*e),()=>S(w),()=>S(E),function(e){Z[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}class kh extends ae{constructor(e){super();var t=document.createElement("style");t.textContent=".BonusesWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusesTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:120px;height:40px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:flex;justify-content:center}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emfe-w-color-white, #FFFFFF);font-weight:700}",this.shadowRoot.appendChild(t),se(this,{target:this.shadowRoot,props:H(this.attributes),customElement:!0},Dh,Ph,O,{endpoint:18,session:19,playerid:20,lang:0,clientstyling:1,clientstylingurl:2,translationurl:21},null,[-1,-1]),e&&(e.target&&W(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","session","playerid","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),d()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),d()}get playerid(){return this.$$.ctx[20]}set playerid(e){this.$$set({playerid:e}),d()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),d()}}return customElements.get("player-bonus-history")||customElements.define("player-bonus-history",kh),kh});
2292
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new ph(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new mh(this.inputElement,this._labelController)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault())}_initOverlay(){super._initOverlay(),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.blur(),e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function gh(e,t){Qr(e,t)}customElements.define(yh.is,yh);const vh={en:{title:"Bonus History",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",noBonusHistory:"You have no bonuses for the selected period."},"zh-hk":{title:"獎金歷史",dateFrom:"從:",dateTo:"至:",dateFilter:"篩選",noBonusHistory:"您目前沒有獎金歷史。"},fr:{title:"Historique du bonus",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtre",noBonusHistory:"Vous n'avez pas d'historique de bonus pour le moment."},ro:{title:"Istoric bonusuri",dateFrom:"De la",dateTo:"La",dateFilter:"Filtru",noBonusHistory:"Nu ai bonusuri pentru perioada selectata."},es:{title:"Historial de Bonos",dateFrom:"Desde:",dateTo:"A:",dateFilter:"Filtro",noBonusHistory:"No tiene Bonos para el periodo seleccionado."},pt:{title:"Histórico de bônus",dateFrom:"A partir de:",dateTo:"Para:",dateFilter:"Filtro:",noBonusHistory:"Você não tem histórico de bônus no momento."}};function bh(e,t,r){e=e.slice();return e[42]=t[r],e[44]=r,e}function wh(e,t,r){e=e.slice();return e[45]=t[r],e}function Eh(t){let i,o=t[13],s=[];for(let e=0;e<o.length;e+=1)s[e]=Th(wh(t,o,e));return{c(){for(let e=0;e<s.length;e+=1)s[e].c();i=B()},m(t,r){for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(t,r);W(t,i,r)},p(t,r){if(8199&r[0]){let e;for(o=t[13],e=0;e<o.length;e+=1){var n=wh(t,o,e);s[e]?s[e].p(n,r):(s[e]=Th(n),s[e].c(),s[e].m(i.parentNode,i))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){I(s,e),e&&j(i)}}}function xh(e){let r,n,i=e[14]("noBonusHistory")+"";return{c(){r=t("p"),n=V(i)},m(e,t){W(e,r,t),z(r,n)},p(e,t){16384&t[0]&&i!==(i=e[14]("noBonusHistory")+"")&&K(n,i)},d(e){e&&j(r)}}}function Ah(e){let r,n,i,o,s,a,l,h,u,c;return{c(){R(r=t("player-bonus-card"),"bonuswalletid",n=e[45].walletId),R(r,"bonusdate",i=e[45].granted),R(r,"bonusstatus",o=e[45].status),R(r,"bonusname",s=e[45].name),R(r,"bonustype",a=e[45].type),R(r,"bonusamount",l=e[45].extension.grantedPlayerCurrencyAmount),R(r,"bonuswageringamount",h=e[45].fulfilledWR+" / "+e[45].originalWageringRequirement),R(r,"bonusremainingamount",u=e[45].currentAmount),R(r,"bonuscurrency",c=e[45].currency),R(r,"lang",e[0]),R(r,"clientstyling",e[1]),R(r,"clientstylingurl",e[2])},m(e,t){W(e,r,t)},p(e,t){8192&t[0]&&n!==(n=e[45].walletId)&&R(r,"bonuswalletid",n),8192&t[0]&&i!==(i=e[45].granted)&&R(r,"bonusdate",i),8192&t[0]&&o!==(o=e[45].status)&&R(r,"bonusstatus",o),8192&t[0]&&s!==(s=e[45].name)&&R(r,"bonusname",s),8192&t[0]&&a!==(a=e[45].type)&&R(r,"bonustype",a),8192&t[0]&&l!==(l=e[45].extension.grantedPlayerCurrencyAmount)&&R(r,"bonusamount",l),8192&t[0]&&h!==(h=e[45].fulfilledWR+" / "+e[45].originalWageringRequirement)&&R(r,"bonuswageringamount",h),8192&t[0]&&u!==(u=e[45].currentAmount)&&R(r,"bonusremainingamount",u),8192&t[0]&&c!==(c=e[45].currency)&&R(r,"bonuscurrency",c),1&t[0]&&R(r,"lang",e[0]),2&t[0]&&R(r,"clientstyling",e[1]),4&t[0]&&R(r,"clientstylingurl",e[2])},d(e){e&&j(r)}}}function Ch(e){let r,n,i,o,s,a,l;return{c(){R(r=t("player-bonus-card"),"bonuswalletid",n=e[45].walletId),R(r,"bonusdate",i=e[45].granted),R(r,"bonusstatus",o=e[45].status),R(r,"bonusname",s=e[45].name),R(r,"bonustype",a=e[45].type),R(r,"bonuscurrency",l=e[45].currency),R(r,"lang",e[0]),R(r,"clientstyling",e[1]),R(r,"clientstylingurl",e[2])},m(e,t){W(e,r,t)},p(e,t){8192&t[0]&&n!==(n=e[45].walletId)&&R(r,"bonuswalletid",n),8192&t[0]&&i!==(i=e[45].granted)&&R(r,"bonusdate",i),8192&t[0]&&o!==(o=e[45].status)&&R(r,"bonusstatus",o),8192&t[0]&&s!==(s=e[45].name)&&R(r,"bonusname",s),8192&t[0]&&a!==(a=e[45].type)&&R(r,"bonustype",a),8192&t[0]&&l!==(l=e[45].currency)&&R(r,"bonuscurrency",l),1&t[0]&&R(r,"lang",e[0]),2&t[0]&&R(r,"clientstyling",e[1]),4&t[0]&&R(r,"clientstylingurl",e[2])},d(e){e&&j(r)}}}function Th(e){let r;function n(e){return"freeRound"===e[45].type?Ch:Ah}let i=n(e),o=i(e);return{c(){o.c(),r=B()},m(e,t){o.m(e,t),W(e,r,t)},p(e,t){i===(i=n(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r.parentNode,r)))},d(e){o.d(e),e&&j(r)}}}function Sh(r){let i,o,n,e,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w=Array(r[11]),E=[];for(let e=0;e<w.length;e+=1)E[e]=Ph(bh(r,w,e));return{c(){i=t("div"),o=t("span"),n=V("|<"),s=G(),a=t("span"),l=V("<"),u=G();for(let e=0;e<E.length;e+=1)E[e].c();c=G(),d=t("span"),p=V(">"),f=G(),_=t("span"),y=V(">|"),q(o,"class",e="BonusesFirst "+(0===r[12]?"Inactive":"")),q(a,"class",h="BonusesPrev "+(0===r[12]?"Inactive":"")),q(d,"class",m="BonusesNext "+(r[12]===r[11]-1?"Inactive":"")),q(_,"class",g="BonusesLast "+(r[12]===r[11]-1?"Inactive":"")),q(i,"class","BonusesPaginationWrapper "+(r[15]?"BonusesPaginationWrapperMobile":""))},m(e,t){W(e,i,t),z(i,o),z(o,n),z(i,s),z(i,a),z(a,l),z(i,u);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(i,null);z(i,c),z(i,d),z(d,p),z(i,f),z(i,_),z(_,y),v||(b=[$(o,"click",r[26]),$(a,"click",r[27]),$(d,"click",r[29]),$(_,"click",r[30])],v=!0)},p(t,r){if(4096&r[0]&&e!==(e="BonusesFirst "+(0===t[12]?"Inactive":""))&&q(o,"class",e),4096&r[0]&&h!==(h="BonusesPrev "+(0===t[12]?"Inactive":""))&&q(a,"class",h),137216&r[0]){let e;for(w=Array(t[11]),e=0;e<w.length;e+=1){var n=bh(t,w,e);E[e]?E[e].p(n,r):(E[e]=Ph(n),E[e].c(),E[e].m(i,c))}for(;e<E.length;e+=1)E[e].d(1);E.length=w.length}6144&r[0]&&m!==(m="BonusesNext "+(t[12]===t[11]-1?"Inactive":""))&&q(d,"class",m),6144&r[0]&&g!==(g="BonusesLast "+(t[12]===t[11]-1?"Inactive":""))&&q(_,"class",g)},d(e){e&&j(i),I(E,e),v=!1,D(b)}}}function Ph(r){let n,i,o,s,a,e=r[44]+1+"";function l(){return r[28](r[44])}return{c(){n=t("span"),i=V(e),q(n,"class",o="BonusesPage "+(r[44]===r[12]?"BonusPageActive":""))},m(e,t){W(e,n,t),z(n,i),s||(a=$(n,"click",l),s=!0)},p(e,t){r=e,4096&t[0]&&o!==(o="BonusesPage "+(r[44]===r[12]?"BonusPageActive":""))&&q(n,"class",o)},d(e){e&&j(n),s=!1,a()}}}function Dh(r){let n,i=function(r){let n,i,o,s,a,l,h,u,c,d,p,m,f,_,y,g,v,b,w,E,x,A,C,T,S,P,D=r[14]("title")+"",k=r[14]("dateFrom")+"",O=r[14]("dateTo")+"",M=r[14]("dateFilter")+"",N=r[15]&&function(r){let n,i,o,s,a,l,h,u,c,d,p,m,f,_=r[14]("title")+"";return{c(){n=t("div"),i=F("svg"),o=F("defs"),s=F("style"),a=V(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),l=F("g"),h=F("g"),u=F("path"),c=G(),d=t("h2"),p=V(_),q(u,"class","aaa"),q(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),q(u,"transform","translate(15 15) rotate(180)"),q(h,"transform","translate(20 158)"),q(l,"transform","translate(-20 -158)"),q(i,"xmlns","http://www.w3.org/2000/svg"),q(i,"width","15"),q(i,"height","15"),q(i,"viewBox","0 0 15 15"),q(d,"class","BonusesTitleMobile"),q(n,"class","MenuReturnButton")},m(e,t){W(e,n,t),z(n,i),z(i,o),z(o,s),z(s,a),z(i,l),z(l,h),z(h,u),z(n,c),z(n,d),z(d,p),m||(f=$(n,"click",r[22]),m=!0)},p(e,t){16384&t[0]&&_!==(_=e[14]("title")+"")&&K(p,_)},d(e){e&&j(n),m=!1,f()}}}(r);function I(e){return 0===e[13].length?xh:Eh}let B=I(r),H=B(r),L=0!==r[13].length&&Sh(r);return{c(){n=t("div"),N&&N.c(),i=G(),o=t("h2"),s=V(D),a=G(),l=t("div"),h=t("div"),u=t("div"),c=t("label"),d=V(k),p=G(),m=t("vaadin-date-picker"),f=G(),_=t("div"),y=t("label"),g=V(O),v=G(),b=t("vaadin-date-picker"),w=G(),E=t("button"),x=V(M),A=G(),C=t("div"),H.c(),T=G(),L&&L.c(),q(o,"class","BonusesTitle "+(r[15]?"BonusesTitleNone":"")),q(o,"part","BonusesTitle "+(r[15]?"BonusesTitleNone":"")),q(c,"for","BonusCalendarStartDate"),R(m,"max",r[6]),R(m,"value",r[7]),R(m,"placeholder","From"),R(m,"class","VaadinDatePicker"),q(u,"class","BonusesCalendarStartDate "+(r[15]?"BonusesCalendarMobile":"")),q(y,"for","BonusesCalendarEndDate"),R(b,"max",r[6]),R(b,"value",r[6]),R(b,"placeholder","To"),R(b,"class","VaadinDatePicker"),q(_,"class","BonusesCalendarEndDate "+(r[15]?"BonusesCalendarMobile":"")),q(h,"class","BonusesCalendarContainer "+(r[15]?"BonusesCalendarContainerMobile":"")),q(E,"class","BonusesCalendarFilter "+(r[15]?"BonusesCalendarFilterMobile":"")),q(l,"class","BonusCalendarWrapper "+(r[15]?"BonusCalendarWrapperMobile":"")),q(C,"class","BonusesGrid "+(r[15]?"BonusesGridMobile":"")),q(n,"class","BonusesWrapper "+(r[15]?"BonusesWrapperMobile":""))},m(e,t){W(e,n,t),N&&N.m(n,null),z(n,i),z(n,o),z(o,s),z(n,a),z(n,l),z(l,h),z(h,u),z(u,c),z(c,d),z(u,p),z(u,m),r[23](m),z(h,f),z(h,_),z(_,y),z(y,g),z(_,v),z(_,b),r[24](b),z(l,w),z(l,E),z(E,x),z(n,A),z(n,C),H.m(C,null),z(n,T),L&&L.m(n,null),S||(P=$(E,"click",r[25]),S=!0)},p(e,t){e[15]&&N.p(e,t),16384&t[0]&&D!==(D=e[14]("title")+"")&&K(s,D),16384&t[0]&&k!==(k=e[14]("dateFrom")+"")&&K(d,k),64&t[0]&&R(m,"max",e[6]),128&t[0]&&R(m,"value",e[7]),16384&t[0]&&O!==(O=e[14]("dateTo")+"")&&K(g,O),64&t[0]&&R(b,"max",e[6]),64&t[0]&&R(b,"value",e[6]),16384&t[0]&&M!==(M=e[14]("dateFilter")+"")&&K(x,M),B===(B=I(e))&&H?H.p(e,t):(H.d(1),(H=B(e))&&(H.c(),H.m(C,null))),0!==e[13].length?L?L.p(e,t):((L=Sh(e)).c(),L.m(n,null)):L&&(L.d(1),L=null)},d(e){e&&j(n),N&&N.d(),r[23](null),r[24](null),H.d(),L&&L.d(),S=!1,P()}}}(r);return{c(){n=t("div"),i.c(),this.c=U},m(e,t){W(e,n,t),i.m(n,null),r[31](n)},p(e,t){i.p(e,t)},i:U,o:U,d(e){e&&j(n),i.d(),r[31](null)}}}function kh(t,e,n){let r;N(t,In,e=>n(14,r=e));let i,o,s,a,l,{endpoint:h=""}=e,{session:u=""}=e,{playerid:c=""}=e,{lang:d="en"}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{translationurl:f=""}=e,_=window.navigator.userAgent,y="PC"!==Bn(_),g=(a=Rn(new Date).format("YYYY-MM-DD"),l=Rn(new Date).subtract(3,"months").format("YYYY-MM-DD")),v=a,b=0,w=0,E=0,x=0,A=0,C=[];Object.keys(vh).forEach(e=>{gh(e,vh[e])});const T=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},S=t=>{var e=new URL(`${h}/player/${c}/bonusWallet`),r=`status=closed,status=forfeited,status=released,status=expired,type=standard,type=freeround,type=freebet,granted=[${new Date(g).toISOString()}~${new Date(v).toISOString()}]`,r=(e.searchParams.append("filter",r),e.searchParams.append("pagination",`offset=${t},limit=6`),{method:"GET",headers:{"X-SessionId":u}});fetch(e.href,r).then(e=>e.json()).then(e=>{n(11,x=Math.ceil(e.total/6)),0<=t-6&&n(8,b=t-6),t+6<e.total&&n(9,w=t+6),n(10,E=6*(x-1)),n(12,A=t/6),n(13,C=e.items)},e=>{console.error(e)})},P=e=>{g=e.target.value},D=e=>{v=e.target.value};e=()=>()=>{o.removeEventListener("change",P),s.removeEventListener("change",D)},function(){if(L)return L;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e);return t.$$set=e=>{"endpoint"in e&&n(18,h=e.endpoint),"session"in e&&n(19,u=e.session),"playerid"in e&&n(20,c=e.playerid),"lang"in e&&n(0,d=e.lang),"clientstyling"in e&&n(1,p=e.clientstyling),"clientstylingurl"in e&&n(2,m=e.clientstylingurl),"translationurl"in e&&n(21,f=e.translationurl)},t.$$.update=()=>{if(1&t.$$.dirty[0]&&d&&(e=d,bn.set(e)),48&t.$$.dirty[0]&&o&&s&&(o.addEventListener("change",P,!1),s.addEventListener("change",D,!1)),1835008&t.$$.dirty[0]&&u&&c&&h&&S(0),12&t.$$.dirty[0]&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;10&t.$$.dirty[0]&&p&&i&&((e=document.createElement("style")).innerHTML=p,i.appendChild(e)),2097152&t.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gh(e,t[e])})}).catch(e=>{console.log(e)})},[d,p,m,i,o,s,a,l,b,w,E,x,A,C,r,y,T,S,h,u,c,f,()=>T(),function(e){Z[e?"unshift":"push"](()=>{o=e,n(4,o)})},function(e){Z[e?"unshift":"push"](()=>{s=e,n(5,s)})},()=>S(0),()=>S(0),()=>S(b),e=>S(6*e),()=>S(w),()=>S(E),function(e){Z[e?"unshift":"push"](()=>{i=e,n(3,i)})}]}class Oh extends ae{constructor(e){super();var t=document.createElement("style");t.textContent=".BonusesWrapper{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusesTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.BonusesTitleMobile{font-size:16px}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:14px;font-weight:300}.BonusesCalendarFilter{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:120px;height:40px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:flex;justify-content:center}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emfe-w-color-white, #FFFFFF);font-weight:700}",this.shadowRoot.appendChild(t),se(this,{target:this.shadowRoot,props:H(this.attributes),customElement:!0},kh,Dh,O,{endpoint:18,session:19,playerid:20,lang:0,clientstyling:1,clientstylingurl:2,translationurl:21},null,[-1,-1]),e&&(e.target&&W(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","session","playerid","lang","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[18]}set endpoint(e){this.$$set({endpoint:e}),d()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),d()}get playerid(){return this.$$.ctx[20]}set playerid(e){this.$$set({playerid:e}),d()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),d()}}return customElements.define=(_h=customElements.define,function(...e){try{return _h.apply(this,e)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry"))return!1;throw e}}),customElements.get("player-bonus-history")||customElements.define("player-bonus-history",Oh),Oh});
2293
2293
  //# sourceMappingURL=player-bonus-history.js.map