{"version":3,"sources":["livechat.js"],"names":["window","BX","LiveChat","this","supportStorage","navigator","cookieEnabled","debug","mobileFlag","mobileFull","windowTitle","document","title","bodyMeta","bodyMetaContent","prototype","getPopupTemplate","template","getSidebarTemplate","buttonDisable","context","message","copyrightUrl","copyright","getUserBlock","params","avatar","indexOf","toString","substr","sourceDomain","name","getSocialBlock","target","link","code","replace","init","BxLiveChatInit","externalParams","button","user","firstMessage","currentUrl","inited","location","href","protocol","host","port","id","Math","random","placeholder","bitrix24","source","lang","test","userAgent","hash","length","lastName","email","console","log","firstLoad","language","sourceHref","createElement","hostname","showContextPage","showContextPopup","prepareContent","getCookie","frameCreate","openLiveChat","getAttribute","setAttribute","addMetaTag","metaTags","getElementsByTagName","i","head","appendChild","contentMain","classList","toggle","contentButton","popupSetPosition","contentFrame","setTimeout","delegate","sendDataToFrame","action","sessionStorage","bxLiveChatOpened","closeLiveChat","remove","SiteButton","onWidgetClose","content","getElementById","innerHTML","firstChild","add","body","className","insertBefore","getElementsByClassName","addEventListener","contentCloseButton","contentTitle","contentUsers","contentUsersTitle","contentUsersBox","contentSocials","contentSocialsTitle","contentSocialsIconsBox","contentSocialsDescription","contentInner","contentIframeBox","contentFormInput","contentFormEnter","contentFormKey","contentFormFile","contentFormSmile","sendMessage","event","keyCode","contentBackButton","value","text","scrollY","frameCreated","externalData","encodeURIComponent","substring","locationHash","domain","from","frameSrc","Date","JSON","stringify","frameName","frameEndLoad","origin","frameEventReceive","data","ie","postMessage","contentWindow","uniqueLoadId","textarea","showed","checkHash","bxLiveChatShowed","hide","encodedData","hideChatBlock","dataString","parse","err","queueList","queue","socialList","networkUrl","connectors","errorCode","openLineInPortalUrl","match","contains","clearInterval","timeoutNewMessage","setInterval","setCookie","expires","mobileTextareaFucused","func","thisObject","cur","proxy_context","res","apply","arguments","el","eventName","handler","attachEvent","mess","LiveChatMessage","matches","cookie","RegExp","decodeURIComponent","undefined","ob","parentNode","removeChild","options","currentDate","setTime","getTime","toUTCString","updatedCookie","propertyName","hasOwnProperty","propertyValue","BxLiveChatLoader"],"mappings":"CAAC,SAAWA,GACX,IAAKA,EAAOC,GACZ,CACCD,EAAOC,WAEH,GAAID,EAAOC,GAAGC,SACnB,CACC,OAGD,IAAID,EAAKD,EAAOC,GAEhBA,EAAGC,SAAW,WACbC,KAAKC,eAAiBC,UAAUC,sBAAuB,gBAAoB,YAC3EH,KAAKI,MAAQ,MAEbJ,KAAKK,WAAa,MAClBL,KAAKM,WAAa,KAClBN,KAAKO,YAAcC,SAASC,MAE5BT,KAAKU,SAAW,MAChBV,KAAKW,gBAAkB,IAGxBb,EAAGC,SAASa,UAAUC,iBAAmB,WAExC,IAAIC,EAAWd,KAAKe,qBACpB,IAAKf,KAAKgB,cACV,CACCF,EAAWA,EACV,6CACC,wDACD,SAGF,OAAOA,GAGRhB,EAAGC,SAASa,UAAUG,mBAAqB,WAE1C,MAAO,GACN,8CAA8Cf,KAAKiB,SAAW,QAAUjB,KAAKK,WAAY,uCAAwC,IAAI,KACpI,oDACC,qDACC,oDACC,gEACD,UACA,uDACC,gGAAgGL,KAAKkB,QAAQ,iBAAiB,UAC/H,UACA,qDACC,kEACD,SACA,qDACC,iEACD,UACD,SACA,mDACC,yDACC,mEACC,sDACA,yDACC,6DAA6DlB,KAAKkB,QAAQ,oBAAoB,QAC/F,SACA,yEACA,SACD,SACA,kEACC,iEACA,iEACA,2DACA,2DACC,+DAA+DlB,KAAKkB,QAAQ,mBAAmB,QAChG,SACA,qEACA,iEACC,8EACD,SACD,SACD,SACD,SACA,qEACA,6DACC,mDACC,wDACC,+DACA,uDACC,sEACA,gBAAgBlB,KAAKkB,QAAQ,mBAAmB,sEACjD,SACA,eAAelB,KAAKkB,QAAQ,kBAAkB,2DAC9C,eAAelB,KAAKkB,QAAQ,iBAAiB,0DAC7C,kDACC,0BAA0BlB,KAAKkB,QAAQ,wBAAwB,gEAChE,SACA,8DACD,SACD,SACD,SACA,YAAYlB,KAAKmB,aAAa,iEAAkEnB,KAAK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