1var frodo=function(K){"use strict";/*! js-cookie v3.0.8 | MIT */function P(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)r!=="__proto__"&&(t[r]=n[r])}return t}var Rt={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function W(t,e){function n(i,s,o){if(!(typeof document>"u")){o=P({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var l in o)o[l]&&(c+="; "+l,o[l]!==!0&&(c+="="+o[l].split(";")[0]));return document.cookie=i+"="+t.write(s,i)+c}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],o={},c=0;c<s.length;c++){var l=s[c].split("="),d=l.slice(1).join("=");try{var h=decodeURIComponent(l[0]);if(h in o||(o[h]=t.read(d,h)),i===h)break}catch{}}return i?o[i]:o}}return Object.create({set:n,get:r,remove:function(i,s){n(i,"",P({},s,{expires:-1}))},withAttributes:function(i){return W(this.converter,P({},this.attributes,i))},withConverter:function(i){return W(P({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var G=W(Rt,{path:"/"});const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Nt(t,e=0){return(v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]).toLowerCase()}let z;const Mt=new Uint8Array(16);function Pt(){if(!z){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");z=crypto.getRandomValues.bind(crypto)}return z(Mt)}const q={};function Ut(t,e,n){let r;{const i=Date.now(),s=Pt();$t(q,i,s),r=jt(s,q.msecs,q.seq,e,n)}return e??Nt(r)}function $t(t,e,n){return t.msecs??(t.msecs=-1/0),t.seq??(t.seq=0),e>t.msecs?(t.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],t.msecs=e):(t.seq=t.seq+1|0,t.seq===0&&t.msecs++),t}function jt(t,e,n,r,i=0){if(t.length<16)throw new Error("Random bytes length must be >= 16");if(!r)r=new Uint8Array(16),i=0;else if(i<0||i+16>r.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);return e??(e=Date.now()),n??(n=t[6]*127<<24|t[7]<<16|t[8]<<8|t[9]),r[i++]=e/1099511627776&255,r[i++]=e/4294967296&255,r[i++]=e/16777216&255,r[i++]=e/65536&255,r[i++]=e/256&255,r[i++]=e&255,r[i++]=112|n>>>28&15,r[i++]=n>>>20&255,r[i++]=128|n>>>14&63,r[i++]=n>>>6&255,r[i++]=n<<2&255|t[10]&3,r[i++]=t[11],r[i++]=t[12],r[i++]=t[13],r[i++]=t[14],r[i++]=t[15],r}const Dt=t=>new Date(new Date().getTime()+t*60*1e3),Y="https://et.landingi.com";function Ft(t){const e={};return new URLSearchParams(new URL(t).search).forEach((r,i)=>{if(["utm_campaign","utm_term","utm_content","utm_medium","utm_source"].includes(i)){const o=i;e[o]=r}}),Object.keys(e).length===0?null:e}const Ht=t=>Ft(t),Vt=()=>{const t=G.get("_ga");if(!t)return null;const e=t.split("."),n=`${e[2]}.${e[3]}`;return n.length>50?n.substring(0,50):n},J="s_f_f",nt="v",rt="s",Kt="scroll",X="cannot_find_lightbox",U=255,B="data_",Wt=t=>{if(!t)return"";const n=t.substring(0,U).trim().split(" "),r=n.length-1;let s=n.reduce((d,h)=>d+encodeURIComponent(h).length,0)+r,o;for(;n.length>0&&s>U;)if(o=n.pop(),o){const d=encodeURIComponent(o).length;s--,s-=d}let c="";if(s<U&&o){let d=U-s;const h=[...o];for(;d>0&&h.length>0;){const m=h.shift();if(m){const p=encodeURIComponent(m).length;p<=d&&(d-=p,c+=m)}}}return c.length&&n.push(c),n.join(" ")},it={MAIN:"main",THANK_YOU:"thankyou",LIGHTBOX:"lightbox"},A={ERROR_FORM:"error_form",START_FILLING_FORM:"start_filling_form",VISIT:"visit",VIEW_LIGHTBOX:"view_lightbox",CLICK_ACCORDION:"click_accordion",CLICK_BUTTON:"click_button",CLICK_IMAGE:"click_image",CLICK_ICON:"click_icon",CLICK_PAYPAL_BUTTON:"click_paypal_button",CLICK_PAYU_BUTTON:"click_payu_button",CLICK_STRIPE_BUTTON:"click_stripe_button"},st="unhandled_event_type",{MAIN:Gt,THANK_YOU:zt,LIGHTBOX:qt}=it,{VIEW_LIGHTBOX:Yt}=A,$=({element:t,eventType:e}={})=>{const{conversion:n}=window;return t?.dataset.lightbox==="true"||e===Yt?qt:n?.hash?zt:Gt},L=async({type:t,elementId:e,label:n,cookieValue:r,data:i,pageLocation:s,isBot:o,element:c})=>{const{tid:l,luuid:d,lhash:h,auuid:m}=i,p=window.location.href,b=Ht(p),f=Vt(),C=Wt(n),I=$({element:c,eventType:t}),y={type:t,label:C,session:r,page_type:I,landing_uuid:d,variant_hash:h,account_uuid:m,...e&&{element_id:e},...l&&{tid:l.toString()},...b&&{...b},...f&&{ga_client_id:f},...s&&{page_location:s},...o&&{is_bot:o}};await(async()=>{const S=`${Y}/v2/publish-event`;try{const a=await fetch(S,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(y)});if(!a.ok)throw new Error(`Request failed with status ${a.status}`)}catch(a){console.error(a)}})()},Jt=(t,e)=>["widget-button","widget-image","widget-svgicon"].includes(e)&&t.classList.contains(e),Xt=(t,e)=>{const n=e.map(s=>`${s}`).join(","),r=t?.querySelectorAll?.(n),i=[];return r?.forEach(s=>{s.tagName==="A"&&i.push(s)}),i.length>0?i:Jt(t,n)?[t]:[]},{CLICK_BUTTON:Qt,CLICK_IMAGE:Zt,CLICK_ICON:te}=A,ee=t=>{const e=t?.classList;return e?.contains("widget-button")?Qt:e?.contains("widget-image")?Zt:e?.contains("widget-svgicon")?te:st},ne=new Set(["lp.landingi.cc","www.landpagepreview.com"]),re=t=>{const e=t.getAttribute("data-origin-label");if(e!==null)return e;const n=t.innerText;return typeof n=="string"?n:t.textContent||""},ie=t=>{const e=t.getAttribute("href")?.split("#")[1];if(!e)return X;const n=document.getElementById(e);if(!n)return X;const r=n.getAttribute("data-lightbox-name");return r===null?X:r},se=t=>t.getAttribute("href")||"",oe=t=>{const e=t.getAttribute("href")?.split("://")[1]||"";return ne.has(e)?"":e},ae=t=>{const e=t.getAttribute("subtype"),n=t.classList.contains("widget-button");return e==="popup"&&!n?ie(t):e==="anchor"&&!n?se(t):n?re(t):oe(t)},{CLICK_IMAGE:ce}=A,ot=[];
1function at({parentElement:t,data:e,cookieValue:n,selectors:r}){[...document.querySelectorAll(".widget-image")].filter(o=>o.nodeName==="IMG"&&o.hasAttribute("data-gallery")).forEach(o=>{const c=o.getAttribute("id");c&&(ot.includes(c)||(ot.push(c),o.addEventListener("click",l=>{const d=l.target,h=o.getAttribute("data-gallery");d?.id&&L({type:ce,elementId:d.id,label:h||void 0,cookieValue:n,data:e})})))}),Xt(t,r).forEach(o=>{o.addEventListener("click",c=>{const l=c.currentTarget;if(!l)return;const d=ee(l),h=ae(l),m=l.id;m&&L({type:d,elementId:m,label:h||"",cookieValue:n,data:e,element:l})})})}const Q=t=>{const e=t.getAttribute("data-origin-label");return e||(t.innerText?t.innerText:t.textContent??"")},Z=t=>t.querySelector('.widget-input-button[type="submit"]'),ct=(t,e)=>{t.forEach(n=>{const r=document.createElement("input");r.type="hidden",r.name="_session",r.value=e,n.appendChild(r);const i=Z(n);if(!i)return;const s=document.createElement("input");s.type="hidden",s.name="_form_submit_label",s.value=Q(i),n.appendChild(s)})},{CLICK_PAYPAL_BUTTON:le,CLICK_PAYU_BUTTON:ue,CLICK_STRIPE_BUTTON:de}=A,me=t=>t.classList.contains("widget-paypal")?le:t.classList.contains("widget-payu")?ue:t.classList.contains("widget-stripe")?de:st,ge=(t,e)=>{document.querySelectorAll(".widget-paypal, .widget-payu, .widget-stripe").forEach(r=>{r.addEventListener("click",i=>{const s=i.target,o=me(r),c=r.getAttribute("data-product-name");s?.id&&c&&L({type:o,elementId:s.id,label:c,cookieValue:t,data:e})})})},lt=t=>!!t&&t.matches("form"),{ERROR_FORM:he}=A,fe=(t,e,n)=>{const r=t.getAttribute("data-uid");if(!r)return;const i=document.getElementById(r);if(!i)return;const s=i.getAttribute("parentid");if(!s)return;const o=document.getElementById(s);if(!lt(o))return;const c=Z(o);if(!c)return;const l=Q(c);L({type:he,elementId:s,label:l,cookieValue:n,data:e,element:c})},be=(t,e,n)=>{if(!t||t.getAttribute("data-observed")||(t.setAttribute("data-observed","true"),!e))return;t.getAttribute("data-handled")||(t.setAttribute("data-handled","true"),fe(t,n,e));const r=new MutationObserver(()=>{t.removeAttribute("data-observed"),r.disconnect()});t.parentNode&&r.observe(t.parentNode,{childList:!0,subtree:!0})},pe=(t,e)=>{const r=document.querySelectorAll(".form-error-tooltip"),i={};r.forEach(s=>{const o=s.getAttribute("data-uid");if(!o)return;const c=document.getElementById(o);if(!c)return;const l=c.getAttribute("parentid");l&&(i[l]||(be(s,t,e),i[l]=!0))})},ve=t=>{document.querySelectorAll(".widget-paypal, .widget-payu, .widget-stripe").forEach(n=>{n.setAttribute("data-session",t)})},Te=t=>new URL(t).protocol.includes("https"),{VIEW_LIGHTBOX:ye}=A,ut=({lightbox:t,cookieValue:e,data:n})=>{const r=t.getAttribute("id");if(!r)return;let i=t.classList.contains("show-lightbox");new MutationObserver(o=>{o.forEach(c=>{if(c.type==="attributes"&&c.attributeName==="class"){const l=t.classList.contains("show-lightbox");if(l&&!i){const d=t.getAttribute("data-lightbox-name")||"";L({type:ye,elementId:r,label:d,cookieValue:e,data:n})}i=l}})}).observe(t,{attributes:!0})},dt=t=>{const e=r=>r instanceof HTMLAnchorElement;return t.filter(e)},mt=t=>[...t.getElementsByClassName("widget-form")].filter(lt),gt=t=>t.filter(n=>{const r=n.hasAttribute("subtype"),i=n.getAttribute("subtype")==="redirect"||n.getAttribute("subtype")==="landingpage",s=n.getAttribute("href")||"",o=!s.startsWith("mailto:")&&!s.startsWith("tel:")&&!s.startsWith("sms:")&&!s.startsWith("callto:");return r&&i&&o}),ht=t=>t.filter(n=>{const r=n.hasAttribute("subtype"),i=n.getAttribute("subtype")==="redirect"||n.getAttribute("subtype")==="landingpage",s=n.getAttribute("href")||"",o=!s.startsWith("mailto:")&&!s.startsWith("tel:")&&!s.startsWith("sms:")&&!s.startsWith("callto:"),c=!n.hasAttribute("data-target-url");return r&&i&&o&&c}),R=t=>{try{return localStorage.getItem(t)}catch{return null}},j=(t,e)=>{try{localStorage.setItem(t,e)}catch{return}},ft=t=>{try{localStorage.removeItem(t)}catch{return}},{CLICK_ACCORDION:bt}=A,we=({accordionHeader:t,accordionElement:e,triggerToOpen:n,label:r,cookieValue:i,data:s})=>{if(n==="icon/image"){const o=t.querySelector(".accordion-trigger");o&&o.addEventListener("click",()=>{L({type:bt,elementId:e.id,label:r||void 0,cookieValue:i,data:s})})}else t.addEventListener("click",()=>{L({type:bt,elementId:e.id,label:r||void 0,cookieValue:i,data:s})})},Ee=(t,e)=>{document.querySelectorAll(".widget-accordion").forEach(r=>{const i=r.getAttribute("data-trigger");for(const s of r.children){const o=s.querySelector(".accordion-heading-container");if(!o)continue;const c=o.querySelector(".accordion-heading-text")?.textContent;we({accordionHeader:o,accordionElement:s,triggerToOpen:i,label:c,cookieValue:t,data:e})}})},pt=t=>t.filter(n=>{const r=n.getAttribute("href")||"",i=r.startsWith("mailto:")||r.startsWith("tel:")||r.startsWith("sms:")||r.startsWith("callto:");return r&&i}),vt=(t,e)=>{t.forEach(n=>
1{n.setAttribute("data-session-value",e)})};var Ie=" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+/1\\.0;|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/",ke=/bot|crawl|http|lighthouse|scan|search|spider/i,N;function Ce(){if(N instanceof RegExp)return N;try{N=new RegExp(Ie,"i")}catch{N=ke}return N}var _e=t=>typeof t=="string"&&t!=="";function Ae(t){return _e(t)&&Ce().test(t)}var Le=Ae;const Tt=()=>{try{const t=window?.navigator?.userAgent;return t?Le(t):!1}catch{return!1}},{VISIT:Se}=A,Oe=async({cookieValue:t,data:e,eventHandlers:n})=>{const{getEvent:r,setEvent:i}=n,s=Tt();r(nt)!==!0&&(await L({type:Se,cookieValue:t,data:e,pageLocation:window.location.href,isBot:s}),i(nt))},xe=async({scroll_depth:t,cookieValue:e,data:n})=>{const{luuid:r,lhash:i,auuid:s}=n,o=$(),c={session_id:e,scroll_depth:t,landing_uuid:r,variant_hash:i,account_uuid:s,...o&&{page_type:o.toString()}},l=`${Y}/scroll?${new URLSearchParams({...c})}`;try{const d=await fetch(l);if(!d.ok)throw new Error(`Request failed with status ${d.status}`)}catch(d){console.error(d)}},yt={10:"10",25:"25",50:"50",75:"75",90:"90",99:"100"},wt={},Be=({cookieValue:t,data:e,eventHandlers:n})=>{const{getEvent:r,setEvent:i}=n,s=()=>{const{scrollHeight:o}=document.documentElement,c=window.innerHeight,h=(window.scrollY+c)/o*100;if(h>=10){let m=0;Object.keys(yt).map(Number).forEach(p=>{h>=p&&(m=p)}),wt[m]||(wt[m]=!0,xe({scroll_depth:yt[m],cookieValue:t,data:e}))}};r(rt)!==!0&&(s(),window.addEventListener(Kt,()=>{s()}),i(rt))},{START_FILLING_FORM:Re}=A,Ne=['input[class*="widget-input-"]','input[class*="file-input"]','select[class*="widget-input-"]','textarea[class*="widget-textarea"]'].join(", "),Me=t=>t instanceof HTMLElement&&t.matches(Ne),Et=({forms:t,data:e,cookieValue:n,eventHandlers:r})=>{const{setEvent:i,getEvent:s}=r;t.forEach(o=>{if(!o.id)return;const c=Z(o);if(!c)return;const l=o.id,d=Q(c);o.addEventListener("focus",h=>{if(!Me(h.target))return;const m=s(J);typeof m!="object"||m[l]===!0||(L({type:Re,elementId:l,label:d,cookieValue:n,data:e,element:c}),i(J,{formId:l}))},!0)})},It=(t,e)=>{t.forEach(n=>{const r=n.getAttribute("href");if(r)try{const i=new URL(r,window.location.href);i.searchParams.set("_session",e),n.setAttribute("href",i.href)}catch(i){console.error("Invalid URL:",r,i)}})},kt=({redirectButtons:t,cookieValue:e,data:n})=>{t.forEach(r=>{const i=r.getAttribute("href");if(i)try{const s=new URL(i,window.location.href);s.searchParams.set("_la_s",e),s.searchParams.set("_la_lid",n.luuid),s.searchParams.set("_la_vh",n.lhash),s.searchParams.set("_la_aid",n.auuid),r.setAttribute("href",s.href)}catch(s){console.error("Invalid URL:",i,s)}})};/*! ***************************************************************************** 2 Copyright (c) Microsoft Corporation. All rights reserved. 3 Licensed under the Apache License, Version 2.0 (the "License");
3 you may not use 4 this file except in compliance with the License. You may obtain a copy of the 5 License at http://www.apache.org/licenses/LICENSE-2.0 6 7 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 8 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 9 WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 10 MERCHANTABLITY OR NON-INFRINGEMENT. 11 12 See the Apache Version 2.0 License for specific language governing permissions 13 and limitations under the License. 14 ***************************************************************************** */var tt=function(){return tt=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},tt.apply(this,arguments)};function Pe(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var D=Pe,F=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ue=typeof F=="object"&&F&&F.Object===Object&&F,$e=Ue,je=typeof self=="object"&&self&&self.Object===Object&&self,De=$e||je||Function("return this")(),Ct=De,Fe=function(){return Ct.Date.now()},et=Fe,He=Ct.Symbol,H=He,_t=Object.prototype,Ve=_t.hasOwnProperty,Ke=_t.toString,M=H?H.toStringTag:void 0;function We(t){var e=Ve.call(t,M),n=t[M];try{t[M]=void 0;var r=!0}catch{}var i=Ke.call(t);return r&&(e?t[M]=n:delete t[M]),i}var Ge=We,ze=Object.prototype,qe=ze.toString;function Ye(t){return qe.call(t)}var Je=Ye,Xe="[object Null]",Qe="[object Undefined]",At=H?H.toStringTag:void 0;function Ze(t){return t==null?t===void 0?Qe:Xe:At&&At in Object(t)?Ge(t):Je(t)}var tn=Ze;function en(t){return t!=null&&typeof t=="object"}var nn=en,rn="[object Symbol]";function sn(t){return typeof t=="symbol"||nn(t)&&tn(t)==rn}var on=sn,Lt=NaN,an=/^\s+|\s+$/g,cn=/^[-+]0x[0-9a-f]+$/i,ln=/^0b[01]+$/i,un=/^0o[0-7]+$/i,dn=parseInt;function mn(t){if(typeof t=="number")return t;if(on(t))return Lt;if(D(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=D(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(an,"");var n=ln.test(t);return n||un.test(t)?dn(t.slice(2),n?2:8):cn.test(t)?Lt:+t}var St=mn,gn="Expected a function",hn=Math.max,fn=Math.min;function bn(t,e,n){var r,i,s,o,c,l,d=0,h=!1,m=!1,p=!0;if(typeof t!="function")throw new TypeError(gn);e=St(e)||0,D(n)&&(h=!!n.leading,m="maxWait"in n,s=m?hn(St(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p);function b(g){var T=r,w=i;return r=i=void 0,d=g,o=t.apply(w,T),o}function f(g){return d=g,c=setTimeout(y,e),h?b(g):o}function C(g){var T=g-l,w=g-d,O=e-T;return m?fn(O,s-w):O}function I(g){var T=g-l,w=g-d;return l===void 0||T>=e||T<0||m&&w>=s}function y(){var g=et();if(I(g))return _(g);c=setTimeout(y,C(g))}function _(g){return c=void 0,p&&r?b(g):(r=i=void 0,o)}function S(){c!==void 0&&clearTimeout(c),d=0,r=l=i=c=void 0}function a(){return c===void 0?o:_(et())}function u(){var g=et(),T=I(g);if(r=arguments,i=this,l=g,T){if(c===void 0)return f(l);if(m)return c=setTimeout(y,e),b(l)}return c===void 0&&(c=setTimeout(y,e)),o}return u.cancel=S,u.flush=a,u}var pn=bn,vn="Expected a function";function Tn(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(vn);return D(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),pn(t,e,{leading:r,maxWait:e,trailing:i})}var yn=Tn,Ot=["scroll","resize"],xt=["wheel","keydown","keyup","mousedown","mousemove","touchstart","touchmove","click","contextmenu"],wn=function(){function t(e){var n=e.timeIntervalEllapsedCallbacks,r=n===void 0?[]:n,i=e.absoluteTimeEllapsedCallbacks,s=i===void 0?[]:i,o=e.checkCallbacksIntervalMs,c=o===void 0?100:o,l=e.browserTabInactiveCallbacks,d=l===void 0?[]:l,h=e.idleCallbacks,m=h===void 0?[]:h,p=e.stopTimerOnTabchange,b=p===void 0?!0:p,f=e.activeCallbacks,C=f===void 0?[]:f,I=e.browserTabActiveCallbacks,y=I===void 0?[]:I,_=e.idleTimeoutMs,S=_===void 0?3e3:_,a=this;this.onBrowserTabInactive=function(){a.isRunning()&&a.stopTimerOnTabchange&&a.stopTimer(),a.browserTabInactiveCallbacks.forEach(function(u){return u(a.getTimeInMilliseconds())})},this.onBrowserTabActive=function(){a.isRunning()||a.startTimer(),a.browserTabActiveCallbacks.forEach(function(u){return u(a.getTimeInMilliseconds())})},this.onBrowserActiveChange=function(){document.visibilityState==="visible"?a.onBrowserTabActive():a.onBrowserTabInactive()},this.onTimePassed=function(){a.absoluteTimeEllapsedCallbacks.forEach(function(u,g){var T=u.callback,w=u.pending,O=u.timeInMilliseconds;w&&O<=a.getTimeInMilliseconds()&&(T(a.getTimeInMilliseconds()),a.absoluteTimeEllapsedCallbacks[g].pending=!1)}),a.timeIntervalEllapsedCallbacks.forEach(function(u,g){var T=u.callback,w=u.timeInMilliseconds,O=u.multiplier;w<=a.getTimeInMilliseconds()&&(T(a.getTimeInMilliseconds()),a.timeIntervalEllapsedCallbacks[g].timeInMilliseconds=O(w))}),a.currentIdleTimeMs>=a.idleTimeoutMs&&a.isRunning()?(a.idle=!0,a.stopTimer(),a.idleCallbacks.forEach(function(u){return u(a.getTimeInMilliseconds())})):a.currentIdleTimeMs+=a.checkCallbacksIntervalMs},this.resetIdleTime=function(){a.idle&&a.startTimer(),a.activeCallbacks.forEach(function(u){return u(a.getTimeInMilliseconds())}),a.idle=!1,a.currentIdleTimeMs=0},this.registerEventListeners=function(){var u={passive:!0},g=tt({},u,{capture:!0});document.addEventListener("visibilitychange",a.onBrowserActiveChange);var T=yn(a.resetIdleTime,2e3,{leading:!0,trailing:!1});
14Ot.forEach(function(w){window.addEventListener(w,T,g)}),xt.forEach(function(w){return document.addEventListener(w,T,u)})},this.unregisterEventListeners=function(){document.removeEventListener("visibilitychange",a.onBrowserActiveChange),Ot.forEach(function(u){return window.removeEventListener(u,a.resetIdleTime)}),xt.forEach(function(u){return document.removeEventListener(u,a.resetIdleTime)})},this.checkCallbacksOnInterval=function(){a.checkCallbackIntervalId=window.setInterval(function(){a.onTimePassed()},a.checkCallbacksIntervalMs)},this.startTimer=function(){a.checkCallbackIntervalId||a.checkCallbacksOnInterval();var u=a.times[a.times.length-1];u&&u.stop===null||(a.times.push({start:performance.now(),stop:null}),a.running=!0)},this.stopTimer=function(){a.times.length&&(a.times[a.times.length-1].stop=performance.now(),a.running=!1)},this.addTimeIntervalEllapsedCallback=function(u){a.timeIntervalEllapsedCallbacks.push(u)},this.addAbsoluteTimeEllapsedCallback=function(u){a.absoluteTimeEllapsedCallbacks.push(u)},this.addBrowserTabInactiveCallback=function(u){a.browserTabInactiveCallbacks.push(u)},this.addBrowserTabActiveCallback=function(u){a.browserTabActiveCallbacks.push(u)},this.addIdleCallback=function(u){a.idleCallbacks.push(u)},this.addActiveCallback=function(u){a.activeCallbacks.push(u)},this.getTimeInMilliseconds=function(){return a.times.reduce(function(u,g){return g.stop?u=u+(g.stop-g.start):u=u+(performance.now()-g.start),u},0)},this.isRunning=function(){return a.running},this.isIdle=function(){return a.idle},this.reset=function(){a.times=[]},this.destroy=function(){a.unregisterEventListeners(),a.checkCallbackIntervalId&&window.clearInterval(a.checkCallbackIntervalId)},this.running=!1,this.times=[],this.idle=!1,this.currentIdleTimeMs=0,this.marks={},this.measures={},this.stopTimerOnTabchange=b,this.browserTabActiveCallbacks=y,this.browserTabInactiveCallbacks=d,this.checkCallbacksIntervalMs=c,this.idleTimeoutMs=S,this.timeIntervalEllapsedCallbacks=r,this.absoluteTimeEllapsedCallbacks=s,this.idleCallbacks=m,this.activeCallbacks=C,this.registerEventListeners()}return t.prototype.mark=function(e){this.marks[e]||(this.marks[e]=[]),this.marks[e].push({time:this.getTimeInMilliseconds()})},t.prototype.getMarks=function(e){if(!(this.marks[e].length<1))return this.marks[e]},t.prototype.measure=function(e,n,r){var i=this.marks[n],s=i[i.length-1],o=this.marks[r],c=o[o.length-1];this.measures[e]||(this.measures[e]=[]),this.measures[e].push({name:e,startTime:s.time,duration:c.time-s.time})},t.prototype.getMeasures=function(e){if(!(!this.measures[e]&&this.measures[e].length<1))return this.measures[e]},t}();const En=async({absolute_time:t,activity_time:e,cookieValue:n})=>{const r={session_uuid:n,absolute_time:t,activity_time:e},i=`${Y}/update-time`;if(navigator.sendBeacon){const o=new URLSearchParams({...r});if(navigator.sendBeacon(i,o))return}const s=`${i}?${new URLSearchParams({...r})}`;try{const o=await fetch(s);if(!o.ok)throw new Error(`Request failed with status ${o.status}`)}catch(o){console.error(o)}},{THANK_YOU:In}=it,V={IDLE_TIMEOUT:5e3,CHECK_INTERVAL:250,BACKUP_INTERVAL:5e3,SEND_DEBOUNCE:1e3},kn=({cookieValue:t,activityTimeHandlers:e})=>{const{setActivityTime:n,getActivityTime:r,getUuid:i}=e,s=$();if(Tt()||s===In)return;let c=!1,l=!1,d=null;const h=new wn({timeIntervalEllapsedCallbacks:[],absoluteTimeEllapsedCallbacks:[],browserTabInactiveCallbacks:[],browserTabActiveCallbacks:[],idleTimeoutMs:V.IDLE_TIMEOUT,checkCallbacksIntervalMs:V.CHECK_INTERVAL}),m={startTime:Date.now(),totalPausedTime:0,pauseStartTime:null,initialActivityTime:0,initialAbsoluteTime:0,shouldContinue:!1},p=()=>{try{const E=r(),k=i();if(!E||k!==t)return;const{abs_t:x,act_t:On}=E;m.shouldContinue=!0,m.initialActivityTime=Number(On)||0,m.initialAbsoluteTime=Number(x)||0}catch{}},b=()=>{const E=Date.now(),k=m.pauseStartTime?m.totalPausedTime+(E-m.pauseStartTime):m.totalPausedTime;return(E-m.startTime-k)/1e3},f=()=>{const E=b(),k=h.getTimeInMilliseconds()/1e3;return{totalAbsoluteTime:(m.shouldContinue?E+m.initialAbsoluteTime:E).toFixed(3),totalActivityTime:(m.shouldContinue?k+m.initialActivityTime:k).toFixed(3)}},C=()=>{try{const{totalAbsoluteTime:E,totalActivityTime:k}=f();n({absoluteTime:E,activityTime:k,lastUpdate:Date.now()})}catch{}},I=async()=>
14{if(!(c||l)){l=!0;try{const{totalAbsoluteTime:E,totalActivityTime:k}=f();await En({absolute_time:E,activity_time:k,cookieValue:t}),C()}catch{C()}finally{l=!1}}},y=()=>{d&&clearTimeout(d),d=setTimeout(()=>{I(),d=null},V.SEND_DEBOUNCE)},_=()=>{m.pauseStartTime===null&&(m.pauseStartTime=Date.now())},S=()=>{m.pauseStartTime!==null&&(m.totalPausedTime+=Date.now()-m.pauseStartTime,m.pauseStartTime=null)},a=()=>{c||(document.visibilityState==="hidden"?(_(),y()):document.visibilityState==="visible"&&S())},u=E=>{E.persisted&&!c&&h.startTimer()},g=()=>{c||I()},T=()=>{[["visibilitychange",a],["beforeunload",g],["pagehide",g],["pageshow",u],["blur",a],["focus",a]].forEach(([k,x])=>{window.addEventListener(k,x)})},w=()=>{[["visibilitychange",a],["beforeunload",g],["pagehide",g],["pageshow",u],["blur",a],["focus",a]].forEach(([k,x])=>{window.removeEventListener(k,x)})};p(),h.startTimer(),T();const O=setInterval(()=>{C()},V.BACKUP_INTERVAL);return()=>{c||(c=!0,d&&(clearTimeout(d),d=null),I(),clearInterval(O),w(),h.destroy())}},Cn=({cookieName:t})=>{const e=`${B}${t}`,n=R(e),r=n&&JSON.parse(n),{t:i,e:s,u:o,a_t:c}=r;return{eventHandlers:{setEvent:(b,f)=>{b===J?f?.formId&&(s[b][f.formId]=!0):s[b]=!0,j(e,JSON.stringify({e:s,t:i,u:o,a_t:c}))},getEvent:b=>s[b]},activityTimeHandlers:{setActivityTime:({absoluteTime:b,activityTime:f,lastUpdate:C})=>{j(e,JSON.stringify({e:s,t:i,u:o,a_t:{abs_t:b,act_t:f,lst_u:C}}))},getActivityTime:()=>c,getUuid:()=>o}}},Bt=(t,e)=>{const{tid:n}=e,r=new FormData;n&&r.append("tid",n.toString()),fetch(t,{method:"POST",body:r}).then(i=>{if(!i.ok)throw new Error(`EventTracker: Request failed with status ${i.status}. Response message: ${i.statusText}, response url: ${i.url}. Url: ${t}, data: ${JSON.stringify(e)}`)}).catch(i=>console.error(`EventTracker error in sendVisitToOldStatsSystem: ${i}`))},_n=()=>{const t=new Date().getTime(),e=30*60*1e3;for(let n=0;n<localStorage.length;n++){const r=localStorage.key(n);if((r&&r.startsWith("ls_sid_")||r&&r.startsWith("cookie_value-")||r&&r.startsWith("cookie-value-")||r&&r.startsWith("previousCookieValues-"))&&R(r)&&ft(r),r&&r.startsWith(B)){const i=R(r);if(i)try{const{t:s}=JSON.parse(i);t-s>=e&&ft(r)}catch(s){console.error(`Error parsing localStorage item in removeExpiredLocalStorageItems: ${s}`)}}}},An=t=>{if(t)try{return(t&&JSON.parse(t)).u}catch(e){console.error(`Error parsing localStorage item in getCookieValueFromLocalStorage: ${e}`)}},Ln=(t,e,n)=>{const{hasAccessToVisitWithoutCookie:r,hasAccessToEventTracker:i}=e;_n();let s;if(r){if(!i){$()==="main"&&Bt(n,e);return}const o=`${B}${t}`,c=R(o);s=An(c)}else s=G.get(t);if(s)try{const o=`${B}${t}`;return R(o)||j(o,JSON.stringify({e:{v:!1,s:!1,s_f_f:{}},t:new Date().getTime(),u:s,a_t:{abs_t:"",act_t:"",lst_u:0}})),s}catch(o){throw new Error(`EventTracker: Error: ${o}, data: ${JSON.stringify(e)}, name: ${t}, url: ${n}`)}else{Bt(n,e);const o=window.location.href,c=Te(o);try{if(!c)throw new Error(`EventTracker: URL is not secure. url: ${o}`);const l=Ut();r||G.set(t,l,{expires:Dt(30),path:window.location.pathname,secure:!0});const d=`${B}${t}`;return j(d,JSON.stringify({e:{v:!1,s:!1,s_f_f:{}},t:new Date().getTime(),u:l,a_t:{abs_t:"",act_t:"",lst_u:0}})),l}catch(l){throw new Error(`EventTracker: Error: ${l}, data: ${JSON.stringify(e)}, name: ${t}, url: ${n}`)}}},Sn=async(t,e,n)=>{const{hasAccessToEventTracker:r,hasAccessToExternalEvents:i}=n,s=Ln(t,n,e);if(!s)return;const{eventHandlers:o,activityTimeHandlers:c}=Cn({cookieName:t});if(r){await Oe({cookieValue:s,data:n,eventHandlers:o}),at({parentElement:document.body,data:n,cookieValue:s,selectors:[".widget-button",".widget-image",".widget-icon",".widget-svgicon"]});const l=mt(document);ct(l,s),ve(s),Et({forms:l,data:n,cookieValue:s,eventHandlers:o}),ge(s,n),Ee(s,n),Be({cookieValue:s,data:n,eventHandlers:o}),kn({cookieValue:s,activityTimeHandlers:c});const d=[...document.getElementsByClassName("widget-button")],h=dt(d);if(i){const f=gt(h);kt({redirectButtons:f,cookieValue:s,data:n})}else{const f=ht(h);It(f,s)}const m=pt(h);vt(m,s),document.querySelectorAll("[data-lightbox-name]").forEach(f=>{ut({lightbox:f,cookieValue:s,data:n})}),new MutationObserver(f=>{f.forEach(C=>{C.addedNodes?.forEach(I=>
14{if(!(I instanceof HTMLElement))return;const y=I;at({parentElement:y,data:n,cookieValue:s,selectors:[".widget-button",".widget-image",".widget-icon",".widget-svgicon"]}),pe(s,n);const _=mt(y);ct(_,s),Et({forms:_,data:n,cookieValue:s,eventHandlers:o});const S=[...y.getElementsByClassName("widget-button")],a=dt(S);if(i){const g=gt(a);kt({redirectButtons:g,cookieValue:s,data:n})}else{const g=ht(a);It(g,s)}const u=pt(a);vt(u,s),y.hasAttribute("data-lightbox-name")&&ut({lightbox:y,cookieValue:s,data:n})})})}).observe(document.body,{childList:!0,subtree:!0})}};return K.runScript=Sn,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}),K}({});
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.