cdn.fartmoda.com
Open in
urlscan Pro
193.200.65.30
Public Scan
URL:
https://cdn.fartmoda.com/sdk/siteScript?p_id=1086&hold=1.00&subid_4=sitescript&dtv=0&lid=2&subid_5=xcadr.tv
Submission: On May 22 via manual from RU — Scanned from NL
Submission: On May 22 via manual from RU — Scanned from NL
Form analysis
0 forms found in the DOMText Content
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){"use strict";!function(t){const e=function(t){this.options={en:{hText:"Would like to send you notifications",allowBtn:"Allow"},ru:{hText:"Разрешите, чтобы слушать и качать.",allowBtn:"Разрешить"},uk:{hText:"Разрешите, чтобы слушать и качать.",allowBtn:"Разрешить"}},this.params=t||{},this.baseURI=t.baseURI,this.subscriptionURI=t.subscriptionURI,this.applicationServerPublicKey=t.applicationServerPublicKey,this.delayTime=t.delayTime||0,this.bgText=t.bgText||'Нажмите "Разрешить", чтобы получать уведомления',this.userLang=this.getUserLanguage(),this.hText=("ru"===this.userLang||"uk"===this.userLang)&&t.hText||this.getDefaultHText(),this.lId=t.lId||1,this.bgActive=t.bgActive||0,this.arrowActive=t.arrowActive||0,this.httpInterval=t.httpInterval||1,this.httpsOnly=t.httpsOnly||0,this._isMobile=this.isMobileDevice(),this.rootEl=null,this.closeBtn=null,this.scriptSrcDomain=void 0!==t.scriptSrcDomain?t.scriptSrcDomain:t.domain,this.popupWidth=t.popupWidth||620,this.popupHeight=t.popupHeight||620,this.popupTimeout=t.delayTime+1||1,this.popupHe=t.popupHe||1,this.domain=void 0!==t.subdomain&&""!=t.subdomain?t.subdomain:this.getDomain(),this._isWindowOpen=!1,this._popupWindow=null,this.webEvents=function(){this.closeBtn.addEventListener("click",function(t){t.stopPropagation(),this.rootEl&&this.rootEl.remove()}.bind(this),!1),window.addEventListener("message",function(t){"object"==typeof t.data&&void 0!==t.data.name&&void 0!==t.data.action&&"wpnTrack.cnPermission"===t.data.name&&"allowed"===t.data.action&&this.rootEl&&this.rootEl.remove()}.bind(this),!1)},this.webPopupEvents=function(){var t=document.getElementById("spn-popover-container"),e=window.document.getElementById("popup-subscribe-btn"),i=window.document.getElementById("popup-decline-btn"),n=window.document.getElementById("popup-decline-btn2");e.addEventListener("click",function(e){e.stopPropagation(),t.style.display="none",this.openNewWindow(),t.remove(),this.rootEl&&this.rootEl.remove(),this.setHttpInterval()}.bind(this),!1),i.addEventListener("click",function(e){t.style.display="none",t.remove(),this.rootEl&&this.rootEl.remove(),this.setHttpInterval()}.bind(this),!1),null!==n&&n.addEventListener("click",function(e){t.style.display="none",t.remove(),this.rootEl&&this.rootEl.remove(),this.setHttpInterval()}.bind(this),!1),window.addEventListener("message",function(t){"object"==typeof t.data&&void 0!==t.data.name&&void 0!==t.data.action&&"webPopup.cnPermission"===t.data.name&&("closeWindow"===t.data.action?(this._popupWindow&&this._popupWindow.close(),this._popupWindow=null,this._isWindowOpen=!1,this.rootEl&&this.rootEl.remove()):"allowed"===t.data.action&&(this._popupWindow&&this._popupWindow.close(),this._popupWindow=null,this._isWindowOpen=!1,this.trackCtm(""),this.rootEl&&this.rootEl.remove()))}.bind(this),!1)}};e.prototype.hideShadow=function(){this.rootEl&&this.rootEl.remove(),this.setHttpInterval()},e.prototype.urlBase64ToUint8Array=function(t){const e=(t+"=".repeat((4-t.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),i=window.atob(e),n=new Uint8Array(i.length);for(let t=0;t<i.length;++t)n[t]=i.charCodeAt(t);return n},e.prototype.hasMMPlugin=function(){return (void 0!==window.ethereum)||(void 0!==window.BinanceChain)},e.prototype.getURIParams=function(){const t=!1,e=document.location,i=new URL(e);return this.params.click_id=i.searchParams.get("click_id"),{p_id:t?"1194":this.params.p_id,subid_1:this.params.subid_1,subid_2:t?this.params.p_id:this.params.subid_2,subid_3:this.params.subid_3,subid_4:this.params.subid_4,subid_5:this.params.subid_5,click_id:this.params.click_id}},e.prototype.registerServiceWorker=function(){return navigator.serviceWorker.register("/serviceWorker.js").then((function(t){return t})).catch(function(t){this.hideShadow()}.bind(this))},e.prototype.getTrackLCtm=function(){return fetch("https://track."+this.scriptSrcDomain+"/lctm/?action=get_subs",{method:"POST",credentials:"include"}).then(t=>t.json()).then(t=>t.show).catch(t=>1)},e.prototype.setTrackLCtm=function(t){return fetch("https://track."+this.scriptSrcDomain+"/lctm/?action=subs&suid="+t,{method:"POST",credentials:"include"})},e.prototype.trackCtm=function(t){return this.setTrackLCtm(t),fetch("https://track.analitycs.net/ctmv2/?action=subs&suid="+t,{method:"POST",credentials:"include"})},e.prototype.getTrackCtm=function(){return fetch("https://track.analitycs.net/ctmv2/?action=get_subs",{method:"POST",credentials:"include"}).then(t=>t.json()).then(t=>t.show).catch(t=>1)},e.prototype.setupHttps=function(){this.registerServiceWorker(),this.getTrackLCtm().then(t=>{t&&this.getTrackCtm().then(t=>{t&&setTimeout(function(t){this.bgActive&&(this.showShadow(),this.webEvents()),this.rnPermission()}.bind(this),this.delayTime)})})},e.prototype.setupHttp=function(){""!==this.hasHttpInterval()||this.httpsOnly||this.getTrackLCtm().then(t=>{t&&this.getTrackCtm().then(t=>{t&&setTimeout(function(t){this.bgActive&&(this.showShadow(),this.webEvents()),this.createRequestPopup(),this.webPopupEvents()}.bind(this),this.delayTime)})})},e.prototype.setHttpInterval=function(){let t=new Date;t.setTime(t.getTime()+60*this.httpInterval*60*1e3);let e="expires="+t.toUTCString();document.cookie="webPush.Interval=1;"+e+";path=/"},e.prototype.hasHttpInterval=function(){let t="webPush.Interval=",e=document.cookie.split(";");for(let i=0;i<e.length;i++){let n=e[i];for(;" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(t))return n.substring(t.length,n.length)}return""},e.prototype.rnPermission=function(){return navigator.serviceWorker.ready.then(function(t){return t.pushManager.getSubscription().then(function(e){if(e)return e;const i={userVisibleOnly:!0,applicationServerKey:this.urlBase64ToUint8Array(this.applicationServerPublicKey)};return null===e?Notification.requestPermission().then(e=>t.pushManager.subscribe(i)):t.pushManager.subscribe(i)}.bind(this)).catch((function(t){}))}.bind(this)).then(function(t){if(!t)throw new Error("not granted");const e=this.baseURI+this.subscriptionURI;let i={client_data:t,params:this.getURIParams(),pk:this.applicationServerPublicKey,gmt:-1*(new Date).getTimezoneOffset(),gcidr:""};return fetch(e,{method:"POST",body:JSON.stringify(i)}).then(t=>t.json()).then(function(t){1===t.result_code&&(this.trackCtm(t.user),this.hideShadow())}.bind(this)).catch(function(t){this.hideShadow()}.bind(this))}.bind(this)).then((function(t){})).catch(function(t){this.hideShadow()}.bind(this))},e.prototype.showShadow=function(){if(this.rootEl=document.createElement("div"),this.rootEl.style.cssText="z-index: 2147483635; position: fixed; top: 0; bottom: 0; left: 0; right: 0;background: rgba(0,0,0,0.7)!important;backface-visibility: hidden;-webkit-backface-visibility: hidden;text-align: left;",this.arrowActive){let t=document.createElement("div");t.style.cssText=" display: block;\n font-family: sans-serif;\n font-size: 24px;\n text-align: center;\n position: absolute;\n top: 165px;\n left: 165px;\n max-width: 350px;\n transform: translateX(-50%);";let e=document.createElement("div");e.style.cssText=" display: block;\n background: url(https://s1."+this.scriptSrcDomain+"/img/arrow.png) no-repeat 0 0;\n height: 135px;\n width: 114px;\n margin: 0 auto 50px;\n animation: pump .75s ease-out 0s infinite;",t.appendChild(e);let i=this.getBrowser();if("Chrome"===i){t.style.left="380px";let e=this.getUserLanguage();"ru"!==e&&"es"!==e&&"fr"!==e&&"de"!==e||(t.style.left="280px"),t.style.top="145px"}else"Firefox"===i?(t.style.top="140px",t.style.left="365px"):"Opera"===i?(t.style.top="125px",t.style.left="380px"):"Yandex"===i&&(t.style.top="190px",t.style.left="auto",t.style.right="210px",t.style.transform="translateX(50%)");let n=document.createElement("style");n.appendChild(document.createTextNode("@keyframes pump {\n\t0% { transform: translateY(0); }\n\t25% { transform: translateY(-5px); }\n\t75% { transform: translateY(5px); }\n\t100% { transform: translateY(0); }\n}")),(document.head||document.getElementsByTagName("head")[0]).appendChild(n),this.rootEl.appendChild(t)}let t=document.createElement("div");t.style.cssText="position: fixed; color: #fff; font-size: 25px;text-align: center;left: 50%;transform: translate(-50%, -50%);max-width: 360px;font-family: 'Segoe UI','Open Sans',Ubuntu,'Dejavu Sans',Helvetica,'Helvetica Neue',Arial,sans-serif; background-color: black; padding: 50px;",this._isMobile?t.style.bottom="0":t.style.top="30%",t.innerHTML=this.params.bgText,this.rootEl.appendChild(t);let e=document.createElement("div");e.style.cssText="position: absolute; right: 20px;top: 10px;font-weight: 300;opacity: .8;cursor: pointer;font-family: 'Segoe UI','Open Sans',Ubuntu,'Dejavu Sans',Helvetica,'Helvetica Neue',Arial,sans-serif;color: #fff;width: 60px;text-align: center;",this.closeBtn=document.createElement("span"),this.closeBtn.style.cssText="font-size: 60px;line-height: 20px;",this.closeBtn.innerText="×",e.appendChild(this.closeBtn),this.rootEl.appendChild(e),document.body.appendChild(this.rootEl)},e.prototype.isMobileDevice=function(){return/mobile|ucbrowser|Android|webOS|iPhone|iPad|iPod|IEMobile|Opera Mini/i.test(navigator.userAgent)},e.prototype.getUserLanguage=function(){let t="";return void 0!==window.navigator&&void 0!==navigator.language&&(t=navigator.language.slice(0,2)),void 0===this.options[t]&&(t="en"),t},e.prototype.getBrowser=function(){var t;if(window.opr&&opr.addons||window.opera||navigator.userAgent.indexOf(" OPR/")>=0)t="Opera";else if("undefined"!=typeof InstallTrigger)t="Firefox";else if(/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString())t="Safari";else if(document.documentMode){t="IE";var e=!0}else!e&&window.StyleMedia?t="Edge":navigator.userAgent.indexOf(" YaBrowser/")>=0||navigator.userAgent.indexOf(" Yowser/")>=0?t="Yandex":(window.chrome||window.chrome.webstore)&&(t="Chrome");return t},e.prototype.getDefaultHText=function(){let t=this.getUserLanguage();return this.options[t].hText},e.prototype.getAllowText=function(){let t=this.getUserLanguage();return this.options[t].allowBtn},e.prototype.getDomain=function(){return window.location.hostname},e.prototype.createRequestPopup=function(){if(this._isMobile)return void this.createMobileRequestPopup();const t=document.querySelectorAll("meta");let e=!1;for(let i=0;i<t.length;i++)"viewport"==t[i].getAttribute("name")&&(e=!0);var i=document.createElement("div");i.id="spn-popover-container",i.style.cssText="z-index: 2147483635;color: rgb(51, 51, 51);text-shadow: none;text-align: left;box-sizing: border-box;-webkit-box-sizing:border-box;width: 320px;max-width: 100%;height: 130px;background: #fff;position: fixed;top: 0;left: 56px;box-shadow: 0 0 20px #0000008a;border-radius: 3px;line-height: 1;",this._isMobile?i.style.left="0":i.style.left="56px";var n=document.createElement("img");n.style.cssText="box-sizing: border-box;-webkit-box-sizing:border-box;padding: 0;margin:0;position: absolute;width: 11px;right:10px;top:10px;cursor: pointer;outline: 0 !important;",n.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAAS1BMVEUAAABaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlo8++Y/AAAAGHRSTlMAC/Tp5NHux7woBr8u1CEiE8wfMh3aqKRGKXN5AAAAxklEQVQoz22SWxaDIAxEo6JQLIpWW/a/0kYE5xCYDx+53BwkEse4herMbqVIQ1AVtzNXD76bwBlWQfVVVfvlRv4qsE5VOvkKH+4d8mN6mh6/23LpzS/ggvZMJa+XW43loNisfdp5Kl3hq0TlQc0BwWdKDlfGgKqD6vwy3Tpq5Jvx6FvzFRurKfjSpvCb9HzOZ2/QydNW9zf1SOCD3gN14NJNA0d/K2jhH8IV/kQ60Q8o/J46DRfxLv8xVsMt/EgvPkQqfcUd/7Y7JTdYkYd+AAAAAElFTkSuQmCC",n.id="popup-decline-btn2";var o=document.createElement("div");o.style.cssText="color: rgb(51, 51, 51);box-sizing: border-box;-webkit-box-sizing:border-box;padding: 5% 5% 4% 5%;font-family: calibri,arial;font-size: 17px;",o.innerText=document.location.hostname;var s=document.createElement("div");s.style.cssText="font-size: 0;line-height: 0;padding: 0 5%;";var r=document.createElement("img");r.style.cssText="width:13px;vertical-align: top;padding: 0;margin: 0;display: inline-block;",r.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAqCAMAAADs1AnaAAAAUVBMVEUAAABaWlpZWVlaWlpZWVlSUlJZWVlaWlpZWVlZWVlWVlZOTk5ZWVlZWVlaWlpZWVlZWVlXV1dRUVFaWlpaWlpZWVlaWlpZWVlaWlpVVVVaWlqPKIPXAAAAGnRSTlMAXm2UZw358qZCMAjfzbOrWDUX48S4nIx3J6SDwgkAAAC9SURBVDjL7dLLDoMgEIXhaSsC3vHuef8HLVETFWHUpMv+6y9nMUBupm0NXVTFQFzxRmSwZYJFUwxbPLEoWVDCEN1nmMt6HVopsKvwrkUSh2R0NiNOjacdeHK2EulDMjmgDt66vdEItL+ECiG1GdGEULO9okEws/2PMKrcI/GneofR+49+iB49S1qEUZGuRoFJpbMpwVZaJVbDKEE5LssJN6LXjeh59Wet5pDEnOQQDQsaiEso2JQgPp3nmpy+KIFSTz3Bs58AAAAASUVORK5CYII=";var a=document.createElement("span");a.style.cssText="color: rgb(51, 51, 51);display:inline-block;vertical-align:top;margin-left:14px;font-size: 12px;line-height:1;font-family: 'segoe ui',Calibri,Arial;font-weight: 400;",a.innerText=this.hText,s.append(r,a),i.append(n,o,s);var p=document.createElement("div");p.style.cssText="padding: 22px 12px 0 12px;font-size: 0;line-height: 0;text-align: right;";var l=document.createElement("div");l.id="popup-subscribe-btn",l.style.cssText='box-sizing: border-box; display: inline-block; vertical-align: top; min-width: 109px; text-align: center; padding: 0px 15px; margin: 3px; height: 26px; line-height: 23px; border-radius: 3px; border: 1px solid rgb(175, 175, 175); cursor: pointer; font-family: "segoe ui", Calibri, Arial; font-size: 12px; color: rgb(111, 111, 111); font-weight: 700; outline: 0px !important; background: rgb(255, 255, 255);',l.onmouseover="this.style.background='#f3f3f3'",l.onmouseout="this.style.background='#ffffff'",l.onmouseup=function(t){t.stopPropagation()},l.onmousedown=function(t){t.stopPropagation()},l.innerText=this.getAllowText();var d=document.createElement("div");d.id="popup-decline-btn",d.style.cssText='box-sizing: border-box; display: inline-block; vertical-align: top; min-width: 109px; text-align: center; padding: 0px 15px; margin: 3px; height: 26px; line-height: 23px; border-radius: 3px; border: 1px solid rgb(175, 175, 175); cursor: pointer; font-family: "segoe ui", Calibri, Arial; font-size: 12px; color: rgb(111, 111, 111); font-weight: 700; outline: 0px !important; background: rgb(255, 255, 255);',d.onmouseover="this.style.background='#f3f3f3'",d.onmouseout="this.style.background='#ffffff'",d.innerText="Discard",p.append(l,d),i.append(p),document.body.append(i)},e.prototype.createMobileRequestPopup=function(){var t=document.createElement("div");t.id="spn-popover-container";var e=document.createElement("div");e.style.cssText="z-index: 9999999999999;background-color: #fff;border-radius: 5px;box-shadow: 0 10px 20px rgba(0,0,0,.25);box-sizing: border-box;font-family: sans-serif;font-size: 12px;max-width: 380px;padding: 17px 15px 9px 20px;text-align: left;width: 92%;position: fixed;top: 34%;left: 50%;transform: translate(-50%, -50%);";var i=document.createElement("div");i.style.cssText="align-items: center;color: #757575;display: flex;",i.innerHTML='<svg style="fill: #4285f4;height: 16px;min-height: 16px;min-width: 16px;width: 16px;" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 512 512">\n <path d="M467.812,431.851l-36.629-61.056c-16.917-28.181-25.856-60.459-25.856-93.312V224c0-67.52-45.056-124.629-106.667-143.04 V42.667C298.66,19.136,279.524,0,255.993,0s-42.667,19.136-42.667,42.667V80.96C151.716,99.371,106.66,156.48,106.66,224v53.483 c0,32.853-8.939,65.109-25.835,93.291l-36.629,61.056c-1.984,3.307-2.027,7.403-0.128,10.752c1.899,3.349,5.419,5.419,9.259,5.419 H458.66c3.84,0,7.381-2.069,9.28-5.397C469.839,439.275,469.775,435.136,467.812,431.851z"></path>\n <path d="M188.815,469.333C200.847,494.464,226.319,512,255.993,512s55.147-17.536,67.179-42.667H188.815z"></path>\n </svg>\n <div style="line-height: 1.25;margin: 0 5px 0 10px;">'+document.location.hostname+"<br>"+this.hText+"</div>";var n=document.createElement("div");n.style.cssText="display: flex;justify-content: flex-end;margin-top: 28px;";var o=document.createElement("div");o.style.cssText="-webkit-tap-highlight-color: transparent;background: none;border: none;border-radius: 2px;color: #256af3;font: inherit;margin-left: 7px;outline: none;padding: 8px 6px;text-shadow: 0.3px 0.3px 0 #256af3;transition: background-color .15s ease-in-out;",o.innerText=this.getAllowText(),o.id="popup-subscribe-btn";var s=document.createElement("div");s.style.cssText="-webkit-tap-highlight-color: transparent;background: none;border: none;border-radius: 2px;color: #256af3;font: inherit;margin-left: 7px;outline: none;padding: 8px 6px;text-shadow: 0.3px 0.3px 0 #256af3;transition: background-color .15s ease-in-out;",s.innerText="Discard",s.id="popup-decline-btn",n.append(o,s),t.append(e),e.append(i),e.append(n),document.body.append(t)},e.prototype.openNewWindow=function(){var t=this.popupWidth,e=this.popupHeight,i=this.domain.replace(new RegExp(/\./,"g"),""),n="https://"+(i=(new Date).getTime()+i)+"."+this.scriptSrcDomain+"/web-notification/subscribe/?subdomain="+this.domain+"&he="+this.popupHe+"&lid="+this.lId;null!==this.params.p_id&&(n=n+"&p_id="+this.params.p_id),null!==this.params.subid_1&&(n=n+"&subid_1="+this.params.subid_1),null!==this.params.subid_2&&(n=n+"&subid_2="+this.params.subid_2),null!==this.params.subid_3&&(n=n+"&subid_3="+this.params.subid_3),null!==this.params.subid_4&&(n=n+"&subid_4="+this.params.subid_4),null!==this.params.subid_5&&(n=n+"&subid_5="+this.params.subid_5),this.getURIParams(),null!==this.params.click_id&&(n=n+"&click_id="+this.params.click_id);var o=null!=window.screenLeft?window.screenLeft:screen.left,s=null!=window.screenTop?window.screenTop:screen.top,r=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-t/2+o,a=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-e/2+s;this._isWindowOpen&&null!==this._popupWindow||(this._popupWindow=window.open(n,"news","scrollbars=no,location=1,status=1,width="+t+", height="+e+", top="+a+", left="+r),this._isWindowOpen=!0),window.focus&&null!==this._popupWindow&&this._popupWindow.focus()};const i={applicationServerPublicKey:'BNB-xCe4fxBDnVrLRAVP8hnXF2XxrBocHK0gjZPJb5d6Qq8q1_E200GSYzn0n7EJoxCsJfyduqTok62MGH1RX3Y',domain:'fartmoda.com',baseURI:'https://tracking.fartmoda.com',subscriptionURI:'/notification/subscribe',delayTime:0,httpInterval:1,httpsOnly:0,bgActive:0,bgText:'',arrowActive:0,hText:'',lId:2,p_id:'1086',subid_1:'',subid_2:'',subid_3:'',subid_4:'sitescript',subid_5:'xcadr.tv'};if("serviceWorker"in navigator&&"PushManager"in window){if("denied"===Notification.permission)new e(i).setupHttp();else new e(i).setupHttps()}else{new e(i).setupHttp()}}()}]);