1"use strict";(globalThis["webpackChunkgk_jss_app"]=globalThis["webpackChunkgk_jss_app"]||[]).push([[9140],{25:(t,e,s)=>{s.d(e,{lw:()=>q,Ay:()=>V});var i=s(90663),n=s(2861),a=s(10858),r=s(16238);class o{constructor(t,e,s){this.j=t,this.Zn=e,this.gh=s,this.j=t,this.Zn=e||!1,this.gh=s,this.ph=new n.A,this.Fh=0,this.kh=1}fh(){return this.Zn}wh(){return this.j.lt(i.d.ct.jh)}setSdkAuthenticationSignature(t){const e=this.wh();this.j.ft(i.d.ct.jh,t);const s=a.A.Us.Rs;new a.A(s,r.A).setItem(s.Fs.xh,this.kh,t),e!==t&&this.Z()}qh(){this.j.Nt(i.d.ct.jh);const t=a.A.Us.Rs;new a.A(t,r.A).be(t.Fs.xh,this.kh)}subscribeToSdkAuthenticationFailures(t){return this.gh.wt(t)}yh(t){this.gh.L(t)}Bh(){this.ph.removeAllSubscriptions()}Gh(){this.Fh+=1}Hh(){return this.Fh}Z(){this.Fh=0}}var l=s(94188),c=s(10007);class u{constructor(t){this.id=t,this.id=t}Ar(){const t={};return null!=this.browser&&(t.browser=this.browser),null!=this.Ga&&(t.browser_version=this.Ga),null!=this.os&&(t.os_version=this.os),null!=this.resolution&&(t.resolution=this.resolution),null!=this.language&&(t.locale=this.language),null!=this.timeZone&&(t.time_zone=this.timeZone),null!=this.userAgent&&(t.user_agent=this.userAgent),t}}const h={BROWSER:"browser",BROWSER_VERSION:"browserVersion",OS:"os",RESOLUTION:"resolution",LANGUAGE:"language",TIME_ZONE:"timeZone",USER_AGENT:"userAgent"};var d=s(51999),p=s(25675),m=s(46499),b=s(57442);class g{constructor(t,e){this.j=t,this.Fa=e,this.j=t,null==e&&(e=(0,m.zu)(h)),this.Fa=e}fe(t=!0){let e=this.j.tu(i.d.iu.Jh);null==e&&(e=new d.A(p.A.oe()),t&&this.j.uu(i.d.iu.Jh,e));const s=new u(e.eu);for(let i=0;i<this.Fa.length;i++)switch(this.Fa[i]){case h.BROWSER:s.browser=c.A.browser;break;case h.BROWSER_VERSION:s.Ga=c.A.version;break;case h.OS:s.os=this.Ja();break;case h.RESOLUTION:s.Ba=screen.width+"x"+screen.height;break;case h.LANGUAGE:s.language=c.A.language;break;case h.TIME_ZONE:s.timeZone=this.Ha(new Date);break;case h.USER_AGENT:s.userAgent=c.A.userAgent}return s}Ja(){if(c.A.Ka())return c.A.Ka();const t=this.j.lt(i.d.ct.Qa);return t&&t.os_version?t.os_version:c.A.Ja()}Ha(t){let e=!1;if("undefined"!=typeof Intl&&"function"==typeof Intl.DateTimeFormat)try{if("function"==typeof Intl.DateTimeFormat().resolvedOptions){const t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(null!=t&&""!==t)return t}}catch(t){r.A.info("Intl.DateTimeFormat threw an error, cannot detect user's time zone:"+(0,b.u)(t)),e=!0}if(e)return"";const s=t.getTimezoneOffset();return this.Va(s)}Va(t){const e=Math.trunc(t/60),s=Math.trunc(t%60);let i="GMT";return 0!==t&&(i+=t<0?"+":"-",i+=("00"+Math.abs(e)).slice(-2)+":"+("00"+Math.abs(s)).slice(-2)),i}}var f=s(64400),v=s(67689),A=s(5098),y=s(94334),w=s(20804),x=s(47927),E=s(17276),S=s(62081),k=s(49303);class C{constructor(t,e,s,i,n,a,r,o,l,c,u,h){this.on=t,this.j=e,this.Qh=s,this.Cs=i,this.C=n,this.h=a,this.sn=r,this.Ea=o,this.Xh=l,this.Zh=c,this.appVersion=u,this.$a=h,this.Xa=t=>null==t?"":`${t} `,this.on=t,this.j=e,this.Qh=s,this.Cs=i,this.C=n,this.h=a,this.sn=r,this.Ea=o,this.Xh=l,this.Zh=c,this.appVersion=u,this.$a=h,this.Ya=["npm"],this.Za={}}$(t,e=!1,s=!1){const n=this.on.fe(!s),a=n.Ar(),r=this.j.lt(i.d.ct.Qa);(0,m.n4)(r,a)||(t.device=a),t.api_key=this.sn,t.time=(0,A.UK)((new Date).valueOf(),!0);const o=this.j.lt(i.d.ct.au)||[],l=this.j.lt(i.d.ct.du)||"";this.Ya.length>0&&(!(0,m.n4)(o,this.Ya)||l!==this.C.bt())&&(t.sdk_metadata=this.Ya),t.sdk_version=this.Xh,this.Zh&&(t.sdk_flavor=this.Zh),t.app_version=this.appVersion,t.app_version_code=this.$a,t.device_id=n.id;const c=this.Cs.getUserId();if(e&&null!==c&&(t.user_id=c),!c&&!this.Qh.fh()){const e=(0,S.b)(this.j);e&&(t.alias=e)}return t}Y(t,e,s){const i=e.auth_error,n=e.error;if(!i&&!n)return!0;if(i){let e;this.Qh.Gh();const n={errorCode:i.error_code};for(const t of s)(0,m.cy)(t)&&"X-Braze-Auth-Signature"===t[0]&&(n.signature=t[1]);t.respond_with&&t.respond_with.user_id?n.userId=t.respond_with.user_id:t.user_id&&(n.userId=t.user_id);const a=i.reason;return a?(n.reason=a,e=`due to ${a}`):e=`with error code ${i.error_code}.`,this.Qh.fh()||(e+=' Please use the "enableSdkAuthentication" initialization option to enable authentication.'),r.A.error(`SDK Authentication failed ${e}`),this.fu(t.events||[],t.attributes||[]),this.Qh.yh(n),!1}if(n){let s,i=n;switch(i){case f.A.vu:return s="Received successful response with empty body.",y.A.rt(w.w.pu,{e:s}),r.A.info(s),!1;
1case f.A.Ru:return s="Received successful response with invalid JSON",y.A.rt(w.w.pu,{e:s+": "+e.response}),r.A.info(s),!1;case f.A.gu:i=`The API key "${t.api_key}" is invalid for the baseUrl ${this.Ea}`;break;case f.A.bu:i="Sorry, we are not currently accepting your requests. If you think this is in error, please contact us.";break;case f.A.qu:i="No device identifier. Please contact [email protected]"}r.A.error("Backend error: "+i)}return!1}Au(t,e,s){return!!(t&&0!==t.length||e&&0!==e.length||s)}Du(t,e,s,i=!1){const n=[],a=t=>t||"",r=a(this.Cs.getUserId());let o=this.Mr(t);const l=[],c=[];let u,h=null;if(e.length>0){const t=[];for(const s of e){if(u=s.Ar(),this.Qh.fh()){if(r&&!u.user_id){h||(h={}),h.events||(h.events=[]),h.events.push(u);continue}if(a(u.user_id)!==r){c.push(u);continue}}t.push(u)}t.length>0&&(o.events=t)}if(s.length>0){const t=[];for(const e of s)e&&(this.Qh.fh()&&a(e.user_id)!==r?l.push(e):t.push(e));t.length>0&&(o.attributes=t)}if(this.fu(c,l),o=this.$(o,!1,i),h){h=this.$(h,!1,i);const t={requestData:h,headers:this.A(h,x.A.H.Tu)};n.push(t)}if(o&&!this.Au(o.events,o.attributes,t))return h?n:null;const d={requestData:o,headers:this.A(o,x.A.H.Tu)};return n.push(d),n}fu(t,e){if(t){const e=[];for(const s of t){const t=v.A.fromJson(s);t.time=(0,A.YX)(t.time),e.push(t)}this.j.Eo(e)}if(e)for(const s of e)this.j.ku(s)}_(t,e){let s="HTTP error ";null!=t&&(s+=t+" "),s+=e,r.A.error(s)}yu(t){return y.A.rt(w.w.wu,{n:t})}Mr(t,e){const s={};t&&(s.triggers=!0);const i=null!=e?e:this.Cs.getUserId();if(i&&(s.user_id=i),!s.user_id&&!this.Qh.fh()){const t=(0,S.b)(this.j);t&&(s.alias=t)}return s.config={config_time:this.h.Ft()},{respond_with:s}}Nu(t){const e=(new Date).valueOf();let s=E.mO.toString();const i=x.A.Cu(this.j,t);return-1!==i&&(s=(e-i).toString()),s}A(t,e,s=!1){const i=[["X-Braze-Api-Key",this.sn]],n=this.Nu(e);i.push(["X-Braze-Last-Req-Ms-Ago",n]);const a=x.A.Su(this.j,e).toString();i.push(["X-Braze-Req-Attempt",a]);let r=!1;if(null!=t.respond_with&&t.respond_with.triggers&&(i.push(["X-Braze-TriggersRequest","true"]),r=!0),e===x.A.H.bi){i.push(["X-Braze-ContentCardsRequest","true"]);let t=x.A.Su(this.j,x.A.H.bi);t&&!s||(t=1,x.A.Bu(this.j,x.A.H.bi,t));const e=Math.max(0,t-1);i.push(["BRAZE-SYNC-RETRY-COUNT",e.toString()]),r=!0}if(e===x.A.H.$e&&(i.push(["X-Braze-FeatureFlagsRequest","true"]),r=!0),r&&i.push(["X-Braze-DataRequest","true"]),this.Qh.fh()){const t=this.Qh.wh();null!=t&&i.push(["X-Braze-Auth-Signature",t])}return i}zu(t,e,s,i){if(this.Za[i])return;const n=window.setTimeout((()=>{r.A.info(`Retrying rate limited ${this.Xa(i)}SDK request.`),this.J(e,s,i)}),t);this.Za[i]=n}fo(){for(const t in this.Za){const e=this.Za[t];window.clearTimeout(e)}this.Za={}}J(t,e,s,n){if(!this.ju(s))return r.A.info(`${this.Xa(s)}SDK request being rate limited.`),void("function"==typeof n&&n());const a=this.Mu();if(!a.$u)return this.zu(a.Xu,t,e,s),void r.A.info(`${this.Xa(s)}SDK request being rate limited. Request will be retried in ${Math.trunc(a.Xu/1e3)} seconds.`);this.j.ft(i.d.ct.Lu,(new Date).valueOf());const o=t.device;o&&o.os_version instanceof Promise?o.os_version.then((s=>{t.device.os_version=s,e(a.Eu)})):e(a.Eu)}Fu(t){const e=t?(0,k.s)(t):null;if(!e||!e["retry-after"])return null;const s=e["retry-after"];if(isNaN(s)&&!isNaN(Date.parse(s)))return{type:"date",value:Date.parse(s)};if(!isNaN(parseFloat(s.toString())))return{type:"timestamp",value:1e3*parseFloat(s.toString())};{const t="Received unexpected value for retry-after header in /sync response";y.A.rt(w.w.pu,{e:t+": "+s})}return null}st(t,e,s,i,n,a){if(x.A.Su(this.j,s)>=E.uR)return;let r;a=a||0;const o=this.Fu(t);n();const l=t=>{const n=window.setTimeout((()=>{e()}),t);i(n),x.A.Ku(this.j,s)};if(o&&!isNaN(o.value)){switch(o.type){case"date":r=o.value-(new Date).getTime()+a,r<0&&e();break;case"timestamp":r=o.value+a}l(r)}else a?l(a):x.A.Ci(this.j,s)}Iu(t){var e;null===(e=this.j)||void 0===e||e.ft(i.d.ct.Pu,t)}Uu(t,e){let s=this.xu();null==s&&(s={}),s[t]=e,this.j.ft(i.d.ct.Hu,s)}Ou(){var t;return null===(t=this.j)||void 0===t?void 0:t.lt(i.d.ct.Pu)}xu(){var t;return null===(t=this.j)||void 0===t?void 0:t.lt(i.d.ct.Hu)}Gu(t,e,s,i,n=""){let a;if(n){const t=this.xu();a=null==t||isNaN(t[n])?e:t[n]}else a=this.Ou(),(null==a||isNaN(a))&&(a=e);const r=(t-i)/1e3;return a=Math.min(a+r/s,e),a}_u(t,e){return Math.max(0,(1-t)*e*1e3)}Wu(t,e=""){var s,n,a,r,o;const l={$u:!0,Eu:-1,Xu:0};if(null==t&&(t=!0),!t&&!e)return l;let c,u,h=null;if(t)h=null===(s=this.j)||void 0===s?void 0:s.lt(i.d.ct.Lu);else{const t=x.A.Yu(this.j);if(null==t||null==t[e])return l;h=t[e]}if(null==h||isNaN(h))return l;if(t?(c=(null===(n=this.h)||void 0===n?void 0:n.Ju())||-1,u=(null===(a=this.h)||void 0===a?void 0:a.Qu())||-1):(c=(null===(r=this.h)||void 0===r?void 0:r.Vu(e))||-1,u=(null===(o=this.h)||void 0===o?void 0:o.Zu(e))||-1),-1===c||-1===u)return l;const d=(new Date).valueOf();let p=this.Gu(d,c,u,h,e);return p<1?(l.$u=!1,l.Xu=this._u(p,u),l):(p=Math.trunc(p)-1,l.Eu=p,t?this.Iu(p):this.Uu(e,p),l)}Mu(){return this.Wu(!0)}ju(t){const e=this.Wu(!1,t);return!(e&&!e.$u)}Z(){this.Qh.Z()}V(){return this.Ea}addSdkMetadata(t){for(const e of t)-1===this.Ya.indexOf(e)&&this.Ya.push(e)}}var _=s(74956),T=s(56685),N=s(73072);class I{constructor(t,e,s,i,a,r,o,l,c,u){this.sn=t,this.baseUrl=e,this.C=s,this.on=i,this.Cs=a,this.h=r,this.j=o,this.$l=l,this.Qh=c,this.B=u,this.sn=t,this.baseUrl=e,this.Tl=0,this.fE=o.dE()||0,this.Ll=null,this.C=s,this.on=i,this.Cs=a,this.h=r,this.j=o,this.Qh=c,this.B=u,this.$l=l,this.Ml=new n.A,this.Pl=null,this.Il=50,this.Ol=!1,this.Ul=!1}_l(t,e){return!t&&!e&&this.Qh.Hh()>=this.Il}Jl(t){let e=this.C.zl();if(t.length>0){const s=this.Cs.getUserId();for(const i of t){const t=!i.userId&&!s||i.userId===s;i.type===w.w.Al&&t&&(e=!0)}}return e}Kl(t=!1,e=!0,s,n,a,o=!1,l=!1){e&&this.Xl();const c=this.j.RE(),u=this.j.IE();let h=!1;const d=(t,r,o=-1)=>{const l=(new Date).valueOf();x.A.K(this.j,x.A.H.Tu,l),-1!==o&&r.push(["X-Braze-Req-Tokens-Remaining",o.toString()]);let c=!1;k.A.O({url:this.baseUrl+"/data/",data:t,headers:r,W:e=>{null!=t.respond_with&&t.respond_with.triggers&&(this.Tl=Math.max(this.Tl-1,0)),this.B.Y(t,e,r)?(this.Qh.Z(),this.h.cl(e),null!=t.respond_with&&t.respond_with.user_id!=this.Cs.getUserId()||(null!=t.device&&this.j.ft(i.d.ct.Qa,t.device),null!=t.sdk_metadata&&(this.j.ft(i.d.ct.au,t.sdk_metadata),this.j.ft(i.d.ct.du,this.C.bt())),this.$l(e),x.A.Bu(this.j,x.A.H.Tu,1),"function"==typeof s&&s())):e.auth_error&&(c=!0)},error:()=>{c=!0,null!=t.respond_with&&t.respond_with.triggers&&(this.Tl=Math.max(this.Tl-1,0)),this.B.fu(t.events,t.attributes),"function"==typeof n&&n()},tt:(t,s)=>{"function"==typeof a&&a(!c);const i=this.B.Fu(s);let n=0;if(i)switch(i.type){case"date":n=Math.max(i.value-(new Date).valueOf(),0);break;case"timestamp":n=i.value}
1if(e&&!h){if(c){x.A.Ku(this.j,x.A.H.Tu);let t=this.Ll;(null==t||t<1e3*this.fE)&&(t=1e3*this.fE);const e=Math.min(3e5,(0,_.C)(1e3*this.fE,3*t))+n;this.Ql(e)}else this.Ql(Math.max(1e3*this.fE,n));h=!0}}})},p=this.Jl(c),m=t||p;if(this._l(o,p))return void r.A.info("Declining to flush data due to 50 consecutive authentication failures");if(e&&!this.B.Au(c,u,m))return this.Ql(),void("function"==typeof a&&a(!0));const b=this.B.Du(m,c,u,l);m&&this.Tl++;let g=!1;if(b)for(const i of b)this.B.J(i.requestData,(t=>d(i.requestData,i.headers,t)),x.A.H.Tu,n),g=!0;this.Qh.fh()&&e&&!g?this.Ql():p&&(r.A.info("Invoking new session subscriptions"),this.Ml.L(),this.Ul=!0)}Yl(){return this.Tl>0}Ql(t=1e3*this.fE){this.Ol||(this.Xl(),this.Pl=window.setTimeout((()=>{if(document.hidden){const t="visibilitychange",e=()=>{document.hidden||(document.removeEventListener(t,e,!1),this.Kl())};document.addEventListener(t,e,!1)}else this.Kl()}),t),this.Ll=t)}Xl(){null!=this.Pl&&(clearTimeout(this.Pl),this.Pl=null)}initialize(){this.Ol=!1,this.Ql()}destroy(){this.Ml.removeAllSubscriptions(),this.Qh.Bh(),this.Xl(),this.Ol=!0,this.Kl(void 0,!1,void 0,void 0,void 0,void 0,!0),this.Pl=null,this.Ul=!1}rn(t){return this.Ul?(t(),null):this.Ml.wt(t)}openSession(){const t=this.C.bt()!==this.C.qo();t&&(this.j.hE(i.d.iu.Jh),this.j.hE(i.d.iu.su)),this.Kl(!1,void 0,(()=>{t&&(this.j.Nt(i.d.ct.qe),this.j.Nt(i.d.ct.It))})),this.zn(),t&&s.e(7380).then(s.bind(s,7380)).then((t=>{if(this.Ol)return;const e=t.default.ea();if(null!=e&&(N.A.isPushPermissionGranted()||N.A.isPushBlocked())){const t=()=>{e.mn()?r.A.info("Push token maintenance is disabled, not refreshing token for backend."):e.subscribe()},s=(e,s)=>{s&&t()},n=()=>{const e=this.j.lt(i.d.ct.In);(null==e||e)&&t()},o=a.A.Us.Rs;new a.A(o,r.A).jr(o.Fs.cu,s,n)}}))}Zl(){this.j.Nt(i.d.ct.Ie),this.j.Nt(i.d.ct.Ps),this.j.Nt(i.d.ct.Nr)}hc(){var t,e;this.j.Nt(i.d.ct.Lu),this.j.Nt(i.d.ct.SE);const s=x.A.H;for(const i in s){const e=s[i];this.B.Uu(e,null===(t=this.h)||void 0===t?void 0:t.Vu(e))}this.B.Iu(null===(e=this.h)||void 0===e?void 0:e.Ju())}changeUser(t,e,s){const n=this.Cs.getUserId();if(n!==t){this.C.Bl(),this.Zl(),null!=n&&this.Kl(void 0,!1,void 0,void 0,void 0),this.Cs.ou(t),s?this.Qh.setSdkAuthenticationSignature(s):this.Qh.qh();for(let t=0;t<e.length;t++)e[t].changeUser(null==n);this.B.fo(),null!=n&&this.j.Nt(i.d.ct.rE),this.j.Nt(i.d.ct.Qa),this.j.Nt(i.d.ct.uE),this.hc(),this.openSession(),r.A.info('Changed user to "'+t+'".')}else{let e="Doing nothing.";s&&this.Qh.wh()!==s&&(this.Qh.setSdkAuthenticationSignature(s),e="Updated SDK authentication signature"),r.A.info(`Current user is already ${t}. ${e}`)}}requestImmediateDataFlush(t){this.Xl(),this.C.qo(),this.Kl(void 0,void 0,void 0,(()=>{r.A.error("Failed to flush data, request will be retried automatically.")}),t,!0)}$r(t,e){this.C.qo(),r.A.info("Requesting explicit trigger refresh."),this.Kl(!0,void 0,t,e)}En(t,e){const s=w.w.nc,n={a:t,l:e},a=y.A.rt(s,n);return a&&(r.A.info(`Logged alias ${t} with label ${e}`),this.j.ft(i.d.ct.uE,n)),a}Ln(t,e,s){if(this.h.hu(e))return r.A.info(`Custom Attribute "${e}" is blocklisted, ignoring.`),new T.A;const i={key:e,value:s},n=y.A.rt(t,i);if(n){const t="object"==typeof s?JSON.stringify(s,null,2):s;r.A.info(`Logged custom attribute: ${e} with value: ${t}`)}return n}setLastKnownLocation(t,e,s,i,n,a){const o={latitude:e,longitude:s};null!=i&&(o.altitude=i),null!=n&&(o.ll_accuracy=n),null!=a&&(o.alt_accuracy=a);const l=y.A.rt(w.w.lc,o,t||void 0);return l&&r.A.info(`Set user last known location as ${JSON.stringify(o,null,2)}`),l}kr(t,e){const s=this.C.qo();return new v.A(this.Cs.getUserId(),w.w.uc,t,s,{cid:e})}cc(t,e){return new a.A(t,e)}zn(){const t=a.A.Us.Rs;this.cc(t,r.A).setItem(t.Fs.Tu,1,{baseUrl:this.baseUrl,data:{api_key:this.sn,device_id:this.on.fe().id},userId:this.Cs.getUserId(),sdkAuthEnabled:this.Qh.fh()})}yr(t){for(const e of t)if(e.api_key===this.sn)this.B.fu(e.events,e.attributes);else{const t=a.A.Us.Rs;new a.A(t,r.A).setItem(t.Fs.wr,p.A.oe(),e)}}Hn(t,e,s){if(this.h.hu(t))return r.A.info(`Custom Attribute "${t}" is blocklisted, ignoring.`),new T.A;let i,n;return null===e&&null===s?(i=w.w.dc,n={key:t}):(i=w.w.mc,n={key:t,latitude:e,longitude:s}),y.A.rt(i,n)}Kn(t,e){const s={group_id:t,status:e};return y.A.rt(w.w.fc,s)}}class O{constructor(t=0,e=[],s=[],i=[],n=null,a=null,r={enabled:!1},o={enabled:!1,refresh_rate_limit:void 0},l={enabled:!0,capacity:E.uy,refill_rate:E.Fn,endpoint_overrides:{}},c=null){this.ol=t,this.bl=e,this.fl=s,this.vl=i,this.Cl=n,this.dl=a,this.gl=r,this.he=o,this.ml=l,this.banners=c,this.ol=t,this.bl=e,this.fl=s,this.vl=i,this.Cl=n,this.dl=a,this.gl=r,this.he=o,this.ml=l,this.banners=c}dt(){return{s:"6.3.1",l:this.ol,e:this.bl,a:this.fl,p:this.vl,m:this.Cl,v:this.dl,c:this.gl,f:this.he,grl:this.ml,b:this.banners}}static qn(t){let e=t.l;return"6.3.1"!==t.s&&(e=0),new O(e,t.e,t.a,t.p,t.m,t.v,t.c,t.f,t.grl,t.b)}}class j{constructor(t){this.j=t,this.j=t,this.tl=new n.A,this.il=new n.A,this.el=new n.A,this.sl=new n.A,this.rl=null,this.ul=null}
1al(){if(null==this.ul){const t=this.j.lt(i.d.ct.hl);this.ul=null!=t?O.qn(t):new O}return this.ul}Ft(){return this.al().ol}cl(t){var e,s;if(null!=t&&null!=t.config){const n=t.config;if(n.time>this.al().ol){const t=t=>null==t?this.al().ml:t,a=new O(n.time,n.events_blacklist,n.attributes_blacklist,n.purchases_blacklist,n.messaging_session_timeout,n.vapid_public_key,n.content_cards,n.feature_flags,t(n.global_request_rate_limit),n.banners);let r=!1;null!=a.dl&&this.Wn()!==a.dl&&(r=!0);let o=!1;null!=a.gl.enabled&&this.gi()!==a.gl.enabled&&(o=!0);let l=!1;null!=a.he.enabled&&this.Re()!==a.he.enabled&&(l=!0);let c=!1;null!=(null===(e=a.banners)||void 0===e?void 0:e.enabled)&&this.Dt()!==(null===(s=a.banners)||void 0===s?void 0:s.enabled)&&(c=!0),this.ul=a,this.j.ft(i.d.ct.hl,a.dt()),r&&this.tl.L(),o&&this.il.L(),l&&this.el.L(),c&&this.sl.L()}}}_n(t){const e=this.tl.wt(t);return this.rl&&this.tl.removeSubscription(this.rl),this.rl=e,e}vi(t){return this.il.wt(t)}Ue(t){return this.el.wt(t)}P(t){return this.sl.wt(t)}ge(t){return-1!==this.al().bl.indexOf(t)}hu(t){return-1!==this.al().fl.indexOf(t)}Dr(t){return-1!==this.al().vl.indexOf(t)}Rl(){return this.al().Cl}Wn(){return this.al().dl}gi(){return this.al().gl.enabled||!1}El(){const t=this.al().ml;return!(!t||null==t.enabled)&&t.enabled}Ju(){if(!this.El())return-1;const t=this.al().ml;return null==t.capacity||t.capacity<10?-1:t.capacity}Qu(){if(!this.El())return-1;const t=this.al().ml;return null==t.refill_rate||t.refill_rate<=0?-1:t.refill_rate}wl(t){const e=this.al().ml.endpoint_overrides;return null==e?null:e[t]}Vu(t){const e=this.wl(t);return null==e||isNaN(e.capacity)||e.capacity<=0?-1:e.capacity}Zu(t){const e=this.wl(t);return null==e||isNaN(e.refill_rate)||e.refill_rate<=0?-1:e.refill_rate}Re(){return this.al().he.enabled&&null==this.ke()?(y.A.rt(w.w.pu,{e:"Missing feature flag refresh_rate_limit."}),!1):this.al().he.enabled||!1}ke(){return this.al().he.refresh_rate_limit}Dt(){var t;return(null===(t=this.al().banners)||void 0===t?void 0:t.enabled)||null}te(){var t;return(null===(t=this.al().banners)||void 0===t?void 0:t.max_placements)||0}}class D{constructor(t,e,s,i){this.j=t,this.Cs=e,this.h=s,this.Sl=i,this.j=t,this.Cs=e,this.h=s,this.jl=1e3,(null==i||isNaN(i))&&(i=1800),i<this.jl/1e3&&(r.A.info("Specified session timeout of "+i+"s is too small, using the minimum session timeout of "+this.jl/1e3+"s instead."),i=this.jl/1e3),this.Sl=i}xl(t,e){return new v.A(this.Cs.getUserId(),w.w.Dl,t,e.eu,{d:(0,A.UK)(t-e.Gl)})}bt(){const t=this.j.tu(i.d.iu.Nl);return null==t?null:t.eu}zl(){const t=(new Date).valueOf(),e=this.h.Rl();if(null==e)return!1;const s=this.j.lt(i.d.ct.Hl),n=null==s||t-s>1e3*e;return n&&this.j.ft(i.d.ct.Hl,t),n}Wl(t,e){return null==e||null==e.kl||!(t-e.Gl<this.jl)&&e.kl<t}qo(){const t=(new Date).valueOf(),e=t+1e3*this.Sl,s=this.j.tu(i.d.iu.Nl);if(this.Wl(t,s)){let n="Generating session start event with time "+t;if(null!=s){let t=s.ql;t-s.Gl<this.jl&&(t=s.Gl+this.jl),this.j.yl(this.xl(t,s)),n+=" (old session ended "+t+")"}n+=". Will expire "+e.valueOf(),r.A.info(n);const a=new d.A(p.A.oe(),e);return this.j.yl(new v.A(this.Cs.getUserId(),w.w.Al,t,a.eu)),this.j.uu(i.d.iu.Nl,a),null==this.j.lt(i.d.ct.Hl)&&this.j.ft(i.d.ct.Hl,t),a.eu}if(null!=s)return s.ql=t,s.kl=e,this.j.uu(i.d.iu.Nl,s),s.eu}Bl(){const t=this.j.tu(i.d.iu.Nl);null!=t&&(this.j.Fl(i.d.iu.Nl),this.j.yl(this.xl((new Date).valueOf(),t)))}}const B={La:function(t,e=!1){let s=!1;try{if(localStorage&&localStorage.getItem)try{localStorage.setItem(i.d.ct.ec,"true"),localStorage.getItem(i.d.ct.ec)&&(localStorage.removeItem(i.d.ct.ec),s=!0)}catch(t){if(!(t instanceof Error&&("QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&localStorage.length>0))throw t;s=!0}}catch(t){r.A.info("Local Storage not supported!")}const n=B.oc(),a=new i.A.tc(t,n&&!e,s);let o;return o=s?new i.A.rc(t):new i.A.ac,new i.A(a,o)},oc:function(){return navigator.cookieEnabled||"cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)}},z=B;var R=s(80538),U=s(78623),L=s(29880),P=s(312);class M{constructor(t,e){this.h=t,this.j=e,this.h=t,this.j=e}
1getUserId(){const t=this.j.tu(i.d.iu.su);if(null==t)return null;let e=t.eu,s=(0,U.N)(e);if(s>P.A.mr){for(;s>P.A.mr;)e=e.slice(0,e.length-1),s=(0,U.N)(e);t.eu=e,this.j.uu(i.d.iu.su,t)}return e}ou(t){const e=null==this.getUserId();this.j.uu(i.d.iu.su,new d.A(t)),e&&this.j.ru(t)}setCustomUserAttribute(t,e){if(this.h.hu(t))return r.A.info('Custom Attribute "'+t+'" is blocklisted, ignoring.'),!1;const s={};return s[t]=e,this.nu(P.A.lu,s,!0)}nu(t,e,s=!1,i=!1){const n=this.j.mu(this.getUserId(),t,e);let a="",o=t,l=e;return s&&(a=" custom","object"==typeof e&&(o=Object.keys(e)[0],l=e[o],"object"==typeof l&&(l=JSON.stringify(l,null,2)))),!i&&n&&r.A.info(`Logged${a} attribute ${o} with value ${l}`),n}Pn(t,e,s,n,o){this.nu("push_token",t,!1,!0),this.nu("custom_push_public_key",s,!1,!0),this.nu("custom_push_user_auth",n,!1,!0),this.nu("custom_push_vapid_public_key",o,!1,!0);const l=a.A.Us.Rs,c=new a.A(l,r.A),u=new L.A(t,e,s,n,o);this.j.ft(i.d.ct.In,u.dt()),c.setItem(l.Fs.cu,l.me,!0)}Sn(t){if(this.nu("push_token",null,!1,!0),this.nu("custom_push_public_key",null,!1,!0),this.nu("custom_push_user_auth",null,!1,!0),this.nu("custom_push_vapid_public_key",null,!1,!0),t){const t=a.A.Us.Rs,e=new a.A(t,r.A);this.j.ft(i.d.ct.In,!1),e.setItem(t.Fs.cu,t.me,!1)}}}var $=s(74285),G=s(15734);const F={_o:"allowCrawlerActivity",Ro:"baseUrl",Wo:"noCookies",Vo:"devicePropertyAllowlist",Aa:"disablePushTokenMaintenance",Yo:"enableLogging",Xo:"enableSdkAuthentication",qa:"manageServiceWorkerExternally",Zo:"minimumIntervalBetweenTriggerActionsInSeconds",Wh:"sessionTimeoutInSeconds",Vh:"appVersion",Kh:"appVersionNumber",Ma:"serviceWorkerLocation",ka:"safariWebsitePushId",Xn:"localization",er:"contentSecurityNonce",re:"allowUserSuppliedJavascript",Jo:"inAppMessageZIndex",Do:"openInAppMessagesInNewTab",Lh:"requireExplicitInAppMessageDismissal",$h:"doNotLoadFontAwesome",Jh:"deviceId",_a:"serviceWorkerScope",Yh:"sdkFlavor",tn:"openCardsInNewTab"},q={_o:"allowCrawlerActivity",Ro:"baseUrl",Wo:"noCookies",Vo:"devicePropertyAllowlist",Aa:"disablePushTokenMaintenance",Yo:"enableLogging",Xo:"enableSdkAuthentication",qa:"manageServiceWorkerExternally",Zo:"minimumIntervalBetweenTriggerActionsInSeconds",Wh:"sessionTimeoutInSeconds",Vh:"appVersion",Kh:"appVersionNumber",Ma:"serviceWorkerLocation",ka:"safariWebsitePushId",Xn:"localization",er:"contentSecurityNonce",re:"allowUserSuppliedJavascript",Jo:"inAppMessageZIndex",Do:"openInAppMessagesInNewTab",tn:"openCardsInNewTab",Lh:"requireExplicitInAppMessageDismissal",$h:"doNotLoadFontAwesome",Jh:"deviceId",_a:"serviceWorkerScope",Yh:"sdkFlavor"};class H{constructor(){this.sn="",this.Xh="",this.Zh=void 0,this.Qh=null,this.on=null,this.B=null,this.Cn=null,this.h=null,this.C=null,this.j=null,this.Cs=null,this.Ea="",this.isInitialized=!1,this.Ia=!1,this.Sa=new n.A,this.Na=new n.A,this.options={},this.Oa=[],this.Ta=[],this.yi=[],this.Xh="6.3.1"}Ra(t){this.Sa.wt(t)}mh(t){this.Na.wt(t)}initialize(t,e){if(this.ao())return r.A.info("Braze has already been initialized with an API key."),!0;this.options=e||{};let a=this.ee(q.Yo);const l=(0,$.y)(G.uD.Ca());if(l&&"true"===l.brazeLogging&&(a=!0),r.A.init(a),r.A.info(`Initialization Options: ${JSON.stringify(this.options,null,2)}`),null==t||""===t||"string"!=typeof t)return r.A.error("Braze requires a valid API key to be initialized."),!1;this.sn=t;let u=this.ee(q.Ro);if(null==u||""===u||"string"!=typeof u)return r.A.error("Braze requires a valid baseUrl to be initialized."),!1;!1===/^https?:/.test(u)&&(u=`https://${u}`);const p=u;if(u=document.createElement("a"),u.href=p,"/"===u.pathname&&(u=`${u}api/v3`),this.Ea=u.toString(),c.A.Pa&&!this.ee(q._o))return r.A.info("Ignoring activity from crawler bot "+navigator.userAgent),this.Ia=!0,!1;const b=this.ee(q.Wo)||!1;if(this.j=z.La(t,b),b&&this.j.Da(t),new i.A.ne(null,!0).br(i.d.ie))return r.A.info("Ignoring all activity due to previous opt out"),this.Ia=!0,!1;for(const s of(0,m.HP)(this.options))-1===(0,m.zu)(F).indexOf(s)&&r.A.warn(`Ignoring unknown initialization option '${s}'.`);const f=["mparticle","wordpress","tealium"];if(null!=this.ee(q.Yh)){const t=this.ee(q.Yh);-1!==f.indexOf(t)?this.Zh=t:r.A.error("Invalid sdk flavor passed: "+t)}let v=this.ee(F.Vo);if(null!=v)if((0,m.cy)(v)){const t=[];for(let e=0;e<v.length;e++)(0,m.BY)(h,v[e],"devicePropertyAllowlist contained an invali
1d value.","DeviceProperties")&&t.push(v[e]);v=t}else r.A.error("devicePropertyAllowlist must be an array. Defaulting to all properties."),v=null;const A=this.ee(q.Jh);if(A){const t=new d.A(A);this.j.uu(i.d.iu.Jh,t)}this.on=new g(this.j,v),this.h=new j(this.j),this.Cs=new M(this.h,this.j),this.C=new D(this.j,this.Cs,this.h,this.ee(q.Wh));const y=new n.A;return this.Qh=new o(this.j,this.ee(q.Xo),y),this.q(y),this.B=new C(this.on,this.j,this.Qh,this.Cs,this.C,this.h,this.sn,this.Ea,this.Xh,this.Zh||"",this.ee(q.Vh),this.ee(q.Kh)),this.Cn=new I(this.sn,this.Ea,this.C,this.on,this.Cs,this.h,this.j,(t=>{if(this.ao())for(const e of this.lr())e.N(t)}),this.Qh,this.B),this.Cn.initialize(),b||this.j.Ua(),r.A.info(`Initialized for the Braze backend at "${this.ee(q.Ro)}" with API key "${this.sn}".`),R.B.t(),this.h.Ue((()=>{var t;this.isInitialized&&(null===(t=this.h)||void 0===t?void 0:t.Re())&&s.e(7017).then(s.bind(s,97017)).then((t=>{this.isInitialized&&(0,t.default)()}))})),this.Cn.rn((()=>{var t;this.isInitialized&&(null===(t=this.h)||void 0===t?void 0:t.Re())&&s.e(7017).then(s.bind(s,97017)).then((t=>{this.isInitialized&&(0,t.default)(void 0,void 0,!0)}))})),this.Sa.L(this.options),this.isInitialized=!0,window.dispatchEvent(new CustomEvent("braze.initialized")),!0}destroy(t){if(r.A.destroy(),this.ao()){this.Na.L(),this.Na.removeAllSubscriptions();for(const t of this.Oa)t.destroy();this.Oa=[];for(const t of this.Ta)t.clearData(!1);this.B&&this.B.fo(),this.Ta=[],this.removeAllSubscriptions(),this.yi=[],null!=this.Cn&&this.Cn.destroy(),this.Cn=null,this.Qh=null,this.on=null,this.B=null,this.h=null,this.C=null,this.Cs=null,this.options={},this.Zh=void 0,this.isInitialized=!1,this.Ia=!1,t&&(this.j=null)}}rr(){return!this.Wa()&&(!!this.ao()||(console.warn(E.xE),!1))}ba(){return this.sn}Sr(){return this.Qh}V(){return this.Ea}de(){return this.on}m(){return this.B}ee(t){return this.options[t]}lr(){return this.Ta}nn(){return this.Cn}l(){return this.h}u(){return this.C}p(){return this.j}gr(){if(this.Cs&&this.Cn)return new P.A(this.Cs,this.Cn)}ir(){return this.Cs}tr(){return!0===this.ee(q.re)}g(t){let e=!1;for(const s of this.Oa)s===t&&(e=!0);e||this.Oa.push(t)}v(t){let e=!1;for(const s of this.Ta)s.constructor===t.constructor&&(e=!0);t instanceof l.A&&!e&&this.Ta.push(t)}q(t){t instanceof n.A&&this.yi.push(t)}removeAllSubscriptions(){if(this.rr())for(const t of this.yi)t.removeAllSubscriptions()}removeSubscription(t){if(this.rr())for(const e of this.yi)e.removeSubscription(t)}ce(t){this.Ia=t}ao(){return this.isInitialized}Wa(){return this.Ia}Vs(){return this.Xh}}const V=new H},312:(t,e,s)=>{s.d(e,{A:()=>c});var i=s(46499),n=s(16238),a=s(20804),r=s(8457),o=s(17276),l=s(5098);class c{constructor(t,e){this.Cs=t,this.Cn=e,this.Cs=t,this.Cn=e}getUserId(t){const e=this.Cs.getUserId();if("function"!=typeof t)return e;n.A.warn("The callback for getUserId is deprecated. You can access its return value directly instead (e.g. `const id = braze.getUser().getUserId()`)"),t(e)}addAlias(t,e){return!(0,r.rK)(t,"add alias","the alias",!1)||t.length<=0?(n.A.error("addAlias requires a non-empty alias"),!1):!(0,r.rK)(e,"add alias","the label",!1)||e.length<=0?(n.A.error("addAlias requires a non-empty label"),!1):this.Cn.En(t,e).W}setFirstName(t){return!!(0,r.rK)(t,"set first name","the firstName",!0)&&this.Cs.nu("first_name",t)}setLastName(t){return!!(0,r.rK)(t,"set last name","the lastName",!0)&&this.Cs.nu("last_name",t)}setEmail(t){return null===t||(0,r.B9)(t)?this.Cs.nu("email",t):(n.A.error(`Cannot set email address - "${t}" did not pass RFC-5322 validation.`),!1)}setGender(t){return"string"==typeof t&&(t=t.toLowerCase()),!(null!==t&&!(0,i.BY)(c.Genders,t,`Gender "${t}" is not a valid gender.`,"User.Genders"))&&this.Cs.nu("gender",t)}setDateOfBirth(t,e,s){return null===t&&null===e&&null===s?this.Cs.nu("dob",null):(t=null!=t?parseInt(t.toString()):null,e=null!=e?parseInt(e.toString()):null,s=null!=s?parseInt(s.toString()):null,null==t||null==e||null==s||isNaN(t)||isNaN(e)||isNaN(s)||e>12||e<1||s>31||s<1?(n.A.error("Cannot set date of birth - parameters should comprise a valid date e.g. setDateOfBirth(1776, 7, 4);"),!1):this.Cs.nu("dob",`${t}-${e}-${s}`))}
1setCountry(t){return!!(0,r.rK)(t,"set country","the country",!0)&&this.Cs.nu("country",t)}setHomeCity(t){return!!(0,r.rK)(t,"set home city","the homeCity",!0)&&this.Cs.nu("home_city",t)}setLanguage(t){return!!(0,r.rK)(t,"set language","the language",!0)&&this.Cs.nu("language",t)}setEmailNotificationSubscriptionType(t){return!!(0,i.BY)(c.NotificationSubscriptionTypes,t,`Email notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.Cs.nu("email_subscribe",t)}setPushNotificationSubscriptionType(t){return!!(0,i.BY)(c.NotificationSubscriptionTypes,t,`Push notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.Cs.nu("push_subscribe",t)}setPhoneNumber(t){return!!(0,r.rK)(t,"set phone number","the phoneNumber",!0)&&(null===t||t.match(c.Fn)?this.Cs.nu("phone",t):(n.A.error(`Cannot set phone number - "${t}" did not pass validation.`),!1))}setLastKnownLocation(t,e,s,i,a){return null==t||null==e?(n.A.error("Cannot set last-known location - latitude and longitude are required."),!1):(t=parseFloat(t.toString()),e=parseFloat(e.toString()),null!=s&&(s=parseFloat(s.toString())),null!=i&&(i=parseFloat(i.toString())),null!=a&&(a=parseFloat(a.toString())),isNaN(t)||isNaN(e)||null!=s&&isNaN(s)||null!=i&&isNaN(i)||null!=a&&isNaN(a)?(n.A.error("Cannot set last-known location - all supplied parameters must be numeric."),!1):t>90||t<-90||e>180||e<-180?(n.A.error("Cannot set last-known location - latitude and longitude are bounded by ±90 and ±180 respectively."),!1):null!=s&&s<0||null!=a&&a<0?(n.A.error("Cannot set last-known location - accuracy and altitudeAccuracy may not be negative."),!1):this.Cn.setLastKnownLocation(this.Cs.getUserId(),t,e,i,s,a).W)}setCustomUserAttribute(t,e,s){if(!(0,r.ZJ)(t))return!1;const n=e=>{const[s]=(0,r.fB)(e,o.KG,"attribute value",`set custom user attribute "${t}"`,"custom user attribute");return s};if((0,i.cy)(e)){const[s,i]=(0,r.Z2)(t,e);if(!s&&!i&&0!==e.length)return!1;if(s||0===e.length)return this.Cn.Ln(a.w.$n,t,e).W;for(const t of e)if(!n(t))return!1}else if((0,i.Gv)(e)){if(!n(e))return!1;if(s)return this.Cn.Ln(a.w.Bn,t,e).W}else{if(void 0===e||!(0,r.uZ)(e))return!1;if((0,i.$P)(e)&&(e=(0,l.EQ)(e)),"string"==typeof e&&!(0,r.Dz)(e,`set custom user attribute "${t}"`,"the element in the given array"))return!1}return this.Cs.setCustomUserAttribute(t,e)}addToCustomAttributeArray(t,e){return!!(0,r.Dz)(t,"add to custom user attribute array","the given key")&&!(null!=e&&!(0,r.Dz)(e,"add to custom user attribute array","the given value"))&&this.Cn.Ln(a.w.Rn,t,e).W}removeFromCustomAttributeArray(t,e){return!!(0,r.Dz)(t,"remove from custom user attribute array","the given key")&&!(null!=e&&!(0,r.Dz)(e,"remove from custom user attribute array","the given value"))&&this.Cn.Ln(a.w.On,t,e).W}incrementCustomUserAttribute(t,e){if(!(0,r.Dz)(t,"increment custom user attribute","the given key"))return!1;null==e&&(e=1);const s=parseInt(e.toString());return isNaN(s)||s!==parseFloat(e.toString())?(n.A.error(`Cannot increment custom user attribute because the given incrementValue "${e}" is not an integer.`),!1):this.Cn.Ln(a.w.Gn,t,s).W}setCustomLocationAttribute(t,e,s){return!!(0,r.Dz)(t,"set custom location attribute","the given key")&&((null!==e||null!==s)&&(e=null!=e?parseFloat(e.toString()):null,s=null!=s?parseFloat(s.toString()):null,null==e&&null!=s||null!=e&&null==s||null!=e&&(isNaN(e)||e>90||e<-90)||null!=s&&(isNaN(s)||s>180||s<-180))?(n.A.error("Received invalid values for latitude and/or longitude. Latitude and longitude are bounded by ±90 and ±180 respectively, or must both be null for removal."),!1):this.Cn.Hn(t,e,s).W)}addToSubscriptionGroup(t){return!(0,r.rK)(t,"add user to subscription group","subscription group ID",!1)||t.length<=0?(n.A.error("addToSubscriptionGroup requires a non-empty subscription group ID"),!1):this.Cn.Kn(t,c.Mn.SUBSCRIBED).W}removeFromSubscriptionGroup(t){return!(0,r.rK)(t,"remove user from subscription group","subscription group ID",!1)||t.length<=0?(n.A.error("removeFromSubscriptionGroup requires a non-empty subscription group ID"),!1):this.Cn.Kn(t,c.Mn.UNSUBSCRIBED).W}
1setLineId(t){return(0,r.rK)(t,"set LINE user ID","the ID",!0)&&0!==(null==t?void 0:t.length)?t&&t.length>c.Yn?(n.A.error(`Rejected LINE user ID ${t} because it is longer than ${c.Yn} characters.`),!1):this.Cs.nu("native_line_id",t):(n.A.error("setLineId requires a non-empty ID"),!1)}Pn(t,e,s,i,n){this.Cs.Pn(t,e,s,i,n),this.Cn.zn()}Sn(t){this.Cs.Sn(t)}}c.Genders={MALE:"m",FEMALE:"f",OTHER:"o",UNKNOWN:"u",NOT_APPLICABLE:"n",PREFER_NOT_TO_SAY:"p"},c.NotificationSubscriptionTypes={OPTED_IN:"opted_in",SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},c.Fn=/^[0-9 .\\(\\)\\+\\-]+$/,c.Mn={SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},c.Jn="user_id",c.lu="custom",c.mr=997,c.Yn=33},2861:(t,e,s)=>{s.d(e,{A:()=>n});var i=s(25675);class n{constructor(){this.yi={}}wt(t){if("function"!=typeof t)return null;const e=i.A.oe();return this.yi[e]=t,e}removeSubscription(t){delete this.yi[t]}removeAllSubscriptions(){this.yi={}}sc(){return Object.keys(this.yi).length}L(t){const e=[];for(const s in this.yi){const i=this.yi[s];e.push(i(t))}return e}}},4556:(t,e,s)=>{s.d(e,{A:()=>_});var i=s(49303),n=s(25),a=s(72631),r=s(79617),o=s(61201),l=s(79086),c=s(94334),u=s(65001),h=s(74956),d=s(56685),p=s(20804),m=s(16238),b=s(2861),g=s(34855),f=s(8457),v=s(98664),A=s(73072),y=s(47927),w=s(90663),x=s(85862),E=s(64095),S=s(10917);class k{constructor(t,e,s,i){this.B=t,this.C=e,this.j=s,this.Cs=i,this.B=t,this.C=e,this.j=s,this.Cs=i,this.yi=new b.A,n.Ay.q(this.yi),this.Mi=1e3,this.ki=6e4,this.zi=null,this.Bi=null,this.Ri=null}_i(){return this.yi}qi(t){return this.yi.wt(t)}xi(){return this.zi}Pi(t){this.zi=t}rt(t,e,s,i){const n=new d.A;let o;if(e===p.w.Gi||t instanceof a.A){if(!t.Qt())return m.A.info("This in-app message has already received an impression. Ignoring analytics event."),n}else if((e===p.w.$i||t instanceof r.A&&e===p.w.Fi)&&!t.$t(i))return m.A.info("This in-app message has already received a click. Ignoring analytics event."),n;return o=t instanceof a.A?{trigger_ids:[t.triggerId]}:this.Oi(t),null==o?n:(t.messageExtras&&(o.message_extras=t.messageExtras),null!=s&&(o.bid=s),c.A.rt(e,o))}Xi(t,e){const s=new d.A;if(!t.$t())return m.A.info("This in-app message button has already received a click. Ignoring analytics event."),s;const i=this.Oi(e);return null==i?s:t.id===l.A.Hi?(m.A.info("This in-app message button does not have a tracking id. Not logging event to Braze servers."),s):(null!=t.id&&(i.bid=t.id),c.A.rt(p.w.Fi,i))}Ji(t){const e=t.messageFields;return null!=e&&e.is_push_primer||!1}Ki(t){if(!(t instanceof o.A))return;const e=t=>{if(!t)return;const e=(0,v.jj)(t);if((0,v.qj)(e))return(0,v.$6)(v.mY.Li,"In-App Message");if((0,v.dy)(e)){const t=A.A.Qi();if(!t.Ui)return A.A.Vi(t.reason,"In-App Message")}};if(this.Ji(t)){const t=A.A.Qi();if(!t.Ui)return A.A.Vi(t.reason,"In-App Message")}const s=t.buttons||[];let i;for(const n of s)if(n.clickAction===o.A.ClickAction.URI&&n.uri&&f.nx.test(n.uri)&&(i=e(n.uri),i))return i;return t.clickAction===o.A.ClickAction.URI&&t.uri&&f.nx.test(t.uri)?e(t.uri):void 0}Wi(t,e){e!==this.Ri&&this.Yi(),this.Bi=t,this.Ri=e}Yi(){null!=this.Bi&&(clearTimeout(this.Bi),this.Bi=null,this.Ri=null)}Zi(t,e,s,n){const a=this.B;if(!a)return;this.Ri&&t.triggerId!==this.Ri&&(this.Yi(),y.A.Ci(this.j,y.A.H.Ir));const r=a.Mr(!1),o=a.$(r);o.template={trigger_id:t.triggerId,trigger_event_type:e},null!=s&&(o.template.data=s.Ar());const l=a.A(o,y.A.H.Ir);a.J(o,((a=-1)=>{const r=this.B;if(!r)return;const c=(new Date).valueOf();y.A.K(this.j,y.A.H.Ir,c),-1!==a&&l.push(["X-Braze-Req-Tokens-Remaining",a.toString()]);let d,p,b=!1;i.A.O({url:`${r.V()}/template/`,data:o,headers:l,W:e=>{if(!r.Y(o,e,l))return void("function"==typeof t.Tr&&t.Tr());if(r.Z(),null==e||null==e.templated_message)return;const s=e.templated_message;if(s.type!==g.A._r.Br)return;const i=(0,u.g)(s.data);if(null==i)return;const n=this.Ki(i);if(n)return m.A.error(n),void("function"==typeof t.Tr&&t.Tr());"function"==typeof t.qr&&t.qr(i)},error:e=>{b=!0,d=e,p=`getting user personalization for message ${t.triggerId}.`},tt:(i,a)=>{if((new Date).valueOf()-t.Er<t.Gr){let i=0;if(b){const e=Math.min(t.Gr,this.ki),s=this.Mi;null==n&&(n=s),i=Math.min(e,(0,h.C)(s,3*n))}r.st(a,(()=>{this.Zi(t,e,s,i)}),y.A.H.Ir,(e=>this.Wi(e,t.triggerId)),(()=>this.Yi()),i)}b&&r._(d,p)}})}),y.A.H.Ir)}Oi(t){if(null==t.triggerId)return m.A.info("The in-app message has no analytics id. Not logging event to Braze servers."),null;const e={};return null!=t.triggerId&&(e.trigger_ids=[t.triggerId]),e}
1Ee(t){return!!this.j&&!(!(t&&t instanceof o.A&&t.constructor!==o.A)||t instanceof a.A)&&this.j.ft(w.d.ct.Nr,t.dt())}zr(){if(!this.j)return null;const t=this.j.lt(w.d.ct.Nr);if(!t)return null;let e;switch(t.type){case o.A.Ke.Or:e=x.A.Xr(t);break;case o.A.Ke.Hr:case o.A.Ke.Je:case o.A.Ke.Ao:e=r.A.Xr(t);break;case o.A.Ke.Jr:case o.A.Ke.Io:e=E.A.Xr(t);break;case o.A.Ke.Kr:e=S.A.Xr(t)}return e&&this.Lr(),e}Lr(){this.j&&this.j.Nt(w.d.ct.Nr)}}const C={aa:null,i:!1,ea:()=>(C.t(),C.aa||(C.aa=new k(n.Ay.m(),n.Ay.u(),n.Ay.p(),n.Ay.ir())),C.aa),t:()=>{C.i||(n.Ay.g(C),C.i=!0)},destroy:()=>{C.aa=null,C.i=!1}},_=C},5098:(t,e,s)=>{s.d(e,{DA:()=>h,EQ:()=>o,Jd:()=>u,S3:()=>c,UK:()=>n,YX:()=>a,Zo:()=>r,jU:()=>l});var i=s(46499);function n(t,e=!1){let s=t/1e3;return e&&(s=Math.floor(s)),s}function a(t){return 1e3*t}function r(t){if(null==t)return null;const e=parseInt(t.toString());return isNaN(e)?null:new Date(1e3*e)}function o(t){return null!=t&&(0,i.$P)(t)?t.toISOString().replace(/\.[0-9]{3}Z$/,""):t}function l(t){return null==t||""===t?null:new Date(t)}function c(t){return null==t||""===t?(new Date).valueOf():t}function u(t){return((new Date).valueOf()-t.valueOf())/1e3}function h(t){return(t.valueOf()-(new Date).valueOf())/1e3}},8457:(t,e,s)=>{s.d(e,{B9:()=>E,Dz:()=>b,L4:()=>C,To:()=>k,Z2:()=>x,ZJ:()=>g,fB:()=>w,nx:()=>p,rK:()=>y,uZ:()=>f,xs:()=>S});var i=s(46499),n=s(78623),a=s(16238),r=s(5098),o=s(98664),l=s(17276);const c=/^[^\x00-\x1F\x22]+$/,u=/[$.]/,h=["$add","$update","$remove","$identifier_key","$identifier_value","$new_object","$time","$google_ad_personalization","$google_ad_user_data"],d=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,p=/^brazeActions:\/\/v\d+\//,m=/^[^\s]+$/;function b(t,e,s){const i=null!=t&&"string"==typeof t&&(""===t||null!=t.match(c));return i||a.A.error(`Cannot ${e} because ${s} "${t}" is invalid.`),i}function g(t){return null!=t&&t.match(u)&&-1===h.indexOf(t)&&a.A.warn("Custom attribute keys cannot contain '$' or '.'"),b(t,"set custom user attribute","the given key")}function f(t){const e=typeof t;return null==t||"number"===e||"boolean"===e||(0,i.$P)(t)||"string"===e}function v(t,e,s){const n=-1!==s;if(n&&s>50)return a.A.error("Nested attributes cannot be more than 50 levels deep."),!1;const o=n?s+1:-1;if((0,i.cy)(t)&&(0,i.cy)(e)){for(let a=0;a<t.length&&a<e.length;a++)if((0,i.$P)(t[a])&&(e[a]=(0,r.EQ)(t[a])),!v(t[a],e[a],o))return!1}else{if(!(0,i.Gv)(t))return f(t);for(const s of(0,i.HP)(t)){const a=t[s];if(n&&!g(s))return!1;if((0,i.$P)(a)&&(e[s]=(0,r.EQ)(a)),!v(a,e[s],o))return!1}}return!0}function A(t,e,s,n,r){let o;return o=(0,i.Gv)(t)||(0,i.cy)(t)?v(t,e,r?1:-1):f(t),o||a.A.error(`Cannot ${s} because ${n} "${t}" is invalid.`),o}function y(t,e,s,i=!1){const n="string"==typeof t||null===t&&i;return n||a.A.error(`Cannot ${e} because ${s} "${t}" is invalid.`),n}function w(t,e,s,o,c){if(null==t&&(t={}),"object"!=typeof t||(0,i.cy)(t))return a.A.error(`${e} requires that ${s} be an object. Ignoring ${c}.`),[!1,null];let u,h;e===l.KG?(u=76800,h="75KB"):(u=51200,h="50KB");const d=JSON.stringify(t);if((0,n.N)(d)>u)return a.A.error(`Could not ${o} because ${s} was greater than the max size of ${h}.`),[!1,null];let p;try{p=JSON.parse(d)}catch(t){return a.A.error(`Could not ${o} because ${s} did not contain valid JSON.`),[!1,null]}for(const n in t){if(e===l.KG&&!g(n))return[!1,null];if(!b(n,o,`the ${c} property name`))return[!1,null];const s=t[n];if(e===l.KG||null!=s){if((0,i.$P)(s)&&(p[n]=(0,r.EQ)(s)),!A(s,p[n],o,`the ${c} property "${n}"`,e===l.KG))return[!1,null]}else delete t[n],delete p[n]}return[!0,p]}function x(t,e){let s=!1,n=!1;const r=()=>{a.A.error("Custom attribute arrays must be either string arrays or object arrays.")};for(const a of e)if("string"==typeof a){if(n)return r(),[!1,!1];if(!b(a,`set custom user attribute "${t}"`,"the element in the given array"))return[!1,!1];s=!0}else{if(!(0,i.Gv)(a))return r(),[!1,!1];if(s)return r(),[!1,!1];if(!w(a,l.KG,"attribute value",`set custom user attribute "${t}"`,"custom user attribute"))return[!1,!1];n=!0}return[s,n]}function E(t){if("string"!=typeof t)return!1;const e=t.length;return!(0===e||e>256)&&d.test(t.toLowerCase())}function S(t){if(!(o.V.properties.type in t))return!1;switch(t[o.V.properties.type]){case o.V.types.io:if(o.V.properties.eo in t)return!0;break;case o.V.types.logCustomEvent:case o.V.types.setEmailNotificationSubscriptionType:case o.V.types.setPushNotificationSubscriptionType:case o.V.types.setCustomUserAttribute:case o.V.types.addToSubscriptionGroup:case o.V.types.removeFromSubscriptionGroup:case o.V.types.addToCustomAttributeArray:case o.V.types.removeFromCustomAttributeArray:case o.V.types.mo:case o.V.types.uo:if(
1o.V.properties.so in t)return!0;break;case o.V.types.requestPushPermission:return!0;default:return!1}return!1}function k(t){let e=!1;return Object.keys(o.V.types).forEach((s=>{o.V.types[s]!==t.toString()||(e=!0)})),e}function C(t){return m.test(t)}},10007:(t,e,s)=>{s.d(e,{A:()=>c});var i=s(46499);class n{constructor(){}ef(){}ff(){}Ja(t){}static nf(t,e){if(t&&e)if(t=t.toLowerCase(),(0,i.cy)(e.cf)){for(let s=0;s<e.cf.length;s++)if(-1!==t.indexOf(e.cf[s].toLowerCase()))return e.identity}else if(-1!==t.indexOf(e.cf.toLowerCase()))return e.identity}}var a=s(53072);class r extends n{constructor(){if(super(),this.userAgentData=navigator.userAgentData,this.browser=null,this.version=null,this.userAgentData){const t=this.gc();this.browser=t.browser||"Unknown Browser",this.version=t.version||"Unknown Version"}this.OS=null}ef(){return this.browser}ff(){return this.version}Ja(t){if(this.OS)return Promise.resolve(this.OS);const e=e=>{for(let s=0;s<t.length;s++){const i=r.nf(e,t[s]);if(i)return this.OS=i,this.OS}return e};return this.userAgentData.platform?Promise.resolve(e(this.userAgentData.platform)):this.getHighEntropyValues().then((t=>t.platform?e(t.platform):navigator.platform)).catch((()=>navigator.platform))}gc(){const t={},e=this.userAgentData.brands;if(e&&e.length)for(const s of e){const e=this.vc(a.c),i=s.brand.match(e);if(i&&i.length>0){t.browser=i[0],t.version=s.version;break}}return t}vc(t){const e=[];for(const s in t){const i=s;e.push(t[i])}return new RegExp("("+e.join("|")+")","i")}getHighEntropyValues(){return this.userAgentData.getHighEntropyValues?this.userAgentData.getHighEntropyValues(["platform"]):Promise.reject()}}class o extends n{constructor(){super(),this.fd=o.gc(navigator.userAgent||"")}ef(){return this.fd[0]||"Unknown Browser"}ff(){return this.fd[1]||"Unknown Version"}Ja(t){for(let e=0;e<t.length;e++){const s=t[e].string;let i=o.nf(s,t[e]);if(i)return i===a.u.Pg&&navigator.maxTouchPoints>1&&(i=a.u.co),Promise.resolve(i)}return Promise.resolve(navigator.platform)}static gc(t){let e,s=t.match(/(samsungbrowser|tizen|roku|konqueror|icab|crios|opera|ucbrowser|chatgptbrowser|chrome|safari|firefox|camino|msie|trident(?=\/))\/?\s*(\.?\d+(\.\d+)*)/i)||[];if(-1!==t.indexOf("(Web0S; Linux/SmartTV)"))return["LG Smart TV",null];if(-1!==t.indexOf("CrKey"))return["Chromecast",null];if(-1!==t.indexOf("BRAVIA")||-1!==t.indexOf("SonyCEBrowser")||-1!==t.indexOf("SonyDTV"))return["Sony Smart TV",null];if(-1!==t.indexOf("PhilipsTV"))return["Philips Smart TV",null];if(t.match(/\b(Roku)\b/))return["Roku",null];if(t.match(/\bAFTM\b/))return["Amazon Fire Stick",null];if(s[1]===a.c.rO){if(t.includes(a.c.Sg))return[a.c.Sg,s[2]];if(e=t.match(/\b(OPR|Edge|EdgA|Edg|UCBrowser)\/(\.?\d+(\.\d+)*)/),null!=e)return e=e.slice(1),e[0]=e[0].replace("OPR",a.c.oO),e[0]=e[0].replace("EdgA",a.c.eO),"Edg"===e[0]&&(e[0]=a.c.eO),[e[0],e[1]]}if(s[1]===a.c.Bg&&(e=t.match(/\b(EdgiOS)\/(\.?\d+(\.\d+)*)/),null!=e))return e=e.slice(1),e[0]=e[0].replace("EdgiOS",a.c.eO),[e[0],e[1]];if(s=s[2]?[s[1],s[2]]:[null,null],s[0]===a.c.Bg&&null!=(e=t.match(/version\/(\.?\d+(\.\d+)*)/i))&&s.splice(1,1,e[1]),null!=(e=t.match(/\b(UCBrowser)\/(\.?\d+(\.\d+)*)/))&&s.splice(1,1,e[2]),s[0]===a.c.oO&&null!=(e=t.match(/mini\/(\.?\d+(\.\d+)*)/i)))return["Opera Mini",e[1]||""];if(s[0]){const t=s[0].toLowerCase();"crios"===t&&(s[0]=a.c.rO),"tizen"===t&&(s[0]="Samsung Smart TV",s[1]=null),"samsungbrowser"===t&&(s[0]="Samsung Browser")}return s}}class l{constructor(){let t;t=navigator.userAgent.toLowerCase().includes(a.c.Sg.toLowerCase())||!navigator.userAgentData?o:r,this.vg=new t,this.userAgent=navigator.userAgent,this.browser=this.vg.ef(),this.version=this.vg.ff(),this.OS=null,this.Ja().then((t=>this.OS=t));const e=navigator;this.language=(e.userLanguage||e.language||e.browserLanguage||e.systemLanguage||"").toLowerCase(),this.Pa=l.xg(this.userAgent)}bE(){return this.browser===a.c.Bg}Ka(){return this.OS||null}Ja(){return this.OS?Promise.resolve(this.OS):this.vg.Ja(l.Og).then((t=>(this.OS=t,t)))}static xg(t){t=t.toLowerCase();const e=["bot","slurp","baiduspider","yandex","facebookexternalhit","sogou","ia_archiver","https://github.com/prerender/prerender","aolbuild","bingpreview","mediapartners-google","teoma","taiko","facebookexternalhit","facebookcatalog","meta-webindexer","meta-externalads","meta-externalagent","meta-externalfetcher"];for(let s=0;s<e.length;s++)if(-1!==t.indexOf(e[s]))return!0;return!1}}l.Og=[{string:navigator.platform,cf:"Win",identity:a.u.kg},{string:navigator.platform,cf:"Mac",identity:a.u.Pg},{string:navigator.platform,cf:"BlackBerry",identity:"BlackBerry"},{string:navigator.platform,cf:"FreeBSD",identity:"FreeBSD"},{string:navigator.platform,cf:"OpenBSD",identity:"OpenBSD"},{string:navigator.platform,cf:"Nintendo",identity:"Nintendo"},{string:navigator.platform,cf:"SunOS",identity:"SunOS"},{string:navigator.platform,cf:"PlayStation",identity:"PlayStation"},{string:navigator.platform,cf:"X11",identity:"X11"},{string:navigator.userAgent,cf:["iPhone","iPad","iPod"],identity:a.u.co},{string:navigator.platform,cf:"Pike v",identity:a.u.co},{string:navigator.userAgent,cf:["Web0S"],identity:"WebOS"},{string:navigator.userAgent,cf:"Tizen",identity:"Tizen"},{string:navigator.userAgent,cf:"Coolita",identity:"Other Smart TV"},{string:navigator.userAgent,cf:"WhaleTV",identity:"Other Smart TV"},{string:navigator.platform,cf:["Linux armv7l","Android"],identity:a.u.Dg},{string:navigator.userAgent,cf:["Android"],identity:a.u.Dg},{string:navigator.platform,cf:"Linux",identity:"Linux"}];const c=new l},10858:(t,e,s)=>{s.d(e,{A:()=>i});class i{constructor(t,e){this.database=t,this.vd=e,this.parent="undefined"==typeof window?self:window,this.database=t,this.vd=e}Dd(){if("indexedDB"in this.parent)return this.parent.indexedDB}isSupported(){var t;try{if(null==this.Dd())return!1;{const e=null===(t=this.Dd())||void 0===t?void 0:t.open("Braze IndexedDB Support Test");
1if(e&&(e.onupgradeneeded=()=>e.result.close(),e.onsuccess=()=>e.result.close()),"undefined"!=typeof window){const t=window,e=t.chrome||t.browser||t.pd;if(e&&e.runtime&&e.runtime.id)return this.vd.info("Not using IndexedDB for storage because we are running inside an extension"),!1}return!0}}catch(t){return this.vd.info("Not using IndexedDB for storage due to following error: "+t),!1}}Bd(t,e){var s;const i=null===(s=this.Dd())||void 0===s?void 0:s.open(this.database.Sd,this.database.VERSION);if(null==i)return"function"==typeof e&&e(),!1;const n=this;return i.onupgradeneeded=t=>{var e;n.vd.info("Upgrading indexedDB "+n.database.Sd+" to v"+n.database.VERSION+"...");const s=null===(e=t.target)||void 0===e?void 0:e.result;for(const i in n.database.Fs){const t=i;n.database.Fs.hasOwnProperty(i)&&!s.objectStoreNames.contains(n.database.Fs[t])&&s.createObjectStore(n.database.Fs[t])}},i.onsuccess=s=>{var i;const a=null===(i=s.target)||void 0===i?void 0:i.result;a.onversionchange=()=>{a.close(),"function"==typeof e&&e(),n.vd.error("Needed to close the database unexpectedly because of an upgrade in another tab")},t(a)},i.onerror=t=>{var s;const i=t;return n.vd.info("Could not open indexedDB "+n.database.Sd+" v"+n.database.VERSION+": "+(null===(s=i.target)||void 0===s?void 0:s.errorCode)),"function"==typeof e&&e(),!0},!0}setItem(t,e,s,i,n){if(!this.isSupported())return"function"==typeof n&&n(),!1;const a=this;return this.Bd((r=>{if(!r.objectStoreNames.contains(t))return a.vd.error("Could not store object "+e+" in "+t+" on indexedDB "+a.database.Sd+" - "+t+" is not a valid objectStore"),"function"==typeof n&&n(),void r.close();const o=r.transaction([t],"readwrite");o.oncomplete=()=>r.close();const l=o.objectStore(t).put(s,e);l.onerror=()=>{a.vd.error("Could not store object "+e+" in "+t+" on indexedDB "+a.database.Sd),"function"==typeof n&&n()},l.onsuccess=()=>{"function"==typeof i&&i()}}),n)}getItem(t,e,s){if(!this.isSupported())return!1;const i=this;return this.Bd((n=>{if(!n.objectStoreNames.contains(t))return i.vd.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+i.database.Sd+" - "+t+" is not a valid objectStore"),void n.close();const a=n.transaction([t],"readonly");a.oncomplete=()=>n.close();const r=a.objectStore(t).get(e);r.onerror=()=>{i.vd.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+i.database.Sd)},r.onsuccess=t=>{var e;const i=null===(e=t.target)||void 0===e?void 0:e.result;null!=i&&s(i)}}))}jr(t,e,s){if(!this.isSupported())return"function"==typeof s&&s(),!1;const i=this;return this.Bd((n=>{if(!n.objectStoreNames.contains(t))return i.vd.error("Could not retrieve last record from "+t+" on indexedDB "+i.database.Sd+" - "+t+" is not a valid objectStore"),"function"==typeof s&&s(),void n.close();const a=n.transaction([t],"readonly");a.oncomplete=()=>n.close();const r=a.objectStore(t).openCursor(null,"prev");r.onerror=()=>{i.vd.error("Could not open cursor for "+t+" on indexedDB "+i.database.Sd),"function"==typeof s&&s()},r.onsuccess=t=>{var i;const n=null===(i=t.target)||void 0===i?void 0:i.result;null!=n&&null!=n.value&&null!=n.key?e(n.key,n.value):"function"==typeof s&&s()}}),s)}be(t,e){if(!this.isSupported())return!1;const s=this;return this.Bd((i=>{if(!i.objectStoreNames.contains(t))return s.vd.error("Could not delete record "+e+" from "+t+" on indexedDB "+s.database.Sd+" - "+t+" is not a valid objectStore"),void i.close();const n=i.transaction([t],"readwrite");n.oncomplete=()=>i.close(),n.objectStore(t).delete(e).onerror=()=>{s.vd.error("Could not delete record "+e+" from "+t+" on indexedDB "+s.database.Sd)}}))}Ds(t,e){if(!this.isSupported())return!1;const s=this;return this.Bd((i=>{if(!i.objectStoreNames.contains(t))return s.vd.error("Could not retrieve objects from "+t+" on indexedDB "+s.database.Sd+" - "+t+" is not a valid objectStore"),void i.close();const n=i.transaction([t],"readwrite");n.oncomplete=()=>i.close();const a=n.objectStore(t),r=a.openCursor(),o=[];r.onerror=()=>{o.length>0?(s.vd.info("Cursor closed midway through for "+t+" on indexedDB "+s.database.Sd),e(o)):s.vd.error("Could not open cursor for "+t+" on indexedDB "+s.database.Sd)},r.onsuccess=t=>{var s;const i=null===(s=t.target)||void 0===s?void 0:s.result;null!=i?(null!=i.value&&null!=i.key&&(a.delete(i.key).onsuccess=()=>{o.push(i.value)}),"function"==typeof i.continue&&i.continue()):o.length>0&&e(o)}}))}clearData(){if(!this.isSupported())return!1;const t=[];for(const s in this.database.Fs){const e=s;this.database.Fs.hasOwnProperty(s)&&this.database.Fs[e]!==this.database.Fs.le&&t.push(this.database.Fs[e])}const e=this;return this.Bd((function(s){const i=s.transaction(t,"readwrite");i.oncomplete=()=>s.close();for(let n=0;n<t.length;n++){const s=t[n];i.objectStore(s).clear().onerror=function(){e.vd.error("Could not clear "+this.source.name+" on indexedDB "+e.database.Sd)}}i.onerror=function(){e.vd.error("Could not clear object stores on indexedDB "+e.database.Sd)}}))}}i.Us={Rs:{Sd:"AppboyServiceWorkerAsyncStorage",VERSION:6,Fs:{Tu:"data",hr:"pushClicks",cu:"pushSubscribed",Cd:"fallbackDevice",As:"cardUpdates",le:"optOut",wr:"pendingData",xh:"sdkAuthenticationSignature"},me:1}}},10917:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(61201),n=s(98412);class a extends i.A{constructor(t,e,s,n,a,r,o,l,c,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S){g=g||i.A.th.Sh,b=b||i.A.th.Rh,super(t,e=e||i.A.TextAlignment.START,s,n,a,r,o,l,c,u,h,d,void 0,p,m,b,g,f,v,A,void 0,void 0,void 0,void 0,void 0,void 0,void 0,y,w,x,E,S),this.do=i.A.TextAlignment.START}Ve(){return!1}ho(){const t=document.createElement("span");return t.appendChild(document.createTextNode(this.message||"")),t}Ah(t){const e=t.getElementsByClassName("ab-in-app-message")[0];n.e0.Mo(e,!0,!0)||(this.slideFrom===i.A.SlideFrom.TOP?e.style.top="0px":e.style.bottom="0px"),super.Ah(t)}
1dt(){return super.dt(a.es)}static Xr(t){return new a(t[i.A.ss.Vr],t[i.A.ss.Wr],t[i.A.ss.Nh],t[i.A.ss.xs],t[i.A.ss.Yr],t[i.A.ss.Zr],t[i.A.ss.URI],t[i.A.ss.ra],t[i.A.ss.sa],t[i.A.ss.ta],t[i.A.ss.ia],t[i.A.ss.ns],t[i.A.ss.pa],t[i.A.ss.ma],t[i.A.ss.na],t[i.A.ss.ua],t[i.A.ss.ca],t[i.A.ss.fa],t[i.A.ss.da],t[i.A.ss.wa],t[i.A.ss.CSS],t[i.A.ss.ya],t[i.A.ss.LANGUAGE],t[i.A.ss.ks])}}a.es=i.A.Ke.Kr},12648:(t,e,s)=>{s.d(e,{changeUser:()=>L.changeUser,getBanner:()=>Vt,getUser:()=>P,initialize:()=>M,insertBanner:()=>de,isInitialized:()=>$,logContentCardClick:()=>A,logContentCardImpressions:()=>v,logCustomEvent:()=>G.logCustomEvent,logInAppMessageImpression:()=>W,openSession:()=>H,requestBannersRefresh:()=>pe,requestContentCardsRefresh:()=>R,requestImmediateDataFlush:()=>V.requestImmediateDataFlush,showInAppMessage:()=>Rt,subscribeToBannersUpdates:()=>he,subscribeToContentCardsUpdates:()=>U,subscribeToInAppMessage:()=>Ut});var i=s(5098),n=s(17276),a=s(2861),r=s(16238);class o{constructor(t,e,s,i,n,a,r,o,l,c,u,h,d,p,m,b){this.id=t,this.viewed=e,this.title=s,this.imageUrl=i,this.description=n,this.updated=a,this.expiresAt=r,this.url=o,this.linkText=l,this.aspectRatio=c,this.extras=u,this.pinned=h,this.dismissible=d,this.clicked=p,this.language=m,this.altImageText=b,this.id=t,this.viewed=e||!1,this.title=s||"",this.imageUrl=i,this.description=n||"",this.updated=a||null,this.expiresAt=r||null,this.url=o,this.linkText=l,null==c?this.aspectRatio=null:(c=parseFloat(c.toString()),this.aspectRatio=isNaN(c)?null:c),this.extras=u||{},this.pinned=h||!1,this.dismissible=d||!1,this.dismissed=!1,this.clicked=p||!1,this.isControl=!1,this.language=m||null,this.altImageText=b||null,this.test=!1,this.ti=null,this.ii=null,this.si=null}subscribeToClickedEvent(t){return this.hi().wt(t)}subscribeToDismissedEvent(t){return this.li().wt(t)}removeSubscription(t){this.hi().removeSubscription(t),this.li().removeSubscription(t)}removeAllSubscriptions(){this.hi().removeAllSubscriptions(),this.li().removeAllSubscriptions()}dismissCard(){if(!this.dismissible||this.dismissed)return;"function"==typeof this.logCardDismissal&&this.logCardDismissal();let t=this._t;!t&&this.id&&(t=document.getElementById(this.id)),t&&(t.style.height=t.offsetHeight+"px",t.className=t.className+" ab-hide",setTimeout((function(){t&&t.parentNode&&(t.style.height="0",t.style.margin="0",setTimeout((function(){t&&t.parentNode&&t.parentNode.removeChild(t)}),o.ni))}),n.RW))}hi(){return null==this.ti&&(this.ti=new a.A),this.ti}li(){return null==this.ii&&(this.ii=new a.A),this.ii}Qt(){const t=(new Date).valueOf();return!(null!=this.si&&t-this.si<o.ei)&&(this.si=t,this.viewed=!0,!0)}$t(){this.viewed=!0,this.clicked=!0,this.hi().L()}Kt(){return!(!this.dismissible||this.dismissed)&&(this.dismissed=!0,this.li().L(),!0)}ri(t){if(null==t||t[o.ui.rs]!==this.id)return!0;if(t[o.ui.Ei])return!1;if(null!=t[o.ui.ps]&&null!=this.updated&&parseInt(t[o.ui.ps])<(0,i.UK)(this.updated.valueOf()))return!0;if(t[o.ui.os]&&!this.viewed&&(this.viewed=!0),t[o.ui.js]&&!this.clicked&&(this.clicked=t[o.ui.js]),null!=t[o.ui.cs]&&(this.title=t[o.ui.cs]),null!=t[o.ui.ns]&&(this.imageUrl=t[o.ui.ns]),null!=t[o.ui.ds]&&(this.description=t[o.ui.ds]),null!=t[o.ui.ps]){const e=(0,i.Zo)(t[o.ui.ps]);null!=e&&(this.updated=e)}if(null!=t[o.ui.us]){let e;e=t[o.ui.us]===o.Ti?null:(0,i.Zo)(t[o.ui.us]),this.expiresAt=e}if(null!=t[o.ui.URL]&&(this.url=t[o.ui.URL]),null!=t[o.ui.ls]&&(this.linkText=t[o.ui.ls]),null!=t[o.ui.fs]){const e=parseFloat(t[o.ui.fs].toString());this.aspectRatio=isNaN(e)?null:e}return null!=t[o.ui.xs]&&(this.extras=t[o.ui.xs]),null!=t[o.ui.bs]&&(this.pinned=t[o.ui.bs]),null!=t[o.ui.gs]&&(this.dismissible=t[o.ui.gs]),null!=t[o.ui.zs]&&(this.language=t[o.ui.zs]),null!=t[o.ui.ks]&&(this.altImageText=t[o.ui.ks]),null!=t[o.ui.qs]&&(this.test=t[o.ui.qs]),!0}dt(){r.A.error("Must be implemented in a subclass")}}o.Ti=-1,o.ui={rs:"id",os:"v",gs:"db",Ei:"r",ps:"ca",bs:"p",us:"ea",xs:"e",ts:"tp",ns:"i",cs:"tt",ds:"ds",URL:"u",ls:"dm",fs:"ar",js:"cl",qs:"t",zs:"language",ks:"image_alt"},o.es={hs:"captioned_image",oi:"text_announcement",ai:"short_news",Ii:"banner_image",Ni:"control"},o.ss={rs:"id",os:"v",gs:"db",Ai:"cr",ps:"ca",bs:"p",ci:"t",us:"ea",xs:"e",ts:"tp",ns:"i",cs:"tt",ds:"ds",URL:"u",ls:"dm",fs:"ar",js:"cl",qs:"s",zs:"l",ks:"ia"},o.mi={Si:"ADVERTISING",Di:"ANNOUNCEMENTS",pi:"NEWS",di:"SOCIAL"},o.ni=400,o.ei=1e4;var l=s(25),c=s(46499);class u extends o{constructor(t,e,s,i,n,a){super(t,e,null,null,null,s,i,null,null,null,n,a),this.isControl
1=!0,this.Xt="ab-control-card",this.Yt=!1}dt(){const t={};return t[o.ss.ts]=o.es.Ni,t[o.ss.rs]=this.id,t[o.ss.os]=this.viewed,t[o.ss.ps]=this.updated,t[o.ss.us]=this.expiresAt,t[o.ss.xs]=this.extras,t[o.ss.bs]=this.pinned,t[o.ss.qs]=this.test,t}}var h=s(94334),d=s(56685),p=s(20804),m=s(90663);class b{constructor(t){this.j=t,this.j=t}logClick(t){const e=new d.A;if(t.$t(),null==t.url||""===t.url)return r.A.info(`Card ${t.id} has no url. Not logging click to Braze servers.`),e;if(t.id&&this.j){const e=this.j.lt(m.d.ct.Et)||{};e[t.id]=!0,this.j.ft(m.d.ct.Et,e)}const s=this.Gt([t]);if(null==s)return e;const i=p.w.Ht;return h.A.rt(i,s)}Jt(t){const e=new d.A;if(!t.Kt())return r.A.info(`Card ${t.id} refused this dismissal. Ignoring analytics event.`),e;if(t.id&&this.j){const e=this.j.lt(m.d.ct.Lt)||{};e[t.id]=!0,this.j.ft(m.d.ct.Lt,e)}const s=this.Gt([t]);return null==s?e:h.A.rt(p.w.Mt,s)}Ot(t){const e=new d.A(!0),s=[],i=[];let n={};this.j&&(n=this.j.lt(m.d.ct.Pt)||{});for(const l of t)l.Qt()?(l instanceof u?i.push(l):s.push(l),l.id&&(n[l.id]=!0)):r.A.info(`Card ${l.id} logged an impression too recently. Ignoring analytics event.`);const a=this.Gt(s),o=this.Gt(i);if(null==a&&null==o)return e.W=!1,e;if(this.j&&this.j.ft(m.d.ct.Pt,n),null!=a){const t=p.w.Ut,s=h.A.rt(t,a);e.Vt(s)}if(null!=o){const t=h.A.rt(p.w.Wt,o);e.Vt(t)}return e}Gt(t){let e,s=null;for(let i=0;i<t.length;i++)e=t[i].id,null!=e&&""!==e&&(s=s||{},s.ids=s.ids||[],s.ids.push(e));return s}}const g={i:!1,aa:null,ea:()=>(g.t(),g.aa||(g.aa=new b(l.Ay.p())),g.aa),t:()=>{g.i||(l.Ay.g(g),g.i=!0)},destroy:()=>{g.aa=null,g.i=!1}},f=g;function v(t){if(!l.Ay.rr())return!1;if(!(0,c.cy)(t))return r.A.error("cards must be an array"),!1;for(const e of t)if(!(e instanceof o))return r.A.error(`Each card in cards ${n.s1}`),!1;return f.ea().Ot(t).W}function A(t){return!!l.Ay.rr()&&(t instanceof o?f.ea().logClick(t).W:(r.A.error("card "+n.s1),!1))}var y=s(49303),w=s(94188);class x{constructor(t,e){this.cards=t,this.lastUpdated=e,this.cards=t,this.lastUpdated=e}getUnviewedCardCount(){let t=0;for(const e of this.cards)e.viewed||e instanceof u||t++;return t}sr(t){v(t)}nr(t){return A(t)}dr(){R()}ar(){return!0}}x.ur=6e4,x.cr=500,x.Cr=1e4;var E=s(74285);class S extends o{constructor(t,e,s,i,n,a,r,o,l,c,u,h,d,p,m,b){super(t,e,s,i,n,a,r,o,l,c,u,h,d,p,m,b),this.Xt="ab-classic-card",this.Yt=!0}dt(){const t={};return t[o.ss.ts]=o.es.ai,t[o.ss.rs]=this.id,t[o.ss.os]=this.viewed,t[o.ss.cs]=this.title,t[o.ss.ns]=this.imageUrl,t[o.ss.ds]=this.description,t[o.ss.ps]=this.updated,t[o.ss.us]=this.expiresAt,t[o.ss.URL]=this.url,t[o.ss.ls]=this.linkText,t[o.ss.fs]=this.aspectRatio,t[o.ss.xs]=this.extras,t[o.ss.bs]=this.pinned,t[o.ss.gs]=this.dismissible,t[o.ss.js]=this.clicked,t[o.ss.zs]=this.language,t[o.ss.ks]=this.altImageText,t[o.ss.qs]=this.test,t}}class k extends o{constructor(t,e,s,i,n,a,r,o,l,c,u,h,d,p,m,b){super(t,e,s,i,n,a,r,o,l,c,u,h,d,p,m,b),this.Xt="ab-captioned-image",this.Yt=!0,this.test=!1}dt(){const t={};return t[o.ss.ts]=o.es.hs,t[o.ss.rs]=this.id,t[o.ss.os]=this.viewed,t[o.ss.cs]=this.title,t[o.ss.ns]=this.imageUrl,t[o.ss.ds]=this.description,t[o.ss.ps]=this.updated,t[o.ss.us]=this.expiresAt,t[o.ss.URL]=this.url,t[o.ss.ls]=this.linkText,t[o.ss.fs]=this.aspectRatio,t[o.ss.xs]=this.extras,t[o.ss.bs]=this.pinned,t[o.ss.gs]=this.dismissible,t[o.ss.js]=this.clicked,t[o.ss.zs]=this.language,t[o.ss.ks]=this.altImageText,t[o.ss.qs]=this.test,t}}class C extends o{constructor(t,e,s,i,n,a,r,o,l,c,u,h,d){super(t,e,null,s,null,i,n,a,null,r,o,l,c,u,h,d),this.Xt="ab-image-only",this.Yt=!1,this.test=!1}dt(){const t={};return t[o.ss.ts]=o.es.Ii,t[o.ss.rs]=this.id,t[o.ss.os]=this.viewed,t[o.ss.ns]=this.imageUrl,t[o.ss.ps]=this.updated,t[o.ss.us]=this.expiresAt,t[o.ss.URL]=this.url,t[o.ss.fs]=this.aspectRatio,t[o.ss.xs]=this.extras,t[o.ss.bs]=this.pinned,t[o.ss.gs]=this.dismissible,t[o.ss.js]=this.clicked,t[o.ss.zs]=this.language,t[o.ss.ks]=this.altImageText,t[o.ss.qs]=this.test,t}}function _(t,e,s,i,n,a,l,c,h,d,p,m,b,g,f,v,A,y){let w;
1if(e===o.es.oi||e===o.es.ai)w=new S(t,s,i,n,a,l,c,h,d,p,m,b,g,f,A,y);else if(e===o.es.hs)w=new k(t,s,i,n,a,l,c,h,d,p,m,b,g,f,A,y);else if(e===o.es.Ii)w=new C(t,s,n,l,c,h,p,m,b,g,f,A,y);else{if(e!==o.es.Ni)return r.A.error("Ignoring card with unknown type "+e),null;w=new u(t,s,l,c,m,b)}return v&&(w.test=v),w}function T(t){if(t[o.ui.Ei])return null;const e=t[o.ui.rs],s=t[o.ui.ts],n=t[o.ui.os],a=t[o.ui.cs],r=t[o.ui.ns],l=t[o.ui.ds],c=(0,i.Zo)(t[o.ui.ps]);let u;return u=t[o.ui.us]===o.Ti?null:(0,i.Zo)(t[o.ui.us]),_(e,s,n,a,r,l,c,u,t[o.ui.URL],t[o.ui.ls],t[o.ui.fs],t[o.ui.xs],t[o.ui.bs],t[o.ui.gs],t[o.ui.js],t[o.ui.qs]||!1,t[o.ui.zs],t[o.ui.ks])}function N(t){return _(t[o.ss.rs],t[o.ss.ts],t[o.ss.os],t[o.ss.cs],t[o.ss.ns],t[o.ss.ds],(0,i.jU)(t[o.ss.ps]),(0,i.jU)(t[o.ss.us]),t[o.ss.URL],t[o.ss.ls],t[o.ss.fs],t[o.ss.xs],t[o.ss.bs],t[o.ss.gs],t[o.ss.js],t[o.ss.qs]||!1,t[o.ss.zs],t[o.ss.ks])||void 0}var I=s(47927),O=s(74956),j=s(10858);class D extends w.A{constructor(t,e,s,i,n){super(),this.Cs=t,this.j=e,this.h=s,this.vs=i,this.B=n,this.Cs=t,this.j=e,this.h=s,this.vs=i,this.B=n,this.ws=new a.A,l.Ay.q(this.ws),this.ys=0,this.Ss=0,this.cards=[],this.Ts();const o=j.A.Us.Rs;new j.A(o,r.A).Ds(o.Fs.As,(t=>{this.Ls(t)})),this.Ns=null,this.D=null,this.Js=null,this.Ms=null,this.$s=10}Bs(){return this.Ns}Es(t){this.Ns=t}jt(){return this.D}yt(t){this.D=t}Ts(){if(!this.j)return;const t=this.j.lt(m.d.ct.Ps)||[],e=[];for(let s=0;s<t.length;s++){const i=N(t[s]);null!=i&&e.push(i)}this.cards=this.Xs(this._s(e,!1)),this.ys=this.j.lt(m.d.ct.Gs)||this.ys,this.Ss=this.j.lt(m.d.ct.Hs)||this.Ss}Is(t,e=!1,s=0,i=0){let n;if(e){n=[];for(const t of this.cards)t.test&&n.push(t)}else n=this.cards.slice();for(let a=0;a<t.length;a++){const s=t[a];let i=null;for(let t=0;t<this.cards.length;t++)if(s.id===this.cards[t].id){i=this.cards[t];break}if(e){const t=T(s);null!=i&&i.viewed&&t&&(t.viewed=!0),null!=t&&n.push(t)}else if(null==i){const t=T(s);null!=t&&n.push(t)}else if(!i.ri(s))for(let t=0;t<n.length;t++)if(s.id===n[t].id){n.splice(t,1);break}}this.cards=this.Xs(this._s(n,e)),this.Ks(),this.ys=s,this.Ss=i,this.j&&(this.j.ft(m.d.ct.Gs,this.ys),this.j.ft(m.d.ct.Hs,this.Ss))}N(t){if(this.Os()&&null!=t&&t.cards){this.j&&this.j.ft(m.d.ct.Qs,l.Ay.Vs());const e=t.full_sync;e||this.Ts(),this.Is(t.cards,e,t.last_full_sync_at,t.last_card_updated_at),this.ws.L(this.Ws(!0))}}Ys(t){this.Zs(),this.Js=t}Ls(t){var e;if(!this.Os())return;this.Ts();const s=this.cards.slice();let i=null;i=null===(e=this.Cs)||void 0===e?void 0:e.getUserId();for(let n=0;n<t.length;n++)if(i===t[n].userId||null==i&&null==t[n].userId){const e=t[n].card;let i=null;for(let t=0;t<this.cards.length;t++)if(e.id===this.cards[t].id){i=this.cards[t];break}if(null==i){const t=T(e);null!=t&&s.push(t)}else if(!i.ri(e))for(let t=0;t<s.length;t++)if(e.id===s[t].id){s.splice(t,1);break}}this.cards=this.Xs(this._s(s,!1)),this.Ks(),this.ws.L(this.Ws(!0))}_s(t,e){let s={},i={},n={};this.j&&(s=this.j.lt(m.d.ct.Et)||{},i=this.j.lt(m.d.ct.Pt)||{},n=this.j.lt(m.d.ct.Lt)||{});const a={},r={},o={};for(let l=0;l<t.length;l++){const e=t[l].id;e&&(s[e]&&(t[l].clicked=!0,a[e]=!0),i[e]&&(t[l].viewed=!0,r[e]=!0),n[e]&&(t[l].dismissed=!0,o[e]=!0))}return e&&this.j&&(this.j.ft(m.d.ct.Et,a),this.j.ft(m.d.ct.Pt,r),this.j.ft(m.d.ct.Lt,o)),t}Xs(t){const e=[],s=new Date;let i={};this.j&&(i=this.j.lt(m.d.ct.Lt)||{});let n=!1;for(let a=0;a<t.length;a++){const o=t[a].url;if(!this.vs&&o&&(0,E.P)(o)){r.A.error(`Card with url ${o} will not be displayed because Javascript URLs are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable this card.`);continue}const l=t[a].expiresAt;let c=!0;if(null!=l&&(c=l>=s),c=c&&!t[a].dismissed,c)e.push(t[a]);else{const e=t[a].id;e&&(i[e]=!0),n=!0}}return n&&this.j&&this.j.ft(m.d.ct.Lt,i),e}Ks(){var t;const e=[];for(let s=0;s<this.cards.length;s++)e.push(this.cards[s].dt());null===(t=this.j)||void 0===t||t.ft(m.d.ct.Ps,e)}Zs(){this.Js&&(clearTimeout(this.Js),this.Js=null)}fi(t,e,s=!1){var i;const n=this.B,a=this.j;if(!n||!a)return void("function"==typeof e&&e());if(s&&(I.A.Ci(a,I.A.H.bi),this.Zs()),!this.Os())return void(null===(i=this.h)||void 0===i||i.vi((()=>{this.fi(t,e,!0)})));const r=n.$({},!0);a.lt(m.d.ct.Qs)!==l.Ay.Vs()&&this.wi(),r.last_full_sync_at=this.ys,r.last_card_updated_at=this.Ss;const o=n.A(r,I.A.H.bi,s);let c=!1;n.J(r,((s=-1)=>
1{if(this.j){const t=(new Date).valueOf();I.A.K(this.j,I.A.H.bi,t)}-1!==s&&o.push(["X-Braze-Req-Tokens-Remaining",s.toString()]),y.A.O({url:`${n.V()}/content_cards/sync`,data:r,headers:o,W:s=>{if(!n.Y(r,s,o))return c=!0,void("function"==typeof e&&e());n.Z(),this.N(s),c=!1,"function"==typeof t&&t()},error:t=>{n._(t,"retrieving content cards"),c=!0,"function"==typeof e&&e()},tt:(s,i)=>{let a;if(c){let t=this.Ms;(null==t||t<1e3*this.$s)&&(t=1e3*this.$s),a=Math.min(3e5,(0,O.C)(1e3*this.$s,3*t))}n.st(i,(()=>{this.fi(t,e,!1)}),I.A.H.bi,(t=>this.Ys(t)),(()=>this.Zs()),a)}})}),I.A.H.bi,e)}Ws(t){t||this.Ts();const e=this.Xs(this.cards);e.sort(((t,e)=>t.pinned&&!e.pinned?-1:e.pinned&&!t.pinned?1:t.updated&&e.updated&&t.updated>e.updated?-1:t.updated&&e.updated&&e.updated>t.updated?1:0));let s=Math.max(this.Ss||0,this.ys||0);return 0===s&&(s=void 0),this.j&&this.j.lt(m.d.ct.Hs)===this.Ss&&void 0===s&&(s=this.Ss),new x(e,(0,i.Zo)(s))}St(t){return this.ws.wt(t)}wi(){this.ys=0,this.Ss=0,this.j&&(this.j.Nt(m.d.ct.Gs),this.j.Nt(m.d.ct.Hs))}changeUser(t){t||(this.cards=[],this.ws.L(new x(this.cards.slice(),null)),this.j&&(this.j.Nt(m.d.ct.Ps),this.j.Nt(m.d.ct.Et),this.j.Nt(m.d.ct.Pt),this.j.Nt(m.d.ct.Lt))),this.Zs(),this.wi()}clearData(t){this.ys=0,this.Ss=0,this.cards=[],this.ws.L(new x(this.cards.slice(),null)),t&&this.j&&(this.j.Nt(m.d.ct.Ps),this.j.Nt(m.d.ct.Et),this.j.Nt(m.d.ct.Pt),this.j.Nt(m.d.ct.Lt),this.j.Nt(m.d.ct.Gs),this.j.Nt(m.d.ct.Hs)),this.Zs()}Os(){return!!this.h&&(!!this.h.gi()||(0!==this.h.Ft()&&this.ji(),!1))}ji(){this.ws.L(new x([],new Date)),this.j&&this.j.Nt(m.d.ct.Ps)}}const B={i:!1,provider:null,o:()=>(B.t(),B.provider||(B.provider=new D(l.Ay.ir(),l.Ay.p(),l.Ay.l(),l.Ay.tr(),l.Ay.m()),l.Ay.v(B.provider)),B.provider),t:()=>{B.i||(l.Ay.g(B),B.i=!0)},destroy:()=>{B.provider=null,B.i=!1}},z=B;function R(t,e){if(l.Ay.rr())return z.o().fi(t,e,!0)}function U(t){if(!l.Ay.rr())return;const e=z.o(),s=e.St(t);if(!e.jt()){const t=l.Ay.nn();if(t){const s=t.rn((()=>{e.fi(void 0,void 0,!0)}));s&&e.yt(s)}}return s}var L=s(99911);function P(){if(l.Ay.rr())return l.Ay.gr()}function M(t,e){return l.Ay.initialize(t,e)}function $(){return l.Ay.ao()}var G=s(29620),F=s(63368),q=s(80538);function H(){if(!l.Ay.rr())return;const t=l.Ay.nn();if(!t)return;t.openSession();const e=j.A.Us.Rs,s=new j.A(e,r.A);s.jr(e.Fs.hr,((i,n)=>{const a=n.lastClick,o=n.trackingString;r.A.info(`Firing push click trigger from ${o} push click at ${a}`);const l=t.kr(a,o),c=function(){q.B.o().ve(F.A.vr,[o],l)};t.$r(c,c),s.be(e.Fs.hr,i)})),s.Ds(e.Fs.wr,(function(e){t.yr(e)}))}var V=s(83240),J=s(72631),K=s(61201),X=s(4556);function W(t){if(!l.Ay.rr())return!1;if(!(t instanceof K.A||t instanceof J.A))return r.A.error(n.fX),!1;const e=t instanceof J.A?p.w.zo:p.w.Gi;return X.A.ea().rt(t,e).W}var Y=s(79617),Z=s(10917),Q=s(85862),tt=s(64095);function et(t){let e="";return t.animateIn&&(e+=" ab-animate-in"),t.animateOut&&(e+=" ab-animate-out"),t instanceof Q.A?e+=" ab-effect-fullscreen":t instanceof Y.A?e+=" ab-effect-html":t instanceof tt.A?e+=" ab-effect-modal":t instanceof Z.A&&(e+=" ab-effect-slide"),e}var st=s(98412),it=s(12704);function nt(t,e,s,i="ltr"){const n=document.createElement("button");n.setAttribute("aria-label",t),n.setAttribute("role","button"),n.dir=i,(0,st.P4)(n,"touchstart"),n.className="ab-close-button";const a=(0,st.RJ)("0 0 15 15","M15 1.5L13.5 0l-6 6-6-6L0 1.5l6 6-6 6L1.5 15l6-6 6 6 1.5-1.5-6-6 6-6z",e);return n.appendChild(a),a.setAttribute("aria-hidden","true"),n.addEventListener("keydown",(t=>{t.keyCode!==it.c.lo&&t.keyCode!==it.c.Ze||(s(),t.stopPropagation())})),n.onclick=t=>{s(),t.stopPropagation()},n}function at(t){return null!=t&&(t=parseInt(t.toString()),!isNaN(t)&&(4278190080&t)>>>24==0)}function rt(t,e){return null==t?"":(t=parseInt(t.toString()),isNaN(t)?"":(e&&!isNaN(parseFloat(e.toString()))||(e=1),"rgba("+[(16711680&(t>>>=0))>>>16,(65280&t)>>>8,255&t,((4278190080&t)>>>24)/255*e].join(",")+")"))}function ot(t){if(!l.Ay.rr())return!1;if(!(t instanceof K.A))return r.A.error(n.fX),!1;const e=X.A.ea().rt(t,p.w.$i);if(e){t.Ur()||W(t);for(let s=0;s<e.ue.length;s++)q.B.o().ve(F.A.Qr,[t.triggerId],e.ue[s])}return e.W}
1var lt=s(98664),ct=s(10007),ut=s(53072),ht=s(8457),dt=s(15734);function pt(t,e,i){if(l.Ay.rr())if(ht.nx.test(t)){const e=(0,lt.jj)(t);if(!e)return;const i=t=>{if(!(0,ht.xs)(t))return void r.A.error(`Decoded Braze Action json is invalid: ${JSON.stringify(t,null,2)}`);const e=lt.V.properties.type,a=lt.V.properties.eo,o=lt.V.properties.so,c=t[e];if(c===lt.V.types.io){const e=t[a];for(const t of e)i(t)}else{const e=t[o];let i,a;switch(c){case lt.V.types.logCustomEvent:Promise.resolve().then(s.bind(s,29620)).then((({logCustomEvent:t})=>{l.Ay.ao()?(a=Array.prototype.slice.call(e),t(...a)):r.A.error(n.xE)}));break;case lt.V.types.requestPushPermission:s.e(1380).then(s.bind(s,21380)).then((({requestPushPermission:t})=>{l.Ay.ao()?"Safari"===ct.A.browser&&ct.A.OS===ut.u.co?window.navigator.standalone&&t():t():r.A.error(n.xE)}));break;case lt.V.types.setEmailNotificationSubscriptionType:case lt.V.types.setPushNotificationSubscriptionType:case lt.V.types.setCustomUserAttribute:case lt.V.types.addToSubscriptionGroup:case lt.V.types.removeFromSubscriptionGroup:case lt.V.types.addToCustomAttributeArray:case lt.V.types.removeFromCustomAttributeArray:i=P(),i&&i[c](...Array.prototype.slice.call(e));break;case lt.V.types.mo:case lt.V.types.uo:a=Array.prototype.slice.call(e),dt.uD.openUri(...a);break;default:r.A.info(`Ignoring unknown Braze Action: ${c}`)}}};i(e)}else dt.uD.openUri(t,e,i)}function mt(t,e,s){if(!l.Ay.rr())return!1;if(!(t instanceof Y.A))return r.A.error("inAppMessage argument to logInAppMessageHtmlClick must be an HtmlMessage object."),!1;let i=p.w.$i;null!=e&&(i=p.w.Fi);
1const n=X.A.ea().rt(t,i,e,s);if(n.W)for(let a=0;a<n.ue.length;a++)q.B.o().ve(F.A.Qr,[t.triggerId,e],n.ue[a]);return n.W}const bt=(t,e,s,i)=>{const n=s.getAttribute("href"),a=s.onclick;return r=>{if(null!=a&&"function"==typeof a&&!1===a.bind(s)(r))return;let o=(0,E.y)(n).abButtonId;if(null!=o&&""!==o||(o=s.getAttribute("id")||void 0),null!=n&&""!==n&&0!==n.indexOf("#")){const a="blank"===(s.getAttribute("target")||"").toLowerCase().replace("_",""),l=i||t.openTarget===K.A.OpenTarget.BLANK||a,c=()=>{mt(t,o,n),dt.uD.openUri(n,l,r)};l?c():t.ll(e,c)}else mt(t,o,n||void 0);return r.stopPropagation(),!1}};var gt=s(312);const ft=(t,e)=>{const i={display:{},web:{}},a=function(){return function(){const t=arguments;s.e(1380).then(s.bind(s,21380)).then((e=>{l.Ay.ao()?e.requestPushPermission(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))}},o={requestImmediateDataFlush:function(){const t=arguments;Promise.resolve().then(s.bind(s,83240)).then((({requestImmediateDataFlush:e})=>{l.Ay.ao()?e(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))},logCustomEvent:function(){const t=arguments;Promise.resolve().then(s.bind(s,29620)).then((({logCustomEvent:e})=>{l.Ay.ao()?e(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))},logPurchase:function(){const t=arguments;s.e(1329).then(s.bind(s,1329)).then((({logPurchase:e})=>{l.Ay.ao()?e(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))},unregisterPush:function(){const t=arguments;s.e(2045).then(s.bind(s,52045)).then((({unregisterPush:e})=>{l.Ay.ao()?e(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))},requestPushPermission:a(),changeUser:function(){const t=arguments;Promise.resolve().then(s.bind(s,99911)).then((({changeUser:e})=>{l.Ay.ao()?e(...Array.prototype.slice.call(t)):r.A.error(n.xE)}))}},u=function(t){return function(){o[t](...Array.prototype.slice.call(arguments))}};for(const s of(0,c.HP)(o))i[s]=u(s);const h=["setFirstName","setLastName","setEmail","setGender","setDateOfBirth","setCountry","setHomeCity","setEmailNotificationSubscriptionType","setLanguage","addAlias","setPushNotificationSubscriptionType","setPhoneNumber","setCustomUserAttribute","addToCustomAttributeArray","removeFromCustomAttributeArray","incrementCustomUserAttribute","setCustomLocationAttribute","addToSubscriptionGroup","removeFromSubscriptionGroup","setLineId"],d=function(t){return function(){const e=P();e&&e[t](...Array.prototype.slice.call(arguments))}},p={};for(let s=0;s<h.length;s++)p[h[s]]=d(h[s]);i.getUser=function(){return p};const m={},b=function(s){return function(){const i=arguments;"function"!=typeof e?m[s](...Array.prototype.slice.call(i)):e(t,(function(){m[s](...Array.prototype.slice.call(i))}))}},g=i.display;for(const s of(0,c.HP)(m))g[s]=b(s);const f={registerAppboyPushMessages:a()},v=function(t){return function(){f[t](...Array.prototype.slice.call(arguments))}},A=i.web;for(const s of(0,c.HP)(f))A[s]=v(s);return i.NotificationSubscriptionTypes=gt.A.NotificationSubscriptionTypes,i},vt=(t,e,s)=>{const i=`([\\w]+)\\s*=\\s*document.createElement\\(['"]${s}['"]\\)`,n=t.match(new RegExp(i));if(n){const s=`${n[1]}.setAttribute("nonce", "${e}")`;return`${t.slice(0,n.index+n[0].length)};${s};${t.slice(n.index+n[0].length)}`}return null},At=(t,e,s)=>{let i=null;if(null!=s){i=document.createElement("html"),i.innerHTML=e||"";const t=i.getElementsByTagName("style");for(let e=0;e<t.length;e++)t[e].setAttribute("nonce",s);const n=i.getElementsByTagName("script");for(let e=0;e<n.length;e++){n[e].setAttribute("nonce",s),n[e].innerHTML=n[e].innerHTML.replace(/<style>/g,`<style nonce='${s}'>`);const t=vt(n[e].innerHTML,s,"script");t&&(n[e].innerHTML=t);const i=vt(n[e].innerHTML,s,"style");i&&(n[e].innerHTML=i)}}t.srcdoc=i?i.innerHTML:e||""};function yt(t,e,s,i,n){const a=document.createElement("iframe");if(a.setAttribute("title","Modal Message"),i&&(a.style.zIndex=(i+1).toString()),At(a,t.message,n),a.onload=()=>{const i=a.contentWindow;i.focus();const r=i.document.getElementsByTagName("head")[0];if(null!=r){if(t.Oe()){const e=document.createElement("style");e.innerHTML=t.css||"",e.id=t.Ge()||"",null!=n&&e.setAttribute("nonce",n),r.appendChild(e)}const e=i.document.createElement("base");null!=e&&(e.setAttribute("target","_parent"),r.appendChild(e))}const o=i.document.getElementsByTagName("title");o&&o.length>0&&a.setAttribute("title",o[0].textContent||"");const l=Object.assign(Object.assign({},ft(a,((e,s)=>t.ll(e,s)))),{closeMessage:function(){t.ll(a)},logClick:function(){mt(t,...arguments)}});if(i.appboyBridge=l,i.brazeBridge=l,t.He!==K.A.Ke.Je){const e=i.document.getElementsByTagName("a");for(let i=0;i<e.length;i++)e[i].onclick=bt(t,a,e[i],s);const n=i.document.getElementsByTagName("button");for(let i=0;i<n.length;i++)n[i].onclick=bt(t,a,n[i],s)}const c=i.document.body;if(null!=c){t.Le()&&(c.id=t.htmlId||"");const e=document.createElement("hidden");e.onclick=l.closeMessage,e.className="ab-programmatic-close-button",c.appendChild(e)}i.dispatchEvent(new CustomEvent("ab.BridgeReady")),-1!==a.className.indexOf("ab-start-hidden")&&(a.className=a.className.replace("ab-start-hidden",""),e(a))},a.className="ab-in-app-message ab-start-hidden ab-html-message ab-modal-interactions",ct.A.OS===ut.u.co){const e=document.createElement("div");return e.className="ab-ios-scroll-wrapper",e.appendChild(a),t.Pe=e,e}return t.Pe=a,a}var wt=s(79086);function xt(t,e){var s;if(!l.Ay.rr())return!1;if(!(t instanceof wt.A))return r.A.error("button must be an InAppMessageButton object"),!1;if(!(e instanceof K.A))return r.A.error(n.fX),!1;const i=X.A.ea().Xi(t,e);if(i.W)for(let n=0;n<i.ue.length;n++)q.B.o().ve(F.A.Qr,[e.triggerId,null===(s=t.id)||void 0===s?void 0:s.toString()],i.ue[n]);return i.W}const Et={wo:t=>{const e=t.querySelectorAll(".ab-close-button, .ab-message-button");let s;for(let i=0;i<e.length;i++)s=e[i],s.tabIndex=0;if(e.length>0){const s=e[0],i=e[e.length-1];t.addEventListener("keydown",(e=>{const n=document.activeElement;e.keyCode===it.c.yo&&(e.shiftKey||n!==i&&n!==t?!e.shiftKey||n!==s&&n!==t||(e.preventDefault(),i.focus()):(e.preventDefault(),s.focus()))}))}},vo:(t,e)=>{e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),t?e.setAttribute("aria-labelledby",t):e.setAttribute("aria-label","Modal Message")},jo:(t,e,s)=>{if(t.buttons&&t.buttons.length>0){const i=document.createElement("div");i.className="ab-message-buttons",e.appendChild(i);const n=e.getElementsByClassName("ab-message-text")[0];null!=n&&(n.className+=" ab-with-buttons");const a=i=>n=>(t.ll(e,(()=>{xt(i,t),i.clickAction===K.A.ClickAction.URI&&pt(i.uri||"",s||t.openTarget===K.A.OpenTarget.BLANK,n)})),n.stopPropagation(),!1);for(let e=0;e<t.buttons.length;e++){const s=t.buttons[e],n=document.createElement("button");n.className="ab-message-button",n.setAttribute("type","button"),(0,st.P4)(n,"touchstart");let r=s.text;""===s.text&&(r="Â "),n.appendChild(document.createTextNode(r)),t.Oe()||(n.style.backgroundColor=rt(s.backgroundColor),n.style.color=rt(s.textColor),n.style.borderColor=rt(s.borderColor)),n.onclick=a(s),i.appendChild(n)}}}},St=Et;var kt=s(25675);function Ct(t,e,s,i,n,a,o=document.body,l="ltr"){if(t.Qe=document.activeElement,t instanceof Y.A)return yt(t,e,i,n,a);const c=function(t,e,s,i,n,a=document.body,o="ltr"){let l=null;const c=document.createElement("div");c.dir=o,c.className="ab-in-app-message ab-start-hidden ab-background",n&&
1(c.style.zIndex=(n+1).toString()),t.Ve()&&(c.className+=" ab-modal-interactions",c.setAttribute("tabindex","-1")),t.Oe()||(c.style.color=rt(t.textColor),c.style.backgroundColor=rt(t.backgroundColor),at(t.backgroundColor)&&(c.className+=" ab-no-shadow"));const u=()=>{-1!==c.className.indexOf("ab-start-hidden")&&(c.className=c.className.replace("ab-start-hidden",""),document.querySelectorAll(".ab-iam-img-loading").length>0?s(`Cannot show in-app message ${t.message} because another message is being shown.`,K.A.Ye.We):e(c))},h=(e=!0)=>{let s=document.querySelectorAll(".ab-iam-root");s&&0!==s.length||(s=a.querySelectorAll(".ab-iam-root")),s&&s.length>0&&(s[0].classList.remove("ab-iam-img-loading"),l&&(clearTimeout(l),l=null),e?u():r.A.error(`Cannot show in-app message ${t.message} because the image failed to load.`))};if(t.imageStyle===K.A.ImageStyle.GRAPHIC&&(c.className+=" graphic"),t.orientation===K.A.Orientation.LANDSCAPE&&(c.className+=" landscape"),null!=t.buttons&&0===t.buttons.length){t.clickAction!==K.A.ClickAction.NONE&&(c.className+=" ab-clickable");const e=e=>(t.ll(c,(()=>{ot(t),t.clickAction===K.A.ClickAction.URI&&pt(t.uri||"",i||t.openTarget===K.A.OpenTarget.BLANK,e)})),e.stopPropagation(),!1);c.onclick=e,c.addEventListener("keydown",(t=>{if(t.keyCode===it.c.Ze||t.keyCode===it.c.lo)return e(t)}))}const d=nt("Close Message",t.Oe()?void 0:rt(t.closeButtonColor),(()=>{t.ll(c)}),o);c.appendChild(d),n&&(d.style.zIndex=(n+2).toString());const p=document.createElement("div");p.className="ab-message-text",p.dir=o,p.setAttribute("role","article");const m=(t.messageAlignment||t.do).toLowerCase();p.className+=" "+m+"-aligned";let b=!1;const g=document.createElement("div");if(g.className="ab-image-area",t.imageUrl){const e=document.createElement("img");if(e.setAttribute("src",t.imageUrl),t.bo(e),0===document.querySelectorAll(".ab-iam-img-loading").length){b=!0;const t=document.querySelectorAll(".ab-iam-root");t&&t.length>0&&t[0].classList.add("ab-iam-img-loading"),l=window.setTimeout((()=>{h(!1)}),6e4),e.onload=()=>{h()},e.onerror=()=>{h(!1)}}if(t.cropType===K.A.CropType.CENTER_CROP){const t=document.createElement("div");t.className="ab-center-cropped-img",t.appendChild(e),g.appendChild(t)}else g.appendChild(e);c.appendChild(g),p.className+=" ab-with-image"}else if(t.icon){g.className+=" ab-icon-area";const e=document.createElement("span");e.className="ab-icon",t.Oe()||(e.style.backgroundColor=rt(t.iconBackgroundColor),e.style.color=rt(t.iconColor));const s=document.createElement("i");s.className="fa",s.appendChild(document.createTextNode(t.icon)),s.setAttribute("aria-hidden","true"),e.appendChild(s),g.appendChild(e),c.appendChild(g),p.className+=" ab-with-icon"}if((0,st.P4)(p,"touchstart"),t.header&&t.header.length>0){const e=document.createElement("h1");e.className="ab-message-header",t.po=kt.A.oe(),e.id=t.po;const s=(t.headerAlignment||K.A.TextAlignment.CENTER).toLowerCase();e.className+=" "+s+"-aligned",t.Oe()||(e.style.color=rt(t.headerTextColor)),e.appendChild(document.createTextNode(t.header)),p.appendChild(e)}const f=t.ho();return p.appendChild(f),c.appendChild(p),b||u(),t.Pe=c,c}(t,e,s,i,n,o,l);if(t instanceof Q.A||t instanceof tt.A){const e=t instanceof Q.A?"ab-fullscreen":"ab-modal";c.className+=` ${e} ab-centered`,St.jo(t,c,i),St.wo(c),St.vo(t.po,c)}else if(t instanceof Z.A){c.className+=" ab-slideup",c.setAttribute("tabindex","0"),c.setAttribute("role","alert");const e=c.getElementsByClassName("ab-close-button")[0];if(null!=e){const s=(0,st.RJ)("0 0 11.38 19.44","M11.38 9.72l-9.33 9.72L0 17.3l7.27-7.58L0 2.14 2.05 0l9.33 9.72z",t.Oe()?void 0:rt(t.closeButtonColor));s.setAttribute("class",`ab-chevron ${l}`),e.appendChild(s)}let s,i;(0,st.sr)(c,st.X.Zt,(t=>{c.className+=" ab-swiped-left",null!=e&&null!=e.onclick&&e.onclick(t)})),(0,st.sr)(c,st.X.ae,(t=>{c.className+=" ab-swiped-right",null!=e&&null!=e.onclick&&e.onclick(t)})),t.slideFrom===K.A.SlideFrom.TOP?(s=st.X.ko,i=" ab-swiped-up"):(s=st.X.xo,i=" ab-swiped-down"),(0,st.sr)(c,s,(t=>{c.className+=i,null!=e&&null!=e.onclick&&e.onclick(t)}))}return c}function _t(t,e,s){const i=t||document.querySelector("head"),n=`ab-${e}-css-definitions-${"6.3.1".replace(/\./g,"-")}`;if(!i)return;const a=i.ownerDocument||document;if(null==a.getElementById(n)){const t=a.createElement("style");t.innerHTML=s||"",t.id=n;const e=l.Ay.ee(l.lw.er);null!=e&&t.setAttribute("nonce",e),i.appendChild(t)}}
1function Tt(){if(l.Ay.ee(l.lw.$h))return;const t="https://use.fontawesome.com/7f85a56ba4.css";if(null===document.querySelector('link[rel=stylesheet][href="'+t+'"]')){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e)}}function Nt(t){_t(t,"iam",".ab-pause-scrolling,body.ab-pause-scrolling,html.ab-pause-scrolling{overflow:hidden;touch-action:none}.ab-iam-root.v3{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:9011;-webkit-tap-highlight-color:transparent}.ab-iam-root.v3:focus{outline:0}.ab-iam-root.v3.ab-effect-fullscreen,.ab-iam-root.v3.ab-effect-html,.ab-iam-root.v3.ab-effect-modal{opacity:0}.ab-iam-root.v3.ab-effect-fullscreen.ab-show,.ab-iam-root.v3.ab-effect-html.ab-show,.ab-iam-root.v3.ab-effect-modal.ab-show{opacity:1}.ab-iam-root.v3.ab-effect-fullscreen.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-html.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-modal.ab-show.ab-animate-in{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide,.ab-iam-root.v3.ab-effect-html.ab-hide,.ab-iam-root.v3.ab-effect-modal.ab-hide{opacity:0}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-html.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-modal.ab-hide.ab-animate-out{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-slide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-show .ab-in-app-message{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.ab-iam-root.v3.ab-effect-slide.ab-show.ab-animate-in .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-left{-webkit-transform:translateX(-535px);-moz-transform:translateX(-535px);-ms-transform:translateX(-535px);transform:translateX(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-up{-webkit-transform:translateY(-535px);-moz-transform:translateY(-535px);-ms-transform:translateY(-535px);transform:translateY(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-down{-webkit-transform:translateY(535px);-moz-transform:translateY(535px);-ms-transform:translateY(535px);transform:translateY(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide.ab-animate-out .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3 .ab-ios-scroll-wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;pointer-events:all;touch-action:auto;-webkit-overflow-scrolling:touch}.ab-iam-root.v3 .ab-in-app-message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;text-align:center;-webkit-box-shadow:0 0 4px rgba(0,0,0,.3);-moz-box-shadow:0 0 4px rgba(0,0,0,.3);box-shadow:0 0 4px rgba(0,0,0,.3);line-height:normal;letter-spacing:normal;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif;z-index:9011;max-width:100%;overflow:hidden;display:inline-block;pointer-events:all;color:#333;color-scheme:normal}.ab-iam-root.v3 .ab-in-app-message.ab-no-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.ab-iam-root.v3 .ab-in-app-message :focus,.ab-iam-root.v3 .ab-in-app-message:focus{outline:0}.ab-iam-root.v3 .ab-in-app-message.ab-clickable{cursor:pointer}.ab-iam-root.v3 .ab-in-app-message.ab-background{background-color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message .ab-close-button[dir=rtl]{left:0}.ab-iam-root.v3 .ab-in-app-message .ab-close-button[dir=ltr]{right:0}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-text{float:none;line-height:1.5;margin:20px 25px;max-width:100%;overflow:hidden;overflow-y:auto;vertical-align:text-bottom;word-wrap:break-word;white-space:pre-wrap;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar{-webkit-appearance:none;width:14px}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-thumb{-webkit-appearance:none;border:4px solid transparent;background-clip:padding-box;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;background-color:rgba(0,0,0,.2)}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-button{width:0;height:0;display:none}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-corner{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-header{float:none;letter-spacing:0;margin:0;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;display:block;font-size:20px;margin-bottom:10px;line-height:1.3}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal,.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;cursor:pointer;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:14px;font-weight:700;margin:20px;margin-top:calc(constant(safe-area-inset-top,0) + 20px);margin-right:calc(constant(safe-area-inset-right,0) + 20px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 20px);margin-left:calc(constant(safe-area-inset-left,0) + 20px);margin-top:calc(env(safe-area-inset-top,0) + 20px);margin-right:calc(env(safe-area-inset-right,0) + 20px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 20px);margin-left:calc(env(safe-area-inset-left,0) + 20px);max-height:150px;padding:10px;right:0;background-color:#efefef}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button svg.ab-chevron.rtl{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-message-text{opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-close-button svg.ab-chevron{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 25px 5px 10px;max-width:430px;vertical-align:middle;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text[dir=rtl]{border-width:5px 10px 5px 25px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{dis
1play:block;max-height:150px;overflow:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:365px;border-top:0;border-bottom:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button[dir=rtl]{left:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button[dir=ltr]{right:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{float:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;vertical-align:top;width:60px;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area.ab-icon-area{width:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{float:none;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal{font-size:14px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{float:none;position:relative;display:block;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area .ab-center-cropped-img,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area .ab-center-cropped-img{position:absolute;top:0;right:0;bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area .ab-center-cropped-img img,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area .ab-center-cropped-img img{width:100%;height:100%;object-fit:cover;object-position:center}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-icon,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-icon{margin-top:20px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{padding:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-text{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-buttons{bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{float:none;height:auto;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area img,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{display:block;top:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none}.ab-iam-root.v3 .ab-in-app-message.ab-modal{padding-top:20px;width:450px;max-width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone{max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone.graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text{max-height:660px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-image{max-height:524.827
158621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-icon{max-height:610px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons{margin-bottom:93px;max-height:587px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-image{max-height:451.82758621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-icon{max-height:537px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{margin-top:-20px;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area img{max-width:100%;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area.ab-icon-area{height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{width:auto;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{width:auto;max-height:720px;max-width:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen{width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape{width:720px;max-height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:225px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-message-text{max-height:112px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text{max-height:247px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text.ab-with-buttons{margin-bottom:93px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area{height:360px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area{height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-html-message{background-color:transparent;border:none;height:100%;overflow:auto;position:relative;touch-action:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-message-buttons{position:absolute;bottom:0;width:100%;padding:17px 25px 30px 25px;z-index:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-iam-root.v3 .ab-in-app-message .ab-message-button{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',s
1ans-serif;height:44px;line-height:normal;letter-spacing:normal;margin:0;max-width:100%;min-width:80px;padding:0 12px;position:relative;text-transform:none;width:48%;width:calc(50% - 5px);border:1px solid #1b78cf;-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;word-wrap:normal;white-space:nowrap}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type{float:left;background-color:#fff;color:#1b78cf}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:last-of-type{float:right;background-color:#1b78cf;color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type:last-of-type{float:none;width:auto}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:hover{opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:active:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.08)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:focus:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.15)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button a{color:inherit;text-decoration:inherit}.ab-iam-root.v3 .ab-in-app-message img{float:none;display:inline-block}.ab-iam-root.v3 .ab-in-app-message .ab-icon{float:none;display:inline-block;padding:10px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message .ab-icon .fa{float:none;font-size:30px;width:30px}.ab-iam-root.v3 .ab-start-hidden{visibility:hidden}.ab-iam-root.v3 .ab-centered{margin:auto;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ab-iam-root.v3{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-iam-root.v3 .ab-page-blocker{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9001;pointer-events:all;background-color:rgba(51,51,51,.75)}@media (max-width:600px){.ab-iam-root.v3 .ab-in-app-message.ab-slideup{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button svg.ab-chevron.rtl{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-close-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic),.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic) .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-message-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:480px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}}@media (max-height:750px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-height:91%;max-height:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-height:91vh;max-height:calc(100vh - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text{max-height:65vh;max-height:calc(100vh - 30px - 60px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-image{max-height:45vh;max-height:calc(100vh - 30px - 155.17241379310346px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-icon{max-height:45vh;max-height:calc(100vh - 30px - 70px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons{max-height:50vh;max-height:calc(100vh - 30px - 93px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-image{max-height:30vh;max-height:calc(100vh - 30px - 155.17241379310346px - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-icon{max-height:30vh;max-height:calc(100vh - 30px - 70px - 93px - 20px)}}@media (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area img{max-height:100%;max-width:100%}}@media (max-height:750px) and (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important;width:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-height:480px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:750px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100
1%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}")}function It(){Nt(),Tt()}var Ot=s(95084);const jt={en:{NO_CARDS_MESSAGE:"We have no updates for you at this time.<br/>Please check again later.",FEED_TIMEOUT_MESSAGE:"Sorry, this refresh timed out.<br/>Please try again later."},ar:{NO_CARDS_MESSAGE:"ÙÙØ³ ÙØ¯ÙÙØ§ Ø£Ù ØªØØ¯ÙØ«. ÙØ±Ø¬Ù Ø§ÙØªØÙÙ Ù
رة Ø£Ø®Ø±Ù ÙØ§ØÙاÙ",FEED_TIMEOUT_MESSAGE:"ÙØ±Ø¬Ù ØªÙØ±Ø§Ø± اÙÙ
ØØ§ÙÙØ© ÙØ§ØÙا"},cs:{NO_CARDS_MESSAGE:"V tuto chvÃli pro vás nemáme žádné aktualizace.<br/>Zkontrolujte prosÃm znovu pozdÄji.",FEED_TIMEOUT_MESSAGE:"ProsÃm zkuste to znovu pozdÄji."},da:{NO_CARDS_MESSAGE:"Vi har ingen updates.<br/>Prøv venligst senere.",FEED_TIMEOUT_MESSAGE:"Prøv venligst senere."},de:{NO_CARDS_MESSAGE:"Derzeit sind keine Updates verfügbar.<br/>Bitte später noch einmal versuchen.",FEED_TIMEOUT_MESSAGE:"Bitte später noch einmal versuchen."},es:{NO_CARDS_MESSAGE:"No tenemos actualizaciones.<br/>Por favor compruébelo más tarde.",FEED_TIMEOUT_MESSAGE:"Por favor inténtelo más tarde."},"es-mx":{NO_CARDS_MESSAGE:"No tenemos ninguna actualización.<br/>Vuelva a verificar más tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, vuelva a intentarlo más tarde."},et:{NO_CARDS_MESSAGE:"Uuendusi pole praegu saadaval.<br/>Proovige hiljem uuesti.",FEED_TIMEOUT_MESSAGE:"Palun proovige hiljem uuesti."},fi:{NO_CARDS_MESSAGE:"Päivityksiä ei ole saatavilla.<br/>Tarkista myöhemmin uudelleen.",FEED_TIMEOUT_MESSAGE:"Yritä myöhemmin uudelleen."},fr:{NO_CARDS_MESSAGE:"Aucune mise à jour disponible.<br/>Veuillez vérifier ultérieurement.",FEED_TIMEOUT_MESSAGE:"Veuillez réessayer ultérieurement."},he:{NO_CARDS_MESSAGE:".××× ×× × ×¢×××× ××. ×××§×©× ××××§ ש×× ×קר××",FEED_TIMEOUT_MESSAGE:".×××§×©× × ×¡× ×©×× ×קר××"},hi:{NO_CARDS_MESSAGE:"हमारॠपास à¤à¥à¤ à¤
पडà¥à¤ नहà¥à¤ हà¥à¤à¥¤ à¤à¥à¤ªà¤¯à¤¾ बाद मà¥à¤ फिर सॠà¤à¤¾à¤à¤ à¤à¤°à¥à¤.।",FEED_TIMEOUT_MESSAGE:"à¤à¥à¤ªà¤¯à¤¾ बाद मà¥à¤ दà¥à¤¬à¤¾à¤°à¤¾ पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤à¥¤."},id:{NO_CARDS_MESSAGE:"Kami tidak memiliki pembaruan. Coba lagi nanti.",FEED_TIMEOUT_MESSAGE:"Coba lagi nanti."},it:{NO_CARDS_MESSAGE:"Non ci sono aggiornamenti.<br/>Ricontrollare più tardi.",FEED_TIMEOUT_MESSAGE:"Riprovare più tardi."},ja:{NO_CARDS_MESSAGE:"ã¢ãããã¼ãã¯ããã¾ããã<br/>å¾ã§ããä¸åº¦ç¢ºèªãã¦ãã ããã",FEED_TIMEOUT_MESSAGE:"å¾ã§ããä¸åº¦è©¦ãã¦ãã ããã"},ko:{NO_CARDS_MESSAGE:"ì
ë°ì´í¸ê° ììµëë¤. ë¤ìì ë¤ì íì¸í´ 주ììì¤.",FEED_TIMEOUT_MESSAGE:"ëì¤ì ë¤ì ìëí´ ì£¼ììì¤."},ms:{NO_CARDS_MESSAGE:"Tiada kemas kini. Sila periksa kemudian.",FEED_TIMEOUT_MESSAGE:"Sila cuba kemudian."},nl:{NO_CARDS_MESSAGE:"Er zijn geen updates.<br/>Probeer het later opnieuw.",FEED_TIMEOUT_MESSAGE:"Probeer het later opnieuw."},no:{NO_CARDS_MESSAGE:"Vi har ingen oppdateringer.<br/>Vennligst sjekk igjen senere.",FEED_TIMEOUT_MESSAGE:"Vennligst prøv igjen senere."},pl:{NO_CARDS_MESSAGE:"Brak aktualizacji.<br/>ProszÄ sprawdziÄ ponownie później.",FEED_TIMEOUT_MESSAGE:"ProszÄ spróbowaÄ ponownie później."},pt:{NO_CARDS_MESSAGE:"Não temos atualizações.<br/>Por favor, verifique mais tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, tente mais tarde."},"pt-br":{NO_CARDS_MESSAGE:"Não temos nenhuma atualização.<br/>Verifique novamente mais tarde.",FEED_TIMEOUT_MESSAGE:"Tente novamente mais tarde."},ru:{NO_CARDS_MESSAGE:"ÐÐ±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð½ÐµÐ´Ð¾ÑÑÑпнÑ.<br/>ÐожалÑйÑÑа, пÑовеÑÑÑе Ñнова позже.",FEED_TIMEOUT_MESSAGE:"ÐожалÑйÑÑа, повÑоÑиÑе попÑÑÐºÑ Ð¿Ð¾Ð·Ð¶Ðµ."},sv:{NO_CARDS_MESSAGE:"Det finns inga uppdateringar.<br/>Försök igen senare.",FEED_TIMEOUT_MESSAGE:"Försök igen senare."},th:{NO_CARDS_MESSAGE:"à¹à¸£à¸²à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸à¸±à¸à¹à¸à¸ à¸à¸£à¸¸à¸à¸²à¸à¸£à¸§à¸à¸ªà¸à¸à¸ ายหลัà¸.",FEED_TIMEOUT_MESSAGE:"à¸à¸£à¸¸à¸à¸²à¸¥à¸à¸à¹à¸«à¸¡à¹à¸ ายหลัà¸."},uk:{NO_CARDS_MESSAGE:"ÐÐ½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð½ÐµÐ´Ð¾ÑÑÑпнÑ.<br/>лаÑка, пеÑевÑÑÑе Ð·Ð½Ð¾Ð²Ñ Ð¿ÑзнÑÑе.",FEED_TIMEOUT_MESSAGE:"ÐÑÐ´Ñ Ð»Ð°Ñка, ÑпÑобÑйÑе Ñе Ñаз пÑзнÑÑе."},vi:{NO_CARDS_MESSAGE:"Chúng tôi không có cáºp nháºt nà o.<br/>Vui lòng kiá»m tra lại sau.",FEED_TIMEOUT_MESSAGE:"Vui lòng thá» lại sau."},"zh-hk":{NO_CARDS_MESSAGE:"æ«ææ²ææ´æ°.<br/>è«ç¨åå試.",FEED_TIMEOUT_MESSAGE:"è«ç¨åå試."},"zh-hans":{NO_CARDS_MESSAGE:"ææ¶æ²¡ææ´æ°.<br/>请ç¨ååè¯.",FEED_TIMEOUT_MESSAGE:"请ç¨ååè¯."},"zh-hant":{NO_CARDS_MESSAGE:"æ«ææ²ææ´æ°.<br/>è«ç¨åå試.",FEED_TIMEOUT_MESSAGE:"è«ç¨åå試."},"zh-tw":{NO_CARDS_MESSAGE:"æ«ææ²ææ´æ°.<br/>è«ç¨åå試.",FEED_TIMEOUT_MESSAGE:"è«ç¨åå試."},zh:{NO_CARDS_MESSAGE:"ææ¶æ²¡ææ´æ°.<br/>请ç¨ååè¯.",FEED_TIMEOUT_MESSAGE:"请ç¨ååè¯."}};class Dt{constructor(t,e=!1){if(this.language=t,null!=t&&(t=t.toLowerCase()),null!=t&&null==jt[t]){const e=t.indexOf("-");e>
10&&(t=t.substring(0,e))}if(null==jt[t]){const s="Braze does not yet have a localization for language "+t+", defaulting to English. Please contact us if you are willing and able to help us translate our SDK into this language.";e?r.A.error(s):r.A.info(s),t="en"}this.language=t}get(t){return jt[this.language][t]}So(){switch(this.language){case"ar":case"he":case"fa":return"rtl";default:return"ltr"}}}const Bt={i:!1,aa:null,ea:()=>{if(Bt.t(),!Bt.aa){let t=ct.A.language,e=!1;l.Ay.ee(l.lw.Xn)&&(t=l.Ay.ee(l.lw.Xn),e=!0),Bt.aa=new Dt(t,e)}return Bt.aa},t:()=>{Bt.i||(l.Ay.g(Bt),Bt.i=!0)},destroy:()=>{Bt.aa=null,Bt.i=!1}},zt=Bt;function Rt(t,e,s){if(!l.Ay.rr())return;if(It(),null==t)return!1;if(t instanceof J.A)return r.A.info("User received control for a multivariate test, logging to Braze servers."),W(t),!0;if(!(t instanceof K.A))return!1;if(t.constructor===K.A)return!1;t._h();const i=t instanceof Y.A;if(i&&!t.trusted&&!l.Ay.tr())return r.A.error('HTML in-app messages are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these messages.'),!1;if(null==e&&(e=document.body),t.Ve()&&e.querySelectorAll(".ab-modal-interactions").length>0)return r.A.info(`Cannot show in-app message ${t.message} because another message is being shown.`),!1;if(dt.uD.Uo()){const e=dt.uD.$o();if(e===dt.j3.PORTRAIT&&t.orientation===K.A.Orientation.LANDSCAPE||e===dt.j3.LANDSCAPE&&t.orientation===K.A.Orientation.PORTRAIT){const s=e===dt.j3.PORTRAIT?"portrait":"landscape",i=t.orientation===K.A.Orientation.PORTRAIT?"portrait":"landscape";return r.A.info(`Not showing ${i} in-app message ${t.message} because the screen is currently ${s}`),!1}}if(!l.Ay.tr()){let e=!1;if(t.buttons&&t.buttons.length>0){const s=t.buttons;for(let t=0;t<s.length;t++)if(s[t].clickAction===K.A.ClickAction.URI){const i=s[t].uri;e=(0,E.P)(i)}}else t.clickAction===K.A.ClickAction.URI&&(e=(0,E.P)(t.uri));if(e)return r.A.error('Javascript click actions are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these actions.'),!1}const n=document.createElement("div");if(n.className="ab-iam-root v3",n.className+=et(t),t.language&&!i&&(n.lang=t.language),t.Le()&&(n.id=t.htmlId),l.Ay.ee(l.lw.Jo)&&(n.style.zIndex=(l.Ay.ee(l.lw.Jo)+1).toString()),e.appendChild(n),t.Oe()){const e=document.createElement("style");e.innerHTML=t.css,e.id=t.Ge(),null!=l.Ay.ee(l.lw.er)&&e.setAttribute("nonce",l.Ay.ee(l.lw.er)),document.getElementsByTagName("head")[0].appendChild(e)}const a=t instanceof Z.A,o=Ct(t,(e=>{if(t.Ve()&&t.Bo()){const s=document.createElement("div");if(s.className="ab-page-blocker",t.Oe()||(s.style.backgroundColor=rt(t.frameColor)),l.Ay.ee(l.lw.Jo)&&(s.style.zIndex=l.Ay.ee(l.lw.Jo).toString()),n.appendChild(s),!l.Ay.ee(l.lw.Lh)){const i=(new Date).valueOf();s.onclick=s=>{(new Date).valueOf()-i>K.A.Ph&&(t.ll(e),s.stopPropagation())}}n.appendChild(e),e.focus(),t.Ah(n)}else if(a){const s=document.querySelectorAll(".ab-slideup");let i=null;for(let t=s.length-1;t>=0;t--)if(s[t]!==e){i=s[t];break}if(t.slideFrom===K.A.SlideFrom.TOP){let t=0;null!=i&&(t=i.offsetTop+i.offsetHeight),e.style.top=Math.max(t,0)+"px"}else{let t=0;null!=i&&(t=(window.innerHeight||document.documentElement.clientHeight)-i.offsetTop),e.style.bottom=Math.max(t,0)+"px"}}else if(i&&!l.Ay.ee(l.lw.Lh)){const s=t;(0,Ot.B)(e)&&e.contentWindow&&e.contentWindow.addEventListener("keydown",(function(t){t.keyCode===it.c.Oh&&s.closeMessage()}))}W(t),t.dismissType===K.A.DismissType.AUTO_DISMISS&&setTimeout((()=>{n.contains(e)&&t.ll(e)}),t.duration),"function"==typeof s&&s()}),(t=>{r.A.info(t)}),l.Ay.ee(l.lw.Do),l.Ay.ee(l.lw.Jo),l.Ay.ee(l.lw.er),e,zt.ea().So());return(i||a)&&(n.appendChild(o),t.Ah(n)),!0}function Ut(t){if(l.Ay.rr())return"function"!=typeof t?null:X.A.ea().qi((function(e){return t(e[0]),e.slice(1)}))}var Lt=s(73220);class Pt extends Lt.z{constructor(t,e,s,i=!1,n=!1,a=-1,r={}){super(r),this.id=t,this.placementId=e,this.html=s,this.xt=i,this.isControl=n,this.zt=a,this.id=t,this.placementId=e,this.html=s,this.xt=i,this.isControl=n,this.zt=a,this.kt=!1}At(){return this.isControl}dt(){return{id:this.id,pid:this.placementId,html:this.html,its:this.xt,ic:this.isControl,eat:this.zt,pr:this.properties}}}function Mt(t){return new Pt(t.id,t.pid,t.html,t.its,t.ic,t.eat,t.pr)}function $t(t){return new Pt(t.id,t.placement_id,t.html,t.is_test_send,t.is_control,t.expires_at,t.properties)}class Gt extends w.A{constructor(t,e,s,i){super(),this.h=t,this.B=e,this.j=s,this.C=i,this.banners={},this.h=t,this.B=e,this.j=s,this.C=i,this.S=10,this.T=null,this.I=null,this.R=new a.A,l.Ay.q(this.R),this.D=null,this.F=null}N(t){if(this.k()&&null!=t&&t.banners){this.banners={};const e=t.banners;for(const t in e){const s=e[t];let i=null;null!=s&&null!=s.banner&&(i=$t(s.banner)),i&&(this.banners[t]=i)}this.U(),this.R.L(this.banners)}}M(t,e,s,i=!0){var n;const a=()=>{"function"==typeof s&&s()};if(!this.k())return void(null===(n=this.h)||void 0===n||n.P((()=>{this.M(t,e,s)}
1)));const r=this.B;if(!r)return void a();i&&this.X();const o=r.$({},!0),l=[];for(const h of t)l.push({id:h});o.placements=l;const c=r.A(o,I.A.H.G);let u=!1;r.J(o,((i=-1)=>{const n=this.B;if(!n)return void a();const r=(new Date).valueOf();I.A.K(this.j,I.A.H.G,r),-1!==i&&c.push(["X-Braze-Req-Tokens-Remaining",i.toString()]),y.A.O({url:`${n.V()}/banners/sync`,headers:c,data:o,W:t=>{if(!n.Y(o,t,c))return u=!0,void a();n.Z(),this.N(t),u=!1,"function"==typeof e&&e()},error:t=>{n._(t,"retrieving banners"),u=!0,a()},tt:(i,a)=>{let r;if(this.F=t,u){let t=this.T;(null==t||t<1e3*this.S)&&(t=1e3*this.S),r=Math.min(3e5,(0,O.C)(1e3*this.S,3*t))}n.st(a,(()=>{this.M(t,e,s,!1)}),I.A.H.G,(t=>this.it(t)),(()=>this.X()),r)}})}),I.A.H.G,s)}et(){return this.F}nt(t,e){const s={id:t.id};return e&&(s.bid=e),h.A.rt(p.w.ot,s).W}X(){null!=this.I&&(clearTimeout(this.I),this.I=null)}it(t){this.X(),this.I=t}ht(){let t={};this.j&&(t=this.j.lt(m.d.ct.ut));const e={};for(const s in t){let i=null;null!=t[s]&&(i=Mt(t[s])),i&&(e[i.placementId]=i)}return e}U(){var t;if(!this.j)return;const e={};for(const s in this.banners){const i=(null===(t=this.banners[s])||void 0===t?void 0:t.dt())||null;e[s]=i}this.j.ft(m.d.ct.ut,e),this.vt()}vt(){var t,e;null===(t=this.j)||void 0===t||t.ft(m.d.ct.gt,null===(e=this.C)||void 0===e?void 0:e.bt())}Bt(){var t;return(null===(t=this.j)||void 0===t?void 0:t.lt(m.d.ct.gt))||null}jt(){return this.D}yt(t){this.D=t}Ct(){var t;const e=null===(t=this.C)||void 0===t?void 0:t.bt(),s=this.Bt();return null==s||e===s}St(t){return this.R.wt(t)}Tt(){var t;return(null===(t=this.j)||void 0===t?void 0:t.lt(m.d.ct.It))||{}}Rt(t){this.j&&this.j.ft(m.d.ct.It,t)}changeUser(){this.qt(),this.X()}clearData(){this.X()}k(){return!!this.h&&(!!this.h.Dt()||(0!==this.h.Ft()&&this.qt(),!1))}qt(){this.banners={},this.j&&(this.j.Nt(m.d.ct.ut),this.j.Nt(m.d.ct.It)),this.R.L({})}}const Ft={i:!1,provider:null,o:()=>(Ft.t(),Ft.provider||(Ft.provider=new Gt(l.Ay.l(),l.Ay.m(),l.Ay.p(),l.Ay.u()),l.Ay.v(Ft.provider)),Ft.provider),t:()=>{Ft.i||(l.Ay.g(Ft),Ft.i=!0)},destroy:()=>{Ft.provider=null,Ft.i=!1}},qt=Ft;function Ht(t,e){const s=t[e];if(!s)return null;const i=s.zt,n=(new Date).valueOf();return-1!==i&&1e3*i<n?(r.A.info(`Banner with ID: ${s.id} and placement ID: ${e} has expired.`),null):s}function Vt(t){var e;if(!l.Ay.rr())return;!1===(null===(e=l.Ay.l())||void 0===e?void 0:e.Dt())&&r.A.error(n.FE);const s=qt.o();return s.k()?Ht(s.ht(),t):null}function Jt(t){_t(t,"banner",".ab-html-banner{width:100%;height:100%;border:none;display:block}.ab-html-control-banner{width:0;height:0;margin:0;border:none}")}function Kt(){Jt()}function Xt(t,e){if(!l.Ay.rr())return;if(!(t instanceof Pt))return r.A.error("Banner argument to logBannerClick must be an Banner object."),!1;const s=qt.o(),i=s.ht();return 0===(0,c.HP)(i).length?(r.A.info("Not logging banner click. No banners exist."),!1):i[t.placementId]?s.nt(t,e):(r.A.info(`Not logging banner click for ID ${t.placementId}. The placement ID did not correspond to any banner.`),!1)}const Wt="data-ab-banner-placement-id",Yt="ab-html-banner",Zt="ab-html-control-banner";function Qt(t){const e=document.createElement("div");return e.id=t.id,e.className="ab-html-control-banner",e.setAttribute(Wt,t.placementId),e}function te(t,e){if(t.At())return Qt(t);const s=document.createElement("iframe");return s.id=t.id,e&&s.setAttribute("nonce",e),s.className="ab-html-banner",s.setAttribute(Wt,t.placementId),s.setAttribute("title","Banner"),At(s,t.html,e),s.onload=()=>{const e=s.contentWindow,i=e.document.getElementsByTagName("title");i&&i.length>0&&s.setAttribute("title",i[0].textContent||"");const n=Object.assign(Object.assign({},ft(s)),{logClick:function(){Xt(t,...arguments)},closeMessage:function(){},setBannerHeight:t=>{isNaN(t)||!isFinite(t)||t<0?r.A.warn(`Invalid banner height: ${t}`):s.style.height=`${t}px`}});e.brazeBridge=n,e.appboyBridge=n,e.dispatchEvent(new CustomEvent("ab.BridgeReady"))},s}function ee(t){l.Ay.rr()&&l.Ay.removeSubscription(t)}function se(t){const e=t.getAttribute(n.og);null!=e&&ee(e),t&&t.parentNode&&t.parentNode.removeChild(t)}function ie(t){return null!=t&&!!t.getAttribute("data-ab-had-top-impression")}function ne(t){null!=t&&t.setAttribute("data-ab-had-top-impression","true")}function ae(t){return null!=t&&!!t.getAttribute("data-ab-had-bottom-impression")}function re(t){null!=t&&t.setAttribute("data-ab-had-bottom-impression","true")}const oe={oo:ie,no:ae};function le(t){if(!l.Ay.rr())return;if(!t||t.length<=0)return!1;const e=qt.o(),s=e.ht();if(0===(0,c.HP)(s).length)return r.A.info("Not logging banners impression. No banners exist."),!1;const i=e.Tt(),n=[];for(const o of t){const t=s[o];t?i[t.placementId]?r.A.info(`Not logging banners impression for ID ${o}. This ID was already logged this session.`):(i[t.placementId]=!0,n.push(t.id)):r.A.info(`Not logging banners impression for ID ${o}. The placement ID did not correspond to any banner.`)}if(0===n.length)return!1;e.Rt(i);const a={ids:n};return h.A.rt(p.w.ro,a).W}function ce(){const t=document.querySelectorAll(`.${Yt}, .${Zt}`),e=[];for(let s=0;s<t.length;s++){const i=t[s],n=i.getAttribute(Wt);if(!n)continue;const a=oe.oo(i),r=oe.no(i);if(a&&r)continue;const o=(0,st.Kz)(i),l=(0,st.K)(i);o&&!a&&ne(i),l&&!r&&re(i),oe.oo(i)&&oe.no(i)&&e.push(n)}e.length>0&&le(e)}function ue(){if(!l.Ay.rr())return;const t={},e=l.Ay.l();if(!1===(null==e?void 0:e.Dt())&&r.A.error(n.FE),!(null==e?void 0:e.Dt()))return t;const s=qt.o().ht();for(const i in s)t[i]=Ht(s,i);return t}function he(t){var e;if(!l.Ay.rr())return;const s=qt.o();if(s.Ct()){const e=ue();e&&"function"==typeof t&&t(e)}const i=s.St(t);if(!s.jt()){const t=null===(e=l.Ay.nn())||void 0===e?void 0:e.rn((()=>{const t=s.et();t&&t.length>0&&s.M(t)}));t&&s.yt(t)}return i}function de(t,e){if(!l.Ay.rr())return;if(!t)return void r.A.error("Not inserting banner: banner was not provided.");if(!e)return void r.A.error("Not inserting banner: parentNode was not provided.");if(!l.Ay.ee(l.lw.re))return void r.A.error("Banners are disabled. Use the 'allowUserSuppliedJavascript' option for braze.initialize to enable these messages.");Kt();const s=te(t,l.Ay.ee(l.lw.er)),i=he((i=>{const n=i[t.placementId];n?e.replaceChildren(te(n,l.Ay.ee(l.lw.er))):se(s)}));i&&s.setAttribute(n.og,i),e.replaceChildren(s),(0,st.P4)(window,"scroll",ce),ce()}function pe(t,e,s){if(!l.Ay.rr())return void r.A.warn(n.xE);const i=l.Ay.l();if(!i)return;if(!(0,c.cy)(t)||0===t.length)return void r.A.warn("placementIds should be a non-empty array.");if(!l.Ay.ee(l.lw.re))return void r.A.error("Banners are disabled. Use the 'allowUserSuppliedJavascript' option for braze.initialize to enable these messages.");const a=qt.o();if(!1===i.Dt()&&r.A.error(n.FE),!a.k())return void i.P((()=>{pe(t,e,s)}
1));const o=i.te();t.length>o&&(r.A.warn(`Number of placement IDs requested exceeds the max allowed. Trimming placementIds array from length ${t.length} to ${o} (max allowed).`),t=t.slice(0,o)),0!==(t=t.filter((t=>!!(0,ht.L4)(t)||(r.A.warn(`Placement ID should be a valid utf8 string with no whitespaces, filtering out: ${t}`),!1)))).length&&(r.A.info(`Requesting banners for placement IDs: ${JSON.stringify(t)}`),a.M(t,e,s))}},12704:(t,e,s)=>{s.d(e,{c:()=>i});const i={lo:32,yo:9,Ze:13,Oh:27}},15734:(t,e,s)=>{s.d(e,{j3:()=>i,uD:()=>l});const i={PORTRAIT:0,LANDSCAPE:1};function n(){return screen.width<=600}function a(){if("orientation"in window)return 90===Math.abs(window.orientation)||270===window.orientation?i.LANDSCAPE:i.PORTRAIT;const t=window;if("screen"in t){let e=t.screen.orientation||screen.mozOrientation||screen.msOrientation;return null!=e&&"object"==typeof e&&(e=e.type),"landscape-primary"===e||"landscape-secondary"===e?i.LANDSCAPE:i.PORTRAIT}return i.PORTRAIT}function r(t,e,s){t&&(e||null!=s&&s.metaKey?window.open(t):window.location=t)}function o(){return window.location.href}const l={openUri:r,Uo:n,$o:a,Ca:o}},16238:(t,e,s)=>{s.d(e,{A:()=>n});const i={init:function(t){void 0===t&&void 0!==i.zg||(i.zg=!!t),i.i||(i.i=!0)},destroy:function(){i.i=!1,i.zg=void 0,i.vd=void 0},setLogger:function(t){"function"==typeof t?(i.init(),i.vd=t):i.info("Ignoring setLogger call since logger is not a function")},toggleLogging:function(){i.init(),i.zg?(console.log("Disabling Braze logging"),i.zg=!1):(console.log("Enabled Braze logging"),i.zg=!0)},info:function(t){if(i.zg){const e="Braze: "+t;null!=i.vd?i.vd(e):console.log(e)}},warn:function(t){if(i.zg){const e="Braze SDK Warning: "+t+" (v6.3.1)";null!=i.vd?i.vd(e):console.warn(e)}},error:function(t){if(i.zg){const e="Braze SDK Error: "+t+" (v6.3.1)";null!=i.vd?i.vd(e):console.error(e)}}},n=i},17276:(t,e,s)=>{s.d(e,{$k:()=>i,FE:()=>g,Fn:()=>h,KG:()=>l,RW:()=>r,aV:()=>o,et:()=>m,fX:()=>n,mO:()=>d,og:()=>b,s1:()=>a,uR:()=>p,uy:()=>u,xE:()=>c});const i=100,n="inAppMessage must be an InAppMessage object",a="must be a Card object",r=500,o="logCustomEvent",l="setCustomUserAttribute",c="Braze must be initialized before calling methods.",u=30,h=30,d=72e5,p=15,m=1,b="data-update-subscription-id",g="Banners are disabled. Make sure you have at least one campaign and relaunch the app."},20804:(t,e,s)=>{s.d(e,{w:()=>i});const i={CustomEvent:"ce",Pr:"p",uc:"pc",Cc:"ca",wu:"i",pu:"ie",Ut:"cci",Wt:"ccic",Ht:"ccc",Mt:"ccd",Al:"ss",Dl:"se",Gi:"si",$i:"sc",Fi:"sbc",yc:"sfe",zo:"iec",lc:"lr",nc:"uae",mc:"lcaa",dc:"lcar",Gn:"inc",Rn:"add",On:"rem",$n:"set",Bn:"ncam",fc:"sgu",Fr:"ffi",ro:"bi",ot:"bc"}},25675:(t,e,s)=>{s.d(e,{A:()=>n});const i={oe:function(){if("undefined"!=typeof window&&window.crypto){if("function"==typeof window.crypto.randomUUID)return window.crypto.randomUUID();if("function"==typeof window.crypto.getRandomValues)try{const t=new Uint8Array(16);window.crypto.getRandomValues(t),t[6]=15&t[6]|64,t[8]=63&t[8]|128;const e=Array.from(t,(t=>("0"+t.toString(16)).slice(-2)));return[e.slice(0,4).join(""),e.slice(4,6).join(""),e.slice(6,8).join(""),e.slice(8,10).join(""),e.slice(10,16).join("")].join("-")}catch(t){}}const t=(t=!1)=>{const e=(Math.random().toString(16)+"000000000").substr(2,8);return t?"-"+e.substr(0,4)+"-"+e.substr(4,4):e};return t()+t(!0)+t(!0)+t()}},n=i},29620:(t,e,s)=>{s.d(e,{logCustomEvent:()=>h});var i=s(25),n=s(94334),a=s(16238),r=s(20804),o=s(63368),l=s(80538),c=s(8457),u=s(17276);function h(t,e){if(!i.Ay.rr())return!1;if(null==t||t.length<=0)return a.A.error(`logCustomEvent requires a non-empty eventName, got "${t}". Ignoring event.`),!1;if(!(0,c.Dz)(t,"log custom event","the event name"))return!1;const[s,h]=(0,c.fB)(e,u.aV,"eventProperties",`log custom event "${t}"`,"event");if(!s)return!1;const d=i.Ay.l();if(d&&d.ge(t))return a.A.info(`Custom Event "${t}" is blocklisted, ignoring.`),!1;const p=n.A.rt(r.w.CustomEvent,{n:t,p:h});if(p.W){a.A.info(`Logged custom event "${t}".`);for(const s of p.ue)l.B.o().ve(o.A.pe,[t,e],s)}return p.W}},29880:(t,e,s)=>{s.d(e,{A:()=>n});var i=s(5098);class n{constructor(t,e,s,i,n){this.endpoint=t,this.Vn=e,this.publicKey=s,this.Vl=i,this.dl=n,this.endpoint=t||null,this.Vn=e||null,this.publicKey=s||null,this.Vl=i||null,this.dl=n||null}dt(){return{e:this.endpoint,c:this.Vn,p:this.publicKey,u:this.Vl,v:this.dl}}static qn(t){return new n(t.e,(0,i.jU)(t.c),t.p,t.u,t.v)}}},34855:(t,e,s)=>{s.d(e,{A:()=>f});var i=s(5098),n=s(16238);class a{constructor(t){this.wc=t,this.wc=t}xc(t){return null==this.wc||this.wc===t[0]}static fromJson(t){return new a(t?t.event_name:null)}dt(){return this.wc}}var r=s(46499);class o{constructor(t,e,s,n){this.yE=t,this.HE=e,this.comparator=s,this.LE=n,this.yE=t,this.HE=e,this.comparator=s,this.LE=n,this.HE===o.XE.QE&&this.comparator!==o.BE.wE&&this.comparator!==o.BE.jE&&this.comparator!==o.BE.zE&&this.comparator!==o.BE.FE&&(this.LE=(0,i.Zo)(this.LE))}xc(t){let e=null;switch(null!=t&&(e=t[this.yE]),this.comparator){case o.BE.kE:return null!=e&&e.valueOf()===this.LE.valueOf();case o.BE.xE:return null==e||e.valueOf()!==this.LE.valueOf();case o.BE.JE:return null!=e&&typeof e==typeof this.LE&&e>this.LE;case o.BE.wE:return this.HE===o.XE.QE?null!=e&&(0,r.$P)(e)&&(0,i.Jd)(e)<=this.LE.valueOf():null!=e&&typeof e==typeof this.LE&&e>=this.LE;case o.BE.VE:return null!=e&&typeof e==typeof this.LE&&e<this.LE;case o.BE.jE:return this.HE===o.XE.QE?null!=e&&(0,r.$P)(e)&&(0,i.Jd)(e)>=this.LE.valueOf():null!=e&&typeof e==typeof this.LE&&e<=this.LE;case o.BE.qE:return null!=e&&"string"==typeof e&&typeof e==typeof this.LE&&null!=e.match(this.LE);case o.BE.PE:return null!=e;case o.BE.WE:return null==e;case o.BE.zE:return null!=e&&(0,r.$P)(e)&&(0,i.DA)(e)<this.LE;case o.BE.FE:return null!=e&&(0,r.$P)(e)&&(0,i.DA)(e)>this.LE;case o.BE.ZE:return null==e||typeof e!=typeof this.LE||"string"!=typeof e||null==e.match(this.LE)}return!1}static fromJson(t){return new o(t.property_key,t.property_type,t.comparator,t.property_value)}dt(){let t=this.LE;return(0,r.$P)(this.LE)&&(t=(0,i.UK)(t.valueOf())),{k:this.yE,t:this.HE,c:this.comparator,v:t}}static qn(t){return new o(t.k,t.t,t.c,t.v)}}o.XE={$E:"boolean",tT:"number",sT:"string",QE:"date"},o.BE={kE:1,xE:2,JE:3,wE:4,VE:5,jE:6,qE:10,PE:11,WE:12,zE:15,FE:16,ZE:17};class l{constructor(t){this.filters=t,this.filters=t}xc(t){let e=!0;for(let s=0;s<this.filters.length;s++){const i=this.filters[s];let n=!1;for(let e=0;e<i.length;e++)if(i[e].xc(t)){n=!0;break}if(!n){e=!1;break}}return e}static fromJson(t){if(null==t||!(0,r.cy)(t))return null;const e=[];for(let s=0;s<t.length;s++){const i=[],n=t[s];for(let t=0;t<n.length;t++)i.push(o.fromJson(n[t]));e.push(i)}return new l(e)}dt(){const t=[];for(let e=0;e<this.filters.length;e++){const s=this.filters[e],i=[];for(let t=0;t<s.length;t++)i.push(s[t].dt());t.push(i)}return t}static qn(t){const e=[];for(let s=0;s<t.length;s++){const i=[],n=t[s];for(let t=0;t<n.length;t++)i.push(o.qn(n[t]));e.push(i)}return new l(e)}}class c{constructor(t,e){this.wc=t,this.tf=e,this.wc=t,this.tf=e}xc(t){if(null==this.wc||null==this.tf)return!1;const e=t[0],s=t[1];return e===this.wc&&this.tf.xc(s)}static fromJson(t){return new c(t?t.event_name:null,t?l.fromJson(t.property_filters):null)}dt(){return{e:this.wc,pf:this.tf?this.tf.dt():null}}}class u{constructor(t,e){this.if=t,this.rf=e,this.if=t,this.rf=e}xc(t){if(null==this.if)return!1;const e=g.sf(t[0],this.if);if(!e)return!1;let s=null==this.rf||0===this.rf.length;if(null!=this.rf)for(let i=0;i<this.rf.length;i++)if(this.rf[i]===t[1]){s=!0;break}return e&&s}static fromJson(t){return new u(t?t.id:null,t?t.buttons:null)}dt(){return this.if}}class h{constructor(t){this.productId=t,this.productId=t}xc(t){return null==this.productId||t[0]===this.productId}static fromJson(t){return new h(t?t.product_id:null)}dt(){return this.productId}}class d{constructor(t,e){this.productId=t,this.tf=e,this.productId=t,this.tf=e}xc(t){if(null==this.productId||null==this.tf)return!1;const e=t[0],s=t[1];return e===this.productId&&this.tf.xc(s)}static fromJson(t){return new d(t?t.product_id:null,t?l.fromJson(t.property_filters):null)}dt(){return{id:this.productId,pf:this.tf?this.tf.dt():null}}}class p{constructor(t){this.if=t,this.if=t}xc(t){return null==this.if||g.sf(t[0],this.if)}static fromJson(t){return new p(t?t.campaign_id:null)}dt(){return this.if}}var m=s(63368),b=s(57442);class g{constructor(t,e){this.type=t,this.data=e,this.type=t,this.data=e}kc(t,e){return g._c[this.type]===t&&(null==this.data||this.data.xc(e))}static sf(t,e){let s=null;try{s=window.atob(t)}catch(e){return n.A.info("Failed to unencode analytics id "+t+": "+(0,b.u)(e)),!1}return e===s.split("_")[0]}static fromJson(t){const e=t.type;let s=null;switch(e){case g._r.OPEN:case g._r.qs:break;case g._r.Rr:s=h.fromJson(t.data);break;case g._r.bc:s=d.fromJson(t.data);break;case g._r.vr:s=p.fromJson(t.data);break;case g._r.pe:s=a.fromJson(t.data);break;case g._r.Ec:s=c.fromJson(t.data);break;case g._r.Qr:s=u.fromJson(t.data)}return new g(e,s)}
1dt(){return{t:this.type,d:this.data?this.data.dt():null}}static qn(t){let e,s=null;switch(t.t){case g._r.OPEN:case g._r.qs:break;case g._r.Rr:s=new h(t.d);break;case g._r.bc:e=t.d||{},s=new d(e.id,l.qn(e.pf||[]));break;case g._r.vr:s=new p(t.d);break;case g._r.pe:s=new a(t.d);break;case g._r.Ec:e=t.d||{},s=new c(e.e,l.qn(e.pf||[]));break;case g._r.Qr:s=new u(t.d)}return new g(t.t,s)}}g._r={OPEN:"open",Rr:"purchase",bc:"purchase_property",vr:"push_click",pe:"custom_event",Ec:"custom_event_property",Qr:"iam_click",qs:"test"},g._c={},g._c[g._r.OPEN]=m.A.OPEN,g._c[g._r.Rr]=m.A.Rr,g._c[g._r.bc]=m.A.Rr,g._c[g._r.vr]=m.A.vr,g._c[g._r.pe]=m.A.pe,g._c[g._r.Ec]=m.A.pe,g._c[g._r.Qr]=m.A.Qr,g._c[g._r.qs]=m.A.qs;class f{constructor(t,e=[],s,i,n=0,a,r,o=0,l=f.td,c,u,h){this.id=t,this.sd=e,this.startTime=s,this.endTime=i,this.priority=n,this.type=a,this.data=r,this.ed=o,this.rd=l,this.Gr=c,this.hd=u,this.od=h,this.id=t,this.sd=e||[],void 0===s&&(s=null),this.startTime=s,void 0===i&&(i=null),this.endTime=i,this.priority=n||0,this.type=a,this.ed=o||0,null==c&&(c=1e3*(this.ed+30)),this.Gr=c,this.data=r,null!=l&&(this.rd=l),this.hd=u,this.od=h||null}nd(t){return null==this.od||this.rd!==f.td&&t-this.od>=1e3*this.rd}ad(t){this.od=t}ud(t){const e=t+1e3*this.ed;return Math.max(e-(new Date).valueOf(),0)}dd(t){const e=(new Date).valueOf()-t,s=null==t||isNaN(e)||null==this.Gr||e<this.Gr;return s||n.A.info(`Trigger action ${this.type} is no longer eligible for display - fired ${e}ms ago and has a timeout of ${this.Gr}ms.`),!s}static fromJson(t){const e=t.id,s=[];for(let i=0;i<t.trigger_condition.length;i++)s.push(g.fromJson(t.trigger_condition[i]));const n=(0,i.Zo)(t.start_time),a=(0,i.Zo)(t.end_time),o=t.priority,l=t.type,c=t.delay,u=t.re_eligibility,h=t.timeout,d=t.data,p=t.min_seconds_since_last_trigger;return(0,r.BY)(f._r,l,"Could not construct Trigger from server data","Trigger.Types")?new f(e,s,n,a,o,l,d,c,u,h,p):null}dt(){const t=[];for(let e=0;e<this.sd.length;e++)t.push(this.sd[e].dt());return{i:this.id,c:t,s:this.startTime,e:this.endTime,p:this.priority,t:this.type,da:this.data,d:this.ed,r:this.rd,tm:this.Gr,ss:this.hd,ld:this.od}}static qn(t){const e=[],s=t.c||[];for(let i=0;i<s.length;i++)e.push(g.qn(s[i]));return new f(t.i,e,(0,i.jU)(t.s),(0,i.jU)(t.e),t.p,t.t,t.da,t.d,t.r,t.tm,t.ss,t.ld)}}f._r={Br:"inapp",md:"templated_iam"},f.td=-1},46499:(t,e,s)=>{s.d(e,{$P:()=>o,BY:()=>a,Gv:()=>l,HP:()=>c,cy:()=>r,n4:()=>u,zu:()=>n});var i=s(16238);function n(t){const e=[];let s;for(const i in t)s=i,Object.prototype.hasOwnProperty.call(t,s)&&void 0!==t[s]&&e.push(t[s]);return e}function a(t,e,s,a){const r=n(t);return-1!==r.indexOf(e)||(i.A.error(`${s} Valid values from ${a} are "${r.join('"/"')}".`),!1)}function r(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function o(t){return"[object Date]"===Object.prototype.toString.call(t)}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function c(t){const e=[];for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.push(s);return e}function u(t,e){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;const s=t.toString();if(s!==e.toString())return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}const i="[object Array]"===s;if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;const s=t.constructor,i=e.constructor;if(s!==i&&!("function"==typeof s&&s instanceof s&&"function"==typeof i&&i instanceof i)&&"constructor"in t&&"constructor"in e)return!1}const n=[],a=[];let r=n.length;for(;r--;)if(n[r]===t)return a[r]===e;if(n.push(t),a.push(e),i){if(r=t.length,r!==e.length)return!1;for(;r--;)if(!u(t[r],e[r]))return!1}else{const s=c(t);let i;if(r=s.length,c(e).length!==r)return!1;for(;r--;)if(i=s[r],!Object.prototype.hasOwnProperty.call(e,i)||!u(t[i],e[i]))return!1}return n.pop(),a.pop(),!0}},47927:(t,e,s)=>{s.d(e,{A:()=>r});var i=s(17276),n=s(90663);
1const a={H:{Tu:"data",bi:"content_cards/sync",$e:"feature_flags/sync",Ir:"template",G:"banners/sync"},Yu:t=>null==t?void 0:t.lt(n.d.ct.SE),sm:t=>null==t?void 0:t.lt(n.d.ct._E),nm:(t,e)=>{null==t||t.ft(n.d.ct.SE,e)},rm:(t,e)=>{null==t||t.ft(n.d.ct._E,e)},Cu:(t,e)=>{if(!t||!e)return-1;const s=a.Yu(t);if(null==s)return-1;const i=s[e];return null==i||isNaN(i)?-1:i},Su:(t,e)=>{let s=i.et;if(!t||!e)return s;const n=a.sm(t);return null==n?s:(s=n[e],null==s||isNaN(s)?i.et:s)},K:(t,e,s)=>{if(!t||!e)return;let i=a.Yu(t);null==i&&(i={}),i[e]=s,a.nm(t,i)},Bu:(t,e,s)=>{if(!t||!e)return;let i=a.sm(t);null==i&&(i={}),i[e]=s,a.rm(t,i)},Ci:(t,e)=>{t&&e&&a.Bu(t,e,i.et)},Ku:(t,e)=>{if(!t||!e)return;const s=a.Su(t,e);a.Bu(t,e,s+1)}},r=a},49303:(t,e,s)=>{s.d(e,{A:()=>l,s:()=>o});var i=s(16238),n=s(64400),a=s(57442);const r={O:t=>{let e,s;try{const a=()=>{i.A.error("This browser does not have any supported ajax options!")};let r=!1;if(window.XMLHttpRequest&&(r=!0),!r)return void a();e=new XMLHttpRequest;const o=s=>{"function"==typeof t.error&&t.error(e.status),"function"==typeof t.tt&&t.tt(!1,s)};e.onload=()=>{let s=!1;if(4!==e.readyState)return;s=e.status>=200&&e.status<300||304===e.status;const i=e.getAllResponseHeaders();if(s){if("function"==typeof t.W){let a;try{a=JSON.parse(e.responseText)}catch(s){const a={error:""===e.responseText?n.A.vu:n.A.Ru,response:e.responseText};(0,t.W)(a,i)}a&&t.W(a,i)}"function"==typeof t.tt&&t.tt(!0,i)}else o(i)},e.onerror=()=>{o(e.getAllResponseHeaders())},e.ontimeout=()=>{o()},s=JSON.stringify(t.data),e.open("POST",t.url,!0),e.setRequestHeader("Content-type","application/json"),e.setRequestHeader("X-Requested-With","XMLHttpRequest");const l=t.headers||[];for(const t of l)e.setRequestHeader(t[0],t[1]);e.send(s)}catch(t){i.A.error(`Network request error: ${(0,a.u)(t)}`)}}},o=t=>{const e={},s=t.toString().split("\r\n");if(!s)return e;let i,n;for(const a of s)a&&(i=a.slice(0,a.indexOf(":")).toLowerCase().trim(),n=a.slice(a.indexOf(":")+1).trim(),e[i]=n);return e},l=r},51999:(t,e,s)=>{s.d(e,{A:()=>o});var i=s(16238),n=s(25675),a=s(46499),r=s(57442);class o{constructor(t,e,s){this.eu=t,null==t&&(t=n.A.oe()),!s||isNaN(s)?this.Gl=(new Date).valueOf():this.Gl=s,this.eu=t,this.ql=(new Date).valueOf(),this.kl=e}dt(){return`g:${encodeURIComponent(this.eu)}|e:${this.kl}|c:${this.Gl}|l:${this.ql}`}static AE(t){if("string"!=typeof t)return null;const e=t.lastIndexOf("|e:"),s=t.substring(0,e),i=s.split("g:")[1];let n;return n=/[|:]/.test(i)?encodeURIComponent(i):i,t.replace(s,`g:${n}`)}static qn(t){let e;if("string"==typeof t)try{const s=t.split("|");if(!(0,a.cy)(s)||4!==s.length)return null;const i=t=>t.split(":")[1],n=t=>{const e=parseInt(i(t));if(!isNaN(e))return e};e=new o(decodeURIComponent(i(s[0])),n(s[1]),n(s[2])),e.ql=n(s[3])}catch(e){i.A.info(`Unable to parse cookie string ${t}, failed with error: ${(0,r.u)(e)}`)}else{if(null==t||null==t.g)return null;e=new o(t.g,t.e,t.c),e.ql=t.l}return e}}},53072:(t,e,s)=>{s.d(e,{c:()=>i,u:()=>n});const i={rO:"Chrome",eO:"Edge",oO:"Opera",Bg:"Safari",OO:"Firefox",Sg:"ChatGPTBrowser"},n={Dg:"Android",co:"iOS",Pg:"Mac",kg:"Windows"}},56685:(t,e,s)=>{s.d(e,{A:()=>i});class i{constructor(t=!1,e=[]){this.W=t,this.ue=e,this.W=t,this.ue=e}Vt(t){this.W=this.W&&t.W,this.ue.push(...t.ue)}}},57442:(t,e,s)=>{s.d(e,{u:()=>i});const i=t=>t instanceof Error?t.message:String(t)},61201:(t,e,s)=>{s.d(e,{A:()=>c});var i=s(25),n=s(10007),a=s(98412),r=s(12704),o=s(2861),l=s(95084);class c{constructor(t,e,s,i,n,a,r,l,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S,k,C,_,T,N,I,O,j,D){this.message=t,this.messageAlignment=e,this.slideFrom=s,this.extras=i,this.triggerId=n,this.clickAction=a,this.uri=r,this.openTarget=l,this.dismissType=u,this.duration=h,this.icon=d,this.imageUrl=p,this.imageStyle=m,this.iconColor=b,this.iconBackgroundColor=g,this.backgroundColor=f,this.textColor=v,this.closeButtonColor=A,this.animateIn=y,this.animateOut=w,this.header=x,this.headerAlignment=E,this.headerTextColor=S,this.frameColor=k,this.buttons=C,this.cropType=_,this.orientation=T,this.htmlId=N,this.css=I,this.messageExtras=O,this.language=j,this.altImageText=D,this.message=t,this.messageAlignment=e||c.TextAlignment.CENTER,this.duration=h||5e3,this.slideFrom=s||c.SlideFrom.BOTTOM,this.extras=i||{},this.triggerId=n,this.clickAction=a||c.ClickAction.NONE,this.uri=r,this.openTarget=l||c.OpenTarget.NONE,this.dismissType=u||c.DismissType.AUTO_DISM
1ISS,this.icon=d,this.imageUrl=p,this.imageStyle=m||c.ImageStyle.TOP,this.iconColor=b||c.th.ih,this.iconBackgroundColor=g||c.th.sh,this.backgroundColor=f||c.th.ih,this.textColor=v||c.th.hh,this.closeButtonColor=A||c.th.eh,this.animateIn=y,null==this.animateIn&&(this.animateIn=!0),this.animateOut=w,null==this.animateOut&&(this.animateOut=!0),this.header=x,this.headerAlignment=E||c.TextAlignment.CENTER,this.headerTextColor=S||c.th.hh,this.frameColor=k||c.th.Eh,this.buttons=C||[],this.cropType=_||c.CropType.FIT_CENTER,this.orientation=T,this.htmlId=N,this.css=I,this.isControl=!1,this.messageExtras=O,this.language=j,this.altImageText=D,this.nh=!1,this.kt=!1,this.Co=!1,this.Th=!1,this.Pe=null,this.Qe=null,this.ti=new o.A,this.oh=new o.A,this.do=c.TextAlignment.CENTER}subscribeToClickedEvent(t){return this.ti.wt(t)}subscribeToDismissedEvent(t){return this.oh.wt(t)}removeSubscription(t){this.ti.removeSubscription(t),this.oh.removeSubscription(t)}removeAllSubscriptions(){this.ti.removeAllSubscriptions(),this.oh.removeAllSubscriptions()}closeMessage(){this.ll(this.Pe)}Ve(){return!0}Bo(){return this.Ve()}Le(){return null!=this.htmlId&&this.htmlId.length>4}Oe(){return this.Le()&&null!=this.css&&this.css.length>0}Ge(){if(this.Le()&&this.Oe())return this.htmlId+"-css"}Qt(){return!this.kt&&(this.kt=!0,!0)}Ur(){return this.kt}$t(t){return!this.Co&&(this.Co=!0,this.ti.L(),!0)}Kt(){return!this.Th&&(this.Th=!0,this.oh.L(),!0)}hide(t){if(t&&t.parentNode){let e=t.closest(".ab-iam-root");if(null==e&&(e=t),this.Ve()&&null!=e.parentNode){const t=e.parentNode.classList;t&&t.contains(c.rh)&&t.remove(c.rh),document.body.removeEventListener("touchmove",c.lh)}e.className=e.className.replace(c.uh,c.ah)}return this.animateOut||!1}ll(t,e){if(null==t)return;let s;this.Pe=null,s=-1===t.className.indexOf("ab-in-app-message")?t.getElementsByClassName("ab-in-app-message")[0]:t;let i=!1;s&&(i=this.hide(s));const a=document.body;let r;null!=a&&(r=a.scrollTop);const o=()=>{if(t&&t.parentNode){let e=t.closest(".ab-iam-root");null==e&&(e=t),e.parentNode&&e.parentNode.removeChild(e)}const s=this.Ge();if(null!=s){const t=document.getElementById(s);t&&t.parentNode&&t.parentNode.removeChild(t)}null!=a&&"Safari"===n.A.browser&&(a.scrollTop=r),e?e():this.Kt()};i?setTimeout(o,c.cr):o(),this.Qe&&this.Qe.focus()}ho(){return document.createTextNode(this.message||"")}bo(t){t.setAttribute("alt",this.altImageText||"")}static lh(t){if(t.targetTouches&&t.targetTouches.length>1)return;const e=t.target;e&&e.classList&&e.classList.contains("ab-message-text")&&e.scrollHeight>e.clientHeight||document.querySelector(`.${c.rh}`)&&t.cancelable&&t.preventDefault()}Ah(t){const e=t.parentNode;this.Ve()&&null!=e&&this.orientation!==c.Orientation.LANDSCAPE&&(null!=e.classList&&e.classList.add(c.rh),document.body.addEventListener("touchmove",c.lh,!!(0,a.CF)()&&{passive:!1})),t.className+=" "+c.uh}static Ih(t){if(t.keyCode===r.c.Oh&&!i.Ay.ee(i.lw.Lh)&&document.querySelectorAll(".ab-modal-interactions").length>0){const t=document.getElementsByClassName("ab-html-message");let e=!1;for(const s of t){let t=null;(0,l.B)(s)&&s.contentWindow&&(t=s.contentWindow.document.getElementsByClassName("ab-programmatic-close-button")[0]),null!=t&&((0,a.jp)(t),e=!0)}if(!e){const t=document.querySelectorAll(".ab-modal-interactions > .ab-close-button")[0];null!=t&&(0,a.jp)(t)}}}_h(){this.nh||i.Ay.ee(i.lw.Lh)||(document.addEventListener("keydown",c.Ih,!1),i.Ay.mh((()=>{document.removeEventListener("keydown",c.Ih)})),this.nh=!0)}dt(t){const e={};return t?(e[c.ss.Vr]=this.message,e[c.ss.Wr]=this.messageAlignment,e[c.ss.Nh]=this.slideFrom,e[c.ss.xs]=this.extras,e[c.ss.Yr]=this.triggerId,e[c.ss.Zr]=this.clickAction,e[c.ss.URI]=this.uri,e[c.ss.ra]=this.openTarget,e[c.ss.sa]=this.dismissType,e[c.ss.ta]=this.duration,e[c.ss.ia]=this.icon,e[c.ss.ns]=this.imageUrl,e[c.ss.oa]=this.imageStyle,e[c.ss.pa]=this.iconColor,e[c.ss.ma]=this.iconBackgroundColor,e[c.ss.na]=this.backgroundColor,e[c.ss.ua]=this.textColor,e[c.ss.ca]=this.closeButtonColor,e[c.ss.fa]=this.animateIn,e[c.ss.da]=this.animateOut,e[c.ss.la]=this.header,e[c.ss.ga]=this.headerAlignment,e[c.ss.ja]=this.headerTextColor,e[c.ss.xa]=this.frameColor,e[c.ss.za]=this.buttons,e[c.ss.ha]=this.cropType,e[c.ss.va]=this.orientation,e[c.ss.wa]=this.htmlId,e[c.ss.CSS]=this.css,e[c.ss.ts]=t,e[c.ss.ya]=this.messageExtras,e[c.ss.LANGUAGE]=this.language,e[c.ss.ks]=this.altImageText,e):e}}c.th={hh:4281545523,ih:4294967295,sh:4278219733,Rh:4293914607,Sh:4283782485,Eh:3224580915,eh:4288387995},c.Ye={Mh:"hd",We:"ias",Dh:"of",Ch:"do",dh:"umt",Uh:"tf",bh:"te"},c.SlideFrom={TOP:"TOP",BOTTOM:"BOTTOM"},c.ClickAction={URI:"URI",NONE:"NONE"}
1,c.DismissType={AUTO_DISMISS:"AUTO_DISMISS",MANUAL:"SWIPE"},c.OpenTarget={NONE:"NONE",BLANK:"BLANK"},c.ImageStyle={TOP:"TOP",GRAPHIC:"GRAPHIC"},c.Orientation={PORTRAIT:"PORTRAIT",LANDSCAPE:"LANDSCAPE"},c.TextAlignment={START:"START",CENTER:"CENTER",END:"END"},c.CropType={CENTER_CROP:"CENTER_CROP",FIT_CENTER:"FIT_CENTER"},c.Ke={Kr:"SLIDEUP",Jr:"MODAL",Io:"MODAL_STYLED",Or:"FULL",Hr:"WEB_HTML",Je:"HTML",Ao:"HTML_FULL"},c.cr=500,c.Ph=200,c.uh="ab-show",c.ah="ab-hide",c.rh="ab-pause-scrolling",c.ss={Vr:"m",Wr:"ma",Nh:"sf",xs:"e",Yr:"ti",Zr:"ca",URI:"u",ra:"oa",sa:"dt",ta:"d",ia:"i",ns:"iu",oa:"is",pa:"ic",ma:"ibc",na:"bc",ua:"tc",ca:"cbc",fa:"ai",da:"ao",la:"h",ga:"ha",ja:"htc",xa:"fc",za:"b",ha:"ct",va:"o",wa:"hi",CSS:"css",ts:"type",Po:"messageFields",ya:"me",LANGUAGE:"l",ks:"ia"}},62081:(t,e,s)=>{s.d(e,{b:()=>n});var i=s(90663);function n(t){const e=null==t?void 0:t.lt(i.d.ct.uE);let s;return e&&(s={label:e.l,name:e.a}),s}},63368:(t,e,s)=>{s.d(e,{A:()=>i});const i={OPEN:"open",Rr:"purchase",vr:"push_click",pe:"custom_event",Qr:"iam_click",qs:"test"}},64095:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(65001),n=s(61201);class a extends n.A{constructor(t,e,s,i,a,r,o,l,c,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S,k,C,_,T,N,I){super(t,e,void 0,s,i,a,r,o,l=l||n.A.DismissType.MANUAL,c,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S,k=k||n.A.CropType.FIT_CENTER,void 0,C,_,T,N,I),this.do=n.A.TextAlignment.CENTER}dt(){return super.dt(a.es)}static Xr(t){return new a(t[n.A.ss.Vr],t[n.A.ss.Wr],t[n.A.ss.xs],t[n.A.ss.Yr],t[n.A.ss.Zr],t[n.A.ss.URI],t[n.A.ss.ra],t[n.A.ss.sa],t[n.A.ss.ta],t[n.A.ss.ia],t[n.A.ss.ns],t[
1n.A.ss.oa],t[n.A.ss.pa],t[n.A.ss.ma],t[n.A.ss.na],t[n.A.ss.ua],t[n.A.ss.ca],t[n.A.ss.fa],t[n.A.ss.da],t[n.A.ss.la],t[n.A.ss.ga],t[n.A.ss.ja],t[n.A.ss.xa],(0,i.x)(t[n.A.ss.za]),t[n.A.ss.ha],t[n.A.ss.wa],t[n.A.ss.CSS],t[n.A.ss.ya],t[n.A.ss.LANGUAGE],t[n.A.ss.ks])}}a.es=n.A.Ke.Jr},64400:(t,e,s)=>{s.d(e,{A:()=>i});const i={gu:"invalid_api_key",bu:"blacklisted",qu:"no_device_identifier",Ru:"invalid_json_response",vu:"empty_response",__:"sdk_auth_error"}},65001:(t,e,s)=>{s.d(e,{g:()=>h,x:()=>d});var i=s(61201),n=s(72631),a=s(85862),r=s(79617),o=s(79086),l=s(64095),c=s(10917),u=s(16238);function h(t){if(!t)return null;if(t.is_control)return n.A.fromJson(t);let e=t.type;null!=e&&(e=e.toUpperCase());const s=t.message,h=t.text_align_message,d=t.slide_from,p=t.extras,m=t.trigger_id,b=t.click_action,g=t.uri,f=t.open_target,v=t.message_close,A=t.duration,y=t.icon,w=t.image_url,x=t.image_style,E=t.icon_color,S=t.icon_bg_color,k=t.bg_color,C=t.text_color,_=t.close_btn_color,T=t.header,N=t.text_align_header,I=t.header_text_color,O=t.frame_color,j=[];let D=t.btns;null==D&&(D=[]);for(let i=0;i<D.length;i++)j.push(o.A.fromJson(D[i]));const B=t.crop_type,z=t.orientation,R=t.animate_in,U=t.animate_out;let L=t.html_id,P=t.css;null!=L&&""!==L&&null!=P&&""!==P||(L=void 0,P=void 0);const M=t.message_extras,$=t.language,G=t.image_alt;let F;if(e===l.A.es||e===i.A.Ke.Io)F=new l.A(s,h,p,m,b,g,f,v,A,y,w,x,E,S,k,C,_,R,U,T,N,I,O,j,B,L,P,M,$,G);else if(e===a.A.es)F=new a.A(s,h,p,m,b,g,f,v,A,y,w,x,E,S,k,C,_,R,U,T,N,I,O,j,B,z,L,P,M,$,G);else if(e===c.A.es)F=new c.A(s,h,d,p,m,b,g,f,v,A,y,w,E,S,k,C,_,R,U,L,P,M,$,G);else{if(e!==r.A.es&&e!==i.A.Ke.Je&&e!==i.A.Ke.Ao)return void u.A.error("Ignoring message with unknown type "+e);{const e=t.message_fields;F=new r.A(s,p,m,v,A,R,U,O,L,P,e,M),F.trusted=t.trusted||!1}}return F.He=e,F}function d(t){const e=[];for(const s of t)e.push(new o.A(s.text,s.backgroundColor,s.textColor,s.borderColor,s.clickAction,s.uri,s.id));return e}},67689:(t,e,s)=>{s.d(e,{A:()=>o});var i=s(25),n=s(62081),a=s(46499),r=s(5098);class o{constructor(t,e,s,i,n){this.userId=t,this.type=e,this.time=s,this.sessionId=i,this.data=n,this.userId=t,this.type=e,this.time=(0,r.S3)(s),this.sessionId=i,this.data=n}Ar(){var t;const e={name:this.type,time:(0,r.UK)(this.time),data:this.data||{},session_id:this.sessionId};null!=this.userId&&(e.user_id=this.userId);const s=(null===(t=i.Ay.Sr())||void 0===t?void 0:t.fh())||!1;if(!e.user_id&&!s){const t=(0,n.b)(i.Ay.p());t&&(e.alias=t)}return e}dt(){return{u:this.userId,t:this.type,ts:this.time,s:this.sessionId,d:this.data}}static fromJson(t){return new o(t.user_id,t.name,t.time,t.session_id,t.data)}static gE(t){return null!=t&&(0,a.Gv)(t)&&null!=t.t&&""!==t.t}static qn(t){return new o(t.u,t.t,t.ts,t.s,t.d)}}},72631:(t,e,s)=>{s.d(e,{A:()=>i});class i{constructor(t,e){this.triggerId=t,this.messageExtras=e,this.triggerId=t,this.messageExtras=e,this.extras={},this.isControl=!0,this.kt=!1}static fromJson(t){return new i(t.trigger_id,t.message_extras)}Qt(){return!this.kt&&(this.kt=!0,!0)}Ur(){return this.kt}}},73072:(t,e,s)=>{s.d(e,{A:()=>n});const i={pn:()=>"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&"showNotification"in ServiceWorkerRegistration.prototype&&"PushManager"in window,yn:()=>"safari"in window&&"pushNotification"in window.safari&&"function"==typeof window.safari.pushNotification.permission&&"function"==typeof window.safari.pushNotification.requestPermission,isPushSupported:()=>i.pn()||i.yn(),isPushBlocked:()=>{const t=i.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"denied"===window.Notification.permission,e=i.isPushSupported()&&(!("Notification"in window)||null==window.Notification);return t||e},isPushPermissionGranted:()=>i.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"granted"===window.Notification.permission,Qi:()=>i.isPushBlocked()?{Ui:!1,reason:"blocked"}:i.isPushSupported()?i.isPushPermissionGranted()?{Ui:!1,reason:"permissionGranted"}:{Ui:!0}
1:{Ui:!1,reason:"unsupported"},Vi:(t,e)=>"blocked"===t?`${e} containing a push prompt is not being shown because the user has already declined push permission prompt.`:"unsupported"===t?`${e} containing a push prompt is not being shown because the browser doesn't support push notifications.`:`${e} containing a push prompt is not being shown because the user has already accepted the permission prompt.`},n=i},73220:(t,e,s)=>{s.d(e,{z:()=>n});var i=s(16238);class n{constructor(t){this.properties=t,this.properties=t||{}}To(t,e,s){const i=this.properties[t];return null==i?(this.No(t),null):e(i)?i.value:(this.Oo(s),null)}getStringProperty(t){return this.To(t,this.Fo,"string")}getNumberProperty(t){return this.To(t,this.Go,"number")}getBooleanProperty(t){return this.To(t,this.Ho,"boolean")}getImageProperty(t){return this.To(t,this.Ko,"image")}getJsonProperty(t){return this.To(t,this.Lo,"jsonobject")}getTimestampProperty(t){return this.To(t,this.Qo,"datetime")}Oo(t){i.A.info(`Property is not of type ${t}.`)}No(t){i.A.info(`${t} not found in properties.`)}Fo(t){return"string"===t.type&&"string"==typeof t.value}Go(t){return"number"===t.type&&"number"==typeof t.value}Ho(t){return"boolean"===t.type&&"boolean"==typeof t.value}Ko(t){return"image"===t.type&&"string"==typeof t.value}Lo(t){return"jsonobject"===t.type&&"object"==typeof t.value&&t.value.constructor==Object}Qo(t){return"datetime"===t.type&&"number"==typeof t.value}}},74285:(t,e,s)=>{function i(t){null==t&&(t="");const e=t.split("?").slice(1).join("?"),s={};if(null!=e){const t=e.split("&");for(let e=0;e<t.length;e++){const i=t[e].split("=");""!==i[0]&&(s[i[0]]=i[1])}}return s}function n(t){return!(!t||0!==(t=t.toString().toLowerCase()).lastIndexOf("javascript:",0)&&0!==t.lastIndexOf("data:",0))}s.d(e,{P:()=>n,y:()=>i})},74956:(t,e,s)=>{s.d(e,{C:()=>i});const i=(t,e)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t)},78623:(t,e,s)=>{s.d(e,{N:()=>n,u:()=>a});var i=s(16238);function n(t){let e=t.length;for(let s=t.length-1;s>=0;s--){const i=t.charCodeAt(s);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=2),i>=56320&&i<=57343&&s--}return e}function a(t){try{t=t.replace(/-/g,"+").replace(/_/g,"/");const e=window.atob(t),s=new Uint8Array(e.length);for(let t=0;t<e.length;t++)s[t]=e.charCodeAt(t);const i=new Uint16Array(s.buffer);return String.fromCharCode(...i)}catch(t){return i.A.error("Unable to decode Base64: "+t),null}}},79086:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(61201),n=s(2861);class a{constructor(t,e,s,r,o,l,c){this.text=t,this.backgroundColor=e,this.textColor=s,this.borderColor=r,this.clickAction=o,this.uri=l,this.id=c,this.text=t||"",this.backgroundColor=e||i.A.th.sh,this.textColor=s||i.A.th.ih,this.borderColor=r||this.backgroundColor,this.clickAction=o||i.A.ClickAction.NONE,this.uri=l,null==c&&(c=a.Hi),this.id=c,this.Co=!1,this.ti=new n.A}subscribeToClickedEvent(t){return this.ti.wt(t)}removeSubscription(t){this.ti.removeSubscription(t)}removeAllSubscriptions(){this.ti.removeAllSubscriptions()}$t(){return!this.Co&&(this.Co=!0,this.ti.L(),!0)}static fromJson(t){return new a(t.text,t.bg_color,t.text_color,t.border_color,t.click_action,t.uri,t.id)}}a.Hi=-1},79617:(t,e,s)=>{s.d(e,{A:()=>n});var i=s(61201);class n extends i.A{constructor(t,e,s,n,a,r,o,l,c,u,h,d){super(t,void 0,void 0,e,s,void 0,void 0,void 0,n=n||i.A.DismissType.MANUAL,a,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,r,o,void 0,void 0,void 0,l,void 0,void 0,void 0,c,u,d,void 0,void 0),this.messageFields=h,this.messageFields=h}Bo(){return!1}$t(t){if(this.He===i.A.Ke.Hr){if(this.Co)return!1;this.Co=!0}return this.ti.L(t),!0}dt(){const t=super.dt(n.es);return t[i.A.ss.Po]=this.messageFields,t}static Xr(t){return new n(t[i.A.ss.Vr],t[i.A.ss.xs],t[i.A.ss.Yr],t[i.A.ss.sa],t[i.A.ss.ta],t[i.A.ss.fa],t[i.A.ss.da],t[i.A.ss.xa],t[i.A.ss.wa],t[i.A.ss.CSS],t[i.A.ss.Po],t[i.A.ss.ya])}}n.es=i.A.Ke.Hr},80538:(t,e,s)=>{s.d(e,{B:()=>b});var i=s(4556),n=s(25),a=s(94188),r=s(65001),o=s(67689),l=s(46499),c=s(90663);class u{constructor(t,e,s,i,n){this.triggerId=t,this.qr=e,this.Tr=s,this.Er=i,this.Gr=n,this.triggerId=t,this.qr=e,this.Tr=s,this.Er=i,this.Gr=n}static fromJson(t,e,s,i,n){return null==t||null==t.trigger_id?null:new u(t.trigger_id,e,s,i,n)}}
1var h=s(34855),d=s(63368),p=s(16238);class m extends a.A{constructor(t,e,s,i,n){super(),this.tg=t,this.ws=e,this.j=s,this.Cn=i,this.ig=n,this.tg=t,this.ws=e,this.j=s,this.Cn=i,this.ig=n,this.sg=[],this.eg=[],this.hg=null,this.ng={},this.og={},this.triggers=[],this.lg=0,this.ag(),this.gg()}fg(){if(this.j){this.hg=this.j.lt(c.d.ct.iE)||this.hg,this.ng=this.j.lt(c.d.ct.EE)||this.ng,this.og=this.j.lt(c.d.ct.aE)||this.og;for(let t=0;t<this.triggers.length;t++){const e=this.triggers[t];e.id&&null!=this.og[e.id]&&e.ad(this.og[e.id])}}}ag(){if(!this.j)return;this.lg=this.j.lt(c.d.ct.nE)||0;const t=this.j.lt(c.d.ct.oE)||[],e=[];for(let s=0;s<t.length;s++)e.push(h.A.qn(t[s]));this.triggers=e,this.fg()}gg(){const t=this,e=function(e,s,i,n,a){return function(){t.cg(e,s,i,n,a)}},s={};for(const n of this.triggers)n.id&&(s[n.id]=n);let i=!1;for(let n=0;n<this.triggers.length;n++){const t=this.triggers[n];if(t.id&&null!=this.ng[t.id]){const n=this.ng[t.id],a=[];for(let i=0;i<n.length;i++){const r=n[i],c=t.ud(r.Er||0);if(c>0){let i,n;a.push(r),null!=r.ug&&(i=r.ug),null!=r.dg&&o.A.gE(r.dg)&&(n=o.A.qn(r.dg));const u=[];if(r.pg&&(0,l.cy)(r.pg))for(let t=0;t<r.pg.length;t++){const e=s[r.pg[t]];null!=e&&u.push(e)}this.eg.push(window.setTimeout(e(t,r.Er||0,i,n,u),c))}}this.ng[t.id].length>a.length&&(this.ng[t.id]=a,i=!0,0===this.ng[t.id].length&&delete this.ng[t.id])}}i&&this.j&&this.j.ft(c.d.ct.EE,this.ng)}mg(){if(!this.j)return;const t=[];for(let e=0;e<this.triggers.length;e++)t.push(this.triggers[e].dt());this.lg=(new Date).valueOf(),this.j.ft(c.d.ct.oE,t),this.j.ft(c.d.ct.nE,this.lg)}bg(){this.j&&((this.j.lt(c.d.ct.nE)||0)>this.lg?this.ag():this.fg())}N(t){let e=!1;if(null!=t&&t.triggers){this.ig.Lr(),this.fg();const s={},i={};this.triggers=[];for(let r=0;r<t.triggers.length;r++){const n=h.A.fromJson(t.triggers[r]);if(n){n.id&&null!=this.og[n.id]&&(n.ad(this.og[n.id]),s[n.id]=this.og[n.id]),n.id&&null!=this.ng[n.id]&&(i[n.id]=this.ng[n.id]);for(let t=0;t<n.sd.length;t++)if(n.sd[t].kc(d.A.qs,null)){e=!0;break}this.triggers.push(n)}}(0,l.n4)(this.og,s)||(this.og=s,this.j&&this.j.ft(c.d.ct.aE,this.og)),(0,l.n4)(this.ng,i)||(this.ng=i,this.j&&this.j.ft(c.d.ct.EE,this.ng)),this.mg(),e&&(p.A.info("Trigger with test condition found, firing test."),this.ve(d.A.qs)),this.ve(d.A.OPEN);const n=this.sg;let a;this.sg=[];for(let t=0;t<n.length;t++)a=Array.prototype.slice.call(n[t]),this.ve(...a)}}cg(t,e,s,i,n){const a=i=>{this.fg();const n=(new Date).valueOf();t.dd(e)||(!1===navigator.onLine&&t.type===h.A._r.Br&&i.imageUrl?p.A.info(`Not showing ${t.type} trigger action ${t.id} due to offline state.`):t.nd(n)&&this.wg(t,n,s)?0===this.ws.sc()?p.A.info(`Not displaying trigger ${t.id} because neither automaticallyShowInAppMessages() nor subscribeToInAppMessage() were called.`):(this.ws.L([i]),this.yg(t,n)):p.A.info(`Not displaying trigger ${t.id} because display time fell outside of the acceptable time window.`))},o=()=>{this.fg();const a=n.pop();if(null!=a)if(this.Tg(a,e,s,i,n),a.dd(e)){let t=`Server aborted in-app message display, but the timeout on fallback trigger ${a.id} has already elapsed.`;n.length>0&&(t+=" Continuing to fall back."),p.A.info(t),o()}else{p.A.info(`Server aborted in-app message display. Falling back to lower priority ${a.type} trigger action ${t.id}.`);const r=1e3*a.ed-((new Date).valueOf()-e);r>0?this.eg.push(window.setTimeout((()=>{this.cg(a,e,s,i,n)}),r)):this.cg(a,e,s,i,n)}};let l,c,d;switch(t.type){case h.A._r.Br:if(l=(0,r.g)(t.data),null==l){p.A.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`);break}if(c=this.ig.Ki(l),c){p.A.error(c),o();break}a(l);break;case h.A._r.md:if(d=u.fromJson(t.data,a,o,e,t.Gr||0),null==d){p.A.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`);break}this.ig.Zi(d,s,i);break;default:p.A.error(`Trigger ${t.id} was of unexpected type ${t.type}, ignoring.`)}}ve(t,e=null,s){if(!(0,l.BY)(d.A,t,"Cannot fire trigger action.","TriggerEvents"))return;if(this.Cn&&this.Cn.Yl())return p.A.info("Trigger sync is currently in progress, awaiting sync completion before firing trigger event."),void this.sg.push(arguments);this.bg();const i=(new Date).valueOf(),n=i-(this.hg||0);let a=!0,r=!0;const o=[];for(let l=0;l<this.triggers.length;l++){const s=this.triggers[l],n=i+1e3*s.ed;if(s.nd(n)&&(null==s.startTime||s.startTime.valueOf()<=i)&&(null==s.endTime||s.endTime.valueOf()>=i)){let i=!1;for(let n=0;n<s.sd.length;n++)if(s.sd[n].kc(t,e)){i=!0;break}i&&(a=!1,this.wg(s,n,t)&&(r=!1,o.push(s)))}}if(a)return void p.A.info(`Trigger event ${t} did not match any trigger conditions.`);if(r)return void p.A.info(`Ignoring ${t} trigger event because a trigger was displayed ${n/1e3}s ago.`);o.sort(((t,e)=>t.priority-e.priority));const c=o.pop();null!=c&&(p.A.info(`Firing ${c.type} trigger action ${c.id} from trigger event ${t}.`),this.Tg(c,i,t,s,o),0===c.ed?this.cg(c,i,t,s,o):this.eg.push(window.setTimeout((()=>{this.cg(c,i,t,s,o)}),1e3*c.ed)))}changeUser(t=!1){if(this.triggers=[],this.j&&this.j.Nt(c.d.ct.oE),!t){this.sg=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[],this.j&&(this.j.Nt(c.d.ct.iE),this.j.Nt(c.d.ct.aE),this.j.Nt(c.d.ct.EE))}}clearData(){this.triggers=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[]}wg(t,e,s){if(null==this.hg)return!0;
1if(s===d.A.qs)return p.A.info("Ignoring minimum interval between trigger because it is a test type."),!0;let i=t.hd;return null==i&&(i=this.tg),e-this.hg>=1e3*i}Tg(t,e,s,i,n){this.fg(),t.id&&(this.ng[t.id]=this.ng[t.id]||[]);const a={};let r;a.Er=e,a.ug=s,null!=i&&(r=i.dt()),a.dg=r;const o=[];for(const l of n)l.id&&o.push(l.id);a.pg=o,t.id&&this.ng[t.id].push(a),this.j&&this.j.ft(c.d.ct.EE,this.ng)}yg(t,e){this.fg(),t.ad(e),this.hg=e,t.id&&(this.og[t.id]=e),this.j&&(this.j.ft(c.d.ct.iE,e),this.j.ft(c.d.ct.aE,this.og))}}const b={i:!1,provider:null,o:()=>(b.t(),b.provider||b.rg(),b.provider),rg:()=>{if(!b.provider){const t=n.Ay.ee(n.lw.Zo);b.provider=new m(null!=t?t:30,i.A.ea()._i(),n.Ay.p(),n.Ay.nn(),i.A.ea()),n.Ay.v(b.provider)}},t:()=>{b.i||(b.rg(),n.Ay.g(b),b.i=!0)},destroy:()=>{b.provider=null,b.i=!1}}},83240:(t,e,s)=>{s.d(e,{requestImmediateDataFlush:()=>n});var i=s(25);function n(t){if(!i.Ay.rr())return;const e=i.Ay.nn();e&&e.requestImmediateDataFlush(t)}},85862:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(65001),n=s(61201);class a extends n.A{constructor(t,e,s,i,a,r,o,l,c,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S,k,C,_,T,N,I,O){l=l||n.A.DismissType.MANUAL,C=C||n.A.Orientation.PORTRAIT,super(t,e,void 0,s,i,a,r,o,l,c,u,h,d,p,m,b,g,f,v,A,y,w,x,E,S,k=k||n.A.CropType.CENTER_CROP,C,_,T,N,I,O),this.do=n.A.TextAlignment.CENTER}dt(){return super.dt(a.es)}static Xr(t){return new a(t[n.A.ss.Vr],t[n.A.ss.Wr],t[n.A.ss.xs],t[n.A.ss.Yr],t[n.A.ss.Zr],t[n.A.ss.URI],t[n.A.ss.ra],t[n.A.ss.sa],t[n.A.ss.ta],t[n.A.ss.ia],t[n.A.ss.ns],t[
1n.A.ss.oa],t[n.A.ss.pa],t[n.A.ss.ma],t[n.A.ss.na],t[n.A.ss.ua],t[n.A.ss.ca],t[n.A.ss.fa],t[n.A.ss.da],t[n.A.ss.la],t[n.A.ss.ga],t[n.A.ss.ja],t[n.A.ss.xa],(0,i.x)(t[n.A.ss.za]),t[n.A.ss.ha],t[n.A.ss.va],t[n.A.ss.wa],t[n.A.ss.CSS],t[n.A.ss.ya],t[n.A.ss.LANGUAGE],t[n.A.ss.ks])}}a.es=n.A.Ke.Or},90663:(t,e,s)=>{s.d(e,{A:()=>d,d:()=>h});var i=s(67689),n=s(51999),a=s(46499),r=s(16238),o=s(20804),l=s(312),c=s(10007),u=s(57442);const h={iu:{su:"ab.storage.userId",Jh:"ab.storage.deviceId",Nl:"ab.storage.sessionId"},ct:{ec:"ab.test",tE:"ab.storage.events",eE:"ab.storage.attributes",sE:"ab.storage.attributes.anonymous_user",Qa:"ab.storage.device",au:"ab.storage.sdk_metadata",du:"ab.storage.session_id_for_cached_metadata",In:"ab.storage.pushToken",rE:"ab.storage.cardImpressions",hl:"ab.storage.serverConfig",oE:"ab.storage.triggers",nE:"ab.storage.triggers.ts",Hl:"ab.storage.messagingSessionStart",Ps:"ab.storage.cc",Gs:"ab.storage.ccLastFullSync",Hs:"ab.storage.ccLastCardUpdated",Pu:"ab.storage.globalRateLimitCurrentTokenCount",Hu:"ab.storage.dynamicRateLimitCurrentTokenCount",Et:"ab.storage.ccClicks",Pt:"ab.storage.ccImpressions",Lt:"ab.storage.ccDismissals",aE:"ab.storage.lastDisplayedTriggerTimesById",iE:"ab.storage.lastDisplayedTriggerTime",EE:"ab.storage.triggerFireInstancesById",jh:"ab.storage.signature",lE:"ab.storage.brazeSyncRetryCount",Qs:"ab.storage.sdkVersion",Ie:"ab.storage.ff",qe:"ab.storage.ffImpressions",Ae:"ab.storage.ffLastRefreshAt",Me:"ab.storage.ff.sessionId",SE:"ab.storage.lastReqToEndpoint",_E:"ab.storage.requestAttempts",Nr:"ab.storage.deferredIam",Lu:"ab.storage.lastSdkReq",uE:"ab.storage.alias",ut:"ab.storage.banners",It:"ab.storage.banners.impressions",gt:"ab.storage.banners.sessionId"},ie:"ab.optOut"};class d{constructor(t,e){this.cE=t,this.TE=e,this.cE=t,this.TE=e}Da(t){const e=(0,a.HP)(h.iu),s=new d.ne(t);for(const i of e)s.remove(h.iu[i])}uu(t,e){let s=null;null!=e&&e instanceof n.A&&(s=e.dt()),this.cE.store(t,s)}hE(t){const e=this.tu(t);null!=e&&(e.ql=(new Date).valueOf(),this.uu(t,e))}tu(t){const e=this.cE.br(t),s=(t=>{let e;try{e=JSON.parse(t)}catch(t){e=null}return e})(e);let i;if(s)i=n.A.qn(s)||null,i&&this.uu(t,i);else{const s=n.A.AE(e);i=n.A.qn(s)||null,s!==e&&i&&this.uu(t,i)}return i}Fl(t){this.cE.remove(t)}Ua(){const t=(0,a.HP)(h.iu);let e;for(const s of t)e=this.tu(h.iu[s]),null!=e&&this.uu(h.iu[s],e)}Eo(t){let e;if(null==t||0===t.length)return!1;e=(0,a.cy)(t)?t:[t];let s=this.TE.br(h.ct.tE);null!=s&&(0,a.cy)(s)||(s=[]);for(let i=0;i<e.length;i++)s.push(e[i].dt());return this.TE.store(h.ct.tE,s)}yl(t){return null!=t&&this.Eo([t])}RE(){let t=this.TE.br(h.ct.tE);this.TE.remove(h.ct.tE),null==t&&(t=[]);const e=[];let s=!1,n=null;if((0,a.cy)(t))for(let a=0;a<t.length;a++)i.A.gE(t[a])?e.push(i.A.qn(t[a])):n=a;else s=!0;if(s||null!=n){let a="Stored events could not be deserialized as Events";s&&(a+=", was "+Object.prototype.toString.call(t)+" not an array"),null!=n&&(a+=", value at index "+n+" does not look like an event"),a+=", serialized values were of type "+typeof t+": "+JSON.stringify(t),e.push(new i.A(null,o.w.pu,(new Date).valueOf(),null,{e:a}))}return e}ft(t,e){return!!(0,a.BY)(h.ct,t,"StorageManager cannot store object.","STORAGE_KEYS.OBJECTS")&&this.TE.store(t,e)}lt(t){return!!(0,a.BY)(h.ct,t,"StorageManager cannot retrieve object.","STORAGE_KEYS.OBJECTS")&&this.TE.br(t)}Nt(t){return!!(0,a.BY)(h.ct,t,"StorageManager cannot remove object.","STORAGE_KEYS.OBJECTS")&&(this.TE.remove(t),!0)}clearData(){const t=(0,a.HP)(h.iu),e=(0,a.HP)(h.ct);for(let s=0;s<t.length;s++){const e=t[s];this.cE.remove(h.iu[e])}for(let s=0;s<e.length;s++){const t=e[s];this.TE.remove(h.ct[t])}}OE(t){return t||h.ct.sE}ku(t){let e=this.TE.br(h.ct.eE);null==e&&(e={});const s=this.OE(t[l.A.Jn]),i=e[s];for(const n in t)n!==l.A.Jn&&(null==e[s]||i&&null==i[n])&&this.mu(t[l.A.Jn],n,t[n])}mu(t,e,s){let i=this.TE.br(h.ct.eE);null==i&&(i={});const n=this.OE(t);let a=i[n];if(null==a&&(a={},null!=t&&(a[l.A.Jn]=t)),e===l.A.lu){null==a[e]&&(a[e]={});for(const t in s)a[e][t]=s[t]}else a[e]=s;return i[n]=a,this.TE.store(h.ct.eE,i)}IE(){const t=this.TE.br(h.ct.eE);this.TE.remove(h.ct.eE);const e=[];for(const s in t)null!=t[s]&&e.push(t[s]);return e}ru(t){const e=this.TE.br(h.ct.eE);if(null!=e){const s=this.OE(null),i=e[s];null!=i&&(e[s]=void 0,this.TE.store(h.ct.eE,e),i[l.A.Jn]=t,this.ku(i))}const s=this.tu(h.iu.Nl);let i=null;null!=s&&(i=s.eu);const n=this.RE();if(null!=n)for(let a=0;a<n.length;a++){const e=n[a];null==e.userId&&e.sessionId==i&&(e.userId=t),this.yl(e)}}dE(){return this.TE.fE}}d.rc=class{constructor(t){this.sn=t,this.sn=t,this.fE=c.A.bE()?3:10}mE(t){return t+"."+this.sn}store(t,e){const s={v:e};try{return localStorage.setItem(this.mE(t),JSON.stringify(s)),!0}catch(t){return r.A.info("Storage failure: "+(0,u.u)(t)),!1}}br(t){try{let e=null;const s=localStorage.getItem(this.mE(t));return null!=s&&(e=JSON.parse(s)),null==e?null:e.v}catch(t){return r.A.info("Storage retrieval failure: "+(0,u.u)(t)),null}}remove(t){try{localStorage.removeItem(this.mE(t))}catch(t){return r.A.info("Storage removal failure: "+(0,u.u)(t)),!1}}},d.ac=class{constructor(){this.KE={},this.YE=5242880,this.fE=3}store(t,e){const s={value:e},i=this.NE(e);return i>this.YE?(r.A.info("Storage failure: object is â"+i+" bytes which is greater than the max of "+this.YE),!1):(this.KE[t]=s,
1!0)}NE(t){const e=[],s=[t];let i=0;for(;s.length;){const t=s.pop();if("boolean"==typeof t)i+=4;else if("string"==typeof t)i+=2*t.length;else if("number"==typeof t)i+=8;else if("object"==typeof t&&-1===e.indexOf(t)){let i,n;e.push(t);for(const e in t)n=t,i=e,s.push(n[i])}}return i}br(t){const e=this.KE[t];return null==e?null:e.value}remove(t){this.KE[t]=null}},d.ne=class{constructor(t,e){this.sn=t,this.GE=e,this.sn=t,this.CE=this.DE(),this.ME=576e3,this.GE=!!e}mE(t){return null!=this.sn?t+"."+this.sn:t}DE(){let t=0,e=document.location.hostname;const s=e.split("."),i="ab._gd";for(;t<s.length-1&&-1===document.cookie.indexOf(i+"="+i);)t++,e="."+s.slice(-1-t).join("."),document.cookie=i+"="+i+";domain="+e+";";return document.cookie=i+"=;expires="+new Date(0).toUTCString()+";domain="+e+";",e}se(){const t=new Date;return t.setTime(t.getTime()+60*this.ME*1e3),t.getFullYear()}pE(){const t=(0,a.zu)(h.iu),e=document.cookie.split(";");for(let s=0;s<e.length;s++){let i=e[s];for(;" "===i.charAt(0);)i=i.substring(1);let n=!1;for(let e=0;e<t.length;e++)if(0===i.indexOf(t[e])){n=!0;break}if(n){const t=i.split("=")[0];-1===t.indexOf("."+this.sn)&&this.vE(t)}}}store(t,e){this.pE();const s=new Date;s.setTime(s.getTime()+60*this.ME*1e3);const i="expires="+s.toUTCString(),n="domain="+this.CE;let a;a=this.GE?e:encodeURIComponent(e);const o=this.mE(t)+"="+a+";"+i+";"+n+";path=/";return o.length>=4093?(r.A.info("Storage failure: string is "+o.length+" chars which is too large to store as a cookie."),!1):(document.cookie=o,!0)}br(t){const e=[],s=this.mE(t)+"=",i=document.cookie.split(";");for(let n=0;n<i.length;n++){let a=i[n];for(;" "===a.charAt(0);)a=a.substring(1);if(0===a.indexOf(s))try{let t;t=this.GE?a.substring(s.length,a.length):decodeURIComponent(a.substring(s.length,a.length)),e.push(t)}catch(e){return r.A.info("Storage retrieval failure: "+(0,u.u)(e)),this.remove(t),null}}return e.length>0?e[e.length-1]:null}remove(t){this.vE(this.mE(t))}vE(t){const e=t+"=;expires="+new Date(0).toUTCString();document.cookie=e,document.cookie=e+";path=/";const s=e+";domain="+this.CE;document.cookie=s,document.cookie=s+";path=/"}},d.tc=class{constructor(t,e,s){this.sn=t,this.UE=[],e&&this.UE.push(new d.ne(t)),s&&this.UE.push(new d.rc(t)),this.UE.push(new d.ac)}store(t,e){let s=!0;for(let i=0;i<this.UE.length;i++)s=this.UE[i].store(t,e)&&s;return s}br(t){for(let e=0;e<this.UE.length;e++){const s=this.UE[e].br(t);if(null!=s)return s}return null}remove(t){new d.ne(this.sn).remove(t);for(let e=0;e<this.UE.length;e++)this.UE[e].remove(t)}}},94188:(t,e,s)=>{s.d(e,{A:()=>i});class i{constructor(){}N(t){}changeUser(t=!1){}clearData(t=!1){}}},94334:(t,e,s)=>{s.d(e,{A:()=>l});var i=s(16238),n=s(25),a=s(67689),r=s(56685);const o={rt:(t,e,s)=>{var o,l;const c=new r.A,u=n.Ay.u();if(!u)return i.A.info(`Not logging event with type "${t}" because the current session ID could not be found.`),c;const h=u.qo();return c.ue.push(new a.A(s||(null===(o=n.Ay.ir())||void 0===o?void 0:o.getUserId()),t,(new Date).valueOf(),h,e)),c.W=(null===(l=n.Ay.p())||void 0===l?void 0:l.Eo(c.ue))||!1,c}},l=o},95084:(t,e,s)=>{s.d(e,{B:()=>i});const i=t=>null!==t&&"IFRAME"===t.tagName},98412:(t,e,s)=>{s.d(e,{CF:()=>l,K:()=>h,Kz:()=>u,P4:()=>c,RJ:()=>m,X:()=>o,e0:()=>r,jp:()=>d,sr:()=>p});var i=s(16238),n=s(57442);function a(t,e=!1,s=!1,i=!1){if(null==t)return!1;e=e||!1,s=s||!1;const n=t.getBoundingClientRect();return null!=n&&(n.top>=0&&n.top<=(window.innerHeight||document.documentElement.clientHeight)||!e)&&(n.left>=0||!i)&&(n.bottom>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)||!s)&&(n.right<=(window.innerWidth||document.documentElement.clientWidth)||!i)}const r={Ic:null,Mo:a},o={ko:"up",xo:"down",Zt:"left",ae:"right"};function l(){if(null==r.Ic){r.Ic=!1;try{const t=Object.defineProperty({},"passive",{get:()=>{r.Ic=!0}});window.addEventListener("testPassive",(()=>{}),t),window.removeEventListener("testPassive",(()=>{}),t)}catch(t){i.A.error((0,n.u)(t))}}return r.Ic}function c(t,e,s=()=>{}){t.addEventListener(e,s,!!l()&&{passive:!0})}function u(t){return r.Mo(t,!0,!1,!1)}function h(t){return r.Mo(t,!1,!0,!1)}function d(t){if(t.onclick){const e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),t.onclick.apply(t,[e])}}function p(t,e,s){let i=null,n=null;c(t,"touchstart",(t=>{i=t.touches[0].clientX,n=t.touches[0].clientY})),c(t,"touchmove",(a=>{if(null==i||null==n)return;const r=i-a.touches[0].clientX,l=n-a.touches[0].clientY;Math.abs(r)>Math.abs(l)&&Math.abs(r)>=25?((r>0&&e===o.Zt||r<0&&e===o.ae)&&s(a),i=null,n=null):Math.abs(l)>=25&&((l>0&&e===o.ko&&t.scrollTop===t.scrollHeight-t.offsetHeight||l<0&&e===o.xo&&0===t.scrollTop)&&s(a),i=null,n=null)}))}function m(t,e,s){const i="http://www.w3.org/2000/svg",n=document.createElementNS(i,"svg");n.setAttribute("viewBox",t),n.setAttribute("xmlns",i);const a=document.createElementNS(i,"path");return a.setAttribute("d",e),null!=s&&a.setAttribute("fill",s),n.appendChild(a),n}},98664:(t,e,s)=>{s.d(e,{$6:()=>c,V:()=>o,dy:()=>p,jj:()=>u,mY:()=>l,qj:()=>d});var i=s(16238),n=s(57442),a=s(78623),r=s(8457);const o={types:{io:"container",logCustomEvent:"logCustomEvent",setEmailNotificationSubscriptionType:"setEmailNotificationSubscriptionType",setPushNotificationSubscriptionType:"setPushNotificationSubscriptionType",setCustomUserAttribute:"setCustomUserAttribute",requestPushPermission:"requestPushPermission",addToSubscriptionGroup:"addToSubscriptionGroup",removeFromSubscriptionGroup:"removeFromSubscriptionGroup",addToCustomAttributeArray:"addToCustomAttributeArray",removeFromCustomAttributeArray:"removeFromCustomAttributeArray",mo:"openLink",uo:"openLinkInWebView"},properties:{type:"type",eo:"steps",so:"args"}},l={Li:"unknownBrazeAction",Ac:"noPushPrompt"},c=(t,e)=>t===l.Li?`${e} contains an unknown braze action type and will not be displayed.`:"";function u(t){try{const e=t.match(r.nx),s=e?e[0].length:null,n=s?t.substring(s):null;if(null==s||s>t.length-1||!n)return void i.A.error(`Did not find base64 encoded brazeAction in url to process : ${t}`);const o=(0,a.u)(n);return o?JSON.parse(o):void i.A.error(`Failed to decode base64 encoded brazeAction: ${n}`)}catch(e){return void i.A.error(`Failed to process brazeAction URL ${t} : ${(0,n.u)(e)}`)}}function h(t,e){let s=!1;if(e)for(const i of e)if(s=s||t(i),s)return!0;return!1}function d(t){const e=o.properties.type,s=o.properties.eo;try{if(null==t)return!0;const i=t[e];return i===o.types.io?h(d,t[s]):!(0,r.To)(i)}catch(t){return!0}}function p(t){if(!t||!(0,r.xs)(t))return!1;const e=o.properties.type,s=o.properties.eo,i=t[e];return i===o.types.io?h(p,t[s]):i===o.types.requestPushPermission}},99911:(t,e,s)=>{s.d(e,{changeUser:()=>l});var i=s(25),n=s(78623),a=s(16238),r=s(312),o=s(8457);function l(t,e){if(!i.Ay.rr())return;if(null==t||0===t.length||t!=t)return void a.A.error("changeUser requires a non-empty userId.");if((0,n.N)(t)>r.A.mr)return void a.A.error(`Rejected user id "${t}" because it is longer than ${r.A.mr} bytes.`);if(null!=e&&!(0,o.rK)(e,"set signature for new user","signature"))return;const s=i.Ay.nn();s&&s.changeUser(t.toString(),i.Ay.lr(),e)}}}]); 2//# sourceMappingURL=braze-sdk.9eb9c987.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.