PageSourceSearch

https://gamechannel.io/freecell-solitaire/f.js

js gamechannel.io collected 2026-10-02 01:57:27 UTC 54,253 bytes, 5 lines download raw bytes

1// ** Content / code theft and/or plagiarism is a crime. 
2// ** Any content theft and/or plagiarism, without exception, will be prosecuted to the full extent of all applicable laws.
3// ** Copyright 2019 Vawlt LLC https://www.vawlt.com
4// ** All rights reserved.
5class c0{static f0(e){return e?e.length-1:-1}static f1(e,t){for(var r=0;r<e.length;r++)if(e[r]==t)return r;return-1}static f2(e){return e?e[c0.f0(e)]:void 0}static f3(e){return e?e[0]:void 0}static f4(e){if(e)return e[Math.floor(Math.random()*e.length)]}static f5(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}static f6(e){return!!e&&0===e.length}static f7(e){if(!array)return!0;for(var t=0;t<array.length;t++)if(!e.isEmtpy(array[t]))return!1;return!0}static f8(e,t){if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;if(e.length!==t.length)return!1;for(var r=e.length;r--;)if(e[r]!==t[r])return!1;return!0}static f9(e,t){if(!e&&!t)return!0;if(!e&&t)return!1;if(e&&!t)return!1;for(var r=0;r<e.length;r++)if(!c0.f8(e[r],t[r]))return!1;return!0}static f10(e,t){for(var r=0;r<e.length;r++)t.push(e[r])}static f11(e,t){for(var r=0;r<e.length;r++)e[r]=t}static f12(e,t,r,a){for(var l=r;l<e.length;l+=a)e[l]=t}static f13(e){e.length=0}static f14(e){return e.length}}class c2{static f0(e,t,r){return{rank:e,suit:t,facing:r}}static f1(e){if(!e||e.length<1)c6.f2("c2.f1 undefined or empty cards list");else for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),a=e[t];e[t]=e[r],e[r]=a}}static f2(e){return e.facing===c2.v6.Down}static f3(e){return e.facing===c2.v6.Up}static f4(e){e.facing=c2.v6.Down}static f5(e){e.facing=c2.v6.Up}static f6(e){c2.f2(e)?c2.f5(e):c2.f4(e)}static f7(e){return e.suit===c2.v5.Hearts||e.suit===c2.v5.Diamonds}static f8(e){return e.suit===c2.v5.Spades||e.suit===c2.v5.Clubs}static f9(e,t){return c2.f7(e)?c2.f8(t):c2.f7(t)}static f10(e){return c2.v1[e.rank]}static f11(e){return c2.v2[e.rank]}static f12(e){return c2.v3[e.suit]}static f13(e){return c2.v4[e.suit]}}c2.v0={Joker:0,Ace:1,Two:2,Three:3,Four:4,Five:5,Six:6,Seven:7,Eight:8,Nine:9,Ten:10,Jack:11,Queen:12,King:13},c2.v1=["Jo","A","2","3","4","5","6","7","8","9","10","J","Q","K"],c2.v2=["Joker","Ace","2","3","4","5","6","7","8","9","10","Jack","Queen","King"],c2.v3=[" ","♡","♠","♢","♣"],c2.v4=["joker","hearts","spades","diamonds","clubs"],c2.v5={Joker:0,Hearts:1,Spades:2,Diamonds:3,Clubs:4},c2.v6={Down:0,Up:1},c2.v7=13,c2.v8=4,c2.v9=-1;class c3{static f0(e=!0){c3.v10=parseInt(c7.f33("--card-height")),c3.v11=parseInt(c7.f33("--card-width")),c3.v12=parseInt(c7.f33("--card-border-radius")),c3.v13=e,c3.f1()}static f1(){var e=c7.f33("--cards-url","../common/img/cards.svg");if(c6.f1("Loading Cards at URL:"+e),!c1.f1())return(t=new XMLHttpRequest).open("GET",e,!0),t.send(),void(t.onload=function(e){var r=document.createElement("div");r.classList.add("hidden"),r.innerHTML=t.responseText,document.body.insertBefore(r,document.body.childNodes[0])});var r=c7.f33("--cards-key","cards_1.0"),a=localStorage.getItem(r);if(a){var l=document.createElement("div");l.classList.add("hidden"),l.innerHTML=a,document.body.insertBefore(l,document.body.childNodes[0])}else{var t;(t=new XMLHttpRequest).open("GET",e,!0),t.send(),t.onload=function(a){if(t.status>=400||t.status<200)c6.f2("Can't find cards svg. url :"+e+" status: "+t.status);else{var l=document.createElement("div");l.classList.add("hidden"),l.innerHTML=t.responseText,document.body.insertBefore(l,document.body.childNodes[0]),localStorage.setItem(r,t.responseText)}}}}static f2(e){var t="#"+c2.f11(e).toLowerCase();return e.rank!=c2.v0.Joker&&(t+="_"+c2.f13(e).toLowerCase()),e.rank>=c2.v0.Jack&&e.rank<=c2.v0.King&&(t+=c3.v13?"":"_no_face"),t}static f3(e,t,r="card_back"){var a=document.createElement("div");a.id=c3.v1+e,a.classList.add(c3.v0),c7.f23(a,c3.v11,c3.v10);var l=document.createElement("div");l.id=c3.v3+e,l.classList.add(c3.v2);var i=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElementNS("http://www.w3.org/2000/svg","use"),o=document.createElementNS("http://www.w3.org/2000/svg","svg"),s=document.createElementNS("http://www.w3.org/2000/svg","use");o.classList.add(c3.v7),i.classList.add(c3.v5),o.id=c3.v6+e,i.id=c3.v4+e;var u=c3.v11,c=c3.v10;o.setAttribute("viewBox","0 0 "+u+" "+c),i.setAttribute("viewBox","0 0 "+u+" "+c),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+r);var d=c3.f2(t);return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d),o.appendChild(s),i.appendChild(n),l.appendChild(o),l.appendChild(i),l.classList.add(c3.v9),a.appendChild(l),c7.f22(a,c3.v12),a}static f4(e,t){var l=e.childNodes[0].childNodes[1].childNodes[0],i=c3.f2(t);l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i)}static f5(e,t){var r=t.getElementsByClassName(c3.v2)[0],a=c2.f3(e);r.classList.toggle("face_up",a),r.classList.toggle("face_down",!a)}static f6(e,t){e.classList.toggle(c3.v8,t)}static f7(e,t){e.getElementsByClassName(c3.v2)[0].classList.toggle(c3.v9,t)}static f8(e,t){e.getElementsByClassName(c3.v2)[0].style.transitionDelay=t+"s"}static f9(e){e.getElementsByClassName(c3.v2)[0].style.transitionDelay=""}}c3.v0="card_sprite",c3.v1="card_sprite_",c3.v2="card_div",c3.v3="card_div_",c3.v4="card_front_",c3.v5="card_front",c3.v6="card_back_",c3.v7="card_back",c3.v8="move_animation",c3.v9="flip_animation",c3.v10=120,c3.v11=82,c3.v
512=9,c3.v13=!0;class c5{static f0(){}static f1(e){var t=document.getElementById(e);t?c5.v4.push(t):c6.f2("Can't find dialog id: "+e)}static f2(e){for(var t=0;t<c5.v5.length;t++){var r=c5.v5[t];if(r.id===e)return r.config}return c5.v6}static f3(){if(!c5.v3){var e=document.createElement("div");e.id=c5.v1,e.classList.add("dialog_curtain"),c7.f32(e,"dialog",0),e.onclick=c5.f7,document.body.appendChild(e),c5.v3=e}}static f4(e,t){var r=document.getElementById(e);r?(c5.v3||c5.f3(),c5.v2=t,r.onclick=c5.f7,c7.f32(r,"dialog",1),c7.f37(c5.v3),c5.f5(r),c5.v0=Date.now(),c6.f1("DialogUtil visibility:"+r.style.visibility),"visible"!=r.style.visibility&&(c6.f1("DialogUtil Make Visible"),c7.f37(r))):c6.f2("DialogUtil. Can't find dialog id: "+e)}static f5(e){var t=e.offsetHeight,a=document.body.offsetHeight-t;e.style.top=a/4+"px"}static f6(){for(var e=0;e<c5.v4.length;e++){c6.f1("Closing Dialog ii: "+e);var t=c5.v4[e];c7.f36(t),c6.f1("Visibility:"+t.style.visibility)}c5.v3&&c7.f36(c5.v3),c5.v2&&c5.v2()}static f7(){c6.f1("c5.f7"),Date.now()-c5.v0<c5.v7||c5.f6()}}c5.v0=0,c5.v1="dialog_util_curtain",c5.v2,c5.v3=void 0,c5.v4=[],c5.v5=[],c5.v6={delayShow:0},c5.v7=250;class c4{static f0(e){e.addEventListener("mousedown",c4.f5),e.addEventListener("mousemove",c4.f10),e.addEventListener("mouseup",c4.f14),e.addEventListener("mouseleave",c4.f17),e.addEventListener("touchstart",c4.f18,!0),e.addEventListener("touchmove",c4.f19,!0),e.addEventListener("touchend",c4.f20,!0),e.addEventListener("touchleave",c4.f21,!0),e.addEventListener("touchcancel",c4.f22,!0),c4.v8=e,c4.v27=JSON.parse(c7.f33("--prevent-defaults","false"))}static f1(e,t){c4.v9[e]=t}static f2(e){for(;!e.classList.contains("draggable");)if(null===(e=e.parentElement))return!1;return!0}static f3(e){for(;!e.classList.contains("clickable");)if(null===(e=e.parentElement))return!1;return!0}static f4(e){for(;!e.classList.contains("tappable");)if(null===(e=e.parentElement))return!1;return!0}static f5(e){if(!(Date.now()-c4.v13<c4.v26)){c4.v13=Date.now();var t=e.touches?e.touches[0].target:e.target;if(t&&t.classList.contains("pass_thru"))c6.f1("c4.f5 TargetElement requesting pass thru");else{var r=document.hasFocus();c4.v9[c4.v14]&&c4.v9[c4.v14]();var a=c4.f3(t),l=c4.f2(t);a?(c4.f6(e.touches?e.touches[0]:e),r&&e.preventDefault()):l&&(c4.f7(e.touches?e.touches[0]:e),r&&e.preventDefault())}}}static f6(e){for(var t=e.target;!t.classList.contains("clickable");)if(null===(t=t.parentElement))return c6.f2("c4.f6 called on non clickable"),!1;c4.v9[c4.v18]&&c4.v9[c4.v18](t)}static f7(e){for(var t=e.target;!t.classList.contains("draggable");)if(null===(t=t.parentElement))return void c6.f2("c4.f7 called on a non draggalbe");c4.v0=!0,c4.v3||(c6.f1("Start Drag Location"),c4.v3={x:0,y:0},c4.v3.x=parseFloat(e.clientX),c4.v3.y=parseFloat(e.clientY)),c4.v4||(c6.f1("Start Drag Time"),c4.v4=Date.now()),c4.v9[c4.v16]&&c4.v9[c4.v16](t)}static f8(e,t=0){c4.v5.push(e),c7.f51(e),c7.f48(e,"dragging","move"),c7.f32(e,"dragging",t);var r={x:0,y:0};r.x=c4.v3.x-parseFloat(e.style.left),r.y=c4.v3.y-parseFloat(e.style.top),c4.v6.push(r)}static f9(e){e.classList.toggle("droppable",!0),c4.v7.push(e)}static f10(e){if(c4.v0){c4.f4(c4.f15());c4.f11(e)>=c4.v25&&c4.f12(e),e.preventDefault()}c4.v27&&e.preventDefault()}static f11(e){if(!c4.v3)return 0;e.touches&&(e=e.touches[0]);var t={x:parseFloat(e.clientX),y:parseFloat(e.clientY)};return c7.f42(c4.v3,t)}static f12(e){if(c4.v0){e.touches&&(e=e.touches[0]);for(var t=0;t<c4.v5.length;t++){var r=c4.v5[t],a=c4.v6[t],l=e.clientX-a.x,i=e.clientY-a.y;c7.f24(r,l,i)}for(r=c4.v5[0],t=0;t<c4.v7.length;t++){var n=c4.v7[t];n.classList.toggle("droppable_hover",c7.f38(r,n))}}}static f13(e,t){if(!c4.v3)return c6.f2("isTap called with a drag start"),!1;c6.f1("isTap");var r=c7.f42(t,c4.v3);if(c6.f1(r),r>c4.v24)return!1;var a=Date.now()-c4.v4;return c6.f1(a),!(a>c4.v23)}static f14(e){if(c4.v9[c4.v15]&&c4.v9[c4.v15](),c4.v0){var t={x:(e=e.changedTouches?e.changedTouches[0]:e).clientX,y:e.clientY},r=c4.f15();if(c4.f4(r)&&c4.f13(e,t))return c6.f1("was a tap"),c4.v9[c4.v19]&&c4.v9[c4.v19](),c4.f16(),void(c4.v9[c4.v20]&&c4.v9[c4.v20](r));for(var a=[],l=0;l<c4.v7.length;l++){var i=c4.v7[l];c7.f38(c4.f15(),i)&&a.push(i)}var n=c4.v21,o=null;for(l=0;l<a.length;l++){var s=a[l],u=c7.f40(s,t);u<n&&(o=s,n=u)}o&&c4.v9[c4.v17]&&c4.v9[c4.v17](o),c4.v9[c4.v19]&&c4.v9[c4.v19](),c4.f16()}}static f15(e=0){return c4.v5[e]}static f16(e){c4.v0=!1,c4.v5=[],c4.v6=[],c4.v3=void 0,c4.v4=void 0;for(var t=0;t<c4.v7.length;t++){c4.v7[t].classList.toggle("droppable_hover",!1)}c4.v7=[]}static f17(e){try{c4.f14(e)}catch(e){c6.f2("Error MouseLeave"),c6.f2(e)}}static f18(e){try{c4.f5(e)}catch(e){c6.f2("Error touchStart"),c6.f2(e)}}static f19(e){try{c4.f10(e),c4.v27&&e.preventDefault()}catch(e){c6.f2("Error touchMove"),c6.f2(e)}}static f20(e){try{c4.f14(e)}catch(e){c6.f2("Error touchEnd"),c6.f2(e)}}static f21(e){try{c4.f14(e)}catch(e){c6.f2("Error touchLeave"),c6.f2(e)}}static f22(e){try{c4.f14(e)}catch(e){c6.f2("Error touchCancel"),c6.f2(e)}}}c4.v0=!1,c4.v3=void 0,c4.v4=void 0,c4.v5=[],c4.v6=[],c4.v7=[],c4.v8,c4.v9=[],c4.v10=0,c4.v11=void 0,c4.v12=void 0,c4.v13=0,c4.v14="mouse_down",c4.v15="mouse_up",c4.v16="start_drag",c4.v17="handle_drop",c4.v18="handle_click",c4.v19="stop_drag",c4.v20="on_tap",c4.v21=999,c4.v22=300,c4.v23=250,c4.v24=8,c4.v25=8,c4.v26=200;class c6{static f0(e){c6.f5(c6.v1.Debug,e)}
5static f1(e){c6.f5(c6.v1.Info,e)}static f2(e){c6.f5(c6.v1.Error,"ERROR:"),c6.f5(c6.v1.Error,e)}static f3(e){c6.f5(c6.v1.Critical,"CRITICAL:"),c6.f5(c6.v1.Critical,e)}static f4(){console.log("Muting Log...."),Log.level=c6.v1.Mute}static set level(e){c6.v3=e}static get level(){return c6.v3}static f5(e,t){e>=c6.v3&&console.log(t)}}c6.v1={Debug:0,Info:1,Error:2,Critical:3,Mute:4},c6.v3=c6.v1.Debug;class c7{static f0(e,t,r){c7.v6=e,c7.v45=c7.f33("--game-align",c7.v48),c7.f9(t,r),c7.f7(),window.onresize=c7.f3,window.onorientationchange=c7.f2}static f1(e,t){c7.v11[e]=t}static f2(){c7.v13||(c7.v13=!0,setTimeout(function(){c7.f3(),c7.v13=!1},c7.v56))}static f3(){c7.f7(),c7.f4(),c7.v11[c7.v14]&&c7.v11[c7.v14]()}static f4(){for(var e=0;e<c7.v5.length;e++){var t=c7.v5[e];if(t){var r=t.getAttribute(c7.v20),a=t.getAttribute(c7.v19),l=t.getAttribute(c7.v22),i=t.getAttribute(c7.v23),n=t.getAttribute(c7.v17),o=t.getAttribute(c7.v18);c7.f49(t,"move",!1),c7.f23(t,n,o),c7.f21(t,r,a,l,i),c7.f5(t)}}}static f5(e){var t=e.getAttribute(c7.v21);if(t){var a=parseInt(t)*c7.f8();e.style.borderRadius=a+"px"}}static f6(e){if(!c7.v6)throw c6.f2("c7.f6 no root eleement registered"),new Error("No root element specified");c7.v6.appendChild(e)}static f7(){var e=c7.f10(),t=c7.f11(),a=c7.f13(),l=c7.f14(),i=a/e,n=l/t;c7.v44=i<n?i:n;var o=a-e*c7.v44,s=l-t*c7.v44,u=c7.f33(c7.v46,c7.v49);switch(u){case c7.v48:c7.v7=o/2;break;case c7.v49:c7.v7=0;break;case c7.v50:c7.v7=o;break;default:if(u.startsWith(c7.v55)){var c=parseInt(u.substr(c7.v55.length));c7.v7=excess*(c/100)}}var d=c7.f33(c7.v47,c7.v51);switch(d){case c7.v48:c7.v8=parseInt(s/2);break;case c7.v51:c7.v8=0;break;case c7.v52:c7.v8=s;break;case c7.v53:c7.v8=parseInt(s/3);break;case c7.v54:c7.v8=parseInt(2*s/3);break;default:if(d.startsWith(c7.v55)){c=parseInt(d.substr(c7.v55.length));c7.v8=s*(c/100)}}}static f8(){return c7.v44}static f9(e,t){c6.f1("Set Canonical Size cwidth: "+e+" cheight: "+t),c7.v9=e,c7.v10=t}static f10(){return c7.v9}static f11(){return c7.v10}static f12(){return c7.f10()/c7.f11()}static f13(){return parseInt(c7.v6.clientWidth)}static f14(){return parseInt(c7.v6.clientHeight)}static f15(){return c7.f13()/c7.f14()}static f16(){return c7.v7}static f17(){return c7.v8}static f18(){var e=document.getElementById("em_div");return e?(e.style.height="1em",e.offsetHeight):-1}static f19(e){c7.v5.push(e)}static f21(e,t,r,a=0,l=0){e.style.position="absolute",e.setAttribute(c7.v20,t),e.setAttribute(c7.v19,r),e.setAttribute(c7.v22,a),e.setAttribute(c7.v23,l);var i=c7.f13(),n=c7.f14(),o=0,s=0;-1!=(""+t).indexOf("%")?(s=i*(parseFloat(t)/100),e.style.left=s+"px"):(t=parseFloat(t),s=c7.v7+c7.f8()*t,s+=parseInt(a),e.style.left=s+"px");if(-1!=(""+r).indexOf("%")){o=n*(parseFloat(r)/100);e.style.top=o+"px"}else r=parseFloat(r),o=c7.v8+c7.f8()*r,o+=parseInt(l),e.style.top=o+"px"}static f22(e,t){e.setAttribute(c7.v21,t);var r=t*c7.f8();e.style.borderRadius=r+"px"}static f23(e,t,r){e.style.position="absolute",e.setAttribute(c7.v17,t),e.setAttribute(c7.v18,r);var a=0,l=0;-1!=(""+t).indexOf("%")?e.style.width=t:(t=parseFloat(t),a=c7.f8()*t,e.style.width=a+"px"),-1!=(""+r).indexOf("%")?e.style.height=r:(r=parseFloat(r),l=c7.f8()*r,e.style.height=l+"px")}static f24(e,t,r){e.style.position="absolute",e.style.left=parseInt(t)+"px",e.style.top=parseInt(r)+"px"}static f25(e,t){var r=document.getElementById(e);r&&r.classList.add(t)}static f26(e,t){var r=document.getElementById(e);r&&r.classList.toggle(t,!0)}static f27(e,t){var r=document.getElementById(e);r&&r.classList.toggle(t,!1)}static f28(e){var t=c7.f34(e);if(!c0.f6(t))for(var r=0;r<t.length;r++)t[r].classList.toggle(e,!1)}static f29(e,t){var r=c0.f2(c7.v1),a=0;r&&(a=r.maxZ+1);var l=a+t;c7.v1.push({name:e,minZ:a,maxZ:l})}static f30(e){for(var t=0;t<c7.v1.length;t++){var r=c7.v1[t];if(r.name===e)return r.minZ}return c7.v0=-1}static f31(e){for(var t=0;t<c7.v1.length;t++){var r=c7.v1[t];if(r.name===e)return r.maxZ}return c7.v0=-1}static f32(e,t,r=0){var l=c7.f30(t)+r;e.style.zIndex=l}static f33(e,t=null){var r=getComputedStyle(document.body).getPropertyValue(e);return r?r.trim():t}static f34(e){return document.getElementsByClassName(e)}static f35(e,t){var r=!1,a_left=parseFloat(e.style.left),a_top=parseFloat(e.style.top),a_width=parseFloat(e.style.width),a_height=parseFloat(e.style.height);return t.x>=a_left&&t.x<=a_left+a_width&&t.y>=a_top&&t.y<=a_top+a_height&&(r=!0),r}static f36(e){c6.f1("UIUtil Make Hidden"),e.style.visibility="hidden"}static f37(e){e.style.visibility="visible"}static f38(e,t){var r={left:parseFloat(e.style.left),right:parseFloat(e.style.left)+parseFloat(e.style.width),top:parseFloat(e.style.top),bottom:parseFloat(e.style.top)+parseFloat(e.style.height)},a={left:parseFloat(t.style.left),right:parseFloat(t.style.left)+parseFloat(t.style.width),top:parseFloat(t.style.top),bottom:parseFloat(t.style.top)+parseFloat(t.style.height)};return c7.f39(r,a)}static f39(e,t){return e.left<=t.right&&t.left<=e.right&&e.top<=t.bottom&&t.top<=e.bottom}static f40(e,t){var r={left:parseFloat(e.style.left),right:parseFloat(e.style.left)+parseFloat(e.style.width),top:parseFloat(e.style.top),bottom:parseFloat(e.style.top)+parseFloat(e.style.height)};return c7.f41(r,t)}static f41(e,t){var r_x=e.left+(e.right-e.left)/2,r_y=e.top+(e.bottom-e.top)/2,a=t.x-r_x,l=t.y-r_y;return Math.abs(Math.sqrt(a*a+l*l))}static f42(e,t){var r=e.x-t.x,a=e.y-t.y;return Math.abs(Math.sqrt(r*r+a*a))}static f43(e){for(var t=c7.f34(e),r=0;r<t.length;r++)t[r].classList.toggle(e,!1)}static f44(e,t){c7.v4[e]||(c7.v4[e]=[]),c7.v4[e][t]=""}static f45(e,t,r){c7.v4[e][t]=r}static f46(e,t){c7.v4[e][t]=""}static f47(e,t){return c7.v4[e][t]}static f48(e,t,r){var a=c7.f47(t,r),l=e.getAttribute(r);l&&e.classList.toggle(l,!1),a&&e.classList.toggle(a,!0),e.setAttribute(r,a)}static f49(e,t,r){var a=e.getAttribute(t);a&&e.classList.toggle(a,r)}static f50(e,t){e.style.transitionDelay=t+"s"}static f51(e){e.style.transitionDelay=""}static f52(e,t,r="",a=""){var l=document.createElement("div");l.id=e;var i=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElementNS("http://www.w3.org/2000/svg","use");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t),i.appendChild(n),i.classList.add("svg_sprite"),r?i.setAttribute("viewBox","0 0 "+r+" "+a):c6.f1("Not Setting the viewbox"),l.appendChild(i),c7.f23(l,r,a),l}static f53(e,t){e.nodeName.toLowerCase()==="TEXT".toLowerCase()?e.textContent=t:e.innerText=t}
5static f54(e,t=!0){var r=0,a=e.substr(0,2);a=a.toLowerCase();for(var l=document.getElementsByClassName("lang"),i=0;i<l.length;i++){var n=l[i];n.getAttribute("lang")===a?n.style.display="":(r++,n.style.display="none")}r>=l.length&&t&&Util.selectLanguage("en-US",!1)}}c7.v0=-1,c7.v1=[],c7.v2=[],c7.v3=[],c7.v4=[],c7.v5=[],c7.v6,c7.v7,c7.v8,c7.v9,c7.v10,c7.v11=[],c7.v12,c7.v13=!1,c7.v14="ui_resize",c7.v15="--game-cwidth",c7.v16="--game-cheight",c7.v17="canonical_width",c7.v18="canonical_height",c7.v19="canonical_top",c7.v20="canonical_left",c7.v21="canonical_border_radius",c7.v22="aoffset_left",c7.v23="aoffset_top",c7.v24="element_width",c7.v25="element_height",c7.v26="element_top",c7.v27="element_left",c7.v28="cpx",c7.v29="apx",c7.v30="ch%",c7.v31="cw%",c7.v32="ah%",c7.v33="aw%",c7.v34="min_width",c7.v35="max_width",c7.v36="min_height",c7.v37="max_height",c7.v38="min_left",c7.v39="max_left",c7.v40="min_top",c7.v41="max_top",c7.v42,c7.v43="element_scale",c7.v44,c7.v45,c7.v46="--game-align-horizontal",c7.v47="--game-align-vertical",c7.v48="align_center",c7.v49="align_left",c7.v50="align_right",c7.v51="align_top",c7.v52="align_bottom",c7.v53="align_top_third",c7.v54="align_bottom_third",c7.v55="align_percent_",c7.v56=800;class c1{static f0(e){return JSON.parse(JSON.stringify(e))}static f1(){try{if(void 0===localStorage||null===localStorage)return!1;const e="b7d7b332-ecad-4577-9db9-dd7a5ab98ba5";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}}class c8{static f0(e){var r=(e=Math.round(e))%3600,l=r%60;return{h:Math.floor(e/3600),m:Math.floor(r/60),s:Math.ceil(l)}}static f1(e){var t=e.split(":"),r=0;return t.length>=3&&(r+=3600*parseInt(t.shift())),t.length>=2&&(r+=60*parseInt(t.shift())),t.length>=1&&(r+=parseInt(t.shift())),r}}class c9{static f0(){return/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}static f1(){var e=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"];for(-1!==navigator.userAgent.toLowerCase().indexOf("iphone")&&(s_bIsIphone=!0);e.length;)if(navigator.platform===e.pop())return!0;return s_bIsIphone=!1,!1}static f2(){var e=document.documentElement.clientWidth/window.innerWidth;return window.innerHeight*e}static f3(){var e=(0===window.orientation?screen.height:screen.width)-getIOSWindowHeight();return e>1?e:0}static f4(){try{return window.self!==window.top}catch(e){return!0}}static f5(){var e=document.getElementById("canvas");return!(!e.getContext||!e.getContext("2d"))&&0==e.toDataURL("image/webp").indexOf("data:image/webp")}}const SHOW_TIME=5e3;function r(e,t){return Math.random()*(t-e)+e}window.module={},module={},function(){var e,t;window.requestAnimationFrame&&window.cancelAnimationFrame?(e=window.requestAnimationFrame,t=window.cancelAnimationFrame):["webkit","moz","o","ms"].forEach(function(r){if(!e||!t){var a=r+"RequestAnimationFrame",l=r+"CancelAnimationFrame";window[a]&&window[l]&&(e=window[a],t=window[l])}}),e&&t||(e=function(e){return window.setTimeout(e,1e3/60)},t=function(e){return window.clearTimeout(e)});var r={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"]};function a(){}function l(e){return module.exports.Promise?new module.exports.Promise(e):(e(a,a),null)}function o(e,t,a){return function(e,t){return t?t(e):e}(e&&function(e){return!(null===e||void 0===e)}(e[t])?e[t]:r[t],a)}function s(e,t){return Math.floor(Math.random()*(t-e))+e}function u(e){return parseInt(e,16)}function U(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function C(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function f(e){var t=document.createElement("canvas");return U(t),t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}function g(e){var t=e.angle*(Math.PI/180),r=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*r-Math.random()*r),tiltAngle:Math.random()*Math.PI,color:function(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:u(t.substring(0,2)),g:u(t.substring(2,4)),b:u(t.substring(4,6))}}(e.color),shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0}}function v(r,a,i,n,o){var g,v,s=a.slice(),u=r.getContext("2d"),c=r.width,d=r.height,f=i?U:C;function E(){c=d=null}var _=l(function(t){function a(){g=v=null,n&&window.removeEventListener("resize",E),u.clearRect(0,0,c,d),o(),t()}
5g=e(function l(){c||d||(f(r),c=r.width,d=r.height),u.clearRect(0,0,c,d),(s=s.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity,t.y+=Math.sin(t.angle2D)*t.velocity+3,t.wobble+=.1,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+5,t.wobbleX=t.x+10*Math.cos(t.wobble),t.wobbleY=t.y+10*Math.sin(t.wobble);var r=t.tick++/t.totalTicks,a=t.x+t.random*t.tiltCos,l=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,n=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),"circle"===t.shape?e.ellipse(t.x,t.y,.6*Math.abs(i-a),.6*Math.abs(n-l),Math.PI/10*t.wobble,0,2*Math.PI):(e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(l)),e.lineTo(Math.floor(i),Math.floor(n)),e.lineTo(Math.floor(a),Math.floor(t.wobbleY))),e.closePath(),e.fill(),t.tick<t.totalTicks}(u,e)})).length?g=e(l):a()}),v=a});return n&&window.addEventListener("resize",E,!1),{addFettis:function(e){return s=s.concat(e),_},canvas:r,promise:_,reset:function(){g&&t(g),v&&v()}}}function E(e,t){var i,r=!e,a=!!o(t||{},"resize"),l=!1;function n(t){var n=o(t,"particleCount",Math.floor),u=o(t,"angle",Number),c=o(t,"spread",Number),U=o(t,"startVelocity",Number),I=o(t,"decay",Number),E=o(t,"colors"),_=o(t,"ticks",Number),A=o(t,"zIndex",Number),p=o(t,"shapes"),m=function(e){var t=o(e,"origin",Object);return t.x=o(t,"x",Number),t.y=o(t,"y",Number),t}(t),F=n,h=[];r?e=i?i.canvas:f(A):a&&!l&&(C(e),l=!0);for(var T=e.width*m.x,L=e.height*m.y;F--;)h.push(g({x:T,y:L,angle:u,spread:c,startVelocity:U,color:E[F%E.length],shape:p[s(0,p.length)],ticks:_,decay:I}));return i?i.addFettis(h):(r&&document.body.appendChild(e),(i=v(e,h,r,r||a,function(){i=null,r&&document.body.removeChild(e)})).promise)}return n.reset=function(){i&&i.reset()},n}module.exports=E(),module.exports.create=E,module.exports.Promise=window.Promise||null}(),window.confetti=module.exports;var confettiActive=!1;function stopConfetti(){confettiActive=!1}function showConfetti(){if(!confettiActive){var e=Date.now()+SHOW_TIME;confettiActive=!0,function t(){confetti({particleCount:5,angle:60,spread:55,origin:{x:0},zIndex:1e3}),confetti({particleCount:5,angle:120,spread:55,origin:{x:1},zIndex:1e3}),Date.now()<e&&confettiActive&&requestAnimationFrame(t)}()}}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Redux={})}(this,function(e){"use strict";var t=function(e){var t,r=("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()).Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}(),r=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function l(e,t){var r=t&&t.type;return"Given "+(r&&'action "'+r+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function i(e,t){return function(){return t(e.apply(this,arguments))}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r}function u(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}e.__DO_NOT_USE__ActionTypes=a,e.applyMiddleware=function(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),a=function(){throw Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},l={getState:r.getState,dispatch:function(){return a.apply(void 0,arguments)}},i=t.map(function(e){return e(l)});return function(e){for(var t=1;arguments.length>t;t++){var r=null!=arguments[t]?arguments[t]:{};
5t%2?o(r,!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r,{dispatch:a=u.apply(void 0,i)(r.dispatch)})}}},e.bindActionCreators=function(e,t){if("function"==typeof e)return i(e,t);if("object"!=typeof e||null===e)throw Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var a in e){var l=e[a];"function"==typeof l&&(r[a]=i(l,t))}return r},e.combineReducers=function(e){for(var t=Object.keys(e),r={},i=0;t.length>i;i++){var n=t[i];"function"==typeof e[n]&&(r[n]=e[n])}var o,s=Object.keys(r);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var a=!1,i={},n=0;s.length>n;n++){var u=s[n],c=e[u],d=(0,r[u])(c,t);if(void 0===d){var U=l(u,t);throw Error(U)}i[u]=d,a=a||d!==c}return a?i:e}},e.compose=u,e.createStore=function e(r,l,i){var n;if("function"==typeof l&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof l&&void 0===i&&(i=l,l=void 0),void 0!==i){if("function"!=typeof i)throw Error("Expected the enhancer to be a function.");return i(e)(r,l)}if("function"!=typeof r)throw Error("Expected the reducer to be a function.");var o=r,s=l,u=[],c=u,d=!1;function U(){c===u&&(c=u.slice())}function C(){if(d)throw Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function f(e){if("function"!=typeof e)throw Error("Expected the listener to be a function.");if(d)throw Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return U(),c.push(e),function(){if(t){if(d)throw Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,U();var r=c.indexOf(e);c.splice(r,1)}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw Error("Reducers may not dispatch actions.");try{d=!0,s=o(s,e)}finally{d=!1}for(var t=u=c,r=0;t.length>r;r++)(0,t[r])();return e}return g({type:a.INIT}),(n={dispatch:g,subscribe:f,getState:C,replaceReducer:function(e){if("function"!=typeof e)throw Error("Expected the nextReducer to be a function.");o=e,g({type:a.REPLACE})}})[t]=function(){var e,r=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function t(){e.next&&e.next(C())}return t(),{unsubscribe:r(t)}
5}})[t]=function(){return this},e},n},Object.defineProperty(e,"__esModule",{value:!0})});class c10{static f0(){var e=c1.f0(c10.v18);return c10.f1(e),c10.f2(e),c6.f0("New Game State:"),c6.f0(e),e}static f1(e){for(var t=0,r=0;r<c2.v8;r++)for(var a=0;a<c2.v7;a++)e.cards[t]=c2.f0(c2.v0.Ace+a,c2.v5.Hearts+r,c2.v6.Up),t++}static f2(e){for(var t=[],r=0;r<e.cards.length;r++)t.push(r);c2.f1(t);for(var a=0;!c0.f6(t);){var l=t.pop();c2.f5(e.cards[l]),e.board.tableau[a].push(l),a++,a%=c10.v6}}static f3(e){for(var t=0,r=e.board.freecell,a=0;a<c10.v4;a++)c0.f6(r[a])&&t++;return t}static f4(e){for(var t=0,r=e.board.tableau,a=0;a<c10.v6;a++)c0.f6(r[a])&&t++;return t}static f5(e){return c10.f3(e)+c10.f4(e)+1}static f6(e){return c10.v13+e}static f7(e){return c10.v11+e}static f8(e,t=0){return c10.v12+e+c10.v9+t}static f9(e,t){return c10.v11+e+c10.v8+c10.v11+t}static f10(e,t){return c10.v11+e+c10.v8+c10.v13+t}static f11(e,t,r){return c10.v12+e+c10.v9+t+c10.v8+c10.v11+r}static f12(e,t,r){return c10.v12+e+c10.v9+t+c10.v8+c10.v13+r}static f13(e,t){return c10.v13+e+c10.v8+c10.v12+t}static f14(e,t){return c10.v13+e+c10.v8+c10.v11+t}static f15(e,t){return c10.v13+e+c10.v8+c10.v13+t}static f16(e,t,r){var a=c10.v12+e;return-1!=t&&(a+=c10.v9+t),a+=c10.v8+c10.v12+r}static f17(e,t){return c10.v11+e+c10.v8+c10.v12+t}static f18(e,t){var r=[],a=e.board.freecell;if(c6.f1("CalculateMovesForFreeCell: "+t),t[0]==c10.v13){var l=parseInt(t[1]);if(!c0.f6(a[l])){for(var i=0;i<c10.v5;i++){c6.f1("Checking freecell move to foundation:"+l);var n=c10.f14(l,i);c10.f37(e,n)&&r.push(n)}for(var o=0;o<c10.v6;o++){n=c10.f13(l,o);c6.f1("Checking freecell move to tableau:"+n),c10.f37(e,n)&&r.push(n)}for(var s=0;s<c10.v4;s++)if(c6.f1("Checking freecell move to freecell:"+l),c0.f6(a[s])){n=c10.f15(l,s);r.push(n)}}return r}c6.f2("FreeCell.calculateMovesForFreeCell called with invalid move location: "+t)}static f19(e,t,r){var a=c10.f5(e),l=e.board.tableau[t],i=e.cards;if(c0.f6(l))return c6.f2("c10.f19 being called on an empty tableau"),!0;if(-1===r||r===l.length-1||1===l.length)return!1;var o=i[c0.f2(l)];a--;for(var s=l.length-2;s>=r;s--){if(a<=0)return!0;var c=i[l[s]];if(o.rank+1!=c.rank)return!0;if(!c2.f9(o,c))return!0;o=c,a--}return c6.f1("We made it through on cIdx: "+r),!1}static f20(e,t){var r=[],a=parseInt(t.charAt(1)),l=-1;l=-1!=t.indexOf(c10.v9)?parseInt(t.substr(3)):-1;var i=e.board.tableau[a];if(c0.f6(i))return r;if(-1===l||l===i.length-1){c6.f1("We are calculating moves for just hte last card in the tableau");for(var n=0;n<c10.v5;n++){var o=c10.f11(a,l,n);c10.f37(e,o)&&r.push(o)}for(var s=e.board.freecell,u=0;u<c10.v4;u++)if(c0.f6(s[u])){o=c10.f12(a,l,u);r.push(o)}}if(!c10.f19(e,a,l))for(var c=0;c<c10.v6;c++){if(c!==a)o=c10.f16(a,l,c),c10.f37(e,o)&&r.push(o)}return r}static f21(e,t){if(t.charAt(0)==c10.v11){for(var r=parseInt(t.charAt(1)),a=[],l=0;l<c10.v6;l++){var i=c10.f17(r,l);c10.f37(e,i)&&a.push(i)}for(var n=0;n<c10.v5;n++)if(n!==r){i=c10.f9(r,n);c10.f37(e,i)&&a.push(i)}for(var o=e.board.freecell,s=0;s<c10.v4;s++)if(c0.f6(o[s])){i=c10.f10(r,s);a.push(i)}return a}c6.f2("Invalid location for calculateMoveListForFoundation"+t)}static f22(e,t){switch(c10.f24(e),t.charAt(0)){case c10.v12:c10.f29(e,t);break;case c10.v11:c10.f33(e,t);break;case c10.v13:c10.f28(e,t)}c10.f38(e)&&(e.status=c10.v0)}static f23(e,t){if(e.charAt(0)!=t.charAt(0))return!1;switch(e.charAt(0)){case c10.v11:case c10.v13:return e.charAt(1)===t.charAt(1);case c10.v12:if(e.charAt(1)!=t.charAt(1))return!1}return!0}static f24(e){var t=c10.f40(e.board),r=c10.f40(e.cards),a=t+c10.v10+r;e.history.push(a)}static f25(e){if(!c0.f6(e.history)){var r=e.history.pop().split(c10.v10),a=r[0],l=r[1];e.moves.push(c10.v17);var i=c10.f41(a);e.board=i;var n=c10.f41(l);return e.cards=n,e}c6.f2("Can't restore from empty history")}static f26(e,t=1){if(t<1||t>3)c6.f2("c10.f26 numCardsMax is invalid:"+t);else if(c0.f6(e.board.stock))c6.f2("c10.f26 stock is empty");else for(var r=0;r<t;r++){var a=e.board.stock.pop();if(e.board.waste.push(a),c2.f5(e.cards[a]),c0.f6(e.board.stock))break}}static f27(e,t){var r=t.split(c10.v8),a=r[0],l=r[1];if(a.startsWith(c10.v14))if(c0.f6(e.board.waste))c6.f2("c10.f27 waste is empty of cards:"+t);else if(c10.f37(e,t)){var i=c10.f34(e,l),n=e.board.waste.pop();i.push(n)}else c6.f2("c10.f27 INVALID MOVE:"+t);else c6.f2("c10.f27 being called for wrong move type"+t)}static f28(e,t){var r=t.split(c10.v8),a=r[0],l=r[1];if(a.startsWith(c10.v13)){var i=parseInt(a[1]);if(c0.f6(e.board.freecell[i]))c6.f2("Freecell.fromFreeCell being called with an empty freecell stack: "+t);else{var n=c10.f34(e,l),o=e.board.freecell[i].pop();n.push(o)}}else c6.f2("FreeCell.freeFreeCell being called witht he wrong move type")}static f29(e,t){var r=t.split(c10.v8),a=r[0],l=r[1];if(a.charAt(0)==c10.v12)if(c10.f37(e,t)){var n,i=a.charAt(1);if(-1!=a.indexOf(c10.v9))n=a.split(c10.v9)[1];else n=c0.f0(e.board.tableau[i]);switch(l.charAt(0)){case c10.v13:var s=l.charAt(1),u=e.board.tableau[i].pop();c10.f32(e,s,u);break;case c10.v11:var c=l.charAt(1);u=e.board.tableau[i].pop();c10.f30(e,c,u);break;case c10.v12:var d=e.board.tableau[i].splice(n),U=l.charAt(1);
5c10.f31(e,U,d)}}else c6.f2("c10.f29 INVALID MOVE:"+t);else c6.f2("c10.f29 being called for wrong move type"+t)}static f30(e,t,r){var a=e.cards[r];if(c0.f6(e.board.foundation[t])){if(a.rank!=c2.v0.Ace)return void c6.f2("c10.f30 Moving non-ACE to empty foundation f: "+t+" cardId: "+r);e.board.foundation[t].push(r)}else{var l=c0.f2(e.board.foundation[t]),i=e.cards[l];if(a.suit!=i.suit)return c6.f2("c10.f30 Moving non matching suits foundation f: "+t),c6.f2(a),void c6.f2(i);if(a.rank!=i.rank+1)return c6.f2("c10.f30 Moving wrong sequential ranks to foundation f: "+t),c6.f2(a),void c6.f2(i);e.board.foundation[t].push(r)}}static f31(e,t,r){var a=e.cards[r[0]];if(c0.f6(e.board.tableau[t])){if(a.rank!=c2.v0.King)return void c6.f2("c10.f31 non-King moving to empty tableau:"+a)}else{var l=c0.f2(e.board.tableau[t]),i=e.cards[l];if(!c2.f9(a,i))return void c6.f2("c10.f31 destCard and topCard same colors:"+a.suit+" destCard: "+i.suit);if(i.rank!=a.rank+1)return void c6.f2("c10.f31 destCard and topCard not descenting ranks:"+a.rank+" destCard: "+l.rank)}c0.f10(r,e.board.tableau[t])}static f32(e,t,r){var a=e.board.freecell[t];c0.f6(a)?a.push(r):c6.f2("c10.f32 being called to move to a non-empty cell:"+t)}static f33(e,t){var r=t.split(c10.v8),a=r[0],l=r[1];if(a.charAt(0)==c10.v11)if(c10.f37(e,t)){var i=c10.f34(e,l),n=a.charAt(1),o=e.board.foundation[n].pop();i.push(o)}else c6.f2("FreeCell.fromMove INVALID MOVE:"+t);else c6.f2("c10.f33 being called for wrong move type"+t)}static f34(e,t){var r;switch(t.charAt(0)){case c10.v11:var a=t.charAt(1);r=e.board.foundation[a];break;case c10.v12:var l=t.charAt(1);r=e.board.tableau[l];break;case c10.v13:c6.f1("We are moving to a freecell. Dest: "+t);var i=t.charAt(1);r=e.board.freecell[i]}return r}static f35(e,t){for(var r=e.board.tableau,a=e.board.foundation,l=e.board.freecell,i=0;i<c10.v6;i++)if(idx=c0.f1(r[i],t),-1!=idx)return c10.v12+i+c10.v9+idx;for(var n=0;n<c10.v5;n++)if(idx=c0.f1(a[n],t),-1!=idx)return c10.v11+n+c10.v9+idx;for(var o=0;o<FreeCell.NUM_FREECELL;o++)if(idx=c0.f1(l[o],t),-1!=idx)return c10.v13+o+c10.v9+idx;c6.f2("c10.f35. Couldn't find cardId: "+t)}static f36(e,t){switch(t.charAt(0)){case c10.v12:var r=t.charAt(1),a=e.board.tableau[r];return-1==t.indexOf(c10.v9)?c0.f6(a)?c2.v9:c0.f2(a):c0.f6(a)?(c6.f2("c10.f36 specifying index on empty tableau"),c2.v9):a[t.split(c10.v9)[1]];case c10.v11:var n=t.charAt(1),o=e.board.foundation[n];return c0.f6(o)?c2.v9:c0.f2(o);case c10.v13:var s=t.charAt(1),u=e.board.freecell[s];return c0.f6(u)?c2.v9:c0.f2(u);default:c6.f2("Invalid move location getMoveCardId:"+t)}return c2.v9}static f37(e,t){var r=t.split(c10.v8);if(!r||2!=r.length)return c6.f2("c10.f37 invalid move sent:"+t),!1;var a=r[0],l=r[1],i=c10.f36(e,a);if(i===c2.v9)return c6.f2("c10.f37  sourceCard is blank. Move: "+t+" source: "+a),!1;var n=e.cards[i];if(!c2.f3(n))return!1;switch(l.charAt(0)){case c10.v11:var o=l.charAt(1);if(c0.f6(e.board.foundation[o]))return n.rank===c2.v0.Ace;var s=c0.f2(e.board.foundation[o]);return(u=e.cards[s]).suit===n.suit&&u.rank===n.rank-1;case c10.v12:var c=l.charAt(1);if(c0.f6(e.board.tableau[c]))return n.rank===c2.v0.King;s=c0.f2(e.board.tableau[c]);var u=e.cards[s];return c2.f9(u,n)&&u.rank===n.rank+1;case c10.v13:var d=l.charAt(1);return!!c0.f6(e.board.freecell[d])}return!1}static f38(e){if(e.status==c10.v2){for(var t=0;t<c10.v4;t++)if(!c0.f6(e.board.freecell[t]))return!1;for(var r=0;r<c10.v6;r++)if(!c0.f6(e.board.tableau[r]))return!1;for(var a=0;a<c10.v5;a++){if(e.board.foundation[a].length!=c2.v7)return!1;var l=e.board.foundation[a][0].suit;for(t=0;t<c2.v7;t++){var i=e.board.foundation[a][t];if(e.cards[i].rank!=t+1)return c6.f2("Card out of order in foundation: F:"+a+" C:"+t+" CardID:"+i),!1;if(e.cards[i].suit===l)return c6.f2("Suit mismatch in foundation: F:"+a+" C:"+t+" CardID:"+i+" colSuit:"+l),!1}}return!0}c6.f2("Calling isGameOver on a game that isn't playing:"+e.status)}static f39(e){var t=e.cards,r=e.board.tableau,a=e.board.foundation,l=e.board.freecell;if(c0.f6(t))return c6.f2("c10.f39() CARDS LIST MISSING"),!1;if(t.length!=c10.v3)return c6.f2("c10.f39() CARD LIST IS WRONG SIZE"),!1;for(var i=0;i<c10.v3;i++){if(!(n=t[i]))return void c6.f2("c10.f39() CARD OBJECT MISSING AT IDX :"+i)}var o=[];for(i=0;i<c10.v3;i++)o.push(!1);for(var s=0;s<l.length;s++){if(!c0.f6(frecell[s]))o[l[s][0]]=!0}for(var c=0;c<c10.v5;c++){var d;
5c0.f6(a[c])||(d=t[a[c][0]].suit);for(i=0;i<a[c].length;i++){var n=t[a[c][i]];if(o[a[c][i]]=!0,c2.f2(n))return c6.f2("c10.f39() CARD IS FACING DOWN IN FOUNDATION :"+c),!1;if(n.suit!=d)return c6.f2("c10.f39() SUIT MISMATCH IN FOUNDATION :"+c),!1;if(n.rank!=c2.v0.Ace+i)return c6.f2("c10.f39() RANKS OUT OF ORDER IN FOUNDATION :"+c),!1}}for(var U=0;U<c10.v6;U++)for(i=0;i<r[U].length;i++)o[r[U][i]]=!0;for(i=0;i<c10.v3;i++)if(!o[i])return c6.f2("c10.f39() LOST A CARD FROM BOARD ID :"+i),!1;return!0}static f40(e){return JSON.stringify(e)}static f41(e){return JSON.parse(e)}}c10.v0="game_over",c10.v1="init",c10.v2="playing",c10.v3=52,c10.v4=4,c10.v5=4,c10.v6=8,c10.v7=c2.v7+6,c10.v8="|",c10.v9="-",c10.v10="##",c10.v11="f",c10.v12="t",c10.v13="c",c10.v14="w",c10.v15="s",c10.v16="r",c10.v17="u",c10.v18={status:"init",cards:[],board:{freecell:[[],[],[],[]],foundation:[[],[],[],[]],tableau:[[],[],[],[],[],[],[],[]]},config:{},moves:[],history:[],time:0};const{createStore:createStore,combineReducers:combineReducers}=Redux;class c11{static f0(){c6.f1("c11.f0()...."),c11.v0=combineReducers({gameState:c11.f2});let e={gameState:c10.f0()};c11.v1=createStore(c11.v0,e)}static f1(){return c11.v1.getState().gameState}static f2(e,t){let r=e;return r&&t&&t.type&&(t.type===c11.v7?c0.f6(r.history)||(r=c10.f25(r)):(r=c11.f5(r,t),r=c11.f6(r,t),r=c11.f7(r,t))),c11.v2=t,void 0!=r?r:c10.v18}static f3(e){c11.v1.dispatch(e)}static f4(e){c11.v1.subscribe(e),e()}static f5(e,t){switch(t.type){case c11.v3:var r=t.payload.mode;e=c10.f0(r);break;case c11.v4:e.status=c10.v2;break;case c11.v5:var a=t.payload.move;c10.f22(e,a);break;case c11.v7:}return e}static f6(e,t){if(t.type===c11.v5){var r=t.payload.move;e.moves.push(r)}return e}static f7(e,t){return t.type===c11.v6&&(e.time+=t.payload.deltaTime),e}static f8(e,t=c11.v8){return{type:c11.v5,payload:{move:e,agent:t}}}static f9(e){return{type:c11.v3,payload:{mode:e}}}static f10(){return{type:c11.v4}}static f11(){return{type:c11.v7}}static f12(e){return{type:c11.v6,payload:{deltaTime:e}}}}c11.v0,c11.v1,c11.v2,c11.v3="NEW_GAME",c11.v4="START_GAME",c11.v5="MOVE",c11.v6="UPDATE_TIME",c11.v7="UNDO",c11.v8="USER",c11.v9="AI";class c12{static f0(e={}){c6.f1("FreeCellView initing...");var t=document.getElementById(c12.v3);c7.f0(t,c12.f12(),c12.f13()),c4.f0(t);var r=!0;Object.keys(e).includes("card_faces")&&(r="true"===e.card_faces),c3.f0(r),c12.f6(),c12.f7(),c12.f10(),c12.f11(),c12.f8(),c12.f1(),c12.f2(),c11.f4(c12.f28)}static f1(){c4.f1(c4.v16,c12.f32),c4.f1(c4.v17,c12.f34),c4.f1(c4.v19,c12.f36),c4.f1(c4.v14,c12.f9),c4.f1(c4.v20,c12.f35)}static f2(){c5.f1(c12.v8)}static f3(e){c12.v29.push(e)}static f4(e){c12.v30=e}static f5(e){c12.v31=e}static f6(){c7.f29("background",1),c7.f29("target",1),c7.f29("foundation",c2.v7),c7.f29("freecell",1),c7.f29("tableau",c10.v6+c10.v3),c7.f29("dragging",c12.v24),c7.f29("dialog",10)}static f7(){c7.f44("freecell","move"),c7.f44("tableau","move"),c7.f44("foundation","move"),c7.f44("dragging","move"),c7.f45("dragging","move",""),c7.f45("freecell","move","move_animation_immediate"),c7.f45("tableau","move","move_animation_immediate"),c7.f45("foundation","move","move_animation_immediate")}static f8(){c12.v2=setInterval(function(){if(document.hasFocus()&&c11.f1().status==c10.v2){var t=c11.f12(1);c11.f3(t)}},1e3)}static f9(){var e=c11.f1();if(e.status===c10.v1){var t=c11.f10();c11.f3(t)}if(e.status===c10.v0){var r=c11.f9();c11.f3(r)}}static f10(){var t=c11.f1().cards;if(document.getElementById(c12.v3))for(var a=0;a<t.length;a++){var l=c3.f3(a,t[a],"card_back_gradient_blue");c3.f5(t[a],l),l.setAttribute("card_id",a),document.getElementById(c12.v3).appendChild(l),c7.f19(l)}else c6.f2("c12.f10 CAN'T FIND ROOT NODE: ")}static f11(){c11.f1();var t=document.getElementById(c12.v3);if(t){for(var r=0;r<c10.v5;r++){(a=c7.f52(c12.v11+r,"#foundation_target",c3.v11,c3.v10)).classList.add("target_div"),c7.f22(a,c3.v12),a.setAttribute("move_location",c10.f7(r));var l=c12.f21(r);c7.f21(a,l.left,l.top),c7.f23(a,c3.v11,c3.v10),c7.f32(a,"target",0),c7.f19(a),t.appendChild(a)}for(var i=0;i<c10.v4;
5i++){(a=c7.f52(c12.v12+i,"#freecell_target",c3.v11,c3.v10)).classList.add("target_div"),c7.f22(a,c3.v12),a.setAttribute("move_location",c10.f6(i));l=c12.f19(i);c7.f21(a,l.left,l.top),c7.f23(a,c3.v11,c3.v10),c7.f32(a,"target",0),c7.f19(a),t.appendChild(a)}for(var n=0;n<c10.v6;n++){var a;l=c12.f15(n);(a=c7.f52(c12.v13+n,"#tableau_target",c3.v11,c3.v10)).style.width=c7.f8()*c3.v11+"px",a.style.height=c7.f8()*c3.v10+"px",a.classList.add("target_div"),c7.f22(a,c3.v12),a.setAttribute("move_location",c10.f8(n)),c7.f21(a,l.left,l.top),c7.f23(a,c3.v11,c3.v10),c7.f32(a,"tableau",0),c7.f19(a),t.appendChild(a)}}else c6.f2("c12.f11 CAN'T FIND ROOT NODE: ")}static f12(){return c12.v15+c10.v6*c3.v11+(c10.v6-1)*c12.v17+c12.v15}static f13(){return c12.v15+c3.v10+c12.v18+c3.v10+(c12.v27-1)*c12.v19+c12.v15}static f14(){return c12.f12()/c12.f13()}static f15(e){return{left:c12.v15+e*c3.v11+e*c12.v17,top:c12.v15+c3.v10+c12.v18}}static f16(e,t){for(var r=e.board.tableau[t],a=e.cards,l=0,i=0;i<r.length;i++)if(i>0){var n=a[r[i-1]];l+=c2.f3(n)?c12.v19:.5*c12.v19}return c0.f6(r)||(l+=c3.v10),l}static f17(e,t){var r=c7.f8(),l=r*c12.f15(e).top+r*t,i=c7.f14();return l<=(i-=c12.v15*r)?0:l-i}static f18(e){for(var t=e.cards,r=c10.v6,a=e.board.tableau,l=0;l<a.length;l++){var i=c12.f15(l);r=1;var n=1,s=(a[l].length,c12.f16(e,l)),u=c12.f17(l,s);if(u>0)n=1-u/c7.f8()/s;var d=0;if(n<1)d=(c3.v11-c3.v11*n)/2;document.getElementById(c12.v13+l).style.visibility=n<1?"hidden":"visible";for(var f=0;f<a[l].length;f++){var g=a[l][f],I=document.getElementById(c3.v1+g);I.setAttribute("move_location",c10.f8(l,f)),c7.f48(I,"tableau","move"),c7.f21(I,i.left+d,i.top+f*c12.v19*n),c7.f23(I,c3.v11*n,c3.v10*n),c3.f5(t[g],I),I.classList.toggle("draggable",!c10.f19(e,l,f)),I.classList.toggle("tappable",!c10.f19(e,l,f)),c7.f32(I,"tableau",r++)}}}static f19(e){return{left:c12.v15+e*c3.v11+e*c12.v17,top:c12.v15}}static f20(e){for(var t=e.cards,r=e.board.freecell,a=0;a<r.length;a++){var l=c12.f19(a);if(!c0.f6(r[a])){var i=r[a][0],n=document.getElementById(c3.v1+i);n.classList.toggle("clickable",!1),c7.f32(n,"freecell",a+1),n.setAttribute("move_location",c10.f6(a)),c7.f48(n,"freecell","move"),c7.f21(n,l.left,l.top),c7.f23(n,c3.v11,c3.v10),c3.f5(t[i],n),n.classList.toggle("draggable",!0),n.classList.toggle("tappable",!0)}}}static f21(e){return{left:c12.v15+(e+c10.v4)*c3.v11+(e+c10.v4)*c12.v17,top:c12.v15}}static f22(e){for(var t=e.cards,r=e.board.foundation,a=0;a<r.length;a++)for(var l=c12.f21(a),i=0;i<r[a].length;i++){var n=r[a][i],o=document.getElementById(c3.v1+n);o.classList.toggle("clickable",!1),c7.f32(o,"foundation",i+1),o.setAttribute("move_location",c10.f7(a)),c7.f48(o,"foundation","move"),c7.f21(o,l.left,l.top),c7.f23(o,c3.v11,c3.v10),c3.f5(t[n],o),i===r[a].length-1&&o.classList.toggle("draggable",!0)}}static f23(e,t){return!e||!c0.f9(e.board.tableau,t.board.tableau)}static f24(e,t){return!e||!c0.f9(e.board.foundation,t.board.foundation)}static f25(e,t){return!e||!c0.f9(e.board.freecell,t.board.freecell)}static f26(e){var t=c11.v2;if(e.status==c10.v2&&t||(c7.f45("freecell","move","move_animation_immediate"),c7.f45("tableau","move","move_animation_immediate"),c7.f45("foundation","move","move_animation_immediate")),t.type===c11.v7&&(c7.f45("freecell","move","move_animation_z_start"),c7.f45("tableau","move","move_animation_z_start"),c7.f45("foundation","move","move_animation_z_start")),t.type===c11.v5){var r=t.payload.agent===c11.v9;c7.f45("freecell","move",r?"move_animation_z_end":"move_animation_snap"),c7.f45("tableau","move",r?"move_animation_z_end":"move_animation_snap"),c7.f45("foundation","move",r?"move_animation_z_end":"move_animation_snap")}}static f27(e){e=c11.f1();for(var t=0;t<c10.v3;t++)document.getElementById(c3.v1+t),e.cards[t]}static f28(){var e=c11.f1(),t=c11.v2;t&&t.type===c11.v3&&c12.v31&&c12.v31(),c12.f26(e);c12.f25(c12.v1,e)&&(!0,c12.f20(e)),c12.f23(c12.v1,e)&&(!0,c12.f18(e)),c12.f24(c12.v1,e)&&(!0,c12.f22(e));var a=e.moves.length,l=document.getElementById("moves"),i=""+a;l&&(l.innerText=i);var n=e.history.length,o=document.getElementById("undos_left"),s=""+n;o&&c7.f53(o,s);var u=e.time,c=c8.f0(u),d=document.getElementById("time"),U=(c.h>0?c.h+":":"")+c.m+":"+(c.s<10?"0":"")+c.s;d&&(d.innerText=U),e.status===c10.v0&&setTimeout(function(){c12.f31(i,U),c12.f30()},c12.v28),c12.v1=c1.f0(e)}static f29(){c11.f1();var t=c11.f9();c11.f3(t)}static f30(e,t){for(var r=0;r<c12.v29.length;r++)c6.f1("Notify Game Over"),c12.v29[r](e,t)}static f31(e,t){document.getElementById(c12.v9).innerText=e,document.getElementById(c12.v10).innerText=t,c5.f4(c12.v8,c12.f29)}static f32(e){var t=e.getAttribute("card_id"),r=c11.f1(),a=e.getAttribute("move_location");if(c12.v0=a,a.startsWith(c10.v12)&&-1!=a.indexOf(c10.v9))for(var l=a.charAt(1),o=0,s=a.split(c10.v9)[1];s<r.board.tableau[l].length;s++){t=r.board.tableau[l][s],e=document.getElementById(c3.v1+t);c7.f23(e,c3.v11,c3.v10),c4.f8(e,o),o+=1}else c7.f23(e,c3.v11,c3.v10),c4.f8(e);switch(a.charAt(0)){case c10.v12:var u=c10.f20(r,a);c12.f33(r,u);break;case c10.v11:u=c10.f21(r,a);c12.f33(r,u);break;case c10.v13:u=c10.f18(r,a);c12.f33(r,u);break;default:c6.f2("Dragging from a non valid location :"+a)}}static f33(e,t){if(!c0.f6(t))for(var r=0;r<t.length;r++){var a=t[r].split(c10.v8)[1],l=c10.f36(e,a);if(l!=c2.v9){var i=document.getElementById(c3.v1+l);c4.f9(i)}else if(a.charAt(0)===c10.v11){var n=parseInt(a.charAt(1)),o=document.getElementById(c12.v11+n);c4.f9(o)}else if(a.charAt(0)===c10.v12){var s=parseInt(a.charAt(1));o=document.getElementById(c12.v13+s);c4.f9(o)}else if(a.charAt(0)===c10.v13){var u=parseInt(a.charAt(1));o=document.getElementById(c12.v12+u);c4.f9(o)}}}static f34(e){if(c12.v0){var t=c12.v0,r=e.getAttribute("move_location");if(c10.f23(c12.v0,r))c12.f36();else{var a=t+c10.v8+r,l=c11.f1();if(c10.f37(l,a)){var i;switch(r.charAt(0)){case c10.v11:i="foundation";break;case c10.v12:i="tableau";break;case c10.v13:i="freecell"}c7.f45(i,"move","move_animation_snap");var n=c11.f8(a);c11.f3(n),c12.v0=void 0,c7.f43("droppable")}else c12.f36()}}}static f35(e){c6.f1("Handle Tap");var a,t=c11.f1(),r=e.getAttribute("move_location");switch(r.charAt(0)){case c10.v13:a=c10.f18(t,r);break;case c10.v12:a=c10.f20(t,r);break;default:return}
5if(c0.f6(a))c6.f1("No Moves for this tap");else{var l=[];c6.f1(a);for(var i=0;i<a.length;i++){var n=a[i];if(c10.f37(t,n)){var o=n.split(c10.v8);c6.f1("Parts:"+o);var s=o[1].charAt(0);if(c6.f1("Dest:"+s),s===c10.v11){l.push(a[i]);break}s!=c10.v13&&l.push(a[i])}}c6.f1("Moves:"),c6.f1(l),c0.f6(l)&&(c6.f1("Moves is empty"),l.push(c0.f4(a)));n=c0.f4(l);var u=c11.f8(n);c11.f3(u)}}static f36(){if(c12.v0){var e=c12.v0,t=c11.f1();switch(e.charAt(0)){case c10.v11:c7.f45("foundation","move","move_animation_z_end"),c12.f22(t);break;case c10.v12:c7.f45("tableau","move","move_animation_z_end"),c12.f18(t);break;case c10.v13:c7.f45("freecell","move","move_animation_z_end"),c12.f20(t)}}c12.v0=""}}c12.v0="",c12.v1,c12.v2,c12.v3="freecell_div",c12.v4="freecell_foundation",c12.v5="freecell_waste",c12.v6="freecell_stock",c12.v7="freecell_tableau",c12.v8="game_over_div",c12.v9="game_over_moves",c12.v10="game_over_time",c12.v11="foundation_target_",c12.v12="freecell_target_",c12.v13="tableau_target_",c12.v14="stock_target",c12.v15=10,c12.v17=3,c12.v18=10,c12.v19=33,c12.v20=33,c12.v25=8,c12.v26=.05,c12.v23=24,c12.v24=c2.v7,c12.v27=10,c12.v28=750,c12.v29=[],c12.v30,c12.v31;var _newGameCallback,_analyticsHandler=void 0,_lang=void 0;function registerAnalyticsHandler(e){_analyticsHandler=e}function analyticsEvent(e,t,r,a){console.log("Analytics: Category="+e+" Action="+t+" Label="+r+" Value="+a),_analyticsHandler&&_analyticsHandler(e,t,r,a)}function addNewGameCallback(e){_newGameCallback=e}function newGameStarted(){stopConfetti(),_newGameCallback&&_newGameCallback()}function addGameOverCallback(e){c12.f3(e)}function gameOver(e,t){analyticsEvent("game","end-game","Win"),analyticsEvent("game","end-game-moves","Number of Moves",parseInt(e)),analyticsEvent("game","end-game-time","Length of Game",c8.f1(t)),showConfetti()}var lastTouchEnd=0;function startGame(e={}){console.log("startGame()"),c11.f0(),c12.f0(e),addGameOverCallback(gameOver),c12.f5(newGameStarted);for(var t=function(e){e.preventDefault,e.target.classList.remove("animate"),e.target.classList.add("animate"),setTimeout(function(){e.target.classList.remove("animate")},700)},r=document.getElementsByClassName("btn"),a=0;a<r.length;a++)r[a].addEventListener("click",t,!1);window.onclick=function(e){if(!e.target.matches(".dropbtn")){var r,t=document.getElementsByClassName("dropup-content");for(r=0;r<t.length;r++){var a=t[r];a.classList.contains("show")&&a.classList.remove("show")}}},document.addEventListener("touchend",function(e){var t=(new Date).getTime();t-lastTouchEnd<=300&&e.preventDefault(),lastTouchEnd=t},!1)}var _startReported=!1;function newGameSameMode(){newGame("default")}function newGame(e){analyticsEvent("game","new-game","mode="+e),stopConfetti();var t=c11.f9(e);c11.f3(t)}function undo(){var t=c11.f1().history.length;if(!(t<=0)){analyticsEvent("game","undo","Undo Clicked",t);var r=c11.f11();c11.f3(r)}}function toggleDropUp(){document.getElementById("optionsDropup").classList.toggle("show")}function registerDialog(e){c5.f1(e)}function showDialog(e,t){c5.f4(e,t)}function select_language(e,t=!0){var r=0;_lang=e;var a=e.substr(0,2);a=a.toLowerCase();for(var l=document.getElementsByClassName("lang"),i=0;i<l.length;i++){var n=l[i];n.getAttribute("lang")===a?n.style.display="":(r++,n.style.display="none")}r>=l.length&&t&&select_language("en-US",!1)}document.addEventListener("mousedown",function(e){_startReported||(analyticsEvent("game","start-play","lang="+_lang),analyticsEvent("game","new-game","mode="+c11.f1().config.mode),_startReported=!0)});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.