!function(){"use strict";var t,e={172:function(t,e,n){var r=n(148),a=n(347),i=n(253),o=n(981),s=n(299),c=n(272),u=n.n(c),l=n(626);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var h=document.querySelector("#wcp_ut_data_attributes_keeper"),d=function(){return(0,o.A)((function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,t),this.callback=e,this.options=function(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];if(0===geo_casino_data.geo_status||!e){var n=document.querySelectorAll(".js-constructor-casino [data-"+h.dataset.wcpUtConvertElement+"]");t&&(n=[],t.forEach((function(t){var e;n.push(t),(e=n).push.apply(e,(0,l.A)(t.querySelectorAll("[data-"+h.dataset.wcpUtConvertElement+"]")))}))),p(n)}}function g(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function b(t,e,n){return t.set(m(t,e),n),n}function y(t,e){return t.get(m(t,e))}function m(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var k=new WeakMap,x=new WeakMap,w=function(){return(0,o.A)((function t(e){(0,i.A)(this,t),(0,s.A)(this,"bufferSize",1),g(this,k,!1),g(this,x,!0),this.fragments=[],this.$root=e,this.next=this.$loadMoreButton.data("query"),this.showNextFragment=this.showNextFragment.bind(this)}),[{key:"init",value:function(){this.$root.on("click",".js-ajax-load",this.showNextFragment),this.fullFillBuffer()}},{key:"destroy",value:function(){this.$root.unbind("click",this.showNextFragment)}},{key:"$loadMoreButton",get:function(){return this.$root.find(".js-ajax-load")}},{key:"lockUi",value:function(){this.$loadMoreButton.addClass("loading").attr("disable",!0)}},{key:"unLockUi",value:function(){this.$loadMoreButton.removeClass("loading").attr("disable",!1)}},{key:"isAllFragmentsLoaded",value:function(){return!y(x,this)&&0===this.fragments.length}},{key:"showNextFragment",value:(n=(0,a.A)(u().mark((function t(){var e,n,r;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this.fragments.length>0)){t.next=10;break}e=this.fragments.pop(),n=this.$root.find(".js-fragment-table-body > .js-referral"),this.$root.find(".js-fragment-table-body").append(e),r=this.$root.find(".js-fragment-table-body > .js-referral"),this.fullFillBuffer(),v(r.not(n).get());try{Automation.setupMarkers()}catch(t){console.error("Automation failed ( caller: showNextFragment ) - ".concat(t))}t.next=14;break;case 10:return t.next=12,this.loadNextFragment();case 12:t.sent&&this.showNextFragment();case 14:this.isAllFragmentsLoaded()&&this.$loadMoreButton.hide();case 15:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"fullFillBuffer",value:(e=(0,a.A)(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this.fragments.length0&&void 0!==o[0]&&o[0],n=new URLSearchParams(window.location.search),r=_(_({},geo_casino_data),{},{only_md5_hash:e}),n.get("test-country-code")&&(r["test-country-code"]=n.get("test-country-code")),n.get("test-ip")&&(r["test-ip"]=n.get("test-ip")),r.locale=document.querySelector("html").getAttribute("lang")||"",delete r.geo_status,t.next=9,this.get("get-constructor",r);case 9:return a=t.sent,i=[],a.constructor_casinos.forEach((function(t,e){return i[e]=t})),t.abrupt("return",i);case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"replace",value:function(t,e){t.forEach((function(t,n){t.outerHTML=e.casino_blocks[n].content})),this.rebindEvents()}},{key:"rebindEvents",value:function(){$(".js-ajax-casino-table").each((function(){var t=$(this);new w(t).init()})),this.HOOKS.forEach((function(t){"function"==typeof t&&t()}))}},{key:"addRebindHook",value:function(t){"function"==typeof t&&this.HOOKS.push(t)}},{key:"showSpinner",value:function(t){t.forEach((function(t){var e=document.createElement("div"),n=document.createElement("div"),r=document.createElement("p"),a=document.createElement("p"),i=t.dataset.spinnertext.split("|");n.classList.add("spinner-icon"),n.append(document.createElement("div"),document.createElement("div"),document.createElement("div")),r.append(i[0]),a.append(i[1]),e.append(n,r,a),e.classList.add("spinner"),t.classList.toggle("loading"),t.append(e)}))}},{key:"checkFirefox",value:function(){return!!navigator.userAgent.match(/firefox|fxios/i)}},{key:"checkFirefoxPrivateMode",value:(t=(0,a.A)(u().mark((function t(){var e,n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=!1,n=function(){return new Promise((function(t,n){indexedDB.open("Casinos").onerror=function(n){t(e=!0)}}))},t.next=4,n();case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})}]);var t,e,n}();(0,s.A)(O,"API_ROOT","/wp-json/geo/casinos/v2/"),(0,s.A)(O,"HOOKS",[]);var A=n(847),P=function(){return(0,o.A)((function t(){(0,i.A)(this,t)}),null,[{key:"init",value:(r=(0,a.A)(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,A.P2)("Casinos",1,{upgrade:function(t){t.createObjectStore("casinos",{keyPath:"page"}).createIndex("page","page",{unique:!0})}});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})},{key:"getKey",value:function(){return geo_casino_data.page_type+geo_casino_data.page_id}},{key:"getRecord",value:(n=(0,a.A)(u().mark((function t(e){var n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.init();case 2:return n=t.sent,t.next=5,n;case 5:return t.abrupt("return",t.sent.get("casinos",e));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"addRecord",value:(e=(0,a.A)(u().mark((function t(e){var n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.init();case 2:return n=t.sent,t.next=5,n.add("casinos",e);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"deleteRecord",value:(t=(0,a.A)(u().mark((function t(e){var n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.init();case 2:return n=t.sent,t.next=5,n;case 5:return t.abrupt("return",t.sent.delete("casinos",e));case 6:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})}]);var t,e,n,r}(),E=function(){var t=(0,a.A)(u().mark((function t(){var e,n,r,a,i;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!geo_casino_data.geo_status,t.t0){t.next=8;break}if(t.t1=O.checkFirefox(),!t.t1){t.next=7;break}return t.next=6,O.checkFirefoxPrivateMode();case 6:t.t1=t.sent;case 7:t.t0=t.t1;case 8:if(!t.t0){t.next=10;break}return t.abrupt("return");case 10:if(e=document.querySelectorAll(".js-constructor-casino"),n=P.getKey(),!e.length){t.next=42;break}return O.showSpinner(e),t.next=16,O.getCasinoBlocksAPI();case 16:return r=t.sent,t.next=19,P.getRecord(n);case 19:if(!(a=t.sent)){t.next=33;break}if(i=!1,r.length!==a.casino_blocks.length?i=!0:r.forEach((function(t,e){t.md5_hash!==a.casino_blocks[e].md5_hash&&(i=!0)})),!i){t.next=31;break}return t.next=26,P.deleteRecord(n);case 26:return t.next=28,P.addRecord({page:n,casino_blocks:r});case 28:return t.next=30,P.getRecord(n);case 30:a=t.sent;case 31:t.next=38;break;case 33:return t.next=35,P.addRecord({page:n,casino_blocks:r});case 35:return t.next=37,P.getRecord(n);case 37:a=t.sent;case 38:O.replace(e,a);try{Automation.setupMarkers()}catch(t){console.error("Automation failed ( caller: bootGeoCasinoReplacer ) - ".concat(t))}t.next=48;break;case 42:return t.next=44,P.getRecord(n);case 44:if(!t.sent){t.next=48;break}return t.next=48,P.deleteRecord(n);case 48:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();!function(t){var e=function(e){return this.each((function(){var n,r,a=t(this),i=a.data(),o=[a],s=this.tagName,c=0;n=t.extend({content:"body",headings:"h1,h2,h3"},{content:i.toc||void 0,headings:i.tocHeadings||void 0},e),r=n.headings.split(","),t(n.content).find(n.headings).attr("id",(function(e,n){return n||function(t){0===(t=t.trim()).length&&(t="?");for(var e=t.replace(/[^a-zA-Z]+/g,"_"),n="",r=1;null!==document.getElementById(e+n);)n="_"+r++;return e+n}(t(this).text())})).each((function(){var e=t(this),a=t.map(r,(function(t,n){return e.is(t)?n:void 0}))[0];if(a>c){var i=o[0].children("li:last")[0];i&&o.unshift(t("<"+s+"/>").appendTo(i))}else o.splice(0,Math.min(c-a,Math.max(o.length-1,0)));var u=e.closest("section").data("order"),l=n.skip;-1===t.inArray(u,l)?(t("
  • ").appendTo(o[0]).append(t("").text(e.text()).attr("href","#"+e.attr("id"))),c=a):c=a}))}))},n=t.fn.toc;t.fn.toc=e,t.fn.toc.noConflict=function(){return t.fn.toc=n,this},t((function(){e.call(t("[data-toc]"))}))}(jQuery);var C=function(){if($("div.js-toc_table_default")[0])$(".js-toc_table_default ul").toc({content:"main",headings:"h2,h3,h4,h5,h6"}),$(".js-toc_table").hide();else{var t=$(".js-toc_table"),e=t.data("build"),n=t.data("skip"),r=e||"h2,h3,h4,h5,h6";$(".js-toc_table_list_heading ul").empty().toc({content:"main",headings:r,skip:n})}$(".js-toc_table_list_heading ul li a, .js-toc_table_default ul li a").on("click",(function(t){try{var e=$(this).attr("href");if(e&&$(e).offset()&&$(e).offset().top){t.preventDefault();var n=$(e).offset().top-80;$("html, body").animate({scrollTop:n},1e3)}}catch(t){console.warn(t)}})),$(".js-toc_table_title").on("click",(function(t){t.stopImmediatePropagation(),$(this).toggleClass("active"),$(this).next().slideToggle(500)})),setTimeout((function(){$(".js-toc_table").each((function(){var t=$(this),e=t.children(".js-toc_table_title");3!==t.data("mode")||e.hasClass("active")||(e.addClass("active"),e.next().slideUp(500))}))}),2e3)};$((function(t){E(),O.addRebindHook((function(){C()})),t(".js-ajax-casino-table").each((function(){var e=t(this);new w(e).init()})),t(document).on("click",".trigger-js",(function(){var e=t(this).parent(),n=t(this).data("left-hidden"),r="+"+n;e.find(".hidden-item").toggle(),t(this).toggleClass("trigger-hint"),t(this).text()===r?t(this).text("-"+n):t(this).text(r)})),t(document).on("click",".trigger-more-js",(function(){var e=t(this).data("btn-text");t(this).parent().find(".hidden-item").toggle(),t(this).text()===e?t(this).text("Hide"):t(this).text(e)}))}))}},n={};function r(t){var a=n[t];if(void 0!==a)return a.exports;var i=n[t]={exports:{}};return e[t](i,i.exports,r),i.exports}r.m=e,t=[],r.O=function(e,n,a,i){if(!n){var o=1/0;for(l=0;l=i)&&Object.keys(r.O).every((function(t){return r.O[t](n[c])}))?n.splice(c--,1):(s=!1,i0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[n,a,i]},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t={769:0};r.O.j=function(e){return 0===t[e]};var e=function(e,n){var a,i,o=n[0],s=n[1],c=n[2],u=0;if(o.some((function(e){return 0!==t[e]}))){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);if(c)var l=c(r)}for(e&&e(n);u