PageSourceSearch

https://mailtrap.io/app/themes/mailtrap/dist/acf_block_pricing_main_table.bundle.js?ver=261001-83515

js mailtrap.io collected 2026-10-02 02:14:16 UTC 10,115 bytes, 1 lines download raw bytes

1!function(){"use strict";var t,n={94606:function(t,n,e){e(52675),e(89463),e(2259),e(16280),e(28706),e(50113),e(23418),e(23792),e(62062),e(44114),e(34782),e(62010),e(2892),e(5506),e(79432),e(26099),e(27495),e(90906),e(38781),e(47764),e(5746),e(98992),e(72577),e(3949),e(81454),e(58335),e(23500),e(62953),e(48408),e(14603),e(47566),e(98721),e(25440),e(42762);function r(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return i(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function a(t){if(!t)return 0;var n=t.toString().trim().toLowerCase().replace(/\D/g,"");return parseInt(n,10)}function o(t,n){var e=t.querySelectorAll(n);if(e.length){e.forEach(function(t){t.style.height=""});var i=Math.max.apply(Math,r(Array.from(e,function(t){return t.offsetHeight})));e.forEach(function(t){t.style.height=i+"px"})}}function c(){document.querySelectorAll(".pricing-table").forEach(function(t){o(t,".pricing-table__subtitle"),o(t,".pricing-table__mails-count"),o(t,".pricing-table__card-header")})}function l(){return window.innerWidth<=1e3?18:20}function s(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,a,o,c=[],l=!0,s=!1;try{if(a=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;l=!1}else for(;!(l=(r=a.call(e)).done)&&(c.push(r.value),c.length!==n);l=!0);}catch(t){s=!0,i=t}finally{try{if(!l&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(s)throw i}}return c}}(t,n)||function(t,n){if(t){if("string"==typeof t)return u(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}var f=[],p=!1;function d(){var t,n,e,r=new URLSearchParams(window.location.search).get("tab"),i=document.querySelectorAll(".pricing-main");i.length&&(r||(r=i[0].dataset.tab),f.length=0,i.forEach(function(t){var n=t.dataset.tab;if(n===r){t.classList.remove("d-none");var e=t.querySelector(".pricing-slider__input"),i=t.querySelector(".pricing-slider"),o=t.querySelector(".pricing-slider__value"),u=JSON.parse(i.dataset.labels||"[]"),p=JSON.parse(i.dataset.numbers||"[]").map(a),d=t.querySelectorAll(".pricing-slider__label"),g=t.querySelector(".pricing-slider__labels");e.min=0,e.max=u.length-1;var m={"pricing-main--blue":"#4C83EE","pricing-main--orange":"#FFA726","pricing-main--green":"#22D172"},h=function(){var n=l(),r=Number(e.value),i=Number(e.min)||0,a=Number(e.max),o=e.clientWidth,c=(15+(r-i)/(a-i)*(o-15-n))/o*100,u=Object.entries(m).find(function(n){var e=s(n,1)[0];return t.classList.contains(e)}),f=u?u[1]:"#4d7cfe";e.style.background="linear-gradient(to right, ".concat(f," 0%, ").concat(f," ").concat(c,"%, #fff ").concat(c,"%, #fff 100%)")},_=function(){var t=l(),n=g.clientWidth-15-t;d.forEach(function(t,e){var r=15+e/(u.length-1)*n;window.innerWidth>=1e3&&e===u.length-1&&(r-=15),t.style.left="".concat(r,"px")})},v=function(t,n,e,r){t.querySelectorAll(e).forEach(function(t){var e=t.querySelectorAll(r);if(!(e.length<=1)){var i=null,o=1/0,c=!1;e.forEach(function(t){var e=a(t.dataset.mail||"");n<=e&&e<o&&(o=e,i=t,c=!0)}),c||(i=e[e.length-1]),e.forEach(function(t){t.classList.toggle("d-none",t!==i)})}})},b=function(){var r=parseInt(e.value,10),i=null!=p[r]?p[r]:0;o.textContent=null!=u[r]?u[r]:"",[{containerSelector:'.pricing-table[data-tab="'.concat(n,'"]'),cardSelector:".pricing-table__c
1ard",infoSelector:".pricing-table__price-info",disableClass:"pricing-table__card_disable",useFlex:!1,customPricingCard:"pricing-table__card_custom"},{containerSelector:'.pricing-comparison__header--desktop[data-tab="'.concat(n,'"]'),cardSelector:".pricing-comparison__card",infoSelector:".pricing-comparison__card-price-info",disableClass:"pricing-comparison__card_disable",useFlex:!0,customPricingCard:"pricing-comparison__card_custom"},{containerSelector:'.pricing-comparison__header--mobile[data-tab="'.concat(n,'"]'),cardSelector:".pricing-comparison__plan-item",infoSelector:".pricing-comparison__plan-price",disableClass:"pricing-comparison__plan-item_disable",useFlex:!0,customPricingCard:"pricing-comparison__plan_custom"}].forEach(function(t){document.querySelectorAll(t.containerSelector).forEach(function(n){n.querySelectorAll(t.cardSelector).forEach(function(n){var e=n.querySelectorAll(t.infoSelector),r=null,o=1/0,c=!1;e.forEach(function(t){var n=a(t.dataset.mail||"");i<=n&&n<o&&(o=n,r=t,c=!0)}),c?n.classList.remove(t.disableClass):(n.classList.add(t.disableClass),r=e[e.length-1]),e.forEach(function(n){var e=n===r;n.classList.toggle("d-none",!e),t.useFlex&&n.classList.toggle("d-flex",e)});var l=c&&r&&r.classList.contains("custom-price");n.classList.toggle(t.customPricingCard,l)})})}),v(t,i,".pricing-comparison__plan",".pricing-comparison__plan-text[data-mail]"),v(t,i,".pricing-table__description",".pricing-table__description-text[data-mail]"),c()};t.dataset.pricingBound||(g.addEventListener("click",function(t){var n=t.target.closest(".pricing-slider__label");if(n){var r=Array.from(d).indexOf(n);r<0||(e.value=String(r),h(),b())}}),e.addEventListener("input",function(){h(),b()}),t.dataset.pricingBound="true"),f.push({updateSliderUI:h,positionLabels:_}),_(),h(),b()}else t.classList.add("d-none")}),f.length&&!p&&(window.addEventListener("resize",(t=function(){f.forEach(function(t){t.updateSliderUI(),t.positionLabels()})},n=100,function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];clearTimeout(e),e=setTimeout(function(){return t.apply(void 0,i)},n)})),p=!0))}document.addEventListener("DOMContentLoaded",function(){d(),c()}),function(t){var n=history.pushState,e=history.replaceState;function r(){t()}history.pushState=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];n.apply(this,e),r()},history.replaceState=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.apply(this,n),r()},window.addEventListener("popstate",function(){r()})}(function(){d(),c()}),document.addEventListener("click",function(t){var n=t.target.closest(".pricing-slider__annual");if(n){n.classList.toggle("pricing-slider__annual_active");var e=n.closest(".pricing-slider").dataset.tab,r=[{selector:'.pricing-table[data-tab="'.concat(e,'"]'),className:"pricing-table--annual"},{selector:'.pricing-comparison__header[data-tab="'.concat(e,'"]'),className:"pricing-comparison__header_annual"}],i=n.classList.contains("pricing-slider__annual_active");r.forEach(function(t){var n=t.selector,e=t.className;document.querySelectorAll(n).forEach(function(t){t.classList.toggle(e,i)})})}}),window.addEventListener("pageshow",function(t){var n;(t.persisted||(n=performance.getEntriesByType?performance.getEntriesByType("navigation"):[]).length&&"back_forward"===n[0].type)&&(document.querySelectorAll(".pricing-slider__input").forEach(function(t){t.value=String(Number(t.min)||0)}),d(),c())}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".pricing-main").forEach(function(t){var n=t.querySelectorAll(".pricing-comparison__select-item"),e=t.querySelectorAll(".pricing-comparison__plan-item"),r=t.querySelectorAll(".pricing-comparison__attribute-content");r.forEach(function(t){t.addEventListener("click",function(){t.closest(".pricing-comparison__attribute").classList.toggle("pricing-comparison__attribute_open")})}),n.forEach(function(t,i){t.addEventListener("click",function(){n.forEach(function(t,n){return t.classList.toggle("pricing-comparison__select-item_active",n===i)}),e.forEach(function(t,n){t.classList.toggle("d-none",n!==i),t.classList.toggle("d-flex",n===i)}),r.forEach(function(t){return t.querySelectorAll(".pricing-comparison__plan").forEach(function(t,n){return t.classList.toggle("pricing-comparison__attribute-item_active",n===i)})})})})})})}},e={};function r(t){var i=e[t];if(void 0!==i)return i.exports;var a=e[t]={exports:{}};return n[t].call(a.exports,a,a.exports,r),a.exports}r.m=n,t=[],r.O=function(n,e,i,a){if(!e){var o=1/0;for(u=0;
1u<t.length;u++){e=t[u][0],i=t[u][1],a=t[u][2];for(var c=!0,l=0;l<e.length;l++)(!1&a||o>=a)&&Object.keys(r.O).every(function(t){return r.O[t](e[l])})?e.splice(l--,1):(c=!1,a<o&&(o=a));if(c){t.splice(u--,1);var s=i();void 0!==s&&(n=s)}}return n}a=a||0;for(var u=t.length;u>0&&t[u-1][2]>a;u--)t[u]=t[u-1];t[u]=[e,i,a]},r.d=function(t,n){for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.j=5331,function(){var t={5331:0};r.O.j=function(n){return 0===t[n]};var n=function(n,e){var i,a,o=e[0],c=e[1],l=e[2],s=0;if(o.some(function(n){return 0!==t[n]})){for(i in c)r.o(c,i)&&(r.m[i]=c[i]);if(l)var u=l(r)}for(n&&n(e);s<o.length;s++)a=o[s],r.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return r.O(u)},e=self.webpackChunkmailtrap=self.webpackChunkmailtrap||[];e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))}();var i=r.O(void 0,[4121],function(){return r(94606)});i=r.O(i)}();

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.