"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5884],{86421:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}}),n(5769),n(63238),n(61418),n(17460),n(14078);var a=n(47005),r=n(25152),u=n(44614),c=n(67469);function s(e){function t(t){return c.Z.enableGamepad(e.querySelector(".chkEnableGamepad").checked),(0,r.Z)(u.ZP.translate("SettingsSaved")),a.Events.trigger(e,"saved"),null==t||t.preventDefault(),!1}e.addEventListener("viewshow",(function(){e.querySelector(".chkEnableGamepad").checked=c.Z.enableGamepad(),e.querySelector("form").addEventListener("submit",t),e.querySelector(".btnSave").classList.remove("hide"),Promise.resolve().then(n.bind(n,6610)).then((function(t){t.default.autoFocus(e)}))}))}}}]);