"use strict";!function(n){function i(){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,i=new Array(n);n--;)i[n]=[t[n],e[t[n]]];return i})}"undefined"!=typeof localStorage&&"undefined"!=typeof sessionStorage&&setTimeout(function(){window.__rctEnv="production";var e,t=function(){var e=["Object.entries","Object.assign","Object.freeze","Object.keys","Symbol","Symbol.iterator"],t=[],n=!1;if(Object.entries&&Object.assign&&Object.freeze&&Object.keys&&window.Symbol&&window.Symbol.iterator)return[];for(var i=0;i=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e){return function(e){if(Array.isArray(e))return q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||W(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,o,r,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw a}}return s}}(e,t)||W(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){var n;if(e)return"string"==typeof e?q(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n=this.actions[t].timeout?this.detach(this.actions[t].name):this.actions[t]&&e<=0&&this.actions[t].action())}},{key:"stopLoop",value:function(){this.actions.length||(clearInterval(this.loop),this.loop=0)}},{key:"attach",value:function(e,t,n){"function"==typeof n&&(this.actions.push({name:e,action:n,delay:t,curTick:t-this.TIMER,duration:0,timeout:(3i.sessionTimeout&&(E.debug("Session timed out. (refresh) Generating new session."),i.setSessionID(!0)),+new Date-P.recordSet.getLastSentJSON()>i.sessionTimeout&&(E.debug("Session timed out (lastJSON). Generating new session."),i.setSessionID(!0)),i.refreshTime+=i.REFRESHTIME*v,k.publish(u.REFRESH_TIME_INCREASE,i.refreshTime)},2*this.sessionTimeout)}},{key:"bid",get:function(){var e=localStorage.getItem(l.BID);return e||(e=Math.random().toString(36).slice(3,8),localStorage.setItem(l.BID,e),e)}},{key:"setClientDeviceType",value:function(){this.client.deviceType=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Y)?h.MOBILE:h.DESKTOP}},{key:"setClientOS",value:function(){var e=n.UNKNOWN,t=navigator.appVersion,e=~t.indexOf("Win")?n.WINDOWS:~t.indexOf("iPhone")?n.IOS:~t.indexOf("Android")?n.ANDROID:~t.indexOf("Mac")?n.MAC:~t.indexOf("Linux")?n.LINUX:~t.indexOf("X11")?n.UNIX:n.UNKNOWN;this.client.OS=e}},{key:"setSessionID",value:function(){var e=0=+t.start&&n<=+t.end)),this.additional[e]=t,this}},{key:"get",value:function(e){return this.additional[e]}},{key:"has",value:function(e){return!!this.additional[e]}},{key:"urlMatched",value:function(){return"*"===this.urlMatch||!!g.URL.match(this.urlMatch)}},{key:"getSplitConfig",value:function(){var e=this.get("splitConfig");return e[w.split.toLowerCase()]||e}},{key:"canShow",value:function(e){var t=this.getSplitConfig(),n=P.recordSet.getProducts(),t=!(t.triggerWithoutCartItems||n.length),n=this.elementMatch(),e=!!e||w.idleTimer>this.timer;return!t&&!!n&&!!e&&this.get("actions").validate()}},{key:"elementMatch",value:function(){var e=this.elementTrigger;return e&&e.length&&!!D(e)||f(e)===m||""===e}},{key:"osMatch",value:function(){return!!~(this.getSplitConfig().os||i.DEFAULT_OS_ARRAY).indexOf(C.getClient().OS)}},{key:"deviceMatch",value:function(){return!!~(this.getSplitConfig().devices||i.DEFAULT_DEVICE_ARRAY).indexOf(C.getClient().deviceType)}},{key:"lastShown",value:function(){var e=this;setTimeout(function(){localStorage.setItem("RCTlastShownOS".concat(e.name),ke().toString())},500)}},{key:"runPlugin",value:function(e,t){ve.apply(e,this,(t&&Array.isArray(t)?t:[t])||[])}},{key:"bindEventToElements",value:function(t){var o=this;(this.get("eventElements")||this.getEventElements()).forEach(function(a){var e=t.find(a[ne],!0);e.isEmpty()||e.each(function(e,t,n){var i=o.getElementEventCallback(a,n);n.on(a[ae],i)})})}},{key:"getElementEventCallback",value:function(n,i){var a=this;return function(){var e=n.eventPlugin,t=n.isClaimable,t={rciEvent:i.attr("data-rci-event"),isClaimable:null!=t&&t};a.runPlugin(null!=e?e:"",[t])}}},{key:"unsubscribeEventsOnElements",value:function(){(this.get("eventElements")||this.getEventElements()).forEach(function(e){A(e[ne],!0).each(function(){this.removeEvent(e[ae])})})}},{key:"getEventElements",value:function(){return re}},{key:"checkCorners",value:function(e){e={cur:e,DEVICE:h,client:C.getClient(),width:y.innerWidth,height:y.innerHeight,corners:w.activeTriggers||(null==(e=null==(e=N.OSR)?void 0:e.triggerPoints)?void 0:e.defaults),activeCorners:this.get("triggerPoints")},t=e.corners,n=t.topLeftCorner,i=t.topRightCorner,d=t.bottomLeftCorner,a=t.topBar,t=t.bottomBar,o=e.client,r=e.cur,s=e.width,u=e.height,c=e.DEVICE,e=e.activeCorners,l="","Windows"===o.OS&&e.bottomLeftCorner&&d&&r.x<=d.width&&r.y>=u-d.height?l="mouseOverWindowBottomLeftSide":("Mac"===o.OS||"Linux"===o.OS)&&e.topLeftCorner&&n&&n.width&&r.x<=n.width&&r.y<=n.height&&(l="mouseOverWindowTopLeftSide");var t,n,i,a,o,r,s,u,c,l,d=l=o&&o.deviceType&&o.deviceType!==c.MOBILE&&(e.topRightCorner&&i&&r.x>=s-i.width&&r.y<=i.height&&(l="mouseOverWindowTopRightSide"),e.topBar&&a&&r.yu-t.height?"mouseOverWindowBottomBar":l;d&&this.canShow(!0)&&this.show(d)}},{key:"runAction",value:function(e){var t=1a.option&&(e="overlayOpenedOnScroll"):e="overlayOpenedOn".concat(be(a[ae]),"On").concat(be(a.elementName)),e&&o.canShow(!0)&&setTimeout(function(){o.show(e)},n))})}},{key:"show",value:function(t,e){var n=this;this.hasShownOSR||(this.runAction(T.BEFORE_LOAD),this.hasShownOSR=!0,e&&"triggerNudge"===e&&(this.hasShownOSR=!1),e="".concat(w.prefixURL+(e||this.get("templates")[w.split.toLowerCase()]),".html"),y.fetch?y.fetch(e).then(function(e){return e.text()}).then(function(e){n.renderOnsite(e,t)}):xe(e,function(e){n.renderOnsite(e,t)}))}},{key:"renderOnsite",value:function(e,t){var n,i,a,o=this;(w.shownOnsite=this).currentLoadedTemplate=e,this.currentLoadedTemplate?this.currentLoadedTemplate.length<10?(this.lastShown(),this.trackPop(t)):(n=A("#rci-overlay").create("div").style({opacity:"0",visibility:"hidden",position:"fixed",zIndex:"99990",top:"0px",left:"0px",height:"100%",width:y.innerWidth,transition:"opacity 0.2s linear"}).attr("id","rci-overlay").html(this.currentLoadedTemplate),e=A("body").append(n),this.runAction(T.ON_LOAD,[n]),null!=(i=this.get("actions"))&&i.trigger&&""!==(null==i?void 0:i.trigger)&&(a=null==(a=null==(a=N.OSR)?void 0:a.dynamic)?void 0:a[i.trigger],this.runPlugin(a.type,[a])),e.use(function(e){o.originalBodyOverflowStyle=e.style.overflow||"",e.style.overflow="hidden"}),setTimeout(function(){n.style({visibility:"visible",opacity:"1"}),k.publish(u.ONSITE_SHOWN,o)},100),k.publish(u.ONSITE_AFTER_LOAD,{onsiteName:this.name,RCIOverlayEl:n,eventName:t})):this.lastShown()}},{key:"afterLoad",value:function(e){var t=e.onsiteName,n=e.RCIOverlayEl,e=e.eventName;t===this.name&&(S.attach("__onsiteAutoResize",250,function(){n.style({width:"".concat(y.innerWidth,"px")})}),this.bindEventToElements(n),this.lastShown(),this.trackPop(e),this.sendGAOpen(e),this.runAction(T.AFTER_LOAD,[n]))}},{key:"isPotentialOnsite",value:function(){return M(o(a.prototype),"isPotentialOnsite",this).call(this)&&this.executableInMainloop}}]),a}()),le=[115,51,45,101,117,45,119,101,115,116,45,49,46,97,109,97,122,111,110,97,119,115,46,99,111,109,47,112,111,99,46,115,101,114,118,105,99,101,109,97,105,108,46,99,111,109],w=function(){function a(){r(this,a)}return t(a,null,[{key:"split",get:function(){var e=b.getLocalValue(l.SPLITAB);return e&&0!==e.length||(e=1&(new Date).getTime()?"A":"B",b.setLocal(l.SPLITAB,e,1800)),e}},{key:"clear",value:function(){var e;if(this.customOnsites.length){var t,n=c(this.customOnsites);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i.reset(),!(i.deviceMatch()&&i.urlMatched()&&i.osMatch()&&i.elementMatch())){i.closeOSR();var a,o=c(D("#rci-overlay, #rci-trigger-button",!0));try{for(o.s();!(a=o.n()).done;){var r=a.value;null!=(e=null==r?void 0:r.parentNode)&&e.removeChild(r)}}catch(e){o.e(e)}finally{o.f()}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"init",value:function(){var e=this;if(!N.OSR)return E.debug("This page has no Onsites!"),!1;var t=N.OSR,n=t.live,i=t.configChangesFromParameters,t=t.configs,a=b.session(l.DEBUG).read();if(!n&&"false"===(a||"false"))return E.debug("The onsites can not be shown. Either put it live or activate RCTdebug"),!1;this.useParameters=i,this.onsites=t.filter(this.getPotentialOnsites);var o,r=!1,s=c(this.onsites);try{for(s.s();!(o=s.n()).done;){var u=o.value.get("actions");null!=u&&u.readyOnLoad&&(r=!0)}}catch(e){s.e(e)}finally{s.f()}return this.initializeCustomOnsites(),this.activeTriggers=this.getActiveTriggerPoints(),this.prefixURL="".concat(N.debug||b.session(l.DEBUG).read()?"//".concat(Se(le),"/"):"//cdn.spinnaker-js.com/","rc/").concat(N.clientID,"/overlays/"),N.OSR.onsiteFromTech&&(this.prefixURL=this.prefixURL.replace("servicemail.com","servicemail.com-dev")),this.onsites.length?setTimeout(function(){E.recordTime("OnsiteInitTime","time"),E.debug("Onsite init!"),e.awake()},N.debug||r||"true"===a?250:1e4):E.debug("Newly shown onsite, exiting!"),!0}},{key:"awake",value:function(){var a=this;P.recordSet.add("onsite",{ab:this.split}),this.startActivityTracker(),this.tabChange(),this.setResetIdleTimerEvents();for(var e=this.onsites.length;e--;)this.onsites[e]instanceof ce&&this.onsites[e].has("onAction")&&this.setActionEvent(this.onsites[e]);this.startIdleTimer(function(e){var t,n=c(a.onsites);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i.canShow()){i.show("overlayOpenedOnTimeout"),e();break}}}catch(e){n.e(e)}finally{n.f()}})}},{key:"setResetIdleTimerEvents",value:function(){function t(){var e,t,n;e={client:i,DEVICE:h,activityCounter:N.enableActivityCounter},t=e.client,n=e.DEVICE,e=e.activityCounter,(t.deviceType===n.MOBILE&&e.mobile||t.deviceType===n.DESKTOP&&e.desktop)&&a.resetIdleTimer()}var i=C.getClient();A(g).on("mousemove",fe(t,200)),["mousedown","keypress","keydown","DOMMouseScroll","scroll","mousewheel","select","touchmove","MSPointerMove"].map(function(e){return A(g).on(e,t)})}},{key:"startIdleTimer",value:function(e){function t(){return S.detach(i)}var n=this,i="__idleTime".concat(1 div");return(null==e?void 0:e.shadowRoot)||null}}]),e}()),de=(k.subscribe(u.INIT,R.init.bind(R)),{createTargetObserver:function(e,t){var i,a,o,r,s,u,c,l,d,n=2this.maxLimit?this.handle.style.left="".concat(this.maxLimit,"px"):this.handle.style.left="".concat(e.movementX+n,"px"),t.style.left=this.handle.style.left,(parseInt(this.handle.style.left)/this.slider.pixelsPerUnit).toFixed(0));t.innerHTML="".concat(e," kr"),this.slider.fillTheBar()}},{key:"onMouseUp",value:function(e){this.moveHandle(e),document.onmousemove=null,document.onmouseup=null}},{key:"onTouchDown",value:function(e){var t=this,e=e||window.event;e.cancelable&&e.preventDefault(),document.ontouchmove=function(e){return t.onTouchMove(e)},document.ontouchend=function(e){t.onTouchEnd(e)},0this.maxLimit)this.handle.style.left="".concat(this.maxLimit,"px");else try{this.handle.style.left="".concat(e.touches[0].pageX-50,"px")}catch(e){}t.style.left=this.handle.style.left;n=(parseInt(this.handle.style.left)/this.slider.pixelsPerUnit).toFixed(0);t.innerHTML="".concat(n,"kr"),this.slider.fillTheBar()}},{key:"onTouchMove",value:function(e){(e=e||window.event).canceable&&e.preventDefault(),this.touchHandle(e)}},{key:"onTouchEnd",value:function(e){return this.touchHandle(e),document.ontouchmove=null,!(document.ontouchend=null)}}]),i}(),{}),P=function(){function i(){r(this,i)}return t(i,null,[{key:"init",value:function(e){var t=this,n=(this.recordSet=new Ne,(N=e).pageTriggers),i=e.reportServer,a=e.sessionTimeout;b.init(),this.canRun()&&(y.RCTSpinnakerIsRunning?E.debug("Script is already running!"):(y.addEventListener("error",function(e){var t;null!=(t=null==(t=null==e?void 0:e.error)?void 0:t.stack)&&t.match(/spinnaker|\/s\.js/gi)&&E.report("Error caused by spinnaker",{url:g.URL,stack:null==(t=null==e?void 0:e.error)?void 0:t.stack,message:(null==(t=null==e?void 0:e.error)?void 0:t.message)||(null==e?void 0:e.message),line:null==e?void 0:e.lineno,col:null==e?void 0:e.colno})}),E.recordTime("SpinnakerInitTime","time"),k.subscribe(u.SESSION_RESET,this.onSessionReset.bind(this)),k.subscribe(u.INIT,this.onInit.bind(this)),G(n||[],function(){y.RCTSpinnakerIsRunning=!0,t.checkURLparams(),t.reportServerURL=X(i),localStorage||t.recordSet.add("oos",1).send(),t.sessionTimeout=a||ee,k.publish(u.INIT,[])})))}},{key:"onInit",value:function(){var e=this,t=N,n=t.heartbeatEnabled,t=t.parameters;this.setRCTtag(),y.addEventListener&&y.addEventListener("beforeunload",function(){e.recordSet.send()}),n&&(n=this.setupHeartbeat(),y.addEventListener("mousemove",n),y.addEventListener("scroll",n)),t.enabled?(new Pe).loadData(function(){e.runPageConfigs()}):this.runPageConfigs()}},{key:"onSessionReset",value:function(){this.recordSet.reset(),this.setRCTtag(!0),this.resetScriptRuntime()}},{key:"setupHeartbeat",value:function(){var t=this,n=!1;return S.attach("__sendSessionHeartbeat",36e4,function(){var e;n&&(n=!1,e=X(N.reportServer),i.recordSet.sendData(e,i.recordSet.getDataObject()),t.resetScriptRuntime())},864e5),function(){n=!0}}},{key:"canRun",value:function(){return N.allowIframeExecution||!function(){try{return y.self!==y.top}catch(e){return!0}}()||g.URL.match(/_RCTSpinnakerForceStart=true/g)?C.browserSupported()?!b.getLocal("ignoreSession")||(E.debug("canRun() : Ignoring session after purchase!"),!1):(E.debug("canRun() : Browser is not supported. Spinnaker is not running!",Ae),!1):(E.debug("canRun() : Iframe tried to run Spinnaker, but was terminated!",g.URL),!1)}},{key:"checkURLparams",value:function(){var e=Ee("__rctDebug"),t=Ee("__rctSetAB");e&&b.session(l.DEBUG).write(e),t&&b.setLocal(l.SPLITAB,t)}},{key:"runPageConfigs",value:function(){E.recordTime("SpinnakerInitTime","timeEnd"),E.recordTime("PageEventRuntime","time"),N.pageConfigs.forEach(function(e){return e.executableInMainloop&&e.execute()}),E.recordTime("PageEventRuntime","timeEnd")}},{key:"setRCTtag",value:function(e){var t,n=this;e?(b.session(l.TRACKING).remove(),b.session(l.OCT).remove(),this.recordSet.remove("rct").remove("onsite.oct"),E.debug("setRCTtag() deleted email and RCTtag at ".concat(x()))):(e=b.session(l.TRACKING),g.URL.match(/(\?|&)__rct=/gi)?(t=Ee("__rct"),this.recordSet.addOnce("rct",t),e.write(t,ee),setTimeout(function(){return n.recordSet.send()},2e3)):""!==e.read()&&e.write(e.read(),ee),t=Se([114,101,99,104,101,99,107,105,116]),e=Se([115,101,114,118,105,99,101,109,97,105,108]),t=new RegExp("".concat(t,"|").concat(e),"g"),g.URL.match(t)&&!this.recordSet.get("rct")&&this.recordSet.addOnce("rct","Rrecheckit"),this.recordSet.save())}},{key:"resetScriptRuntime",value:function(){var e=this;setTimeout(function(){b.setLocal(l.SID,e.recordSet.get("sid"),e.sessionTimeout||3600)},1e3)}}]),i}(),Ne=(P.sessionTimeout=ee,function(){function i(e){r(this,i),this.pingTime=2e4,this.personalDataFields=["e","pfn","pln","ppc","pa1","pa2","pcity","ph"],this.importantValues=["rct","onsite","sid","cid","cur","url","v"],this.hasChanged=!1,this.lastSentEmptyJSON=-1,this.lastSentJSONTime=NaN,this.lastSentData={},this.data=null!=e?e:this.getLocalRecordSet()}return t(i,[{key:"add",value:function(e,t){var n;return f(t)===m||""===t||Array.isArray(t)&&!t.length||(2<(n=e.split(".")).length?(this.data[n[0]]||(this.data[n[0]]=[]),this.data[n[0]][n[1]]||(this.data[n[0]][n[1]]={}),this.data[n[0]][n[1]][n[2]]=t):1=this.pingTime||this.hasChanged)&&(this.add("ct",x()).add("url",g.URL).add("v",N.version).addOnce("cur",N.currency),this.lastSentJSONTime=+new Date,e=this.filterData(this.getDataObject()),t=X(N.reportServer),this.sendData(t,e,n,i),this.lastSentData=Object.assign({},this.getDataObject()),this.hasChanged=!1),this.hasChanged||(this.lastSentEmptyJSON=a\n div[class*="styles__Section"] {\n margin: 0;\n }\n\n div.box-section {\n padding: 20px 0;\n }\n\n div.seperator {\n height: 1px;\n width: 100%;\n background-color: rgba(0, 0, 0, .1);\n }\n\n div#box-button-wrapper {\n padding: 0 20px;\n }\n\n .nudge-text {\n margin: 0;\n font-size: 16px;\n }\n\n h1#txt-heading {\n padding: 0 20px 15px 20px;\n }\n\n p#txt-copy {\n padding: 0 20px;\n }\n\n button.nudge-btn-dialogue {\n border: none;\n background-color: #0069ff;\n color: #ffffff;\n font-size: 14px;\n cursor: pointer;\n padding: 8px 16px;\n border-radius: 100px;\n display: inline-block;\n margin: 0 8px 8px 0;\n }\n\n button.nudge-btn-dialogue:hover {\n opacity: .8;\n }\n\n\n
\n
\n

'.concat(e.txt_heading,'

\n

').concat(e.txt_copy,'

\n
\n
\n
\n
\n \n \n \n \n \n \n
\n
\n
')}function qe(e){return'\n\n\n
\n
\n

'.concat(e.txt_heading,'

\n

').concat(e.txt_copy,'

\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
')}function He(e){return'\n\n\n
\n
\n

'.concat(e.txt_heading,'

\n

').concat(e.txt_copy,'

\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n
\n
\n
')}i={clientID:19174,currency:"EUR",version:"6.19.22-1.0.15",debug:!1,useCookies:!1,domain:".partner.booking.com",ignoreAutoPageInfo:!1,optOutCompletion:!1,heartbeatEnabled:!0,pageTriggers:["partner.booking.com"],reportServer:s.PROD,useSmartRecordSet:!1,enableActivityCounter:{mobile:!0,desktop:!0},parameters:{enabled:!1,loader:J.LAZY},pageConfigs:[new a(/(.+)/gi,"handleReturningVisitors"),new a(/kindlyChatOpen=true/gi,"handleParameter"),new a(/(.+)/gi,"globalIconsTracking")],OSR:{live:!0,configChangesFromParameters:!1,dynamic:{},triggerPoints:{defaults:{topLeftCorner:{width:200,height:75},topRightCorner:{width:200,height:75},bottomLeftCorner:{width:200,height:75},topBar:{height:35},bottomBar:{height:35}},450:{topLeftCorner:{width:50,height:40},topRightCorner:{width:50,height:75},bottomLeftCorner:{width:40,height:70},topBar:{height:35},bottomBar:{height:35}},700:{topLeftCorner:{width:100,height:40},topRightCorner:{width:100,height:50},bottomLeftCorner:{width:100,height:100},topBar:{height:35},bottomBar:{height:35}}},configs:[new _("general",/(en-gb|en-us)\/help($|\/$)/).setSlug("general_nudge").setNudgeType(d.WRAPPER).add("trackingID","Q00000000000000003375").add("isLive",!0).add("splitConfig",{os:[n.MAC,n.WINDOWS,n.ANDROID,n.IOS,n.LINUX,n.UNIX],triggerWithoutCartItems:!0}).add("triggerPoints",{topRightCorner:!1,topLeftCorner:!0,bottomLeftCorner:!0,topBar:!0,bottomBar:!1}).setNudgeLayout(function(){return{sections:[{html:We}]}}).add("actions",{validate:function(){var e=R.getRoot();return!(null==e?void 0:e.querySelector("#chatContainer"))},onLoad:function(){Ve(this)},afterLoad:function(){je()}}).add("gaTracking",{enable:!0,eventName:"rck_event",eventCategory:"Kindly Nudge General",showAction:"show",closeAction:"close",captureAndCloseAction:"close",captureAndCloseLabel:"captureEmailAndCloseOverlay"}).add("eventElements",[{identifier:'button[data-cy="close-nudge-button"]',eventType:"click",eventPlugin:"closeOverlay"}]),new _("reservation",/(en-gb|en-us)\/help\/reservations/).setSlug("reservations_nudge").setNudgeType(d.WRAPPER).add("trackingID","Q00000000000000003376").add("isLive",!0).add("splitConfig",{os:[n.MAC,n.WINDOWS,n.ANDROID,n.IOS,n.LINUX,n.UNIX],triggerWithoutCartItems:!0}).add("triggerPoints",{topRightCorner:!1,topLeftCorner:!0,bottomLeftCorner:!0,topBar:!0,bottomBar:!1}).setNudgeLayout(function(){return{sections:[{html:qe}]}}).add("actions",{validate:function(){var e=R.getRoot();return!(null==e?void 0:e.querySelector("#chatContainer"))},onLoad:function(){Ve(this)},afterLoad:function(){je()}}).add("gaTracking",{enable:!0,eventName:"rck_event",eventCategory:"Kindly Nudge Reservation",showAction:"show",closeAction:"close",captureAndCloseAction:"close",captureAndCloseLabel:"captureEmailAndCloseOverlay"}).add("eventElements",[{identifier:'button[data-cy="close-nudge-button"]',eventType:"click",eventPlugin:"closeOverlay"}]),new _("payments",/(en-gb|en-us)\/help\/commission-invoices-tax/).setSlug("payments_nudge").setNudgeType(d.WRAPPER).add("trackingID","Q00000000000000003377").add("isLive",!0).add("splitConfig",{os:[n.MAC,n.WINDOWS,n.ANDROID,n.IOS,n.LINUX,n.UNIX],triggerWithoutCartItems:!0}).add("triggerPoints",{topRightCorner:!1,topLeftCorner:!0,bottomLeftCorner:!0,topBar:!0,bottomBar:!1}).setNudgeLayout(function(){return{sections:[{html:He}]}}).add("actions",{validate:function(){var e=R.getRoot();return!(null==e?void 0:e.querySelector("#chatContainer"))},onLoad:function(){Ve(this)},afterLoad:function(){je()}}).add("gaTracking",{enable:!0,eventName:"rck_event",eventCategory:"Kindly Nudge Payments",showAction:"show",closeAction:"close",captureAndCloseAction:"close",captureAndCloseLabel:"captureEmailAndCloseOverlay"}).add("eventElements",[{identifier:'button[data-cy="close-nudge-button"]',eventType:"click",eventPlugin:"closeOverlay"}])]}},a.register("handleReturningVisitors",function(){localStorage.getItem("kindlyReturning")&&!sessionStorage.getItem("hasSetFlagThisSession")?(R.setNewContext({existing_visitor:"yes"}),E.debug("Sending to context...")):(localStorage.setItem("kindlyReturning","true"),sessionStorage.setItem("hasSetFlagThisSession","true"))}),a.register("handleParameter",function(){window.kindlyChat?R.openChat():window.addEventListener("kindly:load",function(){R.openChat()})}),a.register("globalIconsTracking",function(){y.addEventListener("kindly:globalicon",function(e){var t,n;e.detail.icon.title&&(t={n:e.detail.icon.title,i:"no-image",v:"1"},n={oct:"Q00000000000000003397",ab:w.split||"A",o:"globalIconClicked",c:e.detail.icon.title},Ue({event:"rck_event",eventCategory:"Global Icons",eventAction:"close",eventLabel:e.detail.icon.title,eventValue:0,nonInteraction:!1}),P.recordSet.add("p",[t]).add("onsite",n).add("val","1").send(),b.setLocal("canCompletePurchase","true"),new a(/.+/gi,Z).execute(!0),E.debug("Global Icons tracking information sent"))})}),P.init(i)});