wp_back/wp-content/themes/simple-theme/js/chunk.js

1 line
19 KiB
JavaScript
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d269d2f"],{"3c80":function(t,e,n){t.exports=n.p+"img/tg.d4027812.svg"},"4c06":function(t,e,n){},7084:function(t,e,n){t.exports=n.p+"img/logo_f.7411c9c8.svg"},8694:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("Header"),n("router-view"),n("Footer")],1)},r=[],i=n("9ab4"),s=n("60a3");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function l(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}var u=function(){function t(){a(this,t)}return l(t,[{key:"registration",value:function(){var t,e,n;null===(t=this.fbq)||void 0===t||t.call(this,"trackCustom","landing_registration"),null===(e=this.gtag)||void 0===e||e.call(this,"event","landing_registration",{event_category:"landing_registration"}),null===(n=this.ym)||void 0===n||n.call(this,this.ymCode,"reachGoal","landing_registration")}},{key:"zond",value:function(t){var e,n,o;null===(e=this.fbq)||void 0===e||e.call(this,"trackCustom",t),null===(n=this.gtag)||void 0===n||n.call(this,"event",t,{event_category:"visit_lending"}),null===(o=this.ym)||void 0===o||o.call(this,this.ymCode,"reachGoal",t)}},{key:"visitAgents",value:function(){this.zond("visit_agents")}},{key:"visitPartners",value:function(){this.zond("visit_partners")}},{key:"visitScience",value:function(){this.zond("visit_science")}},{key:"visitTruck",value:function(){this.zond("visit_truck")}},{key:"visitWidgets",value:function(){this.zond("visit_widgets")}},{key:"visitBlog",value:function(){this.zond("visit_blog")}},{key:"gtag",get:function(){return window.gtag}},{key:"fbq",get:function(){return window.fbq}},{key:"ym",get:function(){return window.ym}},{key:"ymCode",get:function(){return 55127530}}]),t}(),f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header",staticStyle:{"z-index":"10",position:"relative"}},[n("div",{ref:"padder",staticClass:"header-padder",class:{dense:!t.blockLinks.length},attrs:{id:"padder"}}),n("div",{staticStyle:{background:"#0f0",padding:"0 5px",position:"fixed",top:"60px",right:"0%","z-index":"1"}},[n("div",{domProps:{textContent:t._s(t.$vuetify.breakpoint.name)}}),n("div",{domProps:{textContent:t._s("token: "+t.$root.ppdToken)}}),t.$root.ppdToken?n("div",{staticClass:"btn py-1 px-3",domProps:{textContent:t._s("Перестать")},on:{click:function(e){t.$root.ppdToken=""}}}):n("div",{staticClass:"btn py-1 px-3",domProps:{textContent:t._s("Стать админом")},on:{click:function(e){t.$root.ppdToken="tokenadmin"}}})]),t.$vuetify.breakpoint.mdAndUp?n("div",{staticClass:"w-100 header-content",class:{dense:!t.blockLinks.length}},[n("div",{staticClass:"w-100 header-content-inner"},[n("div",{staticClass:"headbar-sideitems",staticStyle:{flex:"1 0 auto"}},[n("img",{staticClass:"logo",class:{"new-year":t.isMerryPeriod},attrs:{alt:"logo",src:t.logoImg},on:{click:function(e){return t.scrollTo("#padder")}}})]),n("div",{staticClass:"headbar-centeritems",staticStyle:{flex:"1 0 auto"}},t._l(t.pages,(function(e){return n("a",{key:e.url,staticClass:"a",class:{active:t.isCurrentLanding(e.code)},attrs:{href:e.url},domProps:{textContent:t._s(e.title)}})})),0),n("div",{staticClass:"headbar-sideitems",staticStyle:{flex:"1 0 auto"}},[n("a",{staticStyle:{margin:"auto"},attrs:{href:"https://agents.pampadu.ru/"+t.$root.query},domProps:{textContent:t._s("Войти")}}),n("v-fade-transition",{attrs:{"hide-on-leave":"",group:""}},[n("zond-btn",{key:t.isTop?"onTop":"notTop",class:t.isTop?"inverted stealth-btn":"btn",domProps:{textContent:t._s("Зарегистрироваться")}})],1)],1)]),t.isMerryPeriod?t._e():n("div",{staticStyle:{"background-color":"#f0f2fa",height:"1px"}}),t.blockLinks.length>0?n("div",[n("div",{staticClass:"headbar-subitems"},t._l(t.blockLinks,(function(e){return n("span",{key:e.code,staticClass:"a",class:e.cod