(()=>{var e,t,n,s,r,i={73230:(e,t,n)=>{var s={"./failed.mp3":32863,"./notification.mp3":99341,"./operator.mp3":38244,"./submit.mp3":44156};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}r.keys=function(){return Object.keys(s)},r.resolve=i,e.exports=r,r.id=73230},25169:(e,t,n)=>{var s={"./ar.json":[93517,4099],"./bg.json":[25089,1395],"./bn.json":[38478,9016],"./bs.json":[45637,4783],"./ca.json":[51482,3244],"./cs.json":[56408,7738],"./da.json":[81469,2499],"./de-form.json":[72954,790],"./de.json":[78345,7231],"./el.json":[41363,5305],"./en.json":[26765],"./es.json":[32070,6700],"./et.json":[9851,7105],"./fa-IR.json":[2897,3105],"./fi.json":[77223,5777],"./fr.json":[14334,6328],"./he.json":[21269,4643],"./hi.json":[68265,6743],"./hr.json":[72804,7178],"./hu.json":[55109,6227],"./id.json":[62039,9269],"./it.json":[16935,3109],"./ja.json":[97539,7445],"./ko.json":[7140,6398],"./lt.json":[70182,5540],"./lv.json":[81460,3842],"./mn.json":[60613,611],"./ms.json":[58062,9444],"./nb.json":[9238,2864],"./nl.json":[11280,1442],"./package.json":[58734,8661],"./pl.json":[19050,160],"./pt-BR.json":[71717,2529],"./pt.json":[6498,8392],"./ro.json":[40377,1899],"./ru.json":[30151,673],"./sk.json":[51680,8898],"./sl.json":[51433,8219],"./sr.json":[83115,2077],"./sv.json":[40919,7697],"./sw.json":[75524,4942],"./th.json":[42682,9592],"./tr.json":[87936,3054],"./uk.json":[5294,2996],"./vi.json":[23831,5857],"./zh-CN.json":[64754,9162],"./zh-TW.json":[98950,4230]};function r(e){if(!n.o(s,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then((()=>n.t(r,19)))}r.keys=()=>Object.keys(s),r.id=25169,e.exports=r},32515:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s,r,i=n(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:16,height:15,fill:"none",viewBox:"0 0 16 15"},e),s||(s=i.createElement("rect",{width:16,height:14,y:.5,fill:"currentColor",rx:4})),r||(r=i.createElement("path",{fill:"#fff",d:"M6.181 11.1H7.9L6.142 4.9H4.213L2.46 11.1h1.564l.297-1.362h1.572zM5.077 6.296h.082l.49 2.307h-1.08zm7.635 4.804V9.832h-1.306V6.167h1.306V4.899H8.527v1.268h1.307v3.665H8.527V11.1z"})))},64015:(e,t,n)=>{"use strict";n.d(t,{m:()=>h,y:()=>p});const s=1/12.92;function r(e){return Math.pow((e+.055)/1.055,2.4)}function i(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255;return.2126*(t<=.03928?t*s:r(t))+.7152*(n<=.03928?n*s:r(n))+.0722*(i<=.03928?i*s:r(i))}function o(e){let t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function a(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(i(e),i(t))}function c(e,t){return a(o(e),o(t))}var l=n(62932),d=n(80607);const u=(e,t,n,s)=>(c(t[s],e)>=n?s:null)||Object.keys(t).find((s=>c(t[s],e)>=n))||s,p=e=>({type:d.MkI,tabNavigation:e}),h=({color:e,secondaryColor:t})=>({type:d.A0U,accessibilityTheme:u(e,l.M,2,"default"),secondaryAccessibilityTheme:u(t,l.M,2,"light")})},94560:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>P,Ij:()=>w,Lt:()=>j,Mu:()=>C,Pw:()=>R,Sy:()=>x,Vv:()=>T,dk:()=>A,i6:()=>O,kB:()=>_,kI:()=>E,ky:()=>M,p6:()=>S,qy:()=>b,un:()=>k,wJ:()=>y});var s=n(63614),r=n(50084),i=n(10377),o=n(97899),a=n(1200),c=n(52762),l=n(95970),d=n(80607),u=n(72938),p=n(81323),h=n(14919);const g=100,v="new_conversation",m="recent_conversation",f=36e5;function y(){return(e,t)=>{const{launcherDiscoveryMode:{isLauncherDiscoveryModeOpening:n}}=t();n?(e((0,s.nc)()),setTimeout((()=>e(_())),g),setTimeout((()=>e((0,s.yQ)())),g)):e(_())}}function _(){return(e,t)=>{const n=t(),{app:{isMessengerOpen:s}}=n;e(s?C():(e,t)=>{var n;const s=t(),r=null==(n=s.borderless)?void 0:n.conversationId;if(r)return void e(O(r));const i=(0,h.fd)(s),a=(0,o.oP)(s),l=!a||"/"===a;if(l&&i===v)return e(k());if(l&&i===m){const t=(0,h.xu)(s);if(t)return e(O(t))}const{app:{lastOpenAtTimestamp:d}}=s,u=d&&Date.now()-d>f;e(x({forceLocationRedirect:!!u,replaceCurrentView:!!u})),e(b()),e((0,c.Y6)())})}}function w(e,t,n,s,r){return{type:d.n1W,accessToTeammateEnabled:e,selfServeSuggestionsMatch:t,activeAdmins:n,activeBot:s,openToNewConversation:r}}function b(e=!1){return{type:d.J4C,hideLightweightAppMessenger:e}}function C(e=!1){return{type:d.nQ0,fromCloseButton:e}}function S(e="",t=!1,n=null,s=null,i=!1,o){return a=>{a({type:d.vxn,defaultMessage:e,replaceCurrentView:t,articleUrl:n,fromArticleId:s,fromStandaloneArticle:i,parts:o?[o]:[]});a((t?r.HC:r.VC)("/messages/conversation/new"+(s?`?fromArticleID=${s}`:"")))}}function I(e=!1){return t=>{t({type:d.eEn,replaceCurrentView:e});t((e?r.HC:r.VC)("/messages/conversation/trigger-screen"))}}function A(){return e=>{e(I(!0)),e(b())}}function E(e){return t=>{t((0,l.p)(e)),t(b())}}function O(e){return t=>{t((0,c.Y6)()),t(E(e)),t((0,a.QL)(i.Ay,e,{requestOrigin:"Open Conversation In Messenger action"}))}}function k(e){return(t,n)=>{const s=n();(0,p.Ei)(s)&&t(S(e)),t(b())}}function T(e){return t=>t((0,a.QL)(i.Ay,e)).then((()=>t(E(e))))}function x({forceLocationRedirect:e=!1,replaceCurrentView:t=!1}={}){return(n,s)=>{const i=s(),a=t?r.HC:r.VC,c=(0,o.oP)(i);if(e||!c||"/"===c){n(a(u.kG.path))}}}function M(e){if(!e)return;const{paragraph:t,isDismissed:n}=e;return{type:d.oIU,paragraph:t,isDismissed:n}}function R(){return async(e,t)=>{const{app:{privacyPolicyNotice:n},session:s}=t();e(Object.assign({type:d.oIU},n,{isDismissed:!0}));const r={dismissed_privacy_policy_notice_at:(new Date).toISOString()};await i.Ay.createOrUpdateUser(s,r,void 0,void 0,"apiUpdate")}}function j(){return{type:d.hp7}}const P={closeMessenger:C,getAndOpenConversation:T,navigateBack:function(){return{type:d.u_9}},onLauncherClick:y,openConversation:E,openConversationInMessenger:O,openConversations:function(){return e=>{e((0,r.VC)(u.Ij.path)),e(b())}},openMessenger:b,openNewConversation:k,showAndGetConversation:function(e){return t=>{t((0,l.p)(e)),t((0,a.QL)(i.Ay,e))}},showConversation:l.p,showConversations:function(){return{type:d.XmF}},showMessengerTriggerScreen:I,showInitialScreen:x,showNewConversation:S,toggleMessenger:_,toggleUpfrontEmailCollectorState:j,openMessengerLoadingView:A,updateResolutionBotStateFromOpen:w}},57296:(e,t,n)=>{"use strict";n.d(t,{IP:()=>T,OQ:()=>j,nX:()=>x,rm:()=>M,TO:()=>R,Y0:()=>E,n$:()=>I,xZ:()=>A,L7:()=>C,Md:()=>O,NQ:()=>k,GN:()=>S});var s=n(80607);function r(e,t){return async(n,r)=>{const i=r(),{session:o}=i;let a;if(!t.payload||!t.payload.conversationId)throw new Error("conversationId needs to be provided as a parameter");a=t.payload.conversationId;try{n({type:s.e9H,payload:{timestamp:Date.now()}});n(function(e){return{type:s.onX,payload:e,conversation:e}}(await e.triggerTransitions(o,a,t)))}catch(e){n((c=e,{type:s.zH6,error:!0,payload:new Error((c||"An error occured when triggering Operator transition.").toString())}))}var c}}var i=n(10377),o=n(69830),a=n(84328),c=n(39502),l=n(31837),d=n(12129),u=n(50084),p=n(72938),h=n(79148),g=n(68153),v=n(49444),m=n(9814),f=n(97899),y=n(33149),_=n(5994),w=n(94560);function b(e){return{type:s.$aP,article:e}}function C(e,t,n=!1,r=!1,i=null,o="",a){return c=>{c({type:s.ScQ,articleId:e,fromBrowseMode:n,metricMetadata:t,conversationId:i,hash:o,fromHomeScreenSuggestions:a}),r&&c((0,d.E)())}}function S(e,t,n){return r=>{r({type:s.XDr}),r(C(e,t,!1,!0,null,"",n))}}function I(e,t,n=!1,r=!1,o="",a=null,c=!1){return async(l,d)=>{const g=d(),{session:v,article:{viewStack:m,inSearchBrowse:f},articles:y}=g;let w;if(e===m[m.length-1])w=(0,h._9)(g);else if(y&&y[e]&&y[e].reactionsReply)w=y[e],l({type:s.XDr}),(0===(0,h.jv)(g)||f)&&l((0,u.VC)(`/${p.ZL.id}/article-standalone${(0,_.WC)({hideReactions:r?"true":null,fromClosed:c?"true":null})}`)),l(b(w));else{if(w=await i.Ay.getArticle(v,e,null,!1,a),!w)return;l(b(w)),l({type:s.XDr}),(0===(0,h.jv)(g)||f)&&l((0,u.VC)(`/${p.ZL.id}/article-standalone${(0,_.WC)({hideReactions:r?"true":null,fromClosed:c?"true":null})}`))}w&&l(C(e,t,!1,!0,null,o,n))}}function A(e,t,n=!1,s=null){return async(t,r)=>{const o=r(),{session:a}=o,c=(0,f.Vy)(o);return t(b(await i.Ay.getArticle(a,e,c,n,s)))}}function E(e,t,n=!1,s=!1,r=!1){return async(i,o)=>{const a=(0,f.Vy)(o());i(C(e,t,n,s,a,"",r)),i(A(e,0,n))}}function O(e){return async(t,n)=>{const{session:s}=n(),r=await i.Ay.getArticleByURL(s,e.url);await t(b(r)),await t({type:"CHANGE_ARTICLE_LOCALE",articleId:r.id,articleLocale:e})}}function k(e,t=!0,n=null,s){return(r,o)=>{const{session:a}=o(),c=e.split("#")[1]||"";return i.Ay.getArticleByURL(a,e,s).then((e=>{if(r(b(e)),t)r(C(e.id,null,!0,!0,null,c));else{const{Intercom:t}=window.parent;t("showArticle",e.id,s,n)}})).catch((()=>{const t=(0,l.x3)().createElement("a");t.target="_blank",t.href=e,t.click()}))}}function T(){return(e,t)=>{var n;const r=t();var o;(e({type:s.exZ}),null!=(n=(0,h.hb)(r))&&n.isStandalone&&(0,h.jv)(r)<=1)&&(e((0,u.OE)()),(0,_.CH)((null==(o=(0,y.nW)(r,0))?void 0:o.search)??"").fromClosed&&(e(M(i.Ay)),e((0,w.Mu)())));(0,v.cI)(r)&&e((0,g.J)())}}function x(){return(e,t)=>{var n;const r=t();e({type:s.QyU}),e({type:s.exZ}),null!=(n=(0,h.hb)(r))&&n.isStandalone&&e(M(i.Ay))}}function M(e){return(t,n)=>{const i=n(),l=(0,c.qZ)(i);t({type:s.OZy,closedAt:new Date});const d=(0,f.Vy)(i);if(l){const{user:e,article:t}=i;(0,o.Jr)(e,"closed",a.rk,a.qY,"messenger",{article_id:null==t?void 0:t.activeArticleId})}else d&&t(r(e,{type:"closed_article",payload:{conversationId:d}}));t((0,m.ow)())}}function R(e,t,n,r,i){return(c,l)=>{const{user:d}=l();return(0,o.Jr)(d,"clicked",a.ik,a.qY,"messenger",{reaction_index:n}),c(function(e,t,n,r,i,o="help_center",a=null){return(c,l)=>{c({type:s._aJ,articleId:t,reactionIndex:n});const{session:d}=l(),u=!1;return e.createArticleReaction(d,t,n,u,r,i,o,a)}}(e,t,n,r,i,"messenger","search_browse"))}}function j(){return{type:s.BHe}}},51054:(e,t,n)=>{"use strict";n.d(t,{A5:()=>h,N_:()=>p});var s=n(38221),r=n.n(s),i=n(10377),o=n(69830),a=n(84328),c=n(80607),l=n(68153);function d(e,t=!0){return(n,s)=>{const r=s(),{session:d}=r;return function(e,t){const{user:n}=e,s="searched",r=a.Gm,i=a.mM,c=a.ow;(0,o.Jr)(n,s,r,i,c,{phrase:t})}(r,e),n(function(e,t){return{type:c.PIY,phrase:e,immediate:t}}(e,t)),i.Ay.searchArticles(d,e).then((t=>{n(function(e,t){return{type:c.rPI,searchResults:t.articles,phrase:e}}(e,t))})).catch((()=>{n(function(e){return{type:c.Ss3,phrase:e}}(e))})).finally((()=>{n((0,l.J)())}))}}const u=r()(((e,t)=>e(d(t,!1))),500,{leading:!1,trailing:!0});function p(e){return t=>{u(t,e)}}function h(e,t){return{type:c.gLH,articleId:e,relatedConversationId:t}}},10048:(e,t,n)=>{"use strict";n.d(t,{E3:()=>h,HJ:()=>c,JQ:()=>u,MU:()=>l,PJ:()=>d,RR:()=>p,Xm:()=>g});var s=n(10377),r=n(5104),i=n(71179),o=n(69830),a=n(80607);function c(e){return{type:a.A0F,banners:e}}function l(e){return(t,n)=>{const s=n(),{verticalPadding:o}=(0,i.b)(s),{customizationOverrides:a={}}=s,{isSetByBanner:c}=a;(20===o||c)&&t((0,r.y)({verticalPadding:e}))}}function d(e,t,n){return(r,i)=>{const{session:o}=i();r(function(e,t){return{type:a.o_L,bannerId:e,email:t}}(e,n)),s.Ay.collectEmailFromBanner(o,e,t,n)}}function u(e,t){return(n,r)=>{const{session:i}=r();n({type:a.ccv}),s.Ay.dismissBanner(i,e,t);const o=[];for(const t of r().banners)String(t.banner_id)!==String(e)&&o.push(t);n(c(o))}}function p(e,t,n){return(r,i)=>{const{session:o}=i();r(function(e,t){return{type:a.dxz,bannerId:e,reaction:t}}(e,n)),s.Ay.reactToBanner(o,e,t,n)}}function h(e,t){return async(n,r)=>{const{session:i}=r();try{n(function(e){return{type:a.K$o,bannerViewId:e}}(e));const r=[],o=await s.Ay.fetchBannerView(i,e,t);if(!o)return;r.push(o),n(c(r))}catch(e){(0,o.uo)(`Could not fetch banner_view due to e=${e}`)}}}function g(e){return async(t,n)=>{const{session:r}=n();try{t(function(e){return{type:a.PRm,bannerId:e}}(e));const n=[],i=await s.Ay.fetchBannerPreview(r,e);if(!i)return;n.push(i),t(c(n))}catch(e){(0,o.uo)(`Could not fetch banner_view due to e=${e}`)}}}},26311:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,h:()=>i});var s=n(80607);function r(e){return{type:s.lWO,botIntro:e,createdAt:new Date}}function i(e){return{type:s.lTl,botIntro:e}}},41817:(e,t,n)=>{"use strict";n.d(t,{I8:()=>m,LF:()=>h,lm:()=>g,uz:()=>p,vs:()=>f});var s=n(51054),r=n(69830),i=n(84328),o=n(10377),a=n(80607),c=n(34120),l=n(50084),d=n(72938),u=n(97899);function p(e,t){return n=>{""!==e&&n((0,s.N_)(e)),n({type:a.pnh,phrase:e,hideResultsWithDelay:t})}}function h(e){return(t,n)=>{const s=n(),{user:o}=s,a=i.ow,c=i.EY;(0,r.Jr)(o,"clicked",i.zM,c,a,{collection_id:e});const p=(0,u.oP)(s);p.startsWith(`${d.ZL.path}/collection`)?t((0,l.VC)(`${p}/${e}`)):t((0,l.VC)(`${d.ZL.path}/collection/${e}`))}}function g({object:e,place:t,context:n,metadata:s={}}){return v({action:"clicked",object:e,place:t,context:n,metadata:s})}function v({action:e,object:t,place:n,context:s="messenger",metadata:i={}}){return(o,a)=>{const c=a(),{user:l}=c;(0,r.Jr)(l,e,t,n,s,i)}}function m(){return(e,t)=>{const n=t(),{session:s}=n;return(0,o.W9)(s).then((({articleCollections:t,helpCenterSession:n})=>{e(function(e){return{type:a.B2F,articleCollections:e}}(t)),e((0,c.s0)(n))}))}}function f(e){return{type:a.fYk,value:e}}},9814:(e,t,n)=>{"use strict";n.d(t,{$1:()=>E,$o:()=>P,Bd:()=>k,FK:()=>R,Lf:()=>H,Mw:()=>T,X_:()=>S,YH:()=>B,_Y:()=>U,hI:()=>C,lP:()=>j,ow:()=>z,pU:()=>L,pk:()=>D,qs:()=>x,sC:()=>M,tB:()=>O});var s=n(62193),r=n.n(s),i=n(80607),o=n(50084),a=n(79145),c=n(10377),l=n(95752),d=n(94560),u=n(5994),p=n(82884),h=n(10710),g=n(82238),v=n(97330),m=n(97899),f=n(51662);const y=(e,t)=>Boolean((0,a.f$)(e)(t()));let _,w;const b=e=>({type:i.qHe,checklists:e}),C=e=>({type:i.s30,checklistProgressId:e}),S=(e,t=!0)=>n=>{n(b(e)),t&&n(N())},I=(e,t,n)=>({type:i.C2$,checklistProgressId:t,checklistId:e,taskId:n}),A=()=>({type:i.Igy}),E=()=>({type:i.eKX}),O=(e,t=!1)=>n=>{(0,l.C2)(`Showing checklist progress: ${e}`);const s=t?o.HC:o.VC;return n((e=>({type:i.ubZ,checklistProgressId:e}))(e)),n(s(`/tasks/${p.TA.checklistDetails(e.toString())}`))},k=(e,t,n)=>(s,r)=>{if(!y(t,r))return;const{article:o,tour:a,checklists:c}=r();if((e=>Boolean((0,v.F)()(e())))(r))return(0,l.C2)(`Task already resolving. Resolving taskId ${n} in the background. checklistId: ${e}. checklistProgressId: ${t}`),void s(I(e,t,n));if(null!=o&&o.activeArticleId||null!=a&&a.activeTour||null!=a&&a.isFetching){(0,l.C2)(`Article/tour open. Attempting to queue resolve of task ${n}`);const e=c.find((e=>e.queuedTaskId));return e&&e.queuedTaskId&&((0,l.C2)(`Task already enqueued, marking queued task ${e.queuedTaskId} as resolved. progress: ${e.checklistProgressId}`),s(I(e.id,e.checklistProgressId,e.queuedTaskId)),(0,l.C2)(`Dequeueing task: ${e.queuedTaskId} progress: ${e.checklistProgressId}`),s(A())),(0,l.C2)(`Queueing resolve of task ${n} | progress: ${t}`),void s(((e,t)=>({type:i.RMQ,checklistProgressId:e,taskId:t}))(t,n))}s((0,d.qy)()),s(O(t)),s((e=>({type:i.QKW,taskId:e}))(n)),_&&clearTimeout(_),w&&clearTimeout(w),_=setTimeout((()=>{s(I(e,t,n)),w=setTimeout((()=>{s({type:i.qDy})}),800)}),1200)},T=(e,t)=>(n,s)=>{const{session:r}=s();r&&c.Ay.recordViewedStat(r,e,t)},x=(e,t,n)=>(s,r)=>{if(!e||!t||!n)return;const{session:i}=r();i&&c.Ay.recordTaskView(i,e,t,n)},M=(e,t,n)=>(s,r)=>{if(!e||!t||!n)return;const{session:i}=r();i&&c.Ay.recordActionClick(i,e,t,n)},R=(e,t,n)=>async(s,r)=>{const i=y(t,r),{session:o}=r();if(o&&i){s(I(e,t,n));try{await c.Ay.completeChecklistTask({checklistId:e,checklistProgressId:t,taskId:n,session:o})}catch(t){(0,l.C2)(`Checklist task with id ${n} for checklist id ${e} could not be processed`)}}},j=(e,t)=>async(n,s)=>{const r=y(t,s),{session:o}=s();if(o&&r){n((e=>({type:i.QOB,checklistProgressId:e}))(t));try{await c.Ay.updateChecklistNotificationDetails(o,e,t)}catch(n){(0,l.C2)(`Checklist notification details could not be updated for ${e} with progress ${t}`)}}},P=(e,t)=>async(n,s)=>{const r=y(t,s),{session:i}=s();if(i&&r){n(C(t));try{await c.Ay.dismissChecklistNotification(i,e,t)}catch(n){(0,l.C2)(`Checklist ${e} with progress ${t} could not be dismissed`)}}},z=()=>async(e,t)=>{var n;const{session:s,checklists:i,article:o,tour:a}=t();if(!s)return;if(r()(i))return;if(null!=o&&o.activeArticleId||null!=a&&a.activeTour||(d=null==a||null==(n=a.activeTour)?void 0:n.id)&&((0,u.CH)(null==(p=window)||null==(p=p.parent)?void 0:p.location)||{}).product_tour_id===d)return;var d,p;const h=i.find((e=>e.queuedTaskId));h&&h.queuedTaskId&&(e(k(h.id,h.checklistProgressId,h.queuedTaskId)),e(A()));const g=i.map((e=>e.checklistProgressId));try{await c.Ay.resolveChecklists({checklistProgressIds:g,session:s})}catch(e){(0,l.C2)("Checklists could not be resolved")}},L=()=>e=>{const t=JSON.parse(g.L.get("lastChecklistsBackgroundResolve")),n=(new Date).getTime();t&&t>n-p.Ck?(0,l.C2)("Checklists have already been resolved in the background in the last 24 hours. Returning early."):((0,l.C2)("Checklists have not been resolved in the background in the last 24 hours. Checking again."),e(z()),g.L.set("lastChecklistsBackgroundResolve",n))},N=()=>(e,t)=>{const n=(0,a.IM)()(t());if(!n)return;const s=n.checklistProgressId,r=(0,m.oP)(t()).endsWith(`/tasks/${p.TA.checklistDetails(s.toString())}`);r?(0,l.C2)(`Already viewing progress ${s}, replacing current stack entry`):(0,l.C2)(`Opening unseen checklist progress ${s}`),e((0,d.qy)()),e(O(s,r))},U=()=>async(e,t)=>{const{session:n}=t();try{if(!n)return;const{checklists:t}=await c.Ay.loadChecklists(n);if(r()(t))return;e(S(c.Ay.buildChecklists(t),!1))}catch(e){(0,l.C2)("Checklists could not be loaded")}},B=(e,t,n=!1)=>async(s,r)=>{(0,l.C2)(`Will attempt to fetch checklist ruleset with id ${e}`);const{session:i}=r(),o=await c.Ay.fetchChecklist({session:i,rulesetId:e,triggerMethod:t});if(!o)return;const a=[];n&&s(U());const{checklists:u}=r();u&&a.concat(u),-1===a.indexOf(o)&&a.push(o),s(b(a)),s((0,d.qy)()),s(O(o.checklistProgressId))},D=()=>async e=>{var t;(0,l.C2)("Checking for checklist ID in URL");const n=(0,f.a)(null==(t=window)||null==(t=t.parent)?void 0:t.location,"intercom_checklist_id");n?((0,l.C2)(`Checklist ruleset id ${n} attached in the url`),e(B(n,h.e.shareable_url))):(0,l.C2)("No attached checklist found in the URL")},H=e=>t=>{(0,l.C2)(`Navigating to completion screen for checklist progress: ${e}`),t((0,o.VC)(`/tasks/${p.TA.checklistCompletionScreen(JSON.stringify(e))}`))}},12129:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,E:()=>c});var s=n(69830),r=n(84328),i=n(80607),o=n(51509);function a(e,t=r.jx,n=r.mM){return(a,c)=>{const{context:l,meta:d}=(0,o.c)(c()),{user:u}=c(),p=e?"expanded":"collapsed";let h={};var g;t===r.rk&&(h={article_id:null==(g=c().article)?void 0:g.activeArticleId});(0,s.Jr)(u,p,t,n,l,Object.assign({},h,d)),a({type:i.v$l,shouldExpand:e})}}function c(){return{type:i.UC9}}},28381:(e,t,n)=>{"use strict";n.d(t,{Ak:()=>C,B$:()=>b,Yr:()=>y,bU:()=>m,mN:()=>_});var s=n(38221),r=n.n(s),i=n(10377),o=n(1200),a=n(81170),c=n(73669),l=n(69830),d=n(98099),u=n(95970),p=n(80607);let h=0,g="",v=!1;function m(e,t){return(n,s)=>{const r=s(),i=(0,d.Gm)(r);if(!(i&&"composerSuggestions"in i&&null!=i&&i.composerSuggestions&&null!=i&&i.composerSuggestions.isDismissed))return g=e,f(n,s,t)}}const f=r()((function e(t,n,s){const r=++h,o=g,a=n(),{session:c}=a,{composerSuggestions:u}=(0,d.Gm)(a);if(!u||!u.loading)return v=!1,t(w(!0,s)),(0,i.YG)(c,o,3).then((i=>{if(t(w(!1,s)),t(_(i,s,r)),v&&g!==o)return f.cancel(),void e(t,n,s);const a=Object.assign({},{query:o,conversation_id:s},i);(0,l.A5)("received","composer_smart_suggestions","messenger",{},a)}));v=!0}),1e3,{leading:!1,trailing:!0});function y(e,t,n,s=!1,r,i){return async(l,d)=>{var p;const h=d(),g=(null==t?void 0:t.id)||null,{session:v,newConversation:m,user:f,inboundSuggestions:y,app:{userPartUxStyle:w}}=h,b=null==y||null==(p=y.serverSideSuggestions)?void 0:p.snapshotId,C=(0,a.l)(),S=new Date;if(l(_(null,g)),g){const a={conversationId:g,clientId:C,createdAt:S,body:(0,c.$B)(n.text),composerSuggestionItem:n,uxStyle:w};try{l((0,o.Jn)(g,a,s)),await e.fireComposerSuggestion(v,{conversationId:g,suggestion:n,clientId:C}),l((0,o.bR)(g,a,r,t.lastParticipatingAdmin,i,!1,S,!0))}catch(e){l((0,o.qM)(g,a,e))}}else{const t={clientId:C,body:(0,c.$B)(n.text),createdAt:S,composerSuggestionItem:n,uxStyle:w};try{l((0,o.jW)(t,s));const r=await e.fireComposerSuggestion(v,{conversationId:g,suggestion:n,clientId:C,botIntro:m?m.botIntroId:null,articleUrl:m?m.articleUrl:null,resolutionBotBehaviorVersionId:f?f.resolutionBotBehaviorVersionId:null,snapshotId:b});l((0,o.HN)(r,null,null,S,"resolution_bot_auto_suggest")),l((0,u.p)(r.id,!0))}catch(e){l((0,o.wj)(null))}}}}function _(e,t,n=++h){return{type:p.A99,conversationId:t,composerSuggestions:e,priority:n}}function w(e,t){return{type:p.r_1,conversationId:t,loadingStatus:e}}function b(e){return{type:p.iDd,conversationId:e}}function C(e,t,n=!1){return{type:p.$Ee,suggestionParts:e,createdAt:new Date,persistClientIdForConversationParts:t,fromClientMatch:n}}},96742:(e,t,n)=>{"use strict";n.d(t,{R:()=>p});var s=n(28381),r=n(89048),i=n(27342),o=n(1200),a=n(94560),c=n(73669),l=n(81170);function d(e,t,n,s,r=null,i=!1,d=!1,u,p){return(h,g)=>{const v=g(),{session:m,borderless:f,app:{userPartUxStyle:y}}=v;let _;_="message"===n.partType?null:n.id;const w=function(e){if(e&&e.clientId)return e.clientId;return(0,l.l)()}(r),b=new Date,C=(0,c.$B)(s.text),S={conversationId:t,clientId:w,createdAt:b,body:C,selectedReplyOption:{replyOption:s,quickReplyPart:n},uxStyle:y};return h((0,o.Jn)(t,S,i)),f&&f.conversationId||h((0,a.kI)(t)),e.quickReply(m,t,_,s,w).then((e=>{h((0,o.bR)(t,e,d,u,p,!1,b))})).catch((e=>{h((0,o.qM)(t,S,e))}))}}var u=n(69830);function p(e,t,n,o=!1,a,c,l){return"messenger_suggested_content"===n.type?(0,s.Yr)(e,t,n,o,c,l):"quick_reply"===n.type?(null!=a&&a.replyOptions&&-1===a.replyOptions.map((e=>e.uuid)).indexOf(n.uuid)&&((0,u.oS)("quick_reply_uuid_mismatch"),(0,u.sq)("quick_reply_uuid_mismatch"),(0,u.uo)(`quick_reply_uuid_mismatch partId=${a.id} uuid=${n.uuid}`)),d(e,t.id,a,n)):"predictive_answer"===n.type?(0,r.o)(e,n,o):(0,i.AX)(e,n,o)}},1200:(e,t,n)=>{"use strict";n.d(t,{$G:()=>R,$Z:()=>K,Bh:()=>J,Cw:()=>Y,DX:()=>Z,Ew:()=>U,Fo:()=>M,GO:()=>Q,HN:()=>B,Jn:()=>H,N$:()=>te,QL:()=>x,Ri:()=>se,Sh:()=>ie,bR:()=>$,e8:()=>P,hv:()=>re,jW:()=>N,oT:()=>q,qM:()=>V,sD:()=>F,s_:()=>j,wj:()=>D,xA:()=>X,yQ:()=>ne,yf:()=>z,yk:()=>L});var s=n(56213),r=n(58073),i=n(90933),o=n(8375),a=n(10377),c=n(79536),l=n(12135),d=n(69830),u=n(9770),p=n(75285),h=n(22060),g=n(96742),v=n(84443),m=n(95970),f=n(94560),y=n(75731),_=n(36215),w=n(19326),b=n(37798),C=n(51054),S=n(80607),I=n(98099),A=n(22973),E=n(97899),O=n(25163),k=n(13194),T=n(57909);function x(e,t,n={}){const s=n.isUpdating||!1,r=n.nexusEventCreatedAt||null,o=n.clientAssignedUuid||null,a=n.webSocketEnqueuedAt||null,c=n.customBotState||null,l=n.isOperatorPart||!1,g=n.requestOrigin||null,v={lastAdminPartCreatedAt:n.lastAdminPartCreatedAt||null,lastAdminPartId:n.lastAdminPartId||null};return(n,_)=>{n(function(e,t=!1){return{type:S.LLJ,conversationId:e,isUpdating:t}}(t,s));const{session:w,operator:C,app:I,user:A,conversations:k}=_(),T=Object.assign({selfServeSuggestionsMatch:I.selfServeSuggestionsMatch,clientAssignedUuid:o,requestOrigin:g,nexusConnectionStatus:(0,b.p)(_())},v),x=Date.now();return e.getConversation(w,t,T).then((s=>{var g;const v=k?k.byId[t]:null;if(o&&((0,d.sq)("fetch_conversation_durations",{client_assigned_uuid:o,time_to_fetch_conv_ms:Date.now()-x,is_operator_part:l}),null!=c&&"quick_reply_finished"===c?(0,d.sq)("bot_reply",{client_assigned_uuid:o,time_to_fetch_conv_ms:Date.now()-x}):a&&(0,d.sq)("inbox_to_messenger",{client_assigned_uuid:o,web_socket_enqueued_at:a,time_to_fetch_conv_ms:Date.now()-x,user_is_present:(null==A?void 0:A.isPresent)||!1})),(0,d.ZJ)("inboundSuggestionConversationCreation",null==(g=(0,i.I4)(s))?void 0:g.clientId,{origin:"conversation_refreshed",conversation_id:null==s?void 0:s.id}),n(function(e){return(t,n)=>{const s=n(),{newConversation:r}=s,o=(0,E.oP)(s);try{const n=(0,i.I4)(e),s=n.clientId&&n.clientId===(0,i.I4)(r).clientId,a=!(0,O.sB)(o),c=e.parts.length>=r.parts.length;s&&a&&c&&(t((0,m.p)(e.id,!0)),t(B(e,null,null,Date.now(),"custom_bot")))}catch(e){}}}(s)),n(M(e,s,!1,Date.now())),C){const{lastComposerEvent:e,userCreatedConversationAt:t,lastTriggerTransitionTimestamp:n}=C;(0,u._k)(s,n),(0,u.Wl)(s,t,e)}r&&(0,h.j)()&&(0,d.sq)("newCommentEvent",{duration_ms:(0,p.mG)(r)}),r&&v&&function(e,t){const n=e.parts?e.parts.slice(-1):null;if(!(n&&n[0]&&(0,y.k4)(n[0])))try{e.updatedAt.getTime()===t.updatedAt.getTime()&&(0,d.sq)("realTimeConversationUpdateGotExactCopy",{conversation_id:e.id});(0,i.xf)(e.parts,t.parts,5)&&(0,d.sq)("realTimeConversationUpdateGotExactParts",{conversation_id:e.id})}catch(e){}}(s,v)})).catch((e=>{n(function(e,t){return{type:S.E08,conversationId:e,error:t}}(t,e)),n((0,f.Sy)({forceLocationRedirect:!0}))}))}}function M(e,t,n,s){return o=>{(0,i.Hp)(t).forEach((t=>o((0,r._D)(e,t,!1)))),o(function(e,t=!1,n){return{type:S.fEC,conversation:e,skipNotification:t,createdAt:n}}(t,n,s)),(0,T.A)(t,o)}}function R(e,t){return(n,s)=>{n(function(e){return{type:S.TmQ,conversationId:e}}(t));const{session:r}=s();return e.markConversationAsRead(r,t).then((e=>{var s,r;(n(function(e,t){return{type:S.u0c,conversationId:e,readAt:t}}(t,e.readAt)),null!=e&&null!=(s=e.ticket)&&s.id)&&n((0,w.U3)(null==e||null==(r=e.ticket)?void 0:r.id))})).catch((e=>n(function(e,t){return{type:S.bLk,conversationId:e,error:t}}(t,e))))}}function j(e){return{type:S.yM5,conversationId:e}}function P(e){return{type:S.o_E,conversationId:e}}function z(e,t,n,s){return(r,i)=>{r(function(e,t,n){return{type:S.T4k,conversationId:e,reactionIndex:t,isFromConversation:!!n}}(t,n,s));const{session:o}=i();return e.createReaction(o,t,n).then((()=>r(function(e,t){return{type:S.HTE,conversationId:e,reactionIndex:t}}(t,n)))).catch((e=>r(function(e,t,n){return{type:S.IDz,conversationId:e,reactionIndex:t,error:n}}(t,n,e))))}}function L(e,t,n,s=!1,r=!1,o=null,a=null,c=!1,d){return void 0===t?function(e,t,n=!1,s,r,i){return(o,a)=>{var c;const d=a(),{session:u,app:p,user:h,newConversation:g,app:{userPartUxStyle:f}}=d,y=Object.assign({},t,{uxStyle:f}),{body:w,createdAt:b}=t,S=g?g.botIntroId:null,I=g?g.fromArticleId:null,A=!!g&&g.fromStandaloneArticle;let E=null;return(!i&&!S||i)&&(E=(0,v.$)(d)),o(N(y,n,i,Date.now(),null==(c=E)?void 0:c.welcomeParts)),i&&o(ee()),W(e,u,t,(e=>o(G(t,e)))).then((n=>{var s;const r={blocks:w,createdAt:b,upload:n,email:i,composerSuggestions:E,selfServeSuggestionsMatch:p.selfServeSuggestionsMatch,botIntro:S,resolutionBotBehaviorVersionId:h?h.resolutionBotBehaviorVersionId:null,messengerOpenRequestId:p.messengerOpenRequestId,customAttributes:null==(s=h.customAttributes)?void 0:s.new_conversation_attributes,clientId:t.clientId};return g&&g.articleUrl&&(r.currentUrl=g.articleUrl,r.startedFromSearchBrowse=!0),e.createConversation(u,r)})).then((e=>{var t;return o(B(e,s,r,Date.now())),i&&o((0,l.ab)(h,i)),function(e){_.A.saveDraft(e,_.A.loadDraft(_.A.NEW_CONVERSATION_DRAFT_ID)),_.A.removeDraft(_.A.NEW_CONVERSATION_DRAFT_ID)}(e.id),o((0,m.e)(e.id,{replaceCurrentView:!0,fromArticleId:I,fromStandaloneArticle:A})),!I||S||null!=(t=E)&&t.snapshotId||o((0,C.A5)(I,e.id)),e})).catch((e=>o(D(e))))}}(e,n,s,a,c,d):function(e,t,n,s=!1,r=!1,o,a,c,l){return(d,u)=>{const{session:p,app:{userPartUxStyle:h}}=u(),g=Object.assign({},n,{uxStyle:h}),{body:v,createdAt:m,clientId:f}=n;return d(H(t,g,s,l)),l&&d(ee()),W(e,p,n,(e=>d(G(n,e,t)))).then((n=>{var s,r;const o=(0,I.VN)(u(),t),a=!o||o.isFetching||o.isUpdating?null:(0,i.dF)(o);return e.createComment(p,t,f,v,m,n,l,{lastAdminPartCreatedAt:null==a||null==(s=a.createdAt)?void 0:s.toISOString(),nexusConnectionStatus:(0,b.p)(u()),partIds:null==o||null==(r=o.parts)?void 0:r.map((e=>e.id)),lastAdminPartId:null==a?void 0:a.id,lastAdminPartClientUuid:null==a?void 0:a.clientId})})).then((e=>{null!=e&&e.cmr&&(0,k.wd)(`Conversation missing reply - conversationId: ${t}, appId: ${null==p?void 0:p.appId}`),d($(t,e,r,o,a,c,Date.now()))})).catch((e=>d(V(t,n,e))))}}(e,t,n,s,r,o,a,c,d)}function N(e,t,n=void 0,s=Date.now(),r=[]){return{type:S.XWo,part:e,isRetry:t,timestamp:s,email:n,welcomeParts:r}}function U(){return{type:S.J$S}}function B(e,t,n,s,r){return(i,o)=>{const a=o(),c=(0,E.N7)(a);i(function(e,t,n,s,r,i){return{type:S.DzL,conversation:e,officeHoursResponse:t,isAnnotatedImage:n,createdAt:s,conversationTriggerType:r,onNewConversationPath:i}}(e,t,n,s,r,c))}}function D(e){return{type:S.Itl,reason:e}}function H(e,t,n,s){return{type:S.PzS,conversationId:e,part:t,isRetry:n,email:s}}function $(e,t,n,s,r,i,o,a=!1){return{type:S.HMu,conversationId:e,part:t,isBorderless:n,lastParticipatingAdmin:s,officeHoursResponse:r,isAnnotatedImage:i,createdAt:o,fromMessengerSuggestedContent:a}}function V(e,t,n){return{type:S.U2d,conversationId:e,part:t,reason:n}}function F(e,t,n){const{id:s}=t;return r=>{if(n.selectedReplyOption||n.composerSuggestionItem){let s,i;return n.selectedReplyOption?(s=n.selectedReplyOption.replyOption,i=n.selectedReplyOption.quickReplyPart):s=n.composerSuggestionItem,r((0,g.R)(e,t,s,!0,i))}return r(L(e,s,n,!0))}}function q(e,t,n,s,r=[void 0,void 0]){return n.size>A.uB?Promise.reject("file_size"):e.createUploadPolicy(t,n,...r).then((t=>e.createUpload(t,n,s)))}function W(e,t,n,s){const{file:r,body:i}=n,{width:o,height:a}=null==i?void 0:i[0];return r?q(e,t,r,s,[o,a]):Promise.resolve(void 0)}function G(e,t,n){return{type:S.ufU,conversationId:n,part:e,progress:t}}function J(e,t){return{type:S.T$5,conversationId:e,adminId:t.adminId,firstName:t.firstName,avatarUrl:t.avatarUrl,isBot:t.isBot||!1,hasAI:t.hasAI||!1,showAvatar:t.showAvatar??!0,lastActiveAt:t.lastActiveAt||new Date,loadingStatus:t.loadingStatus,clientId:t.clientId,acknowledgementText:t.acknowledgementText,finAcknowledgmentABTest:t.finAcknowledgmentABTest||!1}}function K({conversationId:e,part:t}){return{type:S.alM,conversationId:e,part:t}}function X(e){return{type:S.Nfb,conversationId:e}}function Q(e,t,n=new Date){return{type:S.IKJ,conversationId:e,composerContent:t,lastActiveAt:n}}function Z(e,t,n,s,r,i,o,a,c){return(d,u)=>{const p=u(),{session:h,user:g,borderless:v}=p;return null!=v&&v.conversationId&&d((0,f.kI)(t)),d(function(e,t,n,s,r,i,o){return{type:S.PWC,conversationId:e,partId:t,identifier:n,value:s,identifierType:r,formType:i,isCustomData:o}}(t,n,s,r,i,o,a)),e.updateConversationForm(h,t,n,s,r,c).then((e=>{d(function(e,t,n,s){return{type:S.ZS9,conversation:e,partId:t,identifier:n,createdAt:s}}(e,n,s,Date.now())),"email"===s&&d((0,l.ab)(g,r))})).catch((e=>{d(function(e,t,n,s){return{type:S.cx4,conversationId:e,partId:t,identifier:n,error:s}}(t,n,s,e))}))}}function Y(e){return(t,n)=>{const r=n().session;let i=(0,a.tH)();(0,s.nr)()&&(i+=`?v=${Math.floor(1e8*Math.random())}`),(0,o.C_)(i,(0,c.z)(r,{conversation_id:e}))}}function ee(){return{type:S.XiA}}function te(e){return{type:S.zl6,composerState:e}}function ne(e,t=!1,n=!1){return{type:S.K20,parts:e,createdAt:new Date,persistClientIdForConversationParts:t,fromClientMatch:n}}function se(e){return{type:S.piI,teamIntro:e}}function re(e){return{type:S.xU3,specialNotice:e}}function ie(e,t){return(n,s)=>{n(function(e){return{type:S.BV_,conversationId:e}}(t));const{session:r}=s();return e.joinConversation(r,t).then((t=>{n(M(e,t,!0,Date.now()))})).catch((e=>n(function(e,t){return{type:S.We8,conversationId:e,error:t}}(t,e))))}}},57909:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,U:()=>c});var s=n(5367),r=n(94560);const i=3e4;let o;function a(e,t){var n;const a=e.parts.slice(-1)[0];if("genericHandoff"!==(null==a?void 0:a.messageType)||null==(n=a.author)||!n.isBot)return;Date.now()-a.createdAt.getTime()>i||("javascript"===a.eventData.handoffType&&o?(setTimeout(o,100),t((0,r.Mu)()),t((0,s.m)("hide"))):"url"===a.eventData.handoffType&&a.eventData.handoffUrl&&window.parent.location.assign(a.eventData.handoffUrl))}function c(e){o=e}},79751:(e,t,n)=>{"use strict";n.d(t,{KO:()=>_,Mv:()=>f,Uw:()=>y,_C:()=>c,lS:()=>l,pK:()=>h,xb:()=>m});var s=n(58073),r=n(90933),i=n(97559),o=n(80607),a=n(10377);function c(){return l(a.Ay,"messengerPrefetchSpaceData")}function l(e,t="unknown",n=1,i=10){return async(o,a)=>{o(d());const c=a(),{session:l,app:h}=c;try{const a=await e.getConversations(l,{source:t,page:n,perPage:i,selfServeSuggestionsMatch:h.selfServeSuggestionsMatch}),c=a.conversations;return c.forEach((t=>{(0,r.Hp)(t).forEach((t=>{o((0,s._D)(e,t))}))})),o(y(c)),o(u(a)),c}catch(e){return o(p(void 0)),[]}}}function d(){return{type:o.ONK}}function u(e){return{type:o.mGX,conversations:e}}function p(e){return{type:o.x06,error:e}}function h(e,t){return(n,s)=>{n(g(t));const{session:r}=s();return e.dismissNotifications(r,t).then((()=>n(v(t))))}}function g(e){return{type:o.sUS,conversationIds:e}}function v(e){return{type:o.ghH,conversationIds:e}}function m(e){return{type:o.yqk,scrollPosition:e}}function f(e){return{type:o.fjm,conversationId:e}}function y(e){return t=>{e&&e.forEach((e=>{(0,r.XN)(e)&&e.read&&t((0,i.p)(e.id))}))}}function _(e){return{type:o.Wfp,openInboundConversationIds:e}}},5104:(e,t,n)=>{"use strict";n.d(t,{E:()=>r,y:()=>i});var s=n(80607);function r(e){return{type:s.WEx,customizationAttributes:e}}function i(e){return{type:s.PYT,customizationAttributes:e}}},97559:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var s=n(80607);const r=e=>({type:s.Prq,conversationId:e})},27342:(e,t,n)=>{"use strict";n.d(t,{AX:()=>h,MG:()=>m,N7:()=>f,_L:()=>g,aN:()=>v});var s=n(17833),r=n.n(s),i=n(1200),o=n(81170),a=n(73669),c=n(69830),l=n(95970),d=n(80607),u=n(84443);const p=r()("intercom.actions.inbound-triggers");function h(e,t,n=!1){return async(s,r)=>{var d;const h=null==(d=r().newConversation)||null==(d=d.composerState)?void 0:d.visible;try{var g;const d=r(),{app:p,session:h,user:v,newConversation:m,app:{userPartUxStyle:f}}=d,y=(0,o.l)(),_={clientId:y,body:(0,a.$B)(t.text),createdAt:new Date,composerSuggestionItem:t,uxStyle:f},w=null==v?void 0:v.userSuppliedEmail,b=(0,u.$)(d),C=(null==b?void 0:b.welcomeParts)||[];s(function(e){if("close-composer"===e.preAction)return(0,i.N$)({visible:!1});throw`Invalid PRE ACTION type for suggestion=${e.preAction}`}(t)),s((0,i.jW)(_,n,w,Date.now(),C)),(0,c.M2)("inboundSuggestionConversationCreation",y,{custom_bot_control_id:null==t?void 0:t.uuid});const S=null==v||null==(g=v.customAttributes)?void 0:g.new_conversation_attributes,I=await e.startConversationFromSuggestion(h,{suggestionUuid:t.uuid,clientAssignedUUID:y,selfServeSuggestionsMatch:p.selfServeSuggestionsMatch,messengerOpenRequestId:p.messengerOpenRequestId,articleUrl:m.articleUrl,customAttributes:S});(0,c.ZJ)("inboundSuggestionConversationCreation",y,{origin:"conversation_created",conversation_id:null==I?void 0:I.id}),s((0,i.HN)(I,null,null,Date.now(),"custom_bot")),s((0,l.p)(I.id,!0))}catch(e){s((0,i.wj)(null)),p(`Couldnt start conversation from suggestion due to e=${e}`)}finally{h&&s((0,i.N$)({visible:!0}))}}}function g(e){return{type:d.YdM,composerSuggestions:e}}function v(e){return{type:d.KU1,composerSuggestions:e}}function m(e){return{type:d.rMw,composerSuggestions:e}}function f(e){return{type:d.D3R,rulesetId:e}}},60990:(e,t,n)=>{"use strict";n.d(t,{JS:()=>a,jd:()=>o,rQ:()=>i});var s=n(10377),r=n(80607);function i(e){const{activeSubscription:t,userHashVerified:n,secureInstallV2:s,messengerEnabledForVisitors:i,messengerEnabledForUsers:o}=e;return{type:r.Bub,activeSubscription:t,userHashVerified:n,secureInstallV2:s,messengerEnabledForVisitors:i,messengerEnabledForUsers:o}}function o(){return{type:r.$oB}}function a(){return(e,t)=>{const{session:n}=t();return s.Ay.disableInstallMode(n).then((()=>{e(o())}))}}},63614:(e,t,n)=>{"use strict";n.d(t,{Fh:()=>c,XX:()=>a,jV:()=>l,nc:()=>u,yQ:()=>p});var s=n(80607);const r=6e3;let i,o;function a(){return(e,t)=>{const{launcherDiscoveryMode:{hasDiscoveredLauncher:n,isLauncherDiscoveryModeOpening:i,isLauncherDiscoveryModeClosing:o}}=t();n||i||o||(setTimeout((()=>{e({type:s.rEX})}),r),d(e))}}function c(){i&&clearTimeout(i),o&&clearTimeout(o)}function l(){return e=>{d(e)}}const d=e=>{i=setTimeout((()=>e({type:s.nnk})),9500),o=setTimeout((()=>e(p())),10200)};function u(){return{type:s.UY5}}function p(){return{type:s.T92}}},5367:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var s=n(80607);function r(e){return{type:s.kff,launcherEnabledOverride:e}}},52762:(e,t,n)=>{"use strict";n.d(t,{Y6:()=>p,G4:()=>u,Xz:()=>h,dT:()=>g});var s=n(80607),r=n(10377),i=n(1200),o=n(94560),a=n(95970),c=n(17833);const l=n.n(c)()("posts:debug");var d=n(69830);function u(e,t){return{type:s.vzP,conversationId:e,partId:t}}function p(){return{type:s.lL}}function h(e,t){return{type:s.R3U,conversationId:e,partId:t}}function g(e){return async(t,n)=>{const{session:s}=n();try{l("Starting post preview, post_id=",e);const n=await r.Ay.fetchPostPreview(s,e),c=(0,r.ys)(n);l("conversation ID",c.id),t((0,i.Fo)(r.Ay,c,!0,Date.now())),l("delivery option",n.conversation_message.delivery_option),"full"!==n.conversation_message.delivery_option&&(t((0,a.p)(c.id)),t((0,o.qy)()))}catch(e){(0,d.uo)(`Could not fetch post due to e=${e}`)}}}},52194:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var s=n(80607);const r=5e3;let i;function o(e,t){return n=>{const o={type:s.BQT,payload:{alertType:e,alertPayload:t}};n(o),i&&clearTimeout(i),i=setTimeout((()=>{n({type:s.oew})}),r)}}},58073:(e,t,n)=>{"use strict";n.d(t,{_D:()=>o});var s=n(44644),r=n(51835),i=n(80607);const o=(e,t,n)=>(i,o)=>{const{messengerCards:u}=o(),p=n&&u&&u[t.uri],h=(0,r.kx)(t);if(i(c(h)),p&&a(p.card)&&!h.canvas.content&&(h.canvas=Object.assign({},h.canvas,p.card.canvas)),h.canvas.content)return void i(l(h,h.canvas.content));const{session:g}=o();return e.getMessengerCanvasWithContent(g,h.canvas.id,h.uri).then((e=>{i(l(h,e.content))})).catch((e=>{i(d(h)),(0,s.jP)(`There was a problem retrieving the live card content: ${e}`)}))},a=e=>!(!e||!e.canvas),c=e=>({type:i.I0U,card:e}),l=(e,t)=>({type:i.UHd,card:e,content:t}),d=e=>({type:i.$Rc,card:e})},5153:(e,t,n)=>{"use strict";n.d(t,{sP:()=>a,z8:()=>l});var s=n(51835),r=n(58073),i=n(52194),o=n(80607);const a=(e,t,n,s)=>(o,a)=>{const{session:u}=a();return o(c(t,n)),e.submitMessengerCardAction(u,t,n,s).then((t=>{o(l(t)),o((0,r._D)(e,t))})).catch((()=>{o(d(t,n)),o((0,i.S)("MessengerCardSubmitError",{cardUri:t,componentId:n,inputValues:s}))}))},c=(e,t)=>({type:o.dIf,cardUri:e,componentId:t}),l=e=>({type:o.ZBz,card:(0,s.kx)(e)}),d=(e,t)=>({type:o.kSy,cardUri:e,componentId:t})},94870:(e,t,n)=>{"use strict";n.d(t,{QK:()=>C,lU:()=>_,gl:()=>A,wv:()=>y,Gn:()=>E,iu:()=>S,J:()=>I,SQ:()=>w});var s=n(5153),r=n(58073),i=n(75021),o=n(427);const a="sheet-loaded";var c=n(51537),l=n(94560),d=n(69830),u=n(52194),p=n(52762),h=n(50084),g=n(80607),v=n(72938);var m=n(97899),f=n(25163);function y(e,t){return(n,s)=>{const{intercomSheet:r}=t.data||{},i=s(),l=(0,c.XS)(i);if(!r)return null;switch(r.type){case a:n(A());break;case o.m$:n(I());break;case o.ho:n(A());break;case o.Nd:n(C("sheet_api_close"));break;case o.ks:if(!r.payload)return;n(S(r.payload.title));break;case o.zR:if(!l)return null;n(I()),n(w(e,r.payload))}}}function _(e,t,n,s,r){return(i,o)=>{const{app:{isMessengerOpen:a},session:c}=o();return a||i((0,l.kB)()),i(function(e,t,n){return s=>{s((0,h.VC)(`/${v.Zh.id}/sheet`)),s({type:g.pSK,url:e,cardUri:t,componentId:n})}}(s,t,n)),i(O()),i((0,p.Y6)()),e.fetchMessengerSheetData(c,t,n,r).then((e=>{i(k(e))})).catch((()=>{i(T())}))}}function w(e,t){return(n,o)=>{const a=o(),{cardUri:l}=(0,c.XS)(a),{session:d}=a;return e.submitSheet(d,l,t).then((t=>{n((0,s.z8)(t)),n((0,r._D)(e,t))})).then((()=>new Promise((e=>setTimeout(e,2*i.i))))).then((()=>{n(A()),n(C("sheet_api_submit"))})).catch((()=>{n((0,u.S)("MessengerSheetSubmitError",{sheetValues:t}))}))}}const b=e=>(0,f.sB)(e)?"conversation":"home-screen";function C(e){return(t,n)=>{var s;const r=n(),i=(0,c.XS)(r),{cardUri:o}=i,a=null==(s=r.messengerCards[o])?void 0:s.card;if(a){const{url:t}=r.messengerSheet,{user:n}=r,s=(0,m.Vy)(r),i=(0,m.oP)(r);!function(e,t,n,s,r,i){d.Ay.buildAndAddMetric(e,"closed","messenger_sheet","messenger",t,{url:n,messenger_card_uri:s,messenger_app_id:r,conversation_id:i})}(n,"sheet_api_submit"===e||"sheet_api_close"===e?e:b(i),t,o,a.messenger_app_id,s)}t({type:g.lpe}),t((0,h.OE)())}}function S(e){return{type:g.wwZ,sheetTitle:e}}function I(){return{type:g.rzE}}function A(){return{type:g.ySz}}function E(e=!1){return{type:g.tXQ,isLoaded:e}}const O=()=>({type:g.OXX}),k=e=>({type:g.Yjr,data:e}),T=()=>({type:g.HVH})},28957:(e,t,n)=>{"use strict";n.d(t,{L2:()=>a,Nr:()=>c,c6:()=>l,yc:()=>d});var s=n(10377),r=n(80607),i=n(75285),o=n(72374);function a(){return(e,t)=>{const n=t();if(!(0,o.Xg)(n))return Promise.resolve();const{session:i}=n;e({type:r.kO0});const a=(0,o.aP)(n);return s.Ay.fetchNewsItemsInNewsfeed(i,a).then((t=>{e(function(e){return{type:r.AVJ,newsItems:e.newsItems,nextPage:e.nextPage}}(t))})).catch((()=>{e(u())}))}}function c(e){return(t,n)=>{const{session:i,user:o}=n();return t({type:r.EbF}),s.Ay.fetchNewsItemsInNewsfeed(i,o.newsfeedId,e).then((e=>{t(function(e){return{type:r.kiz,newsItems:e.newsItems,nextPage:e.nextPage}}(e))})).catch((()=>{t(u())}))}}function l(){return(e,t)=>{const{session:n,user:o}=t();return s.Ay.notifyNewsfeedVisit(n,o.newsfeedId).then((t=>{if(t.last_visit){const s=(0,i.kU)(t.last_visit);s&&e((n=s,{type:r.UOA,newsfeedLastVisit:n}))}var n}))}}function d(e){return{type:r.kp3,newsfeedId:e}}function u(){return{type:r.ZoV}}},12135:(e,t,n)=>{"use strict";n.d(t,{$8:()=>i,NA:()=>a,ab:()=>o,mK:()=>c});var s=n(79751),r=n(80607);function i(e,t){return(n,i)=>{const{session:a}=i();return n(function(e,t){return{type:r.kx,session:e,userSuppliedEmail:t}}(a,t)),e.createOrUpdateUser(a,null,t,void 0,"apiUpdate").then((r=>{var i;n(o(r,t)),(null==(i=r.unreadConversationIds)?void 0:i.length)>0&&n((0,s.lS)(e,"updateUserSuppliedEmail"))}))}}function o(e,t){return{type:r._bS,user:e,userSuppliedEmail:t}}function a(e,t){return(n,s)=>{const{session:i}=s();return n({type:r.x3s}),e.updatePhoneNumber(i,t).then((()=>{n(function(e){return{type:r.fn8,phoneNumber:e}}(t))})).catch((e=>{let t;e&&(t=JSON.parse(e).message),n(function(e){return{type:r.WEi,message:e}}(t))}))}}function c(){return{type:r.Ag7}}},26763:(e,t,n)=>{"use strict";n.d(t,{W:()=>C,X:()=>S});var s=n(68552),r=n.n(s),i=n(79986),o=n(15452),a=n(17833),c=n.n(a),l=n(94560),d=n(79751),u=n(26311),p=n(27342),h=n(1200),g=n(97899),v=n(10377),m=n(64442),f=n(7186),y=n(61291),_=n(16686),w=n(26265);const b=c()("intercom.actions.user"),C=(0,i.S4)("messenger/open",(async(e,t)=>{var n;const s=t.getState(),i=t.dispatch,{session:o,app:a}=s,c=!!(0,m.t)(),C=(0,g.oP)(s);let S;try{if(S=await v.Ay.sendMessengerOpen(o,C,c),!S)throw new Error("Response is null")}catch(e){return b("Request to messenger open failed",e),t.rejectWithValue(e)}if((0,w.gX)(S))return t.rejectWithValue(S.errors);var I;(S.activeBot&&S.activeBot.participant&&((0,f.Ff)(S.activeBot.participant.avatar.square128),S.activeBot.useCustomizedIdentity?(0,f.Ff)(_):(0,f.Ff)(y)),null!=(n=S.newConversationParts)&&n.length)&&i((0,h.yQ)(S.newConversationParts,null==(I=s.app)||null==(I=I.features)?void 0:I.persistClientIdForConversationParts));return S.teamIntro&&i((0,h.Ri)(S.teamIntro)),S.specialNotice&&i((0,h.hv)(S.specialNotice)),S.composerSuggestions&&i((0,p.aN)(S.composerSuggestions)),i((0,u.h)(S.botIntro)),i((0,d.KO)(S.openInboundConversationIds)),i((0,l.Ij)(r()(S.accessToTeammateEnabled,a.accessToTeammateEnabled),r()(S.selfServeSuggestionsMatch,a.selfServeSuggestionsMatch),r()(S.activeAdmins,a.activeAdmins),S.activeBot,!!S.openToNewConversation)),S.composerState&&i((0,h.N$)(S.composerState)),S.privacyPolicyNotice&&i((0,l.ky)(S.privacyPolicyNotice)),S})),S=(0,o.sf)(C)},89048:(e,t,n)=>{"use strict";n.d(t,{o:()=>u,y:()=>p});var s=n(17833),r=n.n(s),i=n(1200),o=n(81170),a=n(73669),c=n(80607),l=n(95970);const d=r()("intercom.actions.predictive-answers");function u(e,t,n=!1){return async(s,r)=>{try{var c;const d=void 0,u=r(),{session:h,newConversation:g,user:v,inboundSuggestions:m,app:{userPartUxStyle:f}}=u,y=null==m||null==(c=m.serverSideSuggestions)?void 0:c.snapshotId,_=(0,o.l)(),w={clientId:_,body:(0,a.$B)(t.text),createdAt:new Date,composerSuggestionItem:t,uxStyle:f};s(p(null)),s((0,i.jW)(w,n));const b=await e.fireComposerSuggestion(h,{conversationId:d,suggestion:t,clientId:_,botIntro:g?g.botIntroId:null,articleUrl:g?g.articleUrl:null,resolutionBotBehaviorVersionId:v?v.resolutionBotBehaviorVersionId:null,snapshotId:y});s((0,i.HN)(b,null,null,Date.now(),"predictive_answer")),s((0,l.p)(b.id,!0))}catch(e){s((0,i.wj)(null)),d(`Couldnt start conversation from suggestion due to e=${e}`)}}}function p(e){return{type:c.Xhr,predictiveAnswersSuggestions:e}}},95970:(e,t,n)=>{"use strict";n.d(t,{e:()=>l,p:()=>d});var s=n(80607),r=n(50084),i=n(97899),o=n(70400),a=n(72938);const c=(e,t=!1)=>{const n={type:s.EmX,conversationId:e};return t&&(n.replaceCurrentView=t),n},l=(e,{replaceCurrentView:t=!1,fromArticleId:n=null,fromStandaloneArticle:s=!1,fallbackToMessages:i=!1}={})=>(t?r.HC:r.VC)("/messages/conversation/"+e+`?fromStandaloneArticle=${s}`+(n?`&fromArticleID=${n}`:"")+(i?"&backFallbackRoute=/messages":""));function d(e,t=!1){return(n,s)=>{var r,d;const u=s(),p=(0,i.oP)(u),h=(0,o.matchPath)(`/${a.Ij.id}/conversation/:conversationId`,p);n(c(e,t));const g=(null==(r=u.routerHistory)?void 0:r.history)||[],v=(null==g?void 0:g.length)||0;let m=!1;(t?v<=1:0===v)&&(m=!0),e.toString()!==(null==h||null==(d=h.params)?void 0:d.conversationId)&&n(l(e,{replaceCurrentView:t,fallbackToMessages:m}))}}},62484:(e,t,n)=>{"use strict";n.d(t,{$N:()=>O,Ay:()=>E,Ep:()=>y,J7:()=>M,Ny:()=>m,S0:()=>C,TD:()=>x,Tu:()=>k,US:()=>_,rt:()=>A,uh:()=>S,vl:()=>w,wj:()=>v,xV:()=>I});var s=n(62193),r=n.n(s),i=n(10377),o=n(67033),a=n(80607),c=n(95271),l=n(20274),d=n(5994),u=n(82238),p=n(10710),h=n(64442),g=n(51662);function v(e){return{type:a.B6d,survey:e}}function m(e,t){return{type:a.H8G,questionId:e,response:t}}function f(e,t,n){return{type:a.uMq,surveyId:e,stepId:t,validationResult:n}}function y(e){return{type:a.a4z,questionId:e}}function _(e){return{type:a.gYX,questionId:e}}function w(e){return{type:a.Fdo,surveyId:e}}function b(e){return{type:a.kKZ,surveyId:e}}function C(e){return(t,n)=>{var s;const r=n(),i=(0,o.IS)(r),a=(0,o.E5)(r),d=null==a||null==(s=a.questions)?void 0:s.find((t=>t.id===e));if(!i||!a||!d)return;const{failedValidation:u,validationError:p}=(0,c.$0)(d.response,d.data);u&&p!==l.h3.required&&t(f(i.id,a.id,{[d.id]:p}))}}function S(e,t,n){return(s,l)=>{const d=l(),u=(0,o.E5)(d),p={};null==u||u.questions.forEach((e=>{const{failedValidation:t,validationError:n}=(0,c.$0)(e.response,e.data);t&&(p[e.id]=n)})),s(f(e,n,p)),r()(p)?s(function(e,t,n){return async(s,r)=>{const c=r(),l=(0,o.VG)(c),d=(0,h.H)();try{const r=await i.Ay.submitSurvey(c.session,e,t,n,l,d);s(b(e));const{complete:o,next_step:u,survey_id:p}=r;if(p!==e)return;s(o&&!u?{type:a.hyi}:function(e,t,n){return{type:a.Wk3,surveyId:e,surveyStep:t,completed:n}}(e,(0,i.Hq)(u),o))}catch(t){s(b(e))}}}(e,t,n)):s(b(e))}}function I(){return(e,t)=>{const n=t(),s=(0,o.E5)(n),r=null==s?void 0:s.questions.find((e=>void 0!==e.validationError&&null!==e.validationError));e(y(r?r.id:void 0))}}function A(e,t){return(n,s)=>{const r=s(),c=(0,o.IS)(r);if(n(function(e){return{type:a.WXp,surveyId:e}}(e)),null!=c&&c.completed)return;const{session:l}=r,d=(0,h.H)();i.Ay.dismissSurvey(l,e,t,d)}}function E(e,t){return async(n,s)=>{(0,c.Sc)(`Will attempt to fetch survey ruleset with id ${e}`);const{session:r}=s(),o=(0,h.H)();n(v(await i.Ay.fetchSurvey({session:r,rulesetId:e,triggerMethod:t,isPreview:o})))}}function O(e,t){return async(n,s)=>{(0,c.Sc)(`Will attempt to fetch survey progress with id ${e}`);const{session:r}=s();n(v(await i.Ay.fetchActiveSurveyProgress({session:r,entityId:e,entityType:t})))}}function k(e){return async(t,n)=>{(0,c.Sc)(`Will attempt to fetch survey with survey_id ${e} for preview`);const{session:s}=n();t(v(await i.Ay.fetchSurveyForPreview({session:s,surveyId:e})))}}function T(e,t){return async(n,s)=>{const{session:r}=s(),{questionId:o,questionResponse:a}=t,d=await i.Ay.fetchSurveyFromSnippet({session:r,surveyId:e}),u=d.steps.filter((e=>e.id===d.activeStepId))[0].questions.filter((e=>e.id===o))[0];if(!u||!a||!(()=>{var e;const t="string"==typeof a?parseFloat(a):void 0,n="string"==typeof a&&(null==(e=u.data.options)?void 0:-1!==e.indexOf(a)),s=void 0!==t&&!isNaN(t)&&(u.data.scaleStart<=t&&t<=u.data.scaleEnd);return u.questionType===l.mB.multiSelect?n:s})())return(0,c.Sc)("Could not find matching question, question response was not provided or question options do not match with response - returning regular survey"),void n(v(d));const p=function(e,t,n){const s=e.steps[0].questions.find((e=>e.id===t)),r=e.steps[0].questions.findIndex((e=>e.id===t));if(s)return(0,c.Sc)(`Will update question response for survey with id ${e.id}`),e.steps[0].questions[r]=Object.assign({},s,{response:s.questionType===l.mB.multiSelect?[n]:n}),e;(0,c.Sc)("Could not find matching question")}(d,o,a);(null==d?void 0:d.format)===l.zR.banner&&p&&((0,c.Sc)(`Will attempt to record answer ${a} and fetch next step`),n(function(e,t,n){return async(s,r)=>{const{session:o}=r(),a=(0,h.H)();(0,c.Sc)(`Will attempt to fetch survey ruleset with id ${e.id}`),s(w(e.id));const{complete:l,next_step:d}=await i.Ay.submitSurvey(o,e.id,e.surveyProgressId,e.steps[0].id,[{question_id:t,response:n}],a),u=Object.assign({},e,{steps:[...e.steps||[],(0,i.Hq)(d)],activeStepId:d.id,completed:l});(0,c.Sc)(`Survey with id ${e.id} has been updated with next step`),s(v(u))}}(p,o,a))),(null==d?void 0:d.format)===l.zR.post&&p&&((0,c.Sc)(`Will mark selected answer ${a}`),n(v(p)))}}function x(){return e=>{var t;(0,c.Sc)("Checking for survey in URL");const n=(0,g.a)(null==(t=window)||null==(t=t.parent)?void 0:t.location,"intercom_survey_id");if(n){const t="survey_triggered_from_url";let s=JSON.parse(u.s.get(t));s=s||[];s.indexOf(n)>-1?(0,c.Sc)(`Survey ruleset id ${n} has already been triggered in the current tab`):((0,c.Sc)(`Survey ruleset id ${n} attached in the url`),e(E(n,p.e.shareable_url)),s.push(n),u.s.set(t,JSON.stringify(s)))}else(0,c.Sc)("No attached survey found in the URL")}}function M(){return e=>{var t,n,s;(0,c.Sc)("Checking for email survey in URL");const r=(0,g.a)(null==(t=window)||null==(t=t.parent)?void 0:t.location,"intercom_email_survey_id"),i=(0,d.CH)(null==(n=window)||null==(n=n.parent)?void 0:n.location).intercom_email_survey_question_response,o=(0,d.CH)(null==(s=window)||null==(s=s.parent)?void 0:s.location).intercom_email_survey_question_id;if(r){const t="survey_triggered_from_email";let n=JSON.parse(u.s.get(t));n=n||[];n.indexOf(r)>-1?(0,c.Sc)(`Survey ruleset id ${r} has already been triggered in the current tab`):((0,c.Sc)(`Survey ruleset id ${r} attached in the url`),e(T(r,{surveyId:r,questionResponse:i,questionId:o})),n.push(r),u.s.set(t,JSON.stringify(n)))}else(0,c.Sc)("No attached survey found in the URL")}}},19326:(e,t,n)=>{"use strict";n.d(t,{U3:()=>d,Vf:()=>a,Xy:()=>u,YK:()=>c,Z2:()=>i,Zw:()=>p,is:()=>g,on:()=>o,uG:()=>l});var s=n(80607),r=n(56129);function i(e,t,n,r){return async(i,o)=>{const{session:a}=o();i(function(e){return{type:s.ATE,ticketTypeId:e}}(t));try{const o=await e.createTicket(a,{ticketTypeId:t,conversationId:r,attributes:n});return i(function(e){return{type:s.m7r,ticketTypeId:e}}(t)),o}catch(e){return i(function(e){return{type:s.hrJ,ticketTypeId:e}}(t)),null}}}function o(e){return async(t,n)=>{const{session:s}=n();try{const n=await e.getTicketTypes(s);return t((0,r.r)(n)),n}catch(e){return null}}}const a=(e,t)=>({type:s._4J,tickets:e,nextPage:t}),c=e=>({type:s.$XJ,ticketsPortalUrl:e}),l=e=>({type:s.SvA,ticket:e}),d=e=>({type:s.n2_,id:e}),u=e=>({type:s.clu,id:e});function p(e,t,n=[],s){return async(r,i)=>{const{session:o}=i();try{const i=await e.getTicketForm(o,t,n,s);return r(h(i)),i}catch(e){return null}}}const h=e=>({type:s.Q4x,ticketForm:e}),g=e=>({type:s.oO8,ticketForm:{ticketTypeId:e}})},86703:(e,t,n)=>{"use strict";n.d(t,{$H:()=>a,VL:()=>o,Ze:()=>d,dH:()=>i,ie:()=>c,n9:()=>u,sc:()=>l});var s=n(80607),r=n(10377);function i({session:e,customAttributes:t}){return async n=>{try{const s=await r.Ay.fetchTooltips({session:e,customAttributes:t});n(a(r.Ay.buildTooltipGroups(null==s?void 0:s.tooltip_groups)))}catch(e){return}}}function o(e,t){return async(n,i)=>{const{session:o}=i();try{await r.Ay.markTooltipViewed(o,e,t),n(function(e){return{type:s.pU5,tooltipId:e}}(e))}catch(e){return}}}function a(e){return{type:s.Pat,tooltipGroups:e}}function c(e){return{type:s.NKX,tooltipId:e}}function l(e){return{type:s.l5n,matches:e}}function d(e){return{type:s.U9i,tooltipGroup:e}}function u(){return{type:s.nv}}},99928:(e,t,n)=>{"use strict";n.d(t,{Dg:()=>R,Z4:()=>T,kx:()=>O,m7:()=>x,G8:()=>C,C5:()=>k,os:()=>z,u7:()=>S,J_:()=>I,fS:()=>P,rK:()=>L,Tc:()=>j});var s=n(62193),r=n.n(s),i=n(69843),o=n.n(i),a=n(95214),c=n(94560),l=n(26656),d=n(5994),u=n(69830),p=n(98707),h=n(10377),g=n(22060);class CheckIfTourReadyToProgress{constructor(e,t){this.whenReady=void 0,this.state=void 0,this.activeStep=void 0,this.nextStep=void 0,this.state=e,this.whenReady=t,this.activeStep=(0,a.QO)(e),this.nextStep=(0,a.sX)(e),this._check()}_check(){return"click"===this.activeStep.progressionBehavior?((0,p.k7)("Click to progress behavior detected."),this._evaluateProgressionByClick()):this.whenReady()}_evaluateProgressionByClick(){let e=0,t=0;this._pageNeedsRedirection()?((0,p.k7)("Step url for the next step is different so the tour will wait 2s for the page to reload"),e=2e3):(0,p.k7)("No page redirection detected."),this._nextStepIsPointer()&&((0,p.k7)("The page is going to wait upto 5s for the next step's selector to become visible in page"),t=5e3),new p.tT(this.nextStep.selector,t,e,this.whenReady)}_pageNeedsRedirection(){return this.activeStep.url!==this.nextStep.url}_nextStepIsPointer(){return!!this.nextStep.selector}}var v=n(82238),m=n(56213),f=n(80607),y=n(9814),_=n(51662);const w=0;function b(e){return(0,a.vn)(e)||(0,a.O7)(e)||(0,a.EP)(e)}function C(){return async(e,t)=>{const n=t(),{session:s}=t(),{id:r,progressId:i}=(0,a.GQ)(n),o=(0,a.sX)(n);if(o){if((0,p.k7)(`Tour with id ${r} is attempting to progress to step ${o}`),!b(n)){e({type:f.xu2});try{await h.Ay.progressTour(s,r,o.id,i)}catch(t){e({type:f.$SZ}),(0,p.k7)(`Could not update tour due to e=${t}`)}}(0,a.O7)(n)&&v.s.set("tour_progress_preview",o.id),new CheckIfTourReadyToProgress(n,(()=>{e(function(e,t){return{type:f.PVg,activeStepId:e,progressId:t}}(o.id,i)),e({type:f.A0e})}))}else window.parent&&window.parent.postMessage("exit_tour_preview","*"),function(e){A("intercom:tourComplete",{tourId:e})}(r),e(function(e){return{type:f.h0t,progressId:e}}(i)),e((0,y.ow)())}}function S(){return async(e,t)=>{const n=t(),s=(0,a.GQ)(n),{session:r}=t(),i=window.parent;if((0,a.O7)(n))v.s.remove("tour_progress_preview"),i.__intercomAssignLocation(s.url);else{e({type:f.P8i});try{(0,p.CZ)(Number(null==s?void 0:s.id));const e=await h.Ay.resetTour(r,null==s?void 0:s.id);e.progress_start_url?(i.__intercomAssignLocation(e.progress_start_url),-1!==e.progress_start_url.indexOf("#")&&setTimeout((()=>{i.__intercomReloadLocation()}),1e3)):(0,p.k7)("Could not redirect Tour due to in valid progress URL")}catch(e){(0,p.k7)(`Could not reset tour due to exception - ${e}`)}}}}function I(){return async(e,t)=>{const n=t(),{session:s}=t(),{id:r,progressId:i}=(0,a.GQ)(n);if((0,a.O7)(n))e(N(""));else{e({type:"SNOOZE_TOUR"});try{const e=l.w.TOUR;h.Ay.snoozeContentObjectInstance(s,e,r,i)}catch(e){(0,p.k7)(`Could not snooze tour due to exception - ${e}`)}}}}function A(e,t){if(!(0,g.j)())return;const n=new CustomEvent(e,{detail:t});window.parent.document.dispatchEvent(n)}function E(e){A("intercom:tourError",{tourId:e})}function O(){return(e,t)=>{const n=t(),{id:s,progressId:r}=(0,a.GQ)(n),{session:i}=t();(0,p.k7)(`Tour with id ${s} marked as complete`),b(n)||(e({type:f.dsE}),h.Ay.completeTour(i,s,r))}}function k(){return(e,t)=>{const n=t(),{id:s,progressId:r}=(0,a.GQ)(n),i=(0,a.QO)(n);var o;if(!b(n))return E(s),h.Ay.recordTourFailure(n.session,s,null==i?void 0:i.id,null==i?void 0:i.selector,null==(o=window)||null==(o=o.parent)||null==(o=o.location)?void 0:o.pathname,r)}}function T(){return e=>{var t;if((0,m.rr)())return;const n=(0,_.a)(null==(t=window)||null==(t=t.parent)?void 0:t.location,"product_tour_id");if((0,p.k7)("Checking if URL has tour attached"),n){const t="tour_triggered_from_url";let s=JSON.parse(v.s.get(t));s=s||[];s.indexOf(n)>-1?(0,p.k7)(`Tour with id ${n} has already been triggered`):((0,p.k7)(`Tour id ${n} attached in the url`),e(x(n)),s.push(n),v.s.set(t,JSON.stringify(s)))}else(0,p.k7)("No attached tour found in the URL")}}function x(e){return async(t,n)=>{if((0,m.rr)())return void(0,p.k7)(`Mobile web browser detected. Will not start tour with id ${e}`);const s=(0,a.GQ)(n()),{session:r}=n();if(s)(0,p.k7)(`Active tour with id ${s.id} already found so tour id ${e} won't be fetched`);else{(0,p.k7)(`Will attempt to fetch tour with id ${e}`);try{t(j(await h.Ay.fetchTour({session:r,tourId:e})))}catch(t){e&&E(e),(0,p.k7)(`Could not fetch or start tour due to e=${t}`)}}}}function M(e,t){return{type:f._jr,tour:e,isPreviewingTour:t}}function R(e){return{type:f.XBk,muted:e}}function j(e){return(t,n)=>{if(r()(e))return;const{user:s}=n(),i=(0,a.GQ)(n());if(!r()(i))return(0,p.k7)("There is already an active tour",i),void(0,p.k7)("The tour won't attempt to start",e);const l=function(e){if(!e.steps)return;const{activeStepId:t,steps:n}=e,s=n.findIndex((e=>parseInt(e.id,10)===parseInt(t,10))),r=n.slice(s).find((e=>!o()(e.selector)));return r?r.selector:void 0}(e);l?((0,p.k7)("Checking if selector of the first active pointer step is visible on the page",e),new p.tT(l,w,0,(n=>{n?((0,p.k7)("Node is visible. Tour is attempting to start",e),t(M(e,!1)),t((0,c.Mu)()),(0,u.Jr)(s,"received","tour","messenger",null,{tour_id:e.id})):((0,p.k7)("Node is not visible. Tour will not start",e),function(e,t){(0,g.j)()&&((0,u.oS)("tour_failed_css_evaluation",{tour_id:e}),(0,u.uo)(`tour_failed_css_evaluation tour_id=${e}`)),(0,u.Jr)(t,"received_but_failed_css_evaluation","tour","messenger",null,{tour_id:e})}(e.id,s),E(e.id))}))):((0,p.k7)("Tour is attempting to start",e),t(M(e,!1)),t((0,c.Mu)()),(0,u.Jr)(s,"received","tour","messenger",null,{tour_id:e.id}))}}function P(e){return t=>{t(M(e,!0)),t((0,c.Mu)())}}function z(e){return async(t,n)=>{const{session:s}=n();try{var r;const n=await h.Ay.fetchTour({session:s,tourId:e}),i=window.parent,o=(0,d.vx)(n.url);n.url&&!(0,p.L2)(o,null==(r=window)||null==(r=r.parent)?void 0:r.location)?i.__intercomAssignLocation(n.url):(t(M(n,!1)),t((0,c.Mu)()))}catch(t){E(e),(0,p.k7)(`Could not fetch or start tour due to e=${t}`)}}}function L(){return(e,t)=>{const n=t();if(b(n))e(N(""));else{const{session:s}=t(),{id:r,progressId:i}=(0,a.GQ)(n);e(N(i)),h.Ay.stopTour(s,r,i)}e((0,y.ow)())}}function N(e){return{type:f.OCd,progressId:e}}},4908:(e,t,n)=>{"use strict";n.d(t,{E$:()=>I,Fb:()=>k,k6:()=>A,hg:()=>E,FD:()=>O,dv:()=>T});var s=n(38221),r=n.n(s),i=n(98333),o=n(94560),a=n(95970),c=n(1200),l=n(97899);var d=n(81170);const u={};var p=n(17833),h=n.n(p),g=n(80607),v=n(52762),m=n(10377),f=n(26311);const y=e=>e.workflowPreview,_=h()("intercom.actions.triggers"),w={"open-messenger-loading-view":o.dk},b={"show-conversation":function(e,t){return async(n,s)=>{if(!(0,l.KS)(s()))return await n((0,c.QL)(e,t.id,{requestOrigin:"Messenger triggers post actions"})),n((0,a.p)(t.id,!0))}}},C={},S=3e3;function I(e,t){return n=>{n(function(e){return{type:g.dJq,trigger:e}}(e)),function(e,t,n){try{const{selector:s,event:i,id:o}=e,a=window.parent.document.querySelector(s),c=r()((()=>function(e,t,n){_(`Handling event (triggerId=${e})`),t(E(e,n))}(o,t,n)),S,{leading:!0,trailing:!1}),l=()=>{_(`${i} event fired from ${s} (triggerId=${o})`),c()};null==a||a.addEventListener(i,l),C[o]={targetElement:a,boundHandler:l},_(`Attached ${i} event handler to ${s}`)}catch(e){_(`Couldnt attach the messenger trigger to the DOM due to e=${e}`)}}(e,n,t)}}function A(e){return(t,n)=>{!function(e,t){try{const{selector:n,event:s}=(0,i.Zg)(e)(t),{targetElement:r,boundHandler:o}=C[e];null==r||r.removeEventListener(s,o),_(`Detached ${s} event handler from ${n}`)}catch(e){_(`Couldn't detach the messenger trigger to the DOM due to e=${e}`)}finally{delete C[e]}}(e,n()),t(function(e){return{type:g.gUy,triggerId:e}}(e))}}function E(e,t){return async(n,s)=>{const r=(0,i.Zg)(e);try{r(s())}catch(t){return void _(`Rejected trigger=${e} as it's no longer present in the store`)}try{await async function(e){return new Promise((t=>{if(u[e])throw new Error(`Multiple events of type=${e} fired`);u[e]=!0,setTimeout((async()=>{u[e]=!1,t()}),0)}))}("messenger-trigger-fire")}catch(t){return void _(`Rejected trigger=${e} as multiple triggers were fired in same tick`)}try{const i=s(),{session:o,app:{userPartUxStyle:a}}=i,l=r(i),u=(0,d.l)(),p={clientId:u,createdAt:new Date,uxStyle:a};n(function(e){return{type:g.hFk,triggerId:e}}(e)),n(function(e){return t=>{const n=w[e.preAction];if("function"==typeof n)return t(n());throw`Invalid PRE ACTION type for trigger=${e.id}`}}(l)),n((0,c.jW)(p,!1));const h=await t.fireTrigger(o,{triggerId:String(e),clientAssignedUUID:u});return n(function(e,t){return n=>{const{action:s,data:r}=t,i=b[s];if(i)return n(i(e,r));throw`Invalid POST ACTION type for trigger_action=${s}`}}(t,h)),n({type:g.kn4}),{success:!0}}catch(e){return n({type:g.rlk}),n((0,c.wj)(null)),_(`Couldnt fire messenger trigger due to e=${e}`),{success:!1}}}}function O(e,t){return async(n,s)=>{var r;const i=s(),{session:o}=i,a=await e.outboundPreview(o,t),l=(0,m.ys)(a.data);n((0,c.Fo)(e,l,!1,Date.now())),n((0,v.G4)(l.id,null==(r=l.parts[0])?void 0:r.id))}}function k(e,t){return async(n,s)=>{const r=s(),{session:i}=r;n(function({workflowInstanceId:e,resolutionBotBehaviorVersionId:t,botIntro:n}){return{type:g.Tc0,workflowInstanceId:e,resolutionBotBehaviorVersionId:t,botIntro:n}}(await e.workflowPreview(i,t))),n((0,o.un)()),n(((e,t)=>{const n=t(),s=y(n);s&&(e(function({workflowInstanceId:e,resolutionBotBehaviorVersionId:t}){return{type:g.HTP,workflowInstanceId:e,resolutionBotBehaviorVersionId:t}}(s)),e((0,f.L)(s.botIntro)))}))}}function T(e){return(t,n)=>{try{const s=n();t(E((0,i.qW)(s).id,e))}catch(e){_("Couldnt retry firing messenger trigger")}}}},27363:(e,t,n)=>{"use strict";n.d(t,{pJ:()=>l,sX:()=>c});var s=n(97899),r=n(1200),i=n(79751),o=n(25163),a=n(80607);function c(e){return(t,n)=>{const c=n(),l=(0,s.oP)(c),d=(0,o.Om)(l);d&&t((0,r.QL)(e,d,{isUpdating:!0,requestOrigin:"Get Unread Conversations"})),t({type:a.Aa9});const{session:u}=c;return e.getUnreadConversations(u).then((n=>{!function(e,t,n){n(function(e){return{type:a.awp,unreadConversations:e}}(e));const{unreadConversationIds:s}=e;s.length>0&&n((0,i.lS)(t,"handleUnreadConversations"))}(n,e,t)})).catch((()=>{}))}}function l(e,t){const n=(0,s.Vy)(e);return n&&-1!==t.indexOf(n)}},34120:(e,t,n)=>{"use strict";n.d(t,{K1:()=>G,oi:()=>N,Ay:()=>ne,lx:()=>q,$z:()=>ee,t9:()=>W,s0:()=>J,Nj:()=>X,FQ:()=>K});var s=n(62193),r=n.n(s),i=n(63614),o=n(94560),a=n(10048),c=n(62484),l=n(86703),d=n(79751),u=n(1200),p=n(64015),h=n(27363),g=n(60990),v=n(95271),m=n(98707),f=n(65358),y=n(69830),_=n(5994),w=n(99928),b=n(81170),C=n(56213),S=n(44644);const I="https://docs.intercom.com/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-on-your-web-product",A={IDENTITY_VERIFICATION_READY_WARNING:`Intercom Messenger warning: Identity Verification is set up correctly but not enabled. For details on how to enable it, see ${I}.`,IDENTITY_VERIFICATION_FAILURE_WITH_USER_ID_WARNING:`Intercom Messenger warning: Your Identity Verification user_hash is invalid. Check that you are generating the user_hash with your user's user_id and your app's secret key. For more details, see ${I}.`,IDENTITY_VERIFICATION_FAILURE_WITH_EMAIL_WARNING:`Intercom Messenger warning: Your Identity Verification user_hash is invalid. Check that you are generating the user_hash with your user's email and your app's secret key. For more details, see ${I}.`};var E=n(51543),O=n(9814),k=n(80607),T=n(28957),x=n(49017),M=n(79145),R=n(95752),j=n(97899),P=n(52762),z=n(27114);const L=(0,n(48012).P)(((e,t,n,s)=>JSON.stringify(function(e,t,n,s){const{email:r,userId:i,userHash:o,intercomUserJwt:a,anonymousId:c}=e;return Object.assign({encryptedPayload:s},{url:t,email:r,userId:i,userHash:o,intercomUserJwt:a,anonymousId:c},n)}(e,t,n,s))),6e4,1);function N(e,t,n,s,o,v,m=!1,_,I="unknown",A,k,M){return async(R,P)=>{let N,{app:q,session:W}=P();if((0,z.R8)(q,n),W=t||W,W.sessionId||(W.sessionId=b.A.generateUUID()),R($(W,n,s,o,v,A,k)),!m&&L(W,n,s,_))return null;try{N=await(0,z.Up)(e,P,s,_,I,A,k,o)}catch(e){const t=(0,f.s3)(e);if("403"===(0,f.eR)(t)&&M)return(0,S.FS)("This domain is not allowed for the Intercom Messenger. Add your domain here: https://app.intercom.com/a/apps/_/messenger"),M(!0),null;t&&t.find((e=>"App Not Found"===e.message))&&(0,S.FS)("The App ID in your code snippet is incorrect. Change it to your App ID found in settings to complete installation: http://app.intercom.com/a/apps/_/settings/web");R(F(e,Y(e)));const n=(0,f.Rp)(e);return n&&R((0,g.rQ)(n)),null}return N.errors?null:(function(e,t,n,s,o){var v;(0,y.Bd)(e),(0,E.vH)(null==(v=e.app)?void 0:v.isOverrideSamplingEnabled),function(e,t){e&&t((0,g.rQ)(e))}(e.installModeConfig,t),Z(e,o,e.installModeConfig),te(e),Q(e),t(V(e)),t((0,x.US)(e.app.home.header)),t((0,T.yc)(e.newsfeedId)),function(e,t){e&&t((0,u.N$)(e))}(e.newConversationComposerState,t),function(e){e((0,w.Z4)()),e((0,c.J7)()),e((0,c.TD)()),e((0,O.pk)())}(t),t((0,p.m)(e.launcherSettings)),U(e,t),function(e,t,n,s){if((null==e?void 0:e.length)>0){const r=n();if((0,h.pJ)(r,e)){const e=(0,j.Vy)(r);t((0,u.QL)(s,e))}else t((0,d.lS)(s,"createOrUpdateUser"))}}(e.unreadConversationIds,t,n,s),function(e,t){!(0,C.rr)()&&e.app.features.launcherDiscoveryMode&&t((0,i.XX)())}(e,t),B(e.activeTour,t),function(e,t){r()(e)||t((0,a.HJ)(e))}(e.banners,t),function(e,t){r()(e)||t((0,l.$H)(e))}(e.tooltipGroups,t),D(e.survey,t),H(e.checklists,t,n)}(N,R,P,e,W),N)}}function U(e,t){const{notificationLinkConversationId:n,notificationLinkWithoutConversation:s}=e;n&&t((0,o.Vv)(n)),s&&(t((0,o.Sy)()),t((0,o.qy)()),t((0,P.Y6)()))}function B(e,t){var n,s;const i=null==(n=(0,_.CH)(null==(s=window)||null==(s=s.parent)?void 0:s.location))?void 0:n.product_tour_id;r()(e)||(r()(i)?t((0,w.Tc)(e)):i===e.id?((0,m.k7)(`Active tour with id ${e.id} is the same as the query params so starting tour`),t((0,w.Tc)(e))):(0,m.k7)(`Tour with id ${e.id} received from ping won't start because there is a tourId in the query params`))}function D(e,t){var n,s,i,o;const a=(null==(n=(0,_.CH)(null==(s=window)||null==(s=s.parent)?void 0:s.location))?void 0:n.intercom_survey_id)||(null==(i=(0,_.CH)(null==(o=window)||null==(o=o.parent)?void 0:o.location))?void 0:i.intercom_email_survey_id);r()(e)||(r()(a)?t((0,c.wj)(e)):parseInt(a)===e.rulesetId?((0,v.Sc)(`Active survey with id ${e.id} is the same as the query params so starting survey`),t((0,c.wj)(e))):(0,v.Sc)(`Survey with id ${e.id} received from ping won't start because there is a Survey in the query params`))}function H(e,t,n){var s,i;const o=null==(s=(0,_.CH)(null==(i=window)||null==(i=i.parent)?void 0:i.location))?void 0:s.intercom_checklist_id;if(!r()(e)){t((0,O.X_)(e,r()(o)));const s=n(),i=(0,M.gH)(s);(null==i?void 0:i.length)>0?(0,R.Om)(s.checklists)?((0,R.C2)("Checklists received from ping are recently active - resolving as normal."),t((0,O.ow)())):((0,R.C2)("Checklists received from ping are not recently active - resolving with throttling."),t((0,O.pU)())):(0,R.C2)("Checklists received from ping do not contain auto-resolve rules that require background resolving.")}}function $(e,t,n,s,r,i,o){return{type:k.P2I,session:e,url:t,customAttributes:n,anonymousSessionDuration:s,customizationAttributes:r,internal:i,isIntersectionBooted:o}}function V(e){return{type:k.Rwq,user:e}}function F(e,t=!1){return{type:k.oJu,error:e,isIdentityVerificationError:t}}function q(e=!0){return{type:k.qjS,clearCookies:e}}function W(){return{type:k.og8}}function G(e){return{type:k.oK3,anonymousSession:e}}function J(e){return{type:k.J_7,helpCenterSession:e}}function K(){return{type:k.niX}}function X(){return{type:k.NUz}}function Q(e){const t=e.cdasBreachingLimit;if(!t||!t.length)return;const n=1===t.length?"attribute":"attributes",s=t.join(", ");(0,S.FS)(`You have reached your CDA limit and we were not able to create or update the following ${n}: ${s}. For more details, see: https://www.intercom.com/help/configure-intercom/customize-intercom-to-be-about-your-users/send-custom-user-attributes-to-intercom`)}function Z(e,t,n={}){const{userHash:s,userId:r,email:i}=t,{secureInstallV2:o,secureInstallV3:a}=n;if(o||a){if(!r&&!i)return}else if(!s)return;const c=function(e,t){if(e.identityVerificationReady)return A.IDENTITY_VERIFICATION_READY_WARNING;if(!e.identityVerified&&t.userId)return A.IDENTITY_VERIFICATION_FAILURE_WITH_USER_ID_WARNING;if(!e.identityVerified&&!t.userId)return A.IDENTITY_VERIFICATION_FAILURE_WITH_EMAIL_WARNING;return null}(e,t);c&&(0,S.FS)(c)}function Y(e){const t=(0,f.s3)(e);if(!t)return!1;let n=!1;return t.forEach((e=>{-1!==e.code.indexOf("identity_verification")?(n=!0,(0,S.jP)(`Intercom Messenger error: ${e.message} For more details, see ${I}.`)):-1!==e.code.indexOf("intercom_user_jwt")&&(n=!0,(0,S.jP)(`Intercom Messenger JWT error: ${e.message} For more details, see ${I}.`))})),n}function ee(e){return{type:k.oP9,anonymousSession:e.anonymous_session,sessionExpiry:e.session_expiry}}function te(e){e.jwtExpired&&(0,S.FS)(`Intercom Messenger JWT error: JWT has expired. For more details, see ${I}.`)}const ne={createOrUpdateUser:N,createOrUpdateUserRequest:$,createOrUpdateUserSuccess:V,createOrUpdateUserFailure:F,destroySession:q,anonymousSessionChanged:G,userIsPresent:K,userIsAbsent:X,createEvent:function(e,t,n){return(s,r)=>{const{session:i}=r();if(i)return s({type:k.O90,name:t,metadata:n}),e.createEvent(i,t,n).then((t=>{if(t){const{banner:n,customBot:r,survey:i,tour:o}=t;n?s((0,a.HJ)([n])):o?s((0,w.Tc)(o)):i&&s((0,c.wj)(i)),r&&s((0,u.Fo)(e,r))}return s(function(e){return{type:k.cs2,response:e}}(t)),t})).catch((()=>s({type:k.yDr})))}},isDuplicateCreateOrUpdateUserRequest:L,checkCdasBreachingLimit:Q,checkIdentityVerificationInstall:Z,checkIdentityVerificationError:Y,extendAnonymousSessionSuccess:ee,checkJwtExpiryStatus:te}},27114:(e,t,n)=>{"use strict";n.d(t,{Up:()=>l,XQ:()=>p,R8:()=>u});var s=n(69830),r=n(75285);const i=function(e){let t;return(...n)=>{const s=()=>e(...n);return t=Promise.resolve(t).then(s,s),t}},o=function(e,t,n,i){let o=0,a=0;return(...c)=>{const l=r.Ay.now();return l-a>=n&&(o=0,a=l),o++,o<=t?e(...c):((0,s.oS)(`rate_limiting.${i}`),(0,s.sq)(`rate_limit_check_${i}`,{rate_limited:!0,rate_limit_count:n},!0),Promise.reject("rate_limited_update"))}},a=30,c=18e5;let l,d;function u(e,t){(!l||d!==t&&e&&e.features&&e.features.singlePageAppRateLimiting)&&p(t)}function p(e){!function(e,t,n){d=n,l=function(e,t,n,s){return i(o(e,t,n,s))}(((e,t,n,r,i,o,a,c)=>{const{session:l}=t();return e.createOrUpdateUser(l,n,void 0,r,i,o,a,(0,s.id)(),c)}),e,t,"user_update")}(a,c,e)}},56213:(e,t,n)=>{"use strict";n.d(t,{AM:()=>d,Ar:()=>v,Ay:()=>_,G5:()=>o,I1:()=>a,ID:()=>g,U0:()=>f,Wd:()=>m,cT:()=>y,nr:()=>l,rr:()=>c,un:()=>p,w3:()=>u});const s=/iphone|ipad|ipod|android|blackberry|opera mini|iemobile/i,r=[".intercom-lightweight-app-launcher",".intercom-launcher-frame","#intercom-container",".intercom-messenger",".intercom-notifications"];function i(e){try{if(!(e in window))return!1;const t=window[e];return null!==t&&(t.setItem("intercom-test","0"),t.removeItem("intercom-test"),!0)}catch(e){return!1}}function o(){return i("localStorage")}function a(){return!!(window.FileReader&&window.File&&window.FileList&&window.FormData)}function c(){const e=u().userAgent;return!!e&&(null!==e.match(s)&&void 0!==window.parent)}function l(){const e=u().vendor||"",t=u().userAgent||"";return 0===e.indexOf("Apple")&&/\sSafari\//.test(t)}function d(e=window){const t=u(),n="Google Inc."===t.vendor&&!e.chrome;return""===t.languages&&(t.webdriver||n)}function u(){return navigator||{}}function p(e=u().userAgent){return/iPad|iPhone|iPod/.test(e)&&!window.MSStream}function h(){var e;return(null==(e=function(){if(p()){const e=u().appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return{major:parseInt(e[1],10),minor:parseInt(e[2],10),patch:parseInt(e[3]||0,10)}}return null}())?void 0:e.major)>=15}function g(){const e=u().userAgent,t=p(e),n=!!e.match(/WebKit/i);return t&&n&&!e.match(/CriOS/i)&&h()}function v(){return r.some((e=>{const t=window.parent.document.querySelector(e);if(t){const e=window.getComputedStyle(t);return null===e||"none"===e.display}}))}const m=()=>"ontouchstart"in window||navigator.maxTouchPoints>0,f=()=>window.navigator.appVersion.indexOf("Mac")>=0,y=()=>"ResizeObserver"in window,_={hasXhr2Support:function(){return"XMLHttpRequest"in window&&"withCredentials"in new XMLHttpRequest},hasLocalStorageSupport:o,hasSessionStorageSupport:function(){return i("sessionStorage")},hasFileSupport:a,hasAudioSupport:function(){const e=document.createElement("audio");return!!e.canPlayType&&!!e.canPlayType("audio/mpeg;").replace(/^no$/,"")},hasVisibilitySupport:function(){return void 0!==document.hidden||void 0!==document.mozHidden||void 0!==document.msHidden||void 0!==document.webkitHidden},messengerIsVisible:function(){return r.some((e=>{const t=window.parent.document.querySelector(e);if(t){const e=t.getBoundingClientRect();return e&&e.width>0&&e.height>0}}))},messengerHasDisplayNoneSet:v,isMobileBrowser:c,isIOSFirefox:function(){return!!u().userAgent.match("FxiOS")},isFirefox:function(){return!!u().userAgent.match("Firefox")},isSafari:l,isElectron:function(){const e=u().userAgent||"",t=window.parent||{},n=t.process&&t.versions&&t.versions.electron;return/\sElectron\//.test(e)||n},isIE:function(){const e=u().userAgent||"";return e.indexOf("MSIE")>0||e.indexOf("Trident")>0},isEdge:function(){return(u().userAgent||"").indexOf("Edge")>0},isNativeMobile:function(){return u().isNativeMobile},isChrome:function(){const e=window.chrome,t=u().vendor,n=u().userAgent.indexOf("OPR")>-1,s=u().userAgent.indexOf("Edge")>-1;return!!u().userAgent.match("CriOS")||null!=e&&"Google Inc."===t&&!1===n&&!1===s},isIOS:p,isIOS15Safari:g,isAndroid:function(e=u().userAgent){return e&&e.toLowerCase().indexOf("android")>-1},isMacOS:f}},75418:(e,t,n)=>{"use strict";function s(e){return void 0!==e.AndroidHost?e.AndroidHost:void 0!==e.iOSHost?e.iOSHost:void 0}function r(e){return void 0!==e.AndroidHost?"android":void 0!==e.iOSHost?"ios":void 0}n.d(t,{V_:()=>s,uE:()=>r})},51531:(e,t,n)=>{"use strict";function s(e){return{imageUrl:e.image_url,profileUrl:e.profile_url,provider:e.provider,username:e.username}}n.d(t,{A:()=>s})},81994:(e,t,n)=>{"use strict";function s(e){if(e&&0!==e.trim().length)return e}n.d(t,{A:()=>s})},27606:(e,t,n)=>{"use strict";n.d(t,{on:()=>b,aJ:()=>ie,sU:()=>re,Bo:()=>E,rm:()=>B,X4:()=>N,yW:()=>U,vk:()=>he,PS:()=>V,KV:()=>ae,Fy:()=>G,Lo:()=>O,o8:()=>W,kG:()=>L,KW:()=>ge,kN:()=>$,te:()=>H,$L:()=>le,eC:()=>q,NU:()=>x,Gn:()=>ee,bY:()=>A,IF:()=>I,Ku:()=>C,Pc:()=>k,I5:()=>S,HC:()=>de,Hd:()=>X,Hq:()=>Q,vJ:()=>D,J1:()=>j,SY:()=>R,Hf:()=>K,Um:()=>J,nf:()=>te,Xl:()=>T,Qn:()=>pe,oF:()=>ce});var s=n(56170),r=n.n(s),i=n(42877),o=n.n(i),a=n(62193),c=n.n(a),l=n(79772),d=n(75285),u=n(98707),p=n(1572),h=n(29500),g=n(82238),v=n(28065),m=n(51531),f=n(81994),y=n(97160),_=n.n(y);function w(e){if(!e||!function(e){if(!e)return!1;const t=(new Option).style;return t.color=e,!!t.color}(e))return;const t=_()({primaryColor:e});return null==t?void 0:t.header_title_color}const b="viewed-tooltips";function C(e,t,n,s,r,i=null,o=!1,a=null,c=null,d=!1,u=null,p=null){const h={created_at:t,self_serve_suggestions_match:o};s&&(h.client_assigned_uuid=s),r&&(h.email=r),i&&(h.composer_suggestions=JSON.stringify(i.suggestions)),a&&(h.bot_intro=a),c&&(h.resolution_bot_behavior_version_id=c),d&&(h.search_browse=!0),null!=i&&i.snapshotId&&(h.snapshot_id=i.snapshotId,h.composer_disabled=i.composerDisabled),u&&(h.messenger_open_request_id=u);const g=e[0];if("paragraph"===g.type)e=e.map((e=>({type:e.type,text:(0,l.x)(e.text)}))),h.blocks=JSON.stringify(e);else if("image"===g.type)n&&(g.url=n.publicUrl),h.blocks=JSON.stringify(e);else if("attachmentList"===g.type&&n){const t=g.attachments[0];t.id=n.id,t.url=n.publicUrl,t.contentType=n.contentType,h.blocks=JSON.stringify(e)}return p&&(h.custom_attributes=JSON.stringify(p)),h}function S(e,t,n){return{client_assigned_uuid:n,conversation_part:JSON.stringify({id:e,reply_option:t})}}function I(e){return e.map((e=>A(e)))}function A(e){var t,n,s;return{id:e.id,title:e.title,description:e.description,publishedAt:e.published_at?(0,d.kU)(e.published_at):void 0,coverImageUrl:e.cover_image_url,author:{name:null==(t=e.author)?void 0:t.name,firstName:null==(n=e.author)?void 0:n.first_name,avatar:{square128:null==(s=e.author)?void 0:s.avatar}},blocks:e.blocks||null,labels:e.labels||null,reactionsReply:e.reactions_reply?de(e.reactions_reply):void 0}}function E(e){return{id:e.id,title:e.title,blocks:e.blocks||null,reactionsReply:e.reactions_reply?de(e.reactions_reply):void 0}}function O(e){return e?{banner_view_id:e}:{}}function k(e){return e?{progress_id:e}:{}}function T(e,{type:t,payload:{composerHasContent:n,executionTime:s}={}}){return{type:t,payload:JSON.stringify({composer_has_content:n,execution_time:s}),meta:JSON.stringify({conversation_id:e})}}function x(e){return M(e)||!e.last_participating_admin?void 0:re(e.last_participating_admin)}function M(e){if(e.conversation_message.team_author){return 0===(e.conversation_parts?e.conversation_parts.conversation_parts||e.conversation_parts:[]).filter((e=>e.author.is_admin&&!e.author.is_bot)).length}return!1}function R(e){return e.tickets?{tickets:e.tickets.map((e=>j(e))),nextPage:e.next_page}:{tickets:[],nextPage:null}}function j(e){var t;const n=function(e){return e.attributes.reduce(((e,t)=>Object.assign({},e,{[t.name]:Object.assign({},t,{value:P(t.type,t.value)})})),{})}(e),s={id:e.id,publicTicketId:e.public_ticket_id||e.ticket_id,conversationId:e.conversation_id,name:e.title,attributes:n,status:e.current_status?e.current_status.type:null,statusLabel:null==(t=e.current_status)?void 0:t.title,history:z(e),emoji:e.emoji,assignee:re(e.assignee),ticketTypeId:e.ticket_type_id,ticketTypeName:e.ticket_type_name,statusUpdatedAt:(0,d.kU)(parseInt(e.latest_status_updated_at)),read:e.read,readAt:e.read_at,inlineStatusHeaderText:e.inline_status_header_text};var r;return e.conversation_button&&(s.conversationButton=function(e){if(!e.conversation_button)return;return{text:e.conversation_button.text,icon:e.conversation_button.icon}}(e)),e.sharing?s.sharing=(r=e.sharing)?{canJoin:r.can_join,info:r.info}:null:s.sharing=null,s}function P(e,t){return"files"===e?t.map(p.K):t}function z(e){const t=e.status_history||e.status_list;return e.current_status&&t.length?t.map((e=>({relativeTime:(0,h.iw)((0,d.kU)(parseInt(e.created_date))),isCurrent:e.is_current_status,title:e.title,type:e.type,detail:e.status_detail}))):[]}function L(e,t={}){if(e)return t.overrideComposerVisibility&&(e.visibility=t.overrideComposerVisibility),{visibility:e.visibility,visible:"hidden"!==e.visibility,disabled:"visible_and_disabled"===e.visibility||"hidden"===e.visibility,customBotActive:e.custom_bot_active,workflowActive:e.workflow_active,selfServeSuggestionsEnabled:e.self_serve_suggestions_enabled,version:e.version,placeholder:e.placeholder}}function N(e){return{id:e.id,name:e.name,description:e.description,sections:e.sections,articleCount:e.article_count,articles:e.articles,children:e.children.filter((e=>e.articles.length>0||e.children.length>0)).map(N),authors:e.authors}}function U(e){return{articles:e.articles.map((e=>{var t,n,s;const i={id:e.id,url:e.url};var o;if(null!=(t=e.highlight)&&t.title)i.title=null==(o=e.highlight)||null==(o=o.title)?void 0:o[0];else if(null!=(n=e.highlight)&&n.summary){var a;i.title=e.title,i.summary=r()(null==(a=e.highlight)?void 0:a.summary)||e.summary}else if(null!=(s=e.highlight)&&s.body){var c;i.title=e.title,i.summary=r()(null==(c=e.highlight)?void 0:c.body)||e.summary}else i.title=e.title;return i}))}}function B(e){return{available_locales:e.available_locales,contentId:e.content_id,description:e.description,id:e.id,reactionsReply:e.reactions_reply?de(e.reactions_reply):void 0,title:e.title,updatedAt:e.updated_at,url:e.url,alexandriaData:e.alexandria_data,publicUrl:e.public_url,helpCenterId:e.help_center_id,relatedConversationId:e.related_conversation_id?e.related_conversation_id:null}}function D(e){return M(e)?{admins:(e.conversation_message.team_author.last_active_admins||[]).map(re),name:e.conversation_message.team_author.name}:void 0}function H(e){return e?{container:e.container,borderColors:e.border_colors}:null}function $(e){var t;return e?{title:e.title,suffix:e.suffix,avatars:null==(t=e.avatars)?void 0:t.map(ae),timestamp:e.timestamp}:null}function V(e){return{admins:e.authors?e.authors.map(F):[],avatar:ae(e.avatar),firstName:q(e.first_name),id:e.id,initial:e.initial,isAdmin:e.is_admin,isBot:e.is_bot,isSelf:e.is_self,type:e.type.toLowerCase()}}function F(e){return{avatar:ae(e.avatar),firstName:q(e.first_name)}}function q(e){return e||""}function W(e=[]){return e.map(G)}function G(e){const t=e.from?re(e.from):null;return Object.assign({},e,{from:t,reaction_set:(e.reaction_set||[]).map(ue)})}function J(e){return e?e.map(K):[]}function K(e){const t=JSON.parse(g.L.get(b))||[];return{id:e.id,displayBehavior:e.display_behavior||0,tooltips:e.tooltips.map((n=>function(e,t,n){return Object.assign({},e,{isOpen:!1,isMatched:c()(e.url_predicates),isViewed:-1!==n.indexOf(e.id),tooltipGroupId:t.id,customizationOptions:t.customization_options||v.n})}(n,e,t))).map(p.K)}}function X(e){if(!e)return;const t=e.sender?re(e.sender):null;return{id:e.id,rulesetId:e.ruleset_id,format:e.format,sender:t,surveyProgressId:e.survey_progress_id,steps:e.steps.map(Q),stepCount:e.step_count,activeStepId:e.steps[0].id,dismissed:!1,hidden:!1,completed:!1,customizationOptions:Object.assign({},(0,p.K)(e.customization_options)),dismissible:e.dismissible,showProgressBar:e.show_progress_bar}}function Q(e){return{id:e.id,actions:e.actions.map(Y),blocks:e.blocks,stepType:e.step_type,questions:e.questions.map(Z),customButtonText:e.custom_button_text}}function Z(e){return{id:e.id,blocks:e.blocks,data:(0,p.K)(e.data),questionType:e.question_type,response:e.response||void 0}}function Y(e){return{id:e.id,actionType:e.action_type,webUrl:e.web_url,actionTitle:e.action_title}}function ee(e){return{id:e.id,event:e.event,preAction:e.messenger_pre_action,selector:e.selector}}function te(e){return e?((0,u.k7)("Tour received",e),{id:e.id.toString(),activeStepId:e.active_step_id.toString(),author:e.author?V(e.author):null,steps:(t=e.steps,o()(t,["order"],["asc"])).map((e=>{return{id:(t=e).id.toString(),blocks:t.blocks,order:t.order,progressionBehavior:se(t.progression_behavior),placement:t.placement,pointerSize:t.pointer_size,selector:t.selector,selectors:t.selectors,url:t.url,buttonText:t.button_text,urlButtonValue:t.url_button_value};var t})),title:e.title,url:e.url,restartable:e.restartable,snoozeable:e.snoozeable,endTourAnimation:e.end_tour_animation,progressStartUrl:e.start_url,progressId:e.progress_id,buttonColor:e.button_color,backgroundColor:e.background_color,tourTextColorOverride:w(e.background_color),customHeaderText:e.custom_header_text,customFont:e.custom_font,snoozeButtonText:e.snooze_button_text,restartButtonText:e.restart_button_text}):{};var t}const ne=["manual","click","type","hover"];function se(e){return ne[e]}function re(e){return e?{avatar:ae(e.avatar),calendarUrl:(0,f.A)(e.calendar_url),firstName:q(e.first_name),initial:e.initial||e.avatar.initials,intro:(0,f.A)(e.intro),isActive:e.is_active,isAdmin:!0,isBot:e.is_bot,isSelf:!1,jobTitle:(0,f.A)(e.job_title),lastActiveAt:(0,d.kU)(e.last_active_at),location:e.location?oe(e.location):void 0,socialAccounts:(e.social_accounts||[]).map(m.A),customizedIdentity:e.customized_identity,hasAI:e.has_ai}:null}function ie(e){if(e)return{participant:re(e.participant),hasAI:e.has_ai,useBotUX:e.use_bot_ux,useCustomizedIdentity:e.has_customized_identity,streamingPart:e.streaming_part?{uxStyle:H(e.streaming_part.ux_style),metadata:$(e.streaming_part.metadata)}:null}}function oe(e){return{cityName:e.city_name,countryCode:e.country_code,countryName:e.country_name,timezoneOffset:e.timezone_offset}}function ae(e){let t;return e.square_128?t=e.square_128:e.image_urls&&e.image_urls.square_128&&(t=e.image_urls.square_128),{square128:t,shape:e.shape,label:e.label,initials:e.initials}}function ce(e){return e}function le(e,t){return"participant_added"!==t&&"participant_removed"!==t||(e.participant.avatar=ae(e.participant.avatar)),e||{}}function de(e){return{reactionIndex:e.reaction_index,reactionSet:(e.reaction_set||[]).map(ue)}}function ue(e){return{emoji:e.unicode_emoticon,index:e.index}}function pe(e){return{showLastPartMeta:(null==e?void 0:e.show_last_part_meta)??!0}}function he(e){return{conversationMediaEnabled:null==e?void 0:e.conversation_media_enabled,conversationFilesEnabled:null==e?void 0:e.conversation_files_enabled,conversationGifsEnabled:null==e?void 0:e.conversation_gifs_enabled,conversationUploadExtensions:null==e?void 0:e.conversation_upload_extensions}}function ge(e){if(!e)return null;const t={merged_into_conversation:"NewConversation"}[e.reason];return Object.assign({},e,{icon:t})}},10377:(e,t,n)=>{"use strict";n.d(t,{r0:()=>D,wj:()=>Q,ys:()=>J,Hq:()=>f.Hq,Ay:()=>ye,qV:()=>fe,YG:()=>V,tH:()=>ve,W9:()=>H});var s=n(62193),r=n.n(s),i=n(69607),o=n(81170),a=n(79536),c=n(22973),l=n(75285),d=n(95271),u=n(95752),p=n(98707),h=n(75418),g=n(1572),v=n(69830);const m=e=>e&&e.map((e=>{const t=(0,g.K)(e);return t.publishedAt&&(t.publishedAt=new Date(t.publishedAt)),t.latestInteractionAt&&(t.latestInteractionAt=new Date(t.latestInteractionAt)),t}));var f=n(27606),y=n(26265);function _(e){if(e)return{type:y.Bn[e.avatar_type],avatars:e.avatars.map((e=>({label:e.label,initials:e.initials,square128:e.image_urls.square_128,shape:e.shape,imageUrl:e.image_url})))}}var w=n(51531),b=n(81994);const C=["avatar_details"];function S(e){var t;if(e)return{useBotHeader:e.use_bot_header,displayActiveIndicator:e.display_active_indicator,hideGreeting:e.hide_greeting,collapsed:(t=e.collapsed,{title:t.title,subtitle:t.subtitle,icon:t.icon,avatarGroup:_(t.avatar_details)}),expanded:I(e.expanded)}}function I(e){return e?{title:e.title,body:e.body,socialAccounts:e.social_accounts.map(w.A),calendarUrl:(0,b.A)(e.calendar_url),footer:e.footer.map((e=>{let{avatar_details:t}=e,n=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(e,C);return Object.assign({},n,{avatarGroup:_(t)})})),avatarGroup:_(e.avatar_details)}:null}function A({text:e,subtitle:t,icon:n,avatar_details:s}){return Object.assign({text:e,subtitle:t,icon:E(n)},s&&{avatarGroup:_(s)})}function E(e){switch(e){case"chevron":return"RightChevronColorable";case"question_bubble":return"AskQuestion";default:return"ComposerSend"}}function O(e){if(e)return{newConversationPrompt:{homeCard:A(e.home_card),cta:A(e.cta)},header:S(e.header)}}function k(e){return e?{icon:e.icon,text:e.text,linkUrl:e.link_url}:void 0}function T(e){if(e)return{container:e.container,borderColors:e.border_colors}}function x(e){return e?{paragraph:e.paragraph,isDismissed:e.is_dismissed}:void 0}function M(e){return e?e.map((e=>Object.assign({},e,{serialized_object:R(e.ruleset_link_object_type,e.serialized_object)}))):[]}function R(e,t){switch(e){case"inbound_trigger":case"inbound_custom_bot":return j(t);case"messenger_trigger":case"button_custom_bot":return(0,f.Gn)(t);default:return t}}function j(e){return e?{suggestionParts:z({parts:e.parts??null,operator:e.operator}),composerDisabled:e.composer_disabled,prompt:e.prompt,rulesetId:e.ruleset_id,suggestions:e.suggestions.map((e=>function(e){return{preAction:e.pre_action,text:e.text,uuid:e.uuid}}(e))),updatedAt:e.updated_at,priority:e.priority,snapshotId:e.snapshot_id,uxStyle:e.ux_style?{container:e.ux_style.container,borderColors:e.ux_style.border_colors,alignButtons:e.ux_style.align_buttons,welcomePartsWithSuggestions:!!e.ux_style.welcome_parts_with_suggestions}:null,welcomeParts:L(e.welcome_parts||[])}:void 0}function P(e){return e?{id:e.id,parts:e.parts,operator:(0,f.PS)(e.operator)}:void 0}function z({parts:e,operator:t}){return e&&t?{parts:e,operator:(0,f.PS)(t)}:void 0}function L(e){return e.map(Q)}function N(e){if(e)return{avatarGroup:_(e.avatar_details??void 0),title:e.title,subtitle:e.subtitle}}const U=["custom_bot","composer_suggestions","predictive_answers_suggestions"];const{assign:B}=Object,D="State Sync";function H(e){const t=`${(0,i.zj)().api_base}/messenger/web/help_center_content`;return a.A.post({url:t,session:e}).then((({collections:e,article_suggestions:t,article_suggestions_metadata:n,help_center_session:s})=>({articleSuggestions:void 0!==t?{suggestions:t,metadata:n}:void 0,articleCollections:e.map(f.X4),helpCenterSession:s})))}function $(e,t,n){const s={event_name:t,metadata:n};return a.A.sendBeacon({url:`${(0,i.zj)().api_base}/messenger/web/events`,session:e,params:{event_list:JSON.stringify({data:[s]})}})}function V(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/self_serve_suggestions`,r={query:t,answers_limit:n};return a.A.post({url:s,session:e,params:r})}function F(e){return{conversations:e.conversations.map(J),pages:W(e.pages)}}function q(e){return{unreadConversationIds:(e.unread_conversation_ids||[]).map((e=>e.toString())),unreadDismissedConversationIds:(e.unread_dismissed_conversation_ids||[]).map((e=>e.toString()))}}function W(e){return{page:e.page,perPage:e.per_page,totalPages:e.total_pages}}function G(e){return{workflowInstanceId:e.workflow_instance_id,resolutionBotBehaviorVersionId:e.resolution_bot_behavior_version_id,botIntro:pe(e.bot_intro)}}function J(e){return{isFetching:!1,isUpdating:!1,composerState:(0,f.kG)(e.composer_state),dismissed:e.dismissed,id:e.id,intercomLinkSolution:e.intercom_link_solution,lastPartCreatedAt:(0,l.kU)(e.updated_at),lastParticipatingAdmin:(0,f.NU)(e),participants:e.participants||[],parts:[K(e),...X(e)],preventEndUserReplies:e.prevent_end_user_replies,preventEndUserRepliesTimestamp:e.prevent_end_user_replies_timestamp,inboundConversationsDisabled:e.inbound_conversations_disabled,read:e.read,readAt:e.read_at?(0,l.kU)(e.read_at):void 0,userParticipated:e.user_participated,notificationStatus:e.notification_status,currentChannel:e.current_channel,analyticsMetadata:{customBotId:e.analytics_metadata?e.analytics_metadata.custom_bot_id:void 0},isInbound:e.is_inbound,state:e.state,ticket:e.ticket?(0,f.J1)(e.ticket):void 0,updatedAt:(0,l.kU)(e.updated_at),eligibleForRecentConversations:e.eligible_for_recent_conversations,uxStyle:e.ux_style,uiFlags:(0,f.Qn)(e.ui_flags),ownerId:e.owner_id,excludeFromConversationsList:e.exclude_from_conversation_list,header:S(e.header),footerNotice:N(e.footer_notice),conversationEndedButton:(0,f.KW)(e.conversation_ended_button),poweredBy:k(e.powered_by),teamIntro:e.team_intro,specialNotice:e.special_notice}}function K(e){var t;const n=e.conversation_message;return{author:(0,f.PS)(n.author),body:re(n.blocks||[],n.attachments||[]),clientId:n.client_assigned_uuid,createdAt:(0,l.kU)(n.created_at),eventData:{},form:n.form,id:null!=(t=n.id)&&t.startsWith("message-")?n.id:`message-${n.id}`,isMessage:!0,messageType:ee(n),notificationType:(s=n.delivery_option,{badge:"badge",full:"full",summary:"snippet"}[s]),partType:"message",pointerSelector:n.pointer_selector,reactionsReply:n.reactions_reply?(0,f.HC)(n.reactions_reply):void 0,replyOptions:n.reply_options||[],replyType:n.reply_type,seenState:ne(n.seen_by_admin),sentAt:(0,l.kU)(n.sent_at),showCreatedAt:n.show_created_at,teamAuthor:(0,f.vJ)(e),rulesetId:n.google_analytics_identifier,uxStyle:(0,f.te)(n.ux_style),metadata:(0,f.kN)(n.metadata)};var s}function X(e){let t=[];return e.conversation_parts&&(t=e.conversation_parts.conversation_parts||e.conversation_parts),t.filter((e=>"lightweight_reply_user_response"!==e.part_type)).map(Q)}function Q(e){return{author:e.author?{avatar:(0,f.KV)(e.author.avatar),firstName:(0,f.eC)(e.author.first_name),id:e.author.id,initial:e.author.initial,isAdmin:e.author.is_admin,isBot:e.author.is_bot,isSelf:e.author.is_self,type:e.author.is_admin?"admin":"user"}:void 0,body:re(e.blocks||[],e.attachments||[]),cmr:e.cmr,clientId:e.client_assigned_uuid,conversationRating:oe(e),createdAt:(0,l.kU)(e.created_at),eventData:(0,f.$L)(e.event_data,e.part_type),form:e.form?(t=e.form,Object.assign({},t,{disabledMessage:t.disabled_message})):void 0,id:e.id,isMessage:!1,messageType:ee(e),partType:e.part_type,replyOptions:e.reply_options||[],seenState:ne(e.seen_by_admin),showCreatedAt:!0,sources:e.sources,tokenSequenceIndex:e.token_sequence_index,uxStyle:(0,f.te)(e.ux_style),metadata:(0,f.kN)(e.metadata),sourcesAreCollapsed:e.sources_are_collapsed,answerFooter:e.answer_footer&&{text:e.answer_footer.text,replyOptions:e.answer_footer.reply_options}};var t}function Z(e){const t=e.install_mode;if(t){const e=t.active_subscription,n=t.user_hash_verified,s=t.secure_install_v2,r=t.messenger_enabled_for_visitors;return{activeSubscription:e,messengerEnabledForUsers:t.messenger_enabled_for_users,messengerEnabledForVisitors:r,secureInstallV2:s,userHashVerified:n}}}function Y(e){var t,n,s,r,i,o,a,c,l,d,u;const{app:p}=e,h=function(e){return{anonymousInboundMessages:e.inbound_lead_messaging||e.inbound_lead_messaging_docs_site,googleAnalytics:e.google_analytics,hubspotInstalled:e.hubspot_installed,inboundMessages:e.inbound_messages,launcherDiscoveryMode:e.launcher_discovery_mode,launcherSettings:e.launcher_settings,marketoEnrichmentInstalled:e.marketo_enrichment_installed,singlePageAppRateLimiting:e.single_page_app_rate_limiting,crossSiteCookies:e.cross_site_cookies,cookieSecureFlag:e.cookie_secure_flag,checklists:e.checklists,checklistsReminders:e.checklists_reminders,googleAnalytics4Integration:e.google_analytics_4_integration,viewInHelpCenterButton:e.view_in_help_center_button,customerPrivacyPolicy:e.customer_privacy_policy,ePrivacyCookieComplianceRequired:e.eprivacy_cookie_compliance_required,persistClientIdForConversationParts:e.persist_client_id_for_conversation_parts,conversationNewStyling:e.messenger_new_convo_styling,composerIsNotHiding:e.composer_is_not_hiding,conditionalAttributes:e.conditional_attributes,conversationsAreExpandable:e.conversations_are_expandable,disableFinImageReading:e.disable_fin_image_reading,hideAiAgentReferencesExperiment:e.hide_ai_agent_references_experiment}}(e.modules.features||e.modules.messages.features),v=(null==(t=e.modules)?void 0:t.home)||{};return{backgroundImage:p.messenger_background,logoUrl:p.messenger_logo_url,isAudioEnabled:p.audio_enabled||!1,isDeveloperWorkspace:p.developer_workspace||!1,articleAutoReactionEnabled:p.article_auto_reaction_enabled||!1,isErrorReportingDisabled:e.modules.error_reporting&&e.modules.error_reporting.disabled,isIntercomLinkEnabled:p.show_powered_by,isOverrideSamplingEnabled:e.modules.metrics&&e.modules.metrics.enabled,openConfig:{layout:(null==(n=e.open_config)?void 0:n.form)||(null==(s=e.open_config)?void 0:s.layout),unifiedStyling:(null==(r=e.open_config)?void 0:r.unified_style)??!1,openTo:null==(i=e.open_config)?void 0:i.open_to,spaces:null!=(o=e.open_config)&&o.spaces?null==(a=e.open_config)?void 0:a.spaces.map((e=>{const t=(0,g.K)(e);return t.badge&&t.badge.label&&(t.badge.label=Number(t.badge.label)),t})):[],userHasReceivedChecklists:(null==(c=e.open_config)?void 0:c.user_has_received_checklists)||!1,userHasLiveNewsfeed:(null==(l=e.open_config)?void 0:l.user_has_live_newsfeed)||!1,userHasTickets:(null==(d=e.open_config)?void 0:d.user_has_tickets)||!1,recentConversationId:null==(u=e.open_config)?void 0:u.recent_conversation_id},inboundConversationsDisabled:p.inbound_conversations_disabled||!1,smsEnabled:p.sms_notifications_enabled||!1,userConversationGifsEnabled:p.user_conversation_gifs_enabled,customGoogleAnalyticsTrackerId:e.modules.messages.google_analytics_tracking_id,selfServeSuggestionsMatch:p.self_serve_suggestions_match||!1,upfrontEmailCollectionSetting:p.upfront_email_collection_setting,useCacheFor:p.use_cache_for,originCookieDomain:e.origin_cookie_domain,features:h,helpCenterSiteUrl:p.help_center_site_url||void 0,realtimeConfig:{endpoints:e.modules.rtm.endpoints,options:e.modules.rtm.options},teamGreeting:p.team_greeting,teamIntro:p.team_intro,expectedResponseDelayTranslationKey:p.expected_response_delay_translation_key,temporaryExpectationsMessage:p.temporary_expectations_message,officeHoursResponse:p.office_hours_response||void 0,launcherExpectedResponseDelayTranslationKey:p.launcher_expected_response_delay_translation_key,name:p.name,home:(0,g.K)(v),localizedExpectedResponseDelayShortText:p.localized_expected_response_delay_short_text,localizedExpectedResponseDelayLongText:p.localized_expected_response_delay_long_text}}function ee(e){const t=["chat","post","note","video","pointer"][e.message_style];return t||("ticket_status_update"===e.part_type||"ticket_state_updated_by_workflow"===e.part_type?"ticketStatusUpdate":"inline_answer"===e.part_type?"inlineAnswer":"relevant_articles"===e.part_type?"relevantArticles":"fin_answer"===e.part_type?"finAnswer":"attribute_collector"===e.part_type?"attributeCollector":"merged_primary_conversation"===e.part_type?"mergedPrimaryConversation":"generic_handoff"===e.part_type?"genericHandoff":te(e,"link")||function(e,t){let n=!0;return e.blocks.forEach((e=>{e.type!==t&&(n=!1)})),n&&e.blocks.length>1}(e,"link")?"link":te(e,"notificationChannelsCard")?"notificationChannels":te(e,"conversationRating")?"conversationRating":te(e,"ticket")?"ticketCard":void 0)}function te(e,t){const n=e.blocks&&1===e.blocks.length&&e.blocks[0];return n&&n.type===t}function ne(e){return{unseen:"not-seen-yet",seen:"seen"}[e]||"not-seen-yet"}function se(e){return{contact_role:"lead",user_role:"user",visitor_role:"visitor"}[e]}function re(e,t){if(function(e){return 1===e.length&&"videoReply"===e[0].type}(e))return e;if(function(e){return 1===e.length&&"videoFile"===e[0].type}(e))return function(e){return[Object.assign({},e[0])]}(e);const n=[];return function(e,t){if(0===e.length)return t;const n=[];return e.map((e=>{e.attachments.map((e=>n.push(e.url)))})),t.filter((e=>n.map(ie).indexOf(ie(e.url))<0))}(e.filter((e=>"attachmentList"===e.type)),t).forEach((e=>{!function(e){return e.content_type.indexOf("image")>=0}(e)?n.push(function(e){return{type:"attachmentList",attachments:[{contentType:e.content_type,name:e.name,size:e.size,url:e.url}]}}(e)):n.push(function(e){return{height:parseInt(e.height,10),type:"image",url:e.url,width:parseInt(e.width,10)}}(e))})),e.concat(n)}function ie(e){return e.split("?")[0]}function oe(e){if("conversationRating"!==ee(e))return{};const{remark:t,uuid:n,block_rating:s}=e.blocks[0];return{chosenRating:e.blocks[0].rating_index,remark:t,uuid:n,blockRating:!!s}}function ae(e){return e.map((e=>function(e){return{id:e.id,name:e.name,attributes:ce(e.attributes),emoji:e.emoji,archived:e.archived,attributeValues:e.attribute_values}}(e)))}function ce(e){return e.map((e=>("list"===e.type&&(e.listOptions=e.options.list_options),"files"===e.type&&(e.limit="single"===e.identifier?1:10),{id:e.id,name:e.name,value:e.value,description:e.description,type:e.type,listOptions:e.listOptions,limit:e.limit,required:e.required,identifier:e.identifier,isControllingAttribute:e.is_controlling_attribute})))}function le(e){return e?e.map((e=>Object.assign({},e,{serialized_object:de(e.ruleset_link_object_type,e.serialized_object)}))):[]}function de(e,t){switch(e){case"inbound_trigger":case"inbound_custom_bot":return ue(t);case"messenger_trigger":case"button_custom_bot":return(0,f.Gn)(t);default:return t}}function ue(e){return e?{suggestionParts:he(e),composerDisabled:e.composer_disabled,prompt:e.prompt,rulesetId:e.ruleset_id,suggestions:e.suggestions.map((e=>function(e){return{preAction:e.pre_action,text:e.text,uuid:e.uuid}}(e))),updatedAt:e.updated_at,priority:e.priority,snapshotId:e.snapshot_id,welcomeParts:(t=e.welcome_parts||[],t.map(Q)),uxStyle:e.ux_style?{container:e.ux_style.container,alignButtons:e.ux_style.align_buttons,welcomePartsWithSuggestions:e.ux_style.welcome_parts_with_suggestions}:null}:null;var t}function pe(e){return e?{id:e.id,parts:e.parts,operator:(0,f.PS)(e.operator)}:null}function he({parts:e,operator:t}){return e&&t?{parts:e,operator:(0,f.PS)(t)}:void 0}function ge(e){const t=(0,h.uE)(window);t&&(e.sdk_webview_platform=t)}function ve(){return`${(0,i.zj)().api_base}/messenger/web/conversations/transcript`}function me(e){return{cards:e.cards.map((e=>"messenger_app"===e.type?{type:e.type,card_title:e.card_title,uri:e.fallback_url,canvas:e.canvas,messengerAppId:e.messenger_app_id,messengerCardId:e.messenger_card_id}:"recent_conversation"===e.type?{type:e.type,card_title:e.card_title,limit:e.limit,conversations:e.conversations.map(J)}:"recent_tickets"===e.type&&e.tickets?{type:e.type,card_title:e.card_title,tickets:e.tickets.map(f.J1)}:e))}}function fe({session:e}){const t=`${(0,i.zj)().api_base}/messenger/web/extend_session`;return a.A.post({url:t,session:e,params:{}})}const ye={addConversationRatingRemark:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/remark`,o={remark:s,rating_uuid:n};return a.A.post({url:r,session:e,params:o}).then((()=>{}))},buildBanner:f.Fy,buildComment:Q,buildComposerSuggestions:ue,buildBotIntro:pe,buildTour:f.nf,changeConversationRatingIndex:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/rate`,o={rating_index:s,rating_uuid:n};return a.A.post({url:r,session:e,params:o}).then((()=>{}))},collectEmailFromBanner:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/banners/${t}/collect_email`,o=Object.assign({email:s},(0,f.Lo)(n));return a.A.post({url:r,session:e,params:o})},completeTour:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/tours/${t}/complete`,r=(0,f.Pc)(n);return a.A.post({url:s,session:e,params:r})},createArticleReaction:function(e,t,n,s=!1,r=null,o,c="help_center",l=null){const d=`${(0,i.zj)().api_base}/messenger/web/articles/${t}/react`,u={reaction_index:n,allow_auto_responses:s,article_content_id:r,article_channel:c,article_source:l,help_center_id:o};return a.A.post({url:d,session:e,params:u}).then((()=>{}))},createComment:function(e,t,n,s,r,o,c,l={}){const d=l.lastAdminPartCreatedAt||null,u=l.nexusConnectionStatus||null,p=l.partIds||null,h=l.lastAdminPartId||null,g=l.lastAdminPartClientUuid||null,v=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/reply`;let m=(0,f.Ku)(s,r,o,n,c);return d&&p&&(m=Object.assign({},m,{last_admin_part_created_at:d,last_admin_part_id:h,last_admin_part_client_uuid:g,part_ids:p.toString()})),u&&(m=Object.assign({},m,{nexus_connection_status:JSON.stringify(Object.assign({},u,{globalConnectionState:window.nexusConnectionState}))})),a.A.post({url:v,session:e,params:m}).then((e=>Object.assign({},Q(e),{clientId:n})))},createConversation:function(e,{blocks:t,createdAt:n,upload:s,email:r,composerSuggestions:c,selfServeSuggestionsMatch:l,resolutionBotBehaviorVersionId:d,botIntro:u,currentUrl:p,startedFromSearchBrowse:h=!1,messengerOpenRequestId:g=null,customAttributes:v=null,clientId:m=null}){const y={url:`${(0,i.zj)().api_base}/messenger/web/messages`,session:e,params:(0,f.Ku)(t,n,s,m||(0,o.l)(),r,c,l,u,d,h,g,v)};return p&&(y.currentUrl=p),a.A.post(y).then(J)},createEvent:function(e,t,n,s=!1){if(s)return $(e,t,n);const o=`${(0,i.zj)().api_base}/messenger/web/events`,c={event_name:t,metadata:n},l={event_list:JSON.stringify({data:[c]})};return a.A.post({url:o,session:e,params:l}).then((e=>{if(!r()(e))return function(e){const{banner:t,custom_bot:n,client_matches:s,tour:r,survey:i}=e[0];return{banner:t?(0,f.Fy)(t):t,customBot:n?J(n):n,clientsideRulesetConditions:le(s||[]),tour:r?(0,f.nf)(r):r,survey:i?(0,f.Hd)(i):i}}(e)}))},createMetrics:function(e,t,n=[],s=[],r=[]){const o=`${(0,i.zj)().api_base}/messenger/web/metrics`,c=function(e,t,n,s){return{metrics:JSON.stringify(e),logs:JSON.stringify(t),op_metrics:JSON.stringify(n),hc_metrics:JSON.stringify(s)}}(t,n,s,r);return a.A.fetch({url:o,session:e,params:c,shouldSetUserData:!1,keepalive:!0})},createOrUpdateUser:function(e,t={},n,s,r,o,c=!1,d=!1,u){t=B({},t),void 0!==n&&(t.anonymous_email=n);const h={source:r,sampling:d};void 0!==s&&(h._intercomEncryptedPayload=s);const v=`${(0,i.zj)().api_base}/messenger/web/ping`;return a.A.post({url:v,session:e,params:h,customAttributes:t,internal:o,isIntersectionBooted:c,anonymousSessionDuration:u}).then((e=>{const{errors:t}=e;return t?{errors:t}:function(e){var t,n;const{user:s}=e;e.active_tour&&(0,p.k7)("Tour attempting to resume from ping",e.active_tour);return{id:s.id,activeCompanyId:s.active_company_id||"-1",activeTour:(0,f.nf)(e.active_tour),anonymousId:s.anonymous_id,anonymousSession:e.anonymous_session,app:Y(e),articleConversationId:JSON.stringify(e.article_conversation_id),banners:(0,f.o8)(e.banners),cdasBreachingLimit:e.cdas_breaching_limit||[],checklists:m(e.checklists),clientsideRulesetConditions:le(e.client_matches),requiresCookieConsent:s.requires_cookie_consent,countryCode:s.country_code,hasConversations:!1!==s.has_conversations,identityVerificationReady:e.identity_verification_ready,identityVerified:e.identity_verified,installModeConfig:Z(e),launcherSettings:(0,g.K)(e.launcher_settings),lastContactedAt:s.last_contacted_at,locale:s.locale,newConversationComposerState:(0,f.kG)(null==e?void 0:e.composer_state),notificationLinkConversationId:e.notification_link_conversation_id,notificationLinkWithoutConversation:e.notification_link_without_conversation??!1,phoneNumber:s.phone_number,role:se(s.role),unreadConversationIds:null==(t=e.unread_conversation_ids)?void 0:t.map((e=>e.toString())),unreadDismissedConversationIds:null==(n=e.unread_dismissed_conversation_ids)?void 0:n.map((e=>e.toString())),unreadNewsItemsCount:e.unread_news_items_count,unreadTicketsCount:e.unread_tickets_count,lastUnreadNewsItemId:e.last_unread_news_item_id,newsfeedLastVisit:e.newsfeed_last_visit?(0,l.kU)(e.newsfeed_last_visit):void 0,userSuppliedEmail:s.anonymous_email,newSession:s.new_session,searchRequiredBeforeConversation:s.help_center_require_search,survey:(0,f.Hd)(e.survey),tooltipGroups:(0,f.Um)(e.tooltip_groups),preventMultipleInboundConversation:s.prevent_multiple_inbound_conversation,testAssignments:s.user_assignments,newsfeedId:e.newsfeed_id,sessionExpiry:e.session_expiry,jwtExpired:e.jwt_expired}}(e)}))},createPageViewEvent:async function({currentUrl:e,session:t}){const n=`${(0,i.zj)().api_base}/messenger/web/page_view_events`;return await a.A.post({url:n,currentUrl:e,session:t})},createReaction:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/react`,r={reaction_index:n};return a.A.post({url:s,session:e,params:r}).then((()=>{}))},createUpload:function(e,t,n){return new Promise(((s,r)=>{const i=new FormData;i.append("key",e.key),i.append("acl",e.acl),i.append("Content-Type",e.content_type),i.append("AWSAccessKeyId",e.aws_access_key),i.append("policy",e.policy),i.append("signature",e.signature),i.append("success_action_status",e.success_action_status),e.metadata&&e.metadata.safe_app_id&&i.append("x-amz-meta-safe_app_id",e.metadata.safe_app_id),i.append("file",t);const o=new XMLHttpRequest;o.upload.addEventListener("progress",(function(e){const{lengthComputable:t,loaded:s,total:r}=e;if(!n||!t)return;const i=parseInt(s/r*100);n(i)}),!1),o.addEventListener("error",(function(){(0,v.sq)("messenger_upload",{xhr_status:o.status,upload_state:"errored"},!0),r()}),!1),o.addEventListener("abort",(function(){(0,v.sq)("messenger_upload",{xhr_status:o.status,upload_state:"aborted"},!0),r()}),!1),o.addEventListener("load",(function(t){var n;201===(null==(n=t.target)?void 0:n.status)?s({id:e.id,publicUrl:e.public_url,contentType:e.content_type}):((0,v.sq)("messenger_upload",{xhr_status:o.status,upload_state:"failed"},!0),r())}),!1),o.open("POST",e.upload_destination,!0),o.send(i)}))},createUploadPolicy:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/uploads`,o={include_metadata:!0,upload:JSON.stringify({original_filename:(0,c.W$)(t.name),size_in_bytes:t.size,content_type:t.type,width:n,height:s})};return a.A.post({url:r,session:e,params:o}).then(f.oF)},disableInstallMode:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/install`;return a.A.post({url:t,session:e})},dismissBanner:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/banners/${t}/dismiss`,r=(0,f.Lo)(n);return a.A.post({url:s,session:e,params:r})},dismissNotifications:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/conversations/dismiss`,s={conversation_ids:t};return a.A.post({url:n,session:e,params:s}).then((()=>{}))},fetchBannerView:function(e,t,n={}){const s=`${(0,i.zj)().api_base}/messenger/web/banners/${t}/fetch`,r={event_metadata:JSON.stringify(n)};return a.A.post({url:s,session:e,params:r}).then((e=>(0,f.Fy)(e.banner)))},fetchChecklist:function({session:e,rulesetId:t,triggerMethod:n}={}){if(e){(0,u.C2)("Attempting to fetch checklist with session data.");const s={trigger_method:n};return a.A.post({url:`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/fetch`,session:e,params:s}).then((e=>m([e.checklist])[0]))}},fetchMessengerSheetData:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/sheets/open`,o={action_id:n,uri:t,values:JSON.stringify(s)};return a.A.post({url:r,session:e,params:o})},fetchMessengerSheetDataWithToken:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/messenger_card_view/open_sheet`,r={action_id:t,token:e,values:JSON.stringify(n)};return a.A.post({url:s,params:r})},fetchSurvey:function({session:e,rulesetId:t,triggerMethod:n,isPreview:s,token:r}={}){if(!e&&!r)return(0,d.Sc)("A session or a token must be supplied when fetching a survey"),Promise.reject("missing_session_and_token");if(e){(0,d.Sc)("Attempting to fetch survey with session data.");const r={trigger_method:n,is_preview:s};return a.A.post({url:`${(0,i.zj)().api_base}/messenger/web/surveys/${t}/fetch`,session:e,params:r}).then((e=>(0,f.Hd)(e.survey)))}},fetchActiveSurveyProgress:function({session:e,entityId:t,entityType:n}={}){const s={entity_id:t,entity_type:n},r=`${(0,i.zj)().api_base}/messenger/web/surveys/fetch_active_survey`;if(e)return(0,d.Sc)(`Attempting to fetch active survey progress with id ${t}`),a.A.post({url:r,session:e,params:s}).then((e=>(0,f.Hd)(e.survey)))},fetchSurveyForPreview:function({session:e,surveyId:t}={}){const n={survey_id:t},s=`${(0,i.zj)().api_base}/messenger/web/surveys/fetch_for_preview`;if(e)return(0,d.Sc)(`Attempting to fetch survey with survey id ${t} for preview`),a.A.post({url:s,session:e,params:n}).then((e=>(0,f.Hd)(e.survey)))},fetchSurveyFromSnippet:function({session:e,surveyId:t,token:n}={}){return e||n?e?((0,d.Sc)("Attempting to fetch survey from snippet with session data."),a.A.post({url:`${(0,i.zj)().api_base}/messenger/web/surveys/${t}/fetch_from_snippet`,session:e,params:{}}).then((e=>(0,f.Hd)(e.survey)))):void 0:((0,d.Sc)("A session or a token must be supplied when fetching a survey"),Promise.reject("missing_session_and_token"))},fetchTour:function({session:e,tourId:t,token:n}={}){if(!e&&!n)return(0,p.k7)("A session or a token must be supplied when fetching a tour"),Promise.reject("missing_session_and_token");if(e)return(0,p.k7)("Attempting to fetch tour with session data."),a.A.post({url:`${(0,i.zj)().api_base}/messenger/web/tours/${t}/fetch`,session:e}).then(f.nf);{(0,p.k7)("Attempting to fetch tour for messenger card in fallback state.");const e={token:n};return a.A.post({url:`${(0,i.zj)().api_base}/messenger/web/tours/${t}/fetch_with_token`,params:e}).then(f.nf)}},fireComposerSuggestion:function(e,{conversationId:t,suggestion:n,clientId:s,botIntro:r,resolutionBotBehaviorVersionId:o,articleUrl:c=null,snapshotId:l=null}){const d=t?`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/reply`:`${(0,i.zj)().api_base}/messenger/web/messages`,u={composer_suggestion:JSON.stringify(n),client_assigned_uuid:s};t&&(u.conversation_id=t),r&&(u.bot_intro=r),o&&(u.resolution_bot_behavior_version_id=o),c&&(u.search_browse=!0),l&&(u.snapshot_id=l);const p=a.A.post({url:d,session:e,params:u,currentUrl:c});return t?p.then(Q):p.then(J)},fireTrigger:function(e,{triggerId:t,clientAssignedUUID:n}){const s=`${(0,i.zj)().api_base}/messenger/web/triggers/${t}/fire`,r={client_assigned_uuid:n};return a.A.post({url:s,session:e,params:r})},getArticle:function(e,t,n,s=!1,r){const o=`${(0,i.zj)().api_base}/messenger/web/articles/${t}`,c=function(e,t,n){const s={conversation_id:e,browse_mode:t};return n&&(s.help_center_id=n),s}(n,s,r);return a.A.post({url:o,session:e,params:c}).then(f.rm)},getArticleByURL:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/articles/url`,r={url:t,help_center_id:n};return a.A.post({url:s,session:e,params:r}).then(f.rm)},getArticleReaction:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/articles/get_reaction`,o={article_id:t,article_content_id:n};a.A.post({url:r,session:e,params:o}).then((e=>{e?s(null,e):s()})).catch((e=>{s(e)}))},getCardView:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/messenger_card_view/`,n={token:e};return a.A.post({url:t,params:n})},getConversation:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}`,{selfServeSuggestionsMatch:r,clientAssignedUuid:o,requestOrigin:c}=n,l=n.nexusConnectionStatus||{},d=c===D;let u=Object.assign({},r&&{self_serve_suggestions_match:r},o&&{client_assigned_uuid:o},c&&{request_origin:c},d&&{sync:d});return d&&(u=Object.assign({},u,{nexus_connection_status:JSON.stringify(Object.assign({},l,{globalConnectionState:window.nexusConnectionState})),last_admin_part_created_at:n.lastAdminPartCreatedAt,last_admin_part_id:n.lastAdminPartId})),a.A.post({url:s,session:e,params:u}).then(J)},getConversationTranscriptURL:ve,getConversations:function(e,{source:t,page:n,perPage:s,selfServeSuggestionsMatch:r}){const o=`${(0,i.zj)().api_base}/messenger/web/conversations`,c={page:n,per_page:s,source:t,self_serve_suggestions_match:r};return a.A.post({url:o,session:e,params:c}).then(F)},getHomeData:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/home`;return a.A.post({url:t,session:e}).then(me)},getMessengerCanvasContentWithToken:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/messenger_card_view/live_content`,s={token:e,canvas_id:t};return a.A.post({url:n,params:s}).then((e=>Object.assign(e,{id:t})))},getMessengerCanvasWithContent:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/messenger_cards/content`,r={canvas_id:t,uri:n};return ge(r),a.A.post({url:s,session:e,params:r}).then((e=>Object.assign(e,{id:t})))},getUnreadConversations:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/conversations/unread`;return a.A.post({url:t,session:e}).then(q)},markConversationAsRead:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/read`;return a.A.post({url:n,session:e}).then(J)},outboundPreview:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/custom_bots/${t}/outbound_preview`;return a.A.post({url:n,session:e})},workflowPreview:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/workflows/${t}/build_preview`;return a.A.post({url:n,session:e}).then(G)},progressTour:function(e,t,n,s){const r=Object.assign({step_id:n},(0,f.Pc)(s));return a.A.fetch({url:`${(0,i.zj)().api_base}/messenger/web/tours/${t}/progress`,session:e,params:r,keepalive:!0})},quickReply:function(e,t,n,s,r){const o=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/quick_reply`,c=(0,f.I5)(n,s,r);return a.A.post({url:o,session:e,params:c}).then(Q)},reactToBanner:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/banners/${t}/react`,o=Object.assign({reaction:s},(0,f.Lo)(n));return a.A.post({url:r,session:e,params:o})},recordInteractions:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/record_interactions`,r={interactions:n};return a.A.post({url:s,session:e,params:r}).then((()=>{}))},recordNewsItemReaction:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/news/${t}/react`,r={reaction_index:n};return a.A.post({url:s,session:e,params:r})},recordAnswerReaction:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/answers/${t}/react`,r={reaction_index:n};return a.A.post({url:s,session:e,params:r})},recordTourFailure:function(e,t,n,s,r,o){const c=`${(0,i.zj)().api_base}/messenger/web/tours/${t}/record_failure`,l={failed_selector:s,failure_url:r,tour_step_id:n},d=Object.assign(l,(0,f.Pc)(o));return a.A.post({url:c,session:e,params:d})},rulesetConditionSatisfied:function(e,t,n,s,r,o,c,l,d){const u=`${(0,i.zj)().api_base}/messenger/web/rulesets/${t}/match`,p={user_id:s,company_id:r,ruleset_link_id:n,predicates:JSON.stringify(o)};return c&&(p.checkpoint_id=c),l&&(p.notification_record_id=l),d&&(p.extra_context=JSON.stringify(d)),a.A.post({url:u,session:e,params:p}).then((e=>{let{custom_bot:t,composer_suggestions:n,predictive_answers_suggestions:s}=e,r=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(e,U);return Object.assign({},r,{customBot:t,composerSuggestions:ue(n),answerbotPredictiveContexts:s})}))},searchGifs:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/gifs`,s={query:t};return a.A.post({url:n,session:e,params:s})},sendBeaconEvent:$,snoozeContentObjectInstance:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/snooze`,o={object_type:t,object_id:n,instance_id:s};return a.A.post({url:r,session:e,params:o})},startConversationFromSuggestion:function(e,{suggestionUuid:t,clientAssignedUUID:n,selfServeSuggestionsMatch:s,articleUrl:r=null,messengerOpenRequestId:o=null,customAttributes:c=null}){const l=`${(0,i.zj)().api_base}/messenger/web/custom_bots/trigger_inbound_conversation`,d={id:t,client_assigned_uuid:n,self_serve_suggestions_match:s};return r&&(d.search_browse=!0),o&&(d.messenger_open_request_id=o),c&&(d.custom_attributes=JSON.stringify(c)),a.A.post({url:l,session:e,params:d,currentUrl:r}).then(J)},stopTour:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/tours/${t}/stop`,r=(0,f.Pc)(n);return a.A.post({url:s,session:e,params:r})},submitSurvey:function(e,t,n,s,r,o){const c=`${(0,i.zj)().api_base}/messenger/web/surveys/${t}/submit`,l={survey_progress_id:n,current_step_id:s,responses:JSON.stringify(r),is_preview:o};return a.A.post({url:c,session:e,params:l})},dismissSurvey:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/surveys/${t}/dismiss`,o={survey_progress_id:n,is_preview:s};return a.A.post({url:r,session:e,params:o})},recordViewedStat:(e,t,n)=>{const s=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/view`,r={checklist_progress_id:n};return a.A.post({url:s,session:e,params:r})},recordTaskView:(e,t,n,s)=>{const r=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/view_task`,o={checklist_progress_id:n,checklist_task_id:s};return a.A.post({url:r,session:e,params:o})},recordActionClick:(e,t,n,s)=>{const r=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/action_click`,o={checklist_progress_id:n,checklist_task_id:s};return a.A.post({url:r,session:e,params:o})},resetTour:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/tours/${t}/reset`;return a.A.post({url:n,session:e})},resolveChecklists:e=>{const{checklistProgressIds:t,session:n}=e,s=`${(0,i.zj)().api_base}/messenger/web/checklists/resolve`,r={checklist_progress_ids:t};return a.A.post({url:s,session:n,params:r})},searchArticles:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/articles/search`,s={phrase:t};return a.A.post({url:n,session:e,params:s}).then(f.yW)},submitMessengerCardAction:function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/messenger_cards`,o={action_id:n,uri:t,values:JSON.stringify(s)};return ge(o),a.A.post({url:r,session:e,params:o})},submitMessengerCardActionWithToken:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/messenger_card_view/submit`,r={action_id:t,token:e,values:JSON.stringify(n)};return a.A.post({url:s,params:r})},submitSheet:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/sheets/submit`,r={uri:t,sheet_values:JSON.stringify(n)};return a.A.post({url:s,session:e,params:r})},submitSheetWithToken:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/messenger_card_view/submit_sheet`,s={token:e,sheet_values:JSON.stringify(t)};return a.A.post({url:n,params:s})},triggerTransitions:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/operator/trigger`,r=(0,f.Xl)(t,n);return a.A.post({url:s,session:e,params:r}).then(J)},updateConversationForm:function(e,t,n,s,r,o){const c=o?{identifier:s,value:r,conversation_part_id:n,upfront_email_collection:o}:{identifier:s,value:r,conversation_part_id:n},l=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/form`,d={form_params:JSON.stringify(c)};return a.A.post({url:l,session:e,params:d}).then(J)},updatePhoneNumber:function(e,t){const n=`${(0,i.zj)().api_base}/apps/${e.appId}/notification_channels/phone_number`,s={phone_number:t};return a.A.post({url:n,session:e,params:s})},visitorAutoMessageConditionSatisfied:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/messages/${t.id}/match`,s={predicates:JSON.stringify(t.predicates)};return a.A.post({url:n,session:e,params:s}).then((e=>{if(!r()(e))return J(e)}))},generateArticleCard:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/articles/${t}/card`;return a.A.post({url:n,session:e})},createTicket:function(e,{ticketTypeId:t,conversationId:n,attributes:s=[]}){const r=`${(0,i.zj)().api_base}/messenger/web/tickets/create`,o={type_id:t,attributes:JSON.stringify(s)};return n&&(o.conversation_id=n),a.A.post({url:r,session:e,params:o}).then(f.J1)},fetchNewsItemsInNewsfeed:function(e,t,n=1){const s=`${(0,i.zj)().api_base}/messenger/web/news`,r={newsfeed_id:t,page:n};return a.A.post({url:s,session:e,params:r}).then((e=>({nextPage:e.next_page,newsItems:e.news_items?(0,f.IF)(e.news_items):(0,f.IF)(e)})))},notifyNewsfeedVisit:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/news/visit`,s={newsfeed_id:t};return a.A.post({url:n,session:e,params:s})},postForLauncherSettings:async function({session:e}){const t=`${(0,i.zj)().api_base}/messenger/web/launcher_settings`,n=await a.A.post({url:t,session:e});return(0,g.K)(n)},fetchTooltips:function({session:e,customAttributes:t}){const n=`${(0,i.zj)().api_base}/messenger/web/embedded/content`;return a.A.post({url:n,session:e,params:{},customAttributes:t})},markTooltipViewed:function(e,t,n){const s=`${(0,i.zj)().api_base}/messenger/web/tooltips/${t}/viewed`,r={tooltip_group_id:n};return a.A.post({url:s,session:e,params:r})},buildTooltipGroups:f.Um,buildTooltipGroup:f.Hf,fetchNewsItemDetails:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/news/${t}`;return a.A.post({url:n,session:e}).then((e=>(0,f.bY)(e)))},fetchAnswerDetails:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/answers/${t}`;return a.A.post({url:n,session:e}).then((e=>(0,f.Bo)(e)))},getTicketTypes:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/tickets/types`;return a.A.post({url:t,session:e}).then(ae)},getTickets:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/tickets`,s={};return t&&(s.page=t),a.A.post({url:n,session:e,params:s}).then(f.SY)},getTicketsContent:function(e){const t=`${(0,i.zj)().api_base}/messenger/web/tickets_content`;return a.A.post({url:t,session:e}).then((({tickets_portal_url:e})=>({ticketsPortalUrl:e||null})))},getTicketDetails:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/tickets/${t}`;return a.A.post({url:n,session:e}).then(f.J1)},completeChecklistTask:e=>{const{checklistId:t,checklistProgressId:n,taskId:s,session:r}=e,o=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/complete_task`,c={checklist_progress_id:n,task_id:s};return a.A.post({url:o,session:r,params:c})},buildChecklists:m,loadChecklists:e=>{const t=`${(0,i.zj)().api_base}/messenger/web/checklists/list`;return a.A.post({url:t,session:e})},dismissChecklistNotification:(e,t,n)=>{const s=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/dismiss_notification`,r={checklist_progress_id:n};return a.A.post({url:s,session:e,params:r})},updateChecklistNotificationDetails:(e,t,n)=>{const s=`${(0,i.zj)().api_base}/messenger/web/checklists/${t}/update_notification_details`,r={checklist_progress_id:n};return a.A.post({url:s,session:e,params:r})},markTicketAsRead:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/tickets/${t}/read`;return a.A.post({url:n,session:e})},joinConversation:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/conversations/${t}/join`;return a.A.post({url:n,session:e}).then(J)},fetchBannerPreview:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/banners/${t}/fetch_preview`;return a.A.post({url:n,session:e}).then((e=>(0,f.Fy)(e.banner)))},fetchPostPreview:function(e,t){const n=`${(0,i.zj)().api_base}/messenger/web/messages/${t}/post_preview`;return a.A.post({url:n,session:e}).then((e=>e))},sendMessengerOpen:function(e,t,n){const s={};t&&(s.initial_view=t);const r=`${(0,i.zj)().api_base}/messenger/web/open`;return a.A.post({url:r,session:e,params:s,isIntersectionBooted:n,returnIntercomRequestId:!0}).then((({response:e,intercomRequestId:t})=>{const{errors:n}=e;return n?{errors:n,intercomRequestId:t}:{errors:null,composerSuggestions:j(e.composer_suggestions),botIntro:P(e.bot_intro),clientsideRulesetConditions:M(e.client_matches),testAssignments:e.user_assignments,resolutionBotBehaviorVersionId:e.resolution_bot_behavior_version_id,accessToTeammateEnabled:e.access_to_teammate_enabled,activeBot:(0,f.aJ)(e.active_bot),activeAdmins:null==(s=e.active_admins)?void 0:s.map(f.sU),selfServeSuggestionsMatch:e.self_serve_suggestions_match,composerState:(0,f.kG)(e.composer_state,{overrideComposerVisibility:!0===(null==(r=e.composer_suggestions)?void 0:r.composer_disabled)?"hidden":null}),openToNewConversation:e.open_to_new_conversation,expectationSetting:O(e.new_conversation),openInboundConversationIds:e.open_inbound_conversation_ids,userTicketEmailFollowUpsEnabled:e.user_ticket_email_follow_ups_enabled,attachmentSettings:(0,f.vk)(e.attachment_settings),conversationStateSyncSettings:(c=e.conversation_state_sync_settings,{enabled:(null==c?void 0:c.enabled)??!1,syncInterval:(null==c?void 0:c.sync_interval)??1e4,startTimeout:(null==c?void 0:c.start_timeout)??1e4}),intercomRequestId:t,privacyPolicyNotice:x(e.privacy_policy_notice),userHasEmail:e.user_has_email,userPartUxStyle:T(e.user_part_ux_style),newConversationParts:null!=(i=e.new_conversation)&&i.parts?L(e.new_conversation.parts):null,poweredBy:k(e.powered_by),teamIntro:null==(o=e.new_conversation)?void 0:o.team_intro,specialNotice:null==(a=e.new_conversation)?void 0:a.special_notice};var s,r,i,o,a,c}))},getTicketForm:async function(e,t,n,s){const r=`${(0,i.zj)().api_base}/messenger/web/tickets/ticket_form`,o=Object.assign({ticket_type_id:t,attributes:JSON.stringify(n)},s&&{updated_attribute_id:s});return function(e){return{ticketTypeId:e.ticket_type_id,name:e.name,formFields:ce(e.form_fields)}}(await a.A.post({url:r,session:e,params:o}))},extendAnonymousSession:fe}},79536:(e,t,n)=>{"use strict";n.d(t,{z:()=>E,A:()=>M});var s=n(56213);const r=function(e,t,n,s,r,i,o=!1){const a=new XMLHttpRequest;a.onerror=()=>i(),a.onabort=()=>i(),a.onload=()=>{const{readyState:e,status:t,response:n}=a;let s=null;o&&(s=a.getResponseHeader("x-request-id")),4===e&&(t>=200&&t<300?r(o?{response:n,intercomRequestId:s}:n):i(o?{response:n,intercomRequestId:s}:n))},a.open(t,e,!0),a.withCredentials=!0,Object.keys(n).forEach((e=>{a.setRequestHeader(e,n[e])})),a.send(s)},i=s.Ay.hasXhr2Support(),o=(e,t,n,s=!1)=>{if(-1!==e.indexOf("?")){const t=new URL(e);t.search="",e=t.toString()}return new Promise(((o,a)=>{if(!i)throw new Error("Browser does not support XMLHttpRequest.");r(e,"POST",t,n,o,a,s)}))},a="Idempotency-Key";function c(e){return Math.floor(4294967296*(1+e())).toString(16).substring(1)}var l=n(92078),d=n(70745),u=n(3671),p=n(61607),h=n(74623),g=n(60553),v=n(70060),m=n(9111),f=n(21942),y=n(15498),_=n(79191);const w=["url","session","params","customAttributes","currentUrl","idempotencyKey","referrer","internal","isIntersectionBooted","shouldSetUserData","returnIntercomRequestId","anonymousSessionDuration"],b=["url","session","params","customAttributes","currentUrl","idempotencyKey","referrer","internal","isIntersectionBooted","shouldSetUserData","method","keepalive","anonymousSessionDuration"];function C(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}const S=3,I=()=>s.Ay.isMobileBrowser()?"mobile_web":"web",A={anonymousSession:"",helpCenterSession:null};function E(e,t,n,r,i,o,w,b,C=!0,A){var E;r=r||(null==(E=(0,d.KQ)())?void 0:E.href),o=o||(0,d.UP)(),r=(0,l.xH)(r),o=(0,l.xH)(o),s.Ay.isNativeMobile()&&(r=void 0),i=i||function(e=Math.random){return c(e)+c(e)}();const{appId:O,anonymousSession:k,sessionId:T,activeCompanyId:x}=e,M={app_id:O,v:S,g:"85e221b92c0f29d34ba8265f7cd543f8eaadbdea",s:T,r:o,platform:I(),installation_type:(0,f.l)(),[a]:i,internal:w?JSON.stringify(w):"",is_intersection_booted:!!b,page_title:(0,d.wS)(),user_active_company_id:x};if((0,h.ut)()&&(M.workflow_preview_started=!0,M.preview_workflow_instance_id=(0,h.ut)()),(0,v.IE)()&&(M.preview_personality_settings=JSON.stringify((0,v.IE)())),(0,m.xE)()){const e=(0,y.O)((0,m.xE)());M.fin_preview_settings=JSON.stringify(e)}if((0,_.IR)()){const e=(0,y.O)((0,_.IR)());M.preview_settings=JSON.stringify(e)}(0,g.rN)()&&(M.fin_experimental_demo=JSON.stringify((0,g.rN)())),C&&(M.user_data=function(e,t){const{userId:n,email:s,userHash:r,anonymousId:i,intercomUserJwt:o}=e,a=Object.assign({email:s,user_id:n,user_hash:r,anonymous_id:i,intercom_user_jwt:o},t);return delete a.new_conversation_attributes,JSON.stringify(a)}(e,n)),null!==A&&(M.anonymous_session_duration=A);const R=Object.assign(M,t);if(void 0!==r&&(R.referer=r),k&&(R.anonymous_session=k),O){const e=u.A.read((0,p.r4)(O));void 0!==e&&(R.device_identifier=e)}return R}function O(e){const t=[];return Object.keys(e).forEach((n=>{const s=e[n];n=encodeURIComponent(n),Array.isArray(s)?s.forEach((e=>t.push(`${n}[]=${encodeURIComponent(e)}`))):t.push(`${n}=${encodeURIComponent(s)}`)})),t.join("&")}function k(e){try{return JSON.parse(e)}catch(t){return e}}function T(e){const{response:t,intercomRequestId:n}=e;try{return{response:JSON.parse(t),intercomRequestId:n}}catch(e){return{response:t,intercomRequestId:n}}}const x={post:function(e){let{url:t,session:n=A,params:s={},customAttributes:r=null,currentUrl:i=null,idempotencyKey:a=null,referrer:c=null,internal:l=null,isIntersectionBooted:d=null,shouldSetUserData:u=!0,returnIntercomRequestId:p=!1,anonymousSessionDuration:h=null}=e,g=C(e,w);if(!n)return Promise.reject("http_post_session_empty");const v=Object.assign({},E(n,s,r,i,a,c,l,d,u,h),g);return o(t,{"Content-Type":"application/x-www-form-urlencoded"},O(v),p).then(p?T:k)},sendBeacon:function({url:e,session:t=A,params:n={},customAttributes:s=null,currentUrl:r=null,idempotencyKey:i=null,referrer:a=null,internal:c=null,isIntersectionBooted:l=null,shouldSetUserData:d=!0,anonymousSessionDuration:u=null}){var p;if(!t)return Promise.reject("http_post_session_empty");const h=E(t,n,s,r,i,a,c,l,d,u);if(null!=(p=window)&&null!=(p=p.parent)&&null!=(p=p.navigator)&&p.sendBeacon){const t={type:"application/x-www-form-urlencoded"};return window.parent.navigator.sendBeacon(e,new Blob([O(h)],t))?Promise.resolve():Promise.reject()}return o(e,{"Content-Type":"application/x-www-form-urlencoded"},O(h)).then(k)},fetch:function(e){let{url:t,session:s=A,params:r={},customAttributes:i=null,currentUrl:o=null,idempotencyKey:a=null,referrer:c=null,internal:l=null,isIntersectionBooted:d=null,shouldSetUserData:u=!0,method:p="POST",keepalive:h=!1,anonymousSessionDuration:g=null}=e,v=C(e,b);if(!s)return Promise.reject("http_post_session_empty");const m=Object.assign({},E(s,r,i,o,a,c,l,d,u,g),v);return n.g.fetch(t,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:O(m),method:p,keepalive:h})}},M=x},7236:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(86923);const r=(0,s.Ay)("svg",{target:"e1wc1ivq0"})("width:12px;height:12px;fill:",(0,s.w4)("errorText"),";");var i=n(74848);function o(){return(0,i.jsx)(r,{focusable:"false","aria-hidden":"true",viewBox:"0 0 12 12",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M6 11.25A5.25 5.25 0 106 .75a5.25 5.25 0 000 10.5zm0-4.563a.526.526 0 01-.522-.465L5.17 3.556a.836.836 0 111.66 0l-.308 2.666A.526.526 0 016 6.687zm0 2.688a.916.916 0 01-.938-.938c0-.535.403-.937.938-.937.535 0 .938.402.938.938A.916.916 0 016 9.374z"})})}},59548:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 16 18",children:(0,s.jsx)("path",{d:"M14.154 6.918l-.004.003.001-.004-3.287 3.286-.006-.005-3.574 3.574c-.016.017-.03.036-.048.053l-.05.047-.043.041v-.002c-1.167 1.07-2.692 1.331-3.823.2-1.13-1.13-.89-2.677.18-3.843l-.005-.004.074-.073.016-.018c.006-.005.012-.009.017-.016l6.053-6.053.761.76-6.053 6.054-.029.028v.001l-.005.004-.073.074c.011-.01.025-.018.035-.03-.688.75-.93 1.636-.21 2.356.72.72 1.583.456 2.333-.232l-.03.034.04-.042.01-.008.008-.009.033-.03.031-.034.01-.009.007-.009 5.004-5.003.005.006 1.858-1.859c1.223-1.218 1.51-2.913.291-4.132C12.462.806 10.414.74 9.195 1.958L2.248 8.905c.003 0 .006-.002.008-.004-1.625 1.667-1.542 4.43.103 6.074 1.646 1.646 4.474 1.795 6.141.17-.003.002-.004.008-.008.012l.047-.047 6.053-6.054.042-.042.743.78-.025.021.001.002-6.05 6.05-.002.002-.002.001-.046.046h-.002c-2.094 2.04-5.578 1.894-7.652-.18-2.049-2.049-2.15-5.407-.183-7.505l-.006-.005h-.002l.076-.078 6.943-6.944.003-.002.004-.005c1.641-1.64 4.367-1.574 6.008.066 1.64 1.642 1.353 4.014-.288 5.655z",fillRule:"evenodd"})})},8198:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(36420),r=n(68383),i=n(74848);function o({disabled:e,loading:t}){return(0,i.jsx)(s.b,{"aria-hidden":"true",disabled:e,isLoading:t,children:(0,i.jsx)(r.A,{})})}},70315:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(3809),r=n(74848);function i(){return(0,r.jsx)(s.X,{focusable:"false","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M1 5.485l5.194 4.706L13.36.874",strokeWidth:"2.5",fill:"none",fillRule:"evenodd"})})}},62750:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(49208),r=n(74848);function i(){return(0,r.jsx)(s.d,{focusable:"false","aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{d:"M7.357 1.071c.34-.035.679-.071.982-.071 3 0 6.304 2.054 6.625 5.59.018.214.036.428.036.642 0 3.054-2.518 6.179-6.357 6.697A6.958 6.958 0 0 1 7.75 14c-.357 0-.357 0-.75-.071-.91 1.178-1.982 1.482-3.16 1.696a3.184 3.184 0 0 1-.536.054c-.304 0-.733-.143-.536-.34.928-.785 1.036-1.303 1.036-2.214 0-.09 0-.179-.018-.268-1.625-1.107-2.536-2.571-2.75-4.446A7.753 7.753 0 0 1 1 7.768C1 4.714 3.518 1.589 7.357 1.07z"})})}},61641:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(98767),r=n(74848);function i(){return(0,r.jsx)(s.N,{focusable:"false","aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M13.933 3.09a.35.35 0 0 0-.495.026l-7.236 8.012-3.757-3.393a.35.35 0 0 0-.495.025l-.86.951a.35.35 0 0 0 .026.495l4.96 4.48a.34.34 0 0 0 .17.082.346.346 0 0 0 .34-.107l8.324-9.217a.35.35 0 0 0-.026-.494l-.951-.86z"})})}},78918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(66838),r=n(74848);const i=()=>(0,r.jsx)(s.U,{focusable:"false","aria-hidden":"true",children:(0,r.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,r.jsx)("g",{transform:"translate(-340.000000, -32.000000)",fill:"#ffffff",children:(0,r.jsx)("polygon",{points:"350.656537 44 346 39.343463 341.343463 44 340 42.656537 344.656537 38 340 33.343463 341.343463 32 346 36.656537 350.656537 32 352 33.343463 347.343463 38 352 42.656537"})})})})},78253:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);function r(e){return(0,s.jsx)("svg",Object.assign({focusable:"false","aria-hidden":"true",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 7.23251L7.23251 8L4 4.76749L0.767492 8L0 7.23251L3.23251 4L0 0.767492L0.767492 0L4 3.23251L7.23251 0L8 0.767492L4.76749 4L8 7.23251Z",fill:"currentColor"})}))}},27310:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 18 18",children:(0,s.jsx)("path",{d:"M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm0 1C4.589 1 1 4.589 1 9s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zM5 6.999a1 1 0 1 1 2.002.004A1 1 0 0 1 5 6.999zm5.999 0a1.002 1.002 0 0 1 2.001 0 1 1 0 1 1-2.001 0zM8.959 13.5c-.086 0-.173-.002-.26-.007-2.44-.132-4.024-2.099-4.09-2.182l-.31-.392.781-.62.312.39c.014.017 1.382 1.703 3.37 1.806 1.306.072 2.61-.554 3.882-1.846l.351-.356.712.702-.35.356c-1.407 1.427-2.886 2.15-4.398 2.15z",fillRule:"evenodd"})})},18889:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",strokeLinejoin:"round",children:[(0,s.jsx)("path",{d:"M9 10.995V5.672M16.652 15.652H1.348L9 .348z",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M9.348 13.217a.348.348 0 1 1-.696 0 .348.348 0 0 1 .696 0z"})]})})},50060:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AI:()=>Ns,AICurved:()=>Bs.A,Activity:()=>Ks,Alert:()=>c.A,App:()=>Ws,Article:()=>f,ArticleFeedback:()=>lt,ArticleIcon:()=>Ze,ArticleOpenBook:()=>tt,ArticleOpenBookOutline:()=>rt,AskQuestion:()=>d,AskQuestionSquare:()=>h,Attachement:()=>v.A,Attachment:()=>Ms,Bell:()=>Cs,Bio:()=>C,Bounced:()=>Zs,ButtonPill:()=>nr,ButtonSubmit:()=>S.A,ButtonSuccess:()=>I.A,Calendar:()=>At,ChatBubble:()=>A.A,ChatWithUs:()=>O,Check:()=>k.A,ChevronBack:()=>ms,ChevronDown:()=>_s,ClickElement:()=>ir,Clock:()=>x,ClockM5:()=>Ve,Close:()=>P.A,CloseButton:()=>j.A,CloseM5:()=>Fn,Collapse:()=>L,Company:()=>cr,ComposerAttachment:()=>ns,ComposerEmoji:()=>Yn,ComposerEmojiActive:()=>ds,ComposerGif:()=>Jn,ComposerGifActive:()=>is,ComposerSend:()=>hs,ContactBook:()=>ur,Coupon:()=>gr,CreditCard:()=>yr,DescriptionIcon:()=>Me,Download:()=>N,EmailFilled:()=>br,EmojiPicker:()=>D.A,EmojiPickerActive:()=>U,Error:()=>H.A,Event:()=>Ar,Expand:()=>Ge,ExternalLink:()=>V,GifPicker:()=>q,GifPickerActive:()=>F,GreyInfoIcon:()=>Ne,Help:()=>Ut,HelpActive:()=>jt,HelpCenter:()=>G,Home:()=>Gt,HomeActive:()=>Vt,Info:()=>Ps,Insights:()=>Mr,JobTitle:()=>J,LargeRightArrow:()=>kr,Launcher:()=>K.A,LauncherMinimize:()=>X.A,LeftCaret:()=>Z,LeftCaretM5:()=>De,LinkedInSocial:()=>_t,List:()=>ee,Location:()=>te,Locked:()=>Pr,MenuIcon:()=>re,Messages:()=>sn,MessagesActive:()=>Zt,MoreMenuIcon:()=>ae,New:()=>ce,NewConversation:()=>ue,NewMessage:()=>pe.A,News:()=>pn,NewsActive:()=>an,NotificationsIcon:()=>o,OpenInNewWindow:()=>he.A,Paragraph:()=>ge,Person:()=>ht,PersonType:()=>Dr,Phone:()=>Nr,Photo:()=>As,ProductTour:()=>ve.A,Quote:()=>mt,Retry:()=>js,RightChevron:()=>me.A,RightChevronColorable:()=>fe.A,RightChevronSmall:()=>ye.A,Rocket:()=>Sn,Search:()=>_e,SelfServe:()=>we.A,Send:()=>be,Sla:()=>Se,SlippingAway:()=>Jr,Stars:()=>Zr,SurveyStar:()=>Ae.A,Task:()=>En,TaskActive:()=>Tn,Ticket:()=>Ee.A,TicketDefault:()=>zn,TicketResolved:()=>Hn,TicketSmall:()=>Rn,TicketWaitingOnYou:()=>Un,Tickets:()=>wn,TicketsActive:()=>vn,TopCaret:()=>kt,TwitterSocial:()=>Ct,UnreadIndicator:()=>Je,Video:()=>ks,VideoPause:()=>Oe.A,VideoPlay:()=>ke.A,VideoReplay:()=>Te.A,ViewConversation:()=>Hs,WeRunOnIntercom:()=>ze.A,Wrench:()=>Fr});var s,r=n(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s||(s=r.createElement("path",{fill:"#222",fillRule:"evenodd",d:"M3.5 5.5a4.5 4.5 0 0 1 9 0V8l2.293 2.293c.63.63.184 1.707-.707 1.707H1.914c-.89 0-1.337-1.077-.707-1.707L3.5 8zm6.5 8.08a2 2 0 1 1-3.998-.08h3.996z",clipRule:"evenodd"})));var a,c=n(7236);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:13,height:15,fill:"none",viewBox:"0 0 13 15"},e),a||(a=r.createElement("path",{fill:"currentColor",d:"M6.29 0a6.29 6.29 0 0 1 6.29 6.29c0 6.29-6.284 8.71-6.284 8.71v-2.42H6.29A6.29 6.29 0 1 1 6.29 0m.58 9.103a.578.578 0 1 0 0 .001zm-.578-5.71c-1.01 0-1.84.78-1.925 1.77l.957.135a.97.97 0 0 1 1.938.028c0 .964-1.355.964-1.355 2.312v.108h.77v-.108c0-.77 1.547-.963 1.547-2.312a1.934 1.934 0 0 0-1.932-1.932z"})));var u;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:14,height:16,fill:"none",viewBox:"0 0 14 16"},e),u||(u=r.createElement("path",{fill:"#000",d:"m6.857 16-2.305-2.305H1.6a1.54 1.54 0 0 1-1.13-.47 1.54 1.54 0 0 1-.47-1.13V1.6Q0 .94.47.47A1.54 1.54 0 0 1 1.6 0h10.514q.66 0 1.13.47t.47 1.13v10.495q0 .66-.47 1.13a1.54 1.54 0 0 1-1.13.47H9.143zm.705-7.543q0-.704.143-1.01.143-.304.58-.742.667-.648.972-1.105t.305-1.086q0-1.028-.714-1.638-.715-.61-1.857-.61-1.029 0-1.77.52-.742.519-1.03 1.443l1.333.533q.228-.572.606-.848a1.45 1.45 0 0 1 .88-.276q.465 0 .775.238t.31.676q0 .343-.238.696-.239.352-.752.828-.572.515-.79 1.038-.22.524-.22 1.343zm-.74 2.952a.95.95 0 0 0 .702-.287.96.96 0 0 0 .286-.705.95.95 0 0 0-.288-.703.96.96 0 0 0-.705-.285.95.95 0 0 0-.703.287.96.96 0 0 0-.285.705q0 .417.287.703.288.285.705.285"})));var g,v=n(59548);function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),g||(g=r.createElement("path",{fill:"gray",d:"M2 3.5H.5V14c0 .825.675 1.5 1.5 1.5h10.5V14H2zm12-3H5c-.825 0-1.5.675-1.5 1.5v9c0 .825.675 1.5 1.5 1.5h9c.825 0 1.5-.675 1.5-1.5V2c0-.825-.675-1.5-1.5-1.5M14 11H5V2h9zM6.5 5.75h6v1.5h-6zM6.5 8h3v1.5h-3zm0-4.5h6V5h-6z"})));var y=n(86923);var _={name:"ou8xsw",styles:"flex:0 0 auto"};const w=(0,y.Ay)("svg",{target:"e10dfw480"})("width:16px;height:16px;margin-right:5px;vertical-align:text-bottom;>g>g{stroke:",(0,y.w4)("headerTitleColor"),";}",(({isBio:e})=>e&&_),";");var b=n(74848);const C=()=>(0,b.jsx)(w,{isBio:!0,focusable:"false","aria-hidden":"true",viewBox:"0 0 16 13",children:(0,b.jsx)("g",{strokeWidth:"1",fillRule:"evenodd",fill:"none",children:(0,b.jsx)("g",{stroke:"#FFF",children:(0,b.jsx)("path",{d:"M5.1 0.9L6.9 2.4C5.3 3.5 3.9 5.5 3.7 7.1 3.8 7.1 4.1 7 4.4 7 5.8 7 6.8 8.1 6.8 9.6 6.8 11.1 5.6 12.3 4.1 12.3 2.5 12.3 1 10.9 1 8.4 1 5.4 2.8 2.6 5.1 0.9ZM13.1 0.9L15 2.4C13.4 3.5 12 5.5 11.8 7.1 11.8 7.1 12.2 7 12.4 7 13.8 7 14.9 8.1 14.9 9.6 14.9 11.1 13.7 12.3 12.2 12.3 10.5 12.3 9.1 10.9 9.1 8.4 9.1 5.4 10.8 2.6 13.1 0.9Z"})})})});var S=n(8198),I=n(70315),A=n(62750),E=n(32589);function O(){return(0,b.jsx)(E.M,{focusable:"false","aria-hidden":"true",viewBox:"0 0 15 16",children:(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 6.56621C1 5.16386 1 4.46268 1.30332 3.84042C1.55133 3.33165 2.03569 2.81787 2.52897 2.54034C3.13229 2.2009 3.76911 2.16334 5.04275 2.0882C5.93141 2.03578 6.92992 2 8 2C9.07008 2 10.0686 2.03578 10.9572 2.0882C12.2309 2.16334 12.8677 2.2009 13.471 2.54034C13.9643 2.81787 14.4487 3.33165 14.6967 3.84042C15 4.46268 15 5.16386 15 6.56621V8.43379C15 9.83614 15 10.5373 14.6967 11.1596C14.4487 11.6683 13.9643 12.1821 13.471 12.4597C12.8677 12.7991 12.2309 12.8367 10.9573 12.9118C10.0686 12.9642 9.07008 13 8 13C7.1234 13 6.29483 12.976 5.53533 12.9385L2.80967 14.1774C2.20727 14.4512 1.90606 14.5882 1.6626 14.5457C1.44988 14.5086 1.26117 14.3871 1.13938 14.2088C1 14.0047 1 13.6739 1 13.0122V6.56621ZM4 5.4C4 5.17909 4.17909 5 4.4 5H11.6C11.8209 5 12 5.17909 12 5.4V6C12 6.22091 11.8209 6.4 11.6 6.4H4.4C4.17909 6.4 4 6.22091 4 6V5.4ZM4.4 8C4.17909 8 4 8.17909 4 8.4V9C4 9.22091 4.17909 9.4 4.4 9.4H8.6C8.82091 9.4 9 9.22091 9 9V8.4C9 8.17909 8.82091 8 8.6 8H4.4Z",fill:"#334BFA"})})}var k=n(61641);const T=(0,y.Ay)("svg",{target:"e1tfcp060"})("fill:",(0,y.w4)("buttonBackgroundColor"),";");function x({size:e=14}){return(0,b.jsx)(T,{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 14 14",children:(0,b.jsx)("path",{fillRule:"evenodd",d:"M12.5 7c0 3.0376-2.4624 5.5-5.5 5.5-3.03757 0-5.5-2.4624-5.5-5.5 0-3.03757 2.46243-5.5 5.5-5.5 3.0376 0 5.5 2.46243 5.5 5.5zM14 7c0 3.866-3.134 7-7 7-3.86599 0-7-3.134-7-7 0-3.86599 3.13401-7 7-7 3.866 0 7 3.13401 7 7zM6.27844 3.48219v3.78093l.00105.00104c.00305.07805.03658.1518.09341.20546l.07452.0566L9.6706 9.69708l.15009.03773h.05667c.09341-.01886.14904-.07442.20574-.13102l.4125-.65514c.0355-.04926.0552-.10809.0566-.16876 0-.09329-.0566-.14885-.1501-.20545L7.62817 6.68345V3.48219c0-.14989-.1312-.29979-.30017-.29979h-.74938c-.16898 0-.30018.1499-.30018.29979z",clipRule:"evenodd"})})}var M,R,j=n(78918),P=n(78253);function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),M||(M=r.createElement("path",{stroke:"currentColor",strokeWidth:1.7,d:"m1 1 5 5"})),R||(R=r.createElement("path",{stroke:"currentColor",strokeWidth:1.75,d:"M1.5 6.5h5v-5m3.5 8.502 5 5m-5.5-.5v-5h5"})));function N(){return(0,b.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M7.9999 13.6499C4.87949 13.6499 2.3499 11.1203 2.3499 7.9999C2.3499 4.87949 4.87949 2.3499 7.9999 2.3499C11.1203 2.3499 13.6499 4.87949 13.6499 7.9999C13.6499 11.1203 11.1203 13.6499 7.9999 13.6499ZM0.649902 7.9999C0.649902 12.0592 3.94061 15.3499 7.9999 15.3499C12.0592 15.3499 15.3499 12.0592 15.3499 7.9999C15.3499 3.94061 12.0592 0.649902 7.9999 0.649902C3.94061 0.649902 0.649902 3.94061 0.649902 7.9999Z"}),(0,b.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M7.39886 11.4677C7.73081 11.7996 8.269 11.7996 8.60094 11.4677L10.9086 9.15999C11.2406 8.82804 11.2406 8.28985 10.9086 7.95791C10.5767 7.62596 10.0385 7.62596 9.70655 7.95791L8.8499 8.81456V5.13314C8.8499 4.6637 8.46934 4.28314 7.9999 4.28314C7.53046 4.28314 7.1499 4.6637 7.1499 5.13314V8.81456L6.29325 7.95791C5.9613 7.62596 5.42312 7.62596 5.09117 7.95791C4.75922 8.28985 4.75922 8.82804 5.09117 9.15999L7.39886 11.4677Z"})]})}const U=()=>(0,b.jsx)("svg",{focusable:"false","aria-hidden":"true",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)("path",{d:"M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zM5 6.999a1 1 0 1 0 2.001 0A1 1 0 0 0 5 7zm5.999 0a1.001 1.001 0 0 0 2.001 0 1 1 0 0 0-2.001 0zm-2.3 6.494c.087.005.174.007.26.007 1.513 0 2.99-.722 4.398-2.149l.35-.356.482-.702-10.326.006.435.62.31.392c.068.083 1.652 2.05 4.092 2.182z",fill:"#ADADAD",fillRule:"evenodd"})});var B,D=n(27310),H=n(18889);function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),B||(B=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3.7h4V2H3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2h-1.7v2a.3.3 0 0 1-.3.3H3a.3.3 0 0 1-.3-.3V4a.3.3 0 0 1 .3-.3M9.218 3c0 .47.38.85.85.85h1.88L8.296 7.502a.85.85 0 0 0 1.202 1.202l3.652-3.652v1.88a.85.85 0 0 0 1.7 0V3a.85.85 0 0 0-.85-.85h-3.932a.85.85 0 0 0-.85.85",clipRule:"evenodd"}))),F=()=>(0,b.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 29 18",children:(0,b.jsx)("path",{d:"M9 0h11a9 9 0 0 1 0 18H9A9 9 0 0 1 9 0zM6.561 9.337c0 2.277 1.683 3.806 3.773 3.806 1.199 0 2.2-.506 2.882-1.265V9.227H9.784v.814h2.519v1.496a2.895 2.895 0 0 1-1.969.792c-1.606 0-2.827-1.254-2.827-2.992 0-1.749 1.221-2.981 2.827-2.981.88 0 1.661.418 2.123 1.012l.726-.451c-.649-.803-1.551-1.375-2.849-1.375-2.09 0-3.773 1.518-3.773 3.795zM14.701 13h.913V5.663h-.913V13zm2.629 0h.913V9.656h3.817v-.814h-3.817V6.477h3.894v-.814H17.33V13z",fillRule:"nonzero"})}),q=()=>(0,b.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 29 18",children:(0,b.jsxs)("g",{fillRule:"evenodd",children:[(0,b.jsx)("path",{d:"M9 1a8 8 0 1 0 0 16h11a8 8 0 1 0 0-16H9zm0-1h11a9 9 0 0 1 0 18H9A9 9 0 0 1 9 0z",fillRule:"nonzero"}),(0,b.jsx)("path",{d:"M6.561 9.337c0-2.277 1.683-3.795 3.773-3.795 1.298 0 2.2.572 2.849 1.375l-.726.451c-.462-.594-1.243-1.012-2.123-1.012-1.606 0-2.827 1.232-2.827 2.981 0 1.738 1.221 2.992 2.827 2.992.88 0 1.606-.429 1.969-.792v-1.496H9.784v-.814h3.432v2.651a3.822 3.822 0 0 1-2.882 1.265c-2.09 0-3.773-1.529-3.773-3.806zM14.701 13V5.663h.913V13h-.913zm2.629 0V5.663h4.807v.814h-3.894v2.365h3.817v.814h-3.817V13h-.913z"})]})}),W=(0,y.Ay)("svg",{target:"e1tmkw1z0"})("fill:",(0,y.w4)("linkColor"),"!important;height:13px;width:13px;padding-right:5px;"),G=()=>(0,b.jsx)(W,{focusable:"false","aria-hidden":"true",viewBox:"0 0 15 15",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)("g",{strokeWidth:"1",fillRule:"evenodd",children:(0,b.jsx)("g",{fillRule:"nonzero",children:(0,b.jsxs)("g",{children:[(0,b.jsx)("path",{d:"M1,14 L1,4 L8.11538462,4 C8.39152699,4 8.61538462,3.77614237 8.61538462,3.5 C8.61538462,3.22385763 8.39152699,3 8.11538462,3 L0.5,3 C0.223857625,3 0,3.22385763 0,3.5 L0,14.5 C0,14.7761424 0.223857625,15 0.5,15 L11.5,15 C11.7761424,15 12,14.7761424 12,14.5 L12,7.73076923 C12,7.45462686 11.7761424,7.23076923 11.5,7.23076923 C11.2238576,7.23076923 11,7.45462686 11,7.73076923 L11,14 L1,14 Z"}),(0,b.jsx)("path",{d:"M5.35355339,10.3535534 L12.8535534,2.85355339 C13.0488155,2.65829124 13.0488155,2.34170876 12.8535534,2.14644661 C12.6582912,1.95118446 12.3417088,1.95118446 12.1464466,2.14644661 L4.64644661,9.64644661 C4.45118446,9.84170876 4.45118446,10.1582912 4.64644661,10.3535534 C4.84170876,10.5488155 5.15829124,10.5488155 5.35355339,10.3535534 Z"}),(0,b.jsx)("path",{d:"M14,5.5 C14,5.77614237 14.2238576,6 14.5,6 C14.7761424,6 15,5.77614237 15,5.5 L15,0.5 C15,0.223857625 14.7761424,9.43689571e-16 14.5,8.8817842e-16 L9.5,0 C9.22385763,-4.90527396e-17 9,0.223857625 9,0.5 C9,0.776142375 9.22385763,1 9.5,1 L14,1 L14,5.5 Z"})]})})})}),J=()=>(0,b.jsx)(w,{focusable:"false","aria-hidden":"true",viewBox:"0 0 17 15",children:(0,b.jsx)("g",{strokeWidth:"1",fillRule:"evenodd",strokeLinejoin:"round",fill:"none",children:(0,b.jsx)("g",{stroke:"#FFF",children:(0,b.jsxs)("g",{transform:"translate(-1073 -120)translate(1002 30)translate(72 90)translate(0 1)",children:[(0,b.jsx)("path",{d:"M0.4 6.7L6.7 6.7",strokeLinecap:"round"}),(0,b.jsx)("path",{d:"M8.9 6.7L15.2 6.7",strokeLinecap:"round"}),(0,b.jsx)("polygon",{points:"15.2 3.2 0.4 3.2 0.4 13.1 15.2 13.1"}),(0,b.jsx)("polygon",{points:"8.9 8.9 6.7 8.9 6.7 6 8.9 6"}),(0,b.jsx)("path",{d:"M5 3.2C5 1.6 6.2 0.4 7.8 0.4 9.4 0.4 10.6 1.6 10.6 3.2"})]})})})});var K=n(7713),X=n(38026);const Q=(0,y.Ay)("svg",{target:"ea0dzra0"})("margin:0 auto;width:9px;height:15px;>g>g{fill:",(0,y.w4)("headerTitleColor"),";}");function Z(){return(0,b.jsx)(Q,{focusable:"false","aria-hidden":"true",children:(0,b.jsx)("g",{fill:"none",children:(0,b.jsx)("g",{fill:"#FFF",children:(0,b.jsx)("polygon",{transform:"translate(-40 -29)translate(47.071068 36.071068)rotate(-315)translate(-47.071068 -36.071068)",points:"44.3 38.8 44.3 31.1 42.1 31.1 42.1 40 42.1 41.1 52.1 41.1 52.1 38.8"})})})})}const Y=(0,y.Ay)("svg",{target:"e1huj08u0"})("width:12px;height:12px;fill:",(0,y.w4)("errorText"),";");function ee(){return(0,b.jsx)(Y,{focusable:"false","aria-hidden":"true",viewBox:"0 0 14 14",children:(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M3.4 4c0-.665-.535-1.2-1.2-1.2C1.535 2.8 1 3.335 1 4c0 .665.535 1.2 1.2 1.2.665 0 1.2-.535 1.2-1.2zm0 4c0-.665-.535-1.2-1.2-1.2C1.535 6.8 1 7.335 1 8c0 .665.535 1.2 1.2 1.2.665 0 1.2-.535 1.2-1.2zm-1.2 2.8c.665 0 1.2.535 1.2 1.2 0 .665-.535 1.2-1.2 1.2-.665 0-1.2-.535-1.2-1.2 0-.665.535-1.2 1.2-1.2zM5 3.6a.4.4 0 01.4-.4h9.2a.4.4 0 01.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8zm0 4a.4.4 0 01.4-.4h9.2a.4.4 0 01.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8zm0 4c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.8a.4.4 0 01-.4.4H5.4a.4.4 0 01-.4-.4v-.8z"})})}const te=()=>(0,b.jsx)(w,{focusable:"false","aria-hidden":"true",viewBox:"0 0 18 18",children:(0,b.jsx)("g",{strokeWidth:"1",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",children:(0,b.jsxs)("g",{stroke:"#FFF",children:[(0,b.jsx)("path",{d:"M16.7 9C16.7 13.2 13.2 16.7 9 16.7 4.8 16.7 1.3 13.2 1.3 9 1.3 4.8 4.8 1.3 9 1.3 13.2 1.3 16.7 4.8 16.7 9L16.7 9Z"}),(0,b.jsx)("path",{d:"M14.7 3.8C14.7 3.8 14.3 5.7 13 6.3 11.7 6 10.3 7 10.7 7 11 7 11.3 8.3 11.3 8.3 11.7 8.7 12.3 8.3 12.3 8.3 13.2 9.2 11 10.7 11 11 11 11.3 11.8 11.5 11.3 12 10.8 12.5 10.3 12.7 10.3 12.7 10.3 14.3 8.7 14.3 8.3 14.3 8 14.3 7.3 13 7.3 12.7 7.3 12.3 7.7 12 7.7 11.7 7.7 11.3 7 10.7 7 10.7 7 9.3 6 9.7 5 9.7 4 9.7 4 8.3 4 8.3 4 8.3 4 6 5.7 5.7 7.3 5.3 7.3 6 7.3 6 8 6.7 9.3 6 10 6 10 6 10.3 3.7 9.7 4 9 4.3 8.4 4.1 8.3 3.3 8.2 2.3 11.2 1.7 11.2 1.7"})]})})});var ne;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),ne||(ne=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M30.3 16c0 7.898-6.402 14.3-14.3 14.3S1.7 23.898 1.7 16 8.102 1.7 16 1.7 30.3 8.102 30.3 16m1.7 0c0 8.837-7.163 16-16 16S0 24.837 0 16 7.163 0 16 0s16 7.163 16 16m-8.587-1.412A1.93 1.93 0 0 0 22 14q-.824 0-1.413.588A1.93 1.93 0 0 0 20 16q0 .824.587 1.413Q21.176 18 22 18t1.413-.587Q24 16.825 24 16t-.587-1.412m-6 0A1.93 1.93 0 0 0 16 14q-.825 0-1.412.588A1.93 1.93 0 0 0 14 16q0 .824.588 1.413Q15.175 18 16 18q.824 0 1.413-.587Q18 16.825 18 16t-.587-1.412m-6 0A1.93 1.93 0 0 0 10 14q-.825 0-1.412.588A1.93 1.93 0 0 0 8 16q0 .824.588 1.413Q9.175 18 10 18t1.412-.587T12 16t-.588-1.412",clipRule:"evenodd"})));var ie;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",oe({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),ie||(ie=r.createElement("path",{fill:"#222",d:"M4.5 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"})));function ce(){return(0,b.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.5C8.46106 2.5 8.83482 2.87376 8.83482 3.33482V7.16518L12.6652 7.16518C13.1262 7.16518 13.5 7.53894 13.5 8C13.5 8.46106 13.1262 8.83482 12.6652 8.83482L8.83482 8.83482V12.6652C8.83482 13.1262 8.46106 13.5 8 13.5C7.53894 13.5 7.16518 13.1262 7.16518 12.6652V8.83482H3.33482C2.87376 8.83482 2.5 8.46106 2.5 8C2.5 7.53894 2.87376 7.16518 3.33482 7.16518H7.16518V3.33482C7.16518 2.87376 7.53894 2.5 8 2.5Z",fill:"currentColor"})})}var le;function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",de({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none",viewBox:"0 0 17 16"},e),le||(le=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m4.563 14.605 9.356-5.402c1-.577 1-2.02 0-2.598L4.563 1.203a1.5 1.5 0 0 0-2.25 1.3v10.803a1.5 1.5 0 0 0 2.25 1.3M6.51 8.387 2.313 9.512V6.297L6.51 7.42c.494.133.494.834 0 .966",clipRule:"evenodd"})));var pe=n(85177),he=n(48801);function ge(){return(0,b.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",children:(0,b.jsx)("g",{id:"surface1",children:(0,b.jsx)("path",{style:{stroke:"none",fillRule:"nonzero",fill:"rgb(0%,0%,0%)",fillOpacity:1},d:"M 0 14.4375 L 8 14.4375 L 8 12.4375 L 0 12.4375 Z M 0 11.101562 L 16 11.101562 L 16 9.101562 L 0 9.101562 Z M 0 7.773438 L 16 7.773438 L 16 5.773438 L 0 5.773438 Z M 0 2.4375 L 0 4.4375 L 16 4.4375 L 16 2.4375 Z M 0 2.4375 "})})})}var ve=n(62809),me=n(82825),fe=n(68383),ye=n(33993);const _e=()=>(0,b.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("circle",{cx:"7.5",cy:"7.5",r:"4.625",stroke:"currentColor",strokeWidth:"1.75"}),(0,b.jsx)("path",{d:"M13.3813 14.6187C13.723 14.9604 14.277 14.9604 14.6187 14.6187C14.9604 14.277 14.9604 13.723 14.6187 13.3813L13.3813 14.6187ZM10.3813 11.6187L13.3813 14.6187L14.6187 13.3813L11.6187 10.3813L10.3813 11.6187Z",fill:"currentColor"})]});var we=n(50533);const be=()=>(0,b.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 16 16",children:(0,b.jsx)("path",{d:"M1.388 15.77c-.977.518-1.572.061-1.329-1.019l1.033-4.585c.123-.543.659-1.034 1.216-1.1l6.195-.72c1.648-.19 1.654-.498 0-.687l-6.195-.708c-.55-.063-1.09-.54-1.212-1.085L.056 1.234C-.187.161.408-.289 1.387.231l12.85 6.829c.978.519.98 1.36 0 1.88l-12.85 6.83z",fillRule:"evenodd"})}),Ce=(0,y.Ay)("svg",{target:"exb56pi0"})("width:12px;height:12px;fill:",(0,y.w4)("errorText"),";");function Se(){return(0,b.jsxs)(Ce,{focusable:"false","aria-hidden":"true",viewBox:"0 0 15 15",children:[(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M8 5a3.5 3.5 0 012.832 5.557L8 8.5V5zm6.05-1.818l.468.586c.113.083.08.266-.064.367L12.67 5.43c-.083.111-.267.079-.369-.065l-.468-.586c-.112-.083-.08-.266.065-.367l1.845-1.284c.072-.05.257-.018.307.054z"}),(0,b.jsx)("rect",{x:"5.5",width:"5",height:"1.5",rx:".5",fill:"currentColor"}),(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M8 13.5a5 5 0 100-10 5 5 0 000 10zM8 15A6.5 6.5 0 108 2a6.5 6.5 0 000 13z"}),(0,b.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M8.5 1v2h-1V1h1z"})]})}var Ie,Ae=n(4324),Ee=n(83285),Oe=n(22581),ke=n(79069),Te=n(47884);function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg",width:14,height:10,fill:"none",viewBox:"0 0 14 10"},e),Ie||(Ie=r.createElement("path",{fill:"#286EFA",d:"M0 8.96c0-.336 0-.504.065-.632a.6.6 0 0 1 .263-.263C.456 8 .624 8 .96 8h9.08c.336 0 .504 0 .632.065a.6.6 0 0 1 .263.263c.065.128.065.296.065.632v.08c0 .336 0 .504-.065.632a.6.6 0 0 1-.263.263c-.128.065-.296.065-.632.065H.96c-.336 0-.504 0-.632-.065a.6.6 0 0 1-.263-.263C0 9.544 0 9.376 0 9.04zm0-4c0-.336 0-.504.065-.632a.6.6 0 0 1 .263-.263C.456 4 .624 4 .96 4h5.08c.336 0 .504 0 .632.065a.6.6 0 0 1 .263.263C7 4.456 7 4.624 7 4.96v.08c0 .336 0 .504-.065.632a.6.6 0 0 1-.263.263C6.544 6 6.376 6 6.04 6H.96c-.336 0-.504 0-.632-.065a.6.6 0 0 1-.263-.263C0 5.544 0 5.376 0 5.04zM.065.328C0 .456 0 .624 0 .96v.08c0 .336 0 .504.065.632a.6.6 0 0 0 .263.263C.456 2 .624 2 .96 2h12.08c.336 0 .504 0 .632-.065a.6.6 0 0 0 .263-.263C14 1.544 14 1.376 14 1.04V.96c0-.336 0-.504-.065-.632a.6.6 0 0 0-.263-.263C13.544 0 13.376 0 13.04 0H.96C.624 0 .456 0 .328.065a.6.6 0 0 0-.263.263"})));var Re,je,Pe,ze=n(86655);function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Re||(Re=r.createElement("path",{stroke:"#1A1A1A",strokeWidth:1.7,d:"M8.312 12V7"})),je||(je=r.createElement("circle",{r:1.1,fill:"#1A1A1A",transform:"matrix(1 0 0 -1 8.312 5.1)"})),Pe||(Pe=r.createElement("circle",{cx:8.313,cy:8,r:6.5,stroke:"#1A1A1A",strokeWidth:1.75})));var Ue;function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Be({xmlns:"http://www.w3.org/2000/svg",width:8,height:12,fill:"none",viewBox:"0 0 8 12"},e),Ue||(Ue=r.createElement("path",{fill:"#fff",d:"M6.71.71a.996.996 0 0 0-1.41 0L.71 5.3a.996.996 0 0 0 0 1.41L5.3 11.3a.996.996 0 1 0 1.41-1.41L2.83 6l3.88-3.88c.39-.39.38-1.03 0-1.41"})));var He;function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",$e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),He||(He=r.createElement("path",{fill:"currentColor",fillOpacity:.9,d:"M7.993.5C3.853.5.5 3.86.5 8s3.353 7.5 7.493 7.5c4.147 0 7.507-3.36 7.507-7.5S12.14.5 7.993.5M8 14c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6m-.165-9.75H7.79c-.3 0-.54.24-.54.54v3.54c0 .262.135.51.367.645l3.113 1.867c.255.15.585.075.735-.18a.533.533 0 0 0-.187-.742L8.375 8.195V4.79c0-.3-.24-.54-.54-.54"})));var Fe,qe;function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",We({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Fe||(Fe=r.createElement("path",{stroke:"currentColor",strokeWidth:1.7,d:"m1.999 2 5 5"})),qe||(qe=r.createElement("path",{stroke:"currentColor",strokeWidth:1.75,d:"M6.499 1.5h-5v5m7.5 2.5 5 5m.5-4.5v5h-5"}))),Je=()=>(0,b.jsx)("svg",{width:8,height:8,children:(0,b.jsx)("circle",{fill:"#FF4D4D",cx:"8",r:"4",cy:"8",strokeWidth:"0"})});var Ke,Xe;function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Qe({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 18 18"},e),Ke||(Ke=r.createElement("path",{fill:"#3465F6",d:"M14.25 3.75v10.5H3.75V3.75zm0-1.5H3.75c-.825 0-1.5.675-1.5 1.5v10.5c0 .825.675 1.5 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5V3.75c0-.825-.675-1.5-1.5-1.5"})),Xe||(Xe=r.createElement("path",{fill:"#3465F6",d:"M10.5 12.75H5.25v-1.5h5.25zm2.25-3h-7.5v-1.5h7.5zm0-3h-7.5v-1.5h7.5z"})));var Ye;function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none",viewBox:"0 0 17 16"},e),Ye||(Ye=r.createElement("path",{fill:"currentColor",d:"M7.563 3.57c0-.575-.324-1.114-.872-1.285A6.3 6.3 0 0 0 4.813 2a6.3 6.3 0 0 0-3.045.783.92.92 0 0 0-.455.812v9.155c0 .56.637.908 1.157.7A6.3 6.3 0 0 1 4.813 13c1.055 0 2.05.26 2.925.719a1.24 1.24 0 0 0 1.15 0A6.3 6.3 0 0 1 11.812 13c.827 0 1.618.16 2.342.45.52.208 1.158-.14 1.158-.7V3.595a.92.92 0 0 0-.456-.812A6.3 6.3 0 0 0 11.813 2c-.655 0-1.285.1-1.879.285-.548.17-.871.71-.871 1.284V11a.75.75 0 0 1-1.5 0z"})));var nt;function st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",st({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),nt||(nt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.99 26.566a2.06 2.06 0 0 1-1.092-.29 17 17 0 0 0-.565-.298c-3.629-1.825-8.053-2.376-11.891-.92-1.22.471-2.442-.52-2.442-1.779V7.983c0-.8.476-1.548 1.23-1.836 4.807-2.005 10.45-1.312 14.76 1.536 4.31-2.847 9.973-3.541 14.78-1.536.754.288 1.23 1.035 1.23 1.836V23.28c0 1.259-1.221 2.25-2.442 1.779-3.838-1.456-8.262-.905-11.891.92q-.286.143-.565.298a2.14 2.14 0 0 1-1.113.29m-.827-2.004V9.119C10.36 6.147 5.865 6.01 1.868 7.676l-.023.009-.023.009a.23.23 0 0 0-.108.092.36.36 0 0 0-.058.197V23.28c0 .088.045.17.106.217a.1.1 0 0 0 .048.024h.006q.002.002.029-.008l.01-.003c4.082-1.548 9.966-.973 13.308 1.053m1.655 0V9.119C19.616 7.336 24 5.387 30.132 7.676l.023.009.023.009c.035.013.074.04.108.092a.36.36 0 0 1 .058.197V23.28a.28.28 0 0 1-.106.217.1.1 0 0 1-.048.024h-.008l-.027-.008-.01-.003c-4.082-1.548-10.042-.973-13.327 1.053m10.55-13.843c-2.652-.55-5.604-.173-8.056.796a.828.828 0 1 0 .608 1.54c2.197-.867 4.82-1.19 7.112-.714a.828.828 0 0 0 .336-1.622m-8.056 4.693c2.452-.968 5.404-1.346 8.056-.796a.828.828 0 1 1-.336 1.622c-2.292-.475-4.914-.153-7.112.715a.828.828 0 1 1-.608-1.541m8.056 3.101c-2.652-.55-5.604-.172-8.056.796a.828.828 0 1 0 .608 1.541c2.197-.867 4.82-1.19 7.112-.715a.828.828 0 0 0 .336-1.622",clipRule:"evenodd"})));var it,ot,at;function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",width:75,height:75,fill:"none",viewBox:"0 0 75 75"},e),it||(it=r.createElement("path",{fill:"#737376",d:"M16.876 20.625H45v3.75H16.876zm0 9.375H45v3.75H16.876zm0 9.374h15v3.75h-15zm29.999 16.875c1.035 0 1.875-1.26 1.875-2.813s-.84-2.812-1.875-2.812S45 51.883 45 53.436s.84 2.813 1.875 2.813m11.25 0c1.035 0 1.874-1.26 1.874-2.813s-.839-2.812-1.874-2.812-1.875 1.259-1.875 2.812.84 2.813 1.875 2.813"})),ot||(ot=r.createElement("path",{fill:"#737376",fillRule:"evenodd",d:"M68.98 54.73a16.5 16.5 0 0 0-.993-3.169 17 17 0 0 0-1.556-2.812 16.9 16.9 0 0 0-4.556-4.613 17 17 0 0 0-2.87-1.556 17 17 0 0 0-3.168-.993 20 20 0 0 0-1.462-.225V11.25a1.88 1.88 0 0 0-.544-1.331L44.456.544A1.88 1.88 0 0 0 43.125 0H9.375C8.34 0 7.502.84 7.502 1.875v59.999c0 1.035.84 1.875 1.875 1.875h27.168q.05.142.098.286c.074.222.147.441.24.651a16.9 16.9 0 0 0 3.618 5.362l2.625-2.55a13.1 13.1 0 0 1-2.812-4.162 13.13 13.13 0 0 1 1.2-12.45 13.1 13.1 0 0 1 5.774-4.762 13 13 0 0 1 2.456-.769 13.4 13.4 0 0 1 5.288 0 13.13 13.13 0 0 1 9.375 7.744c.337.79.595 1.614.768 2.456a13.3 13.3 0 0 1 0 5.287 13.1 13.1 0 0 1-3.581 6.619 13.4 13.4 0 0 1-1.875 1.612 13.1 13.1 0 0 1-4.687 1.97 13.4 13.4 0 0 1-5.288 0 13 13 0 0 1-2.456-.77l-1.462 3.45a16.9 16.9 0 0 0 6.675 1.275 16.75 16.75 0 0 0 6.562-1.33 17 17 0 0 0 2.813-1.557 16.9 16.9 0 0 0 4.556-4.612 17 17 0 0 0 1.556-2.87 16.6 16.6 0 0 0 .994-3.168c.455-2.24.455-4.548 0-6.787zM43.126 3.75l6.731 6.731h-6.731zm6.04 37.81c.473-.105.974-.217 1.46-.217V15H41.25a1.875 1.875 0 0 1-1.875-1.875V3.75H11.251v56.249h18.88a5.625 5.625 0 0 0 5.794-4.819v-.394c.22-1.086.546-2.147.975-3.168a17 17 0 0 1 1.556-2.87c.603-.92 1.294-1.78 2.063-2.568a16.9 16.9 0 0 1 8.53-4.593z",clipRule:"evenodd"})),at||(at=r.createElement("path",{fill:"#737376",d:"m56.25 65.52 2.643-2.644c-3.836-3.837-10.056-3.837-13.893 0l2.644 2.643a6.225 6.225 0 0 1 8.606 0"})));var dt,ut;function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",pt({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),dt||(dt=r.createElement("circle",{r:2.955,fill:"#fff",transform:"matrix(-1 0 0 1 8 3.955)"})),ut||(ut=r.createElement("path",{fill:"#fff",d:"M13.5 14c.552 0 1.002-.45.9-.993-.192-1.028-.729-2.497-2.155-3.61-.557-.464-2.186-1.306-4.245-1.306s-3.688.842-4.245 1.307c-1.427 1.112-1.963 2.58-2.155 3.609-.102.543.348.993.9.993z"})));var gt;function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",vt({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),gt||(gt=r.createElement("path",{fill:"#fff",d:"M12.286 11.5h-2.143L8.714 8.7V4.5H13v4.2h-2.143zm-5.715 0H4.43L3 8.7V4.5h4.286v4.2H5.143z"})));var ft;function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",yt({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none",viewBox:"0 0 17 16"},e),ft||(ft=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.92 3.568c1.2 0 1.936-.8 1.936-1.776C3.84.768 3.12 0 1.936 0 .768 0 0 .768 0 1.792c0 .992.736 1.776 1.888 1.776zm1.504 11.456V5H0v10.024zm2.577.192H6v.328zm3.423-8.52V5.24H6c.028.838.006 8.31.001 9.976h3.423V9.784c0-.304.016-.624.112-.832.24-.624.816-1.248 1.76-1.248 1.248 0 1.744.944 1.744 2.336v5.176h3.424V9.64c0-3.168-1.696-4.64-3.952-4.64-1.814 0-2.62.994-3.088 1.696",clipRule:"evenodd"})));var wt;function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),wt||(wt=r.createElement("path",{fill:"currentColor",d:"M16 3.549c-.6.261-1.236.434-1.886.512a3.28 3.28 0 0 0 1.438-1.822 6.5 6.5 0 0 1-2.077.799A3.281 3.281 0 0 0 7.8 5.276c0 .255.031.51.08.75a9.32 9.32 0 0 1-6.762-3.42A3.2 3.2 0 0 0 .67 4.253a3.29 3.29 0 0 0 1.455 2.733A3.14 3.14 0 0 1 .638 6.57v.048A3.29 3.29 0 0 0 3.276 9.83c-.272.08-.56.112-.863.112-.208 0-.416-.016-.624-.064a3.27 3.27 0 0 0 3.07 2.27A6.6 6.6 0 0 1 0 13.507a9.3 9.3 0 0 0 5.019 1.47c6.026 0 9.335-5.002 9.335-9.334 0-.144 0-.287-.016-.431A5.7 5.7 0 0 0 16 3.549"})));var St;function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",It({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),St||(St=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 2a1 1 0 0 1 2 0h4a1 1 0 1 1 2 0h.5A1.5 1.5 0 0 1 14 3.5V4H2v-.5A1.5 1.5 0 0 1 3.5 2zM2 5.5h12V12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zm2.571 3.7a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2m4.53-1.1a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0m2.328 1.1a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2M5.67 11.393a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0m2.33 1.1a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2",clipRule:"evenodd"})));var Et;function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Ot({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Et||(Et=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"M11.5 9.5 8 6 4.5 9.5"})));var Tt,xt,Mt;function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Rt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Tt||(Tt=r.createElement("mask",{id:"3c69a",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M22.5 12c0 5.799-4.701 10.5-10.5 10.5S1.5 17.799 1.5 12 6.201 1.5 12 1.5 22.5 6.201 22.5 12M11.926 7.85a1.56 1.56 0 0 0-1.465 1.02.85.85 0 1 1-1.594-.588 3.26 3.26 0 1 1 5.547 3.233l-.019.022-.02.021-1.075 1.105-.006.006-.006.006c-.319.315-.512.534-.512.94v.363a.85.85 0 0 1-1.7 0v-.364c0-1.144.664-1.8 1.003-2.134l.009-.008 1.046-1.076a1.56 1.56 0 0 0-1.208-2.546m0 9.917a.884.884 0 1 0 0-1.767.884.884 0 0 0 0 1.767",clipRule:"evenodd",shapeRendering:"crispEdges"}))),xt||(xt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M22.5 12c0 5.799-4.701 10.5-10.5 10.5S1.5 17.799 1.5 12 6.201 1.5 12 1.5 22.5 6.201 22.5 12M11.926 7.85a1.56 1.56 0 0 0-1.465 1.02.85.85 0 1 1-1.594-.588 3.26 3.26 0 1 1 5.547 3.233l-.019.022-.02.021-1.075 1.105-.006.006-.006.006c-.319.315-.512.534-.512.94v.363a.85.85 0 0 1-1.7 0v-.364c0-1.144.664-1.8 1.003-2.134l.009-.008 1.046-1.076a1.56 1.56 0 0 0-1.208-2.546m0 9.917a.884.884 0 1 0 0-1.767.884.884 0 0 0 0 1.767",clipRule:"evenodd"})),Mt||(Mt=r.createElement("path",{fill:"currentColor",d:"m10.462 8.87 1.595.588zm-1.092.503-.588 1.595zm-.503-1.091-1.595-.589zm5.547 3.233-1.297-1.099zm-.019.022 1.22 1.185.04-.042.038-.044zm-.02.021 1.219 1.186zM13.3 12.663l1.22 1.185zm-.006.006 1.195 1.21.012-.012.012-.013zm-.006.006-1.194-1.21zM12.08 11.48l1.194 1.21zm.009-.008 1.194 1.21.012-.013.013-.012zm1.046-1.076 1.218 1.186.051-.053.046-.056zM12 24.2c6.738 0 12.2-5.462 12.2-12.2h-3.4a8.8 8.8 0 0 1-8.8 8.8zM-.2 12c0 6.738 5.462 12.2 12.2 12.2v-3.4A8.8 8.8 0 0 1 3.2 12zM12-.2C5.262-.2-.2 5.262-.2 12h3.4A8.8 8.8 0 0 1 12 3.2zM24.2 12C24.2 5.262 18.738-.2 12-.2v3.4a8.8 8.8 0 0 1 8.8 8.8zM12.057 9.458a.14.14 0 0 1-.05.065.15.15 0 0 1-.081.027v-3.4a3.26 3.26 0 0 0-3.06 2.132zm-3.275 1.51a2.55 2.55 0 0 0 3.274-1.51l-3.19-1.176a.85.85 0 0 1 1.092-.504zm-1.51-3.275a2.55 2.55 0 0 0 1.51 3.275l1.176-3.19a.85.85 0 0 1 .503 1.092zm4.654-3.243a4.96 4.96 0 0 0-4.654 3.243l3.19 1.177a1.56 1.56 0 0 1 1.464-1.02zm4.96 4.96a4.96 4.96 0 0 0-4.96-4.96v3.4c.861 0 1.56.698 1.56 1.56zm-1.174 3.203a4.95 4.95 0 0 0 1.173-3.203h-3.4c0 .384-.138.734-.368 1.006zm-.019.023.019-.023-2.595-2.197-.02.023zm-.1.108.021-.021-2.437-2.371-.02.021zm-1.074 1.104 1.075-1.104-2.438-2.371-1.074 1.105zm-.006.006.006-.006-2.437-2.37-.006.006zm-.03.031.006-.006-2.389-2.42-.006.007zm-.007-.27a.8.8 0 0 1-.112.382c-.025.04-.039.052-.018.028.023-.026.06-.065.137-.14l-2.389-2.42c-.33.326-1.018.985-1.018 2.15zm0 .363v-.364h-3.4v.364zm-2.55 2.55a2.55 2.55 0 0 0 2.55-2.55h-3.4c0-.47.38-.85.85-.85zm-2.55-2.55a2.55 2.55 0 0 0 2.55 2.55v-3.4c.469 0 .85.38.85.85zm0-.364v.364h3.4v-.364zm1.51-3.344c-.372.366-1.51 1.455-1.51 3.344h3.4c0-.4.19-.621.497-.923zm.008-.009-.009.01 2.388 2.42.009-.01zm1.021-1.05-1.046 1.075 2.438 2.37 1.045-1.074zm-.13.199a.14.14 0 0 1 .033-.09l2.631 2.153a3.25 3.25 0 0 0 .736-2.063zm.14.14a.14.14 0 0 1-.14-.14h3.4c0-1.8-1.46-3.26-3.26-3.26zm-.815 7.334c0-.451.366-.817.817-.817v3.4a2.584 2.584 0 0 0 2.583-2.583zm.817.816a.816.816 0 0 1-.817-.816h3.4a2.584 2.584 0 0 0-2.583-2.584zm.816-.816c0 .45-.366.816-.816.816v-3.4a2.584 2.584 0 0 0-2.584 2.584zm-.816-.817c.45 0 .816.366.816.817h-3.4a2.584 2.584 0 0 0 2.584 2.583z",mask:"url(#3c69a)"})));var Pt,zt,Lt;function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Nt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Pt||(Pt=r.createElement("circle",{cx:12,cy:12,r:9.65,stroke:"#1A1A1A",strokeWidth:1.7,className:"33c83c7cstroke e102c149circle"})),zt||(zt=r.createElement("path",{stroke:"#1A1A1A",strokeLinecap:"round",strokeWidth:1.7,d:"M9.664 8.576a2.41 2.41 0 1 1 4.102 2.39l-1.075 1.104c-.326.322-.765.76-.765 1.544v.364",className:"33c83c7cstroke bfd4a92dnegative"})),Lt||(Lt=r.createElement("circle",{cx:11.927,cy:16.884,r:.884,fill:"#1A1A1A",className:"244181c0fill bfd4a92dnegative"})));var Bt,Dt,Ht;function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",$t({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Bt||(Bt=r.createElement("mask",{id:"1fc7a",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M10.5 2.335 3 7.51c-.625.437-1 1.116-1 1.84V19.7C2 20.965 3.125 22 4.5 22h15c1.375 0 2.5-1.035 2.5-2.3V9.35c0-.724-.375-1.403-1-1.84l-7.5-5.175a2.69 2.69 0 0 0-3 0M7.316 14.366a.85.85 0 1 0-1.132 1.268A8.7 8.7 0 0 0 12 17.852a8.7 8.7 0 0 0 5.816-2.218.85.85 0 1 0-1.132-1.268A7 7 0 0 1 12 16.152c-1.8 0-3.44-.675-4.684-1.786",clipRule:"evenodd"}))),Dt||(Dt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.5 2.335 3 7.51c-.625.437-1 1.116-1 1.84V19.7C2 20.965 3.125 22 4.5 22h15c1.375 0 2.5-1.035 2.5-2.3V9.35c0-.724-.375-1.403-1-1.84l-7.5-5.175a2.69 2.69 0 0 0-3 0M7.316 14.366a.85.85 0 1 0-1.132 1.268A8.7 8.7 0 0 0 12 17.852a8.7 8.7 0 0 0 5.816-2.218.85.85 0 1 0-1.132-1.268A7 7 0 0 1 12 16.152c-1.8 0-3.44-.675-4.684-1.786",clipRule:"evenodd"})),Ht||(Ht=r.createElement("path",{fill:"currentColor",d:"m3 7.51-.965-1.4-.01.007zm7.5-5.175L9.538.934l-.003.002zM21 7.51l.974-1.393-.009-.006zm-7.5-5.175.966-1.4-.004-.001zM6.116 14.434l1.268 1.132zm1.2-.068 1.133-1.268zm-1.132 1.268L5.05 16.902zm11.632 0 1.133 1.268zm.068-1.2-1.268 1.132zm-1.2-.068-1.133-1.268zM3.965 8.91l7.5-5.175L9.536.936l-7.5 5.175zm-.265.44c0-.12.063-.299.274-.447L2.026 6.117C.987 6.843.3 8.022.3 9.35zm0 10.35V9.35H.3V19.7zm.8.6a.9.9 0 0 1-.615-.227.5.5 0 0 1-.185-.373H.3c0 2.335 2.022 4 4.2 4zm15 0h-15v3.4h15zm.8-.6a.5.5 0 0 1-.185.373.9.9 0 0 1-.615.227v3.4c2.178 0 4.2-1.665 4.2-4zm0-10.35V19.7h3.4V9.35zm-.274-.447c.211.148.274.326.274.447h3.4c0-1.328-.687-2.507-1.726-3.233zm-7.491-5.169 7.5 5.175 1.93-2.798-7.5-5.175zm-1.073.002a.99.99 0 0 1 1.076 0L14.462.934a4.39 4.39 0 0 0-4.924 0zm-4.078 11.83a.85.85 0 0 1-1.2.068l2.265-2.536a2.55 2.55 0 0 0-3.6.203zm-.068-1.2c.35.313.38.85.068 1.2l-2.536-2.265a2.55 2.55 0 0 0 .203 3.6zM12 16.152c-1.8 0-3.44-.675-4.684-1.786l-2.265 2.536A10.4 10.4 0 0 0 12 19.552zm4.684-1.786A7 7 0 0 1 12 16.152v3.4c2.667 0 5.105-1.004 6.949-2.65zm-.068 1.2a.85.85 0 0 1 .068-1.2l2.265 2.536a2.55 2.55 0 0 0 .203-3.6zm1.2.068a.85.85 0 0 1-1.2-.068l2.536-2.265a2.55 2.55 0 0 0-3.6-.203zM12 17.852a8.7 8.7 0 0 0 5.816-2.218l-2.265-2.536A5.3 5.3 0 0 1 12 14.452zm-5.816-2.218A8.7 8.7 0 0 0 12 17.852v-3.4a5.3 5.3 0 0 1-3.551-1.354z",mask:"url(#1fc7a)"})));var Ft,qt;function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Wt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Ft||(Ft=r.createElement("path",{stroke:"#1A1A1A",strokeWidth:1.7,d:"M2.85 9.35c0-.423.218-.85.635-1.143l7.496-5.172h.001a1.84 1.84 0 0 1 2.036 0l7.495 5.17.002.002c.417.293.635.72.635 1.142V19.7c0 .73-.676 1.45-1.65 1.45h-15c-.974 0-1.65-.72-1.65-1.45z",className:"25696fedstroke"})),qt||(qt=r.createElement("path",{stroke:"#1A1A1A",strokeLinecap:"round",strokeWidth:1.7,d:"M17.25 15A7.86 7.86 0 0 1 12 17.002 7.86 7.86 0 0 1 6.75 15",className:"25696fedstroke"})));var Jt,Kt,Xt;function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Qt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Jt||(Jt=r.createElement("mask",{id:"94a4a",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M22 5a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10.558l3.883 3.87c.946.942 2.559.272 2.559-1.063zm-4.15 2.85A.85.85 0 0 0 17 7H7a.85.85 0 0 0 0 1.7h10c.47 0 .85-.38.85-.85m-5 4A.85.85 0 0 0 12 11H7a.85.85 0 0 0 0 1.7h5c.47 0 .85-.38.85-.85",clipRule:"evenodd"}))),Kt||(Kt=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 5a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10.558l3.883 3.87c.946.942 2.559.272 2.559-1.063zm-4.15 2.85A.85.85 0 0 0 17 7H7a.85.85 0 0 0 0 1.7h10c.47 0 .85-.38.85-.85m-5 4A.85.85 0 0 0 12 11H7a.85.85 0 0 0 0 1.7h5c.47 0 .85-.38.85-.85",clipRule:"evenodd"})),Xt||(Xt=r.createElement("path",{fill:"currentColor",d:"M15.558 18v-1.7h.702l.498.496zm3.883 3.87 1.2-1.205zM19 .3A4.7 4.7 0 0 1 23.7 5h-3.4A1.3 1.3 0 0 0 19 3.7zM5 .3h14v3.4H5zM.3 5A4.7 4.7 0 0 1 5 .3v3.4A1.3 1.3 0 0 0 3.7 5zm0 10V5h3.4v10zM5 19.7A4.7 4.7 0 0 1 .3 15h3.4A1.3 1.3 0 0 0 5 16.3zm10.558 0H5v-3.4h10.558zm2.683 3.374-3.883-3.87 2.4-2.408 3.883 3.87zm5.459-2.267c0 2.848-3.441 4.277-5.459 2.267l2.4-2.409a.23.23 0 0 0-.218-.043.23.23 0 0 0-.123.185zm0-4.307v4.307h-3.4V16.5zm0-2.543V16.5h-3.4v-2.543zM23.7 5v8.957h-3.4V5zm-6.7.3a2.55 2.55 0 0 1 2.55 2.55h-3.4c0 .47.38.85.85.85zm-10 0h10v3.4H7zM4.45 7.85A2.55 2.55 0 0 1 7 5.3v3.4c.47 0 .85-.38.85-.85zM7 10.4a2.55 2.55 0 0 1-2.55-2.55h3.4A.85.85 0 0 0 7 7zm10 0H7V7h10zm2.55-2.55A2.55 2.55 0 0 1 17 10.4V7a.85.85 0 0 0-.85.85zM12 9.3a2.55 2.55 0 0 1 2.55 2.55h-3.4c0 .47.38.85.85.85zm-5 0h5v3.4H7zm-2.55 2.55A2.55 2.55 0 0 1 7 9.3v3.4c.47 0 .85-.38.85-.85zM7 14.4a2.55 2.55 0 0 1-2.55-2.55h3.4A.85.85 0 0 0 7 11zm5 0H7V11h5zm2.55-2.55A2.55 2.55 0 0 1 12 14.4V11a.85.85 0 0 0-.85.85z",mask:"url(#94a4a)"})));var Yt,en,tn;function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",nn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),Yt||(Yt=r.createElement("mask",{id:"3a62a",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M19 2a3 3 0 0 1 3 3v15.806c0 1.335-1.613 2.005-2.559 1.062L15.56 18H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3z",clipRule:"evenodd"}))),en||(en=r.createElement("path",{fill:"#1A1A1A",d:"m19.441 21.868 1.2-1.204zM15.56 18v-1.7h.702l.498.496zM20.3 5A1.3 1.3 0 0 0 19 3.7V.3A4.7 4.7 0 0 1 23.7 5zm0 8.956V5h3.4v8.956zm0 2.544v-2.544h3.4V16.5zm0 4.306V16.5h3.4v4.306zm.341-.142a.23.23 0 0 0-.218-.043.23.23 0 0 0-.123.185h3.4c0 2.848-3.441 4.277-5.459 2.267zm-3.882-3.868 3.882 3.868-2.4 2.409-3.882-3.869zM5 16.3h10.559v3.4H5zM3.7 15A1.3 1.3 0 0 0 5 16.3v3.4A4.7 4.7 0 0 1 .3 15zm0-10v10H.3V5zM5 3.7A1.3 1.3 0 0 0 3.7 5H.3A4.7 4.7 0 0 1 5 .3zm14 0H5V.3h14z",className:"bbeee17bfill",mask:"url(#3a62a)"})),tn||(tn=r.createElement("path",{fill:"#1A1A1A",fillRule:"evenodd",d:"M17 7a.85.85 0 0 1 0 1.7H7A.85.85 0 1 1 7 7zm-5 4a.85.85 0 0 1 0 1.7H7A.85.85 0 0 1 7 11z",className:"bbeee17bfill",clipRule:"evenodd"})));var rn;function on(){return on=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",on({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),rn||(rn=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.218 14H9.5v6.232a2.268 2.268 0 0 1-4.456.597l-1.967-7.212A5.001 5.001 0 0 1 5 4h5.938l4.511-2.977A1 1 0 0 1 17 1.858v14.76a1 1 0 0 1-1.55.834zM20.595 3.393a.85.85 0 1 0-1.19 1.214A6.13 6.13 0 0 1 21.251 9a6.13 6.13 0 0 1-1.846 4.393.85.85 0 1 0 1.19 1.214A7.83 7.83 0 0 0 22.95 9a7.83 7.83 0 0 0-2.356-5.607",clipRule:"evenodd"})));var cn,ln,dn;function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",un({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),cn||(cn=r.createElement("path",{stroke:"#1A1A1A",strokeLinecap:"round",strokeWidth:1.7,d:"M20 4a6.98 6.98 0 0 1 2.101 5c0 1.959-.804 3.73-2.101 5",className:"32ddf03cstroke"})),ln||(ln=r.createElement("mask",{id:"e4cea",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M9.5 14h.718l5.231 3.452A1 1 0 0 0 17 16.617V1.858a1 1 0 0 0-1.55-.835L10.937 4H5a5 5 0 0 0-1.923 9.617l1.967 7.212a2.268 2.268 0 0 0 4.456-.597z",clipRule:"evenodd"}))),dn||(dn=r.createElement("path",{fill:"#1A1A1A",d:"m10.218 14 .936-1.419-.426-.28h-.51zM9.5 14v-1.7H7.8V14zm5.95 3.452-.937 1.42zm0-16.429-.937-1.419zM10.937 4v1.7h.51l.426-.28zm-7.86 9.617 1.64-.447-.22-.802-.766-.32zm1.966 7.212 1.64-.447zm5.174-8.529H9.5v3.4h.718zm6.168 3.733-5.232-3.452L9.28 15.42l5.232 3.452zm-1.086.584a.7.7 0 0 1 1.085-.584l-1.872 2.838c1.795 1.185 4.187-.103 4.187-2.253zm0-14.759v14.76h3.4V1.858zm1.085.584a.7.7 0 0 1-1.085-.584h3.4c0-2.15-2.392-3.438-4.187-2.254zm-4.51 2.977 4.51-2.977-1.872-2.838-4.511 2.977zM5 5.7h5.938V2.3H5zM1.7 9A3.3 3.3 0 0 1 5 5.7V2.3c-3.7 0-6.7 3-6.7 6.7zm2.032 3.048A3.3 3.3 0 0 1 1.7 9h-3.4a6.7 6.7 0 0 0 4.123 6.186zm2.952 8.334L4.718 13.17l-3.28.895 1.966 7.211zm.548.418a.57.57 0 0 1-.548-.418l-3.28.894A3.97 3.97 0 0 0 7.232 24.2zm.568-.568a.57.57 0 0 1-.568.568v3.4a3.97 3.97 0 0 0 3.968-3.968zM7.8 14v6.232h3.4V14z",className:"c9dbb3acfill",mask:"url(#e4cea)"})));var hn;function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",gn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),hn||(hn=r.createElement("path",{fill:"#334BFA",fillRule:"evenodd",d:"M3.75 4.5A2.25 2.25 0 0 0 1.5 6.75v1.875c0 .414.343.74.74.856a2.626 2.626 0 0 1 0 5.038c-.397.117-.74.442-.74.856v1.875a2.25 2.25 0 0 0 2.25 2.25h16.5a2.25 2.25 0 0 0 2.25-2.25v-1.875c0-.414-.343-.74-.74-.856a2.626 2.626 0 0 1 0-5.038c.397-.117.74-.442.74-.856V6.75a2.25 2.25 0 0 0-2.25-2.25zM16.5 9.75h-9a1.125 1.125 0 0 1 0-2.25h9a1.125 1.125 0 0 1 0 2.25",clipRule:"evenodd"})));var mn,fn,yn;function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",_n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),mn||(mn=r.createElement("mask",{id:"925ba",fill:"#fff"},r.createElement("path",{fillRule:"evenodd",d:"M3 4.5A1.5 1.5 0 0 0 1.5 6v2.875c0 .276.226.495.497.547a2.626 2.626 0 0 1 0 5.156c-.271.052-.497.27-.497.547V18A1.5 1.5 0 0 0 3 19.5h18a1.5 1.5 0 0 0 1.5-1.5v-2.875c0-.276-.226-.495-.497-.547a2.626 2.626 0 0 1 0-5.156c.271-.052.497-.27.497-.547V6A1.5 1.5 0 0 0 21 4.5z",clipRule:"evenodd"}))),fn||(fn=r.createElement("path",{fill:"#1A1A1A",d:"m1.997 9.422-.32 1.67zm0 5.156-.32-1.67zm20.006 0-.32 1.67zm0-5.156-.32-1.67zM3.2 6a.2.2 0 0 1-.2.2V2.8A3.2 3.2 0 0 0-.2 6zm0 1.5V6H-.2v1.5zm0 1.375V7.5H-.2v1.375zm-.883-1.123c.332.064.883.397.883 1.123H-.2c0 1.278 1.003 2.05 1.877 2.217zM5.825 12c0-2.11-1.51-3.865-3.508-4.248l-.64 3.34a.925.925 0 0 1 .748.908zm-3.508 4.248A4.326 4.326 0 0 0 5.825 12h-3.4c0 .45-.322.827-.748.908zm.883-1.123a1.12 1.12 0 0 1-.883 1.123l-.64-3.34c-.874.168-1.877.94-1.877 2.217zm0 1.375v-1.375H-.2V16.5zm0 1.5v-1.5H-.2V18zm-.2-.2c.11 0 .2.09.2.2H-.2A3.2 3.2 0 0 0 3 21.2zm18 0H3v3.4h18zm-.2.2c0-.11.09-.2.2-.2v3.4a3.2 3.2 0 0 0 3.2-3.2zm0-1.5V18h3.4v-1.5zm3.4 0v-1.375h-3.4V16.5zm0-1.375c0-1.278-1.003-2.05-1.877-2.217l-.64 3.34a1.12 1.12 0 0 1-.883-1.123zm-1.877-2.217a.926.926 0 0 1-.748-.908h-3.4c0 2.11 1.51 3.865 3.508 4.248zM21.575 12c0-.45.322-.827.748-.908l-.64-3.34A4.326 4.326 0 0 0 18.175 12zm.748-.908c.874-.168 1.877-.94 1.877-2.217h-3.4c0-.726.551-1.059.883-1.123zM24.2 8.875V7.5h-3.4v1.375zM20.8 6v1.5h3.4V6zm.2.2a.2.2 0 0 1-.2-.2h3.4A3.2 3.2 0 0 0 21 2.8zm-18 0h18V2.8H3z",className:"0d0f67f0fill",mask:"url(#925ba)"})),yn||(yn=r.createElement("path",{stroke:"#1A1A1A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"M7.5 8.625h9",className:"9d0b5f9fstroke"})));var bn;function Cn(){return Cn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Cn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),bn||(bn=r.createElement("path",{fill:"#000",d:"M9.19 6.35c-2.04 2.29-3.44 5.58-3.57 5.89l-2.26-.97c-.65-.28-.81-1.13-.31-1.63l3.01-3.01c.47-.47 1.15-.68 1.81-.55zm1.49 10.16c.3.3.74.38 1.12.2 1.16-.54 3.65-1.81 5.26-3.42 4.59-4.59 4.63-8.33 4.36-9.93a.98.98 0 0 0-.79-.79c-1.6-.27-5.34-.23-9.93 4.36-1.61 1.61-2.87 4.1-3.42 5.26-.18.38-.09.83.2 1.12zm6.97-1.7c-2.29 2.04-5.58 3.44-5.89 3.57l.97 2.26c.28.65 1.13.81 1.63.31l3.01-3.01c.47-.47.68-1.15.55-1.81zm-8.71 2.6a3 3 0 0 1-.82 2.71c-.77.77-3.16 1.34-4.71 1.64-.69.13-1.3-.48-1.17-1.17.3-1.55.86-3.94 1.64-4.71a3 3 0 0 1 2.71-.82c1.17.22 2.13 1.18 2.35 2.35M13 9c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2"})));var In;function An(){return An=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",An({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),In||(In=r.createElement("path",{stroke:"#1A1A1A",strokeWidth:1.7,d:"M5.5 3.35A2.15 2.15 0 0 0 3.35 5.5v10a2.15 2.15 0 0 0 2.15 2.15h10a2.15 2.15 0 0 0 2.15-2.15v-10a2.15 2.15 0 0 0-2.15-2.15zM1.65 5.5A3.85 3.85 0 0 1 5.5 1.65h10a3.85 3.85 0 0 1 3.85 3.85v10a3.85 3.85 0 0 1-3.85 3.85h-10a3.85 3.85 0 0 1-3.85-3.85zM14.1 7.899a.85.85 0 0 1 0 1.202l-4 4a.85.85 0 0 1-1.201 0l-2-2A.85.85 0 1 1 8.1 9.899l1.4 1.399 3.399-3.4a.85.85 0 0 1 1.202 0Zm6.55 1.6a.85.85 0 1 1 1.7 0v6.851a5.85 5.85 0 0 1-5.85 5.85h-7a.85.85 0 0 1 0-1.7h7a4.15 4.15 0 0 0 4.15-4.15z",className:"78bed6e1fill"})));var On;function kn(){return kn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",kn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),On||(On=r.createElement("path",{fill:"#000",fillRule:"evenodd",d:"M19.35 16.35V4.65a3 3 0 0 0-3-3H4.65a3 3 0 0 0-3 3v11.7a3 3 0 0 0 3 3h11.7a3 3 0 0 0 3-3M14.1 7.899a.85.85 0 0 1 0 1.202l-4 4a.85.85 0 0 1-1.201 0l-2-2A.85.85 0 1 1 8.1 9.899l1.4 1.399 3.399-3.4a.85.85 0 0 1 1.202 0Zm6.55 1.6a.85.85 0 1 1 1.7 0v6.851a5.85 5.85 0 0 1-5.85 5.85h-7a.85.85 0 0 1 0-1.7h7a4.15 4.15 0 0 0 4.15-4.15z",clipRule:"evenodd"})));var xn;function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Mn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),xn||(xn=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 3A1.5 1.5 0 0 0 1 4.5v1.25c0 .276.228.493.493.57a1.75 1.75 0 0 1 0 3.36c-.265.077-.493.294-.493.57v1.25A1.5 1.5 0 0 0 2.5 13h11a1.5 1.5 0 0 0 1.5-1.5v-1.25c0-.276-.228-.493-.493-.57a1.75 1.75 0 0 1 0-3.36c.265-.077.493-.294.493-.57V4.5A1.5 1.5 0 0 0 13.5 3zM11 6.5H5A.75.75 0 0 1 5 5h6a.75.75 0 0 1 0 1.5",clipRule:"evenodd"})));var jn;function Pn(){return Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Pn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),jn||(jn=r.createElement("path",{fill:"#3465F6",fillRule:"evenodd",d:"M1.5 2A1.5 1.5 0 0 0 0 3.5v1.937c.02.258.238.46.493.528C1.36 6.195 2 7.019 2 8c0 .98-.64 1.804-1.506 2.035-.255.068-.474.27-.493.528V12.5A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-1.9c0-.276-.228-.493-.495-.565-.865-.23-1.506-1.054-1.506-2.035 0-.98.64-1.804 1.506-2.035.267-.072.494-.289.494-.565v-1H16v-.9A1.5 1.5 0 0 0 14.5 2zm9.929 4.05H4.57a.75.75 0 1 1 0-1.5h6.858a.75.75 0 0 1 0 1.5",clipRule:"evenodd"})));var Ln;function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Nn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ln||(Ln=r.createElement("path",{fill:"#CD4D12",fillRule:"evenodd",d:"M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v.9h-.002v1c0 .276-.227.493-.494.565-.866.23-1.506 1.054-1.506 2.035 0 .98.64 1.804 1.506 2.035.267.072.494.289.494.565v1H16v.9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-1.94c.02-.257.24-.457.493-.525.865-.23 1.505-1.054 1.505-2.035 0-.98-.64-1.804-1.505-2.035C.239 5.897.02 5.697 0 5.44zM7.5 9a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5zm.5 3c-.57 0-1-.429-1-1s.43-1 1-1 1 .429 1 1-.429 1-1 1",clipRule:"evenodd"})));var Bn;function Dn(){return Dn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Dn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Bn||(Bn=r.createElement("path",{fill:"#0D7532",fillRule:"evenodd",d:"M1.5 2A1.5 1.5 0 0 0 0 3.5v1.937c.02.258.239.46.494.528.865.23 1.505 1.054 1.505 2.035 0 .98-.64 1.804-1.505 2.035-.255.068-.474.27-.494.528V12.5A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-1.9c0-.276-.228-.493-.495-.565C14.64 9.805 14 8.981 14 8c0-.98.64-1.804 1.505-2.035.267-.072.495-.289.495-.565V3.5A1.5 1.5 0 0 0 14.5 2zm10.054 3.397a.85.85 0 0 1 .004 1.202l-3.976 4a.85.85 0 0 1-1.205 0l-1.74-1.75a.85.85 0 1 1 1.206-1.198L6.98 8.794l3.372-3.393a.85.85 0 0 1 1.202-.004",clipRule:"evenodd"})));var $n;function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Vn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),$n||($n=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.7,d:"M11.89 11.889 8 7.999m0 0L4.111 4.112M8.001 8l3.889-3.89M8 8l-3.889 3.889"})));var qn,Wn;function Gn(){return Gn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Gn({xmlns:"http://www.w3.org/2000/svg",width:17,height:16,fill:"none",viewBox:"0 0 17 16"},e),qn||(qn=r.createElement("path",{fill:"#757575",fillRule:"evenodd",d:"M4.223 3.3H14a.7.7 0 0 1 .7.7v8a.7.7 0 0 1-.7.7H4.223a.7.7 0 0 1-.7-.7h-1.3a2 2 0 0 0 2 2H14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4.223a2 2 0 0 0-2 2h1.3a.7.7 0 0 1 .7-.7",clipRule:"evenodd"})),Wn||(Wn=r.createElement("path",{fill:"#757575",d:"M5.658 7.1a1.9 1.9 0 0 0-.172-.671 1.7 1.7 0 0 0-.418-.57 1.95 1.95 0 0 0-.672-.399 2.7 2.7 0 0 0-.922-.144q-.76 0-1.289.308-.527.309-.8.856-.274.543-.274 1.258v.64q0 .524.137.973.14.445.43.781.288.332.734.52.446.187 1.059.187.574 0 .988-.16.418-.165.683-.441.27-.282.399-.637.129-.36.129-.75V7.81H3.53v.903h.929v.234a.84.84 0 0 1-.106.415.8.8 0 0 1-.32.308 1.1 1.1 0 0 1-.539.117q-.394 0-.637-.183a1.07 1.07 0 0 1-.347-.508 2.3 2.3 0 0 1-.106-.723V7.75q0-.66.274-1.02.273-.362.785-.363.202 0 .363.055a.86.86 0 0 1 .48.39.9.9 0 0 1 .102.29zm2.328 3.642V5.409H6.701v5.333zm2.524 0V8.73h2.058v-1H10.51V6.44h2.265V5.41h-3.55v5.332z"})));var Kn,Xn,Qn;function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Zn({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Kn||(Kn=r.createElement("circle",{cx:8,cy:8,r:6.725,stroke:"#757575",strokeWidth:1.3})),Xn||(Xn=r.createElement("path",{fill:"#757575",fillRule:"evenodd",d:"M5.818 7.534a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2m4.364 0a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2",clipRule:"evenodd"})),Qn||(Qn=r.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeWidth:1.3,d:"M10 10c-.44.604-1.172 1-2 1s-1.56-.396-2-1"})));var es;function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ts({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),es||(es=r.createElement("path",{stroke:"#757575",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.3,d:"m5.27 9.512 5.882-5.882a1.685 1.685 0 0 1 2.383 2.384l-5.928 5.929A3.314 3.314 0 0 1 2.92 7.257l4.149-4.15"})));var ss;function rs(){return rs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",rs({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),ss||(ss=r.createElement("path",{fill:"#334BFA",fillRule:"evenodd",d:"M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm4.481 4.323q.15.321.172.672h-1.25a.9.9 0 0 0-.101-.289.84.84 0 0 0-.48-.39 1.1 1.1 0 0 0-.364-.055q-.512 0-.785.363-.274.36-.274 1.02v.625q0 .402.106.722.11.32.347.508.243.183.637.184.324 0 .54-.118a.8.8 0 0 0 .32-.308.84.84 0 0 0 .105-.414v-.235h-.93v-.902h2.14v1.04q0 .39-.128.75-.13.354-.398.636a1.9 1.9 0 0 1-.684.441q-.414.16-.988.16-.614 0-1.059-.187a2 2 0 0 1-.734-.52 2.2 2.2 0 0 1-.43-.78 3.3 3.3 0 0 1-.137-.974v-.64q0-.715.274-1.258.273-.548.8-.855.528-.309 1.29-.309.524 0 .921.144.399.146.672.399.274.25.418.57m2.5-1.02v5.333H7.696V5.304zm2.524 3.321v2.012H10.22V5.304h3.55v1.031h-2.265v1.289h2.058v1z",clipRule:"evenodd"})));var os,as,cs;function ls(){return ls=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ls({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),os||(os=r.createElement("circle",{cx:8,cy:8,r:6.725,fill:"#334BFA",stroke:"#334BFA",strokeWidth:1.3})),as||(as=r.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.818 7.534a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2m4.364 0a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2",clipRule:"evenodd"})),cs||(cs=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.3,d:"M10 10c-.44.604-1.172 1-2 1s-1.56-.396-2-1"})));var us;function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ps({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),us||(us=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m4.394 14.7 9.356-5.4c1-.577 1-2.02 0-2.598L4.394 1.299a1.5 1.5 0 0 0-2.25 1.3v3.438l4.059 1.088c.494.132.494.833 0 .966l-4.06 1.087v4.224a1.5 1.5 0 0 0 2.25 1.299",clipRule:"evenodd"})));var gs;function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",vs({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),gs||(gs=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"m14 18-6-6 6-6"})));var fs;function ys(){return ys=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ys({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),fs||(fs=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.849 8.473a1.275 1.275 0 0 1 1.803 0L12 12.82l4.349-4.348a1.275 1.275 0 1 1 1.803 1.803l-5.25 5.25a1.275 1.275 0 0 1-1.803 0l-5.25-5.25a1.275 1.275 0 0 1 0-1.803Z",clipRule:"evenodd"})));var ws;function bs(){return bs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",bs({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),ws||(ws=r.createElement("path",{fill:"#1A1A1A",fillRule:"evenodd",d:"M3.5 5.5a4.5 4.5 0 0 1 9 0V8l2.293 2.293c.63.63.184 1.707-.707 1.707H1.914c-.89 0-1.337-1.077-.707-1.707L3.5 8zm6.5 8.08a2 2 0 1 1-4-.08h3.997z",clipRule:"evenodd"})));var Ss;function Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Is({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ss||(Ss=r.createElement("path",{fill:"#334BFA",fillRule:"evenodd",d:"M13 3.7H3a.3.3 0 0 0-.3.3v4.632l1.904-1.07a2.85 2.85 0 0 1 2.792 0l2.04 1.146c.35.197.778.197 1.127 0L13.3 7.171V4a.3.3 0 0 0-.3-.3M2.7 12v-1.418l2.737-1.538a1.15 1.15 0 0 1 1.126 0l2.041 1.146a2.85 2.85 0 0 0 2.792 0L13.3 9.12V12a.3.3 0 0 1-.3.3H3a.3.3 0 0 1-.3-.3M3 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm7.1 5.2a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2",clipRule:"evenodd"})));var Es;function Os(){return Os=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Os({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Es||(Es=r.createElement("path",{fill:"#737376",fillRule:"evenodd",d:"M3 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm3.55 3.106 3.962 2.288a.7.7 0 0 1 0 1.212L6.55 10.894a.7.7 0 0 1-1.05-.606V5.712a.7.7 0 0 1 1.05-.606",clipRule:"evenodd"})));var Ts;function xs(){return xs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",xs({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ts||(Ts=r.createElement("path",{fill:"#334BFA",fillRule:"evenodd",d:"M7.67 2.507a.85.85 0 0 1 0 1.202L3.524 7.855a2.464 2.464 0 0 0 3.485 3.484l5.925-5.926a.836.836 0 0 0-1.181-1.182L5.87 10.113a.85.85 0 0 1-1.2-1.203l5.882-5.882a2.536 2.536 0 0 1 3.585 3.586L8.202 12.55a4.164 4.164 0 0 1-5.889-5.888l.006-.006 4.149-4.149a.85.85 0 0 1 1.202 0",clipRule:"evenodd"})));var Rs=n(5351);const js=({color:e})=>{const t=(0,Rs.A)(),n=t&&e&&t[e]||"#000";return(0,b.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,b.jsx)("path",{d:"M12.3477 4.50696H8.09214C5.33264 4.50696 3.09562 6.74398 3.09562 9.50348C3.09562 12.263 5.33264 14.5 8.09214 14.5C10.384 14.5 12.3155 12.9569 12.9043 10.853M12.3477 4.50696L9.34051 1.5M12.3477 4.50696L9.34051 7.51412",stroke:n,strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",style:{fill:"none"}})})};function Ps({color:e}){const t=(0,Rs.A)(),n=t&&e&&t[e]||"#fff";return(0,b.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,b.jsx)("path",{d:"M7.99994 12V7",stroke:n,strokeWidth:"1.7"}),(0,b.jsx)("circle",{cx:"1.1",cy:"1.1",r:"1.1",transform:"matrix(1 0 0 -1 6.89993 6.2002)",fill:n,strokeWidth:"0",stroke:"none"}),(0,b.jsx)("circle",{cx:"8",cy:"8",r:"6.5",stroke:n,strokeWidth:"1.75"})]})}var zs;function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Ls({xmlns:"http://www.w3.org/2000/svg",width:18,height:14,fill:"none",viewBox:"0 0 18 14"},e),zs||(zs=r.createElement("path",{fill:"#000",d:"M2 0h14s2 0 2 2v10s0 2-2 2H2s-2 0-2-2V2s0-2 2-2m4.852 11H9L6.803 3.25H4.392L2.2 11h1.955l.37-1.703h1.967zm-1.38-6.005h.101l.613 2.884H4.837zM15.015 11V9.416h-1.633V4.834h1.633V3.25H9.784v1.584h1.633v4.582H9.784V11z"})));var Us,Bs=n(32515);function Ds(){return Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Ds({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Us||(Us=r.createElement("path",{fill:"#222",fillRule:"evenodd",d:"M15 4a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8l2.293 2.293c.63.63 1.707.184 1.707-.707zm-3 1.75a.75.75 0 0 0-.75-.75h-6.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 .75-.75m-3 3.5a.75.75 0 0 0-.75-.75h-3.5a.75.75 0 0 0 0 1.5h3.5A.75.75 0 0 0 9 9.25",clipRule:"evenodd"})));var $s,Vs,Fs;function qs(){return qs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",qs({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),$s||($s=r.createElement("path",{fill:"currentColor",d:"M8.75 1a.75.75 0 0 0-1.5 0v3a.75.75 0 0 0 1.5 0zm-4.74.031a.75.75 0 0 1 .95.475l.752 2.257a.75.75 0 1 1-1.424.474L3.536 1.98a.75.75 0 0 1 .474-.949"})),Vs||(Vs=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.736 3.575a.85.85 0 0 0-1.472.85L1.866 7.2A1 1 0 0 1 2 7.7V14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.7a1 1 0 0 1 .134-.5l1.602-2.775a.85.85 0 0 0-1.472-.85L12.575 6.5a1 1 0 0 1-.866.5H4.291a1 1 0 0 1-.866-.5zM6.75 9a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Fs||(Fs=r.createElement("path",{fill:"currentColor",d:"M11.99 1.031a.75.75 0 0 0-.95.475l-.751 2.257a.75.75 0 1 0 1.423.474l.752-2.257a.75.75 0 0 0-.474-.949"})));var Gs;function Js(){return Js=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Js({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Gs||(Gs=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.5 5.5a4.5 4.5 0 0 1 9 0V8l2.293 2.293c.63.63.184 1.707-.707 1.707H1.914c-.89 0-1.337-1.077-.707-1.707L3.5 8zm6.5 8.08a2 2 0 1 1-3.998-.08h3.996z",clipRule:"evenodd"})));var Xs;function Qs(){return Qs=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Qs({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Xs||(Xs=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.736 1.289c-.767-1.344-2.705-1.344-3.473 0L.71 11.008C-.052 12.34.91 14 2.446 14h11.108c1.535 0 2.498-1.659 1.736-2.992zM7.25 4v5h1.5V4zM8 12.2A1.1 1.1 0 1 0 8 10a1.1 1.1 0 0 0 0 2.2",clipRule:"evenodd"})));var Ys,er;function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",tr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ys||(Ys=r.createElement("path",{fill:"currentColor",d:"M1 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.86L9.111 4.458c-1.431-1.2-3.614-.183-3.614 1.686V7H3a2 2 0 0 1-2-2z"})),er||(er=r.createElement("path",{fill:"currentColor",d:"m13.271 9.907-5.124-4.3a.7.7 0 0 0-1.15.537v6.688a.7.7 0 0 0 .996.635l1.791-.835 1.255 2.69a.85.85 0 1 0 1.54-.718l-1.254-2.69 1.792-.836a.7.7 0 0 0 .154-1.171"})));var sr;function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",rr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),sr||(sr=r.createElement("path",{fill:"currentColor",d:"M9.205 1.663a.85.85 0 1 0-1.7 0v1.69a.85.85 0 1 0 1.7 0zM4.476 2.918A.85.85 0 0 0 3.274 4.12l1.195 1.195A.85.85 0 0 0 5.67 4.113zm8.961 1.202a.85.85 0 0 0-1.202-1.202L11.04 4.113a.85.85 0 1 0 1.202 1.202zM2.019 7.15a.85.85 0 0 0 0 1.7h1.69a.85.85 0 0 0 0-1.7zm10.983 0a.85.85 0 1 0 0 1.7h1.69a.85.85 0 0 0 0-1.7zM5.67 11.887a.85.85 0 1 0-1.201-1.202l-1.195 1.194a.85.85 0 0 0 1.202 1.203zm6.482-2.085L8.156 6.449a.7.7 0 0 0-1.15.536v5.216a.7.7 0 0 0 .995.635l1.228-.573 1.377 2.953a.85.85 0 1 0 1.54-.719l-1.376-2.952 1.228-.572a.7.7 0 0 0 .154-1.171"})));var or;function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",ar({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),or||(or=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v5h1a1 1 0 0 1 1 1v6H2zm4 1H4v3h2zM4 8h2v3H4zm4 0h2v3H8zm0-5h2v3H8z",clipRule:"evenodd"})));var lr;function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",dr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),lr||(lr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 4a3 3 0 0 0-3-3H4a1 1 0 0 0-1 1v1h-.5a1 1 0 0 0 0 2H3v2h-.5a1 1 0 0 0 0 2H3v2h-.5a1 1 0 1 0 0 2H3v1a1 1 0 0 0 1 1h8a3 3 0 0 0 3-3zM9 7.23a1.59 1.59 0 1 0 0-3.18 1.59 1.59 0 0 0 0 3.18m-2.8 4.358c-.387 0-.702-.316-.613-.693A3.15 3.15 0 0 1 6.714 9.11c.3-.25 1.177-.704 2.286-.704s1.986.454 2.286.704c.697.544 1 1.246 1.127 1.785.089.377-.226.693-.613.693z",clipRule:"evenodd"})));var pr;function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",hr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),pr||(pr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M.974 4.303C.465 4.52 0 4.948 0 5.5v5c0 .552.465.981.974 1.197a2.5 2.5 0 0 1 1.33 1.33c.215.508.644.973 1.196.973h9c.552 0 .981-.465 1.197-.974a2.5 2.5 0 0 1 1.33-1.33c.508-.215.973-.644.973-1.196v-5c0-.552-.465-.981-.974-1.197a2.5 2.5 0 0 1-1.33-1.33C13.482 2.466 13.053 2 12.5 2h-9c-.552 0-.981.465-1.197.974a2.5 2.5 0 0 1-1.33 1.33M3 6.25a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5h-8A.75.75 0 0 1 3 6.25m1.5 3.5A.75.75 0 0 1 5.25 9h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})));var vr,mr;function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",fr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),vr||(vr=r.createElement("path",{fill:"currentColor",d:"M2.5 3A1.5 1.5 0 0 0 1 4.5V5h14v-.5A1.5 1.5 0 0 0 13.5 3z"})),mr||(mr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 6.5H1v6A1.5 1.5 0 0 0 2.5 14h11a1.5 1.5 0 0 0 1.5-1.5zm-5 3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5z",clipRule:"evenodd"})));var _r;function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",wr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),_r||(_r=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm.375 2.102a.75.75 0 1 0-.75 1.3l4 2.309c.85.491 1.9.491 2.75 0l4-2.31a.75.75 0 0 0-.75-1.299l-4 2.31a1.25 1.25 0 0 1-1.25 0z",clipRule:"evenodd"})));var Cr,Sr;function Ir(){return Ir=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Ir({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Cr||(Cr=r.createElement("path",{fill:"currentColor",d:"M3.5.5a1 1 0 0 0-1 1V2A1.5 1.5 0 0 0 1 3.5v1h13v-1A1.5 1.5 0 0 0 12.5 2v-.5a1 1 0 1 0-2 0V2h-6v-.5a1 1 0 0 0-1-1"})),Sr||(Sr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 6h13v7a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm3.471 4.75a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"})));var Er;function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Or({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Er||(Er=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.649 12.101a.85.85 0 0 1 0-1.202l2.899-2.9-2.9-2.898a.85.85 0 0 1 1.203-1.202l3.5 3.5a.85.85 0 0 1 0 1.202l-3.5 3.5a.85.85 0 0 1-1.202 0",clipRule:"evenodd"})));var Tr;function xr(){return xr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",xr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Tr||(Tr=r.createElement("path",{fill:"currentColor",d:"M11.806 9.47a5.5 5.5 0 1 0-7.613 0q.11.112.208.234H7.25V6.81L5.732 5.292a.75.75 0 1 1 1.06-1.06L8 5.438l1.207-1.207a.75.75 0 1 1 1.06 1.06L8.75 6.81v2.894h2.85q.097-.122.209-.234zm-.797 1.734H4.991q.008.108.008.216v1.13c0 .399.158.78.44 1.061l.95.95a1.5 1.5 0 0 0 1.06.44h1.1a1.5 1.5 0 0 0 1.06-.44l.95-.95a1.5 1.5 0 0 0 .44-1.06v-1.13q0-.11.008-.217"})));var Rr;function jr(){return jr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",jr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Rr||(Rr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 5H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-.5v-.5a3.5 3.5 0 1 0-7 0zm1.7 0h3.6v-.5a1.8 1.8 0 0 0-3.6 0zM8 7.75a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3A.75.75 0 0 1 8 7.75",clipRule:"evenodd"})));var zr;function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Lr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),zr||(zr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.635 1.592a1.025 1.025 0 0 0-1.375-.49l-1.795.868a2.593 2.593 0 0 0-1.297 3.251l.001.002v.005a17.8 17.8 0 0 0 3.854 5.747 17.8 17.8 0 0 0 5.746 3.853h.005l.003.003.003.002a2.593 2.593 0 0 0 3.25-1.298l.868-1.795a1.025 1.025 0 0 0-.49-1.375l-2.548-1.19a1.02 1.02 0 0 0-1.089.141l-.881.732a.98.98 0 0 1-1.223.04 15 15 0 0 1-2.755-2.754.98.98 0 0 1 .04-1.224l.732-.881c.253-.306.308-.73.14-1.09z",clipRule:"evenodd"})));var Ur;function Br(){return Br=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Br({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Ur||(Ur=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 6.91A2.955 2.955 0 1 0 8 1a2.955 2.955 0 0 0 0 5.91m6.21 5.338a.85.85 0 0 1-.294.93C13.14 13.826 10.87 15 8 15s-5.14-1.174-5.916-1.822a.85.85 0 0 1-.294-.93 5.8 5.8 0 0 1 1.965-2.85C4.312 8.933 5.941 8.09 8 8.09s3.688.842 4.245 1.307a5.8 5.8 0 0 1 1.965 2.85",clipRule:"evenodd"})));var Hr,$r;function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Hr||(Hr=r.createElement("g",{clipPath:"url(#7a47a)"},r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.46.55c.708.094.89.942.385 1.447l-2.11 2.11a1 1 0 0 0-.258.965l.368 1.376a1 1 0 0 0 .707.707l1.376.368a1 1 0 0 0 .965-.258l2.11-2.11c.505-.505 1.353-.323 1.446.384a5.806 5.806 0 0 1-7.504 6.305l-3.363 3.363a1 1 0 0 1-1.413 0L.793 12.831a1 1 0 0 1 0-1.413l3.363-3.364A5.806 5.806 0 0 1 10.461.551",clipRule:"evenodd"}))),$r||($r=r.createElement("defs",null,r.createElement("clipPath",{id:"7a47a"},r.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"})))));var qr,Wr;function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),qr||(qr=r.createElement("path",{fill:"currentColor",d:"M1.5 14.5A1.5 1.5 0 0 1 3 13h10a1.5 1.5 0 0 1 1.5 1.5v.5h-13zM8.9.9a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0m4.693 1.309a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0M16 6.332a.9.9 0 1 1-1.8 0 .9.9 0 0 1 1.8 0M2.407 2.209a.9.9 0 1 0 1.8 0 .9.9 0 0 0-1.8 0M0 6.332a.9.9 0 1 0 1.8 0 .9.9 0 0 0-1.8 0"})),Wr||(Wr=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 8a5 5 0 0 1 10 0v3.518H3zm1.393.081a3.642 3.642 0 0 1 6.294-2.498.75.75 0 0 1-1.092 1.029 2.142 2.142 0 0 0-3.702 1.469.75.75 0 1 1-1.5 0",clipRule:"evenodd"})));var Kr,Xr;function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement("svg",Qr({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),Kr||(Kr=r.createElement("g",{fill:"currentColor",clipPath:"url(#59d4a)"},r.createElement("path",{d:"M13.234 4.802a3 3 0 0 1-1.973-1.972L10.555.557c-.204-.656-1.132-.656-1.337 0L8.51 2.83a3 3 0 0 1-1.973 1.972l-2.272.708c-.656.204-.656 1.132 0 1.337l2.272.707A3 3 0 0 1 8.51 9.527l.707 2.272c.205.656 1.133.656 1.337 0l.707-2.272a3 3 0 0 1 1.973-1.973l2.273-.707c.656-.205.656-1.133 0-1.337zM6.145 11.57A2.58 2.58 0 0 1 4.45 9.875l-.223-.716c-.175-.563-.971-.563-1.146 0l-.223.716a2.58 2.58 0 0 1-1.697 1.697l-.716.223c-.562.175-.562.97 0 1.145l.716.223a2.58 2.58 0 0 1 1.697 1.697l.223.716c.175.563.97.563 1.146 0l.223-.716a2.58 2.58 0 0 1 1.696-1.697l.717-.223c.562-.175.562-.97 0-1.145z"}))),Xr||(Xr=r.createElement("defs",null,r.createElement("clipPath",{id:"59d4a"},r.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"})))))},7713:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",viewBox:"0 0 28 32",width:"28",height:"32",children:(0,s.jsx)("path",{d:"M28,32 C28,32 23.2863266,30.1450667 19.4727818,28.6592 L3.43749107,28.6592 C1.53921989,28.6592 0,27.0272 0,25.0144 L0,3.6448 C0,1.632 1.53921989,0 3.43749107,0 L24.5615088,0 C26.45978,0 27.9989999,1.632 27.9989999,3.6448 L27.9989999,22.0490667 L28,22.0490667 L28,32 Z M23.8614088,20.0181333 C23.5309223,19.6105242 22.9540812,19.5633836 22.5692242,19.9125333 C22.5392199,19.9392 19.5537934,22.5941333 13.9989999,22.5941333 C8.51321617,22.5941333 5.48178311,19.9584 5.4277754,19.9104 C5.04295119,19.5629428 4.46760991,19.6105095 4.13759108,20.0170667 C3.97913051,20.2124916 3.9004494,20.4673395 3.91904357,20.7249415 C3.93763774,20.9825435 4.05196575,21.2215447 4.23660523,21.3888 C4.37862552,21.5168 7.77411059,24.5386667 13.9989999,24.5386667 C20.2248893,24.5386667 23.6203743,21.5168 23.7623946,21.3888 C23.9467342,21.2215726 24.0608642,20.9827905 24.0794539,20.7254507 C24.0980436,20.4681109 24.0195551,20.2135019 23.8614088,20.0181333 Z"})})},38026:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);function r(){return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.601 8.39897C18.269 8.06702 17.7309 8.06702 17.3989 8.39897L12 13.7979L6.60099 8.39897C6.26904 8.06702 5.73086 8.06702 5.39891 8.39897C5.06696 8.73091 5.06696 9.2691 5.39891 9.60105L11.3989 15.601C11.7309 15.933 12.269 15.933 12.601 15.601L18.601 9.60105C18.9329 9.2691 18.9329 8.73091 18.601 8.39897Z",fill:"white"})})}},85177:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);function r(e){return(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",className:e.className,width:"16px",height:"12px",viewBox:"0 0 16 12",children:(0,s.jsx)("g",{stroke:"none",strokeWidth:"1",fillRule:"evenodd",children:(0,s.jsx)("g",{transform:"translate(-257.000000, -529.000000)",children:(0,s.jsx)("g",{transform:"translate(100.000000, 187.000000)",children:(0,s.jsx)("g",{transform:"translate(94.000000, 0.000000)",children:(0,s.jsx)("g",{transform:"translate(16.000000, 169.000000)",children:(0,s.jsx)("g",{transform:"translate(24.000000, 159.000000)",children:(0,s.jsx)("g",{transform:"translate(23.000000, 14.000000)",children:(0,s.jsx)("path",{d:"M10.8401488,6.224907 L15.6817765,11.0665347 C15.51005,11.3499528 15.2722574,11.5748794 14.9768457,11.7328673 C14.6509198,11.9071744 14.3276335,12 13.4361148,12 L2.5638852,12 C1.67236646,12 1.34908022,11.9071744 1.0231543,11.7328673 C0.72877254,11.5754302 0.491608869,11.3515205 0.320022148,11.069497 L5.16278101,6.22673813 L7.26933188,7.54333242 C7.55321179,7.72075737 7.66665987,7.76662232 7.80054357,7.79679663 C7.93442727,7.82697094 8.06557273,7.82697094 8.19945643,7.79679663 C8.33334013,7.76662232 8.44678821,7.72075737 8.73066812,7.54333242 L10.8401488,6.224907 Z M11.7104341,5.6809787 L15.6940002,3.19124987 C15.7876675,3.1327078 15.9110576,3.16118243 15.9695997,3.25484974 C15.9894661,3.28663606 16,3.32336558 16,3.36084953 L16,9.4361148 C16,9.63606843 15.9953306,9.80743801 15.9861196,9.95666428 L11.7104341,5.6809787 Z M4.29249574,5.68280984 L0.0141588143,9.96114676 C0.0047635636,9.81087199 2.47328067e-17,9.63807348 0,9.4361148 L1.24567172e-16,3.36084953 C1.11040097e-16,3.25039258 0.08954305,3.16084953 0.2,3.16084953 C0.237483943,3.16084953 0.274213468,3.17138342 0.305999788,3.19124987 L4.29249574,5.68280984 Z M1,-2.48689958e-14 L15,-2.48689958e-14 C15.5522847,-2.49704488e-14 16,0.44771525 16,1 L16,1.8763932 C16,1.95214761 15.9571995,2.02140024 15.8894427,2.05527864 L8.4472136,5.7763932 C8.1656861,5.91715695 7.8343139,5.91715695 7.5527864,5.7763932 L0.110557281,2.05527864 C0.0428004752,2.02140024 3.97855298e-16,1.95214761 3.88578059e-16,1.8763932 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-2.47675427e-14 1,-2.48689958e-14 Z"})})})})})})})})})}},48801:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{className:"box",d:"M7.18421 4.5H3C2.17157 4.5 1.5 5.17157 1.5 6V13C1.5 13.8284 2.17157 14.5 3 14.5H10C10.8284 14.5 11.5 13.8284 11.5 13V9.5",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:"arrow",fillRule:"evenodd",clipRule:"evenodd",d:"M13.9621 2.30861C13.9377 2.24964 13.9015 2.19439 13.8536 2.14645C13.8056 2.09851 13.7504 2.06234 13.6914 2.03794C13.6324 2.01349 13.5678 2 13.5 2H13.4999H9.5C9.22386 2 9 2.22386 9 2.5C9 2.77614 9.22386 3 9.5 3H12.2929L5.14645 10.1464C4.95118 10.3417 4.95118 10.6583 5.14645 10.8536C5.34171 11.0488 5.65829 11.0488 5.85355 10.8536L13 3.70711V6.5C13 6.77614 13.2239 7 13.5 7C13.7761 7 14 6.77614 14 6.5V2.50049V2.5C14 2.499 14 2.498 14 2.497C13.9996 2.4303 13.9861 2.36669 13.9621 2.30861Z",fill:"#737373"})]})},62809:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(28883),r=n(74848);const i=()=>(0,r.jsxs)(s.W,{focusable:"false","aria-hidden":"true",width:"16",height:"13.59",viewBox:"0 0 16 13.59",xmlns:"http://www.w3.org/2000/svg","data-testid":"product-tour-icon",children:[(0,r.jsx)("path",{d:"M4 6.2c0-.22.18-.4.4-.4h7.2c.22 0 .4.18.4.4v.6a.4.4 0 01-.4.4H4.4a.4.4 0 01-.4-.4v-.6zm.4 2.6a.4.4 0 00-.4.4v.6c0 .221.18.4.4.4h5.2a.4.4 0 00.4-.4v-.6a.4.4 0 00-.4-.4H4.4z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2H4.8c-1.68 0-2.52 0-3.162.327A3 3 0 00.327 3.638C0 4.28 0 5.12 0 6.8v2.4c0 1.68 0 2.52.327 3.162a3 3 0 001.311 1.311C2.28 14 3.12 14 4.8 14h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 001.311-1.311C16 11.72 16 10.88 16 9.2V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.311-1.311C13.72 2 12.88 2 11.2 2H10l-.869-.869C8.735.735 8.537.537 8.31.463a1 1 0 00-.618 0c-.228.074-.426.272-.822.668L6 2zm4.083 1.4c-.245 0-.367 0-.482-.028a1 1 0 01-.29-.12c-.1-.061-.187-.148-.36-.32l-.81-.81L8 1.98l-.141.141-.81.81c-.173.173-.26.26-.36.322a1 1 0 01-.29.12c-.115.027-.237.027-.482.027H4.8c-.863 0-1.426.001-1.856.036-.414.034-.58.092-.67.138a1.6 1.6 0 00-.7.7c-.046.09-.104.256-.138.67-.035.43-.036.993-.036 1.856v2.4c0 .863.001 1.426.036 1.856.034.414.092.58.138.67a1.6 1.6 0 00.7.7c.09.046.256.104.67.138.43.035.993.036 1.856.036h6.4c.863 0 1.426-.001 1.856-.036.414-.034.58-.092.67-.138a1.6 1.6 0 00.7-.7c.046-.09.104-.256.138-.67.035-.43.036-.993.036-1.856V6.8c0-.863-.001-1.426-.036-1.856-.034-.414-.092-.58-.138-.67a1.6 1.6 0 00-.7-.7c-.09-.046-.256-.104-.67-.138-.43-.035-.993-.036-1.856-.036h-1.117z"})]})},68383:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{d:"M5.42773 4.70898C5.46387 4.85254 5.53809 4.98828 5.65039 5.10059L8.54932 8L5.64893 10.9004C5.31689 11.2324 5.31689 11.7705 5.64893 12.1025C5.98096 12.4336 6.51904 12.4336 6.85107 12.1025L10.3516 8.60059C10.5591 8.39355 10.6367 8.10449 10.585 7.83691C10.5537 7.67578 10.4761 7.52246 10.3516 7.39844L6.85254 3.89941C6.52051 3.56738 5.98242 3.56738 5.65039 3.89941C5.43066 4.11816 5.35645 4.42871 5.42773 4.70898Z",fill:"currentColor"})})},82825:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:(0,s.jsx)("path",{d:"M6.5 3.5L11 8L6.5 12.5",stroke:"#000000",strokeWidth:"1.75",strokeLinecap:"square"})})},33993:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(5351),r=n(74848);const i=({color:e})=>{const t=(0,s.A)(),n=t&&e&&t[e]||"#000";return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M6.25 11.5L9.75 8L6.25 4.5",stroke:n,strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"})})}},50533:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);function r(){return(0,s.jsxs)("svg",{"aria-hidden":"true",viewBox:"1 1 60 60",children:[(0,s.jsx)("path",{d:"M27.765 42.244c-8.614 0-15.622-7.008-15.622-15.622S19.151 11 27.765 11s15.622 7.008 15.622 15.622-7.007 15.622-15.622 15.622zm0-28.398c-7.045 0-12.775 5.73-12.775 12.775s5.73 12.775 12.775 12.775 12.775-5.73 12.775-12.775-5.73-12.775-12.775-12.775z"}),(0,s.jsx)("path",{d:"M34.869 39.146l4.014-3.738 9.286 9.114a3.164 3.164 0 01-.07 4.562l-.071.066a3.163 3.163 0 01-4.561-.257l-8.598-9.747zM27.77 34.173c-2.882 0-5.412-.876-7.656-2.526a1.002 1.002 0 01-.35-.81c.008-.461.445-.969 1.02-.959.284.005.493.153.713.308 1.837 1.302 3.832 1.971 6.275 1.971 1.875 0 4.492-.476 6.314-2.118a.98.98 0 01.638-.261.92.92 0 01.686.241c.222.209.33.527.336.735a1.02 1.02 0 01-.318.775c-1.333 1.237-4.262 2.644-7.658 2.644z"})]})}},4324:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);function r(){return(0,s.jsxs)("svg",{viewBox:"0 0 30 30",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{className:"star-body",d:"M14.1577 3.34761C14.4958 2.63413 15.5042 2.63413 15.8423 3.3476L18.8139 9.61888C18.9499 9.90602 19.221 10.1043 19.5342 10.1459L26.3751 11.054C27.1534 11.1574 27.465 12.1232 26.8957 12.6675L21.8913 17.4515C21.6622 17.6705 21.5587 17.9914 21.6162 18.3042L22.8725 25.1368C23.0154 25.9141 22.1996 26.511 21.5096 26.1339L15.4452 22.8193C15.1675 22.6676 14.8325 22.6676 14.5548 22.8193L8.49037 26.1339C7.80044 26.511 6.98456 25.9141 7.12749 25.1368L8.38382 18.3042C8.44134 17.9914 8.3378 17.6705 8.10868 17.4515L3.10432 12.6675C2.53499 12.1232 2.84662 11.1574 3.6249 11.054L10.4658 10.1459C10.779 10.1043 11.0501 9.90602 11.1861 9.61888L14.1577 3.34761Z",fill:"currentColor"}),(0,s.jsx)("path",{className:"star-stroke",d:"M10.7343 9.40478L11.1861 9.61888L10.7343 9.40478C10.6703 9.53973 10.544 9.63116 10.4 9.65028L3.5591 10.5584C2.35983 10.7176 1.88996 12.1983 2.75882 13.0289L7.76317 17.8129C7.87006 17.9151 7.91926 18.0659 7.89206 18.2138L6.63574 25.0463C6.41821 26.2294 7.66346 27.1557 8.73018 26.5727L14.7946 23.2581C14.9228 23.188 15.0772 23.188 15.2054 23.2581L21.2698 26.5727C22.3365 27.1557 23.5818 26.2294 23.3643 25.0463L22.1079 18.2138C22.0807 18.0659 22.1299 17.9151 22.2368 17.8129L27.2412 13.0289C28.11 12.1983 27.6402 10.7176 26.4409 10.5584L19.6 9.65028C19.456 9.63116 19.3297 9.53973 19.2657 9.40478L16.2942 3.1335C15.7755 2.03883 14.2245 2.03884 13.7058 3.13351L10.7343 9.40478Z",stroke:"black",strokeOpacity:"0.2"})]})}},83285:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 3.5C1.67157 3.5 1 4.17157 1 5V5.5V6.25C1 6.52614 1.22842 6.7428 1.4934 6.82052C2.21966 7.03354 2.75 7.70484 2.75 8.5C2.75 9.29516 2.21966 9.96646 1.4934 10.1795C1.22842 10.2572 1 10.4739 1 10.75V11.5V12C1 12.8284 1.67157 13.5 2.5 13.5H13.5C14.3284 13.5 15 12.8284 15 12V11.5V10.75C15 10.4739 14.7716 10.2572 14.5066 10.1795C13.7803 9.96646 13.25 9.29516 13.25 8.5C13.25 7.70484 13.7803 7.03354 14.5066 6.82052C14.7716 6.7428 15 6.52614 15 6.25V5.5V5C15 4.17157 14.3284 3.5 13.5 3.5H2.5ZM11 7L5 7C4.58579 7 4.25 6.66421 4.25 6.25C4.25 5.83579 4.58579 5.5 5 5.5H11C11.4142 5.5 11.75 5.83579 11.75 6.25C11.75 6.66421 11.4142 7 11 7Z",fill:"currentColor"})})},22581:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(49651),r=n(41853),i=n(74848);const o=({onClick:e})=>(0,i.jsxs)(r.A,{viewBox:"0 0 24 24","aria-label":(0,s.Tl)("pause"),onClick:e,children:[(0,i.jsx)("rect",{x:"7",y:"6",width:"3",height:"12",rx:"1"}),(0,i.jsx)("rect",{x:"14",y:"6",width:"3",height:"12",rx:"1"})]})},79069:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(49651),r=n(41853),i=n(74848);const o=({onClick:e})=>(0,i.jsx)(r.a,{viewBox:"0 0 24 24","aria-label":(0,s.Tl)("play"),onClick:e,children:(0,i.jsx)("path",{d:"M7 17.6942V6.30578C7 5.72693 7.62791 5.36628 8.1279 5.65794L17.5192 11.1362C18.1807 11.5221 18.1807 12.4779 17.5192 12.8638L8.1279 18.3421C7.62791 18.6337 7 18.2731 7 17.6942Z"})})},47884:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(74848);const r=()=>(0,s.jsx)("svg",{focusable:"false","aria-hidden":"true",width:"30",height:"30",viewBox:"0 0 30 30",children:(0,s.jsx)("path",{d:"M15 8v3.793a.491.491 0 0 1-.268.444.496.496 0 0 1-.585-.09L9.354 7.353a.5.5 0 0 1 0-.708l4.793-4.792a.5.5 0 0 1 .854.353V6a9 9 0 1 1-8.945 9.998C5.994 15.45 6.447 15 7 15c.552 0 .992.45 1.07.997A7 7 0 1 0 15 8z"})})},86655:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(5209),r=n(74848);const i=({displayAsCompact:e})=>(0,r.jsx)(s.C,{displayAsCompact:e,focusable:"false","aria-hidden":"true",viewBox:"0 0 16 16",children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{fill:"currentColor",d:"M13.9 8.8C13.9 9.1 13.6 9.3 13.3 9.3 13 9.3 12.8 9.1 12.8 8.8L12.8 4C12.8 3.7 13 3.5 13.3 3.5 13.6 3.5 13.9 3.7 13.9 4L13.9 8.8 13.9 8.8ZM13.7 12.1C13.6 12.2 11.6 13.9 8 13.9 4.4 13.9 2.4 12.2 2.3 12.1 2.1 11.9 2.1 11.6 2.3 11.4 2.5 11.2 2.8 11.1 3 11.3 3 11.4 4.8 12.8 8 12.8 11.2 12.8 13 11.3 13 11.3 13.2 11.1 13.5 11.2 13.7 11.4 13.9 11.6 13.9 11.9 13.7 12.1L13.7 12.1ZM2.1 4C2.1 3.7 2.4 3.5 2.7 3.5 3 3.5 3.2 3.7 3.2 4L3.2 8.8C3.2 9.1 3 9.3 2.7 9.3 2.4 9.3 2.1 9.1 2.1 8.8L2.1 4 2.1 4ZM4.8 2.9C4.8 2.6 5 2.4 5.3 2.4 5.6 2.4 5.9 2.6 5.9 2.9L5.9 10.1C5.9 10.4 5.6 10.6 5.3 10.6 5 10.6 4.8 10.4 4.8 10.1L4.8 2.9 4.8 2.9ZM7.5 2.7C7.5 2.4 7.7 2.1 8 2.1 8.3 2.1 8.5 2.4 8.5 2.7L8.5 10.4C8.5 10.7 8.3 10.9 8 10.9 7.7 10.9 7.5 10.7 7.5 10.4L7.5 2.7 7.5 2.7ZM10.1 2.9C10.1 2.6 10.4 2.4 10.7 2.4 11 2.4 11.2 2.6 11.2 2.9L11.2 10.1C11.2 10.4 11 10.6 10.7 10.6 10.4 10.6 10.1 10.4 10.1 10.1L10.1 2.9 10.1 2.9ZM14 0L2 0C0.9 0 0 0.9 0 2L0 14C0 15.1 0.9 16 2 16L14 16C15.1 16 16 15.1 16 14L16 2C16 0.9 15.1 0 14 0L14 0Z"})})})},86923:(e,t,n)=>{"use strict";n.d(t,{AH:()=>i.AH,Ay:()=>v,Z2:()=>i.Z2,i7:()=>i.i7,mL:()=>i.mL,w4:()=>h,xk:()=>g});var s=n(90644),r=n(96540),i=n(17437),o=n(8375),a=n(74848);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,r.forwardRef)(((n,s)=>{const r=function(e){const t=Object.assign({},e);return null!=t.style&&"object"!=typeof t.style&&delete t.style,t}(n);return(0,a.jsx)(t,Object.assign({},r,e(r),{ref:s}))}))}const p=(e,t)=>(...n)=>{const r=(0,s.A)(e,c({},{target:"ennp9720"},t))(...n);r.displayName="Emotion";const i=u(function(e){return t=>{const n={};if("string"!=typeof e||"-1"===t.tabIndex||!t.onClick)return n;const s="a"===e&&t.href,r=-1!==l.indexOf(e),i=-1!==d.indexOf(e);return!1===t.role||s||r||i||(n.role=t.role||"button"),s||r||(n.onKeyDown=t.onKeyDown||(0,o.hf)(t.onClick)),t.className&&(n.className=t.className),n.tabIndex=t.tabIndex||"0",n}}(e))(r);return i.displayName="string"==typeof e?`Styled.${e}`:"Styled()",i.className=r,i};function h(e){return({theme:t})=>t[e]}function g(e){return t=>t[e]}const v=p},20274:(e,t,n)=>{"use strict";n.d(t,{Q3:()=>c,h3:()=>i,mB:()=>s,ub:()=>o,yk:()=>a,zR:()=>r});let s=function(e){return e[e.input=0]="input",e[e.text=1]="text",e[e.dropdown=2]="dropdown",e[e.scale=3]="scale",e[e.multiSelect=4]="multiSelect",e}({}),r=function(e){return e[e.banner=0]="banner",e[e.post=1]="post",e}({}),i=function(e){return e[e.required=-1]="required",e[e.text=0]="text",e[e.number=1]="number",e[e.email=2]="email",e[e.phone=3]="phone",e}({}),o=function(e){return e[e.numeric=0]="numeric",e[e.stars=1]="stars",e[e.emoji=2]="emoji",e[e.nps=3]="nps",e}({}),a=function(e){return e[e.content=0]="content",e[e.question=1]="question",e[e.intro=2]="intro",e[e.thankYou=3]="thankYou",e}({}),c=function(e){return e[e.openUrlCurrentTab=0]="openUrlCurrentTab",e[e.openUrlNewTab=1]="openUrlNewTab",e}({})},69607:(e,t,n)=>{"use strict";n.d(t,{b5:()=>l,yJ:()=>c,zj:()=>a});const s=n(76141),{assign:r}=Object;let i;function o(){var e;const t=window.parent||window;if(t)return(null==t||null==(e=t.intercomSettings)?void 0:e.api_base)||function(e){const t=e.document.querySelector("meta[name=intercom-js-api-base]");return null==t?void 0:t.content}(t)}function a(){return i=i||function(){const e=r({},s),t={api_base:o()};return t.api_base?Object.assign({},e,t):e}(),i}function c(e,t){a(),i&&(i[e]=t)}function l(){return!1}},76141:e=>{e.exports={source_map:"hidden-source-map",api_base:"https://api-iam.intercom.io",public_path:"https://js.intercomcdn.com/",sheets_proxy_path:"https://intercom-sheets.com/sheets_proxy",sentry_proxy_path:"https://www.intercom-reporting.com/sentry/index.html",install_mode_base:"https://app.intercom.com",sentry_dsn:"https://f305de69cac64a84a494556d5303dc2d@app.getsentry.com/24287",intersection_js:"https://js.intercomcdn.com/intersection/assets/app.js",intersection_styles:"https://js.intercomcdn.com/intersection/assets/styles.js",article_search_messenger_app_id:27,mode:"production"}},44644:(e,t,n)=>{"use strict";function s(e){console&&console.info(e)}function r(e){console&&console.warn(e)}function i(e){console&&console.error(e)}n.d(t,{Df:()=>s,FS:()=>r,jP:()=>i})},82884:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>i,F9:()=>o,TA:()=>s,Vj:()=>r});const s={checklists:"checklists",checklistDetails:e=>`${s.checklists}/${e}`,checklistCompletionScreen:e=>`${s.checklists}/complete/${e}`},r=5,i=864e5,o=e=>{e({particleCount:100,spread:50,origin:{y:.3},ticks:800,gravity:2,scalar:1.3})}},26656:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const s={TOUR:0,BANNER_VIEW:11,SURVEY_PROGRESS:85}},71784:(e,t,n)=>{"use strict";n.d(t,{FL:()=>s,a$:()=>i,gK:()=>r,w3:()=>o});const s="initialising",r="pending",i="connected",o="disconnected"},72938:(e,t,n)=>{"use strict";n.d(t,{Ij:()=>a,ND:()=>l,Ul:()=>d,ZL:()=>c,Zh:()=>o,kG:()=>i,mp:()=>p,rK:()=>u});var s=n(50060);function r(e){return Object.assign({path:`/${e.id}`},e)}const i=r({id:"loading",iconComponent:{active:s.HomeActive,default:s.Home}}),o=r({id:"home",iconComponent:{active:s.HomeActive,default:s.Home}}),a=r({id:"messages",iconComponent:{active:s.MessagesActive,default:s.Messages}}),c=r({id:"help",iconComponent:{active:s.HelpActive,default:s.Help}}),l=r({id:"news",iconComponent:{active:s.NewsActive,default:s.News}}),d=r({id:"tasks",iconComponent:{active:s.TaskActive,default:s.Task}}),u=r({id:"tickets",iconComponent:{active:s.TicketsActive,default:s.Tickets}}),p=[i,o,a,c,l,d,u]},10710:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});let s=function(e){return e[e.shareable_url=3]="shareable_url",e[e.triggered_from_code=7]="triggered_from_code",e[e.triggered_from_email=8]="triggered_from_email",e}({})},3671:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(5994);const r={isEphemeral(){return"true"===(0,s.CH)(window.parent.location).intercom_disable_cookies},read(e,t){t=t||(this.isEphemeral()?"":parent.document.cookie);const n="(?:(?:^|[^]*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$",s=t.match(new RegExp(n));if(null!==s&&void 0!==s[1])return decodeURIComponent(s[1])},write(e,t,n={}){const{domain:s,path:r,expires:i,secure:o,sameSite:a}=n;let c=`${e}=${t}`;return s&&(c+=`; domain=${s}`),r&&(c+=`; path=${r}`),i&&(c+=`; expires=${i.toUTCString()}`),a&&(c+=`; samesite=${a}`),o&&(c+="; secure"),this.isEphemeral()||(e=>{parent.document.cookie=e})(c),c},clear(e,t={}){const{domain:n,path:s}=t,r=new Date(0);return this.write(e,"",{domain:n,path:s,expires:r})}},i=r},75285:(e,t,n)=>{"use strict";function s(e){if(null!=e)return new Date(1e3*e)}function r(e){return Date.now()-1e3*e}n.d(t,{Ay:()=>i,kU:()=>s,mG:()=>r});const i={timestampToDate:s,now:function(){return function(){const e=Date.now;return"function"==typeof e&&!("prototype"in e)}()?Date.now():(new Date).getTime()},calculateDurationInMs:r}},36215:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(82238);function r(e){return e?`draft-${e}`:"draft"}function i(e){return s.s.remove(r(e))}const o={saveDraft:function(e,t){return t&&""!==t?s.s.set(r(e),function(e){return JSON.stringify({text:e})}(t)):i(e)},loadDraft:function(e){const t=s.s.get(r(e));return t?JSON.parse(t).text:null},removeDraft:i,NEW_CONVERSATION_DRAFT_ID:"new-conversation-draft"}},13194:(e,t,n)=>{"use strict";n.d(t,{LV:()=>A,MS:()=>S,ZQ:()=>E,eV:()=>O,f5:()=>I,l2:()=>b,wd:()=>C});var s,r=n(83602),i=n.n(r),o=n(23805),a=n.n(o),c=n(69752),l=n.n(c),d=n(88055),u=n.n(d),p=n(43087);const h="1"===window.navigator.doNotTrack,g=["address","addresses","email","emailAddress","emailAddresses","phoneNumber","phone","number","name","firstName","lastName","userSuppliedEmail","initial","socialAccounts","text","messengerCards","url"];let v,m,f=[];const y=e=>l()(e,((e,t,n)=>{g.indexOf(n)>=0?e[n]="removedIdentifyingInfo":a()(t)&&!i()(t)?e[n]=y(t.toJS?t.toJS():t):e[n]=t})),_=e=>h?"removedIdentifyingInfo":(e=>{const t=u()(e);return y(t)})(e),w=async()=>{const e=await(0,p.A)({promise:()=>Promise.all([n.e(2399),n.e(3326)]).then(n.bind(n,23170))}),{addTag:t,addExtra:s,addBreadcrumb:r}=e;return t("app.id",v),f.forEach((e=>r(e))),m&&m.getState&&s("state",_(m.getState())),e},b=async e=>{const{logError:t}=await w();t(e)},C=async e=>{const{logMessage:t}=await w();t(e)},S=e=>{e.onerror=(e,t,n,s,r)=>b(r),e.onunhandledrejection=e=>b(e.reason)},I=e=>{e&&(v=e)},A=e=>{e&&(m=e)},E=e=>{f.push(Object.assign({},e,{timestamp:(new Date).toISOString()}))},O=()=>function(e){return function(t){return f.push({message:t.type,category:"redux-action",timestamp:(new Date).toISOString()}),e(t)}};null!=(s=window)&&null!=(s=s.parent)&&s.intercomSettings&&I(window.parent.intercomSettings.app_id)},22732:(e,t,n)=>{"use strict";n(99078),n(75417),n(26413);void 0!==window&&void 0!==window.Object&&n(45036)},73669:(e,t,n)=>{"use strict";n.d(t,{$B:()=>f,Fp:()=>_,N5:()=>h,OO:()=>m,VJ:()=>y,aN:()=>g,hs:()=>v});var s=n(75731),r=n(49651),i=n(67098),o=n.n(i),a=n(79772),c=n(48179),l=n(88204);const d=["image","attachmentList","video","videoReply","videoFile","messengerCard"],u=["image","video","videoReply","videoFile","notificationChannelsCard"],p=[{user:"sent_an_image",admin:"sent_you_an_image"},{user:"sent_an_attachment",admin:"sent_you_an_attachment"},{user:"sent_a_video",admin:"sent_you_a_video"},{user:"sent_a_video_reply",admin:"sent_you_a_video_reply"},{user:"sent_a_video",admin:"sent_you_a_video"},{user:"sent_an_app",admin:"sent_you_an_app"}],h=e=>e&&e.type&&"videoFile"===e.type,g=e=>u.indexOf(e.type)>-1,v=e=>e.text||e.content,m=e=>{var t;const n=(0,c.A)(e);if(!n)return;const i=n.body,o=n.author;let a,d=!(null==(t=n.body)||!t.some(g));i&&Array.isArray(i)&&A(i[0])&&(a=C(i));const u=b(i),p=I(i,o);return a=0===u.length&&p?p:u,(0,s.ii)(n)?m(e.slice(0,e.length-1)):((0,s.aT)(n)&&(a=(0,r.Tl)("operator_asked_for_attribute",{attribute:w(n)}),d=!0),(0,s.k4)(n)&&(a=(0,l.BT)(n.eventData.status)),{author:o,summaryText:a.trim(),isMetadata:d})},f=e=>{const t=(0,a.i)(e);return E(t).map((e=>({type:"paragraph",text:e})))},y=(e,t,n)=>[{type:"attachmentList",attachments:[{contentType:t,name:e,size:n}]}],_=(e,t,n,s,r)=>[{type:"image",url:e,width:t,height:n,attribution:s,title:r}],w=e=>{const t=e.form.attributes[0];return t.name||t.identifier.toLowerCase().replace("."," ")},b=e=>{if(!e)return"";const t=e.filter((e=>"button"!==e.type&&!A(e))).map((e=>S(e))).filter((e=>!!e)).join(" ");return o()(t.replace(/
/g," "))},C=e=>{const t=e.filter((e=>A(e)))[0];if(t&&t.title)return o()(t.title)},S=e=>{switch(e.type){case"videoFile":case"messengerCard":return"";case"orderedList":return e.items?e.items.map(((e,t)=>`${t+1}. ${e}`)).join(", "):"";case"unorderedList":return e.items?e.items.join(", "):"";default:return e.text||e.content}},I=(e,t)=>{if(!e)return"";const n=(e=>e.filter((e=>d.indexOf(e.type)>-1))[0])(e);if(!n)return"";const s=d.indexOf(n.type),i=p[s];return t.isAdmin?(0,r.Tl)(i.admin):(0,r.Tl)(i.user)},A=e=>e&&e.type&&"link"===e.type,E=e=>{const t=e.split("\n\n");for(let e=0;e");return t.filter((e=>e))}},1572:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var s=n(11331),r=n.n(s),i=n(84058),o=n.n(i);const a=e=>{if(!r()(e))return e;const t={};return Object.entries(e).forEach((([e,n])=>{let s=a(n);Array.isArray(s)&&(s=s.map((e=>a(e)))),t[o()(e)]=s})),t}},95752:(e,t,n)=>{"use strict";n.d(t,{C2:()=>o,Gk:()=>g,M2:()=>h,Om:()=>l,Sg:()=>d,fp:()=>p,jK:()=>a,sE:()=>c,zE:()=>u});var s=n(17833),r=n.n(s),i=n(82884);const o=r()("checklists:debug"),a=e=>e.reduce(((e,t)=>{const n=new Date(e.publishedAt);return new Date(t.publishedAt)e.length?e.find((e=>!e.isComplete)):void 0,l=e=>{const t=new Date;t.setDate(t.getDate()-i.Vj);return e.map((e=>e.latestInteractionAt)).some((e=>!e||e>t))},d=e=>{const t=[];return e&&e.taskGroups.map((e=>t.push(...e.tasks))),t},u=e=>e.filter((e=>!0===e.isComplete)),p=e=>e.filter((e=>!e.isComplete)),h=e=>e.sort(((e,t)=>e.order-t.order))[0],g=e=>{const t=d(e),n=u(t);return t.length-n.length==0}},14072:(e,t,n)=>{"use strict";n.d(t,{Gl:()=>c,J1:()=>r,Sl:()=>d,a:()=>i,au:()=>l,e$:()=>o,vf:()=>a});var s=n(97160);function r(e){return(0,s.tinycolor)(e).getLuminance()}const i=(e,t)=>(0,s.tinycolor)(e).lighten(t).toHexString(),o=(e,t)=>(0,s.tinycolor)(e).darken(t).toHexString(),a=(e,t)=>(0,s.tinycolor)(e).setAlpha(Math.min(Math.max(t,0),1)).toRgbString();function c(e){return-1!==["#ffffff","#fff","white"].indexOf(e.toLowerCase())}const l=(e,t,n)=>s.tinycolor.mix(e,t,n).toRgbString(),d=(e,t)=>Math.round(1e3*s.tinycolor.readability(e,t))/1e3},37046:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,z:()=>i});var s=n(69607);const r=(e=!0)=>(0,s.yJ)("conversationDemoModeEnabled",e),i=()=>{var e;return!(null==(e=(0,s.zj)())||!e.conversationDemoModeEnabled)}},90933:(e,t,n)=>{"use strict";n.d(t,{Am:()=>$,Hp:()=>W,I4:()=>H,JA:()=>A,JI:()=>O,MF:()=>F,Q4:()=>B,Qz:()=>j,S9:()=>V,XN:()=>X,XU:()=>N,Xc:()=>Z,cA:()=>U,cG:()=>M,dF:()=>T,dT:()=>J,ht:()=>k,iu:()=>G,kY:()=>R,kg:()=>L,lZ:()=>E,mn:()=>Y,u:()=>D,wX:()=>ee,wy:()=>P,xf:()=>Q,zN:()=>K});var s=n(56449),r=n.n(s),i=n(42877),o=n.n(i),a=n(62193),c=n.n(a),l=n(9063),d=n.n(l),u=n(69843),p=n.n(u),h=n(90179),g=n.n(h),v=n(87612),m=n.n(v),f=n(47307),y=n.n(f),_=n(42426),w=n.n(_),b=n(48179),C=n(69830),S=n(13194);const{assign:I}=Object;function A(e,t){return E(t)||O(e,t)}function E(e){var t;return!!e&&(null==e||null==(t=e.composerState)?void 0:t.workflowActive)}function O(e,t){return!t&&e||e&&"bot"===(null==t?void 0:t.uxStyle)||e&&!(null!=t&&t.uxStyle)}const k=e=>e.parts.filter((e=>{var t;return null==(t=e.author)?void 0:t.isAdmin}))[0],T=(e,t=!0)=>x(e.parts,t),x=(e,t=!0)=>{const n=((null==e?void 0:e.filter((e=>{var n,s;return(null==(n=e.author)?void 0:n.isAdmin)&&(t||!(null!=(s=e.author)&&s.isBot))})))||[]).sort(((e,t)=>e.createdAt.getTime()-t.createdAt.getTime()));return(0,b.A)(n)},M=e=>e.parts.reduce(((e,t)=>{var n;return e+(null!=(n=t.author)&&n.isAdmin?1:0)}),0),R=e=>1===e.parts.length&&"chat"===e.parts[0].messageType,j=e=>e.parts.length>1&&(0,b.A)(e.parts).author.isAdmin,P=e=>{var t;return null==(t=e.author)?void 0:t.isBot},z=(e,t)=>!p()(e.id)&&e.id===t.id||!p()(e.clientId)&&e.clientId===t.clientId,L=(e,t)=>{if(c()(t))return e.parts;const n=T(e);(0,S.ZQ)({category:"get-conversation",message:"Merging conversation parts",data:{conversationId:e.id,lastIncomingAdminPartId:null==n?void 0:n.id},level:"info"});const s=t.parts||[],r=d()([...e.parts,...s],z),i=x(r);return(0,S.ZQ)({category:"get-conversation",message:"Merged parts complete",data:{conversationId:e.id,lastMergedAdminPartId:null==i?void 0:i.id},level:"info"}),o()(r,["createdAt"],["asc"])},N=(e,t)=>{if(!c()(t)&&t.composerState){var n;if(t.composerState.version&&e.composerState.version&&t.composerState.version>(null==(n=e.composerState)?void 0:n.version)&&t.composerState.workflowActive===e.composerState.workflowActive)return t.composerState;t.composerState.version===e.composerState.version&&t.composerState.visible!==e.composerState.visible&&(0,C.uo)(`Different composerState visibility with same version number for conversation with id=${e.id}`)}return e.composerState},U=e=>{if(e&&e.parts&&0!==e.parts.length)return`${e.id}-${(0,b.A)(e.parts).id}`},B=e=>"partial"===e.fetchState,D=e=>{const t=T(e);return 1===e.parts.length?H(e):I({},t,{messageType:$(t)})},H=e=>{const{lastParticipatingAdmin:t}=e,n=t?t.lastActiveAt:void 0,s=t?t.isActive:void 0;return I({},e.parts[0],{lastActiveAt:n,isActive:s})},$=e=>e.messageType||"adminReply",V=e=>!(!e.identifier.startsWith("custom_data.")&&!e.identifier.startsWith("company.custom_data.")),F=(e,t)=>{const n=e.attributes.find((e=>e.identifier===t));if(n)return"string"===n.type&&Array.isArray(n.options)?"list":"email"===n.identifier?"email":"phone"===n.identifier?"phone":n.type},q=e=>{const t=y()(e.parts,(e=>e.body));return m()(t,(e=>"messengerCard"===e.type))},W=e=>y()(q(e),(e=>g()(e,"type"))),G=(e,t)=>w()(q(e),{uri:t}),J=e=>e.sort(((e,t)=>t.lastPartCreatedAt.getTime()-e.lastPartCreatedAt.getTime())),K=e=>(e=>e.composerState.visible&&!e.inboundConversationsDisabled&&!e.preventEndUserReplies)(e)&&!(e=>r()(e.parts)&&e.parts[0]&&"attribute_collector"===e.parts[0].replyType)(e),X=e=>e.parts&&(0,b.A)(e.parts)&&"pointer"===(0,b.A)(e.parts).messageType,Q=(e,t,n)=>{if(n<1)return;const s=e.slice(-Math.abs(n)),r=t.slice(-Math.abs(n));return s.every((e=>r.some((t=>z(e,t)))))},Z=e=>{if(!e)return!1;try{var t;const n=JSON.parse(e);return"replies_prevented"===(null==n||null==(t=n.errors[0])?void 0:t.code)}catch(e){return!1}},Y=e=>{if(!e)return!1;try{var t;const n=JSON.parse(e);return"invalid_upload_extension"===(null==n||null==(t=n.errors[0])?void 0:t.code)}catch(e){return!1}},ee=e=>(null==e?void 0:e.isFetching)&&!(null!=e&&e.isUpdating)},61607:(e,t,n)=>{"use strict";n.d(t,{KK:()=>r,LA:()=>i,nu:()=>s,r4:()=>o});const s=()=>"intercom-id",r=e=>`intercom-id-${e}`,i=e=>`intercom-session-${e}`,o=e=>`intercom-device-id-${e}`},31837:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>c,CZ:()=>v,Vr:()=>d,XB:()=>l,Z2:()=>p,mJ:()=>o,tW:()=>g,x:()=>a,x3:()=>u});var s=n(8375),r=n(70745);const i=e=>{var t;if(null!=(t=window)&&null!=(t=t.parent)&&t.document)return window.parent.document.querySelector(e)},o=()=>{var e;return(null==(e=(0,r.mC)())?void 0:e.innerHeight)||0},a=()=>i('[name="intercom-modal-frame"]'),c=()=>i('[name="intercom-note-frame"]'),l=()=>i('[name="intercom-borderless-frame"]'),d=()=>i('[name="intercom-messenger-frame"]'),u=()=>{const e=d();if(e)return e.contentDocument},p=e=>!(null==e||!e.postMessage||"function"!=typeof e.postMessage),h=()=>{const e=i('[name="intercom-launcher-frame"]');if(e)return e.contentDocument},g=()=>h()&&(0,s.re)(h())[0],v=()=>u()&&(0,s.re)(u())[0]},8375:(e,t,n)=>{"use strict";n.d(t,{C_:()=>I,Ey:()=>y,Fp:()=>u,Kx:()=>b,M7:()=>C,RM:()=>R,Rk:()=>i,T5:()=>a,TV:()=>o,Vz:()=>M,YG:()=>S,_T:()=>x,a8:()=>w,b$:()=>f,bf:()=>j,cf:()=>l,cs:()=>d,di:()=>E,f:()=>m,f$:()=>_,fo:()=>c,hf:()=>A,iQ:()=>h,nB:()=>P,nf:()=>O,nx:()=>k,o2:()=>p,q2:()=>v,re:()=>T,vy:()=>g});var s=n(49651),r=n(56213);const i={TAB:9,ENTER:13,ESC:27,SPACE:32,BACKSPACE:8,DELETE:46},o=e=>e.scrollHeight-e.clientHeight-e.scrollTop,a=e=>e.scrollTop/(e.scrollHeight-e.clientHeight),c=(e,t)=>{let n=e;return null==t?void 0:t.split(" > :shadow-root > ").reduce(((e,t)=>{const s=n.querySelector(t);return n=null==s?void 0:s.shadowRoot,s}),void 0)},l=e=>{if(!e)return 0;const{scrollTop:t,scrollHeight:n,clientHeight:s}=e;return n-s-t},d=e=>{const{scrollHeight:t,clientHeight:n}=e;e.scrollTop=t-n},u=e=>{const{scrollHeight:t,clientHeight:n}=e;if(!e.scrollBy)return d(e);e.scrollBy({top:t-n,left:0,behavior:"smooth"})},p=(e,t)=>{const{bottom:n,top:s,height:r}=e.getBoundingClientRect(),{bottom:i,top:o,height:a}=t.getBoundingClientRect();if(!(si))return;let c=e.offsetTop;for(;e;){const{position:t}=window.getComputedStyle(e);"relative"===t&&(c+=e.offsetTop-e.scrollTop+e.clientTop),e=e.offsetParent}t.scrollTop=c-Math.trunc(a/2)+Math.trunc(r/2)},h=(e,t)=>{const n=e.className.split(" ");n.some((e=>e===t))||(n.push(t),e.className=n.join(" ").trim())},g=(e,t)=>{e.className=e.className.split(" ").filter((e=>e!==t)).join(" ")},v=(e,t,n,s=!1)=>{null!=e&&(e.addEventListener?e.addEventListener(t,n,s):e.attachEvent&&e.attachEvent(`on${t}`,n))},m=(e,t,n)=>{null!=e&&(e.removeEventListener?e.removeEventListener(t,n):e.detachEvent&&e.detachEvent(`on${t}`,n))},f=e=>{const t=e.currentTarget,{scrollTop:n,scrollHeight:s,clientHeight:r}=t,{deltaY:i}=e,o=i>0;o&&i>s-r-n?t.scrollTop=s:!o&&-i>n?t.scrollTop=0:e.stopPropagation()},y=e=>{if(e&&"selectionEnd"in e)return e.selectionEnd},_=(e,t,n)=>e.slice(0,n)+t+e.slice(n),w=(e,t=-1)=>{e&&(e.focus(),"setSelectionRange"in e&&t>=0&&e.setSelectionRange(t,t))};function b(e,t,n){const s=e.document||e.ownerDocument;return e=>{const r=[];Array.from(s.querySelectorAll(t)).forEach((e=>r.push(e)));let{target:i}=e;for(;i&&i!==this;){if(r.indexOf(i)>-1){n.call(i,e);break}i=i.parentNode}}}const C=e=>void 0!==e.hidden?!e.hidden:void 0!==e.mozHidden?!e.mozHidden:void 0!==e.msHidden?!e.msHidden:void 0===e.webkitHidden||!e.webkitHidden,S=()=>{let e;return void 0!==document.hidden?e="visibilitychange":void 0!==document.mozHidden?e="mozvisibilitychange":void 0!==document.msHidden?e="msvisibilitychange":void 0!==document.webkitHidden&&(e="webkitvisibilitychange"),e},I=(e,t={})=>{const n=document.createElement("form");n.setAttribute("target","_blank"),n.setAttribute("method","post"),n.setAttribute("action",e),Object.keys(t).forEach((e=>{const s=document.createElement("input");s.type="hidden",s.name=e,s.value=t[e],n.appendChild(s)})),document.body.appendChild(n),n.submit(),document.body.removeChild(n)},A=e=>t=>(t.keyCode===i.ENTER||t.keyCode===i.SPACE)&&e(t),E=e=>e.keyCode===i.TAB&&!(-1!==["INPUT","TEXTAREA","BUTTON"].indexOf(e.target.tagName)),O=e=>{if(e)return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k=e=>"Escape"===e.key,T=e=>Array.from(e.querySelectorAll('button, [href], input:not([type="file"]):not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')).filter((e=>!e.closest('[aria-hidden="true"]'))),x=e=>(0,s.Vf)(e)?"rtl":"ltr",M=(e,t,n)=>{const s=e.document.getElementById(t);return s||R(e,t,n)},R=(e,t,n)=>{const{document:s}=e,r=s.createElement("div");return r.id=t,n&&r.classList.add(n),s.body.appendChild(r),r},j=e=>{var t;null==e||null==(t=e.parentNode)||t.removeChild(e)},P=(e,t=500)=>{if(!r.un)return setTimeout((()=>{e.focus()}),t);const n=document.createElement("input");return n.setAttribute("type","text"),n.style.position="absolute",n.style.opacity=0,n.style.height=0,n.style.fontSize="16px",document.body.prepend(n),n.focus({preventScroll:!0}),setTimeout((()=>{e.focus(),n.remove()}),t)}},36667:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});const s=e=>/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},79772:(e,t,n)=>{"use strict";n.d(t,{i:()=>r,x:()=>i});const s=e=>{const t=function(t){return e[t]},n="(?:"+Object.keys(e).join("|")+")",s=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,s.test(e)?e.replace(r,t):e}},r=s({"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}),i=s({"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`","'":"'"})},60553:(e,t,n)=>{"use strict";n.d(t,{ds:()=>i,rN:()=>o});var s=n(69607);const r="intercom-snippet__fin-experimental-demo__key";function i(e={}){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]}},70060:(e,t,n)=>{"use strict";n.d(t,{IE:()=>o,UA:()=>i});var s=n(69607);const r="intercom-snippet__preview-personality-settings__instance-id";function i(e){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]}},9111:(e,t,n)=>{"use strict";n.d(t,{$R:()=>i,xE:()=>o});var s=n(69607);const r="intercom-snippet__fin-preview-settings__instance-id";function i(e){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]}},7186:(e,t,n)=>{"use strict";n.d(t,{Ff:()=>i,kn:()=>a});var s=n(56213);const r=["image/gif","image/jpeg","image/png","image/bmp","image/x-icon"],i=e=>{o(e).catch((()=>{}))},o=e=>new Promise(((t,n)=>{const s=new Image;s.onload=()=>t(s),s.onerror=()=>n(),s.src=e})),a=e=>new Promise(((t,n)=>{if(c(e)&&(0,s.I1)()){const s=new FileReader;s.onload=e=>{const s=new Image;s.onload=()=>t(s),s.onerror=()=>n(),s.src=e.target.result},s.readAsDataURL(e)}else t()})),c=e=>-1!==r.indexOf(e.type.toLowerCase())},21942:(e,t,n)=>{"use strict";n.d(t,{b:()=>r,l:()=>i});let s="js-snippet";const r=e=>s=e,i=()=>s},22060:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});const s=()=>window.parent&&window.parent.intercomSettings&&"tx2p130c"===window.parent.intercomSettings.app_id},64442:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,t:()=>i});var s=n(82238);const r="intercom-snippet__intersection-mode",i=()=>!!s.s.get(r),o=()=>"survey-preview"===s.s.get(r)||"survey-local-preview"===s.s.get(r)},53074:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s=e=>"participant_added"===e||"participant_removed"===e||"article_feedback_requested"===e||"temporary_expectations"===e||"merged_primary_conversation"===e},48179:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s=e=>{if(e)return e[e.length-1]}},51835:(e,t,n)=>{"use strict";n.d(t,{PJ:()=>w,Kz:()=>I,kx:()=>b,YI:()=>A,Sv:()=>C});var s=n(8483),r=n.n(s),i=n(95632),o=n.n(i),a=n(32629),c=n.n(a),l=n(1572),d=n(58156),u=n.n(d),p=n(73357),h=n.n(p),g=n(86139),v=n.n(g);const m={button:function(e){return e.action.id?(e.id=e.action.id,h()(e,"action.id"),e):e},input:function(e){return e.action&&e.action.id?(e.id=e.action.id,h()(e,"action.id"),e):e},list:function(e){const t=e.items.map((e=>{if(e.action){if(!e.action.id)return e;e.id=e.action.id,h()(e,"action.id")}return e}));return e.items=t,e}};function f(e){return e.components.map((e=>function(e){const t=v()({},e);return u()(m,e.type,(()=>{}))(t),t}(e)))}var y=n(1187);const _=e=>e?(0,y.A)(e.toString()):"",w=(e,t)=>{switch(e.type){case"button":return`button-${_(e.id)}`;case"text":return`text-${t}-${_(e.text)}`;case"input":return`input-${_(e.id)}`;case"spacer":return`spacer-${t}`;case"divider":return`divider-${t}`;case"image":return`image-${t}-${_(e.url)}`;case"list":return`list-${e.items.map((e=>_(e.id))).join("-")}`;case"dropdown":return`dropdown-${_(e.id)}`;case"single-select":return`single-select-${_(e.id)}`;default:return`unknown-${t}`}},b=e=>e.state?{uri:e.uri,canvas:{id:"",content:e.state}}:e,C=e=>{const t=Object.assign({},e);return r()(t,["canvas","content"],(e=>(e=>"0.1"===e.version?e:{version:"0.1",components:f(e)})(c()(e)))),r()(t,["canvas","content","components"],(e=>e.map(l.K)))},S=(e,t,n)=>{const s=[];return e.forEach((e=>{"list"===e.type?s.push(...e.items):s.push(e)})),s.find((e=>e[t]&&(!n||e[t]===n)))},I=(e,t,n)=>!!S(e,t,n),A=(e,t,n=!0)=>{const s=((e,t)=>S(e,"id",t))(t,e),r=E(s,t);return r&&s&&s.type?"button"===s.type||"item"===s.type?o()(c()(t),`${r}.loading`,n,c()):"input"===s.type||"dropdown"===s.type||"single-select"===s.type?o()(c()(t),`${r}.saveState`,n?"saving":"unsaved",c()):void 0:t},E=(e,t)=>{for(const n in t)if(t.hasOwnProperty(n)){if(e===t[n])return`[${n}]`;if(t[n]&&"object"==typeof t[n]){const s=E(e,t[n]);if(s)return`[${n}]`+s}}}},9770:(e,t,n)=>{"use strict";n.d(t,{CD:()=>y,JK:()=>f,OV:()=>O,UW:()=>v,Wl:()=>C,Xz:()=>g,ZE:()=>A,_k:()=>b,h6:()=>m,hn:()=>w,pU:()=>E,s5:()=>h,vQ:()=>_});var s=n(62193),r=n.n(s),i=n(56213),o=n(44644),a=n(69830);let c=!1,l=!1,d=!1,u=!1,p=!1;const h=e=>!!e&&!!e[0]&&"attachmentList"===e[0].type,g=e=>{if(e)return e.isActive?"active":"away"},v=e=>{if(!e||!e.lastActiveAt)return;const t=new Date;return Math.round((t.getTime()-e.lastActiveAt.getTime())/6e4)},m=e=>r()(e),f=e=>{c=e},y=()=>c,_=e=>{l=e},w=()=>l;function b(e,t){try{const n=I(),s=e.parts[e.parts.length-1].author.isBot;if(n||!s||!t)return;(0,a.sq)("timeToFirstBotResponse",{duration_ms:Date.now()-t}),S(!0)}catch(e){(0,o.jP)(`Failure while recording trigger transition duration ${e}`)}}function C(e,t,n){try{let s=p;const r=e.parts[e.parts.length-1].author.isBot;if(s||!r||!t||Math.abs(n-t)>50)return void(p=!0);(0,a.sq)("durationFromCreateConversationToOperatorReply",{duration_ms:Date.now()-t}),p=!0}catch(e){(0,o.jP)(`Failure while recording trigger transition duration ${e}`)}}const S=e=>{u=e},I=()=>u,A=e=>{d=e},E=()=>d,O=e=>!!e&&i.Ay.messengerIsVisible()},64234:(e,t,n)=>{"use strict";n.d(t,{rx:()=>i,IS:()=>r,BW:()=>o});var s=n(70745);const r=()=>{const e=(0,s.mC)();return e.innerWidth<=450||e.innerWidth<=900&&e.innerHeight<=450},i=()=>{const e=(0,s.mC)();return r()&&e.innerWidth>e.innerHeight},o=()=>{try{r()&&!window.parent.navigator.standalone&&window.parent.scrollTo(0,0)}catch(e){}}},75731:(e,t,n)=>{"use strict";function s(e){return"quick_reply"===e.partType}function r(e){return"attribute_collector"===e.partType}n.d(t,{aT:()=>r,ii:()=>s,k4:()=>i});const i=e=>"ticketStatusUpdate"===e.messageType},61353:(e,t,n)=>{"use strict";n.d(t,{E2:()=>h,J3:()=>v,fn:()=>p,xI:()=>g});const s=/\s+/g,r=/^(00)|(\+)/i,i=/[^(\d|\s|\+|\.|\(|\)|\-)]/g,o=/\D/g,a="that_number_needs_a_prefix",c="that_number_doesnt_look_quite_right",l="that_country_code_doesnt_look_quite_right",d="that_number_is_missing_a_few_digits",u="that_number_has_too_many_digits",p=e=>void 0===h(e),h=e=>{if(!m(e))return a;if((e=e.replace(r,"")).match(i))return c;if((e=e.replace(o,"")).length>15)return u;const t=v(e);return t&&(e=e.substring(t.dialCode.length)),e.length<6?d:t?void 0:l},g=e=>{const t=C[e];return t?`+${t.dialCode}`:"+1"},v=e=>{if((e=f(e)).length<4)return;const t=y(e);return b(t)},m=e=>e.match(r),f=e=>(e=(e=(e=e.replace(s,"")).replace(r,"")).replace(i,"")).slice(0,4),y=e=>{const t=[],n=Object.keys(C);for(let s=0;s<=n.length-1;s++){const r=_(n[s]),i=w(r);if(i.indexOf(e)>-1){t.push(r);break}i.some((t=>e.startsWith(t)))&&t.push(r)}return t},_=e=>Object.assign(C[e],{code:e}),w=e=>{const{dialCode:t,areaCodes:n}=e;return n?n.map((e=>`${t}${e}`)):[t]},b=e=>{if(1===e.length)return e[0];if(e.length>1){if(1===new Set(e.map((e=>e.dialCode))).size)return e.find((e=>0===e.priority))}},C={af:{dialCode:"93",areaCodes:null,priority:0},al:{dialCode:"355",areaCodes:null,priority:0},dz:{dialCode:"213",areaCodes:null,priority:0},as:{dialCode:"1684",areaCodes:null,priority:0},ad:{dialCode:"376",areaCodes:null,priority:0},ao:{dialCode:"244",areaCodes:null,priority:0},ai:{dialCode:"1264",areaCodes:null,priority:0},ag:{dialCode:"1268",areaCodes:null,priority:0},ar:{dialCode:"54",areaCodes:null,priority:0},am:{dialCode:"374",areaCodes:null,priority:0},aw:{dialCode:"297",areaCodes:null,priority:0},au:{dialCode:"61",areaCodes:null,priority:0},at:{dialCode:"43",areaCodes:null,priority:0},az:{dialCode:"994",areaCodes:null,priority:0},bs:{dialCode:"1242",areaCodes:null,priority:0},bh:{dialCode:"973",areaCodes:null,priority:0},bd:{dialCode:"880",areaCodes:null,priority:0},bb:{dialCode:"1246",areaCodes:null,priority:0},by:{dialCode:"375",areaCodes:null,priority:0},be:{dialCode:"32",areaCodes:null,priority:0},bz:{dialCode:"501",areaCodes:null,priority:0},bj:{dialCode:"229",areaCodes:null,priority:0},bm:{dialCode:"1441",areaCodes:null,priority:0},bt:{dialCode:"975",areaCodes:null,priority:0},bo:{dialCode:"591",areaCodes:null,priority:0},ba:{dialCode:"387",areaCodes:null,priority:0},bw:{dialCode:"267",areaCodes:null,priority:0},br:{dialCode:"55",areaCodes:null,priority:0},io:{dialCode:"246",areaCodes:null,priority:0},vg:{dialCode:"1284",areaCodes:null,priority:0},bn:{dialCode:"673",areaCodes:null,priority:0},bg:{dialCode:"359",areaCodes:null,priority:0},bf:{dialCode:"226",areaCodes:null,priority:0},bi:{dialCode:"257",areaCodes:null,priority:0},kh:{dialCode:"855",areaCodes:null,priority:0},cm:{dialCode:"237",areaCodes:null,priority:0},ca:{dialCode:"1",areaCodes:["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"],priority:1},cv:{dialCode:"238",areaCodes:null,priority:0},bq:{dialCode:"599",areaCodes:null,priority:1},ky:{dialCode:"1345",areaCodes:null,priority:0},cf:{dialCode:"236",areaCodes:null,priority:0},td:{dialCode:"235",areaCodes:null,priority:0},cl:{dialCode:"56",areaCodes:null,priority:0},cn:{dialCode:"86",areaCodes:null,priority:0},cx:{dialCode:"61",areaCodes:null,priority:2},cc:{dialCode:"61",areaCodes:null,priority:1},co:{dialCode:"57",areaCodes:null,priority:0},km:{dialCode:"269",areaCodes:null,priority:0},cd:{dialCode:"243",areaCodes:null,priority:0},cg:{dialCode:"242",areaCodes:null,priority:0},ck:{dialCode:"682",areaCodes:null,priority:0},cr:{dialCode:"506",areaCodes:null,priority:0},ci:{dialCode:"225",areaCodes:null,priority:0},hr:{dialCode:"385",areaCodes:null,priority:0},cu:{dialCode:"53",areaCodes:null,priority:0},cw:{dialCode:"599",areaCodes:null,priority:0},cy:{dialCode:"357",areaCodes:null,priority:0},cz:{dialCode:"420",areaCodes:null,priority:0},dk:{dialCode:"45",areaCodes:null,priority:0},dj:{dialCode:"253",areaCodes:null,priority:0},dm:{dialCode:"1767",areaCodes:null,priority:0},do:{dialCode:"1",areaCodes:["809","829","849"],priority:2},ec:{dialCode:"593",areaCodes:null,priority:0},eg:{dialCode:"20",areaCodes:null,priority:0},sv:{dialCode:"503",areaCodes:null,priority:0},gq:{dialCode:"240",areaCodes:null,priority:0},er:{dialCode:"291",areaCodes:null,priority:0},ee:{dialCode:"372",areaCodes:null,priority:0},et:{dialCode:"251",areaCodes:null,priority:0},fk:{dialCode:"500",areaCodes:null,priority:0},fo:{dialCode:"298",areaCodes:null,priority:0},fj:{dialCode:"679",areaCodes:null,priority:0},fi:{dialCode:"358",areaCodes:null,priority:0},fr:{dialCode:"33",areaCodes:null,priority:0},gf:{dialCode:"594",areaCodes:null,priority:0},pf:{dialCode:"689",areaCodes:null,priority:0},ga:{dialCode:"241",areaCodes:null,priority:0},gm:{dialCode:"220",areaCodes:null,priority:0},ge:{dialCode:"995",areaCodes:null,priority:0},de:{dialCode:"49",areaCodes:null,priority:0},gh:{dialCode:"233",areaCodes:null,priority:0},gi:{dialCode:"350",areaCodes:null,priority:0},gr:{dialCode:"30",areaCodes:null,priority:0},gl:{dialCode:"299",areaCodes:null,priority:0},gd:{dialCode:"1473",areaCodes:null,priority:0},gp:{dialCode:"590",areaCodes:null,priority:0},gu:{dialCode:"1671",areaCodes:null,priority:0},gt:{dialCode:"502",areaCodes:null,priority:0},gg:{dialCode:"44",areaCodes:null,priority:1},gn:{dialCode:"224",areaCodes:null,priority:0},gw:{dialCode:"245",areaCodes:null,priority:0},gy:{dialCode:"592",areaCodes:null,priority:0},ht:{dialCode:"509",areaCodes:null,priority:0},hn:{dialCode:"504",areaCodes:null,priority:0},hk:{dialCode:"852",areaCodes:null,priority:0},hu:{dialCode:"36",areaCodes:null,priority:0},is:{dialCode:"354",areaCodes:null,priority:0},in:{dialCode:"91",areaCodes:null,priority:0},id:{dialCode:"62",areaCodes:null,priority:0},ir:{dialCode:"98",areaCodes:null,priority:0},iq:{dialCode:"964",areaCodes:null,priority:0},ie:{dialCode:"353",areaCodes:null,priority:0},im:{dialCode:"44",areaCodes:null,priority:2},il:{dialCode:"972",areaCodes:null,priority:0},it:{dialCode:"39",areaCodes:null,priority:0},jm:{dialCode:"1876",areaCodes:null,priority:0},jp:{dialCode:"81",areaCodes:null,priority:0},je:{dialCode:"44",areaCodes:null,priority:3},jo:{dialCode:"962",areaCodes:null,priority:0},kz:{dialCode:"7",areaCodes:null,priority:1},ke:{dialCode:"254",areaCodes:null,priority:0},ki:{dialCode:"686",areaCodes:null,priority:0},xk:{dialCode:"383",areaCodes:null,priority:0},kw:{dialCode:"965",areaCodes:null,priority:0},kg:{dialCode:"996",areaCodes:null,priority:0},la:{dialCode:"856",areaCodes:null,priority:0},lv:{dialCode:"371",areaCodes:null,priority:0},lb:{dialCode:"961",areaCodes:null,priority:0},ls:{dialCode:"266",areaCodes:null,priority:0},lr:{dialCode:"231",areaCodes:null,priority:0},ly:{dialCode:"218",areaCodes:null,priority:0},li:{dialCode:"423",areaCodes:null,priority:0},lt:{dialCode:"370",areaCodes:null,priority:0},lu:{dialCode:"352",areaCodes:null,priority:0},mo:{dialCode:"853",areaCodes:null,priority:0},mk:{dialCode:"389",areaCodes:null,priority:0},mg:{dialCode:"261",areaCodes:null,priority:0},mw:{dialCode:"265",areaCodes:null,priority:0},my:{dialCode:"60",areaCodes:null,priority:0},mv:{dialCode:"960",areaCodes:null,priority:0},ml:{dialCode:"223",areaCodes:null,priority:0},mt:{dialCode:"356",areaCodes:null,priority:0},mh:{dialCode:"692",areaCodes:null,priority:0},mq:{dialCode:"596",areaCodes:null,priority:0},mr:{dialCode:"222",areaCodes:null,priority:0},mu:{dialCode:"230",areaCodes:null,priority:0},yt:{dialCode:"262",areaCodes:null,priority:1},mx:{dialCode:"52",areaCodes:null,priority:0},fm:{dialCode:"691",areaCodes:null,priority:0},md:{dialCode:"373",areaCodes:null,priority:0},mc:{dialCode:"377",areaCodes:null,priority:0},mn:{dialCode:"976",areaCodes:null,priority:0},me:{dialCode:"382",areaCodes:null,priority:0},ms:{dialCode:"1664",areaCodes:null,priority:0},ma:{dialCode:"212",areaCodes:null,priority:0},mz:{dialCode:"258",areaCodes:null,priority:0},mm:{dialCode:"95",areaCodes:null,priority:0},na:{dialCode:"264",areaCodes:null,priority:0},nr:{dialCode:"674",areaCodes:null,priority:0},np:{dialCode:"977",areaCodes:null,priority:0},nl:{dialCode:"31",areaCodes:null,priority:0},nc:{dialCode:"687",areaCodes:null,priority:0},nz:{dialCode:"64",areaCodes:null,priority:0},ni:{dialCode:"505",areaCodes:null,priority:0},ne:{dialCode:"227",areaCodes:null,priority:0},ng:{dialCode:"234",areaCodes:null,priority:0},nu:{dialCode:"683",areaCodes:null,priority:0},nf:{dialCode:"672",areaCodes:null,priority:0},kp:{dialCode:"850",areaCodes:null,priority:0},mp:{dialCode:"1670",areaCodes:null,priority:0},no:{dialCode:"47",areaCodes:null,priority:0},om:{dialCode:"968",areaCodes:null,priority:0},pk:{dialCode:"92",areaCodes:null,priority:0},pw:{dialCode:"680",areaCodes:null,priority:0},ps:{dialCode:"970",areaCodes:null,priority:0},pa:{dialCode:"507",areaCodes:null,priority:0},pg:{dialCode:"675",areaCodes:null,priority:0},py:{dialCode:"595",areaCodes:null,priority:0},pe:{dialCode:"51",areaCodes:null,priority:0},ph:{dialCode:"63",areaCodes:null,priority:0},pl:{dialCode:"48",areaCodes:null,priority:0},pt:{dialCode:"351",areaCodes:null,priority:0},pr:{dialCode:"1",areaCodes:["787","939"],priority:3},qa:{dialCode:"974",areaCodes:null,priority:0},re:{dialCode:"262",areaCodes:null,priority:0},ro:{dialCode:"40",areaCodes:null,priority:0},ru:{dialCode:"7",areaCodes:null,priority:0},rw:{dialCode:"250",areaCodes:null,priority:0},bl:{dialCode:"590",areaCodes:null,priority:1},sh:{dialCode:"290",areaCodes:null,priority:0},kn:{dialCode:"1869",areaCodes:null,priority:0},lc:{dialCode:"1758",areaCodes:null,priority:0},mf:{dialCode:"590",areaCodes:null,priority:2},pm:{dialCode:"508",areaCodes:null,priority:0},vc:{dialCode:"1784",areaCodes:null,priority:0},ws:{dialCode:"685",areaCodes:null,priority:0},sm:{dialCode:"378",areaCodes:null,priority:0},st:{dialCode:"239",areaCodes:null,priority:0},sa:{dialCode:"966",areaCodes:null,priority:0},sn:{dialCode:"221",areaCodes:null,priority:0},rs:{dialCode:"381",areaCodes:null,priority:0},sc:{dialCode:"248",areaCodes:null,priority:0},sl:{dialCode:"232",areaCodes:null,priority:0},sg:{dialCode:"65",areaCodes:null,priority:0},sx:{dialCode:"1721",areaCodes:null,priority:0},sk:{dialCode:"421",areaCodes:null,priority:0},si:{dialCode:"386",areaCodes:null,priority:0},sb:{dialCode:"677",areaCodes:null,priority:0},so:{dialCode:"252",areaCodes:null,priority:0},za:{dialCode:"27",areaCodes:null,priority:0},kr:{dialCode:"82",areaCodes:null,priority:0},ss:{dialCode:"211",areaCodes:null,priority:0},es:{dialCode:"34",areaCodes:null,priority:0},lk:{dialCode:"94",areaCodes:null,priority:0},sd:{dialCode:"249",areaCodes:null,priority:0},sr:{dialCode:"597",areaCodes:null,priority:0},sj:{dialCode:"47",areaCodes:null,priority:1},sz:{dialCode:"268",areaCodes:null,priority:0},se:{dialCode:"46",areaCodes:null,priority:0},ch:{dialCode:"41",areaCodes:null,priority:0},sy:{dialCode:"963",areaCodes:null,priority:0},tw:{dialCode:"886",areaCodes:null,priority:0},tj:{dialCode:"992",areaCodes:null,priority:0},tz:{dialCode:"255",areaCodes:null,priority:0},th:{dialCode:"66",areaCodes:null,priority:0},tl:{dialCode:"670",areaCodes:null,priority:0},tg:{dialCode:"228",areaCodes:null,priority:0},tk:{dialCode:"690",areaCodes:null,priority:0},to:{dialCode:"676",areaCodes:null,priority:0},tt:{dialCode:"1868",areaCodes:null,priority:0},tn:{dialCode:"216",areaCodes:null,priority:0},tr:{dialCode:"90",areaCodes:null,priority:0},tm:{dialCode:"993",areaCodes:null,priority:0},tc:{dialCode:"1649",areaCodes:null,priority:0},tv:{dialCode:"688",areaCodes:null,priority:0},vi:{dialCode:"1340",areaCodes:null,priority:0},ug:{dialCode:"256",areaCodes:null,priority:0},ua:{dialCode:"380",areaCodes:null,priority:0},ae:{dialCode:"971",areaCodes:null,priority:0},gb:{dialCode:"44",areaCodes:null,priority:0},us:{dialCode:"1",areaCodes:null,priority:0},uy:{dialCode:"598",areaCodes:null,priority:0},uz:{dialCode:"998",areaCodes:null,priority:0},vu:{dialCode:"678",areaCodes:null,priority:0},va:{dialCode:"39",areaCodes:null,priority:1},ve:{dialCode:"58",areaCodes:null,priority:0},vn:{dialCode:"84",areaCodes:null,priority:0},wf:{dialCode:"681",areaCodes:null,priority:0},eh:{dialCode:"212",areaCodes:null,priority:1},ye:{dialCode:"967",areaCodes:null,priority:0},zm:{dialCode:"260",areaCodes:null,priority:0},zw:{dialCode:"263",areaCodes:null,priority:0},ax:{dialCode:"358",areaCodes:null,priority:1}}},20169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,l:()=>i});var s=n(69607);const r="intercom-snippet__preview-mode-customization__instance-id";function i(e){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]||{}}},79191:(e,t,n)=>{"use strict";n.d(t,{IR:()=>o,UF:()=>i});var s=n(69607);const r="intercom-snippet__preview-settings__instance-id";function i(e){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]}},48012:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});const s=(e,t=6e4,n=0)=>{let s;const r=()=>{s=[]},i=(...r)=>{const i=e(...r),o=s.findIndex((e=>e.key===i)),a=Date.now();if(o>-1){if(!((e,n)=>e-n.createdAt>t)(a,s[o]))return!0;s.splice(o,1)}return n>0&&s.length===n&&s.shift(),s.push({key:i,createdAt:a}),!1};return i.reset=r,r(),i}},65358:(e,t,n)=>{"use strict";n.d(t,{Rp:()=>o,eR:()=>a,s3:()=>i});var s=n(13194),r=n(44644);const i=e=>{if("rate_limited_update"===e)return null;try{return e.errors||JSON.parse(e).errors}catch(t){return(0,r.jP)(e),void(0,s.l2)(e)}},o=e=>{const t=i(e);if(!t)return;const n=t.find((e=>e.data));if(!n)return;const s=n.data;return{activeSubscription:s.active_subscription,userHashVerified:s.user_hash_verified,secureInstallV2:s.secure_install_v2,messengerEnabledForVisitors:s.messenger_enabled_for_visitors,messengerEnabledForUsers:s.messenger_enabled_for_users}},a=e=>e&&e[0].code},25163:(e,t,n)=>{"use strict";n.d(t,{Om:()=>i,c6:()=>c,fP:()=>a,sB:()=>o});var s=n(70400),r=n(72938);const i=e=>{var t;const n=(0,s.matchPath)(`/${r.Ij.id}/conversation/:conversationId`,e),i=null==n||null==(t=n.params)?void 0:t.conversationId;return null!=i&&i.length?"new"===i||"trigger-screen"===i?null:i:null},o=e=>!!i(e),a=e=>!!(0,s.matchPath)(`/${r.Ij.id}/conversation/new`,e),c=e=>a(e)?"new-conversation":o(e)?"conversation":(e=>(0,s.matchPath)(`/${r.Ij.id}`,e))(e)?"conversations":"home-screen"},51662:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var s=n(5994);const r=(e,t)=>{if(!e)return;let n=(0,s.CH)(e)[t];if(!n){const s=e.toString();if(!s)return;const r=new RegExp(`${t}=(\\d+)`,"i"),i=s.match(r);i&&(n=i[1])}return!n||n.match(/^\d+$/)?n:void 0}},64653:(e,t,n)=>{"use strict";function s(){const e=window.document,t=e.createElement("div");t.style.visibility="hidden",t.style.width="100px",t.style.msOverflowStyle="scrollbar",e.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const s=e.createElement("div");s.style.width="100%",t.appendChild(s);const r=s.offsetWidth;return t.parentNode.removeChild(t),n-r}n.d(t,{X:()=>s})},15498:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var s=n(11331),r=n.n(s),i=n(4124),o=n.n(i);const a=e=>{if(!r()(e))return e;const t={};return Object.entries(e).forEach((([e,n])=>{let s=a(n);Array.isArray(s)&&(s=s.map((e=>a(e)))),t[o()(e)]=s})),t}},82238:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,s:()=>a});var s=n(56213);const r="intercom.",i=e=>({get:t=>{try{return e.getItem(`${r}${t}`)}catch(e){}},set:(t,n)=>{try{return e.setItem(`${r}${t}`,n||"")}catch(e){}},remove:t=>{try{return e.removeItem(`${r}${t}`)}catch(e){}},clear:()=>{try{e.clear()}catch(e){}}}),o=s.Ay.hasLocalStorageSupport()?i(localStorage):{get:()=>{},set:()=>{},remove:()=>{},clear:()=>{}},a=s.Ay.hasSessionStorageSupport()?i(sessionStorage):{get:()=>{},set:()=>{},remove:()=>{},clear:()=>{}}},95271:(e,t,n)=>{"use strict";n.d(t,{$0:()=>f,EJ:()=>b,Sc:()=>v,bG:()=>w,dd:()=>m,jw:()=>_,km:()=>y,rQ:()=>h,yO:()=>g});var s=n(62193),r=n.n(s),i=n(36667),o=n(14072),a=n(61353),c=n(20274),l=n(17833),d=n.n(l),u=n(97160),p=n.n(u);const h=({backgroundColor:e,buttonColor:t})=>{const n="#D22628",s="#222",r="#FFFFFF";t||(t=s),e||(e=r);const i=p()({primaryColor:t,secondaryColor:e,darkenAmount:20});return{backgroundColor:e,buttonColor:t,backgroundTextColor:i.secondary_on_white_contrast>1.6?r:s,buttonTextColor:i.primary_on_white_contrast>1.6?r:s,isBackgroundColorLight:"light"===i.secondary_type,isButtonColorLight:"light"===i.primary_type,buttonColorHover:i.button_background_color_hover,buttonColorActive:i.button_background_color_active,bannerErrorText:(0,o.Sl)(n,e)>3?n:r,progressBarBackground:(0,o.vf)(t,.25),progressBarOverlay:"light"===i.primary_type?(0,o.vf)("#222",.2):"#00000000",grayBackgroundTextColor:s,grayBackground:"#F1F1F1",grayBackgroundActive:"#D7D7D7",grayBackgroundHover:"#BEBEBE"}},g=e=>({theme:t})=>{if(t)return t.surveyColorPalette[e]},v=d()("surveys:debug"),m=e=>null!=e&&-1!==Object.values(c.h3).indexOf(e),f=(e,t)=>{var n;let s=null;const{required:o}=t;if("string"==typeof e&&(e=e.trim()),o&&r()(e))s=c.h3.required;else if(e&&t.validation&&null!=t&&null!=(n=t.validation)&&n.type){const n=t.validation.type,r=((e,t)=>{switch(t){case c.h3.email:return(0,i.B)(e);case c.h3.number:return!isNaN(e);case c.h3.phone:return(0,a.fn)(e);default:return null}})(e,n);r||(s=n)}return{failedValidation:m(s),validationError:s}},y=(e,t)=>{if(!e)return[];return e.reduce(((e,n,s)=>{const r=Math.floor(s/t);return e[r]||(e[r]=[]),e[r].push(n),e}),[])},_={container:{default:"660px",withSender:"716px"},wrapper:{default:"484px",withSender:"540px"}},w={large:"661px",medium:"556px",small:"477px"},b=(e,t)=>e.length<=t?e:`${e.slice(0,t)}...`},88204:(e,t,n)=>{"use strict";n.d(t,{BT:()=>c,JN:()=>a,cR:()=>d,qY:()=>l});var s=n(26265),r=n(49651);const i={[s.S5.submitted]:{key:"tickets_status_submitted"},[s.S5.inProgress]:{key:"tickets_status_in_progress"},[s.S5.waiting]:{key:"tickets_status_waiting_on_you"},[s.S5.resolved]:{key:"tickets_status_resolved"}},o={[s.S5.submitted]:{key:"tickets_status_description_well_pick_up_soon"},[s.S5.inProgress]:{key:"tickets_status_description_working_on"},[s.S5.waiting]:{key:"tickets_status_description_more_info"},[s.S5.resolved]:{key:"tickets_status_description_completed"}};function a(e){return(0,r.Tl)(i[e].key)}function c(e){return(0,r.Tl)(o[e].key)}function l(e){switch(e){case s.S5.submitted:case s.S5.inProgress:return"timelineBlue";case s.S5.waiting:return"timelineOrange";case s.S5.resolved:return"timelineGreen";default:return"primaryColor"}}function d(e){switch(e){case s.S5.submitted:case s.S5.inProgress:return"TicketDefault";case s.S5.waiting:return"TicketWaitingOnYou";case s.S5.resolved:return"TicketResolved";default:return"TicketDefault"}}},57492:(e,t,n)=>{"use strict";n.d(t,{ZQ:()=>o,a2:()=>a,sq:()=>c,vn:()=>d,wo:()=>l});var s=n(49651),r=n(75285),i=n(72938);function o(e){return null===e?null:"object"==typeof e&&e.label?e.label.toString():Array.isArray(e)?e:e.toString()}function a(e,t){var n;const i=(0,s.JK)();switch(t){case"datetime":return null==(n=(0,r.kU)(parseInt(e)))?void 0:n.toLocaleString(i,{dateStyle:"long",timeStyle:"short"});case"boolean":return"true"===e?(0,s.Tl)("attribute_collector_positive"):(0,s.Tl)("attribute_collector_negative");default:return e}}function c(e,t=!1){const n=`/${i.Ij.id}/tickets/${e}`;return t?`${n}?submitted=true`:n}function l(e,t){let n=`/${i.Ij.id}/tickets/create/${e.toString()}`;return t&&(n=`${n}?conversationId=${t}`),n}function d(e){return!e||!e.sharing||!e.sharing.canJoin}},28065:(e,t,n)=>{"use strict";n.d(t,{n:()=>i,v:()=>r});var s=n(17833);const r=n.n(s)()("debug:tooltips"),i={backgroundColor:"#FFFFFF",buttonColor:null,fontColor:"#222222"}},98707:(e,t,n)=>{"use strict";n.d(t,{$F:()=>findAndValidateInputField,CZ:()=>l,EJ:()=>h,L2:()=>d,k7:()=>p,tT:()=>DelayedNodeVisibilityCheck});var s=n(7350),r=n.n(s),i=n(8375),o=n(17833),a=n.n(o),c=n(82238);function l(e){const t="tour_triggered_from_url",n=JSON.parse(c.s.get(t));if(n){const s=n.indexOf(e.toString());-1!==s&&(n.splice(s,1),c.s.set(t,JSON.stringify(n)))}}function d(e,t){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.hash===e.hash}const u=e=>e.replace(/[\u200B-\u200D\uFEFF]/g,"");class findAndValidateInputField{constructor(e,t){this.elements=void 0,this.callback=void 0,this.destroyed=void 0,this.validateInputs=()=>{let e=!0;this.elements.forEach((t=>{"checkbox"!==t.type&&"radio"!==t.type&&this.elementHasEmptyValue(t)&&(e=!1)})),this.onChange(e)},this.callback=t,this.destroyed=!1,this.elements=[];const n=window.parent.document.querySelector(e);if(n){const e=n.tagName.toLowerCase(),t="input"===e||"textarea"===e||"select"===e||n.isContentEditable;this.elements=t?[n]:Array.from(n.querySelectorAll("input, textarea, select, div[contenteditable]"))}}onChange(e){this.destroyed||this.callback(e)}destroy(){this.destroyed=!0,this.removeListeners()}elementHasEmptyValue(e){return e instanceof HTMLSelectElement?!u(e.options[e.selectedIndex].value):e.isContentEditable?!u(e.innerText||""):!u(e.value)}addListeners(){this.elements.forEach((e=>{"select"===e.tagName.toLowerCase()?e.addEventListener("change",this.validateInputs):e.addEventListener("input",this.validateInputs)}))}removeListeners(){this.elements.forEach((e=>{"select"===e.type?e.removeEventListener("change",this.validateInputs):e.removeEventListener("input",this.validateInputs)}))}run(){if(!this.elements.length)return this.callback(!0);this.validateInputs(),this.addListeners()}}const p=a()("tours:debug");class DelayedNodeVisibilityCheck{constructor(e,t,n,s){this.selector=void 0,this.timeoutValue=void 0,this.callback=void 0,this.timeout=void 0,this.waitTimeout=void 0,this.document=void 0,this.observer=void 0,this.selector=e,this.timeoutValue=t,this.document=window.parent.document,this.callback=s,this.observer=new MutationObserver(r()(this._check.bind(this),200)),this.waitTimeout=setTimeout((()=>{this._initObserver(),this._startTimer(),this._check()}),n||0)}_initObserver(){this.document.body&&this.observer.observe(this.document.body,{attributes:!0,childList:!0,subtree:!0})}_check(){const e=(0,i.fo)(this.document,this.selector);(0,i.nf)(e)?(this.callback(!0),this.cancel()):this.callback(!1)}_startTimer(){(this.timeoutValue||0===this.timeoutValue)&&(this.timeout=setTimeout((()=>{this.callback(!1),this.cancel()}),this.timeoutValue))}cancel(){this.observer.disconnect(),this.timeout&&clearTimeout(this.timeout),this.waitTimeout&&clearTimeout(this.waitTimeout)}}const h=(e,t)=>e.length<=t?e:`${e.slice(0,t)}...`},22973:(e,t,n)=>{"use strict";n.d(t,{W$:()=>a,uB:()=>i,pS:()=>o,U$:()=>c});var s=n(56213);const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=104857600,o=i/1024/1024,a=e=>{const t=(e=e||"").match(/[^\x00-\x7F]/);if(!e||s.Ay.isSafari()&&t){const t=e.split(".");e=`File${(new Date).getTime()}`,t.length>1&&(e+=`.${t[t.length-1]}`)}return e},c=(e,t,n)=>{if(!e)return;let s;if(e.split(",")[0].indexOf("base64")>=0){const t=e.split(",")[1];s=window.atob?atob(t):(e=>{if(!e||e.length%4!=0)throw new Error("Invalid string. Length must be a multiple of 4");let t=0;const n=e.length,s=e.indexOf("=")>0?e.length-e.indexOf("="):0,i=new Uint8Array(3*n/4-s),o=new Array(4);for(let n=0;n>4),o[2]<64&&(i[t++]=255&(o[1]<<4|o[2]>>2),o[3]<64&&(i[t++]=255&(o[2]<<6|o[3])));let a="";for(let e=0;e{"use strict";n.d(t,{Um:()=>o,x8:()=>i,xH:()=>a});var s=n(70745);const r=["password","passwd","secret","api_key","apikey","access_token","auth_token","credentials","mysql_pwd","stripetoken","token"],i=()=>{var e;return null==(e=(0,s.KQ)())?void 0:e.href},o=()=>{var e;return null==(e=(0,s.KQ)())?void 0:e.host},a=e=>e?(r.forEach((t=>{e=c(e,t,"***")})),e):e,c=(e,t,n)=>{const s=new RegExp("([?&])"+t+"=.*?(&|$)","i");return e.match(s)?e.replace(s,"$1"+t+"="+n+"$2"):e}},28453:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s=e=>Object.keys(e).map((t=>e[t]))},74623:(e,t,n)=>{"use strict";n.d(t,{u5:()=>i,ut:()=>o});var s=n(69607);const r="intercom-snippet__workflow-preview__instance-id";function i(e){(0,s.yJ)(r,e)}function o(){return(0,s.zj)()[r]}},79986:(e,t,n)=>{"use strict";n.d(t,{GV:()=>o,S4:()=>a,jL:()=>i});var s=n(71468),r=n(15452);const i=s.wA,o=s.d4,a=r.zD.withTypes()},5351:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(96540),r=n(40085);function i(){return(0,s.useContext)(r.T)}},49651:(e,t,n)=>{"use strict";n.d(t,{JK:()=>g,Tl:()=>v,Vf:()=>m,xS:()=>h});var s=n(69830),r=n(44644),i=n(43087),o=n(26765);const a=["ar","bg","bn","bs","ca","cs","da","de","de-form","el","en","es","et","fa-IR","fi","fr","he","hi","hr","hu","id","it","ja","ko","lt","lv","mn","ms","nb","nl","pl","pt","pt-BR","ro","ru","sl","sr","sv","sw","th","tr","uk","vi","zh-CN","zh-TW"],c=["ar","he","fa-IR"],l={en:o};let d=l,u="en";const p=(e,t)=>e&&e.replace(/{([\s\S]+?)}/g,((e,n)=>t[n])),h=async e=>{if(-1===a.indexOf(e))return(0,r.FS)(`Unsupported locale: ${e}`);if(!l[e]){const t=await(0,i.A)({promise:()=>n(25169)(`./${e}.json`).then((e=>e.default))});l[e]=t}u=e},g=()=>u,v=(e,t)=>{const n=d[u];if(!n)return(0,s.uo)(`Unknown locale '${u}'`),"";const r=n[e];if(!r){(0,s.uo)(`Unknown key '${e}' in locale '${u}'`);const n=d.en||{};return p(n[e],t)||""}try{return p(r,t)}catch(t){return(0,s.uo)(`Interpolation failed for key '${e}' in locale '${u}'`),""}},m=e=>-1!==c.indexOf(e)},45036:(e,t,n)=>{"use strict";var s=n(5259);var r=n(50084),i=n(64234),o=n(3671),a=n(61607);function c(e){const t={};let n=!1;if("1"===navigator.doNotTrack)t.marketo_tracking_cookie=null,t.hubspot_tracking_cookie=null;else{if(e.features.marketoEnrichmentInstalled){n=!0;const e=o.A.read("_mkto_trk");e&&(t.marketo_tracking_cookie=e)}if(e.features.hubspotInstalled){n=!0;const e=o.A.read("hubspotutk");e&&(t.hubspot_tracking_cookie=e)}}return{internal:t,hasScrapedCookies:n}}var l=n(24817),d=n(9770),u=n(27342),p=n(5104),h=n(99928),g=n(79986),v=n(10377),m=n(15452),f=n(80607);const y=(0,m.Z0)({name:"launcherSettings",initialState:{isLoading:!0},reducers:{requestLauncherSettings:e=>Object.assign({},e,{isLoading:!0}),receiveLauncherSettings:(e,t)=>Object.assign({},t.payload,{isLoading:!1})},extraReducers:e=>{e.addCase(f.Rwq,((e,t)=>Object.assign({},t.user.launcherSettings,{isLoading:!1}))),e.addCase(f.r2x,((e,t)=>t.state.launcherSettings))}}),{receiveLauncherSettings:_,requestLauncherSettings:w}=y.actions,b=y.reducer;var C=n(64015),S=n(48012),I=n(92078),A=n(17833),E=n.n(A);const O=E()("intercom.actions.launcher-settings"),k=(0,g.S4)("launcher-settings/fetch",(async(e,t)=>{const n=t.dispatch;if(T((0,I.xH)((0,I.x8)())))return void O("Duplicate launcher settings request, skipping.");n(w());const s=await v.Ay.postForLauncherSettings({session:e});return n(_(s)),n((0,C.m)(s)),s})),T=(0,S.P)((e=>e),3e5,1),x={fetch:k,resetDedup:T.reset};var M=n(86703),R=n(94870),j=n(2404),P=n.n(j),z=n(58822),L=n(6434);var N=n(90933),U=n(48179),B=n(69830),D=n(56213);function H(e){return e.reduce(((e,t)=>((0,N.Q4)(t)||(e[(0,N.cA)(t)]=!0),e)),{})}function $(e,t){const n=(0,L.A)(t).length>0&&function(e,t){const{forceSnippet:n}=t.notificationTypeOverrides;return e.filter((e=>{if((0,N.Q4)(e))return!1;const t=`${e.id}-${(0,U.A)(e.parts).id}`;return void 0===n[t]}))}(e,t).length>0;if((0,D.rr)()&&function(e){return void 0!==e.find((e=>(0,N.Qz)(e)))}(e))return!0;const s=new Date;s.setDate(s.getDate()-2);return!((t.user?new Date(t.user.lastContactedAt):new Date)1||n)}const V=function(e){return()=>{const t=e.getState(),n=H((0,L.A)(t).slice(0,-3)),s=(0,z.A)(t),r=H($(s,t)?s:[]);var i,o;(Object.keys(n).length>0||Object.keys(r).length>0)&&function(e,t,n){const s=(e=>e.notificationTypeOverrides.suppress)(e),r=(e=>e.notificationTypeOverrides.forceSnippet)(e);return!P()(s,t)||!P()(r,n)}(t,n,r)&&e.dispatch((i=n,o=r,{type:f.nP,suppress:i,forceSnippet:o})),function(e,t,n){if(Object.keys(e).length<=1)return;const s=t.filter((e=>!e.dismissed));if(1!==s.length||"full"!==s[0].parts[0].notificationType)return;(0,B.sq)("fullMessageSuppressed",{messageType:s[0].parts[0].messageType,dismissedCount:t.length-s.length,isLauncherEnabled:n.isLauncherEnabled})}(r,s,t.launcher)}};var F=n(14644),q=n(67410),W=n(38330),G=n(82238);const J="intercom-expanded-mode",{assign:K}=Object;function X(){const e=G.L.get(J);return!e||!!JSON.parse(e)}const{assign:Q}=Object,Z={isLauncherEnabled:!1,launcherEnabledOverride:"not-present"};var Y=n(26763);const{assign:ee}=Object,te={isPresent:!1,lastRequestAt:0};const ne=function(e=te,t){var n;if((0,Y.X)(t)){var s,r,i;const n=ee({},e.testAssignments,null==t||null==(s=t.payload)?void 0:s.testAssignments);return ee({},e,{testAssignments:n,resolutionBotBehaviorVersionId:null==t||null==(r=t.payload)?void 0:r.resolutionBotBehaviorVersionId,userHasEmail:null==t||null==(i=t.payload)?void 0:i.userHasEmail})}switch(t.type){case f.P2I:{const{url:n,customAttributes:s,anonymousSessionDuration:r,activeCompanyId:i}=t;return ee({},e,{url:n,customAttributes:s,anonymousSessionDuration:r,activeCompanyId:i,lastRequestAt:Date.now()})}case f.Rwq:{var o;const{id:n,locale:s,countryCode:r,role:i,name:a,userSuppliedEmail:c,unreadConversationIds:l,unreadDismissedConversationIds:d,notificationLinkConversationId:u,phoneNumber:p,articleConversationId:h,cdasBreachingLimit:g,lastContactedAt:v,requiresCookieConsent:m,resolutionBotBehaviorVersionId:f,searchRequiredBeforeConversation:y,preventMultipleInboundConversation:_,testAssignments:w,newsfeedId:b,unreadNewsItemsCount:C,unreadTicketsCount:S,lastUnreadNewsItemId:I,newsfeedLastVisit:A}=t.user,E=(null==t||null==(o=t.user)?void 0:o.hasConversations)||((null==l?void 0:l.length)||0)>0||((null==d?void 0:d.length)||0)>0,O=ee({},e.testAssignments,w);return ee({},e,{id:n,locale:s,countryCode:r,role:i,name:a,userSuppliedEmail:c,hasConversations:E,phoneNumber:p,articleConversationId:h,notificationLinkConversationId:u,cdasBreachingLimit:g,lastContactedAt:v,requiresCookieConsent:m,resolutionBotBehaviorVersionId:f,searchRequiredBeforeConversation:y,preventMultipleInboundConversation:_,testAssignments:O,newsfeedId:b,unreadNewsItemsCount:C,unreadTicketsCount:S,lastUnreadNewsItemId:I,newsfeedLastVisit:A})}case f.XWo:case f.IDP:case f.fEC:return ee({},e,{hasConversations:!0});case f.mGX:{const{conversations:n}=t.conversations||{},s=void 0!==n&&n.length>0;return ee({},e,{hasConversations:s})}case f._bS:{const{userSuppliedEmail:n}=t;return ee({},e,{userSuppliedEmail:n})}case f.fn8:{const{phoneNumber:n}=t;return ee({},e,{phoneNumber:n})}case f.niX:return ee({},e,{isPresent:!0});case f.NUz:return ee({},e,{isPresent:!1});case f.r2x:return ee({},e,null==t||null==(n=t.state)?void 0:n.user);case f.UOA:return ee({},e,{newsfeedLastVisit:t.newsfeedLastVisit,unreadNewsItemsCount:0});case f.n2_:{const{unreadTicketsCount:t}=e;return ee({},e,{unreadTicketsCount:t?t-1:t})}case f.clu:{const{unreadTicketsCount:t}=e;return ee({},e,{unreadTicketsCount:t?t+1:t})}default:return e}},{assign:se}=Object;const re={id:null,parts:[],operator:null};const ie={};const oe={};const ae={};const ce={activeArticleId:null,isLoaded:!1,viewStack:[],transitioningBack:!1,inSearchBrowse:!1,hash:"",articleLocale:null,isStandalone:!1,fromHomeScreenSuggestions:!1};var le=n(6924),de=n.n(le);function ue(e){if(0===e.children.length)return[];let t=[];return e.children.forEach((e=>{t=t.concat(e.articles.concat(ue(e)))})),t.flat()}const pe=e=>e.map((e=>e.articles.concat(ue(e)))).flat().reduce(((e,t)=>(e[t.id]=t,e)),{}),he={};const ge=[];var ve=n(69843),me=n.n(ve),fe=n(68090),ye=n.n(fe),_e=n(58156),we=n.n(_e),be=n(65358);function Ce(e=undefined,t){switch(t.type){case f.onX:case f.DzL:case f.fEC:return Object.assign({},e,{attributes:e.attributes.map((t=>{let n=me()(t.value)||""===t.value?"unsaved":"saved";return"bot_workflow"===e.type&&"saved"===n&&(n=e.attribute_collector_locked||t.attribute_collection_disabled||!t.attribute_collection_overwritable?"saved":"unsaved"),Object.assign({},t,{saveState:n})}))});case f.PWC:{const{identifier:n,value:s}=t;return Object.assign({},e,{attributes:e.attributes.map((e=>e.identifier===n?Object.assign({},e,{value:s,saveState:"saving"}):e))})}case f.ZS9:return Object.assign({},e,{attributes:e.attributes.map((e=>e.identifier===t.identifier?Object.assign({},e,{saveState:"saved"}):e))});case f.cx4:{const n=(0,be.s3)(t.error),s=n?(0,be.eR)(n):void 0;return Object.assign({},e,{attributes:e.attributes.map((e=>e.identifier===t.identifier?Object.assign({},e,{saveState:"failed",errorCode:s}):e))})}default:return e}}const Se=["createdAt","body","clientId","file","isMessage","selectedReplyOption","composerSuggestionItem","author","partType"];const{assign:Ie}=Object;function Ae(e){let{createdAt:t,body:n,clientId:s,file:r,isMessage:i,selectedReplyOption:o,composerSuggestionItem:a,author:c,partType:l=(i?"message":"comment")}=e,d=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(e,Se);return Object.assign({body:n,createdAt:t,clientId:s,isMessage:i,file:r,selectedReplyOption:o,composerSuggestionItem:a,partType:l,eventData:{},saveState:"saving",seenState:"not-seen-yet",replyOptions:[],author:c||{isAdmin:!1,isSelf:!0}},d)}function Ee(e=[],t){switch(t.type){case f.XWo:{const{body:n,createdAt:s,file:r,composerSuggestionItem:i,clientId:o,uxStyle:a}=t.part;return t.isRetry?e.map((e=>Ie({},e,{saveState:"saving"}))):e.concat(Ae({createdAt:s,body:n,file:r,isMessage:!0,composerSuggestionItem:i,clientId:o,uxStyle:a}))}case f.Itl:return e.map((e=>"bot_intro"===e.partType?e:Ie({},e,{saveState:"failed",saveFailureReason:t.reason})));case f.PzS:{const{body:n,createdAt:s,clientId:r,file:i,selectedReplyOption:o,uxStyle:a}=t.part;return t.isRetry?e.map((e=>r===e.clientId?Ie({},e,{saveState:"saving"}):e)):e.concat(Ae({createdAt:s,body:n,clientId:r,file:i,isMessage:!1,selectedReplyOption:o,uxStyle:a}))}case f.HMu:return e.map((e=>t.part.clientId===e.clientId?Ie({},e,t.part,{saveState:"saved"}):e));case f.U2d:return e.map((e=>t.part.clientId===e.clientId?Ie({},e,{saveState:"failed",saveFailureReason:t.reason}):e));case f.onX:case f.fEC:case f.DzL:return t.conversation.parts.map((e=>e.form?Ie({},e,{form:Ce(e.form,t),saveState:e.saveState||"saved"}):Ie({},e,{saveState:e.saveState||"saved"})));case f.alM:{const{part:n}=t,s=e.find((e=>e.clientId===n.clientId));let r;return r=s?e.map((e=>e.clientId===n.clientId&&n.tokenSequenceIndex>e.tokenSequenceIndex?n:e)):[...e,n],r=r.filter((e=>!(e&&e.clientId&&!e.id&&"fin_answer"===e.partType&&e.clientId!==n.clientId))),r}case f.IDz:case f.T4k:return e.map((e=>e.reactionsReply?Ie({},e,{reactionsReply:{reactionIndex:t.reactionIndex,reactionSet:e.reactionsReply.reactionSet}}):e));case f.aQ5:return e.map((e=>"conversationRating"===e.messageType&&e.conversationRating.uuid===t.ratingUuid?Ie({},e,{conversationRating:Ie({},e.conversationRating,{chosenRating:t.ratingIndex})}):e));case f.ze_:return e.map((e=>"conversationRating"===e.messageType&&e.conversationRating.uuid===t.ratingUuid?Ie({},e,{conversationRating:Ie({},e.conversationRating,{remark:t.remark,submitted:!0})}):e));case f.ufU:return e.map((e=>t.part.clientId===e.clientId?Ie({},e,{body:[Ie({},e.body[0],{progress:t.progress})]}):e));case f.o_E:case f.T$5:return e.map((e=>"not-seen-yet"===e.seenState?Ie({},e,{seenState:"seen"}):e));case f.PWC:case f.ZS9:case f.cx4:return e.map((e=>e.id===t.partId?Ie({},e,{form:Ce(e.form,t)}):e));default:return e}}var Oe=n(38611),ke=n(13194);const Te=["ticket"];const{assign:xe}=Object,Me={fetchState:"partial",isFetching:!1,isUpdating:!1,read:!0,dismissed:!1,preventEndUserReplies:!1,parts:[],participants:[],isEmailAttributeCollectorInserted:!1,composerSuggestions:Oe.n6};function Re(e,t){return void 0!==e?e:t}function je(e=Me,t){switch(t.type){case f.LLJ:{const{conversationId:n,isUpdating:s}=t;return(0,ke.ZQ)({category:"get-conversation",message:"Executing GET_CONVERSATION_REQUEST",data:{conversationId:n},level:"info"}),xe({},e,{id:Re(e.id,n),fetchState:Re(e.fetchState,"partial"),isFetching:!0,isUpdating:s,read:Re(e.read,!0),dismissed:Re(e.dismissed,!1),preventEndUserReplies:Re(e.preventEndUserReplies,!1),parts:Re(e.parts,[])})}case f.onX:case f.fEC:{const n=t.conversation,s=n.parts.some((e=>{var t;return!(null!=(t=e.author)&&t.isAdmin)}));(0,ke.ZQ)({category:"get-conversation",message:"Executing GET_CONVERSATION_SUCCESS",data:{conversationId:n.id,userParticipated:s},level:"info"}),n.parts=(0,N.kg)(n,e),n.composerState=(0,N.XU)(n,e);const{ticket:r}=n,i=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(n,Te),o=Ee(e.parts,t),a=o.map((e=>e.id));(0,ke.ZQ)({category:"get-conversation",message:"Returning data from GET_CONVERSATION_SUCCESS",data:{conversationId:n.id,partIds:a},level:"info"});const c=Object.assign({},e,i,{fetchState:"all",isFetching:!1,isUpdating:!1,userParticipated:s,parts:o});return r&&(c.ticketId=r.id),c}case f.cx4:case f.ZS9:case f.DzL:{const n="conversation"in t?t.conversation:void 0;return n&&(n.parts=(0,N.kg)(n,e),n.composerState=(0,N.XU)(n,e)),xe({},e,n,{fetchState:"all",isFetching:!1,isUpdating:!1,userParticipated:!0,parts:Ee(e.parts,t)})}case f.yM5:case f.TmQ:return xe({},e,{read:!0});case f.u0c:return xe({},e,{read:!0,readAt:t.readAt});case f.sUS:return xe({},e,{dismissed:!0});case f.HMu:case f.PzS:{const{createdAt:n}=t.part;return xe({},e,{userParticipated:!0,lastPartCreatedAt:n,parts:Ee(e.parts,t),excludeFromConversationsList:!e.ticketId&&e.excludeFromConversationsList,eligibleForRecentConversations:!(!e.ticketId||!e.excludeFromConversationsList)||e.eligibleForRecentConversations})}case f.alM:return xe({},e,{parts:Ee(e.parts,t),footerNotice:void 0});case f.PWC:case f.T4k:case f.ufU:case f.aQ5:case f.ze_:case f.o_E:return xe({},e,{parts:Ee(e.parts,t)});case f.U2d:return(0,N.Xc)(t.reason)?xe({},e,{parts:Ee(e.parts,t),preventEndUserReplies:!0,state:"state_closed"}):xe({},e,{parts:Ee(e.parts,t)});case f.T$5:{const n=t.hasAI?void 0:e.footerNotice;return xe({},e,{parts:Ee(e.parts,t),footerNotice:n})}case f.fjm:return xe({},e,{isEmailAttributeCollectorInserted:!0});case f.IKJ:case f.A99:case f.iDd:case f.r_1:return null==t.conversationId?e:Object.assign({},e,{composerSuggestions:(0,Oe.Ay)(e.composerSuggestions,t)});default:return e}}var Pe=n(75731);const ze=["ticket"];const{assign:Le}=Object,Ne={isFetching:!1,pagesFetched:0,scrollPosition:0,byId:{},parts:[]};function Ue(e={},t,n,s){const{fetchState:r}=e;return Le({},e,{id:t,fetchState:r||"partial",dismissed:n,read:s})}function Be(e={},t){switch(t.type){case f.Rwq:case f._bS:{const{unreadConversationIds:n,unreadDismissedConversationIds:s}=t.user||{};if(me()(n)&&me()(s))return e;const r={};return s&&s.forEach((t=>r[t]=Ue(e[t],t,!0,!1))),n&&n.forEach((t=>r[t]=Ue(e[t],t,!1,!1))),Le({},e,r)}case f.awp:{const{unreadConversationIds:n,unreadDismissedConversationIds:s}=t.unreadConversations||{},r={};return null==s||s.forEach((t=>r[t]=Ue(e[t],t,!0,!1))),null==n||n.forEach((t=>r[t]=Ue(e[t],t,!1,!1))),Le({},e,r)}case f.mGX:case f._U8:{var n;const s=((null==t||null==(n=t.conversations)?void 0:n.conversations)||t.conversations).reduce(((n,s)=>{const{id:r,updatedAt:i,lastPartCreatedAt:o}=s;return e[r]&&"all"===e[r].fetchState&&!function(e,t,n){var s,r;const i=we()(t,[e,"parts"]).filter((e=>!(0,Pe.k4)(e))),o=we()(n,"parts");return(null==(s=ye()(i))?void 0:s.id)!==(null==(r=ye()(o))?void 0:r.id)}(r,e,s)||e[r]&&t.type===f._U8&&i<=e[r].updatedAt||e[r]&&t.type===f.mGX&&o<=e[r].lastPartCreatedAt||(n[r]=function(e={}){const{ticket:t}=e,n=function(e,t){if(null==e)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;n[s]=e[s]}return n}(e,ze),s=Object.assign({},n,{fetchState:"summary",isFetching:!1,isUpdating:!1,parts:e.parts.map((e=>Object.assign({},e,{saveState:"saved"})))});return t&&(s.ticketId=t.id),s}(s)),n}),{});return Object.assign({},e,s)}case f.ZS9:case f.DzL:case f.fEC:case f.onX:{const{id:n}=t.conversation||{},s={[n]:je(e[n],t)};return Le({},e,s)}case f.alM:case f.PWC:case f.T4k:case f.HTE:case f.LLJ:case f.PzS:case f.HMu:case f.U2d:case f.yM5:case f.TmQ:case f.u0c:case f.aQ5:case f.cx4:case f.ze_:case f.iDd:case f.A99:case f.r_1:{const n=t.conversationId;if(null==n)return e;const s={[n]:je(e[n],t)};return Le({},e,s)}case f.T$5:case f.o_E:{const n=t.conversationId;if(void 0===e[n])return e;const s={[n]:je(e[n],t)};return Le({},e,s)}case f.ufU:{const n=t.conversationId;if(void 0===n)return e;const s={[n]:je(e[n],t)};return Le({},e,s)}case f.sUS:{var s;const n=null==t||null==(s=t.conversationIds)?void 0:s.reduce(((n,s)=>(n[s]=je(e[s],t),n)),{});return Le({},e,n)}case f.fjm:{const n=t.conversationId;if(void 0===e[n])return e;const s={[n]:je(e[n],t)};return Le({},e,s)}default:return e}}const{assign:De}=Object,He={isFetching:!1,isUpdating:!1,fetchState:"all",read:!0,intercomLinkSolution:"live-chat",parts:[],introParts:[],participants:[],composerState:{visible:!0,workflowActive:void 0},composerSuggestions:Oe.n6,botIntroId:null,articleUrl:null,fromArticleId:null,fromStandaloneArticle:!1,previewWorkflowInstanceId:void 0,previewResolutionBotBehaviorVersionId:void 0,currentChannel:"messenger",lastPartCreatedAt:void 0};const $e={};const Ve={suppress:{},forceSnippet:{}};const{assign:Fe}=Object,qe={isSaving:!1,showErrorMessage:!1,errorMessage:null};const{assign:We}=Object,Ge={isInstallModeOpen:!1,installModeConfig:{activeSubscription:!1,userHashVerified:!1,secureInstallV2:!1,messengerEnabledForVisitors:!0,messengerEnabledForUsers:!0}};var Je=n(6534),Ke=n(62193),Xe=n.n(Ke);const{assign:Qe}=Object,Ze={isLauncherDiscoveryModeEnabled:!1,isLauncherDiscoveryModeOpening:!1,isLauncherDiscoveryModeClosing:!1,hasDiscoveredLauncher:!1};function Ye(e){const{app:{features:t,inboundConversationsDisabled:n,officeHoursResponse:s},clientsideRulesetConditions:r,role:i}=e;return!!t.launcherDiscoveryMode&&(!n&&(!!Xe()(r)&&(!!me()(s)&&"visitor"===i)))}var et=n(88055),tt=n.n(et),nt=n(8483),st=n.n(nt),rt=n(63560),it=n.n(rt),ot=n(51835);const at={},ct={isOpen:!1,isSheetsDataLoading:!1,isSheetsDataLoaded:!1,isProxyLoaded:!1,isNavigating:!1,sourceCard:null,data:null,url:null,sheetTitle:""},lt={composerHasContent:!1,lastComposerEvent:0,lastArticleClosedAt:null,conversationIdOfLastViewedArticle:null,clientsideRulesetConditions:null,lastTriggerTransitionTimestamp:null,userCreatedConversationAt:null},dt={isShown:!1,alertType:void 0,alertPayload:void 0};const ut={};const pt={tabNavigation:!1,accessibilityTheme:"default",secondaryAccessibilityTheme:"light"};const ht={isFetching:!1,isFetched:!1,isPreviewing:!1,fetchingFailed:!1,activeTour:void 0,updateFailed:!1,videoAudioMuted:!0,userHasInteractedWithVideo:!1,endTourAnimation:"",isAwaitingProgress:!1},gt={triggers:{},active:null,failed:!1};var vt=n(50014),mt=n.n(vt),ft=n(87612),yt=n.n(ft);const _t={allSuggestions:[],isDismissed:!1,serverSideSuggestions:null,previewSuggestions:null};const wt=[];const bt={content:null},Ct={composerSuggestions:null},St={isActive:!1},It="MESSENGER_LAST_OPEN_HEARTBEAT",At="OPEN_CHECKLIST_ON_BOOT",Et="OPEN_CONVERSATION_ON_BOOT",Ot="OPEN_NEW_CONVERSATION_ON_BOOT",kt=E()("openOnBoot_url_change:debug"),Tt={type:null,metadata:{},lastOpenAtTimestamp:0};const xt={isOpen:!1,isFetching:!0,fetchedCollections:!1,fetchingFailed:!1,phrase:"",searchResults:[],showSearchResults:!1,hasSearchResults:!1,routedToNewConversation:!1,immediateSearch:!1,hideResultsWithDelay:!1,closeTransitionEnded:!0,searchedPhrase:"",hasViewedAnArticle:!1,skipOpenAnimation:!1,isViewingArticle:!1,isSearchFocused:!1,isFetchingSearchResults:!1};var Mt=n(49017);const Rt=[];const jt=[];var Pt=n(85937),zt=n(56129);const Lt={};var Nt=n(26265);const{assign:Ut}=Object;const Bt={activeNewsItem:null,detailsFetchingStatus:Nt.n5.notStarted};var Dt=n(68153),Ht=n(64566);const $t={isBooted:!1,isTooltipPreview:!1};const Vt=[];const Ft={currentlyResolvingTaskId:null,openChecklistProgressId:null};var qt=n(73730),Wt=n(71784);const Gt={connectionState:Wt.FL,lastMessageType:"NONE",lastMessageReceivedAt:0,lastNewCommentReceivedAt:0},Jt=(0,m.Z0)({name:"realtimeConnection",initialState:Gt,reducers:{setRealtimeConnectionStatus(e,t){e.connectionState=t.payload},messageReceived(e,t){const n=t.payload,s=Date.now();e.lastMessageReceivedAt=s,e.lastMessageType=n,"NewComment"===n&&(e.lastNewCommentReceivedAt=s)}}}),{setRealtimeConnectionStatus:Kt,messageReceived:Xt}=Jt.actions,Qt=Jt.reducer;function Zt(e={},t){if(t.type===f.T$5){if(t.acknowledgementText)return Object.assign({},e,{acknowledgementText:t.acknowledgementText,clientId:t.clientId||e.clientId,finAcknowledgmentABTest:t.finAcknowledgmentABTest});const{lastActiveAt:n,firstName:s,avatarUrl:r,adminId:i,isBot:o,hasAI:a,showAvatar:c,loadingStatus:l,clientId:d,finAcknowledgmentABTest:u}=t;return{id:i,lastActiveAt:n,firstName:s,avatar:{square128:r,shape:o?"squircle":null},isBot:o,hasAI:a,showAvatar:c,loadingStatus:l,clientId:d||e.clientId,acknowledgementText:e.acknowledgementText,finAcknowledgmentABTest:u}}return e}const Yt={},en=(e=Yt,t)=>{switch(t.type){case f.T$5:{const n=t.conversationId;return Object.assign({},e,{[n]:Zt(e[n],t)})}case f.alM:{const n=t.conversationId,s=e[n];return s?Object.assign({},e,{[n]:Object.assign({},s,{acknowledgementText:void 0})}):e}case f.fEC:{var n;const s=t.conversation.id,r=t.conversation.parts[t.conversation.parts.length-1].clientId,i=null==(n=e[s])?void 0:n.clientId,o=e[s];return o&&(i&&r)?i===r?e:Object.assign({},e,{[s]:Object.assign({},o,{acknowledgementText:void 0})}):e}default:return e}},tn=(0,F.HY)({app:q.Ay,expectationSetting:W.Ay,chrome:function(e=function(){return{shouldExpand:X(),expansionTransitionComplete:!1,wasExplicitlyChanged:!1}}(),t){switch(t.type){case f.v$l:return G.L.set(J,JSON.stringify(t.shouldExpand)),K({},e,{shouldExpand:t.shouldExpand,wasExplicitlyChanged:!0});case f.UC9:return Object.assign({},e,{expansionTransitionComplete:!0});default:return e}},launcher:function(e=Z,t){switch(t.type){case f.kff:{const n=t.launcherEnabledOverride&&"not-present"!==t.launcherEnabledOverride?t.launcherEnabledOverride:e.launcherEnabledOverride;return Q({},e,{launcherEnabledOverride:n})}case f.Rwq:{const{showLauncher:n}=t.user.launcherSettings;return Q({},e,{isLauncherEnabled:n})}case f.oJu:return t.isIdentityVerificationError?Q({},e,{isLauncherEnabled:!1}):e;case _.type:{const{showLauncher:n}=t.payload;return Q({},e,{isLauncherEnabled:n})}case f.r2x:return Q({},e,t.state.launcher);default:return e}},botIntro:function(e=re,t){if(t.type===f.lTl){const n=t.botIntro;return n?Object.assign({},e,{id:n.id,parts:n.parts,operator:n.operator}):Object.assign({},e,re)}return e},user:ne,session:function(e=null,t){switch(t.type){case f.P2I:{const{appId:n,userId:s,email:r,userHash:i,intercomUserJwt:o,anonymousId:a,anonymousSession:c,sessionId:l}=t.session;return se({},e,{appId:n,userId:s,email:r,userHash:i,intercomUserJwt:o,anonymousId:a,anonymousSession:c,sessionId:l})}case f.Rwq:{const{anonymousId:n,anonymousSession:s,activeCompanyId:r,newSession:i,sessionExpiry:o}=t.user;return se({},e,{anonymousId:n||(null==e?void 0:e.anonymousId),anonymousSession:s||(null==e?void 0:e.anonymousSession),activeCompanyId:r,newSession:i,sessionExpiry:o})}case f.qjS:return null;case f.oK3:return se({},e,{anonymousSession:t.anonymousSession});case f._bS:return se({},e,{didUserSupplyEmail:!0});case f.J_7:return se({},e,{helpCenterSession:t.helpCenterSession});case f.oP9:return se({},e,{anonymousSession:t.anonymousSession,sessionExpiry:t.sessionExpiry});default:return e}},openOnBoot:function(e=Tt,t){var n;if(r.Uc.match(t)){var s,i;const n=Object.assign({},e),r=t.payload.location.pathname,o=null==(s=/^\/tasks\/checklists\/(\d+)/.exec(r))?void 0:s[1];o?(kt(`push checklist progress ${o} to openOnBoot`),n.type=At,n.metadata={checklistProgressId:o}):(null==e?void 0:e.type)===At&&(kt(`clear checklist progress from openOnBoot with incoming path ${r}`),n.type=null,n.metadata={});const a=null==(i=/^\/messages\/conversation\/(\d+|new)/.exec(r))?void 0:i[1];return"new"===a?(kt("push new conversation to openOnBoot"),n.type=Ot,n.metadata={}):a?(kt(`push conversation ${a} to openOnBoot`),n.type=Et,n.metadata={conversationId:a}):(null==e?void 0:e.type)!==Et&&(null==e?void 0:e.type)!==Ot||(kt(`clear conversation from openOnBoot with incoming path ${r}`),n.type=null,n.metadata={}),n.lastOpenAtTimestamp=Date.now(),n}switch(t.type){case f.nQ0:return e.metadata.isViewingArticle?Object.assign({},e,{lastOpenAtTimestamp:Date.now()}):(kt(`clear openOnBoot state with action ${t.type}`),Tt);case It:return Object.assign({},e,{lastOpenAtTimestamp:Date.now()});case f.u_9:case f.hgq:case f.GvZ:case f.qjS:return kt(`clear openOnBoot state with action ${t.type}`),Tt;case f.pSK:if("article-link"===t.componentId){const n=Object.assign({},e);return{type:"article",metadata:{url:t.url,cardUri:t.cardUri,componentId:t.componentId,previousState:n},lastOpenAtTimestamp:Date.now()}}return e;case f.lpe:return null!=(n=e.metadata)&&n.previousState?Object.assign({},e.metadata.previousState):Tt;case f.ScQ:{const{articleIds:n}=e.metadata;return t.fromBrowseMode?{type:"search_browse_article",metadata:{articleIds:n?[...n,t.articleId].filter(Boolean):[t.articleId].filter(Boolean)},lastOpenAtTimestamp:Date.now()}:Object.assign({},e,{metadata:Object.assign({},e.metadata,{articleIds:n?[...n,t.articleId].filter(Boolean):[t.articleId].filter(Boolean),openArticleStandalone:!0}),lastOpenAtTimestamp:Date.now()})}case f.OZy:var o,a;return"search_browse_article"===e.type&&null!=(o=e.metadata)&&o.articleIds&&(null==(a=e.metadata)||null==(a=a.articleIds)?void 0:a.length)>1?{type:"search_browse_article",metadata:{articleIds:e.metadata.articleIds.slice(0,e.metadata.articleIds.length-1)},lastOpenAtTimestamp:Date.now()}:Tt;case f.r2x:return Object.assign({},e,t.state.openOnBoot);default:return e}},operator:(e=lt,t)=>{switch(t.type){case f.vxn:case f.EmX:return Object.assign({},e,{lastArticleClosedAt:null,conversationIdOfLastViewedArticle:null});case f.IKJ:return Object.assign({},e,{lastComposerEvent:t.lastActiveAt.getTime(),composerHasContent:""!==t.composerContent});case f.XWo:return Object.assign({},e,{userCreatedConversationAt:t.timestamp});case f.ScQ:return Object.assign({},e,{lastArticleClosedAt:null,conversationIdOfLastViewedArticle:t.conversationId});case f.OZy:return Object.assign({},e,{lastArticleClosedAt:t.closedAt});case f.Rwq:case f._bS:return Object.assign({},e,{clientsideRulesetConditions:t.user.clientsideRulesetConditions});case f.e9H:return Object.assign({},e,{lastTriggerTransitionTimestamp:t.payload.timestamp});case f.r2x:return Object.assign({},e,t.state.operator);default:return e}},message:function(e=ie,t){switch(t.type){case f.vzP:{const{conversationId:e,partId:n}=t;return{conversationId:e,partId:n}}case f.lL:return ie;default:return e}},pointerMessage:function(e=oe,t){switch(t.type){case f.F36:{const{conversationId:e,partId:n}=t;return{conversationId:e,partId:n}}case f.Pz9:return oe;default:return e}},dismissedPointers:function(e=ae,t){return t.type===f.Prq?Object.assign({},e,{[t.conversationId]:!0}):e},article:function(e=ce,t){switch(t.type){case f.ScQ:return parseInt(e.activeArticleId||"")===parseInt(t.articleId||"")?e:Object.assign({},e,{activeArticleId:t.articleId,inSearchBrowse:t.fromBrowseMode,fromHomeScreenSuggestions:t.fromHomeScreenSuggestions,viewStack:[...e.viewStack||[],t.articleId],isLoaded:!1,hash:t.hash});case f.HOi:var n,s;return(null==e||null==(n=e.articleLocale)?void 0:n.url)===(null==t||null==(s=t.articleLocale)?void 0:s.url)?e:Object.assign({},e,{activeArticleId:t.articleId,isLoaded:!1,articleLocale:t.articleLocale});case f.OZy:{const{viewStack:t=[]}=e;return t.pop(),t.length>0?Object.assign({},e,{activeArticleId:t[t.length-1],isLoaded:!1,transitioningBack:!1}):ce}case f.ktm:case f.miO:return ce;case f.BHe:return Object.assign({},e,{isLoaded:!0});case f.exZ:return Object.assign({},e,{transitioningBack:!0});case f.QyU:return Object.assign({},e,{viewStack:[]});case f.XDr:return Object.assign({},e,{isStandalone:!0,isLoaded:!1});case f.vxn:return ce;default:return e}},articles:function(e=he,t){switch(t.type){case f.$aP:return Object.assign({},e,{[t.article.id]:t.article});case f._aJ:{const{articleId:n,reactionIndex:s}=t;if(!Object.hasOwn(e,n))return e;const r=e[n];return Object.assign({},e,{[n]:Object.assign({},r,{reactionsReply:Object.assign({},r.reactionsReply,{reactionIndex:s})})})}case f.gLH:{const{articleId:n,relatedConversationId:s}=t;if(!Object.hasOwn(e,n))return e;const r=e[n];return Object.assign({},e,{[n]:Object.assign({},r,{relatedConversationId:s})})}case f.B2F:{const{articleCollections:n}=t,s=pe(n);return de()({},e,s)}}return e},articleCollections:function(e=ge,t){if(t.type===f.B2F)if(t.articleCollections.length>0)return t.articleCollections;return e},conversations:function(e=Ne,t){switch(t.type){case f.Rwq:case f._bS:case f.awp:return Le({},e,{byId:Be(e.byId,t)});case f.ONK:return Le({},e,{isFetching:!0});case f.mGX:{var n;const{page:s,totalPages:r}=(null==t||null==(n=t.conversations)?void 0:n.pages)||{};return Le({},e,{isFetching:!1,pagesFetched:s,totalPages:r,byId:Be(e.byId,t)})}case f.x06:return Le({},e,{isFetching:!1});case f.alM:case f.PWC:case f.T4k:case f.IDz:case f.LLJ:case f.fEC:case f.PzS:case f.HMu:case f.U2d:case f.yM5:case f.TmQ:case f.u0c:case f.sUS:case f.DzL:case f.T$5:case f.ufU:case f.aQ5:case f.ze_:case f.ZS9:case f.o_E:case f.cx4:case f.onX:case f._U8:case f.iDd:case f.IKJ:case f.A99:case f.r_1:return Le({},e,{byId:Be(e.byId,t)});case f.yqk:return Le({},e,{scrollPosition:t.scrollPosition});case f.fjm:return Le({},e,{byId:Be(e.byId,t)});default:return e}},newConversation:function(e=He,t){switch(t.type){case f.vxn:return De({},e,{defaultMessage:t.defaultMessage,articleUrl:t.articleUrl||null,fromArticleId:t.fromArticleId,fromStandaloneArticle:t.fromStandaloneArticle,parts:t.parts&&t.parts.length>0?t.parts:e.parts,botIntroId:t.articleUrl?null:e.botIntroId});case f.u_9:return De({},e,{articleUrl:null});case f.XWo:case f.Itl:{let n=t.welcomeParts||[];n.length>0&&(n=n.map((e=>{var n;return Object.assign({},e,{createdAt:(null==t||null==(n=t.part)?void 0:n.createdAt)||new Date})})));const s=n.length>0?n:e.parts;return De({},e,{userParticipated:t.type!==f.Itl,parts:Ee(s,t)})}case f.zl6:return De({},e,{composerState:Object.assign({placeholder:e.composerState.placeholder},t.composerState)});case f.K20:{const n=null!=t&&t.parts?t.parts.map(((n,s)=>{var r;return Object.assign({},n,{partType:"bot_intro",createdAt:(null==n?void 0:n.createdAt)||t.createdAt},t.persistClientIdForConversationParts&&null!=(r=e.parts)&&null!=(r=r[s])&&r.clientId?{clientId:e.parts[s].clientId}:{})})):[];return Object.assign({},e,{introParts:n,parts:n,botIntroId:t.fromClientMatch?null:e.botIntroId})}case f.DzL:return De({},He,{composerState:e.composerState,previewWorkflowInstanceId:e.previewWorkflowInstanceId,previewResolutionBotBehaviorVersionId:e.previewResolutionBotBehaviorVersionId,introParts:e.introParts||[],parts:e.parts||[],teamIntro:e.teamIntro||"",specialNotice:e.specialNotice||""});case f.J$S:return De({},He,{composerState:e.composerState,previewWorkflowInstanceId:e.previewWorkflowInstanceId,previewResolutionBotBehaviorVersionId:e.previewResolutionBotBehaviorVersionId,introParts:e.introParts||[],parts:e.introParts||[],teamIntro:e.teamIntro||"",specialNotice:e.specialNotice||""});case f.ufU:{const{conversationId:n}=t;return void 0!==n?e:De({},e,{parts:Ee(e.parts,t)})}case f.IKJ:case f.A99:case f.iDd:case f.r_1:return Object.assign({},e,{composerSuggestions:(0,Oe.Ay)(e.composerSuggestions,t)});case f.lWO:{var n,s,r,i;const c=null==(n=e.parts)?void 0:n.some((e=>"bot_intro"===e.partType));var o;if(c)return Object.assign({},e,{botIntroId:(null==t||null==(o=t.botIntro)?void 0:o.id)||null});const l=null==(s=e.introParts)?void 0:s.some((e=>"bot_intro"===e.partType));var a;return l?Object.assign({},e,{parts:e.introParts,botIntroId:(null==t||null==(a=t.botIntro)?void 0:a.id)||null}):Object.assign({},e,{parts:null!=t&&t.botIntro?null==t||null==(r=t.botIntro)?void 0:r.parts.map(((e,n)=>{var s;return{id:`bot-intro-${n}`,author:null==t||null==(s=t.botIntro)?void 0:s.operator,createdAt:t.createdAt,partType:"bot_intro",body:e}})):[],botIntroId:(null==t||null==(i=t.botIntro)?void 0:i.id)||null})}case f.$Ee:{var c,l,d;const n=null==(c=e.parts)?void 0:c.some((e=>"bot_intro"===e.partType));if(n&&(null==t||!t.fromClientMatch))return e;const s=null==(l=e.introParts)?void 0:l.some((e=>"bot_intro"===e.partType));return!s||null!=t&&t.fromClientMatch?Object.assign({},e,{botIntroId:null,parts:null!=t&&t.suggestionParts?null==t||null==(d=t.suggestionParts)?void 0:d.parts.map(((n,s)=>{var r,i;return Object.assign({id:`suggestion-parts-${s}`,author:null==t||null==(r=t.suggestionParts)?void 0:r.operator,createdAt:t.createdAt,partType:"bot_intro",body:n,showCreatedAt:!0},t.persistClientIdForConversationParts&&null!=(i=e.parts)&&null!=(i=i[s])&&i.clientId?{clientId:e.parts[s].clientId}:{})})):[]}):Object.assign({},e,{parts:e.introParts})}case f.HTP:return Object.assign({},e,{previewWorkflowInstanceId:t.workflowInstanceId,previewResolutionBotBehaviorVersionId:t.resolutionBotBehaviorVersionId});case f.piI:return Object.assign({},e,{teamIntro:t.teamIntro});case f.xU3:return Object.assign({},e,{specialNotice:t.specialNotice});default:return e}},borderless:function(e=$e,t){switch(t.type){case f.hEo:return Object.assign({},e,{conversationId:t.conversationId});case f.lL:return $e;default:return e}},notificationChannels:function(e=qe,t){switch(t.type){case f.kx:return Fe({},e,{isSaving:!0});case f.Rwq:case f._bS:return Fe({},e,{isSaving:!1});case f.x3s:return Fe({},e,{isSaving:!0,errorMessage:null,showErrorMessage:!1});case f.fn8:return Fe({},e,{phoneNumber:t.phoneNumber,isSaving:!1});case f.WEi:return Fe({},e,{errorMessage:t.message,isSaving:!1,showErrorMessage:!0});case f.Ag7:return Fe({},e,{errorMessage:null,showErrorMessage:!1});default:return e}},notificationTypeOverrides:function(e=Ve,t){return t.type===f.nP?Object.assign({},e,{suppress:Object.assign({},e.suppress,t.suppress),forceSnippet:Object.assign({},e.forceSnippet,t.forceSnippet)}):e},install:function(e=Ge,t){switch(t.type){case f.Bub:{const{activeSubscription:n,userHashVerified:s,secureInstallV2:r,messengerEnabledForVisitors:i,messengerEnabledForUsers:o}=t;return We({},e,{isInstallModeOpen:!0,installModeConfig:{activeSubscription:n,userHashVerified:s,secureInstallV2:r,messengerEnabledForVisitors:i,messengerEnabledForUsers:o}})}case f.$oB:return We({},e,{isInstallModeOpen:!1});default:return e}},gifs:Je.A,launcherDiscoveryMode:(e=Ze,t)=>{const{isLauncherDiscoveryModeEnabled:n}=e;switch(t.type){case f.Rwq:{const{user:n}=t;return Qe({},e,{isLauncherDiscoveryModeEnabled:Ye(n)})}case f.ONK:return Qe({},e,{isLauncherDiscoveryModeEnabled:!1,hasDiscoveredLauncher:!0});case f.J4C:return Qe({},e,{hasDiscoveredLauncher:!0,isLauncherDiscoveryModeEnabled:!1});case f.rEX:return Qe({},e,{isLauncherDiscoveryModeOpening:n,hasDiscoveredLauncher:!0});case f.nnk:return Qe({},e,{isLauncherDiscoveryModeOpening:!1,isLauncherDiscoveryModeClosing:n});case f.vxn:case f.UY5:return Qe({},e,{isLauncherDiscoveryModeClosing:!1,isLauncherDiscoveryModeOpening:!1});case f.T92:return Qe({},e,{isLauncherDiscoveryModeEnabled:!1,isLauncherDiscoveryModeClosing:!1});case f.r2x:{const{launcherDiscoveryMode:n}=t.state;return Qe({},e,n)}default:return e}},messengerCards:(e=at,t)=>{switch(t.type){case f.kSy:{const n=t.componentId,s=Object.assign({},e);return it()(s,`${t.cardUri}.isFetching`,!1),st()(s,`${t.cardUri}.card.canvas.content.components`,(e=>(0,ot.YI)(n,e,!1)))}case f.ZBz:{const n=Object.assign({},e);return it()(n,`${t.card.uri}.isFetching`,!1),it()(n,`${t.card.uri}.isFetched`,!0),it()(n,`${t.card.uri}.partialCard`,t.card)}case f.dIf:{const n=t.componentId,s=Object.assign({},e);return it()(s,`${t.cardUri}.isFetching`,!0),st()(s,`${t.cardUri}.card.canvas.content.components`,(e=>(0,ot.YI)(n,e,!0)))}case f.I0U:{const n=Object.assign({},e);return it()(n,`${t.card.uri}.isContentFetching`,!0)}case f.UHd:{const n=Object.assign({},e);it()(n,`${t.card.uri}.isFetching`,!1),it()(n,`${t.card.uri}.isFetched`,!0),it()(n,`${t.card.uri}.isContentFetched`,!0),it()(n,`${t.card.uri}.isContentError`,!1),it()(n,`${t.card.uri}.isContentFetching`,!1);const s=tt()(t.card),r=tt()(t.content);return it()(n,`${t.card.uri}.card`,s),it()(n,`${t.card.uri}.card.canvas.content`,r),st()(n,`${t.card.uri}.card`,ot.Sv)}case f.$Rc:{const n=Object.assign({},e);return it()(n,`${t.card.uri}.isContentError`,!0),it()(n,`${t.card.uri}.isContentFetching`,!1),it()(n,`${t.card.uri}.partialCard`,t.card)}default:return e}},messengerSheet:(e=ct,t)=>{switch(t.type){case f.rzE:return Object.assign({},e,{isNavigating:!0});case f.ySz:return Object.assign({},e,{isNavigating:!1});case f.tXQ:return Object.assign({},e,{isProxyLoaded:t.isLoaded});case f.pSK:return Object.assign({},e,{url:t.url,isOpen:!0,sourceCard:{cardUri:t.cardUri,componentId:t.componentId}});case f.Ub_:return Object.assign({},e,{url:t.url,isOpen:!0,sourceCard:{token:t.token,componentId:t.componentId}});case f.lpe:return ct;case f.wwZ:return Object.assign({},e,{sheetTitle:t.sheetTitle});case f.OXX:return Object.assign({},e,{isSheetsDataLoading:!0});case f.Yjr:return Object.assign({},e,{isSheetsDataLoading:!1,isSheetsDataLoaded:!0,data:t.data});case f.HVH:return Object.assign({},e,{isSheetsDataLoading:!1});default:return e}},messengerAlerts:function(e=dt,t){switch(t.type){case f.BQT:return Object.assign({},e,{isShown:!0,alertType:t.payload.alertType,alertPayload:t.payload.alertPayload});case f.oew:return dt;default:return e}},customizationOverrides:function(e=ut,t){switch(t.type){case f.WEx:return Object.assign({},e,t.customizationAttributes);case f.PYT:return Object.assign({},e,t.customizationAttributes,{isSetByBanner:!0});default:return e}},accessibility:function(e=pt,t){switch(t.type){case f.MkI:return Object.assign({},e,{tabNavigation:t.tabNavigation});case f.A0U:return Object.assign({},e,{accessibilityTheme:t.accessibilityTheme,secondaryAccessibilityTheme:t.secondaryAccessibilityTheme});default:return e}},tour:(e=ht,t)=>{switch(t.type){case f.G_r:return Object.assign({},e,{isFetching:!0,isFetched:!1,fetchingFailed:!1});case f.$SZ:return Object.assign({},e,{updateFailed:!0});case f._jr:return Object.assign({},e,{isFetching:!1,isFetched:!0,fetchingFailed:!1,isPreviewing:t.isPreviewingTour,activeTour:t.tour});case f.VhF:return Object.assign({},e,{isFetching:!1,isFetched:!1,fetchingFailed:!0});case f.PVg:return e.activeTour?Object.assign({},e,{activeTour:Object.assign({},e.activeTour,{activeStepId:t.activeStepId})}):Object.assign({},e);case f.zFq:return Object.assign({},e,{isFetched:!0,isPreviewing:!0,activeTour:t.tour});case f.nyr:return Object.assign({},e,{isFetched:!1,isPreviewing:!1,activeTour:void 0});case f.h0t:case f.P8i:case f.yvE:case f.OCd:return ht;case f.dsE:return e.activeTour?Object.assign({},e,{activeTour:Object.assign({},e.activeTour,{isCompleted:!0})}):Object.assign({},e);case f.XBk:return Object.assign({},e,{videoAudioMuted:t.muted,userHasInteractedWithVideo:!0});case f.xu2:return Object.assign({},e,{isAwaitingProgress:!0});case f.A0e:return Object.assign({},e,{isAwaitingProgress:!1});default:return e}},triggers:function(e=gt,t){const n=Object.assign({},e.triggers);switch(t.type){case f.dJq:return n[t.trigger.id]=t.trigger,Object.assign({},e,{triggers:n});case f.gUy:return delete n[t.triggerId],Object.assign({},e,{triggers:n});case f.hFk:return Object.assign({},e,{active:t.triggerId,failed:!1});case f.kn4:return Object.assign({},e,{active:null});case f.rlk:return Object.assign({},e,{failed:!0});default:return e}},inboundSuggestions:function(e=_t,t){switch(t.type){case f.YdM:return Object.assign({},e,{allSuggestions:[...e.allSuggestions,t.composerSuggestions]});case f.D3R:return Object.assign({},e,{allSuggestions:yt()(e.allSuggestions,(e=>e.rulesetId!==t.rulesetId))});case f.KU1:{let n=e.allSuggestions;return e.serverSideSuggestions&&(n=yt()(n,(t=>e.serverSideSuggestions&&t.rulesetId!==e.serverSideSuggestions.rulesetId))),t.composerSuggestions&&(n=mt()([...n,t.composerSuggestions],"rulesetId")),Object.assign({},e,{allSuggestions:n,serverSideSuggestions:t.composerSuggestions})}case f.rMw:return Object.assign({},e,{previewSuggestions:t.composerSuggestions});default:return e}},banners:function(e=wt,t){switch(t.type){case f.A0F:if(t.banners)return t.banners;break;case f.dxz:if(t.bannerId&&t.reaction)return e.map((e=>e.banner_id===t.bannerId?Object.assign({},e,{selected_reaction:t.reaction}):e))}return e},composer:(e=bt,t)=>t.type===f.IKJ?Object.assign({},e,{content:t.composerContent}):e,predictiveAnswers:(e=Ct,t)=>t.type===f.Xhr?Object.assign({},e,{composerSuggestions:t.predictiveAnswersSuggestions}):e,launcherSettings:b,lightweightApp:(e=St,t)=>t.type===f.HGK?Object.assign({},e,{isActive:t.isActive}):e,browseMode:function(e=xt,t){switch(t.type){case f.miO:return Object.assign({},xt,{isOpen:!0,closeTransitionEnded:!1,isFetching:e.isFetching,hasViewedAnArticle:e.hasViewedAnArticle,skipOpenAnimation:t.skipOpenAnimation});case f.DYf:return Object.assign({},e,{isOpen:!0});case f._PF:return Object.assign({},e,{isOpen:!1});case f.ktm:return Object.assign({},e,{closeTransitionEnded:!0});case f.pBn:return Object.assign({},e,{isOpen:!1,searchedPhrase:"",phrase:"",hasSearchResults:!1,showSearchResults:!1,searchResults:[]});case f.fYk:{const{value:n}=t;return Object.assign({},e,{isSearchFocused:n})}case f.vxn:return e.isOpen?Object.assign({},e,{isOpen:!1,routedToNewConversation:!0}):Object.assign({},e,{routedToNewConversation:!1});case f.pnh:{const{phrase:n,hideResultsWithDelay:s}=t,r=e.hasSearchResults&&0===(null==n?void 0:n.trim().length);return Object.assign({},e,{phrase:n,hideResultsWithDelay:s,showSearchResults:!r&&e.showSearchResults,hasSearchResults:!r&&e.hasSearchResults})}case f.PIY:{const n=e.immediateSearch||t.immediate;return Object.assign({},e,{immediateSearch:n,isFetchingSearchResults:!0})}case f.rPI:{const{searchResults:n,phrase:s}=t,r=Object.assign({},e,{isFetchingSearchResults:!1});return s!==r.phrase?r:Object.assign({},r,{fetchingFailed:!1,hasSearchResults:!0,showSearchResults:e.immediateSearch,searchResults:n,immediateSearch:!1,searchedPhrase:s})}case f.Ss3:{const{phrase:n}=t,s=Object.assign({},e,{isFetchingSearchResults:!1});return n!==s.phrase?s:Object.assign({},s,{isFetching:!1,fetchingFailed:!0,immediateSearch:!1})}case f.B2F:var n;return 1===(null==t||null==(n=t.articleCollections)?void 0:n.length)?Object.assign({},e,{stackMultilevelCollections:[t.articleCollections[0].id],fetchedCollections:!0,isFetching:!1}):Object.assign({},e,{fetchedCollections:!0,isFetching:!1});case f.BHe:return Object.assign({},e,{isViewingArticle:!0});case f.OZy:return e.isOpen?Object.assign({},e,{hasViewedAnArticle:!0,isViewingArticle:!1}):e;case f.u_9:return Object.assign({},xt,{isFetching:e.isFetching,hasViewedAnArticle:e.hasViewedAnArticle});case f.J4C:if(e.isViewingArticle&&e.isOpen)return Object.assign({},e,{skipOpenAnimation:!0});if(!e.skipOpenAnimation)return Object.assign({},xt,{isFetching:e.isFetching});break;case f.nQ0:return e.isOpen?e:Object.assign({},e,{skipOpenAnimation:!1})}return e},openInboundConversationIds:function(e=Rt,t){switch(t.type){case f.Wfp:return(null==t?void 0:t.openInboundConversationIds)||[];case Mt.P0.type:if(!t.payload.cards)return[];const n=t.payload.cards.find((e=>"new_conversation"===e.type));return n&&n.prevent_multiple_inbound_conversations_enabled&&(null==n?void 0:n.open_inbound_conversation_ids)||[];case f.DzL:case f.fEC:const{conversation:s}=t;return s.isInbound?"state_closed"===s.state?e.filter((e=>e!==s.id)):-1===e.indexOf(s.id)?[...e,s.id]:e:e;case f.U2d:const{conversationId:r,reason:i}=t;if((0,N.Xc)(i))return e.filter((e=>e!==r));default:return e}},survey:function(e=null,t){switch(t.type){case f.B6d:return t.survey?Object.assign({},t.survey,{isSubmitting:!1}):e;case f.Wk3:var n;return t.surveyId!==(null==e?void 0:e.id)?e:Object.assign({},e,{steps:[...(null==e?void 0:e.steps)||[],t.surveyStep],activeStepId:null==t||null==(n=t.surveyStep)?void 0:n.id,completed:t.completed});case f.Fdo:return t.surveyId!==(null==e?void 0:e.id)?e:Object.assign({},e,{isSubmitting:!0});case f.kKZ:return t.surveyId!==(null==e?void 0:e.id)?e:Object.assign({},e,{isSubmitting:!1});case f.H8G:var s;return Object.assign({},e,{steps:null==e||null==(s=e.steps)?void 0:s.map((e=>Object.assign({},e,{questions:e.questions.map((e=>e.id!==t.questionId?Object.assign({},e):Object.assign({},e,{response:t.response})))})))});case f.uMq:var r;return Object.assign({},e,{steps:null==e||null==(r=e.steps)?void 0:r.map((e=>e.id!==t.stepId?Object.assign({},e):Object.assign({},e,{questions:e.questions.map((e=>Object.assign({},e,{validationError:(null==t?void 0:t.validationResult)[e.id]||null})))})))});case f.a4z:return Object.assign({},e,{firstFailedValidationQuestion:null==t?void 0:t.questionId});case f.gYX:var i;return Object.assign({},e,{steps:null==e||null==(i=e.steps)?void 0:i.map((e=>Object.assign({},e,{questions:e.questions.map((e=>e.id!==t.questionId?Object.assign({},e):Object.assign({},e,{validationError:null})))})))});case f.WXp:return t.surveyId&&(null==e?void 0:e.id)===t.surveyId?Object.assign({},e,{dismissed:!0}):e;case f.hyi:return e?Object.assign({},e,{completed:!0}):e;case f.J4C:return e?Object.assign({},e,{hidden:!0}):e;case f.nQ0:return e&&e.hidden?Object.assign({},e,{hidden:!1}):e;default:return e}},tooltipGroups:function(e=jt,t){switch(t.type){case f.Pat:if(t.tooltipGroups){const n=e.map((e=>e.id)),s=[];return t.tooltipGroups.map((e=>{-1===n.indexOf(e.id)&&s.push(Object.assign({},e,{tooltips:e.tooltips.map((t=>Object.assign({},t,{displayBehavior:e.displayBehavior})))}))})),[...e,...s]}return e;case f.NKX:return e.map((e=>Object.assign({},e,{tooltips:e.tooltips.map((e=>Object.assign({},e,{isOpen:e.id===t.tooltipId&&!e.isOpen})))})));case f.pU5:return e.map((e=>Object.assign({},e,{tooltips:e.tooltips.map((e=>Object.assign({},e,{isViewed:e.isViewed||e.id===t.tooltipId})))})));case f.l5n:return e.map((e=>Object.assign({},e,{tooltips:e.tooltips.map((e=>{var n,s;let{isMatched:r}=e;return null!=t&&null!=(n=t.matches)&&-1!==n.matched.indexOf(e.id)?r=!0:null!=t&&null!=(s=t.matches)&&-1!==s.unmatched.indexOf(e.id)&&(r=!1),Object.assign({},e,{isMatched:r})}))})));case f.U9i:if(t.tooltipGroup){return[...e.filter((e=>{var n;return Number(e.id)!==Number(null==(n=t.tooltipGroup)?void 0:n.id)})),t.tooltipGroup]}return e;default:return e}},tickets:Pt.Ay,ticketTypes:zt.u,ticketForm:function(e=Lt,t){switch(t.type){case f.Q4x:return t.ticketForm?Object.assign({},e,{[t.ticketForm.ticketTypeId]:t.ticketForm}):e;case f.oO8:return t.ticketForm?Object.assign({},e,{[t.ticketForm.ticketTypeId]:null}):e;default:return e}},newsItems:function(e=null,t){var n,s;switch(t.type){case f.kO0:return Ut({},e,{data:[],nextPage:null,fetchingStatus:Nt.n5.inProgress});case f.EbF:return Ut({},e,{nextPage:null,fetchingStatus:Nt.n5.inProgress});case f.AVJ:return Ut({},e,{data:t.newsItems||[],nextPage:t.nextPage,fetchingStatus:Nt.n5.success,newsfeedVisited:!1});case f.kiz:return Ut({},e,{data:mt()([...(null==e?void 0:e.data)||[],...t.newsItems||[]],"id"),nextPage:t.nextPage,fetchingStatus:Nt.n5.success});case f.ZoV:return Ut({},e,{data:null,fetchingStatus:Nt.n5.failure});case f.UOA:return Ut({},e,{newsfeedVisited:!0});case f.cgs:return Ut({},e,{data:null==e||null==(n=e.data)?void 0:n.map((e=>{var n;return(null==(n=t.newsItem)?void 0:n.id)===e.id?t.newsItem:e}))});case f.cRm:return Ut({},e,{data:null==e||null==(s=e.data)?void 0:s.map((e=>t.newsItemId===e.id?Object.assign({},e,{reactionsReply:Object.assign({},e.reactionsReply,{reactionIndex:t.reactionIndex})}):e))});case f.kp3:{const{newsfeedId:n}=t,s=n!==(null==e?void 0:e.newsfeedId);return Ut({},e,{newsfeedId:n,data:s?null:null==e?void 0:e.data})}default:return e}},newsItem:function(e=Bt,t){var n;switch(t.type){case f.Pd4:return Object.assign({},e,{activeNewsItem:t.newsItem});case f.GGM:return Object.assign({},e,{detailsFetchingStatus:Nt.n5.inProgress});case f.cgs:return t.newsItem?{activeNewsItem:t.newsItem,detailsFetchingStatus:Nt.n5.success}:{activeNewsItem:null,detailsFetchingStatus:Nt.n5.failure};case f.cRm:if((null==(n=e.activeNewsItem)?void 0:n.id)===t.newsItemId)return Object.assign({},e,{activeNewsItem:Object.assign({},e.activeNewsItem,{reactionsReply:Object.assign({},e.activeNewsItem.reactionsReply,{reactionIndex:t.reactionIndex})})})}return e},spaces:Ht.Ay,home:Mt.Ay,help:Dt.A,intersection:function(e=$t,t){switch(t.type){case f.a_E:return Object.assign({},e,{isBooted:!0});case f.U9i:return Object.assign({},e,{isTooltipPreview:!0});case f.nv:return Object.assign({},e,{isTooltipPreview:!1});default:return e}},router:r.C_,routerHistory:function(e={history:[],index:0},t){let{history:n,index:s}=e,i=e;if(r.Uc.match(t)){switch(t.payload.action){case"POP":s=n.findIndex((e=>e.key===t.payload.location.key)),-1===s&&(s=0,n=[t.payload.location]),i={history:n,index:s};break;case"REPLACE":n[s]=t.payload.location,i={history:n,index:s};break;case"PUSH":n.length>0?s+=1:s=0,n.splice(s,n.length-s,t.payload.location),i={history:n,index:s}}0}return i},checklists:function(e=Vt,t){switch(t.type){case f.qHe:{const n=[...e];for(const e of t.checklists){const t=n.findIndex((t=>t.checklistProgressId===e.checklistProgressId));-1===t?n.push(e):n[t]=e}return n}case f.s30:{const{checklistProgressId:n}=t,s=e.findIndex((e=>e.checklistProgressId===n));if(s>-1){return[...e.slice(0,s),Object.assign({},e[s],{dismissed:!0}),...e.slice(s+1)]}return e}case f.QOB:{const{checklistProgressId:n}=t,s=e.findIndex((e=>e.checklistProgressId===n));if(s>-1){return[...e.slice(0,s),Object.assign({},e[s],{hasUpdatedNotificationDetails:!0}),...e.slice(s+1)]}return e}case f.C2$:{var n,s;const{checklistProgressId:r,taskId:i}=t,o=e.findIndex((e=>e.checklistProgressId===r)),a=null==(n=e[o])?void 0:n.taskGroups.findIndex((e=>e.tasks.find((e=>e.id===i)))),c=null==(s=e[o])?void 0:s.taskGroups[a].tasks.findIndex((e=>e.id===i));if((o||a||c)<0)return e;const l=e[o].taskGroups,d=Object.assign({},l[a],{tasks:[...l[a].tasks.slice(0,c),Object.assign({},l[a].tasks[c],{isComplete:!0}),...l[a].tasks.slice(c+1)]});return[...e.slice(0,o),Object.assign({},e[o],{taskGroups:[...l.slice(0,a),d,...l.slice(a+1)]}),...e.slice(o+1)]}case f.RMQ:{const{checklistProgressId:n,taskId:s}=t;return e.map((e=>(e.checklistProgressId===n?e.queuedTaskId=s:e.queuedTaskId=void 0,e)))}case f.Igy:return e.map((e=>(e.queuedTaskId=void 0,e)));default:return e}},checklist:function(e=Ft,t){switch(t.type){case f.QKW:return Object.assign({},e,{currentlyResolvingTaskId:t.taskId});case f.qDy:return Object.assign({},e,{currentlyResolvingTaskId:null});case f.ubZ:return Object.assign({},e,{openChecklistProgressId:t.checklistProgressId});case f.eKX:return Object.assign({},e,{openChecklistProgressId:null});default:return e}},tasks:qt.Ay,realtimeConnection:Qt,workflowPreview:function(e=null,t){return t.type===f.Tc0?{workflowInstanceId:t.workflowInstanceId,resolutionBotBehaviorVersionId:t.resolutionBotBehaviorVersionId,botIntro:t.botIntro}:e},typingAdmins:en}),nn=tn;var sn=n(25163);const rn=/^(UA|YT|MO)-\d+-\d+$/i,on=/^G-[0-9A-Z]{10}$/,an=[f.J4C,f.nQ0,f.DzL,f.HMu,f._bS,f.ZBz,f.R3U,f.TmQ,f.XiA];function cn(e,t,n){switch(e.type){case f.J4C:return{name:"Opened Messenger"};case f.nQ0:return{name:"Closed Messenger"};case f.DzL:return{name:"Started New Conversation"};case f.HMu:{const n=t.byId[e.conversationId],{customBotId:s,messageId:r}=dn(n),i=Object.assign({},s?{"Custom Bot ID":s||r}:{"Message ID":r});return{name:"Sent a Reply",metadata:r||s?i:void 0}}case f.XiA:case f._bS:return{name:"Provided Email Address"};case f.ZBz:return{name:e.card.completed?"Completed App Flow":"Interacted with App",metadata:{"App Name":e.card.app_package_name,Location:pn(n)}};case f.R3U:{const n=t.byId[e.conversationId],{customBotId:s,messageId:r}=un(n,e.partId);return r?{name:"Triggered Message",metadata:Object.assign({},s?{"Custom Bot ID":s||r}:{"Message ID":r}),nonInteraction:!0}:void 0}case f.TmQ:{if(t.byId[e.conversationId].read)return;const n=t.byId[e.conversationId],{customBotId:s,messageId:r}=dn(n);return{name:"Viewed Message",metadata:Object.assign({},s?{"Custom Bot ID":s||r}:{"Message ID":r}),nonInteraction:!0}}}}const ln=e=>Object.entries(e).reduce(((e,[t,n])=>{if(n)return e?e+`, ${t}: ${n}`:`${t}: '${n}'`}),null),dn=e=>{var t;const{parts:n}=e,s=n[0],r=s&&s.rulesetId;return{customBotId:null==(t=e.analyticsMetadata)?void 0:t.customBotId,messageId:r}},un=(e,t)=>{const n=t&&-1!==t.indexOf("message-"),{customBotId:s,messageId:r}=dn(e),i={messageId:r};return Object.assign({customBotId:s},n?i:{})},pn=e=>(0,sn.sB)(e)?"Conversation":"Home";var hn=n(44644),gn=n(97899);function vn(e){const t={};return Object.keys(e).forEach((function(n){if(!e[n])return;const s=n.toLowerCase().replace(/ /g,"_");t[s]=e[n]})),t}function mn(e,t,n,s,r){const i=n?((e,t)=>({name:n,metadata:s={},nonInteraction:r=!1}={})=>{try{e("event",n,Object.assign({eventCategory:"Intercom Messenger",eventLabel:ln(s)},vn(s),r?{nonInteraction:r}:{},t?{send_to:t}:{}))}catch(e){(0,hn.FS)("Intercom - Something went wrong sending the Google Analytics event via gtag",e)}})(n,s):((e,t)=>({name:n,metadata:s={},nonInteraction:r=!1}={})=>{try{e.push(Object.assign({event:n,eventCategory:"Intercom Messenger",eventLabel:ln(s)},vn(s),r?{nonInteraction:r}:{},t?{send_to:t}:{}))}catch(e){(0,hn.FS)("Intercom - Something went wrong pushing the Google Analytics event to GTM",e)}})(r,s),o=(0,gn.oP)(t),a=cn(e,t.conversations,o);a&&i(a)}var fn=n(7309),yn=n.n(fn),_n=n(56449),wn=n.n(_n);const bn=e=>{if(!(()=>{var e;const t=null==(e=window)||null==(e=e.parent)?void 0:e.ga;return"function"==typeof t&&"function"==typeof(null==t?void 0:t.getAll)&&(null==t?void 0:t.loaded)})())return;const t=window.parent.ga.getAll();if(wn()(t)&&t.length){if(e){const n=Cn(t,e);return n||(window.parent.ga("create",e,"auto","intercomMessenger"),Cn(window.parent.ga.getAll(),e))}return t[0]}},Cn=(e,t)=>yn()(e,(function(e){try{return e.b.data.values[":trackingId"]===t}catch(n){if("function"==typeof e.get)return t===e.get("trackingId")}}));function Sn(e,t,n){const s=(e=>({name:t,metadata:n={},nonInteraction:s=!1}={})=>{try{e.send("event",Object.assign({eventCategory:"Intercom Messenger",eventAction:t,eventLabel:ln(n)},s?{nonInteraction:s}:{}))}catch(e){(0,hn.FS)("Intercom - Something went wrong sending the Google Analytics event",e)}})(n),r=(0,gn.oP)(t),i=cn(e,t.conversations,r);i&&s(i)}const In=e=>t=>n=>{const s=e.getState(),r=t(n);if(-1===an.indexOf(n.type)||!s.app.features.googleAnalytics)return r;const i=s.app.customGoogleAnalyticsTrackerId;let o,a,c;var l,d;return((l=i)&&l.match(rn)||!i)&&(o=bn(i),o&&Sn(n,s,o)),!function(e){return e&&e.match(on)}(i)&&i||!s.app.features.googleAnalytics4Integration||(a=function(){var e;const t=null==(e=window)||null==(e=e.parent)?void 0:e.gtag;if(t&&"function"==typeof t)return t}(),c=null==(d=window)||null==(d=d.parent)?void 0:d.dataLayer,(a||c)&&mn(n,s,a,i,c)),o||a||c||(0,hn.FS)("Intercom - Google Analytics is not installed or configured, have you forgotten to include it?"),r};var An=n(75285),En=n(25544),On=n(81170);const kn="/";var Tn=function(e){return e[e.ONE_WEEK=6048e5]="ONE_WEEK",e[e.NINE_MONTHS=2333e7]="NINE_MONTHS",e}(Tn||{});const xn=Tn.NINE_MONTHS,Mn=Tn.ONE_WEEK,Rn=Tn.ONE_WEEK;function jn(e,t){return void 0!==t&&t!==e}function Pn(e,t,n,s,r,i,o,a){e.write(t,n,{domain:r,path:kn,expires:a?new Date(1e3*a):new Date(An.Ay.now()+s),sameSite:i?"none":"lax",secure:i||o})}function zn(e,t){return null!=e?e:t}function Ln({domainSetting:e,originCookieDomain:t,meta:n={}}){if("none"!==e){if(void 0!==e&&(0,hn.FS)("Intercom Messenger error: cookie_domain attribute supports only `none` option"),t)return`.${t}`;{const e=(0,I.Um)(),t=(e||"").split(":")[0];return(0,B.sq)("missingOriginDomain",Object.assign({},n,{host:t,rawHost:e})),"localhost"===t?"":t}}}function Nn({cookie:e,appId:t}){return!!(e.read((0,a.LA)(t))||e.read((0,a.KK)(t))||e.read((0,a.nu)())||e.read((0,a.r4)(t)))}var Un=n(38221),Bn=n.n(Un),Dn=n(13560),Hn=n.n(Dn),$n=n(98099),Vn=n(97132),Fn=n(93346);const qn=(0,Vn.Mz)((e=>e.app.hasTheMessengerBeenOpened),Fn.Ay,((e,t)=>e&&!!t.length));var Wn=n(10048),Gn=n(9814);const Jn=(e,t,n,s,r,i,o)=>a=>{a(function(e,t,n,s,r,i,o){return{type:f.CG8,user:e,appId:t,hostname:n,conversationId:s,organizationId:r,deploymentId:i,buttonId:o}}(e,t,n,s,r,i,o))};var Kn=n(62484),Xn=n(26656),Qn=n(27363),Zn=n(34120),Yn=n(81323),es=n(15498),ts=n(1200);const ns="ConversationSeen",ss="NewComment",rs="ConversationPartUpdated",is="UserContentSeenByAdmin",os="AdminIsTyping",as="ConversationPartToken",cs="MessengerCardUpdated",ls="StartTour",ds="NewContent",us="PingHint",ps="ChecklistTaskCompleted",hs="ChecklistsResolveHint",gs="FinHandoffToSalesforceChat",vs={increment:B.oS,count:B.sL,timing:B.Ve},ms={info:B.A2,error:B.uo};function fs(e){if(void 0!==e)try{e.shutdown()}catch(e){(0,B.uo)(e)}}const ys=Bn()((e=>e()),5e3,{leading:!0,trailing:!0}),_s=Bn()((e=>e()),1e3);const ws=(e,t)=>t||0!==e.indexOf("http")?void 0:e,bs=e=>void 0!==e&&Array.isArray(e.endpoints)&&e.endpoints.length>0,Cs=e=>(0,U.A)(e.split("/")).split("-")[0],Ss=(e,t,n)=>bs(e)&&bs(t)?n||((e,t)=>Cs(e)!==Cs(t))(e.endpoints[0],t.endpoints[0]):!bs(e)&&bs(t)||bs(e)&&!bs(t),Is=(0,Vn.Mz)((e=>e.operator),(e=>e.lastComposerEvent)),As=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{const{dismissed:s,read:r}=e[t];n[t]={fetchState:"partial",dismissed:s,read:r}})),n},Es=!0===parent.__INTERCOM_REDUX_DEV_TOOLS__&&parent.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?parent.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({trace:!1,traceLimit:25}):()=>e=>e;let Os,ks,Ts;const xs=({updateRealtimeClient:e,shutdownRealtimeClient:t,getConversation:n,userContentSeenByAdmin:s,adminIsTyping:r,conversationReadElsewhere:i,retryRealtimeClient:o,performHealthCheck:a})=>c=>l=>d=>{const u=l(d);switch(d.type){case f.Rwq:{const t=d.user.app.realtimeConfig,o=d.user.id;Os=e(Os,ks,t,c,n,s,r,i,o!==Ts,d.user.role),ks=t,Ts=o;break}case f.qjS:t(Os),Os=void 0,ks=void 0,Ts=void 0;break;case f.og8:o(Os,c)}if(!Os)return u;switch(d.type){case f.TmQ:Os.sendEvent(ns,{conversationId:d.conversationId});break;case f.Nfb:Os.throttleSendEvent("UserIsTyping",{conversationId:d.conversationId},!0);break;case f.ZBz:Os.sendEvent(cs,{cardUri:d.card.uri});break;case f.Rkx:a(Os)}return u},Ms=e=>{if(window.parent&&window.parent.intercomSettings&&window.parent.intercomSettings.app_id){const t=window.parent.intercomSettings.app_id;-1===e.indexOf(t)&&(e=`${e}-${t}`)}return e},Rs=e=>{try{return JSON.parse(G.L.get(e))}catch(e){(0,B.oS)("hydrate_read_error")}},js=(e,t)=>{try{G.L.set(e,JSON.stringify(t))}catch(e){(0,B.oS)("hydrate_write_error")}};const Ps=e=>({type:f.r2x,state:e}),zs=(e,t="intercom-state")=>n=>(...s)=>{const r=n(...s);if(t=Ms(t),!(0,D.G5)())return r;const i=Rs(t);if(i){const e=r.getState();try{r.dispatch(Ps(i))}catch(n){(0,B.oS)("hydrate_error"),function(e){try{G.L.remove(e)}catch(e){(0,B.oS)("hydrate_remove_error")}}(t),r.dispatch(Ps(e))}}return r.subscribe((()=>{const n=r.getState(),{session:s}=n;s&&js(t,e(n))})),r},Ls=()=>e=>t=>{const n=e(t);if(t.type===f.qjS)(0,D.G5)()&&t.clearCookies&&G.L.remove(Ms("intercom-state"));return n},Ns={play(e){if(!this.shouldPlayAudio())return;const t=this.load(e);if(t){const e=t.play();e&&e.catch((()=>{}))}},playFile(e){e&&this.shouldPlayAudio()&&this.play(n(73230)(`./${e}`))},load(e){return this.audio[e]||(this.audio[e]=new Audio(e)),this.audio[e]},playNotification:Bn()((function(e){this.play(n(73230)(`./${e}`))}),3e3,{leading:!0,trailing:!1}),shouldPlayAudio(){return D.Ay.hasAudioSupport()&&!D.Ay.isIOS()},audio:{}};var Us=n(53074);const Bs="played-notifications";let Ds=(()=>{const e=G.s.get(Bs);return e?JSON.parse(e):{}})();const Hs=(e,t)=>{Ds[e]=t,G.s.set(Bs,JSON.stringify(Ds))},$s=(e,t)=>{const n=(0,U.A)(e.parts);return!((e,t)=>{const n=Ds[e];return n===t||-1===n})(e.id,n.id)||((e,t)=>{const{notificationStatus:n}=e;return"renotifying"===n&&t})(e,t)},Vs=(e,t,n)=>{let s=!1;e.forEach((e=>{const n=(0,U.A)(e.parts);$s(e,t)&&(s=!0),Hs(e.id,n.id)})),s&&Ns.playNotification(n)},Fs=(e,t)=>{switch(e){case f.U2d:case f.Itl:return"failed.mp3";case f.PzS:case f.XWo:return"submit.mp3";default:return t&&t.author.isBot?"operator.mp3":"notification.mp3"}},qs=e=>t=>n=>{const s=t(n),r=e.getState();if(r.app.isAudioEnabled){switch(n.type){case f.PzS:case f.XWo:case f.U2d:case f.Itl:Ns.playFile(Fs(n.type));break;case f.vzP:{const e=r.conversations.byId[n.conversationId];Vs([e],r.session.newSession,Fs(n.type));break}case f.fEC:{const{conversation:e,skipNotification:t}=n;if(e.read)return;const s=(0,U.A)(e.parts);if(!0===t||(0,Us.A)(s.partType))return void Hs(e.id,s.id);Vs([e],r.session.newSession,Fs(n.type,s));break}case f.mGX:{const e=(0,L.A)(r);Vs(e,r.session.newSession,Fs(n.type));break}case f.Rwq:{const{unreadDismissedConversationIds:e}=n.user;e&&e.forEach((e=>{Hs(e,-1)}));break}}return s}};var Ws=n(84328);const Gs=[],Js=[];const Ks=({getState:e})=>t=>n=>(function(e,t){const n=e(),{user:s,article:r}=n,i=(0,gn.Vy)(n);switch(t.type){case f.rEX:return[(0,B.fm)(s,"received","message","messenger","from_launcher_discovery_mode")];case f.HMu:return[(0,B.fm)(s,"sent","reply",t.isBorderless?"borderless":"messenger","in_conversation",{conversation_id:t.conversationId,comment_id:t.part.id,is_attachment:(0,d.s5)(t.part.body),is_annotated:t.isAnnotatedImage||!1,within_office_hours:(0,d.h6)(t.officeHoursResponse),teammate_status:(0,d.Xz)(t.lastParticipatingAdmin),time_since_last_active_in_minutes:(0,d.UW)(t.lastParticipatingAdmin),from_messenger_suggested_content:t.fromMessengerSuggestedContent})];case f.DzL:const e=-1!==["custom_bot","resolution_bot_auto_suggest"].indexOf(t.conversationTriggerType),n="resolution_bot_auto_suggest"===t.conversationTriggerType;return[(0,B.fm)(s,"sent","message","messenger","in_new_conversation",{conversation_id:t.conversation.id,is_attachment:(0,d.s5)(t.conversation.parts[0].body),is_annotated:t.isAnnotatedImage||!1,within_office_hours:(0,d.h6)(t.officeHoursResponse),from_suggestion:e,from_messenger_suggested_content:n,trigger_type:t.conversationTriggerType})];case f.PWC:return[(0,B.fm)(s,"sent","reply","messenger","in_conversation",{type:"automated_lead_qualification",conversation_id:t.conversationId,part_id:t.partId,attribute_identifier:t.identifier,reply:t.value,attribute_type:t.identifierType,form_type:t.formType,attribute_is_custom_data:t.isCustomData})];case f.T4k:return[(0,B.fm)(s,"sent","reaction",t.isFromConversation?"messenger":"in_app",t.isFromConversation?"in_conversation":"from_full",{conversation_id:t.conversationId})];case f.ScQ:if(t.fromHomeScreenSuggestions)return[];const o=Object.assign({owner:"educate",article_id:t.articleId,conversation_id:t.conversationId},t.metricMetadata||{},!t.fromBrowseMode&&{article_channel:"messenger",article_source:"conversation"});return[t.fromBrowseMode&&(0,B.fm)(s,"clicked",Ws.rk,Ws.qY,"messenger",o),!!t.metricMetadata&&!t.fromBrowseMode&&(0,B.ql)(s,"viewed","article","in_app","from_conversation",o)].filter(Boolean);case f._aJ:const{activeArticle:a}=r,c=a&&a.reactionsReply&&a.reactionsReply.reactionSet[t.reactionIndex]&&a.reactionsReply.reactionSet[t.reactionIndex].emoji;return[(0,B.ql)(s,"sent","reaction","in_app","on_article",{owner:"educate",reaction:c,article_id:t.articleId,conversation_id:i})];default:return[]}}(e,n).forEach((e=>(0,B.nn)(e))),"DESTROY_SESSION"===n.type&&(Gs.splice(0),Js.splice(0)),t(n));var Xs=n(40741);const Qs=E()("intercom.client-matching.client-match-object.base");class BaseClientMatchObject{constructor(e){this._ruleset=void 0,this._predicateChain=void 0,this._ruleset=e,this._predicateChain=new Xs.A(e,(()=>{}))}getRuleset(){return this._ruleset}getRulesetId(){return this._ruleset.ruleset_id}getObjectType(){return this._ruleset.ruleset_link_object_type}getSerializedObject(){return this._ruleset.serialized_object}isMatchableInLocation(e){return!this._ruleset.matching_locations||-1!==this._ruleset.matching_locations.indexOf(e)}evaluatePredicates(){return!(!this.matchOnMobileBrowser()&&(0,D.rr)())&&this._predicateChain.evaluate()}canRematch(){return"transient_match"===this.getRuleset().ruleset_match_behavior}matchOnMobileBrowser(){return!0}refreshActiveMatch(e){this.onRefreshActiveMatch(this._ruleset.serialized_object,e)}async match(e){Qs(`.match called [${this.getObjectType()}]`,this.getRuleset());const t=e.getState(),n=this.getRuleset(),s=this.onPreMatch(e);let r;try{const e=v.Ay.rulesetConditionSatisfied(t.session,n.ruleset_id,n.ruleset_link_id,n.user_id,n.company_id,n.predicates,n.checkpoint_id,n.notification_record_id,n.extra_context).then((e=>this.selectMatchObject(e))),s=this.getSerializedObject();r=s?await Promise.resolve(s):await e}catch(e){return(0,B.uo)(`Call to /match failed, unable to complete client match rulesetId=${this.getRulesetId()}`)}this.onMatch(r,e,s)}selectMatchObject(e){return e}onPreMatch(e){}onMatch(e,t,n){}onRefreshActiveMatch(e,t){}unmatch(e){Qs(`.unmatch called [${this.getObjectType()}]`,this.getRuleset()),this.onUnmatch(e)}onUnmatch(e){}shouldProcessSequentially(){return!!this.getRuleset().contains_lca_predicate}}class BannerClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.banner}onMatch(e,t){if(!e)return;const n=v.Ay.buildBanner(e);let{banners:s}=t.getState();s=s.concat(n),t.dispatch((0,Wn.HJ)(s))}canRematch(){return!0}onUnmatch(e){let{banners:t}=e.getState();t=t.filter((e=>e.ruleset_id!==this.getRuleset().ruleset_id)),e.dispatch((0,Wn.HJ)(t))}}class TourClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.tour}matchOnMobileBrowser(){return!1}onPreMatch(){var e;return{currentUrl:null==(e=window)||null==(e=e.parent)||null==(e=e.location)?void 0:e.pathname}}onMatch(e,t,n){var s;t.dispatch((0,h.Tc)(v.Ay.buildTour(e))),n.currentUrl!==(null==(s=window)||null==(s=s.parent)||null==(s=s.location)?void 0:s.pathname)&&((0,B.oS)("tour_match_url_mismatch"),(0,B.uo)(`tour_match_url_mismatch rulesetId=${this.getRulesetId()}`))}}var Zs=n(28381),Ys=n(84443);class InboundTriggerClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.composerSuggestions}onMatch(e,t){const n=(0,Ys.$)(t.getState());if(!n||n.priority>e.priority){const n=t.getState(),{welcomeParts:s,uxStyle:r}=e;null!=r&&r.welcomePartsWithSuggestions||null==s||!s.length?t.dispatch((0,Zs.Ak)(e.suggestionParts,n.app.features.persistClientIdForConversationParts,!0)):t.dispatch((0,ts.yQ)(s,n.app.features.persistClientIdForConversationParts,!0))}t.dispatch((0,u._L)(e))}onUnmatch(e){e.dispatch((0,u.N7)(this.getRulesetId()))}shouldProcessSequentially(){return!1}}var er=n(89048);class AnswerbotPredictiveContextClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.answerbotPredictiveContexts}onMatch(e,t){t.dispatch((0,er.y)(e))}onUnmatch(e){e.dispatch((0,er.y)(null))}shouldProcessSequentially(){return!1}}var tr=n(4908);const nr=E()("intercom.client-match-object.messenger-trigger");class MessengerTriggerClientMatchObject extends BaseClientMatchObject{constructor(...e){super(...e),this._node=void 0}selectMatchObject(){return null}onMatch(e,t){this._node=this._findDOMNode(e),t.dispatch((0,tr.E$)(e,v.Ay))}onUnmatch(e){e.dispatch((0,tr.k6)(this.messengerTriggerId()))}onRefreshActiveMatch(e,t){this._shouldRefreshActiveMatch()&&(nr(`TriggerId=${e.id} (${e.selector}) is missing from the page, re-attaching listener`),this.onUnmatch(t),this.onMatch(e,t))}shouldProcessSequentially(){return!1}messengerTriggerId(){return this.getSerializedObject().id}_shouldRefreshActiveMatch(){return Boolean(this._node&&!this._documentContains(this._node))}_findDOMNode(e){return window.parent.document.querySelector(e.selector)}_documentContains(e){return window.parent.document.contains?window.parent.document.contains(e):window.parent.document.body.contains(e)}}class ChatClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.chat}onMatch(e,t){e&&t.dispatch((0,ts.Fo)(v.Ay,(0,v.ys)(e)))}}class CustomBotClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.customBot}onMatch(e,t,n){e&&t.dispatch((0,ts.Fo)(v.Ay,(0,v.ys)(e)))}}class PostClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.post}onMatch(e,t){e&&t.dispatch((0,ts.Fo)(v.Ay,(0,v.ys)(e)))}}var sr=n(27606);class SurveyClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.survey}onMatch(e,t){if(!e)return;const n=(0,sr.Hd)(e);t.dispatch((0,Kn.wj)(n))}}class SeriesConditionClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.seriesCondition}onMatch(e,t){const{session:n}=t.getState();t.dispatch((0,Zn.oi)(v.Ay,n,window.parent.location.href,null,null,{},!0,void 0,"apiUpdate"))}}class ChecklistClientMatchObject extends BaseClientMatchObject{selectMatchObject(e){return e.checklist}onMatch(e,t){if(e){const n=t.getState().checklists||[];t.dispatch((0,Gn.X_)(v.Ay.buildChecklists([...n,e])))}}}function rr(e){switch(e.ruleset_link_object_type){case"banner":return new BannerClientMatchObject(e);case"tour":return new TourClientMatchObject(e);case"survey":return new SurveyClientMatchObject(e);case"inbound_trigger":case"inbound_custom_bot":return new InboundTriggerClientMatchObject(e);case"chat":return new ChatClientMatchObject(e);case"checklist":return new ChecklistClientMatchObject(e);case"custom_bot":return new CustomBotClientMatchObject(e);case"post":return new PostClientMatchObject(e);case"messenger_trigger":case"button_custom_bot":return new MessengerTriggerClientMatchObject(e);case"answerbot_predictive_context":return new AnswerbotPredictiveContextClientMatchObject(e);case"series_condition":return new SeriesConditionClientMatchObject(e);default:return new BaseClientMatchObject(e)}}var ir=n(27416);const or=E()("intercom.client-matching.matches-filters.filter-outbound-bots");function ar(e,t){const n=function(e){return e.positiveMatches.filter(cr)}(e);if(0===n.length)return;if(e.positiveMatches=e.positiveMatches.filter((e=>!cr(e))),t.user.preventMultipleInboundConversation&&(0,ir.A)(t))return void or("Skipping outbound bot match in order to prevent multiple inbound conversations");const s=n[0];e.positiveMatches.push(s)}function cr(e){return"custom_bot"===e.getObjectType()}const lr=E()("intercom.client-matching.client-match-runner");class ClientMatchRunner{constructor(e){this.clientMatches=[],this.activeClientMatchIds={},this.evalLoop=void 0,this.store=void 0,this.store=e}start(){void 0===this.evalLoop&&(lr("Starting evaluation loop"),this.evalLoop=setInterval((()=>this.performClientMatching()),500))}stop(){void 0!==this.evalLoop&&(lr("Stopping evaluation loop"),window.clearInterval(this.evalLoop),this.evalLoop=void 0)}updateClientMatches(e,t){this._removeMissingMatches(e,t),this._addNewMatches(e),this.performClientMatching()}performClientMatching(){const e=this._evaluateClientMatches();ar(e,this.store.getState()),this._processResults(e)}_evaluateClientMatches(){const e={positiveMatches:[],negativeMatches:[]};return this.clientMatches.forEach((t=>{t.evaluatePredicates()?e.positiveMatches.push(t):e.negativeMatches.push(t)})),e}_processResults(e){e.negativeMatches.forEach((e=>{const t=e.getRulesetId();this.activeClientMatchIds[t]&&(e.unmatch(this.store),delete this.activeClientMatchIds[t],e.canRematch()||this._removeClientMatch(e))}));const t=[],n=e.positiveMatches.map((e=>{const n=e.getRulesetId();return this.activeClientMatchIds[n]?e.refreshActiveMatch(this.store):(this.activeClientMatchIds[n]=!0,e.shouldProcessSequentially()?t.push(e):e.match(this.store))}));(async()=>{await Promise.all(n);for(const e of t)await e.match(this.store)})()}_addNewMatches(e){for(const t of e)this.clientMatches.find((e=>e.getRulesetId()===t.ruleset_id))||this.clientMatches.push(rr(t));this._evaluateClientMatches()}_removeMissingMatches(e,t){for(const n of this.clientMatches)n.isMatchableInLocation(t)&&!e.find((e=>e.ruleset_id===n.getRulesetId()))&&(this.activeClientMatchIds[n.getRulesetId()]&&n.unmatch(this.store),this._removeClientMatch(n))}_removeClientMatch(e){this.clientMatches.splice(this.clientMatches.indexOf(e),1)}}const dr=0,ur=12,pr=14;let hr;const gr=(e,t,n)=>{hr||(hr=new ClientMatchRunner(e),hr.start()),hr.updateClientMatches(t,n)},vr=e=>t=>n=>{const s=t(n);switch(n.type){case f.Rwq:var r;null!=n&&null!=(r=n.user)&&r.clientsideRulesetConditions&&gr(e,n.user.clientsideRulesetConditions,dr);break;case Y.W.fulfilled.toString():{const t=null==n?void 0:n.payload;null!=t&&t.clientsideRulesetConditions&&gr(e,t.clientsideRulesetConditions,pr);break}case f.cs2:var i;if(null!=n&&null!=(i=n.response)&&i.clientsideRulesetConditions){const{clientsideRulesetConditions:t}=n.response;t&&t.length>0&&gr(e,t,ur)}break;case f.qjS:var o;if(hr)null==(o=hr)||o.stop(),hr=void 0}return s};var mr=n(7350),fr=n.n(mr),yr=n(79536),_r=n(69607);let wr=function(e){return e.NotInitialized="not-initialized",e.Initialized="initialized",e.WaitingForAgent="waiting-for-agent",e.ConnectedToAgent="connected-to-agent",e.CheckingForMessages="checking-for-messages",e.ChatTerminated="chat-terminated",e}({});const br=E()("intercom.standalone.legacy-chat-client");class SalesforceLegacyChatClient{constructor({conversationId:e,appId:t,hostname:n,organizationId:s,deploymentId:r,buttonId:i,user:o,session:a,sequence:c=2,dispatch:l,chatConfig:d=null}){this.conversationId=void 0,this.appId=void 0,this.hostname=void 0,this.organizationId=void 0,this.deploymentId=void 0,this.buttonId=void 0,this.user=void 0,this.clientState=void 0,this.sequence=void 0,this.chatConfig=void 0,this.session=void 0,this.dispatch=void 0,this.conversationId=e,this.appId=t,this.hostname=n,this.organizationId=s,this.deploymentId=r,this.buttonId=i,this.user=o,this.chatConfig=d,this.sequence=c,this._setState(wr.NotInitialized),this.session=a,this.dispatch=l,d&&this.initializeChat()}async getChatConfig(){const e=await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/get_config`,session:this.session,params:{app_id:this.appId,conversation_id:this.conversationId}});e.ok&&(this.chatConfig=e.body,this._setState(wr.Initialized),this.initializeChat())}async initializeChat(){var e,t,n;(await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/initialize_chat`,session:this.session,params:{app_id:this.appId,affinity_token:null==(e=this.chatConfig)?void 0:e.affinityToken,session_key:null==(t=this.chatConfig)?void 0:t.key,session_id:null==(n=this.chatConfig)?void 0:n.id,conversation_id:this.conversationId}})).ok?(this._setState(wr.WaitingForAgent),this.checkForMessages()):this.disconnect()}async checkForMessages(){try{var e,t;if(this.clientState!==wr.WaitingForAgent&&this.clientState!==wr.ConnectedToAgent)return;this._setState(wr.CheckingForMessages);const n={app_id:this.appId,affinity_token:null==(e=this.chatConfig)?void 0:e.affinityToken,session_key:null==(t=this.chatConfig)?void 0:t.key,conversation_id:this.conversationId},s=await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/messages`,session:this.session,params:n});if(!s.ok)return br("Error back from the API:",s.body),void this.disconnect();if(200!==s.code)return this._setState(wr.ConnectedToAgent),await this.checkForMessages();const r=s.body;let i=null;if(r.messages.forEach((e=>{switch(e.type){case"ChatRequestFail":case"ChatEnded":this.disconnect();break;case"ChatRequestSuccess":this._setState(wr.ConnectedToAgent);break;case"AgentTyping":case"AgentNotTyping":i=e}})),this.clientState===wr.ChatTerminated)return;return this._handleAdminIsTyping(i),this._setState(wr.ConnectedToAgent),await this.checkForMessages()}catch(e){br("Error:",e),this.disconnect()}}async userIsTyping(){var e,t;const n={app_id:this.appId,affinity_token:null==(e=this.chatConfig)?void 0:e.affinityToken,session_key:null==(t=this.chatConfig)?void 0:t.key,sequence:this.sequence,conversation_id:this.conversationId};(await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/user_is_typing`,session:this.session,params:n})).ok&&(this.sequence+=1,this._save(),Bn()((()=>{this.userIsNotTyping()}),7e3)())}async userIsNotTyping(){var e,t;const n={app_id:this.appId,affinity_token:null==(e=this.chatConfig)?void 0:e.affinityToken,session_key:null==(t=this.chatConfig)?void 0:t.key,sequence:this.sequence,conversation_id:this.conversationId};(await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/user_is_not_typing`,session:this.session,params:n})).ok&&(this.sequence+=1,this._save())}async sendMessage(e){var t,n;const s={app_id:this.appId,affinity_token:null==(t=this.chatConfig)?void 0:t.affinityToken,session_key:null==(n=this.chatConfig)?void 0:n.key,sequence:this.sequence,conversation_id:this.conversationId,text:e};await yr.A.post({url:`${(0,_r.zj)().api_base}/messenger/web/standalone/salesforce/send_message`,session:this.session,params:s}),this.sequence+=1,this._save()}disconnect(){this.chatConfig=null,this._setState(wr.ChatTerminated),br("Disconnecting from live chat")}_requestHeaders(){var e,t;const n={"X-LIVEAGENT-AFFINITY":(null==(e=this.chatConfig)?void 0:e.affinityToken)||"null","X-LIVEAGENT-API-VERSION":"62"};return null!=(t=this.chatConfig)&&t.key&&(n["X-LIVEAGENT-SESSION-KEY"]=this.chatConfig.key),n}_setState(e){this.clientState=e,this._save()}_storageKey(){return`salesforce-client-state-${this.conversationId}`}_handleAdminIsTyping(e){e&&"AgentNotTyping"!==e.type&&this.dispatch&&(br("Dispatching admin is typing event"),this.dispatch((0,ts.Bh)(this.conversationId,{adminId:e.message.agentId,firstName:e.message.name,isBot:!1,hasAI:!1,showAvatar:!0})))}_save(){G.s.set(this._storageKey(),JSON.stringify({conversationId:this.conversationId,appId:this.appId,hostname:this.hostname,organizationId:this.organizationId,deploymentId:this.deploymentId,buttonId:this.buttonId,user:this.user,clientState:this.clientState,chatConfig:this.chatConfig,sequence:this.sequence}))}}let Cr;const Sr=({conversationId:e,appId:t,hostname:n,organizationId:s,deploymentId:r,buttonId:i,user:o,session:a,dispatch:c,chatConfig:l,sequence:d})=>(Cr=new SalesforceLegacyChatClient({conversationId:e,appId:t,hostname:n,organizationId:s,deploymentId:r,buttonId:i,user:o,session:a,dispatch:c,chatConfig:l,sequence:d}),Cr),Ir=(e,t,n)=>{if(!Cr){const s=`salesforce-client-state-${e}`;let r=G.s.get(s);if(!r)return;try{r=JSON.parse(r)}catch(e){return}return Sr(Object.assign({},r,{session:t,dispatch:n}))}if(Number(Cr.conversationId)===Number(e))return Cr},Ar=fr()((e=>e.userIsTyping()),1e4),Er=e=>t=>n=>{const s=t(n),{session:r}=e.getState(),{dispatch:i}=e;switch(n.type){case f.CG8:{const{conversationId:e,hostname:t,organizationId:s,deploymentId:o,buttonId:a,user:c,appId:l}=n,d=Sr({conversationId:e,hostname:t,organizationId:s,deploymentId:o,buttonId:a,user:c,appId:l,session:r,dispatch:i});if(!d)break;d.getChatConfig();break}case f.EmX:{const{conversationId:e}=n;Ir(e,r,i);break}case f.HMu:{const{conversationId:e,part:{body:t}}=n,s=Ir(e,r,i);if(!s)break;null==t||t.forEach((e=>{switch(e.type){case"paragraph":e.text&&s.sendMessage(e.text);break;case"image":"url"in e&&e.url&&s.sendMessage(e.url);break;case"attachmentList":"attachments"in e&&Array.isArray(e.attachments)&&e.attachments.forEach((e=>{"url"in e&&e.url&&s.sendMessage(e.url)}))}}));break}case f.Nfb:{const{conversationId:e}=n,t=Ir(e,r,i);if(!t)break;Ar(t);break}}return s},Or=xs({updateRealtimeClient:function(e,t,n,s,r,i,o,a,c,l){if(!Ss(t,n,c))return e;if(fs(e),!bs(n))return;let u=Wt.FL;window.nexusConnectionState=Wt.FL,(0,ke.ZQ)({category:"nexus-connection",message:"Initialising new realtime client",data:{realtimeConfig:t,newRealtimeConfig:n,userIdChanged:c},level:"info"});const p=function(e,t,n,s,r){let i;try{i=new t(e.endpoints,ms,vs,n,s,(()=>{}),(()=>{}),e.options,r)}catch(e){(0,B.uo)(e),fs(i)}return i}(n,Hn(),(()=>{p.subscribeToAllTopics(),u=function(e,t){(0,ke.ZQ)({category:"nexus-connection",message:"Nexus connected",data:{previousConnectionState:e},level:"info"}),e===Wt.w3&&qn(t.getState())&&((0,ke.ZQ)({category:"nexus-connection",message:"Nexus connected - likely to have missed updates - fetching unread conversations",data:{previousConnectionState:e},level:"info"}),(0,B.sq)("nexusReconnectedGettingConversations"),ys((()=>t.dispatch((0,Qn.sX)(v.Ay)))));(0,d.hn)()||((0,B.sq)("realTimeConnected"),(0,d.vQ)(!0));return t.dispatch(Kt(Wt.a$)),Wt.a$}(u,s),window.nexusConnectionState=u}),(()=>{u=function(e){return(0,ke.ZQ)({category:"nexus-connection",message:"Nexus disconnected",level:"info"}),e.dispatch(Kt(Wt.w3)),Wt.w3}(s),window.nexusConnectionState=u}),l);try{!function(e,t,n,s,r,i,o,a,c,l){(function(e,t,n){const s=Bn()((e=>e()),5e3);e.addListener(ss,(e=>{var r;const{deliveryChannel:i,conversationId:o,createdByUserId:a,clientAssignedUuid:c,customBotState:l,isOperatorPart:d}=e.eventData,u=e.webSocketEnqueuedAt;if(i&&-1===i.indexOf("web"))return;const{user:p}=t.getState();var h,g;null!=(r=e.eventData)&&r.cmr&&(0,B.sq)("missing_replies_new_comment_event_received",{client_assigned_uuid:null==(h=e.eventData)?void 0:h.clientAssignedUuid,conversation_id:null==(g=e.eventData)?void 0:g.conversationId,destination:e["nx.Destination"]});(0,ke.ZQ)({category:"get-conversation",message:"Nexus New Comment event received",data:{conversationId:o,createdByUserId:a},level:"info"});const m=()=>t.dispatch(n(v.Ay,o,{isUpdating:!0,clientAssignedUuid:c,webSocketEnqueuedAt:u,customBotState:l,isOperatorPart:d,requestOrigin:"Nexus New Comment"}));a===p.id?s(m):m()}))})(e,t,n),e.addListener(is,(e=>{const{conversationId:n}=e.eventData;t.dispatch(s(n))})),e.addListener(ns,(e=>{const{conversationId:n}=e.eventData;t.dispatch(i(n))})),e.addListener(os,(e=>{const{conversationId:n,adminId:s,adminName:i,adminAvatar:o,hasDefaultAvatar:a,isBot:c,hasAI:l,showAvatar:d,loadingStatus:u,clientId:p,acknowledgementText:h,finAcknowledgmentABTest:g}=e.eventData;if(void 0===u||-1!==Object.values(Nt.s1).indexOf(u))t.dispatch(r(n,{adminId:s,firstName:i,avatarUrl:ws(o,a),isBot:c,hasAI:l,showAvatar:d,loadingStatus:u,lastActiveAt:new Date,clientId:p,acknowledgementText:h,finAcknowledgmentABTest:g}));else{const{session:e}=t.getState();(0,ke.wd)(`Unsupported loadingStatus received in adminIsTyping event - conversationId: ${n}, appId: ${null==e?void 0:e.appId}, status: ${u}`)}})),e.addListener(cs,(e=>{const s=e.eventData.cardUri,r=(0,$n.Gm)(t.getState());r&&(0,N.iu)(r,s)&&t.dispatch(n(v.Ay,r.id,{isUpdating:!0,requestOrigin:"Nexus Messenger card update"}))})),e.addListener(rs,(e=>{const{conversationId:s}=e.eventData,r=(0,$n.Gm)(t.getState());(null==r?void 0:r.id)===String(s)&&t.dispatch(n(v.Ay,s,{isUpdating:!0,requestOrigin:"Nexus Conversation part update"}))})),e.addListener(ls,(e=>{const n=e.eventData.tour,{user:s}=t.getState();(0,B.Jr)(s,"received_nexus","tour","messenger",null,{tour_id:n.id}),s.isPresent&&t.dispatch(o(n.id))})),e.addListener(ds,(e=>{const{entity_id:n,entity_type:s,event_metadata:r}=e.eventData,{user:i}=t.getState();(0,B.Jr)(i,"received_nexus","new_content","messenger",null,{entity_id:n,entity_type:s}),s===Xn.w.BANNER_VIEW?t.dispatch(a(n,r)):s===Xn.w.SURVEY_PROGRESS&&t.dispatch(c(n,s))})),e.addListener(us,(()=>{const{session:e}=t.getState();_s((()=>{t.dispatch(l(v.Ay,e,window.parent.location.href,null,null,{},!0,void 0,"apiUpdate"))}))})),e.addListener(ps,(e=>{const{checklist_id:n,checklist_progress_id:s,task_id:r}=e.eventData;t.dispatch((0,Gn.Bd)(n,Number(s),r))})),e.addListener(hs,(()=>{_s((()=>{t.dispatch((0,Gn.ow)())}))})),e.addListener(gs,(e=>{const{user:n,session:s}=t.getState(),{conversationId:r,hostname:i,organizationId:o,deploymentId:a,buttonId:c}=e.eventData;(0,B.Jr)(n,"received_nexus","handover_to_salesforce","messenger",null,{conversation_id:r}),t.dispatch(Jn({name:(null==n?void 0:n.name)||null},null==s?void 0:s.appId,i,r,o,a,c))}));const d=(e,n)=>{t.dispatch((0,ts.$Z)({conversationId:e,part:n}))};e.addListener(as,(e=>{const n=(0,Yn.Lf)(t.getState()),{participant:s,streamingPart:r}=n;if(!s)return;const{conversationId:i,tokenSequenceIndex:o,e2eMetricId:a}=e.eventData,c=Object.assign({},(0,v.wj)((0,es.O)(e.eventData)),{author:{id:s.id,avatar:s.avatar,firstName:s.firstName,initial:s.initial,type:"admin",isAdmin:!0,isBot:!0,isSelf:!1},uxStyle:null==r?void 0:r.uxStyle,metadata:null==r?void 0:r.metadata});d(i,c);const l=(0,$n.VN)(t.getState(),i);a&&0===o&&l&&(0,B.sq)("received_first_streamed_token",{client_assigned_uuid:a,timestamp:Date.now()})})),e.addGlobalListener((e=>{(0,ke.ZQ)({category:"nexus-connection",message:"Nexus event received",data:{event:e},level:"info"}),t.dispatch(Xt(e.eventName))}))}(p,s,r,i,o,a,h.os,Wn.E3,Kn.$N,Zn.oi)}catch(e){(0,B.uo)(e),fs(p)}return p},shutdownRealtimeClient:fs,getConversation:ts.QL,userContentSeenByAdmin:ts.e8,adminIsTyping:ts.Bh,conversationReadElsewhere:ts.s_,retryRealtimeClient:function(e,t){if(void 0!==e)try{t.dispatch(Kt(Wt.gK)),e.retryConnection()}catch(e){(0,B.uo)(e)}},performHealthCheck:function(e){void 0!==e&&((0,ke.ZQ)({category:"nexus-connection",message:"Performing manual healthcheck",level:"info"}),e.performHealthCheck())}}),kr=function(e){let t,n;const s=({user:e,cookie:s,appId:r,domain:i,anonymousId:o,anonymousSession:c,anonymousSessionDuration:l,crossSiteCookies:d,cookieSecureFlag:u,sessionExpiry:p})=>{if(jn(t,o)){const n=zn(l,(0,En.PC)(e)?Mn:xn);Pn(s,(0,a.KK)(r),o,n,i,d,u),t=o}if(jn(n,c)){const e=zn(l,Rn),t=p;Pn(s,(0,a.LA)(r),c,e,i,d,u,t),n=c}const h=s.read((0,a.r4)(r))||On.A.generateUUID();Pn(s,(0,a.r4)(r),h,xn,i,d,u)};return t=>n=>r=>{const i=t.getState();if((e=>e.type===f.Rwq)(r)){if(!i.session)return;const{appId:t}=i.session,{anonymousSessionDuration:o}=i.user,{anonymousId:a,anonymousSession:c,sessionExpiry:l}=r.user,{originCookieDomain:d}=r.user.app,{crossSiteCookies:u,cookieSecureFlag:p,ePrivacyCookieComplianceRequired:h}=r.user.app.features,g=Ln({domainSetting:i.app.cookieDomain,originCookieDomain:d,meta:{action:r.type,role:r.user&&r.user.role}});if(h){const{cookies_consent_given:s}=i.user.customAttributes||{};if(!s&&!Nn({cookie:e,appId:t}))return n(r)}s({user:r.user,cookie:e,appId:t,domain:g,anonymousId:a,anonymousSession:c,anonymousSessionDuration:o,crossSiteCookies:u??!1,cookieSecureFlag:p??!1,sessionExpiry:l})}else if((e=>e.type===f.J4C)(r)){if(!i.session)return n(r);const{appId:t,anonymousSession:o}=i.session,{anonymousSessionDuration:a}=i.user,{anonymousId:c}=i.session,{originCookieDomain:l}=i.app,{crossSiteCookies:d,cookieSecureFlag:u,ePrivacyCookieComplianceRequired:p}=i.app.features,h=Ln({domainSetting:i.app.cookieDomain,originCookieDomain:l,meta:{action:r.type,role:i.user&&i.user.role}});if(!p)return n(r);if(Nn({cookie:e,appId:t}))return n(r);s({user:i.user,cookie:e,appId:t,domain:h,anonymousId:c,anonymousSession:o,anonymousSessionDuration:a||null,crossSiteCookies:!!d,cookieSecureFlag:!!u})}else if((e=>e.type===f.qjS)(r)){const{session:t}=i,{originCookieDomain:n}=i.app,s=Ln({domainSetting:i.app.cookieDomain,originCookieDomain:n,meta:{action:r.type,role:i.user&&i.user.role}});if(t&&r.clearCookies){const{appId:n}=t;e.clear((0,a.LA)(n),{domain:s,path:kn}),e.clear((0,a.KK)(n),{domain:s,path:kn}),e.clear((0,a.nu)(),{domain:s,path:kn})}}else if((e=>e.type===f.oP9)(r)){if(!i.session)return n(r);const{appId:t}=i.session,{crossSiteCookies:o,cookieSecureFlag:a}=i.app.features,c=Ln({domainSetting:i.app.cookieDomain,originCookieDomain:i.app.originCookieDomain,meta:{action:r.type}});s({user:i.user,cookie:e,appId:t,domain:c,anonymousSession:r.anonymousSession,anonymousSessionDuration:null,crossSiteCookies:o??!1,cookieSecureFlag:a??!1,sessionExpiry:r.sessionExpiry})}return n(r)}}(o.A),Tr=zs((e=>{const{app:{selfServeSuggestionsMatch:t,openConfig:n,name:s,features:{anonymousInboundMessages:r,googleAnalytics:i,hubspotInstalled:o,inboundMessages:a,marketoEnrichmentInstalled:c,googleAnalytics4Integration:l},helpCenterSiteUrl:d,inboundConversationsDisabled:u,isDeveloperWorkspace:p,customGoogleAnalyticsTrackerId:h},launcher:{isLauncherEnabled:g},launcherDiscoveryMode:{hasDiscoveredLauncher:v},launcherSettings:m,message:{conversationId:f},openOnBoot:{type:y,metadata:_},user:{role:w,locale:b,hasConversations:C},router:S}=e,{conversations:I}=e,A=I?I.byId:{};return{app:{openConfig:n,selfServeSuggestionsMatch:t,name:s,features:{anonymousInboundMessages:r,googleAnalytics:i,hubspotInstalled:o,inboundMessages:a,marketoEnrichmentInstalled:c,googleAnalytics4Integration:l},helpCenterSiteUrl:d,inboundConversationsDisabled:u,isDeveloperWorkspace:p,customGoogleAnalyticsTrackerId:h},launcher:{isLauncherEnabled:g},launcherDiscoveryMode:{hasDiscoveredLauncher:v},launcherSettings:m,user:{role:w,locale:b,hasConversations:C},message:{conversationId:f},conversations:{byId:As(A)},openOnBoot:{type:y,metadata:_,lastOpenAtTimestamp:Date.now()},operator:{lastComposerEvent:Is(e)},router:S}})),xr=(0,m.Nc)(),Mr=e=>(0,m.U1)({reducer:nn,preloadedState:e,devTools:!1,middleware:e=>e({thunk:!0,immutableCheck:!1,serializableCheck:!1}).prepend(xr.middleware).concat([Ks,qs,In,Or,kr,Ls,ke.eV,vr,Er]),enhancers:e=>e().concat([Tr,Es()])});var Rr=n(94560);const jr=E()("intercom.actions.page-view-event"),Pr=(0,g.S4)("page-view-event/create",(async(e,t)=>{const n=t.getState(),s=(0,I.xH)((0,I.x8)());if(zr(n.user,s))return void jr("Duplicate page view event, skipping");const r=n.session;return await v.Ay.createPageViewEvent({currentUrl:s,session:r})})),zr=(0,S.P)(((e,t)=>JSON.stringify({url:t,user_id:e.id})),3e5,25),Lr={create:Pr,resetDedup:zr.reset};var Nr=n(32747),Ur=n(14919),Br=n(21942),Dr=n(71086),Hr=n.n(Dr),$r=n(53812),Vr=n.n($r);const Fr="#IntercomDefaultWidget",qr=["app_id","user_id","email","user_hash","session_duration","custom_data","user_data","widget","custom_launcher_selector","hide_default_launcher","alignment","horizontal_padding","vertical_padding","cookie_domain","background_color","action_color","api_base","page_title","installation_type","z_index","disabled","handoff_with_javascript"];function Wr(e){return!Xe()(e)}function Gr(e){return qr.indexOf(e)<0}function Jr(e){return Object.keys(e).filter(Gr).filter(Wr).reduce(((t,n)=>(void 0!==e[n]&&(t[n]=e[n]),t)),{})}function Kr(e){return Object.keys(e).filter(Wr).reduce(((t,n)=>{const s=e[n];return function(e){return null!=e}(s)&&(t[n]=s),t}),{})}function Xr(e){return Object.assign(function(e){return e.custom_data?Jr(e.custom_data):{}}(e),Jr(e))}function Qr(e){return function(e){if(!e.user_data)return;return Kr({appId:e.app_id,email:e.user_data.email,userId:e.user_data.user_id,userHash:e.user_data.user_hash,intercomUserJwt:e.user_data.intercom_user_jwt})}(e)||function(e){return Kr({appId:e.app_id,email:e.email,userId:e.user_id,userHash:e.user_hash,intercomUserJwt:e.intercom_user_jwt})}(e)}function Zr(e){return e&&e.widget&&!Xe()(e.widget.activator)&&e.widget.activator!==Fr?e.widget.activator:null}function Yr(e){return Xe()(e.custom_launcher_selector)?Zr(e):e.custom_launcher_selector}function ei(e){return Vr()(e.hide_default_launcher)?e.hide_default_launcher?"hide":"show":function(e){return e.widget&&e.widget.activator===Fr?"show":"not-present"}(e)}function ti(e){const t={alignment:e.alignment,horizontalPadding:e.horizontal_padding,verticalPadding:e.vertical_padding,cookieDomain:e.cookie_domain,color:e.action_color,secondaryColor:e.background_color,zIndex:e.z_index};return Hr()(t,(e=>void 0!==e))}var ni=n(8375),si=n(64442);const ri=e=>{try{return e.self!==e.top}catch(e){return!1}},ii=e=>{try{return e.document.body.text.length>0}catch(e){return!1}};var oi=n(57296),ai=n(10710);var ci=n(72938),li=n(70400),di=n(19326),ui=n(57492),pi=n(52762);let hi=null;function gi(e){hi?(0,_r.b5)()&&console.error("Before unload subscription already exists, not adding current callback!"):(hi=()=>{e()},window.addEventListener("beforeunload",hi))}var vi=n(51662),mi=n(27114),fi=n(5367);const{assign:yi}=Object;function _i(e,t,n){let s=t(e.getState());return()=>{const r=t(e.getState());s!==r&&(s=r,n(r))}}function wi(e){return e.intercomSettings}const bi=class Session{constructor(e,t,n){this.window=void 0,this.store=void 0,this.destroyApp=void 0,this.isReady=void 0,this.hasScrapedCookies=void 0,this.readyCallbacks=void 0,this.messengerOpenCallbacks=void 0,this.messengerCloseCallbacks=void 0,this.userEmailSuppliedCallbacks=void 0,this.unreadConversationCountChangeCallbacks=void 0,this.storeSubscribers=void 0,this.stopMetricsPolling=void 0,this.customLauncherClickHandler=void 0,this.handleCustomLauncherClick=e=>{e.preventDefault(),this.toggleMessenger(),this.addLauncherClickedMetric();return Zr(wi(this.window))&&(B.Ay.addIncrementOpMetric("legacyCustomLauncherClick"),B.Ay.buildAndAddHcMetric("legacyCustomLauncherClick")),!1},this.handleMessengerChange=e=>{(e?this.messengerOpenCallbacks:this.messengerCloseCallbacks).forEach((e=>e())),e&&this.sendMessengerOpen()},this.handleUnreadConversationCountChange=e=>{this.unreadConversationCountChangeCallbacks.forEach((t=>t(e)))},this.handleUserEmailSupplied=e=>{e&&this.userEmailSuppliedCallbacks.forEach((e=>e()))},this.window=e,this.store=t||(e=>{const t=Mr(e);return t.subscribe(V(t)),t})({}),this.destroyApp=n,this.isReady=!1,this.hasScrapedCookies=!1,this.readyCallbacks=[],this.messengerOpenCallbacks=[],this.messengerCloseCallbacks=[],this.userEmailSuppliedCallbacks=[],this.unreadConversationCountChangeCallbacks=[],this.storeSubscribers=[],this.createMessengerChangeSubscriber(),this.createUserEmailSuppliedSubscriber(),this.createUnreadConversationCountChangeSubscriber(),gi((()=>{this.checkOpenAndSendLastOpenAction()}))}checkOpenAndSendLastOpenAction(){this.store.getState().app.isMessengerOpen&&this.store.dispatch({type:It})}createOrUpdateUser(e={},t,n=!1){const s=this.getSettings(e),r=this.getSession({settings:s,generateSessionIdIfNecessary:!1});if(!r)return Promise.resolve();(({appWindow:e,appId:t})=>{if(ri(e)){const n=ri(e.parent),s=ii(e),{referrer:r}=e.document;(0,B.A2)(`messenger_sandboxed - referrer=${r}`),(0,B.oS)("messenger_sandboxed",{appId:t,appSandboxed:n,hasBodyText:s})}})({appWindow:this.window,appId:r.appId});const{internal:i,hasScrapedCookies:o}=c(this.store.getState().app);this.hasScrapedCookies||=o;const a=Yr(s);a&&this.enableCustomLauncher(a),this.stopMetricsPolling=B.Ay.startMetricsPolling(r,this.window);return(0,this.store.dispatch)(Zn.Ay.createOrUpdateUser(v.Ay,r,this.window.document.URL,Xr(s),function(e){return e.session_duration||null}(s),ti(s),n,function(e){return e.intercomEncryptedPayload}(this.window),t,i,(0,si.t)(),this.destroyApp)).then((e=>e&&this.handleUserCreateOrUpdate(e,s)))}sendMessengerOpen(){this.whenReady((()=>(0,this.store.dispatch)((0,Y.W)())))}createCustomizationOverride(e){const t=ti(this.getSettings(e));return this.store.dispatch((0,p.E)(t))}setLauncherEnabledOverride(e){const t=ei(this.getSettings(e));return this.store.dispatch((0,fi.m)(t))}destroy(e=!0){this.store.dispatch(Zn.Ay.destroySession(e)),this.stopMetricsPolling&&this.stopMetricsPolling(),this.disableCustomLauncher(),this.removeStoreSubscribers(),(0,mi.XQ)(),Zn.Ay.isDuplicateCreateOrUpdateUserRequest.reset(),x.resetDedup(),Lr.resetDedup(),hi&&(window.removeEventListener("beforeunload",hi),hi=null)}openMessenger(){this.whenReady((()=>{const{borderless:e}=this.store.getState(),t=this.store.dispatch;e.conversationId?t(Rr.Ay.openConversationInMessenger(e.conversationId)):(t(Rr.Ay.showInitialScreen()),t(Rr.Ay.openMessenger()))}))}openOnBoot(){var e;const t=this.store.dispatch,n=this.store.getState().openOnBoot;if(!(Date.now()-n.lastOpenAtTimestamp>36e5)&&void 0===(0,vi.a)(null==(e=window)||null==(e=e.parent)?void 0:e.location,"intercom_survey_id")){if(!(0,i.IS)()&&n)switch(n.type){case Et:const e=n.metadata.conversationId;e&&(kt(`open conversation ${e}`),t(Rr.Ay.openConversationInMessenger(e)));break;case Ot:kt("open new conversation"),t(Rr.Ay.openMessenger()),t(Rr.Ay.showNewConversation());break;case"article":if("article-link"===n.metadata.componentId&&n.metadata.url){var s;const e=null==(s=n.metadata)||null==(s=s.previousState)?void 0:s.metadata;if(e){const n=e.conversationId;n&&(kt(`open conversation ${n} from article`),t(Rr.Ay.openConversationInMessenger(n)))}kt(`open sheet from article ${n.metadata.cardUri}, ${n.metadata.componentId}, ${n.metadata.url}`),t((0,R.lU)(v.Ay,n.metadata.cardUri,n.metadata.componentId,n.metadata.url,{}))}break;case At:const r=n.metadata.checklistProgressId;kt(`open checklist ${r}`),t(Rr.Ay.openMessenger()),t((0,Gn.tB)(r))}n.metadata.openArticleStandalone&&n.metadata.articleIds&&this.showArticle(n.metadata.articleIds[n.metadata.articleIds.length-1])}}openOnBootAfterUserLoaded(){const{getState:e}=this.store,t=e().openOnBoot;if(!(0,i.IS)()&&t&&"search_browse_article"===t.type)return this.openIntoSearchBrowseArticle(t)}async openIntoSearchBrowseArticle(e){const t=this.store.dispatch,{articleIds:n}=e.metadata;if(null==n||!n.length)return;const s=n.pop();t((0,r.VC)("/help")),t((0,oi.L7)(s,null,!0,!0)),t(Rr.Ay.openMessenger(!0)),t((0,oi.xZ)(s,null,!0))}async showConversation(e){this.whenReady((async()=>{(0,this.store.dispatch)(Rr.Ay.getAndOpenConversation(e))}))}closeMessenger(){this.whenReady((()=>{(0,this.store.dispatch)(Rr.Ay.closeMessenger())}))}toggleMessenger(){this.whenReady((()=>{(0,this.store.dispatch)(Rr.Ay.toggleMessenger())}))}showConversations(){this.whenReady((()=>{(0,this.store.dispatch)(Rr.Ay.openConversations())}))}showNewConversation(e){this.whenReady((()=>{(0,this.store.dispatch)(Rr.Ay.openNewConversation(e))}))}sendMessage(e){this.whenReady((()=>{const t=this.store.dispatch,n=this.store.getState(),s=(0,gn.oP)(n),r=(0,li.matchPath)(`/${ci.Ij.id}/conversation/:conversationId`,s);let i=(null==r?void 0:r.params.conversationId)||"";"new"===i&&(i=void 0);const o=(0,$n.VN)(n,i);"state_closed"===(null==o?void 0:o.state)&&(t(Rr.Ay.showNewConversation()),i=void 0);const a={body:[{type:"paragraph",text:e}],clientId:(0,On.l)(),createdAt:new Date};t((0,ts.yk)(v.Ay,i,a))}))}startSurvey(e){this.whenReady((()=>{const t=this.store.dispatch;t((0,Kn.Ay)(e,ai.e.triggered_from_code)),t((0,pi.Y6)())}))}startChecklist(e){this.whenReady((()=>{(0,this.store.dispatch)((0,Gn.YH)(e,ai.e.triggered_from_code,!0))}))}startTour(e){this.whenReady((()=>{(0,this.store.dispatch)((0,h.m7)(e))}))}createEvent(e,t){this.whenReady((()=>{(0,this.store.dispatch)(Zn.Ay.createEvent(v.Ay,e,t))}))}createPageViewEvent(){this.whenReady((()=>{(0,this.store.dispatch)(Lr.create())}))}createArticleReaction(e,t,n,s){this.whenReady((()=>{const r=this.store.getState(),{session:i,app:{isMessengerOpen:o}}=r,a=!((0,gn.KS)(r)&&o);v.Ay.createArticleReaction(i,e,t,a,n,s)}))}previewInboundCustomBot(e){this.whenReady((()=>{const t=v.Ay.buildComposerSuggestions(e);this.store.dispatch((0,u.MG)(t))}))}previewOutboundCustomBot(e){this.whenReady((()=>{(0,this.store.dispatch)((0,tr.FD)(v.Ay,e))}))}previewWorkflow(e){this.whenReady((()=>{(0,this.store.dispatch)((0,tr.Fb)(v.Ay,e))}))}createMetric(e,t){this.whenReady((()=>{const n=this.store.getState(),s=n.session,r=n.user;t=yi({anonymous_id:s.anonymousId,end_user_id:r.id,user_id:r.id,user_role:r.role},t);const i=s.appId,o=[{name:e.toString(),id:On.A.generateUUID(),app_id_code:i,created_at:Math.round(Date.now()/1e3),metadata:t}];(0,En.I1)(r)&&v.Ay.createMetrics(s,o)}))}trigger(e){return(0,this.store.dispatch)((0,tr.hg)(e,v.Ay))}triggerBot(e){var t;const{operator:n}=this.store.getState(),s=n.clientsideRulesetConditions.find((t=>t.ruleset_id===e));if(!s||"button_custom_bot"!==s.ruleset_link_object_type)return;const r=null==s||null==(t=s.serialized_object)?void 0:t.id;return r?this.trigger(r):void 0}getSettings(e){return yi({},wi(this.window),e)}setSetting(e,t){wi(this.window)[e]=t}markHomeDataAsStale(){this.whenReady((()=>{this.store.dispatch((0,Mt.RM)(!0))}))}getArticleReaction(e,t,n){this.whenReady((()=>{const{session:s}=this.store.getState();v.Ay.getArticleReaction(s,e,t,n)}))}enterTourPreviewMode(e){this.whenReady((()=>{(0,this.store.dispatch)((0,h.fS)(v.Ay.buildTour(e)))}))}exitTourPreviewMode(){this.whenReady((()=>{(0,this.store.dispatch)((0,h.rK)())}))}previewSurvey(e){this.whenReady((()=>{(0,this.store.dispatch)((0,Kn.Tu)(e))}))}previewBanner(e){this.whenReady((()=>{(0,this.store.dispatch)((0,Wn.Xm)(e))}))}previewPost(e){this.whenReady((()=>{(0,this.store.dispatch)((0,pi.dT)(e))}))}getSession({settings:e,generateSessionIdIfNecessary:t}){let{session:n}=this.store.getState();const s=Qr(this.getSettings(e));if(n=yi({},n,s),function(e){return Boolean(e&&e.appId)}(n))return n=yi({},n,function(e){const t={},n=o.A.read((0,a.KK)(e))||o.A.read((0,a.nu)()),s=o.A.read((0,a.LA)(e));n&&yi(t,{anonymousId:n});s&&yi(t,{anonymousSession:s});return t}(n.appId)),t&&!n.sessionId&&(n.sessionId=On.A.generateUUID()),n}fetchLauncherSettingsIfNecessary(e){var t;if(null!=(t=this.store.getState().launcherSettings)&&t.instantBootEnabled)return;const n=this.getSession({settings:e,generateSessionIdIfNecessary:!0});if(!n)return;(0,this.store.dispatch)(x.fetch(n))}fetchTooltips(e){const t=this.getSession({settings:e,generateSessionIdIfNecessary:!0});if(!t)return;const n=Xr(this.getSettings(e));(0,this.store.dispatch)((0,M.dH)({session:t,customAttributes:n}))}previewTooltipGroup(e){this.whenReady((()=>{this.store.dispatch((0,M.Ze)(v.Ay.buildTooltipGroup(e)))}))}exitPreviewTooltipGroup(){this.whenReady((()=>{this.store.dispatch((0,M.n9)())}))}getVisitorId(){const{session:e}=this.store.getState();if(!e)return;const{appId:t}=e;return o.A.read((0,a.KK)(t))||o.A.read((0,a.nu)())}onMessengerOpen(e){this.messengerOpenCallbacks.push(e)}onMessengerClose(e){this.messengerCloseCallbacks.push(e)}onUnreadConversationCountChange(e){const t=this.store.getState(),n=(0,Nr.j)(t);this.unreadConversationCountChangeCallbacks.push(e),e(n)}onUserEmailSupplied(e){e&&"function"==typeof e&&this.userEmailSuppliedCallbacks.push(e)}enableCustomLauncher(e){this.disableCustomLauncher();const t=this.window.document.getElementsByTagName("body")[0];this.customLauncherClickHandler=(0,ni.Kx)(t,e,this.handleCustomLauncherClick),(0,ni.q2)(t,"click",this.customLauncherClickHandler)}disableCustomLauncher(){if(!this.customLauncherClickHandler)return;const e=this.window.document.getElementsByTagName("body")[0];(0,ni.f)(e,"click",this.customLauncherClickHandler),this.customLauncherClickHandler=null}whenReady(e){return this.isReady?setTimeout(e,1):void this.readyCallbacks.push(e)}executeReadyCallbacks(){const{readyCallbacks:e}=this;for(;e.length;){const t=e.shift();t&&setTimeout((()=>t()),1)}this.readyCallbacks=[]}addLauncherClickedMetric(){this.whenReady((()=>{const{user:e,app:{isMessengerOpen:t}}=this.store.getState(),n={is_messenger_open:t,is_custom_launcher:!0};B.Ay.buildAndAddMetric(e,"clicked","launcher","in_app","",n)}))}handleUserCreateOrUpdate(e,t){if((0,d.CD)()||(B.Ay.buildAndAddHcMetric("apiBoot"),(0,d.JK)(!0)),this.shouldSendTrackingCookies()&&this.createOrUpdateUser(t,"apiUpdate"),this.isReady)return e;if(this.executeReadyCallbacks(),this.isReady=!0,(0,si.t)()&&this.window.parent.postMessage("messenger_session_ready","*"),!(0,d.pU)()){const e=this.store.getState(),t=(0,l.A)(e),n=(0,D.Ar)();B.Ay.buildAndAddHcMetric("createOrUpdateUser",{messengerIsVisible:(0,d.OV)(t),isLauncherEnabled:t,hasDisplayNoneSet:n}),(0,d.ZE)(!0)}return this.openOnBootAfterUserLoaded(),e}showArticle(e,t,n){const{getState:s}=this.store,r=this.store.dispatch,i=!s().app.isMessengerOpen;this.whenReady((async()=>{await new Promise((e=>{const t=()=>{const n=s();n.app.isMessengerOpen||this.openMessenger(),n.app.isMessengerOpen&&n.app.isMounted&&!n.home.isFetching?e():setTimeout(t,100)};t()})),r((0,oi.n$)(e,{},!1,!1,n,t,i))}))}showNews(e){if(!e)return void this.showSpace("news");const{dispatch:t,getState:n}=this.store;this.whenReady((async()=>{const{app:{isMessengerOpen:s}}=n();s||t(Rr.Ay.openMessenger()),this.whenReady((()=>{t((0,r.VC)(`/news/details/${e}`))}))}))}showTicket(e){const{getState:t}=this.store,n=this.store.dispatch,s=n((0,Pt.rs)(e));this.whenReady((async()=>{const{app:{isMessengerOpen:e}}=t();e||n(Rr.Ay.openMessenger()),s.then((e=>{const t=null==e?void 0:e.payload;null!=t&&t.id&&n((0,r.VC)(`/tickets/details/${t.id}`,{state:{navigatingFrom:Ws.wU}}))}))}))}showTicketForm(e){const{getState:t}=this.store,n=this.store.dispatch,s=n((0,di.on)(v.Ay));this.whenReady((async()=>{const{app:{isMessengerOpen:i}}=t();i||n(Rr.Ay.openMessenger()),s.then((t=>{(null==t?void 0:t.find((t=>Number(t.id)===Number(e))))&&n((0,r.VC)((0,ui.wo)(e)))}))}))}showSpace(e){var t;const n=this.store.dispatch,s=this.store.getState(),i=null==(t=(0,Ur.$B)(s).find((t=>t.id===e)))?void 0:t.path;i&&this.whenReady((async()=>{const{app:{isMessengerOpen:e},article:{isLoaded:t}}=s;e||n(Rr.Ay.openMessenger()),t&&n((0,oi.nX)()),this.whenReady((()=>{n((0,r.VC)(i))}))}))}shouldSendTrackingCookies(){const e=this.store.getState().app;return!this.hasScrapedCookies&&(e.features.hubspotInstalled||e.features.marketoEnrichmentInstalled)}createMessengerChangeSubscriber(){this.addStoreSubscriber(_i(this.store,(e=>e.app.isMessengerOpen),this.handleMessengerChange))}createUnreadConversationCountChangeSubscriber(){this.addStoreSubscriber(_i(this.store,Nr.j,this.handleUnreadConversationCountChange))}createUserEmailSuppliedSubscriber(){this.addStoreSubscriber(_i(this.store,(e=>{var t;return null==(t=e.session)?void 0:t.didUserSupplyEmail}),this.handleUserEmailSupplied))}addStoreSubscriber(e){this.storeSubscribers.push(this.store.subscribe(e))}removeStoreSubscribers(){this.storeSubscribers.forEach((e=>!!e&&e()))}handleIntersectionBoot(){this.whenReady((()=>{this.store.dispatch({type:f.a_E})}))}setInstallationType(e){(0,Br.b)(e)}};var Ci=n(17336),Si=n.n(Ci),Ii=n(27124),Ai=n(26865),Ei=n(71179);const Oi=(0,Vn.Mz)([e=>e.accessibility],(e=>e));var ki=n(97160),Ti=n.n(ki);const xi=(0,Vn.Mz)(Ei.A,(({color:e,secondaryColor:t})=>{if(!e||!t)return{};const{gradient_start_color:n,gradient_end_color:s,launcher_icon_color:r}=Ti()({primaryColor:e,secondaryColor:t,darkenAmount:20,pureBlackActionColors:!0});return{primaryColor:e,secondaryColor:t,gradientStartColor:n,gradientEndColor:s,launcherIconColor:r}}));var Mi=n(62932),Ri=n(72853);const ji=({isMobile:e,customization:t})=>e||isNaN(t.zIndex)?2147483001:t.zIndex,Pi=({isLauncherEnabled:e,customization:{verticalPadding:t}})=>e?t+Ri.JX+Ri.Pv:t,zi=e=>{return`\n @keyframes intercom-lightweight-app-launcher {\n from {\n opacity: 0;\n transform: scale(0.5);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n @keyframes intercom-lightweight-app-gradient {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes intercom-lightweight-app-messenger {\n 0% {\n opacity: 0;\n transform: scale(0);\n }\n 40% {\n opacity: 1;\n }\n 100% {\n transform: scale(1);\n }\n }\n\n .intercom-lightweight-app {\n position: fixed;\n z-index: ${ji(e)};\n width: 0;\n height: 0;\n font-family: intercom-font, "Helvetica Neue", "Apple Color Emoji", Helvetica, Arial, sans-serif;\n }\n\n .intercom-lightweight-app-gradient {\n position: fixed;\n z-index: ${ji(e)+1};\n width: 500px;\n height: 500px;\n bottom: 0;\n ${e.customization.alignment}: 0;\n pointer-events: none;\n background: radial-gradient(\n ellipse at bottom ${e.customization.alignment},\n rgba(29, 39, 54, 0.16) 0%,\n rgba(29, 39, 54, 0) 72%);\n animation: intercom-lightweight-app-gradient 200ms ease-out;\n }\n\n .intercom-lightweight-app-launcher {\n position: fixed;\n z-index: ${ji(e)+2};\n padding: 0 !important;\n margin: 0 !important;\n border: none;\n bottom: ${(({isMobile:e,customization:t})=>e?20:t.verticalPadding)(e)}px;\n ${e.customization.alignment}: ${(({isMobile:e,customization:t})=>e?20:t.horizontalPadding)(e)}px;\n max-width: ${Ri.JX}px;\n width: ${Ri.JX}px;\n max-height: ${Ri.JX}px;\n height: ${Ri.JX}px;\n border-radius: 50%;\n background: ${e.colors.primaryColor};\n cursor: pointer;\n box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06), 0 2px 32px 0 rgba(0, 0, 0, 0.16);\n transition: transform 167ms cubic-bezier(0.33, 0.00, 0.00, 1.00);\n box-sizing: content-box;\n }\n\n\n .intercom-lightweight-app-launcher:hover {\n transition: transform 250ms cubic-bezier(0.33, 0.00, 0.00, 1.00);\n transform: scale(1.1)\n }\n\n .intercom-lightweight-app-launcher:active {\n transform: scale(0.85);\n transition: transform 134ms cubic-bezier(0.45, 0, 0.2, 1);\n }\n\n\n .intercom-lightweight-app-launcher:focus {\n outline: none;\n\n ${e.accessibility.tabNavigation?`box-shadow: inset 0 0 0 5px ${(({accessibility:e})=>Mi.M[e.accessibilityTheme])(e)};`:""}\n }\n\n .intercom-lightweight-app-launcher-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: ${Ri.JX}px;\n height: ${Ri.JX}px;\n transition: transform 100ms linear, opacity 80ms linear;\n }\n\n .intercom-lightweight-app-launcher-icon-open {\n ${e.isMessengerOpen&&!e.hideLightweightAppMessenger?"\n opacity: 0;\n transform: rotate(30deg) scale(0);\n ":"\n opacity: 1;\n transform: rotate(0deg) scale(1);\n "}\n }\n\n .intercom-lightweight-app-launcher-icon-open svg {\n width: ${Ri.n9}px;\n height: ${Ri.n9}px;\n }\n\n .intercom-lightweight-app-launcher-icon-open svg path {\n fill: ${e.colors.launcherIconColor};\n }\n\n .intercom-lightweight-app-launcher-icon-self-serve {\n ${e.isMessengerOpen&&!e.hideLightweightAppMessenger?"\n opacity: 0;\n transform: rotate(30deg) scale(0);\n ":"\n opacity: 1;\n transform: rotate(0deg) scale(1);\n "}\n }\n\n .intercom-lightweight-app-launcher-icon-self-serve svg {\n height: ${Ri.JX-4}px;\n }\n\n .intercom-lightweight-app-launcher-icon-self-serve svg path {\n fill: ${e.colors.launcherIconColor};\n }\n\n .intercom-lightweight-app-launcher-custom-icon-open {\n max-height: ${Ri.n9}px;\n max-width: ${Ri.n9}px;\n\n ${e.isMessengerOpen&&!e.hideLightweightAppMessenger?"\n opacity: 0;\n transform: rotate(30deg) scale(0);\n ":"\n opacity: 1;\n transform: rotate(0deg) scale(1);\n "}\n }\n\n .intercom-lightweight-app-launcher-icon-minimize {\n ${e.isMessengerOpen&&!e.hideLightweightAppMessenger?"\n opacity: 1;\n transform: rotate(0deg) scale(1);\n ":"\n opacity: 0;\n transform: rotate(-60deg) scale(0);\n "}\n }\n\n .intercom-lightweight-app-launcher-icon-minimize svg path {\n fill: ${e.colors.launcherIconColor};\n }\n\n .intercom-lightweight-app-messenger {\n position: fixed;\n z-index: ${ji(e)+2};\n overflow: hidden;\n background-color: white;\n animation: intercom-lightweight-app-messenger 250ms cubic-bezier(0, 1, 1, 1);\n transform-origin: ${e.isMobile&&e.isCompact?"bottom":`bottom ${e.customization.alignment}`};\n\n ${e.isMobile?`\n ${e.isCompact?"":"top: 0;"}\n left: 0;\n right: 0;\n bottom: 0;\n `:`\n width: ${t=e.isCompact,t?300:400}px;\n height: ${(e=>e.isCompact?"250px":`calc(100% - ${20+Pi(e)}px)`)(e)};\n max-height: 704px;\n min-height: 250px;\n ${e.customization.alignment}: ${e.customization.horizontalPadding}px;\n bottom: ${Pi(e)}px;\n box-shadow: 0 5px 40px rgba(0,0,0,0.16);\n `}\n\n border-radius: 16px;\n }\n\n .intercom-lightweight-app-messenger-header {\n height: ${(e=>e?48:64)(e.isCompact)}px;\n border-bottom: ${e.isCompact?"rgba(0,0,0,0.06) solid 1px":"none"};\n background: ${(e=>e.isCompact||e.isUnifiedStyling?"white":e.colors.secondaryColor)(e)}\n }\n\n .intercom-lightweight-app-messenger-footer{\n position:absolute;\n bottom:0;\n width: 100%;\n height: 80px;\n background: #fff;\n font-size: 14px;\n line-height: 21px;\n border-top: 1px solid rgba(0, 0, 0, 0.05);\n box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.05);\n }\n\n @media print {\n .intercom-lightweight-app {\n display: none;\n }\n }\n`;var t};var Li=n(49651);const Ni=(e,t)=>{const{onLauncherClick:n,onLauncherHover:s,launcherLogoUrl:r,allowSelfServeIcon:i}=t,o=Di(t),a=e.document.createElement("div");a.addEventListener("click",n,!0),a.addEventListener("mouseover",s,!0),a.addEventListener("keydown",o,!0),a.setAttribute("class","intercom-lightweight-app-launcher intercom-launcher"),a.setAttribute("role","button"),a.setAttribute("tabindex","0"),a.setAttribute("aria-label",(0,Li.Tl)("open_intercom_messenger")),a.setAttribute("aria-live","polite");const c=e.document.createElement("div");if(c.setAttribute("class","intercom-lightweight-app-launcher-icon intercom-lightweight-app-launcher-icon-open"),r){const t=e.document.createElement("img");t.setAttribute("src",r),t.setAttribute("alt",""),t.setAttribute("class","intercom-lightweight-app-launcher-custom-icon-open"),c.appendChild(t)}else i?(c.setAttribute("class","intercom-lightweight-app-launcher-icon intercom-lightweight-app-launcher-icon-self-serve"),c.innerHTML='\n'):c.innerHTML='';a.appendChild(c);const l=e.document.createElement("div");return l.setAttribute("class","intercom-lightweight-app-launcher-icon intercom-lightweight-app-launcher-icon-minimize"),l.innerHTML='\n \n\n',a.appendChild(l),a},Ui=(e,t,n,s,r,i)=>o=>{if(i.textContent=zi(o),t.locale!==o.locale&&(0,Li.xS)(o.locale),!t.isAppActive&&o.isAppActive?e.document.body.appendChild(n):t.isAppActive&&!o.isAppActive&&e.document.body.removeChild(n),!t.isLauncherEnabled&&o.isLauncherEnabled){const t=Ni(e,o);n.appendChild(t)}else if(!o.isLauncherEnabled){const t=(e=>e.document.querySelector(".intercom-lightweight-app-launcher"))(e);t&&n.contains(t)&&n.removeChild(t)}t.isMessengerOpen||!o.isMessengerOpen||o.hideLightweightAppMessenger?t.isMessengerOpen&&!o.isMessengerOpen&&(n.removeChild(s),n.removeChild(r)):(n.appendChild(s),n.appendChild(r)),t=o},Bi=(e,t)=>()=>{const{body:n}=e.document;t&&n.contains(t)&&n.removeChild(t)},Di=({onLauncherKeypress:e})=>({keyCode:t})=>{t!==ni.Rk.ENTER&&t!==ni.Rk.SPACE||e()},Hi=({onTabKeyDown:e})=>({keyCode:t})=>{t===ni.Rk.TAB&&e()},$i=({onClick:e})=>()=>{e()},Vi=(e,t)=>{const{isAppActive:n,isLauncherEnabled:s,isMessengerOpen:r,locale:i,isCompact:o}=t;void 0!==i&&(0,Li.xS)(i);const a=Hi(t),c=$i(t);e.document.addEventListener("keydown",a,!0),e.document.addEventListener("click",c,!1);const l=e.document.createElement("div");if(l.setAttribute("class","intercom-lightweight-app"),n&&e.document.body.appendChild(l),s){const n=Ni(e,t);l.appendChild(n)}else(0,hn.Df)("[Intercom] Launcher is disabled in settings or current page does not match display conditions");const d=e.document.createElement("div");d.setAttribute("class","intercom-lightweight-app-messenger intercom-messenger"),d.setAttribute("aria-live","polite");const u=e.document.createElement("div");if(u.setAttribute("class","intercom-lightweight-app-messenger-header"),d.appendChild(u),!o){const t=e.document.createElement("div");t.setAttribute("class","intercom-lightweight-app-messenger-footer"),d.appendChild(t)}const p=e.document.createElement("div");p.setAttribute("class","intercom-lightweight-app-gradient"),r&&(l.appendChild(d),l.appendChild(p));const h=e.document.createElement("style");h.setAttribute("id","intercom-lightweight-app-style"),h.setAttribute("type","text/css");const g=e.document.createTextNode(zi(t));h.appendChild(g),l.appendChild(h);return{updateLightweightApp:Ui(e,t,l,d,p,g),removeLightweightApp:Bi(e,l)}},Fi=(0,Vn.Mz)([e=>e.app,e=>e.launcherSettings],((e,t)=>e.isBooted||e.bootFailed||e.isBooting&&(null==t?void 0:t.instantBootEnabled)||e.isBooting&&!(null!=t&&t.isLoading)&&(null==t?void 0:t.showLauncher))),qi=(0,Vn.Mz)([e=>e.user],(e=>e?e.locale:void 0)),Wi=e=>({type:f.HGK,isActive:e}),Gi=(0,Vn.j8)({isAppActive:Fi,isLauncherEnabled:l.A,isMessengerOpen:Ai.A,customization:Ei.A,accessibility:Oi,colors:xi,launcherLogoUrl:Ii.X,allowSelfServeIcon:Yn.Np,locale:qi,hideLightweightAppMessenger:Yn.CO,isCompact:Ur.V$,isUnifiedStyling:Ur.SI}),Ji=e=>{const t=(0,Ur.BU)(e.getState());(0,B.A5)("clicked","launcher","in_app","",{is_messenger_open:!1,is_custom_launcher:!1,is_borderless_open:!1,space_opened:t}),e.dispatch((0,Rr.kB)())},Ki=(e,t)=>{const n=((e,t)=>({isMobile:(0,i.IS)(),onLauncherClick:()=>{const{tabNavigation:e}=t.getState().accessibility;e&&t.dispatch((0,C.y)(!1)),Ji(t)},onLauncherHover:()=>{t.dispatch((0,Ht.LV)()),t.dispatch((0,Ht.pR)())},onLauncherKeypress:()=>{Ji(t)},onClick:()=>{const{tabNavigation:e}=t.getState().accessibility;e&&t.dispatch((0,C.y)(!1))},onTabKeyDown:()=>{const{tabNavigation:e}=t.getState().accessibility;e||t.dispatch((0,C.y)(!0))}}))(0,t),s=Gi(t.getState()),r=Object.assign({},s,n),{updateLightweightApp:o,removeLightweightApp:a}=Vi(e,r);t.dispatch(Wi(!0));const c=t.subscribe((()=>{const e=Gi(t.getState());if(e===s)return;const r=Object.assign({},e,n);o(r)}));return()=>{c(),a(e),t.dispatch(Wi(!1))}};var Xi=n(99886),Qi=n(76974);const Zi=(0,Vn.Mz)([e=>e.app.isMessengerOpen],(e=>e)),Yi=(0,Vn.Mz)([z.A],(e=>e.length>0)),eo=(0,Vn.Mz)([L.A],(e=>e.length>0)),to=(0,Vn.Mz)([Xi.A],(e=>e.length>0)),no=(0,Vn.Mz)([e=>e.install.isInstallModeOpen],(e=>e)),so=(0,Vn.Mz)([e=>e.banners],(e=>e.length>0)),ro=(0,Vn.Mz)([Qi.cV],(e=>e)),io=(0,Vn.Mz)([e=>e.launcherDiscoveryMode.isLauncherDiscoveryModeOpening],(e=>e)),oo=(0,Vn.Mz)([e=>e.tour.activeTour],(e=>null!=e)),ao=(0,Vn.Mz)([e=>e.survey],(e=>!!e)),co=(0,Vn.Mz)([Zi,Yi,eo,to,no,so,ro,io,oo,ao],((e,t,n,s,r,i,o,a,c,l)=>Boolean(e||t||n||s||r||i||o||a||c||l)));var lo=n(23396),uo=n(37046);const po=async(e=3)=>{try{const t=Date.now(),s=await Si()((async()=>await Promise.all([n.e(5563),n.e(4315),n.e(8462),n.e(3524)]).then(n.bind(n,24081))),{retries:e}),r=Date.now();return(0,B.Ve)("load_app_bundle_duration",r-t),s.default}catch(e){throw(0,B.oS)("load_app_bundle_failed"),e}},ho=async(e=3)=>{try{return(await Si()((async()=>await Promise.all([n.e(5563),n.e(7346),n.e(8462),n.e(8635)]).then(n.bind(n,53521))),{retries:e})).default}catch(e){throw e}},go=async e=>{try{const n=e.getState(),{launcherLogoUrl:s}=n.app;if(!s)return;await(t=s,new Promise(((e,n)=>{const s=new Image;s.addEventListener("load",(()=>e(s))),s.addEventListener("error",(()=>n(s))),s.src=t})))}catch(e){(0,B.oS)("load_launcher_image_failed")}var t},vo=async(e,t)=>{await go(t);const n=!(0,uo.z)()?Ki(e,t):()=>{};let s,r,i=!0;return(e=>new Promise((t=>{const n=e.subscribe((()=>{(0,lo.Ok)(e.getState())&&(n(),t())}))})))(t).then((async()=>{const n=await ho();s=n(e,t)})),(e=>new Promise((t=>{(0,uo.z)()&&t();const n=e.subscribe((()=>{co(e.getState())&&(n(),t())}))})))(t).then((async()=>{if(!i)return;const s=await po();r=await s(e,t);let o=!1;const a=t.subscribe((()=>{const e=t.getState();!o&&e.app.isMounted&&(o=!0,n(),a())}))})),()=>{i&&(r?r():n(),s&&s(),i=!1)}},mo=E()("intercom.app.actions.user.skip-ping");const fo=E()("intercom.app");const yo=class App{constructor(e){this.renderApp=void 0,this.session=void 0,this.window=void 0,this.destroySession=e=>{this.session.destroy(e),this.session=new bi(this.window),this.renderApp&&this.renderApp.then((e=>e())),this.renderApp=void 0},this.window=e,this.session=new bi(this.window,null,this.destroySession)}boot(e,t){this.fetchTooltips(e),this.session.fetchLauncherSettingsIfNecessary(e),this.session.createCustomizationOverride(e),this.session.setLauncherEnabledOverride(e);const n=this.createOrUpdateUser(e,"apiBoot").then((()=>t()));return this.session.openOnBoot(),n}createOrUpdateUser(e,t){const n=this.session.createOrUpdateUser(e,t);return this.renderApp||(this.renderApp=vo(this.window,this.session.store)),n}openMessenger(){this.session.openMessenger()}openMessengerFromAPI(){this.session.openMessenger();const{user:e}=this.session.store.getState();(0,B.Jr)(e,"opened","messenger","in_app","from_api")}showArticle(e,t,n){this.session.showArticle(e,t,n)}showNews(e){this.session.showNews(e)}showTicket(e){this.session.showTicket(e)}showTicketForm(e){this.session.showTicketForm(e)}showSpace(e){this.session.showSpace(e)}closeMessenger(){this.session.closeMessenger()}closeMessengerFromAPI(){this.session.closeMessenger();const{user:e}=this.session.store.getState();(0,B.Jr)(e,"closed","messenger","messenger","from_api")}showConversations(){this.session.showConversations()}showNewConversation(e){this.session.showNewConversation(e)}sendMessage(e){this.session.sendMessage(e)}showConversation(e){this.session.showConversation(e)}startSurvey(e){const t=parseInt(e,10);if(isNaN(t))return void(0,hn.jP)("Invalid surveyId passed to startSurvey. surveyId must be a number");this.session.startSurvey(t);const{user:n}=this.session.store.getState();(0,B.Jr)(n,"requested","messenger","survey","from_api",{ruleset_id:t})}startChecklist(e){const t=parseInt(e,10);isNaN(t)?(0,hn.jP)("Invalid checklistId passed to startChecklist. ChecklistId must be a number"):this.session.startChecklist(t)}startTour(e){const t=parseInt(e,10);if(isNaN(t))return void(0,hn.jP)("Invalid tourId passed to startTour. tourId must be a number");this.session.startTour(t);const{user:n}=this.session.store.getState();(0,B.Jr)(n,"requested","messenger","tour","from_api",{tour_id:t})}createEvent(e,t){this.session.createEvent(e,t)}onMessengerOpen(e){this.session.onMessengerOpen(e)}onMessengerClose(e){this.session.onMessengerClose(e)}onUserEmailSupplied(e){this.session.onUserEmailSupplied(e)}onUnreadConversationCountChange(e){this.session.onUnreadConversationCountChange(e)}getArticleReaction(e,t,n){this.session.getArticleReaction(e,t,n)}createArticleReaction(e,t,n,s){this.session.createArticleReaction(e,t,n,s)}previewInboundCustomBot(e){this.session.previewInboundCustomBot(e)}previewOutboundCustomBot(e){this.session.previewOutboundCustomBot(e)}previewWorkflow(e){this.session.previewWorkflow(e)}createMetric(e,t){this.session.createMetric(e,t)}getVisitorId(){return this.session.getVisitorId()}enterTourPreviewMode(e){return this.session.enterTourPreviewMode(e)}exitTourPreviewMode(){return this.session.exitTourPreviewMode()}previewSurvey(e){return this.session.previewSurvey(e)}previewBanner(e){return this.session.previewBanner(e)}previewPost(e){return this.session.previewPost(e)}fetchTooltips(e){try{const t=864e5,n=G.L.get("lastTooltipsReceivedAt");if(!n||n<(new Date).getTime()-t)return;return this.session.fetchTooltips(e)}catch(e){return}}previewTooltipGroup(e){return this.session.previewTooltipGroup(e)}exitPreviewTooltipGroup(){return this.session.exitPreviewTooltipGroup()}handleIntersectionBoot(){this.session.handleIntersectionBoot()}trigger(e){if(this.session.isReady)return this.session.trigger(e);(0,hn.jP)("Intercom is not ready. Aborting MessengerTrigger request")}triggerBot(e){if(this.session.isReady)return this.session.triggerBot(e)}setInstallationType(e){this.session.setInstallationType(e)}async update(e){this.session.createCustomizationOverride(e),this.session.setLauncherEnabledOverride(e);const t=this.session.store.getState();if(function(e,t,n){const s=Date.now()-t.lastRequestAt;if(mo("Time since last ping (in milliseconds):",s),s>36e5)return!1;if(Xe()(e))return!0;const r=!!e.email&&e.email!==(null==n?void 0:n.email),i=!!e.user_id&&e.user_id!==(null==n?void 0:n.userId),o=!!e.app_id&&e.app_id!==(null==n?void 0:n.appId);if(r||i||o)return!1;const a=Xr(e);if(Xe()(a))return!0;const c=t.customAttributes;return JSON.stringify(a)===JSON.stringify(c)}(e,t.user,t.session))fo("Last ping was less than an hour ago. Skipping ping."),this.session.fetchLauncherSettingsIfNecessary({}),this.session.createPageViewEvent();else try{await this.createOrUpdateUser(e,"apiUpdate")}finally{this.session.markHomeDataAsStale()}}};var _o=n(28065),wo=n(74623),bo=n(60553),Co=n(20169),So=n(70060),Io=n(9111),Ao=n(57909),Eo=n(79191);const Oo="Intercom";function ko(e){const t=function(e){return e[Oo]}(e);return t&&t.q||[]}var To=n(31837),xo=n(67098),Mo=n.n(xo);const Ro=n(76141),jo="intercom-snippet__intersection-mode",Po="intersection-frame",zo="intersection-container";(0,n(70745).Ur)(window.parent),(0,s.A)(window),function(e){if(void 0!==e)try{const t=new e.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){const n=function(e,t){(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable;const n=document.createEvent("CustomEvent");n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail);const s=n.preventDefault;return n.preventDefault=function(){s.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};n.prototype=e.Event.prototype,e.CustomEvent=n}}(window),window.requestAnimationFrame=window.parent.requestAnimationFrame||window.requestAnimationFrame;const Lo=parent;(0,ke.MS)(window);const No=new yo(Lo);(0,ke.LV)(No.session.store);const Uo=function(e){return(...t)=>{const n=(t={},n=()=>{})=>{t.api_base&&(0,_r.yJ)("api_base",t.api_base);const s=e.session.getSettings(),r=Object.assign({},s,t);if(r.disabled)return(0,B.sq)("messenger_disabled",{},!0),(0,B.oS)("messenger_disabled",{app_id:s.app_id}),void(0,B.WA)({appId:s.app_id});r.app_id&&"APP_ID"!==r.app_id||(0,hn.FS)("[Intercom] The App ID in your code snippet has not been set. Set it to your App ID found in settings to complete installation: https://app.intercom.com/a/apps/_/settings/web"),!(0,_r.b5)()&&r.api_base&&"https://api-iam.intercom.io"!==r.api_base&&"https://api-iam.eu.intercom.io"!==r.api_base&&"https://api-iam.au.intercom.io"!==r.api_base&&-1===r.api_base.indexOf(".intercom-messenger.com")&&(0,hn.FS)("[Intercom] The api_base value in your code snippet is invalid. Set it to the URL matching your workspace region at https://developers.intercom.com/installing-intercom/web/installation/#installing-the-messenger-for-regional-data-hosted-customers"),r.installation_type&&e.setInstallationType(r.installation_type),s.disabled&&e.session.setSetting("disabled",!1),r.handoff_with_javascript&&(0,Ao.U)(r.handoff_with_javascript),e.boot(t,n)};let s={};s={boot(e={}){n(e)},update(t){e.update(t)},shutdown(t=!0){e.destroySession(t)},show(){e.openMessengerFromAPI()},showSpace(t){e.showSpace(t)},showArticle(t,n,s){e.showArticle(t,n,s)},showCollection(e){s["private:navigate"](`${ci.ZL.path}/collection/${e}`)},showNews(t){e.showNews(t)},showTicket(t){e.showTicket(t)},showTicketForm(t){e.showTicketForm(t)},showMessages(){e.showConversations()},showNewMessage(t){e.showNewConversation(t)},showConversation(t){e.showConversation(t)},startSurvey(t){e.startSurvey(t)},startChecklist(t){e.startChecklist(t)},startTour(t){e.startTour(t)},hide(){e.closeMessengerFromAPI()},trackEvent(t,n){e.createEvent(t,n)},onShow(t){e.onMessengerOpen(t)},onHide(t){e.onMessengerClose(t)},onUnreadCountChange(t){e.onUnreadConversationCountChange(t)},onUserEmailSupplied(t){e.onUserEmailSupplied(t)},trigger(t){return e.trigger(t)},triggerBot(t){return e.triggerBot(t)},getVisitorId(){return e.getVisitorId()},version(){return"85e221b92c0f29d34ba8265f7cd543f8eaadbdea"},"private:getArticleReaction":(t,n,s)=>{e.getArticleReaction(t,n,s)},"private:createMetric":(t,n)=>{e.createMetric(t,n)},"private:createArticleReaction":(t,n,s,r)=>{e.createArticleReaction(t,n,s,r)},"private:enterTourPreviewMode":t=>{e.enterTourPreviewMode(t)},"private:exitTourPreviewMode":()=>{e.exitTourPreviewMode()},"private:bootPreviewOutboundCustomBot":(e={},t=()=>{})=>{n(e,t)},"private:bootWithCallback":(e={},t=()=>{})=>{n(e,t)},"private:previewInboundCustomBot":t=>{e.previewInboundCustomBot(t)},"private:previewOutboundCustomBot":t=>{e.previewOutboundCustomBot(t)},"private:previewWorkflow":t=>{e.previewWorkflow(t)},"private:showConversation":t=>{e.showConversation(t)},"private:previewSurvey":t=>{e.previewSurvey(t)},"private:previewBanner":t=>{e.previewBanner(t)},"private:previewPost":t=>{e.previewPost(t)},"private:handleIntersectionBooted":()=>{e.handleIntersectionBoot()},"private:previewTooltipGroup":t=>{(0,_o.v)("Previewing tooltip group",t),e.previewTooltipGroup(t)},"private:exitPreviewTooltipGroup":()=>{e.exitPreviewTooltipGroup()},"private:bootConversationDemoMode":(t={},s=()=>{})=>{(0,uo.F)(),n(t,s),e.showNewConversation()},"private:sendMessage":t=>{e.sendMessage(t)},"private:conversational:bootMessengerPreview":(t={},s=()=>{})=>{(0,uo.F)(),n(t,s),e.showNewConversation()},"private:setPreviewPersonalitySettings":t=>{t.previewPersonalitySettings&&((0,So.UA)(t.previewPersonalitySettings),e.showNewConversation())},"private:setFinPreviewSettings":t=>{(0,Io.$R)(t),e.showNewConversation()},"private:workflow:bootMessengerPreview":(t={},s=()=>{})=>{var r;(0,uo.F)(),(0,wo.u5)(t.workflowInstanceId),(0,Eo.UF)({previewSessionId:t.previewSessionId}),delete t.workflowInstanceId,t.finExperimentalDemo&&((0,bo.ds)(t.finExperimentalDemo),delete t.finExperimentalDemo),null!=(r=e.session.getSettings())&&null!=(r=r.email)&&r.startsWith("preview-user")&&t.previewModeCustomization&&((0,Co.l)(t.previewModeCustomization),delete t.previewModeCustomization),n(t,s),e.showNewConversation()},"private:setInstallationType":t=>{e.setInstallationType(t)},"private:navigate":(t,{method:n="push"}={})=>{-1===t?e.session.store.dispatch((0,r.OE)()):e.session.store.dispatch("push"===n?(0,r.VC)(t):(0,r.HC)(t))}};const i=t[0];if(!i||!s[i])return;return e.session.getSettings().disabled&&"boot"!==i?void 0:s[i](...t.slice(1))}}(No),Bo=function(e){return ko(e).some((e=>"boot"===e[0]||"shutdown"===e[0]||"private:workflow:bootMessengerPreview"===e[0]||"private:conversational:bootMessengerPreview"===e[0]))}(Lo);!function(e,t){const n=ko(t);for(;n.length;)e(...n.shift())}(Uo,Lo),function(e,t){t[Oo]=e,e.booted=!0}(Uo,Lo),Bo||Uo("boot"),new class Intersection{constructor(e){this.intercomDomains=["http://intercom.test","http://app.intercom.test","https://app.intercom.com","https://app.intercom.io","https://app.eu.intercom.com","https://app.au.intercom.com","https://intercomrades.intercom.io","https://intercomrades.intercom.com","https://intercomrades.eu.intercom.com","https://intercomrades.au.intercom.com","http://intercomrades.intercom.test"],this.window=e,this.opener=this.window.opener,this.window===this.window.parent||this.window.opener||(this.opener=this.window.parent),this.setupIntersection()}setupIntersection(){this.openerExists()&&(this.modeExists()?this.injectIntersection():(this.setupMessageListener(),this.sendMessageToOpener({type:"intercom-snippet__ready"})))}sendMessageToOpener(e){(0,To.Z2)(this.opener)&&this.opener.postMessage(e,"*")}openerExists(){return!!this.opener}modeExists(){return!!G.s.get(jo)}setupMessageListener(){this.window.addEventListener("message",this.bootIntersection.bind(this))}getMode(){return G.s.get(jo)}getAppId(){return G.s.get("intercom-snippet__intersection-app-id")}getLocale(){return G.s.get("intercom-snippet__intersection-locale")}bootIntersection(e){-1!==this.intercomDomains.indexOf(e.origin)&&"intercom-snippet__boot-intersection"===e.data.type&&(this.removeMessageListener(),this.saveOpenerOrigin(e.origin),this.injectIntersection(e.data.mode,e.data.appId,e.data.locale))}removeMessageListener(){this.window.removeEventListener("message",this.bootIntersection.bind(this))}saveOpenerOrigin(e){G.s.set("intercom-snippet__intersection-opener-origin",e)}injectIntersection(e,t,n){this.window.document.getElementById(zo)||(this.injectIntersectionFrame(),this.injectEmberApp(e,t,n))}injectIntersectionFrame(){const e=this.window.document.createElement("div"),t=this.window.document.createElement("iframe");e.id=zo,t.id=Po,t.frameBorder=0,e.appendChild(t),this.window.document.body.insertAdjacentElement("beforeend",e)}createScriptTag(e){const t=document.createElement("script");return t.type="text/javascript",t.charset="utf-8",t.src=e,t}injectFrameTemplate(e,t=this.getMode(),n=this.getAppId(),s=this.getLocale()){const r=Mo()(t),i=Mo()(n),o=Mo()(s);e.open(),e.write(`\n \n \n Intersection \n \n \n \n \n \n \n `),e.close()}injectIntersectionScripts(e){const t=this.createScriptTag(Ro.intersection_js),n=this.createScriptTag(Ro.intersection_styles);e.contentWindow.document.head.appendChild(t),e.contentWindow.document.head.appendChild(n)}injectEmberApp(e,t,n){const s=this.window.document.getElementById(Po);this.injectFrameTemplate(s.contentDocument,e,t,n),this.injectIntersectionScripts(s)}}(Lo)},1187:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s=e=>{try{return window.btoa(unescape(encodeURIComponent(e)))}catch(t){return e}}},25544:(e,t,n)=>{"use strict";n.d(t,{I1:()=>o,PC:()=>i});var s=n(3671);const r="gtm_cookie_consent";function i(e){return e.requiresCookieConsent||!1}function o(e){if(!e)return!0;if(!(e.requiresCookieConsent||!1))return!0;const t=s.A.read(r);if(!t)return!1;const n=function(e){const{advertising:t,marketing:n,analytics:s,performance:r}=Object.fromEntries(e.split("+").map((e=>[e,!0])));return{advertising:!!t,analytics:!!s,marketing:!!n,performance:!!r}}(t);return n.analytics}},43087:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(69830);const r=({promise:e,maxRetries:t=3})=>{let n=0;const r=window.parent.requestAnimationFrame,i=(o,a)=>{e().then((e=>o(e)),(e=>{nr((()=>i(o,a)))),1e3*n)):((0,s.sq)("dynamicImportCdnError",{message:e&&e.message}),a(e))}))};return new Promise(((e,t)=>i(e,t)))}},51543:(e,t,n)=>{"use strict";let s,r;n.d(t,{US:()=>d,Zn:()=>u,fx:()=>o,mS:()=>l,vH:()=>c,x6:()=>a});let i=!1;const o=()=>s,a=e=>s=e,c=e=>r=e,l=()=>r,d=()=>!i,u=e=>i=e},40741:(e,t,n)=>{"use strict";n.d(t,{A:()=>PredicateChain});class Predicate{constructor(e){this.chain=e,this.matched=!1}trigger(){this.triggering||(this.triggering=!0,this.matched=!0,this.chain.evaluate(),this.triggering=!1)}evaluate(){return this.matched}cancel(){}}class CompositePredicate extends Predicate{constructor(e,t){super(e),this.predicates=t}cancel(){this.predicates.forEach((e=>e.cancel()))}}class AndPredicate extends CompositePredicate{evaluate(){return this.predicates.every((e=>e.evaluate()))}}class DurationPredicate extends Predicate{constructor(e,t){super(e),this.interval=t,this.timer=setTimeout((()=>this.trigger()),t)}cancel(){clearTimeout(this.timer)}}var s=n(70745);class TimeOnPagePredicate extends Predicate{constructor(e,t){super(e),this._getURL=()=>{var e;return null==(e=(0,s.KQ)())?void 0:e.href.toLowerCase()},this._setURL=()=>this.url=this._getURL(),this.interval=t,this._setTimeOnPageTimeout()}_check(){this.url!==this._getURL()&&this._resetTimeOnPage()}_resetTimeOnPage(){this.cancel(),this.matched=!1,this._setTimeOnPageTimeout()}_setTimeOnPageTimeout(){this.timer=setTimeout((()=>this.trigger()),this.interval),this.urlCheckInterval=setInterval((()=>this._check()),100),this._setURL()}evaluate(){return this._check(),this.matched}cancel(){clearTimeout(this.timer),clearInterval(this.urlCheckInterval)}}class DurationDeltaPredicate extends Predicate{constructor(e,t,n){super(e),this.attribute=n,this.interval=t,setTimeout((()=>this._createDeltaTimer()),0)}_createDeltaTimer(){this.timer=setTimeout((()=>{this._evaluateDeltaPredicate()?this.trigger():this._createDeltaTimer()}),this._getInterval())}_getInterval(){const e=this.getTimestamp();if(!e)return this.interval;const t=Date.now()-e;return Math.max(100,this.interval-t)}_evaluateDeltaPredicate(){const e=this.getTimestamp();if(!e)return!1;return Date.now()-e>this.interval}getTimestamp(){return this.chain.getAttribute(this.attribute)}cancel(){clearTimeout(this.timer)}}class PeriodicPredicate extends Predicate{constructor(e,t,n){super(e),this.missing=n||!1,this.interval=t,this.intervalTimer=setInterval((()=>{this._check()}),t)}_check(){this.check()?this.trigger():this.matched=!1}evaluate(){return this._check(),this.matched}cancel(){clearInterval(this.intervalTimer)}}class DurationSincePredicate extends PeriodicPredicate{constructor(e,t,n,s){super(e,t,s),this.attribute=n}check(){const e=this.chain.getAttribute(this.attribute);if(!e)return this.missing;return Date.now()-e>=this.interval}}class EqualsPredicate extends PeriodicPredicate{constructor(e,t,n,s,r){super(e,t),this.attribute=n,this.value=s,this.other=r}check(){return this.other?this.chain.getAttribute(this.other)===this.chain.getAttribute(this.attribute):this.value===this.chain.getAttribute(this.attribute)}}class OrPredicate extends CompositePredicate{evaluate(){return this.predicates.some((e=>e.evaluate()))}}var r=n(8375);class CssSelectorPredicate extends Predicate{constructor(e,t){super(e),this._check=e=>{if(this.isNodeVisible(e)){if(this.matched)return;this.trigger()}else this.matched=!1},this.selector=t}evaluate(){const e=(0,r.fo)(window.parent.document,this.selector);return this._check(e),this.matched}isNodeVisible(e){return e&&(0,r.nf)(e)}}class StringPredicate extends Predicate{constructor(e,t,n,s){super(e),this.targetString=t,this.comparison=n,this.candidateString=s}evaluate(){return this.matched=this._check(),this.matched}_check(){switch(this.comparison){case"eq":return this.candidateString===this.targetString;case"ne":return this.candidateString!==this.targetString;case"starts_with":return this.targetString.startsWith(this.candidateString);case"ends_with":return this.targetString.endsWith(this.candidateString);case"contains":return-1!==this.targetString.indexOf(this.candidateString);case"not_contains":return!(-1!==this.targetString.indexOf(this.candidateString));case"known":return!!this.targetString&&""!==this.targetString;default:return!1}}}class UrlPredicate extends StringPredicate{constructor(e,t,n){super(e),this._getURL=()=>{var e;return null==(e=(0,s.KQ)())?void 0:e.href.toLowerCase()},this.targetString=this._getURL(),this.comparison=t,this.candidateString=null==n?void 0:n.toLowerCase(),setTimeout((()=>this.evaluate()),0),this.interval=setInterval((()=>this.evaluate()),1e3)}evaluate(){return this.targetString=this._getURL(),this._check()?this.trigger():this.matched=!1,this.matched}_check(){if("regex"===this.comparison){return new RegExp(this.candidateString).test(this.targetString)}return super._check()}cancel(){clearInterval(this.interval)}}class PredicateChain{constructor(e,t){this.condition=e,this.callback=t,this.root=new AndPredicate(this,this.processSubpredicates(e.predicates))}evaluate(){if(!this.evaluating){this.evaluating=!0;const e=this.root.evaluate();return e&&(this.cancel(),setTimeout((()=>this.callback(this.condition)),0)),this.evaluating=!1,e}}cancel(){this.root.cancel()}setContext(e){this.context=e}getAttribute(e){if(this.context)return this.context[e]}processPredicate(e){var t;switch(e.type){case"or":return new OrPredicate(this,this.processSubpredicates(e.predicates));case"and":return new AndPredicate(this,this.processSubpredicates(e.predicates));case"eq":return new EqualsPredicate(this,this.parseInterval(e.interval),e.attribute,e.value,e.other);case"string":if("client_attributes.last_visited_url"===e.attribute)return new UrlPredicate(this,e.comparison,e.value);case"duration_integer":return null!=(t=e.attribute)&&-1!==t.indexOf("time_on_page")?new TimeOnPagePredicate(this,1e3*this.parseInterval(e.value)):new DurationPredicate(this,1e3*this.parseInterval(e.value));case"duration_integer_ms":return new DurationPredicate(this,this.parseInterval(e.value));case"duration_delta":return new DurationDeltaPredicate(this,this.parseInterval(e.value),e.attribute);case"duration_since":return new DurationSincePredicate(this,this.parseInterval(e.value),e.attribute,e.missing);case"css_selector":return new CssSelectorPredicate(this,e.value)}}parseInterval(e){return parseInt(e,10)}processSubpredicates(e){return e?e.map((e=>this.processPredicate(e))).filter(Boolean):[]}}},70745:(e,t,n)=>{"use strict";var s;n.d(t,{Jz:()=>p,KQ:()=>c,UP:()=>l,Ur:()=>o,eA:()=>u,mC:()=>d,wS:()=>a});let r=null==(s=window)?void 0:s.parent,i=[];const o=e=>{r=e,window.parent.addEventListener("resize",(e=>i.forEach((t=>t(e)))))},a=()=>{var e,t;return(null==(e=r)||null==(e=e.intercomSettings)?void 0:e.page_title)??(null==(t=r)||null==(t=t.document)?void 0:t.title)},c=()=>{var e;return null==(e=r)?void 0:e.location},l=()=>{var e;return null==(e=r)||null==(e=e.document)?void 0:e.referrer},d=()=>{var e,t;return{innerWidth:null==(e=r)?void 0:e.innerWidth,innerHeight:null==(t=r)?void 0:t.innerHeight}},u=e=>{i.push(e)},p=e=>i=i.filter((t=>t!==e))},427:(e,t,n)=>{"use strict";n.d(t,{N0:()=>s,Nd:()=>r,ho:()=>a,ks:()=>c,m$:()=>o,oH:()=>l,zR:()=>i});const s="set-iframe-src",r="close",i="submit-sheet",o="start-navigation",a="finish-navigation",c="set-title";function l(e,t,n){return{intercomSheet:{type:e,payload:t,meta:{proxy:n}}}}},84328:(e,t,n)=>{"use strict";n.d(t,{BU:()=>S,EY:()=>_,Ey:()=>O,G:()=>E,Gm:()=>h,HZ:()=>g,V:()=>I,a6:()=>p,aq:()=>d,ef:()=>s,eu:()=>a,ik:()=>l,jx:()=>i,m4:()=>C,mM:()=>f,oZ:()=>w,oq:()=>y,ow:()=>A,pi:()=>c,qY:()=>m,rk:()=>r,uV:()=>u,vU:()=>b,wU:()=>k,zM:()=>o,zU:()=>v});const s="search_browse_card_input",r="article",i="chrome",o="collection",a="article_suggestion",c="article_suggestions",l="reaction",d="newsfeed",u="news_item",p="news",h="help_center",g="recent_conversation_card",v="help_center_card",m="search_browse",f="messenger",y="home",_="help",w="messenger",b="home_screen",C="search_browse",S="search_browse_article",I="newsfeed",A="help_center",E="help_center_suggestions",O="home",k="from_ticket_space"},69830:(e,t,n)=>{"use strict";n.d(t,{sL:()=>V,uo:()=>H,oS:()=>$,A2:()=>D,A5:()=>Q,Ve:()=>F,sq:()=>K,Jr:()=>j,ql:()=>L,fm:()=>N,Ay:()=>Z,ZJ:()=>G,id:()=>P,WA:()=>R,nn:()=>B,Bd:()=>x,M2:()=>W});var s=n(62193),r=n.n(s),i=n(81170);const o={received_first_streamed_token:4},a=(e=20)=>1===e||Math.random()<1/e,c=(e=!1,t=null)=>e?1:o[t]??20;var l=n(22060),d=n(10377),u=n(51543),p=n(25544);const h=100,g=50,v=30,m=30,f=5;let y,_,w=0,b=null,C=!1,S=null;const I=[],A={},E={},O=[],k=[],T=[],x=e=>S=e;function M(e,t){return e.splice(0,Math.min(e.length,t))}function R(e=null){if(!(0,p.I1)(S))return;if(w>=f)return;const t=M(I,h);if(O.length>0||t.length>0){const n=M(k,h),s=M(T,h),r=M(O,h),i=e||y;d.Ay.createMetrics(i,t,n,s,r).catch((()=>{var e,i,o,a;w++,e=t,i=n,o=s,a=r,Array.prototype.unshift.apply(I,e),Array.prototype.unshift.apply(k,i),Array.prototype.unshift.apply(T,o),Array.prototype.unshift.apply(O,a)}))}}function j(e,t,n,s,r,i={}){if((0,p.I1)(e)){B(N(e,t,n,s,r,i))}}function P(){return _}function z(){var e;return r()(null==(e=S)||null==(e=e.app)||null==(e=e.openConfig)?void 0:e.layout)?"m4_metric":"m5_metric"}function L(e,t,n,s,r,i={}){return U(e,t,n,s,r,i,"educate_event")}function N(e,t,n,s,r,i={}){return U(e,t,n,s,r,i,z())}function U(e,t,n,s,r,o={},a="m4_metric"){if(!(0,p.I1)(e))return{};const c=e&&e.id?e.id:null,l=Object.assign({},o,{version:"85e221b92c0f29d34ba8265f7cd543f8eaadbdea"});return{id:i.A.generateUUID(),name:a,created_at:Math.round(Date.now()/1e3),metadata:Object.assign({user_id:c,action:t,object:n,place:s,context:r},l)}}function B(e){r()(e)||I.push(e)}function D(e){(0,u.mS)()&&k.push({level:"info",text:e})}function H(e){(0,u.mS)()&&k.lengthg||(t&&(e.tags=t),T.push(e))}function W(e,t,n={}){E[e]=E[e]||{},E[e][t]={start:Date.now(),meta:n}}function G(e,t,n={}){if(E.hasOwnProperty(e)&&E[e].hasOwnProperty(t)&&E[e][t].hasOwnProperty("start")){const s=E[e][t];K(e,Object.assign({duration:Date.now()-s.start,conversationUuid:t},s.meta,n)),delete E[e][t]}}function J(e,t={}){return{id:i.A.generateUUID(),name:e,createdAt:Date.now(),screenWidth:screen.width,screenHeight:screen.height,additionalMetaData:t,sessionId:y&&y.sessionId}}function K(e,t,n=!1){const s=c((0,l.j)()||(0,u.mS)(),e);if(void 0===_&&(_=a(s)),_||n){X(J(e,Object.assign({sample_rate:n?1:s},t)))}}function X(e){O.lengthR()),3e4)),C||(t.addEventListener("beforeunload",R),C=!0),function(e){return()=>{clearInterval(b),b=null,e.removeEventListener("beforeunload",R),C=!1,R()}}(t)},buildAndAddMetric:j,buildAndAddHcMetric:K,buildMetric:N,buildHcMetric:J,addHcMetric:X,addInfoLog:D,addErrorLog:H,addIncrementOpMetric:$,addCountOpMetric:V,addTimingOpMetric:F,clearMetricsState:function(){I.splice(0),k.splice(0),T.splice(0),O.splice(0),O.splice(0);for(const e in A)delete A[e];w=0},getShouldSample:P,startTimingMetric:function(e,t,n={}){A[e]={start:t,meta:n}},endTimingMetric:function(e,t={}){A.hasOwnProperty(e)&&A[e].hasOwnProperty("start")&&(K(e,Object.assign({duration:Date.now()-A[e].start},A[e].meta,t)),delete A[e])},buildEducateEventMetric:L,addEducateEventMetric:function(e,t,n,s,r){if((0,p.I1)(S)){B(L(S,e,t,n,s,r))}},publishMetricBatch:R}},5259:(e,t,n)=>{"use strict";function s(e){var t;e&&e.Element&&("function"!=typeof(t=e.Element.prototype).matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){const t=this,n=(t.document||t.ownerDocument).querySelectorAll(e);let s=0;for(;n[s]&&n[s]!==t;)++s;return Boolean(n[s])}),"function"!=typeof t.closest&&(t.closest=function(e){let t=this;for(;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}))}n.d(t,{A:()=>s})},67410:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,KI:()=>l});var s=n(80607),r=n(26763),i=n(15452),o=n(26265);const a={lastOpenAtTimestamp:0,isBooting:!1,isBooted:!1,bootFailed:!1,isRehydrated:!1,isMessengerOpen:!1,isMounted:!1,isWaitingForOpenContent:!0,openContentLoadingFailed:!1,isErrorReportingDisabled:!1,isOverrideSamplingEnabled:!1,isIntercomLinkEnabled:!1,features:{anonymousInboundMessages:!1,googleAnalytics:!1,inboundMessages:!1,googleAnalytics4Integration:!1},cookieDomain:void 0,userConversationGifsEnabled:!0,attachmentSettings:{conversationMediaEnabled:!0,conversationFilesEnabled:!0,conversationGifsEnabled:!0,conversationUploadExtensions:[]},isDeveloperWorkspace:!1,upfrontEmailCollection:{upfrontEmailCollectionSubmitted:!1,upfrontEmailCollectionSetting:"never",upfrontEmailCollectorShowing:!1},selfServeSuggestionsMatch:!1,accessToTeammateEnabled:!0,activeAdmins:[],customGoogleAnalyticsTrackerId:void 0,temporaryExpectationsMessage:null,hideLightweightAppMessenger:!1,hasTheMessengerBeenOpened:!1,navigateToPath:null,openConfig:{unifiedStyling:!1,layout:void 0,openTo:void 0,spaces:[],userHasReceivedChecklists:!1,userHasLiveNewsfeed:!1,userHasTickets:!1,recentConversationId:void 0},officeHoursResponse:void 0,path:"/",userTicketEmailFollowUpsEnabled:!1,conversationStateSyncSettings:{enabled:!1,syncInterval:1e4,startTimeout:1e4},openToNewConversation:void 0,userPartUxStyle:void 0,poweredBy:void 0},c=(0,i.Z0)({name:"app",initialState:a,reducers:{appMounted(e){e.isMounted=!0}},extraReducers:e=>{e.addCase(s.P2I,((e,t)=>{const{cookieDomain:n}=t.customizationAttributes;e.bootFailed=!1,e.isBooting=!e.isBooted,e.cookieDomain=n})),e.addCase(s.Rwq,((e,t)=>{const{backgroundImage:n,customGoogleAnalyticsTrackerId:s,expectedResponseDelay:r,expectedResponseDelayTranslationKey:i,features:o,helpCenterSiteUrl:a,isAudioEnabled:c,isDeveloperWorkspace:l,isErrorReportingDisabled:d,isIntercomLinkEnabled:u,isOverrideSamplingEnabled:p,lastActiveAt:h,launcherExpectedResponseDelayTranslationKey:g,logoUrl:v,name:m,officeHoursResponse:f,originCookieDomain:y,realtimeConfig:_,smsEnabled:w,teamGreeting:b,teamIntro:C,temporaryExpectationsMessage:S,upfrontEmailCollectionSetting:I,useCacheFor:A,userConversationGifsEnabled:E,openConfig:O,localizedExpectedResponseDelayShortText:k,localizedExpectedResponseDelayLongText:T,articleAutoReactionEnabled:x}=t.user.app,M=null!=A&&-1!==A.indexOf("inbound_conversations_disabled")&&(e.isRehydrated||e.isBooted)?e.inboundConversationsDisabled:t.user.app.inboundConversationsDisabled;Object.assign(e,{backgroundImage:n,bootFailed:!1,customGoogleAnalyticsTrackerId:s,expectedResponseDelay:r,expectedResponseDelayTranslationKey:i,features:o,helpCenterSiteUrl:a,inboundConversationsDisabled:M,isAudioEnabled:c,isBooted:!0,isBooting:!1,isDeveloperWorkspace:l,isErrorReportingDisabled:d,isIntercomLinkEnabled:u,isOverrideSamplingEnabled:p,lastActiveAt:h,launcherExpectedResponseDelayTranslationKey:g,logoUrl:v,name:m,officeHoursResponse:f,originCookieDomain:y,realtimeConfig:_,smsEnabled:w,teamGreeting:b,teamIntro:C,temporaryExpectationsMessage:S,userConversationGifsEnabled:E,articleAutoReactionEnabled:x,upfrontEmailCollection:Object.assign({},e.upfrontEmailCollection,{upfrontEmailCollectionSetting:I}),openConfig:O,localizedExpectedResponseDelayShortText:k,localizedExpectedResponseDelayLongText:T})})),e.addCase(s.oJu,((e,t)=>(t.isIdentityVerificationError?(e.bootFailed=!0,e.isBooting=!1,e.isBooted=!1):e.bootFailed=e.isBooting,e))),e.addCase(r.W.pending.toString(),(e=>{e.isWaitingForOpenContent=!0})),e.addCase(r.W.fulfilled.toString(),((e,t)=>{var n,s,r,i,a,c;e.isWaitingForOpenContent=!1,e.openContentLoadingFailed=!1,e.userTicketEmailFollowUpsEnabled=null==(n=t.payload)?void 0:n.userTicketEmailFollowUpsEnabled,e.attachmentSettings=null==(s=t.payload)?void 0:s.attachmentSettings,e.conversationStateSyncSettings=null==(r=t.payload)?void 0:r.conversationStateSyncSettings,e.messengerOpenRequestId=null==(i=t.payload)?void 0:i.intercomRequestId,e.userPartUxStyle=(null==(a=t.payload)?void 0:a.userPartUxStyle)||{container:o.gi.bubble},e.poweredBy=null==(c=t.payload)?void 0:c.poweredBy})),e.addCase(r.W.rejected.toString(),((e,t)=>{var n;e.isWaitingForOpenContent=!1,e.openContentLoadingFailed=!0,e.messengerOpenRequestId=null==(n=t.payload)?void 0:n.intercomRequestId})),e.addCase(s.J4C,((e,t)=>{e.isMessengerOpen=!0,e.hideLightweightAppMessenger=t.hideLightweightAppMessenger,e.hasTheMessengerBeenOpened=!0})),e.addCase(s.nQ0,(e=>{e.isMessengerOpen=!1,e.lastOpenAtTimestamp=Date.now()})),e.addCase(s.r2x,((e,t)=>{Object.assign(e,t.state.app,{features:Object.assign({},e.features,t.state.app.features),isRehydrated:!0})})),e.addCase(s.hp7,(e=>{e.upfrontEmailCollection=Object.assign({},e.upfrontEmailCollection,{upfrontEmailCollectorShowing:!e.upfrontEmailCollection.upfrontEmailCollectorShowing})})),e.addCase(s.n1W,((e,t)=>{e.accessToTeammateEnabled=t.accessToTeammateEnabled,e.selfServeSuggestionsMatch=t.selfServeSuggestionsMatch,e.activeAdmins=t.activeAdmins||[],e.activeBot=t.activeBot,e.openToNewConversation=t.openToNewConversation})),e.addCase(s.XiA,(e=>{e.upfrontEmailCollection=Object.assign({},e.upfrontEmailCollection,{upfrontEmailCollectionSubmitted:!0})})),e.addCase(s.oIU,((e,t)=>{e.privacyPolicyNotice={paragraph:t.paragraph,isDismissed:t.isDismissed}})),e.addDefaultCase((e=>e))}}),{appMounted:l}=c.actions,d=c.reducer},38611:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,n6:()=>o});var s=n(82238),r=n(80607);const i=(e=>{const t="composer-suggestions-disabled-at",n=null==(e=window)||null==(e=e.parent)||null==(e=e.intercomSettings)?void 0:e.app_id;return n?`${n}-