!function(){for(var e=_0x1911,n=_0x3160();;)try{if(936526==+parseInt(e(168))*(-parseInt(e(176))/2)+-parseInt(e(213))/3*(parseInt(e(244))/4)+parseInt(e(223))/5*(parseInt(e(276))/6)+-parseInt(e(171))/7+parseInt(e(170))/8*(parseInt(e(272))/9)+parseInt(e(280))/10+parseInt(e(230))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();import{Lang}from"./language.js";import{Contract}from"./contract.js";import _0x18fec1 from"./realestate.js";import _0x1c651f from"./management.js";import{Camera}from"./camera.js";import{DecorateMenu}from"./decorate.js";import{rentHouse,buyHouse,buyCredit,declineContract,acceptModal,declineModal}from"./api.js";function _0x1911(e,n){const t=_0x3160();return(_0x1911=function(e,n){return e-=160,t[e]})(e,n)}import{handleUpdatePositions,renderGeometry,selectLegacyObject,showGeometry}from"./furniture.js";function _0x3160(){const e=["splice","height","colorlabel","yLMvc","UQcOs","40610qtmAjj","type","HOUSING_NU","items","YHclH","none","config","5651547XFhGEv","nYAGH","defcD","openModal","indexOf","decline","ILBRD","background","credit","I_MODAL_CA","hewId","top","WecYZ","push","7285244QeMQMm","rotation","DDrRL","EAYKW","jymcN","accept","data","FhwBQ","setupContr","object","houseprice","taxes","content","bankfee","NCEL","SqXcL","closeUI","GUolr","LFZMQ","NeLkc","hide","MGIaL","RgaQX","showMenu","eceLa","QKDUn","CEPT","title","9UXRhmY","isRent","descriptio","act","822xGRGVg","FpTTr","gAWoz","label","18636130SMDEYT","status","width","brokerfee","ed_object","CoMZn","frontcam","openObject","TAEIv","dOGqf","TUpfK","UQkKX","FzVLg","selectors","429wikpMV","furniture","5548016ppVWyy","2325736clpwej","colors","street","firstname","update_leg","5098yucyap","HHewd","lastname","dPBQm","tate","houseData","openManage","Security C","DdxIf","ziUWM","Zcscw","FCNUp","Oeqkz","zEoui","toggle","css","AvoVj","update_pos","addEventLi","ment","img","left","onmessage","tXgmf","cFBRs","openReales","show","itions","length","acy_select","zIndex","OvjDJ","FLmxJ","stener","navigation","zHYWz","I_MODAL_AC","3ewVqTa","price","qcBsX","evdEv","EsNqk"];return(_0x3160=function(){return e})()}import{Modal}from"./modal.js";import{showIntro}from"./intro.js";let components=[],responsive=null;const messageHandler=()=>{const t=_0x1911,l={evdEv:function(e){return e()},LFZMQ:function(e){return e()},eceLa:function(e){return e()},qcBsX:function(e,n){return n{var n=o,e=(c[n(273)]?l[n(216)](rentHouse):e?l[n(262)](buyCredit):l[n(268)](buyHouse),components[n(234)](t));l[n(215)](e,-1)&&components[n(218)](e,1)}),t[o(194)+o(209)](l[o(248)],()=>{var e=o,n=(r[e(187)](declineContract),components[e(234)](t));r[e(200)](n,-1)&&components[e(218)](n,1)}),t[o(202)](),components[o(243)](t);break;case l[o(211)]:if(l[o(165)](c[o(190)],!1)){for(const p of components)p[o(264)]();components=[]}else{var n=new Camera(c[o(279)],l[o(184)]);n[o(202)](),components[o(243)](n)}break;case l[o(217)]:l[o(227)](handleUpdatePositions,c);break;case l[o(188)]:l[o(227)](selectLegacyObject,c[o(253)]);break;case l[o(263)]:l[o(185)](showIntro,()=>{var e=o,n=new DecorateMenu(r[e(231)](getRooms,c[e(169)]));n[e(267)](),components[e(243)](n),r[e(187)](renderGeometry),r[e(187)](showGeometry)});break;case l[o(285)]:n=new Modal(c[o(271)],c[o(256)],l[o(242)](Lang,l[o(179)]),l[o(227)](Lang,l[o(163)]));n[o(194)+o(209)](l[o(222)],()=>{var e=o;r[e(166)](acceptModal)}),n[o(194)+o(209)](l[o(248)],()=>{var e=o;r[e(269)](declineModal)}),n[o(202)]()}}},getRooms=n=>{var t=_0x1911,o={AvoVj:function(e,n){return e{var t=_0x1911,o={EAYKW:function(e,n){return e{var t=_0x1911,o={DDrRL:function(e,n){return e