!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=56)}({1:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&window.performance.now,r=function(){function t(){}return t.getElapsedTime=function(){return o?Math.round(window.performance.now()):Date.now()},t.now=function(){return o?Math.round(window.performance.timing.navigationStart+window.performance.now()):Date.now()},t}()},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o,r=n(3),i="SL_C_23361dd035530_KEY",s="SL_C_23361dd035530_SID",a="SL_C_23361dd035530_VID";var c=function(){function t(){}return t.getDate=function(){var t=new Date;return t.setMonth(t.getMonth()+13),t.toString()},t.getDomain=function(){return o||(o=function(t){for(var e=t.document,n=e.domain,o=n.split("."),r="f0189a22486d"+Date.now(),i=0;i<o.length-1&&-1===e.cookie.indexOf(r+"="+r);)i+=1,n=o.slice(-1-i).join("."),e.cookie=r+"="+r+";domain="+n+";path=/";return e.cookie=r+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+n+";path=/",n}(window))},t.persistSessionId=function(e){e?localStorage.setItem(r.f,e):localStorage.removeItem(r.f);try{t.setCookie(s,e)}catch(n){}},t.persistVisitorId=function(e){e?localStorage.setItem(r.g,e):localStorage.removeItem(r.g);try{t.setCookie(a,e)}catch(n){}},t.persistProjectKey=function(e){e?localStorage.setItem(r.c,e):localStorage.removeItem(r.c);try{t.setCookie(i,e)}catch(n){}},t.setCookie=function(t,e){window.document.cookie=e?t+"="+e+";expires="+this.getDate()+";domain="+this.getDomain()+";path=/;sameSite=strict;secure":t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+this.getDomain()+";path=/"},t}(),u=function(){function t(t){this.w=t}return t.prototype.getKeys=function(){var t=this.w.document.cookie.split(";"),e=null,n=null,o=null;try{for(var r=0;r<t.length;r+=1){var c=t[r].trim().split("=");switch(c[0]){case i:e=c[1];break;case s:n=c[1];break;case a:o=c[1]}}}catch(u){}return{key:e,sid:n,vid:o}},t}(),d=function(){function t(t){this.smartlook=t}return t.prototype.setSessionId=function(t){this.smartlook.sessionId=t,this.smartlook.sid=t,c.persistSessionId(t)},t.prototype.setVisitorId=function(t){this.smartlook.visitorId=t,this.smartlook.vid=t,c.persistVisitorId(t)},t.prototype.setProjectKey=function(t){this.smartlook.projectKey=t,this.smartlook.key=t,c.persistProjectKey(t)},t.prototype.setRecordId=function(t){this.smartlook.recordId=t,this.smartlook.rid=t},t.prototype.setPlayUrl=function(t){this.smartlook.playUrl=t},t.getSessionId=function(){return localStorage.getItem(r.f)},t.getVisitorId=function(){return localStorage.getItem(r.g)},t.getProjectKey=function(){return localStorage.getItem(r.c)},t.prototype.getStoredSidVid=function(e){var n=new u(window).getKeys(),o=n.sid,r=n.vid;n.key!==e&&(o=null,r=null);var i=t.getSessionId();!o&&i&&(o=i);var s=t.getVisitorId();!r&&s&&(r=s);var a=t.getProjectKey();if(a&&e!==a){var c=new t(window.smartlook);c.setSessionId(void 0),c.setVisitorId(void 0),c.setProjectKey(void 0),o=null,r=null}return{sid:o,vid:r}},t.prototype.loadDebugMode=function(){localStorage.getItem(r.a)&&(this.smartlook.debug=!0)},t.prototype.setOptions=function(t){this.smartlook.options||(this.smartlook.options={});var e=this.smartlook.options;t.storeGroup&&!e.storeGroup&&(e.storeGroup=t.storeGroup),t.recordConsole&&!e.recordConsole&&(e.recordConsole=!0),t.recordNetwork&&!e.recordNetwork&&(e.recordNetwork=!0),t.disableForms&&!e.disableForms&&(e.disableForms=!0),t.disableApi&&!e.disableApi&&(e.disableApi=!0),t.maskEmails&&!e.maskEmails&&(e.maskEmails=!0),t.maskNumbers&&!e.maskNumbers&&(e.maskNumbers=!0),t.signedDpa&&!e.signedDpa&&(e.signedDpa=!0)},t.prototype.setConsentSettings=function(t){this.smartlook.consent.forms=t.forms,this.smartlook.consent.api=t.api,this.smartlook.consent.ip=t.ip},t.prototype.setAnalyticsSettings=function(t){this.smartlook.analytics||(this.smartlook.analytics={}),t.host&&!this.smartlook.analytics.host&&(this.smartlook.analytics.host=t.host),t.host&&!t.error&&t.ok||(this.smartlook.analytics=void 0)},t.prototype.setRecordingSettings=function(t){this.smartlook.recording||(this.smartlook.recording={});var e=this.smartlook.recording;e.hostDefault=t.hostDefault,e.host||(e.host=t.hostDefault),t.assetsHost&&!e.assetsHost&&(e.assetsHost=t.assetsHost),e.host&&!t.error||(this.smartlook.recording=void 0)},t.prototype.setHeatmapsSettings=function(t){this.smartlook.heatmaps||(this.smartlook.heatmaps={});var e=this.smartlook.heatmaps;t.host&&!e.host&&(e.host=t.host),t.ids&&!e.ids&&(e.ids=t.ids),e.host&&!t.error&&t.ok||(this.smartlook.heatmaps=void 0)},t.prototype.setIntegrationSettings=function(t){this.smartlook.integrations=t},t}()},13:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return s}));var o="smartlook_ban_reason",r="smartlook_ban_expire";function i(){var t=parseInt(localStorage.getItem(r),10);return!!(t&&t>Date.now())||(localStorage.removeItem(r),localStorage.removeItem(o),!1)}function s(t,e){void 0===e&&(e=18e5);var n=Date.now()+e;localStorage.setItem(r,n.toString()),localStorage.setItem(o,t)}},14:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){function t(){}return t.getMergedValidProps=function(t,e){if(!t||"object"!==typeof t)return{};e&&"object"!==typeof e&&(e=void 0);var n=Object.assign(e||{},t);return Object.keys(n).forEach((function(t){var e=n[t],o=typeof e;void 0!==e&&null!==e&&"function"!==o&&"object"!==o&&"symbol"!==o&&"undefined"!==o||delete n[t],"number"!==o&&"boolean"!==o&&"bigint"!==o||(n[t]=e.toString())})),n},t}()},18:function(t,e,n){"use strict";function o(t){var e=function(){return function(t){var e=!1,n=window.document,o=function(r){e||(e=!0,n.removeEventListener("mousemove",o,!0),n.removeEventListener("click",o,!0),n.removeEventListener("keypress",o,!0),n.removeEventListener("touchmove",o,!0),n.removeEventListener("drag",o,!0),n.removeEventListener("wheel",o,{capture:!0}),t())};n.addEventListener("mousemove",o,!0),n.addEventListener("click",o,!0),n.addEventListener("keypress",o,!0),n.addEventListener("touchmove",o,!0),n.addEventListener("drag",o,!0),n.addEventListener("wheel",o,{passive:!0,capture:!0})}(t)};"complete"!==window.document.readyState&&"interactive"!==window.document.readyState?window.document.addEventListener("DOMContentLoaded",e,!1):e()}n.d(e,"a",(function(){return o}))},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=function(t){try{return JSON.stringify(t,function(){if("function"===typeof WeakSet){var t=new WeakSet;return function(e,n){if("object"===typeof n&&null!==n){if(t.has(n))return;t.add(n)}return n}}}())}catch(e){return null}},r=function(t){try{var e=window,n=e.Prototype,r=e.MooTools;if(n&&n.Version<"1.7"&&Array.prototype.toJSON&&Object.toJSON)return Object.toJSON(t);if(r&&JSON&&JSON.encode&&Array.prototype.toJSON)return JSON.encode(t)}catch(i){return o(t)}return o(t)}},22:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){function t(){}return t.prototype.computedNthIndex=function(t){if(t.parentNode){for(var e=t.parentNode.childNodes,n=t.tagName,o=0,r=0,i=0,s=e.length;i<s;i+=1)if(1===e[i].nodeType){if(e[i]===t){o+=1,r+=1;break}e[i].tagName===n&&(o+=1),r+=1}return{nthOfType:o,nthChild:r}}return null},t.prototype.generate=function(t){for(var e=t,n=[];e;){var o={classes:[],tagName:"",id:""},r=this.computedNthIndex(e);o.classes=Array.from(e.classList||[]),o.tagName=e.tagName,o.id="string"===typeof e.id?e.id:"",r&&(o.nthOfType=r.nthOfType,o.nthChild=r.nthChild),n.push(o),e=e.parentElement}return n},t}()},3:function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return u}));var o="SL_L_23361dd035530_VID",r="SL_L_23361dd035530_SID",i="SL_L_23361dd035530_KEY",s="smartlook_picker",a="smartlook_debug",c="SL_L_23361dd035530_RECORDINGS_BEACON_DATA",u="SL_L_23361dd035530_HEATMAPS_BEACON_DATA"},37:function(t,e,n){"use strict";"function"!==typeof Object.assign&&(Object.assign=function(t){if(null===t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var e=1;e<arguments.length;e++){var n=arguments[e];if(null!==n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t})},38:function(t,e,n){"use strict";String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t})},39:function(t,e,n){"use strict";Array.from||(Array.from=function(){var t=Object.prototype.toString,e=function(e){return"function"===typeof e||"[object Function]"===t.call(e)},n=Math.pow(2,53)-1,o=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),n)};return function(t){var n=this,r=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,s=arguments.length>1?arguments[1]:void 0;if("undefined"!==typeof s){if(!e(s))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var a,c=o(r.length),u=e(n)?Object(new n(c)):new Array(c),d=0;d<c;)a=r[d],u[d]=s?"undefined"===typeof i?s(a,d):s.call(i,a,d):a,d+=1;return u.length=c,u}}())},4:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=function(){return(o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},r=function(t,e){var n=e.numberOfRetries,r=void 0===n?1:n,s=e.nTry,a=void 0===s?1:s,c=e.onError,u=e.errorLogger;u&&u(a,t),r>1&&a<r?setTimeout((function(){i(o(o({},e),{nTry:a+1}))}),333*Math.pow(a+1,2)):c&&c(t)},i=function(t){var e=t.method,n=void 0===e?"GET":e,o=t.url,i=t.headers,s=t.body,a=t.timeout,c=t.onSuccess,u=t.isError,d=void 0===u?function(t){return t<200||t>=300}:u,l=t.withCredentials,p=void 0!==l&&l,f=new XMLHttpRequest;if("number"===typeof a&&(f.timeout=a),f.open(n,o,!0),i&&Object.keys(i).forEach((function(t){f.setRequestHeader(t,i[t])})),p)try{f.withCredentials=!0}catch(h){}f.onload=function(){d(f.status)?r(f,t):c&&c(f)},f.onabort=function(){r(f,t)},f.onerror=function(){r(f,t)},f.ontimeout=function(){r(f,t)},s?f.send(s):f.send()}},5:function(t,e,n){"use strict";var o=n(1),r=function(t,e){var n=this;void 0===e&&(e=!0),this.queue=function(t){n.eventsQueue.push({event:t,ttl:o.a.getElapsedTime()+6e4}),n.listeners.forEach((function(e){return e(t)}))},this.subscribe=function(t){n.listeners.push(t),n.useQueueEvents&&n.eventsQueue.length>0&&(n.eventsQueue=n.eventsQueue.filter((function(t){return t.ttl>=o.a.getElapsedTime()})),n.eventsQueue.forEach((function(e){return t(e.event)})))},this.unsubscribe=function(t){n.listeners=n.listeners.filter((function(e){return e!==t}))},this.publish=function(t){n.listeners.forEach((function(e){return e(t)}))},this.startTimeElapsed=o.a.getElapsedTime(),this.listeners=[],this.eventsQueue=[],this.w=t,this.useQueueEvents=e};e.a=r},56:function(t,e,n){"use strict";n.r(e);n(37),n(38),n(39);var o,r,i,s="Smartlook could not be initialized.",a="Missing",c=function(){function t(){}return t.check=function(e){var n=window;if(function(){try{var t=0,e=/MSIE (\d+\.\d+);/.test(navigator.userAgent),n=!!navigator.userAgent.match(/Trident\/7.0/),o=navigator.userAgent.indexOf("rv:11.0");return e&&(t=new Number(RegExp.$1)),-1!==navigator.appVersion.indexOf("MSIE 10")&&(t=10),n&&-1!==o&&(t=11),!!t}catch(r){return!1}}())return e.warn(s,"IE not supported."),!1;if(!n.MutationObserver)return e.warn(s,a,"mutation Observer."),!1;if(!Array.from||!Array.prototype.filter||!Array.prototype.map||!Array.prototype.forEach)return e.warn(s,a,"one of array from, filter, map, forEach."),!1;try{if(!t.__isStorageSupported(window.localStorage))return e.warn(s,a,"local Storage."),!1;if(!t.__isStorageSupported(window.sessionStorage))return e.warn(s,a,"session Storage."),!1}catch(o){return e.warn(s,a,"local Storage."),!1}return!!window.navigator||(e.warn(s,a,"navigator."),!1)},t.__isStorageSupported=function(t){if(!t)return!1;var e="__b61b7e6555c65__";try{return t.setItem(e,e),t.removeItem(e),!0}catch(n){return!1}},t}(),u=n(2),d="Second parameter must be either non-empty string or false. More info at https://www.smartlook.com/docs/gdpr.",l="consent",p=function(t,e){var n,o=t[0];if("properties"===o&&(e._recorderRunning?e._addProperties(t[1]):e._apiSubscribers.push((function(){return e._addProperties(t[1])}))),"identify"===o&&(e._recorderRunning?e._addIdentity(t[1],t[2]):e._apiSubscribers.push((function(){return e._addIdentity(t[1],t[2])}))),"track"===o&&(e._recorderRunning?e._addTrack(t[1],t[2],t[3]):e._apiSubscribers.push((function(){return e._addTrack(t[1],t[2])}))),"disable"===o&&e._disable(),0===o.indexOf(l)){var r=o.substr(l.length).toLowerCase();if("api"!==r&&"ip"!==r&&"forms"!==r)return;("boolean"!==typeof(n=t[1])&&"string"!==typeof n||"boolean"===typeof n&&n?(console.error(d),0):"string"!==typeof n||n||(console.error(d),0))&&(e._recorderRunning?e._giveConsent(r,t[1]):e._apiSubscribers.push((function(){return e._giveConsent(r,t[1])})))}if("expertForms"===o||"masterForms"===o){var i=function(){e.consent.forms=!0,e.options&&(e.options.disableForms=!1),e.startRecordingForms&&e.startRecordingForms()};e._recorderRunning?i():e._apiSubscribers.push(i)}if("expertAPI"===o||"masterAPI"===o){i=function(){e.consent.api=!0,e.options&&(e.options.disableApi=!1)};e._recorderRunning?i():e._apiSubscribers.push(i)}"ban"===o&&e._ban(t[1]),"anonymize"===o&&e._anonymize(),"restart"===o&&e._restart&&e._restart(),"pause"===o&&(e._recorderRunning?e._pause&&e._pause():e._recorderPaused=!0),"resume"===o&&e._resume&&e._resume(),"error"===o&&(e._recorderRunning?e._error(t[1]):e._apiSubscribers.push((function(){return e._error(t[1])}))),"navigation"===o&&(e._recorderRunning?e._url(t[1]):e._apiSubscribers.push((function(){return e._url(t[1])})))},f=function(){function t(){}return t.load=function(t){t.consent={ip:null,forms:null,api:null},t._apiSubscribers=[];for(var e=function(e){var n=t.api[e];if("init"===n[0]){if(t.key=n[1],t.projectKey=n[1],n[2]&&n[2].debug&&(t.debug=!0),n[2]&&n[2].host&&(t.host=n[2].host),n[2]&&n[2].recording){var o=n[2].recording;t.recording={},o.host&&(t.recording.host=o.host),o.assetsHost&&(t.recording.assetsHost=o.assetsHost)}if(n[2]&&n[2].heatmaps){var r=n[2].heatmaps;t.heatmaps={},r.host&&(t.heatmaps.host=r.host),r.ids&&(t.heatmaps.ids=r.ids)}if(n[2]&&n[2].analytics){var i=n[2].analytics;t.analytics={},i.host&&(t.analytics.host=i.host)}if(n[2]&&n[2].options){var s=n[2].options;t.options={};["recordConsole","recordNetwork","disableForms","disableApi","maskEmails","maskNumbers","signedDpa"].forEach((function(e){t.options&&e in s&&(t.options[e]=s[e])}))}}"string"===typeof n[0]&&p(n,t),"function"===typeof n[0]&&t._apiSubscribers.push(n[0])},n=0;n<t.api.length;n+=1)e(n);if(t.host=t.host||"manager.eu.smartlook.cloud",!t.key)throw new Error("Smartlook key is not provided");t.api.push=function(e){if("string"===typeof e[0]&&p(e,t),"function"===typeof e[0])if(t._recorderRunning)try{e[0]()}catch(n){console.error(n)}else t._apiSubscribers.push(e[0])}},t}(),h=n(11),m=n(4),g=function(){function t(){this.uid=null,this.props=null,this.host=null,this.timeout=null,this.logger=null,this.initialized=!1}return t.prototype.initialize=function(t,e){this.initialized||(this.host=t,this.logger=e,this.initialized=!0)},t.prototype.addIdentity=function(t,e){void 0===e&&(e={}),this.uid=t,this.props=e,this.sendData()},t.prototype.sendData=function(){var t=this,e=h.a.getVisitorId()||"";if(!this.initialized||!e)return clearTimeout(this.timeout),void(this.timeout=window.setTimeout(this.sendData.bind(this),500));if(this.uid){var n={vid:e,uid:this.uid,props:this.props||{}};Object(m.a)({method:"POST",url:"https://"+this.host+"/rec/identify",body:Object(u.a)(n),headers:{"Content-Type":"text/plain;charset=UTF-8"},numberOfRetries:3,onSuccess:function(){t.logger&&t.logger.log("Sent identity",n)}}),this.uid=null,this.props=null}},t}(),y=function(){function t(){this.host=null,this.timeout=null,this.logger=null,this.initialized=!1,this.queue=[],this.w=window}return t.prototype.initialize=function(t,e){this.initialized||(this.host=t,this.logger=e,this.initialized=!0)},t.prototype.getUrl=function(){var t=this.w.smartlook,e=t.key,n=t.vid,o=t.rid,r=t.sid,i=this.w.smartlook.options&&this.w.smartlook.options.storeGroup||"";return e&&n&&o&&r&&i?"https://"+this.host+"/rec/events?rid="+o+"&sid="+r+"&key="+e+"&vid="+n+"&group="+i+"&source=website":null},t.prototype.addEvent=function(t){if(t.name&&"string"===typeof t.name)if(t.props&&"object"!==typeof t.props)console.warn("Calling 'track' API with invalid value in 'properties' parameter. Object with key value pairs expected. Look at 'https://smartlook.github.io/docs/web/custom-events/' for more info.");else{var e=0;this.w.smartlook.recording&&this.w.smartlook.recording.startTime&&(e=Math.max(0,t.createdAt-this.w.smartlook.recording.startTime));var n={type:"custom",time:e,name:t.name,id:t.id,createdAt:t.createdAt,props:t.props,pageUrl:this.w.location.href,internalProps:{}};t.elements&&Object.assign(n,{elements:t.elements}),t.className&&Object.assign(n.internalProps,{className:t.className}),t.elementId&&Object.assign(n.internalProps,{elementId:t.elementId}),this.w.smartlook._identityUid&&Object.assign(n.internalProps,{uid:this.w.smartlook._identityUid}),this.w.smartlook._globalProps&&Object.assign(n.props,this.w.smartlook._globalProps),this.w.smartlook._identityProps&&Object.assign(n.props,this.w.smartlook._identityProps),n.internalProps&&0===Object.keys(n.internalProps).length&&delete n.internalProps,n&&(this.queue.push({event:n,url:this.getUrl()}),this.sendEvents())}else console.warn("Calling 'track' API with missing or invalid value in 'eventName' parameter. Non-empty string expected. Look at 'https://smartlook.github.io/docs/web/custom-events/' for more info.")},t.prototype.sendEvents=function(){var t=this;if(!this.initialized)return clearTimeout(this.timeout),void(this.timeout=window.setTimeout(this.sendEvents.bind(this),333));var e=!1,n=this.queue.slice();this.queue=[],n.forEach((function(n){var o=n.url;if(o||(o=t.getUrl()),!o)return t.queue.push(n),void(e=!0);Object(m.a)({method:"POST",url:o,headers:{"Content-Type":"text/plain;charset=UTF-8"},body:Object(u.a)([n.event]),numberOfRetries:2,onSuccess:function(){t.logger&&t.logger.log("Sent custom event",n.event)}})})),e&&(clearTimeout(this.timeout),this.timeout=window.setTimeout(this.sendEvents.bind(this),333))},t}(),v=n(5),b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return b(e,t),e}(v.a),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e}(v.a),S=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return S(e,t),e}(v.a),j=n(6),I=function(){function t(){this.host=null,this.timeout=null,this.logger=null,this.initialized=!1,this.consents={},this.w=window}return t.prototype.initialize=function(t,e){this.initialized||(this.host=t,this.logger=e,this.initialized=!0)},t.prototype.addConsent=function(t,e){this.consents[t]=e,clearTimeout(this.timeout),this.timeout=window.setTimeout(this.sendConsent.bind(this),500)},t.prototype.getUrl=function(){return"https://"+this.host+"/rec/consent"},t.prototype.sendConsent=function(){var t=this,e=this.w.smartlook,n=e.key,o=e.vid,r=e.sid;if(!this.initialized||!n||!o)return clearTimeout(this.timeout),void(this.timeout=window.setTimeout(this.sendConsent.bind(this),500));var i={source:"website",key:n,vid:o,consent:this.consents,sid:r};Object(m.a)({method:"POST",url:this.getUrl(),headers:{"Content-Type":"text/plain;charset=UTF-8"},body:Object(u.a)(i),numberOfRetries:3,onSuccess:function(){t.logger&&t.logger.log("Sent consent",i)},onError:function(){t.logger&&t.logger.log("Could not sent consent",i)}}),this.consents={}},t}(),P=n(13),A=n(1),T=n(8),E=n(14),C=n(22),N=function(){function t(){}return t.register=function(t){o=new g,t._addIdentity=function(e,n){if(t.options&&t.options.disableApi)console.warn("API is not enabled in project settings");else if(t.consent.api)if(e){var r=E.a.getMergedValidProps(n);o.addIdentity(e,r),t._identityUid=e,t._identityProps=r}else console.warn("UserId must be provided");else console.warn("User has not given consent to use API")},r=new y;var e=new w(window);t.onCustomEvent=function(t){return e.subscribe(t),function(){return e.unsubscribe(t)}},t._addProperties=function(e){e&&"object"===typeof e?t._globalProps=E.a.getMergedValidProps(e,t._globalProps):console.warn("Properties object must be provided")},t._addTrack=function(n,o,i){if(t.options&&t.options.disableApi)console.warn("API is not enabled in project settings");else{var s={type:"custom",name:n,props:E.a.getMergedValidProps(o),id:j.a.generate(),createdAt:A.a.now()};if(i){var a=i,c=(new C.a).generate(i);Object.assign(s,{elements:c});var u=a.className;u&&Object.assign(s,{className:u});var d=a.id;d&&Object.assign(s,{elementId:d});var l=a.href;l&&Object.assign(s,{href:l})}r.addEvent(s),e.publish(s)}},t._disable=function(){window.smartlook_stopped=!0,window.smartlook=function(){return Object(T.b)("Recording was disabled using API.")}},t._ban=function(t){window.smartlook_stopped=!0,t?Object(P.a)("Banned from API",t):Object(P.a)("Banned from API"),window.smartlook=function(){return Object(T.b)("Visitor was excluded from recording using API.")}},t._anonymize=function(){var e=new h.a(t);e.setSessionId(void 0),e.setVisitorId(void 0),e.setRecordId(void 0),e.setPlayUrl(void 0),t._recorderRunning&&t._restart&&t._restart()},i=new I,t._giveConsent=function(e,n){t.options&&t.options.signedDpa?(t.consent[e]=!!n,i.addConsent(e,n),n&&"forms"===e&&t.startRecordingForms&&t.startRecordingForms()):console.warn("Project owner did not sign 'Personal Data Processing Agreement' (https://www.smartlook.com/documents/dpa.pdf) in project settings")};var n=new k(window);t.onCustomError=function(t){return n.subscribe(t),function(){return n.unsubscribe(t)}},t._error=function(t){n.publish({type:"error",filename:"string"===typeof t?"":t.filename||"",colno:"string"===typeof t?0:t.colno||0,lineno:"string"===typeof t?0:t.lineno||0,value:"string"===typeof t?t:t.message,stack:"string"===typeof t?"":t.error&&t.error.stack||"",id:j.a.generate(),createdAt:A.a.now()})};var s=new O(window);t.onCustomUrl=function(t){return s.subscribe(t),function(){return s.unsubscribe(t)}},t._url=function(t){if(t){var e=t;t.startsWith("//")?e=location.protocol+e:t.startsWith("https://")||t.startsWith("http://")||t.startsWith("file://")||(e=location.origin+e),s.publish({type:"url",value:e,id:j.a.generate(),createdAt:A.a.now()})}else console.warn("Missing path or location.")}},t.initialize=function(t){var e=t.host,n=t.analyticsHost,s=t.logger;o.initialize(e,s),i.initialize(e,s),n&&r.initialize(n,s)},t}(),M=function(){function t(){}return t.getResolution=function(){var t=Math.abs(window.orientation)-90===0?"landscape":"portrait",e="landscape"===t?window.screen.availHeight:window.screen.availWidth,n="landscape"===t?window.screen.availWidth:window.screen.availHeight;return window.innerWidth&&(e=window.innerWidth),window.innerHeight&&(n=window.innerHeight),isNaN(parseInt(e,10))||isNaN(parseInt(n,10))?null:{width:e,height:n,orientation:t}},t}(),x=n(18),L=n(3),R=function(){function t(){}return t.appendScript=function(t){t.indexOf("ANALYTICS_PATH")>-1&&(t="analytics.js"),t.indexOf("MAIN_PATH")>-1&&(t="main.js"),t.indexOf("HEATMAPS_PATH")>-1&&(t="heatmaps.js"),t.indexOf("PICKER_PATH")>-1&&(t="picker.js");var e=document.getElementsByTagName("head")[0],n=document.createElement("script");n.async=!0,n.crossOrigin="anonymous",n.type="text/javascript",n.charset="utf-8",n.src='https://www.raiffeisen.ru/common/new/images/smartlook'+"/"+t,e.appendChild(n)},t}(),D=function(){function t(){}return t.tryLoad=function(t){window.smartlook_key=t,window.sessionStorage.getItem(L.d)||window.localStorage.getItem(L.d)?R.appendScript("picker-20200827125917.js"):document.referrer.indexOf("picker/4f249306-efd5-4127-b768-79a6750a7c5d-ca97caf7-335a-4e1f-b047-be42cb6098f9")>=0&&(window.sessionStorage.setItem(L.d,"1"),R.appendScript("picker-20200827125917.js"))},t}();Object(x.a)((function(){var t=window,e=t.smartlook;if(c.check(window.console)&&e&&Array.isArray(e.api)&&e.api&&!(e.api.length<=0)&&!e.recorderJSLoaded){e.version="v4.35.1 (396de4c1f2830e4824e511b44aa75635549e3d45 - chore(release): 4.35.1 - 2020-08-27 14:56:54 +0200)",e.recorderJSLoaded=!0,N.register(e),f.load(e);var n=e.key;if(n){try{D.tryLoad(n)}catch(l){}if(Object(P.b)())window.smartlook=function(){return Object(T.b)("This visitor is temporarily excluded from recording.")};else{var o=M.getResolution();if(o)if(window===self){e.orientation=o.orientation,e.width=o.width||t.screen.width,e.height=o.height||t.screen.height;var r=new h.a(e),i=r.getStoredSidVid(n),s=i.sid,a=i.vid;r.loadDebugMode();var d={key:n,sid:s,vid:a,domain:t.document.location&&t.document.location.host,pageUrl:t.document.location&&t.document.location.href,referer:t.document.referrer,screenWidth:e.width,screenHeight:e.height,internalProps:{version:"396de4c1f2830e4824e511b44aa75635549e3d45".substring(0,10)}};e._identityUid&&Object.assign(d,{uid:e._identityUid}),e._identityProps&&Object.assign(d,{props:e._identityProps}),Object(m.a)({method:"POST",url:"https://"+e.host+"/rec/check",headers:{"Content-Type":"text/plain;charset=UTF-8"},body:Object(u.a)(d),withCredentials:!0,onSuccess:function(o){var i=JSON.parse(o.response);r.setSessionId(i.sid),r.setVisitorId(i.vid),r.setProjectKey(n),e._checkResponse=i,i.options&&r.setOptions(i.options),i.consent&&r.setConsentSettings(i.consent),i.analytics&&r.setAnalyticsSettings(i.analytics),i.recording&&r.setRecordingSettings(i.recording),i.heatmaps&&r.setHeatmapsSettings(i.heatmaps),i.integrations&&r.setIntegrationSettings(i.integrations);var s=new T.a(!!e.debug);t.smartlook_stopped||(N.initialize({host:e.host,analyticsHost:e.analytics?e.analytics.host:void 0,logger:s}),e.analytics&&R.appendScript("analytics-20200827125917.js"),e.heatmaps&&R.appendScript("heatmaps-20200827125917.js"),e.recording&&R.appendScript("main-20200827125917.js"))},onError:function(t){Object(P.a)("Check error - "+t.response+" - "+t.status);try{var e=JSON.parse(t.response);console.warn("Smartlook not recording, reason:",e.message)}catch(l){}}})}else window.smartlook=function(){return Object(T.b)("Cannot record this user because self or window object is replaced with custom value.")};else window.smartlook=function(){return Object(T.b)("Cannot record this user because it is not possible to get visitor's display resolution.")}}}else window.smartlook=function(){return Object(T.b)("Missing Smartlook key.")}}}))},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){function t(){}return t.generate=function(){return function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,e="",n=crypto.getRandomValues(new Uint8Array(t));t--;){var o=63&n[t];e+=o<36?o.toString(36):o<62?(o-26).toString(36).toUpperCase():o<63?"_":"-"}return e}(10)},t}()},8:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));var o=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var o=Array(t),r=0;for(e=0;e<n;e++)for(var i=arguments[e],s=0,a=i.length;s<a;s++,r++)o[r]=i[s];return o},r=function(t){return console.warn("%c Smartlook ","background: #a94442; color: #fff",t),!1},i=function(){function t(t,e,n){this.debug=t,this.prefix=e||"Smartlook",this.prefixStyle=n||"background: #4d4d4d; color: #fff"}return t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.debug)try{console.log.apply(console,o(["%c "+this.prefix+" ",this.prefixStyle],t))}catch(n){}},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.debug)try{console.error.apply(console,o(["%c "+this.prefix+" error ","background: #a94442; color: #fff"],t))}catch(n){}},t.prototype.isDebug=function(){return this.debug},t}()}});