<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(()=&gt;{"use strict";const t="https://visitor.joinohana.io",e={randomUUID:"undefined"!=typeof crypto&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto)};let n;const r=new Uint8Array(16);function o(){if(!n&amp;&amp;(n="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)}const i=[];for(let t=0;t&lt;256;++t)i.push((t+256).toString(16).slice(1));function a(t,e=0){return i[t[e+0]]+i[t[e+1]]+i[t[e+2]]+i[t[e+3]]+"-"+i[t[e+4]]+i[t[e+5]]+"-"+i[t[e+6]]+i[t[e+7]]+"-"+i[t[e+8]]+i[t[e+9]]+"-"+i[t[e+10]]+i[t[e+11]]+i[t[e+12]]+i[t[e+13]]+i[t[e+14]]+i[t[e+15]]}const c=function(t,n,r){if(e.randomUUID&amp;&amp;!n&amp;&amp;!t)return e.randomUUID();const i=(t=t||{}).random||(t.rng||o)();if(i[6]=15&amp;i[6]|64,i[8]=63&amp;i[8]|128,n){r=r||0;for(let t=0;t&lt;16;++t)n[r+t]=i[t];return n}return a(i)};class s{constructor(t,e,n){this._placementId=t,this._window=e,this._globalWindow=n,this._messageRelay={},this._subscribeToMessagesFromGlobal()}_subscribeToMessagesFromGlobal(){this._window.addEventListener("message",(e=&gt;{if(e.origin===t)try{const t=JSON.parse(e.data);this._onMessageReceived(t)}catch(t){console.error("Failed to parse global message")}}))}_onMessageReceived(t){const e=this._messageRelay[t.threadId];e&amp;&amp;(e.callback(t),this._messageRelay[t.threadId]=void 0)}sendMessageToGlobalAsync(t,e){return new Promise(((n,r)=&gt;{const o=c();try{const i={threadId:o,placementId:this._placementId,type:t,data:e},a=JSON.stringify(i);this._messageRelay[o]={callback:t=&gt;{clearTimeout(c),n(t.data)}};const c=setTimeout((()=&gt;{this._messageRelay[o]=void 0,r(new Error("OHANA: Timeout"))}),5e3);this._globalWindow.postMessage(a,"*")}catch(t){this._messageRelay[o]=void 0,r(t)}}))}}function u(t){return t}function l(t){return"function"==typeof t}function d(t){return function(e){if(function(t){return l(null==t?void 0:t.lift)}(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}var h=function(t,e){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;(t[n]=e[n])},h(t,e)};function v(t,e){if("function"!=typeof e&amp;&amp;null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var f=function(){return f=Object.assign||function(t){for(var e,n=1,r=arguments.length;n&lt;r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&amp;&amp;(t[o]=e[o]);return t},f.apply(this,arguments)};function m(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))}function p(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&amp;o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&amp;&amp;(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&amp;&amp;(i=0,c[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(o=2&amp;c[0]?r.return:c[0]?r.throw||((o=r.return)&amp;&amp;o.call(r),0):r.next)&amp;&amp;!(o=o.call(r,c[1])).done)return o;switch(r=0,o&amp;&amp;(c=[2&amp;c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length&gt;0&amp;&amp;o[o.length-1])||6!==c[0]&amp;&amp;2!==c[0])){a=0;continue}if(3===c[0]&amp;&amp;(!o||c[1]&gt;o[0]&amp;&amp;c[1]&lt;o[3])){a.label=c[1];break}if(6===c[0]&amp;&amp;a.label&lt;o[1]){a.label=o[1],o=c;break}if(o&amp;&amp;a.label&lt;o[2]){a.label=o[2],a.ops.push(c);break}o[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(t){c=[6,t],r=0}finally{n=o=0}if(5&amp;c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}Object.create;function y(t){var e="function"==typeof Symbol&amp;&amp;Symbol.iterator,n=e&amp;&amp;t[e],r=0;if(n)return n.call(t);if(t&amp;&amp;"number"==typeof t.length)return{next:function(){return t&amp;&amp;r&gt;=t.length&amp;&amp;(t=void 0),{value:t&amp;&amp;t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"==typeof Symbol&amp;&amp;t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- &gt;0)&amp;&amp;!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&amp;&amp;!r.done&amp;&amp;(n=i.return)&amp;&amp;n.call(i)}finally{if(o)throw o.error}}return a}function w(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o&lt;i;o++)!r&amp;&amp;o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}Object.create;function b(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var _=b((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e}}));function S(t,e){if(t){var n=t.indexOf(e);0&lt;=n&amp;&amp;t.splice(n,1)}}var A=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=y(i),c=a.next();!c.done;c=a.next()){c.value.remove(this)}}catch(e){t={error:e}}finally{try{c&amp;&amp;!c.done&amp;&amp;(e=a.return)&amp;&amp;e.call(a)}finally{if(t)throw t.error}}else i.remove(this);var s=this.initialTeardown;if(l(s))try{s()}catch(t){o=t instanceof _?t.errors:[t]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var d=y(u),h=d.next();!h.done;h=d.next()){var v=h.value;try{k(v)}catch(t){o=null!=o?o:[],t instanceof _?o=w(w([],g(o)),g(t.errors)):o.push(t)}}}catch(t){n={error:t}}finally{try{h&amp;&amp;!h.done&amp;&amp;(r=d.return)&amp;&amp;r.call(d)}finally{if(n)throw n.error}}}if(o)throw new _(o)}},t.prototype.add=function(e){var n;if(e&amp;&amp;e!==this)if(this.closed)k(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&amp;&amp;void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&amp;&amp;e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&amp;&amp;S(e,t)},t.prototype.remove=function(e){var n=this._finalizers;n&amp;&amp;S(n,e),e instanceof t&amp;&amp;e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),I=A.EMPTY;function x(t){return t instanceof A||t&amp;&amp;"closed"in t&amp;&amp;l(t.remove)&amp;&amp;l(t.add)&amp;&amp;l(t.unsubscribe)}function k(t){l(t)?t():t.unsubscribe()}var L={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},D={setTimeout:function(t,e){for(var n=[],r=2;r&lt;arguments.length;r++)n[r-2]=arguments[r];var o=D.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,w([t,e],g(n))):setTimeout.apply(void 0,w([t,e],g(n)))},clearTimeout:function(t){var e=D.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function C(){}var W=V("C",void 0,void 0);function V(t,e,n){return{kind:t,value:e,error:n}}var P=null;function F(t){if(L.useDeprecatedSynchronousErrorHandling){var e=!P;if(e&amp;&amp;(P={errorThrown:!1,error:null}),t(),e){var n=P,r=n.errorThrown,o=n.error;if(P=null,r)throw o}}else t()}var E=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,x(e)&amp;&amp;e.add(n)):n.destination=T,n}return v(e,t),e.create=function(t,e,n){return new j(t,e,n)},e.prototype.next=function(t){this.isStopped?R(function(t){return V("N",t,void 0)}(t),this):this._next(t)},e.prototype.error=function(t){this.isStopped?R(V("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?R(W,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(A),M=Function.prototype.bind;function Z(t,e){return M.call(t,e)}var O=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){G(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){G(t)}else G(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){G(t)}},t}(),j=function(t){function e(e,n,r){var o,i,a=t.call(this)||this;l(e)||!e?o={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:a&amp;&amp;L.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},o={next:e.next&amp;&amp;Z(e.next,i),error:e.error&amp;&amp;Z(e.error,i),complete:e.complete&amp;&amp;Z(e.complete,i)}):o=e;return a.destination=new O(o),a}return v(e,t),e}(E);function G(t){var e;L.useDeprecatedSynchronousErrorHandling?(e=t,L.useDeprecatedSynchronousErrorHandling&amp;&amp;P&amp;&amp;(P.errorThrown=!0,P.error=e)):function(t){D.setTimeout((function(){var e=L.onUnhandledError;if(!e)throw t;e(t)}))}(t)}function R(t,e){var n=L.onStoppedNotification;n&amp;&amp;D.setTimeout((function(){return n(t,e)}))}var T={closed:!0,next:C,error:function(t){throw t},complete:C};function $(t,e,n,r,o){return new Y(t,e,n,r,o)}var Y=function(t){function e(e,n,r,o,i,a){var c=t.call(this,e)||this;return c.onFinalize=i,c.shouldUnsubscribe=a,c._next=n?function(t){try{n(t)}catch(t){e.error(t)}}:t.prototype._next,c._error=o?function(t){try{o(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,c._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,c}return v(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&amp;&amp;(null===(e=this.onFinalize)||void 0===e||e.call(this))}},e}(E);function N(t,e){return t===e}var X="function"==typeof Symbol&amp;&amp;Symbol.observable||"@@observable";function z(t){return 0===t.length?u:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var J=function(){function t(t){t&amp;&amp;(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r,o=this,i=(r=t)&amp;&amp;r instanceof E||function(t){return t&amp;&amp;l(t.next)&amp;&amp;l(t.error)&amp;&amp;l(t.complete)}(r)&amp;&amp;x(r)?t:new j(t,e,n);return F((function(){var t=o,e=t.operator,n=t.source;i.add(e?e.call(i,n):n?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=B(e))((function(e,r){var o=new j({next:function(e){try{t(e)}catch(t){r(t),o.unsubscribe()}},error:r,complete:e});n.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[X]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e&lt;arguments.length;e++)t[e]=arguments[e];return z(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=B(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function B(t){var e;return null!==(e=null!=t?t:L.Promise)&amp;&amp;void 0!==e?e:Promise}var H=b((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),U=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return v(e,t),e.prototype.lift=function(t){var e=new Q(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new H},e.prototype.next=function(t){var e=this;F((function(){var n,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=y(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){n={error:t}}finally{try{i&amp;&amp;!i.done&amp;&amp;(r=o.return)&amp;&amp;r.call(o)}finally{if(n)throw n.error}}}}))},e.prototype.error=function(t){var e=this;F((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}}))},e.prototype.complete=function(){var t=this;F((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)&gt;0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this,r=n.hasError,o=n.isStopped,i=n.observers;return r||o?I:(this.currentObservers=null,i.push(t),new A((function(){e.currentObservers=null,S(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e.hasError,r=e.thrownError,o=e.isStopped;n?t.error(r):o&amp;&amp;t.complete()},e.prototype.asObservable=function(){var t=new J;return t.source=this,t},e.create=function(t,e){return new Q(t,e)},e}(J),Q=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return v(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&amp;&amp;void 0!==n?n:I},e}(U),q={now:function(){return(q.delegate||Date).now()},delegate:void 0},K=function(t){function e(e,n,r){void 0===e&amp;&amp;(e=1/0),void 0===n&amp;&amp;(n=1/0),void 0===r&amp;&amp;(r=q);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return v(e,t),e.prototype.next=function(e){var n=this,r=n.isStopped,o=n._buffer,i=n._infiniteTimeWindow,a=n._timestampProvider,c=n._windowTime;r||(o.push(e),!i&amp;&amp;o.push(a.now()+c)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o&lt;r.length&amp;&amp;!t.closed;o+=n?1:2)t.next(r[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,n=t._timestampProvider,r=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e&lt;1/0&amp;&amp;i&lt;r.length&amp;&amp;r.splice(0,r.length-i),!o){for(var a=n.now(),c=0,s=1;s&lt;r.length&amp;&amp;r[s]&lt;=a;s+=2)c=s;c&amp;&amp;r.splice(0,c+1)}},e}(U);class tt{constructor(t){this._window=t,this._activeLocation=new K(1)}get activeLocation$(){return this._activeLocation.asObservable().pipe((void 0===e&amp;&amp;(e=u),t=null!=t?t:N,d((function(n,r){var o,i=!0;n.subscribe($(r,(function(n){var a=e(n);!i&amp;&amp;t(o,a)||(i=!1,o=a,r.next(n))})))}))));var t,e}initialize(){const t=this._window,e=()=&gt;{this._activeLocation.next(t.location.href)};t.addEventListener("popstate",e),t.addEventListener("pushstate",e),t.addEventListener("hashchange",e);try{const n=t.history.pushState;t.history.pushState=function(){null==n||n.apply(t.history,arguments),e()}}catch(t){}e()}}var et=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class nt{constructor(t,e){this.$$ohana=t,this._locationChangeListener=e}registerLocationActor(t){if(!t)throw new Error("action required");var e,n;this._locationChangeListener.activeLocation$.pipe((e=e=&gt;{var n,r;try{return null===(n=t.canActivate)||void 0===n?void 0:n.call(t,e)}catch(e){return null===(r=this.$$ohana.logger)||void 0===r||r.logErrorAsync(`Failed to run can activate location actor: ${t.name}`,void 0,e),!1}},d((function(t,r){var o=0;t.subscribe($(r,(function(t){return e.call(n,t,o++)&amp;&amp;r.next(t)})))})))).subscribe((e=&gt;et(this,void 0,void 0,(function*(){var n,r;try{yield null===(n=t.runAsync)||void 0===n?void 0:n.call(t,e)}catch(e){yield null===(r=this.$$ohana.logger)||void 0===r?void 0:r.logErrorAsync(`Failed to run location actor: ${t.name}`,void 0,e)}}))))}}const rt="ovdid",ot="ovdidt";var it,at;!function(t){t.Browser="browser",t.Email="email"}(it||(it={})),function(t){t.GBP="GBP",t.USD="USD"}(at||(at={}));at.GBP;var ct;!function(t){t.GBP_Pound="£",t.USD_Dollar="$"}(ct||(ct={}));const st={[ct.GBP_Pound]:at.GBP,[ct.USD_Dollar]:at.USD};at.GBP,at.GBP,at.USD,at.USD,at.GBP,at.USD,Object.entries(st).reduce(((t,[e,n])=&gt;(t[n]=e,t)),{});var ut,lt;!function(t){t.WidgetTop="widget-top",t.WidgetBottom="widget-bottom",t.Brand="brand",t.BrandBottom="brand-bottom",t.Product="product"}(ut||(ut={})),function(t){t.VisitorDeviceId="id",t.VisitorDeviceIpAddress="ip-address"}(lt||(lt={}));const dt="data-ohana-widget",ht="data-ohana-widget-data";var vt=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class ft{constructor(t,e,n,r){this._window=t,this._placementIdProvider=e,this._visitorDeviceIdProvider=n,this._http=r}logErrorAsync(t,e=void 0,n=void 0){return vt(this,void 0,void 0,(function*(){try{(e=e||{}).url=this._window.location.href,e.error={hasError:!!n,error:JSON.stringify(n),message:null==n?void 0:n.message,name:null==n?void 0:n.name,stack:null==n?void 0:n.stack},yield this._http.postAsync("api/visitors/errors",{message:t,placementId:this._placementIdProvider(),visitorDeviceId:this._visitorDeviceIdProvider(),data:e})}catch(t){console.error(t)}console.error("OHANA: "+t)}))}logVerbose(t){console.log("OHANA: "+t)}}var mt,pt=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class yt{constructor(t,e){this._baseUrl=t,this._window=e}getAsync(t){return pt(this,void 0,void 0,(function*(){return yield this._requestCoreAsync({url:t,method:"GET"})}))}postAsync(t,e){return pt(this,void 0,void 0,(function*(){return yield this._requestCoreAsync({url:t,method:"POST",headers:{"Content-Type":"application/json"},data:e})}))}_requestCoreAsync(t){return pt(this,void 0,void 0,(function*(){let e;try{if(e=yield fetch(this._baseUrl+"/"+t.url,{method:t.method,mode:"cors",headers:t.headers,body:t.data?JSON.stringify(t.data):void 0}),!e.ok)throw new Error(`Failed request: ${t.url}, response: ${yield this._tryParseJSONAsync(e)}, status: ${null==e?void 0:e.status}, statusText: ${null==e?void 0:e.statusText}`);return e.json()}catch(n){throw new Error(`Failed request: ${t.url}, error: ${null==n?void 0:n.message}, status: ${null==e?void 0:e.status}, statusText: ${null==e?void 0:e.statusText}`)}}))}_tryParseJSONAsync(t){return pt(this,void 0,void 0,(function*(){try{return JSON.stringify(yield t.json())}catch(t){return""}}))}}function gt(t){return t+`?r=${Math.random().toString(10).slice(2)}`}!function(t){t.GetVisitorDeviceData="get-visitor-device-id",t.StoreVisitorDeviceData="store-visitor-device-id",t.ClearVisitorDeviceData="clear-visitor-device-id"}(mt||(mt={}));var wt;!function(t){t.BrandDisplayWidget="brands-display-widget",t.DiscountDisplayWidget="discount-display-widget"}(wt||(wt={}));var bt=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class _t{constructor(t,e){this._window=t,this._$$ohana=e,this._components=new Map([[wt.BrandDisplayWidget,{url:"brands-display-widget.min.js",getModule:t=&gt;t.BrandDisplayWidget}],[wt.DiscountDisplayWidget,{url:"discount-display-widget.min.js",getModule:t=&gt;t.DiscountDisplayWidget}]])}addWidgetAsync(t){return bt(this,void 0,void 0,(function*(){yield this._ensureComponentLoadedAsync(t.widgetComponentType);const e=this._components.get(t.widgetComponentType).getModule(this._$$ohana);yield e.addWidgetAsync(t)}))}_ensureComponentLoadedAsync(e){return bt(this,void 0,void 0,(function*(){const n=this._components.get(e);if(!n)throw new Error("Unsupported component: "+e);if(n.loadingInProgress)return n.loadingPromise||Promise.resolve();if(!n.isLoaded)try{n.loadingInProgress=!0,n.loadingPromise=function(t,e,n=!0,r=!1){return new Promise(((o,i)=&gt;{const a=t.document;let c=!1;function s(){return a&amp;&amp;"loading"!==a.readyState}function u(){if(c)return;c=!0;const t=a.createElement("script");t.type="text/javascript",t.src=r?e:gt(e),n&amp;&amp;(t.async=!0),t.addEventListener("load",(()=&gt;o())),t.addEventListener("error",(()=&gt;i())),a.body.appendChild(t)}s()?u():(function t(){s()?u():setTimeout(t,50)}(),t.addEventListener("DOMContentLoaded",(()=&gt;{u()})))}))}(this._window,`${t}/${n.url}`,!1),yield n.loadingPromise,n.isLoaded=!0;if(!n.getModule(this._$$ohana))throw new Error(`Failed to load widget module: "${e}"`)}catch(t){throw t}finally{n.loadingInProgress=!1}}))}}var St,At,It,xt=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class kt{constructor(t,e,n,r){this._settings=t,this._placementIdProvider=e,this._visitorDeviceIdProvider=n,this._http=r}trackCheckoutAsync(t){return xt(this,void 0,void 0,(function*(){if(this._settings.disableTracking)return;if(!t.id)throw new Error("Checkout id is required");const e={placementId:this._placementIdProvider(),visitorDeviceId:this._visitorDeviceIdProvider(),orderId:t.id,shopOrderId:t.orderId,price:t.price,currency:t.currency,date:t.date,externalProductIds:t.externalProductIds,email:t.email};return yield this._http.postAsync("api/visitors/checkout",e)}))}}!function(t){t.Shopify="shopify",t.WooCommerce="woocommerce",t.Custom="custom"}(St||(St={})),function(t){t.OrderStatusPage="checkout-widget",t.OrderConfirmationEmail="order-confirmation-email",t.CustomBrandsDisplay="custom-brands-display",t.ShopDiscountDisplay="shop-discount-display",t.ShopCreditEmail="shop-credit-email"}(At||(At={})),function(t){t[t.Full=1]="Full",t[t.Medium=2]="Medium",t[t.Minimal=3]="Minimal"}(It||(It={}));var Lt=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};const Dt={[At.OrderStatusPage]:wt.BrandDisplayWidget,[At.OrderConfirmationEmail]:void 0,[At.CustomBrandsDisplay]:wt.BrandDisplayWidget,[At.ShopDiscountDisplay]:wt.DiscountDisplayWidget,[At.ShopCreditEmail]:void 0};class Ct{constructor(t,e){this._window=t,this._$$ohana=e}addWidgetAsync(t,e,n){var r;return Lt(this,void 0,void 0,(function*(){const o=this._window.document.createElement("div");if(o.setAttribute(dt,e),n)try{o.setAttribute(ht,JSON.stringify(n))}catch(t){null===(r=this._$$ohana.logger)||void 0===r||r.logErrorAsync("Failed to serialize widget data",n,t)}t.append(o),yield this._initializeWidgetAsync(o)}))}syncWidgetsAsync(){var t;return Lt(this,void 0,void 0,(function*(){try{const t=Array.from(this._window.document.querySelectorAll(`[${dt}]:empty`));t.length&amp;&amp;(yield Promise.all(t.map((t=&gt;this._initializeWidgetAsync(t)))))}catch(e){null===(t=this._$$ohana.logger)||void 0===t||t.logErrorAsync("Failed to sync widgets from dom",void 0,e)}}))}_initializeWidgetAsync(t){return Lt(this,void 0,void 0,(function*(){const e=t.getAttribute(dt)||At.CustomBrandsDisplay,n=Dt[e];if(!n)throw new Error("Cannot find Widget component type!");if(!this._$$ohana.componentManager)throw new Error("Cannot find ComponentManager");yield this._$$ohana.componentManager.addWidgetAsync({widgetComponentType:n,widgetElement:t,placementComponentType:e,widgetData:this._tryGetWidgetDataFromAttribute(t)})}))}_tryGetWidgetDataFromAttribute(t){try{const e=t.getAttribute(ht);if(!e)return;return JSON.parse(e)}catch(t){}}}new RegExp("^eng-test-automation\\+(.*)@joinohana\\.io$");const Wt=/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;var Vt="3.4.2";function Pt(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function Ft(t){return!!t&amp;&amp;"function"==typeof t.then}function Et(t,e){try{var n=t();Ft(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(t){e(!1,t)}}function Mt(t,e,n){return void 0===n&amp;&amp;(n=16),m(this,void 0,void 0,(function(){var r,o,i,a;return p(this,(function(c){switch(c.label){case 0:r=Array(t.length),o=Date.now(),i=0,c.label=1;case 1:return i&lt;t.length?(r[i]=e(t[i],i),(a=Date.now())&gt;=o+n?(o=a,[4,Pt(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++i,[3,1];case 4:return[2,r]}}))}))}function Zt(t){t.then(void 0,(function(){}))}function Ot(t,e){t=[t[0]&gt;&gt;&gt;16,65535&amp;t[0],t[1]&gt;&gt;&gt;16,65535&amp;t[1]],e=[e[0]&gt;&gt;&gt;16,65535&amp;e[0],e[1]&gt;&gt;&gt;16,65535&amp;e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]&gt;&gt;&gt;16,n[3]&amp;=65535,n[2]+=t[2]+e[2],n[1]+=n[2]&gt;&gt;&gt;16,n[2]&amp;=65535,n[1]+=t[1]+e[1],n[0]+=n[1]&gt;&gt;&gt;16,n[1]&amp;=65535,n[0]+=t[0]+e[0],n[0]&amp;=65535,[n[0]&lt;&lt;16|n[1],n[2]&lt;&lt;16|n[3]]}function jt(t,e){t=[t[0]&gt;&gt;&gt;16,65535&amp;t[0],t[1]&gt;&gt;&gt;16,65535&amp;t[1]],e=[e[0]&gt;&gt;&gt;16,65535&amp;e[0],e[1]&gt;&gt;&gt;16,65535&amp;e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]&gt;&gt;&gt;16,n[3]&amp;=65535,n[2]+=t[2]*e[3],n[1]+=n[2]&gt;&gt;&gt;16,n[2]&amp;=65535,n[2]+=t[3]*e[2],n[1]+=n[2]&gt;&gt;&gt;16,n[2]&amp;=65535,n[1]+=t[1]*e[3],n[0]+=n[1]&gt;&gt;&gt;16,n[1]&amp;=65535,n[1]+=t[2]*e[2],n[0]+=n[1]&gt;&gt;&gt;16,n[1]&amp;=65535,n[1]+=t[3]*e[1],n[0]+=n[1]&gt;&gt;&gt;16,n[1]&amp;=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&amp;=65535,[n[0]&lt;&lt;16|n[1],n[2]&lt;&lt;16|n[3]]}function Gt(t,e){return 32===(e%=64)?[t[1],t[0]]:e&lt;32?[t[0]&lt;&lt;e|t[1]&gt;&gt;&gt;32-e,t[1]&lt;&lt;e|t[0]&gt;&gt;&gt;32-e]:(e-=32,[t[1]&lt;&lt;e|t[0]&gt;&gt;&gt;32-e,t[0]&lt;&lt;e|t[1]&gt;&gt;&gt;32-e])}function Rt(t,e){return 0===(e%=64)?t:e&lt;32?[t[0]&lt;&lt;e|t[1]&gt;&gt;&gt;32-e,t[1]&lt;&lt;e]:[t[1]&lt;&lt;e-32,0]}function Tt(t,e){return[t[0]^e[0],t[1]^e[1]]}function $t(t){return t=Tt(t,[0,t[0]&gt;&gt;&gt;1]),t=Tt(t=jt(t,[4283543511,3981806797]),[0,t[0]&gt;&gt;&gt;1]),t=Tt(t=jt(t,[3301882366,444984403]),[0,t[0]&gt;&gt;&gt;1])}function Yt(t,e){e=e||0;var n,r=(t=t||"").length%16,o=t.length-r,i=[0,e],a=[0,e],c=[0,0],s=[0,0],u=[2277735313,289559509],l=[1291169091,658871167];for(n=0;n&lt;o;n+=16)c=[255&amp;t.charCodeAt(n+4)|(255&amp;t.charCodeAt(n+5))&lt;&lt;8|(255&amp;t.charCodeAt(n+6))&lt;&lt;16|(255&amp;t.charCodeAt(n+7))&lt;&lt;24,255&amp;t.charCodeAt(n)|(255&amp;t.charCodeAt(n+1))&lt;&lt;8|(255&amp;t.charCodeAt(n+2))&lt;&lt;16|(255&amp;t.charCodeAt(n+3))&lt;&lt;24],s=[255&amp;t.charCodeAt(n+12)|(255&amp;t.charCodeAt(n+13))&lt;&lt;8|(255&amp;t.charCodeAt(n+14))&lt;&lt;16|(255&amp;t.charCodeAt(n+15))&lt;&lt;24,255&amp;t.charCodeAt(n+8)|(255&amp;t.charCodeAt(n+9))&lt;&lt;8|(255&amp;t.charCodeAt(n+10))&lt;&lt;16|(255&amp;t.charCodeAt(n+11))&lt;&lt;24],c=Gt(c=jt(c,u),31),i=Ot(i=Gt(i=Tt(i,c=jt(c,l)),27),a),i=Ot(jt(i,[0,5]),[0,1390208809]),s=Gt(s=jt(s,l),33),a=Ot(a=Gt(a=Tt(a,s=jt(s,u)),31),i),a=Ot(jt(a,[0,5]),[0,944331445]);switch(c=[0,0],s=[0,0],r){case 15:s=Tt(s,Rt([0,t.charCodeAt(n+14)],48));case 14:s=Tt(s,Rt([0,t.charCodeAt(n+13)],40));case 13:s=Tt(s,Rt([0,t.charCodeAt(n+12)],32));case 12:s=Tt(s,Rt([0,t.charCodeAt(n+11)],24));case 11:s=Tt(s,Rt([0,t.charCodeAt(n+10)],16));case 10:s=Tt(s,Rt([0,t.charCodeAt(n+9)],8));case 9:s=jt(s=Tt(s,[0,t.charCodeAt(n+8)]),l),a=Tt(a,s=jt(s=Gt(s,33),u));case 8:c=Tt(c,Rt([0,t.charCodeAt(n+7)],56));case 7:c=Tt(c,Rt([0,t.charCodeAt(n+6)],48));case 6:c=Tt(c,Rt([0,t.charCodeAt(n+5)],40));case 5:c=Tt(c,Rt([0,t.charCodeAt(n+4)],32));case 4:c=Tt(c,Rt([0,t.charCodeAt(n+3)],24));case 3:c=Tt(c,Rt([0,t.charCodeAt(n+2)],16));case 2:c=Tt(c,Rt([0,t.charCodeAt(n+1)],8));case 1:c=jt(c=Tt(c,[0,t.charCodeAt(n)]),u),i=Tt(i,c=jt(c=Gt(c,31),l))}return i=Ot(i=Tt(i,[0,t.length]),a=Tt(a,[0,t.length])),a=Ot(a,i),i=Ot(i=$t(i),a=$t(a)),a=Ot(a,i),("00000000"+(i[0]&gt;&gt;&gt;0).toString(16)).slice(-8)+("00000000"+(i[1]&gt;&gt;&gt;0).toString(16)).slice(-8)+("00000000"+(a[0]&gt;&gt;&gt;0).toString(16)).slice(-8)+("00000000"+(a[1]&gt;&gt;&gt;0).toString(16)).slice(-8)}function Nt(t){return parseInt(t)}function Xt(t){return parseFloat(t)}function zt(t,e){return"number"==typeof t&amp;&amp;isNaN(t)?e:t}function Jt(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function Bt(t,e){if(void 0===e&amp;&amp;(e=1),Math.abs(e)&gt;=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function Ht(t){return t&amp;&amp;"object"==typeof t&amp;&amp;"message"in t?t:{message:t}}function Ut(t){return"function"!=typeof t}function Qt(t,e,n){var r=Object.keys(t).filter((function(t){return!function(t,e){for(var n=0,r=t.length;n&lt;r;++n)if(t[n]===e)return!0;return!1}(n,t)})),o=Mt(r,(function(n){return function(t,e){var n=new Promise((function(n){var r=Date.now();Et(t.bind(null,e),(function(){for(var t=[],e=0;e&lt;arguments.length;e++)t[e]=arguments[e];var o=Date.now()-r;if(!t[0])return n((function(){return{error:Ht(t[1]),duration:o}}));var i=t[1];if(Ut(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(t){var e=Date.now();Et(i,(function(){for(var n=[],r=0;r&lt;arguments.length;r++)n[r]=arguments[r];var i=o+Date.now()-e;if(!n[0])return t({error:Ht(n[1]),duration:i});t({value:n[1],duration:i})}))}))}))}))}));return Zt(n),function(){return n.then((function(t){return t()}))}}(t[n],e)}));return Zt(o),function(){return m(this,void 0,void 0,(function(){var t,e,n,i;return p(this,(function(a){switch(a.label){case 0:return[4,o];case 1:return[4,Mt(a.sent(),(function(t){var e=t();return Zt(e),e}))];case 2:return t=a.sent(),[4,Promise.all(t)];case 3:for(e=a.sent(),n={},i=0;i&lt;r.length;++i)n[r[i]]=e[i];return[2,n]}}))}))}}function qt(){var t=window,e=navigator;return Jt(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])&gt;=4}function Kt(){var t=window,e=navigator;return Jt(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])&gt;=5}function te(){var t=window,e=navigator;return Jt(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])&gt;=4}function ee(){var t=window;return Jt(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])&gt;=3}function ne(){var t=document;return(t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t)}function re(){var t=Kt(),e=function(){var t,e,n=window;return Jt(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&amp;&amp;void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])&gt;=4}();if(!t&amp;&amp;!e)return!1;var n=window;return Jt(["onorientationchange"in n,"orientation"in n,t&amp;&amp;!("SharedWorker"in n),e&amp;&amp;/android/i.test(navigator.appVersion)])&gt;=2}function oe(t){var e=new Error(t);return e.name=t,e}function ie(t,e,n){var r,o,i;return void 0===n&amp;&amp;(n=50),m(this,void 0,void 0,(function(){var a,c;return p(this,(function(s){switch(s.label){case 0:a=document,s.label=1;case 1:return a.body?[3,3]:[4,Pt(n)];case 2:return s.sent(),[3,1];case 3:c=a.createElement("iframe"),s.label=4;case 4:return s.trys.push([4,,10,11]),[4,new Promise((function(t,n){var r=!1,o=function(){r=!0,t()};c.onload=o,c.onerror=function(t){r=!0,n(t)};var i=c.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",e&amp;&amp;"srcdoc"in c?c.srcdoc=e:c.src="about:blank",a.body.appendChild(c);var s=function(){var t,e;r||("complete"===(null===(e=null===(t=c.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?o():setTimeout(s,10))};s()}))];case 5:s.sent(),s.label=6;case 6:return(null===(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,Pt(n)];case 7:return s.sent(),[3,6];case 8:return[4,t(c,c.contentWindow)];case 9:return[2,s.sent()];case 10:return null===(i=c.parentNode)||void 0===i||i.removeChild(c),[7];case 11:return[2]}}))}))}function ae(t){for(var e=function(t){for(var e,n,r="Unexpected syntax '".concat(t,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(t),i=o[1]||void 0,a={},c=/([.:#][\w-]+|\[.+?\])/gi,s=function(t,e){a[t]=a[t]||[],a[t].push(e)};;){var u=c.exec(o[2]);if(!u)break;var l=u[0];switch(l[0]){case".":s("class",l.slice(1));break;case"#":s("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);s(d[1],null!==(n=null!==(e=d[4])&amp;&amp;void 0!==e?e:d[5])&amp;&amp;void 0!==n?n:"");break;default:throw new Error(r)}}return[i,a]}(t),n=e[0],r=e[1],o=document.createElement(null!=n?n:"div"),i=0,a=Object.keys(r);i&lt;a.length;i++){var c=a[i],s=r[c].join(" ");"style"===c?ce(o.style,s):o.setAttribute(c,s)}return o}function ce(t,e){for(var n=0,r=e.split(";");n&lt;r.length;n++){var o=r[n],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var a=i[1],c=i[2],s=i[4];t.setProperty(a,c,s||"")}}}var se=["monospace","sans-serif","serif"],ue=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function le(t){return t.toDataURL()}var de,he,ve=2500;function fe(){var t=this;return function(){if(void 0===he){var t=function(){var e=me();pe(e)?he=setTimeout(t,ve):(de=e,he=void 0)};t()}}(),function(){return m(t,void 0,void 0,(function(){var t;return p(this,(function(e){switch(e.label){case 0:return pe(t=me())?de?[2,w([],de,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,ne()]:[3,2]:[3,2];case 1:e.sent(),t=me(),e.label=2;case 2:return pe(t)||(de=t),[2,t]}var n}))}))}}function me(){var t=screen;return[zt(Xt(t.availTop),null),zt(Xt(t.width)-Xt(t.availWidth)-zt(Xt(t.availLeft),0),null),zt(Xt(t.height)-Xt(t.availHeight)-zt(Xt(t.availTop),0),null),zt(Xt(t.availLeft),null)]}function pe(t){for(var e=0;e&lt;4;++e)if(t[e])return!1;return!0}function ye(t){var e;return m(this,void 0,void 0,(function(){var n,r,o,i,a,c,s;return p(this,(function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(t.length),i={},ge(r),s=0;s&lt;t.length;++s)"DIALOG"===(a=ae(t[s])).tagName&amp;&amp;a.show(),ge(c=n.createElement("div")),c.appendChild(a),r.appendChild(c),o[s]=a;u.label=1;case 1:return n.body?[3,3]:[4,Pt(50)];case 2:return u.sent(),[3,1];case 3:n.body.appendChild(r);try{for(s=0;s&lt;t.length;++s)o[s].offsetParent||(i[t[s]]=!0)}finally{null===(e=r.parentNode)||void 0===e||e.removeChild(r)}return[2,i]}}))}))}function ge(t){t.style.setProperty("display","block","important")}function we(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function be(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}function _e(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function Se(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function Ae(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var Ie=Math,xe=function(){return 0};var ke={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var Le={fonts:function(){return ie((function(t,e){var n=e.document,r=n.body;r.style.fontSize="48px";var o=n.createElement("div"),i={},a={},c=function(t){var e=n.createElement("span"),r=e.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=t,e.textContent="mmMwWLliI0O&amp;1",o.appendChild(e),e},s=se.map(c),u=function(){for(var t={},e=function(e){t[e]=se.map((function(t){return function(t,e){return c("'".concat(t,"',").concat(e))}(e,t)}))},n=0,r=ue;n&lt;r.length;n++){e(r[n])}return t}();r.appendChild(o);for(var l=0;l&lt;se.length;l++)i[se[l]]=s[l].offsetWidth,a[se[l]]=s[l].offsetHeight;return ue.filter((function(t){return e=u[t],se.some((function(t,n){return e[n].offsetWidth!==i[t]||e[n].offsetHeight!==a[t]}));var e}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return m(this,void 0,void 0,(function(){var t,n,r,o,i;return p(this,(function(a){switch(a.label){case 0:return te()||re()?(c=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',c("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",c("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2NhbXBhaWduLWJhbm5lcg=="),c("I0FkLUNvbnRlbnQ=")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",c("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),c("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",c("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",c("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),c("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),c("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",c("I3Jla2xhbWk="),c("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),c("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),c("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[c("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",c("LndpZGdldF9wb19hZHNfd2lkZ2V0"),c("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",c("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",c("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",c("LnNwb25zb3JsaW5rZ3J1ZW4="),c("I3dlcmJ1bmdza3k="),c("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),c("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[c("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",c("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[c("LnJla2xhbW9zX3RhcnBhcw=="),c("LnJla2xhbW9zX251b3JvZG9z"),c("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),c("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),c("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[c("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[c("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),c("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",c("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[c("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),c("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),c("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",c("LmFkX19tYWlu"),c("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[c("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[c("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),c("I2xpdmVyZUFkV3JhcHBlcg=="),c("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),c("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[c("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",c("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),c("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),c("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[c("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),c("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),c("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",c("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),c("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),c("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),c("ZGl2I3NrYXBpZWNfYWQ=")],ro:[c("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[c("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),c("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),c("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",c("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),c("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",c("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(t),[4,ye((i=[]).concat.apply(i,n.map((function(e){return t[e]}))))]):[2,void 0];case 1:return r=a.sent(),e&amp;&amp;function(t,e){for(var n="DOM blockers debug:\n```",r=0,o=Object.keys(t);r&lt;o.length;r++){var i=o[r];n+="\n".concat(i,":");for(var a=0,c=t[i];a&lt;c.length;a++){var s=c[a];n+="\n  ".concat(e[s]?"🚫":"➡️"," ").concat(s)}}console.log("".concat(n,"\n```"))}(t,r),(o=n.filter((function(e){var n=t[e];return Jt(n.map((function(t){return r[t]})))&gt;.6*n.length}))).sort(),[2,o]}var c}))}))},fontPreferences:function(){return function(t,e){void 0===e&amp;&amp;(e=4e3);return ie((function(n,r){var o=r.document,i=o.body,a=i.style;a.width="".concat(e,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",Kt()?i.style.zoom="".concat(1/r.devicePixelRatio):te()&amp;&amp;(i.style.zoom="reset");var c=o.createElement("div");return c.textContent=w([],Array(e/20&lt;&lt;0),!0).map((function(){return"word"})).join(" "),i.appendChild(c),t(o,i)}),'&lt;!doctype html&gt;&lt;html&gt;&lt;head&gt;&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;')}((function(t,e){for(var n={},r={},o=0,i=Object.keys(ke);o&lt;i.length;o++){var a=i[o],c=ke[a],s=c[0],u=void 0===s?{}:s,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&amp;1":l,h=t.createElement("span");h.textContent=d,h.style.whiteSpace="nowrap";for(var v=0,f=Object.keys(u);v&lt;f.length;v++){var m=f[v],p=u[m];void 0!==p&amp;&amp;(h.style[m]=p)}n[a]=h,e.appendChild(t.createElement("br")),e.appendChild(h)}for(var y=0,g=Object.keys(ke);y&lt;g.length;y++){r[a=g[y]]=n[a].getBoundingClientRect().width}return r}))},audio:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(te()&amp;&amp;!ee()&amp;&amp;!function(){var t=window;return Jt(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])&gt;=3}())return-1;var n=new e(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);var i=function(t){var e=3,n=500,r=500,o=5e3,i=function(){},a=new Promise((function(a,c){var s=!1,u=0,l=0;t.oncomplete=function(t){return a(t.renderedBuffer)};var d=function(){setTimeout((function(){return c(oe("timeout"))}),Math.min(r,l+o-Date.now()))},h=function(){try{var r=t.startRendering();switch(Ft(r)&amp;&amp;Zt(r),t.state){case"running":l=Date.now(),s&amp;&amp;d();break;case"suspended":document.hidden||u++,s&amp;&amp;u&gt;=e?c(oe("suspended")):setTimeout(h,n)}}catch(t){c(t)}};h(),i=function(){s||(s=!0,l&gt;0&amp;&amp;d())}}));return[a,i]}(n),a=i[0],c=i[1],s=a.then((function(t){return function(t){for(var e=0,n=0;n&lt;t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return Zt(s),function(){return c(),s}},screenFrame:function(){var t=this,e=fe();return function(){return m(t,void 0,void 0,(function(){var t,n;return p(this,(function(r){switch(r.label){case 0:return[4,e()];case 1:return t=r.sent(),[2,[(n=function(t){return null===t?null:Bt(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],r=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==r&amp;&amp;n.push([r]),Array.isArray(e.languages))Kt()&amp;&amp;Jt([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])&gt;=3||n.push(e.languages);else if("string"==typeof e.languages){var o=e.languages;o&amp;&amp;n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return zt(Xt(navigator.deviceMemory),void 0)},screenResolution:function(){var t=screen,e=function(t){return zt(Nt(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return zt(Nt(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var r,o=(r=(new Date).getFullYear(),-Math.max(Xt(new Date(r,0,1).getTimezoneOffset()),Xt(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o&gt;=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){var t,e;if(!(qt()||(t=window,e=navigator,Jt(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])&gt;=3&amp;&amp;!qt())))try{return!!window.indexedDB}catch(t){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&amp;&amp;te()&amp;&amp;!ee()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return Jt(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e&gt;.65&amp;&amp;e&lt;1.53])&gt;=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n&lt;t.length;++n){var r=t[n];if(r){for(var o=[],i=0;i&lt;r.length;++i){var a=r[i];o.push({type:a.type,suffixes:a.suffixes})}e.push({name:r.name,description:r.description,mimeTypes:o})}}return e}},canvas:function(){var t,e,n=!1,r=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),o=r[0],i=r[1];if(function(t,e){return!(!e||!t.toDataURL)}(o,i)){n=function(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}(i),function(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}(o,i);var a=le(o);a!==le(o)?t=e="unstable":(e=a,function(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n&lt;r.length;n++){var o=r[n],i=o[0],a=o[1],c=o[2];e.fillStyle=i,e.beginPath(),e.arc(a,c,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}(o,i),t=le(o))}else t=e="";return{winding:n,geometry:t,text:e}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=Nt(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&amp;&amp;(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e&lt;n.length;e++){var r=n[e],o=window[r];o&amp;&amp;"object"==typeof o&amp;&amp;t.push(r)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t&lt;e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!we("inverted")||!we("none")&amp;&amp;void 0},forcedColors:function(){return!!be("active")||!be("none")&amp;&amp;void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t&lt;=100;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}},contrast:function(){return _e("no-preference")?0:_e("high")||_e("more")?1:_e("low")||_e("less")?-1:_e("forced")?10:void 0},reducedMotion:function(){return!!Se("reduce")||!Se("no-preference")&amp;&amp;void 0},hdr:function(){return!!Ae("high")||!Ae("standard")&amp;&amp;void 0},math:function(){var t,e=Ie.acos||xe,n=Ie.acosh||xe,r=Ie.asin||xe,o=Ie.asinh||xe,i=Ie.atanh||xe,a=Ie.atan||xe,c=Ie.sin||xe,s=Ie.sinh||xe,u=Ie.cos||xe,l=Ie.cosh||xe,d=Ie.tan||xe,h=Ie.tanh||xe,v=Ie.exp||xe,f=Ie.expm1||xe,m=Ie.log1p||xe;return{acos:e(.12312423423423424),acosh:n(1e308),acoshPf:(t=1e154,Ie.log(t+Ie.sqrt(t*t-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(t){return Ie.log(t+Ie.sqrt(t*t+1))}(1),atanh:i(.5),atanhPf:function(t){return Ie.log((1+t)/(1-t))/2}(.5),atan:a(.5),sin:c(-1e300),sinh:s(1),sinhPf:function(t){return Ie.exp(t)-1/Ie.exp(t)/2}(1),cos:u(10.000000000123),cosh:l(1),coshPf:function(t){return(Ie.exp(t)+1/Ie.exp(t))/2}(1),tan:d(-1e300),tanh:h(1),tanhPf:function(t){return(Ie.exp(2*t)-1)/(Ie.exp(2*t)+1)}(1),exp:v(1),expm1:f(1),expm1Pf:function(t){return Ie.exp(t)-1}(1),log1p:m(10),log1pPf:function(t){return Ie.log(1+t)}(10),powPI:function(t){return Ie.pow(Ie.PI,t)}(-100)}},videoCard:function(){var t,e=document.createElement("canvas"),n=null!==(t=e.getContext("webgl"))&amp;&amp;void 0!==t?t:e.getContext("experimental-webgl");if(n&amp;&amp;"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]}};var De="$ if upgrade to Pro: https://fpjs.dev/pro";function Ce(t){var e=function(t){if(re())return.4;if(te())return ee()?.5:.3;var e=t.platform.value||"";if(/^Win/.test(e))return.6;if(/^Mac/.test(e))return.5;return.7}(t),n=function(t){return Bt(.99+.01*t,1e-4)}(e);return{score:e,comment:De.replace(/\$/g,"".concat(n))}}function We(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?f({name:(n=e).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")},n):e;var n,r}),2)}function Ve(t){return Yt(function(t){for(var e="",n=0,r=Object.keys(t).sort();n&lt;r.length;n++){var o=r[n],i=t[o],a=i.error?"error":JSON.stringify(i.value);e+="".concat(e?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return e}(t))}function Pe(t){return void 0===t&amp;&amp;(t=50),function(t,e){void 0===e&amp;&amp;(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):Pt(Math.min(t,e))}(t,2*t)}function Fe(t,e){var n=Date.now();return{get:function(r){return m(this,void 0,void 0,(function(){var o,i,a;return p(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,t()];case 1:return i=c.sent(),a=function(t){var e;return{get visitorId(){return void 0===e&amp;&amp;(e=Ve(this.components)),e},set visitorId(t){e=t},confidence:Ce(t),components:t,version:Vt}}(i),(e||(null==r?void 0:r.debug))&amp;&amp;console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(We(i),"\n```")),[2,a]}}))}))}}}var Ee={load:function(t){var e=void 0===t?{}:t,n=e.delayFallback,r=e.debug,o=e.monitoring,i=void 0===o||o;return m(this,void 0,void 0,(function(){return p(this,(function(t){switch(t.label){case 0:return i&amp;&amp;function(){if(!(window.__fpjs_d_m||Math.random()&gt;=.001))try{var t=new XMLHttpRequest;t.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(Vt,"/npm-monitoring"),!0),t.send()}catch(t){console.error(t)}}(),[4,Pe(n)];case 1:return t.sent(),[2,Fe(Qt(Le,{debug:r},[]),r)]}}))}))},hashComponents:Ve,componentsToDebugString:We},Me=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};function Ze(t){return Me(this,void 0,void 0,(function*(){try{const t=yield Ee.load();return(yield t.get()).visitorId}catch(e){return void(yield null==t?void 0:t.logErrorAsync("Failed to generate thumbprint",void 0,e))}}))}class Oe{constructor(t,e){this._localStorageService=t,this._storageKey=e}getVisitorDeviceData(){try{const t=this._localStorageService.getItem(this._storageKey);if(!t)return;return(null==t?void 0:t.includes("{"))?JSON.parse(t):{visitorDeviceId:t,createdAt:void 0}}catch(t){return}}storeVisitorDeviceData(t){try{this._localStorageService.setItem(this._storageKey,JSON.stringify(t))}catch(t){}}clearVisitorDeviceId(){try{this._localStorageService.removeItem(this._storageKey)}catch(t){}}}class je{constructor(t){this._window=t}getItem(t){return this._window.localStorage.getItem(t)}getObject(t){const e=this._window.localStorage.getItem(t);if(e)try{return JSON.parse(e)}catch(t){return}}setItem(t,e){return this._window.localStorage.setItem(t,e),e}removeItem(t){this._window.localStorage.removeItem(t)}}var Ge=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class Re{static sleepAsync(t){return new Promise((e=&gt;{setTimeout((()=&gt;{e()}),t)}))}static waitWhile(t,e,n){return Ge(this,void 0,void 0,(function*(){let r=0;for(;r++&lt;n&amp;&amp;!(yield t());)yield this.sleepAsync(e)}))}}var Te=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class $e{constructor(t,e){this._window=t,this._$$ohana=e,this._widgetLoaded=!1,this.name="Shopify"}canActivate(t){var e,n;const r=this._window.Shopify,o=!!t.match(/^https:\/\/[^\/]*\/\d+\/orders\/[\da-z]+/i),i=!!t.match(/^https:\/\/[^\/]*\/(\d+\/)?checkouts\/([a-z]*\/)?[\da-z]+\/([a-z]*\/)?thank_you/i),a=!!r&amp;&amp;(o||i);return!a&amp;&amp;(null===(e=this._window.Shopify)||void 0===e?void 0:e.Checkout)&amp;&amp;(null===(n=this._$$ohana.logger)||void 0===n||n.logErrorAsync("Order status page not activated",{url:t})),this._widgetLoaded&amp;&amp;!a&amp;&amp;(this._widgetLoaded=!1),a}runAsync(){var t,e,n,r;return Te(this,void 0,void 0,(function*(){try{const r=null===(e=null===(t=this._window)||void 0===t?void 0:t.Shopify)||void 0===e?void 0:e.checkout,o=this._getOrderIdFromUrl(),i=(null===(n=null==r?void 0:r.order_id)||void 0===n?void 0:n.toString())||this._$$ohana.orderId;yield Promise.all([this._trackCheckoutAsync(o,i,r),this._showWidgetAsync(o,i)])}catch(t){null===(r=this._$$ohana.logger)||void 0===r||r.logErrorAsync("Failed Shopify location actor",void 0,t)}}))}_showWidgetAsync(t,e){var n,r,o;return Te(this,void 0,void 0,(function*(){try{if(this._widgetLoaded)return void console.log("OHANA: Widget already loaded");this._widgetLoaded=!0;const o=yield this._createContainerAsync();if(!o)throw null===(n=this._$$ohana.logger)||void 0===n||n.logErrorAsync("Failed to create container element"),new Error("Failed to create container element");yield null===(r=this._$$ohana.widgetManager)||void 0===r?void 0:r.addWidgetAsync(o.containerElement,At.OrderStatusPage,{orderId:t,shopOrderId:e,containerSelector:o.parentContainerSelector})}catch(t){yield null===(o=this._$$ohana.logger)||void 0===o?void 0:o.logErrorAsync("Failed to show widget",void 0,t)}}))}_trackCheckoutAsync(t,e,n){var r,o,i,a,c,s,u,l;return Te(this,void 0,void 0,(function*(){if(t)try{yield null===(o=this._$$ohana.tracking)||void 0===o?void 0:o.trackCheckoutAsync({id:t,orderId:e,price:n?+n.total_price:Number(null===(c=null===(a=null===(i=this._window.document.querySelector(".payment-due__price"))||void 0===i?void 0:i.textContent)||void 0===a?void 0:a.match(/[\d.,]+/))||void 0===c?void 0:c[0])||void 0,currency:n?""+n.currency:null===(s=this._window.document.querySelector(".payment-due__currency"))||void 0===s?void 0:s.textContent,date:n?""+n.created_at:void 0,externalProductIds:n?(null===(u=n.line_items)||void 0===u?void 0:u.map((t=&gt;t.product_id)))||[]:void 0,email:void 0})}catch(t){yield null===(l=this._$$ohana.logger)||void 0===l?void 0:l.logErrorAsync("Failed to track/update order",void 0,t)}else yield null===(r=this._$$ohana.logger)||void 0===r?void 0:r.logErrorAsync("Cannot find order id")}))}_getOrderIdFromUrl(){let t=this._window.location.pathname.match(/orders\/([\da-z]*)/i);return(null==t?void 0:t.length)&amp;&amp;(null==t?void 0:t.length)&gt;=2?t[1]:(t=this._window.location.pathname.match(/checkouts\/([a-z]+\/)?([\da-z]*)/i),(null==t?void 0:t.length)&amp;&amp;(null==t?void 0:t.length)&gt;=3?t[2]:void 0)}_createContainerAsync(){return Te(this,void 0,void 0,(function*(){const t="ohana-checkout-widget",e="ohana-checkout-container";yield this._tryAddShopifyContentBoxAsync(`&lt;div id="${t}"&gt;&lt;/div&gt;`),this._window.document.head.insertAdjacentHTML("beforeend",`&lt;style&gt;.content-box__row:has(#${t}) {display: inline-block !important;}&lt;/style&gt;`);const n=this._window.document.querySelector(`#${t}`);if(!n)return null;const r=n.closest(".content-box__row");r&amp;&amp;r.style.setProperty("display","inline-block","important");const o=null==r?void 0:r.closest(".content-box");return o&amp;&amp;(o.style.display="none",o.id=e),{containerElement:n,parentContainerSelector:`#${e}`}}))}_tryAddShopifyContentBoxAsync(t){var e,n,r;return Te(this,void 0,void 0,(function*(){let o,i=3;for(;i--&amp;&amp;(o=null===(r=null===(n=null===(e=this._window.Shopify)||void 0===e?void 0:e.Checkout)||void 0===n?void 0:n.OrderStatus)||void 0===r?void 0:r.addContentBox,!o);)yield Re.sleepAsync(100);if(!o)throw new Error("OHANA: Cannot find Shopify contentBox API");o(t)}))}}var Ye=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class Ne{constructor(t,e){this._window=t,this._$$ohana=e,this.name="WooCommerce"}canActivate(t){return!!this._window.woocommerce_params&amp;&amp;!!t.match(/^https:\/\/[^\/]*\/checkout\/order-received\/\d+\/.*/i)}runAsync(){var t,e,n,r;return Ye(this,void 0,void 0,(function*(){const o=this._getOrderIdFromUrl();if(o)try{yield null===(e=this._$$ohana.tracking)||void 0===e?void 0:e.trackCheckoutAsync(this._tryGetCheckoutParams(o))}catch(t){yield null===(n=this._$$ohana.logger)||void 0===n?void 0:n.logErrorAsync("Failed to track/update order",void 0,t)}else null===(t=this._$$ohana.logger)||void 0===t||t.logErrorAsync("Cannot find order id");const i=this._tryCreateContainer();if(!i)throw new Error("Failed to create container box");yield null===(r=this._$$ohana.widgetManager)||void 0===r?void 0:r.addWidgetAsync(i,At.OrderStatusPage,{orderId:o,shopOrderId:o,containerSelector:"#"+i.id})}))}_getOrderIdFromUrl(){const t=this._window.location.pathname.match(/checkout\/order-received\/([\da-z]*)/i);if((null==t?void 0:t.length)&amp;&amp;!(t.length&lt;2))return t[1]}_tryGetCheckoutParams(t){return{id:t,orderId:void 0,price:this._tryParsePrice(),currency:this._tryParseCurrency(),date:this._tryParseDate(),externalProductIds:void 0,email:void 0}}_tryParsePrice(){var t,e;const n=+(null===(e=null===(t=this._window.document.querySelector(".woocommerce-order-overview__total.total .amount"))||void 0===t?void 0:t.textContent)||void 0===e?void 0:e.replace(/[^\d.]*/g,""));if(!isNaN(n))return n}_tryParseCurrency(){var t,e;const n=null===(e=null===(t=this._window.document.querySelector(".woocommerce-order-overview__total.total .amount"))||void 0===t?void 0:t.textContent)||void 0===e?void 0:e.replace(/[\d.]*/g,"");if(n)return st[n]}_tryParseDate(){var t,e,n,r;let o;try{if(o=null===(t=this._window.document.querySelector(".woocommerce-order-overview__date.date strong"))||void 0===t?void 0:t.textContent,!o)return;return o.match(/^\d{2}\/\d{2}\/\d{4}$/)?null===(e=new Date(o.split("/").reverse().join("-")))||void 0===e?void 0:e.toISOString():null===(n=new Date(o.replace(/th|nd|rd|st/g,"")))||void 0===n?void 0:n.toISOString()}catch(t){null===(r=this._$$ohana.logger)||void 0===r||r.logErrorAsync(`Failed to parse date: "${o}"`)}}_tryCreateContainer(){var t;let e=this._window.document.querySelector(".woocommerce-customer-details");if(e||(e=this._window.document.querySelector(".woocommerce-order")),e||(e=this._window.document.querySelector("#content .woocommerce")),e||(e=this._window.document.querySelector(".woocommerce:not(.dgwt-wcas-search-wrapp)")),e||(e=this._window.document.querySelector(".woocommerce")),!e)return;const n=this._window.document.createElement("div");return n.id="ohana-checkout-widget",null===(t=e.parentNode)||void 0===t||t.insertBefore(n,e.nextSibling),this._window.document.querySelector(`#${n.id}`)}}var Xe=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class ze{constructor(t){this._widgetManager=t,this.name="WidgetSync"}canActivate(){return!0}runAsync(){return Xe(this,void 0,void 0,(function*(){yield this._widgetManager.syncWidgetsAsync()}))}}var Je=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};class Be{constructor(t,e,n){this._settings=t,this._window=e,this._$$ohana=n,this.name="PageView"}canActivate(t){return!this._settings.disableTracking}runAsync(){var t;return Je(this,void 0,void 0,(function*(){if(this._$$ohana.visitorDeviceId&amp;&amp;this._$$ohana.placementId)try{const t=new yt("https://visits.joinohana.io",this._window);yield t.postAsync("api/visits/page-view",{url:this._window.location.href,placementId:this._$$ohana.placementId,visitorDeviceId:this._$$ohana.visitorDeviceId,browserThumbprint:yield Ze(this._$$ohana.logger),browserUserAgent:this._window.navigator.userAgent})}catch(e){null===(t=this._$$ohana.logger)||void 0===t||t.logVerbose("Failed to save page view")}}))}}var He=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}s((r=r.apply(t,e||[])).next())}))};!function(e){var n,r,o;const i=e.$$ohana;if(!i)throw new Error("OHANA: Cannot find Ohana window");let a=!!(null===(r=null===(n=navigator.vendor)||void 0===n?void 0:n.includes)||void 0===r?void 0:r.call(n,"Google"));const u=null===(o=e.$$ohana)||void 0===o?void 0:o.placementId;function l(t){try{t()}catch(t){console.error("Failed to call onReady callback")}}(function(){var n,r;return He(this,void 0,void 0,(function*(){const o=new je(e),d=o.getObject("ohana-settings")||{};if(i.settings||(i.settings=d),d.disable)return;const h=yield(v=e.document,f=t,new Promise(((t,e)=&gt;{try{const n=v.createElement("iframe");n.style.display="none",n.src=gt(f),v.body.appendChild(n),n.addEventListener("load",(()=&gt;{t(n)})),n.addEventListener("error",(t=&gt;{e(t)}))}catch(t){e(t)}})));var v,f;if(!h.contentWindow)throw new Error("OHANA: Failed to load global window");i.http=new yt("https://visitor-api.joinohana.io",e),i.logger=new ft(e,(()=&gt;i.placementId),(()=&gt;i.visitorDeviceId),i.http),i.tracking=new kt(d,(()=&gt;i.placementId),(()=&gt;i.visitorDeviceId),i.http),i.componentManager=new _t(e,i),i.widgetManager=new Ct(e,i);const m=new s(u,e,h.contentWindow);yield function(t,n){return He(this,void 0,void 0,(function*(){const r=yield Ze(i.logger),o=new Oe(n,"ohana-device-id"),s=m(),l=a?yield p():void 0,d=f();i.visitorDeviceId=(null==l?void 0:l.visitorDeviceId)||(null==s?void 0:s.visitorDeviceId)||(null==d?void 0:d.visitorDeviceId)||(yield function(t,e,n,r){return Me(this,void 0,void 0,(function*(){const o=n.navigator.userAgent;try{let t;try{t=yield i(r,o)}catch(t){}return t||(t=yield i(r,o)),t}catch(e){return yield null==t?void 0:t.logErrorAsync("Failed to generate new visitor device id on server",void 0,e),c()}function i(t,n){return Me(this,void 0,void 0,(function*(){const{id:r}=yield e.postAsync("api/visitors/devices/create",{thumbprint:t,userAgent:n});return r}))}}))}(i.logger,i.http,e,r)),a&amp;&amp;i.visitorDeviceId!==(null==l?void 0:l.visitorDeviceId)&amp;&amp;y(i.visitorDeviceId),i.visitorDeviceId!==(null==d?void 0:d.visitorDeviceId)&amp;&amp;o.storeVisitorDeviceData({visitorDeviceId:i.visitorDeviceId,createdAt:(new Date).toISOString()});const h=[null==s?void 0:s.visitorDeviceId,null==l?void 0:l.visitorDeviceId,null==d?void 0:d.visitorDeviceId].filter((t=&gt;!!t&amp;&amp;t!==i.visitorDeviceId));return h.length&amp;&amp;Promise.all(h.map((t=&gt;function(t,n,r,o,a){var c,s;return He(this,void 0,void 0,(function*(){try{yield null===(c=i.http)||void 0===c?void 0:c.postAsync("api/visitors/devices/resolve",{placementId:t,visitorDeviceAId:n,visitorDeviceBId:r,thumbprint:o,userAgent:e.navigator.userAgent,reason:a})}catch(t){null===(s=i.logger)||void 0===s||s.logErrorAsync("Failed to resolve visitors",{visitorDeviceAId:n,visitorDeviceBId:r},t)}}))}(u,i.visitorDeviceId,t,r,JSON.stringify({reason:"local-resolve",url:null==s?void 0:s.visitorDeviceId,global:null==l?void 0:l.visitorDeviceId,local:null==d?void 0:d.visitorDeviceId,result:i.visitorDeviceId}))))),i.visitorDeviceId;function v(t){return!a&amp;&amp;(!t.createdAt||new Date(t.createdAt).getTime()&lt;1677006148567)||!!["00ac4d2d-d268-43e8-a8cb-e1e09e7412e8","734c0fd0-eb81-4d4a-aa80-cc1d38df5169"].includes(t.visitorDeviceId)}function f(){try{const t=o.getVisitorDeviceData();return t&amp;&amp;v(t)?void o.clearVisitorDeviceId():t}catch(t){}}function m(){var t,e;try{const n=null===(t=new URL(window.location.href))||void 0===t?void 0:t.searchParams,r=null==n?void 0:n.get(rt),o=null==n?void 0:n.get(ot);if(r&amp;&amp;(e=r,Wt.test(e))){const t={visitorDeviceId:r,createdAt:o?new Date(+o).toISOString():void 0};if(v(t))return;return t}}catch(t){}}function p(){return He(this,void 0,void 0,(function*(){try{const e=yield t.sendMessageToGlobalAsync(mt.GetVisitorDeviceData);return(null==e?void 0:e.visitorDeviceData)&amp;&amp;v(e.visitorDeviceData)?void(yield g()):null==e?void 0:e.visitorDeviceData}catch(t){a=!1}}))}function y(e){return He(this,void 0,void 0,(function*(){try{yield t.sendMessageToGlobalAsync(mt.StoreVisitorDeviceData,{visitorDeviceData:{visitorDeviceId:e,createdAt:(new Date).toISOString()}})}catch(t){}}))}function g(){return He(this,void 0,void 0,(function*(){try{yield t.sendMessageToGlobalAsync(mt.ClearVisitorDeviceData)}catch(t){}}))}}))}(m,o);const p=new tt(e);i.locationActorManager=new nt(i,p),[new $e(e,i),new Ne(e,i),new ze(i.widgetManager),new Be(d,e,i)].forEach((t=&gt;{i.locationActorManager.registerLocationActor(t)})),p.initialize(),i.onReady&amp;&amp;(null===(r=null===(n=i.onReady)||void 0===n?void 0:n.forEach)||void 0===r||r.call(n,(t=&gt;{l(t)})),i.onReady={push:(...t)=&gt;(t.forEach((t=&gt;{l(t)})),0)})}))})().catch((t=&gt;{var e;null===(e=i.logger)||void 0===e||e.logErrorAsync("Failed to load Ohana global script",void 0,t),console.error("Failed to load Ohana global script")}))}(window)})();</pre></body></html>