/*! * This software Connector and its source code are the property of Contxtful Technologies Inc. Use of this * script is Subject to the terms and conditions of the License Agreement. * * As a subscriber, you agree that you are solely responsible for providing all appropriate and legally * required disclosures pertaining to the use and removal of the Connector(s) and obtain any legally required * consents as needed, and you agree that it will defend, indemnify and hold Contxtful Technologies Inc. * harmless from and against any and all third-party claims stemming from or related to the use of Tags as * provided herein. */(()=>{"use strict";var n={456:(n,t,e)=>{let _;e.r(t),e.d(t,{ApiPointer:()=>O,WebReceptivity:()=>M,build:()=>T,default:()=>L,initSync:()=>U,main:()=>k}),n=e.hmd(n);const r=new Array(128).fill(void 0);function i(n){return r[n]}r.push(void 0,null,!0,!1);let o=0,c=null;function b(){return null!==c&&0!==c.byteLength||(c=new Uint8Array(_.memory.buffer)),c}const u="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},a="function"==typeof u.encodeInto?function(n,t){return u.encodeInto(n,t)}:function(n,t){const e=u.encode(n);return t.set(e),{read:n.length,written:e.length}};function f(n,t,e){if(void 0===e){const e=u.encode(n),_=t(e.length,1)>>>0;return b().subarray(_,_+e.length).set(e),o=e.length,_}let _=n.length,r=t(_,1)>>>0;const i=b();let c=0;for(;c<_;c++){const t=n.charCodeAt(c);if(t>127)break;i[r+c]=t}if(c!==_){0!==c&&(n=n.slice(c)),r=e(r,_,_=c+3*n.length,1)>>>0;const t=b().subarray(r+c,r+_);c+=a(n,t).written}return o=c,r}function g(n){return null==n}let w=null;function d(){return null!==w&&0!==w.byteLength||(w=new Int32Array(_.memory.buffer)),w}const s="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function l(n,t){return n>>>=0,s.decode(b().subarray(n,n+t))}"undefined"!=typeof TextDecoder&&s.decode();let p=r.length;function y(n){p===r.length&&r.push(r.length+1);const t=p;return p=r[t],r[t]=n,t}let h=null;function m(){return null!==h&&0!==h.byteLength||(h=new Float64Array(_.memory.buffer)),h}function x(n){const t=i(n);return function(n){n<132||(r[n]=p,p=n)}(n),t}function v(n,t,e){_.__wbindgen_export_3(n,t,y(e))}function R(n,t,e,r){const i={a:n,b:t,cnt:1,dtor:e},o=(...n)=>{i.cnt++;const t=i.a;i.a=0;try{return r(t,i.b,...n)}finally{0==--i.cnt?_.__wbindgen_export_2.get(i.dtor)(t,i.b):i.a=t}};return o.original=i,o}function S(n,t){_.__wbindgen_export_4(n,t)}function E(n,t,e){_.__wbindgen_export_5(n,t,y(e))}function A(n,t){try{return n.apply(this,t)}catch(n){_.__wbindgen_export_6(y(n))}}function k(){_.main()}function T(n,t){return x(_.build(y(n),g(t)?0:y(t)))}let j=null;function C(n,t){const e=t(4*n.length,4)>>>0,r=(null!==j&&0!==j.byteLength||(j=new Uint32Array(_.memory.buffer)),j);for(let t=0;t>>=0;const t=Object.create(O.prototype);return t.__wbg_ptr=n,t}__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,n}free(){const n=this.__destroy_into_raw();_.__wbg_apipointer_free(n)}receptivity(){const n=_.apipointer_receptivity(this.__wbg_ptr);return 0===n?void 0:M.__wrap(n)}acquisition(n){return x(_.apipointer_acquisition(this.__wbg_ptr,y(n)))}}class M{static __wrap(n){n>>>=0;const t=Object.create(M.prototype);return t.__wbg_ptr=n,t}__destroy_into_raw(){const n=this.__wbg_ptr;return this.__wbg_ptr=0,n}free(){const n=this.__destroy_into_raw();_.__wbg_webreceptivity_free(n)}get ReceptivityState(){let n,t;try{const i=_.__wbindgen_add_to_stack_pointer(-16);_.webreceptivity_lookalike(i,this.__wbg_ptr);var e=d()[i/4+0],r=d()[i/4+1];return n=e,t=r,l(e,r)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export_8(n,t,1)}}get receptivity(){let n,t;try{const i=_.__wbindgen_add_to_stack_pointer(-16);_.webreceptivity_lookalike(i,this.__wbg_ptr);var e=d()[i/4+0],r=d()[i/4+1];return n=e,t=r,l(e,r)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export_8(n,t,1)}}get receptivity_range(){let n,t;try{const i=_.__wbindgen_add_to_stack_pointer(-16);_.webreceptivity_lookalike(i,this.__wbg_ptr);var e=d()[i/4+0],r=d()[i/4+1];return n=e,t=r,l(e,r)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export_8(n,t,1)}}get ReceptivityLookalike(){let n,t;try{const i=_.__wbindgen_add_to_stack_pointer(-16);_.webreceptivity_lookalike(i,this.__wbg_ptr);var e=d()[i/4+0],r=d()[i/4+1];return n=e,t=r,l(e,r)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export_8(n,t,1)}}}function P(){const t={};var r;return t.wbg={},t.wbg.__wbg_instanceof_MouseEvent_2e3266fd490c9da8=function(n){let t;try{t=i(n)instanceof MouseEvent}catch{t=!1}return t},t.wbg.__wbindgen_string_get=function(n,t){const e=i(t),r="string"==typeof e?e:void 0;var c=g(r)?0:f(r,_.__wbindgen_export_0,_.__wbindgen_export_1),b=o;d()[n/4+1]=b,d()[n/4+0]=c},t.wbg.__wbg_new_b51585de1b234aff=function(){return y(new Object)},t.wbg.__wbindgen_string_new=function(n,t){return y(l(n,t))},t.wbg.__wbindgen_memory=function(){return y(_.memory)},t.wbg.__wbg_buffer_085ec1f694018c4f=function(n){return y(i(n).buffer)},t.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(n,t,e){return y(new Uint8Array(i(n),t>>>0,e>>>0))},t.wbg.__wbg_new_8125e318e6245eed=function(n){return y(new Uint8Array(i(n)))},t.wbg.__wbindgen_object_clone_ref=function(n){return y(i(n))},t.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return A((function(n,t,e){return y(new Request(l(n,t),i(e)))}),arguments)},t.wbg.__wbg_headers_b439dcff02e808e5=function(n){return y(i(n).headers)},t.wbg.__wbg_set_b34caba58723c454=function(){return A((function(n,t,e,_,r){i(n).set(l(t,e),l(_,r))}),arguments)},t.wbg.__wbg_fetch_336b6f0cb426b46e=function(n,t){return y(i(n).fetch(i(t)))},t.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(n){let t;try{t=i(n)instanceof Response}catch{t=!1}return t},t.wbg.__wbg_status_ac85a3142a84caa2=function(n){return i(n).status},t.wbg.__wbg_text_a667ac1770538491=function(){return A((function(n){return y(i(n).text())}),arguments)},t.wbg.__wbg_statusText_1dd32f6c94d79ef0=function(n,t){const e=f(i(t).statusText,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbindgen_is_null=function(n){return null===i(n)},t.wbg.__wbg_instanceof_Response_f4683270d1b3c711=function(n){let t;try{t=i(n)instanceof Object}catch{t=!1}return t},t.wbg.__wbg_Reject_4962a0a8d6512ecd=function(){return A((function(n,t){const e=C(i(t).Reject,_.__wbindgen_export_0),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_Recep_49368870596cd384=function(){return A((function(n,t){const e=f(i(t).Recep,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_RecepSt_9392ca09951c11d2=function(){return A((function(n,t){const e=f(i(t).RecepSt,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_instanceof_DeviceMotionEvent_97bbee9d22182e50=function(n){let t;try{t=i(n)instanceof DeviceMotionEvent}catch{t=!1}return t},t.wbg.__wbg_rotationRate_82b642575af3e5e2=function(n){const t=i(n).rotationRate;return g(t)?0:y(t)},t.wbg.__wbg_alpha_ed0418a8d07b5c03=function(n,t){const e=i(t).alpha;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_beta_7526afd71d22fbc6=function(n,t){const e=i(t).beta;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_gamma_048553a79c24a13a=function(n,t){const e=i(t).gamma;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_accelerationIncludingGravity_3c566b149cab6e35=function(n){const t=i(n).accelerationIncludingGravity;return g(t)?0:y(t)},t.wbg.__wbg_acceleration_8218b01655c4dae3=function(n){const t=i(n).acceleration;return g(t)?0:y(t)},t.wbg.__wbindgen_is_object=function(n){const t=i(n);return"object"==typeof t&&null!==t},t.wbg.__wbindgen_is_string=function(n){return"string"==typeof i(n)},t.wbg.__wbg_tagid_d8dca412dab35b31=function(n,t){const e=f(i(t).tag_id,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbg_certificationMode_5acc16bf69d37703=function(n,t){const e=f(i(t).certificationMode,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbg_dl_15977469a6e3ef6f=function(n){return i(n).dl},t.wbg.__wbg_fb_bccfba440a4e4866=function(n){return y(i(n).fb)},t.wbg.__wbg_Pr_21db577dcd049891=function(n,t){const e=f(i(t).Pr,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbg_Pa_8fbb639e7f2bbbf8=function(n,t){const e=f(i(t).Pa,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbg_entries_e51f29c7bba0c054=function(n){return y(Object.entries(i(n)))},t.wbg.__wbg_length_fff51ee6522a1a18=function(n){return i(n).length},t.wbg.__wbg_get_44be0491f933a435=function(n,t){return y(i(n)[t>>>0])},t.wbg.__wbindgen_number_get=function(n,t){const e=i(t),_="number"==typeof e?e:void 0;m()[n/8+1]=g(_)?0:_,d()[n/4+0]=!g(_)},t.wbg.__wbg_apipointer_new=function(n){return y(O.__wrap(n))},t.wbg.__wbg_clearTimeout_76877dbc010e786d=function(n){return y(clearTimeout(x(n)))},t.wbg.__wbindgen_object_drop_ref=function(n){x(n)},t.wbg.__wbindgen_cb_drop=function(n){const t=x(n).original;if(1==t.cnt--)return t.a=0,!0;return!1},t.wbg.__wbg_clientX_1a480606ab0cabaa=function(n){return i(n).clientX},t.wbg.__wbg_clientY_9c7878f7faf3900f=function(n){return i(n).clientY},t.wbg.__wbg_button_7a095234b69de930=function(n){return i(n).button},t.wbg.__wbg_setTimeout_75cb9b6991a4031d=function(){return A((function(n,t){return y(setTimeout(i(n),t))}),arguments)},t.wbg.__wbg_random_5f61cd0d6777a993="function"==typeof Math.random?Math.random:(r="Math.random",()=>{throw new Error(`${r} is not defined`)}),t.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return A((function(n,t){i(n).randomFillSync(x(t))}),arguments)},t.wbg.__wbg_subarray_13db269f57aa838d=function(n,t,e){return y(i(n).subarray(t>>>0,e>>>0))},t.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return A((function(n,t){i(n).getRandomValues(i(t))}),arguments)},t.wbg.__wbg_set_5cf90238115182c3=function(n,t,e){i(n).set(i(t),e>>>0)},t.wbg.__wbg_screen_452da8d1ab76046e=function(){return A((function(n){return y(i(n).screen)}),arguments)},t.wbg.__wbg_width_07fc222a210e15f1=function(){return A((function(n){return i(n).width}),arguments)},t.wbg.__wbg_height_6fa226ea329cffc1=function(){return A((function(n){return i(n).height}),arguments)},t.wbg.__wbg_devicePixelRatio_f9de7bddca0eaf20=function(n){return i(n).devicePixelRatio},t.wbg.__wbg_navigator_7c9103698acde322=function(n){return y(i(n).navigator)},t.wbg.__wbg_initiator_31e0ee8e728b27ba=function(){return A((function(n){const t=f(Contxtful.initiator(),_.__wbindgen_export_0,_.__wbindgen_export_1),e=o;d()[n/4+1]=e,d()[n/4+0]=t}),arguments)},t.wbg.__wbg_location_56243dba507f472d=function(n){return y(i(n).location)},t.wbg.__wbg_href_d62a28e4fc1ab948=function(){return A((function(n,t){const e=f(i(t).href,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_document_f7ace2b956f30a4f=function(n){const t=i(n).document;return g(t)?0:y(t)},t.wbg.__wbg_referrer_447e8774fcc63d6e=function(n,t){const e=f(i(t).referrer,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e},t.wbg.__wbg_initiatorid_57d67709a96ff357=function(){return A((function(n){const t=f(Contxtful.initiator_id(),_.__wbindgen_export_0,_.__wbindgen_export_1),e=o;d()[n/4+1]=e,d()[n/4+0]=t}),arguments)},t.wbg.__wbg_platform_6a9b59df01050eac=function(){return A((function(n,t){const e=f(i(t).platform,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_sessionStorage_3b863b6e15dd2bdc=function(){return A((function(n){const t=i(n).sessionStorage;return g(t)?0:y(t)}),arguments)},t.wbg.__wbg_new_43f1b47c28813cbd=function(n,t){try{var e={a:n,b:t};const r=new Promise(((n,t)=>{const r=e.a;e.a=0;try{return function(n,t,e,r){_.__wbindgen_export_7(n,t,y(e),y(r))}(r,e.b,n,t)}finally{e.a=r}}));return y(r)}finally{e.a=e.b=0}},t.wbg.__wbg_crypto_c48a774b022d20ac=function(n){return y(i(n).crypto)},t.wbg.__wbg_process_298734cf255a885d=function(n){return y(i(n).process)},t.wbg.__wbg_versions_e2e78e134e3e5d01=function(n){return y(i(n).versions)},t.wbg.__wbg_node_1cd7a5d853dbea79=function(n){return y(i(n).node)},t.wbg.__wbg_require_8f08ceecec0f4fee=function(){return A((function(){return y(n.require)}),arguments)},t.wbg.__wbindgen_is_function=function(n){return"function"==typeof i(n)},t.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(n){return y(i(n).msCrypto)},t.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(n){return y(new Uint8Array(n>>>0))},t.wbg.__wbg_self_1ff1d729e9aae938=function(){return A((function(){return y(self.self)}),arguments)},t.wbg.__wbg_window_5f4faef6c12b79ec=function(){return A((function(){return y(window.window)}),arguments)},t.wbg.__wbg_globalThis_1d39714405582d3c=function(){return A((function(){return y(globalThis.globalThis)}),arguments)},t.wbg.__wbg_global_651f05c6a0944d1c=function(){return A((function(){return y(e.g.global)}),arguments)},t.wbg.__wbindgen_is_undefined=function(n){return void 0===i(n)},t.wbg.__wbg_newnoargs_581967eacc0e2604=function(n,t){return y(new Function(l(n,t)))},t.wbg.__wbg_call_cb65541d95d71282=function(){return A((function(n,t){return y(i(n).call(i(t)))}),arguments)},t.wbg.__wbg_call_01734de55d61e11d=function(){return A((function(n,t,e){return y(i(n).call(i(t),i(e)))}),arguments)},t.wbg.__wbg_set_092e06b0f9d71865=function(){return A((function(n,t,e){return Reflect.set(i(n),i(t),i(e))}),arguments)},t.wbg.__wbg_parse_670c19d4e984792e=function(){return A((function(n,t){return y(JSON.parse(l(n,t)))}),arguments)},t.wbg.__wbg_stringify_e25465938f3f611f=function(){return A((function(n){return y(JSON.stringify(i(n)))}),arguments)},t.wbg.__wbg_instanceof_SessionStorageEntry_6d0b9f402c490737=function(n){let t;try{t=i(n)instanceof Object}catch{t=!1}return t},t.wbg.__wbg_newwithlength_3ec098a360da1909=function(n){return y(new Array(n>>>0))},t.wbg.__wbg_set_502d29070ea18557=function(n,t,e){i(n)[t>>>0]=x(e)},t.wbg.__wbg_new0_c0be7df4b6bd481f=function(){return y(new Date)},t.wbg.__wbg_getTime_5e2054f832d82ec9=function(n){return i(n).getTime()},t.wbg.__wbg_atob_d50d5c896e07230f=function(){return A((function(n,t,e,r){const c=f(i(t).atob(l(e,r)),_.__wbindgen_export_0,_.__wbindgen_export_1),b=o;d()[n/4+1]=b,d()[n/4+0]=c}),arguments)},t.wbg.__wbg_from_d7c216d4616bb368=function(n){return y(Array.from(i(n)))},t.wbg.__wbindgen_jsval_eq=function(n,t){return i(n)===i(t)},t.wbg.__wbg_parseFloat_94b63ea243450734=function(n,t){return Number.parseFloat(l(n,t))},t.wbg.__wbg_getItem_ed8e218e51f1efeb=function(){return A((function(n,t,e,r){const c=i(t).getItem(l(e,r));var b=g(c)?0:f(c,_.__wbindgen_export_0,_.__wbindgen_export_1),u=o;d()[n/4+1]=u,d()[n/4+0]=b}),arguments)},t.wbg.__wbg_payload_275a4c29ec63da9f=function(){return A((function(n,t){const e=f(i(t).payload,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbg_valueOf_7d8df3cd4f3f583b=function(n){return i(n).valueOf()},t.wbg.__wbg_expiration_3fe9a939cadecc95=function(){return A((function(n,t){const e=f(i(t).expiration,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbindgen_number_new=function(n){return y(n)},t.wbg.__wbg_set_bd72c078edfa51ad=function(n,t,e){i(n)[x(t)]=x(e)},t.wbg.__wbg_btoa_0eef8b3b3771ade3=function(){return A((function(n,t,e,r){const c=f(i(t).btoa(l(e,r)),_.__wbindgen_export_0,_.__wbindgen_export_1),b=o;d()[n/4+1]=b,d()[n/4+0]=c}),arguments)},t.wbg.__wbg_setexpiration_49e33624270509bd=function(n,t,e){let r,o;try{r=t,o=e,i(n).expiration=l(t,e)}finally{_.__wbindgen_export_8(r,o,1)}},t.wbg.__wbg_setpayload_bb8ba796146688c7=function(n,t,e){let r,o;try{r=t,o=e,i(n).payload=l(t,e)}finally{_.__wbindgen_export_8(r,o,1)}},t.wbg.__wbg_setItem_d002ee486462bfff=function(){return A((function(n,t,e,_,r){i(n).setItem(l(t,e),l(_,r))}),arguments)},t.wbg.__wbg_toString_6b52d3ea288fdda5=function(){return A((function(n,t){return y(i(n).toString(t))}),arguments)},t.wbg.__wbg_new_898a68150f225f2e=function(){return y(new Array)},t.wbg.__wbg_push_ca1c26067ef907ac=function(n,t){return i(n).push(i(t))},t.wbg.__wbg_concat_4d5b745231b31cca=function(n,t){return y(i(n).concat(i(t)))},t.wbg.__wbg_fromEntries_46475be008d7104f=function(){return A((function(n){return y(Object.fromEntries(i(n)))}),arguments)},t.wbg.__wbg_encodeURIComponent_3f637a8dc95a03b2=function(n,t){return y(encodeURIComponent(l(n,t)))},t.wbg.__wbg_error_788ae33f81d3b84b=function(n){console.error(i(n))},t.wbg.__wbg_webreceptivity_new=function(n){return y(M.__wrap(n))},t.wbg.__wbg_parseInt_0a86ec422b03946b=function(n,t,e){return Number.parseInt(l(n,t),e)},t.wbg.__wbindgen_throw=function(n,t){throw new Error(l(n,t))},t.wbg.__wbg_then_f7e06ee3c11698eb=function(n,t){return y(i(n).then(i(t)))},t.wbg.__wbg_then_b2267541e2a73865=function(n,t,e){return y(i(n).then(i(t),i(e)))},t.wbg.__wbg_resolve_53698b95aaf7fcf8=function(n){return y(Promise.resolve(i(n)))},t.wbg.__wbg_instanceof_Window_9029196b662bc42a=function(n){let t;try{t=i(n)instanceof Window}catch{t=!1}return t},t.wbg.__wbg_x_3ab7e753f0efc564=function(n,t){const e=i(t).x;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_y_ab13df9a170e35c5=function(n,t){const e=i(t).y;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_z_a3f62104828ad265=function(n,t){const e=i(t).z;m()[n/8+1]=g(e)?0:e,d()[n/4+0]=!g(e)},t.wbg.__wbg_addEventListener_5651108fc3ffeb6e=function(){return A((function(n,t,e,_){i(n).addEventListener(l(t,e),i(_))}),arguments)},t.wbg.__wbg_userAgent_2053026e2b1e0c7e=function(){return A((function(n,t){const e=f(i(t).userAgent,_.__wbindgen_export_0,_.__wbindgen_export_1),r=o;d()[n/4+1]=r,d()[n/4+0]=e}),arguments)},t.wbg.__wbindgen_closure_wrapper159=function(n,t,e){const r=function(n,t,e,r){const i={a:n,b:t,cnt:1,dtor:e},o=(...n)=>{i.cnt++;try{return r(i.a,i.b,...n)}finally{0==--i.cnt&&(_.__wbindgen_export_2.get(i.dtor)(i.a,i.b),i.a=0)}};return o.original=i,o}(n,t,3,v);return y(r)},t.wbg.__wbindgen_closure_wrapper425=function(n,t,e){return y(R(n,t,9,S))},t.wbg.__wbindgen_closure_wrapper1198=function(n,t,e){return y(R(n,t,24,E))},t}function I(n,t){return _=n.exports,W.__wbindgen_wasm_module=t,h=null,w=null,j=null,c=null,_.__wbindgen_start(),_}function U(n){if(void 0!==_)return _;const t=P();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));return I(new WebAssembly.Instance(n,t),n)}async function W(n){if(void 0!==_)return _;void 0===n&&(n=new URL(e(118),e.b));const t=P();("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n));const{instance:r,module:i}=await async function(n,t){if("function"==typeof Response&&n instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(n,t)}catch(t){if("application/wasm"==n.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const e=await n.arrayBuffer();return await WebAssembly.instantiate(e,t)}{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}(await n,t);return I(r,i)}const L=W},118:(n,t,e)=>{n.exports="https://cdn.receptivity.io/v1/internal/public/static/rxengine-citrine.wasm?a3f2ab00efc6515bda10"}},t={};function e(_){var r=t[_];if(void 0!==r)return r.exports;var i=t[_]={id:_,loaded:!1,exports:{}};return n[_](i,i.exports,e),i.loaded=!0,i.exports}e.m=n,e.d=(n,t)=>{for(var _ in t)e.o(t,_)&&!e.o(n,_)&&Object.defineProperty(n,_,{enumerable:!0,get:t[_]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),e.hmd=n=>((n=Object.create(n)).children||(n.children=[]),Object.defineProperty(n,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+n.id)}}),n),e.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),e.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},(()=>{var n;e.g.importScripts&&(n=e.g.location+"");var t=e.g.document;if(!n&&t&&(t.currentScript&&(n=t.currentScript.src),!n)){var _=t.getElementsByTagName("script");_.length&&(n=_[_.length-1].src)}if(!n)throw new Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=n})(),e.b=document.baseURI||self.location.href,(()=>{const n=document.currentScript;function t(n){"googletag"in window&&window.googletag.cmd.push((function(){["receptivity","ReceptivityState","receptivity_range","ReceptivityLookalike"].filter((t=>!!(t in n))).forEach((t=>{window.googletag.pubads().setTargeting(t,n[t])}))}))}function _(n){if("headertag"in window)try{window.headertag.cmd.push((function(){window.headertag.setSiteKeyValueData(n)}))}catch(n){}}function r(n,t){return typeof n===t&&n}function i(n,t,e=50,_=5){if(_--)try{return void n(t)}catch(r){if(_<=0)throw r;setTimeout(i,e,n,t,e,_)}}var o=e(118);const c=document.currentScript,b=function(t={}){return Object.assign({},typeof t==typeof{}?t:{},function(n){try{const e={id:"tag_id",callback:"callback",SSP:"SSP"};let _={},r=new URL(n.src);if(r.searchParams.forEach(((n,t)=>{e[t]&&n&&(_[e[t]]=n)})),!_.tag_id){var t=r.pathname.split("/");t.length>3&&(_.tag_id=t[3])}return _}catch(n){return{}}}(n),{src:n.src})}();e.g.Contxtful??={initiator:()=>c.src,initiator_id:()=>b.tag_id};const u=function(n){let t=!1;return e=>{t||(c.dispatchEvent(new CustomEvent("initialReceptivity",{detail:e,bubbles:!1})),t=!0),n(e)}}(function(n,e){let o=function(n){if(t=n,!r(t,"string"))return!1;var t;return t=>{let e=(_=window,n.split(".").reduce(((n,t)=>n[t]),_));var _;if(!e)throw`Contxtful: Could not found callback with name '${n}'`;if(!function(n){return r(n,"function")}(e))throw`Contxtful: Callback with name '${n}' is not a function`;e(t)}}(n);return n=>{i(t,n),"indexexchange"===e&&i(_,n),o&&i(o,n)}}(b.callback,b.SSP)),a=`https://ctxtfl.com/config?id=${b.tag_id}`;e.g.Contxtful.binding??=e(456);const{default:f,build:g}=e.g.Contxtful.binding;e.g.Contxtful.module??=f(o),fetch(a).then((async n=>{let t=await n.json();await e.g.Contxtful.module;const _=await g(t,u);if(!_)return;const r={GetReceptivity:()=>_.receptivity(),SetReceptivity:()=>u(_.receptivity()),GetManualReceptivity:()=>{console.warn("'GetManualReceptivity' will be deprecated in future releases. Use 'SetReceptivity' instead"),e.g.Contxtful.Api.SetReceptivity()},TriggerEvent:n=>_.acquisition(n)};e.g.Contxtful.Api=r,c.dispatchEvent(new CustomEvent("rxEngineIsReady",{detail:r,bubbles:!1}))}))})()})(); /*! CreationDate:Thu Nov 09 2023 15:18:07 GMT+0000 (Coordinated Universal Time) */