1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4803,6201],{16201:(t,e,s)=>{s.d(e,{Z:()=>r});var i=s(11592),l=s(62570),a=s(6210),o=s(12954),n={name:"SelectField",components:{Dropdown:s(27227).Z,ValidationProvider:o.d_,ValidationWatcher:a.Z},props:{id:{type:[Number,String],default:()=>(0,i.k$)()},value:{type:[String,Number,Object],default:""},options:{type:Array,default:()=>[]},rules:{type:String,default:null},activeFunc:{type:Function,default:void 0},immediate:{type:Boolean,default:!1},modalPriority:{type:Number,default:100},mobileNoModal:{type:Boolean,default:!1},hideCancelButton:{type:Boolean,default:!1},validationName:{type:String,default:""},startIcon:{type:String,default:()=>""},label:{type:String,default:""},readOnly:{type:Boolean,default:()=>!1},disabled:{type:Boolean,default:()=>!1},titleDrop:{type:String,default:()=>""},grouped:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},groupedList:{type:String,default:()=>""},groupedTitle:{type:String,default:()=>""},prefix:{type:String,default:()=>""},hint:{type:String,default:()=>""},suffix:{type:String,default:()=>""},stackLabel:{type:Boolean,default:()=>!1},optionLabel:{type:String,default:""},optionValue:{type:String,default:""}},data:()=>({isFocused:!1,maxHeight:320,position:"bottom",transitionSelectDrop:"select-dropdown",hasErrors:!1,localIn
1put:"",errorsItems:[]}),computed:{currentOption(){return this.mapOptions.get(this.value)||{}},mapOptions(){return(0,i.Mv)(this.options,this.optionValue,this.groupedList)},isModalDrop(){return this.lLG&&!this.mobileNoModal},localOptions(){return this.searchable&&this.localInput?this.grouped?this.options.map((t=>{const e=this.arraySearchFilter(t[this.groupedList]);return{...t,[this.groupedList]:e}})).filter((t=>t[this.groupedList].length>0)):this.arraySearchFilter(this.options):this.options},isSlotLabel(){return this.$slots.label||this.$scopedSlots.label},isSlotItemDrop(){return this.$slots.itemDrop||this.$scopedSlots.itemDrop},isHint(){return!this.hasErrors&&this.hint},isBottom(){return this.hasErrors||this.hint},isSlotEmptyDrop(){return this.$slots.emptyDrop||this.$scopedSlots.emptyDrop},hasLabel(){return this.optionLabel?this.currentOption[this.optionLabel]:this.currentOption},hasValue(){return!(!this.value&&0!==this.value)&&("string"==typeof this.value?this.value.trim().length>0:"object"!=typeof this.value||Object.keys(this.value).length>0)},hasSelectStacked(){return this.stackLabel||this.searchable&&this.isFocused},selectClass(){return{select:!0,"select--focused":this.isFocused,"select--selected":this.hasValue,"select--no-label":!this.label,"select--stacked":this.hasSelectStacked,"select--readonly":this.readOnly,"select--disabled":this.disabled,"select--error":this.hasErrors}},hasPrefix(){return(this.currentOption||this.stackLabel)&&this.prefix},hasSuffix(){return this.currentOption&&this.suffix},titleDropFinal(){return this.titleDrop||this.label||"ÐÑбеÑиÑе ваÑианÑ"},startIconSource(){return s(20116)("./"+this.startIcon+".svg")}},methods:{updateErrors(t){this.errorsItems=t,this.hasErrors=t.length>0},handleFocus(){this.disabled||this.readOnly||(this.$emit("focus"),this.isFocused=!0,(0,l.X)("select-field-"+this.id),this.updateDropdownPosition(),this.$nextTick((()=>
1{this.searchable&&this.isFocused&&(this.localInput="",this.$refs.input.focus())})))},updateDropdownPosition(){if(!this.$refs.selectField)return;const t=this.$refs.selectField.getBoundingClientRect(),e=window.innerHeight,s=e-t.bottom,i=t.top,l=s<320&&i>s;this.transitionSelectDrop=l?"select-dropdown-top":"select-dropdown";const a=Math.max(s,i)-40;this.maxHeight=Math.min(a,320),this.dropdownStyles={position:"fixed",top:l?"auto":`${t.bottom+4}px`,bottom:l?e-t.top+4+"px":"auto",left:`${t.left}px`,width:`${t.width}px`,zIndex:1007}},highlightText(t,e){if(!t||!e)return this.escapeHtml(t||"");const s=this.escapeHtml(t.toString()),i=this.escapeHtml(e),l=new RegExp(`(${i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return s.replace(l,'<span class="highlight">$1</span>')},escapeHtml(t){if(!t)return"";const e=document.createElement("div");return e.textContent=t,e.innerHTML},arraySearchFilter(t){const e=this.localInput.toLowerCase();return t.filter((t=>t[this.optionLabel]?.toLowerCase().includes(e))).map((t=>({...t,[this.optionLabel]:this.highlightText(t[this.optionLabel],e)})))},handleBlur(){this.$nextTick((()=>{this.isFocused=!1,(0,l.K)("select-field-"+this.id),this.dropdownStyles={},this.$emit("blur")}))},getOptionValue(t){return this.optionValue?t[this.optionValue]:t},selectOption(t,e){this.$emit("input",this.getOptionValue(t)),this.$emit("select",t),this.handleBlur()},clearSelect(){this.$emit("input",""),this.$emit("select","")},closeMiddleware(){return this.isDesktop},handleInput:(0,i.Ds)((function(t){this.localInput=t.target.value}),300)}},r=(0,s(51900).Z)(n,(function(){var t=this,e=t._self._c;return e("div",{class:t.selectClass},[e("ValidationProvider",{ref:"provider",attrs:{tag:"div",name:t.validationName||t.label,immediate:t.immediate,rules:t.rules},scopedSlots:t._u([{key:"default",fn:function(s){let{errors:i}=s;return[e("ValidationWatcher",{attrs:{errors:i},on:{change:t.updateErrors}}),t._v(" "),e("input",{attrs:{type:"hidden"},domProps:{value:t.value}})]}}])}),t._v(" "),e("div",{staticClass:"select__wrapper"},[e("div",{ref:"selectField",staticClass:"select__field",on:{click:t.handleFocus}},[t.startIcon?e("div",{staticClass:"select__icon"},[e("icon",{attrs:{data:t.startIconSource}})],1):t._e(),t._v(" "),e("div",{staticClass:"select__content"},[t.isSlotLabel?t._t("label",null,{prefix:t.prefix,label:t.label,isFocused:t.isFocused,selected:t.currentOption,suffix:t.suffix}):[t.label?e("div",{staticClass:"select__label"},[t._v("\n "+t._s(t.label)+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"select__container"},[t.hasPrefix?e("div",{staticClass:"select__prefix"},[t._v("\n "+t._s(t.prefix)+"\n ")]):t._e(),t._v(" "),t.isFocused&&t.searchable?e("div",{staticClass:"select__value"},[e("input",{ref:"input",staticClass:"select__input",attrs:{name:"selectInput",type:"text"},on:{input:t.handleInput}})]):t.hasLabel?e("div",{staticClass:"select__value"},[t._v("\n "+t._s(t.hasLabel)+"\n ")]):t._e(),t._v(" "),t.hasSuffix?e("div",{staticClass:"select__suffix"},[t._v("\n "+t._s(t.suffix)+"\n ")]):t._e()])]],2),t._v(" "),e("div",{staticClass:"select__control"},[e("icon",{attrs:{data:s(96789)}})],1)]),t._v(" "),t.isBottom?e("div",{staticClass:"select__bottom"},[t.hasErrors?e("div",{staticClass:"select__error"},[e("icon",{attrs:{data:s(56369)}}),t._v(" "),e("span",[t._v(t._s(t.errorsItems[0]))])],1):t.isHint?e("span",{staticClass:"select__hint"},[t._v("\n "+t._s(t.hint)+"\n ")]):t._e()]):t._e()]),t._v(" "),t.isFocused?e("div",{staticClass:"select-dropdown"},[e("div",{staticClass:"select-dropdown-back"}),t._v(" "),e("Dropdown",{ref:"options",style:t.dropdownStyles,attrs:{"show-empty":!0,show:t.isFocused,"modal-priority":t.modalPriority,"max-height":t.maxHeight,"mobile-no-modal":t.mobileNoModal,"click-outside-close":"","active-func":t.activeFunc,transition:t.transitionSelectDrop,active:t.value,"item-field":t.optionLabel,"active-field":t.optionValue,title:t.titleDropFinal,grouped:t.grouped,"grouped-list":t.groupedList,"grouped-title":t.groupedTitle,tabindex:"-1",list:t.localOptions},on:{close:t.handleBlur,select:t.selectOption},scopedSlots:t._u([t.isSlotItemDrop?{key:"itemDrop",fn:function(e){let{item:s,activeItem:i}=e;return[t._t("item",null,{item:s,activeItem:i})]}}:null,t.isSlotEmptyDrop?{key:"empty",fn:function(){return[t._t("empty")]},proxy:!0}:null],null,!0)})],1):t._e()],1)}),[],!1,null,null,null).exports},38204:(t,e,s)=>{s.d(e,{Z:()=>r});
1var i=s(6210),l=s(12954),a=s(75365),o=s(11592),n={name:"TextArea",components:{ValidationProvider:l.d_,ValidationWatcher:i.Z},directives:{tooltip:a.ZP},props:{value:{type:[String,Number],default:""},id:{type:String,default:()=>"input-"+(0,o.k$)()},disabled:{type:Boolean,default:()=>!1},rules:{type:String,default:null},inputFilter:{type:RegExp,default:null},immediate:{type:Boolean,default:!1},validationName:{type:String,default:""},name:{type:String,default:()=>""},hint:{type:String,default:()=>""},label:{type:String,default:""},placeholder:{type:String,default:""},autocomplete:{type:String,default:"on"},readOnly:{type:Boolean,default:()=>!1},stackLabel:{type:Boolean,default:()=>!1},success:{type:Boolean,default:()=>!1},maxLength:{type:Number,default:0},trimOnInput:{type:Boolean,default:!1},trimOnChange:{type:Boolean,default:!1},adaptiveHeight:{type:Boolean,default:!1}},data:()=>({localValue:"",suffixPadding:"",isFocused:!1,hasErrors:!1,eyeActive:!1,keepFocus:!1}),computed:{countValue(){return String(this.localValue).length},isSuccess(){return!this.hasErrors&&this.countValue>0&&this.success},textFieldClass(){return{"text-field":!0,"text-field--read-only":this.readOnly,"text-field--focus":this.isFocused,"text-field--error":this.hasErrors,"text-field--success":this.isSuccess,"text-field--disabled":this.disabled,"text-field--stack-label":this.stackLabel||this.localValueExists}},getRules(){return this.disabled?"":this.rules},localValueExists(){return null!==this.localValue&&void 0!==this.localValue&&""!==this.localValue},maxLengthFinal(){return 0!==this.maxLength&&this.maxLength},isTextFieldBottom(){return this.hint||this.hasErrors||this.maxLengthFinal},isHint(){return!this.hasErrors&&this.hint}},watch:{localValue(t){let e=t;this.trimOnInput&&t&&(e=t.trim(),this.localValue=e),this.adaptiveHeight&&this.resizeHeight(),this.$emit("input",t)},value:{immediate:!0,handler(t){this.localValue=t}}},mounted(){this.adaptiveHeight&&this.resizeHeight()},methods:{handleInput(t){this.inputFilter&&(this.localValue=t.target.value.replace(this.inputFilter,""))},updateErrors(t){this.hasErrors=t.length>0},handleClick(){this.keepFocus=!1},resizeHeight(){this.$refs.input.style.height="",this.$refs.input.style.height=`${this.$refs.input.scrollHeight+2}px`},handleFocus(t){this.$emit("focus",t),this.inputFocus(),this.isFocused=!0,this.keepFocus=!1},focus(){this.$nextTick((()=>{this.$refs.input.focus()}))},blur(){this.$nextTick((()=>{this.trimOnChange&&this.localValue&&(this.localValue=this.localValue.trim()),this.$refs.input.blur()}))},handleBlur(t){this.$emit("blur",t),this.keepFocus?this.$nextTick((()=>{this.focus()})):this.isFocused=!1,this.keepFocus=!1},clearInput(){this.$emit("clearInput"),this.localValue="",this.keepFocus=!1},showTooltipModal(){this.isMobile&&this.$refs.tooltipModal.show()},handleMouseDown(){this.isFocused&&(this.keepFocus=!0)},inputFocus(){let t=this.$refs.input;t.scrollWidth>t.clientWidth&&requestAnimationFrame((()=>{t.setSelectionRange(t.value.length,t.value.length),t.scrollLeft=t.scrollWidth}))},validate(){return this.$refs.provider.validate()}}},r=(0,s(51900).Z)(n,(function(){var t=this,e=t._self._c;return e("ValidationProvider",{ref:"provider",class:t.textFieldClass,attrs:{tag:"div",name:t.validationName||t.name,immediate:t.immediate,rules:t.getRules},scopedSlots:t._u([{key:"default",fn:function(i){let{errors:l}=i;return[e("ValidationWatcher",{attrs:{errors:l},on:{change:t.updateErrors}}),t._v(" "),e("label",{staticClass:"text-field__control",on:{mousedown:t.handleMouseDown}},[e("div",{staticClass:"text-field__label"},[t._v("\n "+t._s(t.label)+"\n ")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.localValue,expression:"localValue"}],ref:"input",staticClass:"text-field__input",attrs:{id:t.id,maxlength:t.maxLengthFinal,readonly:t.readOnly,disabled:t.disabled,placeholder:t.placeholder,autocomplete:t.autocomplete},domProps:{value:t.localValue},on:{input:[function(e){e.target.composing||(t.localValue=e.target.value)},t.handleInput],click:t.handleClick,focus:t.handleFocus,blur:t.handleBlur}})]),t._v(" "),e("Transition",{attrs:{name:"fade"}},[t.isTextFieldBottom?e("div",{staticClass:"text-field__bottom"},[e("div",{staticClass:"text-field__bottom-wrapper"},[t.hasErrors?e("div",{staticClass:"text-field__bottom-error"},[e("icon",{attrs:{data:s(56369)}}),t._v(" "),e("span",[t._v(t._s(l[0]))])],1):t.isHint?e("span",{staticClass:"text-field__bottom-hint"}
1,[t._v("\n "+t._s(t.hint)+"\n ")]):t._e()]),t._v(" "),t.maxLengthFinal?e("div",{staticClass:"text-field__bottom-count"},[e("span",[t._v(" "+t._s(t.countValue)+"/"+t._s(t.maxLength)+" ")])]):t._e()]):t._e()])]}}])})}),[],!1,null,"458f1ebc",null).exports},47752:(t,e,s)=>{s.d(e,{Z:()=>l});var i={name:"SupportOnlineCenter"},l=(0,s(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"support-online-center"},[e("div",{staticClass:"support-online-center__title"},[t._v("\n ЦенÑÑ Ð¿Ð¾Ð´Ð´ÐµÑжки онлайн:\n ")]),t._v(" "),e("div",{staticClass:"support-online-center__info"},[e("div",{staticClass:"w-100"},[e("p",{staticClass:"selectable-text"},[t.isDesktop?t._e():e("a",{staticClass:"support-online-center__number",attrs:{href:"tel:+74997556634"}},[t._v("\n +7 (499) 755-66-34\n ")]),t._v(" "),t.isDesktop?e("span",{staticClass:"support-online-center__number"},[t._v("\n +7 (499) 755-66-34\n ")]):t._e()]),t._v(" "),t._m(0)]),t._v(" "),e("div",{staticClass:"w-100"},[e("p",{staticClass:"selectable-text"},[t.isDesktop?t._e():e("a",{staticClass:"support-online-center__number",attrs:{href:"tel:+79252719699"}},[t._v("\n +7 925-271-96-99\n ")]),t._v(" "),t.isDesktop?e("span",{staticClass:"support-online-center__number"},[t._v("\n +7 925-271-96-99\n ")]):t._e()]),t._v(" "),t._m(1)])])])}),[function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"support-online-center__schedule"},[t._v("\n Ðн - ÐÑ: 9:00 â 21:00\n ")]),t._v(" "),e("div",{staticClass:"support-online-center__schedule"},[t._v("\n Сб - ÐÑ: 9:00 â 18:00 (MSK)\n ")])])},function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"support-online-center__schedule"},[t._v("\n Ðн - ÐÑ: 9:00 â 21:00\n ")]),t._v(" "),e("div",{staticClass:"support-online-center__schedule"},[t._v("\n Сб - ÐÑ: 9:00 â 18:00 (MSK)\n ")])])}],!1,null,"62925cc8",null).exports},24238:(t,e,s)=>{s.d(e,{Z:()=>u});var i=s(59131),l=s(75365),a=s(11592),o=s(88720),n=s(6322),r=s(82556),c={name:"Topic",components:{Button:o.Z,ContentCard:n.Z,Badge:i.Z,EllipsisText:r.Z},directives:{tooltip:l.ZP},props:{topic:{type:Object,default:()=>{}}},computed:{getTime(){return`Создано ${this.topic.datetime} ⢠${this.topic.comments_count} ${(0,a.Ak)(this.topic.comments_count,["СообÑение","СообÑениÑ","СообÑений"])}`},isTooltipDisabled(){return this.lMD},getBadge(){switch(this.topic.status){case 1:return{color:"orange",type:"minimal"};case 2:return{color:"green",type:"minimal"};default:return{color:"gray",type:"minimal"}}}},methods:{goToDetail(){this.$router.push({name:"support"===this.$route.name?"support-detail":"channel-manager-detail",params:{topicId:this.topic.id,hotelId:this.topic.hotel_id}})},mobileToDetail(){this.goToDetail()}}},u=(0,s(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("ContentCard",{attrs:{"use-card-margin":!1,type:"mini"}},[e("div",{staticClass:"topic",on:{click:t.mobileToDetail}},[e("div",{staticClass:"topic__block"},[e("div",{staticClass:"topic__description"},[e("div",{staticClass:"topic__info"},[e("a",{staticClass:"topic__link",on:{click:t.goToDetail}},[t._v("#"+t._s(t.topic.id))])]),t._v(" "),t.lLG?e("Badge",{staticClass:"ml-10 badge_phone",attrs:{color:t.getBadge.color,type:t.getBadge.type,inline:!0,title:t.topic.status_name}}):t._e()],1),t._v(" "),t.mLG?e("div",{staticClass:"topic__status"},[e("Badge",{staticClass:"badge_phone",attrs:{color:t.getBadge.color,type:t.getBadge.type,inline:!0,title:t.topic.status_name}})],1):t._e()]),t._v(" "),e("div",{staticClass:"topic__block"},[e("div",{staticClass:"topic__status"},[e("span",{staticClass:"text-break"},[e("EllipsisText",{attrs:{name:t.topic.title,"line-clamp":t.mMD?1:2}}
1)],1),t._v(" "),e("span",{staticClass:"topic__time"},[e("icon",{attrs:{data:s(72126),color:"#101828",width:"16",height:"16"}}),t._v("\n "+t._s(t.getTime)+"\n ")],1)])]),t._v(" "),t.mLG?e("div",{staticClass:"topic__block topic__block-button"},[e("Button",{attrs:{color:"black",hierarchy:"tertiary","only-icon":"","stop-propagation":"","start-icon":"chevron-right"},on:{action:t.goToDetail}})],1):t._e()])])}),[],!1,null,"948777b2",null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.