vendor: 4,535 bytes, lines 1-2
1/*! For license information please see donate.js.LICENSE.txt */ 2(self.webpackChunkthe_babel=self.webpackChunkthe_babel||[]).push([[171],{6185:t=>{var e=function(t){"use strict";var e,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var r=e&&e.prototype instanceof v?e:v,o=Object.create(r.prototype),s=new x(i||[]);return o._invoke=function(t,e,n){var i=p;return function(r,o){if(i===h)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw o;return P()}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===m)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===p)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=u(t,e,n);if("normal"===l.type){if(i=n.done?f:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=f,n.method="throw",n.arg=l.arg)}}}(t,n,s),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var p="suspendedStart",d="suspendedYield",h="executing",f="completed",m={};function v(){}function _(){}function y(){}var b={};l(b,o,(function(){return this}));var g=Object.getPrototypeOf,C=g&&g(g(H([])));C&&C!==n&&i.call(C,o)&&(b=C);var w=y.prototype=v.prototype=Object.create(b);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(r,o,s,a){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,p=c.value;return p&&"object"==typeof p&&i.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,s,a)}),(function(t){n("throw",t,s,a)})):e.resolve(p).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,a)}))}a(l.arg)}var r;this._invoke=function(t,i){function o(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(o,o):o()}}function E(t,n){var i=t.iterator[n.method];if(i===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,m;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function H(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,s=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return s.next=s}}return{next:P}}function P(){return{value:e,done:!0}}return _.prototype=y,l(w,"constructor",y),l(y,"constructor",_),_.displayName=l(y,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,a,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},A(T.prototype),l(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var s=new T(c(e,n,i,r),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},A(w),l(w,a,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=H,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
2h(k),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(i,r){return a.type="throw",a.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:H(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},2207:(t,e,n)=>{t.exports=n(6185)},8996:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(2505),r=n.n(i)().create({baseURL:"/",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}});r.interceptors.request.use((function(t){return t.data||(t.data={}),t.data.locale=window.App.locale,t})),r.interceptors.response.use((function(t){return t}),(function(t){if(!t.response)return Promise.reject(t);if(301===t.response.status)document.location.href=t.response.data.redirect_url;return Promise.reject(t)}));const o=r},7185:(t,e,n)=>{"use strict";n.d(e,{ai:()=>g,EU:()=>y,qf:()=>c,VH:()=>b,Mg:()=>l});var i=n(8996),r=n(2893),o=n(6135),s=n.n(o);function a(t){return a="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},a(t)}function l(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"==a(t))n=[t];else if(null===(n=document.querySelectorAll(t)))return;s()(n,(function(t){var n=new(r.A.extend(e,{template:t}))({propsData:o});n.dataset=t.dataset,i&&(n.original=t),n.$mount(t)}))}const c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t||(t=document);var e,n=".js-banner",i=".js-sticky",r="is-sticky",o=t.querySelectorAll(i),s=document.querySelector(n);function a(t){return parseInt(getComputedStyle(t).borderTopWidth)-s.getBoundingClientRect().height}function l(t,e){var n=new Event(e?"sticky":"unsticky");t.dispatchEvent(n)}function c(t,n){var i=t.getBoundingClientRect().top+e<0;return i&&!n.classList.contains(r)?(n.classList.add(r),l(n,i)):!i&&n.classList.contains(r)&&(n.classList.remove(r),l(n,i)),i}return o.forEach((function(t){var n=t.parentNode;e=a(n),c(n,t),window.addEventListener("resize",(function(){e=a(n),c(n,t)})),document.addEventListener("scroll",(function(){c(n,t)}))})),o};var u=n(8156),p=n.n(u),d=n(1448),h=n.n(d);function f(t){return h()(window.__dictionary,t)?p()(window.__dictionary,t):t}n(7805);var m=n(400),v=n(8221),_=n.n(v);function y(){function t(){document.querySelectorAll("video[data-responsive]").forEach((function(t){var e,n,i=t.querySelectorAll("data-source"),r=t.getAttribute("src");
2i.forEach((function(t){var i=t.getAttribute("media");window.matchMedia(i).matches&&(e=t.getAttribute("poster"),n=t.getAttribute("src"))})),n!=r&&(t.setAttribute("poster",e),t.setAttribute("src",n))}))}t(),window.addEventListener("resize",_()(t,100))}function b(t){t||(t=document),t.querySelectorAll(".js-fb").forEach((function(t){t.addEventListener("click",(function(){window.dataLayer.push({event:"gtm-auto-event","gtm-event-category":"goto","gtm-event-action":"facebook","gtm-event-non-interaction":"False"})})),t.classList.remove("js-fb")})),t.querySelectorAll(".js-tg").forEach((function(t){t.addEventListener("click",(function(){window.dataLayer.push({event:"gtm-auto-event","gtm-event-category":"goto","gtm-event-action":"telegram","gtm-event-non-interaction":"False"})})),t.classList.remove("js-tg")}))}var g={install:function(t){t.prototype._t=f,t.prototype.staticAsset=m.A,t.prototype.$h={vMount:l,http:i.A}}}},7805:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(400);function r(t){!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=document.querySelector('script[src$="'+t+'"]');n&&(n.remove(),e&&e())}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null);var e=document.createElement("script");e.src=t,e.async=!0,document.body.appendChild(e)}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(e||(e=document),t){case"twitter":return function(){if(window.twttr)window.twttr.widgets.load();else{var t=document.createElement("script");t.src="https://platform.twitter.com/widgets.js",t.async=!0,document.body.appendChild(t)}}();case"facebook":return function(){try{if(window.FB&&window.FB.XFBML)window.FB.XFBML.parse();else{var t=document.createElement("div");t.id="fb-root",document.body.appendChild(t),e=document,n="script",i="facebook-jssdk",o=e.getElementsByTagName(n)[0],e.getElementById(i)||((r=e.createElement(n)).id=i,r.src="//connect.facebook.net/uk_UA/sdk.js#xfbml=1&version=v2.10&appId=169919739737668",o.parentNode.insertBefore(r,o))}}catch(t){console.error(t)}var e,n,i,r,o}();case"instagram":return function(){try{if(window.instgrm)window.instgrm.Embeds.process();else{var t=document.createElement("script");t.src="https://platform.instagram.com/uk_UA/embeds.js",t.async=!0,document.body.appendChild(t)}}catch(t){console.error(t)}}();case"tiktok":return void r("https://www.tiktok.com/embed.js");case"telegram":return function(t){try{var e=t.querySelectorAll("[data-telegram-post]");if(!e.length)return;if(window.Telegram)e.forEach((function(t){window.Telegram.initWidget(t)}));else{var n=document.createElement("script");n.src=(0,i.A)("/src/js/vendor/tg.js"),n.onload=function(){e.forEach((function(t){window.Telegram.initWidget(t)}))},document.body.appendChild(n)}}catch(t){console.error(t)}}(e);case"flourish":return void r("https://public.flourish.studio/resources/embed.js",(function(){window.FlourishLoaded=!1,document.querySelectorAll("div.flourish-embed iframe").forEach((function(t){t.parentElement.removeAttribute("data-src")}))}));case"elevenlabs":return void r("https://elevenlabs.io/player/audioNativeHelper.js")}}},400:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(4826),r=n.n(i),o=r()(window.App.staticUrl,"/");const s=function(t){return"".concat(o,"/").concat(r()(t,"/"))}},5980:function(t,e,n){var i;(function(){var r=function(){var t={absolute:!0,rootUrl:window.App.apiUrl,routes:[{host:null,methods:["GET","HEAD"],uri:"api/homepage-loadmore",name:"uk.api.homepage-loadmore",action:"AppHttpControllersApiPagesController@homeLoadmore"},{host:null,methods:["GET","HEAD"],uri:"api/feeds/{feed}",name:"uk.api.feed",action:"AppHttpControllersApiOnlineFeedController@feed"},{host:null,methods:["GET","HEAD"],uri:"api/feeds/{feed}/loadmore",name:"uk.api.feed-loadmore",action:"AppHttpControllersApiOnlineFeedController@feedLoadmore"},{host:null,methods:["GET","HEAD"],uri:"api/feeds/{feed}/posts/{post}",name:"uk.api.feed-post",action:"AppHttpControllersApiOnlineFeedController@feedPost"},{host:null,methods:["GET","HEAD"],uri:"api/feeds/{feed}/posts",name:"uk.api.feed-posts",action:"AppHttpControllersApiOnlineFeedController@feedPosts"},{host:null,methods:["GET","HEAD"],uri:"api/quizzes/{quiz}",name:"uk.api.quiz",action:"AppHttpControllersApiQuizController@quiz"},{host:null,methods:["POST"],uri:"api/quizzes/{quiz}",name:"uk.api.quiz-submit",action:"AppHttpControllersApiQuizController@submit"},{host:null,methods:["POST"],uri:"api/quizzes/{quiz}/event",name:"uk.api.quiz-event",action:"AppHttpControllersApiQuizController@event"},{host:null,methods:["POST"],uri:"api/subscribe",name:"uk.api.subscribe",action:"AppHttpControllersApiSubscribeController@postSubscribe"},{host:null,methods:["GET","HEAD"],uri:"api/homepage",name:"uk.api.homepage",action:"AppHttpControllersApiArticleController@homepage"},{host:null,methods:["GET","HEAD"],uri:"api/polls/{poll}",name:"uk.api.poll",action:"AppHttpControllersApiPollsController@poll"},{host:null,methods:["POST"],uri:"api/polls/{poll}/vote/{pollAnswer}",name:"uk.api.poll-answer",action:"AppHttpControllersApiPollsController@vote"},{host:null,methods:["POST"],uri:"api/donate",name:"uk.api.donate",action:"AppHttpControllersApiDonateController@request"},{host:null,methods:["POST"],uri:"api/mistake",name:"uk.api.mistake",action:"AppHttpControllersApiMistakesController@mistake"},{host:null,methods:["POST"],uri:"api/articles/{articleId}/share",name:"uk.api.articles.share-success",action:"AppHttpControllersApiArticleController@share"},{host:null,methods:["POST"],uri:"api/articles/{articleId}/view",name:"uk.api.articles.view",action:"AppHttpControllersApiArticleController@view"},{host:null,methods:["GET","HEAD"],uri:"api/articles/{articleId}/next",name:"uk.api.articles.next",action:"AppHttpControllersApiArticleController@next"},{host:null,methods:["GET","HEAD"],uri:"api/embeds/batch",name:"uk.api.embeds",action:"AppHttpControllersApiEmbedsController@embeds"},{host:null,methods:["GET","HEAD"],uri:"api/embeds/{embed}",name:"uk.api.embed",action:"AppHttpControllersApiEmbedsController@embed"},{host:null,methods:["GET","HEAD"],uri:"api/preview",name:"uk.preview",action:"AppHttpControllersApiPreviewController@preview"},{host:null,methods:["GET","HEAD"],uri:"api/{type}/loadmore",name:"uk.type.loadmore",action:"AppHttpControllersTypesController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"api/search/loadmore",name:"uk.search.loadmore",action:"AppHttpControllersSearchController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"api/promo/loadmore",name:"uk.promo.loadmore",action:"AppHttpControllersPromoController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"en/api/homepage-loadmore",name:"en.api.homepage-loadmore",action:"AppHttpControllersApiPagesController@homeLoadmore"},{host:null,methods:["GET","HEAD"],uri:"en/api/feeds/{feed}",name:"en.api.feed",action:"AppHttpControllersApiOnlineFeedController@feed"},{host:null,methods:["GET","HEAD"],uri:"en/api/feeds/{feed}/loadmore",name:"en.api.feed-loadmore",action:"AppHttpControllersApiOnlineFeedController@feedLoadmore"},{host:null,methods:["GET","HEAD"],uri:"en/api/feeds/{feed}/posts/{post}",name:"en.api.feed-post",action:"AppHttpControllersApiOnlineFeedController@feedPost"},{host:null,methods:["GET","HEAD"],uri:"en/api/feeds/{feed}/posts",name:"en.api.feed-posts",action:"AppHttpControllersApiOnlineFeedController@feedPosts"},{host:null,methods:["GET","HEAD"],uri:"en/api/quizzes/{quiz}",name:"en.api.quiz",action:"AppHttpControllersApiQuizController@quiz"},{host:null,methods:["POST"],uri:"en/api/quizzes/{quiz}",name:"en.api.quiz-submit",action:"AppHttpControllersApiQuizController@submit"},{host:null,methods:["POST"],uri:"en/api/quizzes/{quiz}/event",name:"en.api.quiz-event",action:"AppHttpControllersApiQuizController@event"},{host:null,methods:["POST"],uri:"en/api/subscribe",name:"en.api.subscribe",action:"AppHttpControllersApiSubscribeController@postSubscribe"},{host:null,methods:["GET","HEAD"],uri:"en/api/homepage",name:"en.api.homepage",action:"AppHttpControllersApiArticleController@homepage"},{host:null,methods:["GET","HEAD"],uri:"en/api/polls/{poll}",name:"en.api.poll",action:"AppHttpControllersApiPollsController@poll"},{host:null,methods:["POST"],uri:"en/api/polls/{poll}/vote/{pollAnswer}",name:"en.api.poll-answer",action:"AppHttpControllersApiPollsController@vote"},{host:null,methods:["POST"],uri:"en/api/donate",name:"en.api.donate",action:"AppHttpControllersApiDonateController@request"},{host:null,methods:["POST"],uri:"en/api/mistake",name:"en.api.mistake",action:"AppHttpControllersApiMistakesController@mistake"},{host:null,methods:["POST"],uri:"en/api/articles/{articleId}/share",name:"en.api.articles.share-success",action:"AppHttpControllersApiArticleController@share"},{host:null,methods:["POST"],uri:"en/api/articles/{articleId}/view",name:"en.api.articles.view",action:"AppHttpControllersApiArticleController@view"},{host:null,methods:["GET","HEAD"],uri:"en/api/articles/{articleId}/next",name:"en.api.articles.next",action:"AppHttpControllersApiArticleController@next"},{host:null,methods:["GET","HEAD"],uri:"en/api/embeds/batch",name:"en.api.embeds",action:"AppHttpControllersApiEmbedsController@embeds"},{host:null,methods:["GET","HEAD"],uri:"en/api/embeds/{embed}",name:"en.api.embed",action:"AppHttpControllersApiEmbedsController@embed"},{host:null,methods:["GET","HEAD"],uri:"en/api/preview",name:"en.preview",action:"AppHttpControllersApiPreviewController@preview"},{host:null,methods:["GET","HEAD"],uri:"en/api/{type}/loadmore",name:"en.type.loadmore",action:"AppHttpControllersTypesController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"en/api/search/loadmore",name:"en.search.loadmore",action:"AppHttpControllersSearchController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"en/api/promo/loadmore",name:"en.promo.loadmore",action:"AppHttpControllersPromoController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"ru/api/homepage-loadmore",name:"ru.api.homepage-loadmore",action:"AppHttpControllersApiPagesController@homeLoadmore"},{host:null,methods:["GET","HEAD"],uri:"ru/api/feeds/{feed}",name:"ru.api.feed",action:"AppHttpControllersApiOnlineFeedController@feed"},{host:null,methods:["GET","HEAD"],uri:"ru/api/feeds/{feed}/loadmore",name:"ru.api.feed-loadmore",action:"AppHttpControllersApiOnlineFeedController@feedLoadmore"},{host:null,methods:["GET","HEAD"],uri:"ru/api/feeds/{feed}/posts/{post}",name:"ru.api.feed-post",action:"AppHttpControllersApiOnlineFeedController@feedPost"},{host:null,methods:["GET","HEAD"],uri:"ru/api/feeds/{feed}/posts",name:"ru.api.feed-posts",action:"AppHttpControllersApiOnlineFeedController@feedPosts"},{host:null,methods:["GET","HEAD"],uri:"ru/api/quizzes/{quiz}",name:"ru.api.quiz",action:"AppHttpControllersApiQuizController@quiz"},{host:null,methods:["POST"],uri:"ru/api/quizzes/{quiz}",name:"ru.api.quiz-submit",action:"AppHttpControllersApiQuizController@submit"},{host:null,methods:["POST"],uri:"ru/api/quizzes/{quiz}/event",name:"ru.api.quiz-event",action:"AppHttpControllersApiQuizController@event"},{host:null,methods:["POST"],uri:"ru/api/subscribe",name:"ru.api.subscribe",action:"AppHttpControllersApiSubscribeController@postSubscribe"},{host:null,methods:["GET","HEAD"],uri:"ru/api/homepage",name:"ru.api.homepage",action:"AppHttpControllersApiArticleController@homepage"},{host:null,methods:["GET","HEAD"],uri:"ru/api/polls/{poll}",name:"ru.api.poll",action:"AppHttpControllersApiPollsController@poll"},{host:null,methods:["POST"],uri:"ru/api/polls/{poll}/vote/{pollAnswer}",name:"ru.api.poll-answer",action:"AppHttpControllersApiPollsController@vote"},{host:null,methods:["POST"],uri:"ru/api/donate",name:"ru.api.donate",action:"AppHttpControllersApiDonateController@request"},{host:null,methods:["POST"],uri:"ru/api/mistake",name:"ru.api.mistake",action:"AppHttpControllersApiMistakesController@mistake"},{host:null,methods:["POST"],uri:"ru/api/articles/{articleId}/share",name:"ru.api.articles.share-success",action:"AppHttpControllersApiArticleController@share"},{host:null,methods:["POST"],uri:"ru/api/articles/{articleId}/view",name:"ru.api.articles.view",action:"AppHttpControllersApiArticleController@view"},{host:null,methods:["GET","HEAD"],uri:"ru/api/articles/{articleId}/next",name:"ru.api.articles.next",action:"AppHttpControllersApiArticleController@next"},{host:null,methods:["GET","HEAD"],uri:"ru/api/embeds/batch",name:"ru.api.embeds",action:"AppHttpControllersApiEmbedsController@embeds"},{host:null,methods:["GET","HEAD"],uri:"ru/api/embeds/{embed}",name:"ru.api.embed",action:"AppHttpControllersApiEmbedsController@embed"},{host:null,methods:["GET","HEAD"],uri:"ru/api/preview",name:"ru.preview",action:"AppHttpControllersApiPreviewController@preview"},{host:null,methods:["GET","HEAD"],uri:"ru/api/{type}/loadmore",name:"ru.type.loadmore",action:"AppHttpControllersTypesController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"ru/api/search/loadmore",name:"ru.search.loadmore",action:"AppHttpControllersSearchController@loadmore"},{host:null,methods:["GET","HEAD"],uri:"ru/api/promo/loadmore",name:"ru.promo.loadmore",action:"AppHttpControllersPromoController@loadmore"},{host:"babel.ua",methods:["GET","HEAD"],uri:"search",name:"uk.pages.search",action:"AppHttpControllersSearchController@search"},{host:"babel.ua",methods:["GET","HEAD"],uri:"en/search",name:"en.pages.search",action:"AppHttpControllersSearchController@search"},{host:"babel.ua",methods:["GET","HEAD"],uri:"ru/search",name:"ru.pages.search",action:"AppHttpControllersSearchController@search"}],prefix:"",route:function(t,e,n){if(n=n||this.getByName(t))return this.toRoute(n,e)},url:function(t,e){var n=t+"/"+(e=e||[]).join("/");return this.getCorrectUrl(n)},toRoute:function(t,e){var n=this.replaceNamedParameters(t.uri,e),i=this.getRouteQueryString(e);return this.absolute&&this.isOtherHost(t)?"//"+t.host+"/"+n+i:this.getCorrectUrl(n+i)},isOtherHost:function(t){return t.host&&t.host!=window.location.hostname},replaceNamedParameters:function(t,e){return t=(t=t.replace(/\{(.*?)\??\}/g,(function(t,n){if(e.hasOwnProperty(n)){var i=e[n];return delete e[n],i}return t}))).replace(/\/\{.*?\?\}/g,"")},getRouteQueryString:function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n+"="+t[n]);return e.length<1?"":"?"+e.join("&")},getByName:function(t){for(var e in t=window.App.locale+"."+t,this.routes)if(this.routes.hasOwnProperty(e)&&this.routes[e].name===t)return this.routes[e]},getByAction:function(t){for(var e in this.routes)if(this.routes.hasOwnProperty(e)&&this.routes[e].action===t)return this.routes[e]},getCorrectUrl:function(t){var e=this.prefix+"/"+t.replace(/^\/?/,"");return this.absolute?this.rootUrl.replace("//?$/","")+e:e}},e=function(t,e,n){return e=e||t,'<a href="'+t+'" '+(n=function(t){if(!t)return"";var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n+'="'+t[n]+'"');return e.join(" ")}(n))+">"+e+"</a>"};return{action:function(e,n){return n=n||{},t.route(e,n,t.getByAction(e))},route:function(e,n){return n=n||{},t.route(e,n)},url:function(e,n){return n=n||{},t.url(e,n)},link_to:function(t,n,i){return t=this.url(t),e(t,n,i)},link_to_route:function(t,n,i,r){var o=this.route(t,i);return e(o,n,r)},link_to_action:function(t,n,i,r){var o=this.action(t,i);return e(o,n,r)}}}.call(this);void 0===(i=function(){return r}.call(e,n,e,t))||(t.exports=i)}).call(this)},9049:(t,e,n)=>{"use strict";var i=n(7185),r=n(2207),o=n.n(r);const s=function(t){t.addEventListener("click",(function(e){e.preventDefault();var n=document.querySelector(t.dataset.copy);if(n){!function(t){var e=document.createElement("textarea");
2e.setAttribute("style","width:1px;border:0;opacity:0;"),document.body.appendChild(e),e.value=t,e.select(),document.execCommand("copy"),document.body.removeChild(e)}(n.innerHTML);var i=t.parentNode.querySelector("[data-message]");i&&(i.style.opacity=1,setTimeout((function(){i.style.opacity=0}),3e3))}}))},a={methods:{show:function(){this.isVisible=!0,document.body.style.overflow="hidden",this.$nextTick((function(){this.copyEls=this.$el.querySelectorAll("[data-copy]"),this.copyEls.forEach((function(t){s(t)}))}))},hide:function(){this.isVisible=!1,document.body.style.overflow="auto",this.$emit("input",!1)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){t.value&&27==e.keyCode&&t.hide()})),document.addEventListener("click",(function(e){t.value&&e.target.classList.contains("c-modal-active")&&t.hide()}))},watch:{value:{handler:function(t){t&&this.show()},immediate:!0}},props:{value:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}}};var l=n(5072),c=n.n(l),u=n(6442),p={insert:"head",singleton:!1};c()(u.A,p);u.A.locals;var d=n(4486);const h=(0,d.A)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.isVisible?n("div",{staticClass:"c-modal-box c-modal-card c-modal-active",attrs:{tabindex:"-1",role:"dialog","aria-labelledby":"mCryptoLabel"}},[n("div",{staticClass:"c-modal",attrs:{role:"dialog"}},[n("button",{staticClass:"c-modal-close",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[t._v(t._s(t._t("ÐакÑиÑи")))]),t._v(" "),n("h4",{attrs:{id:"mCryptoLabel"}},[t._v("\n "+t._s(t._t("ÐеÑеказ Ñ ÐºÑипÑовалÑÑÑ"))+"\n ")]),t._v(" "),n("dl",{staticClass:"c-payment-dl"},[n("dt",{attrs:{"data-copy":"#donate-bitcoin"}},[t._v("Bitcoin: ")]),t._v(" "),n("dd",{attrs:{"data-copy":"#donate-bitcoin"}},[n("span",{attrs:{id:"donate-bitcoin"}},[t._v("bc1q559qe6326jhpskmdv38vr72hlgyat28elzfn22 ")]),t._v(" "),n("button",{staticClass:"c-payment-dl__btn",attrs:{type:"button","aria-label":t._t("ÐопÑÑваÑи")}}),t._v(" "),n("div",{staticClass:"c-payment-dl__msg",attrs:{"data-message":""}},[t._v(t._s(t._t("СкопÑйовано"))+": Bitcoin")])])]),t._v(" "),n("dl",{staticClass:"c-payment-dl"},[n("dt",{attrs:{"data-copy":"#donate-eth"}},[t._v("Ethereum: ")]),t._v(" "),n("dd",{attrs:{"data-copy":"#donate-eth"}},[n("span",{attrs:{id:"donate-eth"}},[t._v("0x0AC4fAedb0567910aB776BEE821673C531b0d0e3 ")]),t._v(" "),n("button",{staticClass:"c-payment-dl__btn",attrs:{type:"button","aria-label":t._t("ÐопÑÑваÑи")}}),t._v(" "),n("div",{staticClass:"c-payment-dl__msg",attrs:{"data-message":""}},[t._v(t._s(t._t("СкопÑйовано"))+": Ethereum")])])]),t._v(" "),n("dl",{staticClass:"c-payment-dl"},[n("dt",{attrs:{"data-copy":"#donate-tether"}},[t._v("Tether: ")]),t._v(" "),n("dd",{attrs:{"data-copy":"#donate-tether"}},[n("span",{attrs:{id:"donate-tether"}},[t._v("0x93ff8359d31a11698cf77249306be7851537f644 ")]),t._v(" "),n("button",{staticClass:"c-payment-dl__btn",attrs:{type:"button","aria-label":t._t("ÐопÑÑваÑи")}}),t._v(" "),n("div",{staticClass:"c-payment-dl__msg",attrs:{"data-message":""}},[t._v(t._s(t._t("СкопÑйовано"))+": Tether")])])])])]):t._e()])}),[],!1,null,null,null).exports;const f={methods:{show:function(){this.isVisible=!0,document.body.style.overflow="hidden"},hide:function(){this.isVisible=!1,document.body.style.overflow="auto",this.$emit("input",!1)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){t.value&&27==e.keyCode&&t.hide()})),document.addEventListener("click",(function(e){t.value&&e.target.classList.contains("c-modal-active")&&t.hide()}))},watch:{value:{handler:function(t){t&&this.show()},immediate:!0}},props:{value:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}}};var m=n(6633),v={insert:"head",singleton:!1};c()(m.A,v);m.A.locals;const _=(0,d.A)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.isVisible?n("div",{staticClass:"c-modal-box c-modal-card c-modal-active",attrs:{tabindex:"-1",role:"dialog","aria-labelledby":"mSuccessLabel"}},[n("div",{staticClass:"c-modal",attrs:{role:"dialog"}},[n("button",{staticClass:"c-modal-close",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[t._v(t._s(t._t("ÐакÑиÑи")))]),t._v(" "),n("h4",{attrs:{id:"mSuccessLabel"}},[t._v("\n "+t._s(t._t("ÐÑкÑÑмо, Ñо пÑдÑÑимали «ÐабелÑ»!"))+"\n ")])])]):t._e()])}),[],!1,null,null,null).exports;const y={methods:{show:function(){this.isVisible=!0,document.body.style.overflow="hidden",this.$nextTick((function(){this.copyEls=this.$el.querySelectorAll("[data-copy]"),this.copyEls.forEac
2h((function(t){s(t)}))}))},hide:function(){this.isVisible=!1,document.body.style.overflow="auto",this.$emit("input",!1)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){t.value&&27==e.keyCode&&t.hide()})),document.addEventListener("click",(function(e){t.value&&e.target.classList.contains("c-modal-active")&&t.hide()}))},watch:{value:{handler:function(t){t&&this.show()},immediate:!0}},props:{value:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}}};var b=n(9687),g={insert:"head",singleton:!1};c()(b.A,g);b.A.locals;const C=(0,d.A)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.isVisible?n("div",{staticClass:"c-modal-box c-modal-card c-modal-active",attrs:{tabindex:"-1",role:"dialog","aria-labelledby":"mPayPalLabel"}},[n("div",{staticClass:"c-modal",attrs:{role:"dialog"}},[n("button",{staticClass:"c-modal-close",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[t._v(t._s(t._t("ÐакÑиÑи")))]),t._v(" "),n("h4",{attrs:{id:"mPayPalLabel"}},[t._v("\n "+t._s(t._t("ÐеÑеказ Ñ PayPal"))+"\n ")]),t._v(" "),n("dl",{staticClass:"c-payment-dl"},[n("dt",{attrs:{"data-copy":"#donate-paypal"}},[t._v(t._s(t._t("ÐÑиймаÑмо донаÑи ÑÑди:")))]),t._v(" "),n("dd",{attrs:{"data-copy":"#donate-paypal"}},[n("span",{attrs:{id:"donate-paypal"}},[t._v("[email protected]")]),t._v(" "),n("button",{staticClass:"c-payment-dl__btn",attrs:{type:"button","aria-label":t._t("ÐопÑÑваÑи")}}),t._v(" "),n("div",{staticClass:"c-payment-dl__msg",attrs:{"data-message":""}},[t._v(t._s(t._t("СкопÑйовано"))+": PayPal")])])])])]):t._e()])}),[],!1,null,null,null).exports;var w=n(8996),A=n(5980),T=n.n(A);const E={props:{variant:{type:Object,required:!0},send:{type:Function,required:!0},isSending:{type:Boolean,required:!0}},data:function(){return{donateSum:null}}};const S=(0,d.A)(E,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-article__main"},[n("h3",{staticClass:"c-article__main-title text-center"},[t._v(t._s(t.variant.description))]),t._v(" "),n("form",{staticClass:"c-article__form",attrs:{action:""}},[n("div",{staticClass:"c-radio__list"},t._l(t.variant.items,(function(e){return n("label",{key:e.amount,staticClass:"f-radio"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],attrs:{type:"radio",name:"donateSum"},domProps:{value:e.amount,checked:t._q(t.donateSum,e.amount)},on:{change:function(n){t.donateSum=e.amount}}}),t._v(" "),n("span",{staticClass:"f-radio__label"},[n("span",{staticClass:"f-radio__label--lg"},[t._v(t._s(e.amount)+" "+t._s(e.currency.short_title))])])])})),0),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],staticClass:"f-control f-control--bold",attrs:{type:"number",min:"1",placeholder:t._t("ÐнÑа ÑÑма")},domProps:{value:t.donateSum},on:{input:function(e){e.target.composing||(t.donateSum=e.target.value)}}}),t._v(" "),n("button",{staticClass:"f-btn",attrs:{type:"submit",disabled:!t.donateSum||t.isSending},on:{click:function(e){return e.preventDefault(),t.send(t.donateSum,t.variant.type)}}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))])])])}),[],!1,null,null,null).exports;var k=n(5906);const x={props:{variant:{type:Object,required:!0},send:{type:Function,required:!0},isSending:{type:Boolean,required:!0}},mounted:function(){(0,i.Mg)(this.$el,k.A)}};function H(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}const P={data:function(){return{donations:window.donations,activeTab:"monthly",activeVariant:window.donations[0],showCrypto:!1,showSuccess:!1,showPaypal:!1,showDonate:!1,donateSum:null,isSending:!1}},methods:{setActiveVariant:function(t){this.activeVariant=t,this.activeTab=t.type},send:function(t,e){var n,i=this;return(n=o().mark((function n(){var r,s;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!i.isSending){n.next=2;break}return n.abrupt("return");case 2:return r=T().route("api.donate"),i.isSending=!0,n.prev=4,n.next=7,w.A.post(r,{amount:t,type:e});case 7:(s=n.sent).data.redirect_url&&(window.location.href=s.data.redirect_url),setTimeout((function(){i.isSending=!1})),n.next=16;break;case 12:n.prev=12,n.t0=n.catch(4),console.error(n.t0),i.isSending=!1;case 16:case"end":return n.stop()}}),n,null,[[4,12]])})),function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function s(t){H(o,i,r,s,a,"next",t)}function a(t){H(o,i,r,s,a,"throw",t)}s(void 0)}))})()}},mounted:function(){var t=this;"#paypal"===window.location.hash&&(this.showPaypal=!0),"#crypto"===window.location.hash&&(this.showCrypto=!0),setTimeout((function(){t.$el.querySelectorAll("button").forEach((function(e){e.addEventListener("click",(function(){e.dataset.amount&&e.dataset.type&&t.send(e.dataset.amount,e.dataset.type)}))}))}),1500)},components:{CryptoModal:h,SuccessModal:_,PaypalModal:C,SingleDonation:S,SubscribeDonation:(0,d.A)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"js-slider c-article__cards",attrs:{"data-size":"1"}},[n("div",{staticClass:"c-article__cards-inner"},[n("ul",{staticClass:"c-article__cards-track js-track"},t._l(t.variant.items,(function(e,i){return n("li",{key:"monthSubscription"+i,staticClass:"is-visible js-slide"},[n("div",{staticClass:"c-article__card"},[1===i?n("span",{staticClass:"c-article__card-tag"},[t._v(t._s(t._t("ÐибÑÑ ÑиÑаÑÑв")))]):t._e(),t._v(" "),n("h4",{staticClass:"c-article__card-title"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"c-article__card-price"},[t._v(t._s(e.amount)+" "+t._s(e.currency.short_title)),n("small",[t._v(" / "+t._s(t.variant.subscription_payment_period_title))])]),t._v(" "),n("button",{staticClass:"f-btn f-btn--outline",attrs:{type:"button","data-amount":e.amount,"data-type":t.variant.type,disabled:t.isSending},on:{click:function(n){return n.preventDefault(),t.send(e.amount,t.variant.type)}}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))]),t._v(" "),n("p",{staticClass:"c-article__card-text"},[t._v(t._s(t._t("ÐÑкÑÑмо, Ñо ви поÑÑÑ Ñ пÑдÑÑимÑÑÑе Ð½ÐµÐ·Ð°Ð»ÐµÐ¶Ð½Ñ ÑкÑаÑнÑÑÐºÑ Ð¶ÑÑналÑÑÑикÑ. Ðез пÑÑÐ¼Ð¾Ñ ÑÑнанÑÐ¾Ð²Ð¾Ñ Ð¿ÑдÑÑимки ÑиÑаÑÑв ÑедакÑÑÑ Ð½ÐµÂ Ð¼Ð¾Ð¶ÑÑÑ ÑÑнÑваÑи â оÑобливо коли вони оÑÑÑнÑÐ¾Ð²Ð°Ð½Ñ Ð½Ð°Â ÑкÑÑÑÑ. Як-Ð¾Ñ Ð¼Ð¸.")))]),t._v(" "),n("ul",{staticClass:"c-article__card-props"},t._l(e.props,(function(e,r){return n("li",{key:"prop"+i+r},[t._v(t._s(e))])})),0)])])})),0)])])}),[],!1,null,null,null).exports}};const D=(0,d.A)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-article c-article__box"},[n("h1",{staticClass:"sr-only"},[t._v(t._s(t._t("ÐÑдÑÑимка")))]),t._v(" "),n("section",{staticClass:"c-article__section"},[n("header",{staticClass:"c-article__head"},[n("h2",{staticClass:"c-article__title"},[n("b",[t._v(t._s(t._t("ÐÑй Ð´Ð¾Ð½Ð°Ñ Â«ÐабелÑ»")))])]),t._v(" "),n("ul",{staticClass:"c-tabs__nav"},t._l(t.donations,(function(e,i){return n("li",{key:"donateTab"+i}
2,[n("button",{staticClass:"f-btn f-btn--outline",class:{"is-active":e.type===t.activeTab},on:{click:function(n){t.activeTab=e.type}}},[t._v(t._s(e.title))])])})),0)]),t._v(" "),t._l(t.donations,(function(e,i){return[n("div",{directives:[{name:"show",rawName:"v-show",value:t.activeTab===e.type&&!1===e.is_subscription,expression:"activeTab === variant.type && variant.is_subscription === false"}],staticClass:"c-tabs__panel"},[n("SingleDonation",{attrs:{variant:e,send:t.send,isSending:t.isSending}})],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.activeTab===e.type&&e.is_subscription,expression:"activeTab === variant.type && variant.is_subscription"}]},[n("SubscribeDonation",{attrs:{variant:e,send:t.send,isSending:t.isSending}})],1)]})),t._v(" "),n("div",{staticClass:"c-article__promp"},[n("p",[t._v(t._s(t._t("ÐдÑйÑнÑÑÑи плаÑÑж, ви погоджÑÑÑеÑÑ"))+" "),n("a",{attrs:{href:"/offert.pdf",target:"_blank"}},[t._v(t._s(t._t("з пÑавилами оплаÑи")))])]),t._v(" "),n("br")])],2),t._v(" "),n("section",{staticClass:"c-article__section"},[n("p",[t._v(t._s(t._t("«ÐабелÑ» Ñакож пÑÐ¸Ð¹Ð¼Ð°Ñ Ð´Ð¾Ð½Ð°Ñи ÑеÑез"))+"\n "),n("a",{attrs:{href:"#paypal"},on:{click:function(e){e.preventDefault(),t.showPaypal=!0}}},[t._v("PayPal")]),t._v("\n "+t._s(t._t("Ñа"))+" "),n("a",{attrs:{href:"#crypto"},on:{click:function(e){e.preventDefault(),t.showCrypto=!0}}},[t._v(t._s(t._t("Ñ ÐºÑипÑовалÑÑÑ")))])])]),t._v(" "),n("section",{staticClass:"c-article__section"},[n("h2",[t._v(t._s(t._t("ХоÑеÑе вÑдпиÑаÑиÑÑ Ð²Ñд донаÑÑв?")))]),t._v(" "),n("p",[t._v(t._s(t._t("ÐÑоÑÑо напиÑÑÑÑ Ð½Ð°Ð¼ на"))+" [email protected] "+t._s(t._t("з помÑÑÐºÐ¾Ñ Â«ÐÑдпиÑка»"))+". "),n("br",{staticClass:"d-none d-lg-block"}),t._v(t._s(t._t("Ðи вÑе зÑобимо ÑÐ°Ð¼Ñ Ñ Ð½Ð°Ð´ÑÑлемо лиÑÑ Ð· пÑдÑвеÑдженнÑм"))+".")])]),t._v(" "),n("CryptoModal",{model:{value:t.showCrypto,callback:function(e){t.showCrypto=e},expression:"showCrypto"}}),t._v(" "),n("SuccessModal",{model:{value:t.showSuccess,callback:function(e){t.showSuccess=e},expression:"showSuccess"}}),t._v(" "),n("PaypalModal",{model:{value:t.showPaypal,callback:function(e){t.showPaypal=e},expression:"showPaypal"}})],1)}),[],!1,null,null,null).exports;const L={methods:{show:function(){this.isVisible=!0,document.body.style.overflow="hidden"},hide:function(){this.isVisible=!1,document.body.style.overflow="auto",this.$emit("input",!1)},send:function(){console.log("send")}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){t.value&&27==e.keyCode&&t.hide()})),document.addEventListener("click",(function(e){t.value&&e.target.classList.contains("c-modal-active")&&t.hide()}))},watch:{value:{handler:function(t){t&&this.show()},immediate:!0}},props:{value:{type:Boolean,default:!1},sum:{type:Number|String,default:null}},data:function(){return{isSending:!1,isVisible:!1}}};var O=n(6744),z={insert:"head",singleton:!1};c()(O.A,z);O.A.locals;const $={data:function(){return{activeTab:0,showCrypto:!1,showSuccess:!1,showPaypal:!1,showDonate:!1,donateSum:null,types:[{title:this._t("Разово")},{title:this._t("ЩомÑÑÑÑÑ")},{title:this._t("ЩоÑокÑ")}],monthSubscriptions:[{title:this._t("Supporter"),price:"5$"},{title:this._t("Fan"),price:"10$",tag:this._t("ÐибÑÑ ÑиÑаÑÑв")},{title:this._t("Patron"),price:"25$"}],yearSubscriptions:[{title:this._t("Supporter"),price:"5$"},{title:this._t("Fan"),price:"10$",tag:this._t("ÐибÑÑ ÑиÑаÑÑв")},{title:this._t("Patron"),price:"25$"}]}},components:{CryptoModal:h,SuccessModal:_,PaypalModal:C,DonateModal:(0,d.A)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.isVisible?n("div",{staticClass:"c-modal-box c-modal-card c-modal-active",attrs:{tabindex:"-1",role:"dialog","aria-labelledby":"mDonateLabel"}},[n("div",{staticClass:"c-modal",attrs:{role:"document"}},[n("button",{staticClass:"c-modal-close",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[t._v(t._s(t._t("ÐакÑиÑи")))]),t._v(" "),n("h3",{attrs:{id:"mDonateLabel"}},[t._v("\n "+t._s(t._t("Разовий донаÑ"))+"\n ")]),t._v(" "),t.sum?n("h4",[t._v(t._s(t.sum)+"$")]):t._e(),t._v(" "),n("form",{on:{submit:function(e){return e.preventDefault(),t.send.apply(null,arguments)}}},[n("div",{staticClass:"f-group"},[n("input",{staticClass:"f-control f-control--bold",attrs:{type:"text",id:"donateModalFormName",name:"name",placeholder:t._t("ÐмʼÑ")}})]),t._v(" "),n("div",{staticClass:"f-group"},[n("input",{staticClass:"f-control f-control--bold",attrs:{type:"text",id:"donateModalFormEmail",n
2ame:"email",placeholder:t._t("Email")}})]),t._v(" "),n("button",{ref:"button",staticClass:"f-btn f-btn--primary",attrs:{type:"submit",disabled:t.isSending},on:{click:function(e){return e.preventDefault(),t.send.apply(null,arguments)}}},[t.isSending?[t._v("\n "+t._s(t._t("ÐадÑилаÑмоâ¦"))+"\n ")]:[t._v("\n "+t._s(t._t("ÐÑдÑÑимаÑи"))+"\n ")]],2),t._v(" "),n("div",{staticClass:"c-article__promp"},[n("p",[t._v(t._s(t._t("ÐдÑйÑнÑÑÑи плаÑÑж, ви погоджÑÑÑеÑÑ"))+" "),n("a",{attrs:{href:"#"}},[t._v(t._s(t._t("з пÑавилами оплаÑи")))])])])])])]):t._e()])}),[],!1,null,null,null).exports}};const q=(0,d.A)($,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-article c-article__box"},[n("h1",{staticClass:"sr-only"},[t._v(t._s(t._t("ÐÑдÑÑимка")))]),t._v(" "),n("section",{staticClass:"c-article__section"},[n("header",{staticClass:"c-article__head"},[n("h2",{staticClass:"c-article__title"},[n("b",[t._v(t._s(t._t("ÐÑй Ð´Ð¾Ð½Ð°Ñ Â«ÐабелÑ»")))])]),t._v(" "),n("ul",{staticClass:"c-tabs__nav"},t._l(t.types,(function(e,i){return n("li",{key:"donateTab"+i},[n("button",{staticClass:"f-btn f-btn--outline",class:{"is-active":i===t.activeTab},on:{click:function(e){t.activeTab=i}}},[t._v(t._s(e.title))])])})),0)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.activeTab,expression:"activeTab === 0"}],staticClass:"c-tabs__panel"},[n("div",{staticClass:"c-article__main"},[n("h3",{staticClass:"text-center c-article__main-title"},[t._v(t._s(t._t("ÐÑдÑÑимаÑи один Ñаз")))]),t._v(" "),n("form",{staticClass:"c-article__form",attrs:{action:""}},[n("div",{staticClass:"c-radio__list"},t._l([5,25,50,100,250,500],(function(e){return n("label",{key:e,staticClass:"f-radio"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],attrs:{type:"radio",name:"donateSum"},domProps:{value:e,checked:t._q(t.donateSum,e)},on:{change:function(n){t.donateSum=e}}}),t._v(" "),n("span",{staticClass:"f-radio__label"},[n("span",{staticClass:"f-radio__label--lg"},[t._v(t._s(e)+"$")])])])})),0),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],staticClass:"f-control f-control--bold",attrs:{type:"number",min:"1",placeholder:t._t("ÐнÑа ÑÑма")},domProps:{value:t.donateSum},on:{input:function(e){e.target.composing||(t.donateSum=e.target.value)}}}),t._v(" "),n("button",{staticClass:"f-btn",attrs:{type:"submit",disabled:!t.donateSum},on:{click:function(e){e.preventDefault(),t.showDonate=!0}}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))])])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===t.activeTab,expression:"activeTab === 1"}]},[n("div",{staticClass:"js-slider c-article__cards",attrs:{"data-size":"1"}},[n("div",{staticClass:"c-article__cards-inner"},[n("ul",{staticClass:"c-article__cards-track js-track"},t._l(t.monthSubscriptions,(function(e,i){return n("li",{key:"monthSubscription"+i,staticClass:"is-visible js-slide"},[n("div",{staticClass:"c-article__card"},[e.tag?n("span",{staticClass:"c-article__card-tag"},[t._v(t._s(e.tag))]):t._e(),t._v(" "),n("h4",{staticClass:"c-article__card-title"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"c-article__card-price"},[t._v(t._s(e.price)+" "),n("small",[t._v("/ "+t._s(t._t("на мÑÑÑÑÑ")))])]),t._v(" "),n("a",{staticClass:"f-btn f-btn--outline",attrs:{href:"#"}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))]),t._v(" "),n("p",{staticClass:"c-article__card-text"},[t._v(t._s(t._t("ÐÑкÑÑмо, Ñо ви поÑÑÑ Ñ пÑдÑÑимÑÑÑе Ð½ÐµÐ·Ð°Ð»ÐµÐ¶Ð½Ñ ÑкÑаÑнÑÑÐºÑ Ð¶ÑÑналÑÑÑикÑ. Ðез пÑÑÐ¼Ð¾Ñ ÑÑнанÑÐ¾Ð²Ð¾Ñ Ð¿ÑдÑÑимки ÑиÑаÑÑв ÑедакÑÑÑ Ð½ÐµÂ Ð¼Ð¾Ð¶ÑÑÑ ÑÑнÑваÑи â оÑобливо коли вони оÑÑÑнÑÐ¾Ð²Ð°Ð½Ñ Ð½Ð°Â ÑкÑÑÑÑ. Як-Ð¾Ñ Ð¼Ð¸.")))]),t._v(" "),e.benefits&&e.benefits.length>0?n("ul",{staticClass:"c-article__card-props"},t._l(e.benefits,(function(e,r){return n("li",{key:"monthBenefits"+i+r},[t._v(t._s(e))])})),0):t._e()])])})),0)])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2===t.activeTab,expression:"activeTab === 2"}]},[n("div",{staticClass:"js-slider c-article__cards",attrs:{"data-size":"1"}},[n("div",{staticClass:"c-article__cards-inner"},[n("ul",{staticClass:"c-article__cards-track js-track"},t._l(t.yearSubscriptions,(function(e,i){return n("li",{key:"yearSubscription"+i,staticClass:"is-visible js-slide"},[n("div",{staticClass:"c-article__card"},[e.tag?n("span",{staticClass:"c-article__card-tag"},[t._v(t._s(e.tag))]):t._e(),t._v(" "),n("h4",{staticClass:"c-article__card-title"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"c-article__card-price"},[t._v(t._s(e.price)+" "),n("small",[t._v("/ "+t._s(t._t("на ÑÑк")))])]),t._v(" "),n("a",{staticClass:"f-btn f-btn--outline",attrs:{href:"#"}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))]),t._v(" "),n("p",{staticClass:"c-article__card-text"},[t._v(t._s(t._t("ÐÑкÑÑмо, Ñо ви поÑÑÑ Ñ пÑдÑÑимÑÑÑе Ð½ÐµÐ·Ð°Ð»ÐµÐ¶Ð½Ñ ÑкÑаÑнÑÑÐºÑ Ð¶ÑÑналÑÑÑикÑ. Ðез пÑÑÐ¼Ð¾Ñ ÑÑнанÑÐ¾Ð²Ð¾Ñ Ð¿ÑдÑÑимки ÑиÑаÑÑв ÑедакÑÑÑ Ð½ÐµÂ Ð¼Ð¾Ð¶ÑÑÑ ÑÑнÑваÑи â оÑобливо коли вони оÑÑÑнÑÐ¾Ð²Ð°Ð½Ñ Ð½Ð°Â ÑкÑÑÑÑ. Як-оÑ ми.")))]),t._v(" "),e.benefits&&e.benefits.length>0?n("ul",{staticClass:"c-article__card-props"},t._l(e.benefits,(function(e,r){return n("li",{key:"yearBenefits"+i+r},[t._v(t._s(e))])})),0):t._e()])])})),0)])])]),t._v(" "),n("div",{staticClass:"c-article__promp"},[n("p",[t._v(t._s(t._t("ÐдÑйÑнÑÑÑи плаÑÑж, ви погоджÑÑÑеÑÑ"))+" "),n("a",{attrs:{href:"#"}},[t._v(t._s(t._t("з пÑавилами оплаÑи")))])])])]),t._v(" "),n("section",{staticClass:"c-article__section"},[n("p",[t._v(t._s(t._t("«ÐабелÑ» Ñакож пÑÐ¸Ð¹Ð¼Ð°Ñ ÑÐ°Ð·Ð¾Ð²Ñ Ð´Ð¾Ð½Ð°Ñи ÑеÑез"))+" "),n("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showPaypal=!0}}},[t._v("PayPal")]),t._v(", "),n("a",{attrs:{href:"#"}},[t._v("Buy Me a Coffee")]),t._v(" "+t._s(t._t("Ñа"))+" "),n("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showCrypto=!0}}},[t._v(t._s(t._t("Ñ ÐºÑипÑовалÑÑÑ")))])])]),t._v(" "),n("section",{staticClass:"c-article__section"},[n("h2",[t._v(t._s(t._t("ХоÑеÑе вÑдпиÑаÑиÑÑ Ð²Ñд донаÑÑв?")))]),t._v(" "),n("p",[t._v(t._s(t._t("ÐÑоÑÑо напиÑÑÑÑ Ð½Ð°Ð¼ на [email protected] з помÑÑÐºÐ¾Ñ Â«ÐÑдпиÑка»."))+" "),n("br",{staticClass:"d-none d-lg-block"}),t._v(t._s(t._t("Ðи вÑе зÑобимо ÑÐ°Ð¼Ñ Ñ Ð½Ð°Ð´ÑÑлемо лиÑÑ Ð· пÑдÑвеÑдженнÑм.")))])]),t._v(" "),n("CryptoModal",{model:{value:t.showCrypto,callback:function(e){t.showCrypto=e},expression:"showCrypto"}}),t._v(" "),n("SuccessModal",{model:{value:t.showSuccess,callback:function(e){t.showSuccess=e},expression:"showSuccess"}}),t._v(" "),n("PaypalModal",{model:{value:t.showPaypal,callback:function(e){t.showPaypal=e},expression:"showPaypal"}}),t._v(" "),n("DonateModal",{attrs:{sum:t.donateSum},model:{value:t.showDonate,callback:function(e){t.showDonate=e},expression:"showDonate"}})],1)}),[],!1,null,null,null).exports;function I(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}const M={computed:{amount:function(){return this.donateSum}
2,type:function(){return this.types[this.activeTab].type}},methods:{send:function(){var t,e=this;return(t=o().mark((function t(){var n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isSending){t.next=2;break}return t.abrupt("return");case 2:return n=T().route("api.donate"),e.isSending=!0,t.prev=4,t.next=7,w.A.post(n,{amount:e.amount,type:e.type});case 7:(i=t.sent).data.redirect_url&&(window.location.href=i.data.redirect_url),setTimeout((function(){e.isSending=!1})),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(4),console.error(t.t0),e.isSending=!1;case 16:case"end":return t.stop()}}),t,null,[[4,12]])})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){I(o,i,r,s,a,"next",t)}function a(t){I(o,i,r,s,a,"throw",t)}s(void 0)}))})()}},data:function(){return{isSending:!1,activeTab:1,donateSum:null,types:[{type:"single",title:this._t("Разово")},{type:"monthly",title:this._t("ЩомÑÑÑÑÑ")}]}}};const N=(0,d.A)(M,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{staticClass:"c-donates-widget js-donate-widget"},[n("div",{staticClass:"c-donates-widget__header"},[n("p",[t._v(t._s(t._t("«ÐабелÑ» поÑÑÑбна ваÑа пÑдÑÑимка")))])]),t._v(" "),n("div",{staticClass:"c-donates-widget__body"},[n("p",{staticClass:"c-donates-widget__text"},[t._v(t._s(t._t("У ÑедакÑÑÑ Â«ÐабелÑ» пÑаÑÑÑ Ð¿Ð¾Ð½Ð°Ð´ два деÑÑÑки лÑдей. Це не дÑже велика ÑедакÑÑÑ, але й не ÑÑаÑÑап. Ðи оновлÑÑмо ÑайÑ, ÑÑÑб, ÑелегÑам-канал Ñа ÑÑкÑок. Ðи ÑвÑдомо вÑдмовилиÑÑ Ð²Ñд найпÑоÑÑÑÑиÑ
ÑпоÑобÑв заÑобиÑи (напÑиклад, вÑд Ñеклами онлайн-казино). «ÐабелÑ» ÑÑнÑÑ Ð½Ð°Â Ð³ÑанÑи й донаÑи ÑиÑаÑÑв. Ðи Ñ
оÑемо менÑе покладаÑиÑÑ Ð½Ð°Â Ð³ÑанÑодавÑÑв Ñ бÑлÑÑе â на ваÑÑ Ð¿ÑдÑÑимкÑ. Так ми зможемо ÑÑокÑÑÑваÑиÑÑ Ð½Ð°Â Ð·Ð¾Ð±Ð¾Ð²âÑзаннÑÑ
пеÑед вами: пÑедÑÑавлÑÑи Ð¿Ð¾Ð²Ð½Ñ Ð¹Â Ð¾Ð±âÑкÑÐ¸Ð²Ð½Ñ Ð½Ð¾Ð²Ð¸Ð½Ð½Ñ ÐºÐ°ÑÑÐ¸Ð½Ñ Ð´Ð½Ñ.")))]),t._v(" "),n("ul",{staticClass:"c-tabs__nav"},t._l(t.types,(function(e,i){return n("li",{key:"donateTab"+i},[n("button",{staticClass:"f-btn f-btn--outline",class:{"is-active":i===t.activeTab},on:{click:function(e){t.activeTab=i}}},[t._v(t._s(e.title))])])})),0),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.activeTab,expression:"activeTab === 0"}]},[n("form",{staticClass:"c-donates-widget__form",on:{submit:function(e){return e.preventDefault(),t.send.apply(null,arguments)}}},[n("div",{staticClass:"c-radio__list"},t._l([250,500,1e3],(function(e){return n("label",{key:e,staticClass:"f-radio"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],attrs:{type:"radio",name:"donateSum"},domProps:{value:e,checked:t._q(t.donateSum,e)},on:{change:function(n){t.donateSum=e}}}),t._v(" "),n("span",{staticClass:"f-radio__label"},[n("span",{staticClass:"f-radio__label--lg"},[t._v(t._s(e)+" "+t._s(t._t("гÑн")))])])])})),0),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],staticClass:"f-control f-control--bold",attrs:{type:"number",min:"1",placeholder:t._t("ÐнÑа ÑÑма")},domProps:{value:t.donateSum},on:{input:function(e){e.target.composing||(t.donateSum=e.target.value)}}}),t._v(" "),n("button",{staticClass:"f-btn",attrs:{type:"submit",disabled:!t.donateSum}},[t._v(t._s(t._t("ÐÑдÑÑимаÑи")))])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===t.activeTab,expression:"activeTab === 1"}]},[n("form",{staticClass:"c-donates-widget__form",on:{submit:function(e){return e.preventDefault(),t.send.apply(null,arguments)}}},[n("div",{staticClass:"c-radio__list"},t._l([250,500,1e3],(function(e){return n("label",{key:e,staticClass:"f-radio"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],attrs:{type:"radio",name:"donateSum"},domProps:{value:e,checked:t._q(t.donateSum,e)},on:{change:function(n){t.donateSum=e}}}),t._v(" "),n("span",{staticClass:"f-radio__label"},[n("span",{staticClass:"f-radio__label--lg"},[t._v(t._s(e)+" "+t._s(t._t("гÑн")))])])])})),0),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.donateSum,expression:"donateSum"}],staticClass:"f-control f-control--bold",attrs:{type:"number",min:"1",placeholder:t._t("ÐнÑа ÑÑма")},domProps:{value:t.donateSum},on:{input:function(e){e.target.composing||(t.donateSum=e.target.value)}}}),t._v(" "),n("button",{staticClass:"f-btn",attrs:{type:"submit",disabled:!t.donateSum||t.isSending}},[t._v(t._s(t._t("ÐонаÑ")))])])])])])}),[],!1,null,null,null).exports;document.querySelectorAll("[data-copy]").forEach((function(t){s(t)})),(0,i.Mg)(".js-donate",D),(0,i.Mg)(".js-donate-new",q),(0,i.Mg)(".js-donate-widget",N)},6442:(t,e,n)=>{"use strict";n.d(e,{A:()=>
2o});var i=n(6314),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".fade-enter-active,.fade-leave-active{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-enter,.fade-leave-to{opacity:0}",""]);const o=r},6744:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6314),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".fade-enter-active,.fade-leave-active{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-enter,.fade-leave-to{opacity:0}",""]);const o=r},9687:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6314),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".fade-enter-active,.fade-leave-active{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-enter,.fade-leave-to{opacity:0}",""]);const o=r},6633:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6314),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".fade-enter-active,.fade-leave-active{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-enter,.fade-leave-to{opacity:0}",""]);const o=r},6314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(r[s]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);i&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},7168:(t,e,n)=>{var i;!function(r,o,s,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=o.createElement("div"),p="function",d=Math.round,h=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(w(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(_(t,n[e],n),!0)}function _(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function y(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var b=y((function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===a)&&(t[i[r]]=e[i[r]]),r++;return t}),"extend","Use `assign`."),g=y((function(t,e){return b(t,e,!0)}),"merge","Use `assign`.");function C(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&l(i,n)}function w(t,e){return function(){return t.apply(e,arguments)}}function A(t,e){return typeof t==p?t.apply(e&&e[0]||a,e):t}function T(t,e){return t===a?e:t}function E(t,e,n){_(H(e),(function(e){t.addEventListener(e,n,!1)}))}function S(t,e,n){_(H(e),(function(e){t.removeEventListener(e,n,!1)}))}function k(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function x(t,e){return t.indexOf(e)>-1}function H(t){return t.trim().split(/\s+/g)}function P(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function D(t){return Array.prototype.slice.call(t,0)}function L(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];P(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function O(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<c.length;){if((i=(n=c[o])?n+r:e)in t)return i;o++}return a}var z=1;function $(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var q="ontouchstart"in r,I=O(r,"PointerEvent")!==a,M=q&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),N="touch",j="mouse",G=25,F=1,R=4,X=8,V=1,B=2,W=4,Y=8,U=16,Q=B|W,Z=Y|U,J=Q|Z,K=["x","y"],tt=["clientX","clientY"];function et(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){A(t.options.enable,[t])&&n.handler(e)},this.init()}function nt(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&F&&i-r==0,s=e&(R|X)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=it(e));r>1&&!n.firstMultiple?n.firstMultiple=it(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,l=s?s.center:o.center,c=e.center=rt(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=lt(l,c),e.distance=at(l,c),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==F&&o.eventType!==R||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=st(e.deltaX,e.deltaY);var u=ot(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,e.scale=s?(p=s.pointers,d=i,at(d[0],d[1],tt)/at(p[0],p[1],tt)):1,e.rotation=s?function(t,e){return lt(e[1],e[0],tt)+lt(t[1],t[0],tt)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=X&&(l>G||s.velocity===a)){var c=e.deltaX-s.deltaX,u=e.deltaY-s.deltaY,p=ot(l,c,u);i=p.x,r=p.y,n=h(p.x)>h(p.y)?p.x:p.y,o=st(c,u),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var p,d;var m=t.element;k(e.srcEvent.target,m)&&(m=e.srcEvent.target);e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function it(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:d(t.pointers[n].clientX),clientY:d(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:rt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function rt(t){var e=t.length;if(1===e)return{x:d(t[0].clientX),y:d(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:d(n/e),y:d(i/e)}}function ot(t,e,n){return{x:e/t||0,y:n/t||0}}function st(t,e){return t===e?V:h(t)>=h(e)?t<0?B:W:e<0?Y:U}function at(t,e,n){n||(n=K);
vendor: 4,157 bytes, line 2
2var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function lt(t,e,n){n||(n=K);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}et.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E($(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S($(this.element),this.evWin,this.domHandler)}};var ct={mousedown:F,mousemove:2,mouseup:R},ut="mousedown",pt="mousemove mouseup";function dt(){this.evEl=ut,this.evWin=pt,this.pressed=!1,et.apply(this,arguments)}C(dt,et,{handler:function(t){var e=ct[t.type];e&F&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=R),this.pressed&&(e&R&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:j,srcEvent:t}))}});var ht={pointerdown:F,pointermove:2,pointerup:R,pointercancel:X,pointerout:X},ft={2:N,3:"pen",4:j,5:"kinect"},mt="pointerdown",vt="pointermove pointerup pointercancel";function _t(){this.evEl=mt,this.evWin=vt,et.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(mt="MSPointerDown",vt="MSPointerMove MSPointerUp MSPointerCancel"),C(_t,et,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=ht[i],o=ft[t.pointerType]||t.pointerType,s=o==N,a=P(e,t.pointerId,"pointerId");r&F&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):r&(R|X)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var yt={touchstart:F,touchmove:2,touchend:R,touchcancel:X};function bt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,et.apply(this,arguments)}function gt(t,e){var n=D(t.touches),i=D(t.changedTouches);return e&(R|X)&&(n=L(n.concat(i),"identifier",!0)),[n,i]}C(bt,et,{handler:function(t){var e=yt[t.type];if(e===F&&(this.started=!0),this.started){var n=gt.call(this,t,e);e&(R|X)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}}});var Ct={touchstart:F,touchmove:2,touchend:R,touchcancel:X},wt="touchstart touchmove touchend touchcancel";function At(){this.evTarget=wt,this.targetIds={},et.apply(this,arguments)}function Tt(t,e){var n=D(t.touches),i=this.targetIds;if(e&(2|F)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=D(t.changedTouches),a=[],l=this.target;if(o=n.filter((function(t){return k(t.target,l)})),e===F)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),e&(R|X)&&delete i[s[r].identifier],r++;return a.length?[L(o.concat(a),"identifier",!0),a]:void 0}C(At,et,{handler:function(t){var e=Ct[t.type],n=Tt.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}});var Et=2500;function St(){et.apply(this,arguments);var t=w(this.handler,this);this.touch=new At(this.manager,t),this.mouse=new dt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function kt(t,e){t&F?(this.primaryTouch=e.changedPointers[0].identifier,xt.call(this,e)):t&(R|X)&&xt.call(this,e)}function xt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)}),Et)}}function Ht(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),s=Math.abs(n-r.y);if(o<=25&&s<=25)return!0}return!1}C(St,et,{handler:function(t,e,n){var i=n.pointerType==N,r=n.pointerType==j;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)kt.call(this,e,n);else if(r&&Ht.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Pt=O(u.style,"touchAction"),Dt=Pt!==a,Lt="compute",Ot="auto",zt="mani
2pulation",$t="none",qt="pan-x",It="pan-y",Mt=function(){if(!Dt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||r.CSS.supports("touch-action",n)})),t}();function Nt(t,e){this.manager=t,this.set(e)}Nt.prototype={set:function(t){t==Lt&&(t=this.compute()),Dt&&this.manager.element.style&&Mt[t]&&(this.manager.element.style[Pt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return _(this.manager.recognizers,(function(e){A(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(x(t,$t))return $t;var e=x(t,qt),n=x(t,It);if(e&&n)return $t;if(e||n)return e?qt:It;if(x(t,zt))return zt;return Ot}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=x(i,$t)&&!Mt[$t],o=x(i,It)&&!Mt[It],s=x(i,qt)&&!Mt[qt];if(r){var a=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(a&&l&&c)return}if(!s||!o)return r||o&&n&Q||s&&n&Z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var jt=1,Gt=32;function Ft(t){this.options=l({},this.defaults,t||{}),this.id=z++,this.manager=null,this.options.enable=T(this.options.enable,!0),this.state=jt,this.simultaneous={},this.requireFail=[]}function Rt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Xt(t){return t==U?"down":t==Y?"up":t==B?"left":t==W?"right":""}function Vt(t,e){var n=e.manager;return n?n.get(t):t}function Bt(){Ft.apply(this,arguments)}function Wt(){Bt.apply(this,arguments),this.pX=null,this.pY=null}function Yt(){Bt.apply(this,arguments)}function Ut(){Ft.apply(this,arguments),this._timer=null,this._input=null}function Qt(){Bt.apply(this,arguments)}function Zt(){Bt.apply(this,arguments)}function Jt(){Ft.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Kt(t,e){return(e=e||{}).recognizers=T(e.recognizers,Kt.defaults.preset),new te(t,e)}Ft.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Vt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=Vt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var e=this.requireFail;return-1===P(e,t=Vt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=Vt(t,this);var e=P(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+Rt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Rt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Gt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(Gt|jt)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!A(this.options.enable,[this,e]))return this.reset(),void(this.state=Gt);56&this.state&&(this.state=jt),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},C(Bt,Ft,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,r=this.attrTest(t);return i&&(n&X||!r)?16|e:i||r?n&R?8|e:2&e?4|e:2:Gt}}),C(Wt,Bt,{defaults:{event:"pan",threshold:10,pointers:1,direction:J},getTouchAction:function(){var t=this.options.direction,e=[];return t&Q&&e.push(It),t&Z&&e.push(qt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&Q?(r=0===o?V:o<0?B:W,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?V:s<0?Y:U,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return Bt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Xt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),C(Yt,Bt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),C(Ut,Ft,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ot]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(R|X)&&!r)this.reset();else if(t.eventType&F)this.reset(),this._timer=m((function(){this.state=8,this.tryEmit()}),e.time,this);else if(t.eventType&R)return 8;return Gt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&R?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),C(Qt,Bt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),C(Zt,Bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Q|Z,pointers:1},getTouchAction:function(){return Wt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Q|Z)?e=t.overallVelocity:n&Q?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&R}
2,emit:function(t){var e=Xt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),C(Jt,Ft,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[zt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&F&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=R)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||at(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&o?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=m((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return Gt},failTimeout:function(){return this._timer=m((function(){this.state=Gt}),this.options.interval,this),Gt},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Kt.VERSION="2.0.7",Kt.defaults={domEvents:!1,touchAction:Lt,enable:!0,inputTarget:null,inputClass:null,preset:[[Qt,{enable:!1}],[Yt,{enable:!1},["rotate"]],[Zt,{direction:Q}],[Wt,{direction:Q},["swipe"]],[Jt],[Jt,{event:"doubletap",taps:2},["tap"]],[Ut]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function te(t,e){var n;this.options=l({},Kt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(I?_t:M?At:q?St:dt))(n,nt),this.touchAction=new Nt(this,this.options.touchAction),ee(this,!0),_(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function ee(t,e){var n,i=t.element;i.style&&(_(t.options.cssProps,(function(r,o){n=O(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}te.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&14&n.state&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Ft)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(v(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=P(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var n=this.handlers;return _(H(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==a){var n=this.handlers;return _(H(t),(function(t){e?n[t]&&n[t].splice(P(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&ee(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Kt,{INPUT_START:F,INPUT_MOVE:2,INPUT_END:R,INPUT_CANCEL:X,STATE_POSSIBLE:jt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Gt,DIRECTION_NONE:V,DIRECTION_LEFT:B,DIRECTION_RIGHT:W,DIRECTION_UP:Y,DIRECTION_DOWN:U,DIRECTION_HORIZONTAL:Q,DIRECTION_VERTICAL:Z,DIRECTION_ALL:J,Manager:te,Input:et,TouchAction:Nt,TouchInput:At,MouseInput:dt,PointerEventInput:_t,TouchMouseInput:St,SingleTouchInput:bt,Recognizer:Ft,AttrRecognizer:Bt,Tap:Jt,Pan:Wt,Swipe:Zt,Pinch:Yt,Rotate:Qt,Press:Ut,on:E,off:S,each:_,merge:g,extend:b,assign:l,inherit:C,bindFn:w,prefixed:O}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Kt,(i=function(){return Kt}.call(e,n,e,t))===a||(t.exports=i)}(window,document)},5606:t=>{var e,n,i=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var a,l=[],c=!1,u=-1;function p(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&d())}function d(){if(!c){var t=s(p);c=!0;for(var e=l.length;e;){for(a=l,l=[];++u<e;)a&&a[u].run();u=-1,e=l.length}a=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function f(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new h(t,e)),1!==l.length||c||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},5072:(t,e,n)=>{"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);
2if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n<s.length;n++)if(s[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},i=[],r=0;r<t.length;r++){var o=t[r],l=e.base?o[0]+e.base:o[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var p=a(u),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==p?(s[p].references++,s[p].updater(d)):s.push({identifier:u,updater:v(d,e),references:1}),i.push(u)}return i}function c(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,p=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function d(t,e,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=p(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function h(t,e,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var f=null,m=0;function v(t,e){var n,i,r;if(e.singleton){var o=m++;n=f||(f=c(e)),i=d.bind(null,n,o,!1),r=d.bind(null,n,o,!0)}else n=c(e),i=h.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var r=a(n[i]);s[r].references--}for(var o=l(t,e),c=0;c<n.length;c++){var u=a(n[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=o}}}},5906:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(8221),r=n.n(i),o=n(7168),s=n.n(o);const a={watch:{index:function(t,e){var n=this;t>this.maxIndex?setTimeout((function(){n.index=0}),this.transitionDuration):t==-1*this.size&&setTimeout((function(){n.index=n.maxIndex-n.size+1}),this.transitionDuration);var i=1==Math.abs(t-e);this.updateTrack(i),this.updateScrollbar()},isMobile:function(t){var e=this;setTimeout((function(){e.checkSlideWidth(),e.updateTrack(),t||e.updateScrollbar()}),this.transitionDuration)}},computed:{transition:function(){return"".concat(this.transitionDuration,"ms ease 0s")},currentTrackTranslate:function(){return-1*(this.index+this.size)*this.slideWidth}},methods:{next:function(){this.isAnimating||(this.index++,this.sendEvent("next"))},prev:function(){this.isAnimating||(this.index--,this.sendEvent("prev"))},sendEvent:function(t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"gtm-auto-event","gtm-event-category":"slider","gtm-event-action":t,"gtm-event-non-interaction":"False",transport:"beacon"})},updateTrack:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!(this.$slides.length<this.size)){for(var n=[this.index+this.size],i=1;i<this.size;i++)n.push(this.index+this.size+i);this.$slides.forEach((function(i,r){n.includes(r)?(i.classList.add(t.visibleClass),e||(i.style.transition="none",setTimeout((function(){i.style.transition=""}),50))):i.classList.remove(t.visibleClass)})),this.setTrackTransform(this.currentTrackTranslate,e)}},updateScrollbar:function(){if(this.$scrollbar){var t=this.index;t<0?t=this.maxIndex+t+1:t>this.maxIndex&&(t=0);var e=t*((this.$scrollbar.parentNode.clientWidth-this.$scrollbar.clientWidth)/(this.initialCount-1));this.setScrollbarTransform(e)}},setScrollbarTransform:function(t){var e=this;if(this.$scrollbar){var n="translate3d(".concat(t,"px, 0px, 0px)");this.$scrollbar.style.transform!=n&&(this.$scrollbar.style.transform=n,this.$scrollbar.style.transition=this.transition,setTimeout((function(){e.$scrollbar.style.transition="none"}),this.transitionDuration))}},setTrackTransform:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i="translate3d(".concat(t,"px, 0px, 0px)");this.$track.style.transform!=i&&(this.isAnimating=n,n?(this.$track.style.transition=this.transition,setTimeout((function(){e.$track.style.transition="none"}),this.transitionDuration)):this.$track.style.transition="none",this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.timerId=setTimeout((function(){e.isAnimating=!1}),this.transitionDuration),this.$track.style.transform=i)},addEvents:function(){var t=this;window.addEventListener("resize",r()((function(){t.checkMobileVersion(),t.checkSlideWidth(),t.updateTrack(),t.updateScrollbar()}),200,{leading:!1,trailing:!0}
2)),this.$slides.forEach((function(e){var n;null===(n=e.querySelector("A"))||void 0===n||n.addEventListener("click",(function(e){t.isAnimating&&e.preventDefault(),t.sendEvent("click")}),!0)}));var e=new MutationObserver((function(){t.$el.checkVisibility()&&(t.checkSlideWidth(),t.updateTrack(),t.updateScrollbar())}));this.$el.parentNode&&e.observe(this.$el.parentNode,{attributes:!0,childList:!0})},addClones:function(){var t=this;if(!(this.$slides.length<=this.size)){for(var e=[],n=[],i=0;i<this.size;i++){var r=this.$slides[0+i];if(r){var o=r.cloneNode(!0);o.classList.remove(this.visibleClass),o.classList.add("is-clone"),e.push(o)}}e.forEach((function(e){t.$slides.push(e),t.$track.appendChild(e)}));for(i=1;i<this.size+1;i++){var s=this.initialCount-i,a=this.$slides[s];if(a){var l=a.cloneNode(!0);l.classList.remove(this.visibleClass),l.classList.add("is-clone"),n.push(l)}}n.forEach((function(e){t.$slides=[e].concat(t.$slides),t.$track.prepend(e)}))}},setInitialTrackTranslate:function(){if(this.isMobile||!(this.$slides.length<this.size)){var t=-1*this.size*this.slideWidth;this.setTrackTransform(t,!1)}},addTouchEvents:function(){var t=this;this.hammer=new(s().Manager)(this.$track),this.hammer.add(new(s().Pan)({threshold:0,pointers:0,direction:s().DIRECTION_HORIZONTAL,drag_block_vertical:!0})),this.hammer.on("pan",(function(e){t.isMobile&&!t.isAnimating&&(Math.abs(e.deltaY)>Math.abs(e.deltaX)||(e.preventDefault(),e.isFinal?e.velocityX>1?t.index--:e.velocityX<-1?t.index++:e.distance>t.slideWidth*t.sensitivity&&(e.deltaX>0?t.index--:e.deltaX<0&&t.index++):e.deltaX>=0?t.setTrackTransform(t.currentTrackTranslate+e.distance,!1):t.setTrackTransform(t.currentTrackTranslate-e.distance,!1)))})),this.hammer.on("panend",this.updateTrack)},checkMobileVersion:function(){this.isMobile=!window.matchMedia("(min-width: 1024px)").matches},checkSlideWidth:function(){this.slideWidth=this.$slides[0].getBoundingClientRect().width}},mounted:function(){this.size=Number(this.$el.dataset.size)||3,this.$scrollbar=this.$refs.scrollbar,this.$scrollbar||(this.$scrollbar=this.$el.querySelector(".js-scrollbar")),this.$track=this.$refs.track,this.$track||(this.$track=this.$el.querySelector(".js-track")),this.$slides=Array.prototype.slice.call(this.$el.querySelectorAll(".js-slide")),this.initialCount=this.$slides.length,this.maxIndex=this.$slides.length-1,this.checkSlideWidth(),this.addClones(),this.setInitialTrackTranslate(),this.checkMobileVersion(),this.addTouchEvents(),this.addEvents(),this.$track.classList.add("is-ready")},data:function(){return{$scrollbar:null,$track:null,$items:[],index:0,maxIndex:0,slideWidth:0,isAnimating:!1,visibleClass:"is-visible",cloneClass:"is-clone",size:0,initialCount:0,transitionDuration:500,timerId:null,hammer:null,sensitivity:.1,isMobile:!1}}};const l=(0,n(4486).A)(a,undefined,undefined,!1,null,null,null).exports},4486:(t,e,n)=>{"use strict";function i(t,e,n,i,r,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}n.d(e,{A:()=>i})}},t=>{t.O(0,[608],(()=>{return e=9049,t(t.s=e);var e}));t.O()}]);
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.