Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty - Version 2.5.6

Version Description

UI improvments

Download this release

Release Info

Developer galdub
Plugin Icon wp plugin Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty
Version 2.5.6
Comparing to
See all releases

Code changes from version 2.5.5 to 2.5.6

admin/assets/css/cht-style.css CHANGED
@@ -733,10 +733,12 @@ a:focus {
733
  flex-wrap: wrap
734
  }
735
 
736
- .main .form-horizontal__item + .form-horizontal__item {
 
 
 
737
  padding-top: 30px
738
  }
739
-
740
  .main .form-horizontal__item-label {
741
  flex: 0 0 122px;
742
  margin: 0 14px 0 0;
@@ -4309,7 +4311,18 @@ label.custom-control.custom-radio:before {
4309
  .ui-sortable-handle {
4310
  touch-action: inherit !important;
4311
  }
4312
-
 
 
 
 
 
 
 
 
 
 
 
4313
  @media (min-width: 1281px) {
4314
  .btn-help, .remove-chaty-widget-sticky {
4315
  transform: rotate(90deg);
733
  flex-wrap: wrap
734
  }
735
 
736
+ .main .form-horizontal__item.active + .form-horizontal__item {
737
+ padding-top: 30px
738
+ }
739
+ .main .form-horizontal__item:not(.o-channel) + .form-horizontal__item {
740
  padding-top: 30px
741
  }
 
742
  .main .form-horizontal__item-label {
743
  flex: 0 0 122px;
744
  margin: 0 14px 0 0;
4311
  .ui-sortable-handle {
4312
  touch-action: inherit !important;
4313
  }
4314
+ .form-horizontal__item.o-channel {
4315
+ display: none;
4316
+ }
4317
+ .form-horizontal__item.o-channel.active {
4318
+ display: flex;
4319
+ }
4320
+ .font-section {
4321
+ margin-top: 30px;
4322
+ }
4323
+ .font-section.active {
4324
+ margin: 0;
4325
+ }
4326
  @media (min-width: 1281px) {
4327
  .btn-help, .remove-chaty-widget-sticky {
4328
  transform: rotate(90deg);
admin/assets/css/cht-style.min.css CHANGED
@@ -1 +1 @@
1
- *,.rpt_plans .rpt_plan,::after,::before{box-sizing:border-box}.btn-help,.btn-help:active,.btn-help:hover,.btn-save,.btn-save-sticky a,.icon:after,i{color:#fff}body,i{-webkit-font-smoothing:antialiased}.main .channels-selected__item .btn-cancel:focus,.main .channels-selected__item.disabled .btn-cancel:focus,.main .channels-selected__item.disabled input:focus,button:focus,input:focus{outline:0}.easy-modal ul,.upgrade-block ul{list-style-image:url(../images/icon-check-purple.svg);columns:2}.btn-red,.link-back{text-decoration:none}.btn-file,.kv-file-content,.preview .page,.switch-preview{overflow:hidden}@font-face{font-family:icomoon;src:url(../fonts/icomoon.ttf?qh3c2u) format('truetype'),url(../fonts/icomoon.woff?qh3c2u) format('woff'),url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');font-weight:400;font-style:normal}i{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-moz-osx-font-smoothing:grayscale}.easy-modal__bottom,.plan_date,body,button,input{font-family:Rubik,sans-serif}.icon-chat-base:before{content:"\e901"}.icon-chat-db:before{content:"\e903"}.icon-chat-bubble:before{content:"\e900"}.icon-chat-smile:before{content:"\e904"}.icon-upload:before{content:"\e902"}.icon-phone:before{content:"\f095"}.icon-whatsapp:before{content:"\f232"}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}.container,.ml-auto{margin-left:auto}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto}.col-12{flex:0 0 100%;max-width:100%}.text-center{text-align:center}.text-primary{color:#a886cd}.align-top{align-self:flex-start}.custom-control{display:inline-block;color:#5d5c5c;margin-bottom:0;cursor:pointer;min-height:22px;line-height:22px;padding-left:20px;position:relative}.custom-control .custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control .custom-control-input.js-upload:disabled~.custom-control-label::before{background:rgba(0,0,0,.1)}.custom-control .custom-control-input:disabled~i{opacity:.5}.custom-control+.custom-control{margin-left:16px}.custom-control.custom-checkbox .custom-control-label{position:static}.custom-control.custom-checkbox .custom-control-label::before{content:'';transition:all .2s;position:absolute;top:3px;left:0;display:block;width:15px;height:15px;line-height:15px;text-align:center;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:3px;background-position:center;background-repeat:no-repeat;background-size:15px}.color-picker-btn,.custom-control.custom-radio .custom-control-label::before{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea}.custom-control.custom-checkbox .custom-control-label::after{display:none}.custom-control.custom-checkbox .custom-control-input:checked~.custom-control-label::before{background-image:url(../images/icon-check.svg);background-color:transparent}.custom-control.custom-radio{padding-left:27px}.custom-control.custom-radio .custom-control-label{position:static}.custom-control.custom-radio .custom-control-label::before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:22px;height:22px;background-color:#fff;box-shadow:0 0 15px 0 #eaeaea;border-radius:50%;border:5px solid #fff}.custom-control.custom-radio .custom-control-label::after{display:none}.custom-control.custom-radio .custom-control-input:checked~.custom-control-label::before{background:#a886cd}.position-pro{background:rgba(168,134,205,.1);border-radius:4px;display:flex;padding:6px 0;transition:all .2s;margin-top:11px;flex-wrap:wrap}.position-pro>div{flex:0 0 auto;padding:6px 15px}.position-pro>div>label:first-child{display:block;margin-bottom:10px}.position-pro>div .custom-control-group{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;display:flex;align-items:center;width:150px;height:34px}.position-pro>div .custom-control-group .custom-control{width:75px;padding:0;margin:0!important}.position-pro>div .custom-control-group .custom-control .custom-control-label{width:100%;color:#e0e0e0;height:34px;display:flex;align-items:center;padding:6px 7px}.position-pro>div .custom-control-group .custom-control .custom-control-label:before{content:none}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label{color:#a886cd;box-shadow:inset 0 3px 7px rgba(0,0,0,.08)}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label path{fill:#a886cd}.icon:not(.active):not(:hover) .color-element,.main .channels-icons>.icon:not(.active):not(:hover) .color-element{fill:#bdbdbd}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label{border-radius:5px 0 0 5px;text-align:left}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label svg{margin-right:5px}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label{border-radius:0 5px 5px 0;display:flex;justify-content:flex-end}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label svg{margin-left:5px}.btn-red,.color-picker .color-picker-radio label+label{margin-left:12px}.position-pro input{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:5px;border:0;line-height:24px;padding:5px 7px;width:60px;margin-right:3px}.color-picker{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:4px;width:330px;display:none;position:relative}.color-picker .color-picker-radio{display:flex;padding:6px 8px 10px;border-bottom:1px solid rgba(130,130,130,.1)}.color-picker .color-picker-radio label{border-radius:50%;width:28px;height:28px;position:relative;cursor:pointer;font-size:0}.color-picker .color-picker-radio label span{display:block;width:28px;height:28px;vertical-align:top;opacity:0;transition:all .2s;background-position:center;background-repeat:no-repeat;background-image:url(../images/icon-check-white.svg)}.color-picker .color-picker-radio label input{position:absolute;z-index:-1;opacity:0}.color-picker .color-picker-radio label input:checked+span{opacity:1}.btn-help span,.color-picker .color-picker-custom a{margin-left:5px}.color-picker .color-picker-custom{padding:10px 8px 16px}.color-picker .color-picker-custom>div{display:flex;align-items:center}.color-picker .color-picker-custom>div+div{margin-top:10px}.color-picker .color-picker-custom .circle{color:#ff6376;background:#fff;border:1px solid #d0d0d0;border-radius:50%;width:28px;height:28px;align-items:center;justify-content:center;display:flex;margin-right:3px;font-size:14px}a,a:focus{color:#a886cd}body,button{font-size:17px}.color-picker .color-picker-custom input{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;height:34px;width:180px}.color-picker-btn{background-color:#fff;box-shadow:0 0 15px 0 #eaeaea;border-radius:4px;border:0;padding:6px 8px;line-height:17px}.color-picker-btn .circle{display:inline-block;vertical-align:top;width:15px;height:15px;border-radius:50%;margin:1px 4px 1px 0}.color-picker-btn svg{transition:all .2s;margin-left:8px}.color-picker-btn-close{background-color:transparent;border:0;padding:5px;line-height:17px;position:absolute;right:0;top:0}.color-picker-btn-close svg{transform:rotate(180deg)}.switch{display:flex;align-items:center;margin-bottom:0;position:relative;flex:0 0 auto}.switch input[type=checkbox]{pointer-events:none;opacity:0;position:absolute;top:0;right:0;z-index:-1;width:0;height:0}.switch input[type=checkbox]:checked+.switch__styled{background:#a886cd;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:checked+.switch__styled:after{left:40px;background:#fff}.form-group .switch{height:42px}.switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;margin:0 8px;display:inline-block;height:34px;width:72px;border-radius:17px;position:relative;transition:all .2s;cursor:pointer;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;background:#cfbde4}.switch__styled:after{content:'';position:absolute;left:2px;top:2px;height:30px;width:30px;border-radius:50%;background-color:#fff;transition:all .2s;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset}.switch.custom-switch{margin-right:auto;margin-left:30px}.switch.custom-switch .switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;box-shadow:0 4px 14px rgba(0,0,0,.15)}body{height:auto;background-image:url(../images/bg.svg);background-position:155px 30px;background-repeat:no-repeat;background-size:calc(100% - 150px) auto;background-attachment:fixed;color:#4f4f4f;padding-bottom:50px;margin:0}button{cursor:pointer}button#collapse-button{font-size:13px}input{font-size:17px}#cht-form input[type=submit]{opacity:0;position:absolute}a:focus{box-shadow:none}::-webkit-input-placeholder{color:#e0e0e0}::-moz-placeholder{color:#e0e0e0}:-ms-input-placeholder{color:#e0e0e0}:-moz-placeholder{color:#e0e0e0}.section{padding:30px 15px;position:relative}.section+.section{border-top:2px solid rgba(130,130,130,.1)}.section.one{max-width:680px}.section-title{font-family:Oswald,sans-serif;font-size:30px;color:#000;line-height:44px;margin-bottom:30px;font-weight:400;margin-top:0;display:flex}.section-title strong{margin:0 14px 0 0;text-align:right;font-weight:700}.main{background-color:#fff;border-radius:9px;position:relative}.main .channels-icons{display:flex;flex-wrap:wrap;margin:0 -8px 20px}.main .channels-icons>.icon{padding:0 8px;margin-bottom:16px}.main .channels-icons>.icon .color-element{transition:all .2s}.main .channels-icons>.icon:not(.active) svg{cursor:pointer}.main .channels-selected{padding-top:20px;position:relative;min-height:220px}.main .channels-selected__item{display:flex;align-items:center;flex-wrap:wrap;position:relative}.main .channels-selected__item .icon{margin-right:10px;cursor:pointer;width:50px;border-radius:100%;height:50px;text-align:center;vertical-align:middle}.main .channels-selected__item .icon>i{font-size:30px;line-height:50px}.main .channels-selected__item .btn-cancel{position:absolute;right:-15px;top:-15px;transform:translate(50%,-50%);background:linear-gradient(0deg,#333,#333),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:0;z-index:1;box-shadow:0 4px 14px rgba(0,0,0,.15);cursor:pointer}.main .channels-selected__item .input-example{font-size:13px;padding-top:0;line-height:14px;color:#444;opacity:.8;position:absolute;left:calc(50px + 16px + 7px);top:50px}.main .channels-selected__item.disabled .icon{cursor:default}.main .channels-selected__item.disabled .icon .color-element{fill:#e9e9e9}.main .channels-selected__item.disabled input{box-shadow:0 4px 14px rgba(179,179,179,.15);color:#e9e9e9}.main .channels-selected__item.disabled input::-webkit-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input::-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-ms-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled .btn-cancel{cursor:default;background:linear-gradient(0deg,#cfcfcf,#cfcfcf),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%)}.btn-help,.btn-save-sticky,.channels__view,.icon:not(.active) svg{cursor:pointer}.main .channels-selected__item.disabled .input-example{color:#e9e9e9}.main #positionPro{margin-left:-122px}.main .form-horizontal__item{display:flex;flex-wrap:wrap}.main .form-horizontal__item+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item-label{flex:0 0 122px;margin:0 14px 0 0;text-align:right;font-weight:700}.header,.main .form-horizontal__item.flex-center{align-items:center}.main .form-horizontal__item>div>input{background:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;border:0;line-height:24px;padding:5px 7px}.main .form-horizontal__item>div>input.widget-size__input{width:47px;height:34px;text-align:center}.icon{border-radius:50%;vertical-align:top;font-size:0;position:relative}.icon:after,.icon:before{position:absolute;opacity:0;pointer-events:none;left:50%}.icon:after{text-align:center;content:"" attr(data-label) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px;z-index:1001}.btn-save:after,.icon:before,.popover:after{content:''}.icon:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.icon.tooltip-show:after,.icon.tooltip-show:before,.icon:hover:not(.tooltip-show):after,.icon:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-help-form,.disabled{pointer-events:none}.icon .color-element{transition:all .2s}.icon.no-tooltip:after,.icon.no-tooltip:before{content:none!important}.icon.icon-md svg,.icon.icon-sm svg{width:50px;height:50px;cursor:move}.icon.icon-xs svg{width:30px;height:30px}.btn-save{border:0;text-transform:uppercase;line-height:24px;font-weight:700;position:relative;max-width:100%;margin-top:40px;height:50px;width:274px;border-radius:25px;padding:14px 15px 12px;background-image:url(../images/rocket.svg);background-color:#ff6624;background-position:left bottom;background-repeat:no-repeat;box-shadow:0 3px 10px 1px rgba(255,90,116,.5)}.btn-save:after{position:absolute;z-index:-1;top:30px;left:50%;transform:translateX(-50%);width:238.1px;height:30.81px;background:linear-gradient(97.71deg,#ff6624 9.04%,#ff6376 91.56%),linear-gradient(104.36deg,#6371db 20.37%,#ff89c4 72.52%);opacity:.77;filter:blur(19px);border-radius:9px}.btn-help,.preview-help-btn{text-align:center;padding-top:10px;position:absolute;background:#03e78b;border-radius:7px 7px 0 0;right:0;top:60px;transform:rotate(-90deg);transform-origin:bottom right;border:0;height:42px;width:102px;text-transform:uppercase;font-weight:700}.btn-help span{display:inline-block;width:27px;height:27px;border:2px solid #fff;border-radius:100%}.preview-help-btn{display:none;color:#fff;text-decoration:none}.btn-save-sticky{padding:10px 0 11px;top:20px;background:#ff6624;right:0;border-radius:7px 0 0 7px;position:absolute;border:0;height:69px;width:42px;text-transform:uppercase;color:#fff;font-weight:700;font-size:11px}.btn-save-sticky span{text-align:center;display:inline-block;margin-bottom:4px;height:15px;line-height:13px}input.channels__input.border-red{border-color:#d00}@media (min-width:1281px){.btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 475px);top:161px;right:auto;border-radius:0 7px 7px 0;position:fixed}body.has-premio-box .btn-save-sticky{top:320px}body.has-premio-box .btn-help{top:455px}html[dir=rtl] .btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 295px)}html[dir=rtl] .btn-help{left:calc(50vw - 480px + 1050px / 12 * 7 + 193px)}}.popover{flex:0 0 auto;background:#fff;border-radius:4px;line-height:33px;padding:0 5px;position:relative;margin:25px 25px 25px 0;box-shadow:0 1px 14px rgba(156,117,198,.4),0 2px 4px rgba(0,0,0,.15);text-align:center}.popover:after{position:absolute;top:-7px;left:40px;width:20px;height:7px;background-image:url(../images/arrow.png);background-position:center;background-size:contain;background-repeat:no-repeat;display:none}.easy-modal{display:none;width:515px;max-width:calc(100vw - 30px);box-shadow:0 4px 6px rgba(0,0,0,.15);border-radius:6px;background-color:#fff;top:50%!important;transform:translateY(-50%)}.easy-modal .money-guaranteed svg,.upgrade-block .money-guaranteed svg{width:15px;vertical-align:text-bottom}.easy-modal .money-guaranteed{color:#a886cd;font-size:17px;line-height:24px;margin-bottom:20px}.easy-modal .easy-modal-inner{position:relative;padding:20px 50px}.easy-modal .easy-modal-close{position:absolute;right:0;top:0;padding:7px;line-height:12px;background-color:transparent;border:0}.easy-modal h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:13px;text-align:center;margin-top:0}.easy-modal .udner-title{font-size:17px}.easy-modal .udner-title span{font-size:15px;display:block;color:#bdbdbd}.easy-modal p{text-align:center;margin:0 auto 10px}.easy-modal ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.easy-modal .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.easy-modal .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}.easy-modal .user-name,.easy-modal .user-role{margin:0;font-size:13px}.easy-modal .form-horizontal__item>div{flex:0 0 auto}.easy-modal .user-name{font-weight:700;color:#828282;text-align:left}.link-back,.link-back:hover{color:#fff}.easy-modal .user-photo{float:left;margin-right:5px}.link-back{display:inline-block;border:1px solid #fff;border-radius:60px;font-size:17px;line-height:20px;text-align:center;padding:7px 46px}.upgrade-wrap{margin:15px auto;max-width:1260px}.upgrade-block{background-color:#fff;border-radius:9px;padding:48px 0 67px;margin-top:21px}.upgrade-block .easy-modal-inner{margin:0 auto;direction:ltr!important;padding:0 30px;max-width:1260px}.upgrade-block h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:5px;text-align:center;margin-top:0;line-height:33px}.upgrade-block .udner-title{font-size:17px}.upgrade-block .udner-title span{font-size:15px;display:block;color:#bdbdbd}.form-horizontal__item .chaty-widget .icon,.upgrade-block ul{display:inline-block}.upgrade-block p{text-align:center;margin:0 auto 10px}.upgrade-block ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.upgrade-block .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.upgrade-block .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}img.payment-img{margin:10px 0}.upgrade-block .form-horizontal__item>div{flex:0 0 auto}.upgrade-block .user-name{font-weight:700;color:#828282;margin:0;text-align:left;font-size:13px}.upgrade-block .user-role{margin:0;font-size:13px}.upgrade-block .user-photo{float:left;margin-right:5px}.upgrade-block .money-guaranteed{color:#b97fcf;font-size:16px;line-height:18px;margin:10px 0}.upgrade-block .money-guaranteed span.dashicons.dashicons-yes{background:#00bd00;color:#fff;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}.easy-modal.modal-upgrade{width:560px}.easy-modal.modal-upgrade .easy-modal-inner{padding:20px 0 0}.modal__wrap{padding:0 5px;text-align:center}.form-horizontal__item .chaty-widget{position:static;flex:0 0 250px!important}.form-horizontal__item .chaty-widget .icon svg{width:62px;height:62px}.form-horizontal__item .chaty-widget .icon:after{z-index:10;content:"" attr(data-label) "";font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px),-50%);white-space:nowrap;padding:16px 25px;line-height:21px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:10px}#toplevel_page_chaty-app img,.btn-red:hover,.text_update{color:#fff}.form-horizontal__item .chaty-widget .icon:before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.btn-red,.btn-white{z-index:100;line-height:27px;box-shadow:0 4px 4px rgba(0,0,0,.11);vertical-align:middle;position:relative;color:#fff}.btn-red:focus,.btn-red:hover{color:#fff}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after{right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.header{display:flex;padding:3px 0;margin-bottom:9px}.btn-red,.tooltip{display:inline-block}.btn-white{background-color:transparent;border:1px solid #fff;border-radius:19px;display:inline-block;padding:3px 20px;text-transform:uppercase;font-weight:700;text-decoration:none}.btn-white,.btn-white:focus,.btn-white:hover{color:#fff}.btn-red{border:0;text-transform:uppercase;font-weight:700;background-color:#ff6624;padding:6px 20px 4px;border-radius:19px}.btn-red svg{vertical-align:text-top;margin-left:5px}.text_update{top:2px;position:relative;margin:0;font-size:10px;left:15px}.sticky-wrapper{position:absolute;right:0;top:-370px;width:320px;z-index:99}.tooltip{position:relative}.chaty-widget-icons-left .tooltip .tooltiptext,.chaty-widget-icons-right .tooltip .tooltiptext{white-space:pre-wrap;display:block;width:250px;min-height:24px;color:#000;text-align:center;padding:0;top:2.5px;position:absolute;z-index:35;font-size:12px;line-height:36px}.tooltip .tooltiptext span{background-color:#fff;padding:0 15px;display:inline-block;vertical-align:middle;line-height:24px;height:24px;float:right;margin:0;border-radius:6px}.chaty-widget-icons-left .tooltip .tooltiptext span{float:left}.tooltip:hover .tooltiptext{visibility:visible}.chaty-widget-icons-right .tooltip .tooltiptext{justify-content:center;align-items:center;right:41px}.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext{right:35px}.chaty-widget-icons-left .tooltip .tooltiptext{align-items:center;justify-content:center;left:43px}.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext{left:37px}.update-nag{display:block!important}.notice,div.error,div.updated{display:none!important}div#setting-error-settings_updated{display:block!important}.domain__input,.domain__label{max-width:342px;display:block}.domain{background:rgba(168,134,205,.1);border-radius:4px;text-align:left;margin:0 0 10px;padding:10px 20px}.domain__label{font-size:17px;font-weight:700;margin:0 auto 6px}.domain__input{height:34px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:none;width:100%;margin:0 auto}.upg{background:0 0;border:none;text-align:center;width:270px;padding:0}.upg img,.upg svg{width:100%}.valid_domain{transition-property:margin-top;transition-delay:.3s;color:red;display:none}.payments{margin-bottom:5px}.easy-modal__bottom{padding:10px 10px 0;text-align:left;color:#828282;position:relative}.easy-modal__bottom .quote{position:absolute;left:65px;top:-4px}.easy-modal__bottom:before{content:'';display:block;position:absolute;left:0;top:0;width:100%;background:rgba(130,130,130,.1);height:2px}.easy-modal__bottom .easy-modal__bottom-p{text-align:left;font-weight:300;position:relative;margin-bottom:10px;font-size:14px;line-height:17px}.easy-modal__bottom .easy-modal__bottom-p p{text-align:left;margin:6px 0 0;line-height:15px}html[dir=rtl] body{background-position:0}html[dir=rtl] input[type=radio]:checked:before{text-indent:-1px}.chaty-new-widget-wrap{background:#f9fcfc url(../images/new_widget_bg.png) no-repeat left center;border-radius:10px;padding:30px 20px;margin:40px 30px 0 0;background-size:auto 100%}.chaty-new-widget-wrap h2{margin:0 0 30px;font-size:19px;color:#4f4f4f;line-height:1.4;font-weight:500}.chaty-new-widget-right p{font-size:14px;line-height:1.2;color:#4f4f4f;margin-top:0}.chaty-new-widget-right p strong{font-weight:700;font-size:16px}.chaty-new-widget-right li{font-size:14px;color:#727d81;position:relative;padding-left:20px;line-height:1.7;margin-bottom:10px}.chaty-new-widget-right li::before{content:"";position:absolute;top:5px;left:0;background-color:#7761df;width:10px;height:10px;border-radius:50%}.chaty-new-widget-right .upgrade-chatys a{font-size:14px;font-weight:500;padding:10px 26px;border-radius:40px;background:#dfddf7;color:#7761df;text-decoration:none;margin:10px 0 0 0;display:inline-block}.chaty-new-widget-row{display:flex;align-items:center}.chaty-new-widget-left{width:322px}.chaty-new-widget-right{padding-left:20px}.chaty-widget-icons-right .tooltip .tooltiptext{line-height:24px}.trigger-block{padding:0;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:360px}.chaty-switch{display:inline-block;height:34px;position:relative;padding:0 0 0 50px;line-height:24px}.chaty-switch input{display:none}.chaty-slider{background-color:#cfbde4;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s;width:40px;height:24px}.chaty-slider:before{background-color:#fff;bottom:4px;content:"";height:16px;left:4px;position:absolute;transition:.4s;width:16px}.trigger-block-input{font-size:14px}.trigger-block-input input{width:50px}input:checked+.chaty-slider{background-color:#a886cd}input:checked+.chaty-slider:before{transform:translateX(16px)}.chaty-slider.round{border-radius:34px}.chaty-slider.round:before{border-radius:50%}.trigger-option-block{padding:10px;border-bottom:solid 1px #eee2ff}.trigger-option-block:last-child{border-bottom:none}.gmt-data{display:none}.chaty-date-time-option:first-child .gmt-data{display:block}.chaty-date-time-option{padding:5px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.chaty-date-time-option.last{margin-bottom:15px}.date-time-content>*{vertical-align:middle;display:inline-block}.day-select{width:25%;display:inline-block;padding-right:5px}.date-time-content input,.date-time-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.day-label{width:50px;padding-right:5px;text-align:right}.day-time{width:10%;padding-right:5px}.day-buttons a{background:#bd2a00;text-align:center;display:inline-block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:36px;height:36px}.main .form-horizontal__item.hide-show-button{display:none}.main .form-horizontal__item.hide-show-button.active{display:flex}.custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image img{width:30px;height:30px;object-fit:cover;border-radius:50%}.chaty-channels .social-item-box.img-active .custom-chaty-image{display:block}.chaty-channels .social-item-box .custom-chaty-image,.chaty-channels .social-item-box .default-chaty-icon{width:30px;height:30px;cursor:pointer}.chaty-channels .social-item-box.img-active .default-chaty-icon{display:none}.social-item-box{display:block;height:30px;margin:0 0 5px 0;position:relative}#iconWidget{cursor:pointer}.chaty-channels{display:none}.chaty-widget.active .chaty-channels,.chaty-widget.hover:hover .chaty-channels{display:block}.preview .page .chaty-widget i.chaty-close-icon,.preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon{display:none!important}.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:block!important}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .tooltiptext{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .icon:before{display:none!important}span.social-tooltip{position:absolute;right:100%;background:#fff;padding:0 10px;color:#4f4f4f;top:0;z-index:1001;font-size:12px;margin:0 10px 0 0;border-radius:5px;display:none}.social-item-box:hover span.social-tooltip{display:block}span.social-tooltip:after{content:"";border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:6px;right:-9px}.chaty-widget-icons-left span.social-tooltip{margin:0 0 0 14px;left:100%;right:auto}.chaty-widget-icons-left span.social-tooltip:after{content:"";border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent;position:absolute;top:12px;right:100%}.chaty-date-time-option input[readonly]{background:#fff}.upgrade-upload-btn .upgrade-link{display:none!important}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.read-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.widget-icon__wrap a.upgrade-link{display:block;font-size:16px;text-align:center;padding-left:0;position:absolute;bottom:35px;right:0;width:70px;text-decoration:none;text-align:center;left:0;margin:0 auto}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.chaty-option-box{flex:calc(100% - 152px)}.chaty-data-and-time-rules{display:none}.chaty-date-time-option:hover .date-time-content{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.hover.chaty-widget:hover .tooltiptext{display:none!important}.preview .page .hover.chaty-widget:hover .icon:before{display:none!important}span.header-tooltip{position:relative;display:inline-block}span.header-tooltip span.dashicons.dashicons-editor-help{display:inline-block;cursor:pointer}span.header-tooltip-text{display:none;position:absolute;bottom:140%;left:0;width:250px;left:-110px;font-size:12px;font-weight:400;line-height:16px;background:#000;padding:5px;border-radius:5px;color:#fff}span.header-tooltip-text:before{content:"";top:100%;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent;position:absolute;left:0;right:0;margin:0 auto}span.header-tooltip:hover span.header-tooltip-text{display:block}.chaty-animation-pulse{animation:chaty-animation-pulse 1s forwards}.chaty-animation-jump{animation:chaty-animation-jump 1s forwards cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 1s forwards ease-out}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 1.5s forwards;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(-1em,4em)}.chaty-animation-spin{animation:chaty-animation-spin 1s forwards cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 1s forwards}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}@keyframes chaty-animation-jump{0%{transform:none}50%{transform:translateY(-.8em)}}@keyframes chaty-animation-waggle{0%{transform:none}50%{transform:rotateZ(-20deg) scale(1.2)}60%{transform:rotateZ(25deg) scale(1.2)}67.5%{transform:rotateZ(-15deg) scale(1.2)}75%{transform:rotateZ(15deg) scale(1.2)}82.5%{transform:rotateZ(-12deg) scale(1.2)}85%{transform:rotateZ(0) scale(1.2)}100%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%{transform:rotateZ(60deg) translate(0,-4em)}}@keyframes chaty-animation-spin{50%{transform:rotateZ(-20deg);animation-timing-function:ease}100%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{25%{opacity:.25}50%{opacity:1}75%{opacity:.25}100%{opacity:1}}.start-now,.start-now:after{animation-delay:0s}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.channels__view{display:inline-block;color:#444;margin-bottom:0;line-height:14px;padding-left:17px;position:relative;font-size:14px;margin-left:15px}.channels__view-check{position:absolute;z-index:-1;opacity:0}.channels__view-check:checked~.channels__view-txt::before{background:#a785cb;color:#fff}.channels__view-check:checked~.channels__view-txt::after{color:#fff;content:"\f147";font-family:dashicons;line-height:1;position:absolute;top:0;left:0}.channels__view-txt:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:14px;height:14px;line-height:14px;text-align:center;border:solid 2px #a785cb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.file-input,.widget-icon__block .custom-control.custom-radio .custom-control-label{position:relative}.channels__input{padding:9px 7px;border:0;line-height:24px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:9px;width:330px}.channels__input-box{position:relative;margin-right:5px}.widget-icon__block [class^=icon-]{display:block;border-radius:100%;text-align:center;width:40px;height:40px;line-height:40px;font-size:20px;margin:0 auto 6px}.widget-icon__block [class^=icon-] svg{color:#fff}.widget-icon__block .icon-upload{background:0 0;color:#a886cd}.widget-icon__block .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 42px;text-decoration:none;vertical-align:top;display:inline-block;max-width:70px}.widget-icon__block .custom-control.custom-radio .custom-control-label:before{transform:translateX(-50%);left:50%}.widget-icon__wrap{background:rgba(168,134,205,.1);padding:0;border-radius:4px;flex:none;font-size:0;margin-bottom:25px;position:relative}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}.file-input{width:40px;height:44px;display:block}.file-input input[type=file]{top:0;left:0;min-width:100%;min-height:100%;text-align:right;opacity:0;background:0 0;cursor:pointer;display:block;position:absolute}.btn-file,.form-group,.kv-file-content{position:relative}.form-group:hover :not(.file-input-new) .file-browse{display:block;z-index:10}.file-actions,.file-browse,.file-browse span,.file-drop-zone-title,.file-footer-caption,.file-preview-status{display:none}.form-group:hover :not(.file-input-new) .file-browse .icon-upload{background:rgba(0,0,0,.5)}.kv-file-content{width:40px;height:40px;background:#fff;border-radius:100%;text-align:center;margin:0 auto}.kv-file-content img{width:auto;height:auto;max-width:100%;max-height:100%}.file-preview{position:absolute}.file-preview-thumbnails{width:54px;height:54px;border-radius:100%;position:absolute;left:0;top:0}.file-preview-frame{position:absolute;left:0;top:0;right:0;z-index:10}.file-preview-frame.file-preview-initial{z-index:0}.file-input-new .file-browse{display:block}.file-input-new .file-browse span{display:block;color:#a886cd;text-decoration:underline;position:absolute;bottom:0;left:0;right:0}.file-input-new .file-browse:hover span,a.pro-plugin-url,a.rpt_tooltip{text-decoration:none}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}.preview{width:337px;z-index:99;height:373px;margin-right:15px;float:right;z-index:1001}body.has-premio-box .preview{top:320px}.preview.mobiel-view .page{width:202px}.preview.mobiel-view .page .chaty-widget .icon i{width:24px;height:24px;font-size:12px;line-height:24px}.is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 140px)}.preview h2{text-align:center;font-weight:700;line-height:normal;font-size:17px;color:#4f4f4f;margin-bottom:5px}.preview .page{background-color:#f2f2f2;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:5px;position:relative;height:194px;margin:0 auto}.preview .page .page-header{display:flex;align-items:center;background:#fff;border-radius:5px 5px 0 0;height:16px}.preview .page .page-header .circle{margin-left:9px;width:6px;height:6px;background:linear-gradient(153.19deg,#6371db 7.06%,#ff89c4 90.47%),#ffe663;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:50%}.preview .page .page-header svg:last-child{margin-left:auto;margin-top:7px;margin-right:-7px}.preview .page .chaty-widget{position:absolute;left:auto}.preview .page .chaty-widget .icon:after{z-index:10;content:'';font-size:13px;top:13px;white-space:nowrap;padding:0;line-height:0;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:0;right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.preview .page .chaty-widget .icon:before{content:'';right:-13px;left:auto;top:15px;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.preview .page .chaty-widget .icon i{width:30px;height:30px;font-size:18px;display:block;border-radius:100%;line-height:30px;text-align:center;overflow:hidden}.preview .page .chaty-widget .icon i.icon-chat-image{background:0 0}.preview .page .chaty-widget .icon i.icon-chat-image img{display:block;background:#a886cd}.preview .page .chaty-widget .icon i svg{fill:#fff;width:100%;height:100%}.preview .page .chaty-widget .icon i img{width:auto;height:auto;max-width:100%;max-height:100%}.mobiel-view .preview .page .chaty-widget .icon i{width:23px;height:23px;font-size:13px;line-height:23px}.preview .page .chaty-widget[style*="left: auto;"] .icon:before{right:auto;left:-11px;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.preview .page .chaty-widget[style*="left: auto;"] .icon:after{left:0;right:auto;transform:translate(calc(-100% - 6px),-50%)}.switch-preview{display:flex;width:160px;border-radius:5px;margin:15px auto 0;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset;background:#fff}.easy-modal-open,.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__label{flex:1;text-align:center;line-height:30px}.switch-preview__input[type=radio]:checked+label{background:#a886cd;color:#fff}html[dir=rtl] .preview{right:auto}html[dir=rtl] .is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)}a.pro-plugin-url{color:#fff;background:#7474d9;display:inline-block;margin-bottom:25px;-moz-border-radius:25px;-webkit-border-radius:25px;font-size:24px;border-radius:25px;padding:15px 45px}.test_textarea{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:100%;max-width:360px}.license-key{border:1px solid #ccc;background:#fff;width:100%;max-width:350px;margin:10px 0 20px}.license-key .license-key-header{border-bottom:1px solid #ccc;padding:15px 12px;font-weight:600;background:#f9f9f9;color:#23282d}.license-key .license-key-content{padding:15px 12px;background:#fff}.license-key .license-key-content input[type=text]{width:100%;font-size:14px;font-weight:400}.license-key .license-key-footer{border-top:1px solid #ccc;padding:15px 12px;background:#f9f9f9}.license-key .license-key-message{margin:10px 0 0;min-height:40px}.license-key .button-secondary{font-weight:400}.testimonial-error-message,.testimonial-success-message{background:#fff;margin:10px 0 0;padding:10px;border-left:solid 3px #dd4b39}.testimonial-success-message{border-left:solid 3px #00a65a}.save-testimonial-license-key{width:102px;text-align:center}.remove-testimonial-license-key{width:128px;text-align:center}.test-error-message{color:#dc3232}.hide-this-table,.lean-overlay{display:none!important}span.expired-message{color:#a00000;font-size:18px}.wrap.wrap-licenses{background:#fff;padding:10px 25px 25px}.chaty-help-btn{position:fixed;right:20px;bottom:20px;z-index:1001}.chaty-help-btn a{display:block;border:3px solid #fff;width:50px;height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:relative}.chaty-help-btn a img{width:100%;height:auto;display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-help-form{position:fixed;right:85px;border:1px solid #e9edf0;bottom:25px;background:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;width:320px;z-index:1001;direction:ltr;opacity:0;transition:.4s;-webkit-transition:.4s;-moz-transition:.4s}.chaty-help-form.active{opacity:1;pointer-events:inherit}.chaty-help-header{background:#f4f4f4;border-bottom:solid 1px #e9edf0;padding:5px 20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px 10px 0 0;font-size:16px;text-align:right}.chaty-help-header b{float:left}.chaty-help-content{margin-bottom:10px;padding:20px 20px 10px}.chaty-help-form p{margin:0 0 1em}.chaty-form-field{margin-bottom:10px}.chaty-form-field input,.chaty-form-field textarea{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:5px;width:100%;box-sizing:border-box;border:1px solid #c5c5c5}.chaty-form-field textarea{height:70px}.chaty-help-button{border:none;padding:8px 0;width:100%;background:#ff6624;color:#fff;border-radius:18px}.chaty-help-form .error-message{font-weight:400;font-size:14px}.chaty-help-form input.input-error,.chaty-help-form textarea.input-error{border-color:#dc3232}.chaty-help-btn span.tooltiptext{position:absolute;background:#000;font-size:12px;color:#fff;top:-35px;width:140%;text-align:center;left:-20%;border-radius:5px;direction:ltr}p.error-p,p.success-p{margin:0;font-size:14px;text-align:center}.chaty-help-btn span.tooltiptext:after{bottom:-9px;content:"";transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#000 transparent transparent;left:50%;position:absolute}p.success-p{color:green}p.error-p{color:#dc3232}html[dir=rtl] .chaty-help-btn{left:20px;right:auto}html[dir=rtl] .chaty-help-form{left:85px;right:auto}#rpt_container{margin-top:24px;width:100%}.rpt_plans .rpt_plan{-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.rpt_2_plans .rpt_plan{margin-right:2%;width:49%;float:left}.rpt_2_plans .rpt_plan:last-child{margin-right:0}.rpt_3_plans .rpt_plan{margin-right:2%;width:32%;float:left}.rpt_3_plans .rpt_plan:last-child{margin-right:0}.rpt_4_plans .rpt_plan{margin-right:1%;width:24.25%;float:left}.rpt_4_plans .rpt_plan:last-child{margin-right:0}.rpt_5_plans .rpt_plan{margin-right:.5%;width:19.6%;float:left}.rpt_5_plans .rpt_plan:last-child{margin-right:0}.rpt_style_bic .rpt_plan,.rpt_style_loc .rpt_plan{-webkit-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);-moz-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);box-shadow:1px 1px 3px 0 rgba(50,50,50,.19)}.rpt_plans .rpt_plan .rpt_title img{margin-right:10px;position:relative;vertical-align:middle}.rpt_plans .rpt_plan .rpt_title{background:#6371db;font-weight:300;padding:24px 18px;font-size:26px;color:#fff;line-height:35px;height:auto}.rpt_plans .rpt_plan .rpt_title span{display:inline-block;position:relative;top:-10px}.rpt_style_basic .rpt_plan .rpt_title{border-bottom:#ec86c6 solid 1px;border-top-left-radius:8px;border-top-right-radius:8px}.rpt_style_spec .rpt_plan .rpt_title{color:#fff}.rpt_style_bic .rpt_plan .rpt_title,.rpt_style_loc .rpt_plan .rpt_title,.rpt_style_swl .rpt_plan .rpt_title{background:#333}.rpt_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:20px;line-height:18px}.rpt_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:15px;line-height:15px}.rpt_4_plans .rpt_plan .rpt_title{font-size:17px;line-height:15px}.rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:12px;line-height:10px}.rpt_plans .rpt_recommended_plan .rpt_title{background:#6371db}.rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{position:relative;top:-44px;left:-10px;font-size:35px;line-height:0}.rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-26px}.rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:30px;top:-44px;left:-4px}.rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:25px;top:-30px;left:-4px}.rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:21px;top:-14px;left:-4px}.rpt_style_basic .rpt_plan .rpt_head{background:#ec86c6}.rpt_style_spec .rpt_plan .rpt_head{background:#222}.rpt_style_swl .rpt_plan .rpt_head{background:#fff}.rpt_plans .rpt_plan .rpt_head .rpt_price{padding:6px 10px;font-size:74px;line-height:100px;font-weight:300;text-align:center;color:#fff}.rpt_style_basic .rpt_plan .rpt_head .rpt_price,.rpt_style_spec .rpt_plan .rpt_head .rpt_price{text-shadow:1px 2px 7px rgba(0,0,0,.6)}.rpt_style_swl .rpt_plan .rpt_head .rpt_price{color:#000}.rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:62px}.rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:56px}.rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:38px}.rpt_4_plans .rpt_plan .rpt_head .rpt_price{font-size:69px;line-height:80px}.rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:53px;line-height:65px}.rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:47px;line-height:64px}.rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:31px;line-height:60px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price{font-size:59px;line-height:80px}.rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:44px;line-height:60px}.rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:37px;line-height:53px}.rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:24px;line-height:50px}.rpt_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:98px}.rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:74px}.rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:67px}.rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:83px}.rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:60px}.rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:54px}.rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:55px}.rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:49px}.rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:41px}.rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:42px}.rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:34px}.rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:26px}.rpt_plans .rpt_plan .rpt_head .rpt_recurrence{font-size:13px;font-weight:300;line-height:18px;padding:20px 40px 10px;color:#d3d3d3;text-align:center}.rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence{color:#d3d3d3}.rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence,.rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence{color:#f5f5f5}.rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence{color:grey}.rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence{font-size:11px;padding:20px 40px 4px}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:20px;font-weight:300;text-align:center;padding:10px 30px 20px}.rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px}.rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px}.rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:18px;padding:10px 10px 20px}.rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px;line-height:17px}.rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:16px}.rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:15px;line-height:18px;padding:10px 10px 20px}.rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:17px}.rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px;line-height:16px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:14px;line-height:20px;padding:0 20px 30px;font-weight:300;text-align:center;color:#fff}.rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px}.rpt_style_bic .rpt_plan .rpt_head .rpt_description,.rpt_style_loc .rpt_plan .rpt_head .rpt_description{color:#f5f5f5}.rpt_4_plans .rpt_plan .rpt_head .rpt_description{font-size:13px;line-height:18px}.rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:17px}.rpt_5_plans .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:18px}.rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:11px;line-height:17px}.rpt_plans .rpt_plan .rpt_features{padding:20px;background:#f5f5f5;text-align:center}.rpt_plans .rpt_plan .rpt_features .rpt_feature{font-size:16px;padding:6px 16px;border-bottom:1px dotted #d3d3d3}.rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child{border-bottom:none}.rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:14px}.rpt_style_bic .rpt_plan .rpt_features,.rpt_style_loc .rpt_plan .rpt_features,.rpt_style_swl .rpt_plan .rpt_features{background:#fff}.rpt_style_swl .rpt_plan .rpt_features .rpt_feature{padding:5px 16px}.rpt_4_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:14px}.rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:12px}.rpt_5_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:13px}.rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:11px}.rpt_plans .rpt_plan .rpt_foot{display:block;padding:10px 30px;border-top:#f5f5f5 solid 2px;text-align:center;color:#fff;font-size:24px;text-decoration:none;font-weight:300;transition:All .5s ease;-webkit-transition:All .5s ease;-moz-transition:All .5s ease;-o-transition:All .5s ease}.rpt_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:19px}.rpt_style_basic .rpt_plan .rpt_foot{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.rpt_style_swl .rpt_plan .rpt_foot{border-top:none;padding:10px 30px 20px;color:#000;background:#333}.rpt_4_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:19px}.rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot,.rpt_5_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:17px}.rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:16px}.rpt_plans .rpt_plan .rpt_foot:hover{opacity:.8}.rpt_style_swl .rpt_plan .rpt_foot:hover{opacity:1}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;padding:16px 0}.rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:26px}.rpt_4_plans .rpt_recommended_plan .rpt_foot{font-size:22px;font-weight:300;padding:10px 0}.rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:19px;padding:10px 0}.rpt_5_plans .rpt_recommended_plan .rpt_foot{font-size:20px;font-weight:300;padding:10px 0}.rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:18px;padding:10px 0}.rpt_custom_btn{border-bottom-left-radius:5px;border-bottom-right-radius:5px;text-align:center;padding:16px 20px}.rpt_plans .rpt_recommended_plan{position:relative;top:-10px}.rpt_recommended_plan img.rpt_recommended{position:absolute!important;right:10px!important}.rpt_style_bic .rpt_recommended_plan,.rpt_style_loc .rpt_recommended_plan{-webkit-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);-moz-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);box-shadow:1px 1px 6px 0 rgba(50,50,50,.39)}a.rpt_tooltip{display:block;outline:0;position:relative}a.rpt_tooltip strong{line-height:30px}a.rpt_tooltip>span.intool{width:90%;padding:10px;margin-top:56px;opacity:0;visibility:hidden;z-index:10;position:absolute;top:-15px;display:block;color:#f5f5f5;font-size:13px;line-height:20px;background:#333;font-weight:300;text-align:center}a.rpt_tooltip:hover{cursor:zoom-in}a.rpt_tooltip .rpt_tooltip_plus{text-decoration:none!important;display:inline;font-size:12px;font-weight:700;position:relative;top:-6px}.rpt_feature:hover a.rpt_tooltip>span.intool{opacity:.98;text-decoration:none;visibility:visible;overflow:visible}a.rpt_tooltip span.intool b{width:10px;height:10px;margin-left:35%;margin-top:-15px;position:absolute;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);display:none \0/;background:#333}.rpt_3_plans a.rpt_tooltip>span.intool{margin-left:-1%}.rpt_4_plans a.rpt_tooltip>span.intool{margin-left:0}.rpt_5_plans a.rpt_tooltip>span.intool{margin-left:-2%}.entry-content .rpt_plan a,.rpt_plan a{border-bottom:none!important}.rpt_plans .rpt_plan .rpt_icon{max-width:30px;max-height:30px}.rpt_plans .rpt_plan img{display:inline;margin:0 10px 0 0;padding:0;-webkit-box-shadow:0 0 0 0 transparent;-moz-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;border:none}.chaty-new-widget-wrap{background:#f9fcfc url(../images/new_widget_bg.png) no-repeat left center;border-radius:10px;padding:30px 20px;margin:40px 30px 0 0;background-size:auto 100%}.chaty-new-widget-wrap .h2{margin:0 0 20px;font-size:20px;color:#4f4f4f;line-height:1.4;font-weight:700}.chaty-new-widget-right p{font-size:14px;line-height:1.2;color:#4f4f4f;margin-top:0}.chaty-new-widget-right p strong{font-weight:700;font-size:16px}.chaty-new-widget-right li{font-size:14px;color:#727d81;position:relative;padding-left:20px;line-height:1.7;margin-bottom:10px}.chaty-new-widget-right li::before{content:"";position:absolute;top:5px;left:0;background-color:#7761df;width:10px;height:10px;border-radius:50%}.chaty-new-widget-right .upgrade-chatys a{font-size:14px;padding:10px 26px;border-radius:40px;background:#dfddf7;color:#7761df;text-decoration:none;margin:10px 0 0 0;display:inline-block;text-transform:uppercase;font-weight:700}.chaty-new-widget-row{display:flex;align-items:center}.chaty-new-widget-left{width:322px}.chaty-new-widget-right{padding-left:20px}select.chaty-select,select.form-fonts{width:360px;max-width:100%;border:none;color:#32373c;outline:0;padding:5px 7px;line-height:26px;background-color:#fff;border-radius:5px;height:36px;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c}.icon.label-tooltip:after{width:250px;white-space:normal;line-height:16px;padding:10px}@media only screen and (max-width:640px){.rpt_plans .rpt_plan{width:96%;margin:10px 2% 20px!important}.rpt_plans .rpt_plan .rpt_title{position:relative;font-size:26px!important;line-height:35px!important}.rpt_plans .rpt_plan .rpt_head .rpt_price{font-size:74px!important;line-height:100px!important}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:17px!important;line-height:28px!important;padding:10px 40px 20px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:15px!important;line-height:26px!important;padding:0 40px 30px}.rpt_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 16px;font-size:14px!important}.rpt_plans .rpt_plan .rpt_foot{padding:10px 40px;text-align:center;color:#fff;font-size:20px}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;font-weight:300;padding:20px 0}.rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px!important;left:-10px!important;font-size:35px!important}}#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature,#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a,#rpt_pricr .rpt_plan_ori .rpt_foot,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_description,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle,#rpt_pricr .rpt_plan_ori .rpt_title{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif!important;font-weight:300!important}p.udner-title strong{font-size:40px;padding-bottom:30px;display:block;color:#b97fcf}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:5px;height:26px;width:26px;background:#ff6624;text-align:center;line-height:36px;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:block;margin:0;width:100%}.move-icon{display:inline-block;vertical-align:middle}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.chaty-advance-settings{width:100%;border:solid 1px #a785cb;margin:20px 0 0 0;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background:#f2f2f2;display:none;min-height:70px;position:relative}.chaty-setting-col>*{display:inline-block;padding:0 0 10px 0;vertical-align:middle}.chaty-setting-col>label{width:150px}.chaty-setting-col .channels__view{margin:0;padding:0}.chaty-setting-col input[type=text],select.channel-select-input{width:300px;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-family:Rubik,sans-serif;font-size:17px}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.chaty-setting-col a.upload-chaty-icon{background:#a886cd;color:#fff;text-decoration:none;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:inline-block}.chaty-setting-col a.upload-chaty-icon span{line-height:40px}.chaty-setting-col input[type=text].chaty-color-field{width:40px}.chaty-setting-col input[type=text]:read-only{background:#fff}.chaty-pro-feature{position:absolute;left:0;width:100%;text-align:center;top:0;height:100%;vertical-align:middle;background:rgba(255,255,255,.4);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:none}.chaty-advance-settings:hover .chaty-pro-feature,.chaty-date-time-option:hover .chaty-pro-feature{display:inline-block}.chaty-pro-feature a{text-decoration:none;background:#ff6624;color:#fff;padding:0 10px;line-height:36px;display:inline-block;top:50%;position:absolute;left:0;right:0;width:180px;margin:-20px auto 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-pro-feature a:hover{background:#a886cd}a#upload_qr_code{background:#fff;display:inline-block;height:40px;width:40px;text-align:center;line-height:40px;text-decoration:none}a#upload_qr_code span{line-height:36px}.close-btn-set,.cls-btn-settings{opacity:0;visibility:hidden;pointer-events:none}.close-btn-set.active,.cls-btn-settings.active{opacity:1;visibility:visible;pointer-events:auto}.chaty-settings.cls-btn{margin-left:164px}.section2{padding:25px 15px 30px;border-top:2px solid rgba(130,130,130,.1)}#chaty-social-close{display:none}#chaty-social-Facebook_Messenger .chaty-default-settings{padding-bottom:25px}ul#channels-selected-list{margin:0;padding:0}.channels-selected-list li.ui-chaty-state-hl{border:dashed 1px #6972da;min-height:95px}.viber-help{position:absolute;right:43px;bottom:-4px;font-size:12px;color:#665cac;text-decoration:underline;cursor:pointer}.viber-help span{position:absolute;width:210px;left:-80%;text-align:center;background:#000;padding:5px;color:#fff;font-size:12px;bottom:20px;z-index:101;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:none}.viber-help:hover span{display:block}a.create-rule{background:#ff6624;text-decoration:none;padding:5px 20px;color:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-settings.cls-btn span{padding-left:2px}.rpt_description.title-text{padding:25px 0 0!important;display:block!important}.chaty-page-option{padding:5px;background:#f6f3fa;margin-bottom:15px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.url-select{width:17%;display:inline-block;padding-right:5px}.url-content>*{vertical-align:middle}.url-option{width:20%;display:inline-block;padding-right:5px}.url-box{width:25%;display:inline-block;padding-right:0;text-align:right}.url-values{width:calc(37% - 46px);display:inline-block;padding-right:5px}.day-buttons,.url-buttons{width:36px;display:inline-block;float:right;padding:2px 0 0 0}span.chaty-url{font-size:12px;line-height:12px}.url-content .remove-chaty{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.url-content input,.url-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.chaty-option-box .page-options:hover .chaty-page-option{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.page-options{position:relative;display:none}.chaty-option-box .page-options:hover .chaty-pro-feature{display:block}.preview{position:fixed;top:190px;width:337px;height:290px;bottom:auto}.preview-section-chaty{position:static;width:352px;height:320px;display:block;vertical-align:baseline;float:right}select.multiple-options{max-width:100%}.rpt_plan.pro-active .rpt_head{padding-bottom:50px}.rpt_plan.pro-active .rpt_head .rpt_description{display:none}.updates-form-form{min-height:calc(100vh - 280px)}.popup-form-content{background:#fff;min-height:100px;width:450px;text-align:center;margin-top:50px;border:solid 1px #c1c1c1}.updates-content-buttons button{margin:10px 3px!important;float:left}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.updates-content-buttons a:focus,.updates-content-buttons a:hover{color:#fff;background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.updates-content-buttons a:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.updates-content-buttons button.form-cancel-btn{float:right!important}.form-submit-btn{background-color:#3085d6}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.add-update-folder-title{font-size:20px;line-height:30px;padding:20px 20px 0}.folder-form-input{padding:10px 20px}.folder-form-input input{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box;height:2.625em;margin:1em auto}.updates-content-buttons{background:#c1c1c1;padding:0 20px}.notice.chaty-notice{display:block!important}.preview .h2{padding:40px 0 10px 0;text-align:center;font-weight:700}.pro-features{position:relative;display:inline-flex}.pro-item{position:relative}.pro-button{display:none;position:absolute;width:100%;top:0;left:0;height:100%;line-height:36px;text-align:center}.pro-button a{display:block;line-height:36px}.pro-features:hover .pro-item{opacity:.25;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.pro-features:hover .pro-button{display:block}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.sp-preview{padding:0;margin:0 5px 0 0;height:40px;width:40px;border:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-preview-inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-dd{display:none}span.facustom-icon{display:block;width:50px;height:50px;font-size:30px;line-height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}span.default-chaty-icon .facustom-icon{display:none}span.default-chaty-icon.has-fa-icon .facustom-icon{display:block}span.default-chaty-icon.has-fa-icon svg{display:none}.preview .page .chaty-widget span.facustom-icon{width:30px;height:30px;line-height:30px;font-size:20px}.preview .page .chaty-widget span.facustom-icon i{line-height:30px;font-size:18px}.preview.mobiel-view .page .chaty-widget span.facustom-icon{width:24px;height:24px;line-height:24px;font-size:12px}.preview.mobiel-view .page .chaty-widget svg{width:24px;height:24px}.preview.mobiel-view .page .chaty-widget span.facustom-icon i{line-height:24px;font-size:14px}.preview.mobiel-view .page .chaty-widget .social-item-box{height:24px;margin:0 0 4px 0}label.custom-control.custom-radio:before{display:none}.channels-selected-list li#chaty-social-Poptin{padding-bottom:30px}.chaty-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:100001;background:rgba(0,0,0,.75)}.chaty-popup-box{padding:0;width:600px;max-width:100%;margin:auto;top:50%;position:absolute;left:0;right:0;border-radius:5px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);text-align:center;background:#fcfcfc}.chaty-popup-header{padding:15px;font-size:20px;border-bottom:solid 1px #e6e6e6}.chaty-popup-content{background:#fff;padding:15px}.chaty-popup-content iframe{margin:30px 0}.chaty-popup-footer{padding:15px;border-top:solid 1px #e6e6e6}.chaty-popup-footer button{border:none;padding:10px 20px;border-radius:4px;background:#00c478;color:#fff}.country-option-box{position:relative}.country-option-box:hover .country-list-box{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.country-option-box:hover .chaty-pro-feature{display:block}.custom-css{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:360px;max-width:100%}.close-chaty-popup span{line-height:20px}.close-chaty-popup{margin:0;padding:0;background:0 0;border:none;float:right;background:#000;border-radius:50%;color:#fff;text-align:center;width:24px;height:24px}.css-option-box{width:350px;max-width:100%}.chaty-channel .advanced-settings{display:none}.chaty-channel[data-channel=Custom_Link] .advanced-settings.Custom_Link-settings,.chaty-channel[data-channel=Email] .advanced-settings.Email-settings,.chaty-channel[data-channel=Link] .advanced-settings.Link-settings,.chaty-channel[data-channel=Linkedin] .advanced-settings.Linkedin-settings,.chaty-channel[data-channel=WeChat] .advanced-settings.WeChat-settings,.chaty-channel[data-channel=Whatsapp] .advanced-settings.Whatsapp-settings{display:block}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon{float:left}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels{float:right}.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box{margin:0 0 0 5px;vertical-align:bottom}.chaty-widget.horizontal span.social-tooltip{right:auto;left:auto;transform:translate(calc(-50% + 15px),-150%);top:0;margin:0 auto}.chaty-widget.horizontal span.social-tooltip:after{top:100%;left:0;right:0;margin:0 auto;transform:rotate(-90deg);width:10px;height:10px}.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after{transform:rotate(90deg)}.chaty-widget.horizontal .social-item-box{display:inline-block;margin:0 5px 0 0;vertical-align:bottom}.chaty-widget.active.horizontal .chaty-channels,.chaty-widget.hover.horizontal:hover .chaty-channels{display:inline-block}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:inline-block!important;vertical-align:bottom}.ui-sortable-handle{touch-action:inherit!important}@media (min-width:1281px){.btn-help,.remove-chaty-widget-sticky{transform:rotate(90deg);position:fixed;left:calc(50vw - 480px + 1050px / 12 * 7 + 372px);top:306px;right:auto}}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:1070px;width:100%}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}@media screen and (max-width:1280px){.preview{top:180px}.chaty-sticky-buttons{position:fixed;right:0;top:239px;z-index:601}.preview-section-chaty{display:none;z-index:1001;position:fixed;left:0;right:0;margin:0 auto}.preview-section-chaty.active,.preview-section-overlay.active{display:block}.preview-section-overlay{position:fixed;background:rgba(0,0,0,.6);top:0;left:0;width:100%;height:100vh;z-index:999;display:none;float:none;width:100%}.preview-help-btn{display:block;top:177px;background:#a785cb;padding:0;line-height:42px;height:42px;width:110px}.preview-help-btn:focus,.preview-help-btn:hover{color:#fff}.preview{position:relative;top:0!important;margin:0 auto!important;left:0;right:0;float:none}.preview.mobiel-view .page{width:202px;height:300px}.btn-save-sticky{top:20px!important}.btn-help{top:60px!important}}@media screen and (max-width:1180px){.section.one{max-width:inherit}.main .channels-icons{max-width:600px;text-align:center;margin:0}.main .channels-icons>.icon{display:inline-block;vertical-align:middle;text-align:center;float:none;margin:0;padding:2px 4px 0;width:58px;height:58px}.container{max-width:1180px;padding:0 20px 0 10px}.chaty-settings.cls-btn{margin-left:137px}.chaty-settings.cls-btn span{padding-left:0}}@media screen and (max-width:960px){.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings .move-icon{width:15px}.channels-selected__item .icon span.custom-chaty-image,.channels-selected__item .icon span.custom-chaty-image img{width:40px;height:40px}.chaty-default-settings .icon{width:40px}.chaty-default-settings .channels__device-box{width:135px}.chaty-default-settings .channels__device-box .channels__view{margin:0}.chaty-settings{width:30px;text-align:center}.chaty-default-settings .icon.icon-md svg,.main .channels-selected__item .icon{width:40px;height:40px;cursor:move}.chaty-default-settings{display:block;width:100%;padding-bottom:0}.chaty-default-settings .channels__input-box input{width:100%}.chaty-default-settings .channels__input-box{width:calc(100% - 255px)}.viber-help{top:50px;bottom:auto}.day-buttons{width:calc(100% - 71% - 102px)}.url-values{width:calc(37% - 52px)}body{background:#af7dd0 url(../images/bg.svg) no-repeat}.modal-dialog.modal-lg{display:none}}@media screen and (max-width:680px){.chaty-default-settings>*{display:inline-block;vertical-align:top}.section-title{font-size:20px;margin:0 0 15px 0}.chaty-default-settings .channels__input-box{width:calc(100% - 80px)}.viber-help{position:relative;top:auto;left:auto;right:auto;padding:5px 0 0 0;width:100%}.chaty-default-settings .channels__device-box{width:calc(100% - 35px);text-align:left;padding:10px 0 0 0}.chaty-settings{padding:10px 0 0 0}.help-section{display:block;width:100%;text-align:left}.chaty-setting-col input[type=text],select.channel-select-input{width:100%}.chaty-default-settings .channels__device-box .channels__view{margin:0 15px 0 0}.chaty-setting-col>*{display:block}.main .form-horizontal__item-label{display:block;width:100%;flex:auto;text-align:left;padding:0 0 5px 0}button.chaty-input-button,select.chaty-select,select.form-fonts{width:100%}.country-option-box{width:100%}.form-horizontal__item>div{display:block;width:100%}.day-select{width:100%;padding-bottom:10px}.chaty-date-time-option .day-time{width:calc(50% - 78px);padding-bottom:0}.chaty-date-time-option .day-buttons{width:36px;padding-bottom:0}.chaty-date-time-option .time-data{display:none}.chaty-date-time-option.first .time-data{display:inline-block}.chaty-date-time-option.first .day-time{width:calc(50% - 58px);padding-bottom:10px}.chaty-date-time-option.first .day-buttons{width:calc(50% - 7px);vertical-align:top}.url-content>*{float:left}.url-box,.url-option,.url-select{width:50%;word-break:break-all;padding:0 2px}.url-values{width:calc(50% - 36px)}.url-box,.url-buttons,.url-values{padding-top:5px}.url-values{padding-left:2px}.url-buttons{padding-right:2px}.chaty-cls-setting .chaty-default-settings .channels__input-box{width:calc(100% - 114px)}.chaty-cls-setting .chaty-settings.cls-btn{margin-left:0;padding:0}.chaty-cls-setting .input-example{display:none}.chaty-cls-setting .input-example.active{display:block;position:relative;top:4px}.css-option-box,.custom-css{width:100%}.main .channels-selected__item .input-example{left:0;top:40px;position:static;width:100%;text-align:left;margin-top:10px}.viber-help span.help-text{left:-40px}.form-horizontal__item span.header-tooltip-text{width:210px;left:-10px}.form-horizontal__item span.header-tooltip-text:before{left:20px;right:auto}.main #positionPro{margin-left:0}}@media screen and (max-width:600px){.url-content>*{width:100%;padding:0 0 5px 0;text-align:left}.url-content>.url-buttons{padding:0}a.remove-chaty-widget-sticky{top:290px}.pro-features{position:relative;display:block}.chaty-setting-col .pro-features.upload-image{display:inline-block}.btn-red,.btn-white{font-size:14px;margin:2px 0;float:right}.update-nag{display:none!important}.chaty-new-widget-row{display:block}.chaty-new-widget-left{width:100%;float:none}.chaty-new-widget-right{width:100%;float:none;padding:20px 0 0 0}.chaty-new-widget-left img{max-width:100%}.chaty-new-widget-wrap{margin:40px 10px 0 0}.btn-save-sticky{top:20px}.btn-help{top:68px!important;height:32px;line-height:34px;padding:0;width:100px}.preview-help-btn{top:183px;height:32px;line-height:34px;padding:0;width:100px}.btn-help span{width:18px;height:18px;line-height:18px;font-size:11px}.mobile-message{display:block}.mobile-button{display:block;margin:10px 0 0 0;float:right}.icon:not(.active):hover:after,.icon:not(.active):hover:before{opacity:0;pointer-events:auto}.icon:not(.active):hover .color-element,.main .channels-icons>.icon:not(.active):hover .color-element{fill:#bdbdbd}.icon:not(.active) .color-element,.main .channels-icons>.icon:not(.active) .color-element{fill:#bdbdbd}.container{padding-left:6px}.btn-save-sticky{font-size:10px;width:32px;height:65px;padding:10px 0 7px;text-align:center}.btn-save-sticky svg{width:25px;margin:0 auto}.btn-save-sticky span{font-size:10px;line-height:10px;height:10px}}@media screen and (max-width:480px){.btn-red,.btn-white{font-size:12px;width:180px;text-align:center}.btn-red svg{width:12px;vertical-align:middle}span.expired-message{color:#a00000;font-size:13px;display:block;padding:0 0 10px 0}a.renew-button{float:right}p.plan_date{font-size:14px}}@media screen and (max-width:400px){.btn-red,.btn-white{font-size:10px;width:160px;text-align:center}.chaty-help-btn{right:20px;bottom:5px}}
1
+ *,.rpt_plans .rpt_plan,::after,::before{box-sizing:border-box}.btn-help,.btn-help:active,.btn-help:hover,.btn-save,.btn-save-sticky a,.icon:after,i{color:#fff}body,i{-webkit-font-smoothing:antialiased}.main .channels-selected__item .btn-cancel:focus,.main .channels-selected__item.disabled .btn-cancel:focus,.main .channels-selected__item.disabled input:focus,button:focus,input:focus{outline:0}.easy-modal ul,.upgrade-block ul{list-style-image:url(../images/icon-check-purple.svg);columns:2}.btn-red,.link-back{text-decoration:none}.btn-file,.kv-file-content,.preview .page,.switch-preview{overflow:hidden}@font-face{font-family:icomoon;src:url(../fonts/icomoon.ttf?qh3c2u) format('truetype'),url(../fonts/icomoon.woff?qh3c2u) format('woff'),url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');font-weight:400;font-style:normal}i{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-moz-osx-font-smoothing:grayscale}.easy-modal__bottom,.plan_date,body,button,input{font-family:Rubik,sans-serif}.icon-chat-base:before{content:"\e901"}.icon-chat-db:before{content:"\e903"}.icon-chat-bubble:before{content:"\e900"}.icon-chat-smile:before{content:"\e904"}.icon-upload:before{content:"\e902"}.icon-phone:before{content:"\f095"}.icon-whatsapp:before{content:"\f232"}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}.container,.ml-auto{margin-left:auto}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto}.col-12{flex:0 0 100%;max-width:100%}.text-center{text-align:center}.text-primary{color:#a886cd}.align-top{align-self:flex-start}.custom-control{display:inline-block;color:#5d5c5c;margin-bottom:0;cursor:pointer;min-height:22px;line-height:22px;padding-left:20px;position:relative}.custom-control .custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control .custom-control-input.js-upload:disabled~.custom-control-label::before{background:rgba(0,0,0,.1)}.custom-control .custom-control-input:disabled~i{opacity:.5}.custom-control+.custom-control{margin-left:16px}.custom-control.custom-checkbox .custom-control-label{position:static}.custom-control.custom-checkbox .custom-control-label::before{content:'';transition:all .2s;position:absolute;top:3px;left:0;display:block;width:15px;height:15px;line-height:15px;text-align:center;background-color:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:3px;background-position:center;background-repeat:no-repeat;background-size:15px}.color-picker-btn,.custom-control.custom-radio .custom-control-label::before{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea}.custom-control.custom-checkbox .custom-control-label::after{display:none}.custom-control.custom-checkbox .custom-control-input:checked~.custom-control-label::before{background-image:url(../images/icon-check.svg);background-color:transparent}.custom-control.custom-radio{padding-left:27px}.custom-control.custom-radio .custom-control-label{position:static}.custom-control.custom-radio .custom-control-label::before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:22px;height:22px;background-color:#fff;box-shadow:0 0 15px 0 #eaeaea;border-radius:50%;border:5px solid #fff}.custom-control.custom-radio .custom-control-label::after{display:none}.custom-control.custom-radio .custom-control-input:checked~.custom-control-label::before{background:#a886cd}.position-pro{background:rgba(168,134,205,.1);border-radius:4px;display:flex;padding:6px 0;transition:all .2s;margin-top:11px;flex-wrap:wrap}.position-pro>div{flex:0 0 auto;padding:6px 15px}.position-pro>div>label:first-child{display:block;margin-bottom:10px}.position-pro>div .custom-control-group{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;display:flex;align-items:center;width:150px;height:34px}.position-pro>div .custom-control-group .custom-control{width:75px;padding:0;margin:0!important}.position-pro>div .custom-control-group .custom-control .custom-control-label{width:100%;color:#e0e0e0;height:34px;display:flex;align-items:center;padding:6px 7px}.position-pro>div .custom-control-group .custom-control .custom-control-label:before{content:none}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label{color:#a886cd;box-shadow:inset 0 3px 7px rgba(0,0,0,.08)}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label path{fill:#a886cd}.icon:not(.active):not(:hover) .color-element,.main .channels-icons>.icon:not(.active):not(:hover) .color-element{fill:#bdbdbd}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label{border-radius:5px 0 0 5px;text-align:left}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label svg{margin-right:5px}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label{border-radius:0 5px 5px 0;display:flex;justify-content:flex-end}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label svg{margin-left:5px}.btn-red,.color-picker .color-picker-radio label+label{margin-left:12px}.position-pro input{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:5px;border:0;line-height:24px;padding:5px 7px;width:60px;margin-right:3px}.color-picker{background:#fff;box-shadow:0 0 10px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 0 10px 2px rgba(0,0,0,.2);-moz-box-shadow:0 0 10px 2px rgba(0,0,0,.2);border-radius:4px;width:330px;display:none;position:relative}.color-picker .color-picker-radio{display:flex;padding:6px 8px 10px;border-bottom:1px solid rgba(130,130,130,.1)}.color-picker .color-picker-radio label{border-radius:50%;width:28px;height:28px;position:relative;cursor:pointer;font-size:0}.color-picker .color-picker-radio label span{display:block;width:28px;height:28px;vertical-align:top;opacity:0;transition:all .2s;background-position:center;background-repeat:no-repeat;background-image:url(../images/icon-check-white.svg)}.color-picker .color-picker-radio label input{position:absolute;z-index:-1;opacity:0}.color-picker .color-picker-radio label input:checked+span{opacity:1}.btn-help span,.color-picker .color-picker-custom a{margin-left:5px}.color-picker .color-picker-custom{padding:10px 8px 16px}.color-picker .color-picker-custom>div{display:flex;align-items:center}.color-picker .color-picker-custom>div+div{margin-top:10px}.color-picker .color-picker-custom .circle{color:#ff6376;background:#fff;border:1px solid #d0d0d0;border-radius:50%;width:28px;height:28px;align-items:center;justify-content:center;display:flex;margin-right:3px;font-size:14px}a,a:focus{color:#a886cd}body,button{font-size:17px}.color-picker .color-picker-custom input{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;height:34px;width:180px}.color-picker-btn{background-color:#fff;box-shadow:0 0 15px 0 #eaeaea;border-radius:4px;border:0;padding:6px 8px;line-height:17px}.color-picker-btn .circle{display:inline-block;vertical-align:top;width:15px;height:15px;border-radius:50%;margin:1px 4px 1px 0}.color-picker-btn svg{transition:all .2s;margin-left:8px}.color-picker-btn-close{background-color:transparent;border:0;padding:5px;line-height:17px;position:absolute;right:0;top:0}.color-picker-btn-close svg{transform:rotate(180deg)}.switch{display:flex;align-items:center;margin-bottom:0;position:relative;flex:0 0 auto}.switch input[type=checkbox]{pointer-events:none;opacity:0;position:absolute;top:0;right:0;z-index:-1;width:0;height:0}.switch input[type=checkbox]:checked+.switch__styled{background:#a886cd;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}.switch input[type=checkbox]:checked+.switch__styled:after{left:40px;background:#fff}.form-group .switch{height:42px}.switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;margin:0 8px;display:inline-block;height:34px;width:72px;border-radius:17px;position:relative;transition:all .2s;cursor:pointer;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;background:#cfbde4}.switch__styled:after{content:'';position:absolute;left:2px;top:2px;height:30px;width:30px;border-radius:50%;background-color:#fff;transition:all .2s;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset}.switch.custom-switch{margin-right:auto;margin-left:30px}.switch.custom-switch .switch__styled{background:linear-gradient(283.61deg,#f6f6f6 7.4%,#fff 91.67%),#fff;box-shadow:0 4px 14px rgba(0,0,0,.15)}body{height:auto;background-image:url(../images/bg.svg);background-position:155px 30px;background-repeat:no-repeat;background-size:calc(100% - 150px) auto;background-attachment:fixed;color:#4f4f4f;padding-bottom:50px;margin:0}button{cursor:pointer}button#collapse-button{font-size:13px}input{font-size:17px}#cht-form input[type=submit]{opacity:0;position:absolute}a:focus{box-shadow:none}::-webkit-input-placeholder{color:#e0e0e0}::-moz-placeholder{color:#e0e0e0}:-ms-input-placeholder{color:#e0e0e0}:-moz-placeholder{color:#e0e0e0}.section{padding:30px 15px;position:relative}.section+.section{border-top:2px solid rgba(130,130,130,.1)}.section.one{max-width:680px}.section-title{font-family:Oswald,sans-serif;font-size:30px;color:#000;line-height:44px;margin-bottom:30px;font-weight:400;margin-top:0;display:flex}.section-title strong{margin:0 14px 0 0;text-align:right;font-weight:700}.main{background-color:#fff;border-radius:9px;position:relative}.main .channels-icons{display:flex;flex-wrap:wrap;margin:0 -8px 20px}.main .channels-icons>.icon{padding:0 8px;margin-bottom:16px}.main .channels-icons>.icon .color-element{transition:all .2s}.main .channels-icons>.icon:not(.active) svg{cursor:pointer}.main .channels-selected{padding-top:20px;position:relative;min-height:220px}.main .channels-selected__item{display:flex;align-items:center;flex-wrap:wrap;position:relative}.main .channels-selected__item .icon{margin-right:10px;cursor:pointer;width:50px;border-radius:100%;height:50px;text-align:center;vertical-align:middle}.main .channels-selected__item .icon>i{font-size:30px;line-height:50px}.main .channels-selected__item .btn-cancel{position:absolute;right:-15px;top:-15px;transform:translate(50%,-50%);background:linear-gradient(0deg,#333,#333),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:0;z-index:1;box-shadow:0 4px 14px rgba(0,0,0,.15);cursor:pointer}.main .channels-selected__item .input-example{font-size:13px;padding-top:0;line-height:14px;color:#444;opacity:.8;position:absolute;left:calc(50px + 16px + 7px);top:50px}.main .channels-selected__item.disabled .icon{cursor:default}.main .channels-selected__item.disabled .icon .color-element{fill:#e9e9e9}.main .channels-selected__item.disabled input{box-shadow:0 4px 14px rgba(179,179,179,.15);color:#e9e9e9}.main .channels-selected__item.disabled input::-webkit-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input::-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-ms-input-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled input:-moz-placeholder{color:#e9e9e9}.main .channels-selected__item.disabled .btn-cancel{cursor:default;background:linear-gradient(0deg,#cfcfcf,#cfcfcf),linear-gradient(153.18deg,#6371db 7.07%,#ff89c4 90.47%)}.btn-help,.btn-save-sticky,.channels__view,.icon:not(.active) svg{cursor:pointer}.main .channels-selected__item.disabled .input-example{color:#e9e9e9}.main #positionPro{margin-left:-122px}.main .form-horizontal__item{display:flex;flex-wrap:wrap}.main .form-horizontal__item.active+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item:not(.o-channel)+.form-horizontal__item{padding-top:30px}.main .form-horizontal__item-label{flex:0 0 122px;margin:0 14px 0 0;text-align:right;font-weight:700}.header,.main .form-horizontal__item.flex-center{align-items:center}.main .form-horizontal__item>div>input{background:#fff;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;border:0;line-height:24px;padding:5px 7px}.main .form-horizontal__item>div>input.widget-size__input{width:47px;height:34px;text-align:center}.icon{border-radius:50%;vertical-align:top;font-size:0;position:relative}.icon:after,.icon:before{position:absolute;opacity:0;pointer-events:none;left:50%}.icon:after{text-align:center;content:"" attr(data-label) "";font-size:11px;top:0;transform:translate(-50%,calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;background-color:#333;box-shadow:0 2px 4px rgba(0,0,0,.15);border-radius:6px;z-index:1001}.btn-save:after,.icon:before,.popover:after{content:''}.icon:before{top:-8px;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.icon.tooltip-show:after,.icon.tooltip-show:before,.icon:hover:not(.tooltip-show):after,.icon:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.chaty-help-form,.disabled{pointer-events:none}.icon .color-element{transition:all .2s}.icon.no-tooltip:after,.icon.no-tooltip:before{content:none!important}.icon.icon-md svg,.icon.icon-sm svg{width:50px;height:50px;cursor:move}.icon.icon-xs svg{width:30px;height:30px}.btn-save{border:0;text-transform:uppercase;line-height:24px;font-weight:700;position:relative;max-width:100%;margin-top:40px;height:50px;width:274px;border-radius:25px;padding:14px 15px 12px;background-image:url(../images/rocket.svg);background-color:#ff6624;background-position:left bottom;background-repeat:no-repeat;box-shadow:0 3px 10px 1px rgba(255,90,116,.5)}.btn-save:after{position:absolute;z-index:-1;top:30px;left:50%;transform:translateX(-50%);width:238.1px;height:30.81px;background:linear-gradient(97.71deg,#ff6624 9.04%,#ff6376 91.56%),linear-gradient(104.36deg,#6371db 20.37%,#ff89c4 72.52%);opacity:.77;filter:blur(19px);border-radius:9px}.btn-help,.preview-help-btn{text-align:center;padding-top:10px;position:absolute;background:#03e78b;border-radius:7px 7px 0 0;right:0;top:60px;transform:rotate(-90deg);transform-origin:bottom right;border:0;height:42px;width:102px;text-transform:uppercase;font-weight:700}.btn-help span{display:inline-block;width:27px;height:27px;border:2px solid #fff;border-radius:100%}.preview-help-btn{display:none;color:#fff;text-decoration:none}.btn-save-sticky{padding:10px 0 11px;top:20px;background:#ff6624;right:0;border-radius:7px 0 0 7px;position:absolute;border:0;height:69px;width:42px;text-transform:uppercase;color:#fff;font-weight:700;font-size:11px}.btn-save-sticky span{text-align:center;display:inline-block;margin-bottom:4px;height:15px;line-height:13px}input.channels__input.border-red{border-color:#d00}@media (min-width:1281px){.btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 475px);top:161px;right:auto;border-radius:0 7px 7px 0;position:fixed}body.has-premio-box .btn-save-sticky{top:320px}body.has-premio-box .btn-help{top:455px}html[dir=rtl] .btn-save-sticky{left:calc(50vw - 480px + 1050px / 12 * 7 + 295px)}html[dir=rtl] .btn-help{left:calc(50vw - 480px + 1050px / 12 * 7 + 193px)}}.popover{flex:0 0 auto;background:#fff;border-radius:4px;line-height:33px;padding:0 5px;position:relative;margin:25px 25px 25px 0;box-shadow:0 1px 14px rgba(156,117,198,.4),0 2px 4px rgba(0,0,0,.15);text-align:center}.popover:after{position:absolute;top:-7px;left:40px;width:20px;height:7px;background-image:url(../images/arrow.png);background-position:center;background-size:contain;background-repeat:no-repeat;display:none}.easy-modal{display:none;width:515px;max-width:calc(100vw - 30px);box-shadow:0 4px 6px rgba(0,0,0,.15);border-radius:6px;background-color:#fff;top:50%!important;transform:translateY(-50%)}.easy-modal .money-guaranteed svg,.upgrade-block .money-guaranteed svg{width:15px;vertical-align:text-bottom}.easy-modal .money-guaranteed{color:#a886cd;font-size:17px;line-height:24px;margin-bottom:20px}.easy-modal .easy-modal-inner{position:relative;padding:20px 50px}.easy-modal .easy-modal-close{position:absolute;right:0;top:0;padding:7px;line-height:12px;background-color:transparent;border:0}.easy-modal h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:13px;text-align:center;margin-top:0}.easy-modal .udner-title{font-size:17px}.easy-modal .udner-title span{font-size:15px;display:block;color:#bdbdbd}.easy-modal p{text-align:center;margin:0 auto 10px}.easy-modal ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.easy-modal .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.easy-modal .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}.easy-modal .user-name,.easy-modal .user-role{margin:0;font-size:13px}.easy-modal .form-horizontal__item>div{flex:0 0 auto}.easy-modal .user-name{font-weight:700;color:#828282;text-align:left}.link-back,.link-back:hover{color:#fff}.easy-modal .user-photo{float:left;margin-right:5px}.link-back{display:inline-block;border:1px solid #fff;border-radius:60px;font-size:17px;line-height:20px;text-align:center;padding:7px 46px}.upgrade-wrap{margin:15px auto;max-width:1260px}.upgrade-block{background-color:#fff;border-radius:9px;padding:48px 0 67px;margin-top:21px}.upgrade-block .easy-modal-inner{margin:0 auto;direction:ltr!important;padding:0 30px;max-width:1260px}.upgrade-block h2{font-family:Rubik;font-weight:700;font-size:27px;margin-bottom:5px;text-align:center;margin-top:0;line-height:33px}.upgrade-block .udner-title{font-size:17px}.upgrade-block .udner-title span{font-size:15px;display:block;color:#bdbdbd}.form-horizontal__item .chaty-widget .icon,.upgrade-block ul{display:inline-block}.upgrade-block p{text-align:center;margin:0 auto 10px}.upgrade-block ul{margin-bottom:17px;line-height:27px;list-style-position:inside;text-align:left}.upgrade-block .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.upgrade-block .form-horizontal__item{margin-bottom:50px;justify-content:center;text-align:center}img.payment-img{margin:10px 0}.upgrade-block .form-horizontal__item>div{flex:0 0 auto}.upgrade-block .user-name{font-weight:700;color:#828282;margin:0;text-align:left;font-size:13px}.upgrade-block .user-role{margin:0;font-size:13px}.upgrade-block .user-photo{float:left;margin-right:5px}.upgrade-block .money-guaranteed{color:#b97fcf;font-size:16px;line-height:18px;margin:10px 0}.upgrade-block .money-guaranteed span.dashicons.dashicons-yes{background:#00bd00;color:#fff;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}.easy-modal.modal-upgrade{width:560px}.easy-modal.modal-upgrade .easy-modal-inner{padding:20px 0 0}.modal__wrap{padding:0 5px;text-align:center}.form-horizontal__item .chaty-widget{position:static;flex:0 0 250px!important}.form-horizontal__item .chaty-widget .icon svg{width:62px;height:62px}.form-horizontal__item .chaty-widget .icon:after{z-index:10;content:"" attr(data-label) "";font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px),-50%);white-space:nowrap;padding:16px 25px;line-height:21px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:10px}#toplevel_page_chaty-app img,.btn-red:hover,.text_update{color:#fff}.form-horizontal__item .chaty-widget .icon:before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.btn-red,.btn-white{z-index:100;line-height:27px;box-shadow:0 4px 4px rgba(0,0,0,.11);vertical-align:middle;position:relative;color:#fff}.btn-red:focus,.btn-red:hover{color:#fff}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after{right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.header{display:flex;padding:3px 0;margin-bottom:9px}.btn-red,.tooltip{display:inline-block}.btn-white{background-color:transparent;border:1px solid #fff;border-radius:19px;display:inline-block;padding:3px 20px;text-transform:uppercase;font-weight:700;text-decoration:none}.btn-white,.btn-white:focus,.btn-white:hover{color:#fff}.btn-red{border:0;text-transform:uppercase;font-weight:700;background-color:#ff6624;padding:6px 20px 4px;border-radius:19px}.btn-red svg{vertical-align:text-top;margin-left:5px}.text_update{top:2px;position:relative;margin:0;font-size:10px;left:15px}.sticky-wrapper{position:absolute;right:0;top:-370px;width:320px;z-index:99}.tooltip{position:relative}.chaty-widget-icons-left .tooltip .tooltiptext,.chaty-widget-icons-right .tooltip .tooltiptext{white-space:pre-wrap;display:block;width:250px;min-height:24px;color:#000;text-align:center;padding:0;top:2.5px;position:absolute;z-index:35;font-size:12px;line-height:36px}.tooltip .tooltiptext span{background-color:#fff;padding:0 15px;display:inline-block;vertical-align:middle;line-height:24px;height:24px;float:right;margin:0;border-radius:6px}.chaty-widget-icons-left .tooltip .tooltiptext span{float:left}.tooltip:hover .tooltiptext{visibility:visible}.chaty-widget-icons-right .tooltip .tooltiptext{justify-content:center;align-items:center;right:41px}.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext{right:35px}.chaty-widget-icons-left .tooltip .tooltiptext{align-items:center;justify-content:center;left:43px}.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext{left:37px}.update-nag{display:block!important}.notice,div.error,div.updated{display:none!important}div#setting-error-settings_updated{display:block!important}.domain__input,.domain__label{max-width:342px;display:block}.domain{background:rgba(168,134,205,.1);border-radius:4px;text-align:left;margin:0 0 10px;padding:10px 20px}.domain__label{font-size:17px;font-weight:700;margin:0 auto 6px}.domain__input{height:34px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:5px;border:none;width:100%;margin:0 auto}.upg{background:0 0;border:none;text-align:center;width:270px;padding:0}.upg img,.upg svg{width:100%}.valid_domain{transition-property:margin-top;transition-delay:.3s;color:red;display:none}.payments{margin-bottom:5px}.easy-modal__bottom{padding:10px 10px 0;text-align:left;color:#828282;position:relative}.easy-modal__bottom .quote{position:absolute;left:65px;top:-4px}.easy-modal__bottom:before{content:'';display:block;position:absolute;left:0;top:0;width:100%;background:rgba(130,130,130,.1);height:2px}.easy-modal__bottom .easy-modal__bottom-p{text-align:left;font-weight:300;position:relative;margin-bottom:10px;font-size:14px;line-height:17px}.easy-modal__bottom .easy-modal__bottom-p p{text-align:left;margin:6px 0 0;line-height:15px}html[dir=rtl] body{background-position:0}html[dir=rtl] input[type=radio]:checked:before{text-indent:-1px}.chaty-new-widget-wrap{background:#f9fcfc url(../images/new_widget_bg.png) no-repeat left center;border-radius:10px;padding:30px 20px;margin:40px 30px 0 0;background-size:auto 100%}.chaty-new-widget-wrap h2{margin:0 0 30px;font-size:19px;color:#4f4f4f;line-height:1.4;font-weight:500}.chaty-new-widget-right p{font-size:14px;line-height:1.2;color:#4f4f4f;margin-top:0}.chaty-new-widget-right p strong{font-weight:700;font-size:16px}.chaty-new-widget-right li{font-size:14px;color:#727d81;position:relative;padding-left:20px;line-height:1.7;margin-bottom:10px}.chaty-new-widget-right li::before{content:"";position:absolute;top:5px;left:0;background-color:#7761df;width:10px;height:10px;border-radius:50%}.chaty-new-widget-right .upgrade-chatys a{font-size:14px;font-weight:500;padding:10px 26px;border-radius:40px;background:#dfddf7;color:#7761df;text-decoration:none;margin:10px 0 0 0;display:inline-block}.chaty-new-widget-row{display:flex;align-items:center}.chaty-new-widget-left{width:322px}.chaty-new-widget-right{padding-left:20px}.chaty-widget-icons-right .tooltip .tooltiptext{line-height:24px}.trigger-block{padding:0;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;flex:calc(100% - 152px);max-width:360px}.chaty-switch{display:inline-block;height:34px;position:relative;padding:0 0 0 50px;line-height:24px}.chaty-switch input{display:none}.chaty-slider{background-color:#cfbde4;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s;width:40px;height:24px}.chaty-slider:before{background-color:#fff;bottom:4px;content:"";height:16px;left:4px;position:absolute;transition:.4s;width:16px}.trigger-block-input{font-size:14px}.trigger-block-input input{width:50px}input:checked+.chaty-slider{background-color:#a886cd}input:checked+.chaty-slider:before{transform:translateX(16px)}.chaty-slider.round{border-radius:34px}.chaty-slider.round:before{border-radius:50%}.trigger-option-block{padding:10px;border-bottom:solid 1px #eee2ff}.trigger-option-block:last-child{border-bottom:none}.gmt-data{display:none}.chaty-date-time-option:first-child .gmt-data{display:block}.chaty-date-time-option{padding:5px;background:#f6f3fa;margin-bottom:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.chaty-date-time-option.last{margin-bottom:15px}.date-time-content>*{vertical-align:middle;display:inline-block}.day-select{width:25%;display:inline-block;padding-right:5px}.date-time-content input,.date-time-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.day-label{width:50px;padding-right:5px;text-align:right}.day-time{width:10%;padding-right:5px}.day-buttons a{background:#bd2a00;text-align:center;display:inline-block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:36px;height:36px}.main .form-horizontal__item.hide-show-button{display:none}.main .form-horizontal__item.hide-show-button.active{display:flex}.custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image{display:none}.chaty-channels .social-item-box .custom-chaty-image img{width:30px;height:30px;object-fit:cover;border-radius:50%}.chaty-channels .social-item-box.img-active .custom-chaty-image{display:block}.chaty-channels .social-item-box .custom-chaty-image,.chaty-channels .social-item-box .default-chaty-icon{width:30px;height:30px;cursor:pointer}.chaty-channels .social-item-box.img-active .default-chaty-icon{display:none}.social-item-box{display:block;height:30px;margin:0 0 5px 0;position:relative}#iconWidget{cursor:pointer}.chaty-channels{display:none}.chaty-widget.active .chaty-channels,.chaty-widget.hover:hover .chaty-channels{display:block}.preview .page .chaty-widget i.chaty-close-icon,.preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon{display:none!important}.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:block!important}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .tooltiptext{display:none!important}.preview .page .chaty-widget.active:not(.has-single) .icon:before{display:none!important}span.social-tooltip{position:absolute;right:100%;background:#fff;padding:0 10px;color:#4f4f4f;top:0;z-index:1001;font-size:12px;margin:0 10px 0 0;border-radius:5px;display:none}.social-item-box:hover span.social-tooltip{display:block}span.social-tooltip:after{content:"";border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:6px;right:-9px}.chaty-widget-icons-left span.social-tooltip{margin:0 0 0 14px;left:100%;right:auto}.chaty-widget-icons-left span.social-tooltip:after{content:"";border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent;position:absolute;top:12px;right:100%}.chaty-date-time-option input[readonly]{background:#fff}.upgrade-upload-btn .upgrade-link{display:none!important}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.read-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c;font-size:14px}.widget-icon__block .custom-control.custom-radio.add-border{border-right:1px solid #fff}.upgrade-upload-btn:hover .custom-control-label,.upgrade-upload-btn:hover .form-group{opacity:.5;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.widget-icon__wrap a.upgrade-link{display:block;font-size:16px;text-align:center;padding-left:0;position:absolute;bottom:35px;right:0;width:70px;text-decoration:none;text-align:center;left:0;margin:0 auto}.upgrade-upload-btn:hover .upgrade-link{display:block!important}.chaty-option-box{flex:calc(100% - 152px)}.chaty-data-and-time-rules{display:none}.chaty-date-time-option:hover .date-time-content{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.hover.chaty-widget:hover .tooltiptext{display:none!important}.preview .page .hover.chaty-widget:hover .icon:before{display:none!important}span.header-tooltip{position:relative;display:inline-block}span.header-tooltip span.dashicons.dashicons-editor-help{display:inline-block;cursor:pointer}span.header-tooltip-text{display:none;position:absolute;bottom:140%;left:0;width:250px;left:-110px;font-size:12px;font-weight:400;line-height:16px;background:#000;padding:5px;border-radius:5px;color:#fff}span.header-tooltip-text:before{content:"";top:100%;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent;position:absolute;left:0;right:0;margin:0 auto}span.header-tooltip:hover span.header-tooltip-text{display:block}.chaty-animation-pulse{animation:chaty-animation-pulse 1s forwards}.chaty-animation-jump{animation:chaty-animation-jump 1s forwards cubic-bezier(.84,-.54,.31,1.19)}.chaty-animation-waggle{animation:chaty-animation-waggle 1s forwards ease-out}.chaty-animation-sheen{position:relative;overflow:hidden}.chaty-animation-sheen:after{animation:chaty-animation-sheen 1.5s forwards;content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,transparent,rgba(255,255,255,.5) 50%,transparent);transform:rotateZ(60deg) translate(-1em,4em)}.chaty-animation-spin{animation:chaty-animation-spin 1s forwards cubic-bezier(.56,-.35,.22,1.5)}.chaty-animation-fade{animation:chaty-animation-fade 1s forwards}@keyframes chaty-animation-pulse{0%{background-color:orange}25%{background-color:red}50%{background-color:orange}75%{background-color:red}}@keyframes chaty-animation-jump{0%{transform:none}50%{transform:translateY(-.8em)}}@keyframes chaty-animation-waggle{0%{transform:none}50%{transform:rotateZ(-20deg) scale(1.2)}60%{transform:rotateZ(25deg) scale(1.2)}67.5%{transform:rotateZ(-15deg) scale(1.2)}75%{transform:rotateZ(15deg) scale(1.2)}82.5%{transform:rotateZ(-12deg) scale(1.2)}85%{transform:rotateZ(0) scale(1.2)}100%{transform:rotateZ(0) scale(1)}}@keyframes chaty-animation-sheen{100%{transform:rotateZ(60deg) translate(0,-4em)}}@keyframes chaty-animation-spin{50%{transform:rotateZ(-20deg);animation-timing-function:ease}100%{transform:rotateZ(360deg)}}@keyframes chaty-animation-fade{25%{opacity:.25}50%{opacity:1}75%{opacity:.25}100%{opacity:1}}.start-now,.start-now:after{animation-delay:0s}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}.channels__view{display:inline-block;color:#444;margin-bottom:0;line-height:14px;padding-left:17px;position:relative;font-size:14px;margin-left:15px}.channels__view-check{position:absolute;z-index:-1;opacity:0}.channels__view-check:checked~.channels__view-txt::before{background:#a785cb;color:#fff}.channels__view-check:checked~.channels__view-txt::after{color:#fff;content:"\f147";font-family:dashicons;line-height:1;position:absolute;top:0;left:0}.channels__view-txt:before{content:'';transition:all .2s;position:absolute;top:0;left:0;display:block;width:14px;height:14px;line-height:14px;text-align:center;border:solid 2px #a785cb;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.file-input,.widget-icon__block .custom-control.custom-radio .custom-control-label{position:relative}.channels__input{padding:9px 7px;border:0;line-height:24px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);border-radius:9px;width:330px}.channels__input-box{position:relative;margin-right:5px}.widget-icon__block [class^=icon-]{display:block;border-radius:100%;text-align:center;width:40px;height:40px;line-height:40px;font-size:20px;margin:0 auto 6px}.widget-icon__block [class^=icon-] svg{color:#fff}.widget-icon__block .icon-upload{background:0 0;color:#a886cd}.widget-icon__block .custom-control.custom-radio{text-align:center;margin:0;padding:22px 8px 42px;text-decoration:none;vertical-align:top;display:inline-block;max-width:70px}.widget-icon__block .custom-control.custom-radio .custom-control-label:before{transform:translateX(-50%);left:50%}.widget-icon__wrap{background:rgba(168,134,205,.1);padding:0;border-radius:4px;flex:none;font-size:0;margin-bottom:25px;position:relative}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}.file-input{width:40px;height:44px;display:block}.file-input input[type=file]{top:0;left:0;min-width:100%;min-height:100%;text-align:right;opacity:0;background:0 0;cursor:pointer;display:block;position:absolute}.btn-file,.form-group,.kv-file-content{position:relative}.form-group:hover :not(.file-input-new) .file-browse{display:block;z-index:10}.file-actions,.file-browse,.file-browse span,.file-drop-zone-title,.file-footer-caption,.file-preview-status{display:none}.form-group:hover :not(.file-input-new) .file-browse .icon-upload{background:rgba(0,0,0,.5)}.kv-file-content{width:40px;height:40px;background:#fff;border-radius:100%;text-align:center;margin:0 auto}.kv-file-content img{width:auto;height:auto;max-width:100%;max-height:100%}.file-preview{position:absolute}.file-preview-thumbnails{width:54px;height:54px;border-radius:100%;position:absolute;left:0;top:0}.file-preview-frame{position:absolute;left:0;top:0;right:0;z-index:10}.file-preview-frame.file-preview-initial{z-index:0}.file-input-new .file-browse{display:block}.file-input-new .file-browse span{display:block;color:#a886cd;text-decoration:underline;position:absolute;bottom:0;left:0;right:0}.file-input-new .file-browse:hover span,a.pro-plugin-url,a.rpt_tooltip{text-decoration:none}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}.preview{width:337px;z-index:99;height:373px;margin-right:15px;float:right;z-index:1001}body.has-premio-box .preview{top:320px}.preview.mobiel-view .page{width:202px}.preview.mobiel-view .page .chaty-widget .icon i{width:24px;height:24px;font-size:12px;line-height:24px}.is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 140px)}.preview h2{text-align:center;font-weight:700;line-height:normal;font-size:17px;color:#4f4f4f;margin-bottom:5px}.preview .page{background-color:#f2f2f2;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:5px;position:relative;height:194px;margin:0 auto}.preview .page .page-header{display:flex;align-items:center;background:#fff;border-radius:5px 5px 0 0;height:16px}.preview .page .page-header .circle{margin-left:9px;width:6px;height:6px;background:linear-gradient(153.19deg,#6371db 7.06%,#ff89c4 90.47%),#ffe663;box-shadow:0 4px 35px rgba(0,0,0,.05);border-radius:50%}.preview .page .page-header svg:last-child{margin-left:auto;margin-top:7px;margin-right:-7px}.preview .page .chaty-widget{position:absolute;left:auto}.preview .page .chaty-widget .icon:after{z-index:10;content:'';font-size:13px;top:13px;white-space:nowrap;padding:0;line-height:0;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93px 7.74px rgba(0,0,0,.15);border-radius:0;right:0;left:auto;transform:translate(calc(100% + 6px),-50%)}.preview .page .chaty-widget .icon:before{content:'';right:-13px;left:auto;top:15px;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.preview .page .chaty-widget .icon i{width:30px;height:30px;font-size:18px;display:block;border-radius:100%;line-height:30px;text-align:center;overflow:hidden}.preview .page .chaty-widget .icon i.icon-chat-image{background:0 0}.preview .page .chaty-widget .icon i.icon-chat-image img{display:block;background:#a886cd}.preview .page .chaty-widget .icon i svg{fill:#fff;width:100%;height:100%}.preview .page .chaty-widget .icon i img{width:auto;height:auto;max-width:100%;max-height:100%}.mobiel-view .preview .page .chaty-widget .icon i{width:23px;height:23px;font-size:13px;line-height:23px}.preview .page .chaty-widget[style*="left: auto;"] .icon:before{right:auto;left:-11px;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.preview .page .chaty-widget[style*="left: auto;"] .icon:after{left:0;right:auto;transform:translate(calc(-100% - 6px),-50%)}.switch-preview{display:flex;width:160px;border-radius:5px;margin:15px auto 0;-webkit-box-shadow:0 0 15px 0 #eaeaea inset;-moz-box-shadow:0 0 15px 0 #eaeaea inset;box-shadow:0 0 15px 0 #eaeaea inset;background:#fff}.easy-modal-open,.switch-preview__input[type=radio],.switch-preview__label input{display:none}.switch-preview__label{flex:1;text-align:center;line-height:30px}.switch-preview__input[type=radio]:checked+label{background:#a886cd;color:#fff}html[dir=rtl] .preview{right:auto}html[dir=rtl] .is-sticky .preview{left:calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)}a.pro-plugin-url{color:#fff;background:#7474d9;display:inline-block;margin-bottom:25px;-moz-border-radius:25px;-webkit-border-radius:25px;font-size:24px;border-radius:25px;padding:15px 45px}.test_textarea{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:100%;max-width:360px}.license-key{border:1px solid #ccc;background:#fff;width:100%;max-width:350px;margin:10px 0 20px}.license-key .license-key-header{border-bottom:1px solid #ccc;padding:15px 12px;font-weight:600;background:#f9f9f9;color:#23282d}.license-key .license-key-content{padding:15px 12px;background:#fff}.license-key .license-key-content input[type=text]{width:100%;font-size:14px;font-weight:400}.license-key .license-key-footer{border-top:1px solid #ccc;padding:15px 12px;background:#f9f9f9}.license-key .license-key-message{margin:10px 0 0;min-height:40px}.license-key .button-secondary{font-weight:400}.testimonial-error-message,.testimonial-success-message{background:#fff;margin:10px 0 0;padding:10px;border-left:solid 3px #dd4b39}.testimonial-success-message{border-left:solid 3px #00a65a}.save-testimonial-license-key{width:102px;text-align:center}.remove-testimonial-license-key{width:128px;text-align:center}.test-error-message{color:#dc3232}.hide-this-table,.lean-overlay{display:none!important}span.expired-message{color:#a00000;font-size:18px}.wrap.wrap-licenses{background:#fff;padding:10px 25px 25px}.chaty-help-btn{position:fixed;right:20px;bottom:20px;z-index:1001}.chaty-help-btn a{display:block;border:3px solid #fff;width:50px;height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;position:relative}.chaty-help-btn a img{width:100%;height:auto;display:block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.chaty-help-form{position:fixed;right:85px;border:1px solid #e9edf0;bottom:25px;background:#fff;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;width:320px;z-index:1001;direction:ltr;opacity:0;transition:.4s;-webkit-transition:.4s;-moz-transition:.4s}.chaty-help-form.active{opacity:1;pointer-events:inherit}.chaty-help-header{background:#f4f4f4;border-bottom:solid 1px #e9edf0;padding:5px 20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px 10px 0 0;font-size:16px;text-align:right}.chaty-help-header b{float:left}.chaty-help-content{margin-bottom:10px;padding:20px 20px 10px}.chaty-help-form p{margin:0 0 1em}.chaty-form-field{margin-bottom:10px}.chaty-form-field input,.chaty-form-field textarea{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:5px;width:100%;box-sizing:border-box;border:1px solid #c5c5c5}.chaty-form-field textarea{height:70px}.chaty-help-button{border:none;padding:8px 0;width:100%;background:#ff6624;color:#fff;border-radius:18px}.chaty-help-form .error-message{font-weight:400;font-size:14px}.chaty-help-form input.input-error,.chaty-help-form textarea.input-error{border-color:#dc3232}.chaty-help-btn span.tooltiptext{position:absolute;background:#000;font-size:12px;color:#fff;top:-35px;width:140%;text-align:center;left:-20%;border-radius:5px;direction:ltr}p.error-p,p.success-p{margin:0;font-size:14px;text-align:center}.chaty-help-btn span.tooltiptext:after{bottom:-9px;content:"";transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#000 transparent transparent;left:50%;position:absolute}p.success-p{color:green}p.error-p{color:#dc3232}html[dir=rtl] .chaty-help-btn{left:20px;right:auto}html[dir=rtl] .chaty-help-form{left:85px;right:auto}#rpt_container{margin-top:24px;width:100%}.rpt_plans .rpt_plan{-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.rpt_2_plans .rpt_plan{margin-right:2%;width:49%;float:left}.rpt_2_plans .rpt_plan:last-child{margin-right:0}.rpt_3_plans .rpt_plan{margin-right:2%;width:32%;float:left}.rpt_3_plans .rpt_plan:last-child{margin-right:0}.rpt_4_plans .rpt_plan{margin-right:1%;width:24.25%;float:left}.rpt_4_plans .rpt_plan:last-child{margin-right:0}.rpt_5_plans .rpt_plan{margin-right:.5%;width:19.6%;float:left}.rpt_5_plans .rpt_plan:last-child{margin-right:0}.rpt_style_bic .rpt_plan,.rpt_style_loc .rpt_plan{-webkit-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);-moz-box-shadow:1px 1px 3px 0 rgba(50,50,50,.19);box-shadow:1px 1px 3px 0 rgba(50,50,50,.19)}.rpt_plans .rpt_plan .rpt_title img{margin-right:10px;position:relative;vertical-align:middle}.rpt_plans .rpt_plan .rpt_title{background:#6371db;font-weight:300;padding:24px 18px;font-size:26px;color:#fff;line-height:35px;height:auto}.rpt_plans .rpt_plan .rpt_title span{display:inline-block;position:relative;top:-10px}.rpt_style_basic .rpt_plan .rpt_title{border-bottom:#ec86c6 solid 1px;border-top-left-radius:8px;border-top-right-radius:8px}.rpt_style_spec .rpt_plan .rpt_title{color:#fff}.rpt_style_bic .rpt_plan .rpt_title,.rpt_style_loc .rpt_plan .rpt_title,.rpt_style_swl .rpt_plan .rpt_title{background:#333}.rpt_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:20px;line-height:18px}.rpt_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:15px;line-height:15px}.rpt_4_plans .rpt_plan .rpt_title{font-size:17px;line-height:15px}.rpt_4_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_4_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_plan .rpt_title{font-size:15px;line-height:13px}.rpt_5_plans .rpt_sm_title .rpt_plan .rpt_title{font-size:13px;line-height:11px}.rpt_5_plans .rpt_xsm_title .rpt_plan .rpt_title{font-size:12px;line-height:10px}.rpt_plans .rpt_recommended_plan .rpt_title{background:#6371db}.rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{position:relative;top:-44px;left:-10px;font-size:35px;line-height:0}.rpt_4_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price .rpt_currency{top:-26px}.rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:30px;top:-44px;left:-4px}.rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:25px;top:-30px;left:-4px}.rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency{font-size:21px;top:-14px;left:-4px}.rpt_style_basic .rpt_plan .rpt_head{background:#ec86c6}.rpt_style_spec .rpt_plan .rpt_head{background:#222}.rpt_style_swl .rpt_plan .rpt_head{background:#fff}.rpt_plans .rpt_plan .rpt_head .rpt_price{padding:6px 10px;font-size:74px;line-height:100px;font-weight:300;text-align:center;color:#fff}.rpt_style_basic .rpt_plan .rpt_head .rpt_price,.rpt_style_spec .rpt_plan .rpt_head .rpt_price{text-shadow:1px 2px 7px rgba(0,0,0,.6)}.rpt_style_swl .rpt_plan .rpt_head .rpt_price{color:#000}.rpt_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:62px}.rpt_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:56px}.rpt_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:38px}.rpt_4_plans .rpt_plan .rpt_head .rpt_price{font-size:69px;line-height:80px}.rpt_4_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:53px;line-height:65px}.rpt_4_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:47px;line-height:64px}.rpt_4_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:31px;line-height:60px}.rpt_5_plans .rpt_plan .rpt_head .rpt_price{font-size:59px;line-height:80px}.rpt_5_plans .rpt_sm_price .rpt_plan .rpt_head .rpt_price{font-size:44px;line-height:60px}.rpt_5_plans .rpt_xsm_price .rpt_plan .rpt_head .rpt_price{font-size:37px;line-height:53px}.rpt_5_plans .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price{font-size:24px;line-height:50px}.rpt_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:98px}.rpt_4_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:74px}.rpt_5_plans .rpt_recommended_plan .rpt_head .rpt_price{font-size:67px}.rpt_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:83px}.rpt_4_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:60px}.rpt_5_plans .rpt_sm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:54px}.rpt_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:55px}.rpt_4_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:49px}.rpt_5_plans .rpt_xsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:41px}.rpt_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:42px}.rpt_4_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:34px}.rpt_5_plans .rpt_xxsm_price .rpt_recommended_plan .rpt_head .rpt_price{font-size:26px}.rpt_plans .rpt_plan .rpt_head .rpt_recurrence{font-size:13px;font-weight:300;line-height:18px;padding:20px 40px 10px;color:#d3d3d3;text-align:center}.rpt_style_spec .rpt_plan .rpt_head .rpt_recurrence{color:#d3d3d3}.rpt_style_bic .rpt_plan .rpt_head .rpt_recurrence,.rpt_style_loc .rpt_plan .rpt_head .rpt_recurrence{color:#f5f5f5}.rpt_style_swl .rpt_plan .rpt_head .rpt_recurrence{color:grey}.rpt_plans .rpt_sm_recurrence .rpt_plan .rpt_head .rpt_recurrence{font-size:11px;padding:20px 40px 4px}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:20px;font-weight:300;text-align:center;padding:10px 30px 20px}.rpt_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px}.rpt_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px}.rpt_4_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:16px;line-height:18px;padding:10px 10px 20px}.rpt_4_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:14px;line-height:17px}.rpt_4_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:16px}.rpt_5_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:15px;line-height:18px;padding:10px 10px 20px}.rpt_5_plans .rpt_sm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:13px;line-height:17px}.rpt_5_plans .rpt_xsm_subtitle .rpt_plan .rpt_head .rpt_subtitle{font-size:12px;line-height:16px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:14px;line-height:20px;padding:0 20px 30px;font-weight:300;text-align:center;color:#fff}.rpt_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px}.rpt_style_bic .rpt_plan .rpt_head .rpt_description,.rpt_style_loc .rpt_plan .rpt_head .rpt_description{color:#f5f5f5}.rpt_4_plans .rpt_plan .rpt_head .rpt_description{font-size:13px;line-height:18px}.rpt_4_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:17px}.rpt_5_plans .rpt_plan .rpt_head .rpt_description{font-size:12px;line-height:18px}.rpt_5_plans .rpt_sm_description .rpt_plan .rpt_head .rpt_description{font-size:11px;line-height:17px}.rpt_plans .rpt_plan .rpt_features{padding:20px;background:#f5f5f5;text-align:center}.rpt_plans .rpt_plan .rpt_features .rpt_feature{font-size:16px;padding:6px 16px;border-bottom:1px dotted #d3d3d3}.rpt_plans .rpt_plan .rpt_features .rpt_feature:last-child{border-bottom:none}.rpt_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:14px}.rpt_style_bic .rpt_plan .rpt_features,.rpt_style_loc .rpt_plan .rpt_features,.rpt_style_swl .rpt_plan .rpt_features{background:#fff}.rpt_style_swl .rpt_plan .rpt_features .rpt_feature{padding:5px 16px}.rpt_4_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:14px}.rpt_4_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:12px}.rpt_5_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 10px;font-size:13px}.rpt_5_plans .rpt_sm_features .rpt_plan .rpt_features .rpt_feature{font-size:11px}.rpt_plans .rpt_plan .rpt_foot{display:block;padding:10px 30px;border-top:#f5f5f5 solid 2px;text-align:center;color:#fff;font-size:24px;text-decoration:none;font-weight:300;transition:All .5s ease;-webkit-transition:All .5s ease;-moz-transition:All .5s ease;-o-transition:All .5s ease}.rpt_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:19px}.rpt_style_basic .rpt_plan .rpt_foot{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.rpt_style_swl .rpt_plan .rpt_foot{border-top:none;padding:10px 30px 20px;color:#000;background:#333}.rpt_4_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:19px}.rpt_4_plans .rpt_sm_button .rpt_plan .rpt_foot,.rpt_5_plans .rpt_plan .rpt_foot{padding:4px 20px;font-size:17px}.rpt_5_plans .rpt_sm_button .rpt_plan .rpt_foot{font-size:16px}.rpt_plans .rpt_plan .rpt_foot:hover{opacity:.8}.rpt_style_swl .rpt_plan .rpt_foot:hover{opacity:1}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;padding:16px 0}.rpt_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:26px}.rpt_4_plans .rpt_recommended_plan .rpt_foot{font-size:22px;font-weight:300;padding:10px 0}.rpt_4_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:19px;padding:10px 0}.rpt_5_plans .rpt_recommended_plan .rpt_foot{font-size:20px;font-weight:300;padding:10px 0}.rpt_5_plans .rpt_sm_button .rpt_recommended_plan .rpt_foot{font-size:18px;padding:10px 0}.rpt_custom_btn{border-bottom-left-radius:5px;border-bottom-right-radius:5px;text-align:center;padding:16px 20px}.rpt_plans .rpt_recommended_plan{position:relative;top:-10px}.rpt_recommended_plan img.rpt_recommended{position:absolute!important;right:10px!important}.rpt_style_bic .rpt_recommended_plan,.rpt_style_loc .rpt_recommended_plan{-webkit-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);-moz-box-shadow:1px 1px 6px 0 rgba(50,50,50,.39);box-shadow:1px 1px 6px 0 rgba(50,50,50,.39)}a.rpt_tooltip{display:block;outline:0;position:relative}a.rpt_tooltip strong{line-height:30px}a.rpt_tooltip>span.intool{width:90%;padding:10px;margin-top:56px;opacity:0;visibility:hidden;z-index:10;position:absolute;top:-15px;display:block;color:#f5f5f5;font-size:13px;line-height:20px;background:#333;font-weight:300;text-align:center}a.rpt_tooltip:hover{cursor:zoom-in}a.rpt_tooltip .rpt_tooltip_plus{text-decoration:none!important;display:inline;font-size:12px;font-weight:700;position:relative;top:-6px}.rpt_feature:hover a.rpt_tooltip>span.intool{opacity:.98;text-decoration:none;visibility:visible;overflow:visible}a.rpt_tooltip span.intool b{width:10px;height:10px;margin-left:35%;margin-top:-15px;position:absolute;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);display:none \0/;background:#333}.rpt_3_plans a.rpt_tooltip>span.intool{margin-left:-1%}.rpt_4_plans a.rpt_tooltip>span.intool{margin-left:0}.rpt_5_plans a.rpt_tooltip>span.intool{margin-left:-2%}.entry-content .rpt_plan a,.rpt_plan a{border-bottom:none!important}.rpt_plans .rpt_plan .rpt_icon{max-width:30px;max-height:30px}.rpt_plans .rpt_plan img{display:inline;margin:0 10px 0 0;padding:0;-webkit-box-shadow:0 0 0 0 transparent;-moz-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent;border:none}.chaty-new-widget-wrap{background:#f9fcfc url(../images/new_widget_bg.png) no-repeat left center;border-radius:10px;padding:30px 20px;margin:40px 30px 0 0;background-size:auto 100%}.chaty-new-widget-wrap .h2{margin:0 0 20px;font-size:20px;color:#4f4f4f;line-height:1.4;font-weight:700}.chaty-new-widget-right p{font-size:14px;line-height:1.2;color:#4f4f4f;margin-top:0}.chaty-new-widget-right p strong{font-weight:700;font-size:16px}.chaty-new-widget-right li{font-size:14px;color:#727d81;position:relative;padding-left:20px;line-height:1.7;margin-bottom:10px}.chaty-new-widget-right li::before{content:"";position:absolute;top:5px;left:0;background-color:#7761df;width:10px;height:10px;border-radius:50%}.chaty-new-widget-right .upgrade-chatys a{font-size:14px;padding:10px 26px;border-radius:40px;background:#dfddf7;color:#7761df;text-decoration:none;margin:10px 0 0 0;display:inline-block;text-transform:uppercase;font-weight:700}.chaty-new-widget-row{display:flex;align-items:center}.chaty-new-widget-left{width:322px}.chaty-new-widget-right{padding-left:20px}select.chaty-select,select.form-fonts{width:360px;max-width:100%;border:none;color:#32373c;outline:0;padding:5px 7px;line-height:26px;background-color:#fff;border-radius:5px;height:36px;-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea}select.chaty-select:disabled,textarea.test_textarea:disabled{background:#eee;border:solid 1px #ddd;color:#32373c}.icon.label-tooltip{font-size:12px;font-weight:400;color:#72777c}.icon.label-tooltip:after{width:250px;white-space:normal;line-height:16px;padding:10px}@media only screen and (max-width:640px){.rpt_plans .rpt_plan{width:96%;margin:10px 2% 20px!important}.rpt_plans .rpt_plan .rpt_title{position:relative;font-size:26px!important;line-height:35px!important}.rpt_plans .rpt_plan .rpt_head .rpt_price{font-size:74px!important;line-height:100px!important}.rpt_plans .rpt_plan .rpt_head .rpt_subtitle{font-size:17px!important;line-height:28px!important;padding:10px 40px 20px}.rpt_plans .rpt_plan .rpt_head .rpt_description{font-size:15px!important;line-height:26px!important;padding:0 40px 30px}.rpt_plans .rpt_plan .rpt_features .rpt_feature{padding:6px 16px;font-size:14px!important}.rpt_plans .rpt_plan .rpt_foot{padding:10px 40px;text-align:center;color:#fff;font-size:20px}.rpt_plans .rpt_recommended_plan .rpt_foot{font-size:30px;font-weight:300;padding:20px 0}.rpt_plan .rpt_head .rpt_price .rpt_currency{top:-36px!important;left:-10px!important;font-size:35px!important}}#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature,#rpt_pricr .rpt_plan_ori .rpt_features .rpt_feature a,#rpt_pricr .rpt_plan_ori .rpt_foot,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_description,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_price .rpt_currency,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_recurrence,#rpt_pricr .rpt_plan_ori .rpt_head .rpt_subtitle,#rpt_pricr .rpt_plan_ori .rpt_title{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif!important;font-weight:300!important}p.udner-title strong{font-size:40px;padding-bottom:30px;display:block;color:#b97fcf}.channels-selected-list li{display:block;max-width:640px;padding:15px;background:#eff6f6;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-bottom:15px}.chaty-settings a{text-decoration:none;display:inline-block;color:#fff;margin-left:5px;height:26px;width:26px;background:#ff6624;text-align:center;line-height:36px;vertical-align:middle;-webkit-border-radius:18px;-moz-border-radius:18px;border-radius:18px}.chaty-settings a .dashicons,.chaty-settings a .dashicons-before:before{font-size:16px;line-height:26px;display:block;margin:0;width:100%}.move-icon{display:inline-block;vertical-align:middle}.move-icon img{width:10px;margin-right:5px;margin-top:8px;cursor:move}.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:15px}.chaty-advance-settings{width:100%;border:solid 1px #a785cb;margin:20px 0 0 0;padding:10px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background:#f2f2f2;display:none;min-height:70px;position:relative}.chaty-setting-col>*{display:inline-block;padding:0 0 10px 0;vertical-align:middle}.chaty-setting-col>label{width:150px}.chaty-setting-col .channels__view{margin:0;padding:0}.chaty-setting-col input[type=text],select.channel-select-input{width:300px;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-family:Rubik,sans-serif;font-size:17px}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.chaty-setting-col a.upload-chaty-icon{background:#a886cd;color:#fff;text-decoration:none;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:inline-block}.chaty-setting-col a.upload-chaty-icon span{line-height:40px}.chaty-setting-col input[type=text].chaty-color-field{width:40px}.chaty-setting-col input[type=text]:read-only{background:#fff}.chaty-pro-feature{position:absolute;left:0;width:100%;text-align:center;top:0;height:100%;vertical-align:middle;background:rgba(255,255,255,.4);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:none}.chaty-advance-settings:hover .chaty-pro-feature,.chaty-date-time-option:hover .chaty-pro-feature{display:inline-block}.chaty-pro-feature a{text-decoration:none;background:#ff6624;color:#fff;padding:0 10px;line-height:36px;display:inline-block;top:50%;position:absolute;left:0;right:0;width:180px;margin:-20px auto 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-pro-feature a:hover{background:#a886cd}a#upload_qr_code{background:#fff;display:inline-block;height:40px;width:40px;text-align:center;line-height:40px;text-decoration:none}a#upload_qr_code span{line-height:36px}.close-btn-set,.cls-btn-settings{opacity:0;visibility:hidden;pointer-events:none}.close-btn-set.active,.cls-btn-settings.active{opacity:1;visibility:visible;pointer-events:auto}.chaty-settings.cls-btn{margin-left:164px}.section2{padding:25px 15px 30px;border-top:2px solid rgba(130,130,130,.1)}#chaty-social-close{display:none}#chaty-social-Facebook_Messenger .chaty-default-settings{padding-bottom:25px}ul#channels-selected-list{margin:0;padding:0}.channels-selected-list li.ui-chaty-state-hl{border:dashed 1px #6972da;min-height:95px}.viber-help{position:absolute;right:43px;bottom:-4px;font-size:12px;color:#665cac;text-decoration:underline;cursor:pointer}.viber-help span{position:absolute;width:210px;left:-80%;text-align:center;background:#000;padding:5px;color:#fff;font-size:12px;bottom:20px;z-index:101;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:none}.viber-help:hover span{display:block}a.create-rule{background:#ff6624;text-decoration:none;padding:5px 20px;color:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.chaty-settings.cls-btn span{padding-left:2px}.rpt_description.title-text{padding:25px 0 0!important;display:block!important}.chaty-page-option{padding:5px;background:#f6f3fa;margin-bottom:15px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}.url-select{width:17%;display:inline-block;padding-right:5px}.url-content>*{vertical-align:middle}.url-option{width:20%;display:inline-block;padding-right:5px}.url-box{width:25%;display:inline-block;padding-right:0;text-align:right}.url-values{width:calc(37% - 46px);display:inline-block;padding-right:5px}.day-buttons,.url-buttons{width:36px;display:inline-block;float:right;padding:2px 0 0 0}span.chaty-url{font-size:12px;line-height:12px}.url-content .remove-chaty{background:#bd2a00;text-align:center;display:block;line-height:36px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.url-content input,.url-content select{width:100%;height:36px;line-height:36px;padding:0 10px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.chaty-option-box .page-options:hover .chaty-page-option{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.page-options{position:relative;display:none}.chaty-option-box .page-options:hover .chaty-pro-feature{display:block}.preview{position:fixed;top:190px;width:337px;height:290px;bottom:auto}.preview-section-chaty{position:static;width:352px;height:320px;display:block;vertical-align:baseline;float:right}select.multiple-options{max-width:100%}.rpt_plan.pro-active .rpt_head{padding-bottom:50px}.rpt_plan.pro-active .rpt_head .rpt_description{display:none}.updates-form-form{min-height:calc(100vh - 280px)}.popup-form-content{background:#fff;min-height:100px;width:450px;text-align:center;margin-top:50px;border:solid 1px #c1c1c1}.updates-content-buttons button{margin:10px 3px!important;float:left}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.updates-content-buttons a:focus,.updates-content-buttons a:hover{color:#fff;background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.updates-content-buttons a:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.updates-content-buttons button.form-cancel-btn{float:right!important}.form-submit-btn{background-color:#3085d6}.updates-content-buttons a span{-webkit-animation:fa-spin .75s infinite linear;animation:fa-spin .75s infinite linear}.add-update-folder-title{font-size:20px;line-height:30px;padding:20px 20px 0}.folder-form-input{padding:10px 20px}.folder-form-input input{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box;height:2.625em;margin:1em auto}.updates-content-buttons{background:#c1c1c1;padding:0 20px}.notice.chaty-notice{display:block!important}.preview .h2{padding:40px 0 10px 0;text-align:center;font-weight:700}.pro-features{position:relative;display:inline-flex}.pro-item{position:relative}.pro-button{display:none;position:absolute;width:100%;top:0;left:0;height:100%;line-height:36px;text-align:center}.pro-button a{display:block;line-height:36px}.pro-features:hover .pro-item{opacity:.25;filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.pro-features:hover .pro-button{display:block}.sp-replacer.sp-light{padding:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.sp-preview{padding:0;margin:0 5px 0 0;height:40px;width:40px;border:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-preview-inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.sp-dd{display:none}span.facustom-icon{display:block;width:50px;height:50px;font-size:30px;line-height:50px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}span.default-chaty-icon .facustom-icon{display:none}span.default-chaty-icon.has-fa-icon .facustom-icon{display:block}span.default-chaty-icon.has-fa-icon svg{display:none}.preview .page .chaty-widget span.facustom-icon{width:30px;height:30px;line-height:30px;font-size:20px}.preview .page .chaty-widget span.facustom-icon i{line-height:30px;font-size:18px}.preview.mobiel-view .page .chaty-widget span.facustom-icon{width:24px;height:24px;line-height:24px;font-size:12px}.preview.mobiel-view .page .chaty-widget svg{width:24px;height:24px}.preview.mobiel-view .page .chaty-widget span.facustom-icon i{line-height:24px;font-size:14px}.preview.mobiel-view .page .chaty-widget .social-item-box{height:24px;margin:0 0 4px 0}label.custom-control.custom-radio:before{display:none}.channels-selected-list li#chaty-social-Poptin{padding-bottom:30px}.chaty-popup{position:fixed;width:100%;height:100%;top:0;left:0;z-index:100001;background:rgba(0,0,0,.75)}.chaty-popup-box{padding:0;width:600px;max-width:100%;margin:auto;top:50%;position:absolute;left:0;right:0;border-radius:5px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);text-align:center;background:#fcfcfc}.chaty-popup-header{padding:15px;font-size:20px;border-bottom:solid 1px #e6e6e6}.chaty-popup-content{background:#fff;padding:15px}.chaty-popup-content iframe{margin:30px 0}.chaty-popup-footer{padding:15px;border-top:solid 1px #e6e6e6}.chaty-popup-footer button{border:none;padding:10px 20px;border-radius:4px;background:#00c478;color:#fff}.country-option-box{position:relative}.country-option-box:hover .country-list-box{filter:blur(2px);-o-filter:blur(2px);-ms-filter:blur(2px);-moz-filter:blur(2px);-webkit-filter:blur(2px)}.country-option-box:hover .chaty-pro-feature{display:block}.custom-css{-webkit-box-shadow:0 0 15px 0 #eaeaea;-moz-box-shadow:0 0 15px 0 #eaeaea;box-shadow:0 0 15px 0 #eaeaea;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;padding:10px;height:70px;border:solid 1px #f6f6f6;width:360px;max-width:100%}.close-chaty-popup span{line-height:20px}.close-chaty-popup{margin:0;padding:0;background:0 0;border:none;float:right;background:#000;border-radius:50%;color:#fff;text-align:center;width:24px;height:24px}.css-option-box{width:350px;max-width:100%}.chaty-channel .advanced-settings{display:none}.chaty-channel[data-channel=Custom_Link] .advanced-settings.Custom_Link-settings,.chaty-channel[data-channel=Email] .advanced-settings.Email-settings,.chaty-channel[data-channel=Link] .advanced-settings.Link-settings,.chaty-channel[data-channel=Linkedin] .advanced-settings.Linkedin-settings,.chaty-channel[data-channel=WeChat] .advanced-settings.WeChat-settings,.chaty-channel[data-channel=Whatsapp] .advanced-settings.Whatsapp-settings{display:block}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon{float:left}.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels{float:right}.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box{margin:0 0 0 5px;vertical-align:bottom}.chaty-widget.horizontal span.social-tooltip{right:auto;left:auto;transform:translate(calc(-50% + 15px),-150%);top:0;margin:0 auto}.chaty-widget.horizontal span.social-tooltip:after{top:100%;left:0;right:0;margin:0 auto;transform:rotate(-90deg);width:10px;height:10px}.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after{transform:rotate(90deg)}.chaty-widget.horizontal .social-item-box{display:inline-block;margin:0 5px 0 0;vertical-align:bottom}.chaty-widget.active.horizontal .chaty-channels,.chaty-widget.hover.horizontal:hover .chaty-channels{display:inline-block}.preview .page .chaty-widget.active:not(.has-single) i#iconWidget,.preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget{display:none!important}.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon,.preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon{display:inline-block!important;vertical-align:bottom}.ui-sortable-handle{touch-action:inherit!important}.form-horizontal__item.o-channel{display:none}.form-horizontal__item.o-channel.active{display:flex}.font-section{margin-top:30px}.font-section.active{margin:0}@media (min-width:1281px){.btn-help,.remove-chaty-widget-sticky{transform:rotate(90deg);position:fixed;left:calc(50vw - 480px + 1050px / 12 * 7 + 372px);top:306px;right:auto}}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:1070px;width:100%}.modal__wrap{padding:0}.domain{margin:0 0 10px;padding:20px 60px 26px}}@media (min-width:768px){.widget-icon__block [class^=icon-]{width:54px;height:54px;font-size:28px;line-height:54px}.widget-icon__block [class^=icon-] svg{width:100%}.widget-icon__block .custom-control.custom-radio:first-child{padding-left:20px;max-width:90px}.widget-icon__block .custom-control.custom-radio:last-child{padding-right:20px}}@media (max-width:767px){.main .form-horizontal__item>.widget-icon__wrap{display:flex;justify-content:space-between}.main .form-horizontal__item>.widget-icon__wrap .custom-control{margin:0;flex:1;text-align:center}}@media (min-width:768px){.kv-file-content{width:54px;height:54px}.file-input{width:54px;height:60px}}@media screen and (max-width:1280px){.preview{top:180px}.chaty-sticky-buttons{position:fixed;right:0;top:239px;z-index:601}.preview-section-chaty{display:none;z-index:1001;position:fixed;left:0;right:0;margin:0 auto}.preview-section-chaty.active,.preview-section-overlay.active{display:block}.preview-section-overlay{position:fixed;background:rgba(0,0,0,.6);top:0;left:0;width:100%;height:100vh;z-index:999;display:none;float:none;width:100%}.preview-help-btn{display:block;top:177px;background:#a785cb;padding:0;line-height:42px;height:42px;width:110px}.preview-help-btn:focus,.preview-help-btn:hover{color:#fff}.preview{position:relative;top:0!important;margin:0 auto!important;left:0;right:0;float:none}.preview.mobiel-view .page{width:202px;height:300px}.btn-save-sticky{top:20px!important}.btn-help{top:60px!important}}@media screen and (max-width:1180px){.section.one{max-width:inherit}.main .channels-icons{max-width:600px;text-align:center;margin:0}.main .channels-icons>.icon{display:inline-block;vertical-align:middle;text-align:center;float:none;margin:0;padding:2px 4px 0;width:58px;height:58px}.container{max-width:1180px;padding:0 20px 0 10px}.chaty-settings.cls-btn{margin-left:137px}.chaty-settings.cls-btn span{padding-left:0}}@media screen and (max-width:960px){.chaty-default-settings>*{display:inline-block;vertical-align:middle}.chaty-default-settings .move-icon{width:15px}.channels-selected__item .icon span.custom-chaty-image,.channels-selected__item .icon span.custom-chaty-image img{width:40px;height:40px}.chaty-default-settings .icon{width:40px}.chaty-default-settings .channels__device-box{width:135px}.chaty-default-settings .channels__device-box .channels__view{margin:0}.chaty-settings{width:30px;text-align:center}.chaty-default-settings .icon.icon-md svg,.main .channels-selected__item .icon{width:40px;height:40px;cursor:move}.chaty-default-settings{display:block;width:100%;padding-bottom:0}.chaty-default-settings .channels__input-box input{width:100%}.chaty-default-settings .channels__input-box{width:calc(100% - 255px)}.viber-help{top:50px;bottom:auto}.day-buttons{width:calc(100% - 71% - 102px)}.url-values{width:calc(37% - 52px)}body{background:#af7dd0 url(../images/bg.svg) no-repeat}.modal-dialog.modal-lg{display:none}}@media screen and (max-width:680px){.chaty-default-settings>*{display:inline-block;vertical-align:top}.section-title{font-size:20px;margin:0 0 15px 0}.chaty-default-settings .channels__input-box{width:calc(100% - 80px)}.viber-help{position:relative;top:auto;left:auto;right:auto;padding:5px 0 0 0;width:100%}.chaty-default-settings .channels__device-box{width:calc(100% - 35px);text-align:left;padding:10px 0 0 0}.chaty-settings{padding:10px 0 0 0}.help-section{display:block;width:100%;text-align:left}.chaty-setting-col input[type=text],select.channel-select-input{width:100%}.chaty-default-settings .channels__device-box .channels__view{margin:0 15px 0 0}.chaty-setting-col>*{display:block}.main .form-horizontal__item-label{display:block;width:100%;flex:auto;text-align:left;padding:0 0 5px 0}button.chaty-input-button,select.chaty-select,select.form-fonts{width:100%}.country-option-box{width:100%}.form-horizontal__item>div{display:block;width:100%}.day-select{width:100%;padding-bottom:10px}.chaty-date-time-option .day-time{width:calc(50% - 78px);padding-bottom:0}.chaty-date-time-option .day-buttons{width:36px;padding-bottom:0}.chaty-date-time-option .time-data{display:none}.chaty-date-time-option.first .time-data{display:inline-block}.chaty-date-time-option.first .day-time{width:calc(50% - 58px);padding-bottom:10px}.chaty-date-time-option.first .day-buttons{width:calc(50% - 7px);vertical-align:top}.url-content>*{float:left}.url-box,.url-option,.url-select{width:50%;word-break:break-all;padding:0 2px}.url-values{width:calc(50% - 36px)}.url-box,.url-buttons,.url-values{padding-top:5px}.url-values{padding-left:2px}.url-buttons{padding-right:2px}.chaty-cls-setting .chaty-default-settings .channels__input-box{width:calc(100% - 114px)}.chaty-cls-setting .chaty-settings.cls-btn{margin-left:0;padding:0}.chaty-cls-setting .input-example{display:none}.chaty-cls-setting .input-example.active{display:block;position:relative;top:4px}.css-option-box,.custom-css{width:100%}.main .channels-selected__item .input-example{left:0;top:40px;position:static;width:100%;text-align:left;margin-top:10px}.viber-help span.help-text{left:-40px}.form-horizontal__item span.header-tooltip-text{width:210px;left:-10px}.form-horizontal__item span.header-tooltip-text:before{left:20px;right:auto}.main #positionPro{margin-left:0}}@media screen and (max-width:600px){.url-content>*{width:100%;padding:0 0 5px 0;text-align:left}.url-content>.url-buttons{padding:0}a.remove-chaty-widget-sticky{top:290px}.pro-features{position:relative;display:block}.chaty-setting-col .pro-features.upload-image{display:inline-block}.btn-red,.btn-white{font-size:14px;margin:2px 0;float:right}.update-nag{display:none!important}.chaty-new-widget-row{display:block}.chaty-new-widget-left{width:100%;float:none}.chaty-new-widget-right{width:100%;float:none;padding:20px 0 0 0}.chaty-new-widget-left img{max-width:100%}.chaty-new-widget-wrap{margin:40px 10px 0 0}.btn-save-sticky{top:20px}.btn-help{top:68px!important;height:32px;line-height:34px;padding:0;width:100px}.preview-help-btn{top:183px;height:32px;line-height:34px;padding:0;width:100px}.btn-help span{width:18px;height:18px;line-height:18px;font-size:11px}.mobile-message{display:block}.mobile-button{display:block;margin:10px 0 0 0;float:right}.icon:not(.active):hover:after,.icon:not(.active):hover:before{opacity:0;pointer-events:auto}.icon:not(.active):hover .color-element,.main .channels-icons>.icon:not(.active):hover .color-element{fill:#bdbdbd}.icon:not(.active) .color-element,.main .channels-icons>.icon:not(.active) .color-element{fill:#bdbdbd}.container{padding-left:6px}.btn-save-sticky{font-size:10px;width:32px;height:65px;padding:10px 0 7px;text-align:center}.btn-save-sticky svg{width:25px;margin:0 auto}.btn-save-sticky span{font-size:10px;line-height:10px;height:10px}}@media screen and (max-width:480px){.btn-red,.btn-white{font-size:12px;width:180px;text-align:center}.btn-red svg{width:12px;vertical-align:middle}span.expired-message{color:#a00000;font-size:13px;display:block;padding:0 0 10px 0}a.renew-button{float:right}p.plan_date{font-size:14px}}@media screen and (max-width:400px){.btn-red,.btn-white{font-size:10px;width:160px;text-align:center}.chaty-help-btn{right:20px;bottom:5px}}
admin/assets/js/cht-scripts.js CHANGED
@@ -1701,6 +1701,12 @@ function change_custom_preview() {
1701
  } else {
1702
  setChtIcon(mobileIcon, colorSelf)
1703
  }
 
 
 
 
 
 
1704
  }
1705
 
1706
  function getChtPreviewDesktop() {
1701
  } else {
1702
  setChtIcon(mobileIcon, colorSelf)
1703
  }
1704
+
1705
+ if(jQuery("#channels-selected-list > li.chaty-channel").length <= 1) {
1706
+ jQuery(".o-channel, .font-section").removeClass("active");
1707
+ } else {
1708
+ jQuery(".o-channel, .font-section").addClass("active");
1709
+ }
1710
  }
1711
 
1712
  function getChtPreviewDesktop() {
admin/assets/js/cht-scripts.min.js CHANGED
@@ -1 +1 @@
1
- function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}}jQuery(document).ready(function(){jQuery("#cht-form").submit(function(){if(set_social_channel_order(),phoneNumberReg=/^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$/,jQuery("#cht-form #Whatsapp").length&&""!=jQuery("#cht-form #Whatsapp").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Whatsapp").val()),check_for_number_chaty(InputVal,"Whatsapp")&&!confirm("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Whatsapp").focus(),!1;if(jQuery("#cht-form #Phone").length&&""!=jQuery("#cht-form #Phone").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Phone").val()),check_for_number_chaty(InputVal,"Phone")&&!confirm("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Phone").focus(),!1;if(jQuery("#cht-form #Facebook_Messenger").length&&""!=jQuery("#cht-form #Facebook_Messenger").val()&&(faceBookMeReg=/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/,faceBookReg=/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/,InputVal=jQuery.trim(jQuery("#Facebook_Messenger").val()),jQuery("#cht-form #Facebook_Messenger").val(InputVal),!faceBookReg.test(InputVal)&&!faceBookMeReg.test(InputVal)))return alert("Please make sure your Facebook page's URL looks like, \nhttps://m.me/YOURPAGE"),jQuery("#cht-form #Facebook_Messenger").focus(),!1;if(jQuery("#cht-form #SMS").length&&""!=jQuery("#cht-form #SMS").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #SMS").val()),check_for_number_chaty(InputVal,"SMS")&&!confirm("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #SMS").focus(),!1;if(jQuery("#cht-form #Viber").length&&""!=jQuery("#cht-form #Viber").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Viber").val()),check_for_number_chaty(InputVal,"Viber")&&!confirm("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Viber").focus(),!1;if(errorCount=0,jQuery("#chaty-page-options .cht-required").length&&jQuery("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(jQuery(this).addClass("cht-input-error"),errorCount++)}),jQuery(".chaty-data-and-time-rules .cht-required").length&&jQuery(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(jQuery(this).addClass("cht-input-error"),errorCount++)}),0!=errorCount)return!1;var e=0;return!jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").length||(jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").each(function(){""==jQuery.trim(jQuery(this).val())&&e++}),e!=jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").length)||(!!confirm("You need to fill out at least one channel details for Chaty to show up on your website. Click cancel to keep editing.")||(jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").each(function(){""==jQuery.trim(jQuery(this).val())&&(e=1)}),jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").addClass("border-red"),jQuery("#channels-selected-list > li:not(#chaty-social-close) .channels__input:first").focus(),!1))}),jQuery(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),jQuery(document).on("click",".preview-section-overlay",function(){jQuery(".preview-help-btn").removeClass("active"),jQuery(".preview-section-chaty").removeClass("active"),jQuery(".preview-section-overlay").removeClass("active")}),jQuery(document).on("click",".preview-help-btn",function(e){e.preventDefault(),jQuery(this).hasClass("active")?(jQuery(this).removeClass("active"),jQuery(".preview-section-chaty").removeClass("active"),jQuery(".preview-section-overlay").removeClass("active")):(jQuery(this).addClass("active"),jQuery(".preview-section-chaty").addClass("active"),jQuery(".preview-section-overlay").addClass("active"))})}),function(e,t){jQuery.fn[t]=function(e){return e?this.bind("resize",(a=e,function(){var e=this,t=arguments;i?clearTimeout(i):c&&a.apply(e,t),i=setTimeout(function(){c||a.apply(e,t),i=null},o||100)})):this.trigger(t);var a,o,c,i}}(jQuery,"smartModalResize"),function(e){"use strict";var t={init:function(t){var a={top:"auto",left:"auto",autoOpen:!1,overlayOpacity:.5,overlayColor:"#000",overlayClose:!0,overlayParent:"body",closeOnEscape:!0,closeButtonClass:".close",transitionIn:"",transitionOut:"",onOpen:!1,onClose:!1,zIndex:function(){return(t=Math.max.apply(Math,e.makeArray(jQuery("*").map(function(){return jQuery(this).css("z-index")}).filter(function(){return e.isNumeric(this)}).map(function(){return parseInt(this,10)}))))===-1/0?0:t+1;var t},updateZIndexOnOpen:!0,hasVariableWidth:!1};return t=e.extend(a,t),this.each(function(){var e=t,a=jQuery('<div class="lean-overlay"></div>'),o=jQuery(this);a.css({display:"none",position:"fixed","z-index":e.updateZIndexOnOpen?0:e.zIndex(),top:0,left:0,height:"100%",width:"100%",background:e.overlayColor,opacity:e.overlayOpacity,overflow:"auto"}).appendTo(e.overlayParent),o.css({display:"none",position:"fixed","z-index":e.updateZIndexOnOpen?0:e.zIndex()+1,left:parseInt(e.left,10)>-1?e.left+"px":"50%",top:parseInt(e.top,10)>-1?e.top+"px":"50%"}),o.bind("openModal",function(){var t=e.updateZIndexOnOpen?e.zIndex():parseInt(a.css("z-index"),10),c=t+1;""!==e.transitionIn&&""!==e.transitionOut&&o.removeClass(e.transitionOut).addClass(e.transitionIn),o.css({display:"block","margin-left":(parseInt(e.left,10)>-1?0:-o.outerWidth()/2)+"px","margin-top":(parseInt(e.top,10)>-1?0:-o.outerHeight()/2)+"px","z-index":c}),a.css({"z-index":t,display:"block"}),e.onOpen&&"function"==typeof e.onOpen&&e.onOpen(o[0])}),o.bind("closeModal",function(){""!==e.transitionIn&&""!==e.transitionOut?(o.removeClass(e.transitionIn).addClass(e.transitionOut),o.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){o.css("display","none"),a.css("display","none")})):(o.css("display","none"),a.css("display","none")),e.onClose&&"function"==typeof e.onClose&&e.onClose(o[0])}),a.click(function(){e.overlayClose&&o.trigger("closeModal")}),jQuery(document).keydown(function(t){e.closeOnEscape&&27===t.keyCode&&o.trigger("closeModal")}),jQuery(window).smartModalResize(function(){e.hasVariableWidth&&o.css({"margin-left":(parseInt(e.left,10)>-1?0:-o.outerWidth()/2)+"px","margin-top":(parseInt(e.top,10)>-1?0:-o.outerHeight()/2)+"px"})}),o.on("click",e.closeButtonClass,function(e){o.trigger("closeModal"),e.preventDefault()}),e.autoOpen&&o.trigger("openModal")})}};e.fn.easyModal=function(a){return t[a]?t[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?void e.error("Method "+a+" does not exist on jQuery.easyModal"):t.init.apply(this,arguments)}}(jQuery),function(e){jQuery(document).ready(function(){jQuery("input, .icon, textarea, .btn-cancel:not(.close-btn-set) ").click(function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(e){1==e.status&&(jQuery(".custom-icon-"+e.channel+" svg").html(e.data.svg),jQuery("#chaty-social-"+e.channel).attr("data-channel",e.data.slug),jQuery("#chaty-social-"+e.channel).find(".sp-preview-inner").css("background-color",e.data.color),jQuery("#chaty-social-"+e.channel).find(".chaty-color-field").val(e.data.color),jQuery("#chaty-social-"+e.channel).find(".channels__input").attr("placeholder",e.data.placeholder),jQuery("#chaty-social-"+e.channel).find(".channel-example").text(e.data.example),jQuery("#chaty-social-"+e.channel).find(".chaty-title").val(e.data.title),jQuery("#chaty-social-"+e.channel).find(".icon").attr("data-title",e.data.title),jQuery("#chaty-social-"+e.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=e.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+e.data.help_link+'">'+e.data.help_title+"</a></div>"):""!=e.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+e.data.help_text+'</span><span class="help-title">'+e.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").click(function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").click(function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")}),jQuery(".easy-modal").easyModal({top:150,overlay:.2}),jQuery(".easy-modal-open").click(function(e){var t=jQuery(this).attr("href");jQuery(t).trigger("openModal"),e.preventDefault()}),jQuery(".easy-modal-close").click(function(e){e.preventDefault(),jQuery(".easy-modal").trigger("closeModal")});var t=1000000003;jQuery(".show_up").click(function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").change(function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").change(function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').change(function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").keyup(function(e){jQuery(".tooltiptext span").html(jQuery(this).val()),0==jQuery(this).val().length?(jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200)):(jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200))})})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var i=t.val()+"px";else i="7px";e.change(function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.change(function(){var e=jQuery('[name="positionSide"]:checked').val();i=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))}),jQuery('[name="positionSide"]').change(function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))})}}jQuery(".color-picker-radio input").change(function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").change(function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").click(function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip")}a(),e.change(function(){a()})}(),e(),jQuery('input[name="cht_position"]').change(function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").keyup(function(e){var t=jQuery(this).val();jQuery(".circle").html(""),jQuery(".color-picker-custom .circle").css({"background-color":t}),jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),i=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var n=","+jQuery(this).attr("data-social");return r=(r=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var r;n=","+icon;r=(r=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return jQuery(".popover").show().effect("shake",{times:3},600),void t.removeClass("disabled");if(c.toggleClass("active"),jQuery("section").is("#pro"))var s="pro";else s="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:i,nonce_code:cht_nonce_ajax.cht_nonce,version:s,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){var a=jQuery(e),c=a.find(".icon").data("title");jQuery('.channels-selected div[data-social="'+c+'"]').length||jQuery("#chaty-social-close").before(a),t.removeClass("disabled"),u(),o(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color()}}),check_for_chaty_close_button()},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").click(function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),i=jQuery(".preview .tooltip-show");c.keyup(function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),i.attr("data-title",c.val())});var n,r,s='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),h()?(0===jQuery(".js-chanel-desktop:checked").length?(e=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=s,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=s,a=!0)),n=e,r=t,h()?y(n,a):y(r,a)}function y(e,t){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click"),"open"==thisVal?jQuery(".chaty-widget").addClass("active"):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(h())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state")):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value"))),jQuery(o+":checked").length>1?(jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";""!=t&&(t="<span class='social-tooltip'>"+t+"</span>"),jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}),"open"==jQuery("#chaty_default_state").val()&&jQuery("#cht_close_button").is(":checked")?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"!=jQuery("#chaty_default_state").val()?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"==jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow")),jQuery(".chaty-widget").removeClass("has-single")):1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val())}function h(){return"checked"===jQuery("#previewDesktop").attr("checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){h()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){s=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+e.target.dataset.type+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(s=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(document).ready(function(){jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).resize(function(){check_for_preview_pos()}),jQuery(window).scroll(function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").click(function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").click(function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(this).closest(".chaty-page-option").remove(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last")}),jQuery(document).on("click",".remove-page-option",function(){jQuery(this).closest(".chaty-date-time-option").remove()}),jQuery("#image-upload-content .custom-control-label").click(function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color(),change_custom_preview()}}),jQuery(".chaty-color-field").change(function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",update:function(e,t){set_social_channel_order(),change_custom_preview()}}),jQuery(".close-button-img img, .close-button-img .image-upload").click(function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").click(function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").click(function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?(jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).load(function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&(jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a)}function getChtPreviewDesktop(){return"checked"===jQuery("#previewDesktop").attr("checked")}function setChtIcon(e,t){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}
1
+ function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}}jQuery(document).ready(function(){jQuery("#cht-form").submit(function(){if(set_social_channel_order(),phoneNumberReg=/^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$/,jQuery("#cht-form #Whatsapp").length&&""!=jQuery("#cht-form #Whatsapp").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Whatsapp").val()),check_for_number_chaty(InputVal,"Whatsapp")&&!confirm("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Whatsapp").focus(),!1;if(jQuery("#cht-form #Phone").length&&""!=jQuery("#cht-form #Phone").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Phone").val()),check_for_number_chaty(InputVal,"Phone")&&!confirm("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Phone").focus(),!1;if(jQuery("#cht-form #Facebook_Messenger").length&&""!=jQuery("#cht-form #Facebook_Messenger").val()&&(faceBookMeReg=/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/,faceBookReg=/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/,InputVal=jQuery.trim(jQuery("#Facebook_Messenger").val()),jQuery("#cht-form #Facebook_Messenger").val(InputVal),!faceBookReg.test(InputVal)&&!faceBookMeReg.test(InputVal)))return alert("Please make sure your Facebook page's URL looks like, \nhttps://m.me/YOURPAGE"),jQuery("#cht-form #Facebook_Messenger").focus(),!1;if(jQuery("#cht-form #SMS").length&&""!=jQuery("#cht-form #SMS").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #SMS").val()),check_for_number_chaty(InputVal,"SMS")&&!confirm("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #SMS").focus(),!1;if(jQuery("#cht-form #Viber").length&&""!=jQuery("#cht-form #Viber").val()&&(InputVal=jQuery.trim(jQuery("#cht-form #Viber").val()),check_for_number_chaty(InputVal,"Viber")&&!confirm("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?")))return jQuery("#cht-form #Viber").focus(),!1;if(errorCount=0,jQuery("#chaty-page-options .cht-required").length&&jQuery("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(jQuery(this).addClass("cht-input-error"),errorCount++)}),jQuery(".chaty-data-and-time-rules .cht-required").length&&jQuery(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(jQuery(this).val())&&(jQuery(this).addClass("cht-input-error"),errorCount++)}),0!=errorCount)return!1;var e=0;return!jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").length||(jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").each(function(){""==jQuery.trim(jQuery(this).val())&&e++}),e!=jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").length)||(!!confirm("You need to fill out at least one channel details for Chaty to show up on your website. Click cancel to keep editing.")||(jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").each(function(){""==jQuery.trim(jQuery(this).val())&&(e=1)}),jQuery("#channels-selected-list > li:not(#chaty-social-close").find(".channels__input").addClass("border-red"),jQuery("#channels-selected-list > li:not(#chaty-social-close) .channels__input:first").focus(),!1))}),jQuery(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),jQuery(document).on("click",".preview-section-overlay",function(){jQuery(".preview-help-btn").removeClass("active"),jQuery(".preview-section-chaty").removeClass("active"),jQuery(".preview-section-overlay").removeClass("active")}),jQuery(document).on("click",".preview-help-btn",function(e){e.preventDefault(),jQuery(this).hasClass("active")?(jQuery(this).removeClass("active"),jQuery(".preview-section-chaty").removeClass("active"),jQuery(".preview-section-overlay").removeClass("active")):(jQuery(this).addClass("active"),jQuery(".preview-section-chaty").addClass("active"),jQuery(".preview-section-overlay").addClass("active"))})}),function(e,t){jQuery.fn[t]=function(e){return e?this.bind("resize",(a=e,function(){var e=this,t=arguments;i?clearTimeout(i):c&&a.apply(e,t),i=setTimeout(function(){c||a.apply(e,t),i=null},o||100)})):this.trigger(t);var a,o,c,i}}(jQuery,"smartModalResize"),function(e){"use strict";var t={init:function(t){var a={top:"auto",left:"auto",autoOpen:!1,overlayOpacity:.5,overlayColor:"#000",overlayClose:!0,overlayParent:"body",closeOnEscape:!0,closeButtonClass:".close",transitionIn:"",transitionOut:"",onOpen:!1,onClose:!1,zIndex:function(){return(t=Math.max.apply(Math,e.makeArray(jQuery("*").map(function(){return jQuery(this).css("z-index")}).filter(function(){return e.isNumeric(this)}).map(function(){return parseInt(this,10)}))))===-1/0?0:t+1;var t},updateZIndexOnOpen:!0,hasVariableWidth:!1};return t=e.extend(a,t),this.each(function(){var e=t,a=jQuery('<div class="lean-overlay"></div>'),o=jQuery(this);a.css({display:"none",position:"fixed","z-index":e.updateZIndexOnOpen?0:e.zIndex(),top:0,left:0,height:"100%",width:"100%",background:e.overlayColor,opacity:e.overlayOpacity,overflow:"auto"}).appendTo(e.overlayParent),o.css({display:"none",position:"fixed","z-index":e.updateZIndexOnOpen?0:e.zIndex()+1,left:parseInt(e.left,10)>-1?e.left+"px":"50%",top:parseInt(e.top,10)>-1?e.top+"px":"50%"}),o.bind("openModal",function(){var t=e.updateZIndexOnOpen?e.zIndex():parseInt(a.css("z-index"),10),c=t+1;""!==e.transitionIn&&""!==e.transitionOut&&o.removeClass(e.transitionOut).addClass(e.transitionIn),o.css({display:"block","margin-left":(parseInt(e.left,10)>-1?0:-o.outerWidth()/2)+"px","margin-top":(parseInt(e.top,10)>-1?0:-o.outerHeight()/2)+"px","z-index":c}),a.css({"z-index":t,display:"block"}),e.onOpen&&"function"==typeof e.onOpen&&e.onOpen(o[0])}),o.bind("closeModal",function(){""!==e.transitionIn&&""!==e.transitionOut?(o.removeClass(e.transitionIn).addClass(e.transitionOut),o.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){o.css("display","none"),a.css("display","none")})):(o.css("display","none"),a.css("display","none")),e.onClose&&"function"==typeof e.onClose&&e.onClose(o[0])}),a.click(function(){e.overlayClose&&o.trigger("closeModal")}),jQuery(document).keydown(function(t){e.closeOnEscape&&27===t.keyCode&&o.trigger("closeModal")}),jQuery(window).smartModalResize(function(){e.hasVariableWidth&&o.css({"margin-left":(parseInt(e.left,10)>-1?0:-o.outerWidth()/2)+"px","margin-top":(parseInt(e.top,10)>-1?0:-o.outerHeight()/2)+"px"})}),o.on("click",e.closeButtonClass,function(e){o.trigger("closeModal"),e.preventDefault()}),e.autoOpen&&o.trigger("openModal")})}};e.fn.easyModal=function(a){return t[a]?t[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?void e.error("Method "+a+" does not exist on jQuery.easyModal"):t.init.apply(this,arguments)}}(jQuery),function(e){jQuery(document).ready(function(){jQuery("input, .icon, textarea, .btn-cancel:not(.close-btn-set) ").click(function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(e){1==e.status&&(jQuery(".custom-icon-"+e.channel+" svg").html(e.data.svg),jQuery("#chaty-social-"+e.channel).attr("data-channel",e.data.slug),jQuery("#chaty-social-"+e.channel).find(".sp-preview-inner").css("background-color",e.data.color),jQuery("#chaty-social-"+e.channel).find(".chaty-color-field").val(e.data.color),jQuery("#chaty-social-"+e.channel).find(".channels__input").attr("placeholder",e.data.placeholder),jQuery("#chaty-social-"+e.channel).find(".channel-example").text(e.data.example),jQuery("#chaty-social-"+e.channel).find(".chaty-title").val(e.data.title),jQuery("#chaty-social-"+e.channel).find(".icon").attr("data-title",e.data.title),jQuery("#chaty-social-"+e.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=e.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+e.data.help_link+'">'+e.data.help_title+"</a></div>"):""!=e.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+e.data.help_text+'</span><span class="help-title">'+e.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").click(function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").click(function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")}),jQuery(".easy-modal").easyModal({top:150,overlay:.2}),jQuery(".easy-modal-open").click(function(e){var t=jQuery(this).attr("href");jQuery(t).trigger("openModal"),e.preventDefault()}),jQuery(".easy-modal-close").click(function(e){e.preventDefault(),jQuery(".easy-modal").trigger("closeModal")});var t=1000000003;jQuery(".show_up").click(function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").change(function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").change(function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').change(function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").keyup(function(e){jQuery(".tooltiptext span").html(jQuery(this).val()),0==jQuery(this).val().length?(jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200)):(jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200))})})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var i=t.val()+"px";else i="7px";e.change(function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.change(function(){var e=jQuery('[name="positionSide"]:checked').val();i=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))}),jQuery('[name="positionSide"]').change(function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))})}}jQuery(".color-picker-radio input").change(function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").change(function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").click(function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip")}a(),e.change(function(){a()})}(),e(),jQuery('input[name="cht_position"]').change(function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").keyup(function(e){var t=jQuery(this).val();jQuery(".circle").html(""),jQuery(".color-picker-custom .circle").css({"background-color":t}),jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),i=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var n=","+jQuery(this).attr("data-social");return r=(r=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var r;n=","+icon;r=(r=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r),r=r.replace(n,""),jQuery(".add_slug").val(r)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return jQuery(".popover").show().effect("shake",{times:3},600),void t.removeClass("disabled");if(c.toggleClass("active"),jQuery("section").is("#pro"))var s="pro";else s="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:i,nonce_code:cht_nonce_ajax.cht_nonce,version:s,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){var a=jQuery(e),c=a.find(".icon").data("title");jQuery('.channels-selected div[data-social="'+c+'"]').length||jQuery("#chaty-social-close").before(a),t.removeClass("disabled"),u(),o(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color()}}),check_for_chaty_close_button()},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").click(function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),i=jQuery(".preview .tooltip-show");c.keyup(function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),i.attr("data-title",c.val())});var n,r,s='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),h()?(0===jQuery(".js-chanel-desktop:checked").length?(e=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=s,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=s,a=!0)),n=e,r=t,h()?y(n,a):y(r,a)}function y(e,t){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click"),"open"==thisVal?jQuery(".chaty-widget").addClass("active"):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(h())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state")):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value"))),jQuery(o+":checked").length>1?(jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";""!=t&&(t="<span class='social-tooltip'>"+t+"</span>"),jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}),"open"==jQuery("#chaty_default_state").val()&&jQuery("#cht_close_button").is(":checked")?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"!=jQuery("#chaty_default_state").val()?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"==jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow")),jQuery(".chaty-widget").removeClass("has-single")):1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val())}function h(){return"checked"===jQuery("#previewDesktop").attr("checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){h()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){s=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+e.target.dataset.type+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(s=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(document).ready(function(){jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).resize(function(){check_for_preview_pos()}),jQuery(window).scroll(function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").click(function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").click(function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(this).closest(".chaty-page-option").remove(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last")}),jQuery(document).on("click",".remove-page-option",function(){jQuery(this).closest(".chaty-date-time-option").remove()}),jQuery("#image-upload-content .custom-control-label").click(function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,move:function(e){jQuery(this).val(e.toHexString()),chaty_set_bg_color(),change_custom_preview()}}),jQuery(".chaty-color-field").change(function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",update:function(e,t){set_social_channel_order(),change_custom_preview()}}),jQuery(".close-button-img img, .close-button-img .image-upload").click(function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").click(function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").click(function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?(jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).load(function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&(jQuery("head").append('<link href="https://fonts.googleapis.com/css?family='+e+':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">'),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a),jQuery("#channels-selected-list > li.chaty-channel").length<=1?jQuery(".o-channel, .font-section").removeClass("active"):jQuery(".o-channel, .font-section").addClass("active")}function getChtPreviewDesktop(){return"checked"===jQuery("#previewDesktop").attr("checked")}function setChtIcon(e,t){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page svg circle").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}
cht-icons.php CHANGED
@@ -7,7 +7,7 @@
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
- Version: 2.5.5
11
  License: GPL2
12
  */
13
 
@@ -27,7 +27,7 @@ define('CHT_INC', CHT_DIR . '/includes');
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
- define('CHT_VERSION', "2.5.5");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
@@ -46,6 +46,10 @@ if (!function_exists('wp_doing_ajax')) {
46
  if(!function_exists("cht_clear_all_caches")) {
47
  function cht_clear_all_caches()
48
  {
 
 
 
 
49
  try {
50
  global $wp_fastest_cache;
51
  // if W3 Total Cache is being used, clear the cache
7
  Author URI: https://premio.io/downloads/chaty/
8
  Text Domain: chaty
9
  Domain Path: /languages
10
+ Version: 2.5.6
11
  License: GPL2
12
  */
13
 
27
  define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
28
  define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
29
  define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
30
+ define('CHT_VERSION', "2.5.6");
31
 
32
  if (!function_exists('wp_doing_ajax')) {
33
  function wp_doing_ajax()
46
  if(!function_exists("cht_clear_all_caches")) {
47
  function cht_clear_all_caches()
48
  {
49
+ /* Clear cookies from browser */
50
+ setcookie("display_cta", '', time() - 3600, "/");
51
+ setcookie("chaty-animation", '', time() - 3600, "/");
52
+ setcookie("cta_widget_status", '', time() - 3600, "/");
53
  try {
54
  global $wp_fastest_cache;
55
  // if W3 Total Cache is being used, clear the cache
includes/class-frontend.php CHANGED
@@ -568,7 +568,7 @@ class CHT_Frontend extends CHT_Admin_Base
568
 
569
  $channel_type = strtolower($channel_type);
570
 
571
- if($channel_type == "Viber") {
572
  /* Viber change to exclude + from number for desktop */
573
  $val = $value['value'];
574
  $fc = substr($val, 0, 1);
@@ -580,16 +580,16 @@ class CHT_Frontend extends CHT_Admin_Base
580
  /* Viber change to include + from number for mobile */
581
  $val = "+".$val;
582
  }
583
- } else if($channel_type == "Whatsapp") {
584
  /* Whatspp change to exclude + from phone number */
585
  $val = $value['value'];
586
  $val = str_replace("+","", $val);
587
- } else if($channel_type == "Facebook_Messenger") {
588
  /* Facebook change to change URL from facebook.com to m.me version 2.1.0 change */
589
  $val = $value['value'];
590
- $val = str_replace("facebook.com","m.me", $val);
591
- /* Facebook change to remove www. from URL. version 2.1.0 change */
592
- $val = str_replace("www.","", $val);
593
 
594
  $val = trim($val, "/");
595
  $val_array = explode("/", $val);
@@ -622,6 +622,7 @@ class CHT_Frontend extends CHT_Admin_Base
622
  }
623
  }
624
 
 
625
  /* get custom icon background color if exists. version 2.1.0 change */
626
  if(!isset($value['bg_color']) || empty($value['bg_color'])) {
627
  $value['bg_color'] = '';
@@ -662,11 +663,13 @@ class CHT_Frontend extends CHT_Admin_Base
662
  $is_exist = strpos($val, "javascript");
663
  if($is_exist != "") {
664
  $url = esc_url($val);
665
- } else {
666
  if($channel_type == "custom_link" || $channel_type == "link") {
667
  $desktop_target = (isset($value['new_window']) && $value['new_window'] == 0)?"":"_blank";
668
  $mobile_target = (isset($value['new_window']) && $value['new_window'] == 0)?"":"_blank";
669
  }
 
 
 
670
  }
671
  }else if($channel_type == "wechat") {
672
  /* setting for WeChat */
@@ -769,6 +772,7 @@ class CHT_Frontend extends CHT_Admin_Base
769
  'is_mobile' => $is_mobile,
770
  'is_desktop' => $is_desktop,
771
  'mobile_url' => $mobile_url,
 
772
  "has_font" => 0
773
  );
774
  $arr[] = $data;
568
 
569
  $channel_type = strtolower($channel_type);
570
 
571
+ if($channel_type == "viber") {
572
  /* Viber change to exclude + from number for desktop */
573
  $val = $value['value'];
574
  $fc = substr($val, 0, 1);
580
  /* Viber change to include + from number for mobile */
581
  $val = "+".$val;
582
  }
583
+ } else if($channel_type == "whatsapp") {
584
  /* Whatspp change to exclude + from phone number */
585
  $val = $value['value'];
586
  $val = str_replace("+","", $val);
587
+ } else if($channel_type == "facebook_messenger") {
588
  /* Facebook change to change URL from facebook.com to m.me version 2.1.0 change */
589
  $val = $value['value'];
590
+ $val = str_replace("facebook.com","m.me", $val); // Replace facebook.com with m.me version 2.0.1 change
591
+ $val = str_replace("www.","", $val); // Replace www. with blank version 2.0.1 change
592
+ $value['value'] = $val;
593
 
594
  $val = trim($val, "/");
595
  $val_array = explode("/", $val);
622
  }
623
  }
624
 
625
+ $on_click_fn = "";
626
  /* get custom icon background color if exists. version 2.1.0 change */
627
  if(!isset($value['bg_color']) || empty($value['bg_color'])) {
628
  $value['bg_color'] = '';
663
  $is_exist = strpos($val, "javascript");
664
  if($is_exist != "") {
665
  $url = esc_url($val);
 
666
  if($channel_type == "custom_link" || $channel_type == "link") {
667
  $desktop_target = (isset($value['new_window']) && $value['new_window'] == 0)?"":"_blank";
668
  $mobile_target = (isset($value['new_window']) && $value['new_window'] == 0)?"":"_blank";
669
  }
670
+ } else {
671
+ $url = "javascript:;";
672
+ $on_click_fn = str_replace('"',"'",$val);
673
  }
674
  }else if($channel_type == "wechat") {
675
  /* setting for WeChat */
772
  'is_mobile' => $is_mobile,
773
  'is_desktop' => $is_desktop,
774
  'mobile_url' => $mobile_url,
775
+ 'on_click' => $on_click_fn,
776
  "has_font" => 0
777
  );
778
  $arr[] = $data;
js/cht-front-script.js CHANGED
@@ -84,8 +84,14 @@
84
  }
85
  e.object_settings.social[t].href_url = "viber://chat?number="+e.object_settings.social[t].href_url;
86
  }
 
 
 
 
87
  console.log(e.object_settings.social[t].href_url);
88
- socialString = '<div class="chaty-widget-i chaty-main-widget ' + desktopClass + " " + mobileClass + " " + extra_class + " " + e.object_settings.social[t].social_channel + '" data-title="' + e.object_settings.social[t].val + '" id="chaty-channel-' + e.object_settings.social[t].social_channel + '" data-channel="' + e.object_settings.social[t].social_channel + '" data-code="' + e.object_settings.social[t].qr_code_image + '">', bgColor = "", "" != e.object_settings.social[t].bg_color && (socialString += "<style>#chaty-channel-" + e.object_settings.social[t].social_channel + " .color-element {fill: " + e.object_settings.social[t].bg_color + "}</style>", bgColor = "style='background-color: " + e.object_settings.social[t].bg_color + ";'"), socialString += "<a class='set-url-target' rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='" + targetAction + "' href='" + e.object_settings.social[t].href_url + "' >", "" != e.object_settings.social[t].img_url ? socialString += "<span " + bgColor + " class='chaty-social-img'><img src='" + e.object_settings.social[t].img_url + "' alt='" + e.object_settings.social[t].title + "' /></span>" : socialString += e.object_settings.social[t].default_icon, socialString += "</a>", socialString += "<div class='chaty-widget-i-title'><p>" + e.object_settings.social[t].title + "</p></div>", socialString += "</div>";
 
 
89
  i += socialString;
90
  }), i
91
  }(e), l = e.object_settings.social, Object.keys(l).length >= 1) {
@@ -381,7 +387,7 @@
381
  jQuery(".chaty-widget").addClass("hide-tooltip-arrow");
382
  setInterval(function(){
383
  set_cta_status();
384
- }, 900);
385
  }
386
 
387
  jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button");
84
  }
85
  e.object_settings.social[t].href_url = "viber://chat?number="+e.object_settings.social[t].href_url;
86
  }
87
+ var onclick_settings = "";
88
+ if(e.object_settings.social[t].on_click != "") {
89
+ onclick_settings = ' onclick="'+e.object_settings.social[t].on_click+'"';
90
+ }
91
  console.log(e.object_settings.social[t].href_url);
92
+ socialString = '<div class="chaty-widget-i chaty-main-widget ' + desktopClass + " " + mobileClass + " " + extra_class + " " + e.object_settings.social[t].social_channel + '" data-title="' + e.object_settings.social[t].val + '" id="chaty-channel-' + e.object_settings.social[t].social_channel + '" data-channel="' + e.object_settings.social[t].social_channel + '" data-code="' + e.object_settings.social[t].qr_code_image + '">',
93
+ bgColor = "",
94
+ "" != e.object_settings.social[t].bg_color && (socialString += "<style>#chaty-channel-" + e.object_settings.social[t].social_channel + " .color-element {fill: " + e.object_settings.social[t].bg_color + "}</style>", bgColor = "style='background-color: " + e.object_settings.social[t].bg_color + ";'"), socialString += "<a class='set-url-target' "+onclick_settings+" rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='" + targetAction + "' href='" + e.object_settings.social[t].href_url + "' >", "" != e.object_settings.social[t].img_url ? socialString += "<span " + bgColor + " class='chaty-social-img'><img src='" + e.object_settings.social[t].img_url + "' alt='" + e.object_settings.social[t].title + "' /></span>" : socialString += e.object_settings.social[t].default_icon, socialString += "</a>", socialString += "<div class='chaty-widget-i-title'><p>" + e.object_settings.social[t].title + "</p></div>", socialString += "</div>";
95
  i += socialString;
96
  }), i
97
  }(e), l = e.object_settings.social, Object.keys(l).length >= 1) {
387
  jQuery(".chaty-widget").addClass("hide-tooltip-arrow");
388
  setInterval(function(){
389
  set_cta_status();
390
+ }, 10000);
391
  }
392
 
393
  jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button");
js/cht-front-script.min.js CHANGED
@@ -1 +1 @@
1
- function launch_chaty(){jQuery(".chaty-widget").hasClass("one_widget")||jQuery(".trigger-chaty-button").trigger("click")}!function(t){var e={};function i(s){if(e[s])return e[s].exports;var a=e[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=10)}({10:function(t,e,i){i(11),t.exports=i(12)},11:function(t,e){!function(t){var e,i=0,s=chaty_settings,a=".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon";function o(t){for(var e=t+"=",i=document.cookie.split(";"),s=0;s<i.length;s++){for(var a=i[s];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return""}new Date;function c(){var t=new Date;setInterval(function(){t.setTime(t.getTime()+1e3),document.cookie="display_cta=none; expires="+t.toGMTString()+"; path=/"},500)}function n(t,e,i){var s="";if(i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3),s="; expires="+a.toUTCString()}document.cookie=t+"="+(e||"")+s+"; path=/"}function g(t){for(var e=t+"=",i=document.cookie.split(";"),s=0;s<i.length;s++){for(var a=i[s];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return null}function r(){n("cta_widget_status","yes",1),i=1;var t=0;t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,null!=g("chaty-animation")&&(chaty_settings.object_settings.animation_class=""),""!=chaty_settings.object_settings.animation_class&&(jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='svg'></div>"}),"sheen"!=chaty_settings.object_settings.animation_class?t>1?(jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3)},5e3)):1==t&&(a=".chaty-main-widget svg, .chaty-main-widget img, .chaty-main-widget .facustom-icon",jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3)},5e3)):(a=".i-trigger .chaty-widget-i .wrap-svg",jQuery(".i-trigger .chaty-widget-i .wrap-svg").length||jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='wrap-svg'></div>"}),jQuery(a).removeClass("chaty-animation-sheen").removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-sheen").addClass("start-now")},10),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-sheen").removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-sheen").addClass("start-now")},10)},5e3))),"open"==chaty_settings.object_settings.display_state&&("no"==chaty_settings.object_settings.has_close_button?t>1&&(l(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"),jQuery(".chaty-widget-is").addClass("has-no-close-btn"),jQuery(".i-trigger").remove()):t>1&&(l(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function l(){e&&(clearInterval(e),e=0),n("chaty-animation","stop",1),jQuery(".chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(".start-now").removeClass("start-now"),chaty_settings.object_settings.animation_class=""}o("display_cta"),token="",jQuery(document).ready(function(){"true"==s.object_settings.active&&function(e,i){var s=e.object_settings.device,a="";if("right"==e.object_settings.position)a="left: auto;bottom: 25px; right: 25px;";else if("left"==e.object_settings.position)a="right: auto; bottom: 25px; left: 25px;";else if("custom"==e.object_settings.position){var c=e.object_settings.pos_side,n=e.object_settings.bot,g=e.object_settings.side;a="right"===c?"left: auto; bottom: "+n+"px; right: "+g+"px":"left: "+g+"px; bottom: "+n+"px; right: auto"}var r=e.object_settings.cta,l="",d=e.object_settings.social,h=!1;if((/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(h=!0),h?jQuery("body").addClass("chaty-in-mobile"):jQuery("body").addClass("chaty-in-desktop"),Object.keys(d).length>=1&&(l='<div class="chaty-widget hide-widget '+i+" "+s+' " style="display:block; '+a+'" dir="ltr">',l+='<div class="chaty-widget-is" id="transition_disabled">'),l+=function(e){var i="",s=0;return t.each(e.object_settings.social,function(t,a){if(e.object_settings.isPRO&&jQuery("body").addClass("has-pro-version"),!e.object_settings.isPRO&&"3"==++s)return!1;extra_class="","1"!=e.object_settings.analytics&&1!=e.object_settings.analytics||(extra_class+=" update-analytics ");var o=1==e.object_settings.social[t].is_desktop?"is-in-desktop":"",c=1==e.object_settings.social[t].is_mobile?"is-in-mobile":"",n=1==e.object_settings.is_mobile?e.object_settings.social[t].mobile_target:e.object_settings.social[t].desktop_target;if(jQuery("body").hasClass("chaty-in-mobile")&&(e.object_settings.social[t].href_url=e.object_settings.social[t].mobile_url),"viber"==e.object_settings.social[t].social_channel){if(jQuery("body").hasClass("chaty-in-mobile")){var g=e.object_settings.social[t].href_url;g=g.replace("+",""),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(g="+"+g),e.object_settings.social[t].href_url=g}e.object_settings.social[t].href_url="viber://chat?number="+e.object_settings.social[t].href_url}console.log(e.object_settings.social[t].href_url),socialString='<div class="chaty-widget-i chaty-main-widget '+o+" "+c+" "+extra_class+" "+e.object_settings.social[t].social_channel+'" data-title="'+e.object_settings.social[t].val+'" id="chaty-channel-'+e.object_settings.social[t].social_channel+'" data-channel="'+e.object_settings.social[t].social_channel+'" data-code="'+e.object_settings.social[t].qr_code_image+'">',bgColor="",""!=e.object_settings.social[t].bg_color&&(socialString+="<style>#chaty-channel-"+e.object_settings.social[t].social_channel+" .color-element {fill: "+e.object_settings.social[t].bg_color+"}</style>",bgColor="style='background-color: "+e.object_settings.social[t].bg_color+";'"),socialString+="<a class='set-url-target' rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='"+n+"' href='"+e.object_settings.social[t].href_url+"' >",""!=e.object_settings.social[t].img_url?socialString+="<span "+bgColor+" class='chaty-social-img'><img src='"+e.object_settings.social[t].img_url+"' alt='"+e.object_settings.social[t].title+"' /></span>":socialString+=e.object_settings.social[t].default_icon,socialString+="</a>",socialString+="<div class='chaty-widget-i-title'><p>"+e.object_settings.social[t].title+"</p></div>",socialString+="</div>",i+=socialString}),i}(e),d=e.object_settings.social,Object.keys(d).length>=1){l+="</div>",l+='<div class="i-trigger">';var y=o("display_cta"),w=current_url=window.location.origin;if(w=(w=w.replace("https://","")).replace("http://",""),""!=r&&"none"!=y)var _="true";else _="no-tooltip";l+='<div class="chaty-widget-i chaty-close-settings i-trigger-open '+_+' ">',l+=function(t){switch(t.object_settings.widget_type){case"chat-image":if(t.object_settings.widget_img.length>1)return'<div class="widget-img" style="background-color:'+t.object_settings.color+'"><img src="'+t.object_settings.widget_img+'"/></div>';case"chat-smile":return'<svg version="1.1" id="smile" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.8 507.1 54 54" style="enable-background:new -496.8 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;} .st2{fill:none;stroke:#808080;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}</style><g><circle cx="-469.8" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.5,523.5H-482c-2.1,0-3.7,1.7-3.7,3.7v13.1c0,2.1,1.7,3.7,3.7,3.7h19.3l5.4,5.4c0.2,0.2,0.4,0.2,0.7,0.2c0.2,0,0.2,0,0.4,0c0.4-0.2,0.6-0.6,0.6-0.9v-21.5C-455.8,525.2-457.5,523.5-459.5,523.5z"/><path class="st2" d="M-476.5,537.3c2.5,1.1,8.5,2.1,13-2.7"/><path class="st2" d="M-460.8,534.5c-0.1-1.2-0.8-3.4-3.3-2.8"/></svg>';case"chat-bubble":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.9 507.1 54 54" style="enable-background:new -496.9 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469.9" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-472.6,522.1h5.3c3,0,6,1.2,8.1,3.4c2.1,2.1,3.4,5.1,3.4,8.1c0,6-4.6,11-10.6,11.5v4.4c0,0.4-0.2,0.7-0.5,0.9 c-0.2,0-0.2,0-0.4,0c-0.2,0-0.5-0.2-0.7-0.4l-4.6-5c-3,0-6-1.2-8.1-3.4s-3.4-5.1-3.4-8.1C-484.1,527.2-478.9,522.1-472.6,522.1z M-462.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-464.6,534.6-463.9,535.3-462.9,535.3z M-469.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-471.7,534.6-471,535.3-469.9,535.3z M-477,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-478.8,534.6-478.1,535.3-477,535.3z"/></svg>';case"chat-db":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.1 54 54" style="enable-background:new -496 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-464.6,527.7h-15.6c-1.9,0-3.5,1.6-3.5,3.5v10.4c0,1.9,1.6,3.5,3.5,3.5h12.6l5,5c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18.2C-461.1,529.3-462.7,527.7-464.6,527.7z"/><path class="st1" d="M-459.4,522.5H-475c-1.9,0-3.5,1.6-3.5,3.5h13.9c2.9,0,5.2,2.3,5.2,5.2v11.6l1.9,1.9c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18C-455.9,524.1-457.5,522.5-459.4,522.5z"/></svg>';default:return'<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve"><style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style><g><circle cx="-469" cy="534.7" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/><path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/><path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/></svg>'}}(e),y=o("display_cta"),""!=r&&"none"!=y&&(l+=' <div class="chaty-widget-i-title true"> ',l+=r,l+="</div>"),l+="</div>",l+='<div class="chaty-widget-i chaty-close-settings i-trigger-close" data-title="'+e.object_settings.close_text+'" style="background-color:'+e.object_settings.color+'">',""==e.object_settings.close_img?(l+='<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">',l+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="'+e.object_settings.color+'"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>',l+="</svg>"):l+="<span class='chaty-social-img'><img alt='"+e.object_settings.close_text+"' src='"+e.object_settings.close_img+"' /></span>",l+='<div class="chaty-widget-i-title">',l+=e.object_settings.close_text,l+="</div>",l+="</div>",l+=" </div>",0===i.length&&!e.object_settings.isPRO&&(l+='<div class="get" style="position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin&domain='+w+'" target="_blank" style=" font-size: 11px; top: -10px; font-family: Lato, Helvetica, Arial, sans-serif; position: relative; color: #8c8585; ">Get Chaty</a></div>'),l+="</div>"}t("body").append(l)}(s,token),function(){var e=t(".chaty-widget"),i=s.object_settings.widget_size?s.object_settings.widget_size:54,a=+s.object_settings.widget_size+8;function c(){e.position().top;var t=e.find(".chaty-widget-is .chaty-widget-i").length;if((t=jQuery("body").hasClass("chaty-in-desktop")?e.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:e.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)*a>jQuery(window).height()-(chaty_settings.object_settings.widget_size+8)){var i=Math.round(Math.sqrt(t)),s=Math.ceil(Math.sqrt(t));e.find(".chaty-widget-is").css({height:s*a,width:i*a}),g(s),e.find("span").css({height:s*a,width:i*a}),g(s),e.find("img").css({height:s*a,width:i*a}),g(s)}else g()}function n(){"left"===s.object_settings.position&&e.addClass("chaty-widget-is-right"),"custom"===s.object_settings.position&&"left"===s.object_settings.pos_side&&e.addClass("chaty-widget-is-right")}function g(t){var s;s=jQuery("body").hasClass("chaty-in-desktop")?e.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:e.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,e.find(".chaty-widget-i").css({height:i+"px",width:i+"px"}),e.find("img").css({height:i+"px",width:i+"px"}),e.find("span").css({height:i+"px",width:i+"px"}),e.find(".chaty-widget-is").css({top:"-"+100*s+"%"}),e.find(".chaty-widget-is").height(s*(parseInt(i)+8)),e.find(".chaty-widget-is").width(parseInt(i)+8),"horizontal"==chaty_settings.object_settings.mode?(e.find(".chaty-widget-is").css({top:"0"}),e.find(".chaty-widget-is").width(s*(parseInt(i)+8)),e.find(".chaty-widget-is").height(parseInt(i)+8)):(e.find(".chaty-widget-is").height(s*(parseInt(i)+8)),e.find(".chaty-widget-is").width(parseInt(i)+8))}n(),c(),jQuery(window).resize(function(){c(),1==Object.keys(s.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"))}),t(".chaty-widget-i.facebook").mouseenter(function(){t(".facebook_two_mess").css({opacity:"1","z-index":"1"}),t(this).addClass("before")}),t(".chaty-widget-i.facebook").mouseleave(function(){t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(this).removeClass("before")}),t(".chaty-widget-i.facebook").on("click",function(){t(this).addClass("active"),t(".facebook_two_mess").hide(),jQuery(".chaty-widget .get a").hide(),t(this).children(".face_title").css({opacity:"1","z-index":"2"}).show(),t(".chaty-widget").hasClass("one_widget")?t(".chaty-widget").hasClass("chaty-widget-is-right")?t(".face_title").css({top:"calc(100% - 447px)",left:"20px"}):t(".face_title").css({top:"calc(100% - 447px)",left:"auto",right:"20px"}):(t(".facebook_two_mess").css({opacity:"0","z-index":"10001"}),t(".ico_d").hide(),t(".chaty-widget .chaty-widget-i").css({"box-shadow":"0px 3px 6px rgba(0,0,0,0)"}),t(".chaty-widget").hasClass("one_widget")||t(".i-trigger").hide())}),t(".i-trigger-close").on("click",function(i){i.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(e.removeClass("chaty-widget-show"),e.addClass("none-widget-show"))}),t("body").on("click",".close_facebook",function(){t(".facebook_two_mess").show(),jQuery(".chaty-widget .get a").show(),t(".chaty-widget-i.facebook").removeClass("active"),t(this).parent().parent().css({opacity:"1"}).hide(),t(".i-trigger").show(),t(".chaty-widget-is .chaty-widget-i svg").show()}),t(".i-trigger-close").on("click",function(i){t(".i-trigger-open").addClass("active_clos"),i.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(e.removeClass("chaty-widget-show"),e.addClass("none-widget-show"))}),t("body").on("click",".update-analytics",function(t){if(channelName=jQuery(this).attr("data-channel"),null!=channelName&&""!=channelName)if(window.hasOwnProperty("gtag"))gtag("event","chaty_"+channelName,{eventCategory:"chaty_"+channelName,event_action:"chaty_"+channelName});else if(window.hasOwnProperty("ga")){var e=window.ga.getAll()[0];e&&e.send("event","click",{eventCategory:"chaty_"+channelName,eventAction:"chaty_"+channelName})}}),t("body").on("click",".wechat",function(){var t=jQuery(".chaty-widget .chaty-widget-i.wechat").attr("data-code");null!=t&&""!=t&&(jQuery("#wechat-qr-code").length||(htmlString="<div id='wechat-qr-code' class='wechat-qr-code'>",htmlString+='<div class="wechat-box-head">WeChat<svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve"><path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"></path></svg></div>',htmlString+="<div class='wechat-box'><img src='"+t+"' alt='QR Code' /><a href='javascript:;'>",htmlString+="</a></div></div>",jQuery("body").append(htmlString)),jQuery("#wechat-qr-code").show())});var r=o("display_cta");"hover"==chaty_settings.object_settings.display_state?e.find(".i-trigger-open").mouseenter(function(i){i.stopPropagation(),l(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),jQuery("body .chaty-widget-i-title.true").remove()}):e.find(".i-trigger-open").click(function(i){i.stopPropagation(),l(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),jQuery("body .chaty-widget-i-title.true").remove()}),t(".one_widget").on("click",function(){t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")),l()}),e.find(".i-trigger-open").on("click",function(){"none"!=r&&(t(".chaty-widget").hasClass(".one_widget")||t(".i-trigger-open .chaty-widget-i-title").detach()),t(".i-trigger-open").addClass("no-tooltip"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),l()}),e.find(".i-trigger-open").mouseenter(function(){t(this).addClass("no-tooltip"),t(".i-trigger-open").removeClass("active_clos"),c()}),e.find(".chaty-widget-is").mouseleave(function(){t(".i-trigger-open").removeClass("active_clos"),t(".chaty-widget-i.facebook").hasClass("active")}),1===Object.keys(s.object_settings.social).length&&e.find(".i-trigger-open").on("touchstart",function(e){"use strict";t(this).find(".chaty-widget-i").toggleClass("hover")}),1==Object.keys(s.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"),jQuery(".chaty-widget-is").css("z-index","10001"),jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").remove(),jQuery(".chaty-widget .get a").css("top","-10px"),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget-i:first .chaty-widget-i-title:last p").text(s.object_settings.cta),jQuery(document).on("click",".chaty-widget-i",function(){jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide(),jQuery("body").addClass("hide-cht-widget")}),jQuery("body").append("<style>.chaty-widget-is{top:0!important;}</style>"))}(),t(document).ready(function(){1!==Object.keys(s.object_settings.social).length||!s.object_settings.social.snapchat&&!s.object_settings.social.wechat||s.object_settings.cta||(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")),t(".chaty-widget-i-title").hasClass("one_go")&&(t(".chaty-widget-i-title p").text(t(".chaty-widget-i-title.one_go").html()),"none"==o("display_cta")&&(t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")))),window.matchMedia("only screen and (max-width: 760px)").matches&&t(".i-trigger-open").addClass("active_clos"),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&jQuery(this).remove()})}),t(document).ready(function(){var t=0;0==(t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)?jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active").removeClass("mobile_active"):(jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active"):jQuery(".chaty-widget").removeClass("hide-widget").addClass("mobile_active"),1==t?(jQuery(".chaty-close-settings").hide(),jQuery("body").hasClass("chaty-in-desktop")?(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop:first").clone(),jQuery(".i-trigger").html(htmlToAdd)):(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile:first").clone(),jQuery(".i-trigger").html(htmlToAdd)),jQuery(".i-trigger .chaty-widget-i-title p").text(chaty_settings.object_settings.cta),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"),c(),l()})):(jQuery(".chaty-widget").removeClass("one_widget"),jQuery(".i-trigger .chaty-main-widget").remove(),jQuery(".chaty-close-settings").show(),jQuery(".chaty-widget-i-title").removeClass("hide-it"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){c(),jQuery(".i-trigger .chaty-widget-i-title").addClass("hide-it"),l()})));var e,a,d,h=0;if(1==parseInt(chaty_settings.object_settings.display_conditions)){var y=chaty_settings.object_settings.display_rules;if(y.length>0){var w=new Date;w.setHours(w.getHours()+chaty_settings.object_settings.gmt);for(var _=w.getUTCHours(),u=w.getUTCMinutes(),p=w.getUTCDay(),m=0;m<y.length;m++){var b=0,j=0;-1==y[m].days?j=1:y[m].days>=0&&y[m].days<=6?y[m].days==p&&(j=1):7==y[m].days?p>=0&&p<=4&&(j=1):8==y[m].days?p>=1&&p<=5&&(j=1):9==y[m].days&&(5!=p&&6!=p||(j=1)),1==j&&(_>y[m].start_hours&&_<y[m].end_hours?b=1:_==y[m].start_hours&&_<y[m].end_hours?u>=y[m].start_min&&(b=1):_>y[m].start_hours&&_==y[m].end_hours?u<=y[m].end_min&&(b=1):_==y[m].start_hours&&_==y[m].end_hours&&u>=y[m].start_min&&u<=y[m].end_min&&(b=1),1==b&&u>=y[m].start_min&&u<=y[m].end_min&&1),1==b&&1==j&&(h=1),1==h&&(m=y.length+1)}}else h=1}else h=1;if(1==t&&(""!=o("display_cta")&&(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"),setInterval(function(){c()},900)),jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button"),jQuery(".chaty-widget-show .i-trigger-open svg").css("transform","rotate(0deg)")),jQuery("chaty-main-widget").mouseenter(function(){c()}),1==h)if("yes"==g("cta_widget_status"))jQuery(".chaty-widget").removeClass("hide-widget"),r();else if("no"==chaty_settings.object_settings.time_trigger&&"no"==chaty_settings.object_settings.exit_intent&&"no"==chaty_settings.object_settings.on_page_scroll)jQuery(".chaty-widget").removeClass("hide-widget"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="hover",chaty_settings.object_settings.has_close_button="yes"),r();else{if(jQuery(".chaty-widget").addClass("hide-widget"),"yes"==chaty_settings.object_settings.time_trigger&&setTimeout(function(){i||(jQuery(".chaty-widget").removeClass("hide-widget"),r())},1e3*parseInt(chaty_settings.object_settings.trigger_time)),"yes"==chaty_settings.object_settings.exit_intent){e=document,a="mouseout",d=function(t){null==t.toElement&&null==t.relatedTarget&&null==g("cta_exit_intent_shown")&&(n("cta_exit_intent_shown","yes",1),i=!0,jQuery(".chaty-widget").removeClass("hide-widget"),jQuery(".chaty-widget").addClass("chaty-animation-widget"),jQuery(".chaty-animation-widget").append("<div class='chaty-nav'></div>"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="open",chaty_settings.object_settings.has_close_button="yes"),r(),"left"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("left-position"):"right"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("right-position"):"custom"==chaty_settings.object_settings.position&&("left"==s.object_settings.pos_side?jQuery(".chaty-widget").addClass("left-position"):jQuery(".chaty-widget").addClass("right-position")),l(),setTimeout(function(){jQuery(".chaty-animation-widget").addClass("active")},100),setTimeout(function(){jQuery(".chaty-nav").remove()},2500))},e.addEventListener?e.addEventListener(a,d,!1):e.attachEvent&&e.attachEvent("on"+a,d)}"yes"==chaty_settings.object_settings.on_page_scroll&&parseInt(chaty_settings.object_settings.page_scroll)>0&&jQuery(window).scroll(function(){if(!i){var t=jQuery(document).height()-jQuery(window).height(),e=jQuery(window).scrollTop();0!=e&&e/t*100>=parseInt(chaty_settings.object_settings.page_scroll)&&(jQuery(".chaty-widget").removeClass("hide-widget"),r())}})}else jQuery(".chaty-widget").addClass("hide-widget")}),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&(jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow"),jQuery(this).remove())}),jQuery(".chaty-widget").hasClass("one_widget")||jQuery("body").append("<div class='trigger-chaty-button'></div>"),jQuery("body").addClass(chaty_settings.object_settings.mode+"-cht-menu"),jQuery("body").addClass(chaty_settings.object_settings.position+"-cht-position")}),jQuery(document).on("click",".trigger-chaty-button",function(){jQuery(".chaty-widget").removeClass("hide-widget"),r(),!jQuery(".chaty-widget").hasClass("none-widget-show")&&jQuery(".chaty-widget").hasClass("chaty-widget-show")||jQuery(".i-trigger-open").trigger("click")})}(jQuery)},12:function(t,e){}});
1
+ function launch_chaty(){jQuery(".chaty-widget").hasClass("one_widget")||jQuery(".trigger-chaty-button").trigger("click")}!function(t){var e={};function i(s){if(e[s])return e[s].exports;var a=e[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=10)}({10:function(t,e,i){i(11),t.exports=i(12)},11:function(t,e){!function(t){var e,i=0,s=chaty_settings,a=".i-trigger .chaty-widget-i .svg, .i-trigger .chaty-widget-i .widget-img, .i-trigger .chaty-widget-i .facustom-icon";function c(t){for(var e=t+"=",i=document.cookie.split(";"),s=0;s<i.length;s++){for(var a=i[s];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return""}new Date;function o(){var t=new Date;setInterval(function(){t.setTime(t.getTime()+1e3),document.cookie="display_cta=none; expires="+t.toGMTString()+"; path=/"},500)}function n(t,e,i){var s="";if(i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3),s="; expires="+a.toUTCString()}document.cookie=t+"="+(e||"")+s+"; path=/"}function g(t){for(var e=t+"=",i=document.cookie.split(";"),s=0;s<i.length;s++){for(var a=i[s];" "==a.charAt(0);)a=a.substring(1,a.length);if(0==a.indexOf(e))return a.substring(e.length,a.length)}return null}function r(){n("cta_widget_status","yes",1),i=1;var t=0;t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,null!=g("chaty-animation")&&(chaty_settings.object_settings.animation_class=""),""!=chaty_settings.object_settings.animation_class&&(jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='svg'></div>"}),"sheen"!=chaty_settings.object_settings.animation_class?t>1?(jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3)},5e3)):1==t&&(a=".chaty-main-widget svg, .chaty-main-widget img, .chaty-main-widget .facustom-icon",jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-"+chaty_settings.object_settings.animation_class).addClass("start-now")},1e3)},5e3)):(a=".i-trigger .chaty-widget-i .wrap-svg",jQuery(".i-trigger .chaty-widget-i .wrap-svg").length||jQuery(".i-trigger .chaty-widget-i svg").wrap(function(){return"<div class='wrap-svg'></div>"}),jQuery(a).removeClass("chaty-animation-sheen").removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-sheen").addClass("start-now")},10),e=setInterval(function(){jQuery(a).removeClass("chaty-animation-sheen").removeClass("start-now"),setTimeout(function(){jQuery(a).addClass("chaty-animation-sheen").addClass("start-now")},10)},5e3))),"open"==chaty_settings.object_settings.display_state&&("no"==chaty_settings.object_settings.has_close_button?t>1&&(l(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"),jQuery(".chaty-widget-is").addClass("has-no-close-btn"),jQuery(".i-trigger").remove()):t>1&&(l(),jQuery(".chaty-widget").find(".i-trigger-open").removeClass("active_clos"),jQuery(".chaty-widget").find(".i-trigger-open").trigger("click"))),jQuery(".chaty-widget").hasClass("one_widget")&&jQuery(".chaty-widget").removeClass("chaty-widget-show")}function l(){e&&(clearInterval(e),e=0),n("chaty-animation","stop",1),jQuery(".chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("chaty-animation-"+chaty_settings.object_settings.animation_class).removeClass("start-now"),jQuery(".start-now").removeClass("start-now"),chaty_settings.object_settings.animation_class=""}c("display_cta"),token="",jQuery(document).ready(function(){"true"==s.object_settings.active&&function(e,i){var s=e.object_settings.device,a="";if("right"==e.object_settings.position)a="left: auto;bottom: 25px; right: 25px;";else if("left"==e.object_settings.position)a="right: auto; bottom: 25px; left: 25px;";else if("custom"==e.object_settings.position){var o=e.object_settings.pos_side,n=e.object_settings.bot,g=e.object_settings.side;a="right"===o?"left: auto; bottom: "+n+"px; right: "+g+"px":"left: "+g+"px; bottom: "+n+"px; right: auto"}var r=e.object_settings.cta,l="",d=e.object_settings.social,h=!1;if((/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(h=!0),h?jQuery("body").addClass("chaty-in-mobile"):jQuery("body").addClass("chaty-in-desktop"),Object.keys(d).length>=1&&(l='<div class="chaty-widget hide-widget '+i+" "+s+' " style="display:block; '+a+'" dir="ltr">',l+='<div class="chaty-widget-is" id="transition_disabled">'),l+=function(e){var i="",s=0;return t.each(e.object_settings.social,function(t,a){if(e.object_settings.isPRO&&jQuery("body").addClass("has-pro-version"),!e.object_settings.isPRO&&"3"==++s)return!1;extra_class="","1"!=e.object_settings.analytics&&1!=e.object_settings.analytics||(extra_class+=" update-analytics ");var c=1==e.object_settings.social[t].is_desktop?"is-in-desktop":"",o=1==e.object_settings.social[t].is_mobile?"is-in-mobile":"",n=1==e.object_settings.is_mobile?e.object_settings.social[t].mobile_target:e.object_settings.social[t].desktop_target;if(jQuery("body").hasClass("chaty-in-mobile")&&(e.object_settings.social[t].href_url=e.object_settings.social[t].mobile_url),"viber"==e.object_settings.social[t].social_channel){if(jQuery("body").hasClass("chaty-in-mobile")){var g=e.object_settings.social[t].href_url;g=g.replace("+",""),navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&(g="+"+g),e.object_settings.social[t].href_url=g}e.object_settings.social[t].href_url="viber://chat?number="+e.object_settings.social[t].href_url}var r="";""!=e.object_settings.social[t].on_click&&(r=' onclick="'+e.object_settings.social[t].on_click+'"'),console.log(e.object_settings.social[t].href_url),socialString='<div class="chaty-widget-i chaty-main-widget '+c+" "+o+" "+extra_class+" "+e.object_settings.social[t].social_channel+'" data-title="'+e.object_settings.social[t].val+'" id="chaty-channel-'+e.object_settings.social[t].social_channel+'" data-channel="'+e.object_settings.social[t].social_channel+'" data-code="'+e.object_settings.social[t].qr_code_image+'">',bgColor="",""!=e.object_settings.social[t].bg_color&&(socialString+="<style>#chaty-channel-"+e.object_settings.social[t].social_channel+" .color-element {fill: "+e.object_settings.social[t].bg_color+"}</style>",bgColor="style='background-color: "+e.object_settings.social[t].bg_color+";'"),socialString+="<a class='set-url-target' "+r+" rel='noopener' data-mobile-target='"+e.object_settings.social[t].mobile_target+"' data-desktop-target='"+e.object_settings.social[t].desktop_target+"' target='"+n+"' href='"+e.object_settings.social[t].href_url+"' >",""!=e.object_settings.social[t].img_url?socialString+="<span "+bgColor+" class='chaty-social-img'><img src='"+e.object_settings.social[t].img_url+"' alt='"+e.object_settings.social[t].title+"' /></span>":socialString+=e.object_settings.social[t].default_icon,socialString+="</a>",socialString+="<div class='chaty-widget-i-title'><p>"+e.object_settings.social[t].title+"</p></div>",socialString+="</div>",i+=socialString}),i}(e),d=e.object_settings.social,Object.keys(d).length>=1){l+="</div>",l+='<div class="i-trigger">';var y=c("display_cta"),w=current_url=window.location.origin;if(w=(w=w.replace("https://","")).replace("http://",""),""!=r&&"none"!=y)var _="true";else _="no-tooltip";l+='<div class="chaty-widget-i chaty-close-settings i-trigger-open '+_+' ">',l+=function(t){switch(t.object_settings.widget_type){case"chat-image":if(t.object_settings.widget_img.length>1)return'<div class="widget-img" style="background-color:'+t.object_settings.color+'"><img src="'+t.object_settings.widget_img+'"/></div>';case"chat-smile":return'<svg version="1.1" id="smile" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.8 507.1 54 54" style="enable-background:new -496.8 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;} .st2{fill:none;stroke:#808080;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}</style><g><circle cx="-469.8" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.5,523.5H-482c-2.1,0-3.7,1.7-3.7,3.7v13.1c0,2.1,1.7,3.7,3.7,3.7h19.3l5.4,5.4c0.2,0.2,0.4,0.2,0.7,0.2c0.2,0,0.2,0,0.4,0c0.4-0.2,0.6-0.6,0.6-0.9v-21.5C-455.8,525.2-457.5,523.5-459.5,523.5z"/><path class="st2" d="M-476.5,537.3c2.5,1.1,8.5,2.1,13-2.7"/><path class="st2" d="M-460.8,534.5c-0.1-1.2-0.8-3.4-3.3-2.8"/></svg>';case"chat-bubble":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496.9 507.1 54 54" style="enable-background:new -496.9 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469.9" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-472.6,522.1h5.3c3,0,6,1.2,8.1,3.4c2.1,2.1,3.4,5.1,3.4,8.1c0,6-4.6,11-10.6,11.5v4.4c0,0.4-0.2,0.7-0.5,0.9 c-0.2,0-0.2,0-0.4,0c-0.2,0-0.5-0.2-0.7-0.4l-4.6-5c-3,0-6-1.2-8.1-3.4s-3.4-5.1-3.4-8.1C-484.1,527.2-478.9,522.1-472.6,522.1z M-462.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-464.6,534.6-463.9,535.3-462.9,535.3z M-469.9,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-471.7,534.6-471,535.3-469.9,535.3z M-477,535.3c1.1,0,1.8-0.7,1.8-1.8c0-1.1-0.7-1.8-1.8-1.8c-1.1,0-1.8,0.7-1.8,1.8C-478.8,534.6-478.1,535.3-477,535.3z"/></svg>';case"chat-db":return'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.1 54 54" style="enable-background:new -496 507.1 54 54;" xml:space="preserve"><style type="text/css">.st1{fill:#FFFFFF;}</style><g><circle cx="-469" cy="534.1" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-464.6,527.7h-15.6c-1.9,0-3.5,1.6-3.5,3.5v10.4c0,1.9,1.6,3.5,3.5,3.5h12.6l5,5c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18.2C-461.1,529.3-462.7,527.7-464.6,527.7z"/><path class="st1" d="M-459.4,522.5H-475c-1.9,0-3.5,1.6-3.5,3.5h13.9c2.9,0,5.2,2.3,5.2,5.2v11.6l1.9,1.9c0.2,0.2,0.3,0.2,0.7,0.2c0.2,0,0.2,0,0.3,0c0.3-0.2,0.5-0.5,0.5-0.9v-18C-455.9,524.1-457.5,522.5-459.4,522.5z"/></svg>';default:return'<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve"><style type="text/css">.st1 {fill: #FFFFFF;}.st0{fill: #808080;}</style><g><circle cx="-469" cy="534.7" r="27" fill="'+t.object_settings.color+'"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/><path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,530.8-478.2,530.5-477.7,530.5z"/><path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0C-478.6,533.9-478.2,533.5-477.7,533.5z"/></svg>'}}(e),y=c("display_cta"),""!=r&&"none"!=y&&(l+=' <div class="chaty-widget-i-title true"> ',l+=r,l+="</div>"),l+="</div>",l+='<div class="chaty-widget-i chaty-close-settings i-trigger-close" data-title="'+e.object_settings.close_text+'" style="background-color:'+e.object_settings.color+'">',""==e.object_settings.close_img?(l+='<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">',l+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="'+e.object_settings.color+'"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>',l+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>',l+="</svg>"):l+="<span class='chaty-social-img'><img alt='"+e.object_settings.close_text+"' src='"+e.object_settings.close_img+"' /></span>",l+='<div class="chaty-widget-i-title">',l+=e.object_settings.close_text,l+="</div>",l+="</div>",l+=" </div>",0===i.length&&!e.object_settings.isPRO&&(l+='<div class="get" style="position: absolute;width: 100%;text-align: center;"> <a href="https://premio.io/downloads/chaty/?utm_source=wpplugin&domain='+w+'" target="_blank" style=" font-size: 11px; top: -10px; font-family: Lato, Helvetica, Arial, sans-serif; position: relative; color: #8c8585; ">Get Chaty</a></div>'),l+="</div>"}t("body").append(l)}(s,token),function(){var e=t(".chaty-widget"),i=s.object_settings.widget_size?s.object_settings.widget_size:54,a=+s.object_settings.widget_size+8;function o(){e.position().top;var t=e.find(".chaty-widget-is .chaty-widget-i").length;if((t=jQuery("body").hasClass("chaty-in-desktop")?e.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:e.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)*a>jQuery(window).height()-(chaty_settings.object_settings.widget_size+8)){var i=Math.round(Math.sqrt(t)),s=Math.ceil(Math.sqrt(t));e.find(".chaty-widget-is").css({height:s*a,width:i*a}),g(s),e.find("span").css({height:s*a,width:i*a}),g(s),e.find("img").css({height:s*a,width:i*a}),g(s)}else g()}function n(){"left"===s.object_settings.position&&e.addClass("chaty-widget-is-right"),"custom"===s.object_settings.position&&"left"===s.object_settings.pos_side&&e.addClass("chaty-widget-is-right")}function g(t){var s;s=jQuery("body").hasClass("chaty-in-desktop")?e.find(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:e.find(".chaty-widget-is .chaty-widget-i.is-in-mobile").length,e.find(".chaty-widget-i").css({height:i+"px",width:i+"px"}),e.find("img").css({height:i+"px",width:i+"px"}),e.find("span").css({height:i+"px",width:i+"px"}),e.find(".chaty-widget-is").css({top:"-"+100*s+"%"}),e.find(".chaty-widget-is").height(s*(parseInt(i)+8)),e.find(".chaty-widget-is").width(parseInt(i)+8),"horizontal"==chaty_settings.object_settings.mode?(e.find(".chaty-widget-is").css({top:"0"}),e.find(".chaty-widget-is").width(s*(parseInt(i)+8)),e.find(".chaty-widget-is").height(parseInt(i)+8)):(e.find(".chaty-widget-is").height(s*(parseInt(i)+8)),e.find(".chaty-widget-is").width(parseInt(i)+8))}n(),o(),jQuery(window).resize(function(){o(),1==Object.keys(s.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"))}),t(".chaty-widget-i.facebook").mouseenter(function(){t(".facebook_two_mess").css({opacity:"1","z-index":"1"}),t(this).addClass("before")}),t(".chaty-widget-i.facebook").mouseleave(function(){t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(this).removeClass("before")}),t(".chaty-widget-i.facebook").on("click",function(){t(this).addClass("active"),t(".facebook_two_mess").hide(),jQuery(".chaty-widget .get a").hide(),t(this).children(".face_title").css({opacity:"1","z-index":"2"}).show(),t(".chaty-widget").hasClass("one_widget")?t(".chaty-widget").hasClass("chaty-widget-is-right")?t(".face_title").css({top:"calc(100% - 447px)",left:"20px"}):t(".face_title").css({top:"calc(100% - 447px)",left:"auto",right:"20px"}):(t(".facebook_two_mess").css({opacity:"0","z-index":"10001"}),t(".ico_d").hide(),t(".chaty-widget .chaty-widget-i").css({"box-shadow":"0px 3px 6px rgba(0,0,0,0)"}),t(".chaty-widget").hasClass("one_widget")||t(".i-trigger").hide())}),t(".i-trigger-close").on("click",function(i){i.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(e.removeClass("chaty-widget-show"),e.addClass("none-widget-show"))}),t("body").on("click",".close_facebook",function(){t(".facebook_two_mess").show(),jQuery(".chaty-widget .get a").show(),t(".chaty-widget-i.facebook").removeClass("active"),t(this).parent().parent().css({opacity:"1"}).hide(),t(".i-trigger").show(),t(".chaty-widget-is .chaty-widget-i svg").show()}),t(".i-trigger-close").on("click",function(i){t(".i-trigger-open").addClass("active_clos"),i.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(e.removeClass("chaty-widget-show"),e.addClass("none-widget-show"))}),t("body").on("click",".update-analytics",function(t){if(channelName=jQuery(this).attr("data-channel"),null!=channelName&&""!=channelName)if(window.hasOwnProperty("gtag"))gtag("event","chaty_"+channelName,{eventCategory:"chaty_"+channelName,event_action:"chaty_"+channelName});else if(window.hasOwnProperty("ga")){var e=window.ga.getAll()[0];e&&e.send("event","click",{eventCategory:"chaty_"+channelName,eventAction:"chaty_"+channelName})}}),t("body").on("click",".wechat",function(){var t=jQuery(".chaty-widget .chaty-widget-i.wechat").attr("data-code");null!=t&&""!=t&&(jQuery("#wechat-qr-code").length||(htmlString="<div id='wechat-qr-code' class='wechat-qr-code'>",htmlString+='<div class="wechat-box-head">WeChat<svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve"><path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"></path></svg></div>',htmlString+="<div class='wechat-box'><img src='"+t+"' alt='QR Code' /><a href='javascript:;'>",htmlString+="</a></div></div>",jQuery("body").append(htmlString)),jQuery("#wechat-qr-code").show())});var r=c("display_cta");"hover"==chaty_settings.object_settings.display_state?e.find(".i-trigger-open").mouseenter(function(i){i.stopPropagation(),l(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),jQuery("body .chaty-widget-i-title.true").remove()}):e.find(".i-trigger-open").click(function(i){i.stopPropagation(),l(),t(".chaty-widget-is").removeAttr("id"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),jQuery("body .chaty-widget-i-title.true").remove()}),t(".one_widget").on("click",function(){t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")),l()}),e.find(".i-trigger-open").on("click",function(){"none"!=r&&(t(".chaty-widget").hasClass(".one_widget")||t(".i-trigger-open .chaty-widget-i-title").detach()),t(".i-trigger-open").addClass("no-tooltip"),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||e.hasClass("one_widget")||(n(),t(e).hasClass("chaty-widget-show")||(e.addClass("chaty-widget-show"),e.removeClass("none-widget-show"))),l()}),e.find(".i-trigger-open").mouseenter(function(){t(this).addClass("no-tooltip"),t(".i-trigger-open").removeClass("active_clos"),o()}),e.find(".chaty-widget-is").mouseleave(function(){t(".i-trigger-open").removeClass("active_clos"),t(".chaty-widget-i.facebook").hasClass("active")}),1===Object.keys(s.object_settings.social).length&&e.find(".i-trigger-open").on("touchstart",function(e){"use strict";t(this).find(".chaty-widget-i").toggleClass("hover")}),1==Object.keys(s.object_settings.social).length&&(jQuery(".chaty-widget").addClass("chaty-widget-show"),jQuery(".chaty-widget-is").css("top","auto"),jQuery(".chaty-widget-is").css("z-index","10001"),jQuery(".chaty-widget-i.i-trigger-close, .i-trigger.chaty-widget-i").remove(),jQuery(".chaty-widget .get a").css("top","-10px"),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget-i:first .chaty-widget-i-title:last p").text(s.object_settings.cta),jQuery(document).on("click",".chaty-widget-i",function(){jQuery(".chaty-widget-i:first .chaty-widget-i-title:last").hide(),jQuery("body").addClass("hide-cht-widget")}),jQuery("body").append("<style>.chaty-widget-is{top:0!important;}</style>"))}(),t(document).ready(function(){1!==Object.keys(s.object_settings.social).length||!s.object_settings.social.snapchat&&!s.object_settings.social.wechat||s.object_settings.cta||(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")),t(".chaty-widget-i-title").hasClass("one_go")&&(t(".chaty-widget-i-title p").text(t(".chaty-widget-i-title.one_go").html()),"none"==c("display_cta")&&(t(".chaty-widget-i-title").hasClass("face_title")?(t(".facebook_two_mess").detach(),t(".chaty-widget-i").addClass("bofore_del")):(t(".chaty-widget-i-title").detach(),t(".chaty-widget-i").addClass("bofore_del")))),window.matchMedia("only screen and (max-width: 760px)").matches&&t(".i-trigger-open").addClass("active_clos"),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&jQuery(this).remove()})}),t(document).ready(function(){var t=0;0==(t=jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop").length:jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile").length)?jQuery(".chaty-widget").addClass("hide-widget").removeClass("desktop_active").removeClass("mobile_active"):(jQuery("body").hasClass("chaty-in-desktop")?jQuery(".chaty-widget").removeClass("hide-widget").addClass("desktop_active"):jQuery(".chaty-widget").removeClass("hide-widget").addClass("mobile_active"),1==t?(jQuery(".chaty-close-settings").hide(),jQuery("body").hasClass("chaty-in-desktop")?(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-desktop:first").clone(),jQuery(".i-trigger").html(htmlToAdd)):(htmlToAdd=jQuery(".chaty-widget-is .chaty-widget-i.is-in-mobile:first").clone(),jQuery(".i-trigger").html(htmlToAdd)),jQuery(".i-trigger .chaty-widget-i-title p").text(chaty_settings.object_settings.cta),jQuery(".chaty-widget").addClass("one_widget"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"),o(),l()})):(jQuery(".chaty-widget").removeClass("one_widget"),jQuery(".i-trigger .chaty-main-widget").remove(),jQuery(".chaty-close-settings").show(),jQuery(".chaty-widget-i-title").removeClass("hide-it"),jQuery(".chaty-widget.one_widget, .i-trigger, .chaty-widget-i").mouseenter(function(){o(),jQuery(".i-trigger .chaty-widget-i-title").addClass("hide-it"),l()})));var e,a,d,h=0;if(1==parseInt(chaty_settings.object_settings.display_conditions)){var y=chaty_settings.object_settings.display_rules;if(y.length>0){var w=new Date;w.setHours(w.getHours()+chaty_settings.object_settings.gmt);for(var _=w.getUTCHours(),u=w.getUTCMinutes(),p=w.getUTCDay(),m=0;m<y.length;m++){var b=0,j=0;-1==y[m].days?j=1:y[m].days>=0&&y[m].days<=6?y[m].days==p&&(j=1):7==y[m].days?p>=0&&p<=4&&(j=1):8==y[m].days?p>=1&&p<=5&&(j=1):9==y[m].days&&(5!=p&&6!=p||(j=1)),1==j&&(_>y[m].start_hours&&_<y[m].end_hours?b=1:_==y[m].start_hours&&_<y[m].end_hours?u>=y[m].start_min&&(b=1):_>y[m].start_hours&&_==y[m].end_hours?u<=y[m].end_min&&(b=1):_==y[m].start_hours&&_==y[m].end_hours&&u>=y[m].start_min&&u<=y[m].end_min&&(b=1),1==b&&u>=y[m].start_min&&u<=y[m].end_min&&1),1==b&&1==j&&(h=1),1==h&&(m=y.length+1)}}else h=1}else h=1;if(1==t&&(""!=c("display_cta")&&(jQuery(".chaty-widget-i-title").remove(),jQuery(".chaty-widget").addClass("hide-tooltip-arrow"),setInterval(function(){o()},1e4)),jQuery(".chaty-main-widget").addClass("i-trigger-open").addClass("single-button"),jQuery(".chaty-widget-show .i-trigger-open svg").css("transform","rotate(0deg)")),jQuery("chaty-main-widget").mouseenter(function(){o()}),1==h)if("yes"==g("cta_widget_status"))jQuery(".chaty-widget").removeClass("hide-widget"),r();else if("no"==chaty_settings.object_settings.time_trigger&&"no"==chaty_settings.object_settings.exit_intent&&"no"==chaty_settings.object_settings.on_page_scroll)jQuery(".chaty-widget").removeClass("hide-widget"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="hover",chaty_settings.object_settings.has_close_button="yes"),r();else{if(jQuery(".chaty-widget").addClass("hide-widget"),"yes"==chaty_settings.object_settings.time_trigger&&setTimeout(function(){i||(jQuery(".chaty-widget").removeClass("hide-widget"),r())},1e3*parseInt(chaty_settings.object_settings.trigger_time)),"yes"==chaty_settings.object_settings.exit_intent){e=document,a="mouseout",d=function(t){null==t.toElement&&null==t.relatedTarget&&null==g("cta_exit_intent_shown")&&(n("cta_exit_intent_shown","yes",1),i=!0,jQuery(".chaty-widget").removeClass("hide-widget"),jQuery(".chaty-widget").addClass("chaty-animation-widget"),jQuery(".chaty-animation-widget").append("<div class='chaty-nav'></div>"),"open"==chaty_settings.object_settings.display_state&&"no"==chaty_settings.object_settings.has_close_button?chaty_settings.object_settings.has_close_button="no":(chaty_settings.object_settings.display_state="open",chaty_settings.object_settings.has_close_button="yes"),r(),"left"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("left-position"):"right"==chaty_settings.object_settings.position?jQuery(".chaty-widget").addClass("right-position"):"custom"==chaty_settings.object_settings.position&&("left"==s.object_settings.pos_side?jQuery(".chaty-widget").addClass("left-position"):jQuery(".chaty-widget").addClass("right-position")),l(),setTimeout(function(){jQuery(".chaty-animation-widget").addClass("active")},100),setTimeout(function(){jQuery(".chaty-nav").remove()},2500))},e.addEventListener?e.addEventListener(a,d,!1):e.attachEvent&&e.attachEvent("on"+a,d)}"yes"==chaty_settings.object_settings.on_page_scroll&&parseInt(chaty_settings.object_settings.page_scroll)>0&&jQuery(window).scroll(function(){if(!i){var t=jQuery(document).height()-jQuery(window).height(),e=jQuery(window).scrollTop();0!=e&&e/t*100>=parseInt(chaty_settings.object_settings.page_scroll)&&(jQuery(".chaty-widget").removeClass("hide-widget"),r())}})}else jQuery(".chaty-widget").addClass("hide-widget")}),jQuery(".chaty-widget-i-title").each(function(){""==jQuery(this).text()&&(jQuery(this).closest(".chaty-widget-i").addClass("hide-chaty-arrow"),jQuery(this).remove())}),jQuery(".chaty-widget").hasClass("one_widget")||jQuery("body").append("<div class='trigger-chaty-button'></div>"),jQuery("body").addClass(chaty_settings.object_settings.mode+"-cht-menu"),jQuery("body").addClass(chaty_settings.object_settings.position+"-cht-position")}),jQuery(document).on("click",".trigger-chaty-button",function(){jQuery(".chaty-widget").removeClass("hide-widget"),r(),!jQuery(".chaty-widget").hasClass("none-widget-show")&&jQuery(".chaty-widget").hasClass("chaty-widget-show")||jQuery(".i-trigger-open").trigger("click")})}(jQuery)},12:function(t,e){}});
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: galdub, tomeraharon, premio
3
  Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 5.4
6
- Stable tag: 2.5.5
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
@@ -14,6 +14,7 @@ Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber,
14
  Show a chat button on the bottom of your site and communicate with your customers.</strong>
15
 
16
  * Get more leads and calls
 
17
  * Improve your customer support
18
  * Direct customers to your store's location
19
 
@@ -33,9 +34,10 @@ Here are some classic use cases for Chaty
33
  * Click to call - show a phone icon and let your visitors click to call you. If you want to show different local phone numbers based on page URL you can use the multi widget pro feature.
34
  * Show different chat channels for different pages - you can use this feature to show separate widgets for different products on your website, show different buttons based on URL for WPML or multi-language sites, display different channels for your landing pages, and more (pro feature).
35
  * Available days and hours - show the widget only on your opening hours, and hide it when you're out of work. You can also use it to show live chat options when you're available, and other channels when you're not (pro feature).
 
36
 
37
  = Live Demo =
38
- A live demo for the Chaty plugin is available at <a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
39
 
40
  = Join the Premio community =
41
  Have any questions or feature suggestions? We'd love to hear from you. <strong><a href="https://www.facebook.com/groups/premioplugins/" target="_blank" title="Premio Facebook group">Join our Facebook group</a></strong> to share ideas and get updates about new features.
@@ -224,6 +226,9 @@ Yes! You can even decide what chat buttons will show up on each device (desktop/
224
 
225
  == Changelog ==
226
 
 
 
 
227
  = 2.5.5 =
228
  Chaty settings page improvements for small resolution screens
229
 
3
  Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button, messenger, whatsapp button, chat icon, messenger chat icon, contact button, click to call
4
  Requires at least: 3.1
5
  Tested up to: 5.4
6
+ Stable tag: 2.5.6
7
  Plugin URI: https://premio.io/downloads/chaty/
8
 
9
  Let your visitors contact you via Facebook Messenger, Whatsapp, Telegram, Viber, Email, Phone call, SMS and more with customizable chat & call buttons
14
  Show a chat button on the bottom of your site and communicate with your customers.</strong>
15
 
16
  * Get more leads and calls
17
+ * Let your customers chat with you via their favorite channels like Facebook Messenger, WhatsApp, Viber, Telegram and many other chat channels
18
  * Improve your customer support
19
  * Direct customers to your store's location
20
 
34
  * Click to call - show a phone icon and let your visitors click to call you. If you want to show different local phone numbers based on page URL you can use the multi widget pro feature.
35
  * Show different chat channels for different pages - you can use this feature to show separate widgets for different products on your website, show different buttons based on URL for WPML or multi-language sites, display different channels for your landing pages, and more (pro feature).
36
  * Available days and hours - show the widget only on your opening hours, and hide it when you're out of work. You can also use it to show live chat options when you're available, and other channels when you're not (pro feature).
37
+ * Launch your favorite live chat product - you can use JavaScript as one of your chat channels to launch other live chat products like Tawk.to, Tidio, Chatra, Formilla, and more.
38
 
39
  = Live Demo =
40
+ A live demo for the Chaty plugin is available at <a href="https://demo.premio.io/chaty/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>. Keep in mind, besides that chat buttons you see on the demo, you can use any other chat icons.
41
 
42
  = Join the Premio community =
43
  Have any questions or feature suggestions? We'd love to hear from you. <strong><a href="https://www.facebook.com/groups/premioplugins/" target="_blank" title="Premio Facebook group">Join our Facebook group</a></strong> to share ideas and get updates about new features.
226
 
227
  == Changelog ==
228
 
229
+ = 2.5.6 =
230
+ UI improvments
231
+
232
  = 2.5.5 =
233
  Chaty settings page improvements for small resolution screens
234
 
views/admin/customize-widget-section.php CHANGED
@@ -2,14 +2,14 @@
2
  <h1 class="section-title">
3
  <strong><?php esc_attr_e('Step', CHT_OPT);?> 2:</strong> <?php esc_attr_e('Customize your widget', CHT_OPT);?>
4
  </h1>
5
-
6
  <div class="form-horizontal">
7
  <?php
8
  // Color
9
  $color = $this->get_current_color();
10
  $color = empty($color)?'#A886CD':$color;
11
  ?>
12
- <div class="form-horizontal__item">
13
  <label class="align-top form-horizontal__item-label"><?php esc_attr_e('Color', 'chaty'); ?>:</label>
14
  <div>
15
  <div class="color-picker-dropdown">
@@ -261,7 +261,7 @@
261
  </div>
262
  </div>
263
 
264
- <div class="form-horizontal__item widget-icon__block">
265
  <label class="form-horizontal__item-label">Widget icon:</label>
266
  <?php $pro_class = $this->is_pro() ? "has-pro" : "has-free"; ?>
267
  <label class="widget-icon__wrap <?php esc_attr_e($pro_class) ?>">
@@ -395,7 +395,7 @@
395
  </div>
396
  </div>
397
 
398
- <div class="form-horizontal__item">
399
  <label class="form-horizontal__item-label">Font Family:</label>
400
  <div>
401
  <?php
2
  <h1 class="section-title">
3
  <strong><?php esc_attr_e('Step', CHT_OPT);?> 2:</strong> <?php esc_attr_e('Customize your widget', CHT_OPT);?>
4
  </h1>
5
+ <?php $class = count($this->socials)>1?"active":""; ?>
6
  <div class="form-horizontal">
7
  <?php
8
  // Color
9
  $color = $this->get_current_color();
10
  $color = empty($color)?'#A886CD':$color;
11
  ?>
12
+ <div class="form-horizontal__item o-channel <?php echo esc_attr($class) ?>">
13
  <label class="align-top form-horizontal__item-label"><?php esc_attr_e('Color', 'chaty'); ?>:</label>
14
  <div>
15
  <div class="color-picker-dropdown">
261
  </div>
262
  </div>
263
 
264
+ <div class="form-horizontal__item widget-icon__block o-channel <?php echo esc_attr($class) ?>">
265
  <label class="form-horizontal__item-label">Widget icon:</label>
266
  <?php $pro_class = $this->is_pro() ? "has-pro" : "has-free"; ?>
267
  <label class="widget-icon__wrap <?php esc_attr_e($pro_class) ?>">
395
  </div>
396
  </div>
397
 
398
+ <div class="form-horizontal__item font-section">
399
  <label class="form-horizontal__item-label">Font Family:</label>
400
  <div>
401
  <?php