Untitled
Untitled
, US Patent Pending
ClickTaleGlobal.init.isAllowed = (function() {
var doms =
["HasHZZPHuhJVT","iPaiBJRLahVyN","kHJhkLchHasAwHHZhuLa","LeJLLksTZAZaHNPuNhJVT","Za
HaBZwHNLhPV","ayLssVhJVT","gPmaVuLhJVT"];
if(location.protocol == "file:") return false;
for(var i=0, curr; i < doms.length, curr = doms[i]; i++) {
if(new RegExp("h" + curr + "$",
"i").test(dom))
return true;
}
return false;
})()
})(window.location.host.toLowerCase().replace(/^((www)?\.)/i, ""));
ClickTaleSettings.Proxy = {
WR: "ing-district.clicktale.net/ctn_v2/",
ImageFlag: "ing-district.clicktale.net/ctn_v2/"
}
ClickTaleSettings.Protocol = {
Method: "ImpactRecorder"
}
ClickTaleGlobal.diagnostics=function(){function n(n,t,o){if(n&&t)for(var r in T)
{var e=T[r];e.collect(t)&&e.errors.push({message:n,url:t,lineno:o})}return!!
S&&S(n,t,o)}function t(n){return"function"==typeof n}function o(){return
performance?performance.now():Date.now()}function r(n){++n.sampled>n.repeats?
g(n.name):e(n)}function e(n){var t=n.reporter()||
{},o=n.errors.splice(0),r=n.level,e=n.url,l={loaded:n.loaded,ready:n.ready,started:
n.started,level:o.length?"error":r,errors:encodeURIComponent(JSON.stringify(o))};e&
&r!==k&&(n.timeToLoad>0&&(l.timeToLoad=n.timeToLoad),a(n,i(i(e+"?
t=log&p="+n.pid,l),t),o))}function i(n,t){for(var o in t)n+="&"+I[o]
+"="+t[o];return n}function a(n,o,r){var e=L.sendBeacon,i=function(n)
{n.errors=r.concat(n.errors)};if(t(e))e.call(L,o)||i(n);else{var a=new
Image;a.onerror=a.ontimeout=function(){i(n)},a.timeout=3e4,a.src=o}}function l(n)
{T[n]&&(T[n].ready=!0)}function c(n){var t=T[n];t&&(t.loaded=!
0,t.timeToLoad=t.loadStart?o()-t.loadStart:0),T[n]=t}function d(n)
{T[n]&&(T[n].loading=!0,T[n].loadStart=o())}function u(n){T[n]&&(T[n].started=!
0)}function f(n){T[n]&&(T[n].starting=!0)}function s(n,o,r){var
e=window.ClickTaleMonitor;e&&(I.monitorState=40,I.isMonitoring=42,t(e.getPid)&&v(M,
e.getPid(),n||"https://conductor.clicktale.net/monitor",/\/monitor-(latest|[\d\.]
+).*\.js$/i,function(){var n=t(e.getState)&&e.getState();return!
this.errors.length&&n.match(/^(chunk|end)$/i)&&(this.level=k),
{monitorState:n,isMonitoring:t(e.isMonitoring)&&e.isMonitoring()}},o||5e3,r||
1))}function m(){g(M)}function v(t,o,r,e,i,a,l){T[t]=T[t]||new p(t,o,r,e,i,a,l),y||
(S=window.onerror,window.onerror=n,y=!0)}function g(n){var
t=T[n];t&&(clearInterval(t.sampler),delete T[n]);for(var o in T)return;y=!
1}function p(n,t,o,e,i,a,l){var
c=this;c.url=o,c.pid=t,c.errors=[],c.name=n,c.level="alert",c.repeats=l,c.loadStart
=c.sampled=c.timeToLoad=0,c.loading=c.loaded=c.starting=c.started=c.ready=!
1,c.reporter=function(){return i.call(c)},c.collect=function(n){return!!
n.match(e)},c.sampler=setInterval(function(){r(c)},a)}function h(n,t,o){var
r=n&&n.name,e=T[r];if(e){var i=e[t];"function"==typeof i&&i.apply(this,o)}}function
w(n,t,o){return{on:t,off:o,onready:function(){l(n)},onloaded:function()
{c(n)},onloading:function(){d(n)},onstarted:function(){u(n)},onstarting:function()
{f(n)}}}var
y,S,T={},L=navigator,k="info",M="monitor",I={level:0,loaded:2,ready:4,started:6,err
ors:8,timeToLoad:12};return{monitor:w(M,s,m),invoke:h}}();
return {
isRecordingApproved: function(percentage) {
return recordingThreshold <= percentage;
}
}
})();
(function (){
var dependencyCallback;
var scriptSyncTokens = ["wr"];
var ct2Callback, isRecorderReady;
var dependencies = scriptSyncTokens.slice(0);
var clickTaleOnReadyList = window.ClickTaleOnReadyList ||
(window.ClickTaleOnReadyList = []);
var indexOf = (function(){if(Array.prototype.indexOf){return
function(array,value){return array.indexOf(value)}}return function(array,value){var
length=array.length;for(var i=0;i<length;i++){if(array[i]===value){return i}}return
-1}})();
function isValidToken(token) {
if (indexOf(scriptSyncTokens, token) > -1) {
var index = indexOf(dependencies, token);
return false;
}
clickTaleOnReadyList.push(function () {
if (ct2Callback) {
ct2Callback();
}
isRecorderReady = true;
});
ClickTaleGlobal.scripts.dependencies = {
setDependencies: function (deps) {
scriptSyncTokens = deps;
},
onDependencyResolved: function (callback) {
dependencyCallback = callback;
},
notifyScriptLoaded: function (token) {
if (isValidToken(token)) {
if (dependencies.length === 0 && typeof dependencyCallback ===
"function") {
dependencyCallback();
}
}
}
};
ClickTaleGlobal.scripts.integration = {
onReady: function (callback) {
if (isRecorderReady) {
callback();
}
else {
ct2Callback = callback;
}
}
};
})();
window.ClickTaleIsXHTMLCompliant = true;
if (typeof (ClickTaleCreateDOMElement) != "function")
{
ClickTaleCreateDOMElement = function(tagName)
{
if (document.createElementNS)
{
return document.createElementNS('http://www.w3.org/1999/xhtml',
tagName);
}
return document.createElement(tagName);
}
}
window.ClickTaleSettings.PTC.EnableChangeMonitor = false;
window.ClickTaleSettings.PTC.UploadPageHappened = false;
window.ClickTaleSettings.PTC.IsMobile = false;
window.ClickTaleSettings.PTC.UseTransport = true;
window.ClickTaleUIDCookieName = "WRUIDAWS";
window.ClickTaleSettings.Protocol = {
Method: "ImpactRecorder",
};
window.ClickTaleSettings.Proxy = {
WR: "ing-district.clicktale.net/ctn_v2/",
ImageFlag: "ing-district.clicktale.net/ctn_v2/",
};
(function () {
var selectorForBoth = "selector";
var selectorForText = ".account-
link>a>span,#email[placeholder],.email,#uid1 .sc-cMljjf div:first-of-
type,#uid1 .sc-cMljjf div, #authCardConsentUserTextNickName, #atlConsentAccept >
span";
var selectorForStyle = "[class*=Droplist__Trigger] span";
// /**
// *
// * @param {!string} value - attribute value || textContent
// * @param {!Node} node
// * @param {!string} rule - css selector
// * @param {!number} type - 0 - text, 1 - attribute
// * @returns {!string}
// */
// function transform(value, node, rule, type) {
// var reg = /\w|[^\x00-\x7F]/g;
// return value.replace(reg, "-");
// }
ClickTaleSettings.DOM.PII = {
Text: [selectorForBoth, selectorForText],
Attributes: [
{
rule: selectorForBoth,
attr: "value",
},
{
rule: selectorForStyle,
attr: "style",
},
], //,
//Transform: transform
};
/**
*
* @param {!CSSStyleSheet} adoptedStyleSheets
*/
function getSerializedNode(adoptedStyleSheets) {
var textArray = [];
adoptedStyleSheets.forEach(function (sheet) {
var rules = /** @type{!CSSRuleList} */ (sheet.cssRules);
for (var i = 0; i < rules.length; i++) {
var rule = rules[i];
if (rule && rule.cssText) {
textArray.push(rule.cssText);
}
}
});
if (textArray.length) {
return {
nodeType: 1,
tagName: "style",
attributes: {
"data-addoptedCSS": "true",
},
childNodes: [
{
nodeType: 3,
textContent: textArray.join("\r\n"),
},
],
};
}
return null;
}
/**
*
* @param {!(DocumentOrShadowRoot|Element)} root
*/
function addSerializedNode(root, serializeAPI) {
var serializeNode,
parentNode = root,
adoptedStyleSheets;
switch (root.nodeType) {
case 11:
if ((adoptedStyleSheets = /** @type{!CSSStyleSheet} */
(root.adoptedStyleSheets)) && adoptedStyleSheets.length) {
serializeNode = getSerializedNode(adoptedStyleSheets);
}
break;
case 1:
if (typeof root.getRootNode === "function") {
root = root.getRootNode();
addSerializedNode(root, serializeAPI);
}
break;
case 9:
if ((adoptedStyleSheets = /** @type{!CSSStyleSheet} */
(root.adoptedStyleSheets)) && adoptedStyleSheets.length) {
serializeNode = getSerializedNode(adoptedStyleSheets);
parentNode = document.head || document.documentElement;
}
break;
}
if (serializeNode && parentNode) {
serializeAPI.addChild(parentNode, null, serializeNode);
}
}
var locationRules = [
// {
// selector: 'selector',
// Attributes: ['value'],
// Text: true,
// location: {
// prop: 'pathname',
// search: /account/i
// }
// }
];
locationRules.forEach(function (rule) {
if (rule.location) {
var prop = rule.location.prop;
var search = rule.location.search;
if (search.test(location[prop])) {
var Attributes = rule.Attributes;
var selector = rule.selector;
var Text = rule.Text;
var PII = ClickTaleSettings.DOM.PII;
if (Text) {
PII.Text.push(selector);
}
if (Array.isArray(Attributes)) {
Attributes.forEach(function (attr) {
PII.Attributes.push({
rule: selector,
attr: attr,
});
});
}
}
}
});
})();
(function () {
if (typeof window.ClickTalePIISelector === "string" && ClickTalePIISelector !=
"") {
try {
var domNodes = document.querySelector(ClickTalePIISelector);
var PII = ClickTaleSettings.DOM.PII;
PII.Text.push(ClickTalePIISelector);
PII.Attributes.push({
rule: ClickTalePIISelector,
attr: "value",
});
} catch (err) {
if (typeof ClickTaleNote === "function") {
ClickTaleNote("Bad PII selector: " +
encodeURIComponent(ClickTalePIISelector));
}
}
}
})();
ClickTaleSettings.PTC.AssetManager = {
isActive: false,
isNeedForImg: false,
subscriberId: "",
pid: "",
storageUrl: "https://s3.amazonaws.com/nv-p1-s3-assets-01/",
prefixSpecialCharacters: false,
getPrefixUrl: function () {
return this.storageUrl + this.subscriberId + "/" + this.pid;
},
getFullURL: function (type, url) {
var AMUrl = "";
if (url) {
switch (type) {
case "css":
AMUrl = this.getPrefixUrl() + "/CSS/" + url.replace(/:\/\//g,
"/").replace(/%20/g, " ");
if (this.prefixSpecialCharacters &&
this.prefixSpecialCharacters.test(AMUrl)) {
AMUrl = AMUrl.replace(/\?/g, "%253F").replace(/\&/g,
"%26").replace(/\=/g, "%3D");
} else {
AMUrl = AMUrl.replace(/\?.*/g, "");
}
break;
case "image":
AMUrl = this.getPrefixUrl() + "/IMAGE/" + url.replace(/:\/\//g,
"/").replace(/%20/g, " ");
break;
}
}
return !!AMUrl ? AMUrl : false;
},
init: function () {
if (this.isActive && this.pid && this.subscriberId) {
var transform = (ClickTaleSettings.DOM.Transform =
ClickTaleSettings.DOM.Transform || []);
transform.push({
rule: 'link[href][rel*="stylesheet"]',
attr: "href",
transform: function (value, node) {
if (value.indexOf("fonts.googleapis.com") == -1) {
return ClickTaleSettings.PTC.AssetManager.getFullURL("css",
node.href);
}
return value;
},
});
if (this.isNeedForImg) {
transform.push({
rule: "img[src]",
attr: "src",
transform: function (value, node) {
return ClickTaleSettings.PTC.AssetManager.getFullURL("img",
node.src);
},
});
}
}
},
};
ClickTaleSettings.PTC.AssetManager.init();
ClickTaleSettings.PTC.ConfigChangeMonitor = function () {
var excludeBothArray = ["svg"];
ClickTaleSettings.ChangeMonitor = {
Enable: ClickTaleSettings.PTC.EnableChangeMonitor,
// Roots: [document.body],
Exclude: {
ChildNodes: [],
Attributes: ["[__biza]"],
},
};
function insertIntoBoth(selector) {
exclude.ChildNodes.push(selector);
exclude.Attributes.push(selector);
}
function ClickTaleOnRecording() {
(function () {
function init() {
var uxaGet = _uxa.push(["getSessionData"]);
if (uxaGet && uxaGet.projectId) {
var checkIfCSisRecording = _uxa.push(["isRecording"]);
var playerType = "";
if (checkIfCSisRecording) {
playerType = "&recordingType=cs";
}
function callback(context) {
if (!disableCallback) {
disableCallback = true;
init(context);
}
}
var disableCallback = false;
window._uxa = window._uxa || [];
_uxa.push(["afterPageView", callback]);
})();
}
// End of user-defined pre WR code
if (!scriptSource) {
window.ClickTaleScriptSource = isHttps ?
'https://cdnssl.clicktale.net/www/' : 'http://cdn.clicktale.net/www/';
}
if(!ClickTaleGlobal.init.pccRequested) {
var pccSrc = pccSource ? pccSource : (isHttps ?
'https://cdnssl.clicktale.net/pcc/' : 'http://cdn.clicktale.net/pcc/');
pccSrc += 'ef81b94c-8498-4f12-b358-eb76a000a247.js?
DeploymentConfigName=Malka_20220419&Version=3';
var pccScriptElement = ClickTaleCreateDOMElement('script');
pccScriptElement.type = "text/javascript";
pccScriptElement.crossOrigin = "anonymous";
pccScriptElement.async = true;
if(ClickTaleGlobal.scripts.sri && ClickTaleGlobal.scripts.sri.hashes){
pccScriptElement.integrity = ClickTaleGlobal.scripts.sri.hashes.pcc;
pccScriptElement.src = ClickTaleGlobal.scripts.sri.path + "pcc.js";
}else {
pccScriptElement.src = pccSrc;
}
ClickTaleGlobal.init.isAllowed &&
document.body.appendChild(pccScriptElement);
ClickTaleGlobal.init.pccRequested = true;
}
window.ClickTaleOnReady = function() {
var PID=45,
Ratio=0.6,
PartitionPrefix="www33",
SubsId=233232;
window.ClickTaleSettings.PTC.InitFuncs = window.ClickTaleSettings.PTC.InitFuncs ||
[];
window.ClickTaleSettings.PTC.InitFuncs.push(function() {
var pcc = document.querySelector('script[src*="clicktale"]
[src*="pcc"],script[src*="contentsquare"][src*="pcc"]');
if (pcc) {
var versionmatch = pcc.src.match(/DeploymentConfigName=(.+)/i);
if (versionmatch && typeof ClickTaleExec === 'function') {
ClickTaleExec("console.info('" + versionmatch[0] + "');");
ClickTaleEvent("Config: " + versionmatch[1].replace(/\&.+/, ''));
}
}
});
function doUpload() {
if (typeof ClickTaleUploadPageNow === 'function' && ClickTaleIsRecording()) {
ClickTaleUploadPageNow();
};
};
function isReadyToRecord() {
if (typeof ClickTaleUploadPageNow === 'function' && ClickTaleIsRecording()) {
if (document.readyState == "complete") {
return true;
}
}
return false;
};
window.ClickTaleIncludedOnDOMReady=true;
};
(function() {
var div = ClickTaleCreateDOMElement("div");
div.id = "ClickTaleDiv";
div.style.display = "none";
document.body.appendChild(div);
//
Signature:hcEF5P7alH5KKEgBzGiNqEQyv7sZHmAx+ojKHiLY1i6doa6r9IQC03HH4duUEEqByQy3EhCzR
IQHkpCsqXYkIsBay3MuSEQY8R13MLrZrE9dep0QDzYaeIxM9iIy81T7NLUd0eVdalkwQKjBXf8w+r0ybESo
t4XUFF6KJrXzaYk=