wp_back/wp-content/themes/simple-theme/js/chunk.js
2024-05-20 15:37:46 +03:00

1 line
19 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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.code===t.activeBlock?"sub-active":"",domProps:{textContent:t._s(e.title)},on:{click:function(n){return t.scrollTo("#"+e.code)}}})})),0)]):t._e(),t.blockLinks.length>0?n("div",{staticStyle:{"background-color":"#f0f2fa",height:"1px"}}):t._e()]):n("div",{staticClass:"w-100 header-content"},[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("v-spacer"),n("div",{staticClass:"headbar-sideitems",staticStyle:{flex:"0 0 auto"}},[n("span",{staticClass:"sm-headbar-control",class:{opened:t.menuOpen},on:{click:function(e){t.menuOpen=!t.menuOpen}}},t._l(3,(function(t){return n("span",{key:t,class:"sm-bar sm-bar"+t})})),0)])],1)]),n("v-fade-transition",[n("mobile-menu",{directives:[{name:"show",rawName:"v-show",value:t.menuOpen,expression:"menuOpen"}],attrs:{links:t.blockLinks,activeBlock:t.activeBlock,pages:t.pages},on:{"scroll-to":function(e){return t.scrollTo(e)}}})],1)],1)},p=[],d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mobile-menu",staticStyle:{overflow:"auto"}},[n("zond-btn",{staticStyle:{width:"260px","text-align":"center","font-size":"14px"},domProps:{textContent:t._s("Зарегистрироваться")}}),n("a",{staticStyle:{margin:"28px 0 20px","font-weight":"600"},attrs:{href:"https://agents.pampadu.ru/"+t.$root.query},domProps:{textContent:t._s("Войти")}}),t._l(t.links,(function(e){return n("span",{key:e.code,staticClass:"a",class:{inverted:e.code===t.activeBlock},staticStyle:{"line-height":"34px"},domProps:{textContent:t._s(e.title)},on:{click:function(n){return t.$emit("scroll-to","#"+e.code)}}})})),t._l(t.pages,(function(e,o){return n("a",{key:o,staticClass:"a",staticStyle:{"line-height":"34px"},attrs:{href:e.url},domProps:{textContent:t._s(e.title)}})})),n("span",{staticClass:"a",staticStyle:{"line-height":"34px"},domProps:{textContent:t._s("Чат поддержки")},on:{click:function(e){return t.openChat()}}})],2)},y=[];function b(t){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(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 g(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}function _(t,e){return _=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_(t,e)}function k(t){var e=O();return function(){var n,o=P(t);if(e){var r=P(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!==typeof e?C(t):e}function C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function P(t){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(t)}var x=function(t){m(n,t);var e=k(n);function n(){return v(this,n),e.apply(this,arguments)}return g(n,[{key:"openChat",value:function(){window.carrotquest.open()}}]),n}(s["c"]);Object(i["a"])([Object(s["b"])({default:function(){return[]}})],x.prototype,"links",void 0),Object(i["a"])([Object(s["b"])({default:""})],x.prototype,"activeBlock",void 0),Object(i["a"])([Object(s["b"])({default:function(){return[]}})],x.prototype,"pages",void 0),x=Object(i["a"])([s["a"]],x);var S=x,j=S,T=n("2877"),E=Object(T["a"])(j,d,y,!1,null,null,null),R=E.exports;function M(t){return M="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M(t)}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(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 B(t,e,n){return e&&$(t.prototype,e),n&&$(t,n),t}function z(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}function D(t,e){return D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},D(t,e)}function I(t){var e=A();return function(){var n,o=V(t);if(e){var r=V(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Y(this,n)}}function Y(t,e){return!e||"object"!==M(e)&&"function"!==typeof e?q(t):e}function q(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function V(t){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},V(t)}var H=function(t){z(o,t);var e=I(o);function o(){var t;return L(this,o),t=e.apply(this,arguments),t.menuOpen=!1,t.isDev=!1,t.isTop=!0,t.activeBlock=null,t.pages=[{code:"ag",url:"/agents/",title:"Агентам"},{code:"wi",url:"/webtools/",title:"Вебмастерам"},{code:"pa",url:"/partners/",title:"Партнерам"},{code:"bl",url:"/blog/",title:"Блог"}],t.landingType=Object({NODE_ENV:"production",BASE_URL:"/pampadu-blog/"}).VUE_APP_COMPONENT,t.isMerryPeriod=!0,t}return B(o,[{key:"isCurrentLanding",value:function(t){var e={AgentsMain:"ag",WidgetsMain:"wi",PartnersMain:"pa",BlogMain:"bl"};return t===e[this.landingType]}},{key:"created",value:function(){this.isTop=0===window.scrollY,window.addEventListener("scroll",this.handleScroll)}},{key:"scrollTo",value:function(t){var e,n;this.menuOpen=!1,null===(e=document.querySelector(t))||void 0===e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"start",inline:"start",behavior:"smooth"})}},{key:"handleScroll",value:function(){this.isTop=0===window.scrollY;var t=this.blockLinks.flatMap((function(t){return t.code})).map((function(t){var e=document.getElementById(t);return e&&U(e)?t:null}));this.activeBlock=t.find((function(t){return t}))}},{key:"logoImg",get:function(){return this.isMerryPeriod?n("b042"):n("b187")}}]),o}(s["c"]);Object(i["a"])([Object(s["b"])({default:function(){return[]}})],H.prototype,"blockLinks",void 0),H=Object(i["a"])([Object(s["a"])({components:{MobileMenu:R}})],H);var F=H;function U(t){var e=t.offsetTop,n=t.offsetHeight,o=e+n;while(t.offsetParent)t=t.offsetParent,e+=t.offsetTop;var r=e<window.pageYOffset,i=o<window.pageYOffset,s=e>window.pageYOffset+window.innerHeight,a=o>window.pageYOffset+window.innerHeight;return!(r&&i)&&!(s&&a)}var N=F,X=(n("87d2"),n("6544")),G=n.n(X),W=n("0789"),J=n("2fa4"),K=Object(T["a"])(N,f,p,!1,null,null,null),Q=K.exports;G()(K,{VFadeTransition:W["c"],VSpacer:J["a"]});var Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"footer",staticStyle:{position:"relative"}},[n("div",{staticClass:"footer-cont"},[n("div",{staticClass:"footer-col col-logo"},[n("img",{staticClass:"ft-logo",class:{"new-year":t.isMerryPeriod},attrs:{alt:"logo",src:t.logoImg}}),n("div",{staticClass:"ft-phone",domProps:{textContent:t._s("+7 (499) 110-83-65")}}),n("div",{staticClass:"ft-address",domProps:{textContent:t._s("115191, Москва,")}}),n("div",{staticClass:"ft-address",domProps:{textContent:t._s("Б. Тульская 2, эт 2, Пом IV")}}),n("div",{staticClass:"ft-address",domProps:{textContent:t._s("ИНН 9729069737 КПП 772501001")}})]),n("div",{staticClass:"footer-col links"},[n("a",{staticClass:"a",attrs:{href:"/agents/"},domProps:{textContent:t._s("Агентам")}}),n("a",{staticClass:"a",attrs:{href:"/webtools/"},domProps:{textContent:t._s("Вебмастерам")}}),n("a",{staticClass:"a",attrs:{href:"/partners/"},domProps:{textContent:t._s("Партнерам")}}),n("a",{staticClass:"a",attrs:{href:"/blog/"},domProps:{textContent:t._s("Блог")}}),t.blockLinks.length>0?t._l(t.blockLinks,(function(e,o){return n("span",{key:o,staticClass:"a",domProps:{textContent:t._s(e.title)},on:{click:function(n){return t.scrollTo("#"+e.code)}}})})):t._e()],2),n("div",{staticClass:"footer-col"},[n("span",{staticClass:"ft-header",domProps:{textContent:t._s("Мы в соц. сетях")}}),n("div",{staticClass:"ft-tg-cont"},[t._m(0),n("a",{staticClass:"inverted",attrs:{target:"_blank",href:"https://drive.google.com/file/d/1WU8_9KGYem9OS3mPoHbb3S2PmnkMEC5g/view?usp=sharing"},domProps:{innerHTML:t._s("Договор оферты<br />для физ. лиц")}})])]),t._m(1)]),n("div",{staticClass:"footer-text"},[t._v("© "+t._s(t.year)+", ООО «Страховые Партнеры»")])])},tt=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("a",{staticStyle:{display:"flex"},attrs:{href:"https://tele.gg/joinchat/AAAAAE2b6VJSXwGX3WY7nw"}},[o("img",{staticStyle:{"object-fit":"contain"},attrs:{src:n("3c80"),alt:"telegram"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"footer-col"},[n("span",{staticClass:"ft-header"},[t._v("Доп. сведения")]),n("a",{staticClass:"small",attrs:{target:"_blank",href:"https://drive.google.com/file/d/17PnoqonnOTeU6fVyfT5lmioboKaT2IPO/view"}},[t._v("Политика конфиденциальности")]),n("a",{staticClass:"small",attrs:{target:"_blank",href:"https://drive.google.com/file/d/1M9-nRbmTFUu6OXX-xOiYc2LdXMiIRegS/view"}},[t._v("Пользовательское соглашение")])])}];function et(t){return et="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function nt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(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 rt(t,e,n){return e&&ot(t.prototype,e),n&&ot(t,n),t}function it(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&st(t,e)}function st(t,e){return st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},st(t,e)}function at(t){var e=ut();return function(){var n,o=ft(t);if(e){var r=ft(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ct(this,n)}}function ct(t,e){return!e||"object"!==et(e)&&"function"!==typeof e?lt(t):e}function lt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ut(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function ft(t){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ft(t)}var pt=function(t){it(o,t);var e=at(o);function o(){var t;return nt(this,o),t=e.apply(this,arguments),t.year=(new Date).getFullYear(),t.isMerryPeriod=!0,t}return rt(o,[{key:"scrollTo",value:function(t){document.querySelector(t).scrollIntoView({block:"start",inline:"start",behavior:"smooth"})}},{key:"logoImg",get:function(){return this.isMerryPeriod?n("b042"):n("7084")}}]),o}(s["c"]);Object(i["a"])([Object(s["b"])({default:function(){return[]}})],pt.prototype,"blockLinks",void 0),pt=Object(i["a"])([Object(s["a"])({components:{}})],pt);var dt=pt,yt=dt,bt=(n("f4f5"),Object(T["a"])(yt,Z,tt,!1,null,null,null)),vt=bt.exports,ht=n("e7c3");function gt(t){return gt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(t)}function mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _t(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 kt(t,e,n){return e&&_t(t.prototype,e),n&&_t(t,n),t}function wt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}function Ct(t,e){return Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ct(t,e)}function Ot(t){var e=St();return function(){var n,o=jt(t);if(e){var r=jt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Pt(this,n)}}function Pt(t,e){return!e||"object"!==gt(e)&&"function"!==typeof e?xt(t):e}function xt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function St(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function jt(t){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},jt(t)}var Tt=function(t){wt(n,t);var e=Ot(n);function n(){return mt(this,n),e.apply(this,arguments)}return kt(n,[{key:"created",value:function(){(new u).visitBlog()}}]),n}(s["c"]);Tt=Object(i["a"])([Object(s["a"])({components:{Header:Q,Footer:vt,BlogFirst:ht["a"]}})],Tt);var Et=Tt,Rt=Et,Mt=Object(T["a"])(Rt,o,r,!1,null,null,null);e["default"]=Mt.exports},"87d2":function(t,e,n){"use strict";n("b63a")},b042:function(t,e,n){t.exports=n.p+"img/logo_newYear.c94f4c44.svg"},b187:function(t,e,n){t.exports=n.p+"img/logo_h.7a2a2bee.svg"},b63a:function(t,e,n){},f4f5:function(t,e,n){"use strict";n("4c06")}}]);