vendor: 5,191 bytes, line 1
1(()=>{function t(e){return t="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},t(e)}function e(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){l=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(l)throw a}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function r(){"use strict";r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new j(r||[]);return a(i,"_invoke",{value:A(t,n,c)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=d;var v="suspendedStart",y="suspendedYield",g="executing",h="completed",m={};function w(){}function b(){}function k(){}var L={};f(L,l,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(T([])));_&&_!==o&&i.call(_,l)&&(L=_);var x=k.prototype=w.prototype=Object.create(L);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function I(e,n){function r(o,a,c,l){var u=p(e[o],e,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function A(t,n,r){var o=v;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=O(c,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var u=p(t,n,r);if("normal"===u.type){if(o=r.done?h:y,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=h,r.method="throw",r.arg=u.arg)}}}function O(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function P(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(n){if(n||""===n){var r=n[l];if(r)return r.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var o=-1,a=function t(){for(;++o<n.length;)if(i.call(n,o))return t.value=n[o],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(n)+" is not iterable")}return b.prototype=k,a(x,"constructor",{value:k,configurable:!0}),a(k,"constructor",{value:b,configurable:!0}),b.displayName=f(k,s,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,f(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},n.awrap=function(t){return{__await:t}},E(I.prototype),f(I.prototype,u,(function(){return this})),n.AsyncIterator=I,n.async=function(t,e,r,o,i){void 0===i&&(i=Prom
vendor: 4,515 bytes, line 1
1ise);var a=new I(d(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),f(x,s,"Generator"),f(x,l,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=T,j.prototype={constructor:j,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.forEach(C),!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(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.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 a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},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),C(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 r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},n}function o(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function u(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}!function(t,n){var i=function(){function t(){c(this,t)}return u(t,null,[{key:"getDefaultData",value:function(){return{name:t.name,url:window.location.href,source:t.determineSource(),referrer:document.referrer,path:window.location.pathname}}},{key:"checkAndResetInvalidUser",value:function(e){var n,r,o,i,a,c,l=(null===(n=(r=window.analytics).user)||void 0===n||null===(n=n.call(r))||void 0===n||null===(o=n.id)||void 0===o?void 0:o.call(n))||null;
1if(!t.invalidUserIds.includes(l)&&!t.testUserIds.includes(l))return!1;var u=(null===(i=(a=window.analytics).user)||void 0===i||null===(i=i.call(a))||void 0===i||null===(c=i.anonymousId)||void 0===c?void 0:c.call(i))||null;return fetch(coralogixLogger.ajaxurl,{method:"POST",keepalive:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"coralogix_log_js_event",nonce:coralogixLogger.nonce,message:"[InternalLinking: ".concat(e,'] Invalid userId "').concat(l,'" (deviceId: "').concat(u,'") detected â resetting identity'),category:"InternalLinking",severity:4})}).then((function(){console.log("Coralogix Info Sent! Invalid userId reset.",l)})).catch((function(t){console.warn("Coralogix log failed for invalid userId reset.",t)})),window.analytics.reset(),!0}},{key:"sendAnalytics",value:function(e,n){var r;if((!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&(n=a(a({},t.getDefaultData()),n)),null!==(r=window.analytics)&&void 0!==r&&r.track)try{t.checkAndResetInvalidUser("Track"),window.analytics.track(e,n)}catch(t){console.warn("Analytics failed:",t)}}},{key:"determineSource",value:function(){var e=document.querySelector("html").getAttribute("lang"),n=new URL(window.location.href),r=n.pathname.split("/");return t.languageCodes.includes(e)&&t.languageCodes.includes(r[1])&&(r.splice(1,1),n.pathname=r.join("/")),n.toString()}},{key:"init",value:function(){var e=0,n=!1,r=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&n)e=0;else if(n=!0,window.analytics&&!window.analytics.invoked){if(n=!1,t.checkAndResetInvalidUser("Init")){var o=document.head.querySelector("meta[name='analytics-page-name']");window.analytics.page(o?o.content:"")}}else e<t.initRetryAttempts?(e++,setTimeout((function(){return r()}),t.initRetryDelay)):(n=!1,e=0,console.warn("Init Internal Linking - failure: analytics not ready after consent",e))};r(),window.addEventListener("CookiebotOnConsentReady",(function(){return r(!0)}))}},{key:"getElementInfo",value:function(t){var e=t.closest("section[data-block-name]"),n="a"===t.tagName.toLowerCase()?(t.textContent||"").trim():"",r="Header and Footer",o=n;if(!e)return{location:r,text:o};var i=e.getAttribute("data-block-name"),a=Array.from(document.querySelectorAll('section[data-block-name="'.concat(i,'"]')));if(1===a.length)r=i;else{var c=a.indexOf(e)+1;r="".concat(i,"-position-").concat(c)}if(n){var l=Array.from(e.querySelectorAll("a")).filter((function(t){return(t.textContent||"").trim()===n}));if(l.length>1){var u=l.indexOf(t)+1;o="".concat(n,"-position-").concat(u)}}return{location:r,text:o}}},{key:"cleanRedirectURL",value:function(e){if(!e)return"";var n;try{n=new URL(e)}catch(t){n=new URL(e,window.location.origin)}return t.blacklistParameters.forEach((function(t){return n.searchParams.delete(t)})),n.toString()}},{key:"sendYouTubeVideoAnalytics",value:(e=r().mark((function e(n,o){var i,a,c,l,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.getElementInfo(n),a=i.location,c=window.Cookiebot&&window.Cookiebot.consent&&window.Cookiebot.consent.marketing,l="https://".concat(c?"www.youtube.com":"www.youtube-nocookie.com","/embed/").concat(o),u={urlRedirect:t.cleanRedirectURL(l),text:"YouTube Video",location:a},e.abrupt("return",t.sendAnalytics("Internal Linking",u));case 6:case"end":return e.stop()}}),e)})),n=function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(t){o(a,r,i,c,l,"next",t)}function l(t){o(a,r,i,c,l,"throw",t)}c(void 0)}))},function(t,e){return n.apply(this,arguments)})}]);var e,n}();s(i,"name",null!==(t=null===(n=document.head.querySelector("meta[name='analytics-ab-name']"))||void 0===n?void 0:n.content)&&void 0!==t?t:""),s(i,"blacklistParameters",["_gl","gclid","graid"]),s(i,"testUserIds",["2036615818","1547169938"]),s(i,"invalidUserIds",["undefined"]),s(i,"initRetryAttempts",20),s(i,"initRetryDelay",250),s(i,"languageCodes",["de","fr","es","it","pt","zh","ja","ko","ru","ar","nl","pl","sv","no","da","fi","cs","hu","ro","tr","el","he","th","id","ms","vi"]);var l=function(){function t(){c(this,t)}return u(t,null,[{key:"eventDelegationClickFunction",value:function(e){if("auxclick"!==e.type||1===e.button){var n=e.target.closest("a");if(n&&n.href&&!t.skipLinkClasses.some((function(t){return n.classList.contains(t)}))){var r=n.getAttribute("href")||"",o=i.getElementInfo(n),a=o.location,c=o.text;i.sendAnalytics("Internal Linking",{urlRedirect:i.cleanRedirectURL(r),text:c,location:a})}}}},{key:"init",value:function(){document.addEventListener("click",t.eventDelegationClickFunction),document.addEventListener("auxclick",t.eventDelegationClickFunction)}}])}();s(l,"skipLinkClasses",["header-nav__link","header-nav__top-link","header-nav__block-list__link","header-nav-tab__link","footer-nav__link","table-of-contents__link","scroll-btn"]);var f=function(){return u((function t(){c(this,t)}),null,[{key:"init",value:function(){document.addEventListener("mousedown",(function(t){if(0===t.button){var e=t.target.closest(".play-video");if(e){var n=e.closest(".video-container");if(n){var r=i.getElementInfo(n).location,o={urlRedirect:i.cleanRedirectURL(n.getAttribute("data-youtube-url")||""),location:r};i.sendAnalytics("Internal Linking",o)}}}}))}}])}(),d=function(){function t(){c(this,t)}return u(t,null,[{key:"initializeYouTubePlayer",value:function(e){new YT.Player(e.id,{events:{onStateChange:function(n){if(n.data===YT.PlayerState.PLAYING){if(t.trackedIds.includes(e.id))return;t.trackedIds.push(e.id);var r=i.getElementInfo(e).location,o={urlRedirect:i.cleanRedirectURL(e.src),text:(e.getAttribute("title")||"").trim(),location:r};i.sendAnalytics("Internal Linking",o)}}}})}},{key:"init",value:function(){if(document.querySelectorAll(".YT-SHORTS__shorts > iframe").length){if(!window.YT){var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)}window.onYouTubeIframeAPIReady=function(){document.querySelectorAll(".YT-SHORTS__shorts > iframe").forEach(t.initializeYouTubePlayer)}}}}])}();s(d,"trackedIds",[]);var p=function(){function t(){c(this,t)}return u(t,null,[{key:"getCampaignId",value:function(t){var e,n;return null!==(e=null===(n=t.closest(".cp-popup-container"))||void 0===n?void 0:n.getAttribute("data-styleslug"))&&void 0!==e?e:""}},{key:"getPopupRedirect",value:function(t){var e,n;return null!==(e=null===(n=t.closest(".cp-field-html-data"))||void 0===n?void 0:n.getAttribute("data-redirect"))&&void 0!==e?e:""}},{key:"eventDelegationPopupAction",value:function(e){var n=e.target.closest(t.popupClickSelector);if(n)i.sendAnalytics("Helium 10 Page Popup Interaction",{action:"popup_cta_clicked",campaign_id:t.getCampaignId(n),urlRedirect:t.getPopupRedirect(n),text:n.innerText});else{var r=e.target.closest(t.popupCloseSelector),o=e.target.classList.contains(t.popupCloseOverlaySelector);(r||o)&&i.sendAnalytics("Helium 10 Page Popup Interaction",{action:"popup_closed",campaign_id:t.getCampaignId(r||e.target)})}}},{key:"init",value:function(){var n=new MutationObserver((function(n){var r,o=e(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("attributes"===a.type&&"class"===a.attributeName)if("none"!==window.getComputedStyle(a.target).display){var c={action:"popup_displayed",campaign_id:t.getCampaignId(a.target)};i.sendAnalytics("Helium 10 Page Popup Interaction",c)}}}catch(t){o.e(t)}finally{o.f()}}));document.addEventListener("click",t.eventDelegationPopupAction),document.addEventListener("auxclick",t.eventDelegationPopupAction),document.querySelectorAll(t.popupObserverSelector).forEach((function(t){n.observe(t,{attributes:!0})}))}}])}();s(p,"popupObserverSelector",".cp-popup"),s(p,"popupClickSelector",".cp-popup button[type='button']"),s(p,"popupCloseSelector","[name='cp_close_image-2']"),s(p,"popupCloseOverlaySelector","cpro-overlay");var v=function(){function t(){c(this,t)}return u(t,null,[{key:"handlePricingClick",value:function(t){setTimeout((function(){var e=i.getElementInfo(t).location,n={text:(t.textContent||"").trim(),location:e};i.sendAnalytics("Internal Linking",n)}))}},{key:"handlePricingToggleClick",value:function(e){setTimeout((function(){var n=t.getLabelFromToggleElement(e);
1if(n){var r=i.getElementInfo(e).location,o={text:(n.textContent||"").trim(),location:r};i.sendAnalytics("Internal Linking",o)}}))}},{key:"getLabelFromToggleElement",value:function(e){var n,r,o,i=null===(n=e.parentElement)||void 0===n?void 0:n.querySelectorAll("label");if(1===(null==i?void 0:i.length))return i[0];if(2===(null==i?void 0:i.length))return Array.from(i).find((function(t){return t&&t.classList.contains("active")}));var a=null===(r=e.parentElement)||void 0===r?void 0:r.querySelectorAll("span");if(1===(null==a?void 0:a.length))return a[0];var c=null===(o=e.parentElement)||void 0===o||null===(o=o.parentElement)||void 0===o?void 0:o.querySelectorAll("span");return 2===(null==c?void 0:c.length)?Array.from(c).find((function(e){return e&&getComputedStyle(e).color===t.activeToggleColor})):void 0}},{key:"init",value:function(){document.addEventListener("click",(function(n){var r,o=e(t.clickSelectors);try{for(o.s();!(r=o.n()).done;){var i=r.value,a=n.target.closest(i);if(a){t.handlePricingClick(a);break}}}catch(t){o.e(t)}finally{o.f()}var c,l=e(t.toggleSelectors);try{for(l.s();!(c=l.n()).done;){var u=c.value,s=n.target.closest(u);if(s){t.handlePricingToggleClick(s);break}}}catch(t){l.e(t)}finally{l.f()}}))}}])}();s(v,"activeToggleColor","rgb(19, 25, 31)"),s(v,"clickSelectors",["section.h10_block--pricing .accordion-button-pricing","section.ce-section--pricing-pt #first-plan-heading button","section.ce-section--pricing-pt #pricing-body .pricing-body-category","section.ce-section--pricing-pt button","section.pricing-new .pricing-new__coupon-wrapper button","section.pricing-new .billing-toggle-pill button","section.pricing-new .pricing-new__api-features-toggle-wrap button"]),s(v,"toggleSelectors",["section .PRMO__subscription-toggle input","section.ce-section--pricing-pt #first-plan-heading input","section.pricing-new .pricing-new__above-section input",'section.ce-section--pricing-pt label > input[type="checkbox"]']);var y=function(){return u((function t(){c(this,t)}),null,[{key:"init",value:function(){"/outsourced-to-optimized/"===window.location.pathname&&i.sendAnalytics("Outsourced to Optimized Page View",{}
1).catch((function(t){console.log("Analytics error for Outsourced to Optimized page view: ",t)}))}}])}();window.InternalLinking=i,l.init(),f.init(),d.init(),p.init(),v.init(),i.init(),y.init()}()})();
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.