1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1219],{18803:(e,t,n)=>{n.d(t,{G9:()=>w,Ku:()=>h,Oz:()=>b,eB:()=>l,fm:()=>s,oG:()=>p,rP:()=>f}),n(52675),n(89463),n(23792),n(34782),n(26099),n(78459),n(3362),n(23500),n(62953);var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}},a=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error),u=function(){return new Promise(function(e){return window.setTimeout(e,16)})};function c(){var e=document;e.getAnimations&&e.getAnimations().forEach(function(e){try{e.finish()}catch(e){}})}function s(e,t,n){return o(this,void 0,Promise,function(){var r,o,s;return i(this,function(i){switch(i.label){case 0:r=void 0===n?15e3:n,o=Date.now()+r,i.label=1;case 1:if(c(),s=t())return[2,s];if(Date.now()>o)throw new a("[qa] timed out after "+r+"ms waiting for "+e);return[4,u()];case 2:i.sent(),i.label=3;case 3:return[3,1];case 4:return[2]}})})}function l(e){if(!e)return!1;var t=e.getBoundingClientRect();if(!t.width||!t.height)return!1;var n=window.getComputedStyle(e);return"hidden"!==n.visibility&&parseFloat(n.opacity||"1")>.99}function f(e,t,n){return s(t,function(){var t=document.querySelector(e);return l(t)?t:null},n)}function h(e,t,n){return s(t,function(){for(var t=Array.prototype.slice.call(e.children),n=0;n<t.length;n++)if(l(t[n]))return t[n];return null},n)}var d="#sudoku-wrapper";function p(e){return o(this,void 0,Promise,function(){return i(this,function(t){switch(t.label){case 0:if(document.querySelector(d))return[3,2];return[4,w()];case 1:case 4:return t.sent(),[2];case 2:return[4,s("the game to finish loading",function(){return document.querySelector(d+":not(.loading)")},e)];case 3:return t.sent(),[4,w()]}})})}function b(e,t){return o(this,void 0,Promise,function(){var n;return i(this,function(r){switch(r.label){case 0:return[4,p(t)];case 1:return r.sent(),[4,s(e+" to be clickable",function(){var t=document.querySelector(e);return!t||t.hasAttribute("disabled")?null:t.getBoundingClientRect().width>0?t:null},t)];case 2:return(n=r.sent()).click(),[2,n]}})})}function w(e){return o(this,void 0,Promise,function(){var t,n,r;return i(this,function(o){switch(o.label){case 0:t=void 0===e?2:e,c(),n=0,o.label=1;case 1:if(!(n<t))return[3,4];return[4,Promise.race([new Promise(function(e){return requestAnimationFrame(function(){return e()})}
1),u()])];case 2:o.sent(),o.label=3;case 3:return n++,[3,1];case 4:if(!((r=document.fonts)&&"loaded"!==r.status&&r.ready))return[3,6];return[4,r.ready.catch(function(){})];case 5:o.sent(),o.label=6;case 6:return c(),[2]}})})}},31477:(e,t,n)=>{n.d(t,{BS:()=>g,Jl:()=>b,O9:()=>h,X8:()=>w,aG:()=>y,p3:()=>d,s8:()=>p}),n(52675),n(89463),n(23792),n(26099),n(3362),n(62953);var r=n(32612),o=n(62351),i=n(34585),a=n(18803),u=n(82660),c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}},l="#sudoku-wrapper";function f(){return!!document.querySelector(l)}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(){return!!f()&&!!window.mode&&(!e.length||-1!==e.indexOf(window.mode))}}var d=function(){return f()&&!window.mode};function p(){if(!h()())throw new u.Rh("no game on this page");return window.mode}function b(e){var t=document.querySelector(e);if(!t)throw new u.Rh("no "+e+" in this build â the feature is off, or this viewport does not render its host");return t}function w(e,t,n){return c(this,void 0,Promise,function(){return s(this,function(o){switch(o.label){case 0:return[4,(0,a.oG)()];case 1:return o.sent(),[4,(0,a.fm)("something to listen for "+t+" ("+e+")",function(){var e=r.P.listeners[t];return e&&e.length})];case 2:return o.sent(),r.P.emit(t,n),[2]}})})}var y=function(){return!!window.useModules},v=["game-tip-visible","game-message-visible"];function m(){var e=document.querySelector(l);return!!e&&v.some(function(t){return e.classList.contains(t)})}function g(){return c(this,void 0,Promise,function(){return s(this,function(e){switch(e.label){case 0:if(!f())return[2];if(!((!o.default.state.hideMessageTip||o.default.state.currentGame&&o.default.state.currentGame.showWinRate)&&!m()))return[3,2];return[4,(0,a.fm)("the board start message",m,2e3).catch(function(){})];case 1:e.sent(),e.label=2;case 2:return r.P.emit(i.Ps.hideGameMessage),[4,(0,a.G9)()];case 3:return e.sent(),[2]}})})}},21219:(e,t,n)=>{n.r(t),n.d(t,{initQa:()=>k}),n(52675),n(89463),n(23792),n(60739),n(26099),n(3362),n(62953),n(34782),n(42762);var r,o=n(18803),i=n(63461),a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}},u=function(e){return{selector:"#truste-consent-track",what:e,timeout:25e3}},c={none:null,gdpr:{selector:"#cookies-banner",what:"the GDPR consent banner"},ccpa:{selector:"#cookies-banner",what:"the CCPA consent banner"},cipa:{selector:"#cookies-banner",what:"the CIPA consent banner"},row:{selector:"#cookies-banner",what:"the rest-of-world consent banner"},cmp:{selector:"#onetrust-banner-sdk",what:"OneTrust's CMP banner",timeout:25e3},trustarc:u("TrustArc's banner for this browser's own geo"),trustarc_eu:u("TrustArc's EU/EEA/UK banner"),trustarc_ca:u("TrustArc's California banner"),trustarc_us:u("TrustArc's US states banner"),trustarc_br:u("TrustArc's Brazil banner"),trustarc_row:u("TrustArc's rest-of-world banner")};function s(){var e,t,n,r;return e=this,t=void 0,n=Promise,r=function(){var e;return a(this,function(t){switch(t.label){case 0:if(!(e=function(e){if(null===e)return null;var t=e.indexOf("."),n=(-1===t?e:e.slice(0,t)).trim().toLowerCase();if(!Object.prototype.hasOwnProperty.call(c,n))throw Error("qa_cookie="+e+" â unknown flavour; expected one of "+Object.keys(c).join(", "));return c[n]}((0,i.qk)("cookie"))))return[2];return[4,(0,o.fm)(e.what,function(){return(0,o.eB)(document.querySelector(e.selector))},e.timeout)];case 1:return t.sent(),[2]}})}
1,new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})}Object.keys(c);var l=n(31477),f={state:"running",scene:null,settled:new Promise(function(e){r=e}),scenes:[]};function h(){return window.__qa=f,window.__qaReady=!1,f}function d(e,t,n){f.state=e,f.scene=t,f.error=n;var o=document.documentElement;o.setAttribute("data-qa-state",e),n&&o.setAttribute("data-qa-error",n),n&&console.warn("[qa] "+e+": "+n),"running"!==e&&o.setAttribute("data-qa-ready",t||""),window.__qaReady="ready"===e,r(e)}var p=function(e){return d("ready",e)},b=function(e,t){return d("skipped",e,t)},w=function(e,t){return d("failed",e,t)},y=n(82660),v=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},m=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){var s=[u,c];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}},g="list";function k(){if((0,i.Jm)()){if(!(0,i.WE)()){console.warn("[qa] qa_* params ignored: the `"+i.ZF+"` app setting is off for this request"),h(),w(null,"the `"+i.ZF+"` app setting is off for this request");return}!function(){v(this,void 0,Promise,function(){var e,t,r,a,u;return m(this,function(c){switch(c.label){case 0:return e=h(),[4,function(){return v(this,void 0,Promise,function(){return m(this,function(e){switch(e.label){case 0:return[4,Promise.all([n.e(6533).then(n.bind(n,56533)),n.e(2132).then(n.bind(n,82132)),n.e(4921).then(n.bind(n,24921)),n.e(3082).then(n.bind(n,53082)),n.e(675).then(n.bind(n,60675)),n.e(7245).then(n.bind(n,77245)),n.e(2863).then(n.bind(n,32863)),n.e(3440).then(n.bind(n,63440)),n.e(162).then(n.bind(n,50162)),n.e(6497).then(n.bind(n,66497))])];case 1:return e.sent(),[2]}})})}()];case 1:return c.sent(),[4,(0,o.oG)()];case 2:if(c.sent(),e.scenes=(0,y.YG)(),(t=(0,i.qk)("screen"))===g){var f,d;return f=JSON.stringify((0,y.YG)(),null,2),(d=document.createElement("pre")).id="qa-scene-list",d.textContent=f,d.setAttribute("style","position:fixed;inset:0;z-index:2147483647;margin:0;padding:16px;overflow:auto;background:#fff;color:#000;font:12px/1.4 monospace;"),document.body.appendChild(d),console.log(f),p(g),[2]}c.label=3;case 3:if(c.trys.push([3,11,,12]),t)return[3,6];return[4,s()];case 4:return c.sent(),[4,(0,l.BS)()];case 5:return c.sent(),p(null),[2];case 6:if(!(r=(0,y.wK)(t)))return w(t,"unknown scene â ?qa_screen="+g+" lists what this page has"),[2];if(r.where&&!r.where())return b(t,"not available on this page"),[2];return[4,s()];case 7:return c.sent(),[4,r.open({id:t,args:(0,y.yN)(r,(0,i.U8)())})];case 8:if(c.sent(),r.keepGameTips)return[3,10];return[4,(0,l.BS)()];case 9:c.sent(),c.label=10;case 10:return p(t),[3,12];case 11:return u=(a=c.sent())instanceof Error?a.message:String(a),a instanceof y.Rh?b(t,u):w(t,u),[3,12];case 12:return[2]}})})}()}}},82660:(e,t,n)=>{n.d(t,{Rh:()=>o,YG:()=>c,wK:()=>u,yN:()=>s,zV:()=>a}),n(23792),n(62062),n(26910),n(26099),n(23500),n(62953);var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error),i={};function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach(function(e){i[e.id]&&console.error('[qa] duplicate scene id "'+e.id+'" â the later registration wins'),i[e.id]=e})}function u(e){return i[e]}function c(){return Object.keys(i).map(function(e){var t=i[e];return{id:t.id,summary:t.summary,args:t.args||{},available:!t.where||t.where()}}).sort(function(e,t){return e.id.localeCompare(t.id)})}function s(e,t){var n=e.args||{};Object.keys(t).forEach(function(t){n[t]||console.warn('[qa] scene "'+e.id+'" does not take an arg "'+t+'"')});var r={};return Object.keys(t).forEach(function(e){r[e]=t[e]}),Object.keys(n).forEach(function(e){var o=n[e],i=void 0===t[e]?o.default:t[e];if(o.values&&i!==o.default&&-1===o.values.indexOf(i))throw Error("qa_args="+e+":"+i+" â "+e+" must be one of "+o.values.join(", "));r[e]=i}),r}}}]);
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.